Merge staging-next into staging

This commit is contained in:
github-actions[bot]
2021-04-28 00:15:29 +00:00
committed by GitHub
33 changed files with 318 additions and 190 deletions
@@ -9,12 +9,12 @@
buildPythonPackage rec {
pname = "cloudscraper";
version = "1.2.56";
version = "1.2.58";
disabled = !isPy3k;
src = fetchPypi {
inherit pname version;
sha256 = "84c5910023dd393619b2b793fdb154392c5c8887b55e4bcac3ad2646f1cfe212";
sha256 = "1wnzv2k8cm8q1x18r4zg8pcnpm4gsdp82hywwjimp2v2qll918nx";
};
propagatedBuildInputs = [
@@ -1,6 +1,13 @@
{ stdenv, lib, buildPythonPackage, fetchPypi, substituteAll
, portmidi, pygame, python-rtmidi, rtmidi-python
, pytest
{ stdenv
, lib
, buildPythonPackage
, fetchPypi
, substituteAll
, portmidi
, pygame
, python-rtmidi
, rtmidi-python
, pytestCheckHook
}:
buildPythonPackage rec {
@@ -25,15 +32,18 @@ buildPythonPackage rec {
rtmidi-python
];
checkInputs = [ pytest ];
checkPhase = ''
py.test . -rs -q
'';
checkInputs = [
pytestCheckHook
];
pythonImportsCheck = [
"mido"
];
meta = with lib; {
description = "MIDI Objects for Python";
homepage = "https://mido.readthedocs.io";
license = licenses.mit;
maintainers = with maintainers; [ hexa ];
maintainers = with maintainers; [ ];
};
}
@@ -0,0 +1,34 @@
{ lib
, buildPythonPackage
, fetchPypi
, pytestCheckHook
, isodate
, jsonschema
, pytest-flake8
, pytestcov
, rfc3339-validator
, six
, strict-rfc3339
}:
buildPythonPackage rec {
pname = "openapi-schema-validator";
version = "0.1.5";
src = fetchPypi {
inherit pname version;
sha256 = "a4b2712020284cee880b4c55faa513fbc2f8f07f365deda6098f8ab943c9f0df";
};
propagatedBuildInputs = [ isodate jsonschema six strict-rfc3339 rfc3339-validator ];
checkInputs = [ pytestCheckHook pytestcov pytest-flake8 ];
pythonImportsCheck = [ "openapi_schema_validator" ];
meta = with lib; {
description = "Validates OpenAPI schema against the OpenAPI Schema Specification v3.0";
homepage = "https://github.com/p1c2u/openapi-schema-validator";
license = licenses.bsd3;
maintainers = with maintainers; [ AluisioASG ];
};
}
@@ -1,5 +1,5 @@
{ lib, buildPythonPackage, isPy27, fetchPypi
, jsonschema, pyyaml, six, pathlib
, jsonschema, openapi-schema-validator, pyyaml, six, pathlib
, mock, pytest, pytestcov, pytest-flake8, tox, setuptools }:
buildPythonPackage rec {
@@ -11,7 +11,7 @@ buildPythonPackage rec {
sha256 = "53ba3d884e98ff2062d5ada025aa590541dcd665b8f81067dc82dd61c0923759";
};
propagatedBuildInputs = [ jsonschema pyyaml six setuptools ]
propagatedBuildInputs = [ jsonschema openapi-schema-validator pyyaml six setuptools ]
++ (lib.optionals (isPy27) [ pathlib ]);
checkInputs = [ mock pytest pytestcov pytest-flake8 tox ];
@@ -1,34 +1,30 @@
{ stdenv, lib, fetchFromGitHub, buildPythonPackage,
six, mock, pyfakefs, unittest2, pytest
{ lib
, buildPythonPackage
, fetchFromGitHub
, six
, mock
, pyfakefs
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "pyu2f";
version = "0.1.4";
version = "0.1.5a";
src = fetchFromGitHub {
owner = "google";
repo = pname;
rev = version;
sha256 = "0waxdydvxn05a8ab9j235mz72x7p4pwa59pnxyk1zzbwxnpxb3p9";
sha256 = "0mx7bn1p3n0fxyxa82wg3c719hby7vqkxv57fhf7zvhlg2zfnr0v";
};
# Platform detection for linux fails
postPatch = lib.optionalString stdenv.isLinux ''
rm pyu2f/tests/hid/macos_test.py
'';
propagatedBuildInputs = [ six ];
checkInputs = [ pytest mock pyfakefs unittest2 ];
checkPhase = ''
pytest pyu2f/tests
'';
checkInputs = [ mock pyfakefs pytestCheckHook ];
meta = with lib; {
description = "U2F host library for interacting with a U2F device over USB";
homepage = "https://github.com/google/pyu2f/";
homepage = "https://github.com/google/pyu2f";
license = licenses.asl20;
maintainers = with maintainers; [ prusnak ];
};
@@ -0,0 +1,31 @@
{ lib
, buildPythonPackage
, fetchPypi
, pytestCheckHook
, hypothesis
, six
, strict-rfc3339
}:
buildPythonPackage rec {
pname = "rfc3339-validator";
version = "0.1.3";
src = fetchPypi {
pname = "rfc3339_validator";
inherit version;
sha256 = "7a578aa0740e9ee2b48356fe1f347139190c4c72e27f303b3617054efd15df32";
};
propagatedBuildInputs = [ six ];
checkInputs = [ pytestCheckHook hypothesis strict-rfc3339 ];
pythonImportsCheck = [ "rfc3339_validator" ];
meta = with lib; {
description = "RFC 3339 validator for Python";
homepage = "https://github.com/naimetti/rfc3339-validator";
license = licenses.mit;
maintainers = with maintainers; [ AluisioASG ];
};
}
@@ -29,6 +29,6 @@ buildPythonPackage rec {
description = "Python wrapper for RtMidi";
homepage = "https://github.com/superquadratic/rtmidi-python";
license = licenses.mit;
maintainers = with maintainers; [ hexa ];
maintainers = with maintainers; [ ];
};
}