nixpkgs/pkgs/development/tools/go-mockery/default.nix

23 lines
563 B
Nix
Raw Normal View History

2021-03-03 16:10:13 +00:00
{ lib, buildGoModule, fetchFromGitHub }:
buildGoModule rec {
pname = "go-mockery";
2021-05-29 04:55:52 +00:00
version = "2.8.0";
2021-03-03 16:10:13 +00:00
src = fetchFromGitHub {
owner = "vektra";
repo = "mockery";
rev = "v${version}";
2021-05-29 04:55:52 +00:00
sha256 = "sha256-sOZig47KKKGJmV9QNCa+TwYCxemeVl6xssfExSaaFjY=";
2021-03-03 16:10:13 +00:00
};
2021-03-19 15:02:35 +00:00
vendorSha256 = "sha256-//V3ia3YP1hPgC1ipScURZ5uXU4A2keoG6dGuwaPBcA=";
2021-03-03 16:10:13 +00:00
meta = with lib; {
homepage = "https://github.com/vektra/mockery";
description = "A mock code autogenerator for Golang";
maintainers = with maintainers; [ fbrs ];
license = licenses.bsd3;
};
}