Merge pull request #263355 from aldoborrero/feat/sqlite-migrate
python311Packages.sqlite-migrate: init at version 0.1a2
This commit is contained in:
commit
2ccc9c7567
2 changed files with 47 additions and 0 deletions
45
pkgs/development/python-modules/sqlite-migrate/default.nix
Normal file
45
pkgs/development/python-modules/sqlite-migrate/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
|
@ -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 { };
|
||||
|
|
Loading…
Reference in a new issue