cook-cli: 0.10.0 -> 0.12.1

https://github.com/cooklang/cookcli/releases/tag/v0.12.1
This commit is contained in:
kilianar 2025-05-25 16:22:52 +02:00
parent ec33278c39
commit e32f07b6e1

View File

@ -8,17 +8,16 @@
}:
rustPlatform.buildRustPackage rec {
pname = "cook-cli";
version = "0.10.0";
version = "0.12.1";
src = fetchFromGitHub {
owner = "cooklang";
repo = "cookcli";
rev = "v${version}";
hash = "sha256-1m2+etJG+33fPTxBF8qT/U9WiZGcSn9r0WlK5PDL6/Q=";
hash = "sha256-2vY68PUoHDyyH3hJ/Fvjxbof7RzWFWYTg1UhsjWNpww=";
};
useFetchCargoVendor = true;
cargoHash = "sha256-3tWVCP80a6odmi9C0klLbfO5UmdFczyUY8KQSaMIyw4=";
cargoHash = "sha256-H4soSp9fDwrqcv3eL5WqGYHWAt07gyVLoEVp1VbYchQ=";
nativeBuildInputs = [
pkg-config
@ -39,7 +38,7 @@ rustPlatform.buildRustPackage rec {
passthru.ui = buildNpmPackage {
name = "ui";
src = "${src}/ui";
npmDepsHash = "sha256-uMyOAYLVHhY4ytvEFvVzdoQ7ExzQ4sH+ZtDrEacu5bk=";
npmDepsHash = "sha256-zx8G6Raop1EZAVy1YCF5ag5aL9NutRxbPfTARmjP2SY=";
makeCacheWritable = true;
npmFlags = [ "--legacy-peer-deps" ];
installPhase = ''
@ -49,13 +48,13 @@ rustPlatform.buildRustPackage rec {
'';
};
meta = with lib; {
meta = {
changelog = "https://github.com/cooklang/cookcli/releases/tag/v${version}";
description = "Suite of tools to create shopping lists and maintain recipes";
homepage = "https://cooklang.org/";
license = [ licenses.mit ];
license = lib.licenses.mit;
mainProgram = "cook";
maintainers = [ maintainers.emilioziniades ];
platforms = platforms.linux ++ platforms.darwin;
maintainers = [ lib.maintainers.emilioziniades ];
platforms = lib.platforms.linux ++ lib.platforms.darwin;
};
}