depot/third_party/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.06.15";
disabled = isPy27; # abandoned upstream
src = fetchPypi {
inherit pname version;
sha256 = "47290281f3f945261a7f8d8c6f207dcb1d277b241f58827d5a76ab8cd453a1d0";
};
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 ];
};
}