Accept up2date package parameter
All checks were successful
Build / audit (push) Successful in 16m10s
Build / test (push) Successful in 16m35s

This commit is contained in:
2023-12-11 08:14:55 +01:00
parent e9504fb8e5
commit 6a063b2cc4
7 changed files with 29 additions and 135 deletions

View File

@@ -3,7 +3,6 @@ module SlackBuilder.Package
, Download(..)
, DownloadTemplate(..)
, Package(..)
, PackageInfo(..)
, Maintainer(..)
, Updater(..)
, renderDownloadWithVersion
@@ -34,15 +33,6 @@ data Download = Download
, is64 :: Bool
} deriving (Eq, Show)
-- | Data used to generate an .info file.
data PackageInfo = PackageInfo
{ path :: FilePath
, version :: Text
, homepage :: Text
, requires :: [Text]
, maintainer :: Maintainer
} deriving (Eq, Show)
-- | Package maintainer information.
data Maintainer = Maintainer
{ name :: Text