From 89bf14d3227f5599af9f08ff7fe35cb40d07d68f Mon Sep 17 00:00:00 2001 From: Sharlatan Hellseher Date: Fri, 19 Dec 2025 23:07:13 +0000 Subject: [PATCH] gnu: Add python-osfclient. * gnu/packages/python-science.scm (python-osfclient): New variable. Change-Id: I236ee7e8f56758fbd75b8b83f67161f37d812e6e --- gnu/packages/python-science.scm | 41 +++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) diff --git a/gnu/packages/python-science.scm b/gnu/packages/python-science.scm index 2ea03994e890de76cf4258f30fbd9c5928d9be56..81f0eacc81f6785a12a02ee9a982be2796959c84 100644 --- a/gnu/packages/python-science.scm +++ b/gnu/packages/python-science.scm @@ -2403,6 +2403,47 @@ well as potentially any library which conforms to a standard API. See the documentation for more information.") (license license:expat))) +(define-public python-osfclient + (package + (name "python-osfclient") + (version "0.0.5") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/osfclient/osfclient") + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 "1ympjh028xgwkzvhwqa31rack1h8nni7zzn2alp1819m4pm8hysn")))) + (build-system pyproject-build-system) + (arguments + (list + #:test-flags + ;; 2 tests fail with assertion not equal: + ;; AssertionError: assert 16 == (4 + (4 * 2)) + ;; See: . + #~(list "-k" + (string-append "not test_recursive_upload" + " and not nottest_recursive_upload_with_subdir")))) + (native-inputs + (list python-pytest + python-mock + python-setuptools)) + (propagated-inputs + (list python-requests + python-six + python-tqdm)) + (home-page "https://github.com/osfclient/osfclient") + (synopsis "Python library and command-line client for file storage on OSF") + (description + "The @code{osfclient} is a python library and a command-line client for +up- and downloading files to and from @url{https://osf.io/, Open Science +Framework} projects. The @acronym{OSF, Open Science Framework} is an open +source project which facilitates the open collaboration of researchers on the +web, by sharing data and other research outputs.") + (license license:bsd-3))) + (define-public python-osqp (package (name "python-osqp")