mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-28 09:53:10 +00:00
python3Packages.pysbd: 0.3.3 -> 0.3.4
The upstream does not provide sdists on PyPi anymore, so switch to the GitHub source instead.
This commit is contained in:
parent
f64fb8bd31
commit
0ff9967dac
@ -1,6 +1,6 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, fetchFromGitHub
|
||||
, pythonOlder
|
||||
, tqdm
|
||||
, spacy
|
||||
@ -8,12 +8,15 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "pysbd";
|
||||
version = "0.3.3";
|
||||
version = "0.3.4";
|
||||
disabled = pythonOlder "3.5";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "56ab48a28a8470f0042a4cb7c9da8a6dde8621ecf87a86d75f201cbf1837e77f";
|
||||
# provides no sdist on pypi
|
||||
src = fetchFromGitHub {
|
||||
owner = "nipunsadvilkar";
|
||||
repo = "pySBD";
|
||||
rev = "v${version}";
|
||||
sha256 = "12p7qm237z56hw4zr03n8rycgfymhki2m9c4w3ib0mvqq122a5dp";
|
||||
};
|
||||
|
||||
checkInputs = [ tqdm spacy ];
|
||||
|
Loading…
Reference in New Issue
Block a user