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
49
pkgs/development/python-modules/stanza/default.nix
Normal file
49
pkgs/development/python-modules/stanza/default.nix
Normal file
|
|
@ -0,0 +1,49 @@
|
|||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, pythonOlder
|
||||
, emoji
|
||||
, numpy
|
||||
, protobuf
|
||||
, requests
|
||||
, six
|
||||
, pytorch
|
||||
, tqdm
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "stanza";
|
||||
version = "1.3.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "stanfordnlp";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "1j5918n875p3ibhzc5zp3vb97asbbnb04pj1igxwzl0xm6qcsbh8";
|
||||
};
|
||||
|
||||
disabled = pythonOlder "3.6";
|
||||
|
||||
propagatedBuildInputs = [
|
||||
emoji
|
||||
numpy
|
||||
protobuf
|
||||
requests
|
||||
six
|
||||
pytorch
|
||||
tqdm
|
||||
];
|
||||
|
||||
# disabled, because the tests try to connect to the internet which
|
||||
# is forbidden in the sandbox
|
||||
doCheck = false;
|
||||
|
||||
pythonImportsCheck = [ "stanza" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Official Stanford NLP Python Library for Many Human Languages";
|
||||
homepage = "https://github.com/stanfordnlp/stanza/";
|
||||
license = licenses.asl20;
|
||||
maintainers = with maintainers; [ riotbib ];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue