about summary refs log tree commit diff
path: root/pkgs/by-name
diff options
context:
space:
mode:
authorAnderson Torres <torres.anderson.85@protonmail.com>2023-09-17 20:26:36 -0300
committerAnderson Torres <torres.anderson.85@protonmail.com>2023-09-20 22:51:30 -0300
commita7d3d7e85f135f420f98595d902427f0444d849b (patch)
treeddcad7f5d71fa99199fe742214ab80ef033b13e1 /pkgs/by-name
parent6d98a2287f08c010fe39efc3077facff470868f7 (diff)
libisofs: migrate to by-name
Diffstat (limited to 'pkgs/by-name')
-rw-r--r--pkgs/by-name/li/libisofs/package.nix48
1 files changed, 48 insertions, 0 deletions
diff --git a/pkgs/by-name/li/libisofs/package.nix b/pkgs/by-name/li/libisofs/package.nix
new file mode 100644
index 0000000000000..d49279dc1f1be
--- /dev/null
+++ b/pkgs/by-name/li/libisofs/package.nix
@@ -0,0 +1,48 @@
+{ 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;
+  };
+})