nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
fork

Configure Feed

Select the types of activity you want to include in your feed.

python3Packages.pytest-regressions: 2.5.0 -> 2.7.0

+28 -25
+28 -25
pkgs/development/python-modules/pytest-regressions/default.nix
··· 1 1 { 2 2 lib, 3 3 buildPythonPackage, 4 - fetchPypi, 4 + fetchFromGitHub, 5 5 pythonOlder, 6 6 matplotlib, 7 7 numpy, ··· 16 16 17 17 buildPythonPackage rec { 18 18 pname = "pytest-regressions"; 19 - version = "2.5.0"; 20 - format = "setuptools"; 19 + version = "2.7.0"; 20 + pyproject = true; 21 21 22 - disabled = pythonOlder "3.6"; 22 + disabled = pythonOlder "3.9"; 23 23 24 - src = fetchPypi { 25 - inherit pname version; 26 - hash = "sha256-gYx4hMHP87q/ie67AsvCezB4VrGYVCfCTVLLgSoQb9k="; 24 + src = fetchFromGitHub { 25 + owner = "ESSS"; 26 + repo = "pytest-regressions"; 27 + tag = "v${version}"; 28 + hash = "sha256-w9uwJJtikbjUtjpJJ3dEZ1zU0KbdyLaDuJWJr45WpCg="; 27 29 }; 28 30 29 - nativeBuildInputs = [ setuptools-scm ]; 31 + build-system = [ setuptools-scm ]; 30 32 31 33 buildInputs = [ pytest ]; 32 34 33 - propagatedBuildInputs = [ 35 + dependencies = [ 34 36 pytest-datadir 35 37 pyyaml 36 - ]; 37 - 38 - nativeCheckInputs = [ 39 - matplotlib 40 - pandas 41 - pytestCheckHook 42 - ]; 43 - 44 - pytestFlagsArray = [ 45 - "-W" 46 - "ignore::DeprecationWarning" 47 - ]; 48 - 49 - pythonImportsCheck = [ 50 - "pytest_regressions" 51 - "pytest_regressions.plugin" 52 38 ]; 53 39 54 40 optional-dependencies = { ··· 52 66 ]; 53 67 }; 54 68 69 + nativeCheckInputs = [ 70 + matplotlib 71 + pandas 72 + pytestCheckHook 73 + ] ++ lib.flatten (lib.attrValues optional-dependencies); 74 + 75 + pytestFlagsArray = [ 76 + "-W" 77 + "ignore::DeprecationWarning" 78 + ]; 79 + 80 + pythonImportsCheck = [ 81 + "pytest_regressions" 82 + "pytest_regressions.plugin" 83 + ]; 84 + 55 85 meta = with lib; { 86 + changelog = "https://github.com/ESSS/pytest-regressions/blob/${src.tag}/CHANGELOG.rst"; 56 87 description = "Pytest fixtures to write regression tests"; 57 88 longDescription = '' 58 89 pytest-regressions makes it simple to test general data, images,