Skip to content
Snippets Groups Projects
plutus-ledger-api.nix 1.54 KiB
Newer Older
{ mkDerivation, PyF, async, 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";
  version = "1.5.0.0";
Max Tomago's avatar
Max Tomago committed
  src = fetchgit {
    url = "https://github.com/input-output-hk/plutus";
    sha256 = "13r06l98ndv9l4ph7mv4pv3djgq8iylp59m8lnm5hyfg59ypayr0";
    rev = "cfccccc8596859bfaa992100b11199301eb6d2bd";
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 = [
    base bytestring containers extra hedgehog mtl nothunks plutus-core
    plutus-tx 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;