Skip to content
Snippets Groups Projects
plutus-ledger-api.nix 1.55 KiB
Newer Older
Daniel Firth's avatar
Daniel Firth committed
{ mkDerivation, PyF, async, barbies, base, base16-bytestring
, base64-bytestring, bytestring, cborg, containers, deepseq, extra
, fetchgit, filepath, flat, hedgehog, lens, lib, mtl, nothunks
, plutus-core, plutus-tx, prettyprinter, serialise, tagged, tasty
, tasty-hedgehog, tasty-hunit, tasty-quickcheck, text
Max Tomago's avatar
Max Tomago committed
}:
mkDerivation {
  pname = "plutus-ledger-api";
Daniel Firth's avatar
Daniel Firth committed
  version = "1.1.1.0";
Max Tomago's avatar
Max Tomago committed
  src = fetchgit {
    url = "https://github.com/input-output-hk/plutus";
Daniel Firth's avatar
Daniel Firth committed
    sha256 = "1xf2jn46rk57mq8kskp2g4ijsi69mi5awsv2jm4qnzvxvgv897da";
    rev = "5efe047b034bdd1f79df6dfa64a3c5d205ffa8f8";
Max Tomago's avatar
Max Tomago committed
    fetchSubmodules = true;
  };
  postUnpack = "sourceRoot+=/plutus-ledger-api/; echo source root reset to $sourceRoot";
  isLibrary = true;
  isExecutable = true;
  enableSeparateDataOutput = false;
Max Tomago's avatar
Max Tomago committed
  libraryHaskellDepends = [
    base base16-bytestring base64-bytestring bytestring cborg
    containers deepseq extra flat lens mtl nothunks plutus-core
    plutus-tx prettyprinter PyF serialise tagged text
Max Tomago's avatar
Max Tomago committed
  ];
  executableHaskellDepends = [
    async base extra filepath mtl plutus-core serialise tasty
Max Tomago's avatar
Max Tomago committed
    tasty-hunit
  ];
  testHaskellDepends = [
Daniel Firth's avatar
Daniel Firth committed
    barbies base bytestring containers extra hedgehog lens mtl nothunks
    plutus-core tasty tasty-hedgehog tasty-hunit tasty-quickcheck text
  enableLibraryProfiling = false;
  enableExecutableProfiling = false;
Max Tomago's avatar
Max Tomago committed
  doHaddock = false;
  jailbreak = true;
  doCheck = false;
  doBenchmark = false;
Max Tomago's avatar
Max Tomago committed
  hyperlinkSource = false;
  description = "Interface to the Plutus ledger for the Cardano ledger";
  license = lib.licenses.asl20;
  broken = false;