mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-03-14 08:26:37 +01:00
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.
31 lines
655 B
Nix
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 ];
|
|
};
|
|
}
|