Merge branch 'release-21.05' into staging-21.05
This commit is contained in:
@@ -8,6 +8,7 @@
|
||||
, openssl
|
||||
, publicsuffix-list
|
||||
, isPy27
|
||||
, libiconv
|
||||
, CoreFoundation
|
||||
, Security
|
||||
}:
|
||||
@@ -37,7 +38,7 @@ buildPythonPackage rec {
|
||||
++ (with rustPlatform; [ cargoSetupHook maturinBuildHook ]);
|
||||
|
||||
buildInputs = [ openssl ]
|
||||
++ lib.optionals stdenv.isDarwin [ CoreFoundation Security ];
|
||||
++ lib.optionals stdenv.isDarwin [ libiconv CoreFoundation Security ];
|
||||
|
||||
PSL_PATH = "${publicsuffix-list}/share/publicsuffix/public_suffix_list.dat";
|
||||
|
||||
@@ -49,7 +50,7 @@ buildPythonPackage rec {
|
||||
meta = with lib; {
|
||||
description = "Python wrapper for Brave's adblocking library, which is written in Rust";
|
||||
homepage = "https://github.com/ArniDagur/python-adblock/";
|
||||
maintainers = with maintainers; [ petabyteboy ];
|
||||
maintainers = with maintainers; [ petabyteboy dotlambda ];
|
||||
license = with licenses; [ asl20 mit ];
|
||||
};
|
||||
}
|
||||
|
||||
@@ -0,0 +1,47 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, pythonOlder
|
||||
, fetchFromGitHub
|
||||
, click
|
||||
, pytestCheckHook
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "click-option-group";
|
||||
version = "0.5.3";
|
||||
format = "setuptools";
|
||||
disabled = pythonOlder "3.6";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "click-contrib";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "1w0692s8fabncpggpwl2d4dfqjjlmcia271rrb8hcz0r6nvw98ak";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
click
|
||||
];
|
||||
|
||||
checkInputs = [
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
pythonImportsCheck = [
|
||||
"click_option_group"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Option groups missing in Click";
|
||||
longDescription = ''
|
||||
Option groups are convenient mechanism for logical structuring
|
||||
CLI, also it allows you to set the specific behavior and set the
|
||||
relationship among grouped options (mutually exclusive options
|
||||
for example). Moreover, argparse stdlib package contains this
|
||||
functionality out of the box.
|
||||
'';
|
||||
homepage = "https://github.com/click-contrib/click-option-group";
|
||||
license = licenses.bsd3;
|
||||
maintainers = with maintainers; [ hexa ];
|
||||
};
|
||||
}
|
||||
@@ -3,18 +3,17 @@
|
||||
, fetchFromGitHub
|
||||
, pyjwt
|
||||
, djangorestframework
|
||||
, pytestCheckHook
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "drf-jwt";
|
||||
version = "1.19.0";
|
||||
version = "1.19.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "Styria-Digital";
|
||||
repo = "django-rest-framework-jwt";
|
||||
rev = version;
|
||||
sha256 = "012rmm25w5gvkzi4lyyhn47y1n6g68q9gasga2mkv9i6mn8n4kp7";
|
||||
sha256 = "sha256-++8rFXVsA5WMTt+aC4di3Rpa0BAW285/qM087i9uQ0g=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
|
||||
@@ -40,6 +40,8 @@ buildPythonPackage rec {
|
||||
"test_mem_vec_diff_clusters"
|
||||
"test_all_points_mem_vec_diff_clusters"
|
||||
"test_approx_predict_diff_clusters"
|
||||
# another flaky test https://github.com/scikit-learn-contrib/hdbscan/issues/421
|
||||
"test_hdbscan_boruvka_balltree_matches"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
|
||||
@@ -47,11 +47,6 @@ buildPythonPackage rec {
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
disabledTests = [
|
||||
# https://github.com/NixOS/nixpkgs/issues/124165
|
||||
"test_bridge_getdevicestatus"
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "pywemo" ];
|
||||
|
||||
meta = with lib; {
|
||||
|
||||
Reference in New Issue
Block a user