mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-01 17:53:14 +00:00
simplotask: init at 1.7.0
This commit is contained in:
parent
9328447b76
commit
2296c81400
37
pkgs/tools/admin/simplotask/default.nix
Normal file
37
pkgs/tools/admin/simplotask/default.nix
Normal file
@ -0,0 +1,37 @@
|
||||
{ lib, buildGoModule, fetchFromGitHub, installShellFiles }:
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "simplotask";
|
||||
version = "1.7.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "umputun";
|
||||
repo = "spot";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-aacG/s/zo4gMBsRug2i7vUyu1WUg3s+F8wtLsSVt7HQ=";
|
||||
};
|
||||
|
||||
vendorHash = null;
|
||||
|
||||
nativeBuildInputs = [ installShellFiles ];
|
||||
|
||||
ldflags = [
|
||||
"-s -w"
|
||||
"-X main.revision=v${version}"
|
||||
];
|
||||
|
||||
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 = with maintainers; [ sikmir ];
|
||||
license = licenses.mit;
|
||||
mainProgram = "spot";
|
||||
};
|
||||
}
|
@ -12424,6 +12424,8 @@ with pkgs;
|
||||
|
||||
simple-mtpfs = callPackage ../tools/filesystems/simple-mtpfs { };
|
||||
|
||||
simplotask = callPackage ../tools/admin/simplotask { };
|
||||
|
||||
simpleproxy = callPackage ../tools/networking/simpleproxy { };
|
||||
|
||||
simplescreenrecorder = libsForQt5.callPackage ../applications/video/simplescreenrecorder { };
|
||||
|
Loading…
Reference in New Issue
Block a user