2005-08-30 21:41:10 +02:00
|
|
|
{stdenv, fetchurl}:
|
|
|
|
|
2014-05-18 13:25:43 +02:00
|
|
|
stdenv.mkDerivation rec {
|
2005-08-30 21:41:10 +02:00
|
|
|
name = "cdrtools-2.01";
|
2009-04-23 15:31:10 +02:00
|
|
|
|
|
|
|
configurePhase = "prefix=$out";
|
|
|
|
|
2008-11-19 22:45:43 +01: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
|
|
|
|
'';
|
2009-04-23 15:31:10 +02:00
|
|
|
|
2005-08-30 21:41:10 +02:00
|
|
|
src = fetchurl {
|
2014-05-18 13:25:43 +02:00
|
|
|
url = "mirror://sourceforge/cdrtools/${name}.tar.bz2";
|
2005-08-30 21:41:10 +02:00
|
|
|
md5 = "d44a81460e97ae02931c31188fe8d3fd";
|
|
|
|
};
|
2009-04-23 15:31:10 +02:00
|
|
|
|
2005-08-30 21:41:10 +02:00
|
|
|
patches = [./cdrtools-2.01-install.patch];
|
2007-10-19 16:16:43 +02:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "Highly portable CD/DVD/BluRay command line recording software (deprecated; use cdrkit instead)";
|
2014-05-18 13:25:43 +02:00
|
|
|
homepage = http://sourceforge.net/projects/cdrtools/; # berlios shut down; I found no better link
|
2007-10-19 16:16:43 +02:00
|
|
|
};
|
2005-08-30 21:41:10 +02:00
|
|
|
}
|