python3Packages.fjaraskupan: init at 1.0.1
This commit is contained in:
parent
f725095581
commit
0a915303c6
2 changed files with 43 additions and 0 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 ];
|
||||
};
|
||||
}
|
|
@ -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 { };
|
||||
|
|
Loading…
Reference in a new issue