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