2018-05-29 05:09:24 +01:00
|
|
|
{ stdenv, buildGoPackage, fetchFromGitHub }:
|
|
|
|
|
|
|
|
buildGoPackage rec {
|
2018-07-20 21:50:48 +01:00
|
|
|
name = "bazel-buildtools-unstable-${version}";
|
2018-10-14 16:08:33 +01:00
|
|
|
version = "2018-10-11";
|
2018-05-29 05:09:24 +01:00
|
|
|
|
|
|
|
goPackagePath = "github.com/bazelbuild/buildtools";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "bazelbuild";
|
|
|
|
repo = "buildtools";
|
2018-10-14 16:08:33 +01:00
|
|
|
rev = "86b40b7fee59cc67d3371d20f10702fe8c6dd808";
|
|
|
|
sha256 = "10fzqbafwzv0bvx8aag78gh731k5j9nwlbcflhc5xm5zwhla9cyf";
|
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;
|
|
|
|
maintainers = with maintainers; [ uri-canva ];
|
|
|
|
platforms = platforms.all;
|
|
|
|
};
|
|
|
|
}
|