packages feed

hercules-ci-api-agent-0.3.0.0: src/Hercules/API/Agent/Build/BuildTask.hs

{-# LANGUAGE DeriveAnyClass #-}

module Hercules.API.Agent.Build.BuildTask where

import Hercules.API.Prelude
import Hercules.API.Task (Task)

data BuildTask = BuildTask
  { id :: Id (Task BuildTask),
    derivationPath :: Text,
    logToken :: Text,
    inputDerivationOutputPaths :: [Text]
  }
  deriving (Generic, Show, Eq, NFData, ToJSON, FromJSON)