2021-01-05 17:05:55 +00:00
|
|
|
{ buildGoModule, lib, fetchFromGitHub }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2021-01-05 17:05:55 +00:00
|
|
|
buildGoModule rec {
|
|
|
|
pname = "impl";
|
2024-04-21 15:54:59 +00:00
|
|
|
version = "1.3.0";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "josharian";
|
|
|
|
repo = "impl";
|
2021-01-05 17:05:55 +00:00
|
|
|
rev = "v${version}";
|
2024-04-21 15:54:59 +00:00
|
|
|
hash = "sha256-a9jAoZp/wVnTyaE4l2yWSf5aSxXEtqN6SoxU68XhRhk=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2024-04-21 15:54:59 +00:00
|
|
|
vendorHash = "sha256-vTqDoM/LK5SHkayLKYig+tCrXLelOoILmQGCxlTWHog=";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
meta = with lib; {
|
2020-11-03 02:18:15 +00:00
|
|
|
description = "Generate method stubs for implementing an interface";
|
2024-04-21 15:54:59 +00:00
|
|
|
mainProgram = "impl";
|
2020-04-24 23:36:52 +00:00
|
|
|
homepage = "https://github.com/josharian/impl";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ kalbasit ];
|
|
|
|
};
|
|
|
|
}
|