3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/libraries/libcdio-paranoia/default.nix

36 lines
1.1 KiB
Nix
Raw Normal View History

{ lib, stdenv, fetchFromGitHub, autoreconfHook, libcdio, pkg-config,
2018-03-24 16:58:06 +00:00
libiconv, IOKit, DiskArbitration}:
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 pkg-config ];
2018-03-24 16:58:06 +00:00
buildInputs = [ libcdio ] ++
lib.optionals stdenv.isDarwin [ libiconv IOKit DiskArbitration ];
2018-03-24 16:58:06 +00:00
propagatedBuildInputs = lib.optional stdenv.isDarwin DiskArbitration;
2018-03-24 16:58:06 +00:00
configureFlags = lib.optionals stdenv.isDarwin [
2018-03-24 16:58:06 +00:00
"--disable-ld-version-script"
];
meta = with 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;
homepage = "https://github.com/rocky/libcdio-paranoia";
platforms = platforms.linux ++ platforms.darwin;
maintainers = [ ];
};
}