guile-git: init at 0.3.0

This commit is contained in:
Ethan Edwards 2021-06-12 00:43:42 -04:00
parent 74c602f211
commit 0dd23e2610
No known key found for this signature in database
GPG Key ID: F1AD8EEE1366610B
2 changed files with 50 additions and 0 deletions

View File

@ -0,0 +1,48 @@
{ lib
, stdenv
, fetchFromGitLab
, guile
, libgit2
, scheme-bytestructures
, autoreconfHook
, pkg-config
, texinfo
}:
stdenv.mkDerivation rec {
pname = "guile-git";
version = "0.3.0";
src = fetchFromGitLab {
owner = "guile-git";
repo = pname;
rev = "v${version}";
sha256 = "1s77s70gzfj6h7bglq431kw8l4iknhsfpc0mnvcp4lkhwdcgyn1n";
};
postConfigure = ''
sed -i '/moddir\s*=/s%=.*%=''${out}/share/guile/site%' Makefile;
sed -i '/godir\s*=/s%=.*%=''${out}/share/guile/ccache%' Makefile;
'';
nativeBuildInputs = [
autoreconfHook pkg-config texinfo
];
buildInputs = [
guile
];
propagatedBuildInputs = [
libgit2 scheme-bytestructures
];
enableParallelBuilding = true;
meta = with lib; {
description = "Bindings to Libgit2 for GNU Guile";
homepage = "https://gitlab.com/guile-git/guile-git";
license = licenses.gpl3Plus;
maintainers = with maintainers; [ ethancedwards8 ];
platforms = platforms.linux;
};
}

View File

@ -12653,6 +12653,8 @@ in
guile-fibers = callPackage ../development/guile-modules/guile-fibers { };
guile-git = callPackage ../development/guile-modules/guile-git { };
guile-gnome = callPackage ../development/guile-modules/guile-gnome {
gconf = gnome2.GConf;
guile = guile_2_0;