Loading pkgs/development/python-modules/colormath2/default.nix 0 → 100644 +41 −0 Original line number Diff line number Diff line { lib, buildPythonPackage, fetchFromGitHub, setuptools, networkx, numpy, pytestCheckHook, }: buildPythonPackage rec { pname = "colormath2"; version = "3.0.3"; pyproject = true; src = fetchFromGitHub { owner = "bkmgit"; repo = "python-colormath2"; tag = version; hash = "sha256-G8b0L8A2RzbVQFPNg2fuBklqTNjo3yqvek/+GnqtsHc="; }; build-system = [ setuptools ]; dependencies = [ networkx numpy ]; nativeCheckInputs = [ pytestCheckHook ]; pythonImportsCheck = [ "colormath2" ]; meta = { description = "Color math and conversion library (fork)"; homepage = "https://github.com/bkmgit/python-colormath2"; changelog = "https://github.com/bkmgit/python-colormath2/releases/tag/${version}"; license = lib.licenses.bsd3; maintainers = with lib.maintainers; [ apraga ]; }; } pkgs/development/python-modules/spectra/default.nix +6 −17 Original line number Diff line number Diff line { lib, buildPythonPackage, colormath, fetchFromGitHub, fetchpatch2, lib, pytestCheckHook, setuptools, colormath2, pytestCheckHook, }: buildPythonPackage rec { pname = "spectra"; version = "0.0.11"; version = "0.1.0"; pyproject = true; src = fetchFromGitHub { owner = "jsvine"; repo = "spectra"; tag = "v${version}"; hash = "sha256-4A2TWTxYqckJ3DX5cd2KN3KXcmO/lQdXmOEnGi76RsA="; hash = "sha256-PS5p9IR3v6+Up5Fcq8mhkprVgXigD6PZUF4/6hbv7NI="; }; 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 ]; dependencies = [ colormath2 ]; nativeCheckInputs = [ pytestCheckHook Loading pkgs/top-level/python-packages.nix +2 −0 Original line number Diff line number Diff line Loading @@ -2568,6 +2568,8 @@ self: super: with self; { colormath = callPackage ../development/python-modules/colormath { }; colormath2 = callPackage ../development/python-modules/colormath2 { }; colorspacious = callPackage ../development/python-modules/colorspacious { }; colorthief = callPackage ../development/python-modules/colorthief { }; Loading Loading
pkgs/development/python-modules/colormath2/default.nix 0 → 100644 +41 −0 Original line number Diff line number Diff line { lib, buildPythonPackage, fetchFromGitHub, setuptools, networkx, numpy, pytestCheckHook, }: buildPythonPackage rec { pname = "colormath2"; version = "3.0.3"; pyproject = true; src = fetchFromGitHub { owner = "bkmgit"; repo = "python-colormath2"; tag = version; hash = "sha256-G8b0L8A2RzbVQFPNg2fuBklqTNjo3yqvek/+GnqtsHc="; }; build-system = [ setuptools ]; dependencies = [ networkx numpy ]; nativeCheckInputs = [ pytestCheckHook ]; pythonImportsCheck = [ "colormath2" ]; meta = { description = "Color math and conversion library (fork)"; homepage = "https://github.com/bkmgit/python-colormath2"; changelog = "https://github.com/bkmgit/python-colormath2/releases/tag/${version}"; license = lib.licenses.bsd3; maintainers = with lib.maintainers; [ apraga ]; }; }
pkgs/development/python-modules/spectra/default.nix +6 −17 Original line number Diff line number Diff line { lib, buildPythonPackage, colormath, fetchFromGitHub, fetchpatch2, lib, pytestCheckHook, setuptools, colormath2, pytestCheckHook, }: buildPythonPackage rec { pname = "spectra"; version = "0.0.11"; version = "0.1.0"; pyproject = true; src = fetchFromGitHub { owner = "jsvine"; repo = "spectra"; tag = "v${version}"; hash = "sha256-4A2TWTxYqckJ3DX5cd2KN3KXcmO/lQdXmOEnGi76RsA="; hash = "sha256-PS5p9IR3v6+Up5Fcq8mhkprVgXigD6PZUF4/6hbv7NI="; }; 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 ]; dependencies = [ colormath2 ]; nativeCheckInputs = [ pytestCheckHook Loading
pkgs/top-level/python-packages.nix +2 −0 Original line number Diff line number Diff line Loading @@ -2568,6 +2568,8 @@ self: super: with self; { colormath = callPackage ../development/python-modules/colormath { }; colormath2 = callPackage ../development/python-modules/colormath2 { }; colorspacious = callPackage ../development/python-modules/colorspacious { }; colorthief = callPackage ../development/python-modules/colorthief { }; Loading