Merge master into staging-next
This commit is contained in:
@@ -36,7 +36,7 @@ let
|
||||
bazelTarget = ":install";
|
||||
|
||||
fetchAttrs = {
|
||||
sha256 = "0jlgmwcanfkhkwvh4vxibpi0zyyl6xkjzcz2xqn7raympqscq81a";
|
||||
sha256 = "1xwrha692if7rwqc0qalgpx9b8indgdan8ppwlcs2v47wjvgg6h3";
|
||||
};
|
||||
|
||||
bazelFlags = [
|
||||
|
||||
@@ -7,11 +7,11 @@
|
||||
|
||||
buildPythonPackage (rec {
|
||||
pname = "elasticsearch";
|
||||
version = "7.6.0";
|
||||
version = "7.7.0";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "1j499w9hbpyx0v83xnn1vrm45amx5lbnhlik65v5z1n0gb9v4a6j";
|
||||
sha256 = "1fm6lalyiy4ayj0mp400dvy629j2av5cqww72w4cg8bqifb83pim";
|
||||
};
|
||||
|
||||
# Check is disabled because running them destroy the content of the local cluster!
|
||||
|
||||
32
pkgs/development/python-modules/hiyapyco/default.nix
Normal file
32
pkgs/development/python-modules/hiyapyco/default.nix
Normal file
@@ -0,0 +1,32 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, pyyaml
|
||||
, jinja2
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "HiYaPyCo";
|
||||
version = "0.4.16";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "zerwes";
|
||||
repo = pname;
|
||||
rev = "release-${version}";
|
||||
sha256 = "1ams9dp05yhgbg6255wrjgchl2mqg0s34d8b8prvql9lsh59s1fj";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ pyyaml jinja2 ];
|
||||
|
||||
checkPhase = ''
|
||||
set -e
|
||||
find test -name 'test_*.py' -exec python {} \;
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "A simple python lib allowing hierarchical overlay of config files in YAML syntax, offering different merge methods and variable interpolation based on jinja2.";
|
||||
homepage = "https://github.com/zerwes/hiyapyco";
|
||||
license = licenses.gpl3;
|
||||
maintainers = with maintainers; [ veehaitch ];
|
||||
};
|
||||
}
|
||||
@@ -6,11 +6,11 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "scrypt";
|
||||
version = "0.8.13";
|
||||
version = "0.8.15";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "1377b1adc98c4152694bf5d7e93b41a9d2e9060af69b747cfad8c93ac426f9ea";
|
||||
sha256 = "0643fwj8vl96bsl30jx091zicmwyi0gglza66xqhqizqyqjq0ag6";
|
||||
};
|
||||
|
||||
buildInputs = [ openssl ];
|
||||
|
||||
31
pkgs/development/python-modules/pygls/default.nix
Normal file
31
pkgs/development/python-modules/pygls/default.nix
Normal file
@@ -0,0 +1,31 @@
|
||||
{ stdenv, buildPythonPackage, isPy3k, fetchFromGitHub
|
||||
, mock, pytest, pytest-asyncio
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "pygls";
|
||||
version = "0.8.1";
|
||||
disabled = !isPy3k;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "openlawlibrary";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "1853rfdks5n8nw6ig96j7his5kqd75hrvzvd0win4niycaqsag6m";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace setup.py \
|
||||
--replace "pytest==4.5.0" "pytest"
|
||||
'';
|
||||
|
||||
checkInputs = [ mock pytest pytest-asyncio ];
|
||||
checkPhase = "pytest";
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = "https://github.com/openlawlibrary/pygls";
|
||||
description = "Pythonic generic implementation of the Language Server Protocol";
|
||||
license = licenses.asl20;
|
||||
maintainers = with maintainers; [ metadark ];
|
||||
};
|
||||
}
|
||||
32
pkgs/development/python-modules/pytest-datadir/default.nix
Normal file
32
pkgs/development/python-modules/pytest-datadir/default.nix
Normal file
@@ -0,0 +1,32 @@
|
||||
{ stdenv, buildPythonPackage, fetchFromGitHub
|
||||
, setuptools_scm, pytest, cmake
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "pytest-datadir";
|
||||
version = "1.3.1";
|
||||
format = "pyproject";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "gabrielcnr";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
sha256 = "0kwgp6sqnqnmww5r0dkmyfpi0lmw0iwxz3fnwn2fs8w6bvixzznf";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ setuptools_scm ];
|
||||
|
||||
preBuild = ''
|
||||
export SETUPTOOLS_SCM_PRETEND_VERSION="${version}"
|
||||
'';
|
||||
|
||||
checkInputs = [ pytest ];
|
||||
checkPhase = "pytest";
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = "https://github.com/gabrielcnr/pytest-datadir";
|
||||
description = "pytest plugin for manipulating test data directories and files";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ metadark ];
|
||||
};
|
||||
}
|
||||
@@ -36,6 +36,7 @@ buildPythonPackage rec {
|
||||
'';
|
||||
|
||||
postPatch = ''
|
||||
sed -i '38,45d' setup.py
|
||||
substituteInPlace setup.py --replace ", 'pytest-runner==2.6.2'" ""
|
||||
'';
|
||||
|
||||
|
||||
@@ -53,6 +53,10 @@ buildPythonPackage rec {
|
||||
# ${python.interpreter} -m pytest spacy/tests --vectors --models --slow
|
||||
# '';
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace setup.cfg --replace "thinc==7.4.0" "thinc>=7.4.0,<8"
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "Industrial-strength Natural Language Processing (NLP) with Python and Cython";
|
||||
homepage = "https://github.com/explosion/spaCy";
|
||||
|
||||
@@ -61,7 +61,7 @@ let
|
||||
bazelTarget = ":pip_pkg";
|
||||
|
||||
fetchAttrs = {
|
||||
sha256 = "0nmk7sbgl1ag20333v9r7l5cka6wapbskikfhi3y5a8l9f6hxkl3";
|
||||
sha256 = "1snj7fxfxzvrqv9cpir1daxcg3fip6cvbk94y3mi2h50k3ni826i";
|
||||
};
|
||||
|
||||
buildAttrs = {
|
||||
|
||||
@@ -23,11 +23,11 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "thinc";
|
||||
version = "7.4.0";
|
||||
version = "7.4.1";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "1f2qpjb8nfdklqp3vf6m36bklydlnr8y8v207p8d2gmapzhrngjj";
|
||||
sha256 = "17lampllwq50yjl2djs9bs5rp29xw55gqj762npqi3cvvj2glf81";
|
||||
};
|
||||
|
||||
buildInputs = lib.optionals stdenv.isDarwin (with darwin.apple_sdk.frameworks; [
|
||||
|
||||
Reference in New Issue
Block a user