package.nix (834B)
1 { 2 lib, 3 rustPlatform, 4 fetchFromSourcehut, 5 versionCheckHook, 6 }: 7 8 rustPlatform.buildRustPackage (finalAttrs: { 9 pname = "estampa"; 10 version = "0.1.3"; 11 12 src = fetchFromSourcehut { 13 owner = "~nixgoat"; 14 repo = "estampa"; 15 rev = "v${finalAttrs.version}"; 16 hash = "sha256-uBoYJ2HI55cS5HUQm7PMaVO+NKHQKZ9HtG06u/5f+vk="; 17 }; 18 19 cargoHash = "sha256-c9Y6PMvIty7dzVggMIQuz1iczvga6IILEyPR/REpFS8="; 20 21 nativeCheckInputs = [ 22 versionCheckHook 23 ]; 24 doInstallCheck = true; 25 26 checkFlags = [ 27 "--skip=test::store_b_request" 28 ]; 29 30 __darwinAllowLocalNetworking = true; 31 32 meta = { 33 description = "Minimalist server for the Misfin protocol"; 34 homepage = "https://git.sr.ht/~nixgoat/estampa"; 35 license = lib.licenses.agpl3Plus; 36 maintainers = [ lib.maintainers.sikmir ]; 37 mainProgram = "estampa"; 38 }; 39 })
