mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-24 16:03:23 +00:00
tokei: init at 3.0.0
This commit is contained in:
parent
ce04ed0a95
commit
aab727fd77
26
pkgs/development/tools/misc/tokei/default.nix
Normal file
26
pkgs/development/tools/misc/tokei/default.nix
Normal file
@ -0,0 +1,26 @@
|
||||
{ stdenv, fetchurl, rustPlatform }:
|
||||
|
||||
with rustPlatform;
|
||||
|
||||
buildRustPackage rec {
|
||||
name = "tokei-${version}";
|
||||
version = "3.0.0";
|
||||
src = fetchurl {
|
||||
url = "https://github.com/Aaronepower/tokei/archive/${version}.tar.gz";
|
||||
sha256 = "0xymz52gpasihzhxglzx4wh0312zkraxy4yrpxz694zalf2s5vj5";
|
||||
};
|
||||
|
||||
depsSha256 = "1syx8qzjn357dk2bf4ndmgc4zvrglmw88qiw117h6s511qyz8z0z";
|
||||
|
||||
installPhase = ''
|
||||
mkdir -p $out/bin
|
||||
cp -p target/release/tokei $out/bin/
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Count code, quickly";
|
||||
homepage = https://github.com/Aaronepower/tokei;
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ gebner ];
|
||||
};
|
||||
}
|
@ -3666,6 +3666,8 @@ in
|
||||
|
||||
toilet = callPackage ../tools/misc/toilet { };
|
||||
|
||||
tokei = callPackage ../development/tools/misc/tokei { };
|
||||
|
||||
tor = callPackage ../tools/security/tor { };
|
||||
|
||||
tor-arm = callPackage ../tools/security/tor/tor-arm.nix { };
|
||||
|
Loading…
Reference in New Issue
Block a user