2019-07-23 06:52:10 -07:00
|
|
|
{ stdenv, buildGoPackage, fetchgit, fetchhg, fetchbzr, fetchsvn }:
|
2018-05-28 21:09:24 -07:00
|
|
|
|
|
|
|
buildGoPackage rec {
|
2019-03-07 20:36:11 -08:00
|
|
|
name = "bazel-buildtools-${version}";
|
2019-07-23 06:52:10 -07:00
|
|
|
version = "0.28.0";
|
|
|
|
rev = "d7ccc5507c6c16e04f5e362e558d70b8b179b052";
|
2018-05-28 21:09:24 -07:00
|
|
|
|
|
|
|
goPackagePath = "github.com/bazelbuild/buildtools";
|
|
|
|
|
2019-07-23 06:52:10 -07:00
|
|
|
src = fetchgit {
|
|
|
|
inherit rev;
|
|
|
|
url = "https://github.com/bazelbuild/buildtools";
|
|
|
|
sha256 = "1d8zjgbg77sk27cz9pjz1h6ajwxqmvdzqgwa2jbh6iykibhpadq0";
|
2018-05-28 21:09:24 -07:00
|
|
|
};
|
|
|
|
|
|
|
|
goDeps = ./deps.nix;
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
2018-10-14 08:08:33 -07:00
|
|
|
description = "Tools for working with Google's bazel buildtool. Includes buildifier, buildozer, and unused_deps.";
|
2018-05-28 21:09:24 -07:00
|
|
|
homepage = https://github.com/bazelbuild/buildtools;
|
|
|
|
license = licenses.asl20;
|
2019-03-07 20:36:11 -08:00
|
|
|
maintainers = with maintainers; [ elasticdog uri-canva ];
|
2018-05-28 21:09:24 -07:00
|
|
|
platforms = platforms.all;
|
|
|
|
};
|
|
|
|
}
|