uboot: (firmwareOdroidC2/C4) don't invoke patch tool, use patches = [] instead
https://github.com/NixOS/nixpkgs/blob/master/pkgs/stdenv/generic/setup.sh#L948 this can do it nicely. Signed-off-by: Anton Arapov <anton@deadbeef.mx>
This commit is contained in:
commit
56de2bcd43
30691 changed files with 3076956 additions and 0 deletions
34
pkgs/development/python-modules/pysbd/default.nix
Normal file
34
pkgs/development/python-modules/pysbd/default.nix
Normal file
|
|
@ -0,0 +1,34 @@
|
|||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, pythonOlder
|
||||
, tqdm
|
||||
, spacy
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "pysbd";
|
||||
version = "0.3.4";
|
||||
disabled = pythonOlder "3.5";
|
||||
|
||||
# provides no sdist on pypi
|
||||
src = fetchFromGitHub {
|
||||
owner = "nipunsadvilkar";
|
||||
repo = "pySBD";
|
||||
rev = "v${version}";
|
||||
sha256 = "12p7qm237z56hw4zr03n8rycgfymhki2m9c4w3ib0mvqq122a5dp";
|
||||
};
|
||||
|
||||
checkInputs = [ tqdm spacy ];
|
||||
|
||||
doCheck = false; # requires pyconll and blingfire
|
||||
|
||||
pythonImportsCheck = [ "pysbd" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Pysbd (Python Sentence Boundary Disambiguation) is a rule-based sentence boundary detection that works out-of-the-box across many languages";
|
||||
homepage = "https://github.com/nipunsadvilkar/pySBD";
|
||||
license = licenses.mit;
|
||||
maintainers = teams.tts.members;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue