3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/tools/networking/oneshot/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

27 lines
633 B
Nix
Raw Normal View History

2020-07-09 15:27:23 +01:00
{ lib, fetchFromGitHub, buildGoModule }:
buildGoModule rec {
pname = "oneshot";
2021-09-15 10:35:29 +01:00
version = "1.5.1";
2020-07-09 15:27:23 +01:00
src = fetchFromGitHub {
owner = "raphaelreyna";
repo = "oneshot";
rev = "v${version}";
2021-09-15 10:35:29 +01:00
sha256 = "sha256-5NCGKgmioTOHGJEWMIEsZlA+072XXL9L8KbEH6+caHc=";
2020-07-09 15:27:23 +01:00
};
2021-08-15 15:55:32 +01:00
vendorSha256 = "sha256-rL/NWIIggvngTrdTDm1g1uH3vC55JF3cWllPc6Yb5jc=";
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;
2022-01-04 12:29:54 +00:00
maintainers = with maintainers; [ milibopp ];
2020-07-09 15:27:23 +01:00
};
}