Merge master into staging-next
This commit is contained in:
@@ -2,11 +2,11 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "aiohttp-jinja2";
|
||||
version = "1.1.1";
|
||||
version = "1.1.2";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "54630f769b0a25e83744673068db89cdd099f830818cea7ea9c43eb23add7941";
|
||||
sha256 = "0g4pqdm2kp2abam0nx0pgs5lk19f8lsfpcgwxpigdwmy1lvblsa5";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ aiohttp jinja2 ];
|
||||
|
||||
19
pkgs/development/python-modules/cerberus11/default.nix
Normal file
19
pkgs/development/python-modules/cerberus11/default.nix
Normal file
@@ -0,0 +1,19 @@
|
||||
{ stdenv, buildPythonPackage, fetchPypi, pytestrunner, pytest }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "Cerberus";
|
||||
version = "1.1";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "1pxzr8sfm2hc5s96m9k044i44nwkva70n0ypr6a35v73zn891cx5";
|
||||
};
|
||||
|
||||
checkInputs = [ pytestrunner pytest ];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = http://python-cerberus.org/;
|
||||
description = "Lightweight, extensible schema and data validation tool for Python dictionaries";
|
||||
license = licenses.mit;
|
||||
};
|
||||
}
|
||||
@@ -6,11 +6,11 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "cupy";
|
||||
version = "5.4.0";
|
||||
version = "6.0.0";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "1qms1kmzr543hz30jmcmx20cf9xbgzl97a9k44xizsk785dwakbn";
|
||||
sha256 = "168xi92pfk80n2k47qc5zim7jai3kcmj3j157fynz9c8dfw4sbn4";
|
||||
};
|
||||
|
||||
checkInputs = [
|
||||
|
||||
@@ -0,0 +1,21 @@
|
||||
{ stdenv, lib, buildPythonPackage, fetchPypi }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "django-webpack-loader";
|
||||
version = "0.2.4";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "1bwpgmkh32d7a5dgppin9m0mnh8a33ccl5ksnpw5vjp4lal3xq73";
|
||||
};
|
||||
|
||||
# django.core.exceptions.ImproperlyConfigured (path issue with DJANGO_SETTINGS_MODULE?)
|
||||
doCheck = false;
|
||||
|
||||
meta = with lib; {
|
||||
description = "Use webpack to generate your static bundles";
|
||||
homepage = https://github.com/owais/django-webpack-loader;
|
||||
maintainers = with maintainers; [ peterromfeldhk ];
|
||||
license = with licenses; [ mit ];
|
||||
};
|
||||
}
|
||||
@@ -1,17 +1,22 @@
|
||||
{ stdenv, buildPythonPackage, fetchPypi, six }:
|
||||
{ stdenv, buildPythonPackage, fetchFromGitHub, six, django }:
|
||||
buildPythonPackage rec {
|
||||
pname = "django-appconf";
|
||||
version = "1.0.3";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "35f13ca4d567f132b960e2cd4c832c2d03cb6543452d34e29b7ba10371ba80e3";
|
||||
src = fetchFromGitHub {
|
||||
owner = "django-compressor";
|
||||
repo = "django-appconf";
|
||||
rev = version;
|
||||
sha256 = "06hwbz7362y0la9np3df25mms235fcqgpd2vn0mnf8dri9spzy1h";
|
||||
};
|
||||
|
||||
# No tests in archive
|
||||
doCheck = false;
|
||||
propagatedBuildInputs = [ six django ];
|
||||
|
||||
propagatedBuildInputs = [ six ];
|
||||
checkPhase = ''
|
||||
# prove we're running tests against installed package, not build dir
|
||||
rm -r appconf
|
||||
python -m django test --settings="tests.test_settings"
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "A helper class for handling configuration defaults of packaged apps gracefully";
|
||||
|
||||
@@ -8,8 +8,12 @@ buildPythonPackage rec {
|
||||
inherit pname version;
|
||||
sha256 = "9616570e5b08e92fa9eadc7a1b1b49639cce07ef392fc27c74230ab08075b30f";
|
||||
};
|
||||
postPatch = ''
|
||||
substituteInPlace setup.py --replace 'rcssmin == 1.0.6' 'rcssmin' \
|
||||
--replace 'rjsmin == 1.0.12' 'rjsmin'
|
||||
'';
|
||||
|
||||
# Need to setup django testing
|
||||
# requires django-sekizai, which we don't have packaged yet
|
||||
doCheck = false;
|
||||
|
||||
propagatedBuildInputs = [ rcssmin rjsmin django_appconf ];
|
||||
|
||||
@@ -10,11 +10,11 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "gensim";
|
||||
version = "3.7.3";
|
||||
version = "3.8.0";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "0mp1hbj7ciwpair7z445zj1grfv8c75gby9lih01c3mvw4pff7v2";
|
||||
sha256 = "0rjpmxcd4hphq41y7frg6by6gwjjmrdbnim8jvx951ps5gzyfpgc";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ smart_open numpy six scipy ];
|
||||
|
||||
@@ -6,13 +6,13 @@
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
version = "6.3.8";
|
||||
version = "8.0.0";
|
||||
pname = "gnureadline";
|
||||
disabled = isPyPy;
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "0ddhj98x2nv45iz4aadk4b9m0b1kpsn1xhcbypn5cd556knhiqjq";
|
||||
sha256 = "0xllr43dizvybmb68i0ybk1xhaqx5abjwxa9vrg43b9ds0pggvk1";
|
||||
};
|
||||
|
||||
buildInputs = [ pkgs.ncurses ];
|
||||
|
||||
@@ -2,11 +2,11 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "ijson";
|
||||
version = "2.3";
|
||||
version = "2.4";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "0x7l9k2dvxzd5mjgiq15nl9b0sxcqy1cqaz744bjwkz4z5mrypzg";
|
||||
sha256 = "135rwh7izzmj4lwkrfb9xw4ik0gcwjz34ygnmx3vyvki2xbbp2xp";
|
||||
};
|
||||
|
||||
doCheck = false; # something about yajl
|
||||
|
||||
@@ -2,12 +2,12 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "loguru";
|
||||
version = "0.3.0";
|
||||
version = "0.3.1";
|
||||
|
||||
disabled = isPy27;
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "1b2phizcx2wbdm5np0s16yd68fc0isqnm8qs6l9pmlrlyf9gm87j";
|
||||
sha256 = "14pmxyx4kwyafdifqzal121mpdd89lxbjgn0zzi9z6fmzk6pr5h2";
|
||||
};
|
||||
|
||||
checkInputs = [ pytest colorama ];
|
||||
|
||||
45
pkgs/development/python-modules/numcodecs/default.nix
Normal file
45
pkgs/development/python-modules/numcodecs/default.nix
Normal file
@@ -0,0 +1,45 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, setuptools_scm
|
||||
, cython
|
||||
, numpy
|
||||
, msgpack
|
||||
, pytest
|
||||
, python
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "numcodecs";
|
||||
version = "0.6.3";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "086qwlyi01rpgyyyy8bmhh9i7hpksyz33ldci3wdwmhiblyl362y";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
setuptools_scm
|
||||
cython
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
numpy
|
||||
msgpack
|
||||
];
|
||||
|
||||
checkInputs = [
|
||||
pytest
|
||||
];
|
||||
|
||||
checkPhase = ''
|
||||
pytest $out/${python.sitePackages}/numcodecs -k "not test_backwards_compatibility"
|
||||
'';
|
||||
|
||||
meta = with lib;{
|
||||
homepage = https://github.com/alimanfoo/numcodecs;
|
||||
license = licenses.mit;
|
||||
description = "Buffer compression and transformation codecs for use in data storage and communication applications";
|
||||
maintainers = [ maintainers.costrouc ];
|
||||
};
|
||||
}
|
||||
@@ -6,30 +6,35 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "pelican";
|
||||
version = "4.0.1";
|
||||
version = "4.1.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "getpelican";
|
||||
repo = "pelican";
|
||||
rev = version;
|
||||
sha256 = "09fcwnnfln0cl5v0qpxzrllj27znrg6dbhaksxrl0192c3mbyjvl";
|
||||
sha256 = "1ww3kc5bzp5q7b23n2vmzqch1z06l7vrscn0h96cscvk45sxc7yz";
|
||||
# Remove unicode file names which leads to different checksums on HFS+
|
||||
# vs. other filesystems because of unicode normalisation.
|
||||
extraPostFetch = ''
|
||||
rm -r $out/pelican/tests/output/custom_locale/posts
|
||||
'';
|
||||
};
|
||||
|
||||
doCheck = true;
|
||||
|
||||
# Exclude custom locale test, which files were removed above to fix the source checksum
|
||||
checkPhase = ''
|
||||
python -Wd -m unittest discover
|
||||
nosetests -sv --exclude=test_custom_locale_generation_works pelican
|
||||
'';
|
||||
|
||||
buildInputs = [
|
||||
glibcLocales
|
||||
# Note: Pelican has to adapt to a changed CLI of pandoc before enabling this
|
||||
# again. Compare https://github.com/getpelican/pelican/pull/2252.
|
||||
# Version 4.0.1 is incompatible with our current pandoc version.
|
||||
# Version 4.1.0 is incompatible with our current pandoc version.
|
||||
# pandoc
|
||||
git
|
||||
mock
|
||||
nose
|
||||
markdown
|
||||
typogrify
|
||||
];
|
||||
@@ -39,6 +44,10 @@ buildPythonPackage rec {
|
||||
blinker pillow beautifulsoup4 markupsafe lxml
|
||||
];
|
||||
|
||||
checkInputs = [
|
||||
nose
|
||||
];
|
||||
|
||||
postPatch= ''
|
||||
substituteInPlace pelican/tests/test_pelican.py \
|
||||
--replace "'git'" "'${git}/bin/git'"
|
||||
|
||||
@@ -2,11 +2,11 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "python-periphery";
|
||||
version = "1.1.1";
|
||||
version = "1.1.2";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "fe8f351934edce72cd919b4eb070878ebff551db5e21aea61e0f446101f0a79f";
|
||||
sha256 = "1bhzkzjvz6zb6rc5zmvgqfszrcyh64v1hay7m1m5dn083gaznyk9";
|
||||
};
|
||||
|
||||
# Some tests require physical probing and additional physical setup
|
||||
|
||||
@@ -4,11 +4,11 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "tomlkit";
|
||||
version = "0.5.4";
|
||||
version = "0.5.5";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "1pby2lbzwy2pwdbq8xaqi4560b1ih5m0y141mmbc446j3w168fvv";
|
||||
sha256 = "0xlmx280mzd3f63ydqhr76whbr2lhcwihyg9my9d5hjklkrhdn58";
|
||||
};
|
||||
|
||||
propagatedBuildInputs =
|
||||
|
||||
@@ -2,11 +2,11 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "tweepy";
|
||||
version = "3.7.0";
|
||||
version = "3.8.0";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "fe85a79f58a01dd335968523b91c5fce760e7fe78bf25a6e71c72204fe499d0b";
|
||||
sha256 = "0sri92mzhkifn16klkk2mhc2vcrvdmfp2wvkpfss518sln5q5gca";
|
||||
};
|
||||
|
||||
doCheck = false;
|
||||
|
||||
@@ -3,13 +3,13 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "twilio";
|
||||
version = "6.29.0";
|
||||
version = "6.29.1";
|
||||
# tests not included in PyPi, so fetch from github instead
|
||||
src = fetchFromGitHub {
|
||||
owner = "twilio";
|
||||
repo = "twilio-python";
|
||||
rev = version;
|
||||
sha256 = "1xsg862d68rdrl6m3v9zcq20h42jn6x9cv1bk2ydiizyn6ngqz8w";
|
||||
sha256 = "1g2wdy62w25sjibggr25b3833x0fhc7w6ypy8g1fgix217rja7pz";
|
||||
};
|
||||
|
||||
buildInputs = [ nose mock ];
|
||||
|
||||
24
pkgs/development/python-modules/vdf/default.nix
Normal file
24
pkgs/development/python-modules/vdf/default.nix
Normal file
@@ -0,0 +1,24 @@
|
||||
{ stdenv, buildPythonPackage, fetchFromGitHub
|
||||
, pytest, pytestcov, mock }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "vdf";
|
||||
version = "3.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "ValvePython";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "19xqjq2159w2l9vaxlkickvy3zksp9ssdkvbfcfggxz31miwp1zr";
|
||||
};
|
||||
|
||||
checkInputs = [ pytest pytestcov mock ];
|
||||
checkPhase = "make test";
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Library for working with Valve's VDF text format";
|
||||
homepage = https://github.com/ValvePython/vdf;
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ metadark ];
|
||||
};
|
||||
}
|
||||
46
pkgs/development/python-modules/zarr/default.nix
Normal file
46
pkgs/development/python-modules/zarr/default.nix
Normal file
@@ -0,0 +1,46 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, setuptools_scm
|
||||
, asciitree
|
||||
, numpy
|
||||
, fasteners
|
||||
, numcodecs
|
||||
, pytest
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "zarr";
|
||||
version = "2.3.2";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "c62d0158fb287151c978904935a177b3d2d318dea3057cfbeac8541915dfa105";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
setuptools_scm
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
asciitree
|
||||
numpy
|
||||
fasteners
|
||||
numcodecs
|
||||
];
|
||||
|
||||
checkInputs = [
|
||||
pytest
|
||||
];
|
||||
|
||||
checkPhase = ''
|
||||
pytest
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "An implementation of chunked, compressed, N-dimensional arrays for Python";
|
||||
homepage = https://github.com/zarr-developers/zarr;
|
||||
license = licenses.mit;
|
||||
maintainers = [ maintainers.costrouc ];
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user