Merge pull request #224879 from figsoda/rust-script

This commit is contained in:
figsoda 2023-04-06 15:41:43 -04:00 committed by GitHub
commit b2b9e98026
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -2,16 +2,16 @@
rustPlatform.buildRustPackage rec {
pname = "rust-script";
version = "0.23.0";
version = "0.24.0";
src = fetchFromGitHub {
owner = "fornwall";
repo = pname;
rev = version;
sha256 = "sha256-WfrIl3a4lQPZWYx1+cHmvlAKD5CVSRaOMoTpHjcO+I8=";
sha256 = "sha256-l6YGVfI9QSa+6x8M7cJ2rnFyzUbpuvMVJRXRhestLHs=";
};
cargoSha256 = "sha256-FQfSD4QwIDvwaGFRmunO3Zp5R2dKUCpucCvLQsXqsRo=";
cargoSha256 = "sha256-HgdAvBDsMzC19nckLI5f8XumJMH72H9YRIY3sjtmRco=";
# tests require network access
doCheck = false;
@ -19,6 +19,7 @@ rustPlatform.buildRustPackage rec {
meta = with lib; {
description = "Run Rust files and expressions as scripts without any setup or compilation step";
homepage = "https://rust-script.org";
changelog = "https://github.com/fornwall/rust-script/releases/tag/${version}";
license = with licenses; [ mit /* or */ asl20 ];
maintainers = with maintainers; [ figsoda ];
};