diff options
author | Eduard Bopp <eduard.bopp@aepsil0n.de> | 2020-07-09 16:27:23 +0200 |
---|---|---|
committer | Eduard Bopp <eduard.bopp@aepsil0n.de> | 2020-07-13 15:00:56 +0200 |
commit | 68a15c260a1de928403a0ae363b5c0a5f2b2a958 (patch) | |
tree | 6746224111fd59938d4e3877de858a676247c4e7 /pkgs/tools/networking/oneshot | |
parent | f70a54893e564509553241de349117aebf4aed83 (diff) |
oneshot: init at 1.1.0
Diffstat (limited to 'pkgs/tools/networking/oneshot')
-rw-r--r-- | pkgs/tools/networking/oneshot/default.nix | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/pkgs/tools/networking/oneshot/default.nix b/pkgs/tools/networking/oneshot/default.nix new file mode 100644 index 000000000000..fb7fe48c08a5 --- /dev/null +++ b/pkgs/tools/networking/oneshot/default.nix @@ -0,0 +1,26 @@ +{ 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; + }; +} |