mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-26 17:03:01 +00:00
Merge pull request #261035 from foo-dogsquared/add-guile-zstd
guile-zstd: init at 0.1.1
This commit is contained in:
commit
d44dc0ebed
38
pkgs/by-name/gu/guile-zstd/package.nix
Normal file
38
pkgs/by-name/gu/guile-zstd/package.nix
Normal file
@ -0,0 +1,38 @@
|
||||
{ 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 = "A 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;
|
||||
};
|
||||
}
|
Loading…
Reference in New Issue
Block a user