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: e8669f7cfa8d
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: 9eb814f798fd
Choose a head ref
  • 11 commits
  • 12 files changed
  • 7 contributors

Commits on Sep 23, 2020

  1. curlie: 1.3.1 -> 1.5.4

    (cherry picked from commit 23370af)
    Ma27 committed Sep 23, 2020
    Copy the full SHA
    fc6ba46 View commit details
  2. grafana: 7.1.5 -> 7.2.0

    (cherry picked from commit 1a0a53f)
    WilliButz authored and Ma27 committed Sep 23, 2020
    Copy the full SHA
    780b4e0 View commit details
  3. pythonPackages.bcrypt: use 3.1.x for python older than 3.6

    (cherry picked from commit 0051c0a)
    mvnetbiz authored and Jon committed Sep 23, 2020

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    3e7e3d2 View commit details
  4. python2Packages.trytond: disable for python2

    (cherry picked from commit 5f4b880)
    mvnetbiz authored and Jon committed Sep 23, 2020
    Copy the full SHA
    5b94572 View commit details
  5. crc32c: enable static

    (cherry picked from commit 160f169)
    freezeboy authored and Jon committed Sep 23, 2020

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    c298a03 View commit details
  6. python3Packages.crc32c: init at 1.0.0

    (cherry picked from commit 2468315)
    freezeboy authored and Jon committed Sep 23, 2020
    Copy the full SHA
    fb33dae View commit details
  7. python3Packages.google_resumable_media,python2Packages.google_resumab…

    …le_media: fix tests
    
    (cherry picked from commit 908d8c3)
    freezeboy authored and Jon committed Sep 23, 2020
    Copy the full SHA
    4a3e6cd View commit details
  8. python3Packages.fluent-logger: relax version for msgpack

    Also add imports tests as we can't do more using the pip release
    
    (cherry picked from commit e3c1b87)
    freezeboy authored and Jon committed Sep 23, 2020

    Verified

    This commit was signed with the committer’s verified signature.
    pradyuman Pradyuman Vig
    Copy the full SHA
    a6b6b86 View commit details
  9. orangefs: 2.9.7 -> 2.9.8, fix build

    (cherry picked from commit aa25c65)
    Jonathan Ringer committed Sep 23, 2020

    Verified

    This commit was signed with the committer’s verified signature.
    pradyuman Pradyuman Vig
    Copy the full SHA
    c0beb14 View commit details
  10. nixosTests.magnetico: wait for open port and make curl actually fail

    (cherry picked from commit 76aeb20)
    mweinelt committed Sep 23, 2020

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    94ee827 View commit details
  11. Merge pull request #98574 from mweinelt/20.09/nixos/tests/magnetico

    [20.09] nixosTests.magnetico: wait for open port and make curl actually fail
    rnhmjoj authored Sep 23, 2020
    Copy the full SHA
    9eb814f View commit details
