Skip to content
Snippets Groups Projects
cardano-slotting.nix 1.08 KiB
Newer Older
{ mkDerivation
, aeson
, base
, cardano-binary
, deepseq
, fetchgit
, lib
, mmorph
, nothunks
, quiet
, serialise
, tasty
, tasty-quickcheck
, time
}:
mkDerivation {
  pname = "cardano-slotting";
  version = "0.1.0.1";
  src = fetchgit {
    url = "https://github.com/input-output-hk/cardano-base";
    sha256 = "0qn56ahqmy79riwyaq5m0d4vpamdjkkk04b0x8zwlyd5y3pg58xd";
    rev = "46cd4c97cff9f1f0a0da976aa9e32bd2899c85ee";
    fetchSubmodules = true;
  };
  postUnpack = "sourceRoot+=/slotting/; echo source root reset to $sourceRoot";
  isLibrary = true;
  isExecutable = false;
  enableSeparateDataOutput = false;
  libraryHaskellDepends = [
    aeson
    base
    cardano-binary
    deepseq
    mmorph
    nothunks
    quiet
    serialise
    time
  ];
  testHaskellDepends = [ base tasty tasty-quickcheck ];
  enableLibraryProfiling = true;
  enableExecutableProfiling = true;
  doHaddock = false;
  jailbreak = true;
  doCheck = false;
  doBenchmark = false;
  hyperlinkSource = false;
  description = "Key slotting types for cardano libraries";
  license = lib.licenses.asl20;
  broken = false;