nixpkgs/pkgs/tools/networking/oneshot/default.nix

27 lines
634 B
Nix
Raw Normal View History

2020-07-09 15:27:23 +01:00
{ lib, fetchFromGitHub, buildGoModule }:
buildGoModule rec {
pname = "oneshot";
2020-08-23 16:39:02 +01:00
version = "1.2.0";
2020-07-09 15:27:23 +01:00
src = fetchFromGitHub {
owner = "raphaelreyna";
repo = "oneshot";
rev = "v${version}";
2020-08-23 16:39:02 +01:00
sha256 = "11xmvqj7md970rjhkg1zj2w6yqpw6cj83aw37a82sfdn90kyhg9d";
2020-07-09 15:27:23 +01:00
};
2020-08-23 16:39:02 +01:00
vendorSha256 = "1cxr96yrrmz37r542mc5376jll9lqjqm18k8761h9jqfbzmh9rkp";
2020-07-09 15:27:23 +01:00
doCheck = false;
2020-07-09 15:27:23 +01: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 ];
};
}