Files
nixpkgs/pkgs/development/python-modules/itemdb/default.nix
T
Ihar Hrachyshka 567e8dfd8e treewide: clean up 'meta = with' pattern
This commit was created by a combination of scripts and tools:
- an ast-grep script to prefix things in meta with `lib.`,
- a modified nixf-diagnose / nixf combination to remove unused `with
lib;`, and
- regular nixfmt.

Co-authored-by: Wolfgang Walther <walther@technowledgy.de>
2025-12-10 18:09:49 +01:00

32 lines
659 B
Nix

{
lib,
buildPythonPackage,
fetchFromGitHub,
flit-core,
}:
buildPythonPackage rec {
pname = "itemdb";
version = "1.3.0";
format = "pyproject";
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 ];
};
}