packages feed

hercules-ci-api-0.8.1.0: src/Hercules/API/Build/EvaluationDependency.hs

{-# LANGUAGE DeriveAnyClass #-}
{-# LANGUAGE DerivingStrategies #-}

module Hercules.API.Build.EvaluationDependency where

import Hercules.API.Derivation (Derivation)
import Hercules.API.Prelude

data EvaluationDependency = EvaluationDependency
  { index :: Int,
    derivation :: Derivation,
    outputName :: Text
  }
  deriving (Generic, Show, Eq)
  deriving anyclass (NFData, ToJSON, FromJSON, ToSchema)