blob: 36c97919aea0c45553dfa393e423ead42a3bf9ca (
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
|
{
lib,
buildPythonPackage,
fetchFromGitHub,
pytestCheckHook,
setuptools,
}:
buildPythonPackage (finalAttrs: {
pname = "assertpy";
version = "1.1";
pyproject = true;
src = fetchFromGitHub {
owner = "assertpy";
repo = "assertpy";
tag = finalAttrs.version;
hash = "sha256-TmDnwYvOQIpjwBpMCCn+qg68HnKc0qzVP9fjygqBzkI=";
};
build-system = [ setuptools ];
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "assertpy" ];
meta = {
description = "Simple assertion library for unit testing with a fluent API";
homepage = "https://github.com/assertpy/assertpy";
license = lib.licenses.bsd3;
maintainers = with lib.maintainers; [ fab ];
};
})
|