1{ lib
2, buildPythonPackage
3, fetchFromGitHub
4, pytest
5, pytestcov
6, pytestrunner
7, pycodestyle
8, pyyaml
9}:
10
11buildPythonPackage rec {
12 pname = "tinydb";
13 version = "v3.14.1";
14
15 src = fetchFromGitHub {
16 owner = "msiemens";
17 repo = pname;
18 rev = version;
19 sha256 = "02idbvrm8j4mwsjfkzy11f4png19k307p53s4qa2ifzssysxpb96";
20 };
21
22 nativeBuildInputs = [
23 pytestrunner
24 ];
25
26 checkInputs = [
27 pytest
28 pytestcov
29 pycodestyle
30 pyyaml
31 ];
32
33 meta = with lib; {
34 description = "A lightweight document oriented database written in pure Python with no external dependencies";
35 homepage = "https://github.com/msiemens/tinydb";
36 license = licenses.asl20;
37 maintainers = with maintainers; [ marcus7070 ];
38 };
39}