27 lines
698 B
Nix
27 lines
698 B
Nix
|
{ lib, fetchFromGitHub, buildGoModule }:
|
||
|
|
||
|
buildGoModule rec {
|
||
|
pname = "oneshot";
|
||
|
version = "1.1.0";
|
||
|
|
||
|
src = fetchFromGitHub {
|
||
|
owner = "raphaelreyna";
|
||
|
repo = "oneshot";
|
||
|
rev = "v${version}";
|
||
|
sha256 = "1gcxwamchznkzg3m0gfig7733z2w035lxxj6h18gc6zzcnf6p57w";
|
||
|
};
|
||
|
|
||
|
goPackagePath = "github.com/raphaelreyna/oneshot";
|
||
|
vendorSha256 = "0v53dsj0w959pmvk6v1i7rwlfd2y0vrghxlwkgidw0sf775qpgvy";
|
||
|
|
||
|
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 ];
|
||
|
platforms = platforms.all;
|
||
|
};
|
||
|
}
|