Merge pull request #311659 from fabaff/losant-rest-bump
python312Packages.losant-rest: 1.19.5 -> 1.19.6
This commit is contained in:
@@ -1,42 +1,40 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, pytestCheckHook
|
||||
, pythonOlder
|
||||
, requests
|
||||
, requests-mock
|
||||
{
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
fetchFromGitHub,
|
||||
pytestCheckHook,
|
||||
pythonOlder,
|
||||
requests,
|
||||
requests-mock,
|
||||
setuptools,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "losant-rest";
|
||||
version = "1.19.5";
|
||||
format = "setuptools";
|
||||
version = "1.19.6";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "Losant";
|
||||
repo = "losant-rest-python";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-oYwbCpX2mD1RMk/0ymxaA8NF9kaJ+pGQdUKk3l5Jmrs=";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-sbNR95FhcRhgHh/ulLC8lL6EHal0BBK3wP6i29VElmY=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
requests
|
||||
];
|
||||
build-system = [ setuptools ];
|
||||
|
||||
dependencies = [ requests ];
|
||||
|
||||
nativeCheckInputs = [
|
||||
pytestCheckHook
|
||||
requests-mock
|
||||
];
|
||||
|
||||
pytestFlagsArray = [
|
||||
"tests/losantrest_tests.py"
|
||||
];
|
||||
pytestFlagsArray = [ "tests/platformrest_tests.py" ];
|
||||
|
||||
pythonImportsCheck = [
|
||||
"losantrest"
|
||||
];
|
||||
pythonImportsCheck = [ "platformrest" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Python module for consuming the Losant IoT Platform API";
|
||||
|
||||
Reference in New Issue
Block a user