Loading pkgs/development/python-modules/ancp-bids/default.nix 0 → 100644 +41 −0 Original line number Diff line number Diff line { lib , buildPythonPackage , fetchFromGitHub , pythonOlder , pytestCheckHook , setuptools , numpy , pandas }: buildPythonPackage rec { pname = "ancp-bids"; version = "0.2.1"; disabled = pythonOlder "3.7"; format = "pyproject"; # `tests/data` dir missing from PyPI dist src = fetchFromGitHub { owner = "ANCPLabOldenburg"; repo = pname; rev = "refs/tags/${version}"; hash = "sha256-Nu9pulVSZysgm/F7jl+VpoqMCiHeysZjQDQ1dT7AnpE="; }; nativeBuildInputs = [ setuptools ] ; checkInputs = [ numpy pandas pytestCheckHook ]; pythonImportsCheck = [ "ancpbids" ]; pytestFlagsArray = [ "tests/auto" ]; disabledTests = [ "test_fetch_dataset" ]; meta = with lib; { homepage = "https://ancpbids.readthedocs.io"; description = "Read/write/validate/query BIDS datasets"; license = licenses.mit; maintainers = with maintainers; [ bcdarwin ]; }; } pkgs/top-level/python-packages.nix +2 −0 Original line number Diff line number Diff line Loading @@ -456,6 +456,8 @@ self: super: with self; { amqtt = callPackage ../development/python-modules/amqtt { }; ancp-bids = callPackage ../development/python-modules/ancp-bids { }; android-backup = callPackage ../development/python-modules/android-backup { }; androidtv = callPackage ../development/python-modules/androidtv { }; Loading Loading
pkgs/development/python-modules/ancp-bids/default.nix 0 → 100644 +41 −0 Original line number Diff line number Diff line { lib , buildPythonPackage , fetchFromGitHub , pythonOlder , pytestCheckHook , setuptools , numpy , pandas }: buildPythonPackage rec { pname = "ancp-bids"; version = "0.2.1"; disabled = pythonOlder "3.7"; format = "pyproject"; # `tests/data` dir missing from PyPI dist src = fetchFromGitHub { owner = "ANCPLabOldenburg"; repo = pname; rev = "refs/tags/${version}"; hash = "sha256-Nu9pulVSZysgm/F7jl+VpoqMCiHeysZjQDQ1dT7AnpE="; }; nativeBuildInputs = [ setuptools ] ; checkInputs = [ numpy pandas pytestCheckHook ]; pythonImportsCheck = [ "ancpbids" ]; pytestFlagsArray = [ "tests/auto" ]; disabledTests = [ "test_fetch_dataset" ]; meta = with lib; { homepage = "https://ancpbids.readthedocs.io"; description = "Read/write/validate/query BIDS datasets"; license = licenses.mit; maintainers = with maintainers; [ bcdarwin ]; }; }
pkgs/top-level/python-packages.nix +2 −0 Original line number Diff line number Diff line Loading @@ -456,6 +456,8 @@ self: super: with self; { amqtt = callPackage ../development/python-modules/amqtt { }; ancp-bids = callPackage ../development/python-modules/ancp-bids { }; android-backup = callPackage ../development/python-modules/android-backup { }; androidtv = callPackage ../development/python-modules/androidtv { }; Loading