Skip to content
Snippets Groups Projects
plutus-tx-plugin.nix 1.63 KiB
Newer Older
Daniel Firth's avatar
Daniel Firth committed
{ mkDerivation, PyF, array, base, base16-bytestring, bytestring
, containers, deepseq, either, extra, fetchgit, filepath, flat, ghc
, hedgehog, lens, lib, mtl, optparse-applicative, plutus-core
, plutus-tx, plutus-tx-test-util, prettyprinter, serialise, tagged
, tasty, tasty-golden, tasty-hedgehog, tasty-hunit
, template-haskell, text, these, uniplate
}:
mkDerivation {
  pname = "plutus-tx-plugin";
Daniel Firth's avatar
Daniel Firth committed
  version = "1.40.0.0";
Daniel Firth's avatar
Daniel Firth committed
  src = fetchgit {
    url = "https://github.com/locallycompact/plutus";
    sha256 = "1b7qvqbdmjc36sl5fw0rzx1f488ks0gcd3zmwsfj543mwvhmwsjk";
    rev = "275236a13d63578280d742923a13813ee089c40d";
    fetchSubmodules = true;
Daniel Firth's avatar
Daniel Firth committed
  postUnpack = "sourceRoot+=/plutus-tx-plugin/; echo source root reset to $sourceRoot";
  isLibrary = true;
  isExecutable = true;
  enableSeparateDataOutput = false;
Daniel Firth's avatar
Daniel Firth committed
  libraryHaskellDepends = [
    array base base16-bytestring bytestring containers either extra
    flat ghc lens mtl plutus-core plutus-tx prettyprinter
    template-haskell text uniplate
  ];
  executableHaskellDepends = [
    base containers lens optparse-applicative prettyprinter PyF text
  ];
  testHaskellDepends = [
    base base16-bytestring bytestring containers deepseq filepath flat
    hedgehog lens mtl plutus-core plutus-tx plutus-tx-test-util
    serialise tagged tasty tasty-golden tasty-hedgehog tasty-hunit
    template-haskell text these
  ];
Daniel Firth's avatar
Daniel Firth committed
  enableLibraryProfiling = true;
  enableExecutableProfiling = true;
  doHaddock = true;
  jailbreak = true;
  doCheck = false;
  doBenchmark = false;
  hyperlinkSource = false;
  description = "The Plutus Tx compiler and GHC plugin";
  license = lib.licenses.asl20;
  broken = false;
Daniel Firth's avatar
Daniel Firth committed
}