about summary refs log tree commit diff
path: root/nixpkgs/pkgs/by-name/gu/guile-lzma/package.nix
diff options
context:
space:
mode:
Diffstat (limited to 'nixpkgs/pkgs/by-name/gu/guile-lzma/package.nix')
-rw-r--r--nixpkgs/pkgs/by-name/gu/guile-lzma/package.nix37
1 files changed, 37 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/by-name/gu/guile-lzma/package.nix b/nixpkgs/pkgs/by-name/gu/guile-lzma/package.nix
new file mode 100644
index 000000000000..66dddeb88ff7
--- /dev/null
+++ b/nixpkgs/pkgs/by-name/gu/guile-lzma/package.nix
@@ -0,0 +1,37 @@
+{ stdenv
+, lib
+, fetchurl
+, xz
+, pkg-config
+, guile
+, scheme-bytestructures
+}:
+
+stdenv.mkDerivation rec {
+  pname = "guile-lzma";
+  version = "0.1.1";
+
+  src = fetchurl {
+    url = "https://files.ngyro.com/guile-lzma/guile-lzma-${version}.tar.gz";
+    hash = "sha256-K4ZoltZy7U05AI9LUzZ1DXiXVgoGZ4Nl9cWnK9L8zl4=";
+  };
+
+  strictDeps = true;
+  nativeBuildInputs = [
+    guile
+    pkg-config
+  ];
+  buildInputs = [ guile ];
+  propagatedBuildInputs = [ xz ];
+  propagatedNativeBuildInputs = [ scheme-bytestructures ];
+
+  doCheck = true;
+
+  meta = with lib; {
+    homepage = "https://ngyro.com/software/guile-lzma.html";
+    description = "Guile wrapper for lzma library";
+    license = licenses.gpl3Plus;
+    maintainers = with maintainers; [ foo-dogsquared ];
+    platforms = guile.meta.platforms;
+  };
+}