6 # TODO(yl): should we package https://github.com/remyoudompheng/go-misc instead of
7 # the standalone extract of deadcode from it?
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 {
21 sha256 = "05kif593f4wygnrq2fdjhn7kkcpdmgjnykcila85d0gqlb1f36g0";
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;