mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-19 11:00:19 +03:00
python3Packages.py-air-control: init at 2.1.0
This commit is contained in:
parent
c63aa4a927
commit
6c86b393ae
27
pkgs/development/python-modules/py-air-control/default.nix
Normal file
27
pkgs/development/python-modules/py-air-control/default.nix
Normal file
@ -0,0 +1,27 @@
|
||||
{ buildPythonPackage, coapthon3, fetchFromGitHub, isPy27, lib, pycryptodomex }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "py-air-control";
|
||||
version = "2.1.0";
|
||||
disabled = isPy27;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "rgerganov";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "0mkggl5hwmj90djxbbz4svim6iv7xl8k324cb4rlc75p5rgcdwmh";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ pycryptodomex coapthon3 ];
|
||||
|
||||
# tests sometimes hang forever on tear-down
|
||||
doCheck = false;
|
||||
pythonImportsCheck = [ "pyairctrl" ];
|
||||
|
||||
meta = with lib; {
|
||||
inherit (src.meta) homepage;
|
||||
description = "Command Line App for Controlling Philips Air Purifiers.";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ urbas ];
|
||||
};
|
||||
}
|
@ -4837,6 +4837,8 @@ in {
|
||||
|
||||
pxml = callPackage ../development/python-modules/pxml { };
|
||||
|
||||
py-air-control = callPackage ../development/python-modules/py-air-control { };
|
||||
|
||||
py2bit = callPackage ../development/python-modules/py2bit { };
|
||||
|
||||
py3buddy = toPythonModule (callPackage ../development/python-modules/py3buddy { });
|
||||
|
Loading…
Reference in New Issue
Block a user