Merge pull request #128904 from mweinelt/python/whatever

This commit is contained in:
Martin Weinelt 2021-07-04 01:18:59 +02:00 committed by GitHub
commit 06607de533
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 16 additions and 16 deletions

View file

@ -6,11 +6,11 @@
buildPythonPackage rec {
pname = "hijri-converter";
version = "2.1.2";
version = "2.1.3";
src = fetchPypi {
inherit pname version;
sha256 = "43b5ac566e7a7deeab364a2397e94405a65fd24ea786073eb3d4c740ebda7b9b";
sha256 = "1cq67v0fjk7cd8kbppg2kl31a5i6jm8qrkcdqxx6vxwmx65l68ks";
};
checkInputs = [ pytestCheckHook ];

View file

@ -9,26 +9,25 @@
buildPythonPackage rec {
pname = "textfsm";
version = "1.1.1";
version = "1.1.2";
format = "setuptools";
src = fetchFromGitHub {
owner = "google";
repo = pname;
rev = "v${version}";
sha256 = "0fq2hphd89hns11nh0yifcp6brg6yy4n4hbvfk6avbjd7s40789a";
sha256 = "1cbczg3h2841v1xk2s2xg540c69vsrkwxljm758fyr65kshrzlhm";
};
patches = [
(fetchpatch {
# remove pytest-runner dependency
url = "https://github.com/google/textfsm/commit/212db75fea4a79aca0f8f85a78954ffbc5667096.patch";
sha256 = "0n6qh3sz9wy5gdpq9jjxx8firis48ypr20yacs5bqri59sziwjp0";
})
propagatedBuildInputs = [
six
future
];
propagatedBuildInputs = [ six future ];
checkInputs = [ pytestCheckHook ];
checkInputs = [
pytestCheckHook
];
meta = with lib; {
description = "Python module for parsing semi-structured text into python tables";

View file

@ -7,14 +7,14 @@
buildPythonPackage rec {
pname = "token-bucket";
version = "0.2.0";
version = "0.3.0";
format = "setuptools";
src = fetchFromGitHub {
owner = "falconry";
repo = pname;
rev = version;
sha256 = "0kv8j2ab4knvzik2di66bgjwjxdslm2i0hjy35kn9z0dazni585s";
sha256 = "0a703y2d09kvv2l9vq7vc97l4pi2wwq1f2hq783mbw2238jymb3m";
};
nativeBuildInputs = [

View file

@ -21,7 +21,8 @@ with python3.pkgs; buildPythonApplication rec {
substituteInPlace pyproject.toml \
--replace 'click = "^7.0"' 'click = "*"' \
--replace 'docutils = "^0.16"' 'docutils = "*"' \
--replace 'sqlalchemy = "^1.3"' 'sqlalchemy = "*"'
--replace 'sqlalchemy = "^1.3"' 'sqlalchemy = "*"' \
--replace 'token-bucket = "^0.2.0"' 'token-bucket = "*"'
'';
nativeBuildInputs = [