mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-03-08 08:24:10 +01:00
https://github.com/simonw/sqlite-utils/releases/tag/3.39 This commit was automatically generated using update-python-libraries.
61 lines
1.2 KiB
Nix
61 lines
1.2 KiB
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchPypi,
|
|
click,
|
|
click-default-group,
|
|
python-dateutil,
|
|
sqlite-fts4,
|
|
tabulate,
|
|
pip,
|
|
pluggy,
|
|
pytestCheckHook,
|
|
hypothesis,
|
|
testers,
|
|
sqlite-utils,
|
|
setuptools,
|
|
}:
|
|
buildPythonPackage rec {
|
|
pname = "sqlite-utils";
|
|
version = "3.39";
|
|
pyproject = true;
|
|
|
|
build-system = [ setuptools ];
|
|
|
|
src = fetchPypi {
|
|
inherit version;
|
|
pname = "sqlite_utils";
|
|
hash = "sha256-v6Lqwps+PrXJZHKDeXUn/rz079Spu7Mdl5oUoR75280=";
|
|
};
|
|
|
|
dependencies = [
|
|
click
|
|
click-default-group
|
|
pip
|
|
pluggy
|
|
python-dateutil
|
|
sqlite-fts4
|
|
tabulate
|
|
];
|
|
|
|
nativeCheckInputs = [
|
|
pytestCheckHook
|
|
hypothesis
|
|
];
|
|
|
|
pythonImportsCheck = [ "sqlite_utils" ];
|
|
|
|
passthru.tests.version = testers.testVersion { package = sqlite-utils; };
|
|
|
|
meta = {
|
|
description = "Python CLI utility and library for manipulating SQLite databases";
|
|
mainProgram = "sqlite-utils";
|
|
homepage = "https://github.com/simonw/sqlite-utils";
|
|
changelog = "https://github.com/simonw/sqlite-utils/releases/tag/${version}";
|
|
license = lib.licenses.asl20;
|
|
maintainers = with lib.maintainers; [
|
|
meatcar
|
|
techknowlogick
|
|
];
|
|
};
|
|
}
|