python3Packages.pytest-recording: refactor

natsukium eaebf83d 321edb4a

+8 -7
+8 -7
pkgs/development/python-modules/pytest-recording/default.nix
··· 17 buildPythonPackage rec { 18 pname = "pytest-recording"; 19 version = "0.13.4"; 20 - format = "pyproject"; 21 22 src = fetchFromGitHub { 23 owner = "kiwicom"; ··· 25 tag = "v${version}"; 26 hash = "sha256-S++MnI0GgpQxS6kFkt05kcE4JMW7jyFjJ3o7DhfYoVA="; 27 }; 28 29 buildInputs = [ 30 - hatchling 31 pytest 32 ]; 33 34 - propagatedBuildInputs = [ vcrpy ]; 35 36 __darwinAllowLocalNetworking = true; 37 38 - checkInputs = [ 39 pytestCheckHook 40 pytest-httpbin 41 pytest-mock ··· 53 54 pythonImportsCheck = [ "pytest_recording" ]; 55 56 - meta = with lib; { 57 description = "Pytest plugin that allows you recording of network interactions via VCR.py"; 58 homepage = "https://github.com/kiwicom/pytest-recording"; 59 - license = licenses.mit; 60 - maintainers = with maintainers; [ jbgosselin ]; 61 }; 62 }
··· 17 buildPythonPackage rec { 18 pname = "pytest-recording"; 19 version = "0.13.4"; 20 + pyproject = true; 21 22 src = fetchFromGitHub { 23 owner = "kiwicom"; ··· 25 tag = "v${version}"; 26 hash = "sha256-S++MnI0GgpQxS6kFkt05kcE4JMW7jyFjJ3o7DhfYoVA="; 27 }; 28 + 29 + build-system = [ hatchling ]; 30 31 buildInputs = [ 32 pytest 33 ]; 34 35 + dependencies = [ vcrpy ]; 36 37 __darwinAllowLocalNetworking = true; 38 39 + nativeCheckInputs = [ 40 pytestCheckHook 41 pytest-httpbin 42 pytest-mock ··· 54 55 pythonImportsCheck = [ "pytest_recording" ]; 56 57 + meta = { 58 description = "Pytest plugin that allows you recording of network interactions via VCR.py"; 59 homepage = "https://github.com/kiwicom/pytest-recording"; 60 + license = lib.licenses.mit; 61 + maintainers = with lib.maintainers; [ jbgosselin ]; 62 }; 63 }