cloc: 1.74 -> 1.76

This commit is contained in:
Robert Helgesson 2018-02-13 21:14:13 +01:00
parent 1f18a7cd01
commit 49a24afaa9
No known key found for this signature in database
GPG Key ID: C3DB11069E65DC86
2 changed files with 10 additions and 6 deletions

View File

@ -1,21 +1,25 @@
{ stdenv, fetchFromGitHub, makeWrapper, perl, AlgorithmDiff, RegexpCommon }:
{ stdenv, fetchFromGitHub, makeWrapper, perl
, AlgorithmDiff, ParallelForkManager, RegexpCommon
}:
stdenv.mkDerivation rec {
name = "cloc-${version}";
version = "1.74";
version = "1.76";
src = fetchFromGitHub {
owner = "AlDanial";
repo = "cloc";
rev = version;
sha256 = "1ihma4f6f92jp1mvzr4rjrgyh9m5wzrlxngaxfn7g0a8r2kyi65b";
rev = "v${version}";
sha256 = "03z4ar959ximsddd92zchi013lh82ganzisk309y3b09q10hl9k7";
};
setSourceRoot = ''
sourceRoot=$(echo */Unix)
'';
buildInputs = [ makeWrapper perl AlgorithmDiff RegexpCommon ];
buildInputs = [
makeWrapper perl AlgorithmDiff ParallelForkManager RegexpCommon
];
makeFlags = [ "prefix=" "DESTDIR=$(out)" "INSTALL=install" ];

View File

@ -1672,7 +1672,7 @@ with pkgs;
client-ip-echo = callPackage ../servers/misc/client-ip-echo { };
cloc = callPackage ../tools/misc/cloc {
inherit (perlPackages) perl AlgorithmDiff RegexpCommon;
inherit (perlPackages) perl AlgorithmDiff ParallelForkManager RegexpCommon;
};
cloog = callPackage ../development/libraries/cloog {