summaryrefslogtreecommitdiffstats
path: root/pkgs/development/libraries/libdvdread
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2004-03-29 17:23:01 +0000
committerEelco Dolstra <eelco.dolstra@logicblox.com>2004-03-29 17:23:01 +0000
commit12ae5363ea658d399bdb008f6ded3cde355f9310 (patch)
treee2a2ab3210854bfaad01f955c32b1cda724a8790 /pkgs/development/libraries/libdvdread
parentbc71554fc80a760c3a8e01f9e9e97500aa9ccde1 (diff)
* Remove trivial builders.
* Make builders unexecutable by removing the hash-bang line and execute permission. * Convert calls to `derivation' to `mkDerivation'. * Remove `system' and `stdenv' attributes from calls to `mkDerivation'. These transformations were all done automatically, so it is quite possible I broke stuff. * Put the `mkDerivation' function in stdenv/generic. svn path=/nixpkgs/trunk/; revision=874
Diffstat (limited to 'pkgs/development/libraries/libdvdread')
-rw-r--r--[-rwxr-xr-x]pkgs/development/libraries/libdvdread/builder.sh2
-rw-r--r--pkgs/development/libraries/libdvdread/default.nix4
2 files changed, 1 insertions, 5 deletions
diff --git a/pkgs/development/libraries/libdvdread/builder.sh b/pkgs/development/libraries/libdvdread/builder.sh
index 4ecafb3a0696..1581116ce53f 100755..100644
--- a/pkgs/development/libraries/libdvdread/builder.sh
+++ b/pkgs/development/libraries/libdvdread/builder.sh
@@ -1,5 +1,3 @@
-#! /bin/sh
-
buildinputs="$libdvdcss"
. $stdenv/setup || exit 1
diff --git a/pkgs/development/libraries/libdvdread/default.nix b/pkgs/development/libraries/libdvdread/default.nix
index 11da28b6f854..926180384d1e 100644
--- a/pkgs/development/libraries/libdvdread/default.nix
+++ b/pkgs/development/libraries/libdvdread/default.nix
@@ -2,14 +2,12 @@
assert libdvdcss != null;
-derivation {
+stdenv.mkDerivation {
name = "libdvdread-20030812";
- system = stdenv.system;
builder = ./builder.sh;
src = fetchurl {
url = http://www.videolan.org/pub/videolan/vlc/0.6.2/contrib/libdvdread-20030812.tar.bz2;
md5 = "9d58beac7c2dfb98d00f4ed0ea3d7274";
};
- stdenv = stdenv;
libdvdcss = libdvdcss;
}