harePackages.hare: 2022-07-30 -> 2023-02-10

This commit is contained in:
Anderson Torres 2023-02-09 23:50:44 -03:00
parent 4c4ce6a068
commit ad966da347
3 changed files with 31 additions and 9 deletions

View File

@ -25,3 +25,20 @@ SCDOC = scdoc
# Where to store build artifacts
# set HARECACHE externally
# Cross-compiler toolchains
# # TODO: fixup this
AARCH64_AS=aarch64-as
AARCH64_AR=aarch64-ar
AARCH64_CC=aarch64-cc
AARCH64_LD=aarch64-ld
RISCV64_AS=riscv64-as
RISCV64_AR=riscv64-ar
RISCV64_CC=riscv64-cc
RISCV64_LD=riscv64-ld
X86_64_AS=as
X86_64_AR=ar
X86_64_CC=cc
X86_64_LD=ld

View File

@ -2,25 +2,30 @@
, stdenv
, fetchFromSourcehut
, binutils-unwrapped
, harec
, harePackages
, makeWrapper
, qbe
, scdoc
, substituteAll
}:
stdenv.mkDerivation (finalAttrs: {
let
inherit (harePackages) harec;
in
stdenv.mkDerivation (self: {
pname = "hare";
version = "unstable-2022-07-30";
version = "unstable-2023-02-10";
src = fetchFromSourcehut {
owner = "~sircmpwn";
repo = "hare";
rev = "296925c91d79362d6b8ac94e0336a38e9af0f1c9";
hash = "sha256-LeIUnpTMZ6vxgAy/LPm9/IMit41RgezdVESIv+gQFHc=";
rev = "52b3f2d0c7a85e04a79666a954101e527b7f1272";
hash = "sha256-/zP8LbZ113Ar06MZF1zP20LKMGko+4HcOXSntLVAQAU=";
};
patches = [ ./disable-failing-test-cases.patch ];
patches = [
./000-disable-failing-test-cases.diff
];
nativeBuildInputs = [
binutils-unwrapped
@ -86,12 +91,12 @@ stdenv.mkDerivation (finalAttrs: {
setupHook = ./setup-hook.sh;
meta = with lib; {
meta = {
homepage = "http://harelang.org/";
description =
"A systems programming language designed to be simple, stable, and robust";
license = licenses.gpl3Only;
maintainers = with maintainers; [ AndersonTorres ];
license = lib.licenses.gpl3Only;
maintainers = [ lib.maintainers.AndersonTorres ];
inherit (harec.meta) platforms badPlatforms;
};
})