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

25 lines
596 B
Nix
Raw Normal View History

2020-09-05 15:54:44 +01:00
{ lib, fetchFromGitHub, buildGoModule }:
buildGoModule rec {
pname = "sd-local";
2021-04-12 20:37:19 +01:00
version = "1.0.31";
2020-09-05 15:54:44 +01:00
src = fetchFromGitHub {
owner = "screwdriver-cd";
repo = pname;
rev = "v${version}";
2021-04-12 20:37:19 +01:00
sha256 = "sha256-2EhXhgSm6rCCXNBCf0BH+MzHeU7n/XAXYXosCjRGEbo=";
2020-09-05 15:54:44 +01:00
};
2021-03-30 19:06:05 +01:00
vendorSha256 = "sha256-4xuWehRrmVdS2F6r00LZLKq/oHlWqCTQ/jYUKeIJ6DI=";
2020-09-05 15:54:44 +01: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 ];
};
}