mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-08-25 17:55:21 +00:00
python310Packages.aranet4: init at 2.1.2
This commit is contained in:
40
pkgs/development/python-modules/aranet4/default.nix
Normal file
40
pkgs/development/python-modules/aranet4/default.nix
Normal file
@@ -0,0 +1,40 @@
|
||||
{ lib
|
||||
, bleak
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, pytestCheckHook
|
||||
, pythonOlder
|
||||
, requests
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "aranet4";
|
||||
version = "2.1.2";
|
||||
format = "setuptools";
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
hash = "sha256-nuxj/rNuwAy1DXaJs0Qrl9GffiZqFkWxT/0TYRxg92s=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
bleak
|
||||
requests
|
||||
];
|
||||
|
||||
# https://github.com/Anrijs/Aranet4-Python/issues/31
|
||||
doCheck = false;
|
||||
|
||||
pythonImportsCheck = [
|
||||
"aranet4"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Module to interact with Aranet4 devices";
|
||||
homepage = "https://github.com/Anrijs/Aranet4-Python";
|
||||
license = with licenses; [ mit ];
|
||||
maintainers = with maintainers; [ fab ];
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user