gren: 0.6.1 -> 0.6.2 (#431013)
This commit is contained in:
commit
74ccf78014
@ -29,11 +29,11 @@
|
||||
}:
|
||||
mkDerivation {
|
||||
pname = "gren";
|
||||
version = "0.6.1";
|
||||
version = "0.6.2";
|
||||
src = fetchgit {
|
||||
url = "https://github.com/gren-lang/compiler.git";
|
||||
sha256 = "0h7mm3y62l3j190sd25db4bifp65xmyc4rc16jhyphp6yzyjcpcl";
|
||||
rev = "b54f0343c8015c777e4fbb74e843181e6f3cb214";
|
||||
sha256 = "1c0fcdc87nmm26hk6c1k4djdk7ld9488fldx8mhwayqfsx0v2d3x";
|
||||
rev = "0343e77040f97864e5eb9790dd9ba0bb5fe1d6ee";
|
||||
fetchSubmodules = true;
|
||||
};
|
||||
isLibrary = false;
|
||||
|
||||
@ -11,13 +11,13 @@
|
||||
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "gren";
|
||||
version = "0.6.1";
|
||||
version = "0.6.2";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "gren-lang";
|
||||
repo = "compiler";
|
||||
tag = finalAttrs.version;
|
||||
hash = "sha256-lF0m/ffmwuuhNIFlwnztxVwXF1mtiKZBCnJQYfyo9UA=";
|
||||
hash = "sha256-fTSxQdcOe8VhRb1RhxBJjZ7ZZCMzMDOhEbXag1hjDrA=";
|
||||
};
|
||||
|
||||
buildInputs = [
|
||||
@ -41,6 +41,7 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
doInstallCheck = true;
|
||||
nativeInstallCheckInputs = [ versionCheckHook ];
|
||||
versionCheckProgram = "${placeholder "out"}/bin/gren";
|
||||
versionCheckProgramArg = "--version";
|
||||
@ -51,7 +52,7 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
};
|
||||
|
||||
meta = {
|
||||
description = "Compiler for the Gren programming language";
|
||||
description = "Programming language for simple and correct applications";
|
||||
homepage = "https://gren-lang.org";
|
||||
license = lib.licenses.bsd3;
|
||||
mainProgram = "gren";
|
||||
|
||||
@ -1,5 +1,5 @@
|
||||
#!/usr/bin/env nix-shell
|
||||
#!nix-shell -i bash -p cabal2nix curl jq nixfmt-rfc-style
|
||||
#!nix-shell -i bash -p cabal2nix curl jq nix-update nixfmt-rfc-style
|
||||
|
||||
set -euo pipefail
|
||||
|
||||
@ -22,3 +22,7 @@ cabal2nix 'https://github.com/gren-lang/compiler.git' --revision "${latest_versi
|
||||
nixfmt "${backend_derivation_file}"
|
||||
|
||||
echo 'Finished backend generation.'
|
||||
|
||||
echo "Updating frontend to version ${latest_version}"
|
||||
|
||||
nix-update gren --version "${latest_version}"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user