nixpkgs/pkgs/development/python-modules/jedi/default.nix

34 lines
687 B
Nix
Raw Normal View History

2017-04-20 12:42:20 +01:00
{ lib
, buildPythonPackage
, fetchPypi
, pytest
2017-09-01 19:05:56 +01:00
, glibcLocales
2017-04-20 12:42:20 +01:00
}:
buildPythonPackage rec {
pname = "jedi";
version = "0.10.2";
name = "${pname}-${version}";
src = fetchPypi {
inherit pname version;
sha256 = "7abb618cac6470ebbd142e59c23daec5e6e063bfcecc8a43a037d2ab57276f4e";
};
2017-09-01 19:05:56 +01:00
checkInputs = [ pytest glibcLocales ];
2017-04-20 12:42:20 +01:00
checkPhase = ''
2017-09-01 19:05:56 +01:00
LC_ALL="en_US.UTF-8" py.test test
2017-04-20 12:42:20 +01:00
'';
# 7 failed
#doCheck = false;
meta = {
homepage = https://github.com/davidhalter/jedi;
description = "An autocompletion tool for Python that can be used for text editors";
license = lib.licenses.lgpl3Plus;
maintainers = with lib.maintainers; [ garbas ];
};
}