mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-03 20:33:21 +00:00
3905064194
svn path=/nixpkgs/trunk/; revision=25492
30 lines
906 B
Nix
30 lines
906 B
Nix
{stdenv, fetchurl, lame, libvorbis, libmad, pkgconfig, libao}:
|
|
|
|
stdenv.mkDerivation {
|
|
name = "cdrdao-1.2.3";
|
|
|
|
src = fetchurl {
|
|
url = mirror://sourceforge/cdrdao/cdrdao-1.2.3.tar.bz2;
|
|
sha256 = "0pmpgx91j984snrsxbq1dgf3ximks2dfh1sqqmic72lrls7wp4w1";
|
|
};
|
|
|
|
makeFlags = "RM=rm LN=ln MV=mv";
|
|
|
|
buildInputs = [ lame libvorbis libmad pkgconfig libao ];
|
|
|
|
# Adjust some headers to match glibc 2.12 ... patch is a diff between
|
|
# the cdrdao CVS head and the 1.2.3 release.
|
|
patches = [ ./adjust-includes-for-glibc-212.patch ];
|
|
|
|
# we have glibc/include/linux as a symlink to the kernel headers,
|
|
# and the magic '..' points to kernelheaders, and not back to the glibc/include
|
|
postPatch = ''
|
|
sed -i 's,linux/../,,g' dao/sg_err.h
|
|
'';
|
|
|
|
meta = {
|
|
description = "A tool for recording audio or data CD-Rs in disk-at-once (DAO) mode";
|
|
homepage = http://cdrdao.sourceforge.net/;
|
|
};
|
|
}
|