Files
nixpkgs/pkgs/development/python-modules/sqlobject/default.nix
Ihar Hrachyshka 567e8dfd8e treewide: clean up 'meta = with' pattern
This commit was created by a combination of scripts and tools:
- an ast-grep script to prefix things in meta with `lib.`,
- a modified nixf-diagnose / nixf combination to remove unused `with
lib;`, and
- regular nixfmt.

Co-authored-by: Wolfgang Walther <walther@technowledgy.de>
2025-12-10 18:09:49 +01:00

54 lines
1.0 KiB
Nix

{
lib,
buildPythonPackage,
fetchFromGitHub,
pytestCheckHook,
setuptools,
formencode,
pastedeploy,
paste,
pydispatcher,
pythonOlder,
}:
buildPythonPackage rec {
pname = "sqlobject";
version = "3.13.0";
pyproject = true;
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "sqlobject";
repo = "sqlobject";
tag = version;
hash = "sha256-KcpbGqNsR77kwbTLKwvwWpyLvF1UowIsKM7Kirs7Zw4=";
};
build-system = [ setuptools ];
dependencies = [
formencode
paste
pastedeploy
pydispatcher
];
nativeCheckInputs = [ pytestCheckHook ];
disabledTests = [
# https://github.com/sqlobject/sqlobject/issues/179
"test_fail"
];
pythonImportsCheck = [ "sqlobject" ];
meta = {
description = "Object Relational Manager for providing an object interface to your database";
homepage = "https://www.sqlobject.org/";
changelog = "https://github.com/sqlobject/sqlobject/blob/${version}/docs/News.rst";
license = lib.licenses.lgpl21Only;
maintainers = [ ];
};
}