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