My personal project and infrastructure archive
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
nomicon/pkgs/development/python-modules/aiolookin/default.nix

52 lines
925 B

{ lib
, aiohttp
, buildPythonPackage
, faker
, fetchFromGitHub
, pytest-aiohttp
, pytest-mock
, pytestCheckHook
, pythonOlder
}:
buildPythonPackage rec {
pname = "aiolookin";
version = "0.1.0";
format = "setuptools";
disabled = pythonOlder "3.8";
src = fetchFromGitHub {
owner = "ANMalko";
repo = pname;
rev = "v${version}";
sha256 = "sha256-l3A1fOydAUQ4arR7Zl/PDYksp53C/56fVVcz35q1hjY=";
};
propagatedBuildInputs = [
aiohttp
];
checkInputs = [
faker
pytest-aiohttp
pytest-mock
pytestCheckHook
];
disabledTests = [
# Not all tests are ready yet
"test_successful"
];
pythonImportsCheck = [
"aiolookin"
];
meta = with lib; {
description = "Python client for interacting with LOOKin devices";
homepage = "https://github.com/ANMalko/aiolookin";
license = with licenses; [ mit ];
maintainers = with maintainers; [ fab ];
};
}