blob: 390ab24111a03e1a968998554498dd70b79c02cd (
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
|
{
lib,
buildPythonPackage,
fetchFromGitHub,
flit-core,
freezegun,
pytest,
pytestCheckHook,
}:
buildPythonPackage rec {
pname = "pytest-freezer";
version = "0.4.9";
pyproject = true;
src = fetchFromGitHub {
owner = "pytest-dev";
repo = "pytest-freezer";
tag = version;
hash = "sha256-WJGwkON/RAiUiGzNkeqjzch4CEr6mPXij5dqz1ncRXs=";
};
build-system = [ flit-core ];
buildInputs = [ pytest ];
dependencies = [ freezegun ];
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "pytest_freezer" ];
meta = {
description = "Pytest plugin providing a fixture interface for spulec/freezegun";
homepage = "https://github.com/pytest-dev/pytest-freezer";
changelog = "https://github.com/pytest-dev/pytest-freezer/releases/tag/${version}";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ fab ];
};
}
|