1
2{ buildGoPackage
3, lib
4, fetchFromGitHub
5}:
6
7buildGoPackage rec {
8 pname = "unconvert-unstable";
9 version = "2018-07-03";
10 rev = "1a9a0a0a3594e9363e49545fb6a4e24ac4c68b7b";
11
12 goPackagePath = "github.com/mdempsky/unconvert";
13
14 src = fetchFromGitHub {
15 inherit rev;
16
17 owner = "mdempsky";
18 repo = "unconvert";
19 sha256 = "1ww5qk1cmdis4ig5mb0b0w7nzrf3734s51plmgdxqsr35y88q4p9";
20 };
21
22 goDeps = ./deps.nix;
23
24 meta = with lib; {
25 description = "Remove unnecessary type conversions from Go source";
26 homepage = "https://github.com/mdempsky/unconvert";
27 license = licenses.bsd3;
28 maintainers = with maintainers; [ kalbasit ];
29 platforms = platforms.linux ++ platforms.darwin;
30 };
31}