Merge master into staging-next

This commit is contained in:
Frederik Rietdijk
2019-12-29 10:19:39 +01:00
273 changed files with 4748 additions and 2531 deletions

View File

@@ -1,16 +1,16 @@
{ lib, fetchPypi, buildPythonPackage, pythonOlder, aiohttp }:
{ lib, fetchPypi, buildPythonPackage, pythonOlder, aiohttp, attrs }:
buildPythonPackage rec {
pname = "aiohttp-socks";
version = "0.2.2";
version = "0.3.3";
src = fetchPypi {
inherit version;
pname = "aiohttp_socks";
sha256 = "0473702jk66xrgpm28wbdgpnak4v0dh2qmdjw7ky7hf3lwwqkggf";
sha256 = "21974ce5d782c426ddbf7bdfc5e602a38783b1ee839a4a0ed0990240e2e123b5";
};
propagatedBuildInputs = [ aiohttp ];
propagatedBuildInputs = [ aiohttp attrs ];
# Checks needs internet access
doCheck = false;

View File

@@ -6,11 +6,11 @@
buildPythonPackage rec {
pname = "biopython";
version = "1.75";
version = "1.76";
src = fetchPypi {
inherit pname version;
sha256 = "01lrm353si63anhhynf6hqbd3f753c2k8dkk953j3g6257py8q2h";
sha256 = "0wlch9xpa0fpgjzyxi6jsfca6iakaq9a05927xg8vqnmvaccnwrq";
};
propagatedBuildInputs = [ numpy ];

View File

@@ -5,6 +5,7 @@
, jinja2
, selenium
, six
, setuptools
}:
buildPythonPackage rec {
@@ -17,7 +18,7 @@ buildPythonPackage rec {
};
checkInputs = [ pytest selenium ];
propagatedBuildInputs = [ jinja2 six ];
propagatedBuildInputs = [ jinja2 six setuptools ];
# Seems to require a browser
doCheck = false;

View File

@@ -3,7 +3,7 @@
, buildPythonPackage
, pythonAtLeast
, fetchFromGitHub
, net_snmp
, net-snmp
, openssl
, pytest
, pytestcov
@@ -35,12 +35,12 @@ buildPythonPackage rec {
];
buildInputs = [
net_snmp
net-snmp
openssl
];
buildPhase = ''
python setup.py build bdist_wheel --basedir=${net_snmp}/bin
python setup.py build bdist_wheel --basedir=${lib.getBin net-snmp}/bin
'';
# Unable to get tests to pass, even running by hand. The pytest tests have

View File

@@ -38,6 +38,6 @@ buildPythonPackage rec {
homepage = https://github.com/alpernebbi/git-annex-adapter;
description = "Call git-annex commands from Python";
license = licenses.gpl3Plus;
maintainers = with maintainers; [ dotlambda ma27 ];
maintainers = with maintainers; [ dotlambda ];
};
}

View File

@@ -16,7 +16,7 @@ buildPythonPackage rec {
meta = with lib; {
description = "Google's i18n address data packaged for Python";
homepage = https://pypi.org/project/google-i18n-address/;
maintainers = with maintainers; [ ma27 ];
maintainers = with maintainers; [ ];
license = licenses.bsd3;
};
}

View File

@@ -20,6 +20,6 @@ buildPythonPackage rec {
homepage = https://github.com/NoMore201/googleplay-api;
license = licenses.gpl3;
description = "Google Play Unofficial Python API";
maintainers = with maintainers; [ ma27 ];
maintainers = with maintainers; [ ];
};
}

View File

@@ -21,6 +21,6 @@ buildPythonPackage rec {
homepage = https://github.com/matlink/gplaycli;
description = "Google Play Downloader via Command line";
license = licenses.agpl3Plus;
maintainers = with maintainers; [ ma27 ];
maintainers = with maintainers; [ ];
};
}

View File

