depot/third_party/nixpkgs/pkgs/by-name/gu/guile-zstd/package.nix
Default email bcb2f287e1 Project import generated by Copybara.
GitOrigin-RevId: d603719ec6e294f034936c0d0dc06f689d91b6c3
2024-06-20 20:27:18 +05:30

38 lines
870 B
Nix

{ stdenv
, lib
, fetchFromGitea
, autoreconfHook
, pkg-config
, guile
, texinfo
, zstd
}:
stdenv.mkDerivation rec {
pname = "guile-zstd";
version = "0.1.1";
src = fetchFromGitea {
domain = "notabug.org";
owner = "guile-zstd";
repo = "guile-zstd";
rev = "v${version}";
hash = "sha256-IAyDoqb7qHAy666hxs6CCZrFnfwwV8AaR92XlQQ6FLE=";
};
strictDeps = true;
nativeBuildInputs = [ autoreconfHook guile pkg-config texinfo ];
buildInputs = [ guile ];
propagatedBuildInputs = [ zstd ];
makeFlags = [ "GUILE_AUTO_COMPILE=0" ];
doCheck = !stdenv.isDarwin;
meta = with lib; {
description = "GNU Guile library providing bindings to zstd";
homepage = "https://notabug.org/guile-zstd/guile-zstd";
license = licenses.gpl3Plus;
maintainers = with maintainers; [ foo-dogsquared ];
platforms = guile.meta.platforms;
};
}