summary refs log tree commit diff
path: root/pkgs/development/tools/unconvert/default.nix
blob: 1e81c5b9f86e75948e18d6aed7976ae272a6f974 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
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;
  };
}