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

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

38 lines
851 B
Nix
Raw Normal View History

2023-10-11 16:12:54 +02:00
{ lib
, stdenv
, fetchurl
, autoreconfHook
, guile
, pkg-config
, texinfo
, lzlib
}:
stdenv.mkDerivation rec {
pname = "guile-lzlib";
version = "0.0.2";
src = fetchurl {
url = "https://notabug.org/guile-lzlib/guile-lzlib/archive/${version}.tar.gz";
hash = "sha256-hiPbd9RH57n/v8vCiDkOcGprGomxFx2u1gh0z+x+T4c=";
};
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;
};
}