@@ -1,20 +1,20 @@
{ lib, fetchFromGitHub, buildPythonApplication, python, graphviz }:
buildPythonApplication {
name = "gprof2dot-2017-09-19";
name = "gprof2dot-2019-11-30";
src = fetchFromGitHub {
owner = "jrfonseca";
repo = "gprof2dot";
rev = "2017.09.19";
sha256 = "1b5wvjv5ykbhz7aix7l3y7mg1hxi0vgak4a49gr92sdlz8blj51v";
rev = "2019.11.30";
sha256 = "1nw4cfwimd0djarw4wc756q095xir78js8flmycg6g7sl3l6p27s";
};
checkInputs = [ graphviz ];
checkPhase = "${python.interpreter} tests/test.py";
meta = with lib; {
homepage = https://github.com/jrfonseca/gprof2dot;
homepage = "https://github.com/jrfonseca/gprof2dot";
description = "Python script to convert the output from many profilers into a dot graph";
license = licenses.lgpl3Plus;
maintainers = [ maintainers.pmiddend ];

View File

@@ -0,0 +1,28 @@
{ lib, buildPythonPackage, fetchFromGitHub, acme, aiohttp, snitun, attrs, pytest-aiohttp, warrant, pytest }:
buildPythonPackage rec {
pname = "hass-nabucasa";
version = "0.29";
src = fetchFromGitHub {
owner = "nabucasa";
repo = pname;
rev = version;
sha256 = "182nh5i3hlj0kqkbynk69md0ddq83w02l8lz4m03d8xbjixzi1k1";
};
propagatedBuildInputs = [ acme aiohttp snitun attrs warrant ];
checkInputs = [ pytest pytest-aiohttp ];
checkPhase = ''
pytest tests/
'';
meta = with lib; {
homepage = "https://github.com/NabuCasa/hass-nabucasa";
description = "Home Assistant cloud integration by Nabu Casa, inc.";
license = licenses.gpl3;
maintainers = with maintainers; [ Scriptkiddi ];
};
}

View File

@@ -1,20 +0,0 @@
{ lib, buildPythonPackage, fetchPypi, numpy, pandas }:
buildPythonPackage rec {
pname = "histbook";
version = "1.2.5";
src = fetchPypi {
inherit pname version;
sha256 = "76d1f143f8abccf5539029fbef8133db84f377fc7752ac9e7e6d19ac9a277967";
};
propagatedBuildInputs = [ numpy pandas ];
meta = with lib; {
homepage = https://github.com/scikit-hep/histbook;
description = "Versatile, high-performance histogram toolkit for Numpy";
license = licenses.bsd3;
maintainers = with maintainers; [ veprbl ];
};
}

View File

@@ -30,6 +30,6 @@ buildPythonPackage rec {
meta = with lib; {
description = "This library eases the use of the JIRA REST API from Python.";
license = licenses.bsd2;
maintainers = with maintainers; [ globin ma27 ];
maintainers = with maintainers; [ globin ];
};
}

View File

@@ -1,14 +1,14 @@
{ lib, python, fetchFromGitHub }:
{ lib, buildPythonPackage, fetchFromGitHub, isPy3k, six, flask, pygments, dulwich, httpauth, humanize, pytest, requests, python-ctags3, mock }:
python.pkgs.buildPythonPackage rec {
buildPythonPackage rec {
pname = "klaus";
version = "1.5.0";
version = "1.5.1";
src = fetchFromGitHub {
owner = "jonashaag";
repo = pname;
rev = version;
sha256 = "0pagyqfcj47ghd9m7b32hvi17hbl19f0wallkz6ncvmvvy919lfz";
sha256 = "1432m3ki2g4ma10pfv310q1w4da46b0y2jklb8ajbz8a09ms6mfx";
};
prePatch = ''
@@ -16,11 +16,11 @@ python.pkgs.buildPythonPackage rec {
--replace "mkdir -p \$builddir" "mkdir -p \$builddir && pwd"
'';
propagatedBuildInputs = with python.pkgs; [
propagatedBuildInputs = [
six flask pygments dulwich httpauth humanize
];
checkInputs = with python.pkgs; [
checkInputs = [
pytest requests python-ctags3
] ++ lib.optional (!isPy3k) mock;

View File

@@ -12,7 +12,7 @@ buildPythonPackage rec {
src = fetchPypi {
inherit pname version;
sha256 = "4cbeb4558f952cb08f53c4b57a405981b5683f38df0b293f0e7d20b6f4c17d84";
sha256 = "1gw2lk16fz2n1953i29hgw47s2h0c6z911zzg8am1in8qq2318xv";
format = "wheel";
};

View File

@@ -10,13 +10,13 @@
buildPythonPackage rec {
pname = "mozlog";
version = "4.2.0";
version = "5.0";
disabled = isPy3k;
src = fetchPypi {
inherit pname version;
sha256 = "dc85cfb9d47af6811f2367f471de7028c36204340c5e68a928115409ea75d9a9";
sha256 = "0h1hgs13c1w0wvz60400i37m00077li1ky28j7kgx4bl75pkd3sw";
};
propagatedBuildInputs = [ blessings mozterm six ];

View File

@@ -4,18 +4,19 @@
, mozlog
, mozfile
, mozhttpd
, wptserve
}:
buildPythonPackage rec {
pname = "mozprofile";
version = "2.3.0";
version = "2.4.0";
src = fetchPypi {
inherit pname version;
sha256 = "95e7410ff2a65775422936749b346da8abf09fe0aafa3bb5dd1651b17da137d1";
sha256 = "09l18x72vahq7il9nj6qj7la2d21vvbcn9szlm3vsvsbkz68w0yk";
};
propagatedBuildInputs = [ mozlog mozfile mozhttpd ];
propagatedBuildInputs = [ mozlog mozfile mozhttpd wptserve ];
meta = {
description = "Mozilla application profile handling library";

View File

@@ -12,11 +12,11 @@
buildPythonPackage rec {
pname = "mozrunner";
version = "7.6.0";
version = "7.7.0";
src = fetchPypi {
inherit pname version;
sha256 = "0ae84147f0fd784daa32c1d74f94b6e384967831aaf0c635bb3d9d0af3c4b112";
sha256 = "04s6w0sp83bn3c6ym75rnlpmcy3yr7d35jxkxhgzmy75gbcps7bi";
};
propagatedBuildInputs = [ mozdevice mozfile mozinfo mozlog mozprocess

View File

@@ -7,11 +7,11 @@
buildPythonPackage rec {
pname = "mozversion";
version = "2.1.0";
version = "2.2.0";
src = fetchPypi {
inherit pname version;
sha256 = "65f41d7dc14002f83d8f147c82ca34f7213ad07065d250939daaeeb3787dc0fa";
sha256 = "0jczc1yr2yi3mf1qdgpvg9sidp5hf3jplzs4917j65ymvk2zw9na";
};
propagatedBuildInputs = [ mozlog mozdevice ];

View File

@@ -37,6 +37,6 @@ buildPythonPackage rec {
meta = with stdenv.lib; {
homepage = https://github.com/wbsoft/python-poppler-qt5;
license = licenses.gpl2;
maintainers = with maintainers; [ ma27 ];
maintainers = with maintainers; [ ];
};
}

View File

@@ -2,11 +2,11 @@
buildPythonPackage rec {
pname = "pymavlink";
version = "2.4.1";
version = "2.4.2";
src = fetchPypi {
inherit pname version;
sha256 = "0y9rz3piddzdjpp7d5w9xi6lc9v9b4p4375a5hrfiphrmhds85i3";
sha256 = "0vxqn36wldvpzag399a54r37bdgx052gv1k7akbnddcwry0n9vl0";
};
propagatedBuildInputs = [ future lxml ];

View File

@@ -21,6 +21,6 @@ buildPythonPackage rec {
homepage = https://github.com/PySlurm/pyslurm;
description = "Python bindings to Slurm";
license = licenses.gpl2;
maintainers = [ maintainers.veprbl ];
maintainers = with maintainers; [ bhipple ];
};
}

View File

@@ -2,11 +2,11 @@
buildPythonPackage rec {
pname = "pytesseract";
version = "0.3.0";
version = "0.3.1";
src = fetchPypi {
inherit pname version;
sha256 = "0n9vasm5fp25fmr9ns9i3bf4kri63s1mvmjgc6q8w7rx840ww7df";
sha256 = "1j7d4aa6v1nd3pd1vrfmkv8mbmw0x78cjfpkq3nxpy1r4hj5nwq3";
};
patches = [
@@ -24,7 +24,7 @@ buildPythonPackage rec {
meta = with lib; {
homepage = https://pypi.org/project/pytesseract/;
license = licenses.gpl3;
license = licenses.asl20;
description = "A Python wrapper for Google Tesseract";
maintainers = with maintainers; [ ma27 ];
};

View File

@@ -1,13 +1,13 @@
diff --git a/src/pytesseract.py b/src/pytesseract.py
index 32713cf..5f9209d 100755
index 132f59b..f161e5c 100755
--- a/src/pytesseract.py
+++ b/src/pytesseract.py
@@ -25,7 +25,7 @@ if numpy_installed:
from numpy import ndarray
@@ -23,7 +23,7 @@ except ImportError:
import Image
# CHANGE THIS IF TESSERACT IS NOT IN YOUR PATH, OR IS NAMED DIFFERENTLY
-tesseract_cmd = 'tesseract'
+tesseract_cmd = '@drv@/bin/tesseract'
RGB_MODE = 'RGB'
OSD_KEYS = {
'Page number': ('page_num', int),
numpy_installed = find_loader('numpy') is not None
if numpy_installed:

View File

@@ -12,8 +12,7 @@ buildPythonPackage {
format = "other";
nativeBuildInputs = [ lndir sip qtbase ];
buildInputs = [ qscintilla ];
propagatedBuildInputs = [ pyqt5 ];
buildInputs = [ qscintilla pyqt5 ];
postPatch = ''
substituteInPlace Python/configure.py \

View File

@@ -0,0 +1,28 @@
{ lib, buildPythonPackage, python, fetchFromGitHub, attrs, cryptography, async-timeout, pytest-aiohttp, pytest }:
buildPythonPackage rec {
pname = "snitun";
version = "0.20";
src = fetchFromGitHub {
owner = "NabuCasa";
repo = pname;
rev = version;
sha256 = "1nscfwycclfbll709w1q46w6rl0r5c3b85rsc7zwc3ixd1k8aajp";
};
propagatedBuildInputs = [ attrs cryptography async-timeout ];
checkInputs = [ pytest pytest-aiohttp ];
checkPhase = ''
pytest tests/
'';
meta = with lib; {
homepage = "https://github.com/nabucasa/snitun";
description = "SNI proxy with TCP multiplexer";
license = licenses.gpl3;
maintainers = with maintainers; [ Scriptkiddi ];
};
}

View File

@@ -21,6 +21,6 @@ buildPythonPackage rec {
description = "Command line interface for testing internet bandwidth using speedtest.net";
homepage = https://github.com/sivel/speedtest-cli;
license = licenses.asl20;
maintainers = with maintainers; [ makefu domenkozar ndowens ];
maintainers = with maintainers; [ makefu domenkozar ];
};
}

View File

@@ -8,11 +8,11 @@
buildPythonPackage rec {
pname = "sympy";
version = "1.4"; # Upgrades may break sage. Please test or ping @timokau.
version = "1.5"; # Upgrades may break sage. Please test or ping @timokau.
src = fetchPypi {
inherit pname version;
sha256 = "1q937csy8rd18pk2fz1ssj7jyj7l3rjx4nzbiz5vcymfhrb1x8bi";
sha256 = "1s4w7q8gndim2ky825a84jmwcf7ryfn10wm8yxz9dw5z2307smii";
};
checkInputs = [ glibcLocales ];
@@ -22,14 +22,6 @@ buildPythonPackage rec {
# tests take ~1h
doCheck = false;
patches = [
# to be fixed by https://github.com/sympy/sympy/pull/13476
(fetchpatch {
url = "https://git.sagemath.org/sage.git/plain/build/pkgs/sympy/patches/03_undeffun_sage.patch?id=3277ba76d0ba7174608a31a0c6623e9210c63e3d";
sha256 = "0xcp1qafvqnivvvi0byh51mbgqicjhmswwvqvamjz9rxfzm5f7d7";
})
];
preCheck = ''
export LANG="en_US.UTF-8"
'';

View File

@@ -85,6 +85,6 @@ buildPythonPackage rec {
description = "A smart imaging service";
homepage = https://github.com/thumbor/thumbor/wiki;
license = licenses.mit;
maintainers = with maintainers; [ ma27 ];
maintainers = with maintainers; [ ];
};
}

View File

@@ -0,0 +1,25 @@
{ lib, buildPythonPackage, fetchPypi, isPy27
, libX11, libXext
, attrs, docopt, pillow, psutil, xlib }:
buildPythonPackage rec {
pname = "ueberzug";
version = "18.1.5";
disabled = isPy27;
src = fetchPypi {
inherit pname version;
sha256 = "1rj864sdn1975v59i8j3cfa9hni1hacq0z2b8m7wib0da9apygby";
};
buildInputs = [ libX11 libXext ];
propagatedBuildInputs = [ attrs docopt pillow psutil xlib ];
meta = with lib; {
homepage = "https://github.com/seebye/ueberzug";
description = "An alternative for w3mimgdisplay";
license = licenses.gpl3;
maintainers = with maintainers; [ filalex77 ];
};
}