Merge pull request #35680 from NixOS/python-unstable
Python: last major updates package set
This commit is contained in:
commit
405407fcf5
@ -10,11 +10,11 @@
|
||||
|
||||
buildPythonApplication rec {
|
||||
pname = "spyder";
|
||||
version = "3.2.6";
|
||||
version = "3.2.7";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "87d6a4f5ee1aac4284461ee3584c3ade50cb53feb3fe35abebfdfb9be18c526a";
|
||||
sha256 = "b5bb8fe0a556930dc09b68fa2741a0de3da6488843ec960e0c62f1f3b2e08e2f";
|
||||
};
|
||||
|
||||
# Somehow setuptools can't find pyqt5. Maybe because the dist-info folder is missing?
|
||||
|
@ -3,7 +3,7 @@
|
||||
with python2Packages;
|
||||
buildPythonApplication rec {
|
||||
name = "${pname}-${version}";
|
||||
version = "0.3.0";
|
||||
version = "0.3.1";
|
||||
pname = "nbstripout";
|
||||
|
||||
# Mercurial should be added as a build input but because it's a Python
|
||||
@ -14,7 +14,7 @@ buildPythonApplication rec {
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "126xhjma4a0k7gq58hbqglhb3rai0a576azz7g8gmqjr3kl0264v";
|
||||
sha256 = "b997c99b8bbb865988202d2f005cdaabb2598b07dad891c302a147a5871a4a95";
|
||||
};
|
||||
|
||||
# for some reason, darwin uses /bin/sh echo native instead of echo binary, so
|
||||
|
@ -3,15 +3,13 @@
|
||||
, pytestrunner, requests-mock, pytestcov, pytest
|
||||
}:
|
||||
|
||||
|
||||
buildPythonPackage rec {
|
||||
name = "${pname}-${version}";
|
||||
pname = "MechanicalSoup";
|
||||
version = "0.9.0.post4";
|
||||
version = "0.10.0";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "ce8f822afbc9bef1499be417e8d5deecd0cd32606420165700e89477955f03ab";
|
||||
sha256 = "22423efd025c3eedb06f41d3ff1127174a59f40dc560e82dce143956976195bf";
|
||||
};
|
||||
|
||||
checkInputs = [ pytest pytestrunner requests-mock pytestcov ];
|
||||
|
@ -6,12 +6,11 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "absl-py";
|
||||
version = "0.1.9";
|
||||
name = "${pname}-${version}";
|
||||
version = "0.1.10";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "1c787e3bc7ef8fea7a8a79cf36b0c550b4bd66e13c05d1352fbc5786488befb0";
|
||||
sha256 = "908eba9a96a37c10f10074aba57d685070b814906b02a1ea2cf54bb10a6b8c74";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ six ];
|
||||
|
@ -15,11 +15,11 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "aiohttp";
|
||||
version = "3.0.3";
|
||||
version = "3.0.4";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "a96be9189b2d51e366106e4207c9afaf3d69462562548a613e399c311ff70b88";
|
||||
sha256 = "6569b8850103595be10fcfa1fa911b01f876651921f52d769017b21d822e5dc3";
|
||||
};
|
||||
|
||||
disabled = pythonOlder "3.4";
|
||||
|
@ -1,22 +1,21 @@
|
||||
{ stdenv, buildPythonPackage, fetchurl
|
||||
{ stdenv, buildPythonPackage, fetchPypi
|
||||
, sqlite, isPyPy }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "apsw";
|
||||
version = "3.7.6.2-r1";
|
||||
name = "${pname}-${version}";
|
||||
version = "3.9.2-r1";
|
||||
|
||||
disabled = isPyPy;
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://apsw.googlecode.com/files/${name}.zip";
|
||||
sha256 = "cb121b2bce052609570a2f6def914c0aa526ede07b7096dddb78624d77f013eb";
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "dab96fd164dde9e59f7f27228291498217fa0e74048e2c08c7059d7e39589270";
|
||||
};
|
||||
|
||||
buildInputs = [ sqlite ];
|
||||
|
||||
# python: double free or corruption (fasttop): 0x0000000002fd4660 ***
|
||||
doCheck = false;
|
||||
# doCheck = false;
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "A Python wrapper for the SQLite embedded relational database engine";
|
||||
|
@ -1,19 +1,21 @@
|
||||
{ stdenv, buildPythonPackage, fetchPypi, pytz, pytest }:
|
||||
{ stdenv, buildPythonPackage, fetchPypi, pytz, requests, pytest }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "astral";
|
||||
version = "1.5";
|
||||
version = "1.6";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "527628fbfe90c1596c3950ff84ebd07ecc10c8fb1044c903a0519b5057700cb6";
|
||||
sha256 = "874b397ddbf0a4c1d8d644b21c2481e8a96b61343f820ad52d8a322d61a15083";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ pytz ];
|
||||
propagatedBuildInputs = [ pytz requests ];
|
||||
|
||||
checkInputs = [ pytest ];
|
||||
checkPhase = ''
|
||||
py.test -k "not test_GoogleLocator"
|
||||
# https://github.com/sffjunkie/astral/pull/13
|
||||
touch src/test/.api_key
|
||||
py.test -m "not webtest"
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
|
@ -1,6 +1,6 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchurl
|
||||
, fetchFromGitHub
|
||||
, pytest
|
||||
, contextlib2
|
||||
, cytoolz
|
||||
@ -27,9 +27,11 @@ buildPythonPackage rec {
|
||||
pname = "blaze";
|
||||
version = "0.11.3";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://github.com/blaze/blaze/archive/${version}.tar.gz";
|
||||
sha256 = "075gqc9d7g284z4nfwv5zbq99ln22w25l4lcndjg3v10kmsjadww";
|
||||
src = fetchFromGitHub {
|
||||
owner = pname;
|
||||
repo = pname;
|
||||
rev = version;
|
||||
sha256 = "0w916k125058p40cf7i090f75pgv3cqdb8vwjzqhb9r482fa6717";
|
||||
};
|
||||
|
||||
checkInputs = [ pytest ];
|
||||
|
@ -9,9 +9,9 @@ let
|
||||
};
|
||||
setuptools_source = fetchPypi {
|
||||
pname = "setuptools";
|
||||
version = "38.4.0";
|
||||
version = "38.4.1";
|
||||
format = "wheel";
|
||||
sha256 = "155c2ec9fdcc00c3973d966b416e1cf3a1e7ce75f4c09fb760b23f94b935926e";
|
||||
sha256 = "22f8bcff5ce7fd1867785701769eaba42b79331d0abf890974a9288787dc015b";
|
||||
};
|
||||
|
||||
# TODO: Shouldn't be necessary anymore for pip > 9.0.1!
|
||||
|
@ -13,13 +13,13 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "boto3";
|
||||
version = "1.4.8";
|
||||
version = "1.6.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "boto";
|
||||
repo = "boto3";
|
||||
rev = version;
|
||||
sha256 = "11ysd7a9l5y98q7b7az56phsj2m7w90abf4jabwrknp2c43sq9bi";
|
||||
sha256 = "14d60wc5kff2gjkrm0yfz0179s0qg3f1qqldv8hnf37ny6yvfwn3";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ botocore jmespath s3transfer ] ++ lib.optionals (!isPy3k) [ futures ];
|
||||
|
@ -12,11 +12,11 @@
|
||||
buildPythonPackage rec {
|
||||
name = "${pname}-${version}";
|
||||
pname = "botocore";
|
||||
version = "1.8.50";
|
||||
version = "1.9.0";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "a80a23e080f4a93d11a1c067a69304dd407d18c358cba1e0df8c96f56c9e98b4";
|
||||
sha256 = "f70f7f5682a2e7593079ec813f774044ef464b0ebe680dab47930f40e230d6d5";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
|
@ -1,19 +1,28 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, fetchFromGitHub
|
||||
, pytest
|
||||
, freezegun
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "cached-property";
|
||||
version = "1.3.1";
|
||||
version = "1.4.0";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "6562f0be134957547421dda11640e8cadfa7c23238fc4e0821ab69efdb1095f3";
|
||||
# conftest.py is missing in PyPI tarball
|
||||
# https://github.com/pydanny/cached-property/pull/87
|
||||
src = fetchFromGitHub {
|
||||
owner = "pydanny";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
sha256 = "0w7709grs4yqhfbnn7lva2fgyphvh43xcfqhi95lhh8sjad3xwkw";
|
||||
};
|
||||
|
||||
checkInputs = [ freezegun ];
|
||||
checkInputs = [ pytest freezegun ];
|
||||
|
||||
checkPhase = ''
|
||||
py.test
|
||||
'';
|
||||
|
||||
meta = {
|
||||
description = "A decorator for caching properties in classes";
|
||||
@ -22,4 +31,4 @@ buildPythonPackage rec {
|
||||
platforms = lib.platforms.unix;
|
||||
maintainers = with lib.maintainers; [ ericsagnes ];
|
||||
};
|
||||
}
|
||||
}
|
||||
|
@ -3,12 +3,12 @@
|
||||
buildPythonPackage rec {
|
||||
name = "${pname}-${version}";
|
||||
pname = "cachetools";
|
||||
version = "1.1.3";
|
||||
version = "2.0.1";
|
||||
disabled = isPyPy; # a test fails
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "0js7qx5pa8ibr8487lcf0x3a7w0xml0wa17snd6hjs0857kqhn20";
|
||||
sha256 = "ede01f2d3cbd6ddc9e35e16c2b0ce011d8bb70ce0dbaf282f5b4df24b213bc5d";
|
||||
};
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
|
@ -8,11 +8,11 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "python-can";
|
||||
version = "2.0.0";
|
||||
version = "2.1.0";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "1c6zfd29ck9ffdklfb5xgxvfl52xdaqd89isykkypm1ll97yk2fs";
|
||||
sha256 = "4a5c01dd67feeda35f88e6c12ea14ac8cabd426b9be0cc5f9fd083fe90a9dbfc";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ pyserial ];
|
||||
|
@ -6,11 +6,11 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "chainer";
|
||||
version = "3.3.0";
|
||||
version = "3.4.0";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "0669375e5b09d687781a37d6c025ee0a6015f575b4d2c70a2ad09c33b8228f86";
|
||||
sha256 = "b7bcd8fc1a39b3602b4a78a0be6012721ba6c8792c4d14773496a4c6d038f886";
|
||||
};
|
||||
|
||||
checkInputs = [
|
||||
|
@ -2,15 +2,14 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "codecov";
|
||||
version = "2.0.9";
|
||||
name = "${pname}-${version}";
|
||||
version = "2.0.15";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "037h4dcl8xshlq3rj8409p11rpgnyqrhlhfq8j34s94nm0n1h76v";
|
||||
sha256 = "8ed8b7c6791010d359baed66f84f061bba5bd41174bf324c31311e8737602788";
|
||||
};
|
||||
|
||||
buildInputs = [ unittest2 ]; # Tests only
|
||||
checkInputs = [ unittest2 ]; # Tests only
|
||||
|
||||
propagatedBuildInputs = [ requests coverage ];
|
||||
|
||||
@ -18,6 +17,9 @@ buildPythonPackage rec {
|
||||
sed -i 's/, "argparse"//' setup.py
|
||||
'';
|
||||
|
||||
# No tests in archive
|
||||
doCheck = false;
|
||||
|
||||
meta = {
|
||||
description = "Python report uploader for Codecov";
|
||||
homepage = https://codecov.io/;
|
||||
|
@ -6,11 +6,11 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "cupy";
|
||||
version = "2.3.0";
|
||||
version = "2.4.0";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "7426f6332cb01513d2a6a687792dfa17c678ff64dd1b19b04559ddd5672c833f";
|
||||
sha256 = "96ac44dface1a73673e9c0549fc897f8fa31a7648ff9963dff799ddabd67fde2";
|
||||
};
|
||||
|
||||
checkInputs = [
|
||||
|
@ -7,13 +7,13 @@
|
||||
buildPythonPackage rec {
|
||||
pname = "Django";
|
||||
name = "${pname}-${version}";
|
||||
version = "2.0.1";
|
||||
version = "2.0.2";
|
||||
|
||||
disabled = !isPy3k;
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "0by1gswkrzxn594fa26llkzsc410999fq8s0b5d1598jwi5q0syr";
|
||||
sha256 = "dc3b61d054f1bced64628c62025d480f655303aea9f408e5996c339a543b45f0";
|
||||
};
|
||||
|
||||
patches = stdenv.lib.optionals withGdal [
|
||||
|
@ -1,17 +1,20 @@
|
||||
{ lib, buildPythonPackage, fetchurl, flask, pytest }:
|
||||
{ lib, buildPythonPackage, fetchPypi, flask, pytest }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
name = "Flask-Script-${version}";
|
||||
pname = "Flask-Script";
|
||||
version = "2.0.6";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://pypi/F/Flask-Script/${name}.tar.gz";
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "0zqh2yq8zk7m9b4xw1ryqmrljkdigfb3hk5155a3b5hkfnn6xxyf";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ flask ];
|
||||
checkInputs = [ pytest ];
|
||||
|
||||
# No tests in archive
|
||||
doCheck = false;
|
||||
|
||||
meta = with lib; {
|
||||
homepage = http://github.com/smurfix/flask-script;
|
||||
description = "Scripting support for Flask";
|
||||
|
@ -7,12 +7,12 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "fonttools";
|
||||
version = "3.22.0";
|
||||
version = "3.23.0";
|
||||
name = "${pname}-${version}";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "01640dfbc0ba752181b21fe74240b8a7bbf7af75581737245836ada5565bd549";
|
||||
sha256 = "9af97075be0395b631880a82ba88dcf694c8aa76b07a622bf5f650e8f8cff293";
|
||||
extension = "zip";
|
||||
};
|
||||
|
||||
|
@ -3,12 +3,12 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "GPy";
|
||||
version = "1.8.5";
|
||||
version = "1.9.2";
|
||||
name = "${pname}-${version}";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "1562e34629192f209273f454e41614a127c6ef04144cd0eb5992d484721d55d3";
|
||||
sha256 = "372e43d41df5c90e0958d3073070994b351a7409c2e5fbd349cffe13bc24c10a";
|
||||
};
|
||||
|
||||
# running tests produces "ImportError: cannot import name 'linalg_cython'"
|
||||
|
@ -2,18 +2,13 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "green";
|
||||
version = "2.12.0";
|
||||
version = "2.12.1";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "8cdd2934eff754c9664f373ee0d77cb1cb35dbbf3b719b8ae3b059718db875df";
|
||||
sha256 = "4c0c163bd2ce2da1f201eb69fd92fc24aaeab884f9e5c5a8c23d507a53336fa8";
|
||||
};
|
||||
|
||||
prePatch = ''
|
||||
# See https://github.com/CleanCut/green/pull/182
|
||||
substituteInPlace setup.py --replace python-termstyle termstyle
|
||||
'';
|
||||
|
||||
propagatedBuildInputs = [
|
||||
colorama coverage termstyle unidecode
|
||||
] ++ lib.optionals (!isPy3k) [ mock backports_shutil_get_terminal_size ];
|
||||
|
@ -9,12 +9,12 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "guessit";
|
||||
version = "2.0.4";
|
||||
version = "2.1.4";
|
||||
name = "${pname}-${version}";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "1cfcgb0px6i9jl8nwkx8j06j4y6p5975a9pfmd8lcacwr8gy4wjg";
|
||||
sha256 = "90e6f9fb49246ad27f34f8b9984357e22562ccc3059241cbc08b4fac1d401c56";
|
||||
};
|
||||
|
||||
# Tests require more packages.
|
||||
|
@ -1,15 +1,16 @@
|
||||
{ stdenv, buildPythonPackage, fetchurl, pytest }:
|
||||
{ stdenv, buildPythonPackage, fetchPypi, idna, pytest }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "hyperlink";
|
||||
version = "17.3.1";
|
||||
name = pname + "-" + version;
|
||||
version = "18.0.0";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://pypi/h/hyperlink/${name}.tar.gz";
|
||||
sha256 = "bc4ffdbde9bdad204d507bd8f554f16bba82dd356f6130cb16f41422909c33bc";
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "f01b4ff744f14bc5d0a22a6b9f1525ab7d6312cb0ff967f59414bbac52f0a306";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ idna ];
|
||||
|
||||
checkInputs = [ pytest ];
|
||||
|
||||
checkPhase = ''
|
||||
|
@ -2,12 +2,12 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
name = "${pname}-${version}";
|
||||
version = "1.3.5";
|
||||
version = "1.4.1";
|
||||
pname = "kafka-python";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "19m9fdckxqngrgh0www7g8rgi7z0kq13wkhcqy1r8aa4sxad0f5j";
|
||||
sha256 = "596e9b4e302a0dc04d35be159cf23d31c4cba73a218e16fc8cd1be0ad57f8c22";
|
||||
};
|
||||
|
||||
checkInputs = [ pytest six mock ];
|
||||
|
@ -10,13 +10,13 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "llvmlite";
|
||||
version = "0.21.0";
|
||||
version = "0.22.0";
|
||||
|
||||
disabled = isPyPy;
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "3a5dd0695fdfb9fd47464cd71791b84935bf9642e11f4811d57aa1f2da8cdaa8";
|
||||
sha256 = "a0a875f3d502f41f4a24444aa98fbf076a6bf36e2a0b3b4481b22e1c4a3acdc2";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ llvm ] ++ stdenv.lib.optional (pythonOlder "3.4") enum34;
|
||||
|
@ -8,12 +8,12 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "mozdevice";
|
||||
version = "0.50";
|
||||
version = "0.52";
|
||||
name = "${pname}-${version}";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "0cfxzhfxdphlzj80vkd3h7m0mg5w7zhb8h6f5lmybliqdiv9vz20";
|
||||
sha256 = "5b6fcbc7179c0f09bd99f7f7c42b614bce5f39543fb18b190e408488f987d6b5";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ moznetwork mozprocess ];
|
||||
|
@ -4,22 +4,25 @@
|
||||
, fetchPypi
|
||||
, isPy3k
|
||||
, blessings
|
||||
, mozterm
|
||||
, six
|
||||
, mozfile
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "mozlog";
|
||||
version = "3.4";
|
||||
name = "${pname}-${version}";
|
||||
version = "3.7";
|
||||
|
||||
disabled = isPy3k;
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "1m4d9i1kzcmkhipfd5czv05f2s84j1byx3cv4y2irjmwq5v6cyiq";
|
||||
sha256 = "414141131c4f5e7242e69a939d2b74f4ed8dbac12bef93eee4e7125cd1a131e9";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ blessings mozfile ];
|
||||
propagatedBuildInputs = [ blessings mozterm six ];
|
||||
|
||||
checkInputs = [ mozfile ];
|
||||
|
||||
meta = {
|
||||
description = "Mozilla logging library";
|
||||
|
@ -7,12 +7,12 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "mozprocess";
|
||||
version = "0.25";
|
||||
version = "0.26";
|
||||
name = "${pname}-${version}";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "0lfflwjkwvc8bqvsgdib3b78w2pms8nharh3sc3zgsrmqb1mbzks";
|
||||
sha256 = "9f471c45bee9ff14e936c6ee216a6cc4941223659c01fa626bce628001d8485c";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ mozinfo ];
|
||||
|
@ -9,12 +9,12 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "mozprofile";
|
||||
version = "0.28";
|
||||
version = "0.29";
|
||||
name = "${pname}-${version}";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "15xsdhrpbg7hlr6nvb3k3ci33h786hrv12az8j2k7aa9gzjcf8nh";
|
||||
sha256 = "92af4b9f527a18997dccb60e846e1844b2428668dadf3ccb1a8cd30c706b25c1";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ mozlog mozfile mozhttpd ];
|
||||
|
@ -13,12 +13,12 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "mozrunner";
|
||||
version = "6.13";
|
||||
version = "6.14";
|
||||
name = "${pname}-${version}";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "1d5k3a0w1iyyk6l28l65j47grq87zd207h369x4vahq02nrx2g6l";
|
||||
sha256 = "a401ea5141cdd15d8f047f19a30ccbeabeb0aea079674b684121acddc5dcf810";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ mozdevice mozfile mozinfo mozlog mozprocess
|
||||
|
@ -8,12 +8,12 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "mozversion";
|
||||
version = "1.4";
|
||||
version = "1.5";
|
||||
name = "${pname}-${version}";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "15ipddn6bpqxl590cy37fj52vgpa4faw2dax1mwvdxj7b18s3pwh";
|
||||
sha256 = "e9b11e4a46bf7a4a11469ea4589c75f3ba50b34b7801e7edf1a09147af8bf70f";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ mozlog mozdevice ];
|
||||
|
16
pkgs/development/python-modules/mozterm/default.nix
Normal file
16
pkgs/development/python-modules/mozterm/default.nix
Normal file
@ -0,0 +1,16 @@
|
||||
{ lib, buildPythonPackage, fetchPypi }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "mozterm";
|
||||
version = "0.1.0";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "4ebf8bd772d97c0f557184173f0f96cfca0abfc07e1ae975fbcfa76be50b5561";
|
||||
};
|
||||
|
||||
meta = with lib; {
|
||||
description = "Terminal abstractions built around the blessings module";
|
||||
license = licenses.mpl20;
|
||||
};
|
||||
}
|
@ -14,12 +14,12 @@
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
version = "0.36.2";
|
||||
version = "0.37.0";
|
||||
pname = "numba";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "d61597808ce511e81b64e32da664f52beb7d947bf834dde8b8b60b29d205e5c2";
|
||||
sha256 = "c62121b2d384d8b4d244ef26c1cf8bb5cb819278a80b893bf41918ad6d391258";
|
||||
};
|
||||
|
||||
NIX_CFLAGS_COMPILE = stdenv.lib.optionalString stdenv.isDarwin "-I${libcxx}/include/c++/v1";
|
||||
|
@ -2,12 +2,12 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "paramz";
|
||||
version = "0.8.5";
|
||||
version = "0.9.1";
|
||||
name = "${pname}-${version}";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "297e59b48e57e78e15f547b1af8b21ddfd19a6312d70b9dc07c7262711adfed9";
|
||||
sha256 = "8a5a2fe5cdb033eb869c49e81fde2a9d0055fadb53a8af1665a7f48f320179cf";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ numpy scipy six decorator ];
|
||||
|
@ -2,12 +2,12 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "phonenumbers";
|
||||
version = "8.8.9";
|
||||
version = "8.9.0";
|
||||
name = "${pname}-${version}";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "d819299c3aa8f85f248295ab8559e202af429b4017301b122a0b4c387aed10d2";
|
||||
sha256 = "2cb4822ba895200b06f46a788e852d6ae8200fdc97e1d7c86b0ee10c99d4ff3a";
|
||||
};
|
||||
|
||||
meta = {
|
||||
|
@ -1,7 +1,8 @@
|
||||
{ lib, fetchFromGitHub, buildPythonPackage, isPyPy, isPy3k, libbfd, libopcodes }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
name = "pybfd-0.1.1.2017-12-31";
|
||||
pname = "pybfd";
|
||||
version = "-0.1.1.2017-12-31";
|
||||
|
||||
disabled = isPyPy || isPy3k;
|
||||
|
||||
|
@ -3,10 +3,10 @@
|
||||
buildPythonPackage rec {
|
||||
name = "${pname}-${version}";
|
||||
pname = "pydub";
|
||||
version = "0.20.0";
|
||||
version = "0.21.0";
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "0hqsvvph6ks4kxj0m2q1xvl5bllqmpk78rlqpqhh79schl344xkv";
|
||||
sha256 = "27acc5977b0f5220682175d44fda737bbf818143b0832c0c3863b5dde38e197a";
|
||||
};
|
||||
|
||||
patches = [
|
||||
|
@ -6,11 +6,11 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "python-oauth2";
|
||||
version = "1.0.1";
|
||||
version = "1.1.0";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "0a1d0qnlgm07wq9r9bbm5jqkqry73w34m87p0141bk76lg7bb0sm";
|
||||
sha256 = "b24da812837c19183df1924e80a22ba0a1869582dea8b04a9ecd807b04dbc525";
|
||||
};
|
||||
# attempts to run mysql
|
||||
doCheck = false;
|
||||
|
@ -10,11 +10,11 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "pytools";
|
||||
version = "2017.6";
|
||||
version = "2018.1";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "80f1bba4469d473c1b3969bc8e188c03bcc94d35807a889ceebbfc78e3208115";
|
||||
sha256 = "0063b87285cb1172e3602a996bfd7342bf407361cf67b562cb6d806f70422e71";
|
||||
};
|
||||
|
||||
checkInputs = [ pytest ];
|
||||
|
@ -8,13 +8,13 @@
|
||||
# Should use buildPythonPackage here somehow
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "setuptools";
|
||||
version = "38.4.0";
|
||||
version = "38.4.1";
|
||||
name = "${python.libPrefix}-${pname}-${version}";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
extension = "zip";
|
||||
sha256 = "6501fc32f505ec5b3ed36ec65ba48f1b975f52cf2ea101c7b73a08583fd12f75";
|
||||
sha256 = "3b5f74bd33b046a121f052632f248b580f5e83848bb4cebda9e38741a445a969";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ unzip wrapPython ];
|
||||
|
@ -1,10 +1,9 @@
|
||||
{ stdenv, buildPythonPackage, fetchPypi
|
||||
, unittest2, mock, requests }:
|
||||
{ lib, buildPythonPackage, fetchPypi, isPy3k
|
||||
, unittest2, mock, requests, simplejson }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "stripe";
|
||||
version = "1.77.2";
|
||||
name = "${pname}-${version}";
|
||||
version = "1.79.0";
|
||||
|
||||
# Tests require network connectivity and there's no easy way to disable
|
||||
# them. ~ C.
|
||||
@ -12,14 +11,14 @@ buildPythonPackage rec {
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "3bcd55108dd2c0e853a91147ee843bc375f35767e64d0f7680e5bd82ddb7fbf1";
|
||||
sha256 = "490bb7bfc7d224e483d643171fd860f8a1670e31fd9cef8cb8d9a7c19806d450";
|
||||
};
|
||||
|
||||
buildInputs = [ unittest2 mock ];
|
||||
checkInputs = [ unittest2 mock ];
|
||||
|
||||
propagatedBuildInputs = [ requests ];
|
||||
propagatedBuildInputs = [ requests ] ++ lib.optional (!isPy3k) simplejson;
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
meta = with lib; {
|
||||
description = "Stripe Python bindings";
|
||||
homepage = https://github.com/stripe/stripe-python;
|
||||
license = licenses.mit;
|
||||
|
@ -2,11 +2,11 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "text-unidecode";
|
||||
version = "1.1";
|
||||
version = "1.2";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "1l081m1w8ibbx684ca71ibdy68iwqsivy6rf6yqvysdclzldbbyh";
|
||||
sha256 = "5a1375bb2ba7968740508ae38d92e1f889a0832913cb1c447d5e2046061a396d";
|
||||
};
|
||||
|
||||
checkInputs = [ pytest ];
|
||||
|
@ -25,11 +25,11 @@
|
||||
buildPythonPackage rec {
|
||||
name = "${pname}-${version}";
|
||||
pname = "textacy";
|
||||
version = "0.5.0";
|
||||
version = "0.6.0";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "6fc4603fd52c386081b063ef7aa15ca77e5e937a3064b197359659fccfdeb406";
|
||||
sha256 = "70ebd8f6536c1536132c997988a4f27731a2db5a7ca7bab29fb33746b444959f";
|
||||
};
|
||||
|
||||
disabled = isPy27; # 2.7 requires backports.csv
|
||||
|
@ -3,11 +3,11 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "tifffile";
|
||||
version = "0.13.5";
|
||||
version = "0.14.0";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "bca0fc9eaf609a27ebd99d8466e05d5a6e79389957f17582b70643dbca65e3d8";
|
||||
sha256 = "eff44f71782dce38c604921a1b29ddad0d007ac9871d66e9c872fd6fc311334e";
|
||||
};
|
||||
|
||||
checkInputs = [ nose ];
|
||||
|
@ -5,7 +5,7 @@
|
||||
buildPythonPackage rec {
|
||||
name = "${pname}-${version}";
|
||||
pname = "txtorcon";
|
||||
version = "0.19.3";
|
||||
version = "0.20.0";
|
||||
|
||||
checkInputs = [ pytest mock lsof GeoIP ];
|
||||
propagatedBuildInputs = [
|
||||
@ -16,7 +16,7 @@ buildPythonPackage rec {
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "1za4qag4g2lbw695v4ssxqc2aspdyknnbn2diylwg8q9g5k9cczp";
|
||||
sha256 = "dc80cb76b3ddacef6d671c0a088cb1a45274c0858554c32ce55d0f41421c740e";
|
||||
};
|
||||
|
||||
# ipaddress isn't required for Python 3 although it's in requirements.txt.
|
||||
|
@ -3,12 +3,12 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "zeroconf";
|
||||
version = "0.19.1";
|
||||
version = "0.20.0";
|
||||
name = "${pname}-${version}";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "0ykzg730n915qbrq9bn5pn06bv6rb5zawal4sqjyfnjjm66snkj3";
|
||||
sha256 = "6e3f1e7b5871e3d1410ac29b9fb85aafc1e2d661ed596b07a6f84559a475efcb";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ netifaces six enum-compat ];
|
||||
|
@ -3,12 +3,12 @@
|
||||
with python3Packages;
|
||||
buildPythonApplication rec {
|
||||
pname = "autoflake";
|
||||
version = "1.0";
|
||||
version = "1.1";
|
||||
name = "${pname}-${version}";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "12k4v8w7awqp83j727y0iwcbjqj3ccvbai7c9m0wgbmq5xkvav8a";
|
||||
sha256 = "a74d684a7a02654f74582addc24a3016c06809316cc140457a4fe93a1e6ed131";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ pyflakes ];
|
||||
|
@ -5,12 +5,12 @@
|
||||
}:
|
||||
|
||||
buildPythonApplication rec {
|
||||
version = "0.28.1";
|
||||
version = "1.0.4";
|
||||
pname = "conan";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "0zf564iqh0099yd779f9fgk21qyp87d7cmgfj34hmncf8y3qh32a";
|
||||
sha256 = "6f5cea887ecd6285bd83ae2acc3f76ed06dd52a79c106fe686d210b3ead89060";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
|
@ -2,11 +2,11 @@
|
||||
with python3Packages; buildPythonApplication rec {
|
||||
name = "${pname}-${version}";
|
||||
pname = "pew";
|
||||
version = "1.1.0";
|
||||
version = "1.1.2";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "0b8z1vjsll1kgnh3mmdjps5rr9gayy091rapp2dra71jrwkx3yfh";
|
||||
sha256 = "b8312728526c9010295c88215c95a1b1731fdbd1a568f728e069932bd0545611";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ virtualenv virtualenv-clone setuptools ];
|
||||
|
@ -6,11 +6,11 @@ with python3Packages;
|
||||
buildPythonApplication rec {
|
||||
name = "${pname}-${version}";
|
||||
pname = "vcstool";
|
||||
version = "0.1.31";
|
||||
version = "0.1.32";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "0n2zkvy2km9ky9lljf1mq5nqyqi5qqzfy2a6sgkjg2grvsk7abxc";
|
||||
sha256 = "adf09fad9feaa9bc2d7fe53e909951b6b7300db2f2e0717f12ccd44e047a8839";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ pyyaml ];
|
||||
|
@ -1,25 +1,23 @@
|
||||
{ stdenv, lib, buildPythonApplication, fetchPypi, pyyaml, jq }:
|
||||
{ stdenv, lib, buildPythonApplication, fetchPypi, pyyaml, xmltodict, jq }:
|
||||
|
||||
buildPythonApplication rec {
|
||||
|
||||
pname = "yq";
|
||||
version = "2.3.4";
|
||||
version = "2.4.1";
|
||||
|
||||
propagatedBuildInputs = [ pyyaml jq ];
|
||||
propagatedBuildInputs = [ pyyaml xmltodict jq ];
|
||||
|
||||
# ValueError: underlying buffer has been detached
|
||||
doCheck = false;
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "04ckrlmin8m176iicyfhddp4r0yry5hx306vhfglf8mcp1jkga78";
|
||||
sha256 = "4833d4055b0f1c1f1a2fd292421b3472da39c7dc2727d7819efd11065a5fd310";
|
||||
};
|
||||
|
||||
meta = with lib; {
|
||||
description = "Command-line YAML processor - jq wrapper for YAML documents.";
|
||||
homepage = https://pypi.python.org/pypi/yq;
|
||||
homepage = https://github.com/kislyuk/yq;
|
||||
license = [ licenses.asl20 ];
|
||||
maintainers = [ maintainers.womfoo ];
|
||||
};
|
||||
|
||||
}
|
||||
|
@ -35,6 +35,13 @@ let
|
||||
sha256 = "15i3gaap8ilhpbah1ffc6q415wkvliqxilc6s69a4rinvkw6cx3s";
|
||||
};
|
||||
});
|
||||
astral = super.astral.overridePythonAttrs (oldAttrs: rec {
|
||||
version = "1.5";
|
||||
src = oldAttrs.src.override {
|
||||
inherit version;
|
||||
sha256 = "527628fbfe90c1596c3950ff84ebd07ecc10c8fb1044c903a0519b5057700cb6";
|
||||
};
|
||||
});
|
||||
hass-frontend = super.callPackage ./frontend.nix { };
|
||||
};
|
||||
};
|
||||
|
@ -1,48 +1,40 @@
|
||||
{ stdenv
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, botocore
|
||||
, bcdoc
|
||||
, s3transfer
|
||||
, six
|
||||
, colorama
|
||||
, docutils
|
||||
, rsa
|
||||
, pyyaml
|
||||
{ lib
|
||||
, python
|
||||
, groff
|
||||
, less
|
||||
}:
|
||||
|
||||
let
|
||||
colorama_3_7 = colorama.overrideAttrs (old: rec {
|
||||
name = "${pname}-${version}";
|
||||
pname = "colorama";
|
||||
version = "0.3.7";
|
||||
src = old.src.override {
|
||||
inherit version;
|
||||
sha256 = "0avqkn6362v7k2kg3afb35g4sfdvixjgy890clip4q174p9whhz0";
|
||||
py = python.override {
|
||||
packageOverrides = self: super: {
|
||||
colorama = super.colorama.overridePythonAttrs (oldAttrs: rec {
|
||||
version = "0.3.7";
|
||||
src = oldAttrs.src.override {
|
||||
inherit version;
|
||||
sha256 = "0avqkn6362v7k2kg3afb35g4sfdvixjgy890clip4q174p9whhz0";
|
||||
};
|
||||
});
|
||||
};
|
||||
});
|
||||
};
|
||||
|
||||
in buildPythonPackage rec {
|
||||
in py.pkgs.buildPythonApplication rec {
|
||||
pname = "awscli";
|
||||
version = "1.14.41";
|
||||
namePrefix = "";
|
||||
version = "1.14.47";
|
||||
|
||||
src = fetchPypi {
|
||||
src = py.pkgs.fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "8cf2a52d56f26e22e2fbd7b72649ef1d3de8930df7a730d7f27418d129bb3a6a";
|
||||
sha256 = "269483910c820ae5b4f60021375f07e4f1c23f86505e1b9e29243880a660c1d8";
|
||||
};
|
||||
|
||||
# No tests included
|
||||
doCheck = false;
|
||||
|
||||
propagatedBuildInputs = [
|
||||
propagatedBuildInputs = with py.pkgs; [
|
||||
botocore
|
||||
bcdoc
|
||||
s3transfer
|
||||
six
|
||||
colorama_3_7
|
||||
colorama
|
||||
docutils
|
||||
rsa
|
||||
pyyaml
|
||||
@ -58,10 +50,10 @@ in buildPythonPackage rec {
|
||||
rm $out/bin/aws.cmd
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
meta = with lib; {
|
||||
homepage = https://aws.amazon.com/cli/;
|
||||
description = "Unified tool to manage your AWS services";
|
||||
license = stdenv.lib.licenses.asl20;
|
||||
license = licenses.asl20;
|
||||
maintainers = with maintainers; [ muflax ];
|
||||
};
|
||||
}
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
buildPythonApplication rec {
|
||||
pname = "you-get";
|
||||
version = "0.4.1011";
|
||||
version = "0.4.1025";
|
||||
|
||||
# Tests aren't packaged, but they all hit the real network so
|
||||
# probably aren't suitable for a build environment anyway.
|
||||
@ -10,7 +10,7 @@ buildPythonApplication rec {
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "0h6aspnfic30s89xsv6qss1jfka9px4ll60bqrjbds4y0k3h818g";
|
||||
sha256 = "d348b89bd4798ef2225f5b357510505a4bc781380479c9f59b69d80ff9a56ab5";
|
||||
};
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
|
@ -553,7 +553,7 @@ with pkgs;
|
||||
|
||||
avfs = callPackage ../tools/filesystems/avfs { };
|
||||
|
||||
awscli = pythonPackages.callPackage ../tools/admin/awscli { };
|
||||
awscli = callPackage ../tools/admin/awscli { };
|
||||
|
||||
awsebcli = callPackage ../tools/virtualization/awsebcli {};
|
||||
|
||||
@ -8217,7 +8217,7 @@ with pkgs;
|
||||
yodl = callPackage ../development/tools/misc/yodl { };
|
||||
|
||||
yq = callPackage ../development/tools/yq {
|
||||
inherit (python3Packages) buildPythonApplication fetchPypi pyyaml;
|
||||
inherit (python3Packages) buildPythonApplication fetchPypi pyyaml xmltodict;
|
||||
};
|
||||
|
||||
winpdb = callPackage ../development/tools/winpdb { };
|
||||
|
@ -9871,6 +9871,8 @@ in {
|
||||
};
|
||||
};
|
||||
|
||||
mozterm = callPackage ../development/python-modules/mozterm { };
|
||||
|
||||
mplleaflet = callPackage ../development/python-modules/mplleaflet { };
|
||||
|
||||
multidict = callPackage ../development/python-modules/multidict { };
|
||||
|
Loading…
Reference in New Issue
Block a user