Alexis Praga b872d76484 python312Packages.spectra: 0.0.11 -> 0.1.0
Main change : colormath -> colormath2
2025-02-23 00:12:30 +01:00

39 lines
739 B
Nix

{
lib,
buildPythonPackage,
fetchFromGitHub,
setuptools,
colormath2,
pytestCheckHook,
}:
buildPythonPackage rec {
pname = "spectra";
version = "0.1.0";
pyproject = true;
src = fetchFromGitHub {
owner = "jsvine";
repo = "spectra";
tag = "v${version}";
hash = "sha256-PS5p9IR3v6+Up5Fcq8mhkprVgXigD6PZUF4/6hbv7NI=";
};
build-system = [
setuptools
];
dependencies = [ colormath2 ];
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 ];
};
}