Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
777 B · 38 lines
Nix
123456789101112131415161718192021222324252627282930313233343536373839{ lib, stdenv, fetchCrate, rustPlatform, openssl, pkg-config, libiconv,}:
rustPlatform.buildRustPackage rec { pname = "duckscript_cli"; version = "0.11.1";
src = fetchCrate { inherit pname version; hash = "sha256-afxzZkmmYnprUBquH681VHMDs3Co9C71chNoKbu6lEY="; };
nativeBuildInputs = [ pkg-config ];
buildInputs = [ openssl ] ++ lib.optionals stdenv.hostPlatform.isDarwin [ libiconv ];
cargoHash = "sha256-ft6EUajAj+Zw3cEhdajwwHAaMaUf+/vtTuUYni8E+o0=";
meta = with lib; { description = "Simple, extendable and embeddable scripting language"; homepage = "https://github.com/sagiegurari/duckscript"; license = licenses.asl20; maintainers = with maintainers; [ mkg20001 ]; mainProgram = "duck"; };}