nur-packages

My NUR packages
git clone git://git.sikmir.ru/nur-packages
Log | Files | Refs | README | LICENSE

commit e27c63da13525a6b0b3b1c74756d293072294400
parent ec5584634c372437e7fbd0dc5e5062be286a2acf
Author: Nikolay Korotkiy <sikmir@disroot.org>
Date:   Sat, 14 Mar 2026 16:39:15 +0400

pytest-split: init at 0.11.0

Diffstat:
Apkgs/by-name/py/pytest-split/package.nix | 32++++++++++++++++++++++++++++++++
1 file changed, 32 insertions(+), 0 deletions(-)

diff --git a/pkgs/by-name/py/pytest-split/package.nix b/pkgs/by-name/py/pytest-split/package.nix @@ -0,0 +1,32 @@ +{ + lib, + fetchFromGitHub, + python3Packages, +}: + +python3Packages.buildPythonPackage (finalAttrs: { + pname = "pytest-split"; + version = "0.11.0"; + pyproject = true; + + src = fetchFromGitHub { + owner = "jerry-git"; + repo = "pytest-split"; + tag = finalAttrs.version; + hash = "sha256-shj+04sqL3MmBmHw1c3kP+aX2QgzpAWJOsz9hSs9B7A="; + }; + + build-system = with python3Packages; [ poetry-core ]; + + nativeCheckInputs = with python3Packages; [ + pytestCheckHook + pytest-cov-stub + ]; + + meta = { + description = "Pytest plugin which splits the test suite to equally sized sub suites based on test execution time"; + homepage = "https://github.com/jerry-git/pytest-split"; + license = lib.licenses.mit; + maintainers = [ lib.maintainers.sikmir ]; + }; +})