Merge master into staging

This commit is contained in:
Frederik Rietdijk
2018-04-04 19:36:39 +02:00
121 changed files with 2824 additions and 3507 deletions

View File

@@ -4,14 +4,14 @@
with lib;
stdenv.mkDerivation rec {
version = "0.68.0";
version = "0.69.0";
name = "flow-${version}";
src = fetchFromGitHub {
owner = "facebook";
repo = "flow";
rev = "v${version}";
sha256 = "0wags0msk7s1z3gi6ns6d7zdpqk8wh5ryafvdyk6zwqwhaqgr5jw";
sha256 = "11n8g471zgazcnzsxcw45gzzn63xanw91wj5xwsx8i2cp7wg9g7g";
};
installPhase = ''

View File

@@ -2,13 +2,13 @@
stdenv.mkDerivation rec {
name = "pmd-${version}";
version = "6.1.0";
version = "6.2.0";
buildInputs = [ unzip ];
src = fetchurl {
url = "mirror://sourceforge/pmd/pmd-bin-${version}.zip";
sha256 = "1d2hbsnyvwvawhfh832yy3w93kr4whrk99zpg4q5ws2b2hhdvzv8";
sha256 = "12j6m6lhp4xw27x0x8jcy0vlwbanjwks7w6zl56xihv6r8cm40fz";
};
installPhase = ''

View File

@@ -6,7 +6,7 @@
stdenv.mkDerivation rec {
version = "0.10.1";
version = "0.11.1";
meta = with stdenv.lib; {
homepage = "https://github.com/bazelbuild/bazel/";
@@ -20,7 +20,7 @@ stdenv.mkDerivation rec {
src = fetchurl {
url = "https://github.com/bazelbuild/bazel/releases/download/${version}/bazel-${version}-dist.zip";
sha256 = "0rz6zvkzyglf0mmc178avf52zynz487m4v0089ilsbrgv7v4i0kh";
sha256 = "e8d762bcc01566fa50952c8028e95cfbe7545a39b8ceb3a0d0d6df33b25b333f";
};
sourceRoot = ".";

View File

@@ -3,14 +3,14 @@
let
name = "doit";
version = "0.31.0";
version = "0.31.1";
in python3Packages.buildPythonApplication {
name = "${name}-${version}";
src = fetchurl {
url = "mirror://pypi/d/${name}/${name}-${version}.tar.gz";
sha256 = "0v1yr04bfqnz3sp261np3zhf0y1b3a1daxc83iq308lscf39fdgx";
sha256 = "1spm8vfjh4kvalaj0i2ggbdln1yy5k68d8mfwfnpqlzxxx4ikl5s";
};
buildInputs = with python3Packages; [ mock pytest ];

View File

@@ -1,6 +1,6 @@
{ stdenv, buildGoPackage, fetchFromGitHub, makeWrapper, coreutils, git, openssh, bash, gnused, gnugrep }:
let
version = "2.6.9";
version = "2.6.10";
goPackagePath = "github.com/buildkite/agent";
in
buildGoPackage {
@@ -12,7 +12,7 @@ buildGoPackage {
owner = "buildkite";
repo = "agent";
rev = "v${version}";
sha256 = "0rlinj7dcr8vzl1pb15nfny8jkvvj50i8czf4ahv26avnfycm4pz";
sha256 = "07065hhhb418w5qlqnyiap45r59paysysbwz1l7dmaw3j4q8m8rg";
};
nativeBuildInputs = [ makeWrapper ];

View File

@@ -0,0 +1,32 @@
{ stdenv, buildGoPackage, fetchFromGitHub }:
buildGoPackage rec {
name = "gron-${version}";
version = "0.5.1";
owner = "tomnomnom";
repo = "gron";
goPackagePath = "github.com/${owner}/${repo}";
src = fetchFromGitHub {
inherit owner repo;
rev = "v${version}";
sha256 = "1s688ynjddchviwbiggnfbw28s4wsff2941f4b1q1j7mfak7iym2";
};
goDeps = ./deps.nix;
meta = with stdenv.lib; {
description = "Make JSON greppable!";
longDescription = ''
gron transforms JSON into discrete assignments to make it easier to grep
for what you want and see the absolute 'path' to it. It eases the
exploration of APIs that return large blobs of JSON but have terrible
documentation.
'';
homepage = "https://github.com/tomnomnom/gron";
license = licenses.mit;
maintainers = [ maintainers.fgaz ];
platforms = with platforms; linux ++ darwin;
};
}

35
pkgs/development/tools/gron/deps.nix generated Normal file
View File

@@ -0,0 +1,35 @@
[
rec {
owner = "fatih";
repo = "color";
goPackagePath = "github.com/${owner}/${repo}";
fetch = {
type = "git";
url = "https://github.com/${owner}/${repo}";
rev = "v1.6.0";
sha256 = "0k1v9dkhrxiqhg48yqkwzpd7x40xx38gv2pgknswbsy4r8w644i7";
};
}
rec {
owner = "nwidger";
repo = "jsoncolor";
goPackagePath = "github.com/${owner}/${repo}";
fetch = {
type = "git";
url = "https://github.com/${owner}/${repo}";
rev = "75a6de4340e59be95f0884b9cebdda246e0fdf40";
sha256 = "0aiv42xijrqgrxfx6pfyrndpwqv8i1qwsk190jdczyjxlnki2nki";
};
}
rec {
owner = "pkg";
repo = "errors";
goPackagePath = "github.com/${owner}/${repo}";
fetch = {
type = "git";
url = "https://github.com/${owner}/${repo}";
rev = "v0.8.0";
sha256 = "001i6n71ghp2l6kdl3qq1v2vmghcz3kicv9a5wgcihrzigm75pp5";
};
}
]

View File

@@ -0,0 +1,28 @@
{ mkDerivation, fetchFromGitHub
, aeson, aeson-pretty, attoparsec, base, bytestring, conduit, conduit-extra
, containers, exceptions, mtl, optparse-simple, parsec, scientific, stdenv
, text, unordered-containers, vector
}:
mkDerivation rec {
pname = "jl";
version = "0.0.4";
src = fetchFromGitHub {
owner = "chrisdone";
repo = "jl";
rev = "v${version}";
sha256 = "0wsdfj4m729q0kjpkn0ywpncdhvpvvprd4rh45vcg6kjw20krm3r";
};
isLibrary = true;
isExecutable = true;
libraryHaskellDepends = [
aeson attoparsec base bytestring containers exceptions mtl parsec
scientific text unordered-containers vector
];
executableHaskellDepends = [
aeson aeson-pretty base bytestring conduit conduit-extra containers
mtl optparse-simple text vector
];
license = stdenv.lib.licenses.bsd3;
description = "Functional sed for JSON";
maintainers = with stdenv.lib.maintainers; [ fgaz ];
}

View File

@@ -3,19 +3,18 @@
let
spirv_sources = {
# `vulkan-loader` requires a specific version of `spirv-tools` and `spirv-headers` as specified in
# `<vulkan-loader-repo>/external_revisions/spirv-tools_revision`.
# `glslang` requires a specific version of `spirv-tools` and `spirv-headers` as specified in `known-good.json`.
tools = fetchFromGitHub {
owner = "KhronosGroup";
repo = "SPIRV-Tools";
rev = "7e2d26c77b606b21af839b37fd21381c4a669f23";
sha256 = "1nlzj081v1xdyfz30nfs8hfcnqd072fra127h46gav179f04kss2";
rev = "9e19fc0f31ceaf1f6bc907dbf17dcfded85f2ce8";
sha256 = "1zpwznq0fyvkzs5h9nnkr7g6svr0w8z6zx62xgnss17c2a5cz0lk";
};
headers = fetchFromGitHub {
owner = "KhronosGroup";
repo = "SPIRV-Headers";
rev = "2bb92e6fe2c6aa410152fc6c63443f452acb1a65";
sha256 = "1rgjd7kpa7xpbwpzd6m3f6yq44s9xn5ddhz135213pxwbi5c0c26";
rev = "ce309203d7eceaf908bea8862c27f3e0749f7d00";
sha256 = "1sv1iy2d46sg7r3xy591db6fn9h78wd079yvfa87vwmwsdkhiqhm";
};
};
@@ -23,7 +22,7 @@ in
stdenv.mkDerivation rec {
name = "spirv-tools-${version}";
version = "2017-09-01";
version = "2018-02-05";
src = spirv_sources.tools;
patchPhase = ''ln -sv ${spirv_sources.headers} external/spirv-headers'';