podman-tui: 0.18.0 -> 1.0.0

This commit is contained in:
Aaron Jheng 2024-03-25 12:43:07 +08:00
parent 57e6b3a9e4
commit a01dd74ebe
No known key found for this signature in database
GPG Key ID: F6A547A869D050A3

View File

@ -2,13 +2,13 @@
buildGoModule rec {
pname = "podman-tui";
version = "0.18.0";
version = "1.0.0";
src = fetchFromGitHub {
owner = "containers";
repo = "podman-tui";
rev = "v${version}";
hash = "sha256-T2hiCRoZqdbcB36Tpy597j7Hc1yeR2MijQbuheENfuA=";
hash = "sha256-sJaiZJeT0oUAnSg9Kv8uMp1XoumumC3LB77lelmwSgw=";
};
vendorHash = null;
@ -24,11 +24,11 @@ buildGoModule rec {
let
skippedTests = [
"TestDialogs"
"TestVoldialogs"
];
in
''
export USER=$(whoami)
export HOME=/home/$USER
export HOME="$(mktemp -d)"
# Disable flaky tests
buildFlagsArray+=("-run" "[^(${builtins.concatStringsSep "|" skippedTests})]")
@ -36,7 +36,7 @@ buildGoModule rec {
passthru.tests.version = testers.testVersion {
package = podman-tui;
command = "podman-tui version";
command = "HOME=$(mktemp -d) podman-tui version";
version = "v${version}";
};