mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-17 17:44:44 +00:00
python3Packages.airly: init at 1.0.0
This commit is contained in:
parent
210b6509ed
commit
a7764796a6
35
pkgs/development/python-modules/airly/default.nix
Normal file
35
pkgs/development/python-modules/airly/default.nix
Normal file
@ -0,0 +1,35 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, aiohttp
|
||||
, pytestCheckHook
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "airly";
|
||||
version = "1.0.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "ak-ambi";
|
||||
repo = "python-airly";
|
||||
rev = "v${version}";
|
||||
sha256 = "0an6nbl0i5pahxm6x4z03s9apzgqrw9zf7srjcs0r3y1ppicb4s6";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ aiohttp ];
|
||||
|
||||
checkInputs = [ pytestCheckHook ];
|
||||
|
||||
disabledTests = [
|
||||
"InstallationsLoaderTestCase"
|
||||
"MeasurementsSessionTestCase"
|
||||
];
|
||||
pythonImportsCheck = [ "airly" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Python module for getting air quality data from Airly sensors";
|
||||
homepage = "https://github.com/ak-ambi/python-airly";
|
||||
license = with licenses; [ mit ];
|
||||
maintainers = with maintainers; [ fab ];
|
||||
};
|
||||
}
|
@ -269,6 +269,8 @@ in {
|
||||
|
||||
aiozeroconf = callPackage ../development/python-modules/aiozeroconf { };
|
||||
|
||||
airly = callPackage ../development/python-modules/airly { };
|
||||
|
||||
ajpy = callPackage ../development/python-modules/ajpy { };
|
||||
|
||||
alabaster = callPackage ../development/python-modules/alabaster { };
|
||||
|
Loading…
Reference in New Issue
Block a user