mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-29 06:45:54 +03:00
7689a348c4
builders. These are redundant now. * Inlined some trivial builders. * Removed a few explicit setup-hook creations. This is done automatically now if setupHook is set. * Deleted the initscripts package. NixOS doesn't use it anymore. svn path=/nixpkgs/branches/stdenv-updates/; revision=15276
30 lines
778 B
Nix
30 lines
778 B
Nix
{stdenv, fetchurl}:
|
|
|
|
stdenv.mkDerivation {
|
|
name = "cdrtools-2.01";
|
|
|
|
configurePhase = "prefix=$out";
|
|
|
|
#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
|
|
'';
|
|
|
|
src = fetchurl {
|
|
url = ftp://ftp.berlios.de/pub/cdrecord/cdrtools-2.01.tar.bz2;
|
|
md5 = "d44a81460e97ae02931c31188fe8d3fd";
|
|
};
|
|
|
|
patches = [./cdrtools-2.01-install.patch];
|
|
|
|
meta = {
|
|
description = "Highly portable CD/DVD/BluRay command line recording software (deprecated; use cdrkit instead)";
|
|
homepage = http://cdrecord.berlios.de/old/private/cdrecord.html;
|
|
};
|
|
}
|