about summary refs log tree commit diff
path: root/pkgs/development/compilers
diff options
context:
space:
mode:
authorSilvan Mosberger <contact@infinisil.com>2019-07-01 23:45:03 +0200
committerGitHub <noreply@github.com>2019-07-01 23:45:03 +0200
commit7c6de80e871663c78dc8d63419e058506a3d2ca9 (patch)
treee554a0a7ae66d51c1a8fcf21c895faa325031685 /pkgs/development/compilers
parent58f7155da5203838722687c7305886e67e3a889d (diff)
parent6e4d68650613e8a80e59d468ee549e5108eed4ed (diff)
downloadnixlib-7c6de80e871663c78dc8d63419e058506a3d2ca9.tar
nixlib-7c6de80e871663c78dc8d63419e058506a3d2ca9.tar.gz
nixlib-7c6de80e871663c78dc8d63419e058506a3d2ca9.tar.bz2
nixlib-7c6de80e871663c78dc8d63419e058506a3d2ca9.tar.lz
nixlib-7c6de80e871663c78dc8d63419e058506a3d2ca9.tar.xz
nixlib-7c6de80e871663c78dc8d63419e058506a3d2ca9.tar.zst
nixlib-7c6de80e871663c78dc8d63419e058506a3d2ca9.zip
qbe: init at unstable-2019-05-15 (#61941)
qbe: init at unstable-2019-05-15
Diffstat (limited to 'pkgs/development/compilers')
-rw-r--r--pkgs/development/compilers/qbe/default.nix22
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 000000000000..d7315b73c9b5
--- /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;
+  };
+}
+