From d72ba3426593302b09f1c84a43cc3a65994d8145 Mon Sep 17 00:00:00 2001 From: Gabriel Arazas Date: Sat, 20 Aug 2022 13:02:19 +0800 Subject: [PATCH] python-material-color-utilities: init at 0.1.3 --- pkgs/default.nix | 1 + .../default.nix | 20 +++++++++++++++++++ 2 files changed, 21 insertions(+) create mode 100644 pkgs/python-material-color-utilities/default.nix diff --git a/pkgs/default.nix b/pkgs/default.nix index b8c1377e..4d68870f 100644 --- a/pkgs/default.nix +++ b/pkgs/default.nix @@ -54,6 +54,7 @@ let pop-launcher-plugin-duckduckgo-bangs = callPackage ./pop-launcher-plugin-duckduckgo-bangs.nix { }; pop-launcher-plugin-jetbrains = callPackage ./pop-launcher-plugin-jetbrains { }; + python-material-color-utilities = callPackage ./python-material-color-utilities { }; swh = callPackage ./software-heritage { python3Packages = python310Packages; }; text-engine = callPackage ./text-engine.nix { }; tic-80 = callPackage ./tic-80 { }; diff --git a/pkgs/python-material-color-utilities/default.nix b/pkgs/python-material-color-utilities/default.nix new file mode 100644 index 00000000..9b1c6990 --- /dev/null +++ b/pkgs/python-material-color-utilities/default.nix @@ -0,0 +1,20 @@ +{ stdenv, lib, python3Packages, ... }: + +python3Packages.buildPythonApplication rec { + pname = "material-color-utilities-python"; + version = "0.1.3"; + + src = python3Packages.fetchPypi { + inherit pname version; + sha256 = "sha256-3AWZICW0Cr/hCjjBpW/ZCyASG+sRR9eK3mwEa1JeZRY="; + }; + + propagatedBuildInputs = with python3Packages; [ + pillow + regex + ]; + + meta = with lib; { + description = "Python port of material-color-utilities used for Material You colors"; + }; +}