duckscript: init at 0.8.10

This commit is contained in:
Maciej Krüger 2022-02-19 20:26:30 +01:00
parent 1495ce56ba
commit b39b297b20
No known key found for this signature in database
GPG key ID: 0D948CE19CF49C5F
2 changed files with 40 additions and 0 deletions

View file

@ -0,0 +1,36 @@
{ lib
, stdenv
, fetchurl
, runCommand
, fetchCrate
, rustPlatform
, Security
, openssl
, pkg-config
, SystemConfiguration
, libiconv
}:
rustPlatform.buildRustPackage rec {
pname = "duckscript_cli";
version = "0.8.10";
src = fetchCrate {
inherit pname version;
sha256 = "sha256-cMvcCX8ViCcUFMuxAPo3/wxXvg5swAcBrLx1x7lSwvM=";
};
nativeBuildInputs = [ pkg-config ];
buildInputs = [ openssl ]
++ lib.optionals stdenv.isDarwin [ Security SystemConfiguration libiconv ];
cargoSha256 = "sha256-8ywMLXFmdq119K/hl1hpsVhzG+nrdO4eux3lAqUjB+A=";
meta = with lib; {
description = "Simple, extendable and embeddable scripting language.";
homepage = "https://github.com/sagiegurari/duckscript";
license = licenses.asl20;
maintainers = with maintainers; [ mkg20001 ];
};
}

View file

@ -13606,6 +13606,10 @@ with pkgs;
duktape = callPackage ../development/interpreters/duktape { };
duckscript = callPackage ../development/tools/rust/duckscript {
inherit (darwin.apple_sdk.frameworks) Security SystemConfiguration;
};
evcxr = callPackage ../development/interpreters/evcxr {
inherit (darwin.apple_sdk.frameworks) CoreServices Security;
};