summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/minidb/default.nix
blob: f1765c6089b7f632a952802cec9ab679777daeb2 (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
{
  lib,
  buildPythonPackage,
  fetchFromGitHub,
  pytestCheckHook,
  setuptools,
}:

buildPythonPackage rec {
  pname = "minidb";
  version = "2.0.8";
  pyproject = true;

  src = fetchFromGitHub {
    owner = "thp";
    repo = "minidb";
    tag = version;
    hash = "sha256-e7wVR+xr+5phNoRnGIxnmrjB1QU9JmyfQiu88PYapA8=";
  };

  build-system = [ setuptools ];

  nativeCheckInputs = [ pytestCheckHook ];

  pythonImportsCheck = [ "minidb" ];

  meta = {
    description = "SQLite3-based store for Python objects";
    homepage = "https://thp.io/2010/minidb/";
    license = lib.licenses.isc;
    maintainers = with lib.maintainers; [ tv ];
  };
}