diff options
Diffstat (limited to 'pkgs/development/compilers/qbe/default.nix')
-rw-r--r-- | pkgs/development/compilers/qbe/default.nix | 42 |
1 files changed, 0 insertions, 42 deletions
diff --git a/pkgs/development/compilers/qbe/default.nix b/pkgs/development/compilers/qbe/default.nix deleted file mode 100644 index f37de57b535e..000000000000 --- a/pkgs/development/compilers/qbe/default.nix +++ /dev/null @@ -1,42 +0,0 @@ -{ lib -, stdenv -, fetchzip -, callPackage -}: -stdenv.mkDerivation (finalAttrs: { - pname = "qbe"; - version = "1.2"; - - src = fetchzip { - url = "https://c9x.me/compile/release/qbe-${finalAttrs.version}.tar.xz"; - hash = "sha256-UgtJnZF/YtD54OBy9HzGRAEHx5tC9Wo2YcUidGwrv+s="; - }; - - makeFlags = [ - "PREFIX=$(out)" - "CC=${stdenv.cc.targetPrefix}cc" - ]; - - doCheck = true; - - enableParallelBuilding = true; - - patches = [ - # Use "${TMPDIR:-/tmp}" instead of the latter directly - # see <https://lists.sr.ht/~mpu/qbe/patches/49613> - ./001-dont-hardcode-tmp.patch - ]; - - passthru = { - tests.can-run-hello-world = callPackage ./test-can-run-hello-world.nix { }; - }; - - meta = with lib; { - homepage = "https://c9x.me/compile/"; - description = "Small compiler backend written in C"; - maintainers = with maintainers; [ fgaz ]; - license = licenses.mit; - platforms = platforms.all; - mainProgram = "qbe"; - }; -}) |