1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-02 18:42:15 +00:00
nixpkgs/pkgs/applications/misc/cdrtools/default.nix
Tobias Geerinckx-Rice be7253d846 cdrtools: stop installing useless man pages
The installed man{3,4} pages are for silly NIH build tools (!), and
conflict with useful packages like `man-pages`. Drop 'em.
2016-03-16 21:10:20 +01:00

36 lines
1,004 B
Nix

{ stdenv, fetchurl, acl, libcap }:
stdenv.mkDerivation rec {
name = "cdrtools-3.02a03";
src = fetchurl {
url = "mirror://sourceforge/cdrtools/${name}.tar.bz2";
sha256 = "02gjxib0sgzsdicnb7496x0a175w1sb34v8zc9mdi8cfw7skw996";
};
patches = [ ./fix-paths.patch ];
buildInputs = [ acl libcap ];
postPatch = ''
sed "/\.mk3/d" -i libschily/Targets.man
substituteInPlace man/Makefile --replace "man4" ""
'';
configurePhase = "true";
GMAKE_NOWARN = true;
makeFlags = [ "INS_BASE=/" "INS_RBASE=/" "DESTDIR=$(out)" ];
meta = with stdenv.lib; {
homepage = http://sourceforge.net/projects/cdrtools/;
description = "Highly portable CD/DVD/BluRay command line recording software";
# 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.
license = licenses.unfree;
platforms = platforms.linux;
};
}