mint: 0.15.1 -> 0.15.3

This commit is contained in:
R. Ryantm 2022-02-27 02:48:35 +00:00 committed by Weijia Wang
parent 9c70e73116
commit c2b81a51b3

View File

@ -1,20 +1,16 @@
{ lib, fetchFromGitHub, crystal, openssl }:
crystal.buildCrystalPackage rec {
version = "0.15.1";
version = "0.15.3";
pname = "mint";
src = fetchFromGitHub {
owner = "mint-lang";
repo = "mint";
rev = version;
sha256 = "sha256-naiZ51B5TBc88wH4Y7WcrkdFnZosEVCS5MlLAGVe8/E=";
hash = "sha256-VjQ736RWP9HK0QFKbgchnEPYH/Ny2w8SI/xnO3m94B8=";
};
postPatch = ''
export HOME=$TMP
'';
format = "shards";
# Update with
@ -24,12 +20,15 @@ crystal.buildCrystalPackage rec {
buildInputs = [ openssl ];
preConfigure = ''
export HOME=$(mktemp -d)
'';
meta = with lib; {
description = "A refreshing language for the front-end web";
homepage = "https://mint-lang.com/";
homepage = "https://www.mint-lang.com/";
license = licenses.bsd3;
maintainers = with maintainers; [ manveru ];
platforms = [ "x86_64-linux" "i686-linux" "x86_64-darwin" ];
broken = lib.versionOlder crystal.version "1.0";
};
}