2018-10-16 20:24:38 +02:00
|
|
|
{ stdenv
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, rope
|
|
|
|
, flake8
|
|
|
|
, autopep8
|
|
|
|
, jedi
|
|
|
|
, importmagic
|
|
|
|
, isPy27
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "elpy";
|
2019-01-07 08:48:46 +01:00
|
|
|
version = "1.28.0";
|
2018-10-16 20:24:38 +02:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2019-01-07 08:48:46 +01:00
|
|
|
sha256 = "0lx6bf6ajx6wmnns03gva5sh1mmmxahjaqrn735cgwn6j4ikyqfs";
|
2018-10-16 20:24:38 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ flake8 autopep8 jedi importmagic ]
|
|
|
|
++ stdenv.lib.optionals isPy27 [ rope ];
|
|
|
|
|
|
|
|
doCheck = false; # there are no tests
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "Backend for the elpy Emacs mode";
|
|
|
|
homepage = "https://github.com/jorgenschaefer/elpy";
|
|
|
|
license = licenses.gpl3;
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|