9bb3fccb5b
continuation of #109595 pkgconfig was aliased in 2018, however, it remained in all-packages.nix due to its wide usage. This cleans up the remaining references to pkgs.pkgsconfig and moves the entry to aliases.nix. python3Packages.pkgconfig remained unchanged because it's the canonical name of the upstream package on pypi.
36 lines
1.1 KiB
Nix
36 lines
1.1 KiB
Nix
{ stdenv, fetchFromGitHub, autoreconfHook, libcdio, pkg-config,
|
|
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 ];
|
|
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"
|
|
];
|
|
|
|
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;
|
|
homepage = "https://github.com/rocky/libcdio-paranoia";
|
|
platforms = platforms.linux ++ platforms.darwin;
|
|
maintainers = [ ];
|
|
};
|
|
}
|