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: bd2c1d72c5a7
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: 24c765c744ba
Choose a head ref
  • 7 commits
  • 8 files changed
  • 4 contributors

Commits on Mar 3, 2020

  1. Copy the full SHA
    3fe7a65 View commit details
  2. Copy the full SHA
    2148a15 View commit details
  3. python27Packages.phonenumbers: 8.11.3 -> 8.11.4

    r-ryantm authored and Jon committed Mar 3, 2020
    Copy the full SHA
    4c23487 View commit details
  4. python27Packages.identify: 1.4.10 -> 1.4.11

    r-ryantm authored and Jon committed Mar 3, 2020
    Copy the full SHA
    c27a87e View commit details
  5. python27Packages.localzone: 0.9.5 -> 0.9.6

    r-ryantm authored and Jon committed Mar 3, 2020
    Copy the full SHA
    d071584 View commit details
  6. plantuml: 1.2020.1 -> 1.2020.2

    r-ryantm authored and bjornfor committed Mar 3, 2020
    Copy the full SHA
    774324a View commit details
  7. clickhouse: fix rpath

    ClickHouse sets LINKER_NAME to lld which is not yet wrapped with ld-wrapper.sh
    and the results lack rpath needed to use the programs and libraries.
    orivej committed Mar 3, 2020
    Copy the full SHA
    24c765c View commit details
24 changes: 17 additions & 7 deletions pkgs/applications/science/logic/monosat/default.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ stdenv, fetchFromGitHub, cmake, zlib, gmp, jdk8,
{ stdenv, fetchpatch, fetchFromGitHub, cmake, zlib, gmp, jdk8,
# The JDK we use on Darwin currenly makes extensive use of rpaths which are
# annoying and break the python library, so let's not bother for now
includeJava ? !stdenv.hostPlatform.isDarwin, includeGplCode ? true }:
@@ -20,9 +20,17 @@ let
inherit rev sha256;
};

patches = [
# Python 3.8 compatibility
(fetchpatch {
url = https://github.com/sambayless/monosat/commit/a5079711d0df0451f9840f3a41248e56dbb03967.patch;
sha256 = "0fwsk67798dns7izdry19r7r3nmym4cbgxfpbjbnx4b4mlak65j8";
})
];

