nixpkgs/pkgs/development/python-modules/itemdb/default.nix
Michael Daniels 075e8c2c4f
treewide: change 'format = "pyproject";' to 'pyproject = true;'
This is almost all find-and-replace.

I manually edited:
* pkgs/development/python-modules/notifications-android-tv/default.nix,
* pkgs/servers/home-assistant/default.nix,
* pkgs/development/tools/continuous-integration/buildbot/master.nix

A few files have not been changed in this PR because they would cause rebuilds.

This PR should have 0 rebuilds.
2026-01-12 17:50:35 -05:00

31 lines
655 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}";
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 ];
};
}