mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 08:23:09 +00:00
21f17d69f6
Build-tested on x86_64 Linux & Mac.
27 lines
686 B
Nix
27 lines
686 B
Nix
{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";
|
|
platforms = stdenv.lib.platforms.linux;
|
|
};
|
|
}
|