Files

32 lines
653 B
Nix

{
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}";
hash = "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 ];
};
}