Merge pull request #249740 from deviant/update-ircrobots

python3Packages.irctokens: 2.0.1 -> 2.0.2, python3Packages.ircstates: 0.11.8 -> 0.12.1, python3Packages.ircrobots: 0.4.6 -> 0.6.6
This commit is contained in:
Martin Weinelt 2023-10-09 01:44:54 +02:00 committed by GitHub
commit 51595486f4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 11 additions and 8 deletions

View file

@ -13,21 +13,19 @@
buildPythonPackage rec {
pname = "ircrobots";
version = "0.4.6";
version = "0.6.6";
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "jesopo";
repo = pname;
rev = "v${version}";
hash = "sha256-+BrS1+ZkgwT/qvqD0PwRZi2LF+31biS738SzKH1dy7w=";
hash = "sha256-mIh3tERwHtGH9eA0AT8Lcnwp1Wn9lQhKkUjuZcOXO/c=";
};
postPatch = ''
# too specific pins https://github.com/jesopo/ircrobots/issues/3
sed -iE 's/anyio.*/anyio/' requirements.txt
sed -iE 's/ircstates.*/ircstates/' requirements.txt
sed -iE 's/async_timeout.*/async_timeout/' requirements.txt
'';
propagatedBuildInputs = [

View file

@ -4,19 +4,20 @@
, pythonOlder
, irctokens
, pendulum
, freezegun
, python
}:
buildPythonPackage rec {
pname = "ircstates";
version = "0.11.8";
version = "0.12.1";
disabled = pythonOlder "3.6"; # f-strings
src = fetchFromGitHub {
owner = "jesopo";
repo = pname;
rev = "v${version}";
sha256 = "0scxqcgby4vzh2q937r0wy2mb46aghjf47q3z6fp6di1b6hlj7zh";
hash = "sha256-F9yOY3YBacyoUzNTvPs7pxp6yNx08tiq1jWQKhGiagc=";
};
propagatedBuildInputs = [
@ -24,6 +25,10 @@ buildPythonPackage rec {
pendulum
];
nativeCheckInputs = [
freezegun
];
checkPhase = ''
${python.interpreter} -m unittest test
'';

View file

@ -8,14 +8,14 @@
buildPythonPackage rec {
pname = "irctokens";
version = "2.0.1";
version = "2.0.2";
disabled = pythonOlder "3.6"; # f-strings
src = fetchFromGitHub {
owner = "jesopo";
repo = pname;
rev = "v${version}";
hash = "sha256-FgcLngS11U9eBNV/8jllwdrm89tCmthA1sUaFDovk6U=";
hash = "sha256-Y9NBqxGUkt48hnXxsmfydHkJmWWb+sRrElV8C7l9bpw=";
};
nativeCheckInputs = [ pyyaml ];