Merge pull request #257957 from foo-dogsquared/add-guile-lzma

guile-lzma: init at 0.1.1
This commit is contained in:
Weijia Wang 2023-09-29 10:28:34 +02:00 committed by GitHub
commit ca652e28ac
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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;
};
}