pythonPackages.limnoria: refactor move to python-modules

This commit is contained in:
Chris Ostrouchov
2018-10-15 17:05:43 -04:00
committed by Frederik Rietdijk
parent 67550913a4
commit 61552d7893
2 changed files with 31 additions and 24 deletions

View File

@@ -0,0 +1,30 @@
{ stdenv
, buildPythonPackage
, fetchPypi
, pkgs
}:
buildPythonPackage rec {
pname = "limnoria";
version = "2016.05.06";
src = fetchPypi {
inherit pname version;
sha256 = "09kbii5559d09jjb6cryj8rva1050r54dvb67hlcvxhy8g3gr1y3";
};
patchPhase = ''
sed -i 's/version=version/version="${version}"/' setup.py
'';
buildInputs = [ pkgs.git ];
doCheck = false;
meta = with stdenv.lib; {
description = "A modified version of Supybot, an IRC bot";
homepage = http://supybot.fr.cr;
license = licenses.bsd3;
maintainers = with maintainers; [ goibhniu ];
};
}