python3Packages.simplesqlite: init at 1.5.2

Signed-off-by: Henri Rosten <henri.rosten@unikie.com>
This commit is contained in:
Henri Rosten 2024-04-03 12:28:38 +03:00
parent 22631ebca9
commit a115f235ad
2 changed files with 48 additions and 0 deletions

View File

@ -0,0 +1,46 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, dataproperty
, mbstrdecoder
, pathvalidate
, sqliteschema
, setuptools
, tabledata
, typepy
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "SimpleSQLite";
version = "1.5.2";
pyproject = true;
src = fetchFromGitHub {
owner = "thombashi";
repo = "SimpleSQLite";
rev = "v${version}";
hash = "sha256-Yr17T0/EwVaOjG+mzdxopivj0fuvQdZdX1bFj8vq0MM=";
};
nativeBuildInputs = [ setuptools ];
propagatedBuildInputs = [
dataproperty
mbstrdecoder
pathvalidate
sqliteschema
tabledata
typepy
];
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "simplesqlite" ];
meta = with lib; {
description = "Python library to simplify SQLite database operations";
homepage = "https://github.com/thombashi/simplesqlite";
license = licenses.mit;
maintainers = with maintainers; [ henrirosten ];
};
}

View File

@ -13762,6 +13762,8 @@ self: super: with self; {
simplesat = callPackage ../development/python-modules/simplesat { };
simplesqlite = callPackage ../development/python-modules/simplesqlite { };
simple-dftd3 = callPackage ../development/libraries/science/chemistry/simple-dftd3/python.nix {
inherit (pkgs) simple-dftd3;
};