Loading pkgs/development/python-modules/spectra/default.nix 0 → 100644 +49 −0 Original line number Diff line number Diff line { buildPythonPackage, colormath, fetchFromGitHub, fetchpatch2, lib, pytestCheckHook, setuptools, }: buildPythonPackage rec { pname = "spectra"; version = "0.0.11"; pyproject = true; src = fetchFromGitHub { owner = "jsvine"; repo = "spectra"; tag = "v${version}"; hash = "sha256-4A2TWTxYqckJ3DX5cd2KN3KXcmO/lQdXmOEnGi76RsA="; }; patches = [ # https://github.com/jsvine/spectra/pull/21 (fetchpatch2 { name = "nose-to-pytest.patch"; url = "https://github.com/jsvine/spectra/commit/50037aba16dac4bf0fb7ffbd787d0e6b906e8a4b.patch"; hash = "sha256-cMoIbjRwcZjvhiIOcJR7NmIAOaqpr/e5eh9+sPGKqos="; excludes = [ ".github/*" ]; }) ]; build-system = [ setuptools ]; propagatedBuildInputs = [ colormath ]; nativeCheckInputs = [ pytestCheckHook ]; meta = { description = "Python library that makes color math, color scales, and color-space conversion easy"; homepage = "https://github.com/jsvine/spectra"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ apraga ]; }; } pkgs/top-level/python-packages.nix +2 −0 Original line number Diff line number Diff line Loading @@ -15158,6 +15158,8 @@ self: super: with self; { speaklater3 = callPackage ../development/python-modules/speaklater3 { }; spectra = callPackage ../development/python-modules/spectra { }; spectral-cube = callPackage ../development/python-modules/spectral-cube { }; speechbrain = callPackage ../development/python-modules/speechbrain { }; Loading
pkgs/development/python-modules/spectra/default.nix 0 → 100644 +49 −0 Original line number Diff line number Diff line { buildPythonPackage, colormath, fetchFromGitHub, fetchpatch2, lib, pytestCheckHook, setuptools, }: buildPythonPackage rec { pname = "spectra"; version = "0.0.11"; pyproject = true; src = fetchFromGitHub { owner = "jsvine"; repo = "spectra"; tag = "v${version}"; hash = "sha256-4A2TWTxYqckJ3DX5cd2KN3KXcmO/lQdXmOEnGi76RsA="; }; patches = [ # https://github.com/jsvine/spectra/pull/21 (fetchpatch2 { name = "nose-to-pytest.patch"; url = "https://github.com/jsvine/spectra/commit/50037aba16dac4bf0fb7ffbd787d0e6b906e8a4b.patch"; hash = "sha256-cMoIbjRwcZjvhiIOcJR7NmIAOaqpr/e5eh9+sPGKqos="; excludes = [ ".github/*" ]; }) ]; build-system = [ setuptools ]; propagatedBuildInputs = [ colormath ]; nativeCheckInputs = [ pytestCheckHook ]; meta = { description = "Python library that makes color math, color scales, and color-space conversion easy"; homepage = "https://github.com/jsvine/spectra"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ apraga ]; }; }
pkgs/top-level/python-packages.nix +2 −0 Original line number Diff line number Diff line Loading @@ -15158,6 +15158,8 @@ self: super: with self; { speaklater3 = callPackage ../development/python-modules/speaklater3 { }; spectra = callPackage ../development/python-modules/spectra { }; spectral-cube = callPackage ../development/python-modules/spectral-cube { }; speechbrain = callPackage ../development/python-modules/speechbrain { };