Merge staging-next into staging
This commit is contained in:
@@ -0,0 +1,31 @@
|
||||
{ lib
|
||||
, fetchPypi
|
||||
, buildPythonPackage
|
||||
, isPy3k
|
||||
, aiolifx
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "aiolifx-effects";
|
||||
version = "0.2.1";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit version;
|
||||
pname = "aiolifx_effects";
|
||||
sha256 = "cb4ac52deeb220783fc6449251cf40833fcffa28648270be64b1b3e83e06b503";
|
||||
};
|
||||
|
||||
# tests are not implemented
|
||||
doCheck = false;
|
||||
|
||||
disabled = !isPy3k;
|
||||
|
||||
propagatedBuildInputs = [ aiolifx ];
|
||||
|
||||
meta = with lib; {
|
||||
homepage = https://github.com/amelchio/aiolifx_effects;
|
||||
license = licenses.mit;
|
||||
description = "Light effects (pulse, colorloop ...) for LIFX lights running on aiolifx";
|
||||
maintainers = with maintainers; [ netixx ];
|
||||
};
|
||||
}
|
||||
@@ -0,0 +1,31 @@
|
||||
{ lib
|
||||
, fetchPypi
|
||||
, buildPythonPackage
|
||||
, isPy3k
|
||||
, ifaddr
|
||||
, bitstring
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "aiolifx";
|
||||
version = "0.6.7";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "cf53c9faea6eee25a466e73eef1753b82a75c7497648149c19c15342df2678f2";
|
||||
};
|
||||
|
||||
# tests are not implemented
|
||||
doCheck = false;
|
||||
|
||||
disabled = !isPy3k;
|
||||
|
||||
propagatedBuildInputs = [ bitstring ifaddr ];
|
||||
|
||||
meta = with lib; {
|
||||
homepage = http://github.com/frawau/aiolifx;
|
||||
license = licenses.mit;
|
||||
description = "API for local communication with LIFX devices over a LAN with asyncio";
|
||||
maintainers = with maintainers; [ netixx ];
|
||||
};
|
||||
}
|
||||
@@ -20,14 +20,26 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "cassandra-driver";
|
||||
version = "3.15.1";
|
||||
version = "3.16.0";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "1xcirbvlj00id8269akhk8gy2sv0mlnbgy3nagi32648jwsrcadg";
|
||||
sha256 = "1gjs2lqy0ba6zhh13a1dhirk59i7lc4zcbl7h50619hdm5kv3g22";
|
||||
};
|
||||
|
||||
buildInputs = [ pkgs.libev cython ];
|
||||
buildInputs = [
|
||||
pkgs.libev
|
||||
# NOTE: next version will work with cython 0.29
|
||||
# Requires 'Cython!=0.25,<0.29,>=0.20'
|
||||
(cython.overridePythonAttrs(old: rec {
|
||||
pname = "Cython";
|
||||
version = "0.28.3";
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "1aae6d6e9858888144cea147eb5e677830f45faaff3d305d77378c3cba55f526";
|
||||
};
|
||||
}))
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [ six ]
|
||||
++ stdenv.lib.optionals (pythonOlder "3.4") [ futures ];
|
||||
|
||||
@@ -4,12 +4,12 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "llfuse";
|
||||
version = "1.3.5";
|
||||
version = "1.3.6";
|
||||
name = pname + "-" + version;
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://pypi/l/llfuse/${name}.tar.bz2";
|
||||
sha256 = "6e412a3d9be69162d49b8a4d6fb3c343d1c1fba847f4535d229e0ece2548ead8";
|
||||
sha256 = "1j9fzxpgmb4rxxyl9jcf84zvznhgi3hnh4hg5vb0qaslxkvng8ii";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ pkgconfig ];
|
||||
@@ -24,7 +24,7 @@ buildPythonPackage rec {
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Python bindings for the low-level FUSE API";
|
||||
homepage = https://code.google.com/p/python-llfuse/;
|
||||
homepage = https://github.com/python-llfuse/python-llfuse;
|
||||
license = licenses.lgpl2Plus;
|
||||
platforms = platforms.unix;
|
||||
maintainers = with maintainers; [ bjornfor ];
|
||||
|
||||
@@ -2,14 +2,14 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "mail-parser";
|
||||
version = "3.4.1";
|
||||
version = "3.9.2";
|
||||
|
||||
# no tests in PyPI tarball
|
||||
src = fetchFromGitHub {
|
||||
owner = "SpamScope";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "0nxilshq4gwpicdklja9p275yf8l5kr1lk620c3cx9w4qai4cmbv";
|
||||
sha256 = "0f515a8r3qz3i2cm4lvs5aw59193jl9mk7bmaj9545n4miyar4nr";
|
||||
};
|
||||
|
||||
LC_ALL = "en_US.utf-8";
|
||||
|
||||
@@ -6,14 +6,14 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "rasterio";
|
||||
version = "1.0.15";
|
||||
version = "1.0.18";
|
||||
|
||||
# Pypi doesn't ship the tests, so we fetch directly from GitHub
|
||||
src = fetchFromGitHub {
|
||||
owner = "mapbox";
|
||||
repo = "rasterio";
|
||||
rev = version;
|
||||
sha256 = "0waxkqdkaxxmqnkpj397niq193l2bg8s9isal4c7q12jbm6mf7f7";
|
||||
sha256 = "05miivbn2c5slc5nn7fpdn1da42qwzg4z046i71f4r70bc49vsj9";
|
||||
};
|
||||
|
||||
checkInputs = [ boto3 pytest pytestcov packaging hypothesis ];
|
||||
|
||||
@@ -0,0 +1,43 @@
|
||||
{ lib, buildPythonPackage, fetchPypi, wheel, setuptools, packaging
|
||||
, cmake, ninja, cython, codecov, coverage, six, virtualenv, pathpy
|
||||
, pytest, pytestcov, pytest-virtualenv, pytest-mock, pytestrunner
|
||||
, requests, flake8 }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "scikit-build";
|
||||
version = "0.8.1";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "1hh275lj98wgwi53mr9fqk8wh1dajjksch52xjax6a79gld4391a";
|
||||
};
|
||||
|
||||
# Fixes incorrect specified requirement (part of next release)
|
||||
patches = [ ./fix_pytestrunner_req.patch ];
|
||||
|
||||
propagatedBuildInputs = [ wheel setuptools packaging ];
|
||||
checkInputs = [
|
||||
cmake ninja cython codecov coverage six virtualenv pathpy
|
||||
pytest pytestcov pytest-mock pytest-virtualenv pytestrunner
|
||||
requests flake8
|
||||
];
|
||||
|
||||
disabledTests = lib.concatMapStringsSep " and " (s: "not " + s) ([
|
||||
"test_hello_develop" # tries setuptools develop install
|
||||
"test_wheel" # pip has no way to install missing dependencies
|
||||
"test_fortran_compiler" # passes if gfortran is available
|
||||
"test_install_command" # tries to alter out path
|
||||
"test_test_command" # tries to alter out path
|
||||
]);
|
||||
|
||||
checkPhase = ''
|
||||
py.test -k '${disabledTests}'
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
homepage = http://scikit-build.org/;
|
||||
description = "Improved build system generator for CPython C/C++/Fortran/Cython extensions";
|
||||
license = with licenses; [ mit bsd2 ]; # BSD due to reuses of PyNE code
|
||||
maintainers = [ maintainers.FlorianFranzen ];
|
||||
};
|
||||
}
|
||||
@@ -0,0 +1,13 @@
|
||||
diff --git a/setup.py b/setup.py
|
||||
index dd348fa..4de89c6 100755
|
||||
--- a/setup.py
|
||||
+++ b/setup.py
|
||||
@@ -22,7 +22,7 @@ with open('requirements-dev.txt', 'r') as fp:
|
||||
dev_requirements = list(filter(bool, (line.strip() for line in fp)))
|
||||
|
||||
# Require pytest-runner only when running tests
|
||||
-pytest_runner = (['pytest-runner>=2.0,<3dev']
|
||||
+pytest_runner = (['pytest-runner>=2.0']
|
||||
if any(arg in sys.argv for arg in ('pytest', 'test'))
|
||||
else [])
|
||||
|
||||
@@ -2,12 +2,12 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "telethon";
|
||||
version = "1.5.4";
|
||||
version = "1.5.5";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit version;
|
||||
pname = "Telethon";
|
||||
sha256 = "52cb4929bf37c98ab5f3e173325dbb3cb9c1ca3f4fe6ba87d35c43e2f98858ce";
|
||||
sha256 = "1qpc4vc3lidhlp1c7521nxizjr6y5c3l9x41knqv02x8n3l9knxa";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
|
||||
@@ -3,13 +3,13 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "twilio";
|
||||
version = "6.23.1";
|
||||
version = "6.24.0";
|
||||
# tests not included in PyPi, so fetch from github instead
|
||||
src = fetchFromGitHub {
|
||||
owner = "twilio";
|
||||
repo = "twilio-python";
|
||||
rev = version;
|
||||
sha256 = "0f6r2qcgcg4pnnsgf9d1k03ri7h7k8kpasp9mdgv421a4rvqh8lm";
|
||||
sha256 = "16lxns59fms75swfjz46484464q4b1fw3ybf8f2k56aas9gyzb2j";
|
||||
};
|
||||
|
||||
buildInputs = [ nose mock ];
|
||||
|
||||
Reference in New Issue
Block a user