7e47f3658e
GitOrigin-RevId: 1925c603f17fc89f4c8f6bf6f631a802ad85d784
37 lines
862 B
Nix
37 lines
862 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.hostPlatform.isDarwin;
|
|
|
|
meta = with lib; {
|
|
description = "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;
|
|
};
|
|
}
|