mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-01 03:12:51 +00:00
24 lines
479 B
Nix
24 lines
479 B
Nix
{ stdenv, fetchurl, perl }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "rt-4.2.12";
|
|
|
|
src = fetchurl {
|
|
url = "https://download.bestpractical.com/pub/rt/release/${name}.tar.gz";
|
|
|
|
sha256 = "0r3jhgfwwhhk654zag42mrai85yrliw9sc0kgabwjvbh173204p2";
|
|
};
|
|
|
|
patches = [ ./override-generated.patch ];
|
|
|
|
buildInputs = [ perl ];
|
|
|
|
buildPhase = "true";
|
|
|
|
installPhase = ''
|
|
mkdir $out
|
|
cp -a {bin,docs,etc,lib,sbin,share} $out
|
|
find $out -name '*.in' -exec rm '{}' \;
|
|
'';
|
|
}
|