1{
2 lib,
3 stdenv,
4 fetchFromGitLab,
5 autoreconfHook,
6 pkg-config,
7 git,
8 guile,
9 curl,
10}:
11stdenv.mkDerivation rec {
12 pname = "akku";
13 version = "1.1.0-unstable-2024-03-03";
14
15 src = fetchFromGitLab {
16 owner = "akkuscm";
17 repo = "akku";
18 rev = "cb996572fe0dbe74a42d2abeafadffaea2bf8ae3";
19 sha256 = "sha256-6xqASnFxzz0yE5oJnh15SOB74PVrVkMVwS3PwKAmgks=";
20 };
21
22 nativeBuildInputs = [
23 autoreconfHook
24 pkg-config
25 ];
26
27 # akku calls curl commands
28 buildInputs = [
29 guile
30 curl
31 git
32 ];
33
34 # Use a dummy package index to bootstrap Akku
35 preBuild = ''
36 touch bootstrap.db
37 '';
38
39 makeFlags = [ "GUILE_AUTO_COMPILE=0" ];
40
41 meta = with lib; {
42 homepage = "https://akkuscm.org/";
43 description = "Language package manager for Scheme";
44 changelog = "https://gitlab.com/akkuscm/akku/-/raw/v${version}/NEWS.md";
45 platforms = platforms.all;
46 license = licenses.gpl3Plus;
47 maintainers = with maintainers; [
48 nagy
49 konst-aa
50 ];
51 mainProgram = "akku";
52 };
53}