Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / development / python-modules / aiolookin / default.nix
blob75a6b0715d2039ad9da211148117a23340ece3da
1 { lib
2 , aiohttp
3 , buildPythonPackage
4 , faker
5 , fetchFromGitHub
6 , pytest-aiohttp
7 , pytest-mock
8 , pytestCheckHook
9 , pythonOlder
12 buildPythonPackage rec {
13   pname = "aiolookin";
14   version = "1.0.0";
15   format = "setuptools";
17   disabled = pythonOlder "3.8";
19   src = fetchFromGitHub {
20     owner = "ANMalko";
21     repo = pname;
22     rev = "refs/tags/v${version}";
23     hash = "sha256-G3/lUgV60CMLskUo83TlvLLIfJtu5DEz+94mdVI4OrI=";
24   };
26   propagatedBuildInputs = [
27     aiohttp
28   ];
30   nativeCheckInputs = [
31     faker
32     pytest-aiohttp
33     pytest-mock
34     pytestCheckHook
35   ];
37   disabledTests = [
38     # Not all tests are ready yet
39     "test_successful"
40   ];
42   pythonImportsCheck = [
43     "aiolookin"
44   ];
46   meta = with lib; {
47     description = "Python client for interacting with LOOKin devices";
48     homepage = "https://github.com/ANMalko/aiolookin";
49     changelog = "https://github.com/ANMalko/aiolookin/blob/v${version}/CHANGELOG.md";
50     license = with licenses; [ mit ];
51     maintainers = with maintainers; [ fab ];
52   };