mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-12 20:55:31 +03:00

Diff: https://github.com/sstallion/sensorpush-api/compare/refs/tags/v2.1.1...v2.1.2 Changelog: https://github.com/sstallion/sensorpush-api/blob/v2.1.2/CHANGELOG.md
51 lines
980 B
Nix
51 lines
980 B
Nix
{
|
|
aiohttp,
|
|
buildPythonPackage,
|
|
fetchFromGitHub,
|
|
lib,
|
|
pydantic,
|
|
pytestCheckHook,
|
|
python-dateutil,
|
|
setuptools,
|
|
urllib3,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "sensorpush-api";
|
|
version = "2.1.2";
|
|
pyproject = true;
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "sstallion";
|
|
repo = "sensorpush-api";
|
|
tag = "v${version}";
|
|
hash = "sha256-0cB0F1Clf3rpAOSTa/YcEMchBIQv+0cQwsGE1qlroKA=";
|
|
};
|
|
|
|
build-system = [ setuptools ];
|
|
|
|
pythonRelaxDeps = [
|
|
"urllib3"
|
|
];
|
|
|
|
dependencies = [
|
|
aiohttp
|
|
pydantic
|
|
python-dateutil
|
|
urllib3
|
|
];
|
|
|
|
pythonImportsCheck = [ "sensorpush_api" ];
|
|
|
|
nativeCheckInputs = [
|
|
pytestCheckHook
|
|
];
|
|
|
|
meta = {
|
|
changelog = "https://github.com/sstallion/sensorpush-api/blob/${src.tag}/CHANGELOG.md";
|
|
description = "SensorPush Public API for Python";
|
|
homepage = "https://github.com/sstallion/sensorpush-api";
|
|
license = lib.licenses.bsd2;
|
|
maintainers = with lib.maintainers; [ dotlambda ];
|
|
};
|
|
}
|