mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-09 22:45:08 +00:00
ff1a94e523
The nixpkgs-unstable channel's programs.sqlite was used to identify packages producing exactly one binary, and these automatically added to their package definitions wherever possible.
30 lines
752 B
Nix
30 lines
752 B
Nix
{ lib, buildGoModule, fetchFromGitHub }:
|
|
|
|
buildGoModule rec {
|
|
pname = "nomad-driver-podman";
|
|
version = "0.5.2";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "hashicorp";
|
|
repo = pname;
|
|
rev = "v${version}";
|
|
sha256 = "sha256-L2OnnSTrr49THE2ZQpuHagTjcg3/pt/ydivGmWZSvas=";
|
|
};
|
|
|
|
vendorHash = "sha256-0a8wnwyquDrEnPlR337uCxMzuc/9MjgGUsDd+xIfPhw=";
|
|
|
|
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";
|
|
mainProgram = "nomad-driver-podman";
|
|
platforms = platforms.linux;
|
|
license = licenses.mpl20;
|
|
maintainers = with maintainers; [ cpcloud ];
|
|
};
|
|
}
|