mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 23:03:40 +01:00
python3Packages.ircrobots: 0.3.8 -> 0.4.6
This commit is contained in:
parent
bccef8531c
commit
5b8fd52912
1 changed files with 6 additions and 2 deletions
|
@ -3,6 +3,7 @@
|
||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
, pythonOlder
|
, pythonOlder
|
||||||
, anyio
|
, anyio
|
||||||
|
, asyncio-rlock
|
||||||
, asyncio-throttle
|
, asyncio-throttle
|
||||||
, dataclasses
|
, dataclasses
|
||||||
, ircstates
|
, ircstates
|
||||||
|
@ -13,23 +14,26 @@
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "ircrobots";
|
pname = "ircrobots";
|
||||||
version = "0.3.8";
|
version = "0.4.6";
|
||||||
disabled = pythonOlder "3.6";
|
disabled = pythonOlder "3.6";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "jesopo";
|
owner = "jesopo";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "06q86dqllxvi3nssfplmjk9yxaybighwh87lrxfpfhl8yy4z68jz";
|
sha256 = "sha256-+BrS1+ZkgwT/qvqD0PwRZi2LF+31biS738SzKH1dy7w=";
|
||||||
};
|
};
|
||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
# too specific pins https://github.com/jesopo/ircrobots/issues/3
|
# too specific pins https://github.com/jesopo/ircrobots/issues/3
|
||||||
sed -iE 's/anyio.*/anyio/' requirements.txt
|
sed -iE 's/anyio.*/anyio/' requirements.txt
|
||||||
|
sed -iE 's/ircstates.*/ircstates/' requirements.txt
|
||||||
|
sed -iE 's/async_timeout.*/async_timeout/' requirements.txt
|
||||||
'';
|
'';
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
anyio
|
anyio
|
||||||
|
asyncio-rlock
|
||||||
asyncio-throttle
|
asyncio-throttle
|
||||||
ircstates
|
ircstates
|
||||||
async_stagger
|
async_stagger
|
||||||
|
|
Loading…
Reference in a new issue