3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/tools/admin/sec/default.nix
Robin Gloster 9820cb1bf2 use dontBuild instead of hacks
changes:
 * buildPhase = "true"
 * buildPhase = ":"
2016-05-04 10:11:04 +00:00

30 lines
683 B
Nix

{ fetchurl, perl, stdenv }:
stdenv.mkDerivation rec {
name = "sec-2.7.7";
src = fetchurl {
url = "mirror://sourceforge/simple-evcorr/${name}.tar.gz";
sha256 = "116nn8fg24nwcimm8gcfp52bsgh1ckrspjr8sk4i0arvpl3d12m9";
};
buildInputs = [ perl ];
dontBuild = false;
doCheck = false;
installPhase = ''
mkdir -p $out/bin $out/share/man/man1
cp sec $out/bin
cp sec.man $out/share/man/man1/sec.1
'';
meta = {
homepage = "http://simple-evcorr.sourceforge.net/";
license = stdenv.lib.licenses.gpl2;
description = "Simple Event Correlator";
maintainers = [ stdenv.lib.maintainers.tv ];
platforms = stdenv.lib.platforms.all;
};
}