python3Packages.ircrobots: 0.3.3 -> 0.3.5

This commit is contained in:
Martin Weinelt
2020-11-18 04:00:21 +01:00
committed by Jonathan Ringer
parent 204501b9cf
commit cfef6dd82c
2 changed files with 7 additions and 19 deletions

View File

@@ -13,19 +13,21 @@
buildPythonPackage rec {
pname = "ircrobots";
version = "0.3.3";
version = "0.3.5";
disabled = pythonOlder "3.6";
src = fetchFromGitHub {
owner = "jesopo";
repo = pname;
rev = "v${version}";
sha256 = "0ykn6ch7aazv2cx13q2gr94arh6f96d8hwjwnrcjai3i3x4q2pkq";
sha256 = "1w04gif227fhzalrds9rscqmckv5h0x2p8600s876i19w41swi32";
};
patches = [
./relax-dependencies.patch
];
postPatch = ''
# too specific pins https://github.com/jesopo/ircrobots/issues/3
sed -iE 's/==.*//' requirements.txt
sed -iE 's/dataclasses.*/dataclasses; python_version < "3.7"/' requirements.txt
'';
propagatedBuildInputs = [
anyio