mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-07-20 15:41:16 +00:00
Merge master into staging-next
This commit is contained in:
@@ -1,16 +1,16 @@
|
||||
{ lib, buildPythonPackage, fetchFromGitHub, isPy3k, curve25519-donna, ed25519
|
||||
, cryptography, ecdsa, zeroconf, pytest }:
|
||||
, cryptography, ecdsa, zeroconf, pytestCheckHook }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "HAP-python";
|
||||
version = "3.0.0";
|
||||
version = "3.1.0";
|
||||
|
||||
# pypi package does not include tests
|
||||
src = fetchFromGitHub {
|
||||
owner = "ikalchev";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "07s1kjm9cz4m4ksj506la1ks3dq2b5mk412rjj9rpj98b0mxrr84";
|
||||
sha256 = "1qg38lfjby2xfm09chzc40a7i3b84kgyfs7g4xq8f5m8s39hg6d7";
|
||||
};
|
||||
|
||||
disabled = !isPy3k;
|
||||
@@ -23,20 +23,20 @@ buildPythonPackage rec {
|
||||
zeroconf
|
||||
];
|
||||
|
||||
checkInputs = [ pytest ];
|
||||
checkInputs = [ pytestCheckHook ];
|
||||
|
||||
#disable tests needing network
|
||||
checkPhase = ''
|
||||
pytest -k 'not test_persist \
|
||||
and not test_setup_endpoints \
|
||||
and not test_auto_add_aid_mac \
|
||||
and not test_service_callbacks \
|
||||
and not test_send_events \
|
||||
and not test_not_standalone_aid \
|
||||
and not test_start_stop_async_acc \
|
||||
and not test_external_zeroconf \
|
||||
and not test_start_stop_sync_acc'
|
||||
'';
|
||||
disabledTests = [
|
||||
#disable tests needing network
|
||||
"test_persist"
|
||||
"test_setup_endpoints"
|
||||
"test_auto_add_aid_mac"
|
||||
"test_service_callbacks"
|
||||
"test_send_events"
|
||||
"test_not_standalone_aid"
|
||||
"test_start_stop_async_acc"
|
||||
"test_external_zeroconf"
|
||||
"test_start_stop_sync_acc"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://github.com/ikalchev/HAP-python";
|
||||
|
||||
@@ -10,12 +10,12 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "azure-mgmt-cdn";
|
||||
version = "5.2.0";
|
||||
version = "6.0.0";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
extension = "zip";
|
||||
sha256 = "3e470ba07918a4f97dadb6f50c6f64068da423b735fad38d31d9535c56f06881";
|
||||
sha256 = "590cd35c9f1556a2d93d93a88b5c5661f716de094f22db30f4d05dc58a131c84";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
|
||||
@@ -0,0 +1,32 @@
|
||||
{ lib, buildPythonPackage, fetchPypi
|
||||
, msrestazure
|
||||
, azure-common
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "azure-mgmt-databoxedge";
|
||||
version = "0.2.0";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
extension = "zip";
|
||||
sha256 = "g8BtUpIGOse8Jrws48gQ/o7sgymlgX0XIxl1ThHS3XA=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
msrestazure
|
||||
azure-common
|
||||
];
|
||||
|
||||
# no tests in pypi tarball
|
||||
doCheck = false;
|
||||
|
||||
pythonImportsCheck = [ "azure.mgmt.databoxedge" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Microsoft Azure Databoxedge Management Client Library for Python";
|
||||
homepage = "https://github.com/Azure/azure-sdk-for-python";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ jonringer ];
|
||||
};
|
||||
}
|
||||
@@ -7,16 +7,17 @@
|
||||
, msrestazure
|
||||
, azure-common
|
||||
, azure-mgmt-nspkg
|
||||
, azure-mgmt-core
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "azure-mgmt-loganalytics";
|
||||
version = "2.0.0";
|
||||
version = "7.0.0";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
extension = "zip";
|
||||
sha256 = "947cada6e52fea6ecae7011d7532cf8edbe90250753a58749c473b863331fcc6";
|
||||
sha256 = "e603f9fc61b8d2f93d8814bcca012a8b425cf0c0320ddf1e84462929cf34d1af";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
@@ -24,6 +25,7 @@ buildPythonPackage rec {
|
||||
msrestazure
|
||||
azure-common
|
||||
azure-mgmt-nspkg
|
||||
azure-mgmt-core
|
||||
];
|
||||
|
||||
pythonNamespaces = [ "azure.mgmt" ];
|
||||
|
||||
@@ -10,12 +10,12 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "azure-mgmt-recoveryservices";
|
||||
version = "0.5.0";
|
||||
version = "0.6.0";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
extension = "zip";
|
||||
sha256 = "3c90e6b2e358dbe6d5c6d7204955bdf52c3e977c6f8b727cbbb8811427d7fd52";
|
||||
sha256 = "203ebbd6b698a99975092a72d6d47285646a0264b9085fecef1e7b7c98c5d52e";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
|
||||
@@ -6,12 +6,12 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "azure-synapse-artifacts";
|
||||
version = "0.3.0";
|
||||
version = "0.4.0";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
extension = "zip";
|
||||
sha256 = "0p43zmw96fh3wp75phf3fcqdfb36adqvxfc945yfda6fi555nw1a";
|
||||
sha256 = "09fd9cf8c25c901d2daf7e436062065ada866f212f371f9d66f394d39ccaa23b";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
|
||||
@@ -6,11 +6,11 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "azure-synapse-spark";
|
||||
version = "0.3.0";
|
||||
version = "0.4.0";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "fcfe559e30a2e159f07e371af28d18dc635dc55174fb3457be7210ce8e7e7559";
|
||||
sha256 = "7f5881fda4108363c8c6fdee0494fa067ba81e60f038883859d23fc197f5f286";
|
||||
extension = "zip";
|
||||
};
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ stdenv, buildPythonPackage, fetchPypi, isPyPy, pytest, case, psutil }:
|
||||
{ stdenv, buildPythonPackage, fetchPypi, isPyPy, pytestCheckHook, case, psutil, fetchpatch }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "billiard";
|
||||
@@ -9,11 +9,15 @@ buildPythonPackage rec {
|
||||
inherit pname version;
|
||||
sha256 = "0spssl3byzqsplra166d59jx8iqfxyzvcbx7vybkmwr5ck72a5yr";
|
||||
};
|
||||
patches = [(fetchpatch {
|
||||
# Add Python 3.9 support to spawnv_passfds()
|
||||
# Should be included in next release after 3.6.3.0
|
||||
url = "https://github.com/celery/billiard/pull/310/commits/a508ebafadcfe2e25554b029593f3e66d01ede6c.patch";
|
||||
sha256 = "05zsr1bvjgi01qg7r274c0qvbn65iig3clyz14c08mpfyn38h84i";
|
||||
excludes = [ "tox.ini" ];
|
||||
})];
|
||||
|
||||
checkInputs = [ pytest case psutil ];
|
||||
checkPhase = ''
|
||||
pytest
|
||||
'';
|
||||
checkInputs = [ pytestCheckHook case psutil ];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = "https://github.com/celery/billiard";
|
||||
|
||||
@@ -13,11 +13,11 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "boto3";
|
||||
version = "1.16.44"; # N.B: if you change this, change botocore too
|
||||
version = "1.16.46"; # N.B: if you change this, change botocore too
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "sha256-4/EO1tnKmEFf3sFcheUKiew41iKbzj+v1eeWWxbE68U=";
|
||||
sha256 = "0qlcmzpgmcp9cwrwni750yw9jlhzm407fs428bwkpxnhsxpix6fn";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ botocore jmespath s3transfer ] ++ lib.optionals (!isPy3k) [ futures ];
|
||||
|
||||
@@ -12,11 +12,11 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "botocore";
|
||||
version = "1.19.44"; # N.B: if you change this, change boto3 and awscli to a matching version
|
||||
version = "1.19.46"; # N.B: if you change this, change boto3 and awscli to a matching version
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "sha256-dyXgjJWulsTb2VXLSuRKDAbT5B92p/6wqUHCekTGMRM=";
|
||||
sha256 = "sha256-hcppFa1Ucef2zRsAYQt0YB0pcMv46bG/JVaXFUz2IaM=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, fetchpatch
|
||||
, isPy27
|
||||
, future
|
||||
, h5py
|
||||
@@ -21,6 +22,12 @@ buildPythonPackage rec {
|
||||
inherit pname version;
|
||||
sha256 = "ade11b20d0631dfc9c2f18ce0149f1e61e4baf114108b27cfd68e5c1619ecc0c";
|
||||
};
|
||||
patches = [ (fetchpatch {
|
||||
# Compatibility with h5py 3.
|
||||
# Will be included in the next releasse after 1.3.1
|
||||
url = "https://github.com/pygae/clifford/pull/388/commits/955d141662c68d3d61aa50a162b39e656684c208.patch";
|
||||
sha256 = "00m8ias58xycn5n78sy9wywf4wck1v0gb8gzmg40inzdiha93jyz";
|
||||
}) ];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
future
|
||||
|
||||
@@ -35,6 +35,10 @@ buildPythonPackage rec {
|
||||
xxhash
|
||||
];
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace setup.py --replace '"tqdm>=4.27,<4.50.0"' '"tqdm>=4.27"'
|
||||
'';
|
||||
|
||||
# Tests require pervasive internet access.
|
||||
doCheck = false;
|
||||
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, fetchpatch
|
||||
, dask
|
||||
, distributed
|
||||
, bokeh
|
||||
@@ -36,6 +37,12 @@ buildPythonPackage rec {
|
||||
inherit pname version;
|
||||
sha256 = "b1f80415f72f92ccb660aaea7b2881ddd35d07254f7c44101709d42e819d6be6";
|
||||
};
|
||||
patches = [ (fetchpatch {
|
||||
# Unpins pyct==0.46 (Sep. 11, 2020).
|
||||
# Will be incorporated into the next datashader release after 0.11.1
|
||||
url = "https://github.com/holoviz/datashader/pull/960/commits/d7a462fa399106c34fd0d44505a8a73789dbf874.patch";
|
||||
sha256 = "1wqsk9dpxnkxr49fa7y5q6ahin80cvys05lnirs2w2p1dja35y4x";
|
||||
})];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
dask
|
||||
|
||||
@@ -1,24 +1,28 @@
|
||||
{ lib, buildPythonPackage, fetchFromGitHub, isPy27, requests, netifaces
|
||||
, pytest, testtools, requests-mock }:
|
||||
, pytestCheckHook, testtools, requests-mock }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "denonavr";
|
||||
version = "0.9.3";
|
||||
version = "0.9.9";
|
||||
disabled = isPy27;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "scarface-4711";
|
||||
repo = "denonavr";
|
||||
rev = version;
|
||||
sha256 = "0s8v918n6xn44r2mrq5hqbf0znpz64clq7a1jakkgz9py8bi6vnn";
|
||||
sha256 = "08zh8rdadmxcgr707if6g5k5j2xz21s6jrn4kxh1c7xqpgdfggd9";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ requests netifaces ];
|
||||
propagatedBuildInputs = [
|
||||
requests
|
||||
netifaces
|
||||
];
|
||||
|
||||
doCheck = !isPy27;
|
||||
checkInputs = [ pytest testtools requests-mock ];
|
||||
checkPhase = ''
|
||||
pytest tests
|
||||
'';
|
||||
checkInputs = [
|
||||
pytestCheckHook
|
||||
testtools
|
||||
requests-mock
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://github.com/scarface-4711/denonavr";
|
||||
|
||||
@@ -3,22 +3,19 @@ thrift, pytest, python-snappy, lz4, zstd }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "fastparquet";
|
||||
version = "0.4.1";
|
||||
version = "0.5.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "dask";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
sha256 = "ViZRGEv227/RgCBYAQN8F3Z0m8WrNUT5KUdyFosjg9s=";
|
||||
sha256 = "17i091kky34m2xivk29fqsyxxxa7v4352n79w01n7ni93za6wana";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
# FIXME: package zstandard
|
||||
# removing the test dependency for now
|
||||
substituteInPlace setup.py --replace "'zstandard'," ""
|
||||
|
||||
# workaround for https://github.com/dask/fastparquet/issues/517
|
||||
rm fastparquet/test/test_partition_filters_specialstrings.py
|
||||
'';
|
||||
|
||||
nativeBuildInputs = [ pytestrunner ];
|
||||
|
||||
@@ -41,9 +41,7 @@ buildPythonPackage rec {
|
||||
checkPhase = ''
|
||||
rm -r fiona # prevent importing local fiona
|
||||
# Some tests access network, others test packaging
|
||||
pytest -k "not test_*_http \
|
||||
and not test_*_https \
|
||||
and not test_*_wheel"
|
||||
pytest -k "not (http or https or wheel)"
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
|
||||
@@ -5,6 +5,7 @@
|
||||
, testtools
|
||||
, mock
|
||||
, python
|
||||
, isPy39
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
@@ -26,5 +27,6 @@ buildPythonPackage rec {
|
||||
description = "Reusable state for writing clean tests and more";
|
||||
homepage = "https://pypi.python.org/pypi/fixtures";
|
||||
license = lib.licenses.asl20;
|
||||
broken = isPy39; # see https://github.com/testing-cabal/fixtures/issues/44
|
||||
};
|
||||
}
|
||||
|
||||
@@ -22,6 +22,7 @@ buildPythonPackage rec {
|
||||
# rely on using example programs (flowers/examples/tasks.py) which
|
||||
# are not part of the distribution
|
||||
rm tests/load.py
|
||||
substituteInPlace requirements/default.txt --replace "prometheus_client==0.8.0" "prometheus_client>=0.8.0"
|
||||
'';
|
||||
|
||||
propagatedBuildInputs = [
|
||||
@@ -39,5 +40,6 @@ buildPythonPackage rec {
|
||||
homepage = "https://github.com/mher/flower";
|
||||
license = licenses.bsdOriginal;
|
||||
maintainers = [ maintainers.arnoldfarkas ];
|
||||
broken = (celery.version == "5.0.2"); # currently broken with celery>=5.0 by https://github.com/mher/flower/pull/1021
|
||||
};
|
||||
}
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{ stdenv, buildPythonPackage, fetchFromGitHub, isPy27
|
||||
, pandas, shapely, fiona, descartes, pyproj
|
||||
, pytest, Rtree, fetchpatch }:
|
||||
, pytestCheckHook, Rtree, fetchpatch }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "geopandas";
|
||||
@@ -20,13 +20,18 @@ buildPythonPackage rec {
|
||||
url = "https://github.com/geopandas/geopandas/pull/1544/commits/6ce868a33a2f483b071089d51e178030fa4414d0.patch";
|
||||
sha256 = "1sjgxrqgbhz5krx51hrv230ywszcdl6z8q3bj6830kfad8n8b5dq";
|
||||
})
|
||||
# Fix GeoJSON for Fiona>=1.8.16 (Sep. 7, 2020).
|
||||
# https://github.com/geopandas/geopandas/issues/1606
|
||||
# Will be included in next upstream release after 0.8.1
|
||||
(fetchpatch {
|
||||
url = "https://github.com/geopandas/geopandas/commit/72427d3d8c128039bfce1d54a76c0b652887b276.patch";
|
||||
sha256 = "1726mrpddgmba0ngff73a5bsb6ywpsg63a2pdd2grp9339bgvi4a";
|
||||
})
|
||||
];
|
||||
|
||||
checkInputs = [ pytest Rtree ];
|
||||
|
||||
checkPhase = ''
|
||||
py.test geopandas -m "not web"
|
||||
'';
|
||||
checkInputs = [ pytestCheckHook Rtree ];
|
||||
disabledTests = [ "web" ];
|
||||
pytestFlagsArray = [ "geopandas" ];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
pandas
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, fetchpatch
|
||||
, isPy3k
|
||||
}:
|
||||
|
||||
@@ -9,9 +10,15 @@ buildPythonPackage rec {
|
||||
version = "0.4.2";
|
||||
|
||||
src = fetchPypi {
|
||||
sha256 = "13b05b17a941a9f4a90b16910b1ffac159448cff051a153da8ba4b4343ffa195";
|
||||
inherit pname version;
|
||||
sha256 = "13b05b17a941a9f4a90b16910b1ffac159448cff051a153da8ba4b4343ffa195";
|
||||
};
|
||||
patches = [ (fetchpatch {
|
||||
# Fixes compatibility with python3.9
|
||||
# Should be included in the next release after 0.4.2
|
||||
url = "https://github.com/imageio/imageio-ffmpeg/pull/43/commits/b90c39fe3d29418d67d953588ed9fdf4d848f811.patch";
|
||||
sha256 = "0d9kf4w6ldwag3s2dr9zjin6wrj66fnl4fn8379ci4q4qfsqgx3f";
|
||||
})];
|
||||
|
||||
disabled = !isPy3k;
|
||||
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
{ stdenv, buildPythonPackage, fetchPypi, isPy27
|
||||
, nose
|
||||
, pandas
|
||||
, pytest
|
||||
, pytestCheckHook
|
||||
, scikitlearn
|
||||
, tensorflow
|
||||
}:
|
||||
@@ -17,16 +16,17 @@ buildPythonPackage rec {
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ scikitlearn ];
|
||||
checkInputs = [ nose pytest pandas ];
|
||||
checkPhase = ''
|
||||
checkInputs = [ pytestCheckHook pandas ];
|
||||
preCheck = ''
|
||||
export HOME=$TMPDIR
|
||||
# skip some tests that fail because of minimal rounding errors
|
||||
# or very large dependencies (keras + tensorflow)
|
||||
py.test imblearn -k 'not estimator \
|
||||
and not classification \
|
||||
and not _generator \
|
||||
and not show_versions'
|
||||
'';
|
||||
disabledTests = [
|
||||
"estimator"
|
||||
"classification"
|
||||
"_generator"
|
||||
"show_versions"
|
||||
"test_make_imbalanced_iris"
|
||||
];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Library offering a number of re-sampling techniques commonly used in datasets showing strong between-class imbalance";
|
||||
|
||||
@@ -3,14 +3,14 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "paho-mqtt";
|
||||
version = "1.5.0";
|
||||
version = "1.5.1";
|
||||
|
||||
# No tests in PyPI tarball
|
||||
src = fetchFromGitHub {
|
||||
owner = "eclipse";
|
||||
repo = "paho.mqtt.python";
|
||||
rev = "v${version}";
|
||||
sha256 = "1fq5z53g2k18iiqnz5qq87vzjpppfza072nx0dwllmhimm2dskh5";
|
||||
sha256 = "1y537i6zxkjkmi80w5rvd18npz1jm5246i2x8p3q7ycx94i8ixs0";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
|
||||
@@ -7,12 +7,12 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "pyclipper";
|
||||
version = "1.2.0";
|
||||
version = "1.2.1";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
extension = "zip";
|
||||
sha256 = "0irs5sn6ldpg70630nfndghjnpxv8jldk61zyczfzp1jcz53b43s";
|
||||
sha256 = "ca3751e93559f0438969c46f17459d07f983281dac170c3479de56492e152855";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
|
||||
@@ -60,11 +60,11 @@ buildPythonPackage rec {
|
||||
sed -i "s|/bin/bash|${bash}/bin/bash|" ../Tests/test-*.sh
|
||||
make -C ../Tests
|
||||
|
||||
${python.interpreter} -c "import pysvn"
|
||||
|
||||
runHook postCheck
|
||||
'';
|
||||
|
||||
pythonImportCheck = [ "pysvn" ];
|
||||
|
||||
installPhase = ''
|
||||
dest=$(toPythonPath $out)/pysvn
|
||||
mkdir -p $dest
|
||||
@@ -80,5 +80,4 @@ buildPythonPackage rec {
|
||||
homepage = "http://pysvn.tigris.org/";
|
||||
license = licenses.asl20;
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
@@ -12,7 +12,7 @@ buildPythonPackage rec {
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
license = licenses.mit;
|
||||
homepage = "https://pypi.python.org/pypi/pytest-catchlog/";
|
||||
homepage = "https://github.com/omarkohl/pytest-datafiles";
|
||||
description = "py.test plugin to create a 'tmpdir' containing predefined files/directories.";
|
||||
};
|
||||
}
|
||||
|
||||
26
pkgs/development/python-modules/python-tado/default.nix
Normal file
26
pkgs/development/python-modules/python-tado/default.nix
Normal file
@@ -0,0 +1,26 @@
|
||||
{ buildPythonPackage, fetchFromGitHub, lib, pytestCheckHook, pythonOlder, requests }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "python-tado";
|
||||
version = "0.9.0";
|
||||
|
||||
disabled = pythonOlder "3.5";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "wmalgadey";
|
||||
repo = "PyTado";
|
||||
rev = version;
|
||||
sha256 = "0cr5sxdvjgdrrlhl32rs8pwyay8liyi6prm37y66dn00b41cb5l3";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ requests ];
|
||||
checkInputs = [ pytestCheckHook ];
|
||||
|
||||
meta = with lib; {
|
||||
description =
|
||||
"Python binding for Tado web API. Pythonize your central heating!";
|
||||
homepage = "https://github.com/wmalgadey/PyTado";
|
||||
license = licenses.gpl3Plus;
|
||||
maintainers = with maintainers; [ jamiemagee ];
|
||||
};
|
||||
}
|
||||
@@ -3,6 +3,7 @@
|
||||
, fetchPypi
|
||||
, typing-extensions
|
||||
, mypy-extensions
|
||||
, isPy39
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
@@ -25,5 +26,6 @@ buildPythonPackage rec {
|
||||
homepage = "https://github.com/ilevkivskyi/typing_inspect";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ albakham ];
|
||||
broken = isPy39; # see https://github.com/ilevkivskyi/typing_inspect/issues/65
|
||||
};
|
||||
}
|
||||
|
||||
@@ -20,7 +20,7 @@ buildPythonPackage rec {
|
||||
# circular dependency on test tool uranium https://pypi.org/project/uranium/
|
||||
doCheck = false;
|
||||
|
||||
pythonImportTests = [ "vcver" ];
|
||||
pythonImportsCheck = [ "vcver" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Reference Implementation of vcver";
|
||||
|
||||
@@ -7,11 +7,11 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "zstandard";
|
||||
version = "0.14.1";
|
||||
version = "0.15.0";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "5dd700e52ec28c64d43f681ccde76b6436c8f89a332d6c9e22a6b629f28daeb5";
|
||||
sha256 = "22395e97bcfdb222246da4fdf8739ed762ffce1e5d0b526eb051c90da20268d7";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ cffi ];
|
||||
|
||||
Reference in New Issue
Block a user