2018-11-03 04:22:07 +00:00
|
|
|
{ buildGoPackage
|
|
|
|
, lib
|
|
|
|
, fetchFromGitHub
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildGoPackage rec {
|
2019-08-15 13:41:18 +01:00
|
|
|
pname = "interfacer-unstable";
|
2018-11-03 04:22:07 +00:00
|
|
|
version = "2018-08-31";
|
|
|
|
rev = "c20040233aedb03da82d460eca6130fcd91c629a";
|
|
|
|
|
|
|
|
goPackagePath = "mvdan.cc/interfacer";
|
2021-01-24 09:19:10 +00:00
|
|
|
excludedPackages = "check/testdata";
|
2018-11-03 04:22:07 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
inherit rev;
|
|
|
|
|
|
|
|
owner = "mvdan";
|
|
|
|
repo = "interfacer";
|
|
|
|
sha256 = "0cx4m74mvn200360pmsqxx4z0apk9fcknwwqh8r94zd3jfv4akq2";
|
|
|
|
};
|
|
|
|
|
|
|
|
goDeps = ./deps.nix;
|
|
|
|
|
|
|
|
meta = with lib; {
|
2020-10-11 06:55:05 +01:00
|
|
|
description = "A linter that suggests interface types";
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://github.com/mvdan/interfacer";
|
2018-11-03 04:22:07 +00:00
|
|
|
license = licenses.bsd3;
|
|
|
|
maintainers = with maintainers; [ kalbasit ];
|
|
|
|
platforms = platforms.linux ++ platforms.darwin;
|
|
|
|
};
|
|
|
|
}
|