3
0
Fork 0
forked from mirrors/nixpkgs

Merge pull request #80627 from marsam/update-bazel-buildtools

bazel-buildtools: 0.29.0 -> 1.0.0
This commit is contained in:
Mario Rodas 2020-02-21 23:44:41 -05:00 committed by GitHub
commit 1fe82110fe
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 16 additions and 13 deletions

View file

@ -1,25 +1,29 @@
{ stdenv, buildGoPackage, fetchgit, fetchhg, fetchbzr, fetchsvn }:
{ stdenv, buildGoPackage, fetchFromGitHub }:
buildGoPackage rec {
pname = "bazel-buildtools";
version = "0.29.0";
rev = "5bcc31df55ec1de770cb52887f2e989e7068301f";
version = "1.0.0";
goPackagePath = "github.com/bazelbuild/buildtools";
src = fetchgit {
inherit rev;
url = "https://github.com/bazelbuild/buildtools";
sha256 = "0p2kgyawh3l46h7dzglqh9c7i16zr5mhmqlhy7qvr4skwif1l089";
src = fetchFromGitHub {
owner = "bazelbuild";
repo = "buildtools";
rev = version;
sha256 = "1rgz1bpg2db6z4q04z061h5b9qjk8padi71xyjcwqfchwqpl7hiv";
};
goDeps = ./deps.nix;
excludedPackages = [ "generatetables" ];
buildFlagsArray = [ "-ldflags=-s -w -X main.buildVersion=${version} -X main.buildScmRevision=${src.rev}" ];
meta = with stdenv.lib; {
description = "Tools for working with Google's bazel buildtool. Includes buildifier, buildozer, and unused_deps.";
homepage = https://github.com/bazelbuild/buildtools;
license = licenses.asl20;
maintainers = with maintainers; [ elasticdog uri-canva ];
maintainers = with maintainers; [ elasticdog uri-canva marsam ];
platforms = platforms.all;
};
}

View file

@ -1,12 +1,11 @@
# This file was generated by https://github.com/kamilchm/go2nix v1.3.0
[
{
goPackagePath = "github.com/golang/protobuf";
fetch = {
type = "git";
url = "https://github.com/golang/protobuf";
rev = "4c88cc3f1a34ffade77b79abc53335d1e511f25b";
sha256 = "0chbdc4q55z7myiwnbvhryc5ihf6cxh8p4w3c1imy2gyzjn9sf4r";
rev = "d23c5127dc24889085f8ccea5c9d560a57a879d8";
sha256 = "1cyyr52yhj3fzrily3rmsbqyj8va4ld75lmry0857m39rgpv8sy1";
};
}
{
@ -14,8 +13,8 @@
fetch = {
type = "git";
url = "https://github.com/google/starlark-go";
rev = "988906f77f657477aa7ebf4d8fb5f12d6c50b767";
sha256 = "0ivmbcq3avaxj8ixbc60h706d6wk9wi2mnsid6a483ia4yn7w9k8";
rev = "6677ee5c7211380ec7e6a1b50dc45287e40ca9e1";
sha256 = "1dl8q1lwvmm38w2lzfwray2djdcq40z89yy6vzy387w0xrax0jj0";
};
}
]