10 buildPythonPackage rec {
15 disabled = pythonOlder "3.7";
17 src = fetchFromGitHub {
20 rev = "refs/tags/v${version}";
21 hash = "sha256-Yhb6HSnLdFzWouse/RKZ8SIbMia/hhD8TAovdqmvd7o=";
25 substituteInPlace setup.py \
26 --replace-fail "'pytest-runner', " ""
29 preBuild = "export HOME=$TMP";
31 build-system = [ setuptools ];
33 dependencies = [ requests ];
35 # Tests require network access
38 pythonImportsCheck = [ "pyosf" ];
41 description = "Pure Python library for simple sync with Open Science Framework";
42 homepage = "https://github.com/psychopy/pyosf";
43 changelog = "https://github.com/psychopy/pyosf/releases/tag/v${version}";
44 license = licenses.mit;
45 maintainers = with maintainers; [ bcdarwin ];