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