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: 1facbd61b179
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: abdb93529131
Choose a head ref

Commits on Jun 10, 2020

  1. erlangR23: init at 23.0.2

    Enable parallel builds for recent Erlang/OTP version R22 and R23
    
    Co-authored-by: Tino Breddin <t@tolbrino.com>
    cw789 and tolbrino committed Jun 10, 2020
    Copy the full SHA
    0a5a19f View commit details

Commits on Jul 10, 2020

  1. opkg: 0.4.2 -> 0.4.3

    r-ryantm committed Jul 10, 2020
    Copy the full SHA
    fa5b04d View commit details
  2. Copy the full SHA
    8babb2f View commit details
  3. Copy the full SHA
    50be30a View commit details
  4. Copy the full SHA
    7ef7f6f View commit details

Commits on Jul 11, 2020

  1. vttest: 20200420 -> 20200610

    r-ryantm committed Jul 11, 2020
    Copy the full SHA
    5c86965 View commit details

Commits on Jul 12, 2020

  1. lexicon: 3.3.26 -> 3.3.27

    r-ryantm committed Jul 12, 2020
    Copy the full SHA
    ffeb291 View commit details
  2. Copy the full SHA
    a6c5d51 View commit details
  3. pshs: 0.3.3 -> 0.3.4

    r-ryantm committed Jul 12, 2020
    Copy the full SHA
    62a44f8 View commit details
  4. websocat: 1.5.0 -> 1.6.0

    r-ryantm committed Jul 12, 2020
    Copy the full SHA
    e145c35 View commit details

Commits on Jul 14, 2020

  1. Copy the full SHA
    7a95d9c View commit details
  2. pmacct: 1.7.3 -> 1.7.5

    r-ryantm committed Jul 14, 2020
    Copy the full SHA
    54f2102 View commit details
  3. deno: 1.1.3 -> 1.2.0

    06kellyjac committed Jul 14, 2020
    Copy the full SHA
    1470516 View commit details
  4. Merge pull request #93091 from r-ryantm/auto-update/phoronix-test-suite

    phoronix-test-suite: 9.6.1 -> 9.8.0
    ryantm authored Jul 14, 2020
    Copy the full SHA
    196e480 View commit details
  5. Copy the full SHA
    705dbe0 View commit details
  6. Merge pull request #87738 from cw789/erlang_update

    erlangR23: init at 23.0.2
    madjar authored Jul 14, 2020
    Copy the full SHA
    249a368 View commit details
  7. Copy the full SHA
    42d34c7 View commit details
  8. Merge pull request #93106 from 06kellyjac/deno_1.2.0

    deno: 1.1.3 -> 1.2.0
    marsam authored Jul 14, 2020
    Copy the full SHA
    3dea1f2 View commit details
  9. Merge pull request #92983 from r-ryantm/auto-update/lexicon

    lexicon: 3.3.26 -> 3.3.27
    marsam authored Jul 14, 2020
    Copy the full SHA
    11f469b View commit details
  10. Merge pull request #93007 from r-ryantm/auto-update/websocat

    websocat: 1.5.0 -> 1.6.0
    marsam authored Jul 14, 2020
    Copy the full SHA
    9960105 View commit details
  11. Merge pull request #92889 from r-ryantm/auto-update/python2.7-Wand

    python27Packages.Wand: 0.6.1 -> 0.6.2
    marsam authored Jul 14, 2020
    Copy the full SHA
    9932552 View commit details
  12. Merge pull request #93093 from r-ryantm/auto-update/pmacct

    pmacct: 1.7.3 -> 1.7.5
    marsam authored Jul 14, 2020
    Copy the full SHA
    026a809 View commit details
  13. Merge pull request #92898 from r-ryantm/auto-update/radarr

    radarr: 0.2.0.1480 -> 0.2.0.1504
    marsam authored Jul 14, 2020
    Copy the full SHA
    7c534e5 View commit details
  14. Merge pull request #92995 from r-ryantm/auto-update/pshs

    pshs: 0.3.3 -> 0.3.4
    marsam authored Jul 14, 2020
    Copy the full SHA
    ba2b0b4 View commit details
  15. Merge pull request #92960 from r-ryantm/auto-update/vttest

    vttest: 20200420 -> 20200610
    marsam authored Jul 14, 2020
    Copy the full SHA
    4dc9522 View commit details
  16. Merge pull request #92991 from r-ryantm/auto-update/openimagedenoise

    openimagedenoise: 1.2.1 -> 1.2.2
    marsam authored Jul 14, 2020
    Copy the full SHA
    b795718 View commit details
  17. Merge pull request #92835 from r-ryantm/auto-update/powerstat

    powerstat: 0.02.23 -> 0.02.24
    marsam authored Jul 14, 2020
    Copy the full SHA
    10bc0f7 View commit details
  18. Merge pull request #92822 from r-ryantm/auto-update/opkg

    opkg: 0.4.2 -> 0.4.3
    marsam authored Jul 14, 2020
    Copy the full SHA
    3871c77 View commit details
  19. Copy the full SHA
    2f355e7 View commit details
  20. Merge pull request #93113 from david-sawatzke/easypdkprog-update

    easypdkprog: 1.2 -> 1.3
    marsam authored Jul 14, 2020
    Copy the full SHA
    e97fdce View commit details
  21. Copy the full SHA
    e038a43 View commit details
  22. Merge pull request #93124 from adisbladis/poetry2nix-1_10_0

    poetry2nix: 1.9.2 -> 1.10.0
    adisbladis authored Jul 14, 2020
    Copy the full SHA
    abdb935 View commit details
