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-11-16 15:25:16 +00:00
|
|
|
version = "0.4.1";
|
2021-01-24 15:32:13 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "hashicorp";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
2022-11-16 15:25:16 +00:00
|
|
|
sha256 = "sha256-miarvcV+b/6kbjHru7MpBIBU/v9ldHJGeXh2ATQ3BQ0=";
|
2021-01-24 15:32:13 +00:00
|
|
|
};
|
|
|
|
|
2022-11-16 15:25:16 +00:00
|
|
|
vendorSha256 = "sha256-AtgxHAkNzzjMQoSqROpuNoSDum/6JR+mLpcHLFL9EIY=";
|
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 ];
|
|
|
|
};
|
|
|
|
}
|