depot/third_party/nixpkgs/pkgs/by-name/gu/guile-zstd/package.nix
Default email 7e47f3658e Project import generated by Copybara.
GitOrigin-RevId: 1925c603f17fc89f4c8f6bf6f631a802ad85d784
2024-09-26 11:04:55 +00:00

38 lines
883 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.hostPlatform.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;
};
}