10 rustPlatform.buildRustPackage rec {
14 src = fetchFromGitHub {
18 hash = "sha256-3gLVsk6GCxOG24Md7E9fk28Vnc4kVDdwyZUD/GtSwFE=";
21 cargoHash = "sha256-6lnURuE1cgNAniHl5ozXo1W3cLYYje7er+ZhvZDKdVg=";
23 nativeBuildInputs = [ pkg-config openssl ];
27 ] ++ lib.optionals stdenv.hostPlatform.isDarwin [ darwin.apple_sdk.frameworks.SystemConfiguration ];
31 ln -s ${passthru.ui} "ui/public"
34 OPENSSL_NO_VENDOR = 1;
36 passthru.ui = buildNpmPackage {
39 npmDepsHash = "sha256-uMyOAYLVHhY4ytvEFvVzdoQ7ExzQ4sH+ZtDrEacu5bk=";
40 makeCacheWritable = true;
41 npmFlags = [ "--legacy-peer-deps" ];
50 changelog = "https://github.com/cooklang/cookcli/releases/tag/v${version}";
51 description = "Suite of tools to create shopping lists and maintain recipes";
52 homepage = "https://cooklang.org/";
53 license = [ licenses.mit ];
55 maintainers = [ maintainers.emilioziniades ];
56 platforms = platforms.linux ++ platforms.darwin;