Merge pull request #243070 from figsoda/erg

erg: 0.6.15 -> 0.6.16
This commit is contained in:
Weijia Wang 2023-07-12 17:04:56 +03:00 committed by GitHub
commit 7dd33e19c4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -4,20 +4,21 @@
, makeWrapper
, python3
, which
, stdenv
}:
rustPlatform.buildRustPackage rec {
pname = "erg";
version = "0.6.15";
version = "0.6.16";
src = fetchFromGitHub {
owner = "erg-lang";
repo = "erg";
rev = "v${version}";
hash = "sha256-nADppxyIwvugnMR4d99NhK5wrhuShdKYgBu49dRPxtQ=";
hash = "sha256-HBi9QDSrAkBORswoNXDGZaABQYFDQGC8WKdzhk4KKhw=";
};
cargoHash = "sha256-El90KhNf+UrEIE3xlJwTRgCWsXiDIrBHHnPWdvWvoG8=";
cargoHash = "sha256-YQYyH+iypORcAEyVhHqYw0aHi1QtCgNuwyg/SnmGVIE=";
nativeBuildInputs = [
makeWrapper
@ -29,6 +30,7 @@ rustPlatform.buildRustPackage rec {
env = {
BUILD_DATE = "1970/01/01 00:00:00";
CASE_SENSITIVE = lib.boolToString (!stdenv.isDarwin);
GIT_HASH_SHORT = src.rev;
};