summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/itemdb/default.nix
blob: af314bddd9416f25962a6ec3e73734fadd03dfd1 (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
{
  lib,
  buildPythonPackage,
  fetchFromGitHub,
  flit-core,
}:

buildPythonPackage rec {
  pname = "itemdb";
  version = "1.3.0";
  pyproject = true;

  nativeBuildInputs = [
    flit-core
  ];

  # PyPI tarball doesn't include tests directory
  src = fetchFromGitHub {
    owner = "almarklein";
    repo = "itemdb";
    tag = "v${version}";
    sha256 = "sha256-HXdOERq2td6CME8zWN0DRVkSlmdqTg2po7aJrOuITHE=";
  };

  meta = {
    description = "Easy transactional database for Python dicts, backed by SQLite";
    license = lib.licenses.bsd2;
    homepage = "https://itemdb.readthedocs.io";
    maintainers = [ lib.maintainers.matthiasbeyer ];
  };
}