From daf044b576feb8ee61bb6be18f28985f5e87f4f4 Mon Sep 17 00:00:00 2001 From: Erik Oosting Date: Mon, 18 Dec 2023 14:29:00 +0100 Subject: add haskell version --- haskell/pkgs/llvm-codegen.nix | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 haskell/pkgs/llvm-codegen.nix (limited to 'haskell/pkgs/llvm-codegen.nix') diff --git a/haskell/pkgs/llvm-codegen.nix b/haskell/pkgs/llvm-codegen.nix new file mode 100644 index 0000000..57a95c8 --- /dev/null +++ b/haskell/pkgs/llvm-codegen.nix @@ -0,0 +1,27 @@ +{ mkDerivation, base, bytestring, Cabal, containers, dlist +, fetchgit, ghc-prim, hspec, hspec-hedgehog, lib, llvm-config +, mmorph, mtl, neat-interpolation, text, text-builder-linear +}: +mkDerivation { + pname = "llvm-codegen"; + version = "0.1.0.0"; + src = fetchgit { + url = "https://github.com/luc-tielen/llvm-codegen"; + sha256 = "0d9xj25anjznxjmpmjkgd4d8s463akvn3h61y8wq5mzab24jq2b1"; + rev = "83b04cb576208ea74ddd62016e4fa03f0df138ac"; + fetchSubmodules = true; + }; + setupHaskellDepends = [ base Cabal containers ]; + libraryHaskellDepends = [ + base bytestring containers dlist ghc-prim mmorph mtl text + text-builder-linear + ]; + libraryToolDepends = [ llvm-config ]; + testHaskellDepends = [ + base bytestring containers dlist ghc-prim hspec hspec-hedgehog + mmorph mtl neat-interpolation text text-builder-linear + ]; + testToolDepends = [ llvm-config ]; + homepage = "https://github.com/luc-tielen/llvm-codegen"; + license = lib.licenses.bsd3; +} -- cgit 1.4.1-2-gfad0