Skip to content
This repository was archived by the owner on Apr 12, 2021. It is now read-only.
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: NixOS/nixpkgs-channels
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: b4956dfac72b
Choose a base ref
...
head repository: NixOS/nixpkgs-channels
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: e163a369c7af
Choose a head ref
  • 13 commits
  • 10 files changed
  • 6 contributors

Commits on Apr 2, 2020

  1. Verified

    This commit was signed with the committer’s verified signature.
    veprbl Dmitry Kalinkin
    Copy the full SHA
    b6187aa View commit details

Commits on Apr 4, 2020

  1. vault: 1.3.3 -> 1.3.4

    marsam committed Apr 4, 2020

    Verified

    This commit was signed with the committer’s verified signature. The key has expired.
    marsam Mario Rodas
    Copy the full SHA
    0e62385 View commit details
  2. zenith: 0.8.0 -> 0.8.1

    bbigras committed Apr 4, 2020
    Copy the full SHA
    26e8ab5 View commit details
  3. zenith: enable on darwin

    marsam committed Apr 4, 2020

    Verified

    This commit was signed with the committer’s verified signature. The key has expired.
    marsam Mario Rodas
    Copy the full SHA
    48ec5da View commit details
  4. Copy the full SHA
    78cd465 View commit details

Commits on Apr 5, 2020

  1. fluxctl: 1.18.0 -> 1.19.0

    r-ryantm authored and marsam committed Apr 5, 2020

    Verified

    This commit was signed with the committer’s verified signature. The key has expired.
    marsam Mario Rodas
    Copy the full SHA
    744ca03 View commit details
  2. Merge pull request #84260 from bbigras/zenith

    zenith: 0.8.0 -> 0.8.1
    marsam authored Apr 5, 2020

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    b5a382e View commit details
  3. Merge pull request #84284 from AndersonTorres/update-babashka

    babashka: 0.0.71 -> 0.0.78
    AndersonTorres authored Apr 5, 2020

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    f0959a7 View commit details
  4. kubie: 0.7.1 -> 0.7.3

    r-ryantm committed Apr 5, 2020
    Copy the full SHA
    72fc9fa View commit details
  5. Merge pull request #84304 from r-ryantm/auto-update/kubie

    kubie: 0.7.1 -> 0.7.3
    marsam authored Apr 5, 2020

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    cf096a6 View commit details
  6. Merge pull request #84297 from r-ryantm/auto-update/fluxctl

    fluxctl: 1.18.0 -> 1.19.0
    marsam authored Apr 5, 2020

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    8922c07 View commit details
  7. Merge pull request #84298 from marsam/update-vault

    vault: 1.3.3 -> 1.3.4
    offlinehacker authored Apr 5, 2020

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    bf681cf View commit details
  8. Merge pull request #83737 from veprbl/pr/libxslt_override_fix

    libxml2,libxslt: fix pythonSupport=false override
    veprbl authored Apr 5, 2020

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    e163a36 View commit details
6 changes: 6 additions & 0 deletions maintainers/maintainer-list.nix
Original file line number Diff line number Diff line change
@@ -981,6 +981,12 @@
githubId = 2071583;
name = "Benjamin Hipple";
};
bhougland = {
email = "benjamin.hougland@gmail.com";
github = "bhougland18";
githubId = 28444296;
name = "Benjamin Hougland";
};
binarin = {
email = "binarin@binarin.ru";
github = "binarin";
8 changes: 5 additions & 3 deletions pkgs/applications/networking/cluster/fluxctl/default.nix
Original file line number Diff line number Diff line change
@@ -2,19 +2,21 @@

buildGoModule rec {
pname = "fluxctl";
version = "1.18.0";
version = "1.19.0";

src = fetchFromGitHub {
owner = "weaveworks";
repo = "flux";
rev = version;
sha256 = "1sk82cnrj5ngcaml54rhh7ak8dg80r25623c4s8p7ybrj1m7krqj";
sha256 = "1w6ndp0nrpps6pkxnq38hikbnzwahi6j9gn8l0bxd0qkf7cjc5w0";
};

modSha256 = "0ij5q31a0818nmqsdql1ii6rhq6nb0liplnw509qih8py7dk5xkg";
modSha256 = "0zwq7n1lggj27j5yxgfplbaccw5fhbm7vm0sja839r1jamrn3ips";

subPackages = [ "cmd/fluxctl" ];

buildFlagsArray = [ "-ldflags=-s -w -X main.version=${version}" ];

meta = with stdenv.lib; {
description = "CLI client for Flux, the GitOps Kubernetes operator";
homepage = "https://github.com/fluxcd/flux";
82 changes: 82 additions & 0 deletions pkgs/development/interpreters/clojure/babashka.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,82 @@
{ stdenv, fetchurl, graalvm8 }:

with stdenv.lib;
stdenv.mkDerivation rec {
pname = "babashka";
version = "0.0.78";

reflectionJson = fetchurl {
name = "reflection.json";
url = "https://github.com/borkdude/${pname}/releases/download/v${version}/${pname}-${version}-reflection.json";
sha256 = "1m1nwdxjsc6bkdzkbsll316ly0c3qxaimjzyfph1220irjxnm7xf";
};

src = fetchurl {
url = "https://github.com/borkdude/${pname}/releases/download/v${version}/${pname}-${version}-standalone.jar";
sha256 = "01w990zk5qjrbnc846snh6na002kdyrlrfnqwg03ibx20g3mr7if";
};

dontUnpack = true;

buildInputs = [ graalvm8 ];

buildPhase = ''
native-image \
-jar ${src} \
-H:Name=bb \
-H:+ReportExceptionStackTraces \
-J-Dclojure.spec.skip-macros=true \
-J-Dclojure.compiler.direct-linking=true \
"-H:IncludeResources=BABASHKA_VERSION" \
"-H:IncludeResources=SCI_VERSION" \
-H:ReflectionConfigurationFiles=${reflectionJson} \
--initialize-at-run-time=java.lang.Math\$RandomNumberGeneratorHolder \
--initialize-at-build-time \
-H:Log=registerResource: \
-H:EnableURLProtocols=http,https \
--enable-all-security-services \
-H:+JNI \
--verbose \
--no-fallback \
--no-server \
--report-unsupported-elements-at-runtime \
"-J-Xmx3g"
'';

installPhase = ''
mkdir -p $out/bin
cp bb $out/bin/bb
'';

meta = with stdenv.lib; {
description = "A Clojure babushka for the grey areas of Bash";
longDescription = ''
The main idea behind babashka is to leverage Clojure in places where you
would be using bash otherwise.
As one user described it:
I’m quite at home in Bash most of the time, but there’s a substantial
grey area of things that are too complicated to be simple in bash, but
too simple to be worth writing a clj/s script for. Babashka really
seems to hit the sweet spot for those cases.
Goals:
- Low latency Clojure scripting alternative to JVM Clojure.
- Easy installation: grab the self-contained binary and run. No JVM needed.
- Familiarity and portability:
- Scripts should be compatible with JVM Clojure as much as possible
- Scripts should be platform-independent as much as possible. Babashka
offers support for linux, macOS and Windows.
- Allow interop with commonly used classes like java.io.File and System
- Multi-threading support (pmap, future, core.async)
- Batteries included (tools.cli, cheshire, ...)
- Library support via popular tools like the clojure CLI
'';
homepage = "https://github.com/borkdude/babashka";
license = licenses.epl10;
platforms = graalvm8.meta.platforms;
maintainers = with maintainers; [ bhougland DerGuteMoritz jlesquembre ];
};
}
4 changes: 1 addition & 3 deletions pkgs/development/libraries/libxslt/default.nix
Original file line number Diff line number Diff line change
@@ -3,9 +3,6 @@
, pythonSupport ? stdenv.buildPlatform == stdenv.hostPlatform
}:

assert pythonSupport -> python != null;
assert pythonSupport -> libxml2.pythonSupport;

with stdenv.lib;

stdenv.mkDerivation rec {
@@ -53,5 +50,6 @@ stdenv.mkDerivation rec {
license = licenses.mit;
platforms = platforms.all;
maintainers = [ maintainers.eelco ];
broken = !(pythonSupport -> libxml2.pythonSupport); # see #73102 for why this is not an assert
};
}
6 changes: 3 additions & 3 deletions pkgs/development/tools/kubie/default.nix
Original file line number Diff line number Diff line change
@@ -4,16 +4,16 @@ with rustPlatform;

buildRustPackage rec {
pname = "kubie";
version = "0.7.1";
version = "0.7.3";

src = fetchFromGitHub {
rev = "v${version}";
owner = "sbstp";
repo = "kubie";
sha256 = "0c94ggrkzyy8zl2z5r4pgfscyhcjp4x64k3bl2byqp3ysgjwkjqx";
sha256 = "186h5fng16gwqhsy2nxswbrrxsx0ysqrb4pqznyygbiz5cd9bgxp";
};

cargoSha256 = "1lzyda838s9fmg8hibg2w2wszwyvvqsy20w9877skfcx370rvndi";
cargoSha256 = "1yllpi8dp1fy39z4zmhyf1hdjpl62vwh8b8qlj0g778qsdrm9p98";

meta = with stdenv.lib; {
description =
55 changes: 0 additions & 55 deletions pkgs/tools/misc/babashka/default.nix

This file was deleted.

4 changes: 2 additions & 2 deletions pkgs/tools/security/vault/default.nix
Original file line number Diff line number Diff line change
@@ -2,13 +2,13 @@

buildGoPackage rec {
pname = "vault";
version = "1.3.3";
version = "1.3.4";

src = fetchFromGitHub {
owner = "hashicorp";
repo = "vault";
rev = "v${version}";
sha256 = "1scwclkpb7v5pcx1afgjqrfgcp0c1bd9gqvwdmjbpfcyxv1f032d";
sha256 = "1akcfrxnsb37apsxblyigdcgca6ma7al23h654hplfs6vmq9aypi";
};

goPackagePath = "github.com/hashicorp/vault";
13 changes: 13 additions & 0 deletions pkgs/tools/system/zenith/cargo-lock.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
diff --git a/Cargo.lock b/Cargo.lock
index 3f4eec6..2f565c6 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -1297,7 +1297,7 @@ checksum = "712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f"

[[package]]
name = "zenith"
-version = "0.8.0"
+version = "0.8.1"
dependencies = [
"battery",
"bincode",
12 changes: 8 additions & 4 deletions pkgs/tools/system/zenith/default.nix
Original file line number Diff line number Diff line change
@@ -1,23 +1,27 @@
{ stdenv, rustPlatform, fetchFromGitHub }:
{ stdenv, rustPlatform, fetchFromGitHub, IOKit }:

rustPlatform.buildRustPackage rec {
pname = "zenith";
version = "0.8.0";
version = "0.8.1";

src = fetchFromGitHub {
owner = "bvaisvil";
repo = pname;
rev = version;
sha256 = "1m709mnhhjs30s91542rhri3xbzsb3kw8zablvn11rwp2iq1lxxx";
sha256 = "12wbx4zhf1rf13g3mw8vcn8aqk9vcza61vi42y6c1pb2km73qw1h";
};

cargoSha256 = "1j6pww4mpssnr9zsbfy74llv7336kjrif1qiph998b82qj63vdlg";
cargoPatches = [ ./cargo-lock.patch ];
cargoSha256 = "1nyci2vjwsyfscsd520d1r5vyazb33hv4mrsysy6amss4jdf2dlq";

buildInputs = stdenv.lib.optionals stdenv.isDarwin [ IOKit ];

meta = with stdenv.lib; {
description = "Sort of like top or htop but with zoom-able charts, network, and disk usage";
homepage = "https://github.com/bvaisvil/zenith";
license = licenses.mit;
maintainers = with maintainers; [ bbigras ];
# doesn't build on aarch64 https://github.com/bvaisvil/zenith/issues/19
platforms = platforms.x86;
};
}
8 changes: 5 additions & 3 deletions pkgs/top-level/all-packages.nix
Original file line number Diff line number Diff line change
@@ -792,8 +792,6 @@ in

automirror = callPackage ../tools/misc/automirror { };

babashka = callPackage ../tools/misc/babashka { };

bash-my-aws = callPackage ../tools/admin/bash-my-aws { };

bcachefs-tools = callPackage ../tools/filesystems/bcachefs-tools { };
@@ -7720,7 +7718,9 @@ in

zdelta = callPackage ../tools/compression/zdelta { };

zenith = callPackage ../tools/system/zenith {};
zenith = callPackage ../tools/system/zenith {
inherit (darwin.apple_sdk.frameworks) IOKit;
};

zerotierone = callPackage ../tools/networking/zerotierone { };

@@ -9198,6 +9198,8 @@ in

angelscript_2_22 = callPackage ../development/interpreters/angelscript/2.22.nix {};

babashka = callPackage ../development/interpreters/clojure/babashka.nix { };

chibi = callPackage ../development/interpreters/chibi { };

ceptre = callPackage ../development/interpreters/ceptre { };