forked from mirrors/nixpkgs
29 lines
713 B
Nix
29 lines
713 B
Nix
{ lib, buildGoModule, fetchFromGitHub }:
|
|
|
|
buildGoModule rec {
|
|
pname = "nomad-driver-podman";
|
|
version = "0.3.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "hashicorp";
|
|
repo = pname;
|
|
rev = "v${version}";
|
|
sha256 = "sha256-aVmXtYIquG0acVlbwNmgXUpuOgpsfMmfbnb5md9CN5w=";
|
|
};
|
|
|
|
vendorSha256 = "sha256-QXAXDoYN5egl5y0YV4/7yh5K0tjzjN5vRJRHyI8eU2E=";
|
|
|
|
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";
|
|
platforms = platforms.linux;
|
|
license = licenses.mpl20;
|
|
maintainers = with maintainers; [ cpcloud ];
|
|
};
|
|
}
|