Showing with 299 additions and 117 deletions.
  1. +6 −0 maintainers/maintainer-list.nix
  2. +1 −0 pkgs/applications/networking/cluster/terraform-providers/default.nix
  3. +28 −0 pkgs/applications/networking/cluster/terraform-providers/shell/default.nix
  4. +13 −0 pkgs/development/interpreters/erlang/R23.nix
  5. +2 −1 pkgs/development/interpreters/erlang/generic-builder.nix
  6. +2 −2 pkgs/development/libraries/openimagedenoise/default.nix
  7. +2 −2 pkgs/development/python-modules/Wand/default.nix
  8. +2 −2 pkgs/development/tools/misc/easypdkprog/default.nix
  9. +11 −3 pkgs/development/tools/poetry2nix/poetry2nix/default.nix
  10. +2 −0 pkgs/development/tools/poetry2nix/poetry2nix/mk-poetry-dep.nix
  11. +36 −2 pkgs/development/tools/poetry2nix/poetry2nix/overrides.nix
  12. +3 −0 pkgs/development/tools/poetry2nix/poetry2nix/pkgs/poetry/default.nix
  13. +38 −49 pkgs/development/tools/poetry2nix/poetry2nix/pkgs/poetry/poetry.lock
  14. +1 −1 pkgs/development/tools/poetry2nix/poetry2nix/pkgs/poetry/pyproject.toml
  15. +2 −2 pkgs/development/tools/poetry2nix/poetry2nix/pkgs/poetry/src.json
  16. +70 −0 pkgs/development/tools/poetry2nix/poetry2nix/plugins.nix
  17. +3 −3 pkgs/development/web/deno/default.nix
  18. +2 −2 pkgs/os-specific/linux/powerstat/default.nix
  19. +2 −2 pkgs/servers/http/pshs/default.nix
  20. +2 −2 pkgs/servers/radarr/default.nix
  21. +3 −3 pkgs/shells/zsh/oh-my-zsh/default.nix
  22. +2 −2 pkgs/tools/admin/lexicon/default.nix
  23. +2 −2 pkgs/tools/misc/phoronix-test-suite/default.nix
  24. +2 −2 pkgs/tools/misc/vttest/default.nix
  25. +3 −3 pkgs/tools/misc/websocat/default.nix
  26. +2 −2 pkgs/tools/networking/pmacct/default.nix
  27. +2 −2 pkgs/tools/package-management/opkg/default.nix
  28. +1 −1 pkgs/top-level/all-packages.nix
  29. +54 −27 pkgs/top-level/beam-packages.nix
