1{
2 lib,
3 buildPythonPackage,
4 fetchFromGitHub,
5 pytestCheckHook,
6}:
7
8buildPythonPackage rec {
9 pname = "assertpy";
10 version = "1.1";
11 format = "setuptools";
12
13 src = fetchFromGitHub {
14 owner = "assertpy";
15 repo = "assertpy";
16 rev = version;
17 sha256 = "0hnfh45cmqyp7zasrllwf8gbq3mazqlhhk0sq1iqlh6fig0yfq2f";
18 };
19
20 nativeCheckInputs = [ pytestCheckHook ];
21
22 pythonImportsCheck = [ "assertpy" ];
23
24 meta = with lib; {
25 description = "Simple assertion library for unit testing with a fluent API";
26 homepage = "https://github.com/assertpy/assertpy";
27 license = licenses.bsd3;
28 maintainers = with maintainers; [ fab ];
29 };
30}