A representation of the meta section used in Nix expressions.
:set -XOverloadedStrings:{ let meta = nullMeta & homepage .~ "http://example.org" & description .~ "An example package" & license .~ Unknown Nothing & platforms .~ Just (Set.singleton (NixpkgsPlatformSingle (Platform X86_64 Linux))) & badPlatforms .~ Nothing & hydraPlatforms .~ Just Set.empty & mainProgram .~ Just "example-binary" & maintainers .~ Set.fromList ["joe", "jane"] & broken .~ True in print $ pPrint meta:}homepage = "http://example.org";description = "An example package";license = "unknown";platforms = [ "x86_64-linux" ];hydraPlatforms = lib.platforms.none;mainProgram = "example-binary";maintainers = [ lib.maintainers.jane lib.maintainers.joe ];broken = true;
Instances7Eq, Ord, Show, Generic, NFData, Pretty, …
Eq MetaDefined in distribution-nixpkgs-1.7.1.1 · Distribution.Nixpkgs.MetaOrd MetaDefined in distribution-nixpkgs-1.7.1.1 · Distribution.Nixpkgs.MetaShow MetaDefined in distribution-nixpkgs-1.7.1.1 · Distribution.Nixpkgs.MetaGeneric MetaDefined in distribution-nixpkgs-1.7.1.1 · Distribution.Nixpkgs.MetaNFData MetaDefined in distribution-nixpkgs-1.7.1.1 · Distribution.Nixpkgs.MetaPretty MetaDefined in distribution-nixpkgs-1.7.1.1 · Distribution.Nixpkgs.Metatype Rep Meta = D1 ('MetaDataDefined in distribution-nixpkgs-1.7.1.1 · Distribution.Nixpkgs.Meta"Meta"
"Distribution.Nixpkgs.Meta"
"distribution-nixpkgs-1.7.1.1-8IOhVguqKxDLSo8gK7ToQB"
'False) (C1 ('MetaCons"Meta"
'PrefixI 'True) (((S1 ('MetaSel ('Just"_homepage"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 String) :*: S1 ('MetaSel ('Just"_description"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 String)) :*: (S1 ('MetaSel ('Just"_license"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 License) :*: S1 ('MetaSel ('Just"_platforms"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe (Set NixpkgsPlatform))))) :*: ((S1 ('MetaSel ('Just"_badPlatforms"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe (Set NixpkgsPlatform))) :*: S1 ('MetaSel ('Just"_hydraPlatforms"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe (Set NixpkgsPlatform)))) :*: (S1 ('MetaSel ('Just"_mainProgram"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe String)) :*: (S1 ('MetaSel ('Just"_maintainers"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Set Identifier)) :*: S1 ('MetaSel ('Just"_broken"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Bool))))))