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

27 lines
632 B
Nix
Raw Normal View History

2020-07-09 16:27:23 +02:00
{ lib, fetchFromGitHub, buildGoModule }:
buildGoModule rec {
pname = "oneshot";
2021-08-15 16:55:32 +02:00
version = "1.5.0";
2020-07-09 16:27:23 +02:00
src = fetchFromGitHub {
owner = "raphaelreyna";
repo = "oneshot";
rev = "v${version}";
2021-08-15 16:55:32 +02:00
sha256 = "sha256-LxLMETZzoeu7qEHpUFmo/h+7sdly+R5ZWsNhyttcbpA=";
2020-07-09 16:27:23 +02:00
};
2021-08-15 16:55:32 +02:00
vendorSha256 = "sha256-rL/NWIIggvngTrdTDm1g1uH3vC55JF3cWllPc6Yb5jc=";
2020-07-09 16:27:23 +02:00
doCheck = false;
2020-07-09 16:27:23 +02: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 ];
};
}