blob: d739ed720ef04d65591b8704d89a542e220c7af2 (
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
27
28
29
30
31
32
33
34
|
{ lib
, rustPlatform
, fetchFromGitHub
, stdenv
, darwin
}:
rustPlatform.buildRustPackage rec {
pname = "matugen";
version = "2.2.0";
src = fetchFromGitHub {
owner = "InioX";
repo = "matugen";
rev = "v${version}";
hash = "sha256-4VX7Rt+ftEH8nwg59eT7TsvHYUf8/euUmwh/JLc4rLc=";
};
cargoHash = "sha256-axBdOzCUwseV2ltgarmIS3IOYLX3q3rXeA2y6y7aNFI=";
buildInputs = lib.optionals stdenv.isDarwin [
darwin.apple_sdk.frameworks.Security
darwin.apple_sdk.frameworks.SystemConfiguration
];
meta = with lib; {
description = "A material you color generation tool";
homepage = "https://github.com/InioX/matugen";
changelog = "https://github.com/InioX/matugen/blob/${src.rev}/CHANGELOG.md";
license = licenses.gpl2Only;
maintainers = with maintainers; [ lampros ];
mainProgram = "matugen";
};
}
|