mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-26 15:44:20 +00:00
27 lines
633 B
Nix
27 lines
633 B
Nix
{ lib, fetchFromGitHub, buildGoModule }:
|
|
|
|
buildGoModule rec {
|
|
pname = "oneshot";
|
|
version = "1.5.1";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "raphaelreyna";
|
|
repo = "oneshot";
|
|
rev = "v${version}";
|
|
sha256 = "sha256-5NCGKgmioTOHGJEWMIEsZlA+072XXL9L8KbEH6+caHc=";
|
|
};
|
|
|
|
vendorSha256 = "sha256-rL/NWIIggvngTrdTDm1g1uH3vC55JF3cWllPc6Yb5jc=";
|
|
|
|
doCheck = false;
|
|
|
|
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; [ milibopp ];
|
|
};
|
|
}
|