apx: 2.1.2 -> 2.2.0

This commit is contained in:
John Garcia 2024-01-12 13:22:52 +00:00
parent 3d1fe1445c
commit e547272017

View File

@ -2,21 +2,24 @@
, buildGoModule
, fetchFromGitHub
, distrobox
, installShellFiles
}:
buildGoModule rec {
pname = "apx";
version = "2.1.2";
version = "2.2.0";
src = fetchFromGitHub {
owner = "Vanilla-OS";
repo = "apx";
rev = "v${version}";
hash = "sha256-0xQfbnLvNB1X1B8440CYHZWFGSQV319IU5tgXS3lyUI=";
hash = "sha256-za3QS0ZJuxSCt5xbYa/Kt4ARsDhUn34vJTy0fJoqr9U=";
};
vendorHash = null;
nativeBuildInputs = [ installShellFiles ];
ldflags = [ "-s" "-w" ];
postPatch = ''
@ -28,8 +31,8 @@ buildGoModule rec {
'';
postInstall = ''
install -D config/apx.json -t $out/share/apx/
install -D man/man1/apx.1 -t $out/man/man1/
install -m 444 -D config/apx.json -t $out/share/apx/
installManPage man/man1/*
'';
meta = with lib; {