Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 80223b04c827
Choose a base ref
...
head repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: e4134747f566
Choose a head ref
  • 1 commit
  • 2 files changed
  • 1 contributor

Commits on Jan 9, 2020

  1. pythonPackages.colormath: init at 3.0.0

    JonathanReeve authored and Jon committed Jan 9, 2020
    Copy the full SHA
    e413474 View commit details
Showing with 34 additions and 0 deletions.
  1. +32 −0 pkgs/development/python-modules/colormath/default.nix
  2. +2 −0 pkgs/top-level/python-packages.nix
32 changes: 32 additions & 0 deletions pkgs/development/python-modules/colormath/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
{ buildPythonPackage
, fetchFromGitHub
, networkx
, nose
, numpy
, lib
, pytest
}:

buildPythonPackage rec {
pname = "colormath";
version = "3.0.0";

src = fetchFromGitHub {
owner = "gtaylor";
rev = "3.0.0";
repo = "python-colormath";
sha256 = "1nqf5wy8ikx2g684khzvjc4iagkslmbsxxwilbv4jpaznr9lahdl";
};

propagatedBuildInputs = [ networkx numpy ];

checkInputs = [ nose ];
checkPhase = "nosetests";

meta = with lib; {
description = "Color math and conversion library";
homepage = "https://github.com/gtaylor/python-colormath";
license = licenses.bsd2;
maintainers = with maintainers; [ jonathanreeve ];
};
}
2 changes: 2 additions & 0 deletions pkgs/top-level/python-packages.nix
Original file line number Diff line number Diff line change
@@ -1806,6 +1806,8 @@ in {

colour = callPackage ../development/python-modules/colour {};

colormath = callPackage ../development/python-modules/colormath {};

configshell = callPackage ../development/python-modules/configshell { };

consonance = callPackage ../development/python-modules/consonance { };