fp-il

My bachelor project (unfinished)
Log | Files | Refs

llvm-codegen.nix (996B)


      1 { mkDerivation, base, bytestring, Cabal, containers, dlist
      2 , fetchgit, ghc-prim, hspec, hspec-hedgehog, lib, llvm-config
      3 , mmorph, mtl, neat-interpolation, text, text-builder-linear
      4 }:
      5 mkDerivation {
      6   pname = "llvm-codegen";
      7   version = "0.1.0.0";
      8   src = fetchgit {
      9     url = "https://github.com/luc-tielen/llvm-codegen";
     10     sha256 = "0d9xj25anjznxjmpmjkgd4d8s463akvn3h61y8wq5mzab24jq2b1";
     11     rev = "83b04cb576208ea74ddd62016e4fa03f0df138ac";
     12     fetchSubmodules = true;
     13   };
     14   setupHaskellDepends = [ base Cabal containers ];
     15   libraryHaskellDepends = [
     16     base bytestring containers dlist ghc-prim mmorph mtl text
     17     text-builder-linear
     18   ];
     19   libraryToolDepends = [ llvm-config ];
     20   testHaskellDepends = [
     21     base bytestring containers dlist ghc-prim hspec hspec-hedgehog
     22     mmorph mtl neat-interpolation text text-builder-linear
     23   ];
     24   doHaddock = false;
     25   testToolDepends = [ llvm-config ];
     26   homepage = "https://github.com/luc-tielen/llvm-codegen";
     27   license = lib.licenses.bsd3;
     28 }