python3Packages.simplesqlite: modernize build structure

This commit is contained in:
Sarah Clark
2026-11-02 19:38:54 -08:00
parent f597976cfa
commit 2870f42663

View File

@@ -12,7 +12,7 @@
pytestCheckHook,
}:
buildPythonPackage rec {
buildPythonPackage (finalAttrs: {
pname = "SimpleSQLite";
version = "1.5.4";
pyproject = true;
@@ -20,13 +20,13 @@ buildPythonPackage rec {
src = fetchFromGitHub {
owner = "thombashi";
repo = "SimpleSQLite";
tag = "v${version}";
tag = "v${finalAttrs.version}";
hash = "sha256-PObyZmmECxp6keRymYFGi4Uf07yNHu6rUIqSrRx2bPE=";
};
nativeBuildInputs = [ setuptools ];
build-system = [ setuptools ];
propagatedBuildInputs = [
dependencies = [
dataproperty
mbstrdecoder
pathvalidate
@@ -44,4 +44,4 @@ buildPythonPackage rec {
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ henrirosten ];
};
}
})