nixpkgs/pkgs/development/tools/sd-local/default.nix

25 lines
596 B
Nix
Raw Normal View History

2020-09-05 07:54:44 -07:00
{ lib, fetchFromGitHub, buildGoModule }:
buildGoModule rec {
pname = "sd-local";
2021-02-03 15:25:44 -08:00
version = "1.0.20";
2020-09-05 07:54:44 -07:00
src = fetchFromGitHub {
owner = "screwdriver-cd";
repo = pname;
rev = "v${version}";
2021-02-03 15:25:44 -08:00
sha256 = "sha256-SKBSsS8WPsr5/42IMueLkfJCrOQIO/ODlhTp+xrmQ/4=";
2020-09-05 07:54:44 -07:00
};
2021-02-03 15:25:44 -08:00
vendorSha256 = "sha256-3KNYG6RBnfFRgIoIyAe7QwAB56ZMF8bHdgt9Ghtod20=";
2020-09-05 07:54:44 -07:00
subPackages = [ "." ];
meta = with lib; {
description = "screwdriver.cd local mode";
homepage = "https://github.com/screwdriver-cd/sd-local";
license = licenses.bsd3;
maintainers = with maintainers; [ midchildan ];
};
}