Merge pull request #307098 from r-ryantm/auto-update/cilium-cli
[NixPkgs.git] / pkgs / development / python-modules / pytest-textual-snapshot / default.nix
blobd9b51373bcdf0dcd6727befe66a45bf93854c2ec
1 { lib
2 , buildPythonPackage
3 , fetchFromGitHub
4 , poetry-core
5 , jinja2
6 , pytest
7 , rich
8 , pythonOlder
9 , syrupy
10 , textual
13 buildPythonPackage rec {
14   pname = "pytest-textual-snapshot";
15   version = "0.4.0";
16   pyproject = true;
18   disabled = pythonOlder "3.8";
20   src = fetchFromGitHub {
21     owner = "Textualize";
22     repo = "pytest-textual-snapshot";
23     rev = "refs/tags/v${version}";
24     hash = "sha256-XkXeyodRdwWqCP63Onx82Z3IbNLDDR/Lvaw8xUY7fAg=";
25   };
27   nativeBuildInputs = [
28     poetry-core
29   ];
31   buildInputs = [
32     pytest
33   ];
35   propagatedBuildInputs = [
36     jinja2
37     rich
38     syrupy
39     textual
40   ];
42   # Module has no tests
43   doCheck = false;
45   pythonImportsCheck = [
46     "pytest_textual_snapshot"
47   ];
49   meta = with lib; {
50     description = "Snapshot testing for Textual applications";
51     homepage = "https://github.com/Textualize/pytest-textual-snapshot";
52     changelog = "https://github.com/Textualize/pytest-textual-snapshot/releases/tag/v${version}";
53     license = licenses.mit;
54     maintainers = with maintainers; [ fab ];
55   };