nixpkgs/pkgs/development/tools/build-managers/bazel/buildtools/default.nix

26 lines
772 B
Nix
Raw Normal View History

2019-07-23 06:52:10 -07:00
{ stdenv, buildGoPackage, fetchgit, fetchhg, fetchbzr, fetchsvn }:
2018-05-28 21:09:24 -07:00
buildGoPackage rec {
pname = "bazel-buildtools";
2019-09-10 22:17:07 -07:00
version = "0.29.0";
rev = "5bcc31df55ec1de770cb52887f2e989e7068301f";
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";
2019-09-10 22:17:07 -07:00
sha256 = "0p2kgyawh3l46h7dzglqh9c7i16zr5mhmqlhy7qvr4skwif1l089";
2018-05-28 21:09:24 -07:00
};
goDeps = ./deps.nix;
meta = with stdenv.lib; {
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;
};
}