nixpkgs/pkgs/applications/misc/cdrtools/default.nix

31 lines
881 B
Nix
Raw Normal View History

2015-12-11 23:36:52 +01:00
{ stdenv, fetchurl, acl, libcap }:
stdenv.mkDerivation rec {
2015-12-11 23:36:52 +01:00
name = "cdrtools-3.02a03";
src = fetchurl {
url = "mirror://sourceforge/cdrtools/${name}.tar.bz2";
2015-12-11 23:36:52 +01:00
sha256 = "02gjxib0sgzsdicnb7496x0a175w1sb34v8zc9mdi8cfw7skw996";
};
2015-12-11 23:36:52 +01:00
patches = [ ./fix-paths.patch ];
buildInputs = [ acl libcap ];
configurePhase = "true";
GMAKE_NOWARN = true;
makeFlags = [ "INS_BASE=/" "INS_RBASE=/" "DESTDIR=$(out)" ];
2015-12-11 23:36:52 +01:00
meta = with stdenv.lib; {
homepage = http://sourceforge.net/projects/cdrtools/;
description = "Highly portable CD/DVD/BluRay command line recording software";
2015-02-17 12:23:10 +01:00
# Licensing issues: This package contains code licensed under CDDL, GPL2
# and LGPL2. There is debate regarding the legality of this licensing.
# Marked as unfree to avoid any possible legal issues.
2015-12-11 23:36:52 +01:00
license = licenses.unfree;
platforms = platforms.linux;
};
}