Merge pull request #110701 from cpcloud/nomad-driver-podman

nomad-driver-podman: init at 0.2.0
This commit is contained in:
Bernardo Meurer 2021-01-24 18:22:38 +00:00 committed by GitHub
commit 5bc0a68375
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 30 additions and 0 deletions

View File

@ -0,0 +1,28 @@
{ lib, buildGoModule, fetchFromGitHub }:
buildGoModule rec {
pname = "nomad-driver-podman";
version = "0.2.0";
src = fetchFromGitHub {
owner = "hashicorp";
repo = pname;
rev = "v${version}";
sha256 = "1a2alapqm7wnkjm9cg0gvi63pkaila9lhsa5razv0vprhg1k84gy";
};
vendorSha256 = "1zs5y0zfi8dd9w371hpmah4iwxahgvaf70biqqdw3c9yp6yw2rwq";
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.unix;
license = licenses.mpl20;
maintainers = with maintainers; [ cpcloud ];
};
}

View File

@ -6450,6 +6450,8 @@ in
nvidiaGpuSupport = config.cudaSupport or false;
};
nomad-driver-podman = callPackage ../applications/networking/cluster/nomad-driver-podman { };
notable = callPackage ../applications/misc/notable { };
nvchecker = with python3Packages; toPythonApplication nvchecker;