1 { lib, stdenv, fetchFromGitHub, buildGoModule, testers, podman-tui }:
7 src = fetchFromGitHub {
11 hash = "sha256-3AgPt7dRZaHrM4/y35Z5elBFq1b2ZhvwBd4CKNBbgTk=";
18 tags = [ "containers_image_openpgp" "remote" ]
19 ++ lib.optional stdenv.hostPlatform.isDarwin "darwin";
21 ldflags = [ "-s" "-w" ];
24 export USER="$(whoami)"
25 export HOME="$(mktemp -d)"
36 [ "-skip=^${builtins.concatStringsSep "$|^" skippedTests}$" ];
38 passthru.tests.version = testers.testVersion {
40 command = "HOME=$(mktemp -d) podman-tui version";
41 version = "v${version}";
45 homepage = "https://github.com/containers/podman-tui";
46 description = "Podman Terminal UI";
47 license = lib.licenses.asl20;
48 maintainers = with lib.maintainers; [ aaronjheng ];
49 mainProgram = "podman-tui";