perkeep: 0-unstable-2024-04-23 -> 0.12 (#460856)
This commit is contained in:
@@ -4,19 +4,24 @@
|
||||
lib,
|
||||
}:
|
||||
|
||||
buildGoModule {
|
||||
buildGoModule rec {
|
||||
pname = "perkeep";
|
||||
# no release or tag since 2020
|
||||
version = "0-unstable-2024-04-23";
|
||||
version = "0.12";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "perkeep";
|
||||
repo = "perkeep";
|
||||
rev = "bb15e6eb48bc9d614673f3af9432c70a76707c22";
|
||||
hash = "sha256-FUr+OgxYHVUzaahrG/3Adn5KNYHb0S/SKKFddskuvZA=";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-mAVzgHDtCCYTds65qKzIJ+oqLbUQhhSdp6Sq0DA8zOA=";
|
||||
};
|
||||
|
||||
vendorHash = "sha256-+l1QV7/P0sS1S26xdyQygRZQGKqwbLUhgVtm/yHL6Cc=";
|
||||
vendorHash = "sha256-FLRfpyYVoZgV5LS2DjLOnc28Z+1v/YAxwWrOPoIzHHk=";
|
||||
|
||||
ldflags = [
|
||||
"-s"
|
||||
"-w"
|
||||
"-X perkeep.org/pkg/buildinfo.GitInfo=v${version}"
|
||||
];
|
||||
|
||||
subPackages = [
|
||||
"server/perkeepd"
|
||||
@@ -26,13 +31,6 @@ buildGoModule {
|
||||
"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";
|
||||
|
||||
Reference in New Issue
Block a user