Loading pkgs/development/python-modules/autograd/default.nix +23 −12 Original line number Diff line number Diff line { lib, buildPythonPackage, fetchPypi, fetchFromGitHub, # build-system hatchling, # dependencies numpy, # tests pytest-cov, pytest-xdist, pytestCheckHook, pythonOlder, }: buildPythonPackage rec { pname = "autograd"; version = "1.7.0"; version = "1.8.0"; pyproject = true; disabled = pythonOlder "3.8"; src = fetchPypi { inherit pname version; hash = "sha256-3nQ/02jW31I803MF3NFxhhqXUqFESTZ30sn1pWmD/y8="; src = fetchFromGitHub { owner = "HIPS"; repo = "autograd"; tag = "v${version}"; hash = "sha256-k4rcalwznKS2QvmyTLra+ciWFifnILW/DDdB8D+clxQ="; }; build-system = [ hatchling ]; dependencies = [ numpy ]; nativeCheckInputs = [ pytestCheckHook ]; nativeCheckInputs = [ pytest-cov pytest-xdist pytestCheckHook ]; pythonImportsCheck = [ "autograd" ]; meta = with lib; { meta = { description = "Compute derivatives of NumPy code efficiently"; homepage = "https://github.com/HIPS/autograd"; changelog = "https://github.com/HIPS/autograd/releases/tag/v${version}"; license = licenses.mit; maintainers = with maintainers; [ jluttine ]; license = lib.licenses.mit; maintainers = with lib.maintainers; [ jluttine ]; }; } pkgs/development/python-modules/hyppo/default.nix +23 −12 Original line number Diff line number Diff line { lib, autograd, buildPythonPackage, fetchFromGitHub, # build-system setuptools, # dependencies autograd, future, matplotlib, numba, numpy, pytestCheckHook, pythonOlder, pandas, patsy, scikit-learn, scipy, statsmodels, # tests matplotlib, pytest-xdist, pytestCheckHook, seaborn, setuptools, }: buildPythonPackage rec { pname = "hyppo"; version = "0.5.1"; version = "0.5.2"; pyproject = true; disabled = pythonOlder "3.8"; src = fetchFromGitHub { owner = "neurodata"; repo = "hyppo"; tag = "v${version}"; hash = "sha256-bYxqYSOOifQE3gbw8vNk/A13D5TPx7ERSgFvRHMXKGM="; hash = "sha256-7Y+UhneIGwqjsPCnGAQWF/l4r1gFbYs3fdHhV46ZBjA="; }; # some of the doctests (4/21) are broken, e.g. unbound variables, nondeterministic with insufficient tolerance, etc. Loading @@ -42,11 +49,15 @@ buildPythonPackage rec { future numba numpy pandas patsy scikit-learn scipy statsmodels ]; nativeCheckInputs = [ pytest-xdist pytestCheckHook matplotlib seaborn Loading @@ -55,11 +66,11 @@ buildPythonPackage rec { "hyppo" ]; meta = with lib; { meta = { homepage = "https://github.com/neurodata/hyppo"; description = "Python package for multivariate hypothesis testing"; changelog = "https://github.com/neurodata/hyppo/releases/tag/v${version}"; license = licenses.mit; maintainers = with maintainers; [ bcdarwin ]; license = lib.licenses.mit; maintainers = with lib.maintainers; [ bcdarwin ]; }; } Loading
pkgs/development/python-modules/autograd/default.nix +23 −12 Original line number Diff line number Diff line { lib, buildPythonPackage, fetchPypi, fetchFromGitHub, # build-system hatchling, # dependencies numpy, # tests pytest-cov, pytest-xdist, pytestCheckHook, pythonOlder, }: buildPythonPackage rec { pname = "autograd"; version = "1.7.0"; version = "1.8.0"; pyproject = true; disabled = pythonOlder "3.8"; src = fetchPypi { inherit pname version; hash = "sha256-3nQ/02jW31I803MF3NFxhhqXUqFESTZ30sn1pWmD/y8="; src = fetchFromGitHub { owner = "HIPS"; repo = "autograd"; tag = "v${version}"; hash = "sha256-k4rcalwznKS2QvmyTLra+ciWFifnILW/DDdB8D+clxQ="; }; build-system = [ hatchling ]; dependencies = [ numpy ]; nativeCheckInputs = [ pytestCheckHook ]; nativeCheckInputs = [ pytest-cov pytest-xdist pytestCheckHook ]; pythonImportsCheck = [ "autograd" ]; meta = with lib; { meta = { description = "Compute derivatives of NumPy code efficiently"; homepage = "https://github.com/HIPS/autograd"; changelog = "https://github.com/HIPS/autograd/releases/tag/v${version}"; license = licenses.mit; maintainers = with maintainers; [ jluttine ]; license = lib.licenses.mit; maintainers = with lib.maintainers; [ jluttine ]; }; }
pkgs/development/python-modules/hyppo/default.nix +23 −12 Original line number Diff line number Diff line { lib, autograd, buildPythonPackage, fetchFromGitHub, # build-system setuptools, # dependencies autograd, future, matplotlib, numba, numpy, pytestCheckHook, pythonOlder, pandas, patsy, scikit-learn, scipy, statsmodels, # tests matplotlib, pytest-xdist, pytestCheckHook, seaborn, setuptools, }: buildPythonPackage rec { pname = "hyppo"; version = "0.5.1"; version = "0.5.2"; pyproject = true; disabled = pythonOlder "3.8"; src = fetchFromGitHub { owner = "neurodata"; repo = "hyppo"; tag = "v${version}"; hash = "sha256-bYxqYSOOifQE3gbw8vNk/A13D5TPx7ERSgFvRHMXKGM="; hash = "sha256-7Y+UhneIGwqjsPCnGAQWF/l4r1gFbYs3fdHhV46ZBjA="; }; # some of the doctests (4/21) are broken, e.g. unbound variables, nondeterministic with insufficient tolerance, etc. Loading @@ -42,11 +49,15 @@ buildPythonPackage rec { future numba numpy pandas patsy scikit-learn scipy statsmodels ]; nativeCheckInputs = [ pytest-xdist pytestCheckHook matplotlib seaborn Loading @@ -55,11 +66,11 @@ buildPythonPackage rec { "hyppo" ]; meta = with lib; { meta = { homepage = "https://github.com/neurodata/hyppo"; description = "Python package for multivariate hypothesis testing"; changelog = "https://github.com/neurodata/hyppo/releases/tag/v${version}"; license = licenses.mit; maintainers = with maintainers; [ bcdarwin ]; license = lib.licenses.mit; maintainers = with lib.maintainers; [ bcdarwin ]; }; }