Merge master into staging-next

This commit is contained in:
Frederik Rietdijk
2019-04-07 08:33:41 +02:00
127 changed files with 2246 additions and 1224 deletions

View File

@@ -1,4 +1,4 @@
{ buildPythonPackage, fetchPypi, attrs, protobuf, zeroconf }:
{ lib, buildPythonPackage, fetchPypi, attrs, protobuf, zeroconf }:
buildPythonPackage rec {
pname = "aioesphomeapi";
@@ -11,5 +11,13 @@ buildPythonPackage rec {
propagatedBuildInputs = [ attrs protobuf zeroconf ];
meta = {};
# no tests implemented
doCheck = false;
meta = with lib; {
description = "Python Client for ESPHome native API";
homepage = https://github.com/esphome/aioesphomeapi;
license = licenses.mit;
maintainers = with maintainers; [ dotlambda ];
};
}

View File

@@ -6,11 +6,11 @@
}:
buildPythonPackage rec {
pname = "cmd2";
version = "0.9.10";
version = "0.9.11";
src = fetchPypi {
inherit pname version;
sha256 = "00d68374abe02363a417160e5836022be5c8f8bdac1da5dd101fadb6f8e96619";
sha256 = "0hjj587dwnl5767wbl875vglvdr1f5z5jzb5wliip78lbyq3b8rl";
};
LC_ALL="en_US.UTF-8";

View File

@@ -11,11 +11,11 @@
buildPythonPackage rec {
pname = "cypari2";
# upgrade may break sage, please test the sage build or ping @timokau on upgrade
version = "2.0.3";
version = "2.1.0";
src = fetchPypi {
inherit pname version;
sha256 = "0mghbmilmy34xp1d50xdx76sijqxmpkm2bcgx2v1mdji2ff7n0yc";
sha256 = "0bm5jvmwqp48n6b385mw4v7wsws9zk62mgb7xf5ymiq7k6wgvxli";
};
# This differs slightly from the default python installPhase in that it pip-installs

View File

@@ -4,11 +4,11 @@
buildPythonPackage rec {
pname = "python-ldap";
version = "3.1.0";
version = "3.2.0";
src = fetchPypi {
inherit pname version;
sha256 = "41975e79406502c092732c57ef0c2c2eb318d91e8e765f81f5d4ab6c1db727c5";
sha256 = "13nvrhp85yr0jyxixcjj012iw8l9wynxxlykm9j3alss6waln73x";
};
propagatedBuildInputs = [ pyasn1 pyasn1-modules ];
@@ -28,4 +28,10 @@ buildPythonPackage rec {
'';
doCheck = !stdenv.isDarwin;
meta = with stdenv.lib; {
description = "Python modules for implementing LDAP clients";
homepage = https://www.python-ldap.org/;
license = licenses.psfl;
};
}

View File

@@ -1,5 +1,5 @@
{ lib, buildPythonPackage, fetchPypi
, pbr, ldap, fixtures, testresources, testtools }:
, pbr, ldap, prettytable, fixtures, testresources, testtools }:
buildPythonPackage rec {
name = "ldappool-${version}";
@@ -11,9 +11,14 @@ buildPythonPackage rec {
sha256 = "d9c9ec29be3f3e64164be84fe080a3087108836f307a12ec62f7d18988293df3";
};
postPatch = ''
# Tests run without most of the dependencies
echo "" > test-requirements.txt
'';
nativeBuildInputs = [ pbr ];
propagatedBuildInputs = [ ldap ];
propagatedBuildInputs = [ ldap prettytable ];
checkInputs = [ fixtures testresources testtools ];

View File

@@ -3,14 +3,14 @@
buildPythonPackage rec {
pname = "libarcus";
version = "3.6.0";
version = "4.0.0";
format = "other";
src = fetchFromGitHub {
owner = "Ultimaker";
repo = "libArcus";
rev = version;
sha256 = "1zbp6axai47k3p2q497wiajls1h17wss143zynbwbwrqinsfiw43";
sha256 = "14c62bsc2cynhaajpdidcqpq2vqwshrdkqyzwvpsjjbfmlx3b1ay";
};
disabled = pythonOlder "3.4.0";

View File

@@ -2,14 +2,14 @@
buildPythonPackage rec {
pname = "libsavitar";
version = "3.6.0";
version = "4.0.0";
format = "other";
src = fetchFromGitHub {
owner = "Ultimaker";
repo = "libSavitar";
rev = version;
sha256 = "1bz8ga0n9aw65hqzajbr93dcv5g555iaihbhs1jq2k47cx66klzv";
sha256 = "1q70l37qafzfkpw8vlagmpd2w576b6jc1xmxp3wf3qfq45j8kya0";
};
postPatch = ''

View File

@@ -2,13 +2,13 @@
buildPythonPackage rec {
pname = "netdisco";
version = "2.5.0";
version = "2.6.0";
disabled = !isPy3k;
src = fetchPypi {
inherit pname version;
sha256 = "2ecb9830ceed5cf8f2ccc5a9bbe02ca5f6851435f5315a5402f0123311f13b37";
sha256 = "2b3aca14a1807712a053f11fd80dc251dd821ee4899aefece515287981817762";
};
propagatedBuildInputs = [ requests zeroconf netifaces ];

View File

@@ -2,13 +2,13 @@
buildPythonPackage rec {
pname = "pylast";
version = "3.0.0";
version = "3.1.0";
disabled = !isPy3k;
src = fetchPypi {
inherit pname version;
sha256 = "24051c52011ff18bdeaee9df084ecc90da6c627da86f3cdcfec4af2928e9bc56";
sha256 = "0sk08l8dq0r4xgmqkxq6jzlbam34k95adaw468n0bh6cps18ddby";
};
propagatedBuildInputs = [ certifi six ];

View File

@@ -1,12 +1,12 @@
{ stdenv, fetchPypi, buildPythonPackage, swig, pcsclite, PCSC }:
{ stdenv, fetchPypi, fetchpatch, buildPythonPackage, swig, pcsclite, PCSC }:
buildPythonPackage rec {
version = "1.9.7";
version = "1.9.8";
pname = "pyscard";
src = fetchPypi {
inherit pname version;
sha256 = "412c74c83e7401566e9d3d7b8b5ca965e74582a1f33179b3c1fabf1da73ebf80";
sha256 = "15fh00z1an6r5j7hrz3jlq0rb3jygwf3x4jcwsa008bv8vpcg7gm";
};
postPatch = ''
@@ -16,6 +16,15 @@ buildPythonPackage rec {
NIX_CFLAGS_COMPILE = "-isystem ${stdenv.lib.getDev pcsclite}/include/PCSC/";
patches = [
# Fixes darwin tests
# See: https://github.com/LudovicRousseau/pyscard/issues/77
(fetchpatch {
url = "https://github.com/LudovicRousseau/pyscard/commit/62e675028086c75656444cc21d563d9f08ebf8e7.patch";
sha256 = "1lr55npcpc8j750vf7vaisqyk18d5f00l7nii2lvawg4sssjaaf7";
})
];
propagatedBuildInputs = [ pcsclite ];
buildInputs = stdenv.lib.optional stdenv.isDarwin PCSC;
nativeBuildInputs = [ swig ];

View File

@@ -2,7 +2,7 @@
, pyqt5, numpy, scipy, shapely, libarcus, doxygen, gettext, pythonOlder }:
buildPythonPackage rec {
version = "3.6.0";
version = "4.0.0";
pname = "uranium";
format = "other";
@@ -10,7 +10,7 @@ buildPythonPackage rec {
owner = "Ultimaker";
repo = "Uranium";
rev = version;
sha256 = "02hid13h8anb9bgv2hhrcdg10bxdxa9hj9pbdv3gw3lpn9r2va98";
sha256 = "1dzn064np76q0xpypcwsa7k7arzihg79xw1pgcvdizk9kzc6rw3y";
};
disabled = pythonOlder "3.5.0";