mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2025-01-04 01:42:53 +03:00
Merge pull request #139757 from fabaff/asmog
python3Packages.asmog: init at 0.0.6
This commit is contained in:
commit
ca2ece2bd4
38
pkgs/development/python-modules/asmog/default.nix
Normal file
38
pkgs/development/python-modules/asmog/default.nix
Normal file
@ -0,0 +1,38 @@
|
|||||||
|
{ lib
|
||||||
|
, aiohttp
|
||||||
|
, async-timeout
|
||||||
|
, buildPythonPackage
|
||||||
|
, fetchPypi
|
||||||
|
, pythonOlder
|
||||||
|
}:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "asmog";
|
||||||
|
version = "0.0.6";
|
||||||
|
format = "setuptools";
|
||||||
|
|
||||||
|
disabled = pythonOlder "3.6";
|
||||||
|
|
||||||
|
src = fetchPypi {
|
||||||
|
inherit pname version;
|
||||||
|
sha256 = "14b8hdxcks6qyrqpp4mm77fvzznbskqn7fw9qgwgcqx81pg45iwk";
|
||||||
|
};
|
||||||
|
|
||||||
|
propagatedBuildInputs = [
|
||||||
|
aiohttp
|
||||||
|
async-timeout
|
||||||
|
];
|
||||||
|
|
||||||
|
# Project doesn't ship the tests
|
||||||
|
# https://github.com/kstaniek/python-ampio-smog-api/issues/2
|
||||||
|
doCheck = false;
|
||||||
|
|
||||||
|
pythonImportsCheck = [ "asmog" ];
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
description = "Python module for Ampio Smog Sensors";
|
||||||
|
homepage = "https://github.com/kstaniek/python-ampio-smog-api";
|
||||||
|
license = with licenses; [ asl20 ];
|
||||||
|
maintainers = with maintainers; [ fab ];
|
||||||
|
};
|
||||||
|
}
|
@ -33,7 +33,7 @@
|
|||||||
"ambiclimate" = ps: with ps; [ aiohttp-cors ambiclimate ];
|
"ambiclimate" = ps: with ps; [ aiohttp-cors ambiclimate ];
|
||||||
"ambient_station" = ps: with ps; [ aioambient ];
|
"ambient_station" = ps: with ps; [ aioambient ];
|
||||||
"amcrest" = ps: with ps; [ amcrest ha-ffmpeg ];
|
"amcrest" = ps: with ps; [ amcrest ha-ffmpeg ];
|
||||||
"ampio" = ps: with ps; [ ]; # missing inputs: asmog
|
"ampio" = ps: with ps; [ asmog ];
|
||||||
"analytics" = ps: with ps; [ aiohttp-cors sqlalchemy ];
|
"analytics" = ps: with ps; [ aiohttp-cors sqlalchemy ];
|
||||||
"android_ip_webcam" = ps: with ps; [ pydroid-ipcam ];
|
"android_ip_webcam" = ps: with ps; [ pydroid-ipcam ];
|
||||||
"androidtv" = ps: with ps; [ adb-shell androidtv pure-python-adb ];
|
"androidtv" = ps: with ps; [ adb-shell androidtv pure-python-adb ];
|
||||||
|
@ -579,6 +579,8 @@ in {
|
|||||||
|
|
||||||
asgiref = callPackage ../development/python-modules/asgiref { };
|
asgiref = callPackage ../development/python-modules/asgiref { };
|
||||||
|
|
||||||
|
asmog = callPackage ../development/python-modules/asmog { };
|
||||||
|
|
||||||
asn1 = callPackage ../development/python-modules/asn1 { };
|
asn1 = callPackage ../development/python-modules/asn1 { };
|
||||||
|
|
||||||
asn1ate = callPackage ../development/python-modules/asn1ate { };
|
asn1ate = callPackage ../development/python-modules/asn1ate { };
|
||||||
|
Loading…
Reference in New Issue
Block a user