7 changes: 4 additions & 3 deletions nixos/tests/magnetico.nix
Original file line number Diff line number Diff line change
@@ -27,12 +27,13 @@ in
start_all()
machine.wait_for_unit("magneticod")
machine.wait_for_unit("magneticow")
machine.wait_for_open_port(${toString port})
machine.succeed(
"${pkgs.curl}/bin/curl "
"${pkgs.curl}/bin/curl --fail "
+ "-u user:password http://localhost:${toString port}"
)
assert "Unauthorised." in machine.succeed(
"${pkgs.curl}/bin/curl "
machine.fail(
"${pkgs.curl}/bin/curl --fail "
+ "-u user:wrongpwd http://localhost:${toString port}"
)
machine.shutdown()
5 changes: 4 additions & 1 deletion pkgs/development/libraries/crc32c/default.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
{ stdenv, fetchFromGitHub, cmake, gflags }:
{ stdenv, lib, fetchFromGitHub, cmake, gflags
, staticOnly ? false }:

stdenv.mkDerivation rec {
pname = "crc32c";
version = "1.1.0";
@@ -14,6 +16,7 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ cmake ];
buildInputs = [ gflags ];
NIX_CFLAGS_COMPILE = stdenv.lib.optionalString stdenv.isAarch64 "-march=armv8-a+crc";
cmakeFlags = lib.optionals (!staticOnly) [ "-DBUILD_SHARED_LIBS=1" ];

meta = with stdenv.lib; {
homepage = "https://github.com/google/crc32c";
23 changes: 23 additions & 0 deletions pkgs/development/python-modules/bcrypt/3_1.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
{ stdenv, lib, buildPythonPackage, fetchPypi
, isPyPy, cffi, pytest, six }:

buildPythonPackage rec {
version = "3.1.7";
pname = "bcrypt";

src = fetchPypi {
inherit pname version;
sha256 = "0b0069c752ec14172c5f78208f1863d7ad6755a6fae6fe76ec2c80d13be41e42";
};

checkInputs = [ pytest ];

propagatedBuildInputs = [ six ] ++ lib.optional (!isPyPy) cffi;

meta = with lib; {
description = "Modern password hashing for your software and your servers";
homepage = "https://github.com/pyca/bcrypt/";
license = licenses.asl20;
maintainers = with maintainers; [ domenkozar ];
};
}
11 changes: 11 additions & 0 deletions pkgs/development/python-modules/fluent-logger/default.nix
Original file line number Diff line number Diff line change
@@ -9,10 +9,21 @@ buildPythonPackage rec {
sha256 = "a7d47eae4d2a11c8cb0df10ae3d034d95b0b8cef9d060e59e7519ad1f82ffa73";
};

prePatch = ''
substituteInPlace setup.py \
--replace "msgpack<1.0.0" "msgpack"
'';

propagatedBuildInputs = [ msgpack ];

# Tests fail because absent in package
doCheck = false;
pythonImportsCheck = [
"fluent"
"fluent.event"
"fluent.handler"
"fluent.sender"
];

meta = with lib; {
description = "A structured logger for Fluentd (Python)";
31 changes: 31 additions & 0 deletions pkgs/development/python-modules/google-crc32c/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
{ lib, buildPythonPackage, isPy3k, fetchFromGitHub, cffi, crc32c, pytestCheckHook }:

buildPythonPackage rec {
pname = "google-crc32c";
version = "1.0.0";

disabled = !isPy3k;

src = fetchFromGitHub {
owner = "googleapis";
repo = "python-crc32c";
rev = "v${version}";
sha256 = "0n3ggsxmk1fhq0kz6p5rcj4gypfb05i26fcn7lsawakgl7fzxqyl";
};

buildInputs = [ crc32c ];
propagatedBuildInputs = [ cffi ];

LDFLAGS = "-L${crc32c}/lib";
CFLAGS = "-I${crc32c}/include";

checkInputs = [ pytestCheckHook crc32c ];
pythonImportsCheck = [ "google_crc32c" ];

meta = with lib; {
homepage = "https://github.com/googleapis/python-crc32c";
description = "Wrapper the google/crc32c hardware-based implementation of the CRC32C hashing algorithm";
license = with licenses; [ asl20 ];
maintainers = with maintainers; [ freezeboy ];
};
}
15 changes: 10 additions & 5 deletions pkgs/development/python-modules/google_resumable_media/default.nix
Original file line number Diff line number Diff line change
@@ -1,30 +1,35 @@
{ stdenv
{ lib
, buildPythonPackage
, isPy3k
, fetchPypi
, six
, requests
, setuptools
, pytest
, mock
, crcmod
, google-crc32c
}:

buildPythonPackage rec {
pname = "google-resumable-media";
version = "0.7.1";
version = "1.0.0";

src = fetchPypi {
inherit pname version;
sha256 = "57841f5e65fb285c01071f439724745b2549a72eb75e5fd979198eb518608ed0";
sha256 = "FzrMa63hSApSn6KcbCcXVDri3AnULpRh/bhvOVAu/PI=";
};

checkInputs = [ pytest mock ];
propagatedBuildInputs = [ requests setuptools six ];
propagatedBuildInputs = [ requests setuptools six ]
++ lib.optional isPy3k google-crc32c
++ lib.optional (!isPy3k) crcmod;

checkPhase = ''
py.test tests/unit
'';

meta = with stdenv.lib; {
meta = with lib; {
description = "Utilities for Google Media Downloads and Resumable Uploads";
homepage = "https://github.com/GoogleCloudPlatform/google-resumable-media-python";
license = licenses.asl20;
3 changes: 3 additions & 0 deletions pkgs/development/python-modules/trytond/default.nix
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{ stdenv
, buildPythonApplication
, fetchPypi
, pythonOlder
, mock
, lxml
, relatorio
@@ -25,6 +26,8 @@ with stdenv.lib;
buildPythonApplication rec {
pname = "trytond";
version = "5.6.5";
disabled = pythonOlder "3.5";

src = fetchPypi {
inherit pname version;
sha256 = "a373d73b141d71f8e30d728dd8380955bc0f33daaa097201fa9a952e3663e6d8";
8 changes: 4 additions & 4 deletions pkgs/servers/monitoring/grafana/default.nix
Original file line number Diff line number Diff line change
@@ -2,23 +2,23 @@

buildGoModule rec {
pname = "grafana";
version = "7.1.5";
version = "7.2.0";

excludedPackages = [ "release_publisher" ];

src = fetchFromGitHub {
rev = "v${version}";
owner = "grafana";
repo = "grafana";
sha256 = "089z2x6jhiv5cx70vm7f1pyj5avappnaxrwah8jbnlkaz2kisp79";
sha256 = "1pzsg6kr5kq5767plji7m6ssy2z9jxjp9zp182baxjd634mmclcx";
};

srcStatic = fetchurl {
url = "https://dl.grafana.com/oss/release/grafana-${version}.linux-amd64.tar.gz";
sha256 = "0l1lw3y5w4s6qfkmclzc6h6hqwxqmxlppnwsq1zpm2hmrndy440j";
sha256 = "003sn06r94m68b6l91cjr3xr3i7hq54ay0gb562i6y5swrfkqqwz";
};

vendorSha256 = "0i0qdfh6cjdjg2mrrabm42427aaxs6a90ydb554ds14k6r4jdf8b";
vendorSha256 = "1b33kibvfa1qgalqb9ngxqimcn92cy8sllsc81wc9gmz4giz9mn1";

postPatch = ''
substituteInPlace pkg/cmd/grafana-server/main.go \
4 changes: 2 additions & 2 deletions pkgs/tools/filesystems/orangefs/default.nix
Original file line number Diff line number Diff line change
@@ -4,11 +4,11 @@

stdenv.mkDerivation rec {
pname = "orangefs";
version = "2.9.7";
version = "2.9.8";

src = fetchurl {
url = "http://download.orangefs.org/current/source/orangefs-${version}.tar.gz";
sha256 = "15669f5rcvn44wkas0mld0qmyclrmhbrw4bbbp66sw3a12vgn4sm";
sha256 = "0c2yla615j04ygclfavh8g5miqhbml2r0zs2c5mvkacf9in7p7sq";
};

nativeBuildInputs = [ bison flex perl autoreconfHook ];
6 changes: 3 additions & 3 deletions pkgs/tools/networking/curlie/default.nix
Original file line number Diff line number Diff line change
@@ -2,16 +2,16 @@

buildGoModule rec {
pname = "curlie";
version = "1.3.1";
version = "1.5.4";

src= fetchFromGitHub {
owner = "rs";
repo = pname;
rev = "v${version}";
sha256 = "09v8alrbw6qva3q3bcqxnyjm7svagfxqvhdff7cqf5pbmkxnhln9";
sha256 = "0z92gz39m0gk8j7l2nwa5vrfr3mq160vr1b15sy13jwi1zspc7hx";
};

vendorSha256 = "1mxgf004czf65a2mv99gfp27g98xhllmfcz4ynfv66nfkbfz6a8n";
vendorSha256 = "1qnl15b9cs6xi8z368a9n34v3wr2adwp376cjzhyllni7sf6v1mm";

doCheck = false;

9 changes: 8 additions & 1 deletion pkgs/top-level/python-packages.nix
Original file line number Diff line number Diff line change
@@ -776,7 +776,10 @@ in {

bcdoc = callPackage ../development/python-modules/bcdoc { };

bcrypt = callPackage ../development/python-modules/bcrypt { };
bcrypt = if pythonOlder "3.6" then
callPackage ../development/python-modules/bcrypt/3_1.nix { }
else
callPackage ../development/python-modules/bcrypt { };

beaker = callPackage ../development/python-modules/beaker { };

@@ -2452,6 +2455,10 @@ in {

google-compute-engine = callPackage ../tools/virtualization/google-compute-engine { };

google-crc32c = callPackage ../development/python-modules/google-crc32c {
inherit (pkgs) crc32c;
};

google-i18n-address = callPackage ../development/python-modules/google-i18n-address { };

google-music = callPackage ../development/python-modules/google-music { };
3 changes: 3 additions & 0 deletions pkgs/top-level/static.nix
Original file line number Diff line number Diff line change
@@ -191,6 +191,9 @@ in {
gsm = super.gsm.override {
staticSupport = true;
};
crc32c = super.crc32c.override {
staticOnly = true;
};
parted = super.parted.override {
enableStatic = true;
};