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

25 lines
596 B
Nix
Raw Normal View History

{ lib, fetchFromGitHub, buildGoModule }:
buildGoModule rec {
pname = "sd-local";
version = "1.0.32";
src = fetchFromGitHub {
owner = "screwdriver-cd";
repo = pname;
rev = "v${version}";
sha256 = "sha256-4VKTp4q2CoIWQTiSgs254deafuowiTpuLVJ79nmqAaA=";
};
vendorSha256 = "sha256-4xuWehRrmVdS2F6r00LZLKq/oHlWqCTQ/jYUKeIJ6DI=";
subPackages = [ "." ];
meta = with lib; {
description = "screwdriver.cd local mode";
homepage = "https://github.com/screwdriver-cd/sd-local";
license = licenses.bsd3;
maintainers = with maintainers; [ midchildan ];
};
}