3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/applications/networking/cluster/nomad-driver-podman/default.nix

29 lines
713 B
Nix
Raw Normal View History

{ lib, buildGoModule, fetchFromGitHub }:
2021-01-24 15:32:13 +00:00
buildGoModule rec {
pname = "nomad-driver-podman";
2021-08-15 14:01:23 +01:00
version = "0.3.0";
2021-01-24 15:32:13 +00:00
src = fetchFromGitHub {
owner = "hashicorp";
repo = pname;
rev = "v${version}";
2021-08-15 14:01:23 +01:00
sha256 = "sha256-aVmXtYIquG0acVlbwNmgXUpuOgpsfMmfbnb5md9CN5w=";
2021-01-24 15:32:13 +00:00
};
2021-08-15 14:01:23 +01:00
vendorSha256 = "sha256-QXAXDoYN5egl5y0YV4/7yh5K0tjzjN5vRJRHyI8eU2E=";
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";
platforms = platforms.linux;
2021-01-24 15:32:13 +00:00
license = licenses.mpl20;
maintainers = with maintainers; [ cpcloud ];
};
}