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