2023-10-11 16:12:54 +02:00
|
|
|
{ lib
|
|
|
|
, stdenv
|
|
|
|
, fetchurl
|
|
|
|
, autoreconfHook
|
|
|
|
, guile
|
|
|
|
, pkg-config
|
|
|
|
, texinfo
|
|
|
|
, lzlib
|
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "guile-lzlib";
|
2024-05-03 14:22:49 +02:00
|
|
|
version = "0.3.0";
|
2023-10-11 16:12:54 +02:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "https://notabug.org/guile-lzlib/guile-lzlib/archive/${version}.tar.gz";
|
2024-05-03 14:22:49 +02:00
|
|
|
hash = "sha256-p/mcjSoUPgXqItstyLnObCfK6UIWK0XuMBXtkCevD/I=";
|
2023-10-11 16:12:54 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
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 = "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;
|
|
|
|
};
|
|
|
|
}
|