Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at gcc-offload 36 lines 780 B view raw
1{ 2 lib, 3 buildPythonPackage, 4 pythonOlder, 5 fetchFromGitHub, 6 aiohttp, 7 pytestCheckHook, 8}: 9 10buildPythonPackage rec { 11 pname = "huisbaasje-client"; 12 version = "0.1.0"; 13 format = "setuptools"; 14 15 disabled = pythonOlder "3.6"; 16 17 src = fetchFromGitHub { 18 owner = "dennisschroer"; 19 repo = "huisbaasje-client"; 20 rev = "v${version}"; 21 sha256 = "113aymffyz1nki3a43j5cyj87qa0762j38qlz0wd5px7diwjxsfl"; 22 }; 23 24 propagatedBuildInputs = [ aiohttp ]; 25 26 nativeCheckInputs = [ pytestCheckHook ]; 27 28 pythonImportsCheck = [ "huisbaasje.huisbaasje" ]; 29 30 meta = with lib; { 31 description = "Client for Huisbaasje"; 32 homepage = "https://github.com/dennisschroer/huisbaasje-client"; 33 license = licenses.asl20; 34 maintainers = with maintainers; [ dotlambda ]; 35 }; 36}