Skip to content
Snippets Groups Projects
cardano-crypto-tests.nix 1.33 KiB
Newer Older
{ mkDerivation, QuickCheck, base, base16-bytestring, bytestring
, cardano-binary, cardano-crypto-class, cardano-crypto-praos, cborg
Daniel Firth's avatar
Daniel Firth committed
, criterion, cryptonite, deepseq, fetchzip, formatting, lib
, nothunks, pretty-show, quickcheck-instances, tasty, tasty-hunit
, tasty-quickcheck
}:
mkDerivation {
  pname = "cardano-crypto-tests";
  version = "2.1.2.0";
Daniel Firth's avatar
Daniel Firth committed
  src = fetchzip {
    url = "https://input-output-hk.github.io/cardano-haskell-packages/package/cardano-crypto-tests-2.1.2.0.tar.gz";
    sha256 = "1dn6imy2hf2zb2k82pj9rzqy71j88pvcm505zi9l1zai396nyy4c";
  };
  isLibrary = true;
  isExecutable = false;
  enableSeparateDataOutput = true;
  libraryHaskellDepends = [
    base base16-bytestring bytestring cardano-binary
    cardano-crypto-class cardano-crypto-praos cborg criterion
    cryptonite deepseq formatting nothunks pretty-show QuickCheck
    quickcheck-instances tasty tasty-hunit tasty-quickcheck
  ];
  testHaskellDepends = [
    base cardano-crypto-class tasty tasty-quickcheck
  ];
  benchmarkHaskellDepends = [ base cardano-crypto-class criterion ];
Daniel Firth's avatar
Daniel Firth committed
  enableLibraryProfiling = true;
  enableExecutableProfiling = true;
  doHaddock = false;
  jailbreak = true;
  doCheck = false;
  doBenchmark = false;
  hyperlinkSource = false;
  description = "Tests for cardano-crypto-class and -praos";
  license = lib.licenses.asl20;
  broken = false;