mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-09-28 10:50:15 +00:00
cook-cli: 0.32.1 -> 0.33.0 (#551483)
This commit is contained in:
@@ -7,19 +7,20 @@
|
||||
pkg-config,
|
||||
openssl,
|
||||
nodejs,
|
||||
nix-update-script,
|
||||
}:
|
||||
rustPlatform.buildRustPackage (finalAttrs: {
|
||||
pname = "cook-cli";
|
||||
version = "0.32.1";
|
||||
version = "0.33.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "cooklang";
|
||||
repo = "cookcli";
|
||||
rev = "v${finalAttrs.version}";
|
||||
hash = "sha256-r6h7IHYvy3/3OS+6aueHj9ONXSYJ1K7gq7pcNTqN8wY=";
|
||||
hash = "sha256-8gJlXxdZJpXe/50wzN8fT/M5JscC/mIdE3a74e+S2as=";
|
||||
};
|
||||
|
||||
cargoHash = "sha256-agUqBXhLsjS1nVRwzuiUZomhcYdiXBLU1xX9xh8zN+c=";
|
||||
cargoHash = "sha256-fWD7rYPMdSJwsQ24o0cuZCqIggN+iXHAfRjx65YbXq8=";
|
||||
|
||||
# Build without the self-updating feature
|
||||
buildNoDefaultFeatures = true;
|
||||
@@ -39,7 +40,7 @@ rustPlatform.buildRustPackage (finalAttrs: {
|
||||
|
||||
npmDeps = fetchNpmDeps {
|
||||
inherit (finalAttrs) src;
|
||||
hash = "sha256-tBOBa2plgJ0dG5eDD9Yc9YS+Dh6rhBdqU6JiZUjTUY4=";
|
||||
hash = "sha256-HbuCSCgEz9FZsb5DJ37twFdxsuin0k4osqb8BP6XEI0=";
|
||||
};
|
||||
|
||||
preBuild = ''
|
||||
@@ -47,6 +48,8 @@ rustPlatform.buildRustPackage (finalAttrs: {
|
||||
npm run build-js
|
||||
'';
|
||||
|
||||
passthru.updateScript = nix-update-script { };
|
||||
|
||||
meta = {
|
||||
changelog = "https://github.com/cooklang/cookcli/releases/tag/v${finalAttrs.version}";
|
||||
description = "Suite of tools to create shopping lists and maintain recipes";
|
||||
@@ -56,6 +59,7 @@ rustPlatform.buildRustPackage (finalAttrs: {
|
||||
maintainers = [
|
||||
lib.maintainers.emilioziniades
|
||||
lib.maintainers.ginkogruen
|
||||
lib.maintainers.pinage404
|
||||
];
|
||||
platforms = lib.platforms.linux ++ lib.platforms.darwin;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user