2021-01-24 15:33:57 +00:00
|
|
|
{ lib, buildGoModule, fetchFromGitHub }:
|
2021-01-24 15:32:13 +00:00
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "nomad-driver-podman";
|
2022-07-29 02:33:25 +00:00
|
|
|
version = "0.4.0";
|
2021-01-24 15:32:13 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "hashicorp";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
2022-07-29 02:33:25 +00:00
|
|
|
sha256 = "sha256-33hyMKwU04ywXKv4JEhRvEbe2DWQEAQ0moy6zypXdpU=";
|
2021-01-24 15:32:13 +00:00
|
|
|
};
|
|
|
|
|
2022-07-29 02:33:25 +00:00
|
|
|
vendorSha256 = "sha256-5PQIWSGSR5vizWEsResBLd//yWs99o/bj5DVpRMBwhA=";
|
2021-01-24 15:32:13 +00:00
|
|
|
|
|
|
|
subPackages = [ "." ];
|
|
|
|
|
|
|
|
# some tests require a running podman service
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
homepage = "https://www.github.com/hashicorp/nomad-driver-podman";
|
|
|
|
description = "Podman task driver for Nomad";
|
2021-08-06 07:39:32 +00:00
|
|
|
platforms = platforms.linux;
|
2021-01-24 15:32:13 +00:00
|
|
|
license = licenses.mpl20;
|
|
|
|
maintainers = with maintainers; [ cpcloud ];
|
|
|
|
};
|
|
|
|
}
|