nixpkgs/pkgs/by-name/gu/guile-lzma/package.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

41 lines
908 B
Nix
Raw Normal View History

2023-09-29 03:58:29 +00:00
{ 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 ];
2023-10-14 11:53:26 +00:00
propagatedNativeBuildInputs = [ scheme-bytestructures ];
2023-09-29 03:58:29 +00:00
doCheck = true;
2023-12-04 23:47:20 +00:00
# In procedure bytevector-u8-ref: Argument 2 out of range
dontStrip = stdenv.hostPlatform.isDarwin;
2023-09-29 03:58:29 +00:00
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;
};
}