From 7487510d04e025da4bbf0e7eb81ee885d9662a46 Mon Sep 17 00:00:00 2001 From: Assassinkin Date: Wed, 11 Jul 2018 18:21:31 +0100 Subject: [PATCH] pythonPackages.palettable:init at 3.1.1 --- .../python-modules/palettable/default.nix | 25 +++++++++++++++++++ pkgs/top-level/python-packages.nix | 2 ++ 2 files changed, 27 insertions(+) create mode 100644 pkgs/development/python-modules/palettable/default.nix diff --git a/pkgs/development/python-modules/palettable/default.nix b/pkgs/development/python-modules/palettable/default.nix new file mode 100644 index 000000000000..6b2113352b46 --- /dev/null +++ b/pkgs/development/python-modules/palettable/default.nix @@ -0,0 +1,25 @@ +{ stdenv, buildPythonPackage, fetchPypi, pytest }: + +buildPythonPackage rec { + pname = "palettable"; + version = "3.1.1"; + + src = fetchPypi { + inherit pname version; + sha256 = "0685b223a236bb7e2a900ef7a855ccf9a4027361c8acf400f3b350ea51870f80"; + }; + + checkInputs = [ pytest ]; + + checkPhase = '' + pytest + ''; + + meta = with stdenv.lib; { + description = "A library of color palettes"; + homepage = https://jiffyclub.github.io/palettable/; + license = licenses.mit; + maintainers = with maintainers; [ psyanticy ]; + }; +} + diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 30bdeebc755b..2210ee37f073 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -340,6 +340,8 @@ in { outcome = callPackage ../development/python-modules/outcome {}; + palettable = callPackage ../development/python-modules/palettable { }; + pdf2image = callPackage ../development/python-modules/pdf2image { }; pdfminer = callPackage ../development/python-modules/pdfminer_six { };