Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at litex 866 B view raw
1{ lib 2, aiohttp 3, buildPythonPackage 4, fetchFromGitHub 5, poetry-core 6, pytestCheckHook 7, python-dateutil 8, pythonOlder 9, urllib3 10}: 11 12buildPythonPackage rec { 13 pname = "myhome"; 14 version = "0.2.1"; 15 format = "pyproject"; 16 17 disabled = pythonOlder "3.7"; 18 19 src = fetchFromGitHub { 20 owner = "speijnik"; 21 repo = pname; 22 rev = "v${version}"; 23 hash = "sha256-DJzwvgvSA9Q0kpueUoQV64pdDDNA7WzGu7r+g5aqutk="; 24 }; 25 26 nativeBuildInputs = [ 27 poetry-core 28 ]; 29 30 propagatedBuildInputs = [ 31 aiohttp 32 python-dateutil 33 urllib3 34 ]; 35 36 nativeCheckInputs = [ 37 pytestCheckHook 38 ]; 39 40 pythonImportsCheck = [ 41 "myhome" 42 ]; 43 44 meta = with lib; { 45 description = "Python library for interacting with MyHomeSERVER1"; 46 homepage = "https://github.com/speijnik/myhome"; 47 license = licenses.bsd3; 48 maintainers = with maintainers; [ fab ]; 49 }; 50}