mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-04-13 22:07:38 +00:00
Merge pull request #105618 from bcdarwin/pyosf
python3Packages.pyosf: init at 1.0.5
This commit is contained in:
commit
a727aac01a
34
pkgs/development/python-modules/pyosf/default.nix
Normal file
34
pkgs/development/python-modules/pyosf/default.nix
Normal file
@ -0,0 +1,34 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, isPy27
|
||||
, pytestrunner
|
||||
, requests
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "pyosf";
|
||||
version = "1.0.5";
|
||||
disabled = isPy27;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "psychopy";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "1fkpmylpcbqa9ky111mz4qr1n8pik49gs7pblbb5qx6b54fzl5k2";
|
||||
};
|
||||
|
||||
preBuild = "export HOME=$TMP";
|
||||
buildInputs = [ pytestrunner ]; # required via `setup_requires`
|
||||
propagatedBuildInputs = [ requests ];
|
||||
|
||||
doCheck = false; # requires network access
|
||||
pythonImportsCheck = [ "pyosf" ];
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://github.com/psychopy/pyosf";
|
||||
description = "Pure Python library for simple sync with Open Science Framework";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ bcdarwin ];
|
||||
};
|
||||
}
|
@ -5355,6 +5355,8 @@ in {
|
||||
|
||||
pyopenssl = callPackage ../development/python-modules/pyopenssl { };
|
||||
|
||||
pyosf = callPackage ../development/python-modules/pyosf { };
|
||||
|
||||
pyosmium = callPackage ../development/python-modules/pyosmium { };
|
||||
|
||||
pyotp = callPackage ../development/python-modules/pyotp { };
|
||||
|
Loading…
Reference in New Issue
Block a user