mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 00:12:56 +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
|
, 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
|
||||||
|
Loading…
Reference in New Issue
Block a user