Merge pull request #175893 from aaronjheng/podman-tui

podman-tui: 0.3.1 -> 0.4.0
This commit is contained in:
Sandro 2022-06-02 11:58:10 +02:00 committed by GitHub
commit 0ac4dd5405
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,4 +1,5 @@
{ lib { lib
, stdenv
, pkg-config , pkg-config
, fetchFromGitHub , fetchFromGitHub
, buildGoModule , buildGoModule
@ -11,25 +12,21 @@
}: }:
buildGoModule rec { buildGoModule rec {
pname = "podman-tui"; pname = "podman-tui";
version = "0.3.1"; version = "0.4.0";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "containers"; owner = "containers";
repo = "podman-tui"; repo = "podman-tui";
rev = "v${version}"; rev = "v${version}";
sha256 = "sha256-Xc6F87evQiv4jRbxxRBzJBeI8653HvlQL+UwcVWY0wk="; sha256 = "sha256-2WugN5JdTkz3OOt3ggzT7HwMXy1jxn85RwF7409D8m8=";
}; };
vendorSha256 = null; vendorSha256 = null;
nativeBuildInputs = [ pkg-config ]; nativeBuildInputs = [ pkg-config ];
buildInputs = [ buildInputs = [ gpgme libassuan ]
btrfs-progs ++ lib.optionals stdenv.isLinux [ btrfs-progs lvm2 ];
gpgme
libassuan
lvm2
];
ldflags = [ "-s" "-w" ]; ldflags = [ "-s" "-w" ];
@ -44,6 +41,5 @@ buildGoModule rec {
description = "Podman Terminal UI"; description = "Podman Terminal UI";
license = licenses.asl20; license = licenses.asl20;
maintainers = with maintainers; [ aaronjheng ]; maintainers = with maintainers; [ aaronjheng ];
platforms = platforms.linux;
}; };
} }