Merge master into staging-next
This commit is contained in:
@@ -30,6 +30,9 @@ buildPythonPackage rec {
|
||||
description = "Autogenerate Colander schemas based on SQLAlchemy models";
|
||||
homepage = https://github.com/stefanofontanelli/ColanderAlchemy;
|
||||
license = licenses.mit;
|
||||
# ColanderAlchemy's tests currently fail with colander >1.6.0
|
||||
# (see https://github.com/stefanofontanelli/ColanderAlchemy/issues/107)
|
||||
broken = versionOlder "1.6.0" colander.version;
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
@@ -9,11 +9,11 @@ assert pariSupport -> pari != null;
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "cysignals";
|
||||
version = "1.9.0";
|
||||
version = "1.10.2";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "15ix8crpad26cfl1skyg7qajqqfdrm8q5ahhmlfmqi1aw0jqj2g2";
|
||||
sha256 = "1ckxzch3wk5cg80mppky5jib5z4fzslny3001r5zg4ar1ixbc1w1";
|
||||
};
|
||||
|
||||
# explicit check:
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, isPy3k
|
||||
, click
|
||||
, mock
|
||||
, pytest
|
||||
@@ -19,8 +20,8 @@ buildPythonPackage rec {
|
||||
};
|
||||
|
||||
checkInputs = [
|
||||
click mock pytest futures
|
||||
];
|
||||
click mock pytest
|
||||
] ++ lib.optionals (!isPy3k) [ futures ];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
google_auth requests_oauthlib
|
||||
|
||||
@@ -38,8 +38,10 @@ buildPythonPackage rec {
|
||||
checkInputs = [ sphinx numpydoc pytest ];
|
||||
propagatedBuildInputs = [ python-lz4 ];
|
||||
|
||||
# test_disk_used is broken
|
||||
# https://github.com/joblib/joblib/issues/57
|
||||
checkPhase = ''
|
||||
py.test joblib
|
||||
py.test joblib -k "not test_disk_used"
|
||||
'';
|
||||
|
||||
meta = {
|
||||
|
||||
@@ -4,6 +4,7 @@
|
||||
, jupyterlab_server
|
||||
, notebook
|
||||
, pythonOlder
|
||||
, fetchpatch
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
@@ -22,6 +23,14 @@ buildPythonPackage rec {
|
||||
"--set" "JUPYTERLAB_DIR" "$out/share/jupyter/lab"
|
||||
];
|
||||
|
||||
patches = [
|
||||
(fetchpatch {
|
||||
name = "bump-jupyterlab_server-version";
|
||||
url = https://github.com/jupyterlab/jupyterlab/commit/3b8d451e6f9a4c609e60cde5fbb3cc84aae79951.patch;
|
||||
sha256 = "08vv6rp1k5fbmvj4v9x1d9zb6ymm9pv8ml80j7p45r9fay34rndf";
|
||||
})
|
||||
];
|
||||
|
||||
# Depends on npm
|
||||
doCheck = false;
|
||||
|
||||
|
||||
@@ -4,13 +4,13 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "mysql-connector";
|
||||
version = "8.0.15";
|
||||
version = "8.0.16";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "mysql";
|
||||
repo = "mysql-connector-python";
|
||||
rev = version;
|
||||
sha256 = "1w4j2sf07aid3453529z8kg1ziycbayxi3g2r4wqn0nb3y1caqz6";
|
||||
sha256 = "0yl3fkyws24lc2qrbvn42bqy72aqy8q5v8f0j5zy3mkh9a7wlxdp";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ protobuf ];
|
||||
|
||||
@@ -2,11 +2,11 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "PyChromecast";
|
||||
version = "3.0.0";
|
||||
version = "3.2.0";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "15zaka9zjyx5lb78f0qs6w8g1rgz94gjgrgxm6iwih0a2l0pv5h9";
|
||||
sha256 = "0jksh7rb4880kni8iw3hb5q9dm5gi40zmx4r2fwydnpfhadhq5af";
|
||||
};
|
||||
|
||||
disabled = !isPy3k;
|
||||
|
||||
@@ -1,29 +1,28 @@
|
||||
{ lib, fetchurl, cmake, pyside, qt4, pysideShiboken, buildPythonPackage }:
|
||||
{ lib, buildPythonPackage, fetchFromGitHub, cmake, qt4, pyside, pysideShiboken }:
|
||||
|
||||
# This derivation provides a Python module and should therefore be called via `python-packages.nix`.
|
||||
buildPythonPackage rec {
|
||||
pname = "pyside-tools";
|
||||
version = "0.2.15";
|
||||
format = "other";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://github.com/PySide/Tools/archive/0.2.15.tar.gz";
|
||||
sha256 = "0x4z3aq7jgar74gxzwznl3agla9i1dcskw5gh11jnnwwn63ffzwa";
|
||||
src = fetchFromGitHub {
|
||||
owner = "PySide";
|
||||
repo = "Tools";
|
||||
rev = version;
|
||||
sha256 = "017i2yxgjrisaifxqnl3ym8ijl63l2yl6a3474dsqhlyqz2nx2ll";
|
||||
};
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
nativeBuildInputs = [ cmake ];
|
||||
|
||||
buildInputs = [ qt4 ];
|
||||
|
||||
propagatedBuildInputs = [ pyside pysideShiboken ];
|
||||
|
||||
meta = {
|
||||
description = "Tools for pyside, the LGPL-licensed Python bindings for the Qt cross-platform application and UI framework";
|
||||
license = lib.licenses.gpl2;
|
||||
homepage = http://www.pyside.org;
|
||||
meta = with lib; {
|
||||
description = "Development tools (pyside-uic/rcc/lupdate) for PySide, the LGPL-licensed Python bindings for the Qt framework";
|
||||
license = licenses.gpl2;
|
||||
homepage = https://wiki.qt.io/PySide;
|
||||
maintainers = [ ];
|
||||
platforms = lib.platforms.all;
|
||||
platforms = platforms.all;
|
||||
};
|
||||
}
|
||||
|
||||
@@ -38,6 +38,7 @@ buildPythonPackage rec {
|
||||
];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
broken = cornice.version != "0.17";
|
||||
description = "The SyncServer server software, as used by Firefox Sync";
|
||||
homepage = https://github.com/mozilla-services/server-syncstorage;
|
||||
license = licenses.mpl20;
|
||||
|
||||
@@ -31,7 +31,8 @@ buildPythonPackage rec {
|
||||
prePatch = ''
|
||||
substituteInPlace setup.py \
|
||||
--replace "regex==" "regex>=" \
|
||||
--replace "plac<1.0.0,>=0.9.6" "plac>=0.9.6"
|
||||
--replace "plac<1.0.0,>=0.9.6" "plac>=0.9.6" \
|
||||
--replace "wheel>=0.32.0,<0.33.0" "wheel>=0.32.0"
|
||||
'';
|
||||
|
||||
propagatedBuildInputs = [
|
||||
|
||||
37
pkgs/development/python-modules/wikipedia/default.nix
Normal file
37
pkgs/development/python-modules/wikipedia/default.nix
Normal file
@@ -0,0 +1,37 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, beautifulsoup4
|
||||
, requests
|
||||
, python
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "wikipedia";
|
||||
version = "1.4.0";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "db0fad1829fdd441b1852306e9856398204dc0786d2996dd2e0c8bb8e26133b2";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
beautifulsoup4
|
||||
requests
|
||||
];
|
||||
|
||||
checkPhase = ''
|
||||
runHook preCheck
|
||||
|
||||
${python.interpreter} -m unittest discover tests/ '*test.py'
|
||||
|
||||
runHook postCheck
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "Wikipedia API for Python";
|
||||
homepage = https://github.com/goldsmith/Wikipedia;
|
||||
license = licenses.mit;
|
||||
maintainers = [ maintainers.worldofpeace ];
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user