summary refs log tree commit diff
path: root/pkgs/development/libraries/schroedinger
diff options
context:
space:
mode:
authorVladimír Čunát <vcunat@gmail.com>2015-10-06 20:45:49 +0200
committerVladimír Čunát <vcunat@gmail.com>2015-10-13 20:18:51 +0200
commite7b681297d501216b123461360bef768264844c9 (patch)
treeeb65e04b5d0c7c0ee59b6c01bcc395143c6127f4 /pkgs/development/libraries/schroedinger
parentcba6641623e8a22e37ed3538c73fd6b45dbaed60 (diff)
downloadnixpkgs-e7b681297d501216b123461360bef768264844c9.tar
nixpkgs-e7b681297d501216b123461360bef768264844c9.tar.gz
nixpkgs-e7b681297d501216b123461360bef768264844c9.tar.bz2
nixpkgs-e7b681297d501216b123461360bef768264844c9.tar.lz
nixpkgs-e7b681297d501216b123461360bef768264844c9.tar.xz
nixpkgs-e7b681297d501216b123461360bef768264844c9.tar.zst
nixpkgs-e7b681297d501216b123461360bef768264844c9.zip
schroedinger: split outputs and doCheck
Diffstat (limited to 'pkgs/development/libraries/schroedinger')
-rw-r--r--pkgs/development/libraries/schroedinger/default.nix16
1 files changed, 6 insertions, 10 deletions
diff --git a/pkgs/development/libraries/schroedinger/default.nix b/pkgs/development/libraries/schroedinger/default.nix
index 33f5ba867d6..f47ce4e2e46 100644
--- a/pkgs/development/libraries/schroedinger/default.nix
+++ b/pkgs/development/libraries/schroedinger/default.nix
@@ -1,4 +1,4 @@
-{stdenv, fetchurl, orc, pkgconfig}:
+{ stdenv, fetchurl, orc, pkgconfig }:
 
 stdenv.mkDerivation {
   name = "schroedinger-1.0.11";
@@ -11,16 +11,12 @@ stdenv.mkDerivation {
     sha256 = "04prr667l4sn4zx256v1z36a0nnkxfdqyln48rbwlamr6l3jlmqy";
   };
 
-  buildInputs = [orc pkgconfig];
+  outputs = [ "dev" "out" "doc" ]; # dev-doc only
 
-  # 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"
-  '';
+  nativeBuildInputs = [ pkgconfig ];
+  buildInputs = [ orc ];
+
+  doCheck = true;
 
   meta = with stdenv.lib; {
     homepage = "http://diracvideo.org/";