Merge pull request #265815 from fabaff/skodaconnect-bump

python311Packages.skodaconnect: 1.3.7 -> 1.3.8

authored by

Fabian Affolter and committed by
GitHub
48fff64b 90ca0ba5

+10 -13
+10 -13
pkgs/development/python-modules/skodaconnect/default.nix
··· 4 4 , buildPythonPackage 5 5 , cryptography 6 6 , fetchFromGitHub 7 + , flit-core 7 8 , lxml 8 9 , pyjwt 9 10 , pythonOlder 10 - , setuptools-scm 11 11 }: 12 12 13 13 buildPythonPackage rec { 14 14 pname = "skodaconnect"; 15 - version = "1.3.7"; 16 - format = "setuptools"; 15 + version = "1.3.8"; 16 + pyproject = true; 17 17 18 18 disabled = pythonOlder "3.8"; 19 19 ··· 21 21 owner = "lendy007"; 22 22 repo = pname; 23 23 rev = "refs/tags/${version}"; 24 - hash = "sha256-FJnByPP1hUs6ECuZh9aMJksq32xhPcWWolSFBzP7Zd8="; 24 + hash = "sha256-Isnji6hXkTuTmbMpSuim9uG5ECSDX6A8QZ13sTCU9t0="; 25 25 }; 26 26 27 - SETUPTOOLS_SCM_PRETEND_VERSION = version; 27 + postPatch = '' 28 + # https://github.com/skodaconnect/skodaconnect/pull/103 29 + substituteInPlace pyproject.toml \ 30 + --replace "Bug Tracker" '"Bug Tracker"' 31 + ''; 28 32 29 33 nativeBuildInputs = [ 30 - setuptools-scm 34 + flit-core 31 35 ]; 32 36 33 37 propagatedBuildInputs = [ ··· 37 41 lxml 38 42 pyjwt 39 43 ]; 40 - 41 - postPatch = '' 42 - substituteInPlace setup.py \ 43 - --replace "'pytest>=5,<6'," "" 44 - substituteInPlace requirements.txt \ 45 - --replace "pytest-asyncio" "" 46 - ''; 47 44 48 45 # Project has no tests 49 46 doCheck = false;