Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
967 B · 47 lines
Nix
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748{ lib, buildPythonPackage, fetchFromGitHub, pythonOlder, requests}:
buildPythonPackage rec { pname = "pyosf"; version = "1.0.5"; format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchFromGitHub { owner = "psychopy"; repo = pname; rev = "refs/tags/v${version}"; hash = "sha256-Yhb6HSnLdFzWouse/RKZ8SIbMia/hhD8TAovdqmvd7o="; };
postPatch = '' substituteInPlace setup.py \ --replace "'pytest-runner', " "" '';
preBuild = "export HOME=$TMP";
propagatedBuildInputs = [ requests ];
# Tests require network access doCheck = false;
pythonImportsCheck = [ "pyosf" ];
meta = with lib; { description = "Pure Python library for simple sync with Open Science Framework"; homepage = "https://github.com/psychopy/pyosf"; changelog = "https://github.com/psychopy/pyosf/releases/tag/v${version}"; license = licenses.mit; maintainers = with maintainers; [ bcdarwin ]; };}