cloc: update to 1.62
This commit is contained in:
parent
8fe82841ea
commit
b4b3bd1bd7
@ -1,30 +1,25 @@
|
|||||||
{ stdenv, fetchurl, perl, AlgorithmDiff, RegexpCommon }:
|
{ stdenv, fetchurl, perl, AlgorithmDiff, RegexpCommon }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
|
|
||||||
name = "cloc-${version}";
|
name = "cloc-${version}";
|
||||||
|
|
||||||
version = "1.58";
|
version = "1.62";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "mirror://sourceforge/cloc/cloc-${version}.tar.gz";
|
url = "mirror://sourceforge/cloc/cloc-${version}.tar.gz";
|
||||||
sha256 = "1k92jldy4m717lh1xd6yachx3l2hhpx76qhj1ipnx12hsxw1zc8w";
|
sha256 = "1cxc663dccd0sc2m0aj5lxdbnbzrys6rh9n8q122h74bfvsiw4f4";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ perl AlgorithmDiff RegexpCommon ];
|
buildInputs = [ perl AlgorithmDiff RegexpCommon ];
|
||||||
|
|
||||||
unpackPhase = ''
|
|
||||||
mkdir ${name}
|
|
||||||
tar xf $src -C ${name}
|
|
||||||
cd ${name}
|
|
||||||
'';
|
|
||||||
|
|
||||||
makeFlags = [ "prefix=" "DESTDIR=$(out)" "INSTALL=install" ];
|
makeFlags = [ "prefix=" "DESTDIR=$(out)" "INSTALL=install" ];
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
description = "A program that counts lines of source code";
|
description = "A program that counts lines of source code";
|
||||||
homepage = http://cloc.sourceforge.net;
|
homepage = http://cloc.sourceforge.net;
|
||||||
license = stdenv.lib.licenses.gpl2;
|
license = stdenv.lib.licenses.gpl2;
|
||||||
|
maintainers = with stdenv.lib.maintainers; [ fuuzetsu ];
|
||||||
};
|
};
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user