blob: 4c77a77bd0d1abc28e24f7da6f2e6c0d5171a365 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
|
{ lib
, stdenv
, fetchFromSourcehut
, qbe
}:
stdenv.mkDerivation rec {
pname = "harec";
version = "unstable-2022-06-20";
src = fetchFromSourcehut {
name = pname + "-src";
owner = "~sircmpwn";
repo = pname;
rev = "2eccbc4b959a590dda91143c8487edda841106d9";
hash = "sha256-pwy7cNxAqIbhx9kpcjfgk7sCEns9oA6zhKSQJdHLZCM=";
};
nativeBuildInputs = [
qbe
];
buildInputs = [
qbe
];
# TODO: report upstream
hardeningDisable = [ "fortify" ];
strictDeps = true;
doCheck = true;
meta = with lib; {
homepage = "http://harelang.org/";
description = "Bootstrapping Hare compiler written in C for POSIX systems";
license = licenses.gpl3Only;
maintainers = with maintainers; [ AndersonTorres ];
# The upstream developers do not like proprietary operating systems; see
# https://harelang.org/platforms/
platforms = with platforms;
lib.intersectLists (freebsd ++ linux) (aarch64 ++ x86_64 ++ riscv64);
badPlatforms = with platforms; darwin;
};
}
|