2021-01-25 09:26:54 +01:00
|
|
|
{ lib
|
2018-10-15 23:05:43 +02:00
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
2020-06-16 23:03:23 +02:00
|
|
|
, isPy27
|
2021-08-26 22:34:52 +02:00
|
|
|
, git
|
2018-10-15 23:05:43 +02:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "limnoria";
|
2021-08-14 04:53:46 +02:00
|
|
|
version = "2021.07.21";
|
2020-06-16 23:03:23 +02:00
|
|
|
disabled = isPy27; # abandoned upstream
|
2018-10-15 23:05:43 +02:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2021-08-14 04:53:46 +02:00
|
|
|
sha256 = "80ca1db9648e7678f81b373dab04d06025ec6532e68a9be773ddbd159de54e4c";
|
2018-10-15 23:05:43 +02:00
|
|
|
};
|
|
|
|
|
2021-08-26 22:34:52 +02:00
|
|
|
postPatch = ''
|
2018-10-15 23:05:43 +02:00
|
|
|
sed -i 's/version=version/version="${version}"/' setup.py
|
|
|
|
'';
|
2021-08-26 22:34:52 +02:00
|
|
|
buildInputs = [ git ];
|
2018-10-15 23:05:43 +02:00
|
|
|
|
2021-08-26 22:34:52 +02:00
|
|
|
# cannot be imported
|
2018-10-15 23:05:43 +02:00
|
|
|
doCheck = false;
|
|
|
|
|
2021-01-11 08:54:33 +01:00
|
|
|
meta = with lib; {
|
2018-10-15 23:05:43 +02:00
|
|
|
description = "A modified version of Supybot, an IRC bot";
|
2019-12-08 17:50:31 +01:00
|
|
|
homepage = "https://github.com/ProgVal/Limnoria";
|
2018-10-15 23:05:43 +02:00
|
|
|
license = licenses.bsd3;
|
|
|
|
maintainers = with maintainers; [ goibhniu ];
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|