blob: 8090bd49dd1f89ce1cf5360ebbb275df7f3758e5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
|
{
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 ];
};
}
|