Merge pull request #139418 from fabaff/fjaraskupan
python3Packages.fjaraskupan: init at 1.0.1
This commit is contained in:
commit
d54bf7a02a
4 changed files with 45 additions and 1 deletions
41
pkgs/development/python-modules/fjaraskupan/default.nix
Normal file
41
pkgs/development/python-modules/fjaraskupan/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
|
@ -267,7 +267,7 @@
|
|||
"firmata" = ps: with ps; [ pymata-express ];
|
||||
"fitbit" = ps: with ps; [ aiohttp-cors fitbit ];
|
||||
"fixer" = ps: with ps; [ fixerio ];
|
||||
"fjaraskupan" = ps: with ps; [ ]; # missing inputs: fjaraskupan
|
||||
"fjaraskupan" = ps: with ps; [ fjaraskupan ];
|
||||
"fleetgo" = ps: with ps; [ ]; # missing inputs: ritassist
|
||||
"flexit" = ps: with ps; [ pymodbus ];
|
||||
"flic" = ps: with ps; [ pyflic ];
|
||||
|
|
|
@ -363,6 +363,7 @@ in with py.pkgs; buildPythonApplication rec {
|
|||
"filter"
|
||||
"fireservicerota"
|
||||
"firmata"
|
||||
"fjaraskupan"
|
||||
"flick_electric"
|
||||
"flipr"
|
||||
"flo"
|
||||
|
|
|
@ -2625,6 +2625,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 { };
|
||||
|
|
Loading…
Reference in a new issue