blob: d9b51373bcdf0dcd6727befe66a45bf93854c2ec (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
|
{ lib
, buildPythonPackage
, fetchFromGitHub
, poetry-core
, jinja2
, pytest
, rich
, pythonOlder
, syrupy
, textual
}:
buildPythonPackage rec {
pname = "pytest-textual-snapshot";
version = "0.4.0";
pyproject = true;
disabled = pythonOlder "3.8";
src = fetchFromGitHub {
owner = "Textualize";
repo = "pytest-textual-snapshot";
rev = "refs/tags/v${version}";
hash = "sha256-XkXeyodRdwWqCP63Onx82Z3IbNLDDR/Lvaw8xUY7fAg=";
};
nativeBuildInputs = [
poetry-core
];
buildInputs = [
pytest
];
propagatedBuildInputs = [
jinja2
rich
syrupy
textual
];
# Module has no tests
doCheck = false;
pythonImportsCheck = [
"pytest_textual_snapshot"
];
meta = with lib; {
description = "Snapshot testing for Textual applications";
homepage = "https://github.com/Textualize/pytest-textual-snapshot";
changelog = "https://github.com/Textualize/pytest-textual-snapshot/releases/tag/v${version}";
license = licenses.mit;
maintainers = with maintainers; [ fab ];
};
}
|