Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
46 lines
1.0 KiB
Nix
46 lines
1.0 KiB
Nix
{
|
|
buildGoModule,
|
|
fetchFromGitHub,
|
|
lib,
|
|
}:
|
|
|
|
buildGoModule {
|
|
pname = "perkeep";
|
|
# no release or tag since 2020
|
|
version = "0-unstable-2024-04-23";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "perkeep";
|
|
repo = "perkeep";
|
|
rev = "bb15e6eb48bc9d614673f3af9432c70a76707c22";
|
|
hash = "sha256-FUr+OgxYHVUzaahrG/3Adn5KNYHb0S/SKKFddskuvZA=";
|
|
};
|
|
|
|
vendorHash = "sha256-+l1QV7/P0sS1S26xdyQygRZQGKqwbLUhgVtm/yHL6Cc=";
|
|
|
|
subPackages = [
|
|
"server/perkeepd"
|
|
"cmd/pk"
|
|
"cmd/pk-get"
|
|
"cmd/pk-put"
|
|
"cmd/pk-mount"
|
|
];
|
|
|
|
# genfileembed gets built regardless of subPackages, to embed static
|
|
# content into the Perkeep binaries. Remove it in post-install to
|
|
# avoid polluting paths.
|
|
postInstall = ''
|
|
rm -f $out/bin/genfileembed
|
|
'';
|
|
|
|
meta = {
|
|
description = "Way of storing, syncing, sharing, modelling and backing up content (née Camlistore)";
|
|
homepage = "https://perkeep.org";
|
|
license = lib.licenses.asl20;
|
|
maintainers = with lib.maintainers; [
|
|
kalbasit
|
|
gador
|
|
];
|
|
};
|
|
}
|