11 rustPlatform.buildRustPackage rec {
15 src = fetchFromGitHub {
19 hash = "sha256-3gLVsk6GCxOG24Md7E9fk28Vnc4kVDdwyZUD/GtSwFE=";
22 cargoHash = "sha256-6lnURuE1cgNAniHl5ozXo1W3cLYYje7er+ZhvZDKdVg=";
31 ] ++ lib.optionals stdenv.hostPlatform.isDarwin [ darwin.apple_sdk.frameworks.SystemConfiguration ];
35 ln -s ${passthru.ui} "ui/public"
38 OPENSSL_NO_VENDOR = 1;
40 passthru.ui = buildNpmPackage {
43 npmDepsHash = "sha256-uMyOAYLVHhY4ytvEFvVzdoQ7ExzQ4sH+ZtDrEacu5bk=";
44 makeCacheWritable = true;
45 npmFlags = [ "--legacy-peer-deps" ];
54 changelog = "https://github.com/cooklang/cookcli/releases/tag/v${version}";
55 description = "Suite of tools to create shopping lists and maintain recipes";
56 homepage = "https://cooklang.org/";
57 license = [ licenses.mit ];
59 maintainers = [ maintainers.emilioziniades ];
60 platforms = platforms.linux ++ platforms.darwin;