lol

python310Packages.pastedeploy: 2.1.1 -> 3.0.1

Changelog: https://github.com/Pylons/pastedeploy/blob/3.0.1/docs/news.rst

+19 -4
+19 -4
pkgs/development/python-modules/pastedeploy/default.nix
··· 2 2 , buildPythonPackage 3 3 , fetchFromGitHub 4 4 , pytestCheckHook 5 + , pythonOlder 5 6 }: 6 7 7 8 buildPythonPackage rec { 8 9 pname = "pastedeploy"; 9 - version = "2.1.1"; 10 + version = "3.0.1"; 11 + format = "setuptools"; 12 + 13 + disabled = pythonOlder "3.7"; 10 14 11 15 src = fetchFromGitHub { 12 16 owner = "Pylons"; 13 17 repo = pname; 14 - rev = version; 15 - sha256 = "sha256-9/8aM/G/EdapCZJlx0ZPzNbmw2uYjA1zGbNWJAWoeCU="; 18 + rev = "refs/tags/${version}"; 19 + hash = "sha256-8MNeOcYPEYAfghZN/K/1v/tAAdgz/fCvuVnBoru+81Q="; 16 20 }; 17 21 18 - nativeCheckInputs = [ pytestCheckHook ]; 22 + postPatch = '' 23 + substituteInPlace pytest.ini \ 24 + --replace " --cov" "" 25 + ''; 26 + 27 + nativeCheckInputs = [ 28 + pytestCheckHook 29 + ]; 30 + 31 + pythonImportsCheck = [ 32 + "paste.deploy" 33 + ]; 19 34 20 35 meta = with lib; { 21 36 description = "Load, configure, and compose WSGI applications and servers";