6 changes: 6 additions & 0 deletions maintainers/maintainer-list.nix
Original file line number Diff line number Diff line change
@@ -5656,6 +5656,12 @@
githubId = 5047140;
name = "Victor Collod";
};
mupdt = {
email = "nix@pdtpartners.com";
github = "mupdt";
githubId = 25388474;
name = "Matej Urbas";
};
mvnetbiz = {
email = "mvnetbiz@gmail.com";
github = "mvnetbiz";
Original file line number Diff line number Diff line change
@@ -144,6 +144,7 @@ let
elasticsearch = callPackage ./elasticsearch {};
libvirt = callPackage ./libvirt {};
lxd = callPackage ./lxd {};
shell = callPackage ./shell {};
vpsadmin = callPackage ./vpsadmin {};
};
in
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
{ stdenv, fetchFromGitHub, buildGoModule }:
buildGoModule rec {
pname = "terraform-provider-shell";
version = "1.6.0";

src = fetchFromGitHub {
owner = "scottwinkler";
repo = pname;
rev = "v${version}";
sha256 = "0jxb30vw93ibnwz8nfqapac7p9r2famzvsf2h4nfbmhkm6mpan4l";
};

vendorSha256 = "1p2ja6cw3dl7mx41svri6frjpgb9pxsrl7sq0rk1d3sviw0f88sg";

subPackages = [ "." ];

# Terraform allows checking the provider versions, but this breaks
# if the versions are not provided via file paths.
postInstall = "mv $out/bin/${pname}{,_v${version}}";

meta = with stdenv.lib; {
inherit (src.meta) homepage;
description = "Terraform provider for executing shell commands and saving output to state file";
changelog = "https://github.com/scottwinkler/terraform-provider-shell/releases/tag/v${version}";
license = licenses.mpl20;
maintainers = with maintainers; [ mupdt ];
};
}
13 changes: 13 additions & 0 deletions pkgs/development/interpreters/erlang/R23.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{ mkDerivation }:

# How to obtain `sha256`:
# nix-prefetch-url --unpack https://github.com/erlang/otp/archive/OTP-${version}.tar.gz
mkDerivation {
version = "23.0.2";
sha256 = "19ly2m0rjay6071r75s9870cm3sph25zd1mvy67l5v4jg7mxdjzy";

prePatch = ''
substituteInPlace make/configure.in --replace '`sw_vers -productVersion`' "''${MACOSX_DEPLOYMENT_TARGET:-10.12}"
substituteInPlace erts/configure.in --replace '-Wl,-no_weak_imports' ""
'';
}
3 changes: 2 additions & 1 deletion pkgs/development/interpreters/erlang/generic-builder.nix
Original file line number Diff line number Diff line change
@@ -3,6 +3,7 @@
, openjdk ? null # javacSupport
, unixODBC ? null # odbcSupport
, libGL ? null, libGLU ? null, wxGTK ? null, wxmac ? null, xorg ? null # wxSupport
, parallelBuild ? false
, withSystemd ? stdenv.isLinux, systemd # systemd support in epmd
}:

