blob: d0649f5ceaf155ebb6f9872dfbe6e4037b465191 (
plain)
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
|
{
lib,
buildPythonPackage,
fetchFromGitHub,
pytest-regressions,
pytest-timeout,
pytestCheckHook,
toml,
typing-extensions,
whey,
}:
buildPythonPackage rec {
pname = "coincidence";
version = "0.6.6";
pyproject = true;
src = fetchFromGitHub {
owner = "python-coincidence";
repo = "coincidence";
tag = "v${version}";
hash = "sha256-ktSuUzAwMych6Y2eJWMUfG1a3mGypg8L20f/105RFXc=";
};
build-system = [ whey ];
dependencies = [ typing-extensions ];
nativeCheckInputs = [
pytest-regressions
pytest-timeout
pytestCheckHook
toml
];
pythonImportsCheck = [ "coincidence" ];
meta = {
description = "Helper functions for pytest";
homepage = "https://github.com/python-coincidence/coincidence";
changelog = "https://github.com/python-coincidence/coincidence/releases/tag/${src.tag}";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ fab ];
};
}
|