Merge pull request #261035 from foo-dogsquared/add-guile-zstd

guile-zstd: init at 0.1.1

authored by Weijia Wang and committed by GitHub d44dc0eb 67604b2a

+38
+38
pkgs/by-name/gu/guile-zstd/package.nix
···
··· 1 + { stdenv 2 + , lib 3 + , fetchFromGitea 4 + , autoreconfHook 5 + , pkg-config 6 + , guile 7 + , texinfo 8 + , zstd 9 + }: 10 + 11 + stdenv.mkDerivation rec { 12 + pname = "guile-zstd"; 13 + version = "0.1.1"; 14 + 15 + src = fetchFromGitea { 16 + domain = "notabug.org"; 17 + owner = "guile-zstd"; 18 + repo = "guile-zstd"; 19 + rev = "v${version}"; 20 + hash = "sha256-IAyDoqb7qHAy666hxs6CCZrFnfwwV8AaR92XlQQ6FLE="; 21 + }; 22 + 23 + strictDeps = true; 24 + nativeBuildInputs = [ autoreconfHook guile pkg-config texinfo ]; 25 + buildInputs = [ guile ]; 26 + propagatedBuildInputs = [ zstd ]; 27 + makeFlags = [ "GUILE_AUTO_COMPILE=0" ]; 28 + 29 + doCheck = !stdenv.isDarwin; 30 + 31 + meta = with lib; { 32 + description = "A GNU Guile library providing bindings to zstd"; 33 + homepage = "https://notabug.org/guile-zstd/guile-zstd"; 34 + license = licenses.gpl3Plus; 35 + maintainers = with maintainers; [ foo-dogsquared ]; 36 + platforms = guile.meta.platforms; 37 + }; 38 + }