Files
nixpkgs/pkgs/by-name/gu/guile-lzma/package.nix
Dark Steveneq 646b892680
Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
push sheeet
2025-10-09 14:15:47 +02:00

42 lines
917 B
Nix

{
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;
# In procedure bytevector-u8-ref: Argument 2 out of range
dontStrip = stdenv.hostPlatform.isDarwin;
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;
};
}