A source is a location from which we can fetch, such as a HTTP URL, a GIT URL, ....
Constructors
SourcesourceUrl :: StringURL to fetch from.
sourceRevision :: StringRevision to use. For protocols where this doesn't make sense (such as HTTP), this should be the empty string.
sourceHash :: HashThe expected hash of the source, if available.
sourceCabalDir :: StringDirectory where Cabal file is found.
Instances6Eq, Ord, Show, Generic, NFData, Rep
Eq SourceDefined in cabal2nix-2.20.1 · Distribution.Nixpkgs.FetchOrd SourceDefined in cabal2nix-2.20.1 · Distribution.Nixpkgs.FetchShow SourceDefined in cabal2nix-2.20.1 · Distribution.Nixpkgs.FetchGeneric SourceDefined in cabal2nix-2.20.1 · Distribution.Nixpkgs.FetchNFData SourceDefined in cabal2nix-2.20.1 · Distribution.Nixpkgs.Fetchtype Rep Source = D1 ('MetaDataDefined in cabal2nix-2.20.1 · Distribution.Nixpkgs.Fetch"Source"
"Distribution.Nixpkgs.Fetch"
"cabal2nix-2.20.1-74CEcCTbJrsIRxFwMR8lyd"
'False) (C1 ('MetaCons"Source"
'PrefixI 'True) ((S1 ('MetaSel ('Just"sourceUrl"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 String) :*: S1 ('MetaSel ('Just"sourceRevision"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 String)) :*: (S1 ('MetaSel ('Just"sourceHash"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Hash) :*: S1 ('MetaSel ('Just"sourceCabalDir"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 String))))