core = stdenv.mkDerivation {
name = "${pname}-${version}";
inherit src;
inherit src patches;
buildInputs = [ cmake zlib gmp jdk8 ];

cmakeFlags = [
@@ -48,20 +56,22 @@ let
};

python = { buildPythonPackage, cython }: buildPythonPackage {
inherit pname version src;

# The top-level "source" is what fetchFromGitHub gives us. The rest is inside the repo
sourceRoot = "source/src/monosat/api/python/";
inherit pname version src patches;

propagatedBuildInputs = [ core cython ];

# This tells setup.py to use cython, which should produce faster bindings
MONOSAT_CYTHON = true;

# After patching src, move to where the actually relevant source is. This could just be made
# the sourceRoot if it weren't for the patch.
postPatch = ''
cd src/monosat/api/python
'' +
# The relative paths here don't make sense for our Nix build
# TODO: do we want to just reference the core monosat library rather than copying the
# shared lib? The current setup.py copies the .dylib/.so...
postPatch = ''
''
substituteInPlace setup.py \
--replace 'library_dir = "../../../../"' 'library_dir = "${core}/lib/"'
'';
4 changes: 2 additions & 2 deletions pkgs/development/compilers/ocaml/4.10.nix
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import ./generic.nix {
major_version = "4";
minor_version = "10";
patch_version = "0+rc2";
sha256 = "1iv8x9xr4k2s1x1p4rj4fqdh2iwzhgi56lyshvh6gg224i14rkbz";
patch_version = "0";
sha256 = "1dzy7lbdapcmwn1wg8k87419khi54f8hb6n314bdv7v0gfqlswrh";
}
6 changes: 3 additions & 3 deletions pkgs/development/python-modules/identify/default.nix
Original file line number Diff line number Diff line change
@@ -2,19 +2,19 @@

buildPythonPackage rec {
pname = "identify";
version = "1.4.10";
version = "1.4.11";

src = fetchPypi {
inherit pname version;
sha256 = "0q1k22n8w7mmab1vh2r3bsqbxkxbb2zka548rcnn2rd9yg8rxnca";
sha256 = "15kbcgqz6zf9qqvyw3pwy611knv1lyaqmc213ivmqciq3zifn96q";
};

# Tests not included in PyPI tarball
doCheck = false;

meta = with lib; {
description = "File identification library for Python";
homepage = https://github.com/chriskuehl/identify;
homepage = "https://github.com/chriskuehl/identify";
license = licenses.mit;
};
}
6 changes: 3 additions & 3 deletions pkgs/development/python-modules/localzone/default.nix
Original file line number Diff line number Diff line change
@@ -8,13 +8,13 @@

buildPythonPackage rec {
pname = "localzone";
version = "0.9.5";
version = "0.9.6";

src = fetchFromGitHub {
owner = "ags-slc";
repo = pname;
rev = "v${version}";
sha256 = "1zziqyhbg8vg901b4hjzzab0paag5cng48vk9xf1hchxk5naf58n";
sha256 = "154l7qglsm4jrhqddvlas8cgl9qm2z4dzihv05jmsyqjikcmfwk8";
};

propagatedBuildInputs = [ dnspython sphinx ];
@@ -27,7 +27,7 @@ buildPythonPackage rec {

meta = with stdenv.lib; {
description = "A simple DNS library for managing zone files";
homepage = https://localzone.iomaestro.com;
homepage = "https://localzone.iomaestro.com";
license = licenses.bsd3;
maintainers = with maintainers; [ flyfloh ];
};
6 changes: 3 additions & 3 deletions pkgs/development/python-modules/phonenumbers/default.nix
Original file line number Diff line number Diff line change
@@ -2,16 +2,16 @@

buildPythonPackage rec {
pname = "phonenumbers";
version = "8.11.3";
version = "8.11.4";

src = fetchPypi {
inherit pname version;
sha256 = "1rh0860ml00kw5c4b4r31wz5s8cmd5mpxx5slypdgljk4ralyg6p";
sha256 = "13hfcw89kppm8s2qx0s5bafzxjc0qhm9sxmpf6yqvshz2fn82pk8";
};

meta = {
description = "Python version of Google's common library for parsing, formatting, storing and validating international phone numbers";
homepage = https://github.com/daviddrysdale/python-phonenumbers;
homepage = "https://github.com/daviddrysdale/python-phonenumbers";
license = stdenv.lib.licenses.asl20;
maintainers = with stdenv.lib.maintainers; [ fadenb ];
};
1 change: 1 addition & 0 deletions pkgs/servers/clickhouse/default.nix
Original file line number Diff line number Diff line change
@@ -26,6 +26,7 @@ stdenv.mkDerivation rec {

cmakeFlags = [
"-DENABLE_TESTS=OFF"
"-DLINKER_NAME=gold" # lld is not wrapped with ld-wrapper.sh, does not set rpath.
"-DUNBUNDLED=ON"
"-DUSE_STATIC_LIBRARIES=OFF"
];
6 changes: 3 additions & 3 deletions pkgs/tools/misc/plantuml/default.nix
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
{ stdenv, fetchurl, makeWrapper, jre, graphviz }:

stdenv.mkDerivation rec {
version = "1.2020.1";
version = "1.2020.2";
pname = "plantuml";

src = fetchurl {
url = "mirror://sourceforge/project/plantuml/${version}/plantuml.${version}.jar";
sha256 = "02a55na86561fnxf6pk0cpg13mx8qr7pvigyp65rqks0f9ygj9ga";
sha256 = "1wvlhy76h1bxwjj8r48ixypch1bj9m9721rbawayj8v0hpyr1an4";
};

nativeBuildInputs = [ makeWrapper ];
@@ -25,7 +25,7 @@ stdenv.mkDerivation rec {

meta = with stdenv.lib; {
description = "Draw UML diagrams using a simple and human readable text description";
homepage = http://plantuml.sourceforge.net/;
homepage = "http://plantuml.sourceforge.net/";
# "plantuml -license" says GPLv3 or later
license = licenses.gpl3Plus;
maintainers = with maintainers; [ bjornfor ];
2 changes: 1 addition & 1 deletion pkgs/top-level/ocaml-packages.nix
Original file line number Diff line number Diff line change
@@ -1229,7 +1229,7 @@ in let inherit (pkgs) callPackage; in rec

ocamlPackages_4_10 = mkOcamlPackages (callPackage ../development/compilers/ocaml/4.10.nix { });

ocamlPackages_latest = ocamlPackages_4_09;
ocamlPackages_latest = ocamlPackages_4_10;

ocamlPackages = ocamlPackages_4_07;
}