2020-10-19 18:58:45 +01:00
|
|
|
{ stdenv
|
|
|
|
, fetchgit
|
|
|
|
, unstableGitUpdater
|
|
|
|
}:
|
2019-05-23 11:20:32 +01:00
|
|
|
|
2020-10-19 18:58:45 +01:00
|
|
|
stdenv.mkDerivation rec {
|
2019-05-23 11:20:32 +01:00
|
|
|
pname = "qbe";
|
2019-07-29 15:21:00 +01:00
|
|
|
version = "unstable-2019-07-11";
|
2019-05-23 11:20:32 +01:00
|
|
|
|
|
|
|
src = fetchgit {
|
|
|
|
url = "git://c9x.me/qbe.git";
|
2019-07-29 15:21:00 +01:00
|
|
|
rev = "7bf08ff50729037c8820b26d085905175b5593c8";
|
|
|
|
sha256 = "0w1yack5ky6x6lbw8vn6swsy8s90n6ny0jpkw0866ja677z7qz34";
|
2019-05-23 11:20:32 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
makeFlags = [ "PREFIX=$(out)" ];
|
2020-10-19 18:58:45 +01:00
|
|
|
|
|
|
|
passthru.updateScript = unstableGitUpdater { };
|
|
|
|
|
2019-05-23 11:20:32 +01:00
|
|
|
meta = with stdenv.lib; {
|
|
|
|
homepage = "https://c9x.me/compile/";
|
|
|
|
description = "A small compiler backend written in C";
|
|
|
|
maintainers = with maintainers; [ fgaz ];
|
|
|
|
license = licenses.mit;
|
|
|
|
platforms = platforms.all;
|
|
|
|
};
|
|
|
|
}
|