2020-07-18 16:06:22 +00:00
|
|
|
{ lib, fetchFromGitHub, buildGoModule }:
|
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "oneshot";
|
2020-11-06 00:33:48 +00:00
|
|
|
version = "1.3.1";
|
2020-07-18 16:06:22 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "raphaelreyna";
|
|
|
|
repo = "oneshot";
|
|
|
|
rev = "v${version}";
|
2020-11-06 00:33:48 +00:00
|
|
|
sha256 = "047mncv9abs4xj7bh9lhc3wan37cldjjyrpkis7pvx6zhzml74kf";
|
2020-07-18 16:06:22 +00:00
|
|
|
};
|
|
|
|
|
2020-09-25 04:45:31 +00:00
|
|
|
vendorSha256 = "1cxr96yrrmz37r542mc5376jll9lqjqm18k8761h9jqfbzmh9rkp";
|
2020-07-18 16:06:22 +00:00
|
|
|
|
2020-08-20 17:08:02 +00:00
|
|
|
doCheck = false;
|
|
|
|
|
2020-07-18 16:06:22 +00:00
|
|
|
subPackages = [ "." ];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "A first-come-first-serve single-fire HTTP server";
|
|
|
|
homepage = "https://github.com/raphaelreyna/oneshot";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ edibopp ];
|
|
|
|
};
|
|
|
|
}
|