Skip to content

Commit

Permalink
libcdio-paranoia: 10.2+2.0.1 -> 10.2+2.0.2 (NixOS#342295)
Browse files Browse the repository at this point in the history
  • Loading branch information
pbsds authored Sep 19, 2024
2 parents 8aa42ae + e1b20be commit 9063fd2
Showing 1 changed file with 25 additions and 10 deletions.
35 changes: 25 additions & 10 deletions pkgs/development/libraries/libcdio-paranoia/default.nix
Original file line number Diff line number Diff line change
@@ -1,26 +1,41 @@
{ lib, stdenv, fetchFromGitHub, autoreconfHook, libcdio, pkg-config,
libiconv, IOKit, DiskArbitration}:
{
lib,
stdenv,
fetchFromGitHub,
autoreconfHook,
libcdio,
pkg-config,
libiconv,
IOKit,
DiskArbitration,
}:

stdenv.mkDerivation rec {
pname = "libcdio-paranoia";
version = "2.0.1";
version = "2.0.2";

src = fetchFromGitHub {
owner = "rocky";
repo = "libcdio-paranoia";
rev = "release-10.2+${version}";
hash = "sha256-kNGhhslp5noAVeho0kBVfyvb4kQpDY56nyL3a4aFgjE=";
hash = "sha256-n05PSVgh6z7BFPq4CjJa5DqCO7Huj8Bsg0x3HQPsbeI=";
};

nativeBuildInputs = [ autoreconfHook pkg-config ];
buildInputs = [ libcdio ] ++
lib.optionals stdenv.isDarwin [ libiconv IOKit DiskArbitration ];
nativeBuildInputs = [
autoreconfHook
pkg-config
];
buildInputs =
[ libcdio ]
++ lib.optionals stdenv.isDarwin [
libiconv
IOKit
DiskArbitration
];

propagatedBuildInputs = lib.optional stdenv.isDarwin DiskArbitration;

configureFlags = lib.optionals stdenv.isDarwin [
"--disable-ld-version-script"
];
configureFlags = lib.optionals stdenv.isDarwin [ "--disable-ld-version-script" ];

meta = with lib; {
description = "CD paranoia on top of libcdio";
Expand Down

0 comments on commit 9063fd2

Please sign in to comment.