mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-01 15:11:25 +00:00
loc: init at 0.3.0
This commit is contained in:
parent
be32a53097
commit
1176973ab4
26
pkgs/development/misc/loc/default.nix
Normal file
26
pkgs/development/misc/loc/default.nix
Normal file
@ -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;
|
||||
};
|
||||
}
|
||||
|
@ -2337,6 +2337,8 @@ in
|
||||
|
||||
lnav = callPackage ../tools/misc/lnav { };
|
||||
|
||||
loc = callPackage ../development/misc/loc { };
|
||||
|
||||
lockfileProgs = callPackage ../tools/misc/lockfile-progs { };
|
||||
|
||||
logstash = callPackage ../tools/misc/logstash { };
|
||||
|
Loading…
Reference in New Issue
Block a user