@@ -60,7 +61,7 @@ in stdenv.mkDerivation ({
debugInfo = enableDebugInfo;

# On some machines, parallel build reliably crashes on `GEN asn1ct_eval_ext.erl` step
enableParallelBuilding = false;
enableParallelBuilding = parallelBuild;

# Clang 4 (rightfully) thinks signed comparisons of pointers with NULL are nonsense
prePatch = ''
4 changes: 2 additions & 2 deletions pkgs/development/libraries/openimagedenoise/default.nix
Original file line number Diff line number Diff line change
@@ -2,12 +2,12 @@

stdenv.mkDerivation rec {
pname = "openimagedenoise";
version = "1.2.1";
version = "1.2.2";

# The release tarballs include pretrained weights, which would otherwise need to be fetched with git-lfs
src = fetchzip {
url = "https://github.com/OpenImageDenoise/oidn/releases/download/v${version}/oidn-${version}.src.tar.gz";
sha256 = "1f8s69ixv7nsdap9hc2njli2x75zmlrfq8cy79772gz83kph8s25";
sha256 = "0wyaarjxkzlvljmpnr7qm06ma2wl1aik3z664gwpzhizswygk6yp";
};

nativeBuildInputs = [ cmake python ispc ];
4 changes: 2 additions & 2 deletions pkgs/development/python-modules/Wand/default.nix
Original file line number Diff line number Diff line change
@@ -6,11 +6,11 @@

buildPythonPackage rec {
pname = "Wand";
version = "0.6.1";
version = "0.6.2";

src = fetchPypi {
inherit pname version;
sha256 = "1wg7dlz6mhjp7mkqm5f8a2ak87p1zn46b6i754ys8f29nnqq01yz";
sha256 = "0jm1jdrlmm0gkvaxhbwwqic48vfgv8d0j99y90calnjrid3hwi35";
};

postPatch = ''
4 changes: 2 additions & 2 deletions pkgs/development/tools/misc/easypdkprog/default.nix
Original file line number Diff line number Diff line change
@@ -2,13 +2,13 @@

stdenv.mkDerivation rec {
pname = "easypdkprog";
version = "1.2";
version = "1.3";

src = fetchFromGitHub {
owner = "free-pdk";
repo = "easy-pdk-programmer-software";
rev = version;
sha256 = "06bn86rd57ff567l0ipx38raih0zll3y16lg5fpn7c601a9jldps";
sha256 = "0hc3gdmn6l01z63hzzwdhbdyy288gh5v219bsfm8fb1498vpnd6f";
};

installPhase = ''
14 changes: 11 additions & 3 deletions pkgs/development/tools/poetry2nix/poetry2nix/default.nix
Original file line number Diff line number Diff line change
@@ -7,7 +7,7 @@ let
inherit (poetryLib) isCompatible readTOML moduleName;

# Poetry2nix version
version = "1.9.2";
version = "1.10.0";

/* The default list of poetry2nix override overlays */
defaultPoetryOverrides = (import ./overrides.nix { inherit pkgs lib; });
@@ -22,6 +22,9 @@ let
# Get license by id falling back to input string
getLicenseBySpdxId = spdxId: spdxLicenses.${spdxId} or spdxId;

# Experimental withPlugins functionality
toPluginAble = (import ./plugins.nix { inherit pkgs lib; }).toPluginAble;

/*
Returns an attrset { python, poetryPackages, pyProject, poetryLock } for the given pyproject/lockfile.
*/
@@ -33,6 +36,7 @@ let
, python ? pkgs.python3
, pwd ? projectDir
, preferWheels ? false
, __isBootstrap ? false # Hack: Always add Poetry as a build input unless bootstrapping
}@attrs:
let
poetryPkg = poetry.override { inherit python; };
@@ -77,6 +81,7 @@ let
value = self.mkPoetryDep (
pkgMeta // {
inherit pwd preferWheels;
inherit __isBootstrap;
source = pkgMeta.source or null;
files = lockFiles.${name};
pythonPackages = self;
@@ -106,6 +111,8 @@ let
# The canonical name is setuptools-scm
setuptools-scm = super.setuptools_scm;

__toPluginAble = toPluginAble self;

inherit (hooks) pipBuildHook removePathDependenciesHook poetry2nixFixupHook;
}
)
@@ -176,11 +183,12 @@ let
, python ? pkgs.python3
, pwd ? projectDir
, preferWheels ? false
, __isBootstrap ? false # Hack: Always add Poetry as a build input unless bootstrapping
, ...
}@attrs:
let
poetryPython = mkPoetryPackages {
inherit pyproject poetrylock overrides python pwd preferWheels;
inherit pyproject poetrylock overrides python pwd preferWheels __isBootstrap;
};
py = poetryPython.python;

@@ -206,7 +214,7 @@ let
(
dep:
let
pkg = py.pkgs."${dep}";
pkg = py.pkgs."${moduleName dep}";
constraints = deps.${dep}.python or "";
isCompat = compat constraints;
in
Original file line number Diff line number Diff line change
@@ -17,6 +17,7 @@
, sourceSpec
, supportedExtensions ? lib.importJSON ./extensions.json
, preferWheels ? false
, __isBootstrap ? false # Hack: Always add Poetry as a build input unless bootstrapping
, ...
}:

@@ -106,6 +107,7 @@ pythonPackages.callPackage
baseBuildInputs
++ lib.optional (!isSource) (getManyLinuxDeps fileInfo.name).pkg
++ lib.optional isLocal buildSystemPkgs
++ lib.optional (!__isBootstrap) [ pythonPackages.poetry ]
);

propagatedBuildInputs =
38 changes: 36 additions & 2 deletions pkgs/development/tools/poetry2nix/poetry2nix/overrides.nix
Original file line number Diff line number Diff line change
@@ -24,7 +24,7 @@ self: super:
nativeBuildInputs = old.nativeBuildInputs ++ [
pkgs.pkgconfig
];
buildInputs = old.buildInputs ++ [ pkgs.ffmpeg ];
buildInputs = old.buildInputs ++ [ pkgs.ffmpeg_4 ];
}
);

