commit
7dd33e19c4
1 changed files with 5 additions and 3 deletions
|
@ -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;
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue