Merge master into staging-next

This commit is contained in:
Frederik Rietdijk
2020-11-13 20:58:35 +01:00
251 changed files with 2203 additions and 1359 deletions
@@ -2,12 +2,11 @@
buildPythonPackage rec {
pname = "bitstring";
version = "3.1.5";
version = "3.1.7";
src = fetchPypi {
inherit pname version;
sha256 = "1algq30j6rz12b1902bpw7iijx5lhrfqhl80d4ac6xzkrrpshqy1";
extension = "zip";
sha256 = "0jl6192dwrlm5ybkbh7ywmyaymrc3cmz9y07nm7qdli9n9rfpwzx";
};
meta = with stdenv.lib; {
@@ -2,11 +2,11 @@
buildPythonPackage rec {
pname = "colorlog";
version = "4.2.1";
version = "4.4.0";
src = fetchPypi {
inherit pname version;
sha256 = "066i7904vc7814gqnlprksf0ikz2dmviw93r2mr7sf53qci5irbm";
sha256 = "0272c537469ab1e63b9915535874d15b671963c9325db0c4891a2aeff97ce3d1";
};
checkInputs = [ pytest ];
@@ -0,0 +1,40 @@
{ lib
, buildPythonPackage
, fetchPypi
, gmp
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "fastecdsa";
version = "2.1.5";
src = fetchPypi {
inherit pname version;
sha256 = "d0772f7fe243e8a82d33e95c542ea6cc0ef7f3cfcced7440d6defa71a35addfa";
};
buildInputs = [ gmp ];
checkInputs = [ pytestCheckHook ];
# skip tests which require being online to download test vectors
pytestFlags = [
"--ignore=fastecdsa/tests/test_wycheproof_vectors.py"
"--ignore=fastecdsa/tests/test_rfc6979_ecdsa.py"
];
# skip tests for now, they fail with
# ImportError: cannot import name '_ecdsa' from 'fastecdsa'
# but the installed package works just fine
doCheck = false;
pythonImportsCheck = [ "fastecdsa" ];
meta = with lib; {
description = "Fast elliptic curve digital signatures";
homepage = "https://github.com/AntonKueltz/fastecdsa";
license = licenses.unlicense;
maintainers = with maintainers; [ prusnak ];
};
}
@@ -1,31 +1,35 @@
{ lib
, buildPythonPackage
, fetchPypi
, fetchFromGitHub
, requests
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "gtts-token";
version = "1.1.3";
version = "1.1.4";
src = fetchPypi {
pname = "gTTS-token";
inherit version;
sha256 = "9d6819a85b813f235397ef931ad4b680f03d843c9b2a9e74dd95175a4bc012c5";
src = fetchFromGitHub {
owner = "boudewijn26";
repo = "gTTS-token";
rev = "v${version}";
sha256 = "0vr52zc0jqyfvsccl67j1baims3cdx2is1y2lpx2kav9gadkn8hp";
};
propagatedBuildInputs = [
requests
];
# Tests only in github repo, require working internet connection
doCheck = false;
checkInputs = [ pytestCheckHook ];
# requires internet access
disabledTests = [ "test_real" ];
meta = with lib; {
description = "Calculates a token to run the Google Translate text to speech";
homepage = "https://github.com/boudewijn26/gTTS-token";
license = licenses.mit;
maintainers = [ maintainers.makefu ];
maintainers = with maintainers; [ makefu ];
};
}
@@ -1,6 +1,6 @@
{ base58
, buildPythonPackage
, fetchPypi
, fetchFromGitHub
, isPy27
, lib
, morphys
@@ -14,11 +14,13 @@
buildPythonPackage rec {
pname = "py-multihash";
version = "0.2.3";
version = "1.0.0";
src = fetchPypi {
inherit pname version ;
sha256 = "f0ade4de820afdc4b4aaa40464ec86c9da5cae3a4578cda2daab4b0eb7e5b18d";
src = fetchFromGitHub {
owner = "multiformats";
repo = pname;
rev = "v${version}";
sha256 = "07qglrbgcb8sr9msqw2v7dqj9s4rs6nyvhdnx02i5w6xx5ibzi3z";
};
nativeBuildInputs = [
@@ -38,6 +40,8 @@ buildPythonPackage rec {
pytestcov
];
pythonImportsCheck = [ "multihash" ];
disabled = isPy27;
meta = with lib; {
@@ -10,13 +10,13 @@
buildPythonPackage rec {
pname = "setuptools-rust";
version = "0.11.4";
version = "0.11.5";
disabled = isPy27;
src = fetchPypi {
inherit pname version;
sha256 = "9714fcb94c78e6ab1864ddac7750049e105fd4f7c52103aecf40d408e94a722f";
sha256 = "04ea21f1bd029046fb87d098be4d7dc74663a58dd1f9fc6edcf8f3e4123ec4a8";
};
nativeBuildInputs = [ setuptools_scm ];
@@ -3,21 +3,29 @@
, fetchFromGitHub
, glibcLocales
, urwid
, fetchpatch
}:
buildPythonPackage rec {
pname = "urwidtrees";
version = "1.0.2";
version = "1.0.3";
src = fetchFromGitHub {
owner = "pazz";
repo = "urwidtrees";
rev = version;
sha256 = "1n1kpidvkdnsqyb82vlvk78gmly96kh8351lqxn2pzgwwns6fml2";
sha256 = "sha256-yGSjwagCd5TiwEFtF6ZhDuVqj4PTa5pVXhs8ebr2O/g=";
};
propagatedBuildInputs = [ urwid ];
patches = [
(fetchpatch {
url = "https://github.com/pazz/urwidtrees/commit/ed39dbc4fc67b0e0249bf108116a88cd18543aa9.patch";
sha256 = "sha256-fA+30d2uVaoNCg4rtoWLNPvrZtq41Co4vcmM80hkURs=";
})
];
checkInputs = [ glibcLocales ];
LC_ALL="en_US.UTF-8";