1{ lib
2, buildPythonPackage
3, fetchFromGitHub
4}:
5
6buildPythonPackage rec {
7 pname = "itemdb";
8 version = "1.1.2";
9
10 # PyPI tarball doesn't include tests directory
11 src = fetchFromGitHub {
12 owner = "almarklein";
13 repo = pname;
14 rev = "refs/tags/v${version}";
15 sha256 = "sha256-s7a+MJLTAcGv2rYRMO2SAlsDYen6Si10qUQOVDFuf6c=";
16 };
17
18 meta = with lib; {
19 description = "Easy transactional database for Python dicts, backed by SQLite";
20 license = licenses.bsd2;
21 homepage = "https://itemdb.readthedocs.io";
22 maintainers = [ maintainers.matthiasbeyer ];
23 };
24}
25
26