nur-packages

My NUR packages
git clone git://git.sikmir.ru/nur-packages
Log | Files | Refs | README | LICENSE

commit 28ca67e983dd6de465c7d2f139c65dd256d50884
parent 8faf6c350c9f5e37551599e607d57340cc0ab98f
Author: Nikolay Korotkiy <sikmir@disroot.org>
Date:   Wed,  7 Jun 2023 00:05:28 +0400

Add spot

Diffstat:
Mpkgs/default.nix | 1+
Apkgs/misc/spot/default.nix | 31+++++++++++++++++++++++++++++++
2 files changed, 32 insertions(+), 0 deletions(-)

diff --git a/pkgs/default.nix b/pkgs/default.nix @@ -365,6 +365,7 @@ lib.makeScope newScope ( sdorfehs = callPackage ./misc/sdorfehs { }; serial-studio-bin = callPackage ./misc/serial-studio/bin.nix { }; serverpp = callPackage ./misc/serverpp { }; + spot = callPackage ./misc/spot { }; taskcoach = callPackage ./misc/taskcoach { }; tcvt = callPackage ./misc/tcvt { }; telegabber = callPackage ./misc/telegabber { }; diff --git a/pkgs/misc/spot/default.nix b/pkgs/misc/spot/default.nix @@ -0,0 +1,31 @@ +{ lib, buildGoModule, fetchFromGitHub, installShellFiles }: + +buildGoModule rec { + pname = "spot"; + version = "1.7.0"; + + src = fetchFromGitHub { + owner = "umputun"; + repo = "spot"; + rev = "v${version}"; + hash = "sha256-aacG/s/zo4gMBsRug2i7vUyu1WUg3s+F8wtLsSVt7HQ="; + }; + + vendorHash = null; + + nativeBuildInputs = [ installShellFiles ]; + + doCheck = false; + + postInstall = '' + mv $out/bin/{secrets,spot-secrets} + installManPage *.1 + ''; + + meta = with lib; { + description = "A tool for effortless deployment and configuration management"; + homepage = "https://simplotask.com/"; + maintainers = [ maintainers.sikmir ]; + license = licenses.mit; + }; +}