Merge pull request #263355 from aldoborrero/feat/sqlite-migrate

python311Packages.sqlite-migrate: init at version 0.1a2
This commit is contained in:
OTABI Tomoya 2023-11-01 18:29:45 +09:00 committed by GitHub
commit 2ccc9c7567
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 47 additions and 0 deletions

View file

@ -0,0 +1,45 @@
{ lib
, buildPythonPackage
, fetchPypi
, pytestCheckHook
, pythonOlder
, setuptools
, sqlite-utils
}:
buildPythonPackage rec {
pname = "sqlite-migrate";
version = "0.1a2";
pyproject = true;
disabled = pythonOlder "3.8";
src = fetchPypi {
inherit pname version;
hash = "sha256-wztAqe3TW0SQ4JX1XPWeA4KNJci5c3fNih97cmlPwRE=";
};
nativeBuildInputs = [
setuptools
];
propagatedBuildInputs = [
sqlite-utils
];
nativeCheckInputs = [
pytestCheckHook
];
pythonImportsCheck = [
"sqlite_migrate"
];
meta = with lib; {
description = "A simple database migration system for SQLite, based on sqlite-utils";
homepage = "https://github.com/simonw/sqlite-migrate";
changelog = "https://github.com/simonw/sqlite-migrate/releases/tag/${version}";
license = licenses.asl20;
maintainers = with maintainers; [ aldoborrero ];
};
}

View file

@ -13330,6 +13330,8 @@ self: super: with self; {
sqlitedict = callPackage ../development/python-modules/sqlitedict { };
sqlite-migrate = callPackage ../development/python-modules/sqlite-migrate { };
sqlite-fts4 = callPackage ../development/python-modules/sqlite-fts4 { };
sqlite-utils = callPackage ../development/python-modules/sqlite-utils { };