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