Skip to content
Snippets Groups Projects
cardano-crypto.nix 1.21 KiB
Newer Older
Max Tomago's avatar
Max Tomago committed
{ mkDerivation
, base
, basement
, bytestring
, cryptonite
, deepseq
, fetchgit
, foundation
, gauge
, hashable
, integer-gmp
, lib
, memory
}:
mkDerivation {
  pname = "cardano-crypto";
  version = "1.1.0";
  src = fetchgit {
    url = "https://github.com/input-output-hk/cardano-crypto";
    sha256 = "06sdx5ndn2g722jhpicmg96vsrys89fl81k8290b3lr6b1b0w4m3";
    rev = "07397f0e50da97eaa0575d93bee7ac4b2b2576ec";
    fetchSubmodules = true;
  };
  isLibrary = true;
  isExecutable = true;
  enableSeparateDataOutput = false;
  libraryHaskellDepends = [
Max Tomago's avatar
Max Tomago committed
    base
    basement
    bytestring
    cryptonite
    deepseq
    foundation
    hashable
    integer-gmp
    memory
  ];
  testHaskellDepends = [
Max Tomago's avatar
Max Tomago committed
    base
    basement
    bytestring
    cryptonite
    foundation
    memory
  ];
  benchmarkHaskellDepends = [
Max Tomago's avatar
Max Tomago committed
    base
    bytestring
    cryptonite
    gauge
    memory
  enableLibraryProfiling = true;
  enableExecutableProfiling = true;
  doHaddock = false;
  jailbreak = true;
  doCheck = false;
  doBenchmark = false;
  hyperlinkSource = false;
  homepage = "https://github.com/input-output-hk/cardano-crypto#readme";
  description = "Cryptography primitives for cardano";
  license = lib.licenses.mit;
  broken = false;
Max Tomago's avatar
Max Tomago committed
}