2018-03-24 16:58:06 +00:00
|
|
|
{ stdenv, fetchFromGitHub, autoreconfHook, libcdio, pkgconfig,
|
|
|
|
libiconv, IOKit, DiskArbitration}:
|
2018-03-04 18:28:55 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
|
|
|
name = "libcdio-paranoia-0.94+2";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "rocky";
|
|
|
|
repo = "libcdio-paranoia";
|
|
|
|
rev = "release-10.2+0.94+2";
|
|
|
|
sha256 = "1wjgmmaca4baw7k5c3vdap9hnjc49ciagi5kvpvync3aqfmdvkha";
|
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [ autoreconfHook pkgconfig ];
|
2018-03-24 16:58:06 +00:00
|
|
|
buildInputs = [ libcdio ] ++
|
|
|
|
stdenv.lib.optionals stdenv.isDarwin [ libiconv IOKit DiskArbitration ];
|
|
|
|
|
|
|
|
propagatedBuildInputs = stdenv.lib.optional stdenv.isDarwin DiskArbitration;
|
|
|
|
|
|
|
|
configureFlags = stdenv.lib.optionals stdenv.isDarwin [
|
|
|
|
"--disable-ld-version-script"
|
|
|
|
];
|
2018-03-04 18:28:55 +00:00
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "CD paranoia on top of libcdio";
|
|
|
|
longDescription = ''
|
|
|
|
This is a port of xiph.org's cdda paranoia to use libcdio for CDROM
|
|
|
|
access. By doing this, cdparanoia runs on platforms other than GNU/Linux.
|
|
|
|
'';
|
|
|
|
license = licenses.gpl3;
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://github.com/rocky/libcdio-paranoia";
|
2018-03-04 18:28:55 +00:00
|
|
|
platforms = platforms.linux ++ platforms.darwin;
|
2020-02-09 09:50:54 +00:00
|
|
|
maintainers = [ ];
|
2018-03-04 18:28:55 +00:00
|
|
|
};
|
|
|
|
}
|