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