summary refs log tree commit diff
path: root/pkgs/development/libraries/schroedinger
diff options
context:
space:
mode:
authorSpencer Whitt <sw@swhitt.me>2015-02-28 10:14:43 -0500
committerSpencer Whitt <sw@swhitt.me>2015-03-25 22:22:20 -0400
commitc7a0e68e5896bf7db8793ffe5ca27d2338e9a084 (patch)
tree5c87a52069b694f8af4e6cb6e9f0e5c5524dd9f2 /pkgs/development/libraries/schroedinger
parent5284c5684fcf14dd122840e59c79661ff835fed9 (diff)
downloadnixpkgs-c7a0e68e5896bf7db8793ffe5ca27d2338e9a084.tar
nixpkgs-c7a0e68e5896bf7db8793ffe5ca27d2338e9a084.tar.gz
nixpkgs-c7a0e68e5896bf7db8793ffe5ca27d2338e9a084.tar.bz2
nixpkgs-c7a0e68e5896bf7db8793ffe5ca27d2338e9a084.tar.lz
nixpkgs-c7a0e68e5896bf7db8793ffe5ca27d2338e9a084.tar.xz
nixpkgs-c7a0e68e5896bf7db8793ffe5ca27d2338e9a084.tar.zst
nixpkgs-c7a0e68e5896bf7db8793ffe5ca27d2338e9a084.zip
schroedinger: 1.0.0 -> 1.0.11
Diffstat (limited to 'pkgs/development/libraries/schroedinger')
-rw-r--r--pkgs/development/libraries/schroedinger/default.nix27
1 files changed, 22 insertions, 5 deletions
diff --git a/pkgs/development/libraries/schroedinger/default.nix b/pkgs/development/libraries/schroedinger/default.nix
index 67f026fb482..c80b1bca685 100644
--- a/pkgs/development/libraries/schroedinger/default.nix
+++ b/pkgs/development/libraries/schroedinger/default.nix
@@ -1,11 +1,28 @@
-{stdenv, fetchurl, liboil, pkgconfig}:
+{stdenv, fetchurl, orc, pkgconfig}:
 
 stdenv.mkDerivation {
-  name = "schroedinger-1.0.0";
+  name = "schroedinger-1.0.11";
+
   src = fetchurl {
-    url = mirror://sourceforge/schrodinger/schroedinger-1.0.0.tar.gz;
-    sha256 = "0r374wvc73pfzkcpwk0q0sjx6yhp79acyiqbjy3c7sfqdy7sm4x8";
+    url = http://diracvideo.org/download/schroedinger/schroedinger-1.0.11.tar.gz;
+    sha256 = "04prr667l4sn4zx256v1z36a0nnkxfdqyln48rbwlamr6l3jlmqy";
   };
 
-  buildInputs = [liboil pkgconfig];
+  buildInputs = [orc pkgconfig];
+
+  # The test suite is known not to build against Orc >0.4.16 in Schroedinger 1.0.11.
+  # A fix is in upstream, so test when pulling 1.0.12 if this is still needed. See:
+  # http://www.mail-archive.com/schrodinger-devel@lists.sourceforge.net/msg00415.html
+  preBuild = ''
+    substituteInPlace Makefile \
+      --replace "SUBDIRS = schroedinger doc tools testsuite" "SUBDIRS = schroedinger doc tools" \
+      --replace "DIST_SUBDIRS = schroedinger doc tools testsuite" "DIST_SUBDIRS = schroedinger doc tools"
+  '';
+
+  meta = with stdenv.lib; {
+    homepage = "http://diracvideo.org/";
+    maintainers = [ maintainers.spwhitt ];
+    license = [ licenses.mpl11 licenses.lgpl2 licenses.mit ];
+    platforms = platforms.unix;
+  };
 }