Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at gcc-offload 52 lines 914 B view raw
1{ 2 lib, 3 aenum, 4 buildPythonPackage, 5 fetchFromGitHub, 6 pydantic, 7 python-dateutil, 8 pythonOlder, 9 setuptools, 10 urllib3, 11}: 12 13buildPythonPackage rec { 14 pname = "weheat"; 15 version = "2024.11.26"; 16 pyproject = true; 17 18 disabled = pythonOlder "3.7"; 19 20 src = fetchFromGitHub { 21 owner = "wefabricate"; 22 repo = "wh-python"; 23 rev = "refs/tags/${version}"; 24 hash = "sha256-KM1LcO+hmhG+9yyrL2QpeO+SKumR+SKyc+66NJMJijk="; 25 }; 26 27 pythonRelaxDeps = [ 28 "urllib3" 29 "pydantic" 30 ]; 31 32 build-system = [ setuptools ]; 33 34 dependencies = [ 35 aenum 36 pydantic 37 python-dateutil 38 urllib3 39 ]; 40 41 # Module has no tests 42 doCheck = false; 43 44 pythonImportsCheck = [ "weheat" ]; 45 46 meta = { 47 description = "Library to interact with the weheat API"; 48 homepage = "https://github.com/wefabricate/wh-python"; 49 license = lib.licenses.mit; 50 maintainers = with lib.maintainers; [ fab ]; 51 }; 52}