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 ];
};
}

View File

@ -5717,30 +5717,7 @@ in {
limits = callPackage ../development/python-modules/limits { }; limits = callPackage ../development/python-modules/limits { };
limnoria = buildPythonPackage rec { limnoria = callPackage ../development/python-modules/limnoria { };
name = "limnoria-${version}";
version = "2016.05.06";
src = pkgs.fetchurl {
url = "mirror://pypi/l/limnoria/${name}.tar.gz";
sha256 = "09kbii5559d09jjb6cryj8rva1050r54dvb67hlcvxhy8g3gr1y3";
};
patchPhase = ''
sed -i 's/version=version/version="${version}"/' setup.py
'';
buildInputs = with self; [ pkgs.git ];
propagatedBuildInputs = with self; [ ];
doCheck = false;
meta = {
description = "A modified version of Supybot, an IRC bot";
homepage = http://supybot.fr.cr;
license = licenses.bsd3;
maintainers = with maintainers; [ goibhniu ];
};
};
line_profiler = callPackage ../development/python-modules/line_profiler { }; line_profiler = callPackage ../development/python-modules/line_profiler { };