Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at release-18.03 30 lines 939 B view raw
1{ stdenv, fetchurl }: 2 3stdenv.mkDerivation rec { 4 name = "orc-0.4.28"; 5 6 src = fetchurl { 7 url = "https://gstreamer.freedesktop.org/src/orc/${name}.tar.xz"; 8 sha256 = "bfcd7c6563b05672386c4eedfc4c0d4a0a12b4b4775b74ec6deb88fc2bcd83ce"; 9 }; 10 11 outputs = [ "out" "dev" ]; 12 outputBin = "dev"; # compilation tools 13 14 postInstall = '' 15 sed "/^toolsdir=/ctoolsdir=$dev/bin" -i "$dev"/lib/pkgconfig/orc*.pc 16 ''; 17 18 # https://bugzilla.gnome.org/show_bug.cgi?id=728129#c15 19 doCheck = stdenv.system != "i686-linux"; # not sure about cross-compiling 20 21 meta = with stdenv.lib; { 22 description = "The Oil Runtime Compiler"; 23 homepage = http://code.entropywave.com/orc/; 24 # The source code implementing the Marsenne Twister algorithm is licensed 25 # under the 3-clause BSD license. The rest is 2-clause BSD license. 26 license = licenses.bsd3; 27 platforms = platforms.unix; 28 maintainers = [ maintainers.fuuzetsu ]; 29 }; 30}