Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at gcc-offload 45 lines 902 B view raw
1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 setuptools, 6 regex, 7 requests, 8 pythonOlder, 9}: 10 11buildPythonPackage rec { 12 pname = "pysuez"; 13 version = "0.2.2"; 14 pyproject = true; 15 16 disabled = pythonOlder "3.8"; 17 18 src = fetchFromGitHub { 19 owner = "jb101010-2"; 20 repo = "pySuez"; 21 rev = "refs/tags/${version}"; 22 hash = "sha256-+pLknJDF0SsC6OsmP64D/yZeu0sGNtKo8EBGlDewBug="; 23 }; 24 25 build-system = [ setuptools ]; 26 27 dependencies = [ 28 regex 29 requests 30 ]; 31 32 # Module has no tests 33 doCheck = false; 34 35 pythonImportsCheck = [ "pysuez" ]; 36 37 meta = with lib; { 38 description = "Module to get water consumption data from Suez"; 39 mainProgram = "pysuez"; 40 homepage = "https://github.com/jb101010-2/pySuez"; 41 changelog = "https://github.com/jb101010-2/pySuez/releases/tag/v${version}"; 42 license = licenses.asl20; 43 maintainers = with maintainers; [ fab ]; 44 }; 45}