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

33 lines
671 B
Nix
Raw Normal View History

{ lib
, buildPythonPackage
, fetchPypi
, isPy27
, pkgs
}:
buildPythonPackage rec {
pname = "limnoria";
version = "2021.03.13";
disabled = isPy27; # abandoned upstream
src = fetchPypi {
inherit pname version;
sha256 = "c13dd7a84eddfcf9c3068d57f3c9da90ea7c0d11688dc3f78f9265f3f093c6ea";
};
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 ];
};
}