mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-24 16:03:23 +00:00
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:
parent
f15e854904
commit
bdaded3804
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user