Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / development / libraries / schroedinger / default.nix
blob5403d77eb752455a1e461167525fc7a04b6a9da1
1 { lib, stdenv, fetchurl, orc, pkg-config, fetchpatch, autoreconfHook }:
3 stdenv.mkDerivation rec {
4   pname = "schroedinger";
5   version = "1.0.11";
7   src = fetchurl {
8     url = "https://download.videolan.org/contrib/${pname}-${version}.tar.gz";
9     sha256 = "04prr667l4sn4zx256v1z36a0nnkxfdqyln48rbwlamr6l3jlmqy";
10   };
12   outputs = [ "out" "dev" "devdoc" ];
14   nativeBuildInputs = [ pkg-config autoreconfHook ];
15   buildInputs = [ orc ];
17   doCheck = (!stdenv.isDarwin);
19   patchFlags = [ "-p0" ];
20   patches = [
21     (fetchpatch {
22       url = "https://raw.githubusercontent.com/macports/macports-ports/master/multimedia/schroedinger/files/patch-testsuite-Makefile.am.diff";
23       sha256 = "0cc8ymvgjgwy7ghca2dd8m8pxpinf27s2i8krf2m3fzv2ckq09v3";
24     })
25   ];
27   meta = with lib; {
28     description = "An implementation of the Dirac video codec in ANSI C";
29     homepage = "https://sourceforge.net/projects/schrodinger/";
30     maintainers = [ ];
31     license = [ licenses.mpl11 licenses.lgpl2 licenses.mit ];
32     platforms = platforms.unix;
33   };