nixpkgs/pkgs/development/python-modules/process-tests/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

37 lines
816 B
Nix

{
lib,
buildPythonPackage,
fetchPypi,
fetchpatch,
setuptools,
}:
buildPythonPackage rec {
pname = "process-tests";
version = "3.0.0";
pyproject = true;
src = fetchPypi {
inherit pname version;
hash = "sha256-5dV96nFhJR6RytuEvz7MhSdfsSH9R45Xn4AHd7HUJL0=";
};
patches = [
(fetchpatch {
# Add optional ignore_case param to wait_for_strings
url = "https://github.com/ionelmc/python-process-tests/commit/236c3e83722a36eddb4abb111a2fcceb49cc9ab7.patch";
hash = "sha256-LbLaDXHbywvsq++lklNiLw8u0USuiEpuxzpNMhXBWtE=";
})
];
nativeBuildInputs = [ setuptools ];
# No tests
doCheck = false;
meta = {
description = "Tools for testing processes";
license = lib.licenses.bsd2;
homepage = "https://github.com/ionelmc/python-process-tests";
};
}