restman: 0.3.0 -> 0.4.9

This commit is contained in:
Thomas Butter
2026-04-26 19:19:13 +00:00
committed by GitHub
parent b1d2192534
commit 8eed2073da

View File

@@ -1,6 +1,7 @@
{
lib,
fetchFromGitHub,
fetchpatch,
buildGoModule,
testers,
restman,
@@ -8,16 +9,24 @@
buildGoModule (finalAttrs: {
pname = "restman";
version = "0.3.0";
version = "0.4.9";
src = fetchFromGitHub {
repo = "restman";
owner = "jackMort";
rev = "v${finalAttrs.version}";
hash = "sha256-KN3iahDdPSHPnGEacsmaVMRNI3mV9qrH3HyJOTtB2hA=";
hash = "sha256-advp7w9SbMKcuvQhR7pF95VV4J6hUl8rV+9Uu4EaGpc=";
};
vendorHash = "sha256-hXd7E6yowuY3+ZpGyCzlcqwFqFrQzXBWYRMjsrxBlwI=";
patches = [
(fetchpatch {
# fix for tests committed shortly after 0.4.9
url = "https://github.com/jackMort/Restman/commit/2d5edd4e4faa0499bf93741fed250f8f13efa9c3.patch";
hash = "sha256-Mv7+eAKczR4YZDdevK60I1WZrmEumqsXhXMQVwu1zLo=";
})
];
vendorHash = "sha256-+qjJhDQvZi+SstE2uo+2hsoG2MTRdI6d79Vga3/7gTY=";
ldflags = [
"-s"