harec: init at 0.pre+date=2022-04-26

This commit is contained in:
AndersonTorres 2022-04-25 23:32:31 -03:00
parent b9387eced5
commit 9ded9f1100
2 changed files with 47 additions and 0 deletions

View file

@ -0,0 +1,45 @@
{ lib
, stdenv
, fetchFromSourcehut
, qbe
}:
stdenv.mkDerivation rec {
pname = "harec";
version = "0.pre+date=2022-04-26";
src = fetchFromSourcehut {
name = pname + "-src";
owner = "~sircmpwn";
repo = pname;
rev = "e5fb5176ba629e98ace5fcb3aa427b2c25d8fdf0";
hash = "sha256-sqt3q6sarzrpyJ/1QYM1WTukrZpflAmAYq6pQwAwe18=";
};
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;
};
}

View file

@ -6799,6 +6799,8 @@ with pkgs;
llvmPackages = llvmPackages_9;
};
harec = callPackage ../development/compilers/hare/harec.nix { };
ham = pkgs.perlPackages.ham;
hardinfo = callPackage ../tools/system/hardinfo { };