forked from mirrors/nixpkgs
a83c45964f
Semi-automatic update generated by https://github.com/ryantm/nix-update tools. These checks were done: - built on NixOS - ran `/nix/store/d7l7g8h8jdpknng4jxrn712fyp3f7dnr-cdrtools-3.01/bin/btcflash -h` got 0 exit code - ran `/nix/store/d7l7g8h8jdpknng4jxrn712fyp3f7dnr-cdrtools-3.01/bin/btcflash --help` got 0 exit code - ran `/nix/store/d7l7g8h8jdpknng4jxrn712fyp3f7dnr-cdrtools-3.01/bin/cdda2wav --version` and found version 3.01 - ran `/nix/store/d7l7g8h8jdpknng4jxrn712fyp3f7dnr-cdrtools-3.01/bin/cdrecord --help` got 0 exit code - ran `/nix/store/d7l7g8h8jdpknng4jxrn712fyp3f7dnr-cdrtools-3.01/bin/cdrecord --version` and found version 3.01 - ran `/nix/store/d7l7g8h8jdpknng4jxrn712fyp3f7dnr-cdrtools-3.01/bin/mkisofs --help` got 0 exit code - ran `/nix/store/d7l7g8h8jdpknng4jxrn712fyp3f7dnr-cdrtools-3.01/bin/mkisofs --version` and found version 3.01 - ran `/nix/store/d7l7g8h8jdpknng4jxrn712fyp3f7dnr-cdrtools-3.01/bin/devdump -h` got 0 exit code - ran `/nix/store/d7l7g8h8jdpknng4jxrn712fyp3f7dnr-cdrtools-3.01/bin/devdump --help` got 0 exit code - ran `/nix/store/d7l7g8h8jdpknng4jxrn712fyp3f7dnr-cdrtools-3.01/bin/devdump --version` and found version 3.01 - ran `/nix/store/d7l7g8h8jdpknng4jxrn712fyp3f7dnr-cdrtools-3.01/bin/isodump -h` got 0 exit code - ran `/nix/store/d7l7g8h8jdpknng4jxrn712fyp3f7dnr-cdrtools-3.01/bin/isodump --help` got 0 exit code - ran `/nix/store/d7l7g8h8jdpknng4jxrn712fyp3f7dnr-cdrtools-3.01/bin/isodump --version` and found version 3.01 - ran `/nix/store/d7l7g8h8jdpknng4jxrn712fyp3f7dnr-cdrtools-3.01/bin/isoinfo -h` got 0 exit code - ran `/nix/store/d7l7g8h8jdpknng4jxrn712fyp3f7dnr-cdrtools-3.01/bin/isoinfo --help` got 0 exit code - ran `/nix/store/d7l7g8h8jdpknng4jxrn712fyp3f7dnr-cdrtools-3.01/bin/isoinfo --version` and found version 3.01 - ran `/nix/store/d7l7g8h8jdpknng4jxrn712fyp3f7dnr-cdrtools-3.01/bin/isovfy -h` got 0 exit code - ran `/nix/store/d7l7g8h8jdpknng4jxrn712fyp3f7dnr-cdrtools-3.01/bin/isovfy --help` got 0 exit code - ran `/nix/store/d7l7g8h8jdpknng4jxrn712fyp3f7dnr-cdrtools-3.01/bin/isovfy --version` and found version 3.01 - ran `/nix/store/d7l7g8h8jdpknng4jxrn712fyp3f7dnr-cdrtools-3.01/bin/isodebug -h` got 0 exit code - ran `/nix/store/d7l7g8h8jdpknng4jxrn712fyp3f7dnr-cdrtools-3.01/bin/isodebug --help` got 0 exit code - ran `/nix/store/d7l7g8h8jdpknng4jxrn712fyp3f7dnr-cdrtools-3.01/bin/isodebug --version` and found version 3.01 - ran `/nix/store/d7l7g8h8jdpknng4jxrn712fyp3f7dnr-cdrtools-3.01/bin/readcd -h` got 0 exit code - ran `/nix/store/d7l7g8h8jdpknng4jxrn712fyp3f7dnr-cdrtools-3.01/bin/readcd --help` got 0 exit code - ran `/nix/store/d7l7g8h8jdpknng4jxrn712fyp3f7dnr-cdrtools-3.01/bin/readcd --version` and found version 3.01 - ran `/nix/store/d7l7g8h8jdpknng4jxrn712fyp3f7dnr-cdrtools-3.01/bin/scgcheck -h` got 0 exit code - ran `/nix/store/d7l7g8h8jdpknng4jxrn712fyp3f7dnr-cdrtools-3.01/bin/scgcheck --help` got 0 exit code - ran `/nix/store/d7l7g8h8jdpknng4jxrn712fyp3f7dnr-cdrtools-3.01/bin/scgcheck --version` and found version 3.01 - ran `/nix/store/d7l7g8h8jdpknng4jxrn712fyp3f7dnr-cdrtools-3.01/bin/scgskeleton -h` got 0 exit code - ran `/nix/store/d7l7g8h8jdpknng4jxrn712fyp3f7dnr-cdrtools-3.01/bin/scgskeleton --help` got 0 exit code - found 3.01 with grep in /nix/store/d7l7g8h8jdpknng4jxrn712fyp3f7dnr-cdrtools-3.01 - found 3.01 in filename of file in /nix/store/d7l7g8h8jdpknng4jxrn712fyp3f7dnr-cdrtools-3.01
38 lines
1 KiB
Nix
38 lines
1 KiB
Nix
{ stdenv, fetchurl, acl, libcap }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "cdrtools-${version}";
|
|
version = "3.01";
|
|
|
|
src = fetchurl {
|
|
url = "mirror://sourceforge/cdrtools/${name}.tar.bz2";
|
|
sha256 = "03w6ypsmwwy4d7vh6zgwpc60v541vc5ywp8bdb758hbc4yv2wa7d";
|
|
};
|
|
|
|
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 = https://sourceforge.net/projects/cdrtools/;
|
|
description = "Highly portable CD/DVD/BluRay command line recording software";
|
|
license = with licenses; [ gpl2 lgpl2 cddl ];
|
|
platforms = platforms.linux;
|
|
# Licensing issues: This package contains code licensed under CDDL, GPL2
|
|
# and LGPL2. There is a debate regarding the legality of distributing this
|
|
# package in binary form.
|
|
hydraPlatforms = [];
|
|
};
|
|
}
|