python.pkgs.spacy: remove private regex derivation

Packages in `python-packages.nix` should not have other versions than
already defined in the package set because thay may cause collisions.
This commit is contained in:
Frederik Rietdijk 2018-01-01 11:56:00 +01:00
parent f15e854904
commit bdaded3804

View File

@ -19,23 +19,12 @@
, ftfy
, thinc
, pip
, regex
}:
let
enableDebugging = true;
regexLocked = buildPythonPackage rec {
name = "${pname}-${version}";
pname = "regex";
version = "2017.04.05";
src = fetchPypi {
inherit pname version;
sha256 = "0c95gf3jzz8mv52lkgq0h7sbasjwvdhghm4s0phmy5k9sr78f4fq";
};
};
in buildPythonPackage rec {
buildPythonPackage rec {
pname = "spacy";
version = "1.8.2";
name = pname + "-" + version;
src = fetchFromGitHub {
owner = "explosion";
@ -56,7 +45,7 @@ in buildPythonPackage rec {
ujson
dill
requests
regexLocked
regex
ftfy
thinc
pytest