python3Packages.airthings: init at 0.0.1
This commit is contained in:
parent
ef2d72a577
commit
733ada7a61
2 changed files with 41 additions and 0 deletions
39
pkgs/development/python-modules/airthings/default.nix
Normal file
39
pkgs/development/python-modules/airthings/default.nix
Normal file
|
@ -0,0 +1,39 @@
|
|||
{ lib
|
||||
, aiohttp
|
||||
, async-timeout
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, pythonOlder
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "airthings";
|
||||
version = "0.0.1";
|
||||
format = "setuptools";
|
||||
|
||||
disabled = pythonOlder "3.8";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "Danielhiversen";
|
||||
repo = "pyAirthings";
|
||||
rev = version;
|
||||
sha256 = "08cbysx5p9k8hzr6sdykx91j0gx8x15b8807338dsl3qx8nhfb8j";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
aiohttp
|
||||
async-timeout
|
||||
];
|
||||
|
||||
# Project has no tests
|
||||
doCheck = false;
|
||||
|
||||
pythonImportsCheck = [ "airthings" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Python module for Airthings";
|
||||
homepage = "https://github.com/Danielhiversen/pyAirthings";
|
||||
license = with licenses; [ mit ];
|
||||
maintainers = with maintainers; [ fab ];
|
||||
};
|
||||
}
|
|
@ -403,6 +403,8 @@ in {
|
|||
|
||||
airly = callPackage ../development/python-modules/airly { };
|
||||
|
||||
airthings = callPackage ../development/python-modules/airthings { };
|
||||
|
||||
ajpy = callPackage ../development/python-modules/ajpy { };
|
||||
|
||||
ajsonrpc = callPackage ../development/python-modules/ajsonrpc { };
|
||||
|
|
Loading…
Reference in a new issue