From 8b09dea578428285c7d71b039d1e12ab340d514c Mon Sep 17 00:00:00 2001 From: Frederik Rietdijk Date: Thu, 20 Apr 2017 13:42:20 +0200 Subject: [PATCH] pythonPackages.jedi: 0.9.0 -> 0.10.2 --- .../python-modules/jedi/default.nix | 32 +++++++++++++++++++ pkgs/top-level/python-packages.nix | 25 +-------------- 2 files changed, 33 insertions(+), 24 deletions(-) create mode 100644 pkgs/development/python-modules/jedi/default.nix diff --git a/pkgs/development/python-modules/jedi/default.nix b/pkgs/development/python-modules/jedi/default.nix new file mode 100644 index 000000000000..3f5d48975374 --- /dev/null +++ b/pkgs/development/python-modules/jedi/default.nix @@ -0,0 +1,32 @@ +{ lib +, buildPythonPackage +, fetchPypi +, pytest +}: + +buildPythonPackage rec { + pname = "jedi"; + version = "0.10.2"; + name = "${pname}-${version}"; + + src = fetchPypi { + inherit pname version; + sha256 = "7abb618cac6470ebbd142e59c23daec5e6e063bfcecc8a43a037d2ab57276f4e"; + }; + + checkInputs = [ pytest ]; + + checkPhase = '' + py.test test + ''; + + # 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 ]; + }; +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 5f1e68574387..a55f8c91d0b8 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -13243,30 +13243,7 @@ in { jabberbot = callPackage ../development/python-modules/jabberbot.nix {}; - jedi = buildPythonPackage (rec { - name = "jedi-0.9.0"; - - src = pkgs.fetchurl { - url = "mirror://pypi/j/jedi/${name}.tar.gz"; - sha256 = "0c8x962ynpx001fdvp07m2q5jk4igkxbj3rmnydavphvlgxijk1v"; - }; - - buildInputs = [ self.pytest ]; - - checkPhase = '' - py.test test - ''; - - # 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 = licenses.lgpl3Plus; - maintainers = with maintainers; [ garbas ]; - }; - }); + jedi = callPackage ../development/python-modules/jedi { }; jellyfish = buildPythonPackage rec { version = "0.5.2";