2021-01-22 11:25:31 +00:00
|
|
|
{ lib, stdenv
|
2020-10-19 17:58:45 +00:00
|
|
|
, fetchgit
|
|
|
|
, unstableGitUpdater
|
|
|
|
}:
|
2019-05-23 10:20:32 +00:00
|
|
|
|
2020-10-19 17:58:45 +00:00
|
|
|
stdenv.mkDerivation rec {
|
2019-05-23 10:20:32 +00:00
|
|
|
pname = "qbe";
|
2021-02-09 19:54:57 +00:00
|
|
|
version = "unstable-2020-10-05";
|
2019-05-23 10:20:32 +00:00
|
|
|
|
|
|
|
src = fetchgit {
|
|
|
|
url = "git://c9x.me/qbe.git";
|
2021-02-09 19:54:57 +00:00
|
|
|
rev = "496c069405cd79aed968f59dd5a5f92d1f96809f";
|
|
|
|
sha256 = "1vpszl77j9mnw8r0p9l23k8nxbnz31lgii7v3mai130nbpjsjsdf";
|
2019-05-23 10:20:32 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
makeFlags = [ "PREFIX=$(out)" ];
|
2020-10-19 17:58:45 +00:00
|
|
|
|
|
|
|
passthru.updateScript = unstableGitUpdater { };
|
|
|
|
|
2021-01-22 11:25:31 +00:00
|
|
|
meta = with lib; {
|
2019-05-23 10:20:32 +00:00
|
|
|
homepage = "https://c9x.me/compile/";
|
|
|
|
description = "A small compiler backend written in C";
|
|
|
|
maintainers = with maintainers; [ fgaz ];
|
|
|
|
license = licenses.mit;
|
|
|
|
platforms = platforms.all;
|
|
|
|
};
|
|
|
|
}
|