3
0
Fork 0
forked from mirrors/nixpkgs

Added DVD+RW tools

svn path=/nixpkgs/trunk/; revision=9911
This commit is contained in:
Michael Raskin 2007-12-11 22:58:44 +00:00
parent 306ae4b8b4
commit 11978272ae
2 changed files with 35 additions and 0 deletions

View file

@ -0,0 +1,27 @@
args : with args;
with builderDefs {
src = /* put a fetchurl here */
fetchurl {
url = http://fy.chalmers.se/~appro/linux/DVD+RW/tools/dvd+rw-tools-7.0.tar.gz;
sha256 = "08hljn2vfn794dfrfpp3m245dbpb6nhk40igfpqm6wg9qimc9zy9";
};
buildInputs = [cdrkit m4];
configureFlags = [];
makeFlags = [" prefix=\$out "];
} null; /* null is a terminator for sumArgs */
let
preBuild = FullDepEntry ("
sed -e 's@/usr/local@'\$out'@g' -i Makefile.m4 Makefile
") [minInit doUnpack];
in
stdenv.mkDerivation rec {
name = "dvd+rw-tools-"+version;
builder = writeScript (name + "-builder")
(textClosure [preBuild doMakeInstall doForceShare doPropagate]);
meta = {
description = "
DVD+RW tools.
";
};
}

View file

@ -3851,6 +3851,14 @@ rec {
inherit fetchurl stdenv qt4 djvulibre;
};
dvdplusrwtoolsFun = lib.sumArgs (selectVersion ../os-specific/linux/dvd+rw-tools) {
inherit fetchurl stdenv builderDefs cdrkit m4;
};
dvdplusrwtools = dvdplusrwtoolsFun {
version = "7.0";
} null;
eclipse = plugins:
import ../applications/editors/eclipse {
inherit fetchurl stdenv makeWrapper jdk;