Loading pkgs/development/python-modules/fastcan/default.nix 0 → 100644 +64 −0 Original line number Diff line number Diff line { lib, buildPythonPackage, fetchFromGitHub, # build-system cython, meson-python, numpy, setuptools, # nativeBuildInputs pkg-config, # dependencies scikit-learn, # tests pytestCheckHook, }: buildPythonPackage rec { pname = "fastcan"; version = "0.5.0"; pyproject = true; src = fetchFromGitHub { owner = "scikit-learn-contrib"; repo = "fastcan"; tag = "v${version}"; hash = "sha256-1ncdzBMJYEwTkpLXS64g+SaEbsiYslX7zN4xbGjUsAA="; }; build-system = [ cython meson-python numpy setuptools ]; nativeBuildInputs = [ pkg-config ]; dependencies = [ scikit-learn ]; # Prevent pytest from importing the required python modules from the source instead of $out preCheck = '' rm -f fastcan/__init__.py echo "" > fastcan/narx/__init__.py ''; nativeCheckInputs = [ pytestCheckHook ]; pythonImportsCheck = [ "fastcan" ]; meta = { description = "Library for fast canonical-correlation-based search algorithm"; homepage = "https://github.com/scikit-learn-contrib/fastcan"; changelog = "https://github.com/scikit-learn-contrib/fastcan/releases/tag/${src.tag}"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ daspk04 ]; }; } pkgs/top-level/python-packages.nix +2 −0 Original line number Diff line number Diff line Loading @@ -5236,6 +5236,8 @@ self: super: with self; { fastcache = callPackage ../development/python-modules/fastcache { }; fastcan = callPackage ../development/python-modules/fastcan { }; fastcore = callPackage ../development/python-modules/fastcore { }; fastcrc = callPackage ../development/python-modules/fastcrc { }; Loading Loading
pkgs/development/python-modules/fastcan/default.nix 0 → 100644 +64 −0 Original line number Diff line number Diff line { lib, buildPythonPackage, fetchFromGitHub, # build-system cython, meson-python, numpy, setuptools, # nativeBuildInputs pkg-config, # dependencies scikit-learn, # tests pytestCheckHook, }: buildPythonPackage rec { pname = "fastcan"; version = "0.5.0"; pyproject = true; src = fetchFromGitHub { owner = "scikit-learn-contrib"; repo = "fastcan"; tag = "v${version}"; hash = "sha256-1ncdzBMJYEwTkpLXS64g+SaEbsiYslX7zN4xbGjUsAA="; }; build-system = [ cython meson-python numpy setuptools ]; nativeBuildInputs = [ pkg-config ]; dependencies = [ scikit-learn ]; # Prevent pytest from importing the required python modules from the source instead of $out preCheck = '' rm -f fastcan/__init__.py echo "" > fastcan/narx/__init__.py ''; nativeCheckInputs = [ pytestCheckHook ]; pythonImportsCheck = [ "fastcan" ]; meta = { description = "Library for fast canonical-correlation-based search algorithm"; homepage = "https://github.com/scikit-learn-contrib/fastcan"; changelog = "https://github.com/scikit-learn-contrib/fastcan/releases/tag/${src.tag}"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ daspk04 ]; }; }
pkgs/top-level/python-packages.nix +2 −0 Original line number Diff line number Diff line Loading @@ -5236,6 +5236,8 @@ self: super: with self; { fastcache = callPackage ../development/python-modules/fastcache { }; fastcan = callPackage ../development/python-modules/fastcan { }; fastcore = callPackage ../development/python-modules/fastcore { }; fastcrc = callPackage ../development/python-modules/fastcrc { }; Loading