diff --git a/pkgs/applications/virtualization/podman-tui/default.nix b/pkgs/applications/virtualization/podman-tui/default.nix new file mode 100644 index 000000000000..cfeee8a8718d --- /dev/null +++ b/pkgs/applications/virtualization/podman-tui/default.nix @@ -0,0 +1,41 @@ +{ lib +, pkg-config +, fetchFromGitHub +, buildGoModule +, btrfs-progs +, gpgme +, lvm2 +}: +buildGoModule rec { + pname = "podman-tui"; + version = "0.1.0"; + + src = fetchFromGitHub { + owner = "containers"; + repo = "podman-tui"; + rev = "v${version}"; + sha256 = "sha256-qPQSu6l1WkX6sddVr5h1DqKQCyw6vy8S6lXC/ZO4DL8="; + }; + + vendorSha256 = null; + + nativeBuildInputs = [ pkg-config ]; + + buildInputs = [ + btrfs-progs + gpgme + lvm2 + ]; + + ldflags = [ "-s" "-w" ]; + + subPackages = [ "." ]; + + meta = with lib; { + homepage = "https://github.com/containers/podman-tui"; + description = "Podman Terminal UI"; + license = licenses.asl20; + maintainers = with maintainers; [ aaronjheng ]; + platforms = platforms.linux; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index e90eaff21b6b..ec7e824170e7 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -8925,6 +8925,8 @@ with pkgs; podman-compose = python3Packages.callPackage ../applications/virtualization/podman-compose {}; + podman-tui = callPackage ../applications/virtualization/podman-tui { }; + pod2mdoc = callPackage ../tools/misc/pod2mdoc { }; poedit = callPackage ../tools/text/poedit {