forked from mirrors/nixpkgs
Added DVD+RW tools
svn path=/nixpkgs/trunk/; revision=9911
This commit is contained in:
parent
306ae4b8b4
commit
11978272ae
27
pkgs/os-specific/linux/dvd+rw-tools/7.0.nix
Normal file
27
pkgs/os-specific/linux/dvd+rw-tools/7.0.nix
Normal 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.
|
||||
";
|
||||
};
|
||||
}
|
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue