python3Packages.fjaraskupan: init at 1.0.1

This commit is contained in:
Fabian Affolter 2021-09-25 13:00:47 +02:00
parent f725095581
commit 0a915303c6
2 changed files with 43 additions and 0 deletions

View file

@ -0,0 +1,41 @@
{ lib
, bleak
, buildPythonPackage
, fetchFromGitHub
, pytest-mock
, pytestCheckHook
, pythonOlder
}:
buildPythonPackage rec {
pname = "fjaraskupan";
version = "1.0.1";
format = "setuptools";
disabled = pythonOlder "3.8";
src = fetchFromGitHub {
owner = "elupus";
repo = pname;
rev = version;
sha256 = "0r6l9cbl41ddg4mhw9g9rly9r7s70sscg1ysb99bsi8z6xml9za3";
};
propagatedBuildInputs = [
bleak
];
checkInputs = [
pytest-mock
pytestCheckHook
];
pythonImportsCheck = [ "fjaraskupan" ];
meta = with lib; {
description = "Python module for controlling Fjäråskupan kitchen fans";
homepage = "https://github.com/elupus/fjaraskupan";
license = with licenses; [ mit ];
maintainers = with maintainers; [ fab ];
};
}

View file

@ -2615,6 +2615,8 @@ in {
fixtures = callPackage ../development/python-modules/fixtures { };
fjaraskupan = callPackage ../development/python-modules/fjaraskupan { };
flake8-blind-except = callPackage ../development/python-modules/flake8-blind-except { };
flake8 = callPackage ../development/python-modules/flake8 { };