3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/servers/rt/default.nix

29 lines
561 B
Nix
Raw Normal View History

2016-01-15 17:05:43 +00:00
{ stdenv, fetchurl, perl }:
stdenv.mkDerivation rec {
2016-01-25 15:21:09 +00:00
name = "rt-${version}";
2016-03-22 23:17:50 +00:00
version = "4.4.0";
2016-01-15 17:05:43 +00:00
src = fetchurl {
url = "https://download.bestpractical.com/pub/rt/release/${name}.tar.gz";
2016-03-22 23:17:50 +00:00
sha256 = "1hgz50fxv9zdcngww083aqh8vzyk148lm7mcivxflpnsqfw3696x";
2016-01-15 17:05:43 +00:00
};
patches = [ ./override-generated.patch ];
buildInputs = [ perl ];
dontBuild = true;
2016-01-15 17:05:43 +00:00
installPhase = ''
mkdir $out
cp -a {bin,docs,etc,lib,sbin,share} $out
find $out -name '*.in' -exec rm '{}' \;
'';
meta = {
platforms = stdenv.lib.platforms.unix;
};
2016-01-15 17:05:43 +00:00
}