ZJV      !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abc d e f g h i j k l m n o p q r s t u v w x y z { | } ~  SafeNone5  !"#$%&'()*+,-./012345  !"#$%&'()*+,-./01234None 56789:;< 56789:;< ;:56789<56789:;<None>'Map Cabal names to Nix attribute names.?FMap library names specified in Cabal files to Nix package identifiers.]TODO: This list should not be hard-coded here; it belongs into the Nixpkgs repository.;TODO: Re-use hook matching system from PostProcess.hs here.@,Map build tool names to Nix attribute names.|Helper function to extract the package name from a String that may or may not be formatted like a Cabal package identifier.guessNixIdentifier "foo-1.0"Identifier "foo"guessNixIdentifier "foo"Identifier "foo"guessNixIdentifier "foo - 0"Identifier "foo - 0"guessNixIdentifier "1foo-1.0"Identifier "1foo"guessNixIdentifier "-foo-1.0"Identifier "-foo-1.0">?@>?@>?@>?@None$AAAANoneBBBBNoneCDECDECDECDENone!"59;HTarget compiler. Used by finalizePackageDescription/ to choose appropriate flags and dependencies.I6Compiler core packages that are also found on Hackage.JSThese packages replace the latest respective version during dependency resolution.KbThese packages are added to the generated set, but the play no role during dependency resolution.LWe know that these packages won't build, so we give them an empty meta.hydraPlatforms attribute to avoid cluttering our Hydra output with lots of failure messages.M This information is used by the  hackage2nix utility to determine the  maintainers for a given Haskell package.FGHIJKLMNOPQRST FGHIJKLMNO FGHIJKLMNO FGHIJKLMNOPQRSTNone59;<=W[\]^_`abW[\]^_W[\]^_ W[\]^_`ab None!"5T crA source for a derivation. It always needs a hash and also has a protocol attached to it (url, git, svn, ...). A DerivationSourceK also always has it's revision fully resolved (not relative revisions like master, HEAD, etc).eVThe kind of the source. The name of the build-support fetch derivation should be fetch kind.fURL to fetch from.gFRevision to use. Leave empty if the fetcher doesn't support revisions.hThe hash of the source.mSA source is a location from which we can fetch, such as a HTTP URL, a GIT URL, ....oURL to fetch from.ppRevision to use. For protocols where this doesn't make sense (such as HTTP), this should be the empty string.q.The expected hash of the source, if available.r$Directory where Cabal file is found.tAFetch a source, trying any of the various nix-prefetch-* scripts.uLike t,, but allows to specify which script to use.cdefghijklmnopqrstOThis function is passed the output path name as an argument. It should return  if the file doesn't match the expected format. This is required, because we cannot always check if a download succeeded otherwise.The source to fetch from.hThe derivation source and the result of the processing function. Returns Nothing if the download failed.uvwxycdefghijklmnopqrstumnopqrijklcdefghstu cdefghijklmnopqrstuvwxy None !"59;<=yA represtation of Nix expressions for building Haskell packages. The data type correspond closely to the definition of PackageDescription from Cabal.; None#W[\]^_ NoneWhen a flag is specified multiple times, the first occurrence counts. This is counter-intuitive, IMHO, but it's how cabal does it. Flag names are spelled in all lowercase.cnormalizeCabalFlags [(mkFlagName "foo", True), (mkFlagName "FOO", True), (mkFlagName "Foo", False)][(FlagName "foo",True)] None           None!"None None!" !"#$%&'()*+,-./01234  !"#$%&'()*+,-./012345 !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIIJKLMNOPQRSTUVWXYYZ[\]^_`abcdefghijklmnopqArs t t u v w x y z { | } } ~     i                                    !"#$%&'()*++,-./0123456789:;<=>?@ABC$cabal2nix-2.6-28e05ROz5sRHNTiF408asF$Distribution.Nixpkgs.Haskell.Hackage,Distribution.Nixpkgs.Haskell.OrphanInstances+Distribution.Nixpkgs.Haskell.FromCabal.Name.Distribution.Nixpkgs.Haskell.FromCabal.License,Distribution.Nixpkgs.Haskell.FromCabal.Flags'Distribution.Nixpkgs.Haskell.Constraint4Distribution.Nixpkgs.Haskell.FromCabal.Configuration&Distribution.Nixpkgs.Haskell.BuildInfoDistribution.Nixpkgs.Fetch'Distribution.Nixpkgs.Haskell.Derivation0Distribution.Nixpkgs.Haskell.FromCabal.Normalize2Distribution.Nixpkgs.Haskell.FromCabal.PostProcess&Distribution.Nixpkgs.Haskell.FromCabal.Distribution.Nixpkgs.Haskell.PackageSourceSpec Cabal2nixPaths_cabal2nixDistribution.Nixpkgs.Haskell$hackage-db-2.0-HBWRXlqcCG4tJ0tVPunilDistribution.Hackage.DB.PathhackageTarball$fFromJSONCompilerInfo$fFromJSONDependency$fFromJSONPackageIdentifier$fFromJSONPackageName$fFromJSONPlatform$fIsStringPlatform$fIsStringCompilerId$fIsStringDependency$fIsStringPackageIdentifier$fIsStringVersion$fNFDataAbiTag$fNFDataCompilerId$fNFDataCompilerInfo$fNFDataPlatform$fNFDataCondition$fNFDataTestType$fNFDataTestSuiteInterface$fNFDataTestSuite$fNFDataSourceRepo$fNFDataRepoType$fNFDataRepoKind$fNFDataPackageDescription $fNFDataOS$fNFDataModuleRenaming$fNFDataModuleReexport$fNFDataLicense$fNFDataForeignLib$fNFDataLibrary$fNFDataLanguage$fNFDataKnownExtension!$fNFDataGenericPackageDescription$fNFDataFlagName $fNFDataMixin $fNFDataFlag$fNFDataExtension$fNFDataExecutable$fNFDataForeignLibOption$fNFDataForeignLibType$fNFDataIncludeRenaming$fNFDataExecutableScope$fNFDataConfVar$fNFDataCompilerFlavor$fNFDataLibVersionInfo$fNFDataBuildType$fNFDataBuildInfo$fNFDataBenchmarkType$fNFDataBenchmarkInterface$fNFDataBenchmark $fNFDataArch$fNFDataCondBranch$fNFDataCondTree$fNFDataSetupBuildInfo VersionData cabalFilecabalFileSha256 tarballSha256 PackageData HackageDB readTarball$fShowVersionData toNixName libNixNamebuildToolNixNamefromCabalLicenseconfigureCabalFlags ConstraintsatisfiesConstraintsatisfiesConstraints Configuration compilerInfo corePackagesdefaultPackageOverrides extraPackagesdontDistributePackagespackageMaintainersreadConfigurationassertConsistency$fFromJSONKeyPackageName$fFromJSONKeyIdentifier$fFromJSONIdentifier$fFromJSONConfiguration$fNFDataConfiguration$fShowConfiguration$fGenericConfiguration BuildInfo$fShowBuildInfo $fEqBuildInfo$fGenericBuildInfohaskell pkgconfigsystemtoolpPrintBuildInfo$fMonoidBuildInfo$fEachBuildInfoBuildInfoSetSetDerivationSource derivKindderivUrl derivRevision derivHashHashCertainGuess UnknownHashSource sourceUrlsourceRevision sourceHashsourceCabalDirfromDerivationSourcefetch fetchWith$fFromJSONDerivationSource$fNFDataDerivationSource $fNFDataHash$fNFDataSource $fShowHash$fEqHash $fOrdHash $fGenericHash $fShowSource $fEqSource $fOrdSource$fGenericSource$fShowDerivationSource$fEqDerivationSource$fOrdDerivationSource$fGenericDerivationSource DerivationnullDerivation$fShowDerivation$fEqDerivation$fGenericDerivationbenchmarkDepends cabalFlagsconfigureFlagsdoCheckeditedCabalFileenableExecutableProfilingenableLibraryProfilingenableSeparateDataOutputenableSplitObjsexecutableDependsextraFunctionArgshyperlinkSource isExecutable isLibrary jailbreaklibraryDepends metaSectionphaseOverridespkgidrevision runHaddock setupDependssrcsubpath testDepends testTarget dependencies$fPrettyDerivation$fNFDataDerivation$fPackageDerivation normalizenormalizeCabalFlags postProcessNixpkgsResolverHaskellResolverfromGenericPackageDescription!finalizeGenericPackageDescriptionfromPackageDescriptionPackage pkgSourcepkgCabal getPackagesourceFromHackage $fShowPackagemain cabal2nix' cabal2nix $fShowOptionscatchIOversionbindirlibdir dynlibdirdatadir libexecdir sysconfdir getBinDir getLibDir getDynLibDir getDataDir getLibexecDir getSysconfDirgetDataFileName text2isStringparsePackageDataparseVersionDataguessNixIdentifierenabledisableparseKey_haskell _pkgconfig_system_tool isUnknown hashToListbaseGHC.BaseNothing stripPrefix MkDerivation_pkgid _revision_src_subpath _isLibrary _isExecutable_extraFunctionArgs _setupDepends_libraryDepends_executableDepends _testDepends_benchmarkDepends_configureFlags _cabalFlags _runHaddock _jailbreak_doCheck _testTarget_hyperlinkSource_enableLibraryProfiling_enableExecutableProfiling_enableSplitObjs_phaseOverrides_editedCabalFile_enableSeparateDataOutput _metaSectionnormalizeBuildInfo normalizeMetanormalizeSynopsisquote fixGtkBuildshookspkgpkgsbindreplacegtk3Hook haddockHook gitAnnexHookhfusePreConfiguregfPhaseOverrideswxcHookcabalInstallPostInstalldarcsInstallPostInstallxmonadPostInstallagdaPostInstallagda25PostInstallstackOverridesgiGstLibOverridesgiCairoPhaseOverrideshfseventsOverrideswebkitgtk24xHookopencvOverridesbindNull fetchOrFromDBfromDB readFileMay hashCachePathshowPackageIdentifier cabalFromPathcabalFromDirectoryhandleIO cabalFromFilesetCabalFileHashOptions optSha256 optMaintainer optHaddock optDoCheck optJailbreak optRevisionoptHyperlinkSourceoptEnableLibraryProfilingoptEnableExecutableProfilingoptEnableProfiling optExtraArgs optHackageDboptNixShellOutputoptFlags optCompiler optSystem optSubpathoptUrloptionsreadP parsePlatformpinfo readFlagList