1{ lib 2, buildPythonPackage 3, isPy3k 4, fetchPypi 5, fixtures 6, jsonpatch 7, netaddr 8, prettytable 9, python-dateutil 10, pytestCheckHook 11, requests 12, requests-mock 13, six 14, sphinx 15, testtools 16}: 17 18buildPythonPackage rec { 19 pname = "fiblary3-fork"; 20 version = "0.1.12"; 21 22 src = fetchPypi { 23 inherit pname version; 24 sha256 = "001wqh7gx2dv3sf7a5xsbppz9r88f5qwrp05jzjsjcm6cbcvmsz0"; 25 }; 26 27 propagatedBuildInputs = [ 28 jsonpatch 29 netaddr 30 prettytable 31 python-dateutil 32 requests 33 six 34 ]; 35 36 nativeCheckInputs = [ 37 fixtures 38 pytestCheckHook 39 requests-mock 40 testtools 41 ]; 42 43 pythonImportsCheck = [ "fiblary3" ]; 44 45 meta = with lib; { 46 homepage = "https://github.com/graham33/fiblary"; 47 description = "Fibaro Home Center API Python Library"; 48 license = licenses.asl20; 49 maintainers = with maintainers; [ graham33 ]; 50 }; 51}