diff options
author | Bernardo Meurer <bernardo@meurer.org> | 2021-01-24 18:22:38 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-01-24 18:22:38 +0000 |
commit | 5bc0a68375f8cc7e402eb2ae8b2ac30cd9ff4d0f (patch) | |
tree | 029900e42a69cb5cd208cc5e2fb8997b3fcb1d56 /pkgs | |
parent | 105b9eb1b80273060627267f91e448fe00277d75 (diff) | |
parent | 79a6a2cbc0b20973391dc2c86e646e7328f25bd2 (diff) |
Merge pull request #110701 from cpcloud/nomad-driver-podman
nomad-driver-podman: init at 0.2.0
Diffstat (limited to 'pkgs')
-rw-r--r-- | pkgs/applications/networking/cluster/nomad-driver-podman/default.nix | 28 | ||||
-rw-r--r-- | pkgs/top-level/all-packages.nix | 2 |
2 files changed, 30 insertions, 0 deletions
diff --git a/pkgs/applications/networking/cluster/nomad-driver-podman/default.nix b/pkgs/applications/networking/cluster/nomad-driver-podman/default.nix new file mode 100644 index 000000000000..cfa8d6fc674b --- /dev/null +++ b/pkgs/applications/networking/cluster/nomad-driver-podman/default.nix @@ -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 ]; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 165192fe0ac8..343531f71f22 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -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; |