mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-08-26 02:05:02 +00:00
[Backport release-25.05] podman-tui: 1.5.0 -> 1.8.1 (#448673)
This commit is contained in:
@@ -4,18 +4,17 @@
|
||||
fetchFromGitHub,
|
||||
buildGoModule,
|
||||
testers,
|
||||
podman-tui,
|
||||
}:
|
||||
|
||||
buildGoModule rec {
|
||||
buildGoModule (finalAttrs: {
|
||||
pname = "podman-tui";
|
||||
version = "1.5.0";
|
||||
version = "1.8.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "containers";
|
||||
repo = "podman-tui";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-dtXJRoOb/FhGuCaRB43/8y2DM3ZgpYVts1ATzsVsUFE=";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-lvqitz4H10ILg2b6Mlw1DoWoByFKJaDiCo5zTlzTBQ4=";
|
||||
};
|
||||
|
||||
vendorHash = null;
|
||||
@@ -44,9 +43,9 @@ buildGoModule rec {
|
||||
[ "-skip=^${builtins.concatStringsSep "$|^" skippedTests}$" ];
|
||||
|
||||
passthru.tests.version = testers.testVersion {
|
||||
package = podman-tui;
|
||||
package = finalAttrs.finalPackage;
|
||||
command = "HOME=$(mktemp -d) podman-tui version";
|
||||
version = "v${version}";
|
||||
version = "v${finalAttrs.version}";
|
||||
};
|
||||
|
||||
meta = {
|
||||
@@ -56,4 +55,4 @@ buildGoModule rec {
|
||||
maintainers = with lib.maintainers; [ aaronjheng ];
|
||||
mainProgram = "podman-tui";
|
||||
};
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user