diff options
author | Matthias Beyer <mail@beyermatthias.de> | 2016-10-25 19:53:04 +0200 |
---|---|---|
committer | Matthias Beyer <mail@beyermatthias.de> | 2016-10-28 09:45:51 +0200 |
commit | 1176973ab404a47b5355fc10aa9559df90ffb3ef (patch) | |
tree | 1adeae54e773d6f92e31dbdc714536262a46864a /pkgs/development/misc/loc | |
parent | be32a53097ffa13152c852d52d0bd762e10a9c1c (diff) |
loc: init at 0.3.0
Diffstat (limited to 'pkgs/development/misc/loc')
-rw-r--r-- | pkgs/development/misc/loc/default.nix | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/pkgs/development/misc/loc/default.nix b/pkgs/development/misc/loc/default.nix new file mode 100644 index 0000000000000..1dd6d4c01661a --- /dev/null +++ b/pkgs/development/misc/loc/default.nix @@ -0,0 +1,26 @@ +{ stdenv, fetchFromGitHub, rustPlatform, makeWrapper }: + +with rustPlatform; + +buildRustPackage rec { + version = "0.3.0"; + name = "loc-${version}"; + + src = fetchFromGitHub { + owner = "caga"; + repo = "loc"; + rev = "v0.3.0"; + sha256 = "1ckrf77s1glrqi0gvrv9wqmip4i97dk0arn0iz87jg4q2wfss85k"; + }; + + depsSha256 = "1ckrf77s1glrqi0gvrv9wqmip4i97dk0arn0iz87jg4q2wfss85k"; + + meta = { + homepage = "http://github.com/cgag/loc"; + description = "Count lines of code quickly"; + license = stdenv.lib.licenses.mit; + maintainers = [ stdenv.lib.maintainers.matthiasbeyer ]; + platforms = with stdenv.lib.platforms; linux; + }; +} + |