bakelite: clean up and provide update script (#380685)

This commit is contained in:
Peder Bergebakken Sundt
2025-02-14 20:48:32 +01:00
committed by GitHub
+14 -7
View File
@@ -2,15 +2,16 @@
lib,
stdenv,
fetchFromGitHub,
unstableGitUpdater,
}:
stdenv.mkDerivation rec {
stdenv.mkDerivation {
pname = "bakelite";
version = "unstable-2023-03-30";
version = "0.4.2-unstable-2023-05-30";
src = fetchFromGitHub {
owner = "richfelker";
repo = pname;
repo = "bakelite";
rev = "65d69e88e0972d1493ebbd9bf9d1bfde36272636";
hash = "sha256-OjBw9aYD2h7BWYgQzZp03hGCyQcRgmm2AjrcT/QrQAo=";
};
@@ -27,13 +28,19 @@ stdenv.mkDerivation rec {
cp bakelite $out/bin
'';
meta = with lib; {
passthru = {
updateScript = unstableGitUpdater {
tagPrefix = "v";
};
};
meta = {
homepage = "https://github.com/richfelker/bakelite";
description = "Incremental backup with strong cryptographic confidentality";
mainProgram = "bakelite";
license = licenses.gpl2Only;
maintainers = with maintainers; [ mvs ];
license = lib.licenses.gpl2Only;
maintainers = with lib.maintainers; [ mvs ];
# no support for Darwin (yet: https://github.com/richfelker/bakelite/pull/5)
platforms = platforms.linux;
platforms = lib.platforms.linux;
};
}