nixpkgs/pkgs/development/python-modules/limnoria/default.nix

33 lines
671 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, isPy27
, pkgs
}:
buildPythonPackage rec {
pname = "limnoria";
version = "2021.01.15";
disabled = isPy27; # abandoned upstream
src = fetchPypi {
inherit pname version;
sha256 = "5d7109fc779c44070e3c57186eae59b133014835d5fe15b262fa9438d7599c81";
};
patchPhase = ''
sed -i 's/version=version/version="${version}"/' setup.py
'';
buildInputs = [ pkgs.git ];
doCheck = false;
meta = with lib; {
description = "A modified version of Supybot, an IRC bot";
homepage = "https://github.com/ProgVal/Limnoria";
license = licenses.bsd3;
maintainers = with maintainers; [ goibhniu ];
};
}