nixpkgs/pkgs/by-name/gu/guile-lzlib/package.nix
2024-05-03 12:22:49 +00:00

38 lines
851 B
Nix

{ lib
, stdenv
, fetchurl
, autoreconfHook
, guile
, pkg-config
, texinfo
, lzlib
}:
stdenv.mkDerivation rec {
pname = "guile-lzlib";
version = "0.3.0";
src = fetchurl {
url = "https://notabug.org/guile-lzlib/guile-lzlib/archive/${version}.tar.gz";
hash = "sha256-p/mcjSoUPgXqItstyLnObCfK6UIWK0XuMBXtkCevD/I=";
};
strictDeps = true;
nativeBuildInputs = [ autoreconfHook guile pkg-config texinfo ];
propagatedBuildInputs = [ guile lzlib ];
makeFlags = [ "GUILE_AUTO_COMPILE=0" ];
# tests fail on darwin
doCheck = !stdenv.isDarwin;
meta = with lib; {
description = "A GNU Guile library providing bindings to lzlib";
homepage = "https://notabug.org/guile-lzlib/guile-lzlib";
license = licenses.gpl3Plus;
maintainers = with maintainers; [ foo-dogsquared ];
platforms = guile.meta.platforms;
};
}