2021-12-19 21:33:53 +01:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchFromGitHub
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "itemdb";
|
2023-04-25 04:50:49 +02:00
|
|
|
version = "1.1.2";
|
2021-12-19 21:33:53 +01:00
|
|
|
|
|
|
|
# PyPI tarball doesn't include tests directory
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "almarklein";
|
|
|
|
repo = pname;
|
2023-04-25 04:50:49 +02:00
|
|
|
rev = "refs/tags/v${version}";
|
|
|
|
sha256 = "sha256-s7a+MJLTAcGv2rYRMO2SAlsDYen6Si10qUQOVDFuf6c=";
|
2021-12-19 21:33:53 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Easy transactional database for Python dicts, backed by SQLite";
|
|
|
|
license = licenses.bsd2;
|
|
|
|
homepage = "https://itemdb.readthedocs.io";
|
|
|
|
maintainers = [ maintainers.matthiasbeyer ];
|
|
|
|
};
|
|
|
|
}
|
|
|
|
|
|
|
|
|