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