at 23.11-beta 831 B view raw
1{ lib 2, stdenv 3, fetchurl 4, runCommand 5, fetchCrate 6, rustPlatform 7, Security 8, openssl 9, pkg-config 10, SystemConfiguration 11, libiconv 12}: 13 14rustPlatform.buildRustPackage rec { 15 pname = "duckscript_cli"; 16 version = "0.9.1"; 17 18 src = fetchCrate { 19 inherit pname version; 20 hash = "sha256-jpAZpx8VooYapSLApWWMLTj7c3wqw/S1w1zHN3OGzMs="; 21 }; 22 23 nativeBuildInputs = [ pkg-config ]; 24 25 buildInputs = [ openssl ] 26 ++ lib.optionals stdenv.isDarwin [ Security SystemConfiguration libiconv ]; 27 28 cargoHash = "sha256-n40V75yIuSC1abq4/cYFqj9JqGj/uJ36ZSz8APovE6o="; 29 30 meta = with lib; { 31 description = "Simple, extendable and embeddable scripting language."; 32 homepage = "https://github.com/sagiegurari/duckscript"; 33 license = licenses.asl20; 34 maintainers = with maintainers; [ mkg20001 ]; 35 mainProgram = "duck"; 36 }; 37}