@@ -255,6 +255,11 @@ self: super:
}
);

libvirt-python = super.libvirt-python.overridePythonAttrs ({ nativeBuildInputs ? [ ], ... }: {
nativeBuildInputs = nativeBuildInputs ++ [ pkgs.pkgconfig ];
propagatedBuildInputs = [ pkgs.libvirt ];
});

llvmlite = super.llvmlite.overridePythonAttrs (
old: {
nativeBuildInputs = old.nativeBuildInputs ++ [ pkgs.llvm ];
@@ -345,6 +350,14 @@ self: super:
}
);

mip = super.mip.overridePythonAttrs (
old: {
nativeBuildInputs = old.nativeBuildInputs ++ [ pkgs.autoPatchelfHook ];

buildInputs = old.buildInputs ++ [ pkgs.zlib self.cppy ];
}
);

netcdf4 = super.netcdf4.overridePythonAttrs (
old: {
buildInputs = old.buildInputs ++ [
@@ -454,7 +467,14 @@ self: super:
old:
let
parseMinor = drv: lib.concatStringsSep "." (lib.take 2 (lib.splitVersion drv.version));
_arrow-cpp = pkgs.arrow-cpp.override { inherit (self) python; };

# Starting with nixpkgs revision f149c7030a7, pyarrow takes "python3" as an argument
# instead of "python". Below we inspect function arguments to maintain compatibilitiy.
_arrow-cpp = pkgs.arrow-cpp.override (
builtins.intersectAttrs
(lib.functionArgs pkgs.arrow-cpp.override) { python = self.python; python3 = self.python; }
);

ARROW_HOME = _arrow-cpp;
arrowCppVersion = parseMinor pkgs.arrow-cpp;
pyArrowVersion = parseMinor super.pyarrow;
@@ -595,6 +615,12 @@ self: super:
}
);

python-ldap = super.python-ldap.overridePythonAttrs (
old: {
buildInputs = old.buildInputs ++ [ pkgs.openldap pkgs.cyrus_sasl ];
}
);

pytoml = super.pytoml.overridePythonAttrs (
old: {
doCheck = false;
@@ -841,6 +867,14 @@ self: super:
}
);

tensorflow = super.tensorflow.overridePythonAttrs (
old: {
postInstall = ''
rm $out/bin/tensorboard
'';
}
);

tensorpack = super.tensorpack.overridePythonAttrs (
old: {
postPatch = ''
Original file line number Diff line number Diff line change
@@ -7,6 +7,9 @@ poetry2nix.mkPoetryApplication {

projectDir = ./.;

# Don't include poetry in inputs
__isBootstrap = true;

src = fetchFromGitHub (lib.importJSON ./src.json);

# "Vendor" dependencies (for build-system support)
Loading