1{ lib
2, buildPythonPackage
3, fetchPypi
4, isPy27
5, pkgs
6}:
7
8buildPythonPackage rec {
9 pname = "limnoria";
10 version = "2021.03.13";
11 disabled = isPy27; # abandoned upstream
12
13 src = fetchPypi {
14 inherit pname version;
15 sha256 = "c13dd7a84eddfcf9c3068d57f3c9da90ea7c0d11688dc3f78f9265f3f093c6ea";
16 };
17
18 patchPhase = ''
19 sed -i 's/version=version/version="${version}"/' setup.py
20 '';
21 buildInputs = [ pkgs.git ];
22
23 doCheck = false;
24
25 meta = with lib; {
26 description = "A modified version of Supybot, an IRC bot";
27 homepage = "https://github.com/ProgVal/Limnoria";
28 license = licenses.bsd3;
29 maintainers = with maintainers; [ goibhniu ];
30 };
31
32}