python312Packages.apsw: 3.45.1.0 -> 3.45.2.0

Diff: rogerbinns/apsw@refs/tags/3.45.1.0...3.45.2.0

Changelog: https://github.com/rogerbinns/apsw/releases/tag/3.45.2.0
This commit is contained in:
Fabian Affolter 2024-04-10 12:29:31 +02:00
parent 374fa3532e
commit 4610d2694e

View File

@ -1,17 +1,19 @@
{ lib {
, buildPythonPackage lib,
, fetchFromGitHub buildPythonPackage,
, sqlite fetchFromGitHub,
, isPyPy python,
, python pythonOlder,
setuptools,
sqlite,
}: }:
buildPythonPackage rec { buildPythonPackage rec {
pname = "apsw"; pname = "apsw";
version = "3.45.2.0"; version = "3.45.2.0";
format = "setuptools"; pyproject = true;
disabled = isPyPy; disabled = pythonOlder "3.8";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "rogerbinns"; owner = "rogerbinns";
@ -20,9 +22,9 @@ buildPythonPackage rec {
hash = "sha256-tTi3/10W4OoGH6PQVhvPWc5o09on5BZrWoAvrfh4C/E="; hash = "sha256-tTi3/10W4OoGH6PQVhvPWc5o09on5BZrWoAvrfh4C/E=";
}; };
buildInputs = [ build-system = [ setuptools ];
sqlite
]; buildInputs = [ sqlite ];
# Project uses custom test setup to exclude some tests by default, so using pytest # Project uses custom test setup to exclude some tests by default, so using pytest
# requires more maintenance # requires more maintenance
@ -31,13 +33,12 @@ buildPythonPackage rec {
${python.interpreter} setup.py test ${python.interpreter} setup.py test
''; '';
pythonImportsCheck = [ pythonImportsCheck = [ "apsw" ];
"apsw"
];
meta = with lib; { meta = with lib; {
description = "A Python wrapper for the SQLite embedded relational database engine"; description = "A Python wrapper for the SQLite embedded relational database engine";
homepage = "https://github.com/rogerbinns/apsw"; homepage = "https://github.com/rogerbinns/apsw";
changelog = "https://github.com/rogerbinns/apsw/releases/tag/${version}";
license = licenses.zlib; license = licenses.zlib;
maintainers = with maintainers; [ gador ]; maintainers = with maintainers; [ gador ];
}; };