figsoda 2023-07-12 08:39:01 -04:00
parent 4afa90a84f
commit 8f36da01d5

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;
};