python3Packages.itemdb: fix build

During the update to 1.3.0 it was missed that the author of the package adopted a pyproject.toml
instead of a setup.py; as well as introducing a dependency on flit-core

Fixes: 73a019ca03c4f122209b44a50960be397cbe0a60

Changed files
+6 -1
pkgs
development
python-modules
itemdb
+6 -1
pkgs/development/python-modules/itemdb/default.nix
···
lib,
buildPythonPackage,
fetchFromGitHub,
+
flit-core,
}:
buildPythonPackage rec {
pname = "itemdb";
version = "1.3.0";
-
format = "setuptools";
+
format = "pyproject";
+
+
nativeBuildInputs = [
+
flit-core
+
];
# PyPI tarball doesn't include tests directory
src = fetchFromGitHub {