pythonPackages.pytest-snapshot: init at 0.4.2
This commit is contained in:
parent
7cf04dc9ad
commit
74440de5ca
26
pkgs/development/python-modules/pytest-snapshot/default.nix
Normal file
26
pkgs/development/python-modules/pytest-snapshot/default.nix
Normal file
@ -0,0 +1,26 @@
|
||||
{ lib, buildPythonPackage, fetchPypi, packaging, pytest, setuptools-scm }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "pytest-snapshot";
|
||||
version = "0.4.2";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "1p33fcplfykwf5mdwg25n8hjgzxpx8w1iprjnfzibpxclfrxmy5i";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ setuptools-scm ];
|
||||
|
||||
propagatedBuildInputs = [ packaging pytest ];
|
||||
|
||||
# pypi does not contain tests and GitHub archive is not supported because setuptools-scm can't detect the version
|
||||
doCheck = false;
|
||||
pythonImportsCheck = [ "pytest_snapshot" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "A plugin to enable snapshot testing with pytest";
|
||||
homepage = "https://github.com/joseph-roitman/pytest-snapshot/";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ SuperSandro2000 ];
|
||||
};
|
||||
}
|
@ -5946,6 +5946,8 @@ in {
|
||||
|
||||
pytest-services = callPackage ../development/python-modules/pytest-services { };
|
||||
|
||||
pytest-snapshot = callPackage ../development/python-modules/pytest-snapshot { };
|
||||
|
||||
pytest-shutil = callPackage ../development/python-modules/pytest-shutil { };
|
||||
|
||||
pytest-socket = callPackage ../development/python-modules/pytest-socket { };
|
||||
|
Loading…
Reference in New Issue
Block a user