From f73e874a4a44e6294f4d5e1de7f0b3f21faa030f Mon Sep 17 00:00:00 2001 From: Vivien Kraus Date: Thu, 10 Feb 2022 20:45:25 +0100 Subject: [PATCH v6 25/28] 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 c46c6638e4..8be8c5539d 100644 --- a/gnu/packages/python-check.scm +++ b/gnu/packages/python-check.scm @@ -2236,3 +2236,23 @@ (define-public python-sybil parsed examples as part of your normal test run. Integration is provided for the main Python test runners.") (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.36.1