forked from mirrors/nixpkgs
853dd191e2
The test problems are probably gone. Let's try it again.
30 lines
823 B
Nix
30 lines
823 B
Nix
{ stdenv, fetchurl }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "orc-0.4.28";
|
|
|
|
src = fetchurl {
|
|
url = "https://gstreamer.freedesktop.org/src/orc/${name}.tar.xz";
|
|
sha256 = "bfcd7c6563b05672386c4eedfc4c0d4a0a12b4b4775b74ec6deb88fc2bcd83ce";
|
|
};
|
|
|
|
outputs = [ "out" "dev" ];
|
|
outputBin = "dev"; # compilation tools
|
|
|
|
postInstall = ''
|
|
sed "/^toolsdir=/ctoolsdir=$dev/bin" -i "$dev"/lib/pkgconfig/orc*.pc
|
|
'';
|
|
|
|
doCheck = true;
|
|
|
|
meta = with stdenv.lib; {
|
|
description = "The Oil Runtime Compiler";
|
|
homepage = http://code.entropywave.com/orc/;
|
|
# The source code implementing the Marsenne Twister algorithm is licensed
|
|
# under the 3-clause BSD license. The rest is 2-clause BSD license.
|
|
license = licenses.bsd3;
|
|
platforms = platforms.unix;
|
|
maintainers = [ maintainers.fuuzetsu ];
|
|
};
|
|
}
|