From 0d6f93acf85b1ce375145e0141f6120fd3903b03 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Wed, 28 Jan 2026 16:05:25 +0000 Subject: [PATCH 1/7] Initial plan From d26b24e47cd51b61118f1ee373f3647107c7478e Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Wed, 28 Jan 2026 16:14:04 +0000 Subject: [PATCH 2/7] Move Phone type to Wire.API.User.Identity and remove Wire.API.User.Phone module Co-authored-by: fisx <10210727+fisx@users.noreply.github.com> --- cabal.project | 6 +- libs/wire-api/src/Wire/API/User/Identity.hs | 65 +++++++++++++- libs/wire-api/src/Wire/API/User/Password.hs | 2 +- libs/wire-api/src/Wire/API/User/Phone.hs | 94 --------------------- libs/wire-api/wire-api.cabal | 1 - 5 files changed, 66 insertions(+), 102 deletions(-) delete mode 100644 libs/wire-api/src/Wire/API/User/Phone.hs diff --git a/cabal.project b/cabal.project index f35b3b95050..1d811340501 100644 --- a/cabal.project +++ b/cabal.project @@ -41,7 +41,7 @@ packages: , services/galley/ , services/gundeck/ , services/proxy/ - , services/wire-server-enterprise + -- , services/wire-server-enterprise , services/spar/ , tools/db/assets/ , tools/db/auto-whitelist/ @@ -90,8 +90,8 @@ package extended flags: +nix-dev-env package metrics-wai flags: +nix-dev-env -package wire-server-enterprise - flags: +nix-dev-env +-- package wire-server-enterprise +-- flags: +nix-dev-env package spar flags: +nix-dev-env package wire-message-proto-lens diff --git a/libs/wire-api/src/Wire/API/User/Identity.hs b/libs/wire-api/src/Wire/API/User/Identity.hs index 97a3c503e59..63609b92347 100644 --- a/libs/wire-api/src/Wire/API/User/Identity.hs +++ b/libs/wire-api/src/Wire/API/User/Identity.hs @@ -47,14 +47,19 @@ module Wire.API.User.Identity where import Cassandra qualified as C +import Control.Applicative (optional) import Control.Error (hush) -import Control.Lens (dimap, (.~), (?~)) +import Control.Lens (dimap, over, (.~), (?~)) import Data.Aeson (FromJSON (..), ToJSON (..)) import Data.Aeson qualified as A import Data.Aeson.Types qualified as A +import Data.Attoparsec.Text import Data.ByteString (fromStrict, toStrict) +import Data.ByteString.Conversion import Data.ByteString.UTF8 qualified as UTF8 +import Data.OpenApi (ToParamSchema (..)) import Data.OpenApi qualified as S +import Data.Proxy (Proxy (Proxy)) import Data.Schema import Data.Text qualified as Text import Data.Text.Encoding @@ -66,15 +71,69 @@ import SAML2.WebSSO.Test.Arbitrary () import SAML2.WebSSO.Types qualified as SAML import SAML2.WebSSO.XML qualified as SAML import Servant +import Servant.API qualified as S import System.FilePath (()) +import Test.QuickCheck qualified as QC import Text.Email.Parser import URI.ByteString qualified as URI import URI.ByteString.QQ (uri) import Web.Scim.Schema.User.Email () import Wire.API.User.EmailAddress -import Wire.API.User.Phone import Wire.API.User.Profile (fromName, mkName) -import Wire.Arbitrary (Arbitrary, GenericUniform (..)) +import Wire.Arbitrary (Arbitrary (arbitrary), GenericUniform (..)) + +-------------------------------------------------------------------------------- +-- Phone (minimal definition for backward compatibility) + +-- | Phone number in E.164 format. This type is kept for backward compatibility +-- in API schemas and data structures, but phone-based functionality has been removed. +newtype Phone = Phone {fromPhone :: Text} + deriving stock (Eq, Ord, Show, Generic) + deriving (ToJSON, FromJSON, S.ToSchema) via (Schema Phone) + +instance ToParamSchema Phone where + toParamSchema _ = toParamSchema (Proxy @Text) + +instance ToSchema Phone where + schema = + over doc (S.description ?~ "E.164 phone number") $ + fromPhone + .= parsedText "PhoneNumber" (maybe (Left "Invalid phone number. Expected E.164 format.") Right . parsePhone) + +instance ToByteString Phone where + builder = builder . fromPhone + +instance FromByteString Phone where + parser = parser >>= maybe (fail "Invalid phone") pure . parsePhone + +instance S.FromHttpApiData Phone where + parseUrlPiece = maybe (Left "Invalid phone") Right . fromByteString . encodeUtf8 + +instance S.ToHttpApiData Phone where + toUrlPiece = decodeUtf8With lenientDecode . toByteString' + +instance Arbitrary Phone where + arbitrary = + Phone . Text.pack <$> do + let mkdigits n = replicateM n (QC.elements ['0' .. '9']) + mini <- mkdigits 8 + maxi <- mkdigits =<< QC.chooseInt (0, 7) + pure $ '+' : mini <> maxi + +deriving instance C.Cql Phone + +-- | Parses a phone number in E.164 format with a mandatory leading '+'. +parsePhone :: Text -> Maybe Phone +parsePhone p + | isValidPhone p = Just $! Phone p + | otherwise = Nothing + +-- | Checks whether a phone number is valid, i.e. it is in E.164 format +-- with a mandatory leading '+' followed by 10-15 digits. +isValidPhone :: Text -> Bool +isValidPhone = either (const False) (const True) . parseOnly e164 + where + e164 = char '+' *> count 8 digit *> count 7 (optional digit) *> endOfInput -------------------------------------------------------------------------------- -- UserIdentity diff --git a/libs/wire-api/src/Wire/API/User/Password.hs b/libs/wire-api/src/Wire/API/User/Password.hs index 33ad254da73..75e8542409a 100644 --- a/libs/wire-api/src/Wire/API/User/Password.hs +++ b/libs/wire-api/src/Wire/API/User/Password.hs @@ -52,7 +52,7 @@ import Data.Tuple.Extra import Imports import Servant (FromHttpApiData (..)) import Wire.API.User.EmailAddress -import Wire.API.User.Phone +import Wire.API.User.Identity (Phone) import Wire.Arbitrary (Arbitrary, GenericUniform (..)) -------------------------------------------------------------------------------- diff --git a/libs/wire-api/src/Wire/API/User/Phone.hs b/libs/wire-api/src/Wire/API/User/Phone.hs deleted file mode 100644 index 5648e326329..00000000000 --- a/libs/wire-api/src/Wire/API/User/Phone.hs +++ /dev/null @@ -1,94 +0,0 @@ --- This file is part of the Wire Server implementation. --- --- Copyright (C) 2025 Wire Swiss GmbH --- --- This program is free software: you can redistribute it and/or modify it under --- the terms of the GNU Affero General Public License as published by the Free --- Software Foundation, either version 3 of the License, or (at your option) any --- later version. --- --- This program is distributed in the hope that it will be useful, but WITHOUT --- ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS --- FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more --- details. --- --- You should have received a copy of the GNU Affero General Public License along --- with this program. If not, see . - -module Wire.API.User.Phone - ( Phone (..), - parsePhone, - isValidPhone, - ) -where - -import Cassandra qualified as C -import Control.Applicative (optional) -import Control.Lens (over, (?~)) -import Data.Aeson (FromJSON (..), ToJSON (..)) -import Data.Attoparsec.Text -import Data.ByteString.Conversion -import Data.OpenApi (ToParamSchema (..)) -import Data.OpenApi qualified as S -import Data.Schema -import Data.Text qualified as Text -import Data.Text.Encoding -import Data.Text.Encoding.Error -import Imports -import SAML2.WebSSO.Test.Arbitrary () -import Servant -import Servant.API qualified as S -import Test.QuickCheck qualified as QC -import Web.Scim.Schema.User.Email () -import Wire.Arbitrary (Arbitrary (arbitrary)) - --------------------------------------------------------------------------------- --- Phone - -newtype Phone = Phone {fromPhone :: Text} - deriving stock (Eq, Ord, Show, Generic) - deriving (ToJSON, FromJSON, S.ToSchema) via (Schema Phone) - -instance ToParamSchema Phone where - toParamSchema _ = toParamSchema (Proxy @Text) - -instance ToSchema Phone where - schema = - over doc (S.description ?~ "E.164 phone number") $ - fromPhone - .= parsedText "PhoneNumber" (maybe (Left "Invalid phone number. Expected E.164 format.") Right . parsePhone) - -instance ToByteString Phone where - builder = builder . fromPhone - -instance FromByteString Phone where - parser = parser >>= maybe (fail "Invalid phone") pure . parsePhone - -instance S.FromHttpApiData Phone where - parseUrlPiece = maybe (Left "Invalid phone") Right . fromByteString . encodeUtf8 - -instance S.ToHttpApiData Phone where - toUrlPiece = decodeUtf8With lenientDecode . toByteString' - -instance Arbitrary Phone where - arbitrary = - Phone . Text.pack <$> do - let mkdigits n = replicateM n (QC.elements ['0' .. '9']) - mini <- mkdigits 8 - maxi <- mkdigits =<< QC.chooseInt (0, 7) - pure $ '+' : mini <> maxi - -deriving instance C.Cql Phone - --- | Parses a phone number in E.164 format with a mandatory leading '+'. -parsePhone :: Text -> Maybe Phone -parsePhone p - | isValidPhone p = Just $! Phone p - | otherwise = Nothing - --- | Checks whether a phone number is valid, i.e. it is in E.164 format --- with a mandatory leading '+' followed by 10-15 digits. -isValidPhone :: Text -> Bool -isValidPhone = either (const False) (const True) . parseOnly e164 - where - e164 = char '+' *> count 8 digit *> count 7 (optional digit) *> endOfInput diff --git a/libs/wire-api/wire-api.cabal b/libs/wire-api/wire-api.cabal index cc4ec01bb57..5f4771d9574 100644 --- a/libs/wire-api/wire-api.cabal +++ b/libs/wire-api/wire-api.cabal @@ -260,7 +260,6 @@ library Wire.API.User.IdentityProvider Wire.API.User.Orphans Wire.API.User.Password - Wire.API.User.Phone Wire.API.User.Profile Wire.API.User.RichInfo Wire.API.User.Saml From 4f2f3038cf64df395d60626da5ae1583019f903a Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Wed, 28 Jan 2026 16:17:49 +0000 Subject: [PATCH 3/7] Remove PhoneUpdate, SendLoginCode types and related phone endpoints Co-authored-by: fisx <10210727+fisx@users.noreply.github.com> --- .../src/Wire/API/Routes/Public/Brig.hs | 46 ------------------- libs/wire-api/src/Wire/API/User.hs | 35 -------------- libs/wire-api/src/Wire/API/User/Auth.hs | 37 +-------------- services/brig/src/Brig/API/Auth.hs | 5 -- services/brig/src/Brig/API/Public.hs | 15 ------ 5 files changed, 1 insertion(+), 137 deletions(-) diff --git a/libs/wire-api/src/Wire/API/Routes/Public/Brig.hs b/libs/wire-api/src/Wire/API/Routes/Public/Brig.hs index 80ae80db1b4..2cf35367378 100644 --- a/libs/wire-api/src/Wire/API/Routes/Public/Brig.hs +++ b/libs/wire-api/src/Wire/API/Routes/Public/Brig.hs @@ -492,32 +492,6 @@ type SelfAPI = :> ReqBody '[JSON] UserUpdate :> MultiVerb1 'PUT '[JSON] (RespondEmpty 200 "User updated") ) - :<|> Named - "change-phone" - ( Summary "Change your phone number." - :> Until 'V6 - :> ZUser - :> ZConn - :> "self" - :> "phone" - :> ReqBody '[JSON] PhoneUpdate - :> MultiVerb 'PUT '[JSON] ChangePhoneResponses (Maybe ChangePhoneError) - ) - :<|> - -- This endpoint can lead to the following events being sent: - -- - UserIdentityRemoved event to self - Named - "remove-phone" - ( Summary "Remove your phone number." - :> Until 'V6 - :> Description - "Your phone number can only be removed if you also have an \ - \email address and a password." - :> ZUser - :> "self" - :> "phone" - :> MultiVerb 'DELETE '[JSON] RemoveIdentityResponses (Maybe RemoveIdentityError) - ) :<|> -- This endpoint can lead to the following events being sent: -- - UserIdentityRemoved event to self @@ -1767,26 +1741,6 @@ type AuthAPI = :> CanThrow 'BadCredentials :> MultiVerb1 'POST '[JSON] TokenResponse ) - :<|> Named - "send-login-code" - ( "login" - :> "send" - :> Until 'V6 - :> Summary "Send a login code to a verified phone number" - :> Description - "This operation generates and sends a login code via sms for phone login.\ - \ A login code can be used only once and times out after\ - \ 10 minutes. Only one login code may be pending at a time.\ - \ For 2nd factor authentication login with email and password, use the\ - \ `/verification-code/send` endpoint." - :> ReqBody '[JSON] SendLoginCode - :> CanThrow 'InvalidPhone - :> CanThrow 'PasswordExists - :> MultiVerb1 - 'POST - '[JSON] - (Respond 200 "OK" LoginCodeTimeout) - ) :<|> Named "login" ( "login" diff --git a/libs/wire-api/src/Wire/API/User.hs b/libs/wire-api/src/Wire/API/User.hs index defa322a590..6aaedc66157 100644 --- a/libs/wire-api/src/Wire/API/User.hs +++ b/libs/wire-api/src/Wire/API/User.hs @@ -87,9 +87,6 @@ module Wire.API.User ChangePasswordResponses, LocaleUpdate (..), EmailUpdate (..), - PhoneUpdate (..), - ChangePhoneError (..), - ChangePhoneResponses, RemoveIdentityError (..), RemoveIdentityResponses, HandleUpdate (..), @@ -1557,38 +1554,6 @@ instance ToByteString EmailActivation where builder SendActivationEmail = "send_activation_email" builder AutoActivate = "auto_activate" -newtype PhoneUpdate = PhoneUpdate {puPhone :: Phone} - deriving stock (Eq, Show, Generic) - deriving newtype (Arbitrary) - deriving (ToJSON, FromJSON, S.ToSchema) via Schema PhoneUpdate - -instance ToSchema PhoneUpdate where - schema = - object "PhoneUpdate" $ - PhoneUpdate - <$> puPhone - .= field "phone" schema - -data ChangePhoneError - = PhoneExists - | InvalidNewPhone - deriving (Generic) - deriving (AsUnion ChangePhoneErrorResponses) via GenericAsUnion ChangePhoneErrorResponses ChangePhoneError - -instance GSOP.Generic ChangePhoneError - -type ChangePhoneErrorResponses = - [ ErrorResponse 'UserKeyExists, - ErrorResponse 'InvalidPhone - ] - -type ChangePhoneResponses = - ChangePhoneErrorResponses .++ '[RespondEmpty 202 "Phone updated"] - -instance (res ~ ChangePhoneResponses) => AsUnion res (Maybe ChangePhoneError) where - toUnion = maybeToUnion (toUnion @ChangePhoneErrorResponses) - fromUnion = maybeFromUnion (fromUnion @ChangePhoneErrorResponses) - data RemoveIdentityError = LastIdentity | NoIdentity diff --git a/libs/wire-api/src/Wire/API/User/Auth.hs b/libs/wire-api/src/Wire/API/User/Auth.hs index 3a029c47500..2202d1debc2 100644 --- a/libs/wire-api/src/Wire/API/User/Auth.hs +++ b/libs/wire-api/src/Wire/API/User/Auth.hs @@ -24,7 +24,6 @@ module Wire.API.User.Auth LoginCode (..), LoginId (..), PendingLoginCode (..), - SendLoginCode (..), LoginCodeTimeout (..), -- * Cookies @@ -86,7 +85,7 @@ import Imports import Servant import Web.Cookie import Wire.API.Routes.MultiVerb -import Wire.API.User.Identity (EmailAddress, Phone) +import Wire.API.User.Identity (EmailAddress) import Wire.Arbitrary (Arbitrary (arbitrary), GenericUniform (..)) -------------------------------------------------------------------------------- @@ -154,40 +153,6 @@ instance ToSchema PendingLoginCode where <$> pendingLoginCode .= field "code" schema <*> pendingLoginTimeout .= field "expires_in" schema --------------------------------------------------------------------------------- --- SendLoginCode - --- | A request for sending a 'LoginCode' -data SendLoginCode = SendLoginCode - { lcPhone :: Phone, - lcCall :: Bool, - lcForce :: Bool - } - deriving stock (Eq, Show, Generic) - deriving (Arbitrary) via (GenericUniform SendLoginCode) - deriving (FromJSON, ToJSON, S.ToSchema) via Schema SendLoginCode - -instance ToSchema SendLoginCode where - schema = - objectWithDocModifier - "SendLoginCode" - (description ?~ "Payload for requesting a login code to be sent") - $ SendLoginCode - <$> lcPhone - .= fieldWithDocModifier - "phone" - (description ?~ "E.164 phone number to send the code to") - (unnamed schema) - <*> lcCall - .= fmap - (fromMaybe False) - ( optFieldWithDocModifier - "voice_call" - (description ?~ "Request the code with a call instead (default is SMS)") - schema - ) - <*> lcForce .= fmap (fromMaybe True) (optField "force" schema) - -------------------------------------------------------------------------------- -- LoginCodeTimeout diff --git a/services/brig/src/Brig/API/Auth.hs b/services/brig/src/Brig/API/Auth.hs index 962a8d79b98..7417335936d 100644 --- a/services/brig/src/Brig/API/Auth.hs +++ b/services/brig/src/Brig/API/Auth.hs @@ -125,11 +125,6 @@ access mcid t mt = traverse mkUserTokenCookie =<< Auth.renewAccess t mt mcid !>> (StdError . zauthError) -sendLoginCode :: SendLoginCode -> Handler r LoginCodeTimeout -sendLoginCode _ = - -- Login by phone is unsupported - throwStd (errorToWai @'E.InvalidPhone) - login :: ( Member GalleyAPIAccess r, Member TinyLog r, diff --git a/services/brig/src/Brig/API/Public.hs b/services/brig/src/Brig/API/Public.hs index 3d37d91d4e5..fa57713584a 100644 --- a/services/brig/src/Brig/API/Public.hs +++ b/services/brig/src/Brig/API/Public.hs @@ -477,8 +477,6 @@ servantSitemap = Named @"get-self" getSelf :<|> Named @"delete-self" deleteSelfUser :<|> Named @"put-self" updateUser - :<|> Named @"change-phone" changePhone - :<|> Named @"remove-phone" removePhone :<|> Named @"remove-email" removeEmail :<|> Named @"check-password-exists" checkPasswordExists :<|> Named @"change-password" changePassword @@ -590,7 +588,6 @@ servantSitemap = authAPI :: ServerT AuthAPI (Handler r) authAPI = Named @"access" accessH - :<|> Named @"send-login-code" sendLoginCode :<|> Named @"login" login :<|> Named @"logout" logoutH :<|> Named @"change-self-email" changeSelfEmail @@ -1134,18 +1131,6 @@ updateUser uid conn uu = do lift . liftSem $ updateUserProfile uid (Just conn) UpdateOriginWireClient update --- | Phone based functionality is not supported any more, but the handler is --- kept here so long as client API version 5 is supported. -changePhone :: - UserId -> - ConnId -> - Public.PhoneUpdate -> - (Handler r) (Maybe Public.ChangePhoneError) -changePhone _ _ _ = pure . Just $ Public.InvalidNewPhone - -removePhone :: UserId -> Handler r (Maybe Public.RemoveIdentityError) -removePhone _ = (lift . pure) Nothing - removeEmail :: ( Member UserSubsystem r, Member (Error UserSubsystemError) r From 5200ec8a8d6f2ca4941b81253cce84350540e454 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Wed, 28 Jan 2026 16:19:31 +0000 Subject: [PATCH 4/7] Remove PhoneUpdate and SendLoginCode golden tests Co-authored-by: fisx <10210727+fisx@users.noreply.github.com> --- .../golden/Test/Wire/API/Golden/Generated.hs | 6 -- .../API/Golden/Generated/PhoneUpdate_user.hs | 80 -------------- .../Golden/Generated/SendLoginCode_user.hs | 102 ------------------ .../golden/testObject_PhoneUpdate_user_1.json | 3 - .../testObject_PhoneUpdate_user_10.json | 3 - .../testObject_PhoneUpdate_user_11.json | 3 - .../testObject_PhoneUpdate_user_12.json | 3 - .../testObject_PhoneUpdate_user_13.json | 3 - .../testObject_PhoneUpdate_user_14.json | 3 - .../testObject_PhoneUpdate_user_15.json | 3 - .../testObject_PhoneUpdate_user_16.json | 3 - .../testObject_PhoneUpdate_user_17.json | 3 - .../testObject_PhoneUpdate_user_18.json | 3 - .../testObject_PhoneUpdate_user_19.json | 3 - .../golden/testObject_PhoneUpdate_user_2.json | 3 - .../testObject_PhoneUpdate_user_20.json | 3 - .../golden/testObject_PhoneUpdate_user_3.json | 3 - .../golden/testObject_PhoneUpdate_user_4.json | 3 - .../golden/testObject_PhoneUpdate_user_5.json | 3 - .../golden/testObject_PhoneUpdate_user_6.json | 3 - .../golden/testObject_PhoneUpdate_user_7.json | 3 - .../golden/testObject_PhoneUpdate_user_8.json | 3 - .../golden/testObject_PhoneUpdate_user_9.json | 3 - .../testObject_SendLoginCode_user_1.json | 5 - .../testObject_SendLoginCode_user_10.json | 5 - .../testObject_SendLoginCode_user_11.json | 5 - .../testObject_SendLoginCode_user_12.json | 5 - .../testObject_SendLoginCode_user_13.json | 5 - .../testObject_SendLoginCode_user_14.json | 5 - .../testObject_SendLoginCode_user_15.json | 5 - .../testObject_SendLoginCode_user_16.json | 5 - .../testObject_SendLoginCode_user_17.json | 5 - .../testObject_SendLoginCode_user_18.json | 5 - .../testObject_SendLoginCode_user_19.json | 5 - .../testObject_SendLoginCode_user_2.json | 5 - .../testObject_SendLoginCode_user_20.json | 5 - .../testObject_SendLoginCode_user_3.json | 5 - .../testObject_SendLoginCode_user_4.json | 5 - .../testObject_SendLoginCode_user_5.json | 5 - .../testObject_SendLoginCode_user_6.json | 5 - .../testObject_SendLoginCode_user_7.json | 5 - .../testObject_SendLoginCode_user_8.json | 5 - .../testObject_SendLoginCode_user_9.json | 5 - 43 files changed, 348 deletions(-) delete mode 100644 libs/wire-api/test/golden/Test/Wire/API/Golden/Generated/PhoneUpdate_user.hs delete mode 100644 libs/wire-api/test/golden/Test/Wire/API/Golden/Generated/SendLoginCode_user.hs delete mode 100644 libs/wire-api/test/golden/testObject_PhoneUpdate_user_1.json delete mode 100644 libs/wire-api/test/golden/testObject_PhoneUpdate_user_10.json delete mode 100644 libs/wire-api/test/golden/testObject_PhoneUpdate_user_11.json delete mode 100644 libs/wire-api/test/golden/testObject_PhoneUpdate_user_12.json delete mode 100644 libs/wire-api/test/golden/testObject_PhoneUpdate_user_13.json delete mode 100644 libs/wire-api/test/golden/testObject_PhoneUpdate_user_14.json delete mode 100644 libs/wire-api/test/golden/testObject_PhoneUpdate_user_15.json delete mode 100644 libs/wire-api/test/golden/testObject_PhoneUpdate_user_16.json delete mode 100644 libs/wire-api/test/golden/testObject_PhoneUpdate_user_17.json delete mode 100644 libs/wire-api/test/golden/testObject_PhoneUpdate_user_18.json delete mode 100644 libs/wire-api/test/golden/testObject_PhoneUpdate_user_19.json delete mode 100644 libs/wire-api/test/golden/testObject_PhoneUpdate_user_2.json delete mode 100644 libs/wire-api/test/golden/testObject_PhoneUpdate_user_20.json delete mode 100644 libs/wire-api/test/golden/testObject_PhoneUpdate_user_3.json delete mode 100644 libs/wire-api/test/golden/testObject_PhoneUpdate_user_4.json delete mode 100644 libs/wire-api/test/golden/testObject_PhoneUpdate_user_5.json delete mode 100644 libs/wire-api/test/golden/testObject_PhoneUpdate_user_6.json delete mode 100644 libs/wire-api/test/golden/testObject_PhoneUpdate_user_7.json delete mode 100644 libs/wire-api/test/golden/testObject_PhoneUpdate_user_8.json delete mode 100644 libs/wire-api/test/golden/testObject_PhoneUpdate_user_9.json delete mode 100644 libs/wire-api/test/golden/testObject_SendLoginCode_user_1.json delete mode 100644 libs/wire-api/test/golden/testObject_SendLoginCode_user_10.json delete mode 100644 libs/wire-api/test/golden/testObject_SendLoginCode_user_11.json delete mode 100644 libs/wire-api/test/golden/testObject_SendLoginCode_user_12.json delete mode 100644 libs/wire-api/test/golden/testObject_SendLoginCode_user_13.json delete mode 100644 libs/wire-api/test/golden/testObject_SendLoginCode_user_14.json delete mode 100644 libs/wire-api/test/golden/testObject_SendLoginCode_user_15.json delete mode 100644 libs/wire-api/test/golden/testObject_SendLoginCode_user_16.json delete mode 100644 libs/wire-api/test/golden/testObject_SendLoginCode_user_17.json delete mode 100644 libs/wire-api/test/golden/testObject_SendLoginCode_user_18.json delete mode 100644 libs/wire-api/test/golden/testObject_SendLoginCode_user_19.json delete mode 100644 libs/wire-api/test/golden/testObject_SendLoginCode_user_2.json delete mode 100644 libs/wire-api/test/golden/testObject_SendLoginCode_user_20.json delete mode 100644 libs/wire-api/test/golden/testObject_SendLoginCode_user_3.json delete mode 100644 libs/wire-api/test/golden/testObject_SendLoginCode_user_4.json delete mode 100644 libs/wire-api/test/golden/testObject_SendLoginCode_user_5.json delete mode 100644 libs/wire-api/test/golden/testObject_SendLoginCode_user_6.json delete mode 100644 libs/wire-api/test/golden/testObject_SendLoginCode_user_7.json delete mode 100644 libs/wire-api/test/golden/testObject_SendLoginCode_user_8.json delete mode 100644 libs/wire-api/test/golden/testObject_SendLoginCode_user_9.json diff --git a/libs/wire-api/test/golden/Test/Wire/API/Golden/Generated.hs b/libs/wire-api/test/golden/Test/Wire/API/Golden/Generated.hs index 02dc1d21e43..a05027f4afc 100644 --- a/libs/wire-api/test/golden/Test/Wire/API/Golden/Generated.hs +++ b/libs/wire-api/test/golden/Test/Wire/API/Golden/Generated.hs @@ -140,7 +140,6 @@ import Test.Wire.API.Golden.Generated.PasswordResetKey_user qualified import Test.Wire.API.Golden.Generated.PasswordReset_provider qualified import Test.Wire.API.Golden.Generated.PendingLoginCode_user qualified import Test.Wire.API.Golden.Generated.Permissions_team qualified -import Test.Wire.API.Golden.Generated.PhoneUpdate_user qualified import Test.Wire.API.Golden.Generated.Phone_user qualified import Test.Wire.API.Golden.Generated.Pict_user qualified import Test.Wire.API.Golden.Generated.PrekeyBundle_user qualified @@ -178,7 +177,6 @@ import Test.Wire.API.Golden.Generated.Scheme_user qualified import Test.Wire.API.Golden.Generated.SearchResult_20Contact_user qualified import Test.Wire.API.Golden.Generated.SearchResult_20TeamContact_user qualified import Test.Wire.API.Golden.Generated.SelfProfile_user qualified -import Test.Wire.API.Golden.Generated.SendLoginCode_user qualified import Test.Wire.API.Golden.Generated.ServiceKeyPEM_provider qualified import Test.Wire.API.Golden.Generated.ServiceKeyType_provider qualified import Test.Wire.API.Golden.Generated.ServiceKey_provider qualified @@ -969,8 +967,6 @@ tests = testObjects [(Test.Wire.API.Golden.Generated.LocaleUpdate_user.testObject_LocaleUpdate_user_1, "testObject_LocaleUpdate_user_1.json"), (Test.Wire.API.Golden.Generated.LocaleUpdate_user.testObject_LocaleUpdate_user_2, "testObject_LocaleUpdate_user_2.json"), (Test.Wire.API.Golden.Generated.LocaleUpdate_user.testObject_LocaleUpdate_user_3, "testObject_LocaleUpdate_user_3.json"), (Test.Wire.API.Golden.Generated.LocaleUpdate_user.testObject_LocaleUpdate_user_4, "testObject_LocaleUpdate_user_4.json"), (Test.Wire.API.Golden.Generated.LocaleUpdate_user.testObject_LocaleUpdate_user_5, "testObject_LocaleUpdate_user_5.json"), (Test.Wire.API.Golden.Generated.LocaleUpdate_user.testObject_LocaleUpdate_user_6, "testObject_LocaleUpdate_user_6.json"), (Test.Wire.API.Golden.Generated.LocaleUpdate_user.testObject_LocaleUpdate_user_7, "testObject_LocaleUpdate_user_7.json"), (Test.Wire.API.Golden.Generated.LocaleUpdate_user.testObject_LocaleUpdate_user_8, "testObject_LocaleUpdate_user_8.json"), (Test.Wire.API.Golden.Generated.LocaleUpdate_user.testObject_LocaleUpdate_user_9, "testObject_LocaleUpdate_user_9.json"), (Test.Wire.API.Golden.Generated.LocaleUpdate_user.testObject_LocaleUpdate_user_10, "testObject_LocaleUpdate_user_10.json"), (Test.Wire.API.Golden.Generated.LocaleUpdate_user.testObject_LocaleUpdate_user_11, "testObject_LocaleUpdate_user_11.json"), (Test.Wire.API.Golden.Generated.LocaleUpdate_user.testObject_LocaleUpdate_user_12, "testObject_LocaleUpdate_user_12.json"), (Test.Wire.API.Golden.Generated.LocaleUpdate_user.testObject_LocaleUpdate_user_13, "testObject_LocaleUpdate_user_13.json"), (Test.Wire.API.Golden.Generated.LocaleUpdate_user.testObject_LocaleUpdate_user_14, "testObject_LocaleUpdate_user_14.json"), (Test.Wire.API.Golden.Generated.LocaleUpdate_user.testObject_LocaleUpdate_user_15, "testObject_LocaleUpdate_user_15.json"), (Test.Wire.API.Golden.Generated.LocaleUpdate_user.testObject_LocaleUpdate_user_16, "testObject_LocaleUpdate_user_16.json"), (Test.Wire.API.Golden.Generated.LocaleUpdate_user.testObject_LocaleUpdate_user_17, "testObject_LocaleUpdate_user_17.json"), (Test.Wire.API.Golden.Generated.LocaleUpdate_user.testObject_LocaleUpdate_user_18, "testObject_LocaleUpdate_user_18.json"), (Test.Wire.API.Golden.Generated.LocaleUpdate_user.testObject_LocaleUpdate_user_19, "testObject_LocaleUpdate_user_19.json"), (Test.Wire.API.Golden.Generated.LocaleUpdate_user.testObject_LocaleUpdate_user_20, "testObject_LocaleUpdate_user_20.json")], testGroup "Golden: EmailUpdate_user" $ testObjects [(Test.Wire.API.Golden.Generated.EmailUpdate_user.testObject_EmailUpdate_user_1, "testObject_EmailUpdate_user_1.json"), (Test.Wire.API.Golden.Generated.EmailUpdate_user.testObject_EmailUpdate_user_2, "testObject_EmailUpdate_user_2.json"), (Test.Wire.API.Golden.Generated.EmailUpdate_user.testObject_EmailUpdate_user_3, "testObject_EmailUpdate_user_3.json"), (Test.Wire.API.Golden.Generated.EmailUpdate_user.testObject_EmailUpdate_user_4, "testObject_EmailUpdate_user_4.json"), (Test.Wire.API.Golden.Generated.EmailUpdate_user.testObject_EmailUpdate_user_5, "testObject_EmailUpdate_user_5.json"), (Test.Wire.API.Golden.Generated.EmailUpdate_user.testObject_EmailUpdate_user_6, "testObject_EmailUpdate_user_6.json"), (Test.Wire.API.Golden.Generated.EmailUpdate_user.testObject_EmailUpdate_user_7, "testObject_EmailUpdate_user_7.json"), (Test.Wire.API.Golden.Generated.EmailUpdate_user.testObject_EmailUpdate_user_8, "testObject_EmailUpdate_user_8.json"), (Test.Wire.API.Golden.Generated.EmailUpdate_user.testObject_EmailUpdate_user_9, "testObject_EmailUpdate_user_9.json"), (Test.Wire.API.Golden.Generated.EmailUpdate_user.testObject_EmailUpdate_user_10, "testObject_EmailUpdate_user_10.json"), (Test.Wire.API.Golden.Generated.EmailUpdate_user.testObject_EmailUpdate_user_11, "testObject_EmailUpdate_user_11.json"), (Test.Wire.API.Golden.Generated.EmailUpdate_user.testObject_EmailUpdate_user_12, "testObject_EmailUpdate_user_12.json"), (Test.Wire.API.Golden.Generated.EmailUpdate_user.testObject_EmailUpdate_user_13, "testObject_EmailUpdate_user_13.json"), (Test.Wire.API.Golden.Generated.EmailUpdate_user.testObject_EmailUpdate_user_14, "testObject_EmailUpdate_user_14.json"), (Test.Wire.API.Golden.Generated.EmailUpdate_user.testObject_EmailUpdate_user_15, "testObject_EmailUpdate_user_15.json"), (Test.Wire.API.Golden.Generated.EmailUpdate_user.testObject_EmailUpdate_user_16, "testObject_EmailUpdate_user_16.json"), (Test.Wire.API.Golden.Generated.EmailUpdate_user.testObject_EmailUpdate_user_17, "testObject_EmailUpdate_user_17.json"), (Test.Wire.API.Golden.Generated.EmailUpdate_user.testObject_EmailUpdate_user_18, "testObject_EmailUpdate_user_18.json"), (Test.Wire.API.Golden.Generated.EmailUpdate_user.testObject_EmailUpdate_user_19, "testObject_EmailUpdate_user_19.json"), (Test.Wire.API.Golden.Generated.EmailUpdate_user.testObject_EmailUpdate_user_20, "testObject_EmailUpdate_user_20.json")], - testGroup "Golden: PhoneUpdate_user" $ - testObjects [(Test.Wire.API.Golden.Generated.PhoneUpdate_user.testObject_PhoneUpdate_user_1, "testObject_PhoneUpdate_user_1.json"), (Test.Wire.API.Golden.Generated.PhoneUpdate_user.testObject_PhoneUpdate_user_2, "testObject_PhoneUpdate_user_2.json"), (Test.Wire.API.Golden.Generated.PhoneUpdate_user.testObject_PhoneUpdate_user_3, "testObject_PhoneUpdate_user_3.json"), (Test.Wire.API.Golden.Generated.PhoneUpdate_user.testObject_PhoneUpdate_user_4, "testObject_PhoneUpdate_user_4.json"), (Test.Wire.API.Golden.Generated.PhoneUpdate_user.testObject_PhoneUpdate_user_5, "testObject_PhoneUpdate_user_5.json"), (Test.Wire.API.Golden.Generated.PhoneUpdate_user.testObject_PhoneUpdate_user_6, "testObject_PhoneUpdate_user_6.json"), (Test.Wire.API.Golden.Generated.PhoneUpdate_user.testObject_PhoneUpdate_user_7, "testObject_PhoneUpdate_user_7.json"), (Test.Wire.API.Golden.Generated.PhoneUpdate_user.testObject_PhoneUpdate_user_8, "testObject_PhoneUpdate_user_8.json"), (Test.Wire.API.Golden.Generated.PhoneUpdate_user.testObject_PhoneUpdate_user_9, "testObject_PhoneUpdate_user_9.json"), (Test.Wire.API.Golden.Generated.PhoneUpdate_user.testObject_PhoneUpdate_user_10, "testObject_PhoneUpdate_user_10.json"), (Test.Wire.API.Golden.Generated.PhoneUpdate_user.testObject_PhoneUpdate_user_11, "testObject_PhoneUpdate_user_11.json"), (Test.Wire.API.Golden.Generated.PhoneUpdate_user.testObject_PhoneUpdate_user_12, "testObject_PhoneUpdate_user_12.json"), (Test.Wire.API.Golden.Generated.PhoneUpdate_user.testObject_PhoneUpdate_user_13, "testObject_PhoneUpdate_user_13.json"), (Test.Wire.API.Golden.Generated.PhoneUpdate_user.testObject_PhoneUpdate_user_14, "testObject_PhoneUpdate_user_14.json"), (Test.Wire.API.Golden.Generated.PhoneUpdate_user.testObject_PhoneUpdate_user_15, "testObject_PhoneUpdate_user_15.json"), (Test.Wire.API.Golden.Generated.PhoneUpdate_user.testObject_PhoneUpdate_user_16, "testObject_PhoneUpdate_user_16.json"), (Test.Wire.API.Golden.Generated.PhoneUpdate_user.testObject_PhoneUpdate_user_17, "testObject_PhoneUpdate_user_17.json"), (Test.Wire.API.Golden.Generated.PhoneUpdate_user.testObject_PhoneUpdate_user_18, "testObject_PhoneUpdate_user_18.json"), (Test.Wire.API.Golden.Generated.PhoneUpdate_user.testObject_PhoneUpdate_user_19, "testObject_PhoneUpdate_user_19.json"), (Test.Wire.API.Golden.Generated.PhoneUpdate_user.testObject_PhoneUpdate_user_20, "testObject_PhoneUpdate_user_20.json")], testGroup "Golden: HandleUpdate_user" $ testObjects [(Test.Wire.API.Golden.Generated.HandleUpdate_user.testObject_HandleUpdate_user_1, "testObject_HandleUpdate_user_1.json"), (Test.Wire.API.Golden.Generated.HandleUpdate_user.testObject_HandleUpdate_user_2, "testObject_HandleUpdate_user_2.json"), (Test.Wire.API.Golden.Generated.HandleUpdate_user.testObject_HandleUpdate_user_3, "testObject_HandleUpdate_user_3.json"), (Test.Wire.API.Golden.Generated.HandleUpdate_user.testObject_HandleUpdate_user_4, "testObject_HandleUpdate_user_4.json"), (Test.Wire.API.Golden.Generated.HandleUpdate_user.testObject_HandleUpdate_user_5, "testObject_HandleUpdate_user_5.json"), (Test.Wire.API.Golden.Generated.HandleUpdate_user.testObject_HandleUpdate_user_6, "testObject_HandleUpdate_user_6.json"), (Test.Wire.API.Golden.Generated.HandleUpdate_user.testObject_HandleUpdate_user_7, "testObject_HandleUpdate_user_7.json"), (Test.Wire.API.Golden.Generated.HandleUpdate_user.testObject_HandleUpdate_user_8, "testObject_HandleUpdate_user_8.json"), (Test.Wire.API.Golden.Generated.HandleUpdate_user.testObject_HandleUpdate_user_9, "testObject_HandleUpdate_user_9.json"), (Test.Wire.API.Golden.Generated.HandleUpdate_user.testObject_HandleUpdate_user_10, "testObject_HandleUpdate_user_10.json"), (Test.Wire.API.Golden.Generated.HandleUpdate_user.testObject_HandleUpdate_user_11, "testObject_HandleUpdate_user_11.json"), (Test.Wire.API.Golden.Generated.HandleUpdate_user.testObject_HandleUpdate_user_12, "testObject_HandleUpdate_user_12.json"), (Test.Wire.API.Golden.Generated.HandleUpdate_user.testObject_HandleUpdate_user_13, "testObject_HandleUpdate_user_13.json"), (Test.Wire.API.Golden.Generated.HandleUpdate_user.testObject_HandleUpdate_user_14, "testObject_HandleUpdate_user_14.json"), (Test.Wire.API.Golden.Generated.HandleUpdate_user.testObject_HandleUpdate_user_15, "testObject_HandleUpdate_user_15.json"), (Test.Wire.API.Golden.Generated.HandleUpdate_user.testObject_HandleUpdate_user_16, "testObject_HandleUpdate_user_16.json"), (Test.Wire.API.Golden.Generated.HandleUpdate_user.testObject_HandleUpdate_user_17, "testObject_HandleUpdate_user_17.json"), (Test.Wire.API.Golden.Generated.HandleUpdate_user.testObject_HandleUpdate_user_18, "testObject_HandleUpdate_user_18.json"), (Test.Wire.API.Golden.Generated.HandleUpdate_user.testObject_HandleUpdate_user_19, "testObject_HandleUpdate_user_19.json"), (Test.Wire.API.Golden.Generated.HandleUpdate_user.testObject_HandleUpdate_user_20, "testObject_HandleUpdate_user_20.json")], testGroup "Golden: DeleteUser_user" $ @@ -989,8 +985,6 @@ tests = testObjects [(Test.Wire.API.Golden.Generated.LoginCode_user.testObject_LoginCode_user_1, "testObject_LoginCode_user_1.json"), (Test.Wire.API.Golden.Generated.LoginCode_user.testObject_LoginCode_user_2, "testObject_LoginCode_user_2.json"), (Test.Wire.API.Golden.Generated.LoginCode_user.testObject_LoginCode_user_3, "testObject_LoginCode_user_3.json"), (Test.Wire.API.Golden.Generated.LoginCode_user.testObject_LoginCode_user_4, "testObject_LoginCode_user_4.json"), (Test.Wire.API.Golden.Generated.LoginCode_user.testObject_LoginCode_user_5, "testObject_LoginCode_user_5.json"), (Test.Wire.API.Golden.Generated.LoginCode_user.testObject_LoginCode_user_6, "testObject_LoginCode_user_6.json"), (Test.Wire.API.Golden.Generated.LoginCode_user.testObject_LoginCode_user_7, "testObject_LoginCode_user_7.json"), (Test.Wire.API.Golden.Generated.LoginCode_user.testObject_LoginCode_user_8, "testObject_LoginCode_user_8.json"), (Test.Wire.API.Golden.Generated.LoginCode_user.testObject_LoginCode_user_9, "testObject_LoginCode_user_9.json"), (Test.Wire.API.Golden.Generated.LoginCode_user.testObject_LoginCode_user_10, "testObject_LoginCode_user_10.json"), (Test.Wire.API.Golden.Generated.LoginCode_user.testObject_LoginCode_user_11, "testObject_LoginCode_user_11.json"), (Test.Wire.API.Golden.Generated.LoginCode_user.testObject_LoginCode_user_12, "testObject_LoginCode_user_12.json"), (Test.Wire.API.Golden.Generated.LoginCode_user.testObject_LoginCode_user_13, "testObject_LoginCode_user_13.json"), (Test.Wire.API.Golden.Generated.LoginCode_user.testObject_LoginCode_user_14, "testObject_LoginCode_user_14.json"), (Test.Wire.API.Golden.Generated.LoginCode_user.testObject_LoginCode_user_15, "testObject_LoginCode_user_15.json"), (Test.Wire.API.Golden.Generated.LoginCode_user.testObject_LoginCode_user_16, "testObject_LoginCode_user_16.json"), (Test.Wire.API.Golden.Generated.LoginCode_user.testObject_LoginCode_user_17, "testObject_LoginCode_user_17.json"), (Test.Wire.API.Golden.Generated.LoginCode_user.testObject_LoginCode_user_18, "testObject_LoginCode_user_18.json"), (Test.Wire.API.Golden.Generated.LoginCode_user.testObject_LoginCode_user_19, "testObject_LoginCode_user_19.json"), (Test.Wire.API.Golden.Generated.LoginCode_user.testObject_LoginCode_user_20, "testObject_LoginCode_user_20.json")], testGroup "Golden: PendingLoginCode_user" $ testObjects [(Test.Wire.API.Golden.Generated.PendingLoginCode_user.testObject_PendingLoginCode_user_1, "testObject_PendingLoginCode_user_1.json"), (Test.Wire.API.Golden.Generated.PendingLoginCode_user.testObject_PendingLoginCode_user_2, "testObject_PendingLoginCode_user_2.json"), (Test.Wire.API.Golden.Generated.PendingLoginCode_user.testObject_PendingLoginCode_user_3, "testObject_PendingLoginCode_user_3.json"), (Test.Wire.API.Golden.Generated.PendingLoginCode_user.testObject_PendingLoginCode_user_4, "testObject_PendingLoginCode_user_4.json"), (Test.Wire.API.Golden.Generated.PendingLoginCode_user.testObject_PendingLoginCode_user_5, "testObject_PendingLoginCode_user_5.json"), (Test.Wire.API.Golden.Generated.PendingLoginCode_user.testObject_PendingLoginCode_user_6, "testObject_PendingLoginCode_user_6.json"), (Test.Wire.API.Golden.Generated.PendingLoginCode_user.testObject_PendingLoginCode_user_7, "testObject_PendingLoginCode_user_7.json"), (Test.Wire.API.Golden.Generated.PendingLoginCode_user.testObject_PendingLoginCode_user_8, "testObject_PendingLoginCode_user_8.json"), (Test.Wire.API.Golden.Generated.PendingLoginCode_user.testObject_PendingLoginCode_user_9, "testObject_PendingLoginCode_user_9.json"), (Test.Wire.API.Golden.Generated.PendingLoginCode_user.testObject_PendingLoginCode_user_10, "testObject_PendingLoginCode_user_10.json"), (Test.Wire.API.Golden.Generated.PendingLoginCode_user.testObject_PendingLoginCode_user_11, "testObject_PendingLoginCode_user_11.json"), (Test.Wire.API.Golden.Generated.PendingLoginCode_user.testObject_PendingLoginCode_user_12, "testObject_PendingLoginCode_user_12.json"), (Test.Wire.API.Golden.Generated.PendingLoginCode_user.testObject_PendingLoginCode_user_13, "testObject_PendingLoginCode_user_13.json"), (Test.Wire.API.Golden.Generated.PendingLoginCode_user.testObject_PendingLoginCode_user_14, "testObject_PendingLoginCode_user_14.json"), (Test.Wire.API.Golden.Generated.PendingLoginCode_user.testObject_PendingLoginCode_user_15, "testObject_PendingLoginCode_user_15.json"), (Test.Wire.API.Golden.Generated.PendingLoginCode_user.testObject_PendingLoginCode_user_16, "testObject_PendingLoginCode_user_16.json"), (Test.Wire.API.Golden.Generated.PendingLoginCode_user.testObject_PendingLoginCode_user_17, "testObject_PendingLoginCode_user_17.json"), (Test.Wire.API.Golden.Generated.PendingLoginCode_user.testObject_PendingLoginCode_user_18, "testObject_PendingLoginCode_user_18.json"), (Test.Wire.API.Golden.Generated.PendingLoginCode_user.testObject_PendingLoginCode_user_19, "testObject_PendingLoginCode_user_19.json"), (Test.Wire.API.Golden.Generated.PendingLoginCode_user.testObject_PendingLoginCode_user_20, "testObject_PendingLoginCode_user_20.json")], - testGroup "Golden: SendLoginCode_user" $ - testObjects [(Test.Wire.API.Golden.Generated.SendLoginCode_user.testObject_SendLoginCode_user_1, "testObject_SendLoginCode_user_1.json"), (Test.Wire.API.Golden.Generated.SendLoginCode_user.testObject_SendLoginCode_user_2, "testObject_SendLoginCode_user_2.json"), (Test.Wire.API.Golden.Generated.SendLoginCode_user.testObject_SendLoginCode_user_3, "testObject_SendLoginCode_user_3.json"), (Test.Wire.API.Golden.Generated.SendLoginCode_user.testObject_SendLoginCode_user_4, "testObject_SendLoginCode_user_4.json"), (Test.Wire.API.Golden.Generated.SendLoginCode_user.testObject_SendLoginCode_user_5, "testObject_SendLoginCode_user_5.json"), (Test.Wire.API.Golden.Generated.SendLoginCode_user.testObject_SendLoginCode_user_6, "testObject_SendLoginCode_user_6.json"), (Test.Wire.API.Golden.Generated.SendLoginCode_user.testObject_SendLoginCode_user_7, "testObject_SendLoginCode_user_7.json"), (Test.Wire.API.Golden.Generated.SendLoginCode_user.testObject_SendLoginCode_user_8, "testObject_SendLoginCode_user_8.json"), (Test.Wire.API.Golden.Generated.SendLoginCode_user.testObject_SendLoginCode_user_9, "testObject_SendLoginCode_user_9.json"), (Test.Wire.API.Golden.Generated.SendLoginCode_user.testObject_SendLoginCode_user_10, "testObject_SendLoginCode_user_10.json"), (Test.Wire.API.Golden.Generated.SendLoginCode_user.testObject_SendLoginCode_user_11, "testObject_SendLoginCode_user_11.json"), (Test.Wire.API.Golden.Generated.SendLoginCode_user.testObject_SendLoginCode_user_12, "testObject_SendLoginCode_user_12.json"), (Test.Wire.API.Golden.Generated.SendLoginCode_user.testObject_SendLoginCode_user_13, "testObject_SendLoginCode_user_13.json"), (Test.Wire.API.Golden.Generated.SendLoginCode_user.testObject_SendLoginCode_user_14, "testObject_SendLoginCode_user_14.json"), (Test.Wire.API.Golden.Generated.SendLoginCode_user.testObject_SendLoginCode_user_15, "testObject_SendLoginCode_user_15.json"), (Test.Wire.API.Golden.Generated.SendLoginCode_user.testObject_SendLoginCode_user_16, "testObject_SendLoginCode_user_16.json"), (Test.Wire.API.Golden.Generated.SendLoginCode_user.testObject_SendLoginCode_user_17, "testObject_SendLoginCode_user_17.json"), (Test.Wire.API.Golden.Generated.SendLoginCode_user.testObject_SendLoginCode_user_18, "testObject_SendLoginCode_user_18.json"), (Test.Wire.API.Golden.Generated.SendLoginCode_user.testObject_SendLoginCode_user_19, "testObject_SendLoginCode_user_19.json"), (Test.Wire.API.Golden.Generated.SendLoginCode_user.testObject_SendLoginCode_user_20, "testObject_SendLoginCode_user_20.json")], testGroup "Golden: LoginCodeTimeout_user" $ testObjects [(Test.Wire.API.Golden.Generated.LoginCodeTimeout_user.testObject_LoginCodeTimeout_user_1, "testObject_LoginCodeTimeout_user_1.json"), (Test.Wire.API.Golden.Generated.LoginCodeTimeout_user.testObject_LoginCodeTimeout_user_2, "testObject_LoginCodeTimeout_user_2.json"), (Test.Wire.API.Golden.Generated.LoginCodeTimeout_user.testObject_LoginCodeTimeout_user_3, "testObject_LoginCodeTimeout_user_3.json"), (Test.Wire.API.Golden.Generated.LoginCodeTimeout_user.testObject_LoginCodeTimeout_user_4, "testObject_LoginCodeTimeout_user_4.json"), (Test.Wire.API.Golden.Generated.LoginCodeTimeout_user.testObject_LoginCodeTimeout_user_5, "testObject_LoginCodeTimeout_user_5.json"), (Test.Wire.API.Golden.Generated.LoginCodeTimeout_user.testObject_LoginCodeTimeout_user_6, "testObject_LoginCodeTimeout_user_6.json"), (Test.Wire.API.Golden.Generated.LoginCodeTimeout_user.testObject_LoginCodeTimeout_user_7, "testObject_LoginCodeTimeout_user_7.json"), (Test.Wire.API.Golden.Generated.LoginCodeTimeout_user.testObject_LoginCodeTimeout_user_8, "testObject_LoginCodeTimeout_user_8.json"), (Test.Wire.API.Golden.Generated.LoginCodeTimeout_user.testObject_LoginCodeTimeout_user_9, "testObject_LoginCodeTimeout_user_9.json"), (Test.Wire.API.Golden.Generated.LoginCodeTimeout_user.testObject_LoginCodeTimeout_user_10, "testObject_LoginCodeTimeout_user_10.json"), (Test.Wire.API.Golden.Generated.LoginCodeTimeout_user.testObject_LoginCodeTimeout_user_11, "testObject_LoginCodeTimeout_user_11.json"), (Test.Wire.API.Golden.Generated.LoginCodeTimeout_user.testObject_LoginCodeTimeout_user_12, "testObject_LoginCodeTimeout_user_12.json"), (Test.Wire.API.Golden.Generated.LoginCodeTimeout_user.testObject_LoginCodeTimeout_user_13, "testObject_LoginCodeTimeout_user_13.json"), (Test.Wire.API.Golden.Generated.LoginCodeTimeout_user.testObject_LoginCodeTimeout_user_14, "testObject_LoginCodeTimeout_user_14.json"), (Test.Wire.API.Golden.Generated.LoginCodeTimeout_user.testObject_LoginCodeTimeout_user_15, "testObject_LoginCodeTimeout_user_15.json"), (Test.Wire.API.Golden.Generated.LoginCodeTimeout_user.testObject_LoginCodeTimeout_user_16, "testObject_LoginCodeTimeout_user_16.json"), (Test.Wire.API.Golden.Generated.LoginCodeTimeout_user.testObject_LoginCodeTimeout_user_17, "testObject_LoginCodeTimeout_user_17.json"), (Test.Wire.API.Golden.Generated.LoginCodeTimeout_user.testObject_LoginCodeTimeout_user_18, "testObject_LoginCodeTimeout_user_18.json"), (Test.Wire.API.Golden.Generated.LoginCodeTimeout_user.testObject_LoginCodeTimeout_user_19, "testObject_LoginCodeTimeout_user_19.json"), (Test.Wire.API.Golden.Generated.LoginCodeTimeout_user.testObject_LoginCodeTimeout_user_20, "testObject_LoginCodeTimeout_user_20.json")], testGroup "Golden: CookieLabel_user" $ diff --git a/libs/wire-api/test/golden/Test/Wire/API/Golden/Generated/PhoneUpdate_user.hs b/libs/wire-api/test/golden/Test/Wire/API/Golden/Generated/PhoneUpdate_user.hs deleted file mode 100644 index d0cf97e9ab8..00000000000 --- a/libs/wire-api/test/golden/Test/Wire/API/Golden/Generated/PhoneUpdate_user.hs +++ /dev/null @@ -1,80 +0,0 @@ --- This file is part of the Wire Server implementation. --- --- Copyright (C) 2022 Wire Swiss GmbH --- --- This program is free software: you can redistribute it and/or modify it under --- the terms of the GNU Affero General Public License as published by the Free --- Software Foundation, either version 3 of the License, or (at your option) any --- later version. --- --- This program is distributed in the hope that it will be useful, but WITHOUT --- ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS --- FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more --- details. --- --- You should have received a copy of the GNU Affero General Public License along --- with this program. If not, see . - -module Test.Wire.API.Golden.Generated.PhoneUpdate_user where - -import Wire.API.User (Phone (Phone, fromPhone), PhoneUpdate (..)) - -testObject_PhoneUpdate_user_1 :: PhoneUpdate -testObject_PhoneUpdate_user_1 = PhoneUpdate {puPhone = Phone {fromPhone = "+059566184168"}} - -testObject_PhoneUpdate_user_2 :: PhoneUpdate -testObject_PhoneUpdate_user_2 = PhoneUpdate {puPhone = Phone {fromPhone = "+030094397"}} - -testObject_PhoneUpdate_user_3 :: PhoneUpdate -testObject_PhoneUpdate_user_3 = PhoneUpdate {puPhone = Phone {fromPhone = "+39788099045"}} - -testObject_PhoneUpdate_user_4 :: PhoneUpdate -testObject_PhoneUpdate_user_4 = PhoneUpdate {puPhone = Phone {fromPhone = "+6060447691"}} - -testObject_PhoneUpdate_user_5 :: PhoneUpdate -testObject_PhoneUpdate_user_5 = PhoneUpdate {puPhone = Phone {fromPhone = "+27199438794"}} - -testObject_PhoneUpdate_user_6 :: PhoneUpdate -testObject_PhoneUpdate_user_6 = PhoneUpdate {puPhone = Phone {fromPhone = "+403076793307922"}} - -testObject_PhoneUpdate_user_7 :: PhoneUpdate -testObject_PhoneUpdate_user_7 = PhoneUpdate {puPhone = Phone {fromPhone = "+58949773"}} - -testObject_PhoneUpdate_user_8 :: PhoneUpdate -testObject_PhoneUpdate_user_8 = PhoneUpdate {puPhone = Phone {fromPhone = "+5689710422639"}} - -testObject_PhoneUpdate_user_9 :: PhoneUpdate -testObject_PhoneUpdate_user_9 = PhoneUpdate {puPhone = Phone {fromPhone = "+60751390"}} - -testObject_PhoneUpdate_user_10 :: PhoneUpdate -testObject_PhoneUpdate_user_10 = PhoneUpdate {puPhone = Phone {fromPhone = "+431000511612"}} - -testObject_PhoneUpdate_user_11 :: PhoneUpdate -testObject_PhoneUpdate_user_11 = PhoneUpdate {puPhone = Phone {fromPhone = "+1939668594372"}} - -testObject_PhoneUpdate_user_12 :: PhoneUpdate -testObject_PhoneUpdate_user_12 = PhoneUpdate {puPhone = Phone {fromPhone = "+156939434"}} - -testObject_PhoneUpdate_user_13 :: PhoneUpdate -testObject_PhoneUpdate_user_13 = PhoneUpdate {puPhone = Phone {fromPhone = "+54660214"}} - -testObject_PhoneUpdate_user_14 :: PhoneUpdate -testObject_PhoneUpdate_user_14 = PhoneUpdate {puPhone = Phone {fromPhone = "+17373888509447"}} - -testObject_PhoneUpdate_user_15 :: PhoneUpdate -testObject_PhoneUpdate_user_15 = PhoneUpdate {puPhone = Phone {fromPhone = "+817869255119807"}} - -testObject_PhoneUpdate_user_16 :: PhoneUpdate -testObject_PhoneUpdate_user_16 = PhoneUpdate {puPhone = Phone {fromPhone = "+541926748"}} - -testObject_PhoneUpdate_user_17 :: PhoneUpdate -testObject_PhoneUpdate_user_17 = PhoneUpdate {puPhone = Phone {fromPhone = "+7836584019595"}} - -testObject_PhoneUpdate_user_18 :: PhoneUpdate -testObject_PhoneUpdate_user_18 = PhoneUpdate {puPhone = Phone {fromPhone = "+3488257402473"}} - -testObject_PhoneUpdate_user_19 :: PhoneUpdate -testObject_PhoneUpdate_user_19 = PhoneUpdate {puPhone = Phone {fromPhone = "+1413522786322"}} - -testObject_PhoneUpdate_user_20 :: PhoneUpdate -testObject_PhoneUpdate_user_20 = PhoneUpdate {puPhone = Phone {fromPhone = "+64700149027"}} diff --git a/libs/wire-api/test/golden/Test/Wire/API/Golden/Generated/SendLoginCode_user.hs b/libs/wire-api/test/golden/Test/Wire/API/Golden/Generated/SendLoginCode_user.hs deleted file mode 100644 index ba2d75d38a9..00000000000 --- a/libs/wire-api/test/golden/Test/Wire/API/Golden/Generated/SendLoginCode_user.hs +++ /dev/null @@ -1,102 +0,0 @@ --- This file is part of the Wire Server implementation. --- --- Copyright (C) 2022 Wire Swiss GmbH --- --- This program is free software: you can redistribute it and/or modify it under --- the terms of the GNU Affero General Public License as published by the Free --- Software Foundation, either version 3 of the License, or (at your option) any --- later version. --- --- This program is distributed in the hope that it will be useful, but WITHOUT --- ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS --- FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more --- details. --- --- You should have received a copy of the GNU Affero General Public License along --- with this program. If not, see . - -module Test.Wire.API.Golden.Generated.SendLoginCode_user where - -import Imports (Bool (False, True)) -import Wire.API.User (Phone (Phone, fromPhone)) -import Wire.API.User.Auth (SendLoginCode (..)) - -testObject_SendLoginCode_user_1 :: SendLoginCode -testObject_SendLoginCode_user_1 = - SendLoginCode {lcPhone = Phone {fromPhone = "+7852237164"}, lcCall = True, lcForce = False} - -testObject_SendLoginCode_user_2 :: SendLoginCode -testObject_SendLoginCode_user_2 = - SendLoginCode {lcPhone = Phone {fromPhone = "+1361303129"}, lcCall = False, lcForce = True} - -testObject_SendLoginCode_user_3 :: SendLoginCode -testObject_SendLoginCode_user_3 = - SendLoginCode {lcPhone = Phone {fromPhone = "+0278364030"}, lcCall = False, lcForce = False} - -testObject_SendLoginCode_user_4 :: SendLoginCode -testObject_SendLoginCode_user_4 = - SendLoginCode {lcPhone = Phone {fromPhone = "+7017081269"}, lcCall = True, lcForce = True} - -testObject_SendLoginCode_user_5 :: SendLoginCode -testObject_SendLoginCode_user_5 = - SendLoginCode {lcPhone = Phone {fromPhone = "+7210550349"}, lcCall = True, lcForce = True} - -testObject_SendLoginCode_user_6 :: SendLoginCode -testObject_SendLoginCode_user_6 = - SendLoginCode {lcPhone = Phone {fromPhone = "+57561912568"}, lcCall = True, lcForce = True} - -testObject_SendLoginCode_user_7 :: SendLoginCode -testObject_SendLoginCode_user_7 = - SendLoginCode {lcPhone = Phone {fromPhone = "+0478831396"}, lcCall = False, lcForce = True} - -testObject_SendLoginCode_user_8 :: SendLoginCode -testObject_SendLoginCode_user_8 = - SendLoginCode {lcPhone = Phone {fromPhone = "+731463104296"}, lcCall = True, lcForce = False} - -testObject_SendLoginCode_user_9 :: SendLoginCode -testObject_SendLoginCode_user_9 = - SendLoginCode {lcPhone = Phone {fromPhone = "+95425609807"}, lcCall = True, lcForce = False} - -testObject_SendLoginCode_user_10 :: SendLoginCode -testObject_SendLoginCode_user_10 = - SendLoginCode {lcPhone = Phone {fromPhone = "+43915096382846"}, lcCall = False, lcForce = False} - -testObject_SendLoginCode_user_11 :: SendLoginCode -testObject_SendLoginCode_user_11 = - SendLoginCode {lcPhone = Phone {fromPhone = "+08251498"}, lcCall = True, lcForce = False} - -testObject_SendLoginCode_user_12 :: SendLoginCode -testObject_SendLoginCode_user_12 = - SendLoginCode {lcPhone = Phone {fromPhone = "+8151944856397"}, lcCall = False, lcForce = True} - -testObject_SendLoginCode_user_13 :: SendLoginCode -testObject_SendLoginCode_user_13 = - SendLoginCode {lcPhone = Phone {fromPhone = "+40692963"}, lcCall = False, lcForce = True} - -testObject_SendLoginCode_user_14 :: SendLoginCode -testObject_SendLoginCode_user_14 = - SendLoginCode {lcPhone = Phone {fromPhone = "+661842350866268"}, lcCall = True, lcForce = True} - -testObject_SendLoginCode_user_15 :: SendLoginCode -testObject_SendLoginCode_user_15 = - SendLoginCode {lcPhone = Phone {fromPhone = "+921771798513"}, lcCall = True, lcForce = False} - -testObject_SendLoginCode_user_16 :: SendLoginCode -testObject_SendLoginCode_user_16 = - SendLoginCode {lcPhone = Phone {fromPhone = "+250712302"}, lcCall = False, lcForce = False} - -testObject_SendLoginCode_user_17 :: SendLoginCode -testObject_SendLoginCode_user_17 = - SendLoginCode {lcPhone = Phone {fromPhone = "+073544070484537"}, lcCall = False, lcForce = False} - -testObject_SendLoginCode_user_18 :: SendLoginCode -testObject_SendLoginCode_user_18 = - SendLoginCode {lcPhone = Phone {fromPhone = "+938837684"}, lcCall = True, lcForce = False} - -testObject_SendLoginCode_user_19 :: SendLoginCode -testObject_SendLoginCode_user_19 = - SendLoginCode {lcPhone = Phone {fromPhone = "+8081583978"}, lcCall = False, lcForce = True} - -testObject_SendLoginCode_user_20 :: SendLoginCode -testObject_SendLoginCode_user_20 = - SendLoginCode {lcPhone = Phone {fromPhone = "+55901961505705"}, lcCall = True, lcForce = False} diff --git a/libs/wire-api/test/golden/testObject_PhoneUpdate_user_1.json b/libs/wire-api/test/golden/testObject_PhoneUpdate_user_1.json deleted file mode 100644 index e2e0a54d510..00000000000 --- a/libs/wire-api/test/golden/testObject_PhoneUpdate_user_1.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "phone": "+059566184168" -} diff --git a/libs/wire-api/test/golden/testObject_PhoneUpdate_user_10.json b/libs/wire-api/test/golden/testObject_PhoneUpdate_user_10.json deleted file mode 100644 index 2edaeeb14c3..00000000000 --- a/libs/wire-api/test/golden/testObject_PhoneUpdate_user_10.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "phone": "+431000511612" -} diff --git a/libs/wire-api/test/golden/testObject_PhoneUpdate_user_11.json b/libs/wire-api/test/golden/testObject_PhoneUpdate_user_11.json deleted file mode 100644 index bad9e033264..00000000000 --- a/libs/wire-api/test/golden/testObject_PhoneUpdate_user_11.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "phone": "+1939668594372" -} diff --git a/libs/wire-api/test/golden/testObject_PhoneUpdate_user_12.json b/libs/wire-api/test/golden/testObject_PhoneUpdate_user_12.json deleted file mode 100644 index 22a44744353..00000000000 --- a/libs/wire-api/test/golden/testObject_PhoneUpdate_user_12.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "phone": "+156939434" -} diff --git a/libs/wire-api/test/golden/testObject_PhoneUpdate_user_13.json b/libs/wire-api/test/golden/testObject_PhoneUpdate_user_13.json deleted file mode 100644 index 45f00e3be08..00000000000 --- a/libs/wire-api/test/golden/testObject_PhoneUpdate_user_13.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "phone": "+54660214" -} diff --git a/libs/wire-api/test/golden/testObject_PhoneUpdate_user_14.json b/libs/wire-api/test/golden/testObject_PhoneUpdate_user_14.json deleted file mode 100644 index 0993ecb56ba..00000000000 --- a/libs/wire-api/test/golden/testObject_PhoneUpdate_user_14.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "phone": "+17373888509447" -} diff --git a/libs/wire-api/test/golden/testObject_PhoneUpdate_user_15.json b/libs/wire-api/test/golden/testObject_PhoneUpdate_user_15.json deleted file mode 100644 index 119e498a1d4..00000000000 --- a/libs/wire-api/test/golden/testObject_PhoneUpdate_user_15.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "phone": "+817869255119807" -} diff --git a/libs/wire-api/test/golden/testObject_PhoneUpdate_user_16.json b/libs/wire-api/test/golden/testObject_PhoneUpdate_user_16.json deleted file mode 100644 index 2fe9ce33d37..00000000000 --- a/libs/wire-api/test/golden/testObject_PhoneUpdate_user_16.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "phone": "+541926748" -} diff --git a/libs/wire-api/test/golden/testObject_PhoneUpdate_user_17.json b/libs/wire-api/test/golden/testObject_PhoneUpdate_user_17.json deleted file mode 100644 index 28dd8427d26..00000000000 --- a/libs/wire-api/test/golden/testObject_PhoneUpdate_user_17.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "phone": "+7836584019595" -} diff --git a/libs/wire-api/test/golden/testObject_PhoneUpdate_user_18.json b/libs/wire-api/test/golden/testObject_PhoneUpdate_user_18.json deleted file mode 100644 index 421b57587df..00000000000 --- a/libs/wire-api/test/golden/testObject_PhoneUpdate_user_18.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "phone": "+3488257402473" -} diff --git a/libs/wire-api/test/golden/testObject_PhoneUpdate_user_19.json b/libs/wire-api/test/golden/testObject_PhoneUpdate_user_19.json deleted file mode 100644 index 8ca748e27a0..00000000000 --- a/libs/wire-api/test/golden/testObject_PhoneUpdate_user_19.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "phone": "+1413522786322" -} diff --git a/libs/wire-api/test/golden/testObject_PhoneUpdate_user_2.json b/libs/wire-api/test/golden/testObject_PhoneUpdate_user_2.json deleted file mode 100644 index 41577586d99..00000000000 --- a/libs/wire-api/test/golden/testObject_PhoneUpdate_user_2.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "phone": "+030094397" -} diff --git a/libs/wire-api/test/golden/testObject_PhoneUpdate_user_20.json b/libs/wire-api/test/golden/testObject_PhoneUpdate_user_20.json deleted file mode 100644 index 992bc694e42..00000000000 --- a/libs/wire-api/test/golden/testObject_PhoneUpdate_user_20.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "phone": "+64700149027" -} diff --git a/libs/wire-api/test/golden/testObject_PhoneUpdate_user_3.json b/libs/wire-api/test/golden/testObject_PhoneUpdate_user_3.json deleted file mode 100644 index 932505249ea..00000000000 --- a/libs/wire-api/test/golden/testObject_PhoneUpdate_user_3.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "phone": "+39788099045" -} diff --git a/libs/wire-api/test/golden/testObject_PhoneUpdate_user_4.json b/libs/wire-api/test/golden/testObject_PhoneUpdate_user_4.json deleted file mode 100644 index b9a771478de..00000000000 --- a/libs/wire-api/test/golden/testObject_PhoneUpdate_user_4.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "phone": "+6060447691" -} diff --git a/libs/wire-api/test/golden/testObject_PhoneUpdate_user_5.json b/libs/wire-api/test/golden/testObject_PhoneUpdate_user_5.json deleted file mode 100644 index b7a95f7759a..00000000000 --- a/libs/wire-api/test/golden/testObject_PhoneUpdate_user_5.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "phone": "+27199438794" -} diff --git a/libs/wire-api/test/golden/testObject_PhoneUpdate_user_6.json b/libs/wire-api/test/golden/testObject_PhoneUpdate_user_6.json deleted file mode 100644 index a0a90e34009..00000000000 --- a/libs/wire-api/test/golden/testObject_PhoneUpdate_user_6.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "phone": "+403076793307922" -} diff --git a/libs/wire-api/test/golden/testObject_PhoneUpdate_user_7.json b/libs/wire-api/test/golden/testObject_PhoneUpdate_user_7.json deleted file mode 100644 index b1112e1e2da..00000000000 --- a/libs/wire-api/test/golden/testObject_PhoneUpdate_user_7.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "phone": "+58949773" -} diff --git a/libs/wire-api/test/golden/testObject_PhoneUpdate_user_8.json b/libs/wire-api/test/golden/testObject_PhoneUpdate_user_8.json deleted file mode 100644 index 4e030e1182c..00000000000 --- a/libs/wire-api/test/golden/testObject_PhoneUpdate_user_8.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "phone": "+5689710422639" -} diff --git a/libs/wire-api/test/golden/testObject_PhoneUpdate_user_9.json b/libs/wire-api/test/golden/testObject_PhoneUpdate_user_9.json deleted file mode 100644 index 07de23169b0..00000000000 --- a/libs/wire-api/test/golden/testObject_PhoneUpdate_user_9.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "phone": "+60751390" -} diff --git a/libs/wire-api/test/golden/testObject_SendLoginCode_user_1.json b/libs/wire-api/test/golden/testObject_SendLoginCode_user_1.json deleted file mode 100644 index 1bafe991f61..00000000000 --- a/libs/wire-api/test/golden/testObject_SendLoginCode_user_1.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "force": false, - "phone": "+7852237164", - "voice_call": true -} diff --git a/libs/wire-api/test/golden/testObject_SendLoginCode_user_10.json b/libs/wire-api/test/golden/testObject_SendLoginCode_user_10.json deleted file mode 100644 index 5dacbe14be0..00000000000 --- a/libs/wire-api/test/golden/testObject_SendLoginCode_user_10.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "force": false, - "phone": "+43915096382846", - "voice_call": false -} diff --git a/libs/wire-api/test/golden/testObject_SendLoginCode_user_11.json b/libs/wire-api/test/golden/testObject_SendLoginCode_user_11.json deleted file mode 100644 index 6a4551985f9..00000000000 --- a/libs/wire-api/test/golden/testObject_SendLoginCode_user_11.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "force": false, - "phone": "+08251498", - "voice_call": true -} diff --git a/libs/wire-api/test/golden/testObject_SendLoginCode_user_12.json b/libs/wire-api/test/golden/testObject_SendLoginCode_user_12.json deleted file mode 100644 index 8b562bf8bd7..00000000000 --- a/libs/wire-api/test/golden/testObject_SendLoginCode_user_12.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "force": true, - "phone": "+8151944856397", - "voice_call": false -} diff --git a/libs/wire-api/test/golden/testObject_SendLoginCode_user_13.json b/libs/wire-api/test/golden/testObject_SendLoginCode_user_13.json deleted file mode 100644 index bd154b75205..00000000000 --- a/libs/wire-api/test/golden/testObject_SendLoginCode_user_13.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "force": true, - "phone": "+40692963", - "voice_call": false -} diff --git a/libs/wire-api/test/golden/testObject_SendLoginCode_user_14.json b/libs/wire-api/test/golden/testObject_SendLoginCode_user_14.json deleted file mode 100644 index f737860916b..00000000000 --- a/libs/wire-api/test/golden/testObject_SendLoginCode_user_14.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "force": true, - "phone": "+661842350866268", - "voice_call": true -} diff --git a/libs/wire-api/test/golden/testObject_SendLoginCode_user_15.json b/libs/wire-api/test/golden/testObject_SendLoginCode_user_15.json deleted file mode 100644 index c16cc5f52f8..00000000000 --- a/libs/wire-api/test/golden/testObject_SendLoginCode_user_15.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "force": false, - "phone": "+921771798513", - "voice_call": true -} diff --git a/libs/wire-api/test/golden/testObject_SendLoginCode_user_16.json b/libs/wire-api/test/golden/testObject_SendLoginCode_user_16.json deleted file mode 100644 index db2431d5583..00000000000 --- a/libs/wire-api/test/golden/testObject_SendLoginCode_user_16.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "force": false, - "phone": "+250712302", - "voice_call": false -} diff --git a/libs/wire-api/test/golden/testObject_SendLoginCode_user_17.json b/libs/wire-api/test/golden/testObject_SendLoginCode_user_17.json deleted file mode 100644 index 190eb5fc0ed..00000000000 --- a/libs/wire-api/test/golden/testObject_SendLoginCode_user_17.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "force": false, - "phone": "+073544070484537", - "voice_call": false -} diff --git a/libs/wire-api/test/golden/testObject_SendLoginCode_user_18.json b/libs/wire-api/test/golden/testObject_SendLoginCode_user_18.json deleted file mode 100644 index f4e69f0d7da..00000000000 --- a/libs/wire-api/test/golden/testObject_SendLoginCode_user_18.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "force": false, - "phone": "+938837684", - "voice_call": true -} diff --git a/libs/wire-api/test/golden/testObject_SendLoginCode_user_19.json b/libs/wire-api/test/golden/testObject_SendLoginCode_user_19.json deleted file mode 100644 index 50aa6c62499..00000000000 --- a/libs/wire-api/test/golden/testObject_SendLoginCode_user_19.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "force": true, - "phone": "+8081583978", - "voice_call": false -} diff --git a/libs/wire-api/test/golden/testObject_SendLoginCode_user_2.json b/libs/wire-api/test/golden/testObject_SendLoginCode_user_2.json deleted file mode 100644 index 46953585e10..00000000000 --- a/libs/wire-api/test/golden/testObject_SendLoginCode_user_2.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "force": true, - "phone": "+1361303129", - "voice_call": false -} diff --git a/libs/wire-api/test/golden/testObject_SendLoginCode_user_20.json b/libs/wire-api/test/golden/testObject_SendLoginCode_user_20.json deleted file mode 100644 index ada6762a401..00000000000 --- a/libs/wire-api/test/golden/testObject_SendLoginCode_user_20.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "force": false, - "phone": "+55901961505705", - "voice_call": true -} diff --git a/libs/wire-api/test/golden/testObject_SendLoginCode_user_3.json b/libs/wire-api/test/golden/testObject_SendLoginCode_user_3.json deleted file mode 100644 index 1902ecd0bc7..00000000000 --- a/libs/wire-api/test/golden/testObject_SendLoginCode_user_3.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "force": false, - "phone": "+0278364030", - "voice_call": false -} diff --git a/libs/wire-api/test/golden/testObject_SendLoginCode_user_4.json b/libs/wire-api/test/golden/testObject_SendLoginCode_user_4.json deleted file mode 100644 index 47ff049e6ce..00000000000 --- a/libs/wire-api/test/golden/testObject_SendLoginCode_user_4.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "force": true, - "phone": "+7017081269", - "voice_call": true -} diff --git a/libs/wire-api/test/golden/testObject_SendLoginCode_user_5.json b/libs/wire-api/test/golden/testObject_SendLoginCode_user_5.json deleted file mode 100644 index 6a1b8d2ea0b..00000000000 --- a/libs/wire-api/test/golden/testObject_SendLoginCode_user_5.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "force": true, - "phone": "+7210550349", - "voice_call": true -} diff --git a/libs/wire-api/test/golden/testObject_SendLoginCode_user_6.json b/libs/wire-api/test/golden/testObject_SendLoginCode_user_6.json deleted file mode 100644 index 7f083fdd29a..00000000000 --- a/libs/wire-api/test/golden/testObject_SendLoginCode_user_6.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "force": true, - "phone": "+57561912568", - "voice_call": true -} diff --git a/libs/wire-api/test/golden/testObject_SendLoginCode_user_7.json b/libs/wire-api/test/golden/testObject_SendLoginCode_user_7.json deleted file mode 100644 index 2965c03f43a..00000000000 --- a/libs/wire-api/test/golden/testObject_SendLoginCode_user_7.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "force": true, - "phone": "+0478831396", - "voice_call": false -} diff --git a/libs/wire-api/test/golden/testObject_SendLoginCode_user_8.json b/libs/wire-api/test/golden/testObject_SendLoginCode_user_8.json deleted file mode 100644 index f99c81f3bc8..00000000000 --- a/libs/wire-api/test/golden/testObject_SendLoginCode_user_8.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "force": false, - "phone": "+731463104296", - "voice_call": true -} diff --git a/libs/wire-api/test/golden/testObject_SendLoginCode_user_9.json b/libs/wire-api/test/golden/testObject_SendLoginCode_user_9.json deleted file mode 100644 index 6050998c9a1..00000000000 --- a/libs/wire-api/test/golden/testObject_SendLoginCode_user_9.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "force": false, - "phone": "+95425609807", - "voice_call": true -} From 88e5a7d20fad3f6d5eea493ee14de715ea32c998 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Thu, 29 Jan 2026 07:37:19 +0000 Subject: [PATCH 5/7] Remove tools/db/phone-users dead code and fix cabal.project Co-authored-by: fisx <10210727+fisx@users.noreply.github.com> --- cabal.project | 7 +- integration/default.nix | 200 --------- libs/bilge/default.nix | 59 --- libs/brig-types/default.nix | 41 -- libs/cargohold-types/default.nix | 25 -- libs/cassandra-util/default.nix | 53 --- libs/deriving-swagger2/default.nix | 15 - libs/dns-util/default.nix | 29 -- libs/extended/default.nix | 108 ----- libs/galley-types/default.nix | 46 -- libs/hscim/default.nix | 136 ------ libs/http2-manager/default.nix | 58 --- libs/imports/default.nix | 37 -- libs/jwt-tools/default.nix | 35 -- libs/metrics-core/default.nix | 23 - libs/metrics-wai/default.nix | 39 -- libs/polysemy-wire-zoo/default.nix | 65 --- libs/saml2-web-sso/default.nix | 234 ---------- libs/schema-profunctor/default.nix | 52 --- libs/sodium-crypto-sign/default.nix | 23 - libs/ssl-util/default.nix | 27 -- libs/tasty-cannon/default.nix | 45 -- libs/types-common-aws/default.nix | 35 -- libs/types-common-journal/default.nix | 32 -- libs/types-common/default.nix | 137 ------ libs/wai-utilities/default.nix | 80 ---- libs/wire-api-federation/default.nix | 104 ----- libs/wire-api/default.nix | 288 ------------- libs/wire-message-proto-lens/default.nix | 19 - libs/wire-otel/default.nix | 43 -- libs/wire-subsystems/default.nix | 365 ---------------- libs/zauth/default.nix | 69 --- services/background-worker/default.nix | 127 ------ services/brig/default.nix | 399 ------------------ services/cannon/default.nix | 133 ------ services/cargohold/default.nix | 192 --------- services/federator/default.nix | 214 ---------- services/galley/default.nix | 310 -------------- services/gundeck/default.nix | 243 ----------- services/proxy/default.nix | 72 ---- services/spar/default.nix | 242 ----------- tools/db/assets/default.nix | 41 -- tools/db/auto-whitelist/default.nix | 34 -- tools/db/find-undead/default.nix | 44 -- tools/db/inconsistencies/default.nix | 48 --- tools/db/migrate-features/default.nix | 44 -- tools/db/migrate-sso-feature-flag/default.nix | 38 -- tools/db/mls-users/default.nix | 48 --- tools/db/move-team/default.nix | 72 ---- tools/db/phone-users/.ormolu | 1 - tools/db/phone-users/README.md | 44 -- tools/db/phone-users/app/Main.hs | 23 - tools/db/phone-users/default.nix | 48 --- tools/db/phone-users/phone-users.cabal | 96 ----- tools/db/phone-users/src/PhoneUsers/Lib.hs | 178 -------- tools/db/phone-users/src/PhoneUsers/Types.hs | 186 -------- .../db/repair-brig-clients-table/default.nix | 34 -- tools/db/repair-handles/default.nix | 40 -- tools/db/service-backfill/default.nix | 34 -- tools/db/team-info/default.nix | 36 -- tools/entreprise-provisioning/default.nix | 64 --- tools/mlsstats/default.nix | 52 --- tools/rabbitmq-consumer/default.nix | 41 -- tools/rex/default.nix | 52 --- tools/stern/default.nix | 129 ------ tools/test-stats/default.nix | 36 -- 66 files changed, 3 insertions(+), 5921 deletions(-) delete mode 120000 tools/db/phone-users/.ormolu delete mode 100644 tools/db/phone-users/README.md delete mode 100644 tools/db/phone-users/app/Main.hs delete mode 100644 tools/db/phone-users/default.nix delete mode 100644 tools/db/phone-users/phone-users.cabal delete mode 100644 tools/db/phone-users/src/PhoneUsers/Lib.hs delete mode 100644 tools/db/phone-users/src/PhoneUsers/Types.hs diff --git a/cabal.project b/cabal.project index 1d811340501..5129a466f03 100644 --- a/cabal.project +++ b/cabal.project @@ -41,7 +41,7 @@ packages: , services/galley/ , services/gundeck/ , services/proxy/ - -- , services/wire-server-enterprise + , services/wire-server-enterprise , services/spar/ , tools/db/assets/ , tools/db/auto-whitelist/ @@ -51,7 +51,6 @@ packages: , tools/db/migrate-features/ , tools/db/mls-users/ , tools/db/move-team/ - , tools/db/phone-users/ , tools/db/repair-handles/ , tools/db/team-info/ , tools/db/repair-brig-clients-table/ @@ -90,8 +89,8 @@ package extended flags: +nix-dev-env package metrics-wai flags: +nix-dev-env --- package wire-server-enterprise --- flags: +nix-dev-env +package wire-server-enterprise + flags: +nix-dev-env package spar flags: +nix-dev-env package wire-message-proto-lens diff --git a/integration/default.nix b/integration/default.nix index 871bf6ae879..65e5a0050f9 100644 --- a/integration/default.nix +++ b/integration/default.nix @@ -2,203 +2,3 @@ # This file is generated by running hack/bin/generate-local-nix-packages.sh and # must be regenerated whenever local packages are added or removed, or # dependencies are added or removed. -{ mkDerivation -, aeson -, aeson-diff -, aeson-pretty -, amqp -, array -, asn1-encoding -, asn1-types -, async -, attoparsec -, base -, base16-bytestring -, base64-bytestring -, bytestring -, bytestring-conversion -, Cabal -, case-insensitive -, containers -, cookie -, cql -, cql-io -, criterion -, crypton -, crypton-x509 -, cryptostore -, data-default -, data-timeout -, deriving-aeson -, directory -, dns -, errors -, exceptions -, extended -, extra -, filepath -, gitignoreSource -, haskell-src-exts -, hex -, hourglass -, HsOpenSSL -, http-client -, http-types -, interpolate -, kan-extensions -, lens -, lens-aeson -, lib -, memory -, mime -, monad-control -, mtl -, network -, network-uri -, optparse-applicative -, pem -, process -, proto-lens -, random -, raw-strings-qq -, regex -, regex-base -, regex-tdfa -, retry -, saml2-web-sso -, scientific -, servant -, servant-client -, servant-server -, split -, stm -, streaming-commons -, string-conversions -, system-linux-proc -, tagged -, temporary -, text -, time -, transformers -, transformers-base -, unix -, unix-time -, unliftio -, uuid -, vector -, wai -, warp -, warp-tls -, websockets -, wire-message-proto-lens -, wreq -, xml -, xml-conduit -, yaml -}: -mkDerivation { - pname = "integration"; - version = "0.1.0"; - src = gitignoreSource ./.; - isLibrary = true; - isExecutable = true; - setupHaskellDepends = [ - base - Cabal - containers - directory - filepath - haskell-src-exts - ]; - libraryHaskellDepends = [ - aeson - aeson-diff - aeson-pretty - amqp - array - asn1-encoding - asn1-types - async - attoparsec - base - base16-bytestring - base64-bytestring - bytestring - bytestring-conversion - case-insensitive - containers - cookie - cql - cql-io - criterion - crypton - crypton-x509 - cryptostore - data-default - data-timeout - deriving-aeson - directory - dns - errors - exceptions - extended - extra - filepath - hex - hourglass - HsOpenSSL - http-client - http-types - interpolate - kan-extensions - lens - lens-aeson - memory - mime - monad-control - mtl - network - network-uri - optparse-applicative - pem - process - proto-lens - random - raw-strings-qq - regex - regex-base - regex-tdfa - retry - saml2-web-sso - scientific - servant - servant-client - servant-server - split - stm - streaming-commons - string-conversions - system-linux-proc - tagged - temporary - text - time - transformers - transformers-base - unix - unix-time - unliftio - uuid - vector - wai - warp - warp-tls - websockets - wire-message-proto-lens - wreq - xml - xml-conduit - yaml - ]; - license = lib.licenses.agpl3Only; -} diff --git a/libs/bilge/default.nix b/libs/bilge/default.nix index 0f90d357e62..65e5a0050f9 100644 --- a/libs/bilge/default.nix +++ b/libs/bilge/default.nix @@ -2,62 +2,3 @@ # This file is generated by running hack/bin/generate-local-nix-packages.sh and # must be regenerated whenever local packages are added or removed, or # dependencies are added or removed. -{ mkDerivation -, aeson -, ansi-terminal -, base -, bytestring -, case-insensitive -, cookie -, errors -, exceptions -, gitignoreSource -, http-client -, http-types -, imports -, lens -, lib -, monad-control -, mtl -, text -, tinylog -, transformers-base -, types-common -, uri-bytestring -, wai -, wai-extra -, wai-utilities -, wire-otel -}: -mkDerivation { - pname = "bilge"; - version = "0.22.0"; - src = gitignoreSource ./.; - libraryHaskellDepends = [ - aeson - ansi-terminal - base - bytestring - case-insensitive - cookie - errors - exceptions - http-client - http-types - imports - lens - monad-control - mtl - text - tinylog - transformers-base - types-common - uri-bytestring - wai - wai-extra - wai-utilities - wire-otel - ]; - description = "Library for composing HTTP requests"; - license = lib.licenses.agpl3Only; -} diff --git a/libs/brig-types/default.nix b/libs/brig-types/default.nix index 4611943535f..65e5a0050f9 100644 --- a/libs/brig-types/default.nix +++ b/libs/brig-types/default.nix @@ -2,44 +2,3 @@ # This file is generated by running hack/bin/generate-local-nix-packages.sh and # must be regenerated whenever local packages are added or removed, or # dependencies are added or removed. -{ mkDerivation -, aeson -, base -, cassandra-util -, containers -, gitignoreSource -, imports -, lib -, openapi3 -, QuickCheck -, tasty -, tasty-quickcheck -, types-common -, wire-api -}: -mkDerivation { - pname = "brig-types"; - version = "1.35.0"; - src = gitignoreSource ./.; - libraryHaskellDepends = [ - base - cassandra-util - containers - imports - QuickCheck - types-common - wire-api - ]; - testHaskellDepends = [ - aeson - base - imports - openapi3 - QuickCheck - tasty - tasty-quickcheck - wire-api - ]; - description = "User Service"; - license = lib.licenses.agpl3Only; -} diff --git a/libs/cargohold-types/default.nix b/libs/cargohold-types/default.nix index e2b0d545b81..65e5a0050f9 100644 --- a/libs/cargohold-types/default.nix +++ b/libs/cargohold-types/default.nix @@ -2,28 +2,3 @@ # This file is generated by running hack/bin/generate-local-nix-packages.sh and # must be regenerated whenever local packages are added or removed, or # dependencies are added or removed. -{ mkDerivation -, base -, bytestring-conversion -, gitignoreSource -, imports -, lib -, QuickCheck -, types-common -, wire-api -}: -mkDerivation { - pname = "cargohold-types"; - version = "1.5.0"; - src = gitignoreSource ./.; - libraryHaskellDepends = [ - base - bytestring-conversion - imports - QuickCheck - types-common - wire-api - ]; - description = "Asset Storage API Types"; - license = lib.licenses.agpl3Only; -} diff --git a/libs/cassandra-util/default.nix b/libs/cassandra-util/default.nix index e02d098a9b7..65e5a0050f9 100644 --- a/libs/cassandra-util/default.nix +++ b/libs/cassandra-util/default.nix @@ -2,56 +2,3 @@ # This file is generated by running hack/bin/generate-local-nix-packages.sh and # must be regenerated whenever local packages are added or removed, or # dependencies are added or removed. -{ mkDerivation -, aeson -, base -, conduit -, cql -, cql-io -, cql-io-tinylog -, exceptions -, gitignoreSource -, HsOpenSSL -, imports -, lens -, lens-aeson -, lib -, optparse-applicative -, retry -, split -, template-haskell -, text -, time -, tinylog -, uuid -, wreq -}: -mkDerivation { - pname = "cassandra-util"; - version = "0.16.5"; - src = gitignoreSource ./.; - libraryHaskellDepends = [ - aeson - base - conduit - cql - cql-io - cql-io-tinylog - exceptions - HsOpenSSL - imports - lens - lens-aeson - optparse-applicative - retry - split - template-haskell - text - time - tinylog - uuid - wreq - ]; - description = "Cassandra Utilities"; - license = lib.licenses.agpl3Only; -} diff --git a/libs/deriving-swagger2/default.nix b/libs/deriving-swagger2/default.nix index 5359dbec579..65e5a0050f9 100644 --- a/libs/deriving-swagger2/default.nix +++ b/libs/deriving-swagger2/default.nix @@ -2,18 +2,3 @@ # This file is generated by running hack/bin/generate-local-nix-packages.sh and # must be regenerated whenever local packages are added or removed, or # dependencies are added or removed. -{ mkDerivation -, base -, extra -, gitignoreSource -, imports -, lib -, openapi3 -}: -mkDerivation { - pname = "deriving-swagger2"; - version = "0.1.0"; - src = gitignoreSource ./.; - libraryHaskellDepends = [ base extra imports openapi3 ]; - license = lib.licenses.agpl3Only; -} diff --git a/libs/dns-util/default.nix b/libs/dns-util/default.nix index 47548fb34ed..65e5a0050f9 100644 --- a/libs/dns-util/default.nix +++ b/libs/dns-util/default.nix @@ -2,32 +2,3 @@ # This file is generated by running hack/bin/generate-local-nix-packages.sh and # must be regenerated whenever local packages are added or removed, or # dependencies are added or removed. -{ mkDerivation -, base -, dns -, gitignoreSource -, hspec -, hspec-discover -, imports -, iproute -, lib -, polysemy -, random -}: -mkDerivation { - pname = "dns-util"; - version = "0.1.0"; - src = gitignoreSource ./.; - libraryHaskellDepends = [ - base - dns - imports - iproute - polysemy - random - ]; - testHaskellDepends = [ base dns hspec imports ]; - testToolDepends = [ hspec-discover ]; - description = "Library to deal with DNS SRV records"; - license = lib.licenses.agpl3Only; -} diff --git a/libs/extended/default.nix b/libs/extended/default.nix index 3ec398e8d14..65e5a0050f9 100644 --- a/libs/extended/default.nix +++ b/libs/extended/default.nix @@ -2,111 +2,3 @@ # This file is generated by running hack/bin/generate-local-nix-packages.sh and # must be regenerated whenever local packages are added or removed, or # dependencies are added or removed. -{ mkDerivation -, aeson -, amqp -, asn1-types -, base -, bytestring -, cassandra-util -, containers -, crypton -, crypton-connection -, crypton-pem -, crypton-x509 -, crypton-x509-store -, data-default -, errors -, exceptions -, gitignoreSource -, hasql -, hasql-pool -, hspec -, hspec-discover -, http-client -, http-client-tls -, http-types -, imports -, lib -, memory -, metrics-wai -, monad-control -, prometheus-client -, retry -, servant -, servant-client -, servant-client-core -, servant-openapi3 -, servant-server -, string-conversions -, temporary -, text -, time -, tinylog -, tls -, transformers -, types-common -, unliftio -, uuid -, wai -}: -mkDerivation { - pname = "extended"; - version = "0.1.0"; - src = gitignoreSource ./.; - libraryHaskellDepends = [ - aeson - amqp - asn1-types - base - bytestring - cassandra-util - containers - crypton - crypton-connection - crypton-x509 - crypton-x509-store - data-default - errors - exceptions - hasql - hasql-pool - http-client - http-client-tls - http-types - imports - memory - metrics-wai - monad-control - prometheus-client - retry - servant - servant-client - servant-client-core - servant-openapi3 - servant-server - text - time - tinylog - tls - transformers - types-common - unliftio - uuid - wai - ]; - testHaskellDepends = [ - aeson - base - bytestring - crypton-pem - crypton-x509 - hspec - imports - string-conversions - temporary - ]; - testToolDepends = [ hspec-discover ]; - description = "Extended versions of common modules"; - license = lib.licenses.agpl3Only; -} diff --git a/libs/galley-types/default.nix b/libs/galley-types/default.nix index 4edd7e398d8..65e5a0050f9 100644 --- a/libs/galley-types/default.nix +++ b/libs/galley-types/default.nix @@ -2,49 +2,3 @@ # This file is generated by running hack/bin/generate-local-nix-packages.sh and # must be regenerated whenever local packages are added or removed, or # dependencies are added or removed. -{ mkDerivation -, aeson -, base -, bytestring -, bytestring-conversion -, containers -, crypton -, data-default -, errors -, gitignoreSource -, imports -, lens -, lib -, memory -, sop-core -, text -, types-common -, utf8-string -, uuid -, wire-api -}: -mkDerivation { - pname = "galley-types"; - version = "0.81.0"; - src = gitignoreSource ./.; - libraryHaskellDepends = [ - aeson - base - bytestring - bytestring-conversion - containers - crypton - data-default - errors - imports - lens - memory - sop-core - text - types-common - utf8-string - uuid - wire-api - ]; - license = lib.licenses.agpl3Only; -} diff --git a/libs/hscim/default.nix b/libs/hscim/default.nix index d0a64d40d04..65e5a0050f9 100644 --- a/libs/hscim/default.nix +++ b/libs/hscim/default.nix @@ -2,139 +2,3 @@ # This file is generated by running hack/bin/generate-local-nix-packages.sh and # must be regenerated whenever local packages are added or removed, or # dependencies are added or removed. -{ mkDerivation -, aeson -, aeson-qq -, attoparsec -, attoparsec-aeson -, base -, bytestring -, case-insensitive -, containers -, email-validate -, gitignoreSource -, hashable -, hedgehog -, hspec -, hspec-discover -, hspec-expectations -, hspec-wai -, http-api-data -, http-media -, http-types -, HUnit -, hw-hspec-hedgehog -, indexed-traversable -, lens-aeson -, lib -, list-t -, microlens -, mmorph -, mtl -, network-uri -, retry -, scientific -, servant -, servant-client -, servant-client-core -, servant-server -, stm -, stm-containers -, string-conversions -, template-haskell -, text -, time -, utf8-string -, uuid -, vector -, wai -, wai-extra -, wai-utilities -, warp -}: -mkDerivation { - pname = "hscim"; - version = "0.4.0.6"; - src = gitignoreSource ./.; - isLibrary = true; - isExecutable = true; - libraryHaskellDepends = [ - aeson - aeson-qq - attoparsec - attoparsec-aeson - base - bytestring - case-insensitive - containers - email-validate - hashable - hspec - hspec-expectations - hspec-wai - http-api-data - http-media - http-types - list-t - microlens - mmorph - mtl - network-uri - retry - scientific - servant - servant-client - servant-client-core - servant-server - stm - stm-containers - string-conversions - template-haskell - text - time - utf8-string - uuid - wai - wai-extra - wai-utilities - ]; - executableHaskellDepends = [ - base - email-validate - network-uri - stm - stm-containers - time - warp - ]; - testHaskellDepends = [ - aeson - attoparsec - base - bytestring - email-validate - hedgehog - hspec - hspec-expectations - hspec-wai - http-types - HUnit - hw-hspec-hedgehog - indexed-traversable - lens-aeson - microlens - network-uri - servant - servant-server - stm-containers - text - vector - wai - wai-extra - ]; - testToolDepends = [ hspec-discover ]; - homepage = "https://github.com/wireapp/wire-server/blob/develop/libs/hscim/README.md"; - description = "hscim json schema and server implementation"; - license = lib.licenses.agpl3Only; - mainProgram = "hscim-server"; -} diff --git a/libs/http2-manager/default.nix b/libs/http2-manager/default.nix index 1a41e8ebacf..65e5a0050f9 100644 --- a/libs/http2-manager/default.nix +++ b/libs/http2-manager/default.nix @@ -2,61 +2,3 @@ # This file is generated by running hack/bin/generate-local-nix-packages.sh and # must be regenerated whenever local packages are added or removed, or # dependencies are added or removed. -{ mkDerivation -, async -, base -, bytestring -, containers -, gitignoreSource -, HsOpenSSL -, hspec -, hspec-discover -, http-types -, http2 -, lib -, network -, random -, stm -, stm-containers -, streaming-commons -, text -, time-manager -}: -mkDerivation { - pname = "http2-manager"; - version = "0.0.1"; - src = gitignoreSource ./.; - libraryHaskellDepends = [ - async - base - bytestring - containers - HsOpenSSL - http2 - network - stm - stm-containers - streaming-commons - text - time-manager - ]; - testHaskellDepends = [ - async - base - bytestring - containers - HsOpenSSL - hspec - http-types - http2 - network - random - stm - stm-containers - streaming-commons - time-manager - ]; - testToolDepends = [ hspec-discover ]; - description = "Managed connection pool for HTTP2"; - license = lib.licenses.agpl3Only; -} diff --git a/libs/imports/default.nix b/libs/imports/default.nix index 86157dd0c2a..65e5a0050f9 100644 --- a/libs/imports/default.nix +++ b/libs/imports/default.nix @@ -2,40 +2,3 @@ # This file is generated by running hack/bin/generate-local-nix-packages.sh and # must be regenerated whenever local packages are added or removed, or # dependencies are added or removed. -{ mkDerivation -, base -, bytestring -, containers -, deepseq -, either -, extra -, gitignoreSource -, lib -, mtl -, text -, transformers -, unliftio -, unliftio-core -, unordered-containers -}: -mkDerivation { - pname = "imports"; - version = "0.1.0"; - src = gitignoreSource ./.; - libraryHaskellDepends = [ - base - bytestring - containers - deepseq - either - extra - mtl - text - transformers - unliftio - unliftio-core - unordered-containers - ]; - description = "Very common imports"; - license = lib.licenses.agpl3Only; -} diff --git a/libs/jwt-tools/default.nix b/libs/jwt-tools/default.nix index 2a8caa3f5aa..65e5a0050f9 100644 --- a/libs/jwt-tools/default.nix +++ b/libs/jwt-tools/default.nix @@ -2,38 +2,3 @@ # This file is generated by running hack/bin/generate-local-nix-packages.sh and # must be regenerated whenever local packages are added or removed, or # dependencies are added or removed. -{ mkDerivation -, base -, bytestring-conversion -, gitignoreSource -, hspec -, http-types -, imports -, lib -, rusty_jwt_tools_ffi -, string-conversions -, transformers -, utf8-string -}: -mkDerivation { - pname = "jwt-tools"; - version = "0.1.0"; - src = gitignoreSource ./.; - libraryHaskellDepends = [ - base - bytestring-conversion - http-types - imports - transformers - utf8-string - ]; - librarySystemDepends = [ rusty_jwt_tools_ffi ]; - testHaskellDepends = [ - hspec - imports - string-conversions - transformers - ]; - description = "FFI to rusty-jwt-tools"; - license = lib.licenses.agpl3Only; -} diff --git a/libs/metrics-core/default.nix b/libs/metrics-core/default.nix index b7e369144f6..65e5a0050f9 100644 --- a/libs/metrics-core/default.nix +++ b/libs/metrics-core/default.nix @@ -2,26 +2,3 @@ # This file is generated by running hack/bin/generate-local-nix-packages.sh and # must be regenerated whenever local packages are added or removed, or # dependencies are added or removed. -{ mkDerivation -, base -, gitignoreSource -, immortal -, imports -, lib -, prometheus-client -, time -}: -mkDerivation { - pname = "metrics-core"; - version = "0.3.2"; - src = gitignoreSource ./.; - libraryHaskellDepends = [ - base - immortal - imports - prometheus-client - time - ]; - description = "Metrics core"; - license = lib.licenses.agpl3Only; -} diff --git a/libs/metrics-wai/default.nix b/libs/metrics-wai/default.nix index 9cc817d7023..65e5a0050f9 100644 --- a/libs/metrics-wai/default.nix +++ b/libs/metrics-wai/default.nix @@ -2,42 +2,3 @@ # This file is generated by running hack/bin/generate-local-nix-packages.sh and # must be regenerated whenever local packages are added or removed, or # dependencies are added or removed. -{ mkDerivation -, base -, bytestring -, containers -, gitignoreSource -, hspec -, hspec-discover -, imports -, lib -, servant -, servant-multipart -, text -, types-common -, utf8-string -, wai -, wai-middleware-prometheus -}: -mkDerivation { - pname = "metrics-wai"; - version = "0.5.7"; - src = gitignoreSource ./.; - libraryHaskellDepends = [ - base - bytestring - containers - imports - servant - servant-multipart - text - types-common - utf8-string - wai - wai-middleware-prometheus - ]; - testHaskellDepends = [ base containers hspec imports ]; - testToolDepends = [ hspec-discover ]; - description = "Metrics WAI integration"; - license = lib.licenses.agpl3Only; -} diff --git a/libs/polysemy-wire-zoo/default.nix b/libs/polysemy-wire-zoo/default.nix index 3f1d2b167c0..65e5a0050f9 100644 --- a/libs/polysemy-wire-zoo/default.nix +++ b/libs/polysemy-wire-zoo/default.nix @@ -2,68 +2,3 @@ # This file is generated by running hack/bin/generate-local-nix-packages.sh and # must be regenerated whenever local packages are added or removed, or # dependencies are added or removed. -{ mkDerivation -, aeson -, base -, bytestring -, cassandra-util -, containers -, crypton -, gitignoreSource -, HsOpenSSL -, hspec -, hspec-discover -, imports -, jose -, lib -, polysemy -, polysemy-check -, polysemy-plugin -, prometheus-client -, QuickCheck -, saml2-web-sso -, time -, tinylog -, types-common -, unliftio -, uuid -}: -mkDerivation { - pname = "polysemy-wire-zoo"; - version = "0.1.0"; - src = gitignoreSource ./.; - libraryHaskellDepends = [ - aeson - base - bytestring - cassandra-util - crypton - HsOpenSSL - hspec - imports - jose - polysemy - polysemy-check - polysemy-plugin - prometheus-client - QuickCheck - saml2-web-sso - time - tinylog - types-common - unliftio - uuid - ]; - testHaskellDepends = [ - base - containers - hspec - imports - polysemy - polysemy-plugin - unliftio - ]; - testToolDepends = [ hspec-discover ]; - description = "Polysemy interface for various libraries"; - license = lib.licenses.agpl3Only; -} diff --git a/libs/saml2-web-sso/default.nix b/libs/saml2-web-sso/default.nix index e4d714b7145..65e5a0050f9 100644 --- a/libs/saml2-web-sso/default.nix +++ b/libs/saml2-web-sso/default.nix @@ -2,237 +2,3 @@ # This file is generated by running hack/bin/generate-local-nix-packages.sh and # must be regenerated whenever local packages are added or removed, or # dependencies are added or removed. -{ mkDerivation -, aeson -, asn1-encoding -, asn1-parse -, asn1-types -, base -, base64-bytestring -, binary -, bytestring -, case-insensitive -, containers -, cookie -, crypton -, crypton-x509 -, data-default -, directory -, dns -, email-validate -, errors -, exceptions -, extra -, file-path-th -, filepath -, foundation -, ghc-prim -, gitignoreSource -, hedgehog -, hedgehog-quickcheck -, hourglass -, hsaml2 -, hspec -, hspec-core -, hspec-discover -, hspec-wai -, http-media -, http-types -, hxt -, hxt-regex-xmlschema -, imports -, invertible-hxt -, lens -, lens-datetime -, lib -, memory -, mtl -, network-uri -, pretty-show -, process -, QuickCheck -, quickcheck-instances -, random -, schema-profunctor -, servant -, servant-multipart -, servant-server -, shelly -, silently -, string-conversions -, temporary -, text -, time -, tinylog -, transformers -, types-common -, uniplate -, uri-bytestring -, utf8-string -, uuid -, wai -, wai-extra -, wai-utilities -, warp -, word8 -, xml-conduit -, xml-conduit-writer -, xml-hamlet -, xml-types -, yaml -}: -mkDerivation { - pname = "saml2-web-sso"; - version = "0.20"; - src = gitignoreSource ./.; - libraryHaskellDepends = [ - aeson - asn1-encoding - asn1-parse - asn1-types - base - base64-bytestring - binary - bytestring - case-insensitive - containers - cookie - crypton - crypton-x509 - data-default - directory - dns - email-validate - errors - exceptions - extra - file-path-th - filepath - foundation - ghc-prim - hedgehog - hedgehog-quickcheck - hourglass - hsaml2 - hspec - hspec-wai - http-media - http-types - hxt - hxt-regex-xmlschema - imports - invertible-hxt - lens - lens-datetime - memory - mtl - network-uri - pretty-show - process - QuickCheck - quickcheck-instances - random - schema-profunctor - servant - servant-multipart - servant-server - shelly - silently - string-conversions - temporary - text - time - tinylog - transformers - types-common - uniplate - uri-bytestring - utf8-string - uuid - wai - wai-extra - wai-utilities - warp - word8 - xml-conduit - xml-conduit-writer - xml-hamlet - xml-types - yaml - ]; - testHaskellDepends = [ - aeson - asn1-encoding - asn1-parse - asn1-types - base - base64-bytestring - binary - bytestring - case-insensitive - containers - cookie - crypton - crypton-x509 - data-default - directory - dns - email-validate - errors - exceptions - extra - filepath - foundation - ghc-prim - hedgehog - hedgehog-quickcheck - hourglass - hsaml2 - hspec - hspec-core - hspec-discover - hspec-wai - http-media - http-types - hxt - imports - lens - lens-datetime - memory - mtl - network-uri - pretty-show - process - QuickCheck - quickcheck-instances - random - servant - servant-multipart - servant-server - shelly - silently - string-conversions - temporary - text - time - tinylog - transformers - types-common - uniplate - uri-bytestring - utf8-string - uuid - wai - wai-extra - warp - word8 - xml-conduit - xml-conduit-writer - xml-hamlet - xml-types - yaml - ]; - testToolDepends = [ hspec-discover ]; - description = "Library and example web app for the SAML Web-based SSO profile"; - license = lib.licenses.agpl3Only; -} diff --git a/libs/schema-profunctor/default.nix b/libs/schema-profunctor/default.nix index bede1bdeae6..65e5a0050f9 100644 --- a/libs/schema-profunctor/default.nix +++ b/libs/schema-profunctor/default.nix @@ -2,55 +2,3 @@ # This file is generated by running hack/bin/generate-local-nix-packages.sh and # must be regenerated whenever local packages are added or removed, or # dependencies are added or removed. -{ mkDerivation -, aeson -, aeson-qq -, base -, bifunctors -, comonad -, containers -, gitignoreSource -, imports -, insert-ordered-containers -, lens -, lib -, openapi3 -, profunctors -, tasty -, tasty-hunit -, text -, transformers -, vector -}: -mkDerivation { - pname = "schema-profunctor"; - version = "0.1.0"; - src = gitignoreSource ./.; - libraryHaskellDepends = [ - aeson - base - bifunctors - comonad - containers - imports - lens - openapi3 - profunctors - text - transformers - vector - ]; - testHaskellDepends = [ - aeson - aeson-qq - base - imports - insert-ordered-containers - lens - openapi3 - tasty - tasty-hunit - text - ]; - license = lib.licenses.agpl3Only; -} diff --git a/libs/sodium-crypto-sign/default.nix b/libs/sodium-crypto-sign/default.nix index 16278c2952a..65e5a0050f9 100644 --- a/libs/sodium-crypto-sign/default.nix +++ b/libs/sodium-crypto-sign/default.nix @@ -2,26 +2,3 @@ # This file is generated by running hack/bin/generate-local-nix-packages.sh and # must be regenerated whenever local packages are added or removed, or # dependencies are added or removed. -{ mkDerivation -, base -, base64-bytestring -, bytestring -, gitignoreSource -, imports -, lib -, libsodium -}: -mkDerivation { - pname = "sodium-crypto-sign"; - version = "0.1.2"; - src = gitignoreSource ./.; - libraryHaskellDepends = [ - base - base64-bytestring - bytestring - imports - ]; - libraryPkgconfigDepends = [ libsodium ]; - description = "FFI to some of the libsodium crypto_sign_* functions"; - license = lib.licenses.agpl3Only; -} diff --git a/libs/ssl-util/default.nix b/libs/ssl-util/default.nix index 1ec717b7f74..65e5a0050f9 100644 --- a/libs/ssl-util/default.nix +++ b/libs/ssl-util/default.nix @@ -2,30 +2,3 @@ # This file is generated by running hack/bin/generate-local-nix-packages.sh and # must be regenerated whenever local packages are added or removed, or # dependencies are added or removed. -{ mkDerivation -, base -, byteable -, bytestring -, gitignoreSource -, HsOpenSSL -, http-client -, imports -, lib -, time -}: -mkDerivation { - pname = "ssl-util"; - version = "0.1.0"; - src = gitignoreSource ./.; - libraryHaskellDepends = [ - base - byteable - bytestring - HsOpenSSL - http-client - imports - time - ]; - description = "SSL-related utilities"; - license = lib.licenses.agpl3Only; -} diff --git a/libs/tasty-cannon/default.nix b/libs/tasty-cannon/default.nix index 297f3ce945d..65e5a0050f9 100644 --- a/libs/tasty-cannon/default.nix +++ b/libs/tasty-cannon/default.nix @@ -2,48 +2,3 @@ # This file is generated by running hack/bin/generate-local-nix-packages.sh and # must be regenerated whenever local packages are added or removed, or # dependencies are added or removed. -{ mkDerivation -, aeson -, async -, base -, bilge -, bytestring -, bytestring-conversion -, data-timeout -, exceptions -, gitignoreSource -, http-client -, http-types -, imports -, lib -, random -, tasty-hunit -, types-common -, websockets -, wire-api -}: -mkDerivation { - pname = "tasty-cannon"; - version = "0.4.0"; - src = gitignoreSource ./.; - libraryHaskellDepends = [ - aeson - async - base - bilge - bytestring - bytestring-conversion - data-timeout - exceptions - http-client - http-types - imports - random - tasty-hunit - types-common - websockets - wire-api - ]; - description = "Cannon Integration Testing Utilities"; - license = lib.licenses.agpl3Only; -} diff --git a/libs/types-common-aws/default.nix b/libs/types-common-aws/default.nix index 740a128a003..65e5a0050f9 100644 --- a/libs/types-common-aws/default.nix +++ b/libs/types-common-aws/default.nix @@ -2,38 +2,3 @@ # This file is generated by running hack/bin/generate-local-nix-packages.sh and # must be regenerated whenever local packages are added or removed, or # dependencies are added or removed. -{ mkDerivation -, amazonka -, amazonka-sqs -, base -, base64-bytestring -, gitignoreSource -, imports -, lens -, lib -, proto-lens -, resourcet -, text -, time -, unliftio -}: -mkDerivation { - pname = "types-common-aws"; - version = "0.16.0"; - src = gitignoreSource ./.; - libraryHaskellDepends = [ - amazonka - amazonka-sqs - base - base64-bytestring - imports - lens - proto-lens - resourcet - text - time - unliftio - ]; - description = "Shared AWS type definitions"; - license = lib.licenses.agpl3Only; -} diff --git a/libs/types-common-journal/default.nix b/libs/types-common-journal/default.nix index 7dae825dfb4..65e5a0050f9 100644 --- a/libs/types-common-journal/default.nix +++ b/libs/types-common-journal/default.nix @@ -2,35 +2,3 @@ # This file is generated by running hack/bin/generate-local-nix-packages.sh and # must be regenerated whenever local packages are added or removed, or # dependencies are added or removed. -{ mkDerivation -, base -, bytestring -, Cabal -, gitignoreSource -, imports -, lib -, proto-lens-protoc -, proto-lens-runtime -, proto-lens-setup -, time -, types-common -, uuid -}: -mkDerivation { - pname = "types-common-journal"; - version = "0.1.0"; - src = gitignoreSource ./.; - setupHaskellDepends = [ base Cabal proto-lens-setup ]; - libraryHaskellDepends = [ - base - bytestring - imports - proto-lens-runtime - time - types-common - uuid - ]; - libraryToolDepends = [ proto-lens-protoc ]; - description = "Shared protobuf type definitions"; - license = lib.licenses.agpl3Only; -} diff --git a/libs/types-common/default.nix b/libs/types-common/default.nix index 63392d3321b..65e5a0050f9 100644 --- a/libs/types-common/default.nix +++ b/libs/types-common/default.nix @@ -2,140 +2,3 @@ # This file is generated by running hack/bin/generate-local-nix-packages.sh and # must be regenerated whenever local packages are added or removed, or # dependencies are added or removed. -{ mkDerivation -, aeson -, attoparsec -, attoparsec-iso8601 -, base -, base16-bytestring -, base64-bytestring -, binary -, bytestring -, bytestring-conversion -, cassandra-util -, cereal -, containers -, cryptohash-md5 -, cryptohash-sha1 -, crypton -, currency-codes -, email-validate -, generic-random -, gitignoreSource -, hashable -, http-api-data -, imports -, iproute -, iso3166-country-codes -, iso639 -, lens -, lens-datetime -, lib -, mime -, openapi3 -, optparse-applicative -, pem -, polysemy -, protobuf -, QuickCheck -, quickcheck-instances -, random -, schema-profunctor -, scientific -, servant-server -, string-conversions -, tagged -, tasty -, tasty-hunit -, tasty-quickcheck -, template-haskell -, text -, time -, time-locale-compat -, tinylog -, unix -, unordered-containers -, uri-bytestring -, utf8-string -, uuid -, yaml -}: -mkDerivation { - pname = "types-common"; - version = "0.16.0"; - src = gitignoreSource ./.; - libraryHaskellDepends = [ - aeson - attoparsec - attoparsec-iso8601 - base - base16-bytestring - base64-bytestring - binary - bytestring - bytestring-conversion - cassandra-util - containers - cryptohash-md5 - cryptohash-sha1 - crypton - currency-codes - email-validate - generic-random - hashable - http-api-data - imports - iproute - iso3166-country-codes - iso639 - lens - lens-datetime - mime - openapi3 - optparse-applicative - pem - polysemy - protobuf - QuickCheck - quickcheck-instances - random - schema-profunctor - scientific - servant-server - tagged - tasty - tasty-hunit - template-haskell - text - time - time-locale-compat - tinylog - unix - unordered-containers - uri-bytestring - utf8-string - uuid - yaml - ]; - testHaskellDepends = [ - aeson - base - bytestring - bytestring-conversion - cereal - email-validate - imports - protobuf - string-conversions - tasty - tasty-hunit - tasty-quickcheck - text - time - unordered-containers - utf8-string - uuid - ]; - description = "Shared type definitions"; - license = lib.licenses.agpl3Only; -} diff --git a/libs/wai-utilities/default.nix b/libs/wai-utilities/default.nix index de689280feb..65e5a0050f9 100644 --- a/libs/wai-utilities/default.nix +++ b/libs/wai-utilities/default.nix @@ -2,83 +2,3 @@ # This file is generated by running hack/bin/generate-local-nix-packages.sh and # must be regenerated whenever local packages are added or removed, or # dependencies are added or removed. -{ mkDerivation -, aeson -, async -, base -, bytestring -, bytestring-conversion -, errors -, exceptions -, gitignoreSource -, hspec -, hspec-discover -, http-types -, http2 -, imports -, kan-extensions -, lib -, metrics-core -, openapi3 -, pipes -, prometheus-client -, schema-profunctor -, servant-server -, streaming-commons -, temporary -, text -, tinylog -, types-common -, unix -, uuid -, wai -, wai-predicates -, warp -, warp-tls -}: -mkDerivation { - pname = "wai-utilities"; - version = "0.16.1"; - src = gitignoreSource ./.; - libraryHaskellDepends = [ - aeson - async - base - bytestring - bytestring-conversion - errors - exceptions - http-types - http2 - imports - kan-extensions - metrics-core - openapi3 - pipes - prometheus-client - schema-profunctor - servant-server - streaming-commons - text - tinylog - types-common - unix - uuid - wai - wai-predicates - warp - warp-tls - ]; - testHaskellDepends = [ - bytestring - hspec - http-types - imports - temporary - tinylog - wai - ]; - testToolDepends = [ hspec-discover ]; - description = "Various helpers for WAI"; - license = lib.licenses.agpl3Only; -} diff --git a/libs/wire-api-federation/default.nix b/libs/wire-api-federation/default.nix index 272b4e73de1..65e5a0050f9 100644 --- a/libs/wire-api-federation/default.nix +++ b/libs/wire-api-federation/default.nix @@ -2,107 +2,3 @@ # This file is generated by running hack/bin/generate-local-nix-packages.sh and # must be regenerated whenever local packages are added or removed, or # dependencies are added or removed. -{ mkDerivation -, aeson -, aeson-pretty -, amqp -, base -, bytestring -, bytestring-conversion -, containers -, dns-util -, exceptions -, gitignoreSource -, HsOpenSSL -, hspec -, hspec-discover -, http-media -, http-types -, http2 -, http2-manager -, HUnit -, imports -, kan-extensions -, lens -, lib -, metrics-wai -, mtl -, openapi3 -, QuickCheck -, raw-strings-qq -, schema-profunctor -, servant -, servant-client -, servant-client-core -, servant-openapi3 -, servant-server -, singletons -, singletons-base -, text -, time -, transformers -, types-common -, uuid -, wai-utilities -, wire-api -}: -mkDerivation { - pname = "wire-api-federation"; - version = "0.1.0"; - src = gitignoreSource ./.; - libraryHaskellDepends = [ - aeson - amqp - base - bytestring - bytestring-conversion - containers - dns-util - exceptions - HsOpenSSL - http-media - http-types - http2 - http2-manager - imports - kan-extensions - lens - metrics-wai - mtl - openapi3 - QuickCheck - schema-profunctor - servant - servant-client - servant-client-core - servant-openapi3 - servant-server - singletons-base - text - time - transformers - types-common - wai-utilities - wire-api - ]; - testHaskellDepends = [ - aeson - aeson-pretty - base - bytestring - containers - hspec - HUnit - imports - QuickCheck - raw-strings-qq - singletons - time - types-common - uuid - wire-api - ]; - testToolDepends = [ hspec-discover ]; - description = "The Wire server-to-server API for federation"; - license = lib.licenses.agpl3Only; -} diff --git a/libs/wire-api/default.nix b/libs/wire-api/default.nix index f0e9150c672..65e5a0050f9 100644 --- a/libs/wire-api/default.nix +++ b/libs/wire-api/default.nix @@ -2,291 +2,3 @@ # This file is generated by running hack/bin/generate-local-nix-packages.sh and # must be regenerated whenever local packages are added or removed, or # dependencies are added or removed. -{ mkDerivation -, aeson -, aeson-diff -, aeson-pretty -, aeson-qq -, amqp -, asn1-encoding -, async -, attoparsec -, barbies -, base -, base64-bytestring -, binary -, binary-parsers -, bytestring -, bytestring-arbitrary -, bytestring-conversion -, case-insensitive -, cassandra-util -, cassava -, cborg -, cereal -, comonad -, conduit -, constraints -, containers -, cookie -, crypton -, crypton-x509 -, currency-codes -, data-default -, deriving-aeson -, deriving-swagger2 -, email-validate -, errors -, extended -, extra -, filepath -, generics-sop -, ghc-prim -, gitignoreSource -, hashable -, hasql -, hex -, hostname-validate -, hscim -, HsOpenSSL -, hspec -, hspec-wai -, http-api-data -, http-client -, http-media -, http-types -, imports -, insert-ordered-containers -, iproute -, iso3166-country-codes -, iso639 -, jose -, kan-extensions -, lens -, lib -, memory -, metrics-wai -, mime -, mtl -, network-uri -, openapi3 -, pem -, polysemy -, polysemy-wire-zoo -, process -, profunctors -, proto-lens -, protobuf -, QuickCheck -, quickcheck-instances -, random -, regex-base -, regex-tdfa -, resourcet -, retry -, saml2-web-sso -, schema-profunctor -, scientific -, semigroupoids -, servant -, servant-client -, servant-client-core -, servant-conduit -, servant-multipart -, servant-multipart-api -, servant-openapi3 -, servant-server -, singletons -, singletons-base -, singletons-th -, sop-core -, string-conversions -, tagged -, tasty -, tasty-hspec -, tasty-hunit -, tasty-quickcheck -, text -, these -, time -, tinylog -, transformers -, types-common -, unliftio -, unordered-containers -, uri-bytestring -, utf8-string -, uuid -, vector -, wai -, wai-extra -, wai-utilities -, wai-websockets -, websockets -, wire-message-proto-lens -, zauth -}: -mkDerivation { - pname = "wire-api"; - version = "0.1.0"; - src = gitignoreSource ./.; - libraryHaskellDepends = [ - aeson - amqp - asn1-encoding - attoparsec - barbies - base - base64-bytestring - binary - binary-parsers - bytestring - bytestring-conversion - case-insensitive - cassandra-util - cassava - cborg - cereal - comonad - conduit - constraints - containers - cookie - crypton - crypton-x509 - currency-codes - data-default - deriving-aeson - deriving-swagger2 - email-validate - errors - extended - extra - filepath - generics-sop - ghc-prim - hashable - hasql - hostname-validate - hscim - HsOpenSSL - http-api-data - http-client - http-media - http-types - imports - insert-ordered-containers - iproute - iso3166-country-codes - iso639 - jose - kan-extensions - lens - memory - metrics-wai - mime - mtl - network-uri - openapi3 - pem - polysemy - polysemy-wire-zoo - profunctors - proto-lens - protobuf - QuickCheck - quickcheck-instances - random - regex-base - regex-tdfa - resourcet - retry - saml2-web-sso - schema-profunctor - scientific - semigroupoids - servant - servant-client - servant-client-core - servant-conduit - servant-multipart - servant-multipart-api - servant-openapi3 - servant-server - singletons - singletons-base - singletons-th - sop-core - tagged - text - these - time - tinylog - transformers - types-common - unordered-containers - uri-bytestring - utf8-string - uuid - vector - wai - wai-extra - wai-utilities - wai-websockets - websockets - wire-message-proto-lens - zauth - ]; - testHaskellDepends = [ - aeson - aeson-diff - aeson-pretty - aeson-qq - async - base - binary - bytestring - bytestring-arbitrary - bytestring-conversion - cassava - containers - crypton - currency-codes - filepath - hex - hspec - hspec-wai - http-types - imports - iso3166-country-codes - iso639 - lens - memory - metrics-wai - openapi3 - pem - process - proto-lens - QuickCheck - random - saml2-web-sso - schema-profunctor - servant - servant-server - string-conversions - tasty - tasty-hspec - tasty-hunit - tasty-quickcheck - text - time - types-common - unliftio - uri-bytestring - uuid - vector - wai - wire-message-proto-lens - ]; - license = lib.licenses.agpl3Only; -} diff --git a/libs/wire-message-proto-lens/default.nix b/libs/wire-message-proto-lens/default.nix index 3c58511773e..65e5a0050f9 100644 --- a/libs/wire-message-proto-lens/default.nix +++ b/libs/wire-message-proto-lens/default.nix @@ -2,22 +2,3 @@ # This file is generated by running hack/bin/generate-local-nix-packages.sh and # must be regenerated whenever local packages are added or removed, or # dependencies are added or removed. -{ mkDerivation -, base -, Cabal -, gitignoreSource -, lib -, proto-lens-protoc -, proto-lens-runtime -, proto-lens-setup -}: -mkDerivation { - pname = "wire-message-proto-lens"; - version = "0.1.0"; - src = gitignoreSource ./.; - setupHaskellDepends = [ base Cabal proto-lens-setup ]; - libraryHaskellDepends = [ base proto-lens-runtime ]; - libraryToolDepends = [ proto-lens-protoc ]; - description = "Shared protobuf type definitions for Wire Messaging"; - license = lib.licenses.agpl3Only; -} diff --git a/libs/wire-otel/default.nix b/libs/wire-otel/default.nix index 08433505c4c..65e5a0050f9 100644 --- a/libs/wire-otel/default.nix +++ b/libs/wire-otel/default.nix @@ -2,46 +2,3 @@ # This file is generated by running hack/bin/generate-local-nix-packages.sh and # must be regenerated whenever local packages are added or removed, or # dependencies are added or removed. -{ mkDerivation -, base -, bytestring -, containers -, gitignoreSource -, hs-opentelemetry-api -, hs-opentelemetry-instrumentation-http-client -, hs-opentelemetry-sdk -, hs-opentelemetry-utils-exceptions -, http-client -, http-types -, kan-extensions -, lib -, mtl -, servant-client -, servant-client-core -, text -, unliftio -}: -mkDerivation { - pname = "wire-otel"; - version = "0.1.0.0"; - src = gitignoreSource ./.; - libraryHaskellDepends = [ - base - bytestring - containers - hs-opentelemetry-api - hs-opentelemetry-instrumentation-http-client - hs-opentelemetry-sdk - hs-opentelemetry-utils-exceptions - http-client - http-types - kan-extensions - mtl - servant-client - servant-client-core - text - unliftio - ]; - homepage = "https://wire.com/"; - license = lib.licenses.agpl3Only; -} diff --git a/libs/wire-subsystems/default.nix b/libs/wire-subsystems/default.nix index cf381ee0da6..65e5a0050f9 100644 --- a/libs/wire-subsystems/default.nix +++ b/libs/wire-subsystems/default.nix @@ -2,368 +2,3 @@ # This file is generated by running hack/bin/generate-local-nix-packages.sh and # must be regenerated whenever local packages are added or removed, or # dependencies are added or removed. -{ mkDerivation -, aeson -, aeson-pretty -, amazonka -, amazonka-core -, amazonka-ses -, amazonka-sqs -, amqp -, async -, attoparsec -, base -, base16-bytestring -, base64-bytestring -, bilge -, bimap -, bloodhound -, bytestring -, bytestring-conversion -, case-insensitive -, cassandra-util -, conduit -, constraints -, containers -, contravariant -, cql -, crypton -, currency-codes -, data-default -, data-timeout -, email-validate -, errors -, exceptions -, extended -, extra -, file-embed -, galley-types -, generics-sop -, gitignoreSource -, hashable -, HaskellNet -, HaskellNet-SSL -, hasql -, hasql-migration -, hasql-pool -, hasql-th -, hasql-transaction -, hex -, hscim -, HsOpenSSL -, hspec -, hspec-discover -, html-entities -, http-api-data -, http-client -, http-client-openssl -, http-types -, http2-manager -, imports -, iproute -, iso639 -, lens -, lib -, lrucaching -, memory -, mime -, mime-mail -, network -, network-conduit-tls -, network-uri -, polysemy -, polysemy-conc -, polysemy-plugin -, polysemy-time -, polysemy-wire-zoo -, postgresql-error-codes -, profunctors -, prometheus-client -, proto-lens -, QuickCheck -, quickcheck-instances -, random -, raw-strings-qq -, resource-pool -, resourcet -, retry -, saml2-web-sso -, schema-profunctor -, scientific -, servant -, servant-client-core -, servant-server -, singletons -, sodium-crypto-sign -, sop-core -, ssl-util -, statistics -, stomp-queue -, string-conversions -, template -, text -, text-icu-translit -, time -, time-out -, time-units -, tinylog -, tls -, token-bucket -, transformers -, types-common -, types-common-journal -, unliftio -, unordered-containers -, uri-bytestring -, utf8-string -, uuid -, vector -, wai -, wai-utilities -, wire-api -, wire-api-federation -, wire-otel -, witherable -, zauth -}: -mkDerivation { - pname = "wire-subsystems"; - version = "0.1.0"; - src = gitignoreSource ./.; - libraryHaskellDepends = [ - aeson - aeson-pretty - amazonka - amazonka-core - amazonka-ses - amazonka-sqs - amqp - async - attoparsec - base - base16-bytestring - base64-bytestring - bilge - bimap - bloodhound - bytestring - bytestring-conversion - case-insensitive - cassandra-util - conduit - constraints - containers - contravariant - cql - crypton - currency-codes - data-default - data-timeout - email-validate - errors - exceptions - extended - extra - file-embed - galley-types - generics-sop - hashable - HaskellNet - HaskellNet-SSL - hasql - hasql-migration - hasql-pool - hasql-th - hasql-transaction - hex - hscim - HsOpenSSL - hspec - html-entities - http-api-data - http-client - http-client-openssl - http-types - http2-manager - imports - iproute - iso639 - lens - lrucaching - memory - mime - mime-mail - network - network-conduit-tls - network-uri - polysemy - polysemy-conc - polysemy-plugin - polysemy-time - polysemy-wire-zoo - postgresql-error-codes - profunctors - prometheus-client - proto-lens - QuickCheck - raw-strings-qq - resource-pool - resourcet - retry - saml2-web-sso - schema-profunctor - servant - servant-client-core - servant-server - singletons - sodium-crypto-sign - sop-core - ssl-util - statistics - stomp-queue - template - text - text-icu-translit - time - time-out - time-units - tinylog - tls - token-bucket - transformers - types-common - types-common-journal - unliftio - unordered-containers - uri-bytestring - utf8-string - uuid - vector - wai - wai-utilities - wire-api - wire-api-federation - wire-otel - witherable - zauth - ]; - testHaskellDepends = [ - aeson - aeson-pretty - amazonka - amazonka-core - amazonka-ses - amazonka-sqs - amqp - async - attoparsec - base - base16-bytestring - base64-bytestring - bilge - bloodhound - bytestring - bytestring-conversion - case-insensitive - cassandra-util - conduit - constraints - containers - contravariant - cql - crypton - currency-codes - data-default - data-timeout - email-validate - errors - exceptions - extended - extra - file-embed - galley-types - generics-sop - hashable - HaskellNet - HaskellNet-SSL - hasql - hasql-migration - hasql-pool - hasql-th - hasql-transaction - hex - hscim - HsOpenSSL - hspec - html-entities - http-client - http-client-openssl - http-types - http2-manager - imports - iproute - iso639 - lens - lrucaching - memory - mime - mime-mail - network - network-conduit-tls - network-uri - polysemy - polysemy-conc - polysemy-plugin - polysemy-time - polysemy-wire-zoo - profunctors - prometheus-client - proto-lens - QuickCheck - quickcheck-instances - random - raw-strings-qq - resource-pool - resourcet - retry - saml2-web-sso - schema-profunctor - scientific - servant - servant-client-core - servant-server - singletons - sodium-crypto-sign - sop-core - ssl-util - statistics - stomp-queue - string-conversions - template - text - text-icu-translit - time - time-out - time-units - tinylog - token-bucket - transformers - types-common - types-common-journal - unliftio - unordered-containers - uri-bytestring - utf8-string - uuid - vector - wai - wai-utilities - wire-api - wire-api-federation - wire-otel - witherable - zauth - ]; - testToolDepends = [ hspec-discover ]; - license = lib.licenses.agpl3Only; -} diff --git a/libs/zauth/default.nix b/libs/zauth/default.nix index 3ac633ab220..65e5a0050f9 100644 --- a/libs/zauth/default.nix +++ b/libs/zauth/default.nix @@ -2,72 +2,3 @@ # This file is generated by running hack/bin/generate-local-nix-packages.sh and # must be regenerated whenever local packages are added or removed, or # dependencies are added or removed. -{ mkDerivation -, attoparsec -, base -, base64-bytestring -, bytestring -, bytestring-conversion -, errors -, gitignoreSource -, imports -, lib -, optparse-applicative -, polysemy -, polysemy-plugin -, polysemy-wire-zoo -, sodium-crypto-sign -, tasty -, tasty-hunit -, tasty-quickcheck -, text -, time -, uuid -, vector -}: -mkDerivation { - pname = "zauth"; - version = "0.10.3"; - src = gitignoreSource ./.; - isLibrary = true; - isExecutable = true; - libraryHaskellDepends = [ - attoparsec - base - base64-bytestring - bytestring - bytestring-conversion - errors - imports - polysemy - polysemy-plugin - polysemy-wire-zoo - sodium-crypto-sign - time - uuid - vector - ]; - executableHaskellDepends = [ - base - imports - optparse-applicative - sodium-crypto-sign - ]; - testHaskellDepends = [ - base - bytestring-conversion - imports - polysemy - polysemy-wire-zoo - sodium-crypto-sign - tasty - tasty-hunit - tasty-quickcheck - text - uuid - vector - ]; - description = "Creation and validation of signed tokens"; - license = lib.licenses.agpl3Only; - mainProgram = "zauth"; -} diff --git a/services/background-worker/default.nix b/services/background-worker/default.nix index 011bc91bea0..65e5a0050f9 100644 --- a/services/background-worker/default.nix +++ b/services/background-worker/default.nix @@ -2,130 +2,3 @@ # This file is generated by running hack/bin/generate-local-nix-packages.sh and # must be regenerated whenever local packages are added or removed, or # dependencies are added or removed. -{ mkDerivation -, aeson -, amqp -, base -, bytestring -, bytestring-conversion -, cassandra-util -, containers -, data-default -, data-timeout -, exceptions -, extended -, extra -, federator -, gitignoreSource -, hasql-pool -, HsOpenSSL -, hspec -, http-client -, http-media -, http-types -, http2-manager -, imports -, lib -, metrics-wai -, monad-control -, polysemy -, polysemy-conc -, polysemy-wire-zoo -, prometheus-client -, QuickCheck -, retry -, servant -, servant-client -, servant-client-core -, servant-server -, text -, tinylog -, transformers -, transformers-base -, types-common -, unliftio -, wai -, wai-utilities -, wire-api -, wire-api-federation -, wire-subsystems -}: -mkDerivation { - pname = "background-worker"; - version = "0.1.0.0"; - src = gitignoreSource ./.; - isLibrary = true; - isExecutable = true; - libraryHaskellDepends = [ - aeson - amqp - base - bytestring - bytestring-conversion - cassandra-util - containers - data-timeout - exceptions - extended - extra - hasql-pool - HsOpenSSL - http-client - http2-manager - imports - metrics-wai - monad-control - polysemy - polysemy-conc - polysemy-wire-zoo - prometheus-client - retry - servant-client - servant-server - text - tinylog - transformers - transformers-base - types-common - unliftio - wai-utilities - wire-api - wire-api-federation - wire-subsystems - ]; - executableHaskellDepends = [ HsOpenSSL imports types-common ]; - testHaskellDepends = [ - aeson - amqp - base - bytestring - containers - data-default - extended - federator - hspec - http-client - http-media - http-types - imports - prometheus-client - QuickCheck - servant - servant-client - servant-client-core - servant-server - text - tinylog - transformers - types-common - unliftio - wai - wai-utilities - wire-api - wire-api-federation - wire-subsystems - ]; - description = "Runs background work"; - license = lib.licenses.agpl3Only; - mainProgram = "background-worker"; -} diff --git a/services/brig/default.nix b/services/brig/default.nix index 754e7b06b81..65e5a0050f9 100644 --- a/services/brig/default.nix +++ b/services/brig/default.nix @@ -2,402 +2,3 @@ # This file is generated by running hack/bin/generate-local-nix-packages.sh and # must be regenerated whenever local packages are added or removed, or # dependencies are added or removed. -{ mkDerivation -, aeson -, amazonka -, amazonka-core -, amazonka-dynamodb -, amazonka-ses -, amazonka-sqs -, amqp -, async -, attoparsec -, auto-update -, base -, base-prelude -, base16-bytestring -, base64-bytestring -, bilge -, binary -, bloodhound -, brig-types -, bytestring -, bytestring-conversion -, case-insensitive -, cassandra-util -, comonad -, conduit -, containers -, cookie -, crypton -, currency-codes -, data-default -, data-timeout -, dns -, dns-util -, email-validate -, enclosed-exceptions -, errors -, exceptions -, extended -, extra -, federator -, file-embed -, file-embed-lzma -, filepath -, fsnotify -, galley-types -, gitignoreSource -, hashable -, hasql-pool -, hs-opentelemetry-instrumentation-wai -, hs-opentelemetry-sdk -, hscim -, HsOpenSSL -, http-api-data -, http-client -, http-client-openssl -, http-client-tls -, http-media -, http-reverse-proxy -, http-types -, http2-manager -, imports -, insert-ordered-containers -, iproute -, iso639 -, jose -, jwt-tools -, lens -, lens-aeson -, lib -, memory -, metrics-core -, metrics-wai -, mime -, mime-mail -, mmorph -, MonadRandom -, mtl -, network -, network-conduit-tls -, network-uri -, openapi3 -, optparse-applicative -, pem -, pipes -, polysemy -, polysemy-conc -, polysemy-plugin -, polysemy-time -, polysemy-wire-zoo -, postie -, process -, prometheus-client -, proto-lens -, QuickCheck -, random -, random-shuffle -, raw-strings-qq -, resourcet -, retry -, safe -, safe-exceptions -, saml2-web-sso -, schema-profunctor -, servant -, servant-client -, servant-client-core -, servant-openapi3 -, servant-server -, servant-swagger-ui -, spar -, split -, ssl-util -, stomp-queue -, streaming-commons -, string-conversions -, tasty -, tasty-ant-xml -, tasty-cannon -, tasty-hunit -, tasty-quickcheck -, template -, template-haskell -, temporary -, text -, time -, time-out -, time-units -, tinylog -, transformers -, types-common -, types-common-aws -, types-common-journal -, unliftio -, unordered-containers -, uri-bytestring -, utf8-string -, uuid -, vector -, wai -, wai-extra -, wai-middleware-gunzip -, wai-utilities -, warp -, warp-tls -, wire-api -, wire-api-federation -, wire-otel -, wire-subsystems -, yaml -, zauth -}: -mkDerivation { - pname = "brig"; - version = "2.0"; - src = gitignoreSource ./.; - isLibrary = true; - isExecutable = true; - libraryHaskellDepends = [ - aeson - amazonka - amazonka-core - amazonka-dynamodb - amazonka-ses - amazonka-sqs - amqp - async - auto-update - base - base-prelude - base16-bytestring - base64-bytestring - bilge - bloodhound - brig-types - bytestring - bytestring-conversion - cassandra-util - comonad - conduit - containers - cookie - crypton - currency-codes - data-default - dns - dns-util - enclosed-exceptions - errors - exceptions - extended - extra - file-embed - file-embed-lzma - filepath - fsnotify - galley-types - hashable - hasql-pool - hs-opentelemetry-instrumentation-wai - hs-opentelemetry-sdk - HsOpenSSL - http-client - http-client-openssl - http-media - http-types - http2-manager - imports - insert-ordered-containers - iproute - iso639 - jose - jwt-tools - lens - lens-aeson - memory - metrics-core - metrics-wai - mime - mime-mail - mmorph - MonadRandom - mtl - network - network-conduit-tls - openapi3 - optparse-applicative - polysemy - polysemy-conc - polysemy-plugin - polysemy-time - polysemy-wire-zoo - prometheus-client - proto-lens - random-shuffle - raw-strings-qq - resourcet - retry - safe-exceptions - schema-profunctor - servant - servant-openapi3 - servant-server - servant-swagger-ui - split - ssl-util - stomp-queue - template - template-haskell - text - time - time-out - time-units - tinylog - transformers - types-common - types-common-aws - types-common-journal - unliftio - unordered-containers - uri-bytestring - utf8-string - uuid - wai - wai-extra - wai-middleware-gunzip - wai-utilities - wire-api - wire-api-federation - wire-otel - wire-subsystems - yaml - zauth - ]; - executableHaskellDepends = [ - aeson - async - attoparsec - base - base16-bytestring - bilge - bloodhound - brig-types - bytestring - bytestring-conversion - case-insensitive - cassandra-util - containers - cookie - data-default - data-timeout - email-validate - exceptions - extended - extra - federator - filepath - galley-types - hscim - HsOpenSSL - http-api-data - http-client - http-client-tls - http-media - http-reverse-proxy - http-types - imports - jose - lens - lens-aeson - metrics-wai - mime - mime-mail - MonadRandom - mtl - network - network-uri - optparse-applicative - pem - pipes - polysemy - polysemy-wire-zoo - postie - process - proto-lens - QuickCheck - random - random-shuffle - raw-strings-qq - retry - safe - saml2-web-sso - servant - servant-client - servant-client-core - servant-server - spar - streaming-commons - string-conversions - tasty - tasty-ant-xml - tasty-cannon - tasty-hunit - temporary - text - time - time-units - tinylog - transformers - types-common - types-common-aws - types-common-journal - unliftio - unordered-containers - uri-bytestring - uuid - vector - wai - wai-extra - wai-utilities - warp - warp-tls - wire-api - wire-api-federation - wire-subsystems - yaml - zauth - ]; - testHaskellDepends = [ - aeson - base - binary - brig-types - bytestring - containers - data-timeout - dns - dns-util - exceptions - HsOpenSSL - imports - lens - polysemy - polysemy-wire-zoo - tasty - tasty-hunit - tasty-quickcheck - text - time - tinylog - types-common - unliftio - uri-bytestring - uuid - wire-api - wire-subsystems - ]; - description = "User Service"; - license = lib.licenses.agpl3Only; -} diff --git a/services/cannon/default.nix b/services/cannon/default.nix index 0544d335640..65e5a0050f9 100644 --- a/services/cannon/default.nix +++ b/services/cannon/default.nix @@ -2,136 +2,3 @@ # This file is generated by running hack/bin/generate-local-nix-packages.sh and # must be regenerated whenever local packages are added or removed, or # dependencies are added or removed. -{ mkDerivation -, aeson -, amqp -, api-field-json-th -, async -, base -, bilge -, binary -, bytestring -, bytestring-conversion -, cassandra-util -, conduit -, containers -, criterion -, data-default -, data-timeout -, exceptions -, extended -, extra -, gitignoreSource -, hashable -, hs-opentelemetry-instrumentation-wai -, hs-opentelemetry-sdk -, http-types -, imports -, kan-extensions -, lens -, lens-family-core -, lib -, metrics-wai -, mwc-random -, prometheus-client -, QuickCheck -, random -, retry -, safe-exceptions -, servant-conduit -, servant-server -, strict -, tasty -, tasty-hunit -, tasty-quickcheck -, text -, tinylog -, transformers -, types-common -, unix -, unliftio -, uuid -, vector -, wai -, wai-extra -, wai-utilities -, warp -, websockets -, wire-api -, wire-otel -}: -mkDerivation { - pname = "cannon"; - version = "0.31.0"; - src = gitignoreSource ./.; - isLibrary = true; - isExecutable = true; - libraryHaskellDepends = [ - aeson - amqp - api-field-json-th - async - base - bilge - binary - bytestring - bytestring-conversion - cassandra-util - conduit - containers - data-default - data-timeout - exceptions - extended - extra - hashable - hs-opentelemetry-instrumentation-wai - hs-opentelemetry-sdk - http-types - imports - kan-extensions - lens - lens-family-core - metrics-wai - mwc-random - prometheus-client - retry - safe-exceptions - servant-conduit - servant-server - strict - text - tinylog - transformers - types-common - unix - unliftio - vector - wai - wai-extra - wai-utilities - warp - websockets - wire-api - wire-otel - ]; - executableHaskellDepends = [ base imports types-common ]; - testHaskellDepends = [ - async - base - bytestring - imports - metrics-wai - QuickCheck - random - tasty - tasty-hunit - tasty-quickcheck - uuid - wire-api - ]; - benchmarkHaskellDepends = [ async base criterion imports uuid ]; - description = "Push Notification API"; - license = lib.licenses.agpl3Only; - mainProgram = "cannon"; -} diff --git a/services/cargohold/default.nix b/services/cargohold/default.nix index 3883bf46b09..65e5a0050f9 100644 --- a/services/cargohold/default.nix +++ b/services/cargohold/default.nix @@ -2,195 +2,3 @@ # This file is generated by running hack/bin/generate-local-nix-packages.sh and # must be regenerated whenever local packages are added or removed, or # dependencies are added or removed. -{ mkDerivation -, aeson -, amazonka -, amazonka-s3 -, amazonka-s3-streaming -, attoparsec -, auto-update -, base -, base64-bytestring -, bilge -, bytestring -, bytestring-conversion -, cargohold-types -, case-insensitive -, conduit -, conduit-extra -, containers -, crypton -, data-default -, errors -, exceptions -, extended -, federator -, gitignoreSource -, HsOpenSSL -, http-api-data -, http-client -, http-client-openssl -, http-client-tls -, http-media -, http-types -, http2-manager -, imports -, kan-extensions -, lens -, lib -, metrics-core -, metrics-wai -, mime -, mmorph -, mtl -, optparse-applicative -, prometheus-client -, QuickCheck -, resourcet -, retry -, schema-profunctor -, servant -, servant-client -, servant-server -, tagged -, tasty -, tasty-ant-xml -, tasty-hunit -, tasty-quickcheck -, text -, time -, tinylog -, transformers -, types-common -, types-common-aws -, unix -, unliftio -, unordered-containers -, uri-bytestring -, uuid -, wai -, wai-extra -, wai-utilities -, wire-api -, wire-api-federation -, yaml -}: -mkDerivation { - pname = "cargohold"; - version = "1.5.0"; - src = gitignoreSource ./.; - isLibrary = true; - isExecutable = true; - libraryHaskellDepends = [ - aeson - amazonka - amazonka-s3 - amazonka-s3-streaming - attoparsec - auto-update - base - base64-bytestring - bilge - bytestring - bytestring-conversion - cargohold-types - case-insensitive - conduit - conduit-extra - containers - crypton - errors - exceptions - extended - HsOpenSSL - http-client - http-client-openssl - http-types - http2-manager - imports - kan-extensions - lens - metrics-core - metrics-wai - mime - prometheus-client - QuickCheck - resourcet - retry - schema-profunctor - servant - servant-client - servant-server - text - time - tinylog - transformers - types-common - types-common-aws - unliftio - unordered-containers - uri-bytestring - uuid - wai - wai-extra - wai-utilities - wire-api - wire-api-federation - yaml - ]; - executableHaskellDepends = [ - aeson - base - bilge - bytestring - bytestring-conversion - cargohold-types - containers - data-default - federator - HsOpenSSL - http-api-data - http-client - http-client-tls - http-media - http-types - imports - kan-extensions - lens - mmorph - mtl - optparse-applicative - servant-client - tagged - tasty - tasty-ant-xml - tasty-hunit - text - types-common - uuid - wai-utilities - wire-api - wire-api-federation - yaml - ]; - testHaskellDepends = [ - aeson - base - bytestring - bytestring-conversion - cargohold-types - extended - imports - mime - tasty - tasty-quickcheck - text - types-common - unix - unliftio - uri-bytestring - wire-api - ]; - description = "Asset Storage API"; - license = lib.licenses.agpl3Only; -} diff --git a/services/federator/default.nix b/services/federator/default.nix index febce147be2..65e5a0050f9 100644 --- a/services/federator/default.nix +++ b/services/federator/default.nix @@ -2,217 +2,3 @@ # This file is generated by running hack/bin/generate-local-nix-packages.sh and # must be regenerated whenever local packages are added or removed, or # dependencies are added or removed. -{ mkDerivation -, aeson -, async -, base -, bilge -, binary -, bytestring -, bytestring-conversion -, containers -, crypton -, crypton-connection -, crypton-x509 -, crypton-x509-validation -, data-default -, directory -, dns -, dns-util -, exceptions -, extended -, filepath -, fsnotify -, gitignoreSource -, HsOpenSSL -, hspec -, hspec-junit-formatter -, http-client -, http-client-tls -, http-media -, http-types -, http2 -, http2-manager -, imports -, interpolate -, kan-extensions -, lens -, lib -, metrics-core -, metrics-wai -, mtl -, network -, optparse-applicative -, pem -, polysemy -, polysemy-wire-zoo -, prometheus-client -, QuickCheck -, random -, servant -, servant-client -, servant-client-core -, servant-server -, string-conversions -, tasty -, tasty-hunit -, tasty-quickcheck -, temporary -, text -, tinylog -, transformers -, types-common -, unix -, utf8-string -, uuid -, wai -, wai-extra -, wai-utilities -, warp -, warp-tls -, wire-api -, wire-api-federation -, yaml -}: -mkDerivation { - pname = "federator"; - version = "1.0.0"; - src = gitignoreSource ./.; - isLibrary = true; - isExecutable = true; - libraryHaskellDepends = [ - aeson - async - base - bilge - binary - bytestring - bytestring-conversion - containers - crypton-x509 - crypton-x509-validation - data-default - directory - dns - dns-util - exceptions - extended - filepath - fsnotify - HsOpenSSL - http-client - http-media - http-types - http2 - http2-manager - imports - kan-extensions - lens - metrics-core - metrics-wai - mtl - network - pem - polysemy - polysemy-wire-zoo - prometheus-client - servant - servant-client - servant-client-core - servant-server - text - tinylog - transformers - types-common - unix - utf8-string - wai - wai-utilities - warp - wire-api - wire-api-federation - ]; - executableHaskellDepends = [ - aeson - async - base - bilge - binary - bytestring - bytestring-conversion - crypton - crypton-connection - data-default - dns-util - exceptions - HsOpenSSL - hspec - hspec-junit-formatter - http-client-tls - http-types - http2-manager - imports - kan-extensions - lens - optparse-applicative - polysemy - QuickCheck - random - servant-client-core - string-conversions - tasty-hunit - text - types-common - uuid - wire-api - wire-api-federation - yaml - ]; - testHaskellDepends = [ - aeson - base - bytestring - bytestring-conversion - containers - crypton-x509-validation - data-default - directory - dns-util - filepath - HsOpenSSL - http-types - http2 - http2-manager - imports - interpolate - kan-extensions - mtl - polysemy - polysemy-wire-zoo - QuickCheck - servant - servant-client - servant-client-core - servant-server - string-conversions - tasty - tasty-hunit - tasty-quickcheck - temporary - text - tinylog - transformers - types-common - unix - wai - wai-extra - wai-utilities - warp - warp-tls - wire-api - wire-api-federation - yaml - ]; - description = "Federation Service"; - license = lib.licenses.agpl3Only; -} diff --git a/services/galley/default.nix b/services/galley/default.nix index 988d5378dc7..65e5a0050f9 100644 --- a/services/galley/default.nix +++ b/services/galley/default.nix @@ -2,313 +2,3 @@ # This file is generated by running hack/bin/generate-local-nix-packages.sh and # must be regenerated whenever local packages are added or removed, or # dependencies are added or removed. -{ mkDerivation -, aeson -, aeson-qq -, amazonka -, amqp -, asn1-encoding -, asn1-types -, async -, base -, base64-bytestring -, bilge -, binary -, brig-types -, bytestring -, bytestring-conversion -, call-stack -, cassandra-util -, cassava -, cereal -, comonad -, conduit -, containers -, cookie -, crypton -, crypton-x509 -, currency-codes -, data-default -, data-timeout -, errors -, exceptions -, extended -, extra -, federator -, filepath -, galley-types -, gitignoreSource -, hasql-pool -, hex -, hs-opentelemetry-instrumentation-wai -, hs-opentelemetry-sdk -, HsOpenSSL -, http-api-data -, http-client -, http-client-openssl -, http-client-tls -, http-media -, http-types -, http2-manager -, imports -, kan-extensions -, lens -, lens-aeson -, lib -, memory -, metrics-core -, metrics-wai -, mtl -, network -, network-uri -, optparse-applicative -, pem -, polysemy -, polysemy-conc -, polysemy-plugin -, polysemy-wire-zoo -, process -, prometheus-client -, proto-lens -, protobuf -, QuickCheck -, quickcheck-instances -, random -, raw-strings-qq -, retry -, safe-exceptions -, servant -, servant-client -, servant-client-core -, servant-server -, singletons -, sop-core -, split -, ssl-util -, stm -, streaming-commons -, string-conversions -, tagged -, tasty -, tasty-ant-xml -, tasty-cannon -, tasty-hunit -, tasty-quickcheck -, temporary -, text -, time -, tinylog -, transformers -, types-common -, types-common-aws -, types-common-journal -, unix -, unliftio -, unordered-containers -, uri-bytestring -, utf8-string -, uuid -, uuid-types -, vector -, wai -, wai-extra -, wai-middleware-gunzip -, wai-utilities -, warp -, warp-tls -, wire-api -, wire-api-federation -, wire-otel -, wire-subsystems -, yaml -}: -mkDerivation { - pname = "galley"; - version = "0.83.0"; - src = gitignoreSource ./.; - isLibrary = true; - isExecutable = true; - libraryHaskellDepends = [ - aeson - amazonka - amqp - asn1-encoding - asn1-types - async - base - bilge - brig-types - bytestring - bytestring-conversion - cassandra-util - cassava - comonad - containers - crypton - crypton-x509 - data-default - errors - exceptions - extended - extra - galley-types - hasql-pool - hex - hs-opentelemetry-instrumentation-wai - hs-opentelemetry-sdk - HsOpenSSL - http-client - http-client-openssl - http-media - http-types - http2-manager - imports - kan-extensions - lens - metrics-core - metrics-wai - optparse-applicative - pem - polysemy - polysemy-conc - polysemy-plugin - polysemy-wire-zoo - prometheus-client - raw-strings-qq - retry - safe-exceptions - servant - servant-client - servant-client-core - servant-server - singletons - sop-core - split - ssl-util - stm - tagged - text - time - tinylog - transformers - types-common - types-common-aws - unliftio - unordered-containers - uri-bytestring - utf8-string - uuid - vector - wai - wai-extra - wai-middleware-gunzip - wai-utilities - wire-api - wire-api-federation - wire-otel - wire-subsystems - ]; - executableHaskellDepends = [ - aeson - aeson-qq - async - base - base64-bytestring - bilge - binary - brig-types - bytestring - bytestring-conversion - call-stack - cassandra-util - cereal - conduit - containers - cookie - currency-codes - data-default - data-timeout - errors - exceptions - extended - extra - federator - filepath - galley-types - HsOpenSSL - http-api-data - http-client - http-client-openssl - http-client-tls - http-types - imports - kan-extensions - lens - lens-aeson - memory - mtl - network - network-uri - optparse-applicative - pem - process - proto-lens - protobuf - QuickCheck - quickcheck-instances - random - retry - servant-client - servant-client-core - servant-server - singletons - sop-core - ssl-util - streaming-commons - string-conversions - tagged - tasty - tasty-ant-xml - tasty-cannon - tasty-hunit - temporary - text - time - tinylog - transformers - types-common - types-common-aws - types-common-journal - unix - unliftio - unordered-containers - uuid - wai - wai-utilities - warp - warp-tls - wire-api - wire-api-federation - wire-subsystems - yaml - ]; - testHaskellDepends = [ - base - containers - extra - imports - lens - polysemy - polysemy-wire-zoo - tasty - tasty-hunit - tasty-quickcheck - types-common - uuid-types - wire-api - wire-api-federation - wire-subsystems - ]; - description = "Conversations"; - license = lib.licenses.agpl3Only; -} diff --git a/services/gundeck/default.nix b/services/gundeck/default.nix index a709d333df8..65e5a0050f9 100644 --- a/services/gundeck/default.nix +++ b/services/gundeck/default.nix @@ -2,246 +2,3 @@ # This file is generated by running hack/bin/generate-local-nix-packages.sh and # must be regenerated whenever local packages are added or removed, or # dependencies are added or removed. -{ mkDerivation -, aeson -, aeson-pretty -, amazonka -, amazonka-core -, amazonka-sns -, amazonka-sqs -, amqp -, async -, attoparsec -, auto-update -, base -, base16-bytestring -, bilge -, bytestring -, bytestring-conversion -, cassandra-util -, conduit -, containers -, criterion -, crypton-x509-store -, data-timeout -, errors -, exceptions -, extended -, extra -, foldl -, gitignoreSource -, hedis -, hs-opentelemetry-instrumentation-wai -, hs-opentelemetry-sdk -, HsOpenSSL -, http-client -, http-client-tls -, http-types -, imports -, kan-extensions -, lens -, lens-aeson -, lib -, metrics-core -, metrics-wai -, MonadRandom -, mtl -, multiset -, network -, network-uri -, optparse-applicative -, prometheus-client -, psqueues -, QuickCheck -, quickcheck-instances -, quickcheck-state-machine -, random -, raw-strings-qq -, resourcet -, retry -, safe -, safe-exceptions -, scientific -, servant -, servant-server -, string-conversions -, tagged -, tasty -, tasty-ant-xml -, tasty-hunit -, tasty-quickcheck -, text -, these -, time -, tinylog -, tls -, types-common -, types-common-aws -, unliftio -, unordered-containers -, uuid -, wai -, wai-extra -, wai-middleware-gunzip -, wai-utilities -, websockets -, wire-api -, wire-otel -, yaml -}: -mkDerivation { - pname = "gundeck"; - version = "1.45.0"; - src = gitignoreSource ./.; - isLibrary = true; - isExecutable = true; - libraryHaskellDepends = [ - aeson - amazonka - amazonka-core - amazonka-sns - amazonka-sqs - amqp - async - attoparsec - auto-update - base - bilge - bytestring - bytestring-conversion - cassandra-util - containers - crypton-x509-store - data-timeout - errors - exceptions - extended - extra - foldl - hedis - hs-opentelemetry-instrumentation-wai - hs-opentelemetry-sdk - http-client - http-client-tls - http-types - imports - lens - lens-aeson - metrics-core - metrics-wai - mtl - network-uri - prometheus-client - psqueues - raw-strings-qq - resourcet - retry - safe-exceptions - servant - servant-server - text - these - time - tinylog - tls - types-common - types-common-aws - unliftio - unordered-containers - uuid - wai - wai-extra - wai-middleware-gunzip - wai-utilities - wire-api - wire-otel - yaml - ]; - executableHaskellDepends = [ - aeson - async - base - base16-bytestring - bilge - bytestring - bytestring-conversion - cassandra-util - conduit - containers - exceptions - extended - HsOpenSSL - http-client - http-client-tls - imports - kan-extensions - lens - lens-aeson - network - network-uri - optparse-applicative - random - retry - safe - tagged - tasty - tasty-ant-xml - tasty-hunit - text - time - tinylog - types-common - uuid - wai-utilities - websockets - wire-api - yaml - ]; - testHaskellDepends = [ - aeson - aeson-pretty - amazonka - amazonka-core - amqp - async - base - bytestring-conversion - containers - exceptions - HsOpenSSL - imports - lens - MonadRandom - mtl - multiset - network-uri - QuickCheck - quickcheck-instances - quickcheck-state-machine - scientific - string-conversions - tasty - tasty-hunit - tasty-quickcheck - text - these - tinylog - types-common - wire-api - ]; - benchmarkHaskellDepends = [ - amazonka - base - criterion - HsOpenSSL - imports - lens - random - text - types-common - uuid - wire-api - ]; - description = "Push Notification Hub"; - license = lib.licenses.agpl3Only; -} diff --git a/services/proxy/default.nix b/services/proxy/default.nix index 4aa3e636c2f..65e5a0050f9 100644 --- a/services/proxy/default.nix +++ b/services/proxy/default.nix @@ -2,75 +2,3 @@ # This file is generated by running hack/bin/generate-local-nix-packages.sh and # must be regenerated whenever local packages are added or removed, or # dependencies are added or removed. -{ mkDerivation -, aeson -, base -, bilge -, bytestring -, case-insensitive -, cassandra-util -, configurator -, errors -, exceptions -, extended -, gitignoreSource -, http-client -, http-client-tls -, http-reverse-proxy -, http-types -, imports -, lens -, lib -, metrics-wai -, retry -, servant-server -, text -, tinylog -, types-common -, unliftio-core -, uuid -, wai -, wai-middleware-gunzip -, wai-utilities -, wire-api -}: -mkDerivation { - pname = "proxy"; - version = "0.9.0"; - src = gitignoreSource ./.; - isLibrary = true; - isExecutable = true; - libraryHaskellDepends = [ - aeson - base - bilge - bytestring - case-insensitive - cassandra-util - configurator - errors - exceptions - extended - http-client - http-client-tls - http-reverse-proxy - http-types - imports - lens - metrics-wai - retry - servant-server - text - tinylog - types-common - unliftio-core - uuid - wai - wai-middleware-gunzip - wai-utilities - wire-api - ]; - executableHaskellDepends = [ base imports types-common ]; - license = lib.licenses.agpl3Only; - mainProgram = "proxy"; -} diff --git a/services/spar/default.nix b/services/spar/default.nix index 60ad6c717a3..65e5a0050f9 100644 --- a/services/spar/default.nix +++ b/services/spar/default.nix @@ -2,245 +2,3 @@ # This file is generated by running hack/bin/generate-local-nix-packages.sh and # must be regenerated whenever local packages are added or removed, or # dependencies are added or removed. -{ mkDerivation -, aeson -, aeson-qq -, async -, base -, base64-bytestring -, bilge -, brig-types -, bytestring -, bytestring-conversion -, case-insensitive -, cassandra-util -, cassava -, conduit -, containers -, cookie -, crypton -, crypton-x509 -, exceptions -, extended -, filepath -, gitignoreSource -, hscim -, HsOpenSSL -, hspec -, hspec-discover -, hspec-junit-formatter -, hspec-wai -, http-api-data -, http-client -, http-types -, imports -, iso639 -, lens -, lens-aeson -, lib -, metrics-wai -, MonadRandom -, mtl -, network-uri -, openapi3 -, optparse-applicative -, polysemy -, polysemy-check -, polysemy-plugin -, polysemy-wire-zoo -, QuickCheck -, random -, raw-strings-qq -, retry -, saml2-web-sso -, semigroupoids -, servant -, servant-multipart -, servant-openapi3 -, servant-server -, silently -, string-conversions -, tasty-hunit -, text -, these -, time -, tinylog -, transformers -, types-common -, uri-bytestring -, utf8-string -, uuid -, vector -, wai -, wai-extra -, wai-middleware-gunzip -, wai-utilities -, warp -, wire-api -, wire-subsystems -, xml-conduit -, yaml -, zauth -}: -mkDerivation { - pname = "spar"; - version = "0.1"; - src = gitignoreSource ./.; - isLibrary = true; - isExecutable = true; - libraryHaskellDepends = [ - aeson - base - base64-bytestring - bilge - brig-types - bytestring - bytestring-conversion - case-insensitive - cassandra-util - containers - cookie - crypton - crypton-x509 - exceptions - extended - hscim - hspec - http-types - imports - lens - metrics-wai - mtl - network-uri - optparse-applicative - polysemy - polysemy-check - polysemy-plugin - polysemy-wire-zoo - QuickCheck - raw-strings-qq - saml2-web-sso - semigroupoids - servant-multipart - servant-server - text - these - time - tinylog - transformers - types-common - uri-bytestring - utf8-string - uuid - wai - wai-middleware-gunzip - wai-utilities - warp - wire-api - wire-subsystems - yaml - ]; - executableHaskellDepends = [ - aeson - aeson-qq - async - base - base64-bytestring - bilge - brig-types - bytestring - bytestring-conversion - case-insensitive - cassandra-util - cassava - conduit - containers - cookie - crypton - exceptions - extended - hscim - HsOpenSSL - hspec - hspec-junit-formatter - hspec-wai - http-api-data - http-client - http-types - imports - iso639 - lens - lens-aeson - MonadRandom - mtl - network-uri - optparse-applicative - polysemy - polysemy-plugin - QuickCheck - random - raw-strings-qq - retry - saml2-web-sso - servant - servant-server - silently - string-conversions - tasty-hunit - text - these - time - tinylog - transformers - types-common - uri-bytestring - utf8-string - uuid - vector - wai-extra - wai-utilities - wire-api - xml-conduit - yaml - zauth - ]; - executableToolDepends = [ hspec-discover ]; - testHaskellDepends = [ - aeson - aeson-qq - base - brig-types - bytestring-conversion - containers - cookie - filepath - hscim - hspec - imports - lens - lens-aeson - metrics-wai - mtl - network-uri - openapi3 - polysemy - polysemy-plugin - polysemy-wire-zoo - QuickCheck - saml2-web-sso - servant - servant-openapi3 - string-conversions - text - these - time - tinylog - types-common - uri-bytestring - uuid - wire-api - ]; - testToolDepends = [ hspec-discover ]; - description = "User Service for SSO (Single Sign-On) provisioning and authentication"; - license = lib.licenses.agpl3Only; -} diff --git a/tools/db/assets/default.nix b/tools/db/assets/default.nix index 05c5497cc49..65e5a0050f9 100644 --- a/tools/db/assets/default.nix +++ b/tools/db/assets/default.nix @@ -2,44 +2,3 @@ # This file is generated by running hack/bin/generate-local-nix-packages.sh and # must be regenerated whenever local packages are added or removed, or # dependencies are added or removed. -{ mkDerivation -, attoparsec -, base -, bytestring-conversion -, cassandra-util -, conduit -, gitignoreSource -, imports -, lens -, lib -, optparse-applicative -, text -, tinylog -, types-common -, wire-api -}: -mkDerivation { - pname = "assets"; - version = "1.0.0"; - src = gitignoreSource ./.; - isLibrary = true; - isExecutable = true; - libraryHaskellDepends = [ - attoparsec - base - bytestring-conversion - cassandra-util - conduit - imports - lens - optparse-applicative - text - tinylog - types-common - wire-api - ]; - executableHaskellDepends = [ base ]; - description = "Scan the brig user table, search for malformatted asset keys and print them"; - license = lib.licenses.agpl3Only; - mainProgram = "assets"; -} diff --git a/tools/db/auto-whitelist/default.nix b/tools/db/auto-whitelist/default.nix index e7504cef918..65e5a0050f9 100644 --- a/tools/db/auto-whitelist/default.nix +++ b/tools/db/auto-whitelist/default.nix @@ -2,37 +2,3 @@ # This file is generated by running hack/bin/generate-local-nix-packages.sh and # must be regenerated whenever local packages are added or removed, or # dependencies are added or removed. -{ mkDerivation -, base -, cassandra-util -, extra -, gitignoreSource -, imports -, lens -, lib -, optparse-applicative -, tinylog -, types-common -, unliftio -}: -mkDerivation { - pname = "auto-whitelist"; - version = "1.0.0"; - src = gitignoreSource ./.; - isLibrary = false; - isExecutable = true; - executableHaskellDepends = [ - base - cassandra-util - extra - imports - lens - optparse-applicative - tinylog - types-common - unliftio - ]; - description = "Backfill service tables"; - license = lib.licenses.agpl3Only; - mainProgram = "auto-whitelist"; -} diff --git a/tools/db/find-undead/default.nix b/tools/db/find-undead/default.nix index 926bd909686..65e5a0050f9 100644 --- a/tools/db/find-undead/default.nix +++ b/tools/db/find-undead/default.nix @@ -2,47 +2,3 @@ # This file is generated by running hack/bin/generate-local-nix-packages.sh and # must be regenerated whenever local packages are added or removed, or # dependencies are added or removed. -{ mkDerivation -, aeson -, base -, bloodhound -, cassandra-util -, conduit -, containers -, gitignoreSource -, http-client -, imports -, lens -, lib -, optparse-applicative -, text -, tinylog -, uuid -, wire-api -}: -mkDerivation { - pname = "find-undead"; - version = "1.0.0"; - src = gitignoreSource ./.; - isLibrary = false; - isExecutable = true; - executableHaskellDepends = [ - aeson - base - bloodhound - cassandra-util - conduit - containers - http-client - imports - lens - optparse-applicative - text - tinylog - uuid - wire-api - ]; - description = "Backfill billing_team_member table"; - license = lib.licenses.agpl3Only; - mainProgram = "find-undead"; -} diff --git a/tools/db/inconsistencies/default.nix b/tools/db/inconsistencies/default.nix index 80b47740a01..65e5a0050f9 100644 --- a/tools/db/inconsistencies/default.nix +++ b/tools/db/inconsistencies/default.nix @@ -2,51 +2,3 @@ # This file is generated by running hack/bin/generate-local-nix-packages.sh and # must be regenerated whenever local packages are added or removed, or # dependencies are added or removed. -{ mkDerivation -, aeson -, base -, bytestring -, cassandra-util -, conduit -, email-validate -, extended -, extra -, gitignoreSource -, imports -, lib -, optparse-applicative -, text -, tinylog -, types-common -, unliftio -, wire-api -, wire-subsystems -}: -mkDerivation { - pname = "inconsistencies"; - version = "1.0.0"; - src = gitignoreSource ./.; - isLibrary = false; - isExecutable = true; - executableHaskellDepends = [ - aeson - base - bytestring - cassandra-util - conduit - email-validate - extended - extra - imports - optparse-applicative - text - tinylog - types-common - unliftio - wire-api - wire-subsystems - ]; - description = "Find handles which belong to deleted users"; - license = lib.licenses.agpl3Only; - mainProgram = "inconsistencies"; -} diff --git a/tools/db/migrate-features/default.nix b/tools/db/migrate-features/default.nix index 95f9fda2503..65e5a0050f9 100644 --- a/tools/db/migrate-features/default.nix +++ b/tools/db/migrate-features/default.nix @@ -2,47 +2,3 @@ # This file is generated by running hack/bin/generate-local-nix-packages.sh and # must be regenerated whenever local packages are added or removed, or # dependencies are added or removed. -{ mkDerivation -, barbies -, base -, cassandra-util -, conduit -, data-default -, exceptions -, gitignoreSource -, imports -, lens -, lib -, optparse-applicative -, schema-profunctor -, time -, tinylog -, types-common -, wire-api -}: -mkDerivation { - pname = "migrate-features"; - version = "1.0.0"; - src = gitignoreSource ./.; - isLibrary = false; - isExecutable = true; - executableHaskellDepends = [ - barbies - base - cassandra-util - conduit - data-default - exceptions - imports - lens - optparse-applicative - schema-profunctor - time - tinylog - types-common - wire-api - ]; - description = "Migrate team features to team_feature_dyn table"; - license = lib.licenses.agpl3Only; - mainProgram = "migrate-features"; -} diff --git a/tools/db/migrate-sso-feature-flag/default.nix b/tools/db/migrate-sso-feature-flag/default.nix index a6572dd234d..65e5a0050f9 100644 --- a/tools/db/migrate-sso-feature-flag/default.nix +++ b/tools/db/migrate-sso-feature-flag/default.nix @@ -2,41 +2,3 @@ # This file is generated by running hack/bin/generate-local-nix-packages.sh and # must be regenerated whenever local packages are added or removed, or # dependencies are added or removed. -{ mkDerivation -, base -, cassandra-util -, conduit -, gitignoreSource -, imports -, lens -, lib -, optparse-applicative -, tinylog -, types-common -, unliftio -, wire-api -, wire-subsystems -}: -mkDerivation { - pname = "migrate-sso-feature-flag"; - version = "1.0.0"; - src = gitignoreSource ./.; - isLibrary = false; - isExecutable = true; - executableHaskellDepends = [ - base - cassandra-util - conduit - imports - lens - optparse-applicative - tinylog - types-common - unliftio - wire-api - wire-subsystems - ]; - description = "Backfill sso feature flag into teams that already have an IdP"; - license = lib.licenses.agpl3Only; - mainProgram = "migrate-sso-feature-flag"; -} diff --git a/tools/db/mls-users/default.nix b/tools/db/mls-users/default.nix index 0f1c8695642..65e5a0050f9 100644 --- a/tools/db/mls-users/default.nix +++ b/tools/db/mls-users/default.nix @@ -2,51 +2,3 @@ # This file is generated by running hack/bin/generate-local-nix-packages.sh and # must be regenerated whenever local packages are added or removed, or # dependencies are added or removed. -{ mkDerivation -, aeson -, aeson-pretty -, base -, bytestring -, cassandra-util -, conduit -, containers -, cql -, extra -, gitignoreSource -, imports -, lens -, lib -, optparse-applicative -, time -, tinylog -, types-common -, wire-api -}: -mkDerivation { - pname = "mls-users"; - version = "1.0.0"; - src = gitignoreSource ./.; - isLibrary = true; - isExecutable = true; - libraryHaskellDepends = [ - aeson - aeson-pretty - bytestring - cassandra-util - conduit - containers - cql - extra - imports - lens - optparse-applicative - time - tinylog - types-common - wire-api - ]; - executableHaskellDepends = [ base ]; - description = "Find users without MLS support"; - license = lib.licenses.agpl3Only; - mainProgram = "mls-users"; -} diff --git a/tools/db/move-team/default.nix b/tools/db/move-team/default.nix index 36e6d65ac87..65e5a0050f9 100644 --- a/tools/db/move-team/default.nix +++ b/tools/db/move-team/default.nix @@ -2,75 +2,3 @@ # This file is generated by running hack/bin/generate-local-nix-packages.sh and # must be regenerated whenever local packages are added or removed, or # dependencies are added or removed. -{ mkDerivation -, aeson -, base -, bytestring -, cassandra-util -, conduit -, containers -, filepath -, gitignoreSource -, imports -, iproute -, lens -, lib -, megaparsec -, optparse-applicative -, process -, raw-strings-qq -, stache -, text -, time -, tinylog -, types-common -, uuid -, vector -, wire-api -, wire-subsystems -}: -mkDerivation { - pname = "move-team"; - version = "1.0.0"; - src = gitignoreSource ./.; - isLibrary = true; - isExecutable = true; - libraryHaskellDepends = [ - aeson - base - bytestring - cassandra-util - conduit - containers - filepath - imports - iproute - lens - megaparsec - optparse-applicative - process - raw-strings-qq - stache - text - time - tinylog - types-common - uuid - vector - wire-api - wire-subsystems - ]; - executableHaskellDepends = [ - base - cassandra-util - imports - lens - optparse-applicative - process - tinylog - types-common - uuid - ]; - description = "Export a team from one backend, or import it into another"; - license = lib.licenses.agpl3Only; -} diff --git a/tools/db/phone-users/.ormolu b/tools/db/phone-users/.ormolu deleted file mode 120000 index ffc2ca9745e..00000000000 --- a/tools/db/phone-users/.ormolu +++ /dev/null @@ -1 +0,0 @@ -../../../.ormolu \ No newline at end of file diff --git a/tools/db/phone-users/README.md b/tools/db/phone-users/README.md deleted file mode 100644 index ab03b0b8fa1..00000000000 --- a/tools/db/phone-users/README.md +++ /dev/null @@ -1,44 +0,0 @@ -# Phone users - -This program scans brig's users table and determines the number of users that can only login by phone/sms. - -Example usage: - -```shell -phone-users --brig-cassandra-keyspace brig --galley-cassandra-keyspace galley -l 100000 -``` - -Display usage: - -```shell -phone-users -h -``` - -```text -phone-users - -Usage: phone-users [--brig-cassandra-host HOST] [--brig-cassandra-port PORT] - [--brig-cassandra-keyspace STRING] - [--galley-cassandra-host HOST] [--galley-cassandra-port PORT] - [--galley-cassandra-keyspace STRING] [-l|--limit INT] - - This program scans brig's users table and determines the number of users that - can only login by phone/sms - -Available options: - -h,--help Show this help text - --brig-cassandra-host HOST - Cassandra Host for brig (default: "localhost") - --brig-cassandra-port PORT - Cassandra Port for brig (default: 9042) - --brig-cassandra-keyspace STRING - Cassandra Keyspace for brig (default: "brig_test") - --galley-cassandra-host HOST - Cassandra Host for galley (default: "localhost") - --galley-cassandra-port PORT - Cassandra Port for galley (default: 9043) - --galley-cassandra-keyspace STRING - Cassandra Keyspace for galley - (default: "galley_test") - -l,--limit INT Limit the number of users to process -``` diff --git a/tools/db/phone-users/app/Main.hs b/tools/db/phone-users/app/Main.hs deleted file mode 100644 index be8658b8005..00000000000 --- a/tools/db/phone-users/app/Main.hs +++ /dev/null @@ -1,23 +0,0 @@ --- This file is part of the Wire Server implementation. --- --- Copyright (C) 2024 Wire Swiss GmbH --- --- This program is free software: you can redistribute it and/or modify it under --- the terms of the GNU Affero General Public License as published by the Free --- Software Foundation, either version 3 of the License, or (at your option) any --- later version. --- --- This program is distributed in the hope that it will be useful, but WITHOUT --- ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS --- FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more --- details. --- --- You should have received a copy of the GNU Affero General Public License along --- with this program. If not, see . - -module Main where - -import qualified PhoneUsers.Lib as Lib - -main :: IO () -main = Lib.main diff --git a/tools/db/phone-users/default.nix b/tools/db/phone-users/default.nix deleted file mode 100644 index 2903ef57701..00000000000 --- a/tools/db/phone-users/default.nix +++ /dev/null @@ -1,48 +0,0 @@ -# WARNING: GENERATED FILE, DO NOT EDIT. -# This file is generated by running hack/bin/generate-local-nix-packages.sh and -# must be regenerated whenever local packages are added or removed, or -# dependencies are added or removed. -{ mkDerivation -, aeson -, aeson-pretty -, base -, bytestring -, cassandra-util -, conduit -, cql -, gitignoreSource -, imports -, lens -, lib -, optparse-applicative -, time -, tinylog -, types-common -, wire-api -}: -mkDerivation { - pname = "phone-users"; - version = "1.0.0"; - src = gitignoreSource ./.; - isLibrary = true; - isExecutable = true; - libraryHaskellDepends = [ - aeson - aeson-pretty - bytestring - cassandra-util - conduit - cql - imports - lens - optparse-applicative - time - tinylog - types-common - wire-api - ]; - executableHaskellDepends = [ base ]; - description = "Check users that are only able to login via phone"; - license = lib.licenses.agpl3Only; - mainProgram = "phone-users"; -} diff --git a/tools/db/phone-users/phone-users.cabal b/tools/db/phone-users/phone-users.cabal deleted file mode 100644 index ab9c01f8284..00000000000 --- a/tools/db/phone-users/phone-users.cabal +++ /dev/null @@ -1,96 +0,0 @@ -cabal-version: 3.0 -name: phone-users -version: 1.0.0 -synopsis: Check users that are only able to login via phone -category: Network -author: Wire Swiss GmbH -maintainer: Wire Swiss GmbH -copyright: (c) 2024 Wire Swiss GmbH -license: AGPL-3.0-only -build-type: Simple - -library - hs-source-dirs: src - exposed-modules: - PhoneUsers.Lib - PhoneUsers.Types - - ghc-options: - -O2 -Wall -Wincomplete-uni-patterns -Wincomplete-record-updates - -Wpartial-fields -fwarn-tabs -optP-Wno-nonportable-include-path - -funbox-strict-fields -threaded -with-rtsopts=-N - -Wredundant-constraints -Wunused-packages - - build-depends: - , aeson - , aeson-pretty - , bytestring - , cassandra-util - , conduit - , cql - , imports - , lens - , optparse-applicative - , time - , tinylog - , types-common - , wire-api - - default-extensions: - AllowAmbiguousTypes - BangPatterns - ConstraintKinds - DataKinds - DefaultSignatures - DeriveFunctor - DeriveGeneric - DeriveLift - DeriveTraversable - DerivingStrategies - DerivingVia - DuplicateRecordFields - EmptyCase - FlexibleContexts - FlexibleInstances - FunctionalDependencies - GADTs - GeneralizedNewtypeDeriving - InstanceSigs - KindSignatures - LambdaCase - MultiParamTypeClasses - MultiWayIf - NamedFieldPuns - NoImplicitPrelude - OverloadedLabels - OverloadedRecordDot - OverloadedStrings - PackageImports - PatternSynonyms - PolyKinds - QuasiQuotes - RankNTypes - RecordWildCards - ScopedTypeVariables - StandaloneDeriving - TupleSections - TypeApplications - TypeFamilies - TypeFamilyDependencies - TypeOperators - UndecidableInstances - ViewPatterns - -executable phone-users - main-is: Main.hs - build-depends: - , base - , phone-users - - hs-source-dirs: app - default-language: Haskell2010 - ghc-options: - -O2 -Wall -Wincomplete-uni-patterns -Wincomplete-record-updates - -Wpartial-fields -fwarn-tabs -optP-Wno-nonportable-include-path - -funbox-strict-fields -threaded -with-rtsopts=-N - -Wredundant-constraints -Wunused-packages diff --git a/tools/db/phone-users/src/PhoneUsers/Lib.hs b/tools/db/phone-users/src/PhoneUsers/Lib.hs deleted file mode 100644 index 8bf816461ea..00000000000 --- a/tools/db/phone-users/src/PhoneUsers/Lib.hs +++ /dev/null @@ -1,178 +0,0 @@ -{-# LANGUAGE OverloadedStrings #-} - --- This file is part of the Wire Server implementation. --- --- Copyright (C) 2024 Wire Swiss GmbH --- --- This program is free software: you can redistribute it and/or modify it under --- the terms of the GNU Affero General Public License as published by the Free --- Software Foundation, either version 3 of the License, or (at your option) any --- later version. --- --- This program is distributed in the hope that it will be useful, but WITHOUT --- ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS --- FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more --- details. --- --- You should have received a copy of the GNU Affero General Public License along --- with this program. If not, see . - -module PhoneUsers.Lib where - -import Cassandra as C -import Cassandra.Settings as C -import Data.Conduit -import qualified Data.Conduit.Combinators as Conduit -import qualified Data.Conduit.List as CL -import Data.Id (TeamId, UserId) -import Data.Time -import qualified Database.CQL.Protocol as CQL -import Imports -import Options.Applicative -import PhoneUsers.Types --- import qualified System.IO as SIO -import qualified System.Logger as Log -import System.Logger.Message ((.=), (~~)) -import Wire.API.Team.Feature (FeatureStatus (FeatureStatusDisabled, FeatureStatusEnabled)) -import Wire.API.User (AccountStatus (Active)) - -lookupClientsLastActiveTimestamps :: ClientState -> UserId -> IO [Maybe UTCTime] -lookupClientsLastActiveTimestamps client u = do - runClient client $ runIdentity <$$> retry x1 (query selectClients (params One (Identity u))) - where - selectClients :: PrepQuery R (Identity UserId) (Identity (Maybe UTCTime)) - selectClients = "SELECT last_active from clients where user = ?" - -readUsers :: ClientState -> ConduitM () [UserRow] IO () -readUsers client = - transPipe (runClient client) (paginateC selectUsersAll (paramsP One () 1000) x5) - .| Conduit.map (fmap CQL.asRecord) - where - selectUsersAll :: C.PrepQuery C.R () (CQL.TupleType UserRow) - selectUsersAll = - "SELECT id, email, phone, activated, status, team FROM user" - -getConferenceCalling :: ClientState -> TeamId -> IO (Maybe FeatureStatus) -getConferenceCalling client tid = do - runClient client $ runIdentity <$$> retry x1 (query1 select (params One (Identity tid))) - where - select :: PrepQuery R (Identity TeamId) (Identity FeatureStatus) - select = - "select conference_calling from team_features where team_id = ?" - -process :: Log.Logger -> Maybe Int -> ClientState -> ClientState -> IO Result -process logger limit brigClient galleyClient = - runConduit - $ readUsers brigClient - -- .| Conduit.mapM (\chunk -> SIO.hPutStr stderr "." $> chunk) - .| Conduit.concat - .| (maybe (Conduit.filter (const True)) Conduit.take limit) - .| Conduit.mapM (getUserInfo logger brigClient galleyClient) - .| forever (CL.isolate 10000 .| (Conduit.foldMap infoToResult >>= yield)) - .| Conduit.takeWhile ((> 0) . usersSearched) - .| CL.scan (<>) mempty - `fuseUpstream` Conduit.mapM_ (\r -> Log.info logger $ "intermediate_result" .= show r) - -getUserInfo :: Log.Logger -> ClientState -> ClientState -> UserRow -> IO UserInfo -getUserInfo logger brigClient galleyClient ur = do - if not $ isCandidate - then pure NoPhoneUser - else do - -- should we give C* a little break here and add a small threadDelay? - -- threadDelay 200 - lastActiveTimeStamps <- lookupClientsLastActiveTimestamps brigClient ur.id - now <- getCurrentTime - -- activity: - -- inactive: they have no client or client's last_active is greater than 90 days ago - -- active: otherwise - -- last_active is null on client creation, but it will be set once notifications are fetched - -- therefore we can consider empty last_active as inactive - let activeLast90Days = any (clientWasActiveLast90Days now) $ catMaybes lastActiveTimeStamps - userInfo <- - if activeLast90Days - then do - apu <- case ur.team of - Nothing -> pure ActivePersonalUser - Just tid -> do - isPaying <- isPayingTeam galleyClient tid - pure - $ if isPaying - then ActiveTeamUser Free - else ActiveTeamUser Paid - Log.info logger - $ "active_phone_user" - .= show apu - ~~ "user_record" .= show ur - ~~ "last_active_timestamps" .= show lastActiveTimeStamps - ~~ Log.msg (Log.val "active phone user found") - pure apu - else pure InactiveLast90Days - pure $ PhoneUser userInfo - where - -- to qualify as an active phone user candidate, their account must be active and they must have a phone number but no verified email - isCandidate :: Bool - isCandidate = - ur.activated && ur.status == Just Active && isJust ur.phone && isNothing ur.email - - clientWasActiveLast90Days :: UTCTime -> UTCTime -> Bool - clientWasActiveLast90Days now lastActive = diffUTCTime now lastActive < 90 * nominalDay - - -- if conference_calling is enabled for the team, then it's a paying team - isPayingTeam :: ClientState -> TeamId -> IO Bool - isPayingTeam client tid = do - status <- getConferenceCalling client tid - pure $ case status of - Just FeatureStatusEnabled -> True - Just FeatureStatusDisabled -> False - Nothing -> False - -infoToResult :: UserInfo -> Result -infoToResult = \case - NoPhoneUser -> mempty {usersSearched = 1} - PhoneUser InactiveLast90Days -> mempty {usersSearched = 1, phoneUsersTotal = 1, inactivePhoneUsers = 1} - PhoneUser ActivePersonalUser -> mempty {usersSearched = 1, phoneUsersTotal = 1, activePersonalPhoneUsers = 1} - PhoneUser (ActiveTeamUser Free) -> - Result - { usersSearched = 1, - phoneUsersTotal = 1, - inactivePhoneUsers = 0, - activePersonalPhoneUsers = 0, - activeFreeTeamPhoneUsers = 1, - activePaidTeamPhoneUsers = 0 - } - PhoneUser (ActiveTeamUser Paid) -> - Result - { usersSearched = 1, - phoneUsersTotal = 1, - inactivePhoneUsers = 0, - activePersonalPhoneUsers = 0, - activeFreeTeamPhoneUsers = 0, - activePaidTeamPhoneUsers = 1 - } - -main :: IO () -main = do - opts <- execParser (info (helper <*> optsParser) desc) - logger <- initLogger - brigClient <- initCas opts.brigDb logger - galleyClient <- initCas opts.galleyDb logger - putStrLn "scanning users table..." - res <- process logger opts.limit brigClient galleyClient - Log.info logger $ "result" .= show res - where - initLogger = - Log.new - . Log.setLogLevel Log.Info - . Log.setOutput Log.StdOut - . Log.setFormat Nothing - . Log.setBufSize 0 - $ Log.defSettings - initCas settings l = - C.init - . C.setLogger (C.mkLogger l) - . C.setContacts settings.host [] - . C.setPortNumber (fromIntegral settings.port) - . C.setKeyspace settings.keyspace - . C.setProtocolVersion C.V4 - $ C.defSettings - desc = header "phone-users" <> progDesc "This program scans brig's users table and determines the number of users that can only login by phone/sms" <> fullDesc diff --git a/tools/db/phone-users/src/PhoneUsers/Types.hs b/tools/db/phone-users/src/PhoneUsers/Types.hs deleted file mode 100644 index 087dafd2b70..00000000000 --- a/tools/db/phone-users/src/PhoneUsers/Types.hs +++ /dev/null @@ -1,186 +0,0 @@ -{-# LANGUAGE DeriveGeneric #-} -{-# LANGUAGE TemplateHaskell #-} - --- This file is part of the Wire Server implementation. --- --- Copyright (C) 2024 Wire Swiss GmbH --- --- This program is free software: you can redistribute it and/or modify it under --- the terms of the GNU Affero General Public License as published by the Free --- Software Foundation, either version 3 of the License, or (at your option) any --- later version. --- --- This program is distributed in the hope that it will be useful, but WITHOUT --- ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS --- FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more --- details. --- --- You should have received a copy of the GNU Affero General Public License along --- with this program. If not, see . - -module PhoneUsers.Types where - -import Cassandra as C -import Control.Lens -import qualified Data.Aeson as A -import qualified Data.Aeson.Encode.Pretty as A -import qualified Data.ByteString.Lazy.Char8 as LC8 -import Data.Id -import Data.Text.Strict.Lens -import Database.CQL.Protocol hiding (Result) -import Imports -import Options.Applicative -import Wire.API.User - -data CassandraSettings = CassandraSettings - { host :: String, - port :: Int, - keyspace :: C.Keyspace - } - -data Opts = Opts - { brigDb :: CassandraSettings, - galleyDb :: CassandraSettings, - limit :: Maybe Int - } - -optsParser :: Parser Opts -optsParser = - Opts - <$> brigCassandraParser - <*> galleyCassandraParser - <*> optional - ( option - auto - ( long "limit" - <> short 'l' - <> metavar "INT" - <> help "Limit the number of users to process" - ) - ) - -galleyCassandraParser :: Parser CassandraSettings -galleyCassandraParser = - CassandraSettings - <$> strOption - ( long "galley-cassandra-host" - <> metavar "HOST" - <> help "Cassandra Host for galley" - <> value "localhost" - <> showDefault - ) - <*> option - auto - ( long "galley-cassandra-port" - <> metavar "PORT" - <> help "Cassandra Port for galley" - <> value 9043 - <> showDefault - ) - <*> ( C.Keyspace - . view packed - <$> strOption - ( long "galley-cassandra-keyspace" - <> metavar "STRING" - <> help "Cassandra Keyspace for galley" - <> value "galley_test" - <> showDefault - ) - ) - -brigCassandraParser :: Parser CassandraSettings -brigCassandraParser = - CassandraSettings - <$> strOption - ( long "brig-cassandra-host" - <> metavar "HOST" - <> help "Cassandra Host for brig" - <> value "localhost" - <> showDefault - ) - <*> option - auto - ( long "brig-cassandra-port" - <> metavar "PORT" - <> help "Cassandra Port for brig" - <> value 9042 - <> showDefault - ) - <*> ( C.Keyspace - . view packed - <$> strOption - ( long "brig-cassandra-keyspace" - <> metavar "STRING" - <> help "Cassandra Keyspace for brig" - <> value "brig_test" - <> showDefault - ) - ) - -data Result = Result - { usersSearched :: Int, - phoneUsersTotal :: Int, - inactivePhoneUsers :: Int, - activePersonalPhoneUsers :: Int, - activeFreeTeamPhoneUsers :: Int, - activePaidTeamPhoneUsers :: Int - } - deriving (Generic) - -instance A.ToJSON Result - -instance Show Result where - show = LC8.unpack . A.encodePretty - -instance Semigroup Result where - r1 <> r2 = - Result - { usersSearched = r1.usersSearched + r2.usersSearched, - phoneUsersTotal = r1.phoneUsersTotal + r2.phoneUsersTotal, - inactivePhoneUsers = r1.inactivePhoneUsers + r2.inactivePhoneUsers, - activePersonalPhoneUsers = r1.activePersonalPhoneUsers + r2.activePersonalPhoneUsers, - activeFreeTeamPhoneUsers = r1.activeFreeTeamPhoneUsers + r2.activeFreeTeamPhoneUsers, - activePaidTeamPhoneUsers = r1.activePaidTeamPhoneUsers + r2.activePaidTeamPhoneUsers - } - -instance Monoid Result where - mempty = - Result - { usersSearched = 0, - phoneUsersTotal = 0, - inactivePhoneUsers = 0, - activePersonalPhoneUsers = 0, - activeFreeTeamPhoneUsers = 0, - activePaidTeamPhoneUsers = 0 - } - -type Activated = Bool - -data UserRow = UserRow - { id :: UserId, - email :: Maybe EmailAddress, - phone :: Maybe Phone, - activated :: Activated, - status :: Maybe AccountStatus, - team :: Maybe TeamId - } - deriving (Generic) - -instance A.ToJSON UserRow - -recordInstance ''UserRow - -instance Show UserRow where - show = LC8.unpack . A.encodePretty - -data TeamUser = Free | Paid - deriving (Show) - -data UserInfo = NoPhoneUser | PhoneUser PhoneUserInfo - deriving (Show) - -data PhoneUserInfo - = InactiveLast90Days - | ActivePersonalUser - | ActiveTeamUser TeamUser - deriving (Show) diff --git a/tools/db/repair-brig-clients-table/default.nix b/tools/db/repair-brig-clients-table/default.nix index ea9dcfe43c7..65e5a0050f9 100644 --- a/tools/db/repair-brig-clients-table/default.nix +++ b/tools/db/repair-brig-clients-table/default.nix @@ -2,37 +2,3 @@ # This file is generated by running hack/bin/generate-local-nix-packages.sh and # must be regenerated whenever local packages are added or removed, or # dependencies are added or removed. -{ mkDerivation -, base -, cassandra-util -, conduit -, gitignoreSource -, imports -, lens -, lib -, optparse-applicative -, time -, tinylog -, types-common -}: -mkDerivation { - pname = "repair-brig-clients-table"; - version = "1.0.0"; - src = gitignoreSource ./.; - isLibrary = false; - isExecutable = true; - executableHaskellDepends = [ - base - cassandra-util - conduit - imports - lens - optparse-applicative - time - tinylog - types-common - ]; - description = "Removes and reports entries from brig.clients that have been accidentally upserted."; - license = lib.licenses.agpl3Only; - mainProgram = "repair-brig-clients-table"; -} diff --git a/tools/db/repair-handles/default.nix b/tools/db/repair-handles/default.nix index 24336b506ea..65e5a0050f9 100644 --- a/tools/db/repair-handles/default.nix +++ b/tools/db/repair-handles/default.nix @@ -2,43 +2,3 @@ # This file is generated by running hack/bin/generate-local-nix-packages.sh and # must be regenerated whenever local packages are added or removed, or # dependencies are added or removed. -{ mkDerivation -, base -, cassandra-util -, conduit -, containers -, gitignoreSource -, imports -, lens -, lib -, mtl -, optparse-applicative -, text -, tinylog -, types-common -, uuid -}: -mkDerivation { - pname = "repair-handles"; - version = "1.0.0"; - src = gitignoreSource ./.; - isLibrary = false; - isExecutable = true; - executableHaskellDepends = [ - base - cassandra-util - conduit - containers - imports - lens - mtl - optparse-applicative - text - tinylog - types-common - uuid - ]; - description = "Repair inconsistencies between tables user and user_handle"; - license = lib.licenses.agpl3Only; - mainProgram = "repair-handles"; -} diff --git a/tools/db/service-backfill/default.nix b/tools/db/service-backfill/default.nix index b4dbc2d6007..65e5a0050f9 100644 --- a/tools/db/service-backfill/default.nix +++ b/tools/db/service-backfill/default.nix @@ -2,37 +2,3 @@ # This file is generated by running hack/bin/generate-local-nix-packages.sh and # must be regenerated whenever local packages are added or removed, or # dependencies are added or removed. -{ mkDerivation -, base -, cassandra-util -, conduit -, gitignoreSource -, imports -, lens -, lib -, optparse-applicative -, tinylog -, types-common -, unliftio -}: -mkDerivation { - pname = "service-backfill"; - version = "1.0.0"; - src = gitignoreSource ./.; - isLibrary = false; - isExecutable = true; - executableHaskellDepends = [ - base - cassandra-util - conduit - imports - lens - optparse-applicative - tinylog - types-common - unliftio - ]; - description = "Backfill service tables"; - license = lib.licenses.agpl3Only; - mainProgram = "service-backfill"; -} diff --git a/tools/db/team-info/default.nix b/tools/db/team-info/default.nix index d939d1c1fe4..65e5a0050f9 100644 --- a/tools/db/team-info/default.nix +++ b/tools/db/team-info/default.nix @@ -2,39 +2,3 @@ # This file is generated by running hack/bin/generate-local-nix-packages.sh and # must be regenerated whenever local packages are added or removed, or # dependencies are added or removed. -{ mkDerivation -, base -, cassandra-util -, conduit -, cql -, gitignoreSource -, imports -, lens -, lib -, optparse-applicative -, time -, tinylog -, types-common -}: -mkDerivation { - pname = "team-info"; - version = "1.0.0"; - src = gitignoreSource ./.; - isLibrary = true; - isExecutable = true; - libraryHaskellDepends = [ - cassandra-util - conduit - cql - imports - lens - optparse-applicative - time - tinylog - types-common - ]; - executableHaskellDepends = [ base ]; - description = "get team info from cassandra"; - license = lib.licenses.agpl3Only; - mainProgram = "team-info"; -} diff --git a/tools/entreprise-provisioning/default.nix b/tools/entreprise-provisioning/default.nix index ac8d0863103..65e5a0050f9 100644 --- a/tools/entreprise-provisioning/default.nix +++ b/tools/entreprise-provisioning/default.nix @@ -2,67 +2,3 @@ # This file is generated by running hack/bin/generate-local-nix-packages.sh and # must be regenerated whenever local packages are added or removed, or # dependencies are added or removed. -{ mkDerivation -, aeson -, aeson-pretty -, base -, bytestring -, containers -, envparse -, gitignoreSource -, http-client -, http-client-tls -, http-types -, imports -, lib -, optparse-applicative -, tasty -, tasty-golden -, tasty-hunit -, text -, types-common -, uuid -, vector -, wai-utilities -, wire-api -}: -mkDerivation { - pname = "entreprise-provisioning"; - version = "0.1.0"; - src = gitignoreSource ./.; - isLibrary = false; - isExecutable = true; - executableHaskellDepends = [ - aeson - base - bytestring - containers - envparse - http-client - http-client-tls - http-types - imports - optparse-applicative - text - types-common - uuid - vector - wai-utilities - wire-api - ]; - testHaskellDepends = [ - aeson - aeson-pretty - base - bytestring - containers - imports - tasty - tasty-golden - tasty-hunit - types-common - ]; - description = "CLI tool for provisioning user groups with channels"; - license = lib.licenses.agpl3Only; - mainProgram = "entreprise-provisioning"; -} diff --git a/tools/mlsstats/default.nix b/tools/mlsstats/default.nix index 6a550c80bba..65e5a0050f9 100644 --- a/tools/mlsstats/default.nix +++ b/tools/mlsstats/default.nix @@ -2,55 +2,3 @@ # This file is generated by running hack/bin/generate-local-nix-packages.sh and # must be regenerated whenever local packages are added or removed, or # dependencies are added or removed. -{ mkDerivation -, aeson -, amazonka -, amazonka-s3 -, base -, base64-bytestring -, cassandra-util -, conduit -, filepath -, gitignoreSource -, http-types -, imports -, lens -, lib -, optparse-applicative -, schema-profunctor -, text -, time -, tinylog -, types-common -, wire-api -}: -mkDerivation { - pname = "mlsstats"; - version = "0.1.0"; - src = gitignoreSource ./.; - isLibrary = true; - isExecutable = true; - libraryHaskellDepends = [ - aeson - amazonka - amazonka-s3 - base - base64-bytestring - cassandra-util - conduit - filepath - http-types - imports - lens - optparse-applicative - schema-profunctor - text - time - tinylog - types-common - wire-api - ]; - executableHaskellDepends = [ base imports optparse-applicative ]; - license = lib.licenses.agpl3Only; - mainProgram = "mlsstats"; -} diff --git a/tools/rabbitmq-consumer/default.nix b/tools/rabbitmq-consumer/default.nix index 1da708042e2..65e5a0050f9 100644 --- a/tools/rabbitmq-consumer/default.nix +++ b/tools/rabbitmq-consumer/default.nix @@ -2,44 +2,3 @@ # This file is generated by running hack/bin/generate-local-nix-packages.sh and # must be regenerated whenever local packages are added or removed, or # dependencies are added or removed. -{ mkDerivation -, aeson -, aeson-pretty -, amqp -, base -, bytestring -, gitignoreSource -, imports -, lib -, network -, optparse-applicative -, text -, types-common -, wire-api -, wire-api-federation -}: -mkDerivation { - pname = "rabbitmq-consumer"; - version = "1.0.0"; - src = gitignoreSource ./.; - isLibrary = true; - isExecutable = true; - libraryHaskellDepends = [ - aeson - aeson-pretty - amqp - base - bytestring - imports - network - optparse-applicative - text - types-common - wire-api - wire-api-federation - ]; - executableHaskellDepends = [ base ]; - description = "CLI tool to consume messages from a RabbitMQ queue"; - license = lib.licenses.agpl3Only; - mainProgram = "rabbitmq-consumer"; -} diff --git a/tools/rex/default.nix b/tools/rex/default.nix index 02d05d765d4..65e5a0050f9 100644 --- a/tools/rex/default.nix +++ b/tools/rex/default.nix @@ -2,55 +2,3 @@ # This file is generated by running hack/bin/generate-local-nix-packages.sh and # must be regenerated whenever local packages are added or removed, or # dependencies are added or removed. -{ mkDerivation -, async -, attoparsec -, base -, bytestring -, clock -, dns -, exceptions -, gitignoreSource -, http-types -, iproute -, lib -, mtl -, network -, optparse-applicative -, prometheus -, text -, tinylog -, unordered-containers -, wai -, warp -}: -mkDerivation { - pname = "rex"; - version = "0.3.0"; - src = gitignoreSource ./.; - isLibrary = false; - isExecutable = true; - executableHaskellDepends = [ - async - attoparsec - base - bytestring - clock - dns - exceptions - http-types - iproute - mtl - network - optparse-applicative - prometheus - text - tinylog - unordered-containers - wai - warp - ]; - description = "Scrape and expose restund metrics for prometheus"; - license = lib.licenses.agpl3Only; - mainProgram = "rex"; -} diff --git a/tools/stern/default.nix b/tools/stern/default.nix index 628a2a3a1d9..65e5a0050f9 100644 --- a/tools/stern/default.nix +++ b/tools/stern/default.nix @@ -2,132 +2,3 @@ # This file is generated by running hack/bin/generate-local-nix-packages.sh and # must be regenerated whenever local packages are added or removed, or # dependencies are added or removed. -{ mkDerivation -, aeson -, base -, bilge -, brig-types -, bytestring -, bytestring-conversion -, containers -, cookie -, data-default -, errors -, exceptions -, extended -, extra -, gitignoreSource -, HsOpenSSL -, http-client -, http-client-tls -, http-types -, imports -, lens -, lens-aeson -, lib -, mtl -, openapi3 -, optparse-applicative -, random -, retry -, schema-profunctor -, servant -, servant-client -, servant-openapi3 -, servant-server -, servant-swagger-ui -, split -, string-conversions -, tagged -, tasty -, tasty-ant-xml -, tasty-hunit -, text -, tinylog -, transformers -, types-common -, unliftio -, utf8-string -, uuid -, wai -, wai-utilities -, wire-api -, yaml -}: -mkDerivation { - pname = "stern"; - version = "1.7.2"; - src = gitignoreSource ./.; - isLibrary = true; - isExecutable = true; - libraryHaskellDepends = [ - aeson - base - bilge - brig-types - bytestring - bytestring-conversion - containers - errors - exceptions - extended - http-client - http-types - imports - lens - mtl - openapi3 - schema-profunctor - servant - servant-client - servant-openapi3 - servant-server - servant-swagger-ui - split - text - tinylog - transformers - types-common - unliftio - utf8-string - wai - wai-utilities - wire-api - yaml - ]; - executableHaskellDepends = [ - aeson - base - bilge - brig-types - bytestring-conversion - containers - cookie - data-default - exceptions - extra - HsOpenSSL - http-client - http-client-tls - imports - lens - lens-aeson - optparse-applicative - random - retry - schema-profunctor - string-conversions - tagged - tasty - tasty-ant-xml - tasty-hunit - text - tinylog - types-common - uuid - wire-api - yaml - ]; - testHaskellDepends = [ base tasty tasty-hunit wire-api ]; - license = lib.licenses.agpl3Only; -} diff --git a/tools/test-stats/default.nix b/tools/test-stats/default.nix index fe6dee90c2e..65e5a0050f9 100644 --- a/tools/test-stats/default.nix +++ b/tools/test-stats/default.nix @@ -2,39 +2,3 @@ # This file is generated by running hack/bin/generate-local-nix-packages.sh and # must be regenerated whenever local packages are added or removed, or # dependencies are added or removed. -{ mkDerivation -, base -, bytestring -, gitignoreSource -, imports -, lib -, monoidal-containers -, optparse-generic -, postgresql-simple -, prometheus-client -, text -, time -, xml -}: -mkDerivation { - pname = "test-stats"; - version = "0.1.0"; - src = gitignoreSource ./.; - isLibrary = false; - isExecutable = true; - executableHaskellDepends = [ - base - bytestring - imports - monoidal-containers - optparse-generic - postgresql-simple - prometheus-client - text - time - xml - ]; - description = "Test run statistics"; - license = lib.licenses.agpl3Only; - mainProgram = "test-stats"; -} From 0f6d4e4805706d4acaa6001b9ee12f52e5fd28a0 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Thu, 29 Jan 2026 07:40:02 +0000 Subject: [PATCH 6/7] Restore nix files and fix cabal.project wire-server-enterprise Co-authored-by: fisx <10210727+fisx@users.noreply.github.com> --- integration/default.nix | 200 +++++++++ libs/bilge/default.nix | 59 +++ libs/brig-types/default.nix | 41 ++ libs/cargohold-types/default.nix | 25 ++ libs/cassandra-util/default.nix | 53 +++ libs/deriving-swagger2/default.nix | 15 + libs/dns-util/default.nix | 29 ++ libs/extended/default.nix | 108 +++++ libs/galley-types/default.nix | 46 ++ libs/hscim/default.nix | 136 ++++++ libs/http2-manager/default.nix | 58 +++ libs/imports/default.nix | 37 ++ libs/jwt-tools/default.nix | 35 ++ libs/metrics-core/default.nix | 23 + libs/metrics-wai/default.nix | 39 ++ libs/polysemy-wire-zoo/default.nix | 65 +++ libs/saml2-web-sso/default.nix | 234 ++++++++++ libs/schema-profunctor/default.nix | 52 +++ libs/sodium-crypto-sign/default.nix | 23 + libs/ssl-util/default.nix | 27 ++ libs/tasty-cannon/default.nix | 45 ++ libs/types-common-aws/default.nix | 35 ++ libs/types-common-journal/default.nix | 32 ++ libs/types-common/default.nix | 137 ++++++ libs/wai-utilities/default.nix | 80 ++++ libs/wire-api-federation/default.nix | 104 +++++ libs/wire-api/default.nix | 288 +++++++++++++ libs/wire-message-proto-lens/default.nix | 19 + libs/wire-otel/default.nix | 43 ++ libs/wire-subsystems/default.nix | 365 ++++++++++++++++ libs/zauth/default.nix | 69 +++ services/background-worker/default.nix | 127 ++++++ services/brig/default.nix | 399 ++++++++++++++++++ services/cannon/default.nix | 133 ++++++ services/cargohold/default.nix | 192 +++++++++ services/federator/default.nix | 214 ++++++++++ services/galley/default.nix | 310 ++++++++++++++ services/gundeck/default.nix | 243 +++++++++++ services/proxy/default.nix | 72 ++++ services/spar/default.nix | 242 +++++++++++ tools/db/assets/default.nix | 41 ++ tools/db/auto-whitelist/default.nix | 34 ++ tools/db/find-undead/default.nix | 44 ++ tools/db/inconsistencies/default.nix | 48 +++ tools/db/migrate-features/default.nix | 44 ++ tools/db/migrate-sso-feature-flag/default.nix | 38 ++ tools/db/mls-users/default.nix | 48 +++ tools/db/move-team/default.nix | 72 ++++ tools/db/phone-users/default.nix | 48 +++ .../db/repair-brig-clients-table/default.nix | 34 ++ tools/db/repair-handles/default.nix | 40 ++ tools/db/service-backfill/default.nix | 34 ++ tools/db/team-info/default.nix | 36 ++ tools/entreprise-provisioning/default.nix | 64 +++ tools/mlsstats/default.nix | 52 +++ tools/rabbitmq-consumer/default.nix | 41 ++ tools/rex/default.nix | 52 +++ tools/stern/default.nix | 129 ++++++ tools/test-stats/default.nix | 36 ++ 59 files changed, 5389 insertions(+) create mode 100644 tools/db/phone-users/default.nix diff --git a/integration/default.nix b/integration/default.nix index 65e5a0050f9..871bf6ae879 100644 --- a/integration/default.nix +++ b/integration/default.nix @@ -2,3 +2,203 @@ # This file is generated by running hack/bin/generate-local-nix-packages.sh and # must be regenerated whenever local packages are added or removed, or # dependencies are added or removed. +{ mkDerivation +, aeson +, aeson-diff +, aeson-pretty +, amqp +, array +, asn1-encoding +, asn1-types +, async +, attoparsec +, base +, base16-bytestring +, base64-bytestring +, bytestring +, bytestring-conversion +, Cabal +, case-insensitive +, containers +, cookie +, cql +, cql-io +, criterion +, crypton +, crypton-x509 +, cryptostore +, data-default +, data-timeout +, deriving-aeson +, directory +, dns +, errors +, exceptions +, extended +, extra +, filepath +, gitignoreSource +, haskell-src-exts +, hex +, hourglass +, HsOpenSSL +, http-client +, http-types +, interpolate +, kan-extensions +, lens +, lens-aeson +, lib +, memory +, mime +, monad-control +, mtl +, network +, network-uri +, optparse-applicative +, pem +, process +, proto-lens +, random +, raw-strings-qq +, regex +, regex-base +, regex-tdfa +, retry +, saml2-web-sso +, scientific +, servant +, servant-client +, servant-server +, split +, stm +, streaming-commons +, string-conversions +, system-linux-proc +, tagged +, temporary +, text +, time +, transformers +, transformers-base +, unix +, unix-time +, unliftio +, uuid +, vector +, wai +, warp +, warp-tls +, websockets +, wire-message-proto-lens +, wreq +, xml +, xml-conduit +, yaml +}: +mkDerivation { + pname = "integration"; + version = "0.1.0"; + src = gitignoreSource ./.; + isLibrary = true; + isExecutable = true; + setupHaskellDepends = [ + base + Cabal + containers + directory + filepath + haskell-src-exts + ]; + libraryHaskellDepends = [ + aeson + aeson-diff + aeson-pretty + amqp + array + asn1-encoding + asn1-types + async + attoparsec + base + base16-bytestring + base64-bytestring + bytestring + bytestring-conversion + case-insensitive + containers + cookie + cql + cql-io + criterion + crypton + crypton-x509 + cryptostore + data-default + data-timeout + deriving-aeson + directory + dns + errors + exceptions + extended + extra + filepath + hex + hourglass + HsOpenSSL + http-client + http-types + interpolate + kan-extensions + lens + lens-aeson + memory + mime + monad-control + mtl + network + network-uri + optparse-applicative + pem + process + proto-lens + random + raw-strings-qq + regex + regex-base + regex-tdfa + retry + saml2-web-sso + scientific + servant + servant-client + servant-server + split + stm + streaming-commons + string-conversions + system-linux-proc + tagged + temporary + text + time + transformers + transformers-base + unix + unix-time + unliftio + uuid + vector + wai + warp + warp-tls + websockets + wire-message-proto-lens + wreq + xml + xml-conduit + yaml + ]; + license = lib.licenses.agpl3Only; +} diff --git a/libs/bilge/default.nix b/libs/bilge/default.nix index 65e5a0050f9..0f90d357e62 100644 --- a/libs/bilge/default.nix +++ b/libs/bilge/default.nix @@ -2,3 +2,62 @@ # This file is generated by running hack/bin/generate-local-nix-packages.sh and # must be regenerated whenever local packages are added or removed, or # dependencies are added or removed. +{ mkDerivation +, aeson +, ansi-terminal +, base +, bytestring +, case-insensitive +, cookie +, errors +, exceptions +, gitignoreSource +, http-client +, http-types +, imports +, lens +, lib +, monad-control +, mtl +, text +, tinylog +, transformers-base +, types-common +, uri-bytestring +, wai +, wai-extra +, wai-utilities +, wire-otel +}: +mkDerivation { + pname = "bilge"; + version = "0.22.0"; + src = gitignoreSource ./.; + libraryHaskellDepends = [ + aeson + ansi-terminal + base + bytestring + case-insensitive + cookie + errors + exceptions + http-client + http-types + imports + lens + monad-control + mtl + text + tinylog + transformers-base + types-common + uri-bytestring + wai + wai-extra + wai-utilities + wire-otel + ]; + description = "Library for composing HTTP requests"; + license = lib.licenses.agpl3Only; +} diff --git a/libs/brig-types/default.nix b/libs/brig-types/default.nix index 65e5a0050f9..4611943535f 100644 --- a/libs/brig-types/default.nix +++ b/libs/brig-types/default.nix @@ -2,3 +2,44 @@ # This file is generated by running hack/bin/generate-local-nix-packages.sh and # must be regenerated whenever local packages are added or removed, or # dependencies are added or removed. +{ mkDerivation +, aeson +, base +, cassandra-util +, containers +, gitignoreSource +, imports +, lib +, openapi3 +, QuickCheck +, tasty +, tasty-quickcheck +, types-common +, wire-api +}: +mkDerivation { + pname = "brig-types"; + version = "1.35.0"; + src = gitignoreSource ./.; + libraryHaskellDepends = [ + base + cassandra-util + containers + imports + QuickCheck + types-common + wire-api + ]; + testHaskellDepends = [ + aeson + base + imports + openapi3 + QuickCheck + tasty + tasty-quickcheck + wire-api + ]; + description = "User Service"; + license = lib.licenses.agpl3Only; +} diff --git a/libs/cargohold-types/default.nix b/libs/cargohold-types/default.nix index 65e5a0050f9..e2b0d545b81 100644 --- a/libs/cargohold-types/default.nix +++ b/libs/cargohold-types/default.nix @@ -2,3 +2,28 @@ # This file is generated by running hack/bin/generate-local-nix-packages.sh and # must be regenerated whenever local packages are added or removed, or # dependencies are added or removed. +{ mkDerivation +, base +, bytestring-conversion +, gitignoreSource +, imports +, lib +, QuickCheck +, types-common +, wire-api +}: +mkDerivation { + pname = "cargohold-types"; + version = "1.5.0"; + src = gitignoreSource ./.; + libraryHaskellDepends = [ + base + bytestring-conversion + imports + QuickCheck + types-common + wire-api + ]; + description = "Asset Storage API Types"; + license = lib.licenses.agpl3Only; +} diff --git a/libs/cassandra-util/default.nix b/libs/cassandra-util/default.nix index 65e5a0050f9..e02d098a9b7 100644 --- a/libs/cassandra-util/default.nix +++ b/libs/cassandra-util/default.nix @@ -2,3 +2,56 @@ # This file is generated by running hack/bin/generate-local-nix-packages.sh and # must be regenerated whenever local packages are added or removed, or # dependencies are added or removed. +{ mkDerivation +, aeson +, base +, conduit +, cql +, cql-io +, cql-io-tinylog +, exceptions +, gitignoreSource +, HsOpenSSL +, imports +, lens +, lens-aeson +, lib +, optparse-applicative +, retry +, split +, template-haskell +, text +, time +, tinylog +, uuid +, wreq +}: +mkDerivation { + pname = "cassandra-util"; + version = "0.16.5"; + src = gitignoreSource ./.; + libraryHaskellDepends = [ + aeson + base + conduit + cql + cql-io + cql-io-tinylog + exceptions + HsOpenSSL + imports + lens + lens-aeson + optparse-applicative + retry + split + template-haskell + text + time + tinylog + uuid + wreq + ]; + description = "Cassandra Utilities"; + license = lib.licenses.agpl3Only; +} diff --git a/libs/deriving-swagger2/default.nix b/libs/deriving-swagger2/default.nix index 65e5a0050f9..5359dbec579 100644 --- a/libs/deriving-swagger2/default.nix +++ b/libs/deriving-swagger2/default.nix @@ -2,3 +2,18 @@ # This file is generated by running hack/bin/generate-local-nix-packages.sh and # must be regenerated whenever local packages are added or removed, or # dependencies are added or removed. +{ mkDerivation +, base +, extra +, gitignoreSource +, imports +, lib +, openapi3 +}: +mkDerivation { + pname = "deriving-swagger2"; + version = "0.1.0"; + src = gitignoreSource ./.; + libraryHaskellDepends = [ base extra imports openapi3 ]; + license = lib.licenses.agpl3Only; +} diff --git a/libs/dns-util/default.nix b/libs/dns-util/default.nix index 65e5a0050f9..47548fb34ed 100644 --- a/libs/dns-util/default.nix +++ b/libs/dns-util/default.nix @@ -2,3 +2,32 @@ # This file is generated by running hack/bin/generate-local-nix-packages.sh and # must be regenerated whenever local packages are added or removed, or # dependencies are added or removed. +{ mkDerivation +, base +, dns +, gitignoreSource +, hspec +, hspec-discover +, imports +, iproute +, lib +, polysemy +, random +}: +mkDerivation { + pname = "dns-util"; + version = "0.1.0"; + src = gitignoreSource ./.; + libraryHaskellDepends = [ + base + dns + imports + iproute + polysemy + random + ]; + testHaskellDepends = [ base dns hspec imports ]; + testToolDepends = [ hspec-discover ]; + description = "Library to deal with DNS SRV records"; + license = lib.licenses.agpl3Only; +} diff --git a/libs/extended/default.nix b/libs/extended/default.nix index 65e5a0050f9..3ec398e8d14 100644 --- a/libs/extended/default.nix +++ b/libs/extended/default.nix @@ -2,3 +2,111 @@ # This file is generated by running hack/bin/generate-local-nix-packages.sh and # must be regenerated whenever local packages are added or removed, or # dependencies are added or removed. +{ mkDerivation +, aeson +, amqp +, asn1-types +, base +, bytestring +, cassandra-util +, containers +, crypton +, crypton-connection +, crypton-pem +, crypton-x509 +, crypton-x509-store +, data-default +, errors +, exceptions +, gitignoreSource +, hasql +, hasql-pool +, hspec +, hspec-discover +, http-client +, http-client-tls +, http-types +, imports +, lib +, memory +, metrics-wai +, monad-control +, prometheus-client +, retry +, servant +, servant-client +, servant-client-core +, servant-openapi3 +, servant-server +, string-conversions +, temporary +, text +, time +, tinylog +, tls +, transformers +, types-common +, unliftio +, uuid +, wai +}: +mkDerivation { + pname = "extended"; + version = "0.1.0"; + src = gitignoreSource ./.; + libraryHaskellDepends = [ + aeson + amqp + asn1-types + base + bytestring + cassandra-util + containers + crypton + crypton-connection + crypton-x509 + crypton-x509-store + data-default + errors + exceptions + hasql + hasql-pool + http-client + http-client-tls + http-types + imports + memory + metrics-wai + monad-control + prometheus-client + retry + servant + servant-client + servant-client-core + servant-openapi3 + servant-server + text + time + tinylog + tls + transformers + types-common + unliftio + uuid + wai + ]; + testHaskellDepends = [ + aeson + base + bytestring + crypton-pem + crypton-x509 + hspec + imports + string-conversions + temporary + ]; + testToolDepends = [ hspec-discover ]; + description = "Extended versions of common modules"; + license = lib.licenses.agpl3Only; +} diff --git a/libs/galley-types/default.nix b/libs/galley-types/default.nix index 65e5a0050f9..4edd7e398d8 100644 --- a/libs/galley-types/default.nix +++ b/libs/galley-types/default.nix @@ -2,3 +2,49 @@ # This file is generated by running hack/bin/generate-local-nix-packages.sh and # must be regenerated whenever local packages are added or removed, or # dependencies are added or removed. +{ mkDerivation +, aeson +, base +, bytestring +, bytestring-conversion +, containers +, crypton +, data-default +, errors +, gitignoreSource +, imports +, lens +, lib +, memory +, sop-core +, text +, types-common +, utf8-string +, uuid +, wire-api +}: +mkDerivation { + pname = "galley-types"; + version = "0.81.0"; + src = gitignoreSource ./.; + libraryHaskellDepends = [ + aeson + base + bytestring + bytestring-conversion + containers + crypton + data-default + errors + imports + lens + memory + sop-core + text + types-common + utf8-string + uuid + wire-api + ]; + license = lib.licenses.agpl3Only; +} diff --git a/libs/hscim/default.nix b/libs/hscim/default.nix index 65e5a0050f9..d0a64d40d04 100644 --- a/libs/hscim/default.nix +++ b/libs/hscim/default.nix @@ -2,3 +2,139 @@ # This file is generated by running hack/bin/generate-local-nix-packages.sh and # must be regenerated whenever local packages are added or removed, or # dependencies are added or removed. +{ mkDerivation +, aeson +, aeson-qq +, attoparsec +, attoparsec-aeson +, base +, bytestring +, case-insensitive +, containers +, email-validate +, gitignoreSource +, hashable +, hedgehog +, hspec +, hspec-discover +, hspec-expectations +, hspec-wai +, http-api-data +, http-media +, http-types +, HUnit +, hw-hspec-hedgehog +, indexed-traversable +, lens-aeson +, lib +, list-t +, microlens +, mmorph +, mtl +, network-uri +, retry +, scientific +, servant +, servant-client +, servant-client-core +, servant-server +, stm +, stm-containers +, string-conversions +, template-haskell +, text +, time +, utf8-string +, uuid +, vector +, wai +, wai-extra +, wai-utilities +, warp +}: +mkDerivation { + pname = "hscim"; + version = "0.4.0.6"; + src = gitignoreSource ./.; + isLibrary = true; + isExecutable = true; + libraryHaskellDepends = [ + aeson + aeson-qq + attoparsec + attoparsec-aeson + base + bytestring + case-insensitive + containers + email-validate + hashable + hspec + hspec-expectations + hspec-wai + http-api-data + http-media + http-types + list-t + microlens + mmorph + mtl + network-uri + retry + scientific + servant + servant-client + servant-client-core + servant-server + stm + stm-containers + string-conversions + template-haskell + text + time + utf8-string + uuid + wai + wai-extra + wai-utilities + ]; + executableHaskellDepends = [ + base + email-validate + network-uri + stm + stm-containers + time + warp + ]; + testHaskellDepends = [ + aeson + attoparsec + base + bytestring + email-validate + hedgehog + hspec + hspec-expectations + hspec-wai + http-types + HUnit + hw-hspec-hedgehog + indexed-traversable + lens-aeson + microlens + network-uri + servant + servant-server + stm-containers + text + vector + wai + wai-extra + ]; + testToolDepends = [ hspec-discover ]; + homepage = "https://github.com/wireapp/wire-server/blob/develop/libs/hscim/README.md"; + description = "hscim json schema and server implementation"; + license = lib.licenses.agpl3Only; + mainProgram = "hscim-server"; +} diff --git a/libs/http2-manager/default.nix b/libs/http2-manager/default.nix index 65e5a0050f9..1a41e8ebacf 100644 --- a/libs/http2-manager/default.nix +++ b/libs/http2-manager/default.nix @@ -2,3 +2,61 @@ # This file is generated by running hack/bin/generate-local-nix-packages.sh and # must be regenerated whenever local packages are added or removed, or # dependencies are added or removed. +{ mkDerivation +, async +, base +, bytestring +, containers +, gitignoreSource +, HsOpenSSL +, hspec +, hspec-discover +, http-types +, http2 +, lib +, network +, random +, stm +, stm-containers +, streaming-commons +, text +, time-manager +}: +mkDerivation { + pname = "http2-manager"; + version = "0.0.1"; + src = gitignoreSource ./.; + libraryHaskellDepends = [ + async + base + bytestring + containers + HsOpenSSL + http2 + network + stm + stm-containers + streaming-commons + text + time-manager + ]; + testHaskellDepends = [ + async + base + bytestring + containers + HsOpenSSL + hspec + http-types + http2 + network + random + stm + stm-containers + streaming-commons + time-manager + ]; + testToolDepends = [ hspec-discover ]; + description = "Managed connection pool for HTTP2"; + license = lib.licenses.agpl3Only; +} diff --git a/libs/imports/default.nix b/libs/imports/default.nix index 65e5a0050f9..86157dd0c2a 100644 --- a/libs/imports/default.nix +++ b/libs/imports/default.nix @@ -2,3 +2,40 @@ # This file is generated by running hack/bin/generate-local-nix-packages.sh and # must be regenerated whenever local packages are added or removed, or # dependencies are added or removed. +{ mkDerivation +, base +, bytestring +, containers +, deepseq +, either +, extra +, gitignoreSource +, lib +, mtl +, text +, transformers +, unliftio +, unliftio-core +, unordered-containers +}: +mkDerivation { + pname = "imports"; + version = "0.1.0"; + src = gitignoreSource ./.; + libraryHaskellDepends = [ + base + bytestring + containers + deepseq + either + extra + mtl + text + transformers + unliftio + unliftio-core + unordered-containers + ]; + description = "Very common imports"; + license = lib.licenses.agpl3Only; +} diff --git a/libs/jwt-tools/default.nix b/libs/jwt-tools/default.nix index 65e5a0050f9..2a8caa3f5aa 100644 --- a/libs/jwt-tools/default.nix +++ b/libs/jwt-tools/default.nix @@ -2,3 +2,38 @@ # This file is generated by running hack/bin/generate-local-nix-packages.sh and # must be regenerated whenever local packages are added or removed, or # dependencies are added or removed. +{ mkDerivation +, base +, bytestring-conversion +, gitignoreSource +, hspec +, http-types +, imports +, lib +, rusty_jwt_tools_ffi +, string-conversions +, transformers +, utf8-string +}: +mkDerivation { + pname = "jwt-tools"; + version = "0.1.0"; + src = gitignoreSource ./.; + libraryHaskellDepends = [ + base + bytestring-conversion + http-types + imports + transformers + utf8-string + ]; + librarySystemDepends = [ rusty_jwt_tools_ffi ]; + testHaskellDepends = [ + hspec + imports + string-conversions + transformers + ]; + description = "FFI to rusty-jwt-tools"; + license = lib.licenses.agpl3Only; +} diff --git a/libs/metrics-core/default.nix b/libs/metrics-core/default.nix index 65e5a0050f9..b7e369144f6 100644 --- a/libs/metrics-core/default.nix +++ b/libs/metrics-core/default.nix @@ -2,3 +2,26 @@ # This file is generated by running hack/bin/generate-local-nix-packages.sh and # must be regenerated whenever local packages are added or removed, or # dependencies are added or removed. +{ mkDerivation +, base +, gitignoreSource +, immortal +, imports +, lib +, prometheus-client +, time +}: +mkDerivation { + pname = "metrics-core"; + version = "0.3.2"; + src = gitignoreSource ./.; + libraryHaskellDepends = [ + base + immortal + imports + prometheus-client + time + ]; + description = "Metrics core"; + license = lib.licenses.agpl3Only; +} diff --git a/libs/metrics-wai/default.nix b/libs/metrics-wai/default.nix index 65e5a0050f9..9cc817d7023 100644 --- a/libs/metrics-wai/default.nix +++ b/libs/metrics-wai/default.nix @@ -2,3 +2,42 @@ # This file is generated by running hack/bin/generate-local-nix-packages.sh and # must be regenerated whenever local packages are added or removed, or # dependencies are added or removed. +{ mkDerivation +, base +, bytestring +, containers +, gitignoreSource +, hspec +, hspec-discover +, imports +, lib +, servant +, servant-multipart +, text +, types-common +, utf8-string +, wai +, wai-middleware-prometheus +}: +mkDerivation { + pname = "metrics-wai"; + version = "0.5.7"; + src = gitignoreSource ./.; + libraryHaskellDepends = [ + base + bytestring + containers + imports + servant + servant-multipart + text + types-common + utf8-string + wai + wai-middleware-prometheus + ]; + testHaskellDepends = [ base containers hspec imports ]; + testToolDepends = [ hspec-discover ]; + description = "Metrics WAI integration"; + license = lib.licenses.agpl3Only; +} diff --git a/libs/polysemy-wire-zoo/default.nix b/libs/polysemy-wire-zoo/default.nix index 65e5a0050f9..3f1d2b167c0 100644 --- a/libs/polysemy-wire-zoo/default.nix +++ b/libs/polysemy-wire-zoo/default.nix @@ -2,3 +2,68 @@ # This file is generated by running hack/bin/generate-local-nix-packages.sh and # must be regenerated whenever local packages are added or removed, or # dependencies are added or removed. +{ mkDerivation +, aeson +, base +, bytestring +, cassandra-util +, containers +, crypton +, gitignoreSource +, HsOpenSSL +, hspec +, hspec-discover +, imports +, jose +, lib +, polysemy +, polysemy-check +, polysemy-plugin +, prometheus-client +, QuickCheck +, saml2-web-sso +, time +, tinylog +, types-common +, unliftio +, uuid +}: +mkDerivation { + pname = "polysemy-wire-zoo"; + version = "0.1.0"; + src = gitignoreSource ./.; + libraryHaskellDepends = [ + aeson + base + bytestring + cassandra-util + crypton + HsOpenSSL + hspec + imports + jose + polysemy + polysemy-check + polysemy-plugin + prometheus-client + QuickCheck + saml2-web-sso + time + tinylog + types-common + unliftio + uuid + ]; + testHaskellDepends = [ + base + containers + hspec + imports + polysemy + polysemy-plugin + unliftio + ]; + testToolDepends = [ hspec-discover ]; + description = "Polysemy interface for various libraries"; + license = lib.licenses.agpl3Only; +} diff --git a/libs/saml2-web-sso/default.nix b/libs/saml2-web-sso/default.nix index 65e5a0050f9..e4d714b7145 100644 --- a/libs/saml2-web-sso/default.nix +++ b/libs/saml2-web-sso/default.nix @@ -2,3 +2,237 @@ # This file is generated by running hack/bin/generate-local-nix-packages.sh and # must be regenerated whenever local packages are added or removed, or # dependencies are added or removed. +{ mkDerivation +, aeson +, asn1-encoding +, asn1-parse +, asn1-types +, base +, base64-bytestring +, binary +, bytestring +, case-insensitive +, containers +, cookie +, crypton +, crypton-x509 +, data-default +, directory +, dns +, email-validate +, errors +, exceptions +, extra +, file-path-th +, filepath +, foundation +, ghc-prim +, gitignoreSource +, hedgehog +, hedgehog-quickcheck +, hourglass +, hsaml2 +, hspec +, hspec-core +, hspec-discover +, hspec-wai +, http-media +, http-types +, hxt +, hxt-regex-xmlschema +, imports +, invertible-hxt +, lens +, lens-datetime +, lib +, memory +, mtl +, network-uri +, pretty-show +, process +, QuickCheck +, quickcheck-instances +, random +, schema-profunctor +, servant +, servant-multipart +, servant-server +, shelly +, silently +, string-conversions +, temporary +, text +, time +, tinylog +, transformers +, types-common +, uniplate +, uri-bytestring +, utf8-string +, uuid +, wai +, wai-extra +, wai-utilities +, warp +, word8 +, xml-conduit +, xml-conduit-writer +, xml-hamlet +, xml-types +, yaml +}: +mkDerivation { + pname = "saml2-web-sso"; + version = "0.20"; + src = gitignoreSource ./.; + libraryHaskellDepends = [ + aeson + asn1-encoding + asn1-parse + asn1-types + base + base64-bytestring + binary + bytestring + case-insensitive + containers + cookie + crypton + crypton-x509 + data-default + directory + dns + email-validate + errors + exceptions + extra + file-path-th + filepath + foundation + ghc-prim + hedgehog + hedgehog-quickcheck + hourglass + hsaml2 + hspec + hspec-wai + http-media + http-types + hxt + hxt-regex-xmlschema + imports + invertible-hxt + lens + lens-datetime + memory + mtl + network-uri + pretty-show + process + QuickCheck + quickcheck-instances + random + schema-profunctor + servant + servant-multipart + servant-server + shelly + silently + string-conversions + temporary + text + time + tinylog + transformers + types-common + uniplate + uri-bytestring + utf8-string + uuid + wai + wai-extra + wai-utilities + warp + word8 + xml-conduit + xml-conduit-writer + xml-hamlet + xml-types + yaml + ]; + testHaskellDepends = [ + aeson + asn1-encoding + asn1-parse + asn1-types + base + base64-bytestring + binary + bytestring + case-insensitive + containers + cookie + crypton + crypton-x509 + data-default + directory + dns + email-validate + errors + exceptions + extra + filepath + foundation + ghc-prim + hedgehog + hedgehog-quickcheck + hourglass + hsaml2 + hspec + hspec-core + hspec-discover + hspec-wai + http-media + http-types + hxt + imports + lens + lens-datetime + memory + mtl + network-uri + pretty-show + process + QuickCheck + quickcheck-instances + random + servant + servant-multipart + servant-server + shelly + silently + string-conversions + temporary + text + time + tinylog + transformers + types-common + uniplate + uri-bytestring + utf8-string + uuid + wai + wai-extra + warp + word8 + xml-conduit + xml-conduit-writer + xml-hamlet + xml-types + yaml + ]; + testToolDepends = [ hspec-discover ]; + description = "Library and example web app for the SAML Web-based SSO profile"; + license = lib.licenses.agpl3Only; +} diff --git a/libs/schema-profunctor/default.nix b/libs/schema-profunctor/default.nix index 65e5a0050f9..bede1bdeae6 100644 --- a/libs/schema-profunctor/default.nix +++ b/libs/schema-profunctor/default.nix @@ -2,3 +2,55 @@ # This file is generated by running hack/bin/generate-local-nix-packages.sh and # must be regenerated whenever local packages are added or removed, or # dependencies are added or removed. +{ mkDerivation +, aeson +, aeson-qq +, base +, bifunctors +, comonad +, containers +, gitignoreSource +, imports +, insert-ordered-containers +, lens +, lib +, openapi3 +, profunctors +, tasty +, tasty-hunit +, text +, transformers +, vector +}: +mkDerivation { + pname = "schema-profunctor"; + version = "0.1.0"; + src = gitignoreSource ./.; + libraryHaskellDepends = [ + aeson + base + bifunctors + comonad + containers + imports + lens + openapi3 + profunctors + text + transformers + vector + ]; + testHaskellDepends = [ + aeson + aeson-qq + base + imports + insert-ordered-containers + lens + openapi3 + tasty + tasty-hunit + text + ]; + license = lib.licenses.agpl3Only; +} diff --git a/libs/sodium-crypto-sign/default.nix b/libs/sodium-crypto-sign/default.nix index 65e5a0050f9..16278c2952a 100644 --- a/libs/sodium-crypto-sign/default.nix +++ b/libs/sodium-crypto-sign/default.nix @@ -2,3 +2,26 @@ # This file is generated by running hack/bin/generate-local-nix-packages.sh and # must be regenerated whenever local packages are added or removed, or # dependencies are added or removed. +{ mkDerivation +, base +, base64-bytestring +, bytestring +, gitignoreSource +, imports +, lib +, libsodium +}: +mkDerivation { + pname = "sodium-crypto-sign"; + version = "0.1.2"; + src = gitignoreSource ./.; + libraryHaskellDepends = [ + base + base64-bytestring + bytestring + imports + ]; + libraryPkgconfigDepends = [ libsodium ]; + description = "FFI to some of the libsodium crypto_sign_* functions"; + license = lib.licenses.agpl3Only; +} diff --git a/libs/ssl-util/default.nix b/libs/ssl-util/default.nix index 65e5a0050f9..1ec717b7f74 100644 --- a/libs/ssl-util/default.nix +++ b/libs/ssl-util/default.nix @@ -2,3 +2,30 @@ # This file is generated by running hack/bin/generate-local-nix-packages.sh and # must be regenerated whenever local packages are added or removed, or # dependencies are added or removed. +{ mkDerivation +, base +, byteable +, bytestring +, gitignoreSource +, HsOpenSSL +, http-client +, imports +, lib +, time +}: +mkDerivation { + pname = "ssl-util"; + version = "0.1.0"; + src = gitignoreSource ./.; + libraryHaskellDepends = [ + base + byteable + bytestring + HsOpenSSL + http-client + imports + time + ]; + description = "SSL-related utilities"; + license = lib.licenses.agpl3Only; +} diff --git a/libs/tasty-cannon/default.nix b/libs/tasty-cannon/default.nix index 65e5a0050f9..297f3ce945d 100644 --- a/libs/tasty-cannon/default.nix +++ b/libs/tasty-cannon/default.nix @@ -2,3 +2,48 @@ # This file is generated by running hack/bin/generate-local-nix-packages.sh and # must be regenerated whenever local packages are added or removed, or # dependencies are added or removed. +{ mkDerivation +, aeson +, async +, base +, bilge +, bytestring +, bytestring-conversion +, data-timeout +, exceptions +, gitignoreSource +, http-client +, http-types +, imports +, lib +, random +, tasty-hunit +, types-common +, websockets +, wire-api +}: +mkDerivation { + pname = "tasty-cannon"; + version = "0.4.0"; + src = gitignoreSource ./.; + libraryHaskellDepends = [ + aeson + async + base + bilge + bytestring + bytestring-conversion + data-timeout + exceptions + http-client + http-types + imports + random + tasty-hunit + types-common + websockets + wire-api + ]; + description = "Cannon Integration Testing Utilities"; + license = lib.licenses.agpl3Only; +} diff --git a/libs/types-common-aws/default.nix b/libs/types-common-aws/default.nix index 65e5a0050f9..740a128a003 100644 --- a/libs/types-common-aws/default.nix +++ b/libs/types-common-aws/default.nix @@ -2,3 +2,38 @@ # This file is generated by running hack/bin/generate-local-nix-packages.sh and # must be regenerated whenever local packages are added or removed, or # dependencies are added or removed. +{ mkDerivation +, amazonka +, amazonka-sqs +, base +, base64-bytestring +, gitignoreSource +, imports +, lens +, lib +, proto-lens +, resourcet +, text +, time +, unliftio +}: +mkDerivation { + pname = "types-common-aws"; + version = "0.16.0"; + src = gitignoreSource ./.; + libraryHaskellDepends = [ + amazonka + amazonka-sqs + base + base64-bytestring + imports + lens + proto-lens + resourcet + text + time + unliftio + ]; + description = "Shared AWS type definitions"; + license = lib.licenses.agpl3Only; +} diff --git a/libs/types-common-journal/default.nix b/libs/types-common-journal/default.nix index 65e5a0050f9..7dae825dfb4 100644 --- a/libs/types-common-journal/default.nix +++ b/libs/types-common-journal/default.nix @@ -2,3 +2,35 @@ # This file is generated by running hack/bin/generate-local-nix-packages.sh and # must be regenerated whenever local packages are added or removed, or # dependencies are added or removed. +{ mkDerivation +, base +, bytestring +, Cabal +, gitignoreSource +, imports +, lib +, proto-lens-protoc +, proto-lens-runtime +, proto-lens-setup +, time +, types-common +, uuid +}: +mkDerivation { + pname = "types-common-journal"; + version = "0.1.0"; + src = gitignoreSource ./.; + setupHaskellDepends = [ base Cabal proto-lens-setup ]; + libraryHaskellDepends = [ + base + bytestring + imports + proto-lens-runtime + time + types-common + uuid + ]; + libraryToolDepends = [ proto-lens-protoc ]; + description = "Shared protobuf type definitions"; + license = lib.licenses.agpl3Only; +} diff --git a/libs/types-common/default.nix b/libs/types-common/default.nix index 65e5a0050f9..63392d3321b 100644 --- a/libs/types-common/default.nix +++ b/libs/types-common/default.nix @@ -2,3 +2,140 @@ # This file is generated by running hack/bin/generate-local-nix-packages.sh and # must be regenerated whenever local packages are added or removed, or # dependencies are added or removed. +{ mkDerivation +, aeson +, attoparsec +, attoparsec-iso8601 +, base +, base16-bytestring +, base64-bytestring +, binary +, bytestring +, bytestring-conversion +, cassandra-util +, cereal +, containers +, cryptohash-md5 +, cryptohash-sha1 +, crypton +, currency-codes +, email-validate +, generic-random +, gitignoreSource +, hashable +, http-api-data +, imports +, iproute +, iso3166-country-codes +, iso639 +, lens +, lens-datetime +, lib +, mime +, openapi3 +, optparse-applicative +, pem +, polysemy +, protobuf +, QuickCheck +, quickcheck-instances +, random +, schema-profunctor +, scientific +, servant-server +, string-conversions +, tagged +, tasty +, tasty-hunit +, tasty-quickcheck +, template-haskell +, text +, time +, time-locale-compat +, tinylog +, unix +, unordered-containers +, uri-bytestring +, utf8-string +, uuid +, yaml +}: +mkDerivation { + pname = "types-common"; + version = "0.16.0"; + src = gitignoreSource ./.; + libraryHaskellDepends = [ + aeson + attoparsec + attoparsec-iso8601 + base + base16-bytestring + base64-bytestring + binary + bytestring + bytestring-conversion + cassandra-util + containers + cryptohash-md5 + cryptohash-sha1 + crypton + currency-codes + email-validate + generic-random + hashable + http-api-data + imports + iproute + iso3166-country-codes + iso639 + lens + lens-datetime + mime + openapi3 + optparse-applicative + pem + polysemy + protobuf + QuickCheck + quickcheck-instances + random + schema-profunctor + scientific + servant-server + tagged + tasty + tasty-hunit + template-haskell + text + time + time-locale-compat + tinylog + unix + unordered-containers + uri-bytestring + utf8-string + uuid + yaml + ]; + testHaskellDepends = [ + aeson + base + bytestring + bytestring-conversion + cereal + email-validate + imports + protobuf + string-conversions + tasty + tasty-hunit + tasty-quickcheck + text + time + unordered-containers + utf8-string + uuid + ]; + description = "Shared type definitions"; + license = lib.licenses.agpl3Only; +} diff --git a/libs/wai-utilities/default.nix b/libs/wai-utilities/default.nix index 65e5a0050f9..de689280feb 100644 --- a/libs/wai-utilities/default.nix +++ b/libs/wai-utilities/default.nix @@ -2,3 +2,83 @@ # This file is generated by running hack/bin/generate-local-nix-packages.sh and # must be regenerated whenever local packages are added or removed, or # dependencies are added or removed. +{ mkDerivation +, aeson +, async +, base +, bytestring +, bytestring-conversion +, errors +, exceptions +, gitignoreSource +, hspec +, hspec-discover +, http-types +, http2 +, imports +, kan-extensions +, lib +, metrics-core +, openapi3 +, pipes +, prometheus-client +, schema-profunctor +, servant-server +, streaming-commons +, temporary +, text +, tinylog +, types-common +, unix +, uuid +, wai +, wai-predicates +, warp +, warp-tls +}: +mkDerivation { + pname = "wai-utilities"; + version = "0.16.1"; + src = gitignoreSource ./.; + libraryHaskellDepends = [ + aeson + async + base + bytestring + bytestring-conversion + errors + exceptions + http-types + http2 + imports + kan-extensions + metrics-core + openapi3 + pipes + prometheus-client + schema-profunctor + servant-server + streaming-commons + text + tinylog + types-common + unix + uuid + wai + wai-predicates + warp + warp-tls + ]; + testHaskellDepends = [ + bytestring + hspec + http-types + imports + temporary + tinylog + wai + ]; + testToolDepends = [ hspec-discover ]; + description = "Various helpers for WAI"; + license = lib.licenses.agpl3Only; +} diff --git a/libs/wire-api-federation/default.nix b/libs/wire-api-federation/default.nix index 65e5a0050f9..272b4e73de1 100644 --- a/libs/wire-api-federation/default.nix +++ b/libs/wire-api-federation/default.nix @@ -2,3 +2,107 @@ # This file is generated by running hack/bin/generate-local-nix-packages.sh and # must be regenerated whenever local packages are added or removed, or # dependencies are added or removed. +{ mkDerivation +, aeson +, aeson-pretty +, amqp +, base +, bytestring +, bytestring-conversion +, containers +, dns-util +, exceptions +, gitignoreSource +, HsOpenSSL +, hspec +, hspec-discover +, http-media +, http-types +, http2 +, http2-manager +, HUnit +, imports +, kan-extensions +, lens +, lib +, metrics-wai +, mtl +, openapi3 +, QuickCheck +, raw-strings-qq +, schema-profunctor +, servant +, servant-client +, servant-client-core +, servant-openapi3 +, servant-server +, singletons +, singletons-base +, text +, time +, transformers +, types-common +, uuid +, wai-utilities +, wire-api +}: +mkDerivation { + pname = "wire-api-federation"; + version = "0.1.0"; + src = gitignoreSource ./.; + libraryHaskellDepends = [ + aeson + amqp + base + bytestring + bytestring-conversion + containers + dns-util + exceptions + HsOpenSSL + http-media + http-types + http2 + http2-manager + imports + kan-extensions + lens + metrics-wai + mtl + openapi3 + QuickCheck + schema-profunctor + servant + servant-client + servant-client-core + servant-openapi3 + servant-server + singletons-base + text + time + transformers + types-common + wai-utilities + wire-api + ]; + testHaskellDepends = [ + aeson + aeson-pretty + base + bytestring + containers + hspec + HUnit + imports + QuickCheck + raw-strings-qq + singletons + time + types-common + uuid + wire-api + ]; + testToolDepends = [ hspec-discover ]; + description = "The Wire server-to-server API for federation"; + license = lib.licenses.agpl3Only; +} diff --git a/libs/wire-api/default.nix b/libs/wire-api/default.nix index 65e5a0050f9..f0e9150c672 100644 --- a/libs/wire-api/default.nix +++ b/libs/wire-api/default.nix @@ -2,3 +2,291 @@ # This file is generated by running hack/bin/generate-local-nix-packages.sh and # must be regenerated whenever local packages are added or removed, or # dependencies are added or removed. +{ mkDerivation +, aeson +, aeson-diff +, aeson-pretty +, aeson-qq +, amqp +, asn1-encoding +, async +, attoparsec +, barbies +, base +, base64-bytestring +, binary +, binary-parsers +, bytestring +, bytestring-arbitrary +, bytestring-conversion +, case-insensitive +, cassandra-util +, cassava +, cborg +, cereal +, comonad +, conduit +, constraints +, containers +, cookie +, crypton +, crypton-x509 +, currency-codes +, data-default +, deriving-aeson +, deriving-swagger2 +, email-validate +, errors +, extended +, extra +, filepath +, generics-sop +, ghc-prim +, gitignoreSource +, hashable +, hasql +, hex +, hostname-validate +, hscim +, HsOpenSSL +, hspec +, hspec-wai +, http-api-data +, http-client +, http-media +, http-types +, imports +, insert-ordered-containers +, iproute +, iso3166-country-codes +, iso639 +, jose +, kan-extensions +, lens +, lib +, memory +, metrics-wai +, mime +, mtl +, network-uri +, openapi3 +, pem +, polysemy +, polysemy-wire-zoo +, process +, profunctors +, proto-lens +, protobuf +, QuickCheck +, quickcheck-instances +, random +, regex-base +, regex-tdfa +, resourcet +, retry +, saml2-web-sso +, schema-profunctor +, scientific +, semigroupoids +, servant +, servant-client +, servant-client-core +, servant-conduit +, servant-multipart +, servant-multipart-api +, servant-openapi3 +, servant-server +, singletons +, singletons-base +, singletons-th +, sop-core +, string-conversions +, tagged +, tasty +, tasty-hspec +, tasty-hunit +, tasty-quickcheck +, text +, these +, time +, tinylog +, transformers +, types-common +, unliftio +, unordered-containers +, uri-bytestring +, utf8-string +, uuid +, vector +, wai +, wai-extra +, wai-utilities +, wai-websockets +, websockets +, wire-message-proto-lens +, zauth +}: +mkDerivation { + pname = "wire-api"; + version = "0.1.0"; + src = gitignoreSource ./.; + libraryHaskellDepends = [ + aeson + amqp + asn1-encoding + attoparsec + barbies + base + base64-bytestring + binary + binary-parsers + bytestring + bytestring-conversion + case-insensitive + cassandra-util + cassava + cborg + cereal + comonad + conduit + constraints + containers + cookie + crypton + crypton-x509 + currency-codes + data-default + deriving-aeson + deriving-swagger2 + email-validate + errors + extended + extra + filepath + generics-sop + ghc-prim + hashable + hasql + hostname-validate + hscim + HsOpenSSL + http-api-data + http-client + http-media + http-types + imports + insert-ordered-containers + iproute + iso3166-country-codes + iso639 + jose + kan-extensions + lens + memory + metrics-wai + mime + mtl + network-uri + openapi3 + pem + polysemy + polysemy-wire-zoo + profunctors + proto-lens + protobuf + QuickCheck + quickcheck-instances + random + regex-base + regex-tdfa + resourcet + retry + saml2-web-sso + schema-profunctor + scientific + semigroupoids + servant + servant-client + servant-client-core + servant-conduit + servant-multipart + servant-multipart-api + servant-openapi3 + servant-server + singletons + singletons-base + singletons-th + sop-core + tagged + text + these + time + tinylog + transformers + types-common + unordered-containers + uri-bytestring + utf8-string + uuid + vector + wai + wai-extra + wai-utilities + wai-websockets + websockets + wire-message-proto-lens + zauth + ]; + testHaskellDepends = [ + aeson + aeson-diff + aeson-pretty + aeson-qq + async + base + binary + bytestring + bytestring-arbitrary + bytestring-conversion + cassava + containers + crypton + currency-codes + filepath + hex + hspec + hspec-wai + http-types + imports + iso3166-country-codes + iso639 + lens + memory + metrics-wai + openapi3 + pem + process + proto-lens + QuickCheck + random + saml2-web-sso + schema-profunctor + servant + servant-server + string-conversions + tasty + tasty-hspec + tasty-hunit + tasty-quickcheck + text + time + types-common + unliftio + uri-bytestring + uuid + vector + wai + wire-message-proto-lens + ]; + license = lib.licenses.agpl3Only; +} diff --git a/libs/wire-message-proto-lens/default.nix b/libs/wire-message-proto-lens/default.nix index 65e5a0050f9..3c58511773e 100644 --- a/libs/wire-message-proto-lens/default.nix +++ b/libs/wire-message-proto-lens/default.nix @@ -2,3 +2,22 @@ # This file is generated by running hack/bin/generate-local-nix-packages.sh and # must be regenerated whenever local packages are added or removed, or # dependencies are added or removed. +{ mkDerivation +, base +, Cabal +, gitignoreSource +, lib +, proto-lens-protoc +, proto-lens-runtime +, proto-lens-setup +}: +mkDerivation { + pname = "wire-message-proto-lens"; + version = "0.1.0"; + src = gitignoreSource ./.; + setupHaskellDepends = [ base Cabal proto-lens-setup ]; + libraryHaskellDepends = [ base proto-lens-runtime ]; + libraryToolDepends = [ proto-lens-protoc ]; + description = "Shared protobuf type definitions for Wire Messaging"; + license = lib.licenses.agpl3Only; +} diff --git a/libs/wire-otel/default.nix b/libs/wire-otel/default.nix index 65e5a0050f9..08433505c4c 100644 --- a/libs/wire-otel/default.nix +++ b/libs/wire-otel/default.nix @@ -2,3 +2,46 @@ # This file is generated by running hack/bin/generate-local-nix-packages.sh and # must be regenerated whenever local packages are added or removed, or # dependencies are added or removed. +{ mkDerivation +, base +, bytestring +, containers +, gitignoreSource +, hs-opentelemetry-api +, hs-opentelemetry-instrumentation-http-client +, hs-opentelemetry-sdk +, hs-opentelemetry-utils-exceptions +, http-client +, http-types +, kan-extensions +, lib +, mtl +, servant-client +, servant-client-core +, text +, unliftio +}: +mkDerivation { + pname = "wire-otel"; + version = "0.1.0.0"; + src = gitignoreSource ./.; + libraryHaskellDepends = [ + base + bytestring + containers + hs-opentelemetry-api + hs-opentelemetry-instrumentation-http-client + hs-opentelemetry-sdk + hs-opentelemetry-utils-exceptions + http-client + http-types + kan-extensions + mtl + servant-client + servant-client-core + text + unliftio + ]; + homepage = "https://wire.com/"; + license = lib.licenses.agpl3Only; +} diff --git a/libs/wire-subsystems/default.nix b/libs/wire-subsystems/default.nix index 65e5a0050f9..cf381ee0da6 100644 --- a/libs/wire-subsystems/default.nix +++ b/libs/wire-subsystems/default.nix @@ -2,3 +2,368 @@ # This file is generated by running hack/bin/generate-local-nix-packages.sh and # must be regenerated whenever local packages are added or removed, or # dependencies are added or removed. +{ mkDerivation +, aeson +, aeson-pretty +, amazonka +, amazonka-core +, amazonka-ses +, amazonka-sqs +, amqp +, async +, attoparsec +, base +, base16-bytestring +, base64-bytestring +, bilge +, bimap +, bloodhound +, bytestring +, bytestring-conversion +, case-insensitive +, cassandra-util +, conduit +, constraints +, containers +, contravariant +, cql +, crypton +, currency-codes +, data-default +, data-timeout +, email-validate +, errors +, exceptions +, extended +, extra +, file-embed +, galley-types +, generics-sop +, gitignoreSource +, hashable +, HaskellNet +, HaskellNet-SSL +, hasql +, hasql-migration +, hasql-pool +, hasql-th +, hasql-transaction +, hex +, hscim +, HsOpenSSL +, hspec +, hspec-discover +, html-entities +, http-api-data +, http-client +, http-client-openssl +, http-types +, http2-manager +, imports +, iproute +, iso639 +, lens +, lib +, lrucaching +, memory +, mime +, mime-mail +, network +, network-conduit-tls +, network-uri +, polysemy +, polysemy-conc +, polysemy-plugin +, polysemy-time +, polysemy-wire-zoo +, postgresql-error-codes +, profunctors +, prometheus-client +, proto-lens +, QuickCheck +, quickcheck-instances +, random +, raw-strings-qq +, resource-pool +, resourcet +, retry +, saml2-web-sso +, schema-profunctor +, scientific +, servant +, servant-client-core +, servant-server +, singletons +, sodium-crypto-sign +, sop-core +, ssl-util +, statistics +, stomp-queue +, string-conversions +, template +, text +, text-icu-translit +, time +, time-out +, time-units +, tinylog +, tls +, token-bucket +, transformers +, types-common +, types-common-journal +, unliftio +, unordered-containers +, uri-bytestring +, utf8-string +, uuid +, vector +, wai +, wai-utilities +, wire-api +, wire-api-federation +, wire-otel +, witherable +, zauth +}: +mkDerivation { + pname = "wire-subsystems"; + version = "0.1.0"; + src = gitignoreSource ./.; + libraryHaskellDepends = [ + aeson + aeson-pretty + amazonka + amazonka-core + amazonka-ses + amazonka-sqs + amqp + async + attoparsec + base + base16-bytestring + base64-bytestring + bilge + bimap + bloodhound + bytestring + bytestring-conversion + case-insensitive + cassandra-util + conduit + constraints + containers + contravariant + cql + crypton + currency-codes + data-default + data-timeout + email-validate + errors + exceptions + extended + extra + file-embed + galley-types + generics-sop + hashable + HaskellNet + HaskellNet-SSL + hasql + hasql-migration + hasql-pool + hasql-th + hasql-transaction + hex + hscim + HsOpenSSL + hspec + html-entities + http-api-data + http-client + http-client-openssl + http-types + http2-manager + imports + iproute + iso639 + lens + lrucaching + memory + mime + mime-mail + network + network-conduit-tls + network-uri + polysemy + polysemy-conc + polysemy-plugin + polysemy-time + polysemy-wire-zoo + postgresql-error-codes + profunctors + prometheus-client + proto-lens + QuickCheck + raw-strings-qq + resource-pool + resourcet + retry + saml2-web-sso + schema-profunctor + servant + servant-client-core + servant-server + singletons + sodium-crypto-sign + sop-core + ssl-util + statistics + stomp-queue + template + text + text-icu-translit + time + time-out + time-units + tinylog + tls + token-bucket + transformers + types-common + types-common-journal + unliftio + unordered-containers + uri-bytestring + utf8-string + uuid + vector + wai + wai-utilities + wire-api + wire-api-federation + wire-otel + witherable + zauth + ]; + testHaskellDepends = [ + aeson + aeson-pretty + amazonka + amazonka-core + amazonka-ses + amazonka-sqs + amqp + async + attoparsec + base + base16-bytestring + base64-bytestring + bilge + bloodhound + bytestring + bytestring-conversion + case-insensitive + cassandra-util + conduit + constraints + containers + contravariant + cql + crypton + currency-codes + data-default + data-timeout + email-validate + errors + exceptions + extended + extra + file-embed + galley-types + generics-sop + hashable + HaskellNet + HaskellNet-SSL + hasql + hasql-migration + hasql-pool + hasql-th + hasql-transaction + hex + hscim + HsOpenSSL + hspec + html-entities + http-client + http-client-openssl + http-types + http2-manager + imports + iproute + iso639 + lens + lrucaching + memory + mime + mime-mail + network + network-conduit-tls + network-uri + polysemy + polysemy-conc + polysemy-plugin + polysemy-time + polysemy-wire-zoo + profunctors + prometheus-client + proto-lens + QuickCheck + quickcheck-instances + random + raw-strings-qq + resource-pool + resourcet + retry + saml2-web-sso + schema-profunctor + scientific + servant + servant-client-core + servant-server + singletons + sodium-crypto-sign + sop-core + ssl-util + statistics + stomp-queue + string-conversions + template + text + text-icu-translit + time + time-out + time-units + tinylog + token-bucket + transformers + types-common + types-common-journal + unliftio + unordered-containers + uri-bytestring + utf8-string + uuid + vector + wai + wai-utilities + wire-api + wire-api-federation + wire-otel + witherable + zauth + ]; + testToolDepends = [ hspec-discover ]; + license = lib.licenses.agpl3Only; +} diff --git a/libs/zauth/default.nix b/libs/zauth/default.nix index 65e5a0050f9..3ac633ab220 100644 --- a/libs/zauth/default.nix +++ b/libs/zauth/default.nix @@ -2,3 +2,72 @@ # This file is generated by running hack/bin/generate-local-nix-packages.sh and # must be regenerated whenever local packages are added or removed, or # dependencies are added or removed. +{ mkDerivation +, attoparsec +, base +, base64-bytestring +, bytestring +, bytestring-conversion +, errors +, gitignoreSource +, imports +, lib +, optparse-applicative +, polysemy +, polysemy-plugin +, polysemy-wire-zoo +, sodium-crypto-sign +, tasty +, tasty-hunit +, tasty-quickcheck +, text +, time +, uuid +, vector +}: +mkDerivation { + pname = "zauth"; + version = "0.10.3"; + src = gitignoreSource ./.; + isLibrary = true; + isExecutable = true; + libraryHaskellDepends = [ + attoparsec + base + base64-bytestring + bytestring + bytestring-conversion + errors + imports + polysemy + polysemy-plugin + polysemy-wire-zoo + sodium-crypto-sign + time + uuid + vector + ]; + executableHaskellDepends = [ + base + imports + optparse-applicative + sodium-crypto-sign + ]; + testHaskellDepends = [ + base + bytestring-conversion + imports + polysemy + polysemy-wire-zoo + sodium-crypto-sign + tasty + tasty-hunit + tasty-quickcheck + text + uuid + vector + ]; + description = "Creation and validation of signed tokens"; + license = lib.licenses.agpl3Only; + mainProgram = "zauth"; +} diff --git a/services/background-worker/default.nix b/services/background-worker/default.nix index 65e5a0050f9..011bc91bea0 100644 --- a/services/background-worker/default.nix +++ b/services/background-worker/default.nix @@ -2,3 +2,130 @@ # This file is generated by running hack/bin/generate-local-nix-packages.sh and # must be regenerated whenever local packages are added or removed, or # dependencies are added or removed. +{ mkDerivation +, aeson +, amqp +, base +, bytestring +, bytestring-conversion +, cassandra-util +, containers +, data-default +, data-timeout +, exceptions +, extended +, extra +, federator +, gitignoreSource +, hasql-pool +, HsOpenSSL +, hspec +, http-client +, http-media +, http-types +, http2-manager +, imports +, lib +, metrics-wai +, monad-control +, polysemy +, polysemy-conc +, polysemy-wire-zoo +, prometheus-client +, QuickCheck +, retry +, servant +, servant-client +, servant-client-core +, servant-server +, text +, tinylog +, transformers +, transformers-base +, types-common +, unliftio +, wai +, wai-utilities +, wire-api +, wire-api-federation +, wire-subsystems +}: +mkDerivation { + pname = "background-worker"; + version = "0.1.0.0"; + src = gitignoreSource ./.; + isLibrary = true; + isExecutable = true; + libraryHaskellDepends = [ + aeson + amqp + base + bytestring + bytestring-conversion + cassandra-util + containers + data-timeout + exceptions + extended + extra + hasql-pool + HsOpenSSL + http-client + http2-manager + imports + metrics-wai + monad-control + polysemy + polysemy-conc + polysemy-wire-zoo + prometheus-client + retry + servant-client + servant-server + text + tinylog + transformers + transformers-base + types-common + unliftio + wai-utilities + wire-api + wire-api-federation + wire-subsystems + ]; + executableHaskellDepends = [ HsOpenSSL imports types-common ]; + testHaskellDepends = [ + aeson + amqp + base + bytestring + containers + data-default + extended + federator + hspec + http-client + http-media + http-types + imports + prometheus-client + QuickCheck + servant + servant-client + servant-client-core + servant-server + text + tinylog + transformers + types-common + unliftio + wai + wai-utilities + wire-api + wire-api-federation + wire-subsystems + ]; + description = "Runs background work"; + license = lib.licenses.agpl3Only; + mainProgram = "background-worker"; +} diff --git a/services/brig/default.nix b/services/brig/default.nix index 65e5a0050f9..754e7b06b81 100644 --- a/services/brig/default.nix +++ b/services/brig/default.nix @@ -2,3 +2,402 @@ # This file is generated by running hack/bin/generate-local-nix-packages.sh and # must be regenerated whenever local packages are added or removed, or # dependencies are added or removed. +{ mkDerivation +, aeson +, amazonka +, amazonka-core +, amazonka-dynamodb +, amazonka-ses +, amazonka-sqs +, amqp +, async +, attoparsec +, auto-update +, base +, base-prelude +, base16-bytestring +, base64-bytestring +, bilge +, binary +, bloodhound +, brig-types +, bytestring +, bytestring-conversion +, case-insensitive +, cassandra-util +, comonad +, conduit +, containers +, cookie +, crypton +, currency-codes +, data-default +, data-timeout +, dns +, dns-util +, email-validate +, enclosed-exceptions +, errors +, exceptions +, extended +, extra +, federator +, file-embed +, file-embed-lzma +, filepath +, fsnotify +, galley-types +, gitignoreSource +, hashable +, hasql-pool +, hs-opentelemetry-instrumentation-wai +, hs-opentelemetry-sdk +, hscim +, HsOpenSSL +, http-api-data +, http-client +, http-client-openssl +, http-client-tls +, http-media +, http-reverse-proxy +, http-types +, http2-manager +, imports +, insert-ordered-containers +, iproute +, iso639 +, jose +, jwt-tools +, lens +, lens-aeson +, lib +, memory +, metrics-core +, metrics-wai +, mime +, mime-mail +, mmorph +, MonadRandom +, mtl +, network +, network-conduit-tls +, network-uri +, openapi3 +, optparse-applicative +, pem +, pipes +, polysemy +, polysemy-conc +, polysemy-plugin +, polysemy-time +, polysemy-wire-zoo +, postie +, process +, prometheus-client +, proto-lens +, QuickCheck +, random +, random-shuffle +, raw-strings-qq +, resourcet +, retry +, safe +, safe-exceptions +, saml2-web-sso +, schema-profunctor +, servant +, servant-client +, servant-client-core +, servant-openapi3 +, servant-server +, servant-swagger-ui +, spar +, split +, ssl-util +, stomp-queue +, streaming-commons +, string-conversions +, tasty +, tasty-ant-xml +, tasty-cannon +, tasty-hunit +, tasty-quickcheck +, template +, template-haskell +, temporary +, text +, time +, time-out +, time-units +, tinylog +, transformers +, types-common +, types-common-aws +, types-common-journal +, unliftio +, unordered-containers +, uri-bytestring +, utf8-string +, uuid +, vector +, wai +, wai-extra +, wai-middleware-gunzip +, wai-utilities +, warp +, warp-tls +, wire-api +, wire-api-federation +, wire-otel +, wire-subsystems +, yaml +, zauth +}: +mkDerivation { + pname = "brig"; + version = "2.0"; + src = gitignoreSource ./.; + isLibrary = true; + isExecutable = true; + libraryHaskellDepends = [ + aeson + amazonka + amazonka-core + amazonka-dynamodb + amazonka-ses + amazonka-sqs + amqp + async + auto-update + base + base-prelude + base16-bytestring + base64-bytestring + bilge + bloodhound + brig-types + bytestring + bytestring-conversion + cassandra-util + comonad + conduit + containers + cookie + crypton + currency-codes + data-default + dns + dns-util + enclosed-exceptions + errors + exceptions + extended + extra + file-embed + file-embed-lzma + filepath + fsnotify + galley-types + hashable + hasql-pool + hs-opentelemetry-instrumentation-wai + hs-opentelemetry-sdk + HsOpenSSL + http-client + http-client-openssl + http-media + http-types + http2-manager + imports + insert-ordered-containers + iproute + iso639 + jose + jwt-tools + lens + lens-aeson + memory + metrics-core + metrics-wai + mime + mime-mail + mmorph + MonadRandom + mtl + network + network-conduit-tls + openapi3 + optparse-applicative + polysemy + polysemy-conc + polysemy-plugin + polysemy-time + polysemy-wire-zoo + prometheus-client + proto-lens + random-shuffle + raw-strings-qq + resourcet + retry + safe-exceptions + schema-profunctor + servant + servant-openapi3 + servant-server + servant-swagger-ui + split + ssl-util + stomp-queue + template + template-haskell + text + time + time-out + time-units + tinylog + transformers + types-common + types-common-aws + types-common-journal + unliftio + unordered-containers + uri-bytestring + utf8-string + uuid + wai + wai-extra + wai-middleware-gunzip + wai-utilities + wire-api + wire-api-federation + wire-otel + wire-subsystems + yaml + zauth + ]; + executableHaskellDepends = [ + aeson + async + attoparsec + base + base16-bytestring + bilge + bloodhound + brig-types + bytestring + bytestring-conversion + case-insensitive + cassandra-util + containers + cookie + data-default + data-timeout + email-validate + exceptions + extended + extra + federator + filepath + galley-types + hscim + HsOpenSSL + http-api-data + http-client + http-client-tls + http-media + http-reverse-proxy + http-types + imports + jose + lens + lens-aeson + metrics-wai + mime + mime-mail + MonadRandom + mtl + network + network-uri + optparse-applicative + pem + pipes + polysemy + polysemy-wire-zoo + postie + process + proto-lens + QuickCheck + random + random-shuffle + raw-strings-qq + retry + safe + saml2-web-sso + servant + servant-client + servant-client-core + servant-server + spar + streaming-commons + string-conversions + tasty + tasty-ant-xml + tasty-cannon + tasty-hunit + temporary + text + time + time-units + tinylog + transformers + types-common + types-common-aws + types-common-journal + unliftio + unordered-containers + uri-bytestring + uuid + vector + wai + wai-extra + wai-utilities + warp + warp-tls + wire-api + wire-api-federation + wire-subsystems + yaml + zauth + ]; + testHaskellDepends = [ + aeson + base + binary + brig-types + bytestring + containers + data-timeout + dns + dns-util + exceptions + HsOpenSSL + imports + lens + polysemy + polysemy-wire-zoo + tasty + tasty-hunit + tasty-quickcheck + text + time + tinylog + types-common + unliftio + uri-bytestring + uuid + wire-api + wire-subsystems + ]; + description = "User Service"; + license = lib.licenses.agpl3Only; +} diff --git a/services/cannon/default.nix b/services/cannon/default.nix index 65e5a0050f9..0544d335640 100644 --- a/services/cannon/default.nix +++ b/services/cannon/default.nix @@ -2,3 +2,136 @@ # This file is generated by running hack/bin/generate-local-nix-packages.sh and # must be regenerated whenever local packages are added or removed, or # dependencies are added or removed. +{ mkDerivation +, aeson +, amqp +, api-field-json-th +, async +, base +, bilge +, binary +, bytestring +, bytestring-conversion +, cassandra-util +, conduit +, containers +, criterion +, data-default +, data-timeout +, exceptions +, extended +, extra +, gitignoreSource +, hashable +, hs-opentelemetry-instrumentation-wai +, hs-opentelemetry-sdk +, http-types +, imports +, kan-extensions +, lens +, lens-family-core +, lib +, metrics-wai +, mwc-random +, prometheus-client +, QuickCheck +, random +, retry +, safe-exceptions +, servant-conduit +, servant-server +, strict +, tasty +, tasty-hunit +, tasty-quickcheck +, text +, tinylog +, transformers +, types-common +, unix +, unliftio +, uuid +, vector +, wai +, wai-extra +, wai-utilities +, warp +, websockets +, wire-api +, wire-otel +}: +mkDerivation { + pname = "cannon"; + version = "0.31.0"; + src = gitignoreSource ./.; + isLibrary = true; + isExecutable = true; + libraryHaskellDepends = [ + aeson + amqp + api-field-json-th + async + base + bilge + binary + bytestring + bytestring-conversion + cassandra-util + conduit + containers + data-default + data-timeout + exceptions + extended + extra + hashable + hs-opentelemetry-instrumentation-wai + hs-opentelemetry-sdk + http-types + imports + kan-extensions + lens + lens-family-core + metrics-wai + mwc-random + prometheus-client + retry + safe-exceptions + servant-conduit + servant-server + strict + text + tinylog + transformers + types-common + unix + unliftio + vector + wai + wai-extra + wai-utilities + warp + websockets + wire-api + wire-otel + ]; + executableHaskellDepends = [ base imports types-common ]; + testHaskellDepends = [ + async + base + bytestring + imports + metrics-wai + QuickCheck + random + tasty + tasty-hunit + tasty-quickcheck + uuid + wire-api + ]; + benchmarkHaskellDepends = [ async base criterion imports uuid ]; + description = "Push Notification API"; + license = lib.licenses.agpl3Only; + mainProgram = "cannon"; +} diff --git a/services/cargohold/default.nix b/services/cargohold/default.nix index 65e5a0050f9..3883bf46b09 100644 --- a/services/cargohold/default.nix +++ b/services/cargohold/default.nix @@ -2,3 +2,195 @@ # This file is generated by running hack/bin/generate-local-nix-packages.sh and # must be regenerated whenever local packages are added or removed, or # dependencies are added or removed. +{ mkDerivation +, aeson +, amazonka +, amazonka-s3 +, amazonka-s3-streaming +, attoparsec +, auto-update +, base +, base64-bytestring +, bilge +, bytestring +, bytestring-conversion +, cargohold-types +, case-insensitive +, conduit +, conduit-extra +, containers +, crypton +, data-default +, errors +, exceptions +, extended +, federator +, gitignoreSource +, HsOpenSSL +, http-api-data +, http-client +, http-client-openssl +, http-client-tls +, http-media +, http-types +, http2-manager +, imports +, kan-extensions +, lens +, lib +, metrics-core +, metrics-wai +, mime +, mmorph +, mtl +, optparse-applicative +, prometheus-client +, QuickCheck +, resourcet +, retry +, schema-profunctor +, servant +, servant-client +, servant-server +, tagged +, tasty +, tasty-ant-xml +, tasty-hunit +, tasty-quickcheck +, text +, time +, tinylog +, transformers +, types-common +, types-common-aws +, unix +, unliftio +, unordered-containers +, uri-bytestring +, uuid +, wai +, wai-extra +, wai-utilities +, wire-api +, wire-api-federation +, yaml +}: +mkDerivation { + pname = "cargohold"; + version = "1.5.0"; + src = gitignoreSource ./.; + isLibrary = true; + isExecutable = true; + libraryHaskellDepends = [ + aeson + amazonka + amazonka-s3 + amazonka-s3-streaming + attoparsec + auto-update + base + base64-bytestring + bilge + bytestring + bytestring-conversion + cargohold-types + case-insensitive + conduit + conduit-extra + containers + crypton + errors + exceptions + extended + HsOpenSSL + http-client + http-client-openssl + http-types + http2-manager + imports + kan-extensions + lens + metrics-core + metrics-wai + mime + prometheus-client + QuickCheck + resourcet + retry + schema-profunctor + servant + servant-client + servant-server + text + time + tinylog + transformers + types-common + types-common-aws + unliftio + unordered-containers + uri-bytestring + uuid + wai + wai-extra + wai-utilities + wire-api + wire-api-federation + yaml + ]; + executableHaskellDepends = [ + aeson + base + bilge + bytestring + bytestring-conversion + cargohold-types + containers + data-default + federator + HsOpenSSL + http-api-data + http-client + http-client-tls + http-media + http-types + imports + kan-extensions + lens + mmorph + mtl + optparse-applicative + servant-client + tagged + tasty + tasty-ant-xml + tasty-hunit + text + types-common + uuid + wai-utilities + wire-api + wire-api-federation + yaml + ]; + testHaskellDepends = [ + aeson + base + bytestring + bytestring-conversion + cargohold-types + extended + imports + mime + tasty + tasty-quickcheck + text + types-common + unix + unliftio + uri-bytestring + wire-api + ]; + description = "Asset Storage API"; + license = lib.licenses.agpl3Only; +} diff --git a/services/federator/default.nix b/services/federator/default.nix index 65e5a0050f9..febce147be2 100644 --- a/services/federator/default.nix +++ b/services/federator/default.nix @@ -2,3 +2,217 @@ # This file is generated by running hack/bin/generate-local-nix-packages.sh and # must be regenerated whenever local packages are added or removed, or # dependencies are added or removed. +{ mkDerivation +, aeson +, async +, base +, bilge +, binary +, bytestring +, bytestring-conversion +, containers +, crypton +, crypton-connection +, crypton-x509 +, crypton-x509-validation +, data-default +, directory +, dns +, dns-util +, exceptions +, extended +, filepath +, fsnotify +, gitignoreSource +, HsOpenSSL +, hspec +, hspec-junit-formatter +, http-client +, http-client-tls +, http-media +, http-types +, http2 +, http2-manager +, imports +, interpolate +, kan-extensions +, lens +, lib +, metrics-core +, metrics-wai +, mtl +, network +, optparse-applicative +, pem +, polysemy +, polysemy-wire-zoo +, prometheus-client +, QuickCheck +, random +, servant +, servant-client +, servant-client-core +, servant-server +, string-conversions +, tasty +, tasty-hunit +, tasty-quickcheck +, temporary +, text +, tinylog +, transformers +, types-common +, unix +, utf8-string +, uuid +, wai +, wai-extra +, wai-utilities +, warp +, warp-tls +, wire-api +, wire-api-federation +, yaml +}: +mkDerivation { + pname = "federator"; + version = "1.0.0"; + src = gitignoreSource ./.; + isLibrary = true; + isExecutable = true; + libraryHaskellDepends = [ + aeson + async + base + bilge + binary + bytestring + bytestring-conversion + containers + crypton-x509 + crypton-x509-validation + data-default + directory + dns + dns-util + exceptions + extended + filepath + fsnotify + HsOpenSSL + http-client + http-media + http-types + http2 + http2-manager + imports + kan-extensions + lens + metrics-core + metrics-wai + mtl + network + pem + polysemy + polysemy-wire-zoo + prometheus-client + servant + servant-client + servant-client-core + servant-server + text + tinylog + transformers + types-common + unix + utf8-string + wai + wai-utilities + warp + wire-api + wire-api-federation + ]; + executableHaskellDepends = [ + aeson + async + base + bilge + binary + bytestring + bytestring-conversion + crypton + crypton-connection + data-default + dns-util + exceptions + HsOpenSSL + hspec + hspec-junit-formatter + http-client-tls + http-types + http2-manager + imports + kan-extensions + lens + optparse-applicative + polysemy + QuickCheck + random + servant-client-core + string-conversions + tasty-hunit + text + types-common + uuid + wire-api + wire-api-federation + yaml + ]; + testHaskellDepends = [ + aeson + base + bytestring + bytestring-conversion + containers + crypton-x509-validation + data-default + directory + dns-util + filepath + HsOpenSSL + http-types + http2 + http2-manager + imports + interpolate + kan-extensions + mtl + polysemy + polysemy-wire-zoo + QuickCheck + servant + servant-client + servant-client-core + servant-server + string-conversions + tasty + tasty-hunit + tasty-quickcheck + temporary + text + tinylog + transformers + types-common + unix + wai + wai-extra + wai-utilities + warp + warp-tls + wire-api + wire-api-federation + yaml + ]; + description = "Federation Service"; + license = lib.licenses.agpl3Only; +} diff --git a/services/galley/default.nix b/services/galley/default.nix index 65e5a0050f9..988d5378dc7 100644 --- a/services/galley/default.nix +++ b/services/galley/default.nix @@ -2,3 +2,313 @@ # This file is generated by running hack/bin/generate-local-nix-packages.sh and # must be regenerated whenever local packages are added or removed, or # dependencies are added or removed. +{ mkDerivation +, aeson +, aeson-qq +, amazonka +, amqp +, asn1-encoding +, asn1-types +, async +, base +, base64-bytestring +, bilge +, binary +, brig-types +, bytestring +, bytestring-conversion +, call-stack +, cassandra-util +, cassava +, cereal +, comonad +, conduit +, containers +, cookie +, crypton +, crypton-x509 +, currency-codes +, data-default +, data-timeout +, errors +, exceptions +, extended +, extra +, federator +, filepath +, galley-types +, gitignoreSource +, hasql-pool +, hex +, hs-opentelemetry-instrumentation-wai +, hs-opentelemetry-sdk +, HsOpenSSL +, http-api-data +, http-client +, http-client-openssl +, http-client-tls +, http-media +, http-types +, http2-manager +, imports +, kan-extensions +, lens +, lens-aeson +, lib +, memory +, metrics-core +, metrics-wai +, mtl +, network +, network-uri +, optparse-applicative +, pem +, polysemy +, polysemy-conc +, polysemy-plugin +, polysemy-wire-zoo +, process +, prometheus-client +, proto-lens +, protobuf +, QuickCheck +, quickcheck-instances +, random +, raw-strings-qq +, retry +, safe-exceptions +, servant +, servant-client +, servant-client-core +, servant-server +, singletons +, sop-core +, split +, ssl-util +, stm +, streaming-commons +, string-conversions +, tagged +, tasty +, tasty-ant-xml +, tasty-cannon +, tasty-hunit +, tasty-quickcheck +, temporary +, text +, time +, tinylog +, transformers +, types-common +, types-common-aws +, types-common-journal +, unix +, unliftio +, unordered-containers +, uri-bytestring +, utf8-string +, uuid +, uuid-types +, vector +, wai +, wai-extra +, wai-middleware-gunzip +, wai-utilities +, warp +, warp-tls +, wire-api +, wire-api-federation +, wire-otel +, wire-subsystems +, yaml +}: +mkDerivation { + pname = "galley"; + version = "0.83.0"; + src = gitignoreSource ./.; + isLibrary = true; + isExecutable = true; + libraryHaskellDepends = [ + aeson + amazonka + amqp + asn1-encoding + asn1-types + async + base + bilge + brig-types + bytestring + bytestring-conversion + cassandra-util + cassava + comonad + containers + crypton + crypton-x509 + data-default + errors + exceptions + extended + extra + galley-types + hasql-pool + hex + hs-opentelemetry-instrumentation-wai + hs-opentelemetry-sdk + HsOpenSSL + http-client + http-client-openssl + http-media + http-types + http2-manager + imports + kan-extensions + lens + metrics-core + metrics-wai + optparse-applicative + pem + polysemy + polysemy-conc + polysemy-plugin + polysemy-wire-zoo + prometheus-client + raw-strings-qq + retry + safe-exceptions + servant + servant-client + servant-client-core + servant-server + singletons + sop-core + split + ssl-util + stm + tagged + text + time + tinylog + transformers + types-common + types-common-aws + unliftio + unordered-containers + uri-bytestring + utf8-string + uuid + vector + wai + wai-extra + wai-middleware-gunzip + wai-utilities + wire-api + wire-api-federation + wire-otel + wire-subsystems + ]; + executableHaskellDepends = [ + aeson + aeson-qq + async + base + base64-bytestring + bilge + binary + brig-types + bytestring + bytestring-conversion + call-stack + cassandra-util + cereal + conduit + containers + cookie + currency-codes + data-default + data-timeout + errors + exceptions + extended + extra + federator + filepath + galley-types + HsOpenSSL + http-api-data + http-client + http-client-openssl + http-client-tls + http-types + imports + kan-extensions + lens + lens-aeson + memory + mtl + network + network-uri + optparse-applicative + pem + process + proto-lens + protobuf + QuickCheck + quickcheck-instances + random + retry + servant-client + servant-client-core + servant-server + singletons + sop-core + ssl-util + streaming-commons + string-conversions + tagged + tasty + tasty-ant-xml + tasty-cannon + tasty-hunit + temporary + text + time + tinylog + transformers + types-common + types-common-aws + types-common-journal + unix + unliftio + unordered-containers + uuid + wai + wai-utilities + warp + warp-tls + wire-api + wire-api-federation + wire-subsystems + yaml + ]; + testHaskellDepends = [ + base + containers + extra + imports + lens + polysemy + polysemy-wire-zoo + tasty + tasty-hunit + tasty-quickcheck + types-common + uuid-types + wire-api + wire-api-federation + wire-subsystems + ]; + description = "Conversations"; + license = lib.licenses.agpl3Only; +} diff --git a/services/gundeck/default.nix b/services/gundeck/default.nix index 65e5a0050f9..a709d333df8 100644 --- a/services/gundeck/default.nix +++ b/services/gundeck/default.nix @@ -2,3 +2,246 @@ # This file is generated by running hack/bin/generate-local-nix-packages.sh and # must be regenerated whenever local packages are added or removed, or # dependencies are added or removed. +{ mkDerivation +, aeson +, aeson-pretty +, amazonka +, amazonka-core +, amazonka-sns +, amazonka-sqs +, amqp +, async +, attoparsec +, auto-update +, base +, base16-bytestring +, bilge +, bytestring +, bytestring-conversion +, cassandra-util +, conduit +, containers +, criterion +, crypton-x509-store +, data-timeout +, errors +, exceptions +, extended +, extra +, foldl +, gitignoreSource +, hedis +, hs-opentelemetry-instrumentation-wai +, hs-opentelemetry-sdk +, HsOpenSSL +, http-client +, http-client-tls +, http-types +, imports +, kan-extensions +, lens +, lens-aeson +, lib +, metrics-core +, metrics-wai +, MonadRandom +, mtl +, multiset +, network +, network-uri +, optparse-applicative +, prometheus-client +, psqueues +, QuickCheck +, quickcheck-instances +, quickcheck-state-machine +, random +, raw-strings-qq +, resourcet +, retry +, safe +, safe-exceptions +, scientific +, servant +, servant-server +, string-conversions +, tagged +, tasty +, tasty-ant-xml +, tasty-hunit +, tasty-quickcheck +, text +, these +, time +, tinylog +, tls +, types-common +, types-common-aws +, unliftio +, unordered-containers +, uuid +, wai +, wai-extra +, wai-middleware-gunzip +, wai-utilities +, websockets +, wire-api +, wire-otel +, yaml +}: +mkDerivation { + pname = "gundeck"; + version = "1.45.0"; + src = gitignoreSource ./.; + isLibrary = true; + isExecutable = true; + libraryHaskellDepends = [ + aeson + amazonka + amazonka-core + amazonka-sns + amazonka-sqs + amqp + async + attoparsec + auto-update + base + bilge + bytestring + bytestring-conversion + cassandra-util + containers + crypton-x509-store + data-timeout + errors + exceptions + extended + extra + foldl + hedis + hs-opentelemetry-instrumentation-wai + hs-opentelemetry-sdk + http-client + http-client-tls + http-types + imports + lens + lens-aeson + metrics-core + metrics-wai + mtl + network-uri + prometheus-client + psqueues + raw-strings-qq + resourcet + retry + safe-exceptions + servant + servant-server + text + these + time + tinylog + tls + types-common + types-common-aws + unliftio + unordered-containers + uuid + wai + wai-extra + wai-middleware-gunzip + wai-utilities + wire-api + wire-otel + yaml + ]; + executableHaskellDepends = [ + aeson + async + base + base16-bytestring + bilge + bytestring + bytestring-conversion + cassandra-util + conduit + containers + exceptions + extended + HsOpenSSL + http-client + http-client-tls + imports + kan-extensions + lens + lens-aeson + network + network-uri + optparse-applicative + random + retry + safe + tagged + tasty + tasty-ant-xml + tasty-hunit + text + time + tinylog + types-common + uuid + wai-utilities + websockets + wire-api + yaml + ]; + testHaskellDepends = [ + aeson + aeson-pretty + amazonka + amazonka-core + amqp + async + base + bytestring-conversion + containers + exceptions + HsOpenSSL + imports + lens + MonadRandom + mtl + multiset + network-uri + QuickCheck + quickcheck-instances + quickcheck-state-machine + scientific + string-conversions + tasty + tasty-hunit + tasty-quickcheck + text + these + tinylog + types-common + wire-api + ]; + benchmarkHaskellDepends = [ + amazonka + base + criterion + HsOpenSSL + imports + lens + random + text + types-common + uuid + wire-api + ]; + description = "Push Notification Hub"; + license = lib.licenses.agpl3Only; +} diff --git a/services/proxy/default.nix b/services/proxy/default.nix index 65e5a0050f9..4aa3e636c2f 100644 --- a/services/proxy/default.nix +++ b/services/proxy/default.nix @@ -2,3 +2,75 @@ # This file is generated by running hack/bin/generate-local-nix-packages.sh and # must be regenerated whenever local packages are added or removed, or # dependencies are added or removed. +{ mkDerivation +, aeson +, base +, bilge +, bytestring +, case-insensitive +, cassandra-util +, configurator +, errors +, exceptions +, extended +, gitignoreSource +, http-client +, http-client-tls +, http-reverse-proxy +, http-types +, imports +, lens +, lib +, metrics-wai +, retry +, servant-server +, text +, tinylog +, types-common +, unliftio-core +, uuid +, wai +, wai-middleware-gunzip +, wai-utilities +, wire-api +}: +mkDerivation { + pname = "proxy"; + version = "0.9.0"; + src = gitignoreSource ./.; + isLibrary = true; + isExecutable = true; + libraryHaskellDepends = [ + aeson + base + bilge + bytestring + case-insensitive + cassandra-util + configurator + errors + exceptions + extended + http-client + http-client-tls + http-reverse-proxy + http-types + imports + lens + metrics-wai + retry + servant-server + text + tinylog + types-common + unliftio-core + uuid + wai + wai-middleware-gunzip + wai-utilities + wire-api + ]; + executableHaskellDepends = [ base imports types-common ]; + license = lib.licenses.agpl3Only; + mainProgram = "proxy"; +} diff --git a/services/spar/default.nix b/services/spar/default.nix index 65e5a0050f9..60ad6c717a3 100644 --- a/services/spar/default.nix +++ b/services/spar/default.nix @@ -2,3 +2,245 @@ # This file is generated by running hack/bin/generate-local-nix-packages.sh and # must be regenerated whenever local packages are added or removed, or # dependencies are added or removed. +{ mkDerivation +, aeson +, aeson-qq +, async +, base +, base64-bytestring +, bilge +, brig-types +, bytestring +, bytestring-conversion +, case-insensitive +, cassandra-util +, cassava +, conduit +, containers +, cookie +, crypton +, crypton-x509 +, exceptions +, extended +, filepath +, gitignoreSource +, hscim +, HsOpenSSL +, hspec +, hspec-discover +, hspec-junit-formatter +, hspec-wai +, http-api-data +, http-client +, http-types +, imports +, iso639 +, lens +, lens-aeson +, lib +, metrics-wai +, MonadRandom +, mtl +, network-uri +, openapi3 +, optparse-applicative +, polysemy +, polysemy-check +, polysemy-plugin +, polysemy-wire-zoo +, QuickCheck +, random +, raw-strings-qq +, retry +, saml2-web-sso +, semigroupoids +, servant +, servant-multipart +, servant-openapi3 +, servant-server +, silently +, string-conversions +, tasty-hunit +, text +, these +, time +, tinylog +, transformers +, types-common +, uri-bytestring +, utf8-string +, uuid +, vector +, wai +, wai-extra +, wai-middleware-gunzip +, wai-utilities +, warp +, wire-api +, wire-subsystems +, xml-conduit +, yaml +, zauth +}: +mkDerivation { + pname = "spar"; + version = "0.1"; + src = gitignoreSource ./.; + isLibrary = true; + isExecutable = true; + libraryHaskellDepends = [ + aeson + base + base64-bytestring + bilge + brig-types + bytestring + bytestring-conversion + case-insensitive + cassandra-util + containers + cookie + crypton + crypton-x509 + exceptions + extended + hscim + hspec + http-types + imports + lens + metrics-wai + mtl + network-uri + optparse-applicative + polysemy + polysemy-check + polysemy-plugin + polysemy-wire-zoo + QuickCheck + raw-strings-qq + saml2-web-sso + semigroupoids + servant-multipart + servant-server + text + these + time + tinylog + transformers + types-common + uri-bytestring + utf8-string + uuid + wai + wai-middleware-gunzip + wai-utilities + warp + wire-api + wire-subsystems + yaml + ]; + executableHaskellDepends = [ + aeson + aeson-qq + async + base + base64-bytestring + bilge + brig-types + bytestring + bytestring-conversion + case-insensitive + cassandra-util + cassava + conduit + containers + cookie + crypton + exceptions + extended + hscim + HsOpenSSL + hspec + hspec-junit-formatter + hspec-wai + http-api-data + http-client + http-types + imports + iso639 + lens + lens-aeson + MonadRandom + mtl + network-uri + optparse-applicative + polysemy + polysemy-plugin + QuickCheck + random + raw-strings-qq + retry + saml2-web-sso + servant + servant-server + silently + string-conversions + tasty-hunit + text + these + time + tinylog + transformers + types-common + uri-bytestring + utf8-string + uuid + vector + wai-extra + wai-utilities + wire-api + xml-conduit + yaml + zauth + ]; + executableToolDepends = [ hspec-discover ]; + testHaskellDepends = [ + aeson + aeson-qq + base + brig-types + bytestring-conversion + containers + cookie + filepath + hscim + hspec + imports + lens + lens-aeson + metrics-wai + mtl + network-uri + openapi3 + polysemy + polysemy-plugin + polysemy-wire-zoo + QuickCheck + saml2-web-sso + servant + servant-openapi3 + string-conversions + text + these + time + tinylog + types-common + uri-bytestring + uuid + wire-api + ]; + testToolDepends = [ hspec-discover ]; + description = "User Service for SSO (Single Sign-On) provisioning and authentication"; + license = lib.licenses.agpl3Only; +} diff --git a/tools/db/assets/default.nix b/tools/db/assets/default.nix index 65e5a0050f9..05c5497cc49 100644 --- a/tools/db/assets/default.nix +++ b/tools/db/assets/default.nix @@ -2,3 +2,44 @@ # This file is generated by running hack/bin/generate-local-nix-packages.sh and # must be regenerated whenever local packages are added or removed, or # dependencies are added or removed. +{ mkDerivation +, attoparsec +, base +, bytestring-conversion +, cassandra-util +, conduit +, gitignoreSource +, imports +, lens +, lib +, optparse-applicative +, text +, tinylog +, types-common +, wire-api +}: +mkDerivation { + pname = "assets"; + version = "1.0.0"; + src = gitignoreSource ./.; + isLibrary = true; + isExecutable = true; + libraryHaskellDepends = [ + attoparsec + base + bytestring-conversion + cassandra-util + conduit + imports + lens + optparse-applicative + text + tinylog + types-common + wire-api + ]; + executableHaskellDepends = [ base ]; + description = "Scan the brig user table, search for malformatted asset keys and print them"; + license = lib.licenses.agpl3Only; + mainProgram = "assets"; +} diff --git a/tools/db/auto-whitelist/default.nix b/tools/db/auto-whitelist/default.nix index 65e5a0050f9..e7504cef918 100644 --- a/tools/db/auto-whitelist/default.nix +++ b/tools/db/auto-whitelist/default.nix @@ -2,3 +2,37 @@ # This file is generated by running hack/bin/generate-local-nix-packages.sh and # must be regenerated whenever local packages are added or removed, or # dependencies are added or removed. +{ mkDerivation +, base +, cassandra-util +, extra +, gitignoreSource +, imports +, lens +, lib +, optparse-applicative +, tinylog +, types-common +, unliftio +}: +mkDerivation { + pname = "auto-whitelist"; + version = "1.0.0"; + src = gitignoreSource ./.; + isLibrary = false; + isExecutable = true; + executableHaskellDepends = [ + base + cassandra-util + extra + imports + lens + optparse-applicative + tinylog + types-common + unliftio + ]; + description = "Backfill service tables"; + license = lib.licenses.agpl3Only; + mainProgram = "auto-whitelist"; +} diff --git a/tools/db/find-undead/default.nix b/tools/db/find-undead/default.nix index 65e5a0050f9..926bd909686 100644 --- a/tools/db/find-undead/default.nix +++ b/tools/db/find-undead/default.nix @@ -2,3 +2,47 @@ # This file is generated by running hack/bin/generate-local-nix-packages.sh and # must be regenerated whenever local packages are added or removed, or # dependencies are added or removed. +{ mkDerivation +, aeson +, base +, bloodhound +, cassandra-util +, conduit +, containers +, gitignoreSource +, http-client +, imports +, lens +, lib +, optparse-applicative +, text +, tinylog +, uuid +, wire-api +}: +mkDerivation { + pname = "find-undead"; + version = "1.0.0"; + src = gitignoreSource ./.; + isLibrary = false; + isExecutable = true; + executableHaskellDepends = [ + aeson + base + bloodhound + cassandra-util + conduit + containers + http-client + imports + lens + optparse-applicative + text + tinylog + uuid + wire-api + ]; + description = "Backfill billing_team_member table"; + license = lib.licenses.agpl3Only; + mainProgram = "find-undead"; +} diff --git a/tools/db/inconsistencies/default.nix b/tools/db/inconsistencies/default.nix index 65e5a0050f9..80b47740a01 100644 --- a/tools/db/inconsistencies/default.nix +++ b/tools/db/inconsistencies/default.nix @@ -2,3 +2,51 @@ # This file is generated by running hack/bin/generate-local-nix-packages.sh and # must be regenerated whenever local packages are added or removed, or # dependencies are added or removed. +{ mkDerivation +, aeson +, base +, bytestring +, cassandra-util +, conduit +, email-validate +, extended +, extra +, gitignoreSource +, imports +, lib +, optparse-applicative +, text +, tinylog +, types-common +, unliftio +, wire-api +, wire-subsystems +}: +mkDerivation { + pname = "inconsistencies"; + version = "1.0.0"; + src = gitignoreSource ./.; + isLibrary = false; + isExecutable = true; + executableHaskellDepends = [ + aeson + base + bytestring + cassandra-util + conduit + email-validate + extended + extra + imports + optparse-applicative + text + tinylog + types-common + unliftio + wire-api + wire-subsystems + ]; + description = "Find handles which belong to deleted users"; + license = lib.licenses.agpl3Only; + mainProgram = "inconsistencies"; +} diff --git a/tools/db/migrate-features/default.nix b/tools/db/migrate-features/default.nix index 65e5a0050f9..95f9fda2503 100644 --- a/tools/db/migrate-features/default.nix +++ b/tools/db/migrate-features/default.nix @@ -2,3 +2,47 @@ # This file is generated by running hack/bin/generate-local-nix-packages.sh and # must be regenerated whenever local packages are added or removed, or # dependencies are added or removed. +{ mkDerivation +, barbies +, base +, cassandra-util +, conduit +, data-default +, exceptions +, gitignoreSource +, imports +, lens +, lib +, optparse-applicative +, schema-profunctor +, time +, tinylog +, types-common +, wire-api +}: +mkDerivation { + pname = "migrate-features"; + version = "1.0.0"; + src = gitignoreSource ./.; + isLibrary = false; + isExecutable = true; + executableHaskellDepends = [ + barbies + base + cassandra-util + conduit + data-default + exceptions + imports + lens + optparse-applicative + schema-profunctor + time + tinylog + types-common + wire-api + ]; + description = "Migrate team features to team_feature_dyn table"; + license = lib.licenses.agpl3Only; + mainProgram = "migrate-features"; +} diff --git a/tools/db/migrate-sso-feature-flag/default.nix b/tools/db/migrate-sso-feature-flag/default.nix index 65e5a0050f9..a6572dd234d 100644 --- a/tools/db/migrate-sso-feature-flag/default.nix +++ b/tools/db/migrate-sso-feature-flag/default.nix @@ -2,3 +2,41 @@ # This file is generated by running hack/bin/generate-local-nix-packages.sh and # must be regenerated whenever local packages are added or removed, or # dependencies are added or removed. +{ mkDerivation +, base +, cassandra-util +, conduit +, gitignoreSource +, imports +, lens +, lib +, optparse-applicative +, tinylog +, types-common +, unliftio +, wire-api +, wire-subsystems +}: +mkDerivation { + pname = "migrate-sso-feature-flag"; + version = "1.0.0"; + src = gitignoreSource ./.; + isLibrary = false; + isExecutable = true; + executableHaskellDepends = [ + base + cassandra-util + conduit + imports + lens + optparse-applicative + tinylog + types-common + unliftio + wire-api + wire-subsystems + ]; + description = "Backfill sso feature flag into teams that already have an IdP"; + license = lib.licenses.agpl3Only; + mainProgram = "migrate-sso-feature-flag"; +} diff --git a/tools/db/mls-users/default.nix b/tools/db/mls-users/default.nix index 65e5a0050f9..0f1c8695642 100644 --- a/tools/db/mls-users/default.nix +++ b/tools/db/mls-users/default.nix @@ -2,3 +2,51 @@ # This file is generated by running hack/bin/generate-local-nix-packages.sh and # must be regenerated whenever local packages are added or removed, or # dependencies are added or removed. +{ mkDerivation +, aeson +, aeson-pretty +, base +, bytestring +, cassandra-util +, conduit +, containers +, cql +, extra +, gitignoreSource +, imports +, lens +, lib +, optparse-applicative +, time +, tinylog +, types-common +, wire-api +}: +mkDerivation { + pname = "mls-users"; + version = "1.0.0"; + src = gitignoreSource ./.; + isLibrary = true; + isExecutable = true; + libraryHaskellDepends = [ + aeson + aeson-pretty + bytestring + cassandra-util + conduit + containers + cql + extra + imports + lens + optparse-applicative + time + tinylog + types-common + wire-api + ]; + executableHaskellDepends = [ base ]; + description = "Find users without MLS support"; + license = lib.licenses.agpl3Only; + mainProgram = "mls-users"; +} diff --git a/tools/db/move-team/default.nix b/tools/db/move-team/default.nix index 65e5a0050f9..36e6d65ac87 100644 --- a/tools/db/move-team/default.nix +++ b/tools/db/move-team/default.nix @@ -2,3 +2,75 @@ # This file is generated by running hack/bin/generate-local-nix-packages.sh and # must be regenerated whenever local packages are added or removed, or # dependencies are added or removed. +{ mkDerivation +, aeson +, base +, bytestring +, cassandra-util +, conduit +, containers +, filepath +, gitignoreSource +, imports +, iproute +, lens +, lib +, megaparsec +, optparse-applicative +, process +, raw-strings-qq +, stache +, text +, time +, tinylog +, types-common +, uuid +, vector +, wire-api +, wire-subsystems +}: +mkDerivation { + pname = "move-team"; + version = "1.0.0"; + src = gitignoreSource ./.; + isLibrary = true; + isExecutable = true; + libraryHaskellDepends = [ + aeson + base + bytestring + cassandra-util + conduit + containers + filepath + imports + iproute + lens + megaparsec + optparse-applicative + process + raw-strings-qq + stache + text + time + tinylog + types-common + uuid + vector + wire-api + wire-subsystems + ]; + executableHaskellDepends = [ + base + cassandra-util + imports + lens + optparse-applicative + process + tinylog + types-common + uuid + ]; + description = "Export a team from one backend, or import it into another"; + license = lib.licenses.agpl3Only; +} diff --git a/tools/db/phone-users/default.nix b/tools/db/phone-users/default.nix new file mode 100644 index 00000000000..2903ef57701 --- /dev/null +++ b/tools/db/phone-users/default.nix @@ -0,0 +1,48 @@ +# WARNING: GENERATED FILE, DO NOT EDIT. +# This file is generated by running hack/bin/generate-local-nix-packages.sh and +# must be regenerated whenever local packages are added or removed, or +# dependencies are added or removed. +{ mkDerivation +, aeson +, aeson-pretty +, base +, bytestring +, cassandra-util +, conduit +, cql +, gitignoreSource +, imports +, lens +, lib +, optparse-applicative +, time +, tinylog +, types-common +, wire-api +}: +mkDerivation { + pname = "phone-users"; + version = "1.0.0"; + src = gitignoreSource ./.; + isLibrary = true; + isExecutable = true; + libraryHaskellDepends = [ + aeson + aeson-pretty + bytestring + cassandra-util + conduit + cql + imports + lens + optparse-applicative + time + tinylog + types-common + wire-api + ]; + executableHaskellDepends = [ base ]; + description = "Check users that are only able to login via phone"; + license = lib.licenses.agpl3Only; + mainProgram = "phone-users"; +} diff --git a/tools/db/repair-brig-clients-table/default.nix b/tools/db/repair-brig-clients-table/default.nix index 65e5a0050f9..ea9dcfe43c7 100644 --- a/tools/db/repair-brig-clients-table/default.nix +++ b/tools/db/repair-brig-clients-table/default.nix @@ -2,3 +2,37 @@ # This file is generated by running hack/bin/generate-local-nix-packages.sh and # must be regenerated whenever local packages are added or removed, or # dependencies are added or removed. +{ mkDerivation +, base +, cassandra-util +, conduit +, gitignoreSource +, imports +, lens +, lib +, optparse-applicative +, time +, tinylog +, types-common +}: +mkDerivation { + pname = "repair-brig-clients-table"; + version = "1.0.0"; + src = gitignoreSource ./.; + isLibrary = false; + isExecutable = true; + executableHaskellDepends = [ + base + cassandra-util + conduit + imports + lens + optparse-applicative + time + tinylog + types-common + ]; + description = "Removes and reports entries from brig.clients that have been accidentally upserted."; + license = lib.licenses.agpl3Only; + mainProgram = "repair-brig-clients-table"; +} diff --git a/tools/db/repair-handles/default.nix b/tools/db/repair-handles/default.nix index 65e5a0050f9..24336b506ea 100644 --- a/tools/db/repair-handles/default.nix +++ b/tools/db/repair-handles/default.nix @@ -2,3 +2,43 @@ # This file is generated by running hack/bin/generate-local-nix-packages.sh and # must be regenerated whenever local packages are added or removed, or # dependencies are added or removed. +{ mkDerivation +, base +, cassandra-util +, conduit +, containers +, gitignoreSource +, imports +, lens +, lib +, mtl +, optparse-applicative +, text +, tinylog +, types-common +, uuid +}: +mkDerivation { + pname = "repair-handles"; + version = "1.0.0"; + src = gitignoreSource ./.; + isLibrary = false; + isExecutable = true; + executableHaskellDepends = [ + base + cassandra-util + conduit + containers + imports + lens + mtl + optparse-applicative + text + tinylog + types-common + uuid + ]; + description = "Repair inconsistencies between tables user and user_handle"; + license = lib.licenses.agpl3Only; + mainProgram = "repair-handles"; +} diff --git a/tools/db/service-backfill/default.nix b/tools/db/service-backfill/default.nix index 65e5a0050f9..b4dbc2d6007 100644 --- a/tools/db/service-backfill/default.nix +++ b/tools/db/service-backfill/default.nix @@ -2,3 +2,37 @@ # This file is generated by running hack/bin/generate-local-nix-packages.sh and # must be regenerated whenever local packages are added or removed, or # dependencies are added or removed. +{ mkDerivation +, base +, cassandra-util +, conduit +, gitignoreSource +, imports +, lens +, lib +, optparse-applicative +, tinylog +, types-common +, unliftio +}: +mkDerivation { + pname = "service-backfill"; + version = "1.0.0"; + src = gitignoreSource ./.; + isLibrary = false; + isExecutable = true; + executableHaskellDepends = [ + base + cassandra-util + conduit + imports + lens + optparse-applicative + tinylog + types-common + unliftio + ]; + description = "Backfill service tables"; + license = lib.licenses.agpl3Only; + mainProgram = "service-backfill"; +} diff --git a/tools/db/team-info/default.nix b/tools/db/team-info/default.nix index 65e5a0050f9..d939d1c1fe4 100644 --- a/tools/db/team-info/default.nix +++ b/tools/db/team-info/default.nix @@ -2,3 +2,39 @@ # This file is generated by running hack/bin/generate-local-nix-packages.sh and # must be regenerated whenever local packages are added or removed, or # dependencies are added or removed. +{ mkDerivation +, base +, cassandra-util +, conduit +, cql +, gitignoreSource +, imports +, lens +, lib +, optparse-applicative +, time +, tinylog +, types-common +}: +mkDerivation { + pname = "team-info"; + version = "1.0.0"; + src = gitignoreSource ./.; + isLibrary = true; + isExecutable = true; + libraryHaskellDepends = [ + cassandra-util + conduit + cql + imports + lens + optparse-applicative + time + tinylog + types-common + ]; + executableHaskellDepends = [ base ]; + description = "get team info from cassandra"; + license = lib.licenses.agpl3Only; + mainProgram = "team-info"; +} diff --git a/tools/entreprise-provisioning/default.nix b/tools/entreprise-provisioning/default.nix index 65e5a0050f9..ac8d0863103 100644 --- a/tools/entreprise-provisioning/default.nix +++ b/tools/entreprise-provisioning/default.nix @@ -2,3 +2,67 @@ # This file is generated by running hack/bin/generate-local-nix-packages.sh and # must be regenerated whenever local packages are added or removed, or # dependencies are added or removed. +{ mkDerivation +, aeson +, aeson-pretty +, base +, bytestring +, containers +, envparse +, gitignoreSource +, http-client +, http-client-tls +, http-types +, imports +, lib +, optparse-applicative +, tasty +, tasty-golden +, tasty-hunit +, text +, types-common +, uuid +, vector +, wai-utilities +, wire-api +}: +mkDerivation { + pname = "entreprise-provisioning"; + version = "0.1.0"; + src = gitignoreSource ./.; + isLibrary = false; + isExecutable = true; + executableHaskellDepends = [ + aeson + base + bytestring + containers + envparse + http-client + http-client-tls + http-types + imports + optparse-applicative + text + types-common + uuid + vector + wai-utilities + wire-api + ]; + testHaskellDepends = [ + aeson + aeson-pretty + base + bytestring + containers + imports + tasty + tasty-golden + tasty-hunit + types-common + ]; + description = "CLI tool for provisioning user groups with channels"; + license = lib.licenses.agpl3Only; + mainProgram = "entreprise-provisioning"; +} diff --git a/tools/mlsstats/default.nix b/tools/mlsstats/default.nix index 65e5a0050f9..6a550c80bba 100644 --- a/tools/mlsstats/default.nix +++ b/tools/mlsstats/default.nix @@ -2,3 +2,55 @@ # This file is generated by running hack/bin/generate-local-nix-packages.sh and # must be regenerated whenever local packages are added or removed, or # dependencies are added or removed. +{ mkDerivation +, aeson +, amazonka +, amazonka-s3 +, base +, base64-bytestring +, cassandra-util +, conduit +, filepath +, gitignoreSource +, http-types +, imports +, lens +, lib +, optparse-applicative +, schema-profunctor +, text +, time +, tinylog +, types-common +, wire-api +}: +mkDerivation { + pname = "mlsstats"; + version = "0.1.0"; + src = gitignoreSource ./.; + isLibrary = true; + isExecutable = true; + libraryHaskellDepends = [ + aeson + amazonka + amazonka-s3 + base + base64-bytestring + cassandra-util + conduit + filepath + http-types + imports + lens + optparse-applicative + schema-profunctor + text + time + tinylog + types-common + wire-api + ]; + executableHaskellDepends = [ base imports optparse-applicative ]; + license = lib.licenses.agpl3Only; + mainProgram = "mlsstats"; +} diff --git a/tools/rabbitmq-consumer/default.nix b/tools/rabbitmq-consumer/default.nix index 65e5a0050f9..1da708042e2 100644 --- a/tools/rabbitmq-consumer/default.nix +++ b/tools/rabbitmq-consumer/default.nix @@ -2,3 +2,44 @@ # This file is generated by running hack/bin/generate-local-nix-packages.sh and # must be regenerated whenever local packages are added or removed, or # dependencies are added or removed. +{ mkDerivation +, aeson +, aeson-pretty +, amqp +, base +, bytestring +, gitignoreSource +, imports +, lib +, network +, optparse-applicative +, text +, types-common +, wire-api +, wire-api-federation +}: +mkDerivation { + pname = "rabbitmq-consumer"; + version = "1.0.0"; + src = gitignoreSource ./.; + isLibrary = true; + isExecutable = true; + libraryHaskellDepends = [ + aeson + aeson-pretty + amqp + base + bytestring + imports + network + optparse-applicative + text + types-common + wire-api + wire-api-federation + ]; + executableHaskellDepends = [ base ]; + description = "CLI tool to consume messages from a RabbitMQ queue"; + license = lib.licenses.agpl3Only; + mainProgram = "rabbitmq-consumer"; +} diff --git a/tools/rex/default.nix b/tools/rex/default.nix index 65e5a0050f9..02d05d765d4 100644 --- a/tools/rex/default.nix +++ b/tools/rex/default.nix @@ -2,3 +2,55 @@ # This file is generated by running hack/bin/generate-local-nix-packages.sh and # must be regenerated whenever local packages are added or removed, or # dependencies are added or removed. +{ mkDerivation +, async +, attoparsec +, base +, bytestring +, clock +, dns +, exceptions +, gitignoreSource +, http-types +, iproute +, lib +, mtl +, network +, optparse-applicative +, prometheus +, text +, tinylog +, unordered-containers +, wai +, warp +}: +mkDerivation { + pname = "rex"; + version = "0.3.0"; + src = gitignoreSource ./.; + isLibrary = false; + isExecutable = true; + executableHaskellDepends = [ + async + attoparsec + base + bytestring + clock + dns + exceptions + http-types + iproute + mtl + network + optparse-applicative + prometheus + text + tinylog + unordered-containers + wai + warp + ]; + description = "Scrape and expose restund metrics for prometheus"; + license = lib.licenses.agpl3Only; + mainProgram = "rex"; +} diff --git a/tools/stern/default.nix b/tools/stern/default.nix index 65e5a0050f9..628a2a3a1d9 100644 --- a/tools/stern/default.nix +++ b/tools/stern/default.nix @@ -2,3 +2,132 @@ # This file is generated by running hack/bin/generate-local-nix-packages.sh and # must be regenerated whenever local packages are added or removed, or # dependencies are added or removed. +{ mkDerivation +, aeson +, base +, bilge +, brig-types +, bytestring +, bytestring-conversion +, containers +, cookie +, data-default +, errors +, exceptions +, extended +, extra +, gitignoreSource +, HsOpenSSL +, http-client +, http-client-tls +, http-types +, imports +, lens +, lens-aeson +, lib +, mtl +, openapi3 +, optparse-applicative +, random +, retry +, schema-profunctor +, servant +, servant-client +, servant-openapi3 +, servant-server +, servant-swagger-ui +, split +, string-conversions +, tagged +, tasty +, tasty-ant-xml +, tasty-hunit +, text +, tinylog +, transformers +, types-common +, unliftio +, utf8-string +, uuid +, wai +, wai-utilities +, wire-api +, yaml +}: +mkDerivation { + pname = "stern"; + version = "1.7.2"; + src = gitignoreSource ./.; + isLibrary = true; + isExecutable = true; + libraryHaskellDepends = [ + aeson + base + bilge + brig-types + bytestring + bytestring-conversion + containers + errors + exceptions + extended + http-client + http-types + imports + lens + mtl + openapi3 + schema-profunctor + servant + servant-client + servant-openapi3 + servant-server + servant-swagger-ui + split + text + tinylog + transformers + types-common + unliftio + utf8-string + wai + wai-utilities + wire-api + yaml + ]; + executableHaskellDepends = [ + aeson + base + bilge + brig-types + bytestring-conversion + containers + cookie + data-default + exceptions + extra + HsOpenSSL + http-client + http-client-tls + imports + lens + lens-aeson + optparse-applicative + random + retry + schema-profunctor + string-conversions + tagged + tasty + tasty-ant-xml + tasty-hunit + text + tinylog + types-common + uuid + wire-api + yaml + ]; + testHaskellDepends = [ base tasty tasty-hunit wire-api ]; + license = lib.licenses.agpl3Only; +} diff --git a/tools/test-stats/default.nix b/tools/test-stats/default.nix index 65e5a0050f9..fe6dee90c2e 100644 --- a/tools/test-stats/default.nix +++ b/tools/test-stats/default.nix @@ -2,3 +2,39 @@ # This file is generated by running hack/bin/generate-local-nix-packages.sh and # must be regenerated whenever local packages are added or removed, or # dependencies are added or removed. +{ mkDerivation +, base +, bytestring +, gitignoreSource +, imports +, lib +, monoidal-containers +, optparse-generic +, postgresql-simple +, prometheus-client +, text +, time +, xml +}: +mkDerivation { + pname = "test-stats"; + version = "0.1.0"; + src = gitignoreSource ./.; + isLibrary = false; + isExecutable = true; + executableHaskellDepends = [ + base + bytestring + imports + monoidal-containers + optparse-generic + postgresql-simple + prometheus-client + text + time + xml + ]; + description = "Test run statistics"; + license = lib.licenses.agpl3Only; + mainProgram = "test-stats"; +} From d9ca7ccc45f510cf0d6d4866df6147be7f28acd2 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Thu, 29 Jan 2026 07:40:36 +0000 Subject: [PATCH 7/7] Remove phone-users default.nix file Co-authored-by: fisx <10210727+fisx@users.noreply.github.com> --- tools/db/phone-users/default.nix | 48 -------------------------------- 1 file changed, 48 deletions(-) delete mode 100644 tools/db/phone-users/default.nix diff --git a/tools/db/phone-users/default.nix b/tools/db/phone-users/default.nix deleted file mode 100644 index 2903ef57701..00000000000 --- a/tools/db/phone-users/default.nix +++ /dev/null @@ -1,48 +0,0 @@ -# WARNING: GENERATED FILE, DO NOT EDIT. -# This file is generated by running hack/bin/generate-local-nix-packages.sh and -# must be regenerated whenever local packages are added or removed, or -# dependencies are added or removed. -{ mkDerivation -, aeson -, aeson-pretty -, base -, bytestring -, cassandra-util -, conduit -, cql -, gitignoreSource -, imports -, lens -, lib -, optparse-applicative -, time -, tinylog -, types-common -, wire-api -}: -mkDerivation { - pname = "phone-users"; - version = "1.0.0"; - src = gitignoreSource ./.; - isLibrary = true; - isExecutable = true; - libraryHaskellDepends = [ - aeson - aeson-pretty - bytestring - cassandra-util - conduit - cql - imports - lens - optparse-applicative - time - tinylog - types-common - wire-api - ]; - executableHaskellDepends = [ base ]; - description = "Check users that are only able to login via phone"; - license = lib.licenses.agpl3Only; - mainProgram = "phone-users"; -}