Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at litex 1.0 kB view raw
1{ lib 2, aiohttp 3, buildPythonPackage 4, faker 5, fetchFromGitHub 6, pytest-aiohttp 7, pytest-mock 8, pytestCheckHook 9, pythonOlder 10}: 11 12buildPythonPackage rec { 13 pname = "aiolookin"; 14 version = "1.0.0"; 15 format = "setuptools"; 16 17 disabled = pythonOlder "3.8"; 18 19 src = fetchFromGitHub { 20 owner = "ANMalko"; 21 repo = pname; 22 rev = "refs/tags/v${version}"; 23 hash = "sha256-G3/lUgV60CMLskUo83TlvLLIfJtu5DEz+94mdVI4OrI="; 24 }; 25 26 propagatedBuildInputs = [ 27 aiohttp 28 ]; 29 30 nativeCheckInputs = [ 31 faker 32 pytest-aiohttp 33 pytest-mock 34 pytestCheckHook 35 ]; 36 37 disabledTests = [ 38 # Not all tests are ready yet 39 "test_successful" 40 ]; 41 42 pythonImportsCheck = [ 43 "aiolookin" 44 ]; 45 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 }; 53}