pythonPackages.limnoria: refactor move to python-modules
This commit is contained in:
parent
67550913a4
commit
61552d7893
30
pkgs/development/python-modules/limnoria/default.nix
Normal file
30
pkgs/development/python-modules/limnoria/default.nix
Normal 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 ];
|
||||||
|
};
|
||||||
|
|
||||||
|
}
|
@ -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 { };
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user