depot/third_party/nixpkgs/pkgs/by-name/li/libisofs/package.nix
Default email bcb2f287e1 Project import generated by Copybara.
GitOrigin-RevId: d603719ec6e294f034936c0d0dc06f689d91b6c3
2024-06-20 20:27:18 +05:30

48 lines
1 KiB
Nix

{ lib
, stdenv
, fetchFromGitea
, acl
, attr
, autoreconfHook
, libiconv
, zlib
}:
stdenv.mkDerivation (finalAttrs: {
pname = "libisofs";
version = "1.5.6.pl01";
src = fetchFromGitea {
domain = "dev.lovelyhq.com";
owner = "libburnia";
repo = "libisofs";
rev = "release-${finalAttrs.version}";
hash = "sha256-U5We19f/X1UKYFacCRl+XRXn67W8cYOBORb2uEjanT4=";
};
nativeBuildInputs = [
autoreconfHook
];
buildInputs = lib.optionals stdenv.isLinux [
acl
attr
] ++ lib.optionals stdenv.isDarwin [
libiconv
] ++ [
zlib
];
outputs = [ "out" "dev" ];
enableParallelBuilding = true;
meta = {
homepage = "https://dev.lovelyhq.com/libburnia/web/wiki";
description = "Library to create an ISO-9660 filesystem with extensions like RockRidge or Joliet";
changelog = "https://dev.lovelyhq.com/libburnia/libisofs/src/tag/${finalAttrs.src.rev}/ChangeLog";
license = lib.licenses.gpl2Plus;
maintainers = with lib.maintainers; [ abbradar AndersonTorres ];
platforms = lib.platforms.unix;
};
})