Merge pull request #236701 from fabaff/waterfurnace-pytest-runner

python311Packages.waterfurnace: remove pytest-runner

authored by Fabian Affolter and committed by GitHub 8a64294c d07a4b8d

+14 -4
+14 -4
pkgs/development/python-modules/waterfurnace/default.nix
··· 3 3 , click 4 4 , fetchFromGitHub 5 5 , mock 6 - , pytest-runner 7 6 , pytestCheckHook 8 7 , requests 8 + , pythonOlder 9 9 , websocket-client 10 10 }: 11 11 12 12 buildPythonPackage rec { 13 13 pname = "waterfurnace"; 14 14 version = "1.1.0"; 15 + format = "setuptools"; 16 + 17 + disabled = pythonOlder "3.7"; 15 18 16 19 src = fetchFromGitHub { 17 20 owner = "sdague"; 18 21 repo = pname; 19 - rev = "v${version}"; 22 + rev = "refs/tags/v${version}"; 20 23 sha256 = "1ba247fw1fvi7zy31zj2wbjq7fajrbxhp139cl9jj67rfvxfv8xf"; 21 24 }; 22 25 26 + postPatch = '' 27 + substituteInPlace setup.py \ 28 + --replace "'pytest-runner'," "" 29 + ''; 30 + 23 31 propagatedBuildInputs = [ 24 32 click 25 - pytest-runner 26 33 requests 27 34 websocket-client 28 35 ]; ··· 32 39 pytestCheckHook 33 40 ]; 34 41 35 - pythonImportsCheck = [ "waterfurnace" ]; 42 + pythonImportsCheck = [ 43 + "waterfurnace" 44 + ]; 36 45 37 46 meta = with lib; { 38 47 description = "Python interface to waterfurnace geothermal systems"; 39 48 homepage = "https://github.com/sdague/waterfurnace"; 49 + changelog = "https://github.com/sdague/waterfurnace/blob/v${version}/HISTORY.rst"; 40 50 license = with licenses; [ asl20 ]; 41 51 maintainers = with maintainers; [ fab ]; 42 52 };