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

26 lines
749 B
Nix
Raw Normal View History

2018-05-29 05:09:24 +01:00
{ stdenv, buildGoPackage, fetchFromGitHub }:
buildGoPackage rec {
2019-03-08 04:36:11 +00:00
name = "bazel-buildtools-${version}";
version = "0.22.0";
2018-05-29 05:09:24 +01:00
goPackagePath = "github.com/bazelbuild/buildtools";
src = fetchFromGitHub {
owner = "bazelbuild";
repo = "buildtools";
2019-03-08 04:36:11 +00:00
rev = "55b64c3d2ddfb57f06477c1d94ef477419c96bd6";
sha256 = "0n6q8pkgy3vvmwyrxvkmjfbcxc31i31czg2bjdzq7awwrr4fdbwy";
2018-05-29 05:09:24 +01: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-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;
};
}