diff options
author | Francesco Gazzetta <fgaz@fgaz.me> | 2019-05-23 12:20:32 +0200 |
---|---|---|
committer | Francesco Gazzetta <fgaz@fgaz.me> | 2019-05-25 11:25:01 +0200 |
commit | 6e4d68650613e8a80e59d468ee549e5108eed4ed (patch) | |
tree | 1837d81eae9e0f10693ae6487052d48e650185a7 /pkgs/development/compilers/qbe | |
parent | 99c8680f49b8f2d986c56d30725d19035e4843f8 (diff) |
qbe: init at unstable-2019-05-15
Diffstat (limited to 'pkgs/development/compilers/qbe')
-rw-r--r-- | pkgs/development/compilers/qbe/default.nix | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/pkgs/development/compilers/qbe/default.nix b/pkgs/development/compilers/qbe/default.nix new file mode 100644 index 0000000000000..d7315b73c9b50 --- /dev/null +++ b/pkgs/development/compilers/qbe/default.nix @@ -0,0 +1,22 @@ +{ stdenv, fetchgit }: + +stdenv.mkDerivation { + pname = "qbe"; + version = "unstable-2019-05-15"; + + src = fetchgit { + url = "git://c9x.me/qbe.git"; + rev = "acc3af47330fd6610cf0fbdb28e9fbd05160888f"; + sha256 = "1c8ynqbakgz3hfdcyhwdmz7i1hnyd9m25f9y47sc21bvxwfrbzpi"; + }; + + makeFlags = [ "PREFIX=$(out)" ]; + 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; + }; +} + |