blob: 411021f9593eef01b9a8de1cf44771a0fbd696dd (
plain) (
blame)
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
|
{ lib
, rustPlatform
, fetchFromGitHub
}:
rustPlatform.buildRustPackage rec {
pname = "okolors";
version = "0.8.0";
src = fetchFromGitHub {
owner = "Ivordir";
repo = "Okolors";
rev = "v${version}";
sha256 = "sha256-U7rLynXZGHCeZjaXoXx2IRDgUFv7zOKfb4BPgDROzBc=";
};
cargoHash = "sha256-xRCxpmIocvkg1ErYVqBLHb/jXV2eWeWHg4IO/QsnnF0=";
meta = with lib; {
description = "Generate a color palette from an image using k-means clustering in the Oklab color space";
homepage = "https://github.com/Ivordir/Okolors";
license = licenses.mit;
maintainers = with maintainers; [ laurent-f1z1 ];
mainProgram = "okolors";
};
}
|