2005-08-30 20:41:10 +01:00
|
|
|
{stdenv, fetchurl}:
|
|
|
|
|
2014-05-18 12:25:43 +01:00
|
|
|
stdenv.mkDerivation rec {
|
2005-08-30 20:41:10 +01:00
|
|
|
name = "cdrtools-2.01";
|
2014-07-10 12:11:32 +01:00
|
|
|
|
|
|
|
configurePhase = "prefix=$out";
|
|
|
|
|
2008-11-19 21:45:43 +00:00
|
|
|
#hack, I'm getting "chown: invalid user: `bin" error, so replace chown by a nop dummy script
|
|
|
|
preInstall = ''
|
|
|
|
mkdir "$TMP/bin"
|
|
|
|
for i in chown chgrp; do
|
|
|
|
echo '#!/bin/sh' >> "$TMP/bin/$i"
|
|
|
|
chmod +x "$TMP/bin/$i"
|
|
|
|
PATH="$TMP/bin:$PATH"
|
|
|
|
done
|
|
|
|
'';
|
2014-07-10 12:11:32 +01:00
|
|
|
|
2005-08-30 20:41:10 +01:00
|
|
|
src = fetchurl {
|
2014-05-18 12:25:43 +01:00
|
|
|
url = "mirror://sourceforge/cdrtools/${name}.tar.bz2";
|
2014-10-12 15:13:21 +01:00
|
|
|
sha256 = "08kc5w4z5k2ka7i05an7gfzzp0fsrc403riav7bw8xws0rsn32vj";
|
2005-08-30 20:41:10 +01:00
|
|
|
};
|
2014-07-10 12:11:32 +01:00
|
|
|
|
2005-08-30 20:41:10 +01:00
|
|
|
patches = [./cdrtools-2.01-install.patch];
|
2007-10-19 15:16:43 +01:00
|
|
|
|
|
|
|
meta = {
|
2014-07-10 12:11:32 +01:00
|
|
|
homepage = http://sourceforge.net/projects/cdrtools/;
|
|
|
|
description = "Highly portable CD/DVD/BluRay command line recording software";
|
|
|
|
broken = true; # Build errors, probably because the source
|
|
|
|
# can't deal with recent versions of gcc.
|
2007-10-19 15:16:43 +01:00
|
|
|
};
|
2005-08-30 20:41:10 +01:00
|
|
|
}
|