From 592c073afd3026b772cf28f83b47e98fe5d530c5 Mon Sep 17 00:00:00 2001 From: Aaron Jheng Date: Sun, 30 Jan 2022 13:30:53 +0000 Subject: [PATCH 1/2] maintainers: add aaronjheng --- maintainers/maintainer-list.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/maintainers/maintainer-list.nix b/maintainers/maintainer-list.nix index 61d1275442ff..364b5ee2fa06 100644 --- a/maintainers/maintainer-list.nix +++ b/maintainers/maintainer-list.nix @@ -145,6 +145,12 @@ githubId = 16829510; name = "Aaron Janse"; }; + aaronjheng = { + email = "wentworth@outlook.com"; + github = "aaronjheng"; + githubId = 806876; + name = "Aaron Jheng"; + }; aaronschif = { email = "aaronschif@gmail.com"; github = "aaronschif"; From 7c08af790f6b058f90e40928d2809f532bfd5f54 Mon Sep 17 00:00:00 2001 From: Aaron Jheng Date: Mon, 14 Feb 2022 14:55:36 +0000 Subject: [PATCH 2/2] podman-tui: init at 0.1.0 --- .../virtualization/podman-tui/default.nix | 41 +++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 + 2 files changed, 43 insertions(+) create mode 100644 pkgs/applications/virtualization/podman-tui/default.nix 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 {