mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-20 08:59:32 +03:00
guile-git: init at 0.3.0
This commit is contained in:
parent
74c602f211
commit
0dd23e2610
48
pkgs/development/guile-modules/guile-git/default.nix
Normal file
48
pkgs/development/guile-modules/guile-git/default.nix
Normal 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;
|
||||
};
|
||||
}
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user