cachix-api-0.6.0: Servant HTTP API specification for https://cachix.org
Safe HaskellNone
LanguageHaskell2010

Cachix.Types.NarInfo

Documentation

data NarInfo fp txt hash #

Constructors

NarInfo 

Fields

Instances

Instances details
MimeUnrender XNixNarInfo CachixNarInfo 
Instance details

Defined in Cachix.Types.ContentTypes

(Eq fp, Eq txt, Eq hash) => Eq (NarInfo fp txt hash) 
Instance details

Defined in Nix.NarInfo.Types

Methods

(==) :: NarInfo fp txt hash -> NarInfo fp txt hash -> Bool #

(/=) :: NarInfo fp txt hash -> NarInfo fp txt hash -> Bool #

(Show fp, Show txt, Show hash) => Show (NarInfo fp txt hash) 
Instance details

Defined in Nix.NarInfo.Types

Methods

showsPrec :: Int -> NarInfo fp txt hash -> ShowS #

show :: NarInfo fp txt hash -> String #

showList :: [NarInfo fp txt hash] -> ShowS #

Generic (NarInfo fp txt hash) 
Instance details

Defined in Nix.NarInfo.Types

Associated Types

type Rep (NarInfo fp txt hash) :: Type -> Type #

Methods

from :: NarInfo fp txt hash -> Rep (NarInfo fp txt hash) x #

to :: Rep (NarInfo fp txt hash) x -> NarInfo fp txt hash #

NFData (NarInfo Text Text Text) Source # 
Instance details

Defined in Cachix.Types.NarInfo

Methods

rnf :: NarInfo Text Text Text -> () #

ToSchema (NarInfo Text Text Text) 
Instance details

Defined in Cachix.Types.NarInfo

Methods

declareNamedSchema :: Proxy (NarInfo Text Text Text) -> Declare (Definitions Schema) NamedSchema

FromJSON (NarInfo Text Text Text) 
Instance details

Defined in Cachix.Types.NarInfo

Methods

parseJSON :: Value -> Parser (NarInfo Text Text Text)

parseJSONList :: Value -> Parser [NarInfo Text Text Text]

ToJSON (NarInfo Text Text Text) 
Instance details

Defined in Cachix.Types.NarInfo

Methods

toJSON :: NarInfo Text Text Text -> Value

toEncoding :: NarInfo Text Text Text -> Encoding

toJSONList :: [NarInfo Text Text Text] -> Value

toEncodingList :: [NarInfo Text Text Text] -> Encoding

type Rep (NarInfo fp txt hash) 
Instance details

Defined in Nix.NarInfo.Types

Orphan instances

NFData (NarInfo Text Text Text) Source # 
Instance details

Methods

rnf :: NarInfo Text Text Text -> () #

ToSchema (NarInfo Text Text Text) Source # 
Instance details

Methods

declareNamedSchema :: Proxy (NarInfo Text Text Text) -> Declare (Definitions Schema) NamedSchema

FromJSON (NarInfo Text Text Text) Source # 
Instance details

Methods

parseJSON :: Value -> Parser (NarInfo Text Text Text)

parseJSONList :: Value -> Parser [NarInfo Text Text Text]

ToJSON (NarInfo Text Text Text) Source # 
Instance details

Methods

toJSON :: NarInfo Text Text Text -> Value

toEncoding :: NarInfo Text Text Text -> Encoding

toJSONList :: [NarInfo Text Text Text] -> Value

toEncodingList :: [NarInfo Text Text Text] -> Encoding