Merge branch 'master' into staging-next

This commit is contained in:
Martin Weinelt
2021-03-04 01:22:00 +01:00
committed by GitHub
78 changed files with 1333 additions and 175 deletions

View File

@@ -7,13 +7,13 @@
buildPythonPackage rec {
pname = "aioshelly";
version = "0.5.4";
version = "0.6.1";
src = fetchFromGitHub {
owner = "home-assistant-libs";
repo = pname;
rev = version;
sha256 = "sha256-EjzWx3wcmTfB3OmN0OB37K6wYKVO3HzGEIf+uihas8k=";
sha256 = "sha256-2igN5mmkXyYpQeAoPAYzhirictuionVMbqifNigEYdw=";
};
propagatedBuildInputs = [

View File

@@ -0,0 +1,25 @@
{ lib
, buildPythonPackage
, fetchPypi
}:
buildPythonPackage rec {
pname = "exrex";
version = "0.10.5";
src = fetchPypi {
inherit pname version;
sha256 = "1wq8nyycdprxl9q9y1pfhkbca4rvysj45h1xn7waybl3v67v3f1z";
};
# Projec thas no released tests
doCheck = false;
pythonImportsCheck = [ "exrex" ];
meta = with lib; {
description = "Irregular methods on regular expressions";
homepage = "https://github.com/asciimoo/exrex";
license = with licenses; [ agpl3Plus ];
maintainers = with maintainers; [ fab ];
};
}

View File

@@ -17,11 +17,11 @@
buildPythonPackage rec {
pname = "google-cloud-bigquery";
version = "2.9.0";
version = "2.10.0";
src = fetchPypi {
inherit pname version;
sha256 = "33fcbdf5567bdb7657fb3485f061e7f1b45361f65fdafc168ab9172117fd9a5a";
sha256 = "fac9adb1394d948e259fba1df4e86a6c34cfccaf19af7bdbdf9640cf6e313a71";
};
propagatedBuildInputs = [

View File

@@ -0,0 +1,58 @@
{ lib
, stdenv
, buildPythonPackage
, fetchFromGitHub
, click
, colorama
, cryptography
, exrex
, pyopenssl
, pyperclip
, questionary
, requests
, pytestCheckHook
, pytest-mock
, requests-mock
}:
buildPythonPackage rec {
pname = "myjwt";
version = "1.4.0";
src = fetchFromGitHub {
owner = "mBouamama";
repo = "MyJWT";
rev = version;
sha256 = "1n3lvdrzp6wbbcygjwa7xar2jnhjnrz7a9khmn2phhkkngxm5rc4";
};
patches = [ ./pinning.patch ];
propagatedBuildInputs = [
click
colorama
cryptography
exrex
pyopenssl
pyperclip
questionary
requests
];
checkInputs = [
pytestCheckHook
pytest-mock
requests-mock
];
pythonImportsCheck = [ "myjwt" ];
meta = with lib; {
description = "CLI tool for testing vulnerabilities on Json Web Token(JWT)";
homepage = "https://github.com/mBouamama/MyJWT";
license = with licenses; [ mit ];
maintainers = with maintainers; [ fab ];
# Build failures
broken = stdenv.isDarwin;
};
}

View File

@@ -0,0 +1,21 @@
diff --git a/requirements.txt b/requirements.txt
index 3017e02..2b465db 100644
--- a/requirements.txt
+++ b/requirements.txt
@@ -1,8 +1,8 @@
-click==7.1.2
-colorama==0.4.4
-cryptography==3.3.1
-exrex==0.10.5
-pyOpenSSL==20.0.1
-pyperclip==1.8.1
-questionary==1.9.0
-requests==2.25.1
+click
+colorama
+cryptography
+exrex
+pyOpenSSL
+pyperclip
+questionary
+requests

View File

@@ -17,14 +17,14 @@
buildPythonPackage rec {
pname = "pyinsteon";
version = "1.0.8";
version = "1.0.9";
disabled = pythonOlder "3.6";
src = fetchFromGitHub {
owner = pname;
repo = pname;
rev = version;
sha256 = "0d028fcqmdzxp0vsz7digx794s9l65ydsnsyvyx275z6577x7h4h";
sha256 = "sha256-+3tA+YdpTKDt7uOSl6Z1G8jTjpBJ8S9gjiQTacQSFTc=";
};
propagatedBuildInputs = [

View File

@@ -9,7 +9,7 @@ buildPythonPackage rec {
src = fetchPypi {
inherit pname version;
sha256 = "c305530e9a114ff4c8261a116a9d13d356bc82662dfaf7ca73e01346cea9841e";
sha256 = "sha256-wwVTDpoRT/TIJhoRap0T01a8gmYt+vfKc+ATRs6phB4=";
};
# Project has no tests

View File

@@ -4,17 +4,19 @@
, buildPythonPackage
, fetchFromGitHub
, pkce
, pythonOlder
}:
buildPythonPackage rec {
pname = "pymyq";
version = "3.0.3";
version = "3.0.4";
disabled = pythonOlder "3.8";
src = fetchFromGitHub {
owner = "arraylabs";
repo = pname;
rev = "v${version}";
sha256 = "1wrfnbz87ns2ginyvljna0axl35s0xfaiqwzapxm8ira40ax5wrl";
sha256 = "sha256-jeoFlLBjD81Bt6E75rk4U1Ach53KGy23QGx+A6X2rpg=";
};
propagatedBuildInputs = [

View File

@@ -0,0 +1,39 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, poetry
, prompt_toolkit
, pytest-cov
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "questionary";
version = "1.9.0";
format = "pyproject";
src = fetchFromGitHub {
owner = "tmbo";
repo = pname;
rev = version;
sha256 = "1x748bz7l2r48031dj6vr6jvvac28pv6vx1bina4lz60h1qac1kf";
};
nativeBuildInputs = [ poetry ];
propagatedBuildInputs = [ prompt_toolkit ];
checkInputs = [
pytest-cov
pytestCheckHook
];
pythonImportsCheck = [ "questionary" ];
meta = with lib; {
description = "Python library to build command line user prompts";
homepage = "https://github.com/bachya/regenmaschine";
license = with licenses; [ mit ];
maintainers = with maintainers; [ fab ];
};
}

View File

@@ -4,14 +4,13 @@
, isPy27
, semantic-version
, setuptools
, setuptools_scm
, setuptools-scm
, toml
}:
buildPythonPackage rec {
pname = "setuptools-rust";
version = "0.11.6";
disabled = isPy27;
src = fetchPypi {
@@ -19,10 +18,14 @@ buildPythonPackage rec {
sha256 = "a5b5954909cbc5d66b914ee6763f81fa2610916041c7266105a469f504a7c4ca";
};
nativeBuildInputs = [ setuptools_scm ];
nativeBuildInputs = [ setuptools-scm ];
propagatedBuildInputs = [ semantic-version setuptools toml ];
# no tests
doCheck = false;
pythonImportsCheck = [ "setuptools_rust" ];
meta = with lib; {
description = "Setuptools plugin for Rust support";
homepage = "https://github.com/PyO3/setuptools-rust";

View File

@@ -12,13 +12,13 @@
buildPythonPackage rec {
pname = "subarulink";
version = "0.3.11";
version = "0.3.12";
src = fetchFromGitHub {
owner = "G-Two";
repo = pname;
rev = "subaru-v${version}";
sha256 = "1ink9bhph6blidnfsqwq01grhp7ghacmkd4vzgb9hnhl9l52s1jq";
sha256 = "0mhy4np3g10k778062sp2q65cfjhp4y1fghn8yvs6qg6jmg047z6";
};
propagatedBuildInputs = [ aiohttp stdiomask ];

View File

@@ -11,14 +11,14 @@
buildPythonPackage rec {
pname = "xknx";
version = "0.17.0";
version = "0.17.1";
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "XKNX";
repo = pname;
rev = version;
sha256 = "sha256-fzLqkeCfeLNu13R9cp1XVh8fE2B3L47UDpuWOod33gU=";
sha256 = "sha256-FNI6zodwlYdJDxncCOubClG9L1U6HGkQxdEEp0LdW04=";
};
propagatedBuildInputs = [