lol
fork

Configure Feed

Select the types of activity you want to include in your feed.

oneshot: 1.5.1 -> 2.0.1

+36 -10
+33 -9
pkgs/tools/networking/oneshot/default.nix
··· 1 - { lib, fetchFromGitHub, buildGoModule }: 1 + { lib, fetchFromGitHub, buildGoModule, testers, oneshot }: 2 2 3 3 buildGoModule rec { 4 4 pname = "oneshot"; 5 - version = "1.5.1"; 5 + version = "2.0.1"; 6 6 7 7 src = fetchFromGitHub { 8 - owner = "raphaelreyna"; 8 + owner = "forestnode-io"; 9 9 repo = "oneshot"; 10 10 rev = "v${version}"; 11 - sha256 = "sha256-5NCGKgmioTOHGJEWMIEsZlA+072XXL9L8KbEH6+caHc="; 11 + hash = "sha256-QReh8wdFeiCAv+XMz4cADNn9QcxlvewFJJuJ+OH7Lgc="; 12 12 }; 13 13 14 - vendorSha256 = "sha256-rL/NWIIggvngTrdTDm1g1uH3vC55JF3cWllPc6Yb5jc="; 14 + vendorHash = "sha256-z6eOPugSwWEK02lgRu5Oo8LzjXnJlAtQvkzdevjBTVs="; 15 + 16 + subPackages = [ "cmd" ]; 15 17 16 - doCheck = false; 18 + GOWORK = "off"; 17 19 18 - subPackages = [ "." ]; 20 + modRoot = "v2"; 21 + 22 + ldflags = [ 23 + "-s" 24 + "-w" 25 + "-extldflags=-static" 26 + "-X github.com/forestnode-io/oneshot/v2/pkg/version.Version=${version}" 27 + "-X github.com/forestnode-io/oneshot/v2/pkg/version.APIVersion=v1.0.0" 28 + ]; 29 + 30 + installPhase = '' 31 + runHook preInstall 32 + 33 + install -D -m 555 -T $GOPATH/bin/cmd $out/bin/oneshot 34 + 35 + runHook postInstall 36 + ''; 37 + 38 + passthru.tests.version = testers.testVersion { 39 + package = oneshot; 40 + command = "oneshot version"; 41 + }; 19 42 20 43 meta = with lib; { 21 - description = "A first-come-first-serve single-fire HTTP server"; 22 - homepage = "https://github.com/raphaelreyna/oneshot"; 44 + description = "A first-come first-served single-fire HTTP server"; 45 + homepage = "https://www.oneshot.uno/"; 23 46 license = licenses.mit; 24 47 maintainers = with maintainers; [ milibopp ]; 48 + mainProgram = "oneshot"; 25 49 }; 26 50 }
+3 -1
pkgs/top-level/all-packages.nix
··· 6050 6050 6051 6051 onboard = callPackage ../applications/misc/onboard { }; 6052 6052 6053 - oneshot = callPackage ../tools/networking/oneshot { }; 6053 + oneshot = callPackage ../tools/networking/oneshot { 6054 + buildGoModule = buildGo121Module; 6055 + }; 6054 6056 6055 6057 orjail = callPackage ../tools/security/orjail { }; 6056 6058