My personal project and infrastructure archive
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
nomicon/pkgs/development/python-modules/pyskyqhub/default.nix

39 lines
738 B

{ lib
, aiohttp
, buildPythonPackage
, fetchFromGitHub
, pythonOlder
}:
buildPythonPackage rec {
pname = "pyskyqhub";
version = "0.1.9";
format = "setuptools";
disabled = pythonOlder "3.8";
src = fetchFromGitHub {
owner = "RogerSelwyn";
repo = "skyq_hub";
rev = version;
sha256 = "sha256-yXqtABbsCh1yb96lsEA0gquikVenGLCo6J93AeXAC8k=";
};
propagatedBuildInputs = [
aiohttp
];
# Tests require phyiscal hardware
doCheck = false;
pythonImportsCheck = [
"pyskyqhub"
];
meta = with lib; {
description = "Python module for accessing SkyQ Hub";
homepage = "https://github.com/RogerSelwyn/skyq_hub";
license = licenses.asl20;
maintainers = with maintainers; [ fab ];
};
}