depot/third_party/nixpkgs/pkgs/by-name/li/libisofs/package.nix
Default email 5e7c2d6cef Project import generated by Copybara.
GitOrigin-RevId: f99e5f03cc0aa231ab5950a15ed02afec45ed51a
2023-10-09 21:29:22 +02:00

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 = "A 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;
};
})