Loading pkgs/by-name/eg/eget/package.nix +10 −10 Original line number Diff line number Diff line Loading @@ -6,17 +6,16 @@ installShellFiles, nix-update-script, testers, eget, }: buildGoModule rec { buildGoModule (finalAttrs: { pname = "eget"; version = "1.3.4"; src = fetchFromGitHub { owner = "zyedidia"; repo = "eget"; rev = "v${version}"; tag = "v${finalAttrs.version}"; sha256 = "sha256-jhVUYyp6t5LleVotQQme07IJVdVnIOVFFtKEmzt8e2k="; }; Loading @@ -25,7 +24,7 @@ buildGoModule rec { ldflags = [ "-s" "-w" "-X main.Version=v${version}" "-X main.Version=v${finalAttrs.version}" ]; nativeBuildInputs = [ Loading @@ -34,6 +33,7 @@ buildGoModule rec { ]; postInstall = '' rm $out/bin/{test,tools} pandoc man/eget.md -s -t man -o eget.1 installManPage eget.1 ''; Loading @@ -41,16 +41,16 @@ buildGoModule rec { passthru = { updateScript = nix-update-script { }; tests.version = testers.testVersion { package = eget; package = finalAttrs.finalPackage; command = "eget -v"; version = "v${version}"; version = "v${finalAttrs.version}"; }; }; meta = with lib; { meta = { description = "Easily install prebuilt binaries from GitHub"; homepage = "https://github.com/zyedidia/eget"; license = licenses.mit; maintainers = with maintainers; [ zendo ]; license = lib.licenses.mit; maintainers = with lib.maintainers; [ zendo ]; }; } }) Loading
pkgs/by-name/eg/eget/package.nix +10 −10 Original line number Diff line number Diff line Loading @@ -6,17 +6,16 @@ installShellFiles, nix-update-script, testers, eget, }: buildGoModule rec { buildGoModule (finalAttrs: { pname = "eget"; version = "1.3.4"; src = fetchFromGitHub { owner = "zyedidia"; repo = "eget"; rev = "v${version}"; tag = "v${finalAttrs.version}"; sha256 = "sha256-jhVUYyp6t5LleVotQQme07IJVdVnIOVFFtKEmzt8e2k="; }; Loading @@ -25,7 +24,7 @@ buildGoModule rec { ldflags = [ "-s" "-w" "-X main.Version=v${version}" "-X main.Version=v${finalAttrs.version}" ]; nativeBuildInputs = [ Loading @@ -34,6 +33,7 @@ buildGoModule rec { ]; postInstall = '' rm $out/bin/{test,tools} pandoc man/eget.md -s -t man -o eget.1 installManPage eget.1 ''; Loading @@ -41,16 +41,16 @@ buildGoModule rec { passthru = { updateScript = nix-update-script { }; tests.version = testers.testVersion { package = eget; package = finalAttrs.finalPackage; command = "eget -v"; version = "v${version}"; version = "v${finalAttrs.version}"; }; }; meta = with lib; { meta = { description = "Easily install prebuilt binaries from GitHub"; homepage = "https://github.com/zyedidia/eget"; license = licenses.mit; maintainers = with maintainers; [ zendo ]; license = lib.licenses.mit; maintainers = with lib.maintainers; [ zendo ]; }; } })