nixpkgs/pkgs/development/tools/misc/tokei/default.nix
Vladyslav Mykhailichenko 0905ed8518 tokei: 7.0.3 -> 8.0.0
2018-08-26 10:51:10 +03:00

24 lines
638 B
Nix

{ stdenv, fetchFromGitHub, rustPlatform }:
rustPlatform.buildRustPackage rec {
name = "tokei-${version}";
version = "8.0.0";
src = fetchFromGitHub {
owner = "Aaronepower";
repo = "tokei";
rev = "v${version}";
sha256 = "1sfwmjlvjrd8r0ynnayw7g3514mfiky2j30byphaagdw4jkxbd7c";
};
cargoSha256 = "0v29gych757h7vv5jsg7rpl705gpqn0ya8ai53582qd2cc6yz4c3";
meta = with stdenv.lib; {
description = "Count code, quickly";
homepage = https://github.com/Aaronepower/tokei;
license = with licenses; [ asl20 /* or */ mit ];
maintainers = with maintainers; [ gebner ];
platforms = platforms.all;
};
}