mirror of
https://github.com/foo-dogsquared/nixos-config.git
synced 2025-03-13 18:19:00 +00:00
guile-config: init at 0.5.0
This commit is contained in:
parent
06db2633f5
commit
22d734bdc6
@ -10,6 +10,7 @@ with pkgs; {
|
||||
callPackage ./gnome-shell-extension-desktop-cube.nix { };
|
||||
gnome-shell-extension-fly-pie =
|
||||
callPackage ./gnome-shell-extension-fly-pie.nix { };
|
||||
guile-config = callPackage ./guile-config.nix { };
|
||||
junction = callPackage ./junction.nix { };
|
||||
libcs50 = callPackage ./libcs50.nix { };
|
||||
llama = callPackage ./llama.nix { };
|
||||
|
28
pkgs/guile-config.nix
Normal file
28
pkgs/guile-config.nix
Normal file
@ -0,0 +1,28 @@
|
||||
{ stdenv, lib, guile_3_0, fetchFromGitLab, autoreconfHook, pkg-config, texinfo
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "guile-config";
|
||||
version = "0.5.0";
|
||||
|
||||
src = fetchFromGitLab {
|
||||
owner = "a-sassmannshausen";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
sha256 = "sha256-8Ma2pzqR8il+8H6WVbYLpKBk2rh3aKBr1mvvzdpCNPc=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ pkg-config autoreconfHook texinfo ];
|
||||
propagatedBuildInputs = [ guile_3_0 ];
|
||||
|
||||
preConfigure = ''
|
||||
sed -i '/guilemoduledir\s*=/s%=.*%=''${out}/share/guile/site%' configure.ac
|
||||
sed -i '/guileobjectdir\s*=/s%=.*%=''${out}/share/guile/ccache%' configure.ac
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "Library for a declarative approach for configuration";
|
||||
homepage = "https://gitlab.com/a-sassmannshausen/guile-config";
|
||||
license = licenses.gpl3;
|
||||
};
|
||||
}
|
Loading…
Reference in New Issue
Block a user