unconvert: init at unstable 2018-07-03
This commit is contained in:
parent
df46a94d8b
commit
63d9863394
31
pkgs/development/tools/unconvert/default.nix
Normal file
31
pkgs/development/tools/unconvert/default.nix
Normal file
@ -0,0 +1,31 @@
|
|||||||
|
|
||||||
|
{ buildGoPackage
|
||||||
|
, lib
|
||||||
|
, fetchFromGitHub
|
||||||
|
}:
|
||||||
|
|
||||||
|
buildGoPackage rec {
|
||||||
|
name = "unconvert-unstable-${version}";
|
||||||
|
version = "2018-07-03";
|
||||||
|
rev = "1a9a0a0a3594e9363e49545fb6a4e24ac4c68b7b";
|
||||||
|
|
||||||
|
goPackagePath = "github.com/mdempsky/unconvert";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
inherit rev;
|
||||||
|
|
||||||
|
owner = "mdempsky";
|
||||||
|
repo = "unconvert";
|
||||||
|
sha256 = "1ww5qk1cmdis4ig5mb0b0w7nzrf3734s51plmgdxqsr35y88q4p9";
|
||||||
|
};
|
||||||
|
|
||||||
|
goDeps = ./deps.nix;
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
description = "Remove unnecessary type conversions from Go source";
|
||||||
|
homepage = https://github.com/mdempsky/unconvert;
|
||||||
|
license = licenses.bsd3;
|
||||||
|
maintainers = with maintainers; [ kalbasit ];
|
||||||
|
platforms = platforms.linux ++ platforms.darwin;
|
||||||
|
};
|
||||||
|
}
|
29
pkgs/development/tools/unconvert/deps.nix
generated
Normal file
29
pkgs/development/tools/unconvert/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/text";
|
||||||
|
fetch = {
|
||||||
|
type = "git";
|
||||||
|
url = "https://go.googlesource.com/text";
|
||||||
|
rev = "6f44c5a2ea40ee3593d98cdcc905cc1fdaa660e2";
|
||||||
|
sha256 = "00mwzxly5isgf0glz7k3k2dkyqkjfc4z55qxajx4lgcp3h8xn9xj";
|
||||||
|
};
|
||||||
|
}
|
||||||
|
{
|
||||||
|
goPackagePath = "golang.org/x/tools";
|
||||||
|
fetch = {
|
||||||
|
type = "git";
|
||||||
|
url = "https://go.googlesource.com/tools";
|
||||||
|
rev = "96e9e165b75e735822645eff82850b08c377be36";
|
||||||
|
sha256 = "1zj9ck5sg9b0pphxybmvxf64hhcap7v7j37fx3v5aknf18crjjdg";
|
||||||
|
};
|
||||||
|
}
|
||||||
|
]
|
@ -12535,6 +12535,8 @@ with pkgs;
|
|||||||
vala = vala_0_40;
|
vala = vala_0_40;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
unconvert = callPackage ../development/tools/unconvert { };
|
||||||
|
|
||||||
unibilium = callPackage ../development/libraries/unibilium { };
|
unibilium = callPackage ../development/libraries/unibilium { };
|
||||||
|
|
||||||
unicap = callPackage ../development/libraries/unicap {};
|
unicap = callPackage ../development/libraries/unicap {};
|
||||||
|
Loading…
Reference in New Issue
Block a user