From 909eebf84611ca5c2b1df8eaffdd0c0858292255 Mon Sep 17 00:00:00 2001 From: Vivien Kraus Date: Thu, 10 Feb 2022 20:45:25 +0100 Subject: [PATCH v5 29/32] gnu: Add python-pytest-memprof. * gnu/packages/python-check.scm (python-pytest-memprof): New variable. --- gnu/packages/python-check.scm | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/gnu/packages/python-check.scm b/gnu/packages/python-check.scm index 547813cce7..8b534c6245 100644 --- a/gnu/packages/python-check.scm +++ b/gnu/packages/python-check.scm @@ -2029,3 +2029,23 @@ (define-public python-xunitparser Python objects. It tries to use the objects available in the standard @code{unittest} module.") (license license:expat))) + +(define-public python-pytest-memprof + (package + (name "python-pytest-memprof") + (version "0.2.0") + (source + (origin + (method url-fetch) + (uri (pypi-uri "pytest-memprof" version)) + (sha256 + (base32 "0rxg0q3bwlc9iax0skpia3a5x7xijz9i5110qk50vf9avwg9zg69")))) + (build-system python-build-system) + (arguments '(#:tests? #f)) ;; No tests, no git repository + (propagated-inputs (list python-psutil python-pytest)) + ;; The gitlab repository is private, so the home page is not accessible. + (home-page "https://pypi.org/project/pytest-memprof/") + (synopsis "Estimate memory consumption of test functions") + (description "This pytest plugin estimates memory consumption of test +functions.") + (license license:bsd-3))) -- 2.34.0