aboutsummaryrefslogtreecommitdiff
path: root/nixpkgs/pkgs/development/python-modules/tinydb/default.nix
blob: 96b6242c85edb703b1b988ba6b27dd24d74cce65 (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
34
35
36
37
38
39
{ lib
, buildPythonPackage
, fetchFromGitHub
, pytest
, pytestcov
, pytestrunner
, pycodestyle
, pyyaml
}:

buildPythonPackage rec {
  pname = "tinydb";
  version = "v3.14.1";

  src = fetchFromGitHub {
    owner = "msiemens";
    repo = pname;
    rev = version;
    sha256 = "02idbvrm8j4mwsjfkzy11f4png19k307p53s4qa2ifzssysxpb96";
  };

  nativeBuildInputs = [
    pytestrunner
  ];

  checkInputs = [
    pytest
    pytestcov
    pycodestyle
    pyyaml
  ];

  meta = with lib; {
    description = "A lightweight document oriented database written in pure Python with no external dependencies";
    homepage = "https://github.com/msiemens/tinydb";
    license = licenses.asl20;
    maintainers = with maintainers; [ marcus7070 ];
  };
}