nur-packages

My NUR packages
git clone git://git.sikmir.ru/nur-packages
Log | Files | Refs | README | LICENSE

commit 22840a81456a0a8e989a11c400329d7494418777
parent 459b39e8658c143aba6c3604f11c997079a4dbbb
Author: Nikolay Korotkiy <sikmir@disroot.org>
Date:   Tue,  1 Jul 2025 21:15:25 +0400

Add estampa

Diffstat:
Mpkgs/default.nix | 1+
Apkgs/gemini/estampa/default.nix | 36++++++++++++++++++++++++++++++++++++
2 files changed, 37 insertions(+), 0 deletions(-)

diff --git a/pkgs/default.nix b/pkgs/default.nix @@ -163,6 +163,7 @@ lib.makeScope newScope ( agunua = callPackage ./gemini/agunua { }; astronaut = callPackage ./gemini/astronaut { }; comitium = callPackage ./gemini/comitium { }; + estampa = callPackage ./gemini/estampa { }; eva = callPackage ./gemini/eva { }; gelim = callPackage ./gemini/gelim { }; gem = callPackage ./gemini/gem { }; diff --git a/pkgs/gemini/estampa/default.nix b/pkgs/gemini/estampa/default.nix @@ -0,0 +1,36 @@ +{ + lib, + rustPlatform, + fetchFromSourcehut, + versionCheckHook, +}: + +rustPlatform.buildRustPackage (finalAttrs: { + pname = "estampa"; + version = "0.1.3"; + + src = fetchFromSourcehut { + owner = "~nixgoat"; + repo = "estampa"; + rev = "v${finalAttrs.version}"; + hash = "sha256-uBoYJ2HI55cS5HUQm7PMaVO+NKHQKZ9HtG06u/5f+vk="; + }; + + useFetchCargoVendor = true; + cargoHash = "sha256-c9Y6PMvIty7dzVggMIQuz1iczvga6IILEyPR/REpFS8="; + + nativeCheckInputs = [ + versionCheckHook + ]; + doInstallCheck = true; + + __darwinAllowLocalNetworking = true; + + meta = { + description = "Minimalist server for the Misfin protocol"; + homepage = "https://git.sr.ht/~nixgoat/estampa"; + license = lib.licenses.agpl3Plus; + maintainers = [ lib.maintainers.sikmir ]; + mainProgram = "estampa"; + }; +})