at master 1.0 kB view raw
1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 poetry-core, 6 aiohttp, 7 cbor2, 8 pycryptodomex, 9 busypie, 10 pytest-asyncio, 11 pytest-cov-stub, 12 pytest-vcr, 13 pytestCheckHook, 14 requests, 15 pythonOlder, 16}: 17 18buildPythonPackage rec { 19 pname = "freenub"; 20 version = "0.1.0"; 21 pyproject = true; 22 23 disabled = pythonOlder "3.8"; 24 25 src = fetchFromGitHub { 26 owner = "bdraco"; 27 repo = "freenub"; 28 tag = "v${version}"; 29 hash = "sha256-UkW/7KUQ4uCu3cxDSL+kw0gjKjs4KnmxRIOLVP4hwyA="; 30 }; 31 32 build-system = [ poetry-core ]; 33 34 dependencies = [ 35 aiohttp 36 cbor2 37 pycryptodomex 38 requests 39 ]; 40 41 nativeCheckInputs = [ 42 busypie 43 pytest-asyncio 44 pytest-cov-stub 45 pytest-vcr 46 pytestCheckHook 47 ]; 48 49 pythonImportsCheck = [ "pubnub" ]; 50 51 meta = with lib; { 52 description = "Fork of pubnub"; 53 homepage = "https://github.com/bdraco/freenub"; 54 changelog = "https://github.com/bdraco/freenub/blob/${version}/CHANGELOG.md"; 55 license = licenses.mit; 56 maintainers = with maintainers; [ fab ]; 57 }; 58}