python3Packages.orjson: Disable failing tests on 32 bit
[NixPkgs.git] / pkgs / development / tools / deadcode / default.nix
blobc5074cd037768e84adc52d61e8c61d005a5158fe
1 { buildGoPackage
2 , lib
3 , fetchFromGitHub
4 }:
6 # TODO(yl): should we package https://github.com/remyoudompheng/go-misc instead of
7 # the standalone extract of deadcode from it?
8 buildGoPackage rec {
9   pname = "deadcode-unstable";
10   version = "2016-07-24";
11   rev = "210d2dc333e90c7e3eedf4f2242507a8e83ed4ab";
13   goPackagePath = "github.com/tsenart/deadcode";
14   excludedPackages = "cmd/fillswitch/test-fixtures";
16   src = fetchFromGitHub {
17     inherit rev;
19     owner = "tsenart";
20     repo = "deadcode";
21     sha256 = "05kif593f4wygnrq2fdjhn7kkcpdmgjnykcila85d0gqlb1f36g0";
22   };
24   meta = with lib; {
25     description = "Very simple utility which detects unused declarations in a Go package";
26     homepage = "https://github.com/remyoudompheng/go-misc/tree/master/deadcode";
27     license = licenses.bsd3;
28     maintainers = with maintainers; [ kalbasit ];
29     platforms = platforms.linux ++ platforms.darwin;
30   };