interfacer: init at unstable 2018-08-31
This commit is contained in:
parent
1efe4d9005
commit
ed31a46727
31
pkgs/development/tools/interfacer/default.nix
Normal file
31
pkgs/development/tools/interfacer/default.nix
Normal file
@ -0,0 +1,31 @@
|
||||
{ buildGoPackage
|
||||
, lib
|
||||
, fetchFromGitHub
|
||||
}:
|
||||
|
||||
buildGoPackage rec {
|
||||
name = "interfacer-unstable-${version}";
|
||||
version = "2018-08-31";
|
||||
rev = "c20040233aedb03da82d460eca6130fcd91c629a";
|
||||
|
||||
goPackagePath = "mvdan.cc/interfacer";
|
||||
excludedPackages = ''check/testdata'';
|
||||
|
||||
src = fetchFromGitHub {
|
||||
inherit rev;
|
||||
|
||||
owner = "mvdan";
|
||||
repo = "interfacer";
|
||||
sha256 = "0cx4m74mvn200360pmsqxx4z0apk9fcknwwqh8r94zd3jfv4akq2";
|
||||
};
|
||||
|
||||
goDeps = ./deps.nix;
|
||||
|
||||
meta = with lib; {
|
||||
description = "A linter that suggests interface types.";
|
||||
homepage = https://github.com/mvdan/interfacer;
|
||||
license = licenses.bsd3;
|
||||
maintainers = with maintainers; [ kalbasit ];
|
||||
platforms = platforms.linux ++ platforms.darwin;
|
||||
};
|
||||
}
|
29
pkgs/development/tools/interfacer/deps.nix
generated
Normal file
29
pkgs/development/tools/interfacer/deps.nix
generated
Normal file
@ -0,0 +1,29 @@
|
||||
[
|
||||
{
|
||||
goPackagePath = "github.com/kisielk/gotool";
|
||||
fetch = {
|
||||
type = "git";
|
||||
url = "https://github.com/kisielk/gotool";
|
||||
rev = "80517062f582ea3340cd4baf70e86d539ae7d84d";
|
||||
sha256 = "14af2pa0ssyp8bp2mvdw184s5wcysk6akil3wzxmr05wwy951iwn";
|
||||
};
|
||||
}
|
||||
{
|
||||
goPackagePath = "golang.org/x/tools";
|
||||
fetch = {
|
||||
type = "git";
|
||||
url = "https://go.googlesource.com/tools";
|
||||
rev = "96e9e165b75e735822645eff82850b08c377be36";
|
||||
sha256 = "1zj9ck5sg9b0pphxybmvxf64hhcap7v7j37fx3v5aknf18crjjdg";
|
||||
};
|
||||
}
|
||||
{
|
||||
goPackagePath = "mvdan.cc/lint";
|
||||
fetch = {
|
||||
type = "git";
|
||||
url = "https://github.com/mvdan/lint";
|
||||
rev = "adc824a0674b99099789b6188a058d485eaf61c0";
|
||||
sha256 = "17mi2rvkg9kzv1shxcyawzcj4jj3v738d1j82fp4yygx859yvr8r";
|
||||
};
|
||||
}
|
||||
]
|
@ -15526,6 +15526,8 @@ with pkgs;
|
||||
|
||||
hasklig = callPackage ../data/fonts/hasklig {};
|
||||
|
||||
interfacer = callPackage ../development/tools/interfacer { };
|
||||
|
||||
inter-ui = callPackage ../data/fonts/inter-ui { };
|
||||
|
||||
siji = callPackage ../data/fonts/siji { };
|
||||
|
Loading…
Reference in New Issue
Block a user