unconvert: init at unstable 2018-07-03

This commit is contained in:
Wael M. Nasreddine 2018-11-02 20:43:40 -07:00
parent df46a94d8b
commit 63d9863394
No known key found for this signature in database
GPG Key ID: 82AE0A31B33CEFCF
3 changed files with 62 additions and 0 deletions

View 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;
};
}

View 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";
};
}
]

View File

@ -12535,6 +12535,8 @@ with pkgs;
vala = vala_0_40;
};
unconvert = callPackage ../development/tools/unconvert { };
unibilium = callPackage ../development/libraries/unibilium { };
unicap = callPackage ../development/libraries/unicap {};