From bce49cd4c0a12ca946df0563b30b9149d026be83 Mon Sep 17 00:00:00 2001 From: Gabriel Arazas Date: Fri, 29 Sep 2023 11:58:29 +0800 Subject: [PATCH] guile-lzma: init at 0.1.1 --- pkgs/by-name/gu/guile-lzma/package.nix | 37 ++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 pkgs/by-name/gu/guile-lzma/package.nix diff --git a/pkgs/by-name/gu/guile-lzma/package.nix b/pkgs/by-name/gu/guile-lzma/package.nix new file mode 100644 index 000000000000..d9be1253acb6 --- /dev/null +++ b/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 + scheme-bytestructures + ]; + buildInputs = [ guile ]; + propagatedBuildInputs = [ xz ]; + + 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; + }; +}