mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-15 06:14:57 +01:00
755b915a15
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"[Aa]n?' pkgs \ | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Aa]n? (.)/\1\U\2/'
37 lines
849 B
Nix
37 lines
849 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 = "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;
|
|
};
|
|
}
|