1{
2 lib,
3 buildPythonPackage,
4 fetchFromGitHub,
5 setuptools,
6 robotframework,
7 robotframework-assertion-engine,
8 pytestCheckHook,
9}:
10
11buildPythonPackage rec {
12 pname = "robotframework-databaselibrary";
13 version = "2.1.4";
14 pyproject = true;
15
16 src = fetchFromGitHub {
17 owner = "MarketSquare";
18 repo = "Robotframework-Database-Library";
19 tag = "v.${version}";
20 hash = "sha256-ZZOhGZTJGWYCHyvJXDYGn9BMuPioCVIu0KONGkXsRmk=";
21 };
22
23 nativeBuildInputs = [
24 robotframework
25 setuptools
26 ];
27
28 propagatedBuildInputs = [
29 robotframework
30 robotframework-assertion-engine
31 ];
32
33 pythonImportsCheck = [ "DatabaseLibrary" ];
34
35 nativeCheckInputs = [ pytestCheckHook ];
36
37 meta = with lib; {
38 description = "Database Library contains utilities meant for Robot Framework";
39 homepage = "https://github.com/MarketSquare/Robotframework-Database-Library";
40 license = licenses.asl20;
41 maintainers = with maintainers; [ talkara ];
42 };
43}