Merge branch 'master' into staging
This commit is contained in:
@@ -47,6 +47,8 @@ buildPythonPackage rec {
|
||||
mkdir -p $out/share/{applications,alot}
|
||||
cp -r extra/themes $out/share/alot
|
||||
|
||||
install -D extra/completion/alot-completion.zsh $out/share/zsh/site-functions/_alot
|
||||
|
||||
sed "s,/usr/bin,$out/bin,g" extra/alot.desktop > $out/share/applications/alot.desktop
|
||||
'';
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ stdenv, buildPythonPackage, fetchPypi, isPy3k, rdkafka, requests, avro3k, avro}:
|
||||
{ stdenv, buildPythonPackage, fetchPypi, isPy3k, rdkafka, requests, avro3k, avro, futures}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
version = "0.11.5";
|
||||
@@ -9,7 +9,7 @@ buildPythonPackage rec {
|
||||
sha256 = "bfb5807bfb5effd74f2cfe65e4e3e8564a9e72b25e099f655d8ad0d362a63b9f";
|
||||
};
|
||||
|
||||
buildInputs = [ rdkafka requests ] ++ (if isPy3k then [ avro3k ] else [ avro ]) ;
|
||||
buildInputs = [ rdkafka requests ] ++ (if isPy3k then [ avro3k ] else [ avro futures ]) ;
|
||||
|
||||
# Tests fail for python3 under this pypi release
|
||||
doCheck = if isPy3k then false else true;
|
||||
|
||||
@@ -0,0 +1,38 @@
|
||||
{ stdenv, buildPythonPackage, fetchPypi, isPy3k
|
||||
, cached-property, frozendict, pystache, pyyaml, pytest, pytestrunner
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "genanki";
|
||||
version = "0.6.0";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "0xj8yd3acl8h457sh42balvcd0z4mg5idd4q63f7qlfzc5wgbb74";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
pytestrunner
|
||||
cached-property
|
||||
frozendict
|
||||
pystache
|
||||
pyyaml
|
||||
];
|
||||
|
||||
checkInputs = [ pytest ];
|
||||
|
||||
disabled = !isPy3k;
|
||||
|
||||
# relies on upstream anki
|
||||
doCheck = false;
|
||||
checkPhase = ''
|
||||
py.test
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = http://github.com/kerrickstaley/genanki;
|
||||
description = "Generate Anki decks programmatically";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ teto ];
|
||||
};
|
||||
}
|
||||
@@ -1,23 +1,23 @@
|
||||
{ stdenv, buildPythonPackage, fetchFromGitHub
|
||||
, pandas, shapely, fiona, descartes, pyproj
|
||||
, pytest }:
|
||||
, pytest, Rtree }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "geopandas";
|
||||
version = "0.3.0";
|
||||
version = "0.4.0";
|
||||
name = pname + "-" + version;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "geopandas";
|
||||
repo = "geopandas";
|
||||
rev = "v${version}";
|
||||
sha256 = "0maafafr7sjjmlg2f19bizg06c8a5z5igmbcgq6kgmi7rklx8xxz";
|
||||
sha256 = "025zpgck5pnmidvzk0805pr345rd7k6z66qb2m34gjh1814xjkhv";
|
||||
};
|
||||
|
||||
checkInputs = [ pytest ];
|
||||
checkInputs = [ pytest Rtree ];
|
||||
|
||||
checkPhase = ''
|
||||
py.test geopandas
|
||||
py.test geopandas -m "not web"
|
||||
'';
|
||||
|
||||
propagatedBuildInputs = [
|
||||
|
||||
@@ -0,0 +1,24 @@
|
||||
{ buildPythonPackage, fetchurl, isPyPy, gmp } :
|
||||
|
||||
let
|
||||
pname = "gmpy";
|
||||
version = "1.17";
|
||||
in
|
||||
|
||||
buildPythonPackage {
|
||||
inherit pname version;
|
||||
|
||||
disabled = isPyPy;
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://pypi/g/gmpy/${pname}-${version}.zip";
|
||||
sha256 = "1a79118a5332b40aba6aa24b051ead3a31b9b3b9642288934da754515da8fa14";
|
||||
};
|
||||
|
||||
buildInputs = [ gmp ];
|
||||
|
||||
meta = {
|
||||
description = "GMP or MPIR interface to Python 2.4+ and 3.x";
|
||||
homepage = http://code.google.com/p/gmpy/;
|
||||
};
|
||||
}
|
||||
@@ -0,0 +1,25 @@
|
||||
{ stdenv, buildPythonPackage, fetchurl, isPyPy, gmp, mpfr, libmpc } :
|
||||
|
||||
let
|
||||
pname = "gmpy2";
|
||||
version = "2.0.8";
|
||||
in
|
||||
|
||||
buildPythonPackage {
|
||||
inherit pname version;
|
||||
|
||||
disabled = isPyPy;
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://pypi/g/gmpy2/${pname}-${version}.zip";
|
||||
sha256 = "0grx6zmi99iaslm07w6c2aqpnmbkgrxcqjrqpfq223xri0r3w8yx";
|
||||
};
|
||||
|
||||
buildInputs = [ gmp mpfr libmpc ];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "GMP/MPIR, MPFR, and MPC interface to Python 2.6+ and 3.x";
|
||||
homepage = http://code.google.com/p/gmpy/;
|
||||
license = licenses.gpl3Plus;
|
||||
};
|
||||
}
|
||||
@@ -1,7 +1,8 @@
|
||||
{ lib, buildPythonPackage, fetchPypi, jsonschema, notebook }:
|
||||
{ lib, buildPythonPackage, fetchPypi, jsonschema, notebook, pythonOlder }:
|
||||
buildPythonPackage rec {
|
||||
pname = "jupyterlab_launcher";
|
||||
version = "0.13.1";
|
||||
disabled = pythonOlder "3.5";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
{ stdenv, buildPythonPackage, fetchPypi, pythonAtLeast,
|
||||
ipaddress, websocket_client, urllib3, pyyaml, requests_oauthlib, python-dateutil, google_auth,
|
||||
ipaddress, websocket_client, urllib3, pyyaml, requests_oauthlib, python-dateutil, google_auth, adal,
|
||||
isort, pytest, coverage, mock, sphinx, autopep8, pep8, codecov, recommonmark, nose }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
@@ -27,7 +27,7 @@ buildPythonPackage rec {
|
||||
};
|
||||
|
||||
checkInputs = [ isort coverage pytest mock sphinx autopep8 pep8 codecov recommonmark nose ];
|
||||
propagatedBuildInputs = [ ipaddress websocket_client urllib3 pyyaml requests_oauthlib python-dateutil google_auth ];
|
||||
propagatedBuildInputs = [ ipaddress websocket_client urllib3 pyyaml requests_oauthlib python-dateutil google_auth adal ];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Kubernetes python client";
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
{ buildPythonPackage
|
||||
, fetchPypi
|
||||
, fetchFromGitHub
|
||||
, mock
|
||||
, unittest2
|
||||
, msgpack-python
|
||||
, msgpack
|
||||
, requests
|
||||
, flask
|
||||
, gevent
|
||||
@@ -11,18 +11,16 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "locustio";
|
||||
version = "0.8.1";
|
||||
version = "0.9.0";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "64583987ba1c330bb071aee3e29d2eedbfb7c8b342fa064bfb74fafcff660d61";
|
||||
src = fetchFromGitHub {
|
||||
owner = "locustio";
|
||||
repo = "locust";
|
||||
rev = "${version}";
|
||||
sha256 = "1645d63ig4ymw716b6h53bhmjqqc13p9r95k1xfx66ck6vdqnisd";
|
||||
};
|
||||
|
||||
patchPhase = ''
|
||||
sed -i s/"pyzmq=="/"pyzmq>="/ setup.py
|
||||
'';
|
||||
|
||||
propagatedBuildInputs = [ msgpack-python requests flask gevent pyzmq ];
|
||||
propagatedBuildInputs = [ msgpack requests flask gevent pyzmq ];
|
||||
buildInputs = [ mock unittest2 ];
|
||||
|
||||
meta = {
|
||||
|
||||
@@ -0,0 +1,30 @@
|
||||
{ stdenv
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, setuptools
|
||||
, nose
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
version = "0.6.0";
|
||||
pname = "markerlib";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "2fdb3939441f5bf4f090b1979a34f84a11d33eed6c0e3995de88ae5c06b6e3ae";
|
||||
};
|
||||
|
||||
buildInputs = [ setuptools ];
|
||||
checkInputs = [ nose ];
|
||||
|
||||
checkPhase = ''
|
||||
nosetests
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = https://bitbucket.org/dholth/markerlib/;
|
||||
description = "A compiler for PEP 345 environment markers";
|
||||
license = licenses.mit;
|
||||
maintainers = [ maintainers.costrouc ];
|
||||
};
|
||||
}
|
||||
@@ -2,6 +2,7 @@
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, paramiko
|
||||
, selectors2
|
||||
, lxml
|
||||
, libxml2
|
||||
, libxslt
|
||||
@@ -21,7 +22,7 @@ buildPythonPackage rec {
|
||||
checkInputs = [ nose rednose ];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
paramiko lxml libxml2 libxslt
|
||||
paramiko lxml libxml2 libxslt selectors2
|
||||
];
|
||||
|
||||
checkPhase = ''
|
||||
|
||||
@@ -18,6 +18,8 @@
|
||||
, psutil
|
||||
, pydot
|
||||
, pytest
|
||||
, pytest_xdist
|
||||
, pytest-forked
|
||||
, scipy
|
||||
, simplejson
|
||||
, traits
|
||||
@@ -47,8 +49,6 @@ buildPythonPackage rec {
|
||||
postPatch = ''
|
||||
substituteInPlace nipype/interfaces/base/tests/test_core.py \
|
||||
--replace "/usr/bin/env bash" "${bash}/bin/bash"
|
||||
|
||||
rm pytest.ini
|
||||
'';
|
||||
|
||||
propagatedBuildInputs = [
|
||||
@@ -56,7 +56,6 @@ buildPythonPackage rec {
|
||||
dateutil
|
||||
funcsigs
|
||||
future
|
||||
futures
|
||||
networkx
|
||||
nibabel
|
||||
numpy
|
||||
@@ -70,9 +69,10 @@ buildPythonPackage rec {
|
||||
xvfbwrapper
|
||||
] ++ stdenv.lib.optional (!isPy3k) [
|
||||
configparser
|
||||
futures
|
||||
];
|
||||
|
||||
checkInputs = [ pytest mock pytestcov codecov which glibcLocales ];
|
||||
checkInputs = [ pytest mock pytestcov pytest_xdist pytest-forked codecov which glibcLocales ];
|
||||
|
||||
checkPhase = ''
|
||||
LC_ALL="en_US.UTF-8" py.test -v --doctest-modules nipype
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
{ buildPythonPackage, fetchPypi, lib, pytest }:
|
||||
{ buildPythonPackage, fetchPypi, lib, pytest, pytestrunner }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "ordered-set";
|
||||
version = "3.0.1";
|
||||
|
||||
buildInputs = [ pytest ];
|
||||
buildInputs = [ pytest pytestrunner ];
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
@@ -21,6 +21,3 @@ buildPythonPackage rec {
|
||||
maintainers = [ lib.maintainers.MostAwesomeDude ];
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -1,12 +1,14 @@
|
||||
{ buildPythonPackage
|
||||
, fetchPypi
|
||||
, zope_interface
|
||||
, sphinx, manuel
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "persistent";
|
||||
version = "4.4.2";
|
||||
|
||||
nativeBuildInputs = [ sphinx manuel ];
|
||||
propagatedBuildInputs = [ zope_interface ];
|
||||
|
||||
src = fetchPypi {
|
||||
|
||||
@@ -0,0 +1,29 @@
|
||||
{ stdenv, buildPythonPackage, fetchPypi, isPyPy, isPy3k, click, gmpy2, numpy } :
|
||||
|
||||
let
|
||||
pname = "phe";
|
||||
version = "1.4.0";
|
||||
in
|
||||
|
||||
buildPythonPackage {
|
||||
inherit pname version;
|
||||
|
||||
# https://github.com/n1analytics/python-paillier/issues/51
|
||||
disabled = isPyPy || ! isPy3k;
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "0wzlk7d24kp0f5kpm0kvvc88mm42144f5cg9pcpb1dsfha75qy5m";
|
||||
};
|
||||
|
||||
buildInputs = [ click gmpy2 numpy ];
|
||||
|
||||
# 29/233 tests fail
|
||||
doCheck = false;
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "A library for Partially Homomorphic Encryption in Python";
|
||||
homepage = https://github.com/n1analytics/python-paillier;
|
||||
license = licenses.gpl3;
|
||||
};
|
||||
}
|
||||
@@ -10,9 +10,12 @@ buildPythonPackage rec {
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ numpy pyyaml matplotlib h5py ];
|
||||
|
||||
|
||||
checkPhase = ''
|
||||
cd test/phonopy
|
||||
cd test
|
||||
# dynamic structure factor test ocassionally fails do to roundoff
|
||||
# see issue https://github.com/atztogo/phonopy/issues/79
|
||||
rm spectrum/test_dynamic_structure_factor.py
|
||||
${python.interpreter} -m unittest discover -b
|
||||
cd ../..
|
||||
'';
|
||||
@@ -24,4 +27,3 @@ buildPythonPackage rec {
|
||||
maintainers = with maintainers; [ psyanticy ];
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
{ stdenv
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, fetchpatch
|
||||
, requests
|
||||
, pytz
|
||||
, tzlocal
|
||||
@@ -19,10 +20,18 @@
|
||||
buildPythonPackage rec {
|
||||
pname = "py3status";
|
||||
version = "3.12";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "c9ef49f72c2d83976d2841ab7e70faee3c77f4d7dbb2d3390ef0f0509473ea9a";
|
||||
};
|
||||
|
||||
# ImportError: cannot import name '_to_ascii'
|
||||
patches = fetchpatch {
|
||||
url = "${meta.homepage}/commit/8a48e01cb68b514b532f56037e4f5a6c19662de5.patch";
|
||||
sha256 = "0v1yja5lvdjk6vh13lvh07n7aw5hjcy7v9lrs2dfb0y0cjw4kx9n";
|
||||
};
|
||||
|
||||
doCheck = false;
|
||||
propagatedBuildInputs = [ pytz requests tzlocal ];
|
||||
buildInputs = [ file ];
|
||||
|
||||
@@ -17,7 +17,7 @@ buildPythonPackage rec {
|
||||
prePatch = ''
|
||||
substituteInPlace setup.py \
|
||||
--replace 'beautifulsoup4>=4.2.1,<4.5.0' \
|
||||
'beautifulsoup4>=4.2.1,<=4.6.0'
|
||||
'beautifulsoup4>=4.2.1,<=4.6.3'
|
||||
'';
|
||||
|
||||
# don't require enum34 on python >= 3.4
|
||||
|
||||
@@ -1,17 +1,17 @@
|
||||
{ stdenv, buildPythonPackage, fetchPypi, glibcLocales, numpy, pydispatcher, sympy, requests, monty, ruamel_yaml, six, scipy, tabulate, enum34, matplotlib, palettable, spglib, pandas }:
|
||||
{ stdenv, buildPythonPackage, fetchPypi, glibcLocales, numpy, pydispatcher, sympy, requests, monty, ruamel_yaml, six, scipy, tabulate, enum34, matplotlib, palettable, spglib, pandas, networkx }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "pymatgen";
|
||||
version = "2018.8.10";
|
||||
version = "2018.9.1";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "9bb3b170ca8654c956fa2efdd31107570c0610f7585d90e4a541eb99cee41603";
|
||||
sha256 = "dee5dbd8008081de9f27759c20c550d09a07136eeebfe941e3d05fd88ccace18";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ glibcLocales ];
|
||||
propagatedBuildInputs = [ numpy pydispatcher sympy requests monty ruamel_yaml six scipy tabulate enum34 matplotlib palettable spglib pandas ];
|
||||
|
||||
propagatedBuildInputs = [ numpy pydispatcher sympy requests monty ruamel_yaml six scipy tabulate enum34 matplotlib palettable spglib pandas networkx ];
|
||||
|
||||
# No tests in pypi tarball.
|
||||
doCheck = false;
|
||||
|
||||
@@ -22,4 +22,3 @@ buildPythonPackage rec {
|
||||
maintainers = with maintainers; [ psyanticy ];
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
@@ -1,20 +1,30 @@
|
||||
{ stdenv, buildPythonPackage, isPy3k, fetchPypi }:
|
||||
{ stdenv, python, buildPythonPackage, isPy3k, fetchPypi }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "pymetar";
|
||||
version = "0.21";
|
||||
version = "1.0";
|
||||
|
||||
disabled = isPy3k;
|
||||
disabled = !isPy3k;
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "1sh3nm5ilnsgpnzbb2wv4xndnizjayw859qp72798jadqpcph69k";
|
||||
sha256 = "1n4k5aic4sgp43ki6j3zdw9b21r3biqqws8ah57b77n44b8wzrap";
|
||||
};
|
||||
|
||||
checkPhase = ''
|
||||
cd testing/smoketest
|
||||
tar xzf reports.tgz
|
||||
mkdir logs
|
||||
patchShebangs runtests.sh
|
||||
substituteInPlace runtests.sh --replace "break" "exit 1" # fail properly
|
||||
export PYTHONPATH="$PYTHONPATH:$out/${python.sitePackages}"
|
||||
./runtests.sh
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "A command-line tool to show the weather report by a given station ID";
|
||||
homepage = http://www.schwarzvogel.de/software/pymetar.html;
|
||||
license = licenses.gpl2;
|
||||
license = licenses.gpl2Plus;
|
||||
maintainers = with maintainers; [ erosennin ];
|
||||
};
|
||||
}
|
||||
|
||||
@@ -2,13 +2,13 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "pyslurm";
|
||||
version = "20180604";
|
||||
version = "20180811";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
repo = "pyslurm";
|
||||
owner = "PySlurm";
|
||||
rev = "9dd4817e785fee138a9e29c3d71d2ea44898eedc";
|
||||
sha256 = "14ivwc27sjnk0z0jpfgyy9bd91m2bhcz11lzp1kk9xn4495i7wvj";
|
||||
rev = "2d4f0553de971309b7e465d4d64528b8a5fafb05";
|
||||
sha256 = "1cy57gyvvmzx0c8fx4h6p8dgan0ay6pdivdf24k1xiancjnw20xr";
|
||||
};
|
||||
|
||||
buildInputs = [ cython slurm ];
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
{ stdenv, buildPythonPackage, fetchPypi
|
||||
, setuptools-git, pytest, six }:
|
||||
, setuptools-git, pytest }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "pytest-fixture-config";
|
||||
@@ -14,11 +14,7 @@ buildPythonPackage rec {
|
||||
|
||||
buildInputs = [ pytest ];
|
||||
|
||||
checkInputs = [ six ];
|
||||
|
||||
checkPhase = ''
|
||||
py.test
|
||||
'';
|
||||
doCheck = false;
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Simple configuration objects for Py.test fixtures. Allows you to skip tests when their required config variables aren’t set.";
|
||||
|
||||
@@ -0,0 +1,29 @@
|
||||
{ stdenv, buildPythonPackage, fetchPypi
|
||||
, nose, psutil, mock }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
version = "2.0.1";
|
||||
pname = "selectors2";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "81b77c4c6f607248b1d6bbdb5935403fef294b224b842a830bbfabb400c81884";
|
||||
};
|
||||
|
||||
checkInputs = [ nose psutil mock ];
|
||||
|
||||
checkPhase = ''
|
||||
# https://github.com/NixOS/nixpkgs/pull/46186#issuecomment-419450064
|
||||
# Trick to disable certain tests that depend on timing which
|
||||
# will always fail on hydra
|
||||
export TRAVIS=""
|
||||
nosetests tests/test_selectors2.py
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = https://www.github.com/SethMichaelLarson/selectors2;
|
||||
description = "Back-ported, durable, and portable selectors";
|
||||
license = licenses.mit;
|
||||
maintainers = [ maintainers.costrouc ];
|
||||
};
|
||||
}
|
||||
@@ -0,0 +1,30 @@
|
||||
{ buildPythonPackage, lib, fetchPypi, glibcLocales, isPy3k, contextvars
|
||||
, pythonOlder
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "sniffio";
|
||||
version = "1.0.0";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "1dzb0nx3m1hpjgsv6s6w5ac2jcmywcz6gqnfkw8rwz1vkr1836rf";
|
||||
};
|
||||
|
||||
# breaks with the following error:
|
||||
# > TypeError: 'encoding' is an invalid keyword argument for this function
|
||||
disabled = !isPy3k;
|
||||
|
||||
buildInputs = [ glibcLocales ];
|
||||
|
||||
propagatedBuildInputs = lib.optionals (pythonOlder "3.7") [ contextvars ];
|
||||
|
||||
# no tests distributed with PyPI
|
||||
doCheck = false;
|
||||
|
||||
meta = with lib; {
|
||||
homepage = https://github.com/python-trio/sniffio;
|
||||
license = licenses.asl20;
|
||||
description = "Sniff out which async library your code is running under";
|
||||
};
|
||||
}
|
||||
@@ -37,7 +37,8 @@ buildPythonPackage rec {
|
||||
--replace "ftfy==" "ftfy>=" \
|
||||
--replace "msgpack-python==" "msgpack-python>=" \
|
||||
--replace "msgpack-numpy==" "msgpack-numpy>=" \
|
||||
--replace "pathlib" "pathlib; python_version<\"3.4\""
|
||||
--replace "thinc>=6.10.3,<6.11.0" "thinc>=6.10.3" \
|
||||
--replace "plac<1.0.0,>=0.9.6" "plac>=0.9.6"
|
||||
'';
|
||||
|
||||
propagatedBuildInputs = [
|
||||
|
||||
@@ -1,42 +1,78 @@
|
||||
[{
|
||||
"pname": "es_core_web_md",
|
||||
"version": "1.0.0",
|
||||
"sha256": "0ikyakdhnj6rrfpr8k83695d1gd3z9n60a245hwwchv94jmr7r6s",
|
||||
"pname": "de_core_news_sm",
|
||||
"version": "2.0.0",
|
||||
"sha256": "13fs4f46qg9mlxd9ynmh81gxizm11kfq3g52pk8d2m7wp89xfc6a",
|
||||
"license": "cc-by-sa-40"
|
||||
},
|
||||
{
|
||||
"pname": "fr_depvec_web_lg",
|
||||
"version": "1.0.0",
|
||||
"sha256": "0nxmdszs1s5by2874cz37azrmwamh1ngdsiylffkfihzq6s8bhka",
|
||||
"license": "cc-by-nc-sa-40"
|
||||
"pname": "en_core_web_lg",
|
||||
"version": "2.0.0",
|
||||
"sha256": "1r33l02jrkzjn78nd0bzzzd6rwjlz7qfgs3bg5yr2ki6q0m7qxvw",
|
||||
"license": "cc-by-sa-40"
|
||||
},
|
||||
{
|
||||
"pname": "en_core_web_md",
|
||||
"version": "1.2.1",
|
||||
"sha256": "12prr4hcbfdaky9rcna1y1ykr417jkhkks2r8l06g8fb7am3pvp3",
|
||||
"license": "cc-by-sa-40"
|
||||
},
|
||||
{
|
||||
"pname": "en_depent_web_md",
|
||||
"version": "1.2.1",
|
||||
"sha256": "0giyr35q5lpp5drpcamyvb5gsjnhj62mk3ndfr49nm1s6d5f6m52",
|
||||
"version": "2.0.0",
|
||||
"sha256": "1b5g5gma1gzm8ffj0pgli1pllccx5jpjvb7a19n7c8bfswpifxzc",
|
||||
"license": "cc-by-sa-40"
|
||||
},
|
||||
{
|
||||
"pname": "en_core_web_sm",
|
||||
"version": "1.2.0",
|
||||
"sha256": "0vc4l77dcwa9lmzyqdci8ikjc0m2rhasl2zvyba547vf76qb0528",
|
||||
"version": "2.0.0",
|
||||
"sha256": "161298pl6kzc0cgf2g7ji84xbqv8ayrgsrmmg0hxiflwghfj77cx",
|
||||
"license": "cc-by-sa-40"
|
||||
},
|
||||
{
|
||||
"pname": "de_core_news_md",
|
||||
"version": "1.0.0",
|
||||
"sha256": "072jz2rdi1nckny7k16avp86vjg4didfdsw816kfl9zwr88iny6g",
|
||||
"pname": "en_vectors_web_lg",
|
||||
"version": "2.0.0",
|
||||
"sha256": "15qfd8vzdv56x41fzghy7k5x1c8ql92ds70r37b6a8hkb87z9byw",
|
||||
"license": "cc-by-sa-40"
|
||||
},
|
||||
{
|
||||
"pname": "en_vectors_glove_md",
|
||||
"version": "1.0.0",
|
||||
"sha256": "1jbr27xnh5fdww8yphpvk2brfnzb174wfnxkzdqwv3iyi02zsin6",
|
||||
"pname": "es_core_news_md",
|
||||
"version": "2.0.0",
|
||||
"sha256": "03056qz866r641q4nagymw6pc78qnn5vdvcp7p1ph2cvxh7081kp",
|
||||
"license": "cc-by-sa-40"
|
||||
},
|
||||
{
|
||||
"pname": "es_core_news_sm",
|
||||
"version": "2.0.0",
|
||||
"sha256": "1b91lcmw2kyqmcrxlfq7m5vlj1a57i3bb9a5h4y31smjgzmsr81s",
|
||||
"license": "cc-by-sa-40"
|
||||
},
|
||||
{
|
||||
"pname": "fr_core_news_md",
|
||||
"version": "2.0.0",
|
||||
"sha256": "06kva46l1nw819bidzj2vks69ap1a9fa7rnvpd28l3z2haci38ls",
|
||||
"license": "cc-by-sa-40"
|
||||
},
|
||||
{
|
||||
"pname": "fr_core_news_sm",
|
||||
"version": "2.0.0",
|
||||
"sha256": "1zlhm9646g3cwcv4cs33160f3v8gxmzdr02x8hx7jpw1fbnmc5mx",
|
||||
"license": "cc-by-sa-40"
|
||||
},
|
||||
{
|
||||
"pname": "it_core_news_sm",
|
||||
"version": "2.0.0",
|
||||
"sha256": "0fs68rdq19migb3x3hb510b96aabibsi01adlk1fipll1x48msaz",
|
||||
"license": "cc-by-sa-40"
|
||||
},
|
||||
{
|
||||
"pname": "nl_core_news_sm",
|
||||
"version": "2.0.0",
|
||||
"sha256": "0n5x61jp8rdxa3ki250ipbd68rjpp9li6xwbx3fbzycpngffwy8z",
|
||||
"license": "cc-by-sa-40"
|
||||
},
|
||||
{
|
||||
"pname": "pt_core_news_sm",
|
||||
"version": "2.0.0",
|
||||
"sha256": "1sg500b3f3qnx1ga32hbq9p4qfynqhpdzhlmdjrxgqw8i58ys23g",
|
||||
"license": "cc-by-sa-40"
|
||||
},
|
||||
{
|
||||
"pname": "xx_ent_wiki_sm",
|
||||
"version": "2.0.0",
|
||||
"sha256": "0mc3mm6nfjp31wbjysdj2x72akyi52hgprm1g54djxfypm3pmn35",
|
||||
"license": "cc-by-sa-40"
|
||||
}]
|
||||
|
||||
@@ -0,0 +1,24 @@
|
||||
{ lib, fetchPypi, buildPythonPackage, fetchurl, pytest, scipy, h5py
|
||||
, pillow, tensorflow }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "tflearn";
|
||||
version = "0.3.2";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "034lvbslcivyj64r4w6xmr90ckmyxmrnkka9kal50x4175h02n1z";
|
||||
};
|
||||
|
||||
buildInputs = [ pytest ];
|
||||
|
||||
propagatedBuildInputs = [ scipy h5py pillow tensorflow ];
|
||||
|
||||
doCheck = false;
|
||||
|
||||
meta = with lib; {
|
||||
description = "Deep learning library featuring a higher-level API for TensorFlow";
|
||||
homepage = "https://github.com/tflearn/tflearn";
|
||||
license = licenses.mit;
|
||||
};
|
||||
}
|
||||
@@ -6,6 +6,7 @@
|
||||
, pytest
|
||||
, cython
|
||||
, cymem
|
||||
, darwin
|
||||
, msgpack-numpy
|
||||
, msgpack-python
|
||||
, preshed
|
||||
@@ -35,9 +36,15 @@ buildPythonPackage rec {
|
||||
postPatch = ''
|
||||
substituteInPlace setup.py \
|
||||
--replace "msgpack-python==" "msgpack-python>=" \
|
||||
--replace "msgpack-numpy==" "msgpack-numpy>="
|
||||
--replace "msgpack-numpy==" "msgpack-numpy>=" \
|
||||
--replace "plac>=0.9,<1.0" "plac>=0.9" \
|
||||
--replace "hypothesis>=2,<3" "hypothesis>=2"
|
||||
'';
|
||||
|
||||
buildInputs = lib.optionals stdenv.isDarwin (with darwin.apple_sdk.frameworks; [
|
||||
Accelerate CoreFoundation CoreGraphics CoreVideo
|
||||
]);
|
||||
|
||||
propagatedBuildInputs = [
|
||||
cython
|
||||
cymem
|
||||
|
||||
@@ -8,6 +8,7 @@
|
||||
, pytest
|
||||
, pyopenssl
|
||||
, trustme
|
||||
, sniffio
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
@@ -31,6 +32,7 @@ buildPythonPackage rec {
|
||||
async_generator
|
||||
idna
|
||||
outcome
|
||||
sniffio
|
||||
] ++ lib.optionals (pythonOlder "3.7") [ contextvars ];
|
||||
|
||||
meta = {
|
||||
|
||||
Reference in New Issue
Block a user