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