1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-24 06:31:02 +00:00
nixpkgs/pkgs/servers/rt/default.nix
Tuomas Tynkkynen 2258b21e4b treewide: Add lots of platforms to packages with no meta
Build-tested on x86_64 Linux and on Darwin.
2016-08-02 21:17:44 +03:00

29 lines
561 B
Nix

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