ctSS      !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcd e f g h i j k l m n o p q r s t u v w x y z { | } ~  SafeNone6  !"#$%&'()*+,-./0123456  !"#$%&'()*+,-./012345None 6789:;<= 6789:;<= <;6789:=6789:;<=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.A,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"?@A?@A?@A?@ANone$BBBBNoneCCCCNoneDEFDEFDEFDEFNone!"59;ITarget compiler. Used by finalizePackageDescription/ to choose appropriate flags and dependencies.J6Compiler core packages that are also found on Hackage.KSThese packages replace the latest respective version during dependency resolution.LbThese packages are added to the generated set, but the play no role during dependency resolution.MWe 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.N This information is used by the  hackage2nix utility to determine the  maintainers for a given Haskell package.GHIJKLMNOPQRSTU GHIJKLMNOP GHIJKLMNOP GHIJKLMNOPQRSTUNone59;<=X\]^_`abcX\]^_`X\]^_` X\]^_`abc None!"5T drA 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).fVThe kind of the source. The name of the build-support fetch derivation should be fetch kind.gURL to fetch from.hFRevision to use. Leave empty if the fetcher doesn't support revisions.iThe hash of the source.nSA source is a location from which we can fetch, such as a HTTP URL, a GIT URL, ....pURL to fetch from.qpRevision to use. For protocols where this doesn't make sense (such as HTTP), this should be the empty string.r.The expected hash of the source, if available.s$Directory where Cabal file is found.uAFetch a source, trying any of the various nix-prefetch-* scripts.vLike u,, but allows to specify which script to use.defghijklmnopqrstuOThis 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.vwxyzdefghijklmnopqrstuvnopqrsjklmdefghituv defghijklmnopqrstuvwxyz None !"59;<=yA represtation of Nix expressions for building Haskell packages. The data type correspond closely to the definition of PackageDescription from Cabal.; None#X\]^_` 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#If hpack generated a new cabal file/Whether hpack should regenerate the cabal file.!The path to the Hackage database.!If we have hackage-snapshot time..Whether hpack should regenerate the cabal file!The path to the Hackage database.!If we have hackage-snapshot time..Whether hpack should regenerate the cabal file.Whether hpack should regenerate the cabal fileNone!" A parser for the date. Hackage updates happen maybe once or twice a month. Example: parseTime defaultTimeLocale "%FT%T%QZ" "2017-11-20T12:18:35Z" :: Maybe UTCTime !"#$%&'()*+,-./01234567 89:;< !"#$%&'()*+,-./01234567 89:;<= !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJJKLMNOPQRSTUVWXYZZ[\]^_`abcdefghijklmnopqrBst u u v w x y z { | } ~ ~     j                                    ! " #$%&'()*+,-./00123456789:;<=>?@ABCDEFGHIJK$cabal2nix-2.7-6yFmZUJyUJBEIuaEkUuuSn$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-BUHVITTbkDE5E1HzW7UQDDistribution.Hackage.DB.PathhackageTarball$fFromJSONCompilerInfo$fFromJSONDependency$fFromJSONPackageIdentifier$fFromJSONPackageName$fFromJSONPlatform$fIsStringPlatform$fIsStringCompilerId$fIsStringDependency$fIsStringPackageIdentifier$fIsStringVersionRange$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 postProcesspkgNixpkgsResolverHaskellResolverfromGenericPackageDescription!finalizeGenericPackageDescriptionfromPackageDescriptionPackage pkgSource pkgRanHpackpkgCabal 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 fixGtkBuildshookspkgsbindreplacegtk3Hook haddockHook gitAnnexHookhfusePreConfiguregfPhaseOverrideswxcHookcabalInstallPostInstalldarcsInstallPostInstallxmonadPostInstallagdaPostInstallagda25PostInstallstackOverridesgiGstLibOverridesgiCairoPhaseOverrideshfseventsOverrideswebkitgtk24xHookopencvOverrideshspecCoreOverridesbindNull fetchOrFromDBfromDB readFileMay hashCachePathshowPackageIdentifier cabalFromPathcabalFromDirectoryhandleIOhpackDirectory cabalFromFilesetCabalFileHash utcTimeReaderOptions optSha256 optMaintainer optHaddockoptHpack optDoCheck optJailbreak optRevisionoptHyperlinkSourceoptEnableLibraryProfilingoptEnableExecutableProfilingoptEnableProfiling optExtraArgs optHackageDboptNixShellOutputoptFlags optCompiler optSystem optSubpathoptHackageSnapshotoptUrloptionsreadP parsePlatformpinfohpackOverrides readFlagList