Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ buildPythonPackage 2, fetchPypi 3, lib 4, pytest 5, pytest-xdist 6, pytest-dependency 7, pytest-mock 8, pytestCheckHook 9}: 10 11buildPythonPackage rec { 12 pname = "pytest-order"; 13 version = "1.1.0"; 14 format = "setuptools"; 15 16 src = fetchPypi { 17 inherit pname version; 18 hash = "sha256-E50lswgmt47rtCci90fqsUxEuIBZ16cdT3nRSgVyaaU="; 19 }; 20 21 buildInputs = [ pytest ]; 22 23 nativeCheckInputs = [ 24 pytestCheckHook 25 pytest-xdist 26 pytest-dependency 27 pytest-mock 28 ]; 29 30 meta = { 31 description = "Pytest plugin that allows you to customize the order in which your tests are run"; 32 homepage = "https://github.com/pytest-dev/pytest-order"; 33 license = lib.licenses.mit; 34 maintainers = [ lib.maintainers.jacg ]; 35 }; 36}