at master 835 B view raw
1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 hatchling, 6 aiohttp, 7 pythonOlder, 8}: 9 10buildPythonPackage rec { 11 pname = "pysuezv2"; 12 version = "2.0.7"; 13 pyproject = true; 14 15 disabled = pythonOlder "3.8"; 16 17 src = fetchFromGitHub { 18 owner = "jb101010-2"; 19 repo = "pySuez"; 20 tag = version; 21 hash = "sha256-nPRHpT5j/AAxhCJen4mFzoyUWi/+0hIWK2dnpfhP/Gk="; 22 }; 23 24 build-system = [ hatchling ]; 25 26 dependencies = [ aiohttp ]; 27 28 # Module has no tests 29 doCheck = false; 30 31 pythonImportsCheck = [ "pysuez" ]; 32 33 meta = { 34 description = "Module for dealing with water consumption data from Suez"; 35 homepage = "https://github.com/jb101010-2/pySuez"; 36 changelog = "https://github.com/jb101010-2/pySuez/releases/tag/${version}"; 37 license = lib.licenses.asl20; 38 maintainers = with lib.maintainers; [ ]; 39 }; 40}