diff options
author | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2008-07-25 13:04:51 +0000 |
---|---|---|
committer | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2008-07-25 13:04:51 +0000 |
commit | a2613e936ad129ac06aa63b9667578ba4c5c0705 (patch) | |
tree | d631e3689b92ca3fbaf8629740502876ef1c5cc4 /pkgs/tools/cd-dvd/dvd+rw-tools | |
parent | 8ea9bd1d83a7210eaa5338aac655e22b8c4e3dd4 (diff) |
* Move dvd+rw-tools and cdrkit to tools/cd-dvd.
* Added cdrdao.
svn path=/nixpkgs/trunk/; revision=12426
Diffstat (limited to 'pkgs/tools/cd-dvd/dvd+rw-tools')
-rw-r--r-- | pkgs/tools/cd-dvd/dvd+rw-tools/default.nix | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/pkgs/tools/cd-dvd/dvd+rw-tools/default.nix b/pkgs/tools/cd-dvd/dvd+rw-tools/default.nix new file mode 100644 index 000000000000..047624513e44 --- /dev/null +++ b/pkgs/tools/cd-dvd/dvd+rw-tools/default.nix @@ -0,0 +1,25 @@ +{stdenv, fetchurl, cdrkit, m4}: + +stdenv.mkDerivation { + name = "dvd+rw-tools-7.1"; + + src = fetchurl { + url = http://fy.chalmers.se/~appro/linux/DVD+RW/tools/dvd+rw-tools-7.1.tar.gz; + sha256 = "1jkjvvnjcyxpql97xjjx0kwvy70kxpiznr2zpjy2hhci5s10zmpq"; + }; + + buildInputs = [cdrkit m4]; + + preBuild = '' + makeFlags="prefix=$out" + ''; + + # Incompatibility with Linux 2.6.23 headers, see + # http://www.mail-archive.com/cdwrite@other.debian.org/msg11464.html + NIX_CFLAGS_COMPILE = "-DINT_MAX=__INT_MAX__"; + + meta = { + homepage = http://fy.chalmers.se/~appro/linux/DVD+RW/tools; + description = "Tools for burning DVDs"; + }; +} |