1 { lib, stdenv, fetchFromGitLab, autoreconfHook, pkg-config, guile, curl, substituteAll }:
3 stdenv.mkDerivation rec {
7 src = fetchFromGitLab {
11 sha256 = "1pi18aamg1fd6f9ynfl7zx92052xzf0zwmhi2pwcwjs1kbah19f5";
15 # substitute libcurl path
17 src = ./hardcode-libcurl.patch;
18 libcurl = "${curl.out}/lib/libcurl${stdenv.hostPlatform.extensions.sharedLibrary}";
22 nativeBuildInputs = [ autoreconfHook pkg-config ];
24 buildInputs = [ guile ];
26 # Use a dummy package index to boostrap Akku
31 makeFlags = [ "GUILE_AUTO_COMPILE=0" ];
34 homepage = "https://akkuscm.org/";
35 description = "Language package manager for Scheme";
36 changelog = "https://gitlab.com/akkuscm/akku/-/raw/v${version}/NEWS.md";
37 platforms = platforms.all;
38 license = licenses.gpl3Plus;
39 maintainers = with maintainers; [ marsam ];