1 { lib, stdenv, fetchurl, orc, pkg-config, fetchpatch, autoreconfHook }:
3 stdenv.mkDerivation rec {
4 pname = "schroedinger";
8 url = "https://download.videolan.org/contrib/${pname}-${version}.tar.gz";
9 sha256 = "04prr667l4sn4zx256v1z36a0nnkxfdqyln48rbwlamr6l3jlmqy";
12 outputs = [ "out" "dev" "devdoc" ];
14 nativeBuildInputs = [ pkg-config autoreconfHook ];
15 buildInputs = [ orc ];
17 doCheck = (!stdenv.isDarwin);
19 patchFlags = [ "-p0" ];
22 url = "https://raw.githubusercontent.com/macports/macports-ports/master/multimedia/schroedinger/files/patch-testsuite-Makefile.am.diff";
23 sha256 = "0cc8ymvgjgwy7ghca2dd8m8pxpinf27s2i8krf2m3fzv2ckq09v3";
28 description = "An implementation of the Dirac video codec in ANSI C";
29 homepage = "https://sourceforge.net/projects/schrodinger/";
31 license = [ licenses.mpl11 licenses.lgpl2 licenses.mit ];
32 platforms = platforms.unix;