matugen: 2.3.0 -> 2.4.0 (#353507)

This commit is contained in:
Nick Cao
2024-11-08 16:11:58 -05:00
committed by GitHub
+11 -17
View File
@@ -1,34 +1,28 @@
{ lib
, rustPlatform
, fetchFromGitHub
, stdenv
, darwin
{
lib,
rustPlatform,
fetchFromGitHub,
}:
rustPlatform.buildRustPackage rec {
pname = "matugen";
version = "2.3.0";
version = "2.4.0";
src = fetchFromGitHub {
owner = "InioX";
repo = "matugen";
rev = "v${version}";
hash = "sha256-WFitpFF1Ah4HkzSe4H4aN/ZM0EEIcP5ozLMUWaDggFU=";
rev = "refs/tags/v${version}";
hash = "sha256-SN4m0ka5VHLIQYTszhlCIB+2D+nyWMzJM5n5bZdkG/I=";
};
cargoHash = "sha256-pD1NKUJmvMTnYKWjRrGnvbA0zVvGpWRIlf/9ovP9Jq4=";
cargoHash = "sha256-FwQhhwlldDskDzmIOxhwRuUv8NxXCxd3ZmOwqcuWz64=";
buildInputs = lib.optionals stdenv.hostPlatform.isDarwin [
darwin.apple_sdk.frameworks.Security
darwin.apple_sdk.frameworks.SystemConfiguration
];
meta = with lib; {
meta = {
description = "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 ];
license = lib.licenses.gpl2Only;
maintainers = with lib.maintainers; [ lampros ];
mainProgram = "matugen";
};
}