lol
at 15.09-beta 25 lines 638 B view raw
1{ stdenv, fetchurl, perl, AlgorithmDiff, RegexpCommon }: 2 3stdenv.mkDerivation rec { 4 5 name = "cloc-${version}"; 6 7 version = "1.64"; 8 9 src = fetchurl { 10 url = "mirror://sourceforge/cloc/cloc-${version}.tar.gz"; 11 sha256 = "1w3mz69h2i7pscvi9q7yp7wimds8g38c5ph78cj5pvjl5wa035rh"; 12 }; 13 14 buildInputs = [ perl AlgorithmDiff RegexpCommon ]; 15 16 makeFlags = [ "prefix=" "DESTDIR=$(out)" "INSTALL=install" ]; 17 18 meta = { 19 description = "A program that counts lines of source code"; 20 homepage = http://cloc.sourceforge.net; 21 license = stdenv.lib.licenses.gpl2; 22 maintainers = with stdenv.lib.maintainers; [ fuuzetsu ]; 23 }; 24 25}