tokei
tokei copied to clipboard
Add package repositories.
I basically want what ripgrep has, but I don't really understand all the requirements for submitting to these package managers. Any help would be very appreciated.
- [x] Arch Linux
- [ ] Chocolatey
- [ ] Debian/Ubuntu
- [x] Fedora 24+
- [x] FreeBSD
- [x] Homebrew
- [ ] Gentoo
- [ ] MacPorts
- [x] Nix
- [ ] RHEL/CentOS
As far as Arch Linux you first have to create an AUR package which someone has already done here although it does appear to still be using 4.2.0. If it get up voted enough and it's maintained by a trusted user (which it is) it will be added to the stranded repo according to the Arch Wiki.
@zethra I've added the Arch Linux package to README.
@Aaronepower Since tokei is currently in the Arch User Repo and not the Community Repo it must in installed with a tool like pacaur or yaourt instead of pacman.
@zethra I talked to the maintainer of the package(@svenstaro), and they moved it to community. https://www.archlinux.org/packages/community/x86_64/tokei/
Oh okay cool.
As I could found, there's already an attempt to add the tool to the Gentoo packages repo https://github.com/gentoo/gentoo/pull/7573 . It's hung though, there's no activity from the Gentoo side. BTW, there's also a tool aimed to create Rust based Gentoo ebuilds easily - https://github.com/cardoe/cargo-ebuild
Ping @infinity0 for the Debian package. Would love to be able to obtain it without having to install it manually using cargo!
It would be great if we could get it on Ubuntu because of large user base
I would love for tokei to be available through apt
, but I don't have the time to make that happen. I'm happy to collaborate with someone to provide that however
Relevant links for Debian packaging:
- https://wiki.debian.org/Teams/RustPackaging
- https://salsa.debian.org/rust-team/debcargo-conf/
A package was added to the Termux repository for Android late last year, where I'm using it.
for ubuntu, snapcraft seems fairly easy to setup -- mostly a yaml file with a pointer to the source / bins / etc