mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-25 23:23:07 +00:00
80dcaf17ae
Diff: https://github.com/RogerSelwyn/skyq_remote/compare/refs/tags/0.3.25...0.3.26 Changelog: https://github.com/RogerSelwyn/skyq_remote/releases/tag/0.3.26
45 lines
970 B
Nix
45 lines
970 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchFromGitHub
|
|
, pythonOlder
|
|
, requests
|
|
, websocket-client
|
|
, xmltodict
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "pyskyqremote";
|
|
version = "0.3.26";
|
|
format = "setuptools";
|
|
|
|
disabled = pythonOlder "3.7";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "RogerSelwyn";
|
|
repo = "skyq_remote";
|
|
rev = "refs/tags/${version}";
|
|
hash = "sha256-aMgUwgKHgR+NQvRxiUV7GaXehjDIlJJJHwSmHDmzK08=";
|
|
};
|
|
|
|
propagatedBuildInputs = [
|
|
requests
|
|
websocket-client
|
|
xmltodict
|
|
];
|
|
|
|
# Project has no tests, only a test script which looks like anusage example
|
|
doCheck = false;
|
|
|
|
pythonImportsCheck = [
|
|
"pyskyqremote"
|
|
];
|
|
|
|
meta = with lib; {
|
|
description = "Python module for accessing SkyQ boxes";
|
|
homepage = "https://github.com/RogerSelwyn/skyq_remote";
|
|
changelog = "https://github.com/RogerSelwyn/skyq_remote/releases/tag/${version}";
|
|
license = with licenses; [ mit ];
|
|
maintainers = with maintainers; [ fab ];
|
|
};
|
|
}
|