Merge pull request #240738 from wegank/libisofs-darwin

libisofs: add darwin support
This commit is contained in:
Weijia Wang 2023-07-03 11:39:48 +03:00 committed by GitHub
commit 28806eefe6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,4 +1,4 @@
{ lib, stdenv, fetchurl, acl, attr, zlib }:
{ lib, stdenv, fetchurl, acl, attr, libiconv, zlib }:
stdenv.mkDerivation rec {
pname = "libisofs";
@ -11,9 +11,12 @@ stdenv.mkDerivation rec {
hash = "sha256-rB/TONZBdEyh+xVnkXGIt5vIwlBoMt1WiF/smGVrnyU=";
};
buildInputs = [
buildInputs = lib.optionals stdenv.isLinux [
acl
attr
] ++ lib.optionals stdenv.isDarwin [
libiconv
] ++ [
zlib
];
@ -24,6 +27,6 @@ stdenv.mkDerivation rec {
description = "A library to create an ISO-9660 filesystem with extensions like RockRidge or Joliet";
license = licenses.gpl2Plus;
maintainers = with maintainers; [ abbradar vrthra ];
platforms = with platforms; linux;
platforms = with platforms; unix;
};
}