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