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