From 504302e107202b86ee0f3f5fd63cf8799a66391e Mon Sep 17 00:00:00 2001 From: Craige McWhirter Date: Wed, 13 Nov 2024 19:01:48 +1000 Subject: [PATCH] Add materialized hadrian-ghc964 --- .../hadrian/.plan.nix/hadrian.nix | 162 ++++++++++++++++ .../hadrian/cabal-files/Cabal-syntax.nix | 55 ++++++ .../hadrian/cabal-files/Cabal.nix | 56 ++++++ .../hadrian/cabal-files/QuickCheck.nix | 119 ++++++++++++ .../hadrian/cabal-files/clock.nix | 59 ++++++ .../hadrian/cabal-files/extra.nix | 58 ++++++ .../hadrian/cabal-files/filepattern.nix | 56 ++++++ .../hadrian/cabal-files/hashable.nix | 82 ++++++++ .../hadrian/cabal-files/heaps.nix | 38 ++++ .../hadrian/cabal-files/js-dgtable.nix | 47 +++++ .../hadrian/cabal-files/js-flot.nix | 47 +++++ .../hadrian/cabal-files/js-jquery.nix | 48 +++++ .../hadrian/cabal-files/primitive.nix | 73 ++++++++ .../hadrian/cabal-files/random.nix | 113 +++++++++++ .../hadrian/cabal-files/shake.nix | 132 +++++++++++++ .../hadrian/cabal-files/splitmix.nix | 139 ++++++++++++++ .../cabal-files/unordered-containers.nix | 78 ++++++++ .../hadrian/cabal-files/utf8-string.nix | 51 +++++ .../ghc964/hadrian-ghc964/hadrian/default.nix | 175 ++++++++++++++++++ 19 files changed, 1588 insertions(+) create mode 100644 materialized/ghc964/hadrian-ghc964/hadrian/.plan.nix/hadrian.nix create mode 100644 materialized/ghc964/hadrian-ghc964/hadrian/cabal-files/Cabal-syntax.nix create mode 100644 materialized/ghc964/hadrian-ghc964/hadrian/cabal-files/Cabal.nix create mode 100644 materialized/ghc964/hadrian-ghc964/hadrian/cabal-files/QuickCheck.nix create mode 100644 materialized/ghc964/hadrian-ghc964/hadrian/cabal-files/clock.nix create mode 100644 materialized/ghc964/hadrian-ghc964/hadrian/cabal-files/extra.nix create mode 100644 materialized/ghc964/hadrian-ghc964/hadrian/cabal-files/filepattern.nix create mode 100644 materialized/ghc964/hadrian-ghc964/hadrian/cabal-files/hashable.nix create mode 100644 materialized/ghc964/hadrian-ghc964/hadrian/cabal-files/heaps.nix create mode 100644 materialized/ghc964/hadrian-ghc964/hadrian/cabal-files/js-dgtable.nix create mode 100644 materialized/ghc964/hadrian-ghc964/hadrian/cabal-files/js-flot.nix create mode 100644 materialized/ghc964/hadrian-ghc964/hadrian/cabal-files/js-jquery.nix create mode 100644 materialized/ghc964/hadrian-ghc964/hadrian/cabal-files/primitive.nix create mode 100644 materialized/ghc964/hadrian-ghc964/hadrian/cabal-files/random.nix create mode 100644 materialized/ghc964/hadrian-ghc964/hadrian/cabal-files/shake.nix create mode 100644 materialized/ghc964/hadrian-ghc964/hadrian/cabal-files/splitmix.nix create mode 100644 materialized/ghc964/hadrian-ghc964/hadrian/cabal-files/unordered-containers.nix create mode 100644 materialized/ghc964/hadrian-ghc964/hadrian/cabal-files/utf8-string.nix create mode 100644 materialized/ghc964/hadrian-ghc964/hadrian/default.nix diff --git a/materialized/ghc964/hadrian-ghc964/hadrian/.plan.nix/hadrian.nix b/materialized/ghc964/hadrian-ghc964/hadrian/.plan.nix/hadrian.nix new file mode 100644 index 0000000000..5fd22b23ad --- /dev/null +++ b/materialized/ghc964/hadrian-ghc964/hadrian/.plan.nix/hadrian.nix @@ -0,0 +1,162 @@ +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: + { + flags = { threaded = true; selftest = true; }; + package = { + specVersion = "1.18"; + identifier = { name = "hadrian"; version = "0.1.0.0"; }; + license = "BSD-3-Clause"; + copyright = "Andrey Mokhov 2014-2017"; + maintainer = "Andrey Mokhov , github: @snowleopard"; + author = "Andrey Mokhov , github: @snowleopard"; + homepage = ""; + url = ""; + synopsis = "GHC build system"; + description = ""; + buildType = "Simple"; + isLocal = true; + detailLevel = "FullDetails"; + licenseFiles = [ "LICENSE" ]; + dataDir = "."; + dataFiles = []; + extraSrcFiles = []; + extraTmpFiles = []; + extraDocFiles = [ "README.md" ]; + }; + components = { + exes = { + "hadrian" = { + depends = [ + (hsPkgs."Cabal" or (errorHandler.buildDepError "Cabal")) + (hsPkgs."base" or (errorHandler.buildDepError "base")) + (hsPkgs."bytestring" or (errorHandler.buildDepError "bytestring")) + (hsPkgs."containers" or (errorHandler.buildDepError "containers")) + (hsPkgs."directory" or (errorHandler.buildDepError "directory")) + (hsPkgs."extra" or (errorHandler.buildDepError "extra")) + (hsPkgs."filepath" or (errorHandler.buildDepError "filepath")) + (hsPkgs."time" or (errorHandler.buildDepError "time")) + (hsPkgs."mtl" or (errorHandler.buildDepError "mtl")) + (hsPkgs."parsec" or (errorHandler.buildDepError "parsec")) + (hsPkgs."shake" or (errorHandler.buildDepError "shake")) + (hsPkgs."transformers" or (errorHandler.buildDepError "transformers")) + (hsPkgs."unordered-containers" or (errorHandler.buildDepError "unordered-containers")) + (hsPkgs."text" or (errorHandler.buildDepError "text")) + ] ++ pkgs.lib.optional (flags.selftest) (hsPkgs."QuickCheck" or (errorHandler.buildDepError "QuickCheck")); + buildable = true; + modules = [ + "Base" + "Builder" + "CommandLine" + "Context" + "Context/Path" + "Context/Type" + "Environment" + "Expression" + "Expression/Type" + "Flavour" + "Flavour/Type" + "Hadrian/Builder" + "Hadrian/Builder/Ar" + "Hadrian/Builder/Sphinx" + "Hadrian/Builder/Tar" + "Hadrian/Builder/Git" + "Hadrian/BuildPath" + "Hadrian/Expression" + "Hadrian/Haskell/Cabal" + "Hadrian/Haskell/Cabal/Type" + "Hadrian/Haskell/Cabal/Parse" + "Hadrian/Oracles/ArgsHash" + "Hadrian/Oracles/Cabal" + "Hadrian/Oracles/Cabal/Rules" + "Hadrian/Oracles/Cabal/Type" + "Hadrian/Oracles/DirectoryContents" + "Hadrian/Oracles/Path" + "Hadrian/Oracles/TextFile" + "Hadrian/Package" + "Hadrian/Target" + "Hadrian/Utilities" + "Oracles/Flag" + "Oracles/Flavour" + "Oracles/Setting" + "Oracles/ModuleFiles" + "Oracles/TestSettings" + "Packages" + "Rules" + "Rules/BinaryDist" + "Rules/CabalReinstall" + "Rules/Clean" + "Rules/Compile" + "Rules/Dependencies" + "Rules/Docspec" + "Rules/Documentation" + "Rules/Generate" + "Rules/Gmp" + "Rules/Libffi" + "Rules/Library" + "Rules/Lint" + "Rules/Nofib" + "Rules/Program" + "Rules/Register" + "Rules/Rts" + "Rules/SimpleTargets" + "Rules/SourceDist" + "Rules/Test" + "Rules/ToolArgs" + "Settings" + "Settings/Builders/Alex" + "Settings/Builders/Cabal" + "Settings/Builders/Common" + "Settings/Builders/Cc" + "Settings/Builders/Configure" + "Settings/Builders/DeriveConstants" + "Settings/Builders/GenPrimopCode" + "Settings/Builders/Ghc" + "Settings/Builders/GhcPkg" + "Settings/Builders/Haddock" + "Settings/Builders/Happy" + "Settings/Builders/Hsc2Hs" + "Settings/Builders/HsCpp" + "Settings/Builders/Ar" + "Settings/Builders/Ld" + "Settings/Builders/Make" + "Settings/Builders/MergeObjects" + "Settings/Builders/SplitSections" + "Settings/Builders/RunTest" + "Settings/Builders/Win32Tarballs" + "Settings/Builders/Xelatex" + "Settings/Default" + "Settings/Flavours/Benchmark" + "Settings/Flavours/Development" + "Settings/Flavours/GhcInGhci" + "Settings/Flavours/Performance" + "Settings/Flavours/Quick" + "Settings/Flavours/QuickCross" + "Settings/Flavours/Quickest" + "Settings/Flavours/Validate" + "Settings/Flavours/Release" + "Settings/Packages" + "Settings/Parser" + "Settings/Program" + "Settings/Warnings" + "Stage" + "Target" + "UserSettings" + "Utilities" + "Way" + "Way/Type" + ] ++ pkgs.lib.optional (flags.selftest) "Rules/Selftest"; + hsSourceDirs = [ "." "src" ]; + mainPath = ([ + "Main.hs" + ] ++ pkgs.lib.optional (flags.threaded) "") ++ pkgs.lib.optional (flags.selftest) ""; + }; + }; + }; + } // rec { src = pkgs.lib.mkDefault ../.; } \ No newline at end of file diff --git a/materialized/ghc964/hadrian-ghc964/hadrian/cabal-files/Cabal-syntax.nix b/materialized/ghc964/hadrian-ghc964/hadrian/cabal-files/Cabal-syntax.nix new file mode 100644 index 0000000000..dabbcbdee8 --- /dev/null +++ b/materialized/ghc964/hadrian-ghc964/hadrian/cabal-files/Cabal-syntax.nix @@ -0,0 +1,55 @@ +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: + ({ + flags = {}; + package = { + specVersion = "1.22"; + identifier = { name = "Cabal-syntax"; version = "3.8.1.0"; }; + license = "BSD-3-Clause"; + copyright = "2003-2022, Cabal Development Team (see AUTHORS file)"; + maintainer = "cabal-devel@haskell.org"; + author = "Cabal Development Team "; + homepage = "http://www.haskell.org/cabal/"; + url = ""; + synopsis = "A library for working with .cabal files"; + description = "This library provides tools for reading and manipulating the .cabal file\nformat."; + buildType = "Simple"; + }; + components = { + "library" = { + depends = [ + (hsPkgs."array" or (errorHandler.buildDepError "array")) + (hsPkgs."base" or (errorHandler.buildDepError "base")) + (hsPkgs."binary" or (errorHandler.buildDepError "binary")) + (hsPkgs."bytestring" or (errorHandler.buildDepError "bytestring")) + (hsPkgs."containers" or (errorHandler.buildDepError "containers")) + (hsPkgs."deepseq" or (errorHandler.buildDepError "deepseq")) + (hsPkgs."directory" or (errorHandler.buildDepError "directory")) + (hsPkgs."filepath" or (errorHandler.buildDepError "filepath")) + (hsPkgs."mtl" or (errorHandler.buildDepError "mtl")) + (hsPkgs."parsec" or (errorHandler.buildDepError "parsec")) + (hsPkgs."pretty" or (errorHandler.buildDepError "pretty")) + (hsPkgs."text" or (errorHandler.buildDepError "text")) + (hsPkgs."time" or (errorHandler.buildDepError "time")) + (hsPkgs."transformers" or (errorHandler.buildDepError "transformers")) + ] ++ (if system.isWindows + then [ (hsPkgs."Win32" or (errorHandler.buildDepError "Win32")) ] + else [ (hsPkgs."unix" or (errorHandler.buildDepError "unix")) ]); + buildable = true; + }; + }; + } // { + src = pkgs.lib.mkDefault (pkgs.fetchurl { + url = "http://hackage.haskell.org/package/Cabal-syntax-3.8.1.0.tar.gz"; + sha256 = "07e8ddb19fe01781485f1522b6afc22aba680b0ab28ebe6bbfb84a2dd698ce0f"; + }); + }) // { + package-description-override = "cabal-version: 1.22\r\nname: Cabal-syntax\r\nversion: 3.8.1.0\r\nx-revision: 3\r\ncopyright: 2003-2022, Cabal Development Team (see AUTHORS file)\r\nlicense: BSD3\r\nlicense-file: LICENSE\r\nauthor: Cabal Development Team \r\nmaintainer: cabal-devel@haskell.org\r\nhomepage: http://www.haskell.org/cabal/\r\nbug-reports: https://github.com/haskell/cabal/issues\r\nsynopsis: A library for working with .cabal files\r\ndescription:\r\n This library provides tools for reading and manipulating the .cabal file\r\n format.\r\ncategory: Distribution\r\nbuild-type: Simple\r\n\r\nextra-source-files:\r\n README.md ChangeLog.md\r\n\r\nsource-repository head\r\n type: git\r\n location: https://github.com/haskell/cabal/\r\n subdir: Cabal-syntax\r\n\r\nlibrary\r\n default-language: Haskell2010\r\n hs-source-dirs: src\r\n\r\n build-depends:\r\n array >= 0.4.0.1 && < 0.6,\r\n base >= 4.9 && < 5,\r\n binary >= 0.7 && < 0.9,\r\n bytestring >= 0.10.0.0 && < 0.12,\r\n containers >= 0.5.0.0 && < 0.7,\r\n deepseq >= 1.3.0.1 && < 1.5,\r\n directory >= 1.2 && < 1.4,\r\n filepath >= 1.3.0.1 && < 1.5,\r\n mtl >= 2.1 && < 2.4,\r\n parsec >= 3.1.13.0 && < 3.2,\r\n pretty >= 1.1.1 && < 1.2,\r\n text (>= 1.2.3.0 && < 1.3) || (>= 2.0 && < 2.1),\r\n time >= 1.4.0.1 && < 1.13,\r\n -- transformers-0.4.0.0 doesn't have record syntax e.g. for Identity\r\n -- See also https://github.com/ekmett/transformers-compat/issues/35\r\n transformers (>= 0.3 && < 0.4) || (>=0.4.1.0 && <0.7)\r\n\r\n if os(windows)\r\n build-depends: Win32 >= 2.3.0.0 && < 2.14\r\n else\r\n build-depends: unix >= 2.6.0.0 && < 2.9\r\n\r\n ghc-options: -Wall -fno-ignore-asserts -fwarn-tabs -fwarn-incomplete-uni-patterns -fwarn-incomplete-record-updates\r\n ghc-options: -Wcompat -Wnoncanonical-monad-instances\r\n\r\n if impl(ghc < 8.8)\r\n ghc-options: -Wnoncanonical-monadfail-instances\r\n\r\n exposed-modules:\r\n Distribution.Backpack\r\n Distribution.CabalSpecVersion\r\n Distribution.Compat.Binary\r\n Distribution.Compat.CharParsing\r\n Distribution.Compat.DList\r\n Distribution.Compat.Exception\r\n Distribution.Compat.Graph\r\n Distribution.Compat.Lens\r\n Distribution.Compat.MonadFail\r\n Distribution.Compat.Newtype\r\n Distribution.Compat.NonEmptySet\r\n Distribution.Compat.Parsing\r\n Distribution.Compat.Prelude\r\n Distribution.Compat.Semigroup\r\n Distribution.Compat.Typeable\r\n Distribution.Compiler\r\n Distribution.FieldGrammar\r\n Distribution.FieldGrammar.Class\r\n Distribution.FieldGrammar.FieldDescrs\r\n Distribution.FieldGrammar.Newtypes\r\n Distribution.FieldGrammar.Parsec\r\n Distribution.FieldGrammar.Pretty\r\n Distribution.Fields\r\n Distribution.Fields.ConfVar\r\n Distribution.Fields.Field\r\n Distribution.Fields.Lexer\r\n Distribution.Fields.LexerMonad\r\n Distribution.Fields.ParseResult\r\n Distribution.Fields.Parser\r\n Distribution.Fields.Pretty\r\n Distribution.InstalledPackageInfo\r\n Distribution.License\r\n Distribution.ModuleName\r\n Distribution.Package\r\n Distribution.PackageDescription\r\n Distribution.PackageDescription.Configuration\r\n Distribution.PackageDescription.FieldGrammar\r\n Distribution.PackageDescription.Parsec\r\n Distribution.PackageDescription.PrettyPrint\r\n Distribution.PackageDescription.Quirks\r\n Distribution.PackageDescription.Utils\r\n Distribution.Parsec\r\n Distribution.Parsec.Error\r\n Distribution.Parsec.FieldLineStream\r\n Distribution.Parsec.Position\r\n Distribution.Parsec.Warning\r\n Distribution.Pretty\r\n Distribution.SPDX\r\n Distribution.SPDX.License\r\n Distribution.SPDX.LicenseExceptionId\r\n Distribution.SPDX.LicenseExpression\r\n Distribution.SPDX.LicenseId\r\n Distribution.SPDX.LicenseListVersion\r\n Distribution.SPDX.LicenseReference\r\n Distribution.System\r\n Distribution.Text\r\n Distribution.Types.AbiDependency\r\n Distribution.Types.AbiHash\r\n Distribution.Types.Benchmark\r\n Distribution.Types.Benchmark.Lens\r\n Distribution.Types.BenchmarkInterface\r\n Distribution.Types.BenchmarkType\r\n Distribution.Types.BuildInfo\r\n Distribution.Types.BuildInfo.Lens\r\n Distribution.Types.BuildType\r\n Distribution.Types.Component\r\n Distribution.Types.ComponentId\r\n Distribution.Types.ComponentName\r\n Distribution.Types.ComponentRequestedSpec\r\n Distribution.Types.CondTree\r\n Distribution.Types.Condition\r\n Distribution.Types.ConfVar\r\n Distribution.Types.Dependency\r\n Distribution.Types.DependencyMap\r\n Distribution.Types.ExeDependency\r\n Distribution.Types.Executable\r\n Distribution.Types.Executable.Lens\r\n Distribution.Types.ExecutableScope\r\n Distribution.Types.ExposedModule\r\n Distribution.Types.Flag\r\n Distribution.Types.ForeignLib\r\n Distribution.Types.ForeignLib.Lens\r\n Distribution.Types.ForeignLibOption\r\n Distribution.Types.ForeignLibType\r\n Distribution.Types.GenericPackageDescription\r\n Distribution.Types.GenericPackageDescription.Lens\r\n Distribution.Types.HookedBuildInfo\r\n Distribution.Types.IncludeRenaming\r\n Distribution.Types.InstalledPackageInfo\r\n Distribution.Types.InstalledPackageInfo.Lens\r\n Distribution.Types.InstalledPackageInfo.FieldGrammar\r\n Distribution.Types.LegacyExeDependency\r\n Distribution.Types.Lens\r\n Distribution.Types.Library\r\n Distribution.Types.Library.Lens\r\n Distribution.Types.LibraryName\r\n Distribution.Types.LibraryVisibility\r\n Distribution.Types.Mixin\r\n Distribution.Types.Module\r\n Distribution.Types.ModuleReexport\r\n Distribution.Types.ModuleRenaming\r\n Distribution.Types.MungedPackageId\r\n Distribution.Types.MungedPackageName\r\n Distribution.Types.PackageDescription\r\n Distribution.Types.PackageDescription.Lens\r\n Distribution.Types.PackageId\r\n Distribution.Types.PackageId.Lens\r\n Distribution.Types.PackageName\r\n Distribution.Types.PackageVersionConstraint\r\n Distribution.Types.PkgconfigDependency\r\n Distribution.Types.PkgconfigName\r\n Distribution.Types.PkgconfigVersion\r\n Distribution.Types.PkgconfigVersionRange\r\n Distribution.Types.SetupBuildInfo\r\n Distribution.Types.SetupBuildInfo.Lens\r\n Distribution.Types.SourceRepo\r\n Distribution.Types.SourceRepo.Lens\r\n Distribution.Types.TestSuite\r\n Distribution.Types.TestSuite.Lens\r\n Distribution.Types.TestSuiteInterface\r\n Distribution.Types.TestType\r\n Distribution.Types.UnitId\r\n Distribution.Types.UnqualComponentName\r\n Distribution.Types.Version\r\n Distribution.Types.VersionInterval\r\n Distribution.Types.VersionInterval.Legacy\r\n Distribution.Types.VersionRange\r\n Distribution.Types.VersionRange.Internal\r\n Distribution.Utils.Base62\r\n Distribution.Utils.Generic\r\n Distribution.Utils.MD5\r\n Distribution.Utils.Path\r\n Distribution.Utils.ShortText\r\n Distribution.Utils.String\r\n Distribution.Utils.Structured\r\n Distribution.Version\r\n Language.Haskell.Extension\r\n\r\n other-extensions:\r\n BangPatterns\r\n CPP\r\n DefaultSignatures\r\n DeriveDataTypeable\r\n DeriveFoldable\r\n DeriveFunctor\r\n DeriveGeneric\r\n DeriveTraversable\r\n ExistentialQuantification\r\n FlexibleContexts\r\n FlexibleInstances\r\n GeneralizedNewtypeDeriving\r\n ImplicitParams\r\n KindSignatures\r\n NondecreasingIndentation\r\n OverloadedStrings\r\n PatternSynonyms\r\n RankNTypes\r\n RecordWildCards\r\n ScopedTypeVariables\r\n StandaloneDeriving\r\n Trustworthy\r\n TypeFamilies\r\n TypeOperators\r\n TypeSynonymInstances\r\n UndecidableInstances\r\n"; + } \ No newline at end of file diff --git a/materialized/ghc964/hadrian-ghc964/hadrian/cabal-files/Cabal.nix b/materialized/ghc964/hadrian-ghc964/hadrian/cabal-files/Cabal.nix new file mode 100644 index 0000000000..be0b5019d9 --- /dev/null +++ b/materialized/ghc964/hadrian-ghc964/hadrian/cabal-files/Cabal.nix @@ -0,0 +1,56 @@ +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: + ({ + flags = {}; + package = { + specVersion = "1.22"; + identifier = { name = "Cabal"; version = "3.8.1.0"; }; + license = "BSD-3-Clause"; + copyright = "2003-2022, Cabal Development Team (see AUTHORS file)"; + maintainer = "cabal-devel@haskell.org"; + author = "Cabal Development Team "; + homepage = "http://www.haskell.org/cabal/"; + url = ""; + synopsis = "A framework for packaging Haskell software"; + description = "The Haskell Common Architecture for Building Applications and\nLibraries: a framework defining a common interface for authors to more\neasily build their Haskell applications in a portable way.\n\nThe Haskell Cabal is part of a larger infrastructure for distributing,\norganizing, and cataloging Haskell libraries and tools."; + buildType = "Simple"; + }; + components = { + "library" = { + depends = ([ + (hsPkgs."Cabal-syntax" or (errorHandler.buildDepError "Cabal-syntax")) + (hsPkgs."array" or (errorHandler.buildDepError "array")) + (hsPkgs."base" or (errorHandler.buildDepError "base")) + (hsPkgs."bytestring" or (errorHandler.buildDepError "bytestring")) + (hsPkgs."containers" or (errorHandler.buildDepError "containers")) + (hsPkgs."deepseq" or (errorHandler.buildDepError "deepseq")) + (hsPkgs."directory" or (errorHandler.buildDepError "directory")) + (hsPkgs."filepath" or (errorHandler.buildDepError "filepath")) + (hsPkgs."pretty" or (errorHandler.buildDepError "pretty")) + (hsPkgs."process" or (errorHandler.buildDepError "process")) + (hsPkgs."time" or (errorHandler.buildDepError "time")) + (hsPkgs."transformers" or (errorHandler.buildDepError "transformers")) + (hsPkgs."mtl" or (errorHandler.buildDepError "mtl")) + (hsPkgs."text" or (errorHandler.buildDepError "text")) + (hsPkgs."parsec" or (errorHandler.buildDepError "parsec")) + ] ++ pkgs.lib.optional (compiler.isGhc && compiler.version.ge "8.2") (hsPkgs."process" or (errorHandler.buildDepError "process"))) ++ (if system.isWindows + then [ (hsPkgs."Win32" or (errorHandler.buildDepError "Win32")) ] + else [ (hsPkgs."unix" or (errorHandler.buildDepError "unix")) ]); + buildable = true; + }; + }; + } // { + src = pkgs.lib.mkDefault (pkgs.fetchurl { + url = "http://hackage.haskell.org/package/Cabal-3.8.1.0.tar.gz"; + sha256 = "7464cbe6c2f3d7e5d0232023a1a7330621f8b24853cb259fc89a2af85b736608"; + }); + }) // { + package-description-override = "cabal-version: 1.22\r\nname: Cabal\r\nversion: 3.8.1.0\r\nx-revision: 2\r\ncopyright: 2003-2022, Cabal Development Team (see AUTHORS file)\r\nlicense: BSD3\r\nlicense-file: LICENSE\r\nauthor: Cabal Development Team \r\nmaintainer: cabal-devel@haskell.org\r\nhomepage: http://www.haskell.org/cabal/\r\nbug-reports: https://github.com/haskell/cabal/issues\r\nsynopsis: A framework for packaging Haskell software\r\ndescription:\r\n The Haskell Common Architecture for Building Applications and\r\n Libraries: a framework defining a common interface for authors to more\r\n easily build their Haskell applications in a portable way.\r\n .\r\n The Haskell Cabal is part of a larger infrastructure for distributing,\r\n organizing, and cataloging Haskell libraries and tools.\r\ncategory: Distribution\r\nbuild-type: Simple\r\n-- If we use a new Cabal feature, this needs to be changed to Custom so\r\n-- we can bootstrap.\r\n\r\nextra-source-files:\r\n README.md ChangeLog.md\r\n\r\nsource-repository head\r\n type: git\r\n location: https://github.com/haskell/cabal/\r\n subdir: Cabal\r\n\r\nlibrary\r\n default-language: Haskell2010\r\n hs-source-dirs: src\r\n\r\n build-depends:\r\n Cabal-syntax >= 3.8 && < 3.9,\r\n array >= 0.4.0.1 && < 0.6,\r\n base >= 4.6 && < 5,\r\n bytestring >= 0.10.0.0 && < 0.12,\r\n containers >= 0.5.0.0 && < 0.7,\r\n deepseq >= 1.3.0.1 && < 1.5,\r\n directory >= 1.2 && < 1.4,\r\n filepath >= 1.3.0.1 && < 1.5,\r\n pretty >= 1.1.1 && < 1.2,\r\n process >= 1.2.1.0 && < 1.7,\r\n time >= 1.4.0.1 && < 1.13\r\n\r\n -- PR #8802: moved conditional process lower bound to cabal-install package\r\n if impl(ghc >=8.2)\r\n build-depends: process >= 1.2.1.0\r\n\r\n if os(windows)\r\n build-depends: Win32 >= 2.3.0.0 && < 2.14\r\n else\r\n build-depends: unix >= 2.6.0.0 && < 2.9\r\n\r\n ghc-options: -Wall -fno-ignore-asserts -fwarn-tabs -fwarn-incomplete-uni-patterns -fwarn-incomplete-record-updates\r\n ghc-options: -Wcompat -Wnoncanonical-monad-instances\r\n\r\n if impl(ghc <8.8)\r\n ghc-options: -Wnoncanonical-monadfail-instances\r\n\r\n exposed-modules:\r\n Distribution.Backpack.Configure\r\n Distribution.Backpack.ComponentsGraph\r\n Distribution.Backpack.ConfiguredComponent\r\n Distribution.Backpack.DescribeUnitId\r\n Distribution.Backpack.FullUnitId\r\n Distribution.Backpack.LinkedComponent\r\n Distribution.Backpack.ModSubst\r\n Distribution.Backpack.ModuleShape\r\n Distribution.Backpack.PreModuleShape\r\n Distribution.Utils.IOData\r\n Distribution.Utils.LogProgress\r\n Distribution.Utils.MapAccum\r\n Distribution.Compat.CreatePipe\r\n Distribution.Compat.Directory\r\n Distribution.Compat.Environment\r\n Distribution.Compat.FilePath\r\n Distribution.Compat.Internal.TempFile\r\n Distribution.Compat.ResponseFile\r\n Distribution.Compat.Prelude.Internal\r\n Distribution.Compat.Process\r\n Distribution.Compat.Stack\r\n Distribution.Compat.Time\r\n Distribution.Make\r\n Distribution.PackageDescription.Check\r\n Distribution.ReadE\r\n Distribution.Simple\r\n Distribution.Simple.Bench\r\n Distribution.Simple.Build\r\n Distribution.Simple.Build.Macros\r\n Distribution.Simple.Build.PathsModule\r\n Distribution.Simple.BuildPaths\r\n Distribution.Simple.BuildTarget\r\n Distribution.Simple.BuildToolDepends\r\n Distribution.Simple.CCompiler\r\n Distribution.Simple.Command\r\n Distribution.Simple.Compiler\r\n Distribution.Simple.Configure\r\n Distribution.Simple.Flag\r\n Distribution.Simple.GHC\r\n Distribution.Simple.GHCJS\r\n Distribution.Simple.Haddock\r\n Distribution.Simple.Glob\r\n Distribution.Simple.HaskellSuite\r\n Distribution.Simple.Hpc\r\n Distribution.Simple.Install\r\n Distribution.Simple.InstallDirs\r\n Distribution.Simple.InstallDirs.Internal\r\n Distribution.Simple.LocalBuildInfo\r\n Distribution.Simple.PackageDescription\r\n Distribution.Simple.PackageIndex\r\n Distribution.Simple.PreProcess\r\n Distribution.Simple.PreProcess.Unlit\r\n Distribution.Simple.Program\r\n Distribution.Simple.Program.Ar\r\n Distribution.Simple.Program.Builtin\r\n Distribution.Simple.Program.Db\r\n Distribution.Simple.Program.Find\r\n Distribution.Simple.Program.GHC\r\n Distribution.Simple.Program.HcPkg\r\n Distribution.Simple.Program.Hpc\r\n Distribution.Simple.Program.Internal\r\n Distribution.Simple.Program.Ld\r\n Distribution.Simple.Program.ResponseFile\r\n Distribution.Simple.Program.Run\r\n Distribution.Simple.Program.Script\r\n Distribution.Simple.Program.Strip\r\n Distribution.Simple.Program.Types\r\n Distribution.Simple.Register\r\n Distribution.Simple.Setup\r\n Distribution.Simple.ShowBuildInfo\r\n Distribution.Simple.SrcDist\r\n Distribution.Simple.Test\r\n Distribution.Simple.Test.ExeV10\r\n Distribution.Simple.Test.LibV09\r\n Distribution.Simple.Test.Log\r\n Distribution.Simple.UHC\r\n Distribution.Simple.UserHooks\r\n Distribution.Simple.Utils\r\n Distribution.TestSuite\r\n Distribution.Types.AnnotatedId\r\n Distribution.Types.ComponentInclude\r\n Distribution.Types.DumpBuildInfo\r\n Distribution.Types.PackageName.Magic\r\n Distribution.Types.ComponentLocalBuildInfo\r\n Distribution.Types.LocalBuildInfo\r\n Distribution.Types.TargetInfo\r\n Distribution.Types.GivenComponent\r\n Distribution.Utils.Json\r\n Distribution.Utils.NubList\r\n Distribution.Utils.Progress\r\n Distribution.Verbosity\r\n Distribution.Verbosity.Internal\r\n\r\n -- We reexport all of Cabal-syntax to aid in compatibility for downstream\r\n -- users. In the future we may opt to deprecate some or all of these exports.\r\n -- See haskell/Cabal#7974.\r\n reexported-modules:\r\n Distribution.Backpack,\r\n Distribution.CabalSpecVersion,\r\n Distribution.Compat.Binary,\r\n Distribution.Compat.CharParsing,\r\n Distribution.Compat.DList,\r\n Distribution.Compat.Exception,\r\n Distribution.Compat.Graph,\r\n Distribution.Compat.Lens,\r\n Distribution.Compat.MonadFail,\r\n Distribution.Compat.Newtype,\r\n Distribution.Compat.NonEmptySet,\r\n Distribution.Compat.Parsing,\r\n Distribution.Compat.Prelude,\r\n Distribution.Compat.Semigroup,\r\n Distribution.Compat.Typeable,\r\n Distribution.Compiler,\r\n Distribution.FieldGrammar,\r\n Distribution.FieldGrammar.Class,\r\n Distribution.FieldGrammar.FieldDescrs,\r\n Distribution.FieldGrammar.Newtypes,\r\n Distribution.FieldGrammar.Parsec,\r\n Distribution.FieldGrammar.Pretty,\r\n Distribution.Fields,\r\n Distribution.Fields.ConfVar,\r\n Distribution.Fields.Field,\r\n Distribution.Fields.Lexer,\r\n Distribution.Fields.LexerMonad,\r\n Distribution.Fields.ParseResult,\r\n Distribution.Fields.Parser,\r\n Distribution.Fields.Pretty,\r\n Distribution.InstalledPackageInfo,\r\n Distribution.License,\r\n Distribution.ModuleName,\r\n Distribution.Package,\r\n Distribution.PackageDescription,\r\n Distribution.PackageDescription.Configuration,\r\n Distribution.PackageDescription.FieldGrammar,\r\n Distribution.PackageDescription.Parsec,\r\n Distribution.PackageDescription.PrettyPrint,\r\n Distribution.PackageDescription.Quirks,\r\n Distribution.PackageDescription.Utils,\r\n Distribution.Parsec,\r\n Distribution.Parsec.Error,\r\n Distribution.Parsec.FieldLineStream,\r\n Distribution.Parsec.Position,\r\n Distribution.Parsec.Warning,\r\n Distribution.Pretty,\r\n Distribution.SPDX,\r\n Distribution.SPDX.License,\r\n Distribution.SPDX.LicenseExceptionId,\r\n Distribution.SPDX.LicenseExpression,\r\n Distribution.SPDX.LicenseId,\r\n Distribution.SPDX.LicenseListVersion,\r\n Distribution.SPDX.LicenseReference,\r\n Distribution.System,\r\n Distribution.Text,\r\n Distribution.Types.AbiDependency,\r\n Distribution.Types.AbiHash,\r\n Distribution.Types.Benchmark,\r\n Distribution.Types.Benchmark.Lens,\r\n Distribution.Types.BenchmarkInterface,\r\n Distribution.Types.BenchmarkType,\r\n Distribution.Types.BuildInfo,\r\n Distribution.Types.BuildInfo.Lens,\r\n Distribution.Types.BuildType,\r\n Distribution.Types.Component,\r\n Distribution.Types.ComponentId,\r\n Distribution.Types.ComponentName,\r\n Distribution.Types.ComponentRequestedSpec,\r\n Distribution.Types.CondTree,\r\n Distribution.Types.Condition,\r\n Distribution.Types.ConfVar,\r\n Distribution.Types.Dependency,\r\n Distribution.Types.DependencyMap,\r\n Distribution.Types.ExeDependency,\r\n Distribution.Types.Executable,\r\n Distribution.Types.Executable.Lens,\r\n Distribution.Types.ExecutableScope,\r\n Distribution.Types.ExposedModule,\r\n Distribution.Types.Flag,\r\n Distribution.Types.ForeignLib,\r\n Distribution.Types.ForeignLib.Lens,\r\n Distribution.Types.ForeignLibOption,\r\n Distribution.Types.ForeignLibType,\r\n Distribution.Types.GenericPackageDescription,\r\n Distribution.Types.GenericPackageDescription.Lens,\r\n Distribution.Types.HookedBuildInfo,\r\n Distribution.Types.IncludeRenaming,\r\n Distribution.Types.InstalledPackageInfo,\r\n Distribution.Types.InstalledPackageInfo.Lens,\r\n Distribution.Types.InstalledPackageInfo.FieldGrammar,\r\n Distribution.Types.LegacyExeDependency,\r\n Distribution.Types.Lens,\r\n Distribution.Types.Library,\r\n Distribution.Types.Library.Lens,\r\n Distribution.Types.LibraryName,\r\n Distribution.Types.LibraryVisibility,\r\n Distribution.Types.Mixin,\r\n Distribution.Types.Module,\r\n Distribution.Types.ModuleReexport,\r\n Distribution.Types.ModuleRenaming,\r\n Distribution.Types.MungedPackageId,\r\n Distribution.Types.MungedPackageName,\r\n Distribution.Types.PackageDescription,\r\n Distribution.Types.PackageDescription.Lens,\r\n Distribution.Types.PackageId,\r\n Distribution.Types.PackageId.Lens,\r\n Distribution.Types.PackageName,\r\n Distribution.Types.PackageVersionConstraint,\r\n Distribution.Types.PkgconfigDependency,\r\n Distribution.Types.PkgconfigName,\r\n Distribution.Types.PkgconfigVersion,\r\n Distribution.Types.PkgconfigVersionRange,\r\n Distribution.Types.SetupBuildInfo,\r\n Distribution.Types.SetupBuildInfo.Lens,\r\n Distribution.Types.SourceRepo,\r\n Distribution.Types.SourceRepo.Lens,\r\n Distribution.Types.TestSuite,\r\n Distribution.Types.TestSuite.Lens,\r\n Distribution.Types.TestSuiteInterface,\r\n Distribution.Types.TestType,\r\n Distribution.Types.UnitId,\r\n Distribution.Types.UnqualComponentName,\r\n Distribution.Types.Version,\r\n Distribution.Types.VersionInterval,\r\n Distribution.Types.VersionInterval.Legacy,\r\n Distribution.Types.VersionRange,\r\n Distribution.Types.VersionRange.Internal,\r\n Distribution.Utils.Base62,\r\n Distribution.Utils.Generic,\r\n Distribution.Utils.MD5,\r\n Distribution.Utils.Path,\r\n Distribution.Utils.ShortText,\r\n Distribution.Utils.String,\r\n Distribution.Utils.Structured,\r\n Distribution.Version,\r\n Language.Haskell.Extension\r\n\r\n -- Parsec parser-related modules\r\n build-depends:\r\n -- transformers-0.4.0.0 doesn't have record syntax e.g. for Identity\r\n -- See also https://github.com/ekmett/transformers-compat/issues/35\r\n transformers (>= 0.3 && < 0.4) || (>=0.4.1.0 && <0.7),\r\n mtl >= 2.1 && < 2.4,\r\n text (>= 1.2.3.0 && < 1.3) || (>= 2.0 && < 2.1),\r\n parsec >= 3.1.13.0 && < 3.2\r\n\r\n other-modules:\r\n Distribution.Backpack.PreExistingComponent\r\n Distribution.Backpack.ReadyComponent\r\n Distribution.Backpack.MixLink\r\n Distribution.Backpack.ModuleScope\r\n Distribution.Backpack.UnifyM\r\n Distribution.Backpack.Id\r\n Distribution.Utils.UnionFind\r\n Distribution.Compat.Async\r\n Distribution.Compat.CopyFile\r\n Distribution.Compat.GetShortPathName\r\n Distribution.Compat.SnocList\r\n Distribution.GetOpt\r\n Distribution.Lex\r\n Distribution.Simple.Build.Macros.Z\r\n Distribution.Simple.Build.PathsModule.Z\r\n Distribution.Simple.GHC.EnvironmentParser\r\n Distribution.Simple.GHC.Internal\r\n Distribution.Simple.GHC.ImplInfo\r\n Distribution.ZinzaPrelude\r\n Paths_Cabal\r\n\r\n other-extensions:\r\n BangPatterns\r\n CPP\r\n DefaultSignatures\r\n DeriveDataTypeable\r\n DeriveFoldable\r\n DeriveFunctor\r\n DeriveGeneric\r\n DeriveTraversable\r\n ExistentialQuantification\r\n FlexibleContexts\r\n FlexibleInstances\r\n GeneralizedNewtypeDeriving\r\n ImplicitParams\r\n KindSignatures\r\n LambdaCase\r\n NondecreasingIndentation\r\n OverloadedStrings\r\n PatternSynonyms\r\n RankNTypes\r\n RecordWildCards\r\n ScopedTypeVariables\r\n StandaloneDeriving\r\n Trustworthy\r\n TypeFamilies\r\n TypeOperators\r\n TypeSynonymInstances\r\n UndecidableInstances\r\n"; + } \ No newline at end of file diff --git a/materialized/ghc964/hadrian-ghc964/hadrian/cabal-files/QuickCheck.nix b/materialized/ghc964/hadrian-ghc964/hadrian/cabal-files/QuickCheck.nix new file mode 100644 index 0000000000..62e36aa8b6 --- /dev/null +++ b/materialized/ghc964/hadrian-ghc964/hadrian/cabal-files/QuickCheck.nix @@ -0,0 +1,119 @@ +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: + ({ + flags = { templatehaskell = true; old-random = false; }; + package = { + specVersion = "1.10"; + identifier = { name = "QuickCheck"; version = "2.14.3"; }; + license = "BSD-3-Clause"; + copyright = "2000-2019 Koen Claessen, 2006-2008 Björn Bringert, 2009-2019 Nick Smallbone"; + maintainer = "Nick Smallbone "; + author = "Koen Claessen "; + homepage = "https://github.com/nick8325/quickcheck"; + url = ""; + synopsis = "Automatic testing of Haskell programs"; + description = "QuickCheck is a library for random testing of program properties.\nThe programmer provides a specification of the program, in the form of\nproperties which functions should satisfy, and QuickCheck then tests that the\nproperties hold in a large number of randomly generated cases.\nSpecifications are expressed in Haskell, using combinators provided by\nQuickCheck. QuickCheck provides combinators to define properties, observe the\ndistribution of test data, and define test data generators.\n\nMost of QuickCheck's functionality is exported by the main \"Test.QuickCheck\"\nmodule. The main exception is the monadic property testing library in\n\"Test.QuickCheck.Monadic\".\n\nIf you are new to QuickCheck, you can try looking at the following resources:\n\n* The .\nIt's a bit out-of-date in some details and doesn't cover newer QuickCheck features,\nbut is still full of good advice.\n* ,\na detailed tutorial written by a user of QuickCheck.\n\nThe \ncompanion package provides instances for types in Haskell Platform packages\nat the cost of additional dependencies."; + buildType = "Simple"; + }; + components = { + "library" = { + depends = ((((((([ + (hsPkgs."base" or (errorHandler.buildDepError "base")) + (hsPkgs."containers" or (errorHandler.buildDepError "containers")) + ] ++ [ + (hsPkgs."random" or (errorHandler.buildDepError "random")) + ]) ++ pkgs.lib.optional (!(compiler.isHugs && true)) (hsPkgs."splitmix" or (errorHandler.buildDepError "splitmix"))) ++ pkgs.lib.optionals (compiler.isGhc && true) [ + (hsPkgs."transformers" or (errorHandler.buildDepError "transformers")) + (hsPkgs."deepseq" or (errorHandler.buildDepError "deepseq")) + ]) ++ pkgs.lib.optional (compiler.isGhc && true && flags.templatehaskell) (hsPkgs."template-haskell" or (errorHandler.buildDepError "template-haskell"))) ++ pkgs.lib.optional (compiler.isGhc && compiler.version.ge "7.2" && (compiler.isGhc && compiler.version.lt "7.6")) (hsPkgs."ghc-prim" or (errorHandler.buildDepError "ghc-prim"))) ++ pkgs.lib.optional (compiler.isGhc && compiler.version.ge "7.2") (hsPkgs."random" or (errorHandler.buildDepError "random"))) ++ pkgs.lib.optional (compiler.isGhc && compiler.version.ge "7.4") (hsPkgs."containers" or (errorHandler.buildDepError "containers"))) ++ pkgs.lib.optionals (compiler.isUhc && true) [ + (hsPkgs."old-time" or (errorHandler.buildDepError "old-time")) + (hsPkgs."old-locale" or (errorHandler.buildDepError "old-locale")) + ]; + buildable = true; + }; + tests = { + "test-quickcheck" = { + depends = [ + (hsPkgs."base" or (errorHandler.buildDepError "base")) + (hsPkgs."QuickCheck" or (errorHandler.buildDepError "QuickCheck")) + ]; + buildable = if !flags.templatehaskell then false else true; + }; + "test-quickcheck-gcoarbitrary" = { + depends = [ + (hsPkgs."base" or (errorHandler.buildDepError "base")) + (hsPkgs."QuickCheck" or (errorHandler.buildDepError "QuickCheck")) + ] ++ pkgs.lib.optional (compiler.isGhc && compiler.version.ge "7.2" && (compiler.isGhc && compiler.version.lt "7.6")) (hsPkgs."ghc-prim" or (errorHandler.buildDepError "ghc-prim")); + buildable = if !flags.templatehaskell || !(compiler.isGhc && compiler.version.ge "7.2") + then false + else true; + }; + "test-quickcheck-generators" = { + depends = [ + (hsPkgs."base" or (errorHandler.buildDepError "base")) + (hsPkgs."QuickCheck" or (errorHandler.buildDepError "QuickCheck")) + ]; + buildable = if !flags.templatehaskell then false else true; + }; + "test-quickcheck-gshrink" = { + depends = [ + (hsPkgs."base" or (errorHandler.buildDepError "base")) + (hsPkgs."QuickCheck" or (errorHandler.buildDepError "QuickCheck")) + ] ++ pkgs.lib.optional (compiler.isGhc && compiler.version.ge "7.2" && (compiler.isGhc && compiler.version.lt "7.6")) (hsPkgs."ghc-prim" or (errorHandler.buildDepError "ghc-prim")); + buildable = if !flags.templatehaskell || !(compiler.isGhc && compiler.version.ge "7.2") + then false + else true; + }; + "test-quickcheck-terminal" = { + depends = [ + (hsPkgs."base" or (errorHandler.buildDepError "base")) + (hsPkgs."process" or (errorHandler.buildDepError "process")) + (hsPkgs."deepseq" or (errorHandler.buildDepError "deepseq")) + (hsPkgs."QuickCheck" or (errorHandler.buildDepError "QuickCheck")) + ]; + buildable = if !flags.templatehaskell || !(compiler.isGhc && compiler.version.ge "7.10") + then false + else true; + }; + "test-quickcheck-monadfix" = { + depends = [ + (hsPkgs."base" or (errorHandler.buildDepError "base")) + (hsPkgs."QuickCheck" or (errorHandler.buildDepError "QuickCheck")) + ]; + buildable = if !flags.templatehaskell || !(compiler.isGhc && compiler.version.ge "7.10") + then false + else true; + }; + "test-quickcheck-split" = { + depends = [ + (hsPkgs."base" or (errorHandler.buildDepError "base")) + (hsPkgs."QuickCheck" or (errorHandler.buildDepError "QuickCheck")) + ]; + buildable = true; + }; + "test-quickcheck-misc" = { + depends = [ + (hsPkgs."base" or (errorHandler.buildDepError "base")) + (hsPkgs."QuickCheck" or (errorHandler.buildDepError "QuickCheck")) + ]; + buildable = if !flags.templatehaskell || !(compiler.isGhc && compiler.version.ge "7.10") + then false + else true; + }; + }; + }; + } // { + src = pkgs.lib.mkDefault (pkgs.fetchurl { + url = "http://hackage.haskell.org/package/QuickCheck-2.14.3.tar.gz"; + sha256 = "5c0f22b36b28a1a8fa110b3819818d3f29494a3b0dedbae299f064123ca70501"; + }); + }) // { + package-description-override = "Name: QuickCheck\nVersion: 2.14.3\nCabal-Version: >= 1.10\nBuild-type: Simple\nLicense: BSD3\nLicense-file: LICENSE\nCopyright: 2000-2019 Koen Claessen, 2006-2008 Björn Bringert, 2009-2019 Nick Smallbone\nAuthor: Koen Claessen \nMaintainer: Nick Smallbone \nBug-reports: https://github.com/nick8325/quickcheck/issues\nTested-with: GHC ==7.0.4 || ==7.2.2 || >= 7.4\nHomepage: https://github.com/nick8325/quickcheck\nCategory: Testing\nSynopsis: Automatic testing of Haskell programs\nDescription:\n QuickCheck is a library for random testing of program properties.\n The programmer provides a specification of the program, in the form of\n properties which functions should satisfy, and QuickCheck then tests that the\n properties hold in a large number of randomly generated cases.\n Specifications are expressed in Haskell, using combinators provided by\n QuickCheck. QuickCheck provides combinators to define properties, observe the\n distribution of test data, and define test data generators.\n .\n Most of QuickCheck's functionality is exported by the main \"Test.QuickCheck\"\n module. The main exception is the monadic property testing library in\n \"Test.QuickCheck.Monadic\".\n .\n If you are new to QuickCheck, you can try looking at the following resources:\n .\n * The .\n It's a bit out-of-date in some details and doesn't cover newer QuickCheck features,\n but is still full of good advice.\n * ,\n a detailed tutorial written by a user of QuickCheck.\n .\n The \n companion package provides instances for types in Haskell Platform packages\n at the cost of additional dependencies.\n\nextra-source-files:\n README\n changelog\n examples/Heap.hs\n examples/Heap_Program.hs\n examples/Heap_ProgramAlgebraic.hs\n examples/Lambda.hs\n examples/Merge.hs\n examples/Set.hs\n examples/Simple.hs\n make-hugs\n test-hugs\n\nsource-repository head\n type: git\n location: https://github.com/nick8325/quickcheck\n\nsource-repository this\n type: git\n location: https://github.com/nick8325/quickcheck\n tag: 2.14.3\n\nflag templateHaskell\n Description: Build Test.QuickCheck.All, which uses Template Haskell.\n Default: True\n Manual: True\n\nflag old-random\n Description: Build against a pre-1.2.0 version of the random package.\n Default: False\n Manual: False\n\nlibrary\n Hs-source-dirs: src\n Build-depends: base >=4.3 && <5, containers\n Default-language: Haskell2010\n\n -- New vs old random.\n if flag(old-random)\n Build-depends: random >= 1.0.0.3 && < 1.2.0\n cpp-options: -DOLD_RANDOM\n else\n Build-depends: random >= 1.2.0 && < 1.3\n\n -- We always use splitmix directly rather than going through StdGen\n -- (it's somewhat more efficient).\n -- However, Hugs traps overflow on Word64, so we have to stick\n -- with StdGen there.\n if impl(hugs)\n cpp-options: -DNO_SPLITMIX\n else\n Build-depends: splitmix >= 0.1 && <0.2\n\n -- Modules that are always built.\n Exposed-Modules:\n Test.QuickCheck,\n Test.QuickCheck.Arbitrary,\n Test.QuickCheck.Gen,\n Test.QuickCheck.Gen.Unsafe,\n Test.QuickCheck.Monadic,\n Test.QuickCheck.Modifiers,\n Test.QuickCheck.Property,\n Test.QuickCheck.Test,\n Test.QuickCheck.Text,\n Test.QuickCheck.Poly,\n Test.QuickCheck.State,\n Test.QuickCheck.Random,\n Test.QuickCheck.Exception,\n Test.QuickCheck.Features\n\n -- GHC-specific modules.\n if impl(ghc)\n Exposed-Modules: Test.QuickCheck.Function\n Build-depends: transformers >= 0.3, deepseq >= 1.1.0.0\n else\n cpp-options: -DNO_TRANSFORMERS -DNO_DEEPSEQ\n\n if impl(ghc) && flag(templateHaskell)\n Build-depends: template-haskell >= 2.4\n if impl(ghc >=8.0)\n Other-Extensions: TemplateHaskellQuotes\n else\n Other-Extensions: TemplateHaskell\n Exposed-Modules: Test.QuickCheck.All\n else\n cpp-options: -DNO_TEMPLATE_HASKELL\n\n if !impl(ghc >= 7.4)\n cpp-options: -DNO_CTYPES_CONSTRUCTORS -DNO_FOREIGN_C_USECONDS\n\n -- The new generics appeared in GHC 7.2...\n if impl(ghc < 7.2)\n cpp-options: -DNO_GENERICS\n -- ...but in 7.2-7.4 it lives in the ghc-prim package.\n if impl(ghc >= 7.2) && impl(ghc < 7.6)\n Build-depends: ghc-prim\n\n -- Safe Haskell appeared in GHC 7.2, but GHC.Generics isn't safe until 7.4.\n if impl (ghc < 7.4)\n cpp-options: -DNO_SAFE_HASKELL\n\n -- random is explicitly Trustworthy since 1.0.1.0\n -- similar constraint for containers\n if impl(ghc >= 7.2)\n Build-depends: random >=1.0.1.0\n if impl(ghc >= 7.4)\n Build-depends: containers >=0.4.2.1\n\n if !impl(ghc >= 7.6)\n cpp-options: -DNO_POLYKINDS\n\n if !impl(ghc >= 8.0)\n cpp-options: -DNO_MONADFAIL\n\n -- Switch off most optional features on non-GHC systems.\n if !impl(ghc)\n -- If your Haskell compiler can cope without some of these, please\n -- send a message to the QuickCheck mailing list!\n cpp-options: -DNO_TIMEOUT -DNO_NEWTYPE_DERIVING -DNO_GENERICS\n -DNO_TEMPLATE_HASKELL -DNO_SAFE_HASKELL -DNO_TYPEABLE -DNO_GADTS\n -DNO_EXTRA_METHODS_IN_APPLICATIVE -DOLD_RANDOM\n if !impl(hugs) && !impl(uhc)\n cpp-options: -DNO_ST_MONAD -DNO_MULTI_PARAM_TYPE_CLASSES\n\n -- LANGUAGE pragmas don't have any effect in Hugs.\n if impl(hugs)\n Default-Extensions: CPP\n\n if impl(uhc)\n -- Cabal under UHC needs pointing out all the dependencies of the\n -- random package.\n Build-depends: old-time, old-locale\n -- Plus some bits of the standard library are missing.\n cpp-options: -DNO_FIXED -DNO_EXCEPTIONS\n\nTest-Suite test-quickcheck\n type: exitcode-stdio-1.0\n Default-language: Haskell2010\n hs-source-dirs:\n examples\n main-is: Heap.hs\n build-depends: base, QuickCheck\n if !flag(templateHaskell)\n Buildable: False\n\nTest-Suite test-quickcheck-gcoarbitrary\n type: exitcode-stdio-1.0\n Default-language: Haskell2010\n hs-source-dirs: tests\n main-is: GCoArbitraryExample.hs\n build-depends: base, QuickCheck\n if !flag(templateHaskell) || !impl(ghc >= 7.2)\n buildable: False\n if impl(ghc >= 7.2) && impl(ghc < 7.6)\n build-depends: ghc-prim\n\nTest-Suite test-quickcheck-generators\n type: exitcode-stdio-1.0\n Default-language: Haskell2010\n hs-source-dirs: tests\n main-is: Generators.hs\n build-depends: base, QuickCheck\n if !flag(templateHaskell)\n Buildable: False\n\nTest-Suite test-quickcheck-gshrink\n type: exitcode-stdio-1.0\n Default-language: Haskell2010\n hs-source-dirs: tests\n main-is: GShrinkExample.hs\n build-depends: base, QuickCheck\n if !flag(templateHaskell) || !impl(ghc >= 7.2)\n buildable: False\n if impl(ghc >= 7.2) && impl(ghc < 7.6)\n build-depends: ghc-prim\n\nTest-Suite test-quickcheck-terminal\n type: exitcode-stdio-1.0\n Default-language: Haskell2010\n hs-source-dirs: tests\n main-is: Terminal.hs\n build-depends: base, process, deepseq >= 1.1.0.0, QuickCheck\n if !flag(templateHaskell) || !impl(ghc >= 7.10)\n buildable: False\n\nTest-Suite test-quickcheck-monadfix\n type: exitcode-stdio-1.0\n Default-language: Haskell2010\n hs-source-dirs: tests\n main-is: MonadFix.hs\n build-depends: base, QuickCheck\n if !flag(templateHaskell) || !impl(ghc >= 7.10)\n buildable: False\n\nTest-Suite test-quickcheck-split\n type: exitcode-stdio-1.0\n Default-language: Haskell2010\n hs-source-dirs: tests\n main-is: Split.hs\n build-depends: base, QuickCheck\n\nTest-Suite test-quickcheck-misc\n type: exitcode-stdio-1.0\n Default-language: Haskell2010\n hs-source-dirs: tests\n main-is: Misc.hs\n build-depends: base, QuickCheck\n if !flag(templateHaskell) || !impl(ghc >= 7.10)\n buildable: False\n"; + } \ No newline at end of file diff --git a/materialized/ghc964/hadrian-ghc964/hadrian/cabal-files/clock.nix b/materialized/ghc964/hadrian-ghc964/hadrian/cabal-files/clock.nix new file mode 100644 index 0000000000..1db6e2d90d --- /dev/null +++ b/materialized/ghc964/hadrian-ghc964/hadrian/cabal-files/clock.nix @@ -0,0 +1,59 @@ +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: + ({ + flags = { llvm = false; }; + package = { + specVersion = "1.10"; + identifier = { name = "clock"; version = "0.8.4"; }; + license = "BSD-3-Clause"; + copyright = "Copyright © Cetin Sert 2009-2023, Eugene Kirpichov 2010, Finn Espen Gundersen 2013, Gerolf Seitz 2013, Mathieu Boespflug 2014 2015, Chris Done 2015, Dimitri Sabadie 2015, Christian Burger 2015, Mario Longobardi 2016, Alexander Vershilov 2021."; + maintainer = "Cetin Sert , Elefunc, Inc."; + author = "Cetin Sert , Elefunc, Inc."; + homepage = "https://github.com/corsis/clock"; + url = ""; + synopsis = "High-resolution clock functions: monotonic, realtime, cputime."; + description = "A package for convenient access to high-resolution clock and\ntimer functions of different operating systems via a unified API.\n\nPOSIX code and surface API was developed by Cetin Sert in 2009.\n\nWindows code was contributed by Eugene Kirpichov in 2010.\n\nFreeBSD code was contributed by Finn Espen Gundersen on 2013-10-14.\n\nOS X code was contributed by Gerolf Seitz on 2013-10-15.\n\nDerived @Generic@, @Typeable@ and other instances for @Clock@ and @TimeSpec@ was contributed by Mathieu Boespflug on 2014-09-17.\n\nCorrected dependency listing for @GHC < 7.6@ was contributed by Brian McKenna on 2014-09-30.\n\nWindows code corrected by Dimitri Sabadie on 2015-02-09.\n\nAdded @timeSpecAsNanoSecs@ as observed widely-used by Chris Done on 2015-01-06, exported correctly on 2015-04-20.\n\nImported Control.Applicative operators correctly for Haskell Platform on Windows on 2015-04-21.\n\nUnit tests and instance fixes by Christian Burger on 2015-06-25.\n\nRemoval of fromInteger : Integer -> TimeSpec by Cetin Sert on 2015-12-15.\n\nNew Linux-specific Clocks: MonotonicRaw, Boottime, MonotonicCoarse, RealtimeCoarse by Cetin Sert on 2015-12-15.\n\nReintroduction fromInteger : Integer -> TimeSpec by Cetin Sert on 2016-04-05.\n\nFixes for older Linux build failures introduced by new Linux-specific clocks by Mario Longobardi on 2016-04-18.\n\nRefreshment release in 2019-04 after numerous contributions.\n\nRefactoring for Windows, Mac implementation consistence by Alexander Vershilov on 2021-01-16.\n\n[Version Scheme]\nMajor-@/R/@-ewrite . New-@/F/@-unctionality . @/I/@-mprovementAndBugFixes . @/P/@-ackagingOnly\n\n* @PackagingOnly@ changes are made for quality assurance reasons."; + buildType = "Simple"; + }; + components = { + "library" = { + depends = [ (hsPkgs."base" or (errorHandler.buildDepError "base")) ]; + buildable = true; + }; + tests = { + "test" = { + depends = [ + (hsPkgs."base" or (errorHandler.buildDepError "base")) + (hsPkgs."tasty" or (errorHandler.buildDepError "tasty")) + (hsPkgs."tasty-quickcheck" or (errorHandler.buildDepError "tasty-quickcheck")) + (hsPkgs."clock" or (errorHandler.buildDepError "clock")) + ]; + buildable = true; + }; + }; + benchmarks = { + "benchmarks" = { + depends = [ + (hsPkgs."base" or (errorHandler.buildDepError "base")) + (hsPkgs."criterion" or (errorHandler.buildDepError "criterion")) + (hsPkgs."clock" or (errorHandler.buildDepError "clock")) + ]; + buildable = true; + }; + }; + }; + } // { + src = pkgs.lib.mkDefault (pkgs.fetchurl { + url = "http://hackage.haskell.org/package/clock-0.8.4.tar.gz"; + sha256 = "6ae9898afe788a5e334cd5fad5d18a3c2e8e59fa09aaf7b957dbb38a4767df2e"; + }); + }) // { + package-description-override = "cabal-version: >= 1.10\nname: clock\nversion: 0.8.4\nstability: stable\nsynopsis: High-resolution clock functions: monotonic, realtime, cputime.\ndescription: A package for convenient access to high-resolution clock and\n timer functions of different operating systems via a unified API.\n .\n POSIX code and surface API was developed by Cetin Sert in 2009.\n .\n Windows code was contributed by Eugene Kirpichov in 2010.\n .\n FreeBSD code was contributed by Finn Espen Gundersen on 2013-10-14.\n .\n OS X code was contributed by Gerolf Seitz on 2013-10-15.\n .\n Derived @Generic@, @Typeable@ and other instances for @Clock@ and @TimeSpec@ was contributed by Mathieu Boespflug on 2014-09-17.\n .\n Corrected dependency listing for @GHC < 7.6@ was contributed by Brian McKenna on 2014-09-30.\n .\n Windows code corrected by Dimitri Sabadie on 2015-02-09.\n .\n Added @timeSpecAsNanoSecs@ as observed widely-used by Chris Done on 2015-01-06, exported correctly on 2015-04-20.\n .\n Imported Control.Applicative operators correctly for Haskell Platform on Windows on 2015-04-21.\n .\n Unit tests and instance fixes by Christian Burger on 2015-06-25.\n .\n Removal of fromInteger : Integer -> TimeSpec by Cetin Sert on 2015-12-15.\n .\n New Linux-specific Clocks: MonotonicRaw, Boottime, MonotonicCoarse, RealtimeCoarse by Cetin Sert on 2015-12-15.\n .\n Reintroduction fromInteger : Integer -> TimeSpec by Cetin Sert on 2016-04-05.\n .\n Fixes for older Linux build failures introduced by new Linux-specific clocks by Mario Longobardi on 2016-04-18.\n .\n Refreshment release in 2019-04 after numerous contributions.\n .\n Refactoring for Windows, Mac implementation consistence by Alexander Vershilov on 2021-01-16.\n .\n [Version Scheme]\n Major-@/R/@-ewrite . New-@/F/@-unctionality . @/I/@-mprovementAndBugFixes . @/P/@-ackagingOnly\n .\n * @PackagingOnly@ changes are made for quality assurance reasons.\n\ncopyright: Copyright © Cetin Sert 2009-2023, Eugene Kirpichov 2010, Finn Espen Gundersen 2013, Gerolf Seitz 2013, Mathieu Boespflug 2014 2015, Chris Done 2015, Dimitri Sabadie 2015, Christian Burger 2015, Mario Longobardi 2016, Alexander Vershilov 2021.\nlicense: BSD3\nlicense-file: LICENSE\nauthor: Cetin Sert , Elefunc, Inc.\nmaintainer: Cetin Sert , Elefunc, Inc.\nhomepage: https://github.com/corsis/clock\nbug-reports: https://github.com/corsis/clock/issues\ncategory: System\nbuild-type: Simple\n\ntested-with:\n GHC == 9.6.1\n GHC == 9.4.4\n GHC == 9.2.7\n GHC == 9.0.2\n GHC == 8.10.7\n GHC == 8.8.4\n GHC == 8.6.5\n GHC == 8.4.4\n GHC == 8.2.2\n GHC == 8.0.2\n GHC == 7.10.3\n GHC == 7.8.4\n\nextra-source-files:\n CHANGELOG.md\n\n\nsource-repository head\n type: git\n location: https://github.com/corsis/clock.git\n\n\nflag llvm\n description: compile via LLVM\n default : False\n\n\nlibrary\n build-depends: base >= 4.7 && < 5\n\n exposed-modules: System.Clock\n System.Clock.Seconds\n\n default-language: Haskell2010\n default-extensions: DeriveGeneric\n DeriveDataTypeable\n ForeignFunctionInterface\n ScopedTypeVariables\n ViewPatterns\n GeneralizedNewtypeDeriving\n if os(windows)\n c-sources: cbits/hs_clock_win32.c\n include-dirs: cbits\n ghc-options: -O3 -Wall\n\n if flag(llvm)\n ghc-options: -fllvm -optlo-O3\n\n\ntest-suite test\n default-language: Haskell2010\n default-extensions: ScopedTypeVariables\n GeneralizedNewtypeDeriving\n StandaloneDeriving\n type:\n exitcode-stdio-1.0\n hs-source-dirs:\n tests\n main-is:\n test.hs\n build-depends:\n base\n , tasty >= 0.10\n , tasty-quickcheck\n , clock\n\nbenchmark benchmarks\n default-language: Haskell2010\n type:\n exitcode-stdio-1.0\n hs-source-dirs:\n bench\n main-is:\n benchmarks.hs\n build-depends:\n base\n , criterion\n , clock\n"; + } \ No newline at end of file diff --git a/materialized/ghc964/hadrian-ghc964/hadrian/cabal-files/extra.nix b/materialized/ghc964/hadrian-ghc964/hadrian/cabal-files/extra.nix new file mode 100644 index 0000000000..41668cf6bc --- /dev/null +++ b/materialized/ghc964/hadrian-ghc964/hadrian/cabal-files/extra.nix @@ -0,0 +1,58 @@ +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: + ({ + flags = {}; + package = { + specVersion = "1.18"; + identifier = { name = "extra"; version = "1.7.14"; }; + license = "BSD-3-Clause"; + copyright = "Neil Mitchell 2014-2023"; + maintainer = "Neil Mitchell "; + author = "Neil Mitchell "; + homepage = "https://github.com/ndmitchell/extra#readme"; + url = ""; + synopsis = "Extra functions I use."; + description = "A library of extra functions for the standard Haskell libraries. Most functions are simple additions, filling out missing functionality. A few functions are available in later versions of GHC, but this package makes them available back to GHC 7.2.\n\nThe module \"Extra\" documents all functions provided by this library. Modules such as \"Data.List.Extra\" provide extra functions over \"Data.List\" and also reexport \"Data.List\". Users are recommended to replace \"Data.List\" imports with \"Data.List.Extra\" if they need the extra functionality."; + buildType = "Simple"; + }; + components = { + "library" = { + depends = [ + (hsPkgs."base" or (errorHandler.buildDepError "base")) + (hsPkgs."directory" or (errorHandler.buildDepError "directory")) + (hsPkgs."filepath" or (errorHandler.buildDepError "filepath")) + (hsPkgs."process" or (errorHandler.buildDepError "process")) + (hsPkgs."clock" or (errorHandler.buildDepError "clock")) + (hsPkgs."time" or (errorHandler.buildDepError "time")) + ] ++ pkgs.lib.optional (!system.isWindows) (hsPkgs."unix" or (errorHandler.buildDepError "unix")); + buildable = true; + }; + tests = { + "extra-test" = { + depends = [ + (hsPkgs."base" or (errorHandler.buildDepError "base")) + (hsPkgs."directory" or (errorHandler.buildDepError "directory")) + (hsPkgs."filepath" or (errorHandler.buildDepError "filepath")) + (hsPkgs."extra" or (errorHandler.buildDepError "extra")) + (hsPkgs."QuickCheck" or (errorHandler.buildDepError "QuickCheck")) + (hsPkgs."quickcheck-instances" or (errorHandler.buildDepError "quickcheck-instances")) + ] ++ pkgs.lib.optional (!system.isWindows) (hsPkgs."unix" or (errorHandler.buildDepError "unix")); + buildable = true; + }; + }; + }; + } // { + src = pkgs.lib.mkDefault (pkgs.fetchurl { + url = "http://hackage.haskell.org/package/extra-1.7.14.tar.gz"; + sha256 = "b6a909f8f0e4b8076a1653b4d34815a782f0a8c1e83d5267f4d00496471ef567"; + }); + }) // { + package-description-override = "cabal-version: 1.18\nbuild-type: Simple\nname: extra\nversion: 1.7.14\nlicense: BSD3\nlicense-file: LICENSE\ncategory: Development\nauthor: Neil Mitchell \nmaintainer: Neil Mitchell \ncopyright: Neil Mitchell 2014-2023\nsynopsis: Extra functions I use.\ndescription:\n A library of extra functions for the standard Haskell libraries. Most functions are simple additions, filling out missing functionality. A few functions are available in later versions of GHC, but this package makes them available back to GHC 7.2.\n .\n The module \"Extra\" documents all functions provided by this library. Modules such as \"Data.List.Extra\" provide extra functions over \"Data.List\" and also reexport \"Data.List\". Users are recommended to replace \"Data.List\" imports with \"Data.List.Extra\" if they need the extra functionality.\nhomepage: https://github.com/ndmitchell/extra#readme\nbug-reports: https://github.com/ndmitchell/extra/issues\ntested-with: GHC==9.6, GHC==9.4, GHC==9.2, GHC==9.0, GHC==8.10, GHC==8.8\n\nextra-doc-files:\n CHANGES.txt\n README.md\nextra-source-files:\n Generate.hs\n\nsource-repository head\n type: git\n location: https://github.com/ndmitchell/extra.git\n\nlibrary\n default-language: Haskell2010\n hs-source-dirs: src\n build-depends:\n base >= 4.9 && < 5,\n directory,\n filepath,\n process,\n clock >= 0.7,\n time\n if !os(windows)\n build-depends: unix\n\n other-modules:\n Partial\n exposed-modules:\n Extra\n Control.Concurrent.Extra\n Control.Exception.Extra\n Control.Monad.Extra\n Data.Foldable.Extra\n Data.Either.Extra\n Data.IORef.Extra\n Data.List.Extra\n Data.List.NonEmpty.Extra\n Data.Monoid.Extra\n Data.Tuple.Extra\n Data.Typeable.Extra\n Data.Version.Extra\n Numeric.Extra\n System.Directory.Extra\n System.Environment.Extra\n System.Info.Extra\n System.IO.Extra\n System.Process.Extra\n System.Time.Extra\n Text.Read.Extra\n\ntest-suite extra-test\n type: exitcode-stdio-1.0\n default-language: Haskell2010\n build-depends:\n base == 4.*,\n directory,\n filepath,\n extra,\n QuickCheck >= 2.10,\n quickcheck-instances >= 0.3.17\n if !os(windows)\n build-depends: unix\n hs-source-dirs: test\n ghc-options: -main-is Test -threaded \"-with-rtsopts=-N4 -K1K\"\n main-is: Test.hs\n other-modules:\n TestCustom\n TestGen\n TestUtil\n"; + } \ No newline at end of file diff --git a/materialized/ghc964/hadrian-ghc964/hadrian/cabal-files/filepattern.nix b/materialized/ghc964/hadrian-ghc964/hadrian/cabal-files/filepattern.nix new file mode 100644 index 0000000000..385c502003 --- /dev/null +++ b/materialized/ghc964/hadrian-ghc964/hadrian/cabal-files/filepattern.nix @@ -0,0 +1,56 @@ +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: + ({ + flags = {}; + package = { + specVersion = "1.18"; + identifier = { name = "filepattern"; version = "0.1.3"; }; + license = "BSD-3-Clause"; + copyright = "Neil Mitchell 2011-2022"; + maintainer = "Neil Mitchell "; + author = "Neil Mitchell , Evan Rutledge Borden "; + homepage = "https://github.com/ndmitchell/filepattern#readme"; + url = ""; + synopsis = "File path glob-like matching"; + description = "A library for matching files using patterns such as @\\\"src\\/**\\/*.png\\\"@ for all @.png@ files\nrecursively under the @src@ directory. Features:\n\n* All matching is /O(n)/. Most functions precompute some information given only one argument.\n\n* See \"System.FilePattern\" and @?==@ simple matching and semantics.\n\n* Use @match@ and @substitute@ to extract suitable\nstrings from the @*@ and @**@ matches, and substitute them back into other patterns.\n\n* Use @step@ and @matchMany@ to perform bulk matching\nof many patterns against many paths simultaneously.\n\n* Use \"System.FilePattern.Directory\" to perform optimised directory traverals using patterns.\n\nOriginally taken from the ."; + buildType = "Simple"; + }; + components = { + "library" = { + depends = [ + (hsPkgs."base" or (errorHandler.buildDepError "base")) + (hsPkgs."directory" or (errorHandler.buildDepError "directory")) + (hsPkgs."extra" or (errorHandler.buildDepError "extra")) + (hsPkgs."filepath" or (errorHandler.buildDepError "filepath")) + ]; + buildable = true; + }; + tests = { + "filepattern-test" = { + depends = [ + (hsPkgs."base" or (errorHandler.buildDepError "base")) + (hsPkgs."directory" or (errorHandler.buildDepError "directory")) + (hsPkgs."extra" or (errorHandler.buildDepError "extra")) + (hsPkgs."filepattern" or (errorHandler.buildDepError "filepattern")) + (hsPkgs."filepath" or (errorHandler.buildDepError "filepath")) + (hsPkgs."QuickCheck" or (errorHandler.buildDepError "QuickCheck")) + ]; + buildable = true; + }; + }; + }; + } // { + src = pkgs.lib.mkDefault (pkgs.fetchurl { + url = "http://hackage.haskell.org/package/filepattern-0.1.3.tar.gz"; + sha256 = "cc445d439ea2f65cac7604d3578aa2c3a62e5a91dc989f4ce5b3390db9e59636"; + }); + }) // { + package-description-override = "cabal-version: 1.18\nbuild-type: Simple\nname: filepattern\nversion: 0.1.3\nlicense: BSD3\nlicense-file: LICENSE\ncategory: Development, FilePath\nauthor: Neil Mitchell , Evan Rutledge Borden \nmaintainer: Neil Mitchell \ncopyright: Neil Mitchell 2011-2022\nsynopsis: File path glob-like matching\ndescription:\n A library for matching files using patterns such as @\\\"src\\/**\\/*.png\\\"@ for all @.png@ files\n recursively under the @src@ directory. Features:\n .\n * All matching is /O(n)/. Most functions precompute some information given only one argument.\n .\n * See \"System.FilePattern\" and @?==@ simple matching and semantics.\n .\n * Use @match@ and @substitute@ to extract suitable\n strings from the @*@ and @**@ matches, and substitute them back into other patterns.\n .\n * Use @step@ and @matchMany@ to perform bulk matching\n of many patterns against many paths simultaneously.\n .\n * Use \"System.FilePattern.Directory\" to perform optimised directory traverals using patterns.\n .\n Originally taken from the .\nhomepage: https://github.com/ndmitchell/filepattern#readme\nbug-reports: https://github.com/ndmitchell/filepattern/issues\ntested-with: GHC==9.0, GHC==8.10, GHC==8.8, GHC==8.6, GHC==8.4, GHC==8.2, GHC==8.0\nextra-doc-files:\n CHANGES.txt\n README.md\n\nsource-repository head\n type: git\n location: https://github.com/ndmitchell/filepattern.git\n\nlibrary\n default-language: Haskell2010\n hs-source-dirs: src\n build-depends:\n base == 4.*,\n directory,\n extra >= 1.6.2,\n filepath\n exposed-modules:\n System.FilePattern\n System.FilePattern.Directory\n other-modules:\n System.FilePattern.Core\n System.FilePattern.ListBy\n System.FilePattern.Monads\n System.FilePattern.Step\n System.FilePattern.Tree\n System.FilePattern.Wildcard\n\n\ntest-suite filepattern-test\n default-language: Haskell2010\n type: exitcode-stdio-1.0\n main-is: Test.hs\n hs-source-dirs: test\n build-depends:\n base == 4.*,\n directory,\n extra,\n filepattern,\n filepath,\n QuickCheck >= 2.0\n other-modules:\n Test.Cases\n Test.Util\n"; + } \ No newline at end of file diff --git a/materialized/ghc964/hadrian-ghc964/hadrian/cabal-files/hashable.nix b/materialized/ghc964/hadrian-ghc964/hadrian/cabal-files/hashable.nix new file mode 100644 index 0000000000..4b125fa0bc --- /dev/null +++ b/materialized/ghc964/hadrian-ghc964/hadrian/cabal-files/hashable.nix @@ -0,0 +1,82 @@ +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: + ({ + flags = { integer-gmp = true; random-initial-seed = false; }; + package = { + specVersion = "1.12"; + identifier = { name = "hashable"; version = "1.4.3.0"; }; + license = "BSD-3-Clause"; + copyright = ""; + maintainer = "Oleg Grenrus "; + author = "Milan Straka \nJohan Tibell "; + homepage = "http://github.com/haskell-unordered-containers/hashable"; + url = ""; + synopsis = "A class for types that can be converted to a hash value"; + description = "This package defines a class, 'Hashable', for types that\ncan be converted to a hash value. This class\nexists for the benefit of hashing-based data\nstructures. The package provides instances for\nbasic types and a way to combine hash values.\n\nThe 'Hashable' 'hash' values are not guaranteed to be stable across library versions, operating systems or architectures. For stable hashing use named hashes: SHA256, CRC32 etc."; + buildType = "Simple"; + }; + components = { + "library" = { + depends = (([ + (hsPkgs."base" or (errorHandler.buildDepError "base")) + (hsPkgs."bytestring" or (errorHandler.buildDepError "bytestring")) + (hsPkgs."containers" or (errorHandler.buildDepError "containers")) + (hsPkgs."deepseq" or (errorHandler.buildDepError "deepseq")) + (hsPkgs."filepath" or (errorHandler.buildDepError "filepath")) + (hsPkgs."ghc-prim" or (errorHandler.buildDepError "ghc-prim")) + (hsPkgs."text" or (errorHandler.buildDepError "text")) + ] ++ pkgs.lib.optional (!(compiler.isGhc && compiler.version.ge "9.2")) (hsPkgs."base-orphans" or (errorHandler.buildDepError "base-orphans"))) ++ pkgs.lib.optional (!(compiler.isGhc && compiler.version.ge "9.4")) (hsPkgs."data-array-byte" or (errorHandler.buildDepError "data-array-byte"))) ++ (if compiler.isGhc && compiler.version.ge "9" + then [ + (hsPkgs."ghc-bignum" or (errorHandler.buildDepError "ghc-bignum")) + ] ++ pkgs.lib.optional (!(compiler.isGhc && compiler.version.ge "9.0.2")) (hsPkgs."ghc-bignum-orphans" or (errorHandler.buildDepError "ghc-bignum-orphans")) + else if flags.integer-gmp + then [ + (hsPkgs."integer-gmp" or (errorHandler.buildDepError "integer-gmp")) + ] + else [ + (hsPkgs."integer-simple" or (errorHandler.buildDepError "integer-simple")) + ]); + buildable = true; + }; + tests = { + "hashable-tests" = { + depends = [ + (hsPkgs."base" or (errorHandler.buildDepError "base")) + (hsPkgs."bytestring" or (errorHandler.buildDepError "bytestring")) + (hsPkgs."ghc-prim" or (errorHandler.buildDepError "ghc-prim")) + (hsPkgs."hashable" or (errorHandler.buildDepError "hashable")) + (hsPkgs."HUnit" or (errorHandler.buildDepError "HUnit")) + (hsPkgs."QuickCheck" or (errorHandler.buildDepError "QuickCheck")) + (hsPkgs."random" or (errorHandler.buildDepError "random")) + (hsPkgs."test-framework" or (errorHandler.buildDepError "test-framework")) + (hsPkgs."test-framework-hunit" or (errorHandler.buildDepError "test-framework-hunit")) + (hsPkgs."test-framework-quickcheck2" or (errorHandler.buildDepError "test-framework-quickcheck2")) + (hsPkgs."text" or (errorHandler.buildDepError "text")) + ] ++ pkgs.lib.optional (!system.isWindows) (hsPkgs."unix" or (errorHandler.buildDepError "unix")); + buildable = true; + }; + "hashable-examples" = { + depends = [ + (hsPkgs."base" or (errorHandler.buildDepError "base")) + (hsPkgs."ghc-prim" or (errorHandler.buildDepError "ghc-prim")) + (hsPkgs."hashable" or (errorHandler.buildDepError "hashable")) + ]; + buildable = true; + }; + }; + }; + } // { + src = pkgs.lib.mkDefault (pkgs.fetchurl { + url = "http://hackage.haskell.org/package/hashable-1.4.3.0.tar.gz"; + sha256 = "32efb16c2891786209b7cbe5c39df9b3a9ae51e836f1a54f646bc4602b7ab0f5"; + }); + }) // { + package-description-override = "cabal-version: 1.12\nname: hashable\nversion: 1.4.3.0\nx-revision: 1\nsynopsis: A class for types that can be converted to a hash value\ndescription:\n This package defines a class, 'Hashable', for types that\n can be converted to a hash value. This class\n exists for the benefit of hashing-based data\n structures. The package provides instances for\n basic types and a way to combine hash values.\n .\n The 'Hashable' 'hash' values are not guaranteed to be stable across library versions, operating systems or architectures. For stable hashing use named hashes: SHA256, CRC32 etc.\n\nhomepage: http://github.com/haskell-unordered-containers/hashable\n\n-- SPDX-License-Identifier : BSD-3-Clause\nlicense: BSD3\nlicense-file: LICENSE\nauthor:\n Milan Straka \n Johan Tibell \n\nmaintainer: Oleg Grenrus \nbug-reports:\n https://github.com/haskell-unordered-containers/hashable/issues\n\nstability: Provisional\ncategory: Data\nbuild-type: Simple\ntested-with:\n GHC ==8.2.2\n || ==8.4.4\n || ==8.6.5\n || ==8.8.3\n || ==8.10.4\n || ==8.10.7\n || ==9.0.1\n || ==9.0.2\n || ==9.2.8\n || ==9.4.7\n || ==9.6.3\n || ==9.8.1\n\nextra-source-files:\n CHANGES.md\n include/HsHashable.h\n README.md\n\nflag integer-gmp\n description:\n Are we using @integer-gmp@ to provide fast Integer instances? No effect on GHC-9.0 or later.\n\n manual: False\n default: True\n\nflag random-initial-seed\n description:\n Randomly initialize the initial seed on each final executable invocation\n This is useful for catching cases when you rely on (non-existent)\n stability of hashable's hash functions.\n This is not a security feature.\n\n manual: True\n default: False\n\nlibrary\n exposed-modules:\n Data.Hashable\n Data.Hashable.Generic\n Data.Hashable.Lifted\n\n other-modules:\n Data.Hashable.Class\n Data.Hashable.Generic.Instances\n Data.Hashable.Imports\n Data.Hashable.LowLevel\n\n c-sources: cbits/fnv.c\n include-dirs: include\n hs-source-dirs: src\n build-depends:\n base >=4.10.1.0 && <4.20\n , bytestring >=0.10.8.2 && <0.13\n , containers >=0.5.10.2 && <0.7\n , deepseq >=1.4.3.0 && <1.6\n , filepath >=1.4.1.2 && <1.5\n , ghc-prim\n , text >=1.2.3.0 && <1.3 || >=2.0 && <2.2\n\n if !impl(ghc >=9.2)\n build-depends: base-orphans >=0.8.6 && <0.10\n\n if !impl(ghc >=9.4)\n build-depends: data-array-byte >=0.1.0.1 && <0.2\n\n -- Integer internals\n if impl(ghc >=9)\n build-depends: ghc-bignum >=1.0 && <1.4\n\n if !impl(ghc >=9.0.2)\n build-depends: ghc-bignum-orphans >=0.1 && <0.2\n\n else\n if flag(integer-gmp)\n build-depends: integer-gmp >=0.4 && <1.1\n\n else\n -- this is needed for the automatic flag to be well-balanced\n build-depends: integer-simple\n\n if (flag(random-initial-seed) && impl(ghc))\n cpp-options: -DHASHABLE_RANDOM_SEED=1\n\n if os(windows)\n c-sources: cbits-win/init.c\n\n else\n c-sources: cbits-unix/init.c\n\n default-language: Haskell2010\n other-extensions:\n BangPatterns\n CPP\n DeriveDataTypeable\n FlexibleContexts\n FlexibleInstances\n GADTs\n KindSignatures\n MagicHash\n MultiParamTypeClasses\n ScopedTypeVariables\n Trustworthy\n TypeOperators\n UnliftedFFITypes\n\n ghc-options: -Wall -fwarn-tabs\n\n if impl(ghc >=9.0)\n -- these flags may abort compilation with GHC-8.10\n -- https://gitlab.haskell.org/ghc/ghc/-/merge_requests/3295\n ghc-options: -Winferred-safe-imports -Wmissing-safe-haskell-mode\n\ntest-suite hashable-tests\n type: exitcode-stdio-1.0\n hs-source-dirs: tests\n main-is: Main.hs\n other-modules:\n Properties\n Regress\n\n build-depends:\n base\n , bytestring\n , ghc-prim\n , hashable\n , HUnit\n , QuickCheck >=2.4.0.1\n , random >=1.0 && <1.3\n , test-framework >=0.3.3\n , test-framework-hunit\n , test-framework-quickcheck2 >=0.2.9\n , text >=0.11.0.5\n\n if !os(windows)\n build-depends: unix\n cpp-options: -DHAVE_MMAP\n other-modules: Regress.Mmap\n other-extensions: CApiFFI\n\n ghc-options: -Wall -fno-warn-orphans\n default-language: Haskell2010\n\ntest-suite hashable-examples\n type: exitcode-stdio-1.0\n build-depends:\n base\n , ghc-prim\n , hashable\n\n hs-source-dirs: examples\n main-is: Main.hs\n default-language: Haskell2010\n\nsource-repository head\n type: git\n location:\n https://github.com/haskell-unordered-containers/hashable.git\n"; + } \ No newline at end of file diff --git a/materialized/ghc964/hadrian-ghc964/hadrian/cabal-files/heaps.nix b/materialized/ghc964/hadrian-ghc964/hadrian/cabal-files/heaps.nix new file mode 100644 index 0000000000..e759e305bf --- /dev/null +++ b/materialized/ghc964/hadrian-ghc964/hadrian/cabal-files/heaps.nix @@ -0,0 +1,38 @@ +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: + ({ + flags = {}; + package = { + specVersion = "1.10"; + identifier = { name = "heaps"; version = "0.4"; }; + license = "BSD-3-Clause"; + copyright = "(c) 2010-2015 Edward A. Kmett"; + maintainer = "Edward A. Kmett "; + author = "Edward A. Kmett"; + homepage = "http://github.com/ekmett/heaps/"; + url = ""; + synopsis = "Asymptotically optimal Brodal/Okasaki heaps."; + description = "Asymptotically optimal Brodal\\/Okasaki bootstrapped skew-binomial heaps from the paper , extended with a 'Foldable' interface."; + buildType = "Simple"; + }; + components = { + "library" = { + depends = [ (hsPkgs."base" or (errorHandler.buildDepError "base")) ]; + buildable = true; + }; + }; + } // { + src = pkgs.lib.mkDefault (pkgs.fetchurl { + url = "http://hackage.haskell.org/package/heaps-0.4.tar.gz"; + sha256 = "89329df8b95ae99ef272e41e7a2d0fe2f1bb7eacfcc34bc01664414b33067cfd"; + }); + }) // { + package-description-override = "name: heaps\nversion: 0.4\nlicense: BSD3\nlicense-file: LICENSE\nauthor: Edward A. Kmett\nmaintainer: Edward A. Kmett \nstability: experimental\nhomepage: http://github.com/ekmett/heaps/\nbug-reports: http://github.com/ekmett/heaps/issues\ncategory: Data Structures\nsynopsis: Asymptotically optimal Brodal/Okasaki heaps.\ndescription: Asymptotically optimal Brodal\\/Okasaki bootstrapped skew-binomial heaps from the paper , extended with a 'Foldable' interface.\ncopyright: (c) 2010-2015 Edward A. Kmett\ntested-with: GHC == 7.0.4\n , GHC == 7.2.2\n , GHC == 7.4.2\n , GHC == 7.6.3\n , GHC == 7.8.4\n , GHC == 7.10.3\n , GHC == 8.0.2\n , GHC == 8.2.2\n , GHC == 8.4.4\n , GHC == 8.6.5\n , GHC == 8.8.3\n , GHC == 8.10.1\nbuild-type: Simple\ncabal-version: >=1.10\nextra-source-files:\n .gitignore\n .hlint.yaml\n CHANGELOG.markdown\n README.markdown\n\nsource-repository head\n type: git\n location: git://github.com/ekmett/heaps.git\n\nlibrary\n exposed-modules: Data.Heap\n build-depends:\n base >= 4 && < 6\n hs-source-dirs: src\n ghc-options: -O2 -Wall\n default-language: Haskell2010\n"; + } \ No newline at end of file diff --git a/materialized/ghc964/hadrian-ghc964/hadrian/cabal-files/js-dgtable.nix b/materialized/ghc964/hadrian-ghc964/hadrian/cabal-files/js-dgtable.nix new file mode 100644 index 0000000000..40ea1148c6 --- /dev/null +++ b/materialized/ghc964/hadrian-ghc964/hadrian/cabal-files/js-dgtable.nix @@ -0,0 +1,47 @@ +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: + ({ + flags = {}; + package = { + specVersion = "1.18"; + identifier = { name = "js-dgtable"; version = "0.5.2"; }; + license = "MIT"; + copyright = "Neil Mitchell 2019"; + maintainer = "Neil Mitchell "; + author = "Neil Mitchell "; + homepage = "https://github.com/ndmitchell/js-dgtable#readme"; + url = ""; + synopsis = "Obtain minified jquery.dgtable code"; + description = "This package bundles the minified code into a Haskell package,\nso it can be depended upon by Cabal packages. The first three components of\nthe version number match the upstream jquery.dgtable version. The package is designed\nto meet the redistribution requirements of downstream users (e.g. Debian)."; + buildType = "Simple"; + }; + components = { + "library" = { + depends = [ (hsPkgs."base" or (errorHandler.buildDepError "base")) ]; + buildable = true; + }; + tests = { + "js-dgtable-test" = { + depends = [ + (hsPkgs."base" or (errorHandler.buildDepError "base")) + (hsPkgs."js-dgtable" or (errorHandler.buildDepError "js-dgtable")) + ]; + buildable = true; + }; + }; + }; + } // { + src = pkgs.lib.mkDefault (pkgs.fetchurl { + url = "http://hackage.haskell.org/package/js-dgtable-0.5.2.tar.gz"; + sha256 = "e28dd65bee8083b17210134e22e01c6349dc33c3b7bd17705973cd014e9f20ac"; + }); + }) // { + package-description-override = "cabal-version: >= 1.18\nbuild-type: Simple\nname: js-dgtable\nversion: 0.5.2\nlicense: MIT\nlicense-file: LICENSE\ncategory: Javascript\nauthor: Neil Mitchell \nmaintainer: Neil Mitchell \ncopyright: Neil Mitchell 2019\nsynopsis: Obtain minified jquery.dgtable code\ndescription:\n This package bundles the minified code into a Haskell package,\n so it can be depended upon by Cabal packages. The first three components of\n the version number match the upstream jquery.dgtable version. The package is designed\n to meet the redistribution requirements of downstream users (e.g. Debian).\nhomepage: https://github.com/ndmitchell/js-dgtable#readme\nbug-reports: https://github.com/ndmitchell/js-dgtable/issues\ntested-with: GHC==8.6.4, GHC==8.4.4, GHC==8.2.2, GHC==8.0.2, GHC==7.10.3\nextra-source-files:\n javascript/jquery.dgtable.js\nextra-doc-files:\n CHANGES.txt\n README.md\n\ndata-dir: javascript\ndata-files:\n jquery.dgtable.min.js\n\nsource-repository head\n type: git\n location: https://github.com/ndmitchell/js-dgtable.git\n\nlibrary\n default-language: Haskell2010\n hs-source-dirs: src\n build-depends:\n base == 4.*\n\n exposed-modules:\n Language.Javascript.DGTable\n\n other-modules:\n Paths_js_dgtable\n\ntest-suite js-dgtable-test\n default-language: Haskell2010\n type: exitcode-stdio-1.0\n main-is: src/Test.hs\n other-modules:\n Paths_js_dgtable\n build-depends:\n base == 4.*,\n js-dgtable\n"; + } \ No newline at end of file diff --git a/materialized/ghc964/hadrian-ghc964/hadrian/cabal-files/js-flot.nix b/materialized/ghc964/hadrian-ghc964/hadrian/cabal-files/js-flot.nix new file mode 100644 index 0000000000..67980dd7ba --- /dev/null +++ b/materialized/ghc964/hadrian-ghc964/hadrian/cabal-files/js-flot.nix @@ -0,0 +1,47 @@ +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: + ({ + flags = {}; + package = { + specVersion = "1.10"; + identifier = { name = "js-flot"; version = "0.8.3"; }; + license = "MIT"; + copyright = "Neil Mitchell 2014"; + maintainer = "Neil Mitchell "; + author = "Neil Mitchell "; + homepage = "https://github.com/ndmitchell/js-flot#readme"; + url = ""; + synopsis = "Obtain minified flot code"; + description = "This package bundles the minified code\n(a jQuery plotting library) into a Haskell package,\nso it can be depended upon by Cabal packages. The first three components of\nthe version number match the upstream flot version. The package is designed\nto meet the redistribution requirements of downstream users (e.g. Debian)."; + buildType = "Simple"; + }; + components = { + "library" = { + depends = [ (hsPkgs."base" or (errorHandler.buildDepError "base")) ]; + buildable = true; + }; + tests = { + "js-flot-test" = { + depends = [ + (hsPkgs."base" or (errorHandler.buildDepError "base")) + (hsPkgs."HTTP" or (errorHandler.buildDepError "HTTP")) + ]; + buildable = true; + }; + }; + }; + } // { + src = pkgs.lib.mkDefault (pkgs.fetchurl { + url = "http://hackage.haskell.org/package/js-flot-0.8.3.tar.gz"; + sha256 = "1ba2f2a6b8d85da76c41f526c98903cbb107f8642e506c072c1e7e3c20fe5e7a"; + }); + }) // { + package-description-override = "cabal-version: >= 1.10\nbuild-type: Simple\nname: js-flot\nversion: 0.8.3\nlicense: MIT\nlicense-file: LICENSE\ncategory: Javascript\nauthor: Neil Mitchell \nmaintainer: Neil Mitchell \ncopyright: Neil Mitchell 2014\nsynopsis: Obtain minified flot code\ndescription:\n This package bundles the minified code\n (a jQuery plotting library) into a Haskell package,\n so it can be depended upon by Cabal packages. The first three components of\n the version number match the upstream flot version. The package is designed\n to meet the redistribution requirements of downstream users (e.g. Debian).\nhomepage: https://github.com/ndmitchell/js-flot#readme\nbug-reports: https://github.com/ndmitchell/js-flot/issues\ntested-with: GHC==7.8.3, GHC==7.6.3, GHC==7.4.2, GHC==7.2.2\nextra-source-files:\n javascript/flot-0.8.3.zip\n CHANGES.txt\n README.md\n\ndata-dir: javascript\ndata-files:\n jquery.flot.min.js\n jquery.flot.canvas.min.js\n jquery.flot.categories.min.js\n jquery.flot.crosshair.min.js\n jquery.flot.errorbars.min.js\n jquery.flot.fillbetween.min.js\n jquery.flot.image.min.js\n jquery.flot.navigate.min.js\n jquery.flot.pie.min.js\n jquery.flot.resize.min.js\n jquery.flot.selection.min.js\n jquery.flot.stack.min.js\n jquery.flot.symbol.min.js\n jquery.flot.threshold.min.js\n jquery.flot.time.min.js\n\nsource-repository head\n type: git\n location: https://github.com/ndmitchell/js-flot.git\n\nlibrary\n default-language: Haskell2010\n build-depends:\n base == 4.*\n\n exposed-modules:\n Language.Javascript.Flot\n\n other-modules:\n Paths_js_flot\n\ntest-suite js-flot-test\n default-language: Haskell2010\n type: exitcode-stdio-1.0\n main-is: Test.hs\n build-depends:\n base == 4.*,\n HTTP\n"; + } \ No newline at end of file diff --git a/materialized/ghc964/hadrian-ghc964/hadrian/cabal-files/js-jquery.nix b/materialized/ghc964/hadrian-ghc964/hadrian/cabal-files/js-jquery.nix new file mode 100644 index 0000000000..05e54a25ab --- /dev/null +++ b/materialized/ghc964/hadrian-ghc964/hadrian/cabal-files/js-jquery.nix @@ -0,0 +1,48 @@ +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: + ({ + flags = {}; + package = { + specVersion = "1.18"; + identifier = { name = "js-jquery"; version = "3.3.1"; }; + license = "MIT"; + copyright = "Neil Mitchell 2014-2018"; + maintainer = "Neil Mitchell "; + author = "Neil Mitchell "; + homepage = "https://github.com/ndmitchell/js-jquery#readme"; + url = ""; + synopsis = "Obtain minified jQuery code"; + description = "This package bundles the minified code into a Haskell package,\nso it can be depended upon by Cabal packages. The first three components of\nthe version number match the upstream jQuery version. The package is designed\nto meet the redistribution requirements of downstream users (e.g. Debian)."; + buildType = "Simple"; + }; + components = { + "library" = { + depends = [ (hsPkgs."base" or (errorHandler.buildDepError "base")) ]; + buildable = true; + }; + tests = { + "js-jquery-test" = { + depends = [ + (hsPkgs."base" or (errorHandler.buildDepError "base")) + (hsPkgs."js-jquery" or (errorHandler.buildDepError "js-jquery")) + (hsPkgs."HTTP" or (errorHandler.buildDepError "HTTP")) + ]; + buildable = true; + }; + }; + }; + } // { + src = pkgs.lib.mkDefault (pkgs.fetchurl { + url = "http://hackage.haskell.org/package/js-jquery-3.3.1.tar.gz"; + sha256 = "e0e0681f0da1130ede4e03a051630ea439c458cb97216cdb01771ebdbe44069b"; + }); + }) // { + package-description-override = "cabal-version: >= 1.18\nbuild-type: Simple\nname: js-jquery\nversion: 3.3.1\nlicense: MIT\nlicense-file: LICENSE\ncategory: Javascript\nauthor: Neil Mitchell \nmaintainer: Neil Mitchell \ncopyright: Neil Mitchell 2014-2018\nsynopsis: Obtain minified jQuery code\ndescription:\n This package bundles the minified code into a Haskell package,\n so it can be depended upon by Cabal packages. The first three components of\n the version number match the upstream jQuery version. The package is designed\n to meet the redistribution requirements of downstream users (e.g. Debian).\nhomepage: https://github.com/ndmitchell/js-jquery#readme\nbug-reports: https://github.com/ndmitchell/js-jquery/issues\ntested-with: GHC==8.2.2, GHC==8.0.2, GHC==7.10.3, GHC==7.8.4, GHC==7.6.3, GHC==7.4.2\nextra-source-files:\n javascript/jquery-3.3.1.js\nextra-doc-files:\n CHANGES.txt\n README.md\n\ndata-dir: javascript\ndata-files:\n jquery-3.3.1.min.js\n\nsource-repository head\n type: git\n location: https://github.com/ndmitchell/js-jquery.git\n\nlibrary\n default-language: Haskell2010\n hs-source-dirs: src\n build-depends:\n base == 4.*\n\n exposed-modules:\n Language.Javascript.JQuery\n\n other-modules:\n Paths_js_jquery\n\ntest-suite js-jquery-test\n default-language: Haskell2010\n type: exitcode-stdio-1.0\n main-is: src/Test.hs\n other-modules:\n Paths_js_jquery\n build-depends:\n base == 4.*,\n js-jquery,\n HTTP\n"; + } \ No newline at end of file diff --git a/materialized/ghc964/hadrian-ghc964/hadrian/cabal-files/primitive.nix b/materialized/ghc964/hadrian-ghc964/hadrian/cabal-files/primitive.nix new file mode 100644 index 0000000000..b5683f2c83 --- /dev/null +++ b/materialized/ghc964/hadrian-ghc964/hadrian/cabal-files/primitive.nix @@ -0,0 +1,73 @@ +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: + ({ + flags = {}; + package = { + specVersion = "2.0"; + identifier = { name = "primitive"; version = "0.9.0.0"; }; + license = "BSD-3-Clause"; + copyright = "(c) Roman Leshchinskiy 2009-2012"; + maintainer = "libraries@haskell.org"; + author = "Roman Leshchinskiy "; + homepage = "https://github.com/haskell/primitive"; + url = ""; + synopsis = "Primitive memory-related operations"; + description = "This package provides various primitive memory-related operations."; + buildType = "Simple"; + }; + components = { + "library" = { + depends = [ + (hsPkgs."base" or (errorHandler.buildDepError "base")) + (hsPkgs."deepseq" or (errorHandler.buildDepError "deepseq")) + (hsPkgs."transformers" or (errorHandler.buildDepError "transformers")) + (hsPkgs."template-haskell" or (errorHandler.buildDepError "template-haskell")) + ] ++ pkgs.lib.optional (compiler.isGhc && compiler.version.lt "9.4") (hsPkgs."data-array-byte" or (errorHandler.buildDepError "data-array-byte")); + buildable = true; + }; + tests = { + "test-qc" = { + depends = [ + (hsPkgs."base" or (errorHandler.buildDepError "base")) + (hsPkgs."base-orphans" or (errorHandler.buildDepError "base-orphans")) + (hsPkgs."ghc-prim" or (errorHandler.buildDepError "ghc-prim")) + (hsPkgs."primitive" or (errorHandler.buildDepError "primitive")) + (hsPkgs."quickcheck-classes-base" or (errorHandler.buildDepError "quickcheck-classes-base")) + (hsPkgs."QuickCheck" or (errorHandler.buildDepError "QuickCheck")) + (hsPkgs."tasty" or (errorHandler.buildDepError "tasty")) + (hsPkgs."tasty-quickcheck" or (errorHandler.buildDepError "tasty-quickcheck")) + (hsPkgs."tagged" or (errorHandler.buildDepError "tagged")) + (hsPkgs."transformers" or (errorHandler.buildDepError "transformers")) + (hsPkgs."transformers-compat" or (errorHandler.buildDepError "transformers-compat")) + ]; + buildable = true; + }; + }; + benchmarks = { + "bench" = { + depends = [ + (hsPkgs."base" or (errorHandler.buildDepError "base")) + (hsPkgs."primitive" or (errorHandler.buildDepError "primitive")) + (hsPkgs."deepseq" or (errorHandler.buildDepError "deepseq")) + (hsPkgs."tasty-bench" or (errorHandler.buildDepError "tasty-bench")) + (hsPkgs."transformers" or (errorHandler.buildDepError "transformers")) + ]; + buildable = true; + }; + }; + }; + } // { + src = pkgs.lib.mkDefault (pkgs.fetchurl { + url = "http://hackage.haskell.org/package/primitive-0.9.0.0.tar.gz"; + sha256 = "696d4bd291c94d736142d6182117dca4258d3ef28bfefdb649ac8b5ecd0999c7"; + }); + }) // { + package-description-override = "Cabal-Version: 2.0\nName: primitive\nVersion: 0.9.0.0\nLicense: BSD3\nLicense-File: LICENSE\n\nAuthor: Roman Leshchinskiy \nMaintainer: libraries@haskell.org\nCopyright: (c) Roman Leshchinskiy 2009-2012\nHomepage: https://github.com/haskell/primitive\nBug-Reports: https://github.com/haskell/primitive/issues\nCategory: Data\nSynopsis: Primitive memory-related operations\nBuild-Type: Simple\nDescription: This package provides various primitive memory-related operations.\n\nExtra-Source-Files: changelog.md\n test/*.hs\n test/LICENSE\n\nTested-With:\n GHC == 8.0.2\n GHC == 8.2.2\n GHC == 8.4.4\n GHC == 8.6.5\n GHC == 8.8.4\n GHC == 8.10.7\n GHC == 9.0.2\n GHC == 9.2.5\n GHC == 9.4.4\n\nLibrary\n Default-Language: Haskell2010\n Default-Extensions:\n TypeOperators\n Other-Extensions:\n BangPatterns, CPP, DeriveDataTypeable,\n MagicHash, TypeFamilies, UnboxedTuples, UnliftedFFITypes\n\n Exposed-Modules:\n Control.Monad.Primitive\n Data.Primitive\n Data.Primitive.MachDeps\n Data.Primitive.Types\n Data.Primitive.Array\n Data.Primitive.ByteArray\n Data.Primitive.PrimArray\n Data.Primitive.SmallArray\n Data.Primitive.Ptr\n Data.Primitive.MutVar\n Data.Primitive.MVar\n Data.Primitive.PrimVar\n\n Other-Modules:\n Data.Primitive.Internal.Operations\n Data.Primitive.Internal.Read\n\n Build-Depends: base >= 4.9 && < 4.20\n , deepseq >= 1.1 && < 1.6\n , transformers >= 0.5 && < 0.7\n , template-haskell >= 2.11\n\n if impl(ghc >= 9.2)\n cpp-options: -DHAVE_KEEPALIVE\n\n if impl(ghc < 9.4)\n build-depends: data-array-byte >= 0.1 && < 0.1.1\n\n Ghc-Options: -O2\n\n Include-Dirs: cbits\n Install-Includes: primitive-memops.h\n includes: primitive-memops.h\n c-sources: cbits/primitive-memops.c\n if !os(solaris)\n cc-options: -ftree-vectorize\n if arch(i386) || arch(x86_64)\n cc-options: -msse2\n\ntest-suite test-qc\n Default-Language: Haskell2010\n hs-source-dirs: test\n test/src\n main-is: Main.hs\n Other-Modules: PrimLaws\n type: exitcode-stdio-1.0\n build-depends: base\n , base-orphans\n , ghc-prim\n , primitive\n , quickcheck-classes-base >= 0.6 && <0.7\n , QuickCheck >= 2.13 && < 2.15\n , tasty ^>= 1.2 || ^>= 1.3 || ^>= 1.4\n , tasty-quickcheck\n , tagged\n , transformers >= 0.5\n , transformers-compat\n\n cpp-options: -DHAVE_UNARY_LAWS\n ghc-options: -O2\n\nbenchmark bench\n Default-Language: Haskell2010\n hs-source-dirs: bench\n main-is: main.hs\n type: exitcode-stdio-1.0\n ghc-options: -O2\n other-modules:\n Array.Traverse.Closure\n Array.Traverse.Unsafe\n ByteArray.Compare\n PrimArray.Compare\n PrimArray.Traverse\n build-depends:\n base\n , primitive\n , deepseq\n , tasty-bench\n , transformers >= 0.5\n\nsource-repository head\n type: git\n location: https://github.com/haskell/primitive\n"; + } \ No newline at end of file diff --git a/materialized/ghc964/hadrian-ghc964/hadrian/cabal-files/random.nix b/materialized/ghc964/hadrian-ghc964/hadrian/cabal-files/random.nix new file mode 100644 index 0000000000..0dbaf8b099 --- /dev/null +++ b/materialized/ghc964/hadrian-ghc964/hadrian/cabal-files/random.nix @@ -0,0 +1,113 @@ +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: + ({ + flags = {}; + package = { + specVersion = "1.10"; + identifier = { name = "random"; version = "1.2.1.1"; }; + license = "BSD-3-Clause"; + copyright = ""; + maintainer = "core-libraries-committee@haskell.org"; + author = ""; + homepage = ""; + url = ""; + synopsis = "Pseudo-random number generation"; + description = "This package provides basic pseudo-random number generation, including the\nability to split random number generators.\n\n== \"System.Random\": pure pseudo-random number interface\n\nIn pure code, use 'System.Random.uniform' and 'System.Random.uniformR' from\n\"System.Random\" to generate pseudo-random numbers with a pure pseudo-random\nnumber generator like 'System.Random.StdGen'.\n\nAs an example, here is how you can simulate rolls of a six-sided die using\n'System.Random.uniformR':\n\n>>> let roll = uniformR (1, 6) :: RandomGen g => g -> (Word, g)\n>>> let rolls = unfoldr (Just . roll) :: RandomGen g => g -> [Word]\n>>> let pureGen = mkStdGen 42\n>>> take 10 (rolls pureGen) :: [Word]\n[1,1,3,2,4,5,3,4,6,2]\n\nSee \"System.Random\" for more details.\n\n== \"System.Random.Stateful\": monadic pseudo-random number interface\n\nIn monadic code, use 'System.Random.Stateful.uniformM' and\n'System.Random.Stateful.uniformRM' from \"System.Random.Stateful\" to generate\npseudo-random numbers with a monadic pseudo-random number generator, or\nusing a monadic adapter.\n\nAs an example, here is how you can simulate rolls of a six-sided die using\n'System.Random.Stateful.uniformRM':\n\n>>> let rollM = uniformRM (1, 6) :: StatefulGen g m => g -> m Word\n>>> let pureGen = mkStdGen 42\n>>> runStateGen_ pureGen (replicateM 10 . rollM) :: [Word]\n[1,1,3,2,4,5,3,4,6,2]\n\nThe monadic adapter 'System.Random.Stateful.runStateGen_' is used here to lift\nthe pure pseudo-random number generator @pureGen@ into the\n'System.Random.Stateful.StatefulGen' context.\n\nThe monadic interface can also be used with existing monadic pseudo-random\nnumber generators. In this example, we use the one provided in the\n package:\n\n>>> import System.Random.MWC as MWC\n>>> let rollM = uniformRM (1, 6) :: StatefulGen g m => g -> m Word\n>>> monadicGen <- MWC.create\n>>> replicateM 10 (rollM monadicGen) :: IO [Word]\n[2,3,6,6,4,4,3,1,5,4]\n\nSee \"System.Random.Stateful\" for more details."; + buildType = "Simple"; + }; + components = { + "library" = { + depends = [ + (hsPkgs."base" or (errorHandler.buildDepError "base")) + (hsPkgs."bytestring" or (errorHandler.buildDepError "bytestring")) + (hsPkgs."deepseq" or (errorHandler.buildDepError "deepseq")) + (hsPkgs."mtl" or (errorHandler.buildDepError "mtl")) + (hsPkgs."splitmix" or (errorHandler.buildDepError "splitmix")) + ] ++ pkgs.lib.optional (compiler.isGhc && compiler.version.lt "8.0") (hsPkgs."transformers" or (errorHandler.buildDepError "transformers")); + buildable = true; + }; + tests = { + "legacy-test" = { + depends = [ + (hsPkgs."base" or (errorHandler.buildDepError "base")) + (hsPkgs."containers" or (errorHandler.buildDepError "containers")) + (hsPkgs."random" or (errorHandler.buildDepError "random")) + ]; + buildable = true; + }; + "doctests" = { + depends = [ + (hsPkgs."base" or (errorHandler.buildDepError "base")) + (hsPkgs."doctest" or (errorHandler.buildDepError "doctest")) + ] ++ pkgs.lib.optionals (compiler.isGhc && compiler.version.ge "8.2" && (compiler.isGhc && compiler.version.lt "8.10")) [ + (hsPkgs."mwc-random" or (errorHandler.buildDepError "mwc-random")) + (hsPkgs."primitive" or (errorHandler.buildDepError "primitive")) + (hsPkgs."random" or (errorHandler.buildDepError "random")) + (hsPkgs."stm" or (errorHandler.buildDepError "stm")) + (hsPkgs."unliftio" or (errorHandler.buildDepError "unliftio")) + (hsPkgs."vector" or (errorHandler.buildDepError "vector")) + ]; + buildable = true; + }; + "spec" = { + depends = [ + (hsPkgs."base" or (errorHandler.buildDepError "base")) + (hsPkgs."bytestring" or (errorHandler.buildDepError "bytestring")) + (hsPkgs."random" or (errorHandler.buildDepError "random")) + (hsPkgs."smallcheck" or (errorHandler.buildDepError "smallcheck")) + (hsPkgs."stm" or (errorHandler.buildDepError "stm")) + (hsPkgs."tasty" or (errorHandler.buildDepError "tasty")) + (hsPkgs."tasty-smallcheck" or (errorHandler.buildDepError "tasty-smallcheck")) + (hsPkgs."tasty-hunit" or (errorHandler.buildDepError "tasty-hunit")) + (hsPkgs."transformers" or (errorHandler.buildDepError "transformers")) + ]; + buildable = true; + }; + "spec-inspection" = { + depends = [ + (hsPkgs."base" or (errorHandler.buildDepError "base")) + (hsPkgs."random" or (errorHandler.buildDepError "random")) + (hsPkgs."tasty" or (errorHandler.buildDepError "tasty")) + ] ++ pkgs.lib.optional (compiler.isGhc && compiler.version.ge "8.0") (hsPkgs."tasty-inspection-testing" or (errorHandler.buildDepError "tasty-inspection-testing")); + buildable = true; + }; + }; + benchmarks = { + "legacy-bench" = { + depends = [ + (hsPkgs."base" or (errorHandler.buildDepError "base")) + (hsPkgs."random" or (errorHandler.buildDepError "random")) + (hsPkgs."rdtsc" or (errorHandler.buildDepError "rdtsc")) + (hsPkgs."split" or (errorHandler.buildDepError "split")) + (hsPkgs."time" or (errorHandler.buildDepError "time")) + ]; + buildable = true; + }; + "bench" = { + depends = [ + (hsPkgs."base" or (errorHandler.buildDepError "base")) + (hsPkgs."mtl" or (errorHandler.buildDepError "mtl")) + (hsPkgs."primitive" or (errorHandler.buildDepError "primitive")) + (hsPkgs."random" or (errorHandler.buildDepError "random")) + (hsPkgs."splitmix" or (errorHandler.buildDepError "splitmix")) + (hsPkgs."tasty-bench" or (errorHandler.buildDepError "tasty-bench")) + ]; + buildable = true; + }; + }; + }; + } // { + src = pkgs.lib.mkDefault (pkgs.fetchurl { + url = "http://hackage.haskell.org/package/random-1.2.1.1.tar.gz"; + sha256 = "3e1272f7ed6a4d7bd1712b90143ec326fee9b225789222379fea20a9c90c9b76"; + }); + }) // { + package-description-override = "cabal-version: >=1.10\r\nname: random\r\nversion: 1.2.1.1\r\nx-revision: 1\r\nlicense: BSD3\r\nlicense-file: LICENSE\r\nmaintainer: core-libraries-committee@haskell.org\r\nbug-reports: https://github.com/haskell/random/issues\r\nsynopsis: Pseudo-random number generation\r\ndescription:\r\n This package provides basic pseudo-random number generation, including the\r\n ability to split random number generators.\r\n .\r\n == \"System.Random\": pure pseudo-random number interface\r\n .\r\n In pure code, use 'System.Random.uniform' and 'System.Random.uniformR' from\r\n \"System.Random\" to generate pseudo-random numbers with a pure pseudo-random\r\n number generator like 'System.Random.StdGen'.\r\n .\r\n As an example, here is how you can simulate rolls of a six-sided die using\r\n 'System.Random.uniformR':\r\n .\r\n >>> let roll = uniformR (1, 6) :: RandomGen g => g -> (Word, g)\r\n >>> let rolls = unfoldr (Just . roll) :: RandomGen g => g -> [Word]\r\n >>> let pureGen = mkStdGen 42\r\n >>> take 10 (rolls pureGen) :: [Word]\r\n [1,1,3,2,4,5,3,4,6,2]\r\n .\r\n See \"System.Random\" for more details.\r\n .\r\n == \"System.Random.Stateful\": monadic pseudo-random number interface\r\n .\r\n In monadic code, use 'System.Random.Stateful.uniformM' and\r\n 'System.Random.Stateful.uniformRM' from \"System.Random.Stateful\" to generate\r\n pseudo-random numbers with a monadic pseudo-random number generator, or\r\n using a monadic adapter.\r\n .\r\n As an example, here is how you can simulate rolls of a six-sided die using\r\n 'System.Random.Stateful.uniformRM':\r\n .\r\n >>> let rollM = uniformRM (1, 6) :: StatefulGen g m => g -> m Word\r\n >>> let pureGen = mkStdGen 42\r\n >>> runStateGen_ pureGen (replicateM 10 . rollM) :: [Word]\r\n [1,1,3,2,4,5,3,4,6,2]\r\n .\r\n The monadic adapter 'System.Random.Stateful.runStateGen_' is used here to lift\r\n the pure pseudo-random number generator @pureGen@ into the\r\n 'System.Random.Stateful.StatefulGen' context.\r\n .\r\n The monadic interface can also be used with existing monadic pseudo-random\r\n number generators. In this example, we use the one provided in the\r\n package:\r\n .\r\n >>> import System.Random.MWC as MWC\r\n >>> let rollM = uniformRM (1, 6) :: StatefulGen g m => g -> m Word\r\n >>> monadicGen <- MWC.create\r\n >>> replicateM 10 (rollM monadicGen) :: IO [Word]\r\n [2,3,6,6,4,4,3,1,5,4]\r\n .\r\n See \"System.Random.Stateful\" for more details.\r\n\r\ncategory: System\r\nbuild-type: Simple\r\nextra-source-files:\r\n README.md\r\n CHANGELOG.md\r\ntested-with: GHC == 7.10.2\r\n , GHC == 7.10.3\r\n , GHC == 8.0.2\r\n , GHC == 8.2.2\r\n , GHC == 8.4.3\r\n , GHC == 8.4.4\r\n , GHC == 8.6.3\r\n , GHC == 8.6.4\r\n , GHC == 8.6.5\r\n , GHC == 8.8.1\r\n , GHC == 8.8.2\r\n , GHC == 8.10.1\r\n\r\nsource-repository head\r\n type: git\r\n location: https://github.com/haskell/random.git\r\n\r\n\r\nlibrary\r\n exposed-modules:\r\n System.Random\r\n System.Random.Internal\r\n System.Random.Stateful\r\n other-modules:\r\n System.Random.GFinite\r\n\r\n hs-source-dirs: src\r\n default-language: Haskell2010\r\n ghc-options:\r\n -Wall\r\n if impl(ghc >= 8.0)\r\n ghc-options:\r\n -Wincomplete-record-updates -Wincomplete-uni-patterns\r\n\r\n build-depends:\r\n base >=4.8 && <5,\r\n bytestring >=0.10.4 && <0.13,\r\n deepseq >=1.1 && <2,\r\n mtl >=2.2 && <2.4,\r\n splitmix >=0.1 && <0.2\r\n if impl(ghc < 8.0)\r\n build-depends:\r\n transformers\r\n\r\ntest-suite legacy-test\r\n type: exitcode-stdio-1.0\r\n main-is: Legacy.hs\r\n hs-source-dirs: test-legacy\r\n other-modules:\r\n T7936\r\n TestRandomIOs\r\n TestRandomRs\r\n Random1283\r\n RangeTest\r\n\r\n default-language: Haskell2010\r\n ghc-options: -with-rtsopts=-M8M\r\n if impl(ghc >= 8.0)\r\n ghc-options:\r\n -Wno-deprecations\r\n build-depends:\r\n base,\r\n containers >=0.5 && <0.7,\r\n random\r\n\r\ntest-suite doctests\r\n type: exitcode-stdio-1.0\r\n main-is: doctests.hs\r\n hs-source-dirs: test\r\n default-language: Haskell2010\r\n build-depends:\r\n base,\r\n doctest >=0.15 && <0.21\r\n if impl(ghc >= 8.2) && impl(ghc < 8.10)\r\n build-depends:\r\n mwc-random >=0.13 && <0.16,\r\n primitive >=0.6 && <0.8,\r\n random,\r\n stm,\r\n unliftio >=0.2 && <0.3,\r\n vector >= 0.10 && <0.14\r\n\r\ntest-suite spec\r\n type: exitcode-stdio-1.0\r\n main-is: Spec.hs\r\n hs-source-dirs: test\r\n other-modules:\r\n Spec.Range\r\n Spec.Run\r\n Spec.Stateful\r\n\r\n default-language: Haskell2010\r\n ghc-options: -Wall\r\n build-depends:\r\n base,\r\n bytestring,\r\n random,\r\n smallcheck >=1.2 && <1.3,\r\n stm,\r\n tasty >=1.0 && <1.5,\r\n tasty-smallcheck >=0.8 && <0.9,\r\n tasty-hunit >=0.10 && <0.11,\r\n transformers\r\n\r\n-- Note. Fails when compiled with coverage:\r\n-- https://github.com/haskell/random/issues/107\r\ntest-suite spec-inspection\r\n type: exitcode-stdio-1.0\r\n main-is: Spec.hs\r\n hs-source-dirs: test-inspection\r\n build-depends:\r\n\r\n default-language: Haskell2010\r\n ghc-options: -Wall\r\n build-depends:\r\n base,\r\n random,\r\n tasty >=1.0 && <1.5\r\n if impl(ghc >= 8.0)\r\n build-depends:\r\n tasty-inspection-testing\r\n other-modules:\r\n Spec.Inspection\r\n\r\nbenchmark legacy-bench\r\n type: exitcode-stdio-1.0\r\n main-is: SimpleRNGBench.hs\r\n hs-source-dirs: bench-legacy\r\n other-modules: BinSearch\r\n default-language: Haskell2010\r\n ghc-options:\r\n -Wall -O2 -threaded -rtsopts -with-rtsopts=-N\r\n if impl(ghc >= 8.0)\r\n ghc-options:\r\n -Wno-deprecations\r\n\r\n build-depends:\r\n base,\r\n random,\r\n rdtsc,\r\n split >=0.2 && <0.3,\r\n time >=1.4 && <1.13\r\n\r\nbenchmark bench\r\n type: exitcode-stdio-1.0\r\n main-is: Main.hs\r\n hs-source-dirs: bench\r\n default-language: Haskell2010\r\n ghc-options: -Wall -O2\r\n build-depends:\r\n base,\r\n mtl,\r\n primitive >= 0.7.1,\r\n random,\r\n splitmix >=0.1 && <0.2,\r\n tasty-bench\r\n"; + } \ No newline at end of file diff --git a/materialized/ghc964/hadrian-ghc964/hadrian/cabal-files/shake.nix b/materialized/ghc964/hadrian-ghc964/hadrian/cabal-files/shake.nix new file mode 100644 index 0000000000..d40c2a8bbc --- /dev/null +++ b/materialized/ghc964/hadrian-ghc964/hadrian/cabal-files/shake.nix @@ -0,0 +1,132 @@ +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: + ({ + flags = { portable = false; cloud = false; embed-files = false; }; + package = { + specVersion = "1.18"; + identifier = { name = "shake"; version = "0.19.7"; }; + license = "BSD-3-Clause"; + copyright = "Neil Mitchell 2011-2022"; + maintainer = "Neil Mitchell "; + author = "Neil Mitchell "; + homepage = "https://shakebuild.com"; + url = ""; + synopsis = "Build system library, like Make, but more accurate dependencies."; + description = "Shake is a Haskell library for writing build systems - designed as a\nreplacement for @make@. See \"Development.Shake\" for an introduction,\nincluding an example. The homepage contains links to a user\nmanual, an academic paper and further information:\n\n\nTo use Shake the user writes a Haskell program\nthat imports \"Development.Shake\", defines some build rules, and calls\nthe 'Development.Shake.shakeArgs' function. Thanks to do notation and infix\noperators, a simple Shake build system\nis not too dissimilar from a simple Makefile. However, as build systems\nget more complex, Shake is able to take advantage of the excellent\nabstraction facilities offered by Haskell and easily support much larger\nprojects. The Shake library provides all the standard features available in other\nbuild systems, including automatic parallelism and minimal rebuilds.\nShake also provides more accurate dependency tracking, including seamless\nsupport for generated files, and dependencies on system information\n(e.g. compiler version)."; + buildType = "Simple"; + }; + components = { + "library" = { + depends = ((([ + (hsPkgs."base" or (errorHandler.buildDepError "base")) + (hsPkgs."binary" or (errorHandler.buildDepError "binary")) + (hsPkgs."bytestring" or (errorHandler.buildDepError "bytestring")) + (hsPkgs."deepseq" or (errorHandler.buildDepError "deepseq")) + (hsPkgs."directory" or (errorHandler.buildDepError "directory")) + (hsPkgs."extra" or (errorHandler.buildDepError "extra")) + (hsPkgs."filepath" or (errorHandler.buildDepError "filepath")) + (hsPkgs."filepattern" or (errorHandler.buildDepError "filepattern")) + (hsPkgs."hashable" or (errorHandler.buildDepError "hashable")) + (hsPkgs."heaps" or (errorHandler.buildDepError "heaps")) + (hsPkgs."js-dgtable" or (errorHandler.buildDepError "js-dgtable")) + (hsPkgs."js-flot" or (errorHandler.buildDepError "js-flot")) + (hsPkgs."js-jquery" or (errorHandler.buildDepError "js-jquery")) + (hsPkgs."primitive" or (errorHandler.buildDepError "primitive")) + (hsPkgs."process" or (errorHandler.buildDepError "process")) + (hsPkgs."random" or (errorHandler.buildDepError "random")) + (hsPkgs."time" or (errorHandler.buildDepError "time")) + (hsPkgs."transformers" or (errorHandler.buildDepError "transformers")) + (hsPkgs."unordered-containers" or (errorHandler.buildDepError "unordered-containers")) + (hsPkgs."utf8-string" or (errorHandler.buildDepError "utf8-string")) + ] ++ pkgs.lib.optionals (flags.embed-files) [ + (hsPkgs."file-embed" or (errorHandler.buildDepError "file-embed")) + (hsPkgs."template-haskell" or (errorHandler.buildDepError "template-haskell")) + ]) ++ pkgs.lib.optionals (!flags.portable) (pkgs.lib.optional (!system.isWindows) (hsPkgs."unix" or (errorHandler.buildDepError "unix")))) ++ pkgs.lib.optional (!system.isWindows) (hsPkgs."unix" or (errorHandler.buildDepError "unix"))) ++ pkgs.lib.optionals (flags.cloud) [ + (hsPkgs."network" or (errorHandler.buildDepError "network")) + (hsPkgs."network-uri" or (errorHandler.buildDepError "network-uri")) + ]; + buildable = true; + }; + exes = { + "shake" = { + depends = (((([ + (hsPkgs."base" or (errorHandler.buildDepError "base")) + (hsPkgs."binary" or (errorHandler.buildDepError "binary")) + (hsPkgs."bytestring" or (errorHandler.buildDepError "bytestring")) + (hsPkgs."deepseq" or (errorHandler.buildDepError "deepseq")) + (hsPkgs."directory" or (errorHandler.buildDepError "directory")) + (hsPkgs."extra" or (errorHandler.buildDepError "extra")) + (hsPkgs."filepath" or (errorHandler.buildDepError "filepath")) + (hsPkgs."filepattern" or (errorHandler.buildDepError "filepattern")) + (hsPkgs."hashable" or (errorHandler.buildDepError "hashable")) + (hsPkgs."heaps" or (errorHandler.buildDepError "heaps")) + (hsPkgs."js-dgtable" or (errorHandler.buildDepError "js-dgtable")) + (hsPkgs."js-flot" or (errorHandler.buildDepError "js-flot")) + (hsPkgs."js-jquery" or (errorHandler.buildDepError "js-jquery")) + (hsPkgs."primitive" or (errorHandler.buildDepError "primitive")) + (hsPkgs."process" or (errorHandler.buildDepError "process")) + (hsPkgs."random" or (errorHandler.buildDepError "random")) + (hsPkgs."time" or (errorHandler.buildDepError "time")) + (hsPkgs."transformers" or (errorHandler.buildDepError "transformers")) + (hsPkgs."unordered-containers" or (errorHandler.buildDepError "unordered-containers")) + (hsPkgs."utf8-string" or (errorHandler.buildDepError "utf8-string")) + ] ++ pkgs.lib.optionals (flags.embed-files) [ + (hsPkgs."file-embed" or (errorHandler.buildDepError "file-embed")) + (hsPkgs."template-haskell" or (errorHandler.buildDepError "template-haskell")) + ]) ++ pkgs.lib.optionals (!flags.portable) (pkgs.lib.optional (!system.isWindows) (hsPkgs."unix" or (errorHandler.buildDepError "unix")))) ++ pkgs.lib.optional (!system.isWindows) (hsPkgs."unix" or (errorHandler.buildDepError "unix"))) ++ pkgs.lib.optionals (flags.cloud) [ + (hsPkgs."network" or (errorHandler.buildDepError "network")) + (hsPkgs."network-uri" or (errorHandler.buildDepError "network-uri")) + ]) ++ pkgs.lib.optional (compiler.isGhc && compiler.version.lt "8.0") (hsPkgs."semigroups" or (errorHandler.buildDepError "semigroups")); + buildable = true; + }; + }; + tests = { + "shake-test" = { + depends = (((([ + (hsPkgs."base" or (errorHandler.buildDepError "base")) + (hsPkgs."binary" or (errorHandler.buildDepError "binary")) + (hsPkgs."bytestring" or (errorHandler.buildDepError "bytestring")) + (hsPkgs."deepseq" or (errorHandler.buildDepError "deepseq")) + (hsPkgs."directory" or (errorHandler.buildDepError "directory")) + (hsPkgs."extra" or (errorHandler.buildDepError "extra")) + (hsPkgs."filepath" or (errorHandler.buildDepError "filepath")) + (hsPkgs."filepattern" or (errorHandler.buildDepError "filepattern")) + (hsPkgs."hashable" or (errorHandler.buildDepError "hashable")) + (hsPkgs."heaps" or (errorHandler.buildDepError "heaps")) + (hsPkgs."js-dgtable" or (errorHandler.buildDepError "js-dgtable")) + (hsPkgs."js-flot" or (errorHandler.buildDepError "js-flot")) + (hsPkgs."js-jquery" or (errorHandler.buildDepError "js-jquery")) + (hsPkgs."primitive" or (errorHandler.buildDepError "primitive")) + (hsPkgs."process" or (errorHandler.buildDepError "process")) + (hsPkgs."QuickCheck" or (errorHandler.buildDepError "QuickCheck")) + (hsPkgs."random" or (errorHandler.buildDepError "random")) + (hsPkgs."time" or (errorHandler.buildDepError "time")) + (hsPkgs."transformers" or (errorHandler.buildDepError "transformers")) + (hsPkgs."unordered-containers" or (errorHandler.buildDepError "unordered-containers")) + (hsPkgs."utf8-string" or (errorHandler.buildDepError "utf8-string")) + ] ++ pkgs.lib.optionals (flags.embed-files) [ + (hsPkgs."file-embed" or (errorHandler.buildDepError "file-embed")) + (hsPkgs."template-haskell" or (errorHandler.buildDepError "template-haskell")) + ]) ++ pkgs.lib.optionals (!flags.portable) (pkgs.lib.optional (!system.isWindows) (hsPkgs."unix" or (errorHandler.buildDepError "unix")))) ++ pkgs.lib.optional (!system.isWindows) (hsPkgs."unix" or (errorHandler.buildDepError "unix"))) ++ pkgs.lib.optionals (flags.cloud) [ + (hsPkgs."network" or (errorHandler.buildDepError "network")) + (hsPkgs."network-uri" or (errorHandler.buildDepError "network-uri")) + ]) ++ pkgs.lib.optional (compiler.isGhc && compiler.version.lt "8.0") (hsPkgs."semigroups" or (errorHandler.buildDepError "semigroups")); + buildable = true; + }; + }; + }; + } // { + src = pkgs.lib.mkDefault (pkgs.fetchurl { + url = "http://hackage.haskell.org/package/shake-0.19.7.tar.gz"; + sha256 = "352a56af12f70b50d564dcb61131555577281957ee196f1702a3723c0a3699d1"; + }); + }) // { + package-description-override = "cabal-version: 1.18\nbuild-type: Simple\nname: shake\nversion: 0.19.7\nx-revision: 1\nlicense: BSD3\nlicense-file: LICENSE\ncategory: Development, Shake\nauthor: Neil Mitchell \nmaintainer: Neil Mitchell \ncopyright: Neil Mitchell 2011-2022\nsynopsis: Build system library, like Make, but more accurate dependencies.\ndescription:\n Shake is a Haskell library for writing build systems - designed as a\n replacement for @make@. See \"Development.Shake\" for an introduction,\n including an example. The homepage contains links to a user\n manual, an academic paper and further information:\n \n .\n To use Shake the user writes a Haskell program\n that imports \"Development.Shake\", defines some build rules, and calls\n the 'Development.Shake.shakeArgs' function. Thanks to do notation and infix\n operators, a simple Shake build system\n is not too dissimilar from a simple Makefile. However, as build systems\n get more complex, Shake is able to take advantage of the excellent\n abstraction facilities offered by Haskell and easily support much larger\n projects. The Shake library provides all the standard features available in other\n build systems, including automatic parallelism and minimal rebuilds.\n Shake also provides more accurate dependency tracking, including seamless\n support for generated files, and dependencies on system information\n (e.g. compiler version).\nhomepage: https://shakebuild.com\nbug-reports: https://github.com/ndmitchell/shake/issues\ntested-with: GHC==9.0, GHC==8.10, GHC==8.8, GHC==8.6\nextra-doc-files:\n CHANGES.txt\n README.md\n docs/Manual.md\n docs/shake-progress.png\nextra-source-files:\n src/Paths.hs\n src/Test/C/constants.c\n src/Test/C/constants.h\n src/Test/C/main.c\n src/Test/Ninja/*.ninja\n src/Test/Ninja/*.output\n src/Test/Ninja/subdir/*.ninja\n src/Test/Progress/*.prog\n src/Test/Tar/list.txt\n src/Test/Tup/hello.c\n src/Test/Tup/newmath/root.cfg\n src/Test/Tup/newmath/square.c\n src/Test/Tup/newmath/square.h\n src/Test/Tup/root.cfg\ndata-files:\n docs/manual/build.bat\n docs/manual/Shakefile.hs\n docs/manual/build.sh\n docs/manual/constants.c\n docs/manual/constants.h\n docs/manual/main.c\n html/profile.html\n html/progress.html\n html/shake.js\n\nsource-repository head\n type: git\n location: https://github.com/ndmitchell/shake.git\n\nflag portable\n default: False\n manual: True\n description: Obtain FileTime using portable functions\n\nflag cloud\n default: False\n manual: True\n description: Enable cloud build features\n\nflag embed-files\n default: False\n manual: True\n description: Embed data files into the shake library\n\nlibrary\n default-language: Haskell2010\n hs-source-dirs: src\n build-depends:\n base >= 4.9,\n binary,\n bytestring,\n deepseq >= 1.1,\n directory >= 1.2.7.0,\n extra >= 1.6.19,\n filepath >= 1.4,\n filepattern,\n hashable >= 1.1.2.3,\n heaps >= 0.3.6.1,\n js-dgtable,\n js-flot,\n js-jquery,\n primitive,\n process >= 1.1,\n random,\n time,\n transformers >= 0.2,\n unordered-containers >= 0.2.7,\n utf8-string >= 0.3\n\n if flag(embed-files)\n cpp-options: -DFILE_EMBED\n build-depends:\n file-embed >= 0.0.11,\n template-haskell\n\n if flag(portable)\n cpp-options: -DPORTABLE\n else\n if !os(windows)\n build-depends: unix >= 2.5.1\n if !os(windows)\n build-depends: unix\n\n if flag(cloud)\n cpp-options: -DNETWORK\n build-depends: network, network-uri\n\n exposed-modules:\n Development.Shake\n Development.Shake.Classes\n Development.Shake.Command\n Development.Shake.Config\n Development.Shake.Database\n Development.Shake.FilePath\n Development.Shake.Forward\n Development.Shake.Rule\n Development.Shake.Util\n\n other-modules:\n Development.Ninja.Env\n Development.Ninja.Lexer\n Development.Ninja.Parse\n Development.Ninja.Type\n Development.Shake.Internal.Args\n Development.Shake.Internal.CmdOption\n Development.Shake.Internal.CompactUI\n Development.Shake.Internal.Core.Action\n Development.Shake.Internal.Core.Build\n Development.Shake.Internal.Core.Database\n Development.Shake.Internal.History.Shared\n Development.Shake.Internal.History.Symlink\n Development.Shake.Internal.History.Bloom\n Development.Shake.Internal.History.Cloud\n Development.Shake.Internal.History.Network\n Development.Shake.Internal.History.Server\n Development.Shake.Internal.History.Serialise\n Development.Shake.Internal.History.Types\n Development.Shake.Internal.Core.Monad\n Development.Shake.Internal.Core.Pool\n Development.Shake.Internal.Core.Rules\n Development.Shake.Internal.Core.Run\n Development.Shake.Internal.Core.Storage\n Development.Shake.Internal.Core.Types\n Development.Shake.Internal.Demo\n Development.Shake.Internal.Derived\n Development.Shake.Internal.Errors\n Development.Shake.Internal.FileInfo\n Development.Shake.Internal.FileName\n Development.Shake.Internal.FilePattern\n Development.Shake.Internal.Options\n Development.Shake.Internal.Paths\n Development.Shake.Internal.Profile\n Development.Shake.Internal.Progress\n Development.Shake.Internal.Resource\n Development.Shake.Internal.Rules.Default\n Development.Shake.Internal.Rules.Directory\n Development.Shake.Internal.Rules.File\n Development.Shake.Internal.Rules.Files\n Development.Shake.Internal.Rules.Oracle\n Development.Shake.Internal.Rules.OrderOnly\n Development.Shake.Internal.Rules.Rerun\n Development.Shake.Internal.Value\n General.Bilist\n General.Binary\n General.Chunks\n General.Cleanup\n General.Fence\n General.EscCodes\n General.Extra\n General.FileLock\n General.GetOpt\n General.Ids\n General.Intern\n General.ListBuilder\n General.Makefile\n General.Pool\n General.Process\n General.Template\n General.Thread\n General.Timing\n General.TypeMap\n General.Wait\n Paths_shake\n\n\nexecutable shake\n default-language: Haskell2010\n hs-source-dirs: src\n ghc-options: -main-is Run.main -rtsopts -threaded \"-with-rtsopts=-I0 -qg\"\n main-is: Run.hs\n build-depends:\n base == 4.*,\n binary,\n bytestring,\n deepseq >= 1.1,\n directory,\n extra >= 1.6.19,\n filepath,\n filepattern,\n hashable >= 1.1.2.3,\n heaps >= 0.3.6.1,\n js-dgtable,\n js-flot,\n js-jquery,\n primitive,\n process >= 1.1,\n random,\n time,\n transformers >= 0.2,\n unordered-containers >= 0.2.7,\n utf8-string >= 0.3\n\n if flag(embed-files)\n cpp-options: -DFILE_EMBED\n build-depends:\n file-embed >= 0.0.11,\n template-haskell\n\n if flag(portable)\n cpp-options: -DPORTABLE\n else\n if !os(windows)\n build-depends: unix >= 2.5.1\n if !os(windows)\n build-depends: unix\n\n if flag(cloud)\n cpp-options: -DNETWORK\n build-depends: network, network-uri\n\n if impl(ghc < 8.0)\n build-depends: semigroups >= 0.18\n\n other-modules:\n Development.Ninja.All\n Development.Ninja.Env\n Development.Ninja.Lexer\n Development.Ninja.Parse\n Development.Ninja.Type\n Development.Shake\n Development.Shake.Classes\n Development.Shake.Command\n Development.Shake.Database\n Development.Shake.FilePath\n Development.Shake.Internal.Args\n Development.Shake.Internal.CmdOption\n Development.Shake.Internal.CompactUI\n Development.Shake.Internal.Core.Action\n Development.Shake.Internal.Core.Build\n Development.Shake.Internal.Core.Database\n Development.Shake.Internal.History.Shared\n Development.Shake.Internal.History.Symlink\n Development.Shake.Internal.History.Bloom\n Development.Shake.Internal.History.Cloud\n Development.Shake.Internal.History.Network\n Development.Shake.Internal.History.Server\n Development.Shake.Internal.History.Serialise\n Development.Shake.Internal.History.Types\n Development.Shake.Internal.Core.Monad\n Development.Shake.Internal.Core.Pool\n Development.Shake.Internal.Core.Rules\n Development.Shake.Internal.Core.Run\n Development.Shake.Internal.Core.Storage\n Development.Shake.Internal.Core.Types\n Development.Shake.Internal.Demo\n Development.Shake.Internal.Derived\n Development.Shake.Internal.Errors\n Development.Shake.Internal.FileInfo\n Development.Shake.Internal.FileName\n Development.Shake.Internal.FilePattern\n Development.Shake.Internal.Options\n Development.Shake.Internal.Paths\n Development.Shake.Internal.Profile\n Development.Shake.Internal.Progress\n Development.Shake.Internal.Resource\n Development.Shake.Internal.Rules.Default\n Development.Shake.Internal.Rules.Directory\n Development.Shake.Internal.Rules.File\n Development.Shake.Internal.Rules.Files\n Development.Shake.Internal.Rules.Oracle\n Development.Shake.Internal.Rules.OrderOnly\n Development.Shake.Internal.Rules.Rerun\n Development.Shake.Internal.Value\n General.Bilist\n General.Binary\n General.Chunks\n General.Cleanup\n General.Fence\n General.EscCodes\n General.Extra\n General.FileLock\n General.GetOpt\n General.Ids\n General.Intern\n General.ListBuilder\n General.Makefile\n General.Pool\n General.Process\n General.Template\n General.Thread\n General.Timing\n General.TypeMap\n General.Wait\n Paths_shake\n\n\ntest-suite shake-test\n default-language: Haskell2010\n type: exitcode-stdio-1.0\n main-is: Test.hs\n hs-source-dirs: src\n ghc-options: -main-is Test.main -rtsopts -with-rtsopts=-K1K -threaded\n\n build-depends:\n base == 4.*,\n binary,\n bytestring,\n deepseq >= 1.1,\n directory,\n extra >= 1.6.19,\n filepath,\n filepattern,\n hashable >= 1.1.2.3,\n heaps >= 0.3.6.1,\n js-dgtable,\n js-flot,\n js-jquery,\n primitive,\n process >= 1.1,\n QuickCheck >= 2.0,\n random,\n time,\n transformers >= 0.2,\n unordered-containers >= 0.2.7,\n utf8-string >= 0.3\n\n if flag(embed-files)\n cpp-options: -DFILE_EMBED\n build-depends:\n file-embed >= 0.0.11,\n template-haskell\n\n if flag(portable)\n cpp-options: -DPORTABLE\n else\n if !os(windows)\n build-depends: unix >= 2.5.1\n if !os(windows)\n build-depends: unix\n\n if flag(cloud)\n cpp-options: -DNETWORK\n build-depends: network, network-uri\n\n if impl(ghc < 8.0)\n build-depends: semigroups >= 0.18\n\n other-modules:\n Development.Ninja.All\n Development.Ninja.Env\n Development.Ninja.Lexer\n Development.Ninja.Parse\n Development.Ninja.Type\n Development.Shake\n Development.Shake.Classes\n Development.Shake.Command\n Development.Shake.Config\n Development.Shake.Database\n Development.Shake.FilePath\n Development.Shake.Forward\n Development.Shake.Internal.Args\n Development.Shake.Internal.CmdOption\n Development.Shake.Internal.CompactUI\n Development.Shake.Internal.Core.Action\n Development.Shake.Internal.Core.Build\n Development.Shake.Internal.Core.Database\n Development.Shake.Internal.History.Shared\n Development.Shake.Internal.History.Symlink\n Development.Shake.Internal.History.Bloom\n Development.Shake.Internal.History.Cloud\n Development.Shake.Internal.History.Network\n Development.Shake.Internal.History.Server\n Development.Shake.Internal.History.Serialise\n Development.Shake.Internal.History.Types\n Development.Shake.Internal.Core.Monad\n Development.Shake.Internal.Core.Pool\n Development.Shake.Internal.Core.Rules\n Development.Shake.Internal.Core.Run\n Development.Shake.Internal.Core.Storage\n Development.Shake.Internal.Core.Types\n Development.Shake.Internal.Demo\n Development.Shake.Internal.Derived\n Development.Shake.Internal.Errors\n Development.Shake.Internal.FileInfo\n Development.Shake.Internal.FileName\n Development.Shake.Internal.FilePattern\n Development.Shake.Internal.Options\n Development.Shake.Internal.Paths\n Development.Shake.Internal.Profile\n Development.Shake.Internal.Progress\n Development.Shake.Internal.Resource\n Development.Shake.Internal.Rules.Default\n Development.Shake.Internal.Rules.Directory\n Development.Shake.Internal.Rules.File\n Development.Shake.Internal.Rules.Files\n Development.Shake.Internal.Rules.Oracle\n Development.Shake.Internal.Rules.OrderOnly\n Development.Shake.Internal.Rules.Rerun\n Development.Shake.Internal.Value\n Development.Shake.Rule\n Development.Shake.Util\n General.Bilist\n General.Binary\n General.Chunks\n General.Cleanup\n General.Fence\n General.EscCodes\n General.Extra\n General.FileLock\n General.GetOpt\n General.Ids\n General.Intern\n General.ListBuilder\n General.Makefile\n General.Pool\n General.Process\n General.Template\n General.Thread\n General.Timing\n General.TypeMap\n General.Wait\n Paths_shake\n Run\n Test.Basic\n Test.Batch\n Test.Benchmark\n Test.Builtin\n Test.BuiltinOverride\n Test.C\n Test.Cache\n Test.Cleanup\n Test.CloseFileHandles\n Test.Command\n Test.Config\n Test.Database\n Test.Digest\n Test.Directory\n Test.Docs\n Test.Errors\n Test.Existence\n Test.FileLock\n Test.FilePath\n Test.FilePattern\n Test.Files\n Test.Forward\n Test.History\n Test.Journal\n Test.Lint\n Test.Live\n Test.Manual\n Test.Match\n Test.Monad\n Test.Ninja\n Test.Oracle\n Test.OrderOnly\n Test.Parallel\n Test.Pool\n Test.Progress\n Test.Random\n Test.Rebuild\n Test.Reschedule\n Test.Resources\n Test.Self\n Test.SelfMake\n Test.Tar\n Test.Targets\n Test.Thread\n Test.Tup\n Test.Type\n Test.Unicode\n Test.Util\n Test.Verbosity\n Test.Version\n"; + } \ No newline at end of file diff --git a/materialized/ghc964/hadrian-ghc964/hadrian/cabal-files/splitmix.nix b/materialized/ghc964/hadrian-ghc964/hadrian/cabal-files/splitmix.nix new file mode 100644 index 0000000000..aa0dd88d31 --- /dev/null +++ b/materialized/ghc964/hadrian-ghc964/hadrian/cabal-files/splitmix.nix @@ -0,0 +1,139 @@ +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: + ({ + flags = { optimised-mixer = false; }; + package = { + specVersion = "1.10"; + identifier = { name = "splitmix"; version = "0.1.0.5"; }; + license = "BSD-3-Clause"; + copyright = ""; + maintainer = "Oleg Grenrus "; + author = ""; + homepage = ""; + url = ""; + synopsis = "Fast Splittable PRNG"; + description = "Pure Haskell implementation of SplitMix described in\n\nGuy L. Steele, Jr., Doug Lea, and Christine H. Flood. 2014.\nFast splittable pseudorandom number generators. In Proceedings\nof the 2014 ACM International Conference on Object Oriented\nProgramming Systems Languages & Applications (OOPSLA '14). ACM,\nNew York, NY, USA, 453-472. DOI:\n\n\nThe paper describes a new algorithm /SplitMix/ for /splittable/\npseudorandom number generator that is quite fast: 9 64 bit arithmetic/logical\noperations per 64 bits generated.\n\n/SplitMix/ is tested with two standard statistical test suites (DieHarder and\nTestU01, this implementation only using the former) and it appears to be\nadequate for \"everyday\" use, such as Monte Carlo algorithms and randomized\ndata structures where speed is important.\n\nIn particular, it __should not be used for cryptographic or security applications__,\nbecause generated sequences of pseudorandom values are too predictable\n(the mixing functions are easily inverted, and two successive outputs\nsuffice to reconstruct the internal state)."; + buildType = "Simple"; + }; + components = { + "library" = { + depends = [ + (hsPkgs."base" or (errorHandler.buildDepError "base")) + (hsPkgs."deepseq" or (errorHandler.buildDepError "deepseq")) + ] ++ pkgs.lib.optionals (!(compiler.isGhcjs && true)) (pkgs.lib.optional (!(compiler.isGhc && true)) (hsPkgs."time" or (errorHandler.buildDepError "time"))); + buildable = true; + }; + tests = { + "examples" = { + depends = [ + (hsPkgs."base" or (errorHandler.buildDepError "base")) + (hsPkgs."HUnit" or (errorHandler.buildDepError "HUnit")) + (hsPkgs."splitmix" or (errorHandler.buildDepError "splitmix")) + ]; + buildable = true; + }; + "splitmix-tests" = { + depends = [ + (hsPkgs."base" or (errorHandler.buildDepError "base")) + (hsPkgs."base-compat" or (errorHandler.buildDepError "base-compat")) + (hsPkgs."containers" or (errorHandler.buildDepError "containers")) + (hsPkgs."HUnit" or (errorHandler.buildDepError "HUnit")) + (hsPkgs."math-functions" or (errorHandler.buildDepError "math-functions")) + (hsPkgs."splitmix" or (errorHandler.buildDepError "splitmix")) + (hsPkgs."test-framework" or (errorHandler.buildDepError "test-framework")) + (hsPkgs."test-framework-hunit" or (errorHandler.buildDepError "test-framework-hunit")) + ]; + buildable = true; + }; + "montecarlo-pi" = { + depends = [ + (hsPkgs."base" or (errorHandler.buildDepError "base")) + (hsPkgs."splitmix" or (errorHandler.buildDepError "splitmix")) + ]; + buildable = true; + }; + "montecarlo-pi-32" = { + depends = [ + (hsPkgs."base" or (errorHandler.buildDepError "base")) + (hsPkgs."splitmix" or (errorHandler.buildDepError "splitmix")) + ]; + buildable = true; + }; + "splitmix-dieharder" = { + depends = [ + (hsPkgs."async" or (errorHandler.buildDepError "async")) + (hsPkgs."base" or (errorHandler.buildDepError "base")) + (hsPkgs."base-compat-batteries" or (errorHandler.buildDepError "base-compat-batteries")) + (hsPkgs."bytestring" or (errorHandler.buildDepError "bytestring")) + (hsPkgs."deepseq" or (errorHandler.buildDepError "deepseq")) + (hsPkgs."process" or (errorHandler.buildDepError "process")) + (hsPkgs."random" or (errorHandler.buildDepError "random")) + (hsPkgs."splitmix" or (errorHandler.buildDepError "splitmix")) + (hsPkgs."tf-random" or (errorHandler.buildDepError "tf-random")) + (hsPkgs."vector" or (errorHandler.buildDepError "vector")) + ]; + buildable = true; + }; + "splitmix-testu01" = { + depends = [ + (hsPkgs."base" or (errorHandler.buildDepError "base")) + (hsPkgs."base-compat-batteries" or (errorHandler.buildDepError "base-compat-batteries")) + (hsPkgs."splitmix" or (errorHandler.buildDepError "splitmix")) + ]; + libs = [ (pkgs."testu01" or (errorHandler.sysDepError "testu01")) ]; + buildable = if !system.isLinux then false else true; + }; + "initialization" = { + depends = [ + (hsPkgs."base" or (errorHandler.buildDepError "base")) + (hsPkgs."HUnit" or (errorHandler.buildDepError "HUnit")) + (hsPkgs."splitmix" or (errorHandler.buildDepError "splitmix")) + ]; + buildable = true; + }; + }; + benchmarks = { + "comparison" = { + depends = [ + (hsPkgs."base" or (errorHandler.buildDepError "base")) + (hsPkgs."containers" or (errorHandler.buildDepError "containers")) + (hsPkgs."criterion" or (errorHandler.buildDepError "criterion")) + (hsPkgs."random" or (errorHandler.buildDepError "random")) + (hsPkgs."splitmix" or (errorHandler.buildDepError "splitmix")) + (hsPkgs."tf-random" or (errorHandler.buildDepError "tf-random")) + ]; + buildable = true; + }; + "simple-sum" = { + depends = [ + (hsPkgs."base" or (errorHandler.buildDepError "base")) + (hsPkgs."random" or (errorHandler.buildDepError "random")) + (hsPkgs."splitmix" or (errorHandler.buildDepError "splitmix")) + ]; + buildable = true; + }; + "range" = { + depends = [ + (hsPkgs."base" or (errorHandler.buildDepError "base")) + (hsPkgs."random" or (errorHandler.buildDepError "random")) + (hsPkgs."splitmix" or (errorHandler.buildDepError "splitmix")) + ] ++ pkgs.lib.optional (!(compiler.isGhcjs && true)) (hsPkgs."clock" or (errorHandler.buildDepError "clock")); + buildable = true; + }; + }; + }; + } // { + src = pkgs.lib.mkDefault (pkgs.fetchurl { + url = "http://hackage.haskell.org/package/splitmix-0.1.0.5.tar.gz"; + sha256 = "9df07a9611ef45f1b1258a0b412f4d02c920248f69d2e2ce8ccda328f7e13002"; + }); + }) // { + package-description-override = "cabal-version: >=1.10\nname: splitmix\nversion: 0.1.0.5\nsynopsis: Fast Splittable PRNG\ndescription:\n Pure Haskell implementation of SplitMix described in\n .\n Guy L. Steele, Jr., Doug Lea, and Christine H. Flood. 2014.\n Fast splittable pseudorandom number generators. In Proceedings\n of the 2014 ACM International Conference on Object Oriented\n Programming Systems Languages & Applications (OOPSLA '14). ACM,\n New York, NY, USA, 453-472. DOI:\n \n .\n The paper describes a new algorithm /SplitMix/ for /splittable/\n pseudorandom number generator that is quite fast: 9 64 bit arithmetic/logical\n operations per 64 bits generated.\n .\n /SplitMix/ is tested with two standard statistical test suites (DieHarder and\n TestU01, this implementation only using the former) and it appears to be\n adequate for \"everyday\" use, such as Monte Carlo algorithms and randomized\n data structures where speed is important.\n .\n In particular, it __should not be used for cryptographic or security applications__,\n because generated sequences of pseudorandom values are too predictable\n (the mixing functions are easily inverted, and two successive outputs\n suffice to reconstruct the internal state).\n\nlicense: BSD3\nlicense-file: LICENSE\nmaintainer: Oleg Grenrus \nbug-reports: https://github.com/haskellari/splitmix/issues\ncategory: System, Random\nbuild-type: Simple\ntested-with:\n GHC ==7.0.4\n || ==7.2.2\n || ==7.4.2\n || ==7.6.3\n || ==7.8.4\n || ==7.10.3\n || ==8.0.2\n || ==8.2.2\n || ==8.4.4\n || ==8.6.5\n || ==8.8.4\n || ==8.10.4\n || ==9.0.2\n || ==9.2.8\n || ==9.4.7\n || ==9.6.3\n || ==9.8.1\n , GHCJS ==8.4\n\nextra-source-files:\n Changelog.md\n make-hugs.sh\n README.md\n test-hugs.sh\n\nflag optimised-mixer\n description: Use JavaScript for mix32\n manual: True\n default: False\n\nlibrary\n default-language: Haskell2010\n ghc-options: -Wall\n hs-source-dirs: src src-compat\n exposed-modules:\n System.Random.SplitMix\n System.Random.SplitMix32\n\n other-modules:\n Data.Bits.Compat\n System.Random.SplitMix.Init\n\n -- dump-core\n -- build-depends: dump-core\n -- ghc-options: -fplugin=DumpCore -fplugin-opt DumpCore:core-html\n\n build-depends:\n base >=4.3 && <4.20\n , deepseq >=1.3.0.0 && <1.6\n\n if flag(optimised-mixer)\n cpp-options: -DOPTIMISED_MIX32=1\n\n -- We don't want to depend on time, nor unix or Win32 packages\n -- because it's valuable that splitmix and QuickCheck doesn't\n -- depend on about anything\n\n if impl(ghcjs)\n cpp-options: -DSPLITMIX_INIT_GHCJS=1\n\n else\n if impl(ghc)\n cpp-options: -DSPLITMIX_INIT_C=1\n\n if os(windows)\n c-sources: cbits-win/init.c\n\n else\n c-sources: cbits-unix/init.c\n\n else\n cpp-options: -DSPLITMIX_INIT_COMPAT=1\n build-depends: time >=1.2.0.3 && <1.13\n\nsource-repository head\n type: git\n location: https://github.com/haskellari/splitmix.git\n\nbenchmark comparison\n type: exitcode-stdio-1.0\n default-language: Haskell2010\n ghc-options: -Wall\n hs-source-dirs: bench\n main-is: Bench.hs\n build-depends:\n base\n , containers >=0.4.2.1 && <0.7\n , criterion >=1.1.0.0 && <1.7\n , random\n , splitmix\n , tf-random >=0.5 && <0.6\n\nbenchmark simple-sum\n type: exitcode-stdio-1.0\n default-language: Haskell2010\n ghc-options: -Wall\n hs-source-dirs: bench\n main-is: SimpleSum.hs\n build-depends:\n base\n , random\n , splitmix\n\nbenchmark range\n type: exitcode-stdio-1.0\n default-language: Haskell2010\n ghc-options: -Wall\n hs-source-dirs: bench src-compat\n main-is: Range.hs\n other-modules: Data.Bits.Compat\n build-depends:\n base\n , random\n , splitmix\n\n if !impl(ghcjs)\n build-depends: clock >=0.8 && <0.9\n\ntest-suite examples\n type: exitcode-stdio-1.0\n default-language: Haskell2010\n ghc-options: -Wall\n hs-source-dirs: tests\n main-is: Examples.hs\n build-depends:\n base\n , HUnit ==1.3.1.2 || >=1.6.0.0 && <1.7\n , splitmix\n\ntest-suite splitmix-tests\n type: exitcode-stdio-1.0\n default-language: Haskell2010\n ghc-options: -Wall\n hs-source-dirs: tests\n main-is: Tests.hs\n other-modules:\n MiniQC\n Uniformity\n\n build-depends:\n base\n , base-compat >=0.11.1 && <0.14\n , containers >=0.4.0.0 && <0.7\n , HUnit ==1.3.1.2 || >=1.6.0.0 && <1.7\n , math-functions ==0.1.7.0 || >=0.3.3.0 && <0.4\n , splitmix\n , test-framework >=0.8.2.0 && <0.9\n , test-framework-hunit >=0.3.0.2 && <0.4\n\ntest-suite montecarlo-pi\n type: exitcode-stdio-1.0\n default-language: Haskell2010\n ghc-options: -Wall\n hs-source-dirs: tests\n main-is: SplitMixPi.hs\n build-depends:\n base\n , splitmix\n\ntest-suite montecarlo-pi-32\n type: exitcode-stdio-1.0\n default-language: Haskell2010\n ghc-options: -Wall\n hs-source-dirs: tests\n main-is: SplitMixPi32.hs\n build-depends:\n base\n , splitmix\n\ntest-suite splitmix-dieharder\n default-language: Haskell2010\n type: exitcode-stdio-1.0\n ghc-options: -Wall -threaded -rtsopts\n hs-source-dirs: tests\n main-is: Dieharder.hs\n build-depends:\n async >=2.2.1 && <2.3\n , base\n , base-compat-batteries >=0.10.5 && <0.14\n , bytestring >=0.9.1.8 && <0.13\n , deepseq\n , process >=1.0.1.5 && <1.7\n , random\n , splitmix\n , tf-random >=0.5 && <0.6\n , vector >=0.11.0.0 && <0.14\n\ntest-suite splitmix-testu01\n if !os(linux)\n buildable: False\n\n default-language: Haskell2010\n type: exitcode-stdio-1.0\n ghc-options: -Wall -threaded -rtsopts\n hs-source-dirs: tests\n main-is: TestU01.hs\n c-sources: tests/cbits/testu01.c\n extra-libraries: testu01\n build-depends:\n base\n , base-compat-batteries >=0.10.5 && <0.14\n , splitmix\n\ntest-suite initialization\n default-language: Haskell2010\n type: exitcode-stdio-1.0\n ghc-options: -Wall -threaded -rtsopts\n hs-source-dirs: tests\n main-is: Initialization.hs\n build-depends:\n base\n , HUnit ==1.3.1.2 || >=1.6.0.0 && <1.7\n , splitmix\n"; + } \ No newline at end of file diff --git a/materialized/ghc964/hadrian-ghc964/hadrian/cabal-files/unordered-containers.nix b/materialized/ghc964/hadrian-ghc964/hadrian/cabal-files/unordered-containers.nix new file mode 100644 index 0000000000..0aeaccb277 --- /dev/null +++ b/materialized/ghc964/hadrian-ghc964/hadrian/cabal-files/unordered-containers.nix @@ -0,0 +1,78 @@ +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: + ({ + flags = { debug = false; }; + package = { + specVersion = "1.10"; + identifier = { name = "unordered-containers"; version = "0.2.19.1"; }; + license = "BSD-3-Clause"; + copyright = "2010-2014 Johan Tibell\n2010 Edward Z. Yang"; + maintainer = "simon.jakobi@gmail.com, David.Feuer@gmail.com"; + author = "Johan Tibell"; + homepage = "https://github.com/haskell-unordered-containers/unordered-containers"; + url = ""; + synopsis = "Efficient hashing-based container types"; + description = "Efficient hashing-based container types. The containers have been\noptimized for performance critical use, both in terms of large data\nquantities and high speed.\n\nThe declared cost of each operation is either worst-case or\namortized, but remains valid even if structures are shared.\n\n/Security/\n\nThis package currently provides no defenses against hash collision attacks\nsuch as HashDoS.\nUsers who need to store input from untrusted sources are advised to use\n@Data.Map@ or @Data.Set@ from the @containers@ package instead."; + buildType = "Simple"; + }; + components = { + "library" = { + depends = [ + (hsPkgs."base" or (errorHandler.buildDepError "base")) + (hsPkgs."deepseq" or (errorHandler.buildDepError "deepseq")) + (hsPkgs."hashable" or (errorHandler.buildDepError "hashable")) + (hsPkgs."template-haskell" or (errorHandler.buildDepError "template-haskell")) + ]; + buildable = true; + }; + tests = { + "unordered-containers-tests" = { + depends = [ + (hsPkgs."base" or (errorHandler.buildDepError "base")) + (hsPkgs."ChasingBottoms" or (errorHandler.buildDepError "ChasingBottoms")) + (hsPkgs."containers" or (errorHandler.buildDepError "containers")) + (hsPkgs."hashable" or (errorHandler.buildDepError "hashable")) + (hsPkgs."HUnit" or (errorHandler.buildDepError "HUnit")) + (hsPkgs."QuickCheck" or (errorHandler.buildDepError "QuickCheck")) + (hsPkgs."random" or (errorHandler.buildDepError "random")) + (hsPkgs."tasty" or (errorHandler.buildDepError "tasty")) + (hsPkgs."tasty-hunit" or (errorHandler.buildDepError "tasty-hunit")) + (hsPkgs."tasty-quickcheck" or (errorHandler.buildDepError "tasty-quickcheck")) + (hsPkgs."unordered-containers" or (errorHandler.buildDepError "unordered-containers")) + ] ++ pkgs.lib.optional (compiler.isGhc && compiler.version.ge "8.6") (hsPkgs."nothunks" or (errorHandler.buildDepError "nothunks")); + buildable = true; + }; + }; + benchmarks = { + "benchmarks" = { + depends = [ + (hsPkgs."base" or (errorHandler.buildDepError "base")) + (hsPkgs."bytestring" or (errorHandler.buildDepError "bytestring")) + (hsPkgs."containers" or (errorHandler.buildDepError "containers")) + (hsPkgs."deepseq" or (errorHandler.buildDepError "deepseq")) + (hsPkgs."hashable" or (errorHandler.buildDepError "hashable")) + (hsPkgs."hashmap" or (errorHandler.buildDepError "hashmap")) + (hsPkgs."mtl" or (errorHandler.buildDepError "mtl")) + (hsPkgs."random" or (errorHandler.buildDepError "random")) + (hsPkgs."tasty-bench" or (errorHandler.buildDepError "tasty-bench")) + (hsPkgs."unordered-containers" or (errorHandler.buildDepError "unordered-containers")) + ]; + buildable = true; + }; + }; + }; + } // { + src = pkgs.lib.mkDefault (pkgs.fetchurl { + url = "http://hackage.haskell.org/package/unordered-containers-0.2.19.1.tar.gz"; + sha256 = "1b27bec5e0d522b27a6029ebf4c4a6d40acbc083c787008e32fb55c4b1d128d2"; + }); + }) // { + package-description-override = "name: unordered-containers\nversion: 0.2.19.1\nx-revision: 3\nsynopsis: Efficient hashing-based container types\ndescription:\n Efficient hashing-based container types. The containers have been\n optimized for performance critical use, both in terms of large data\n quantities and high speed.\n .\n The declared cost of each operation is either worst-case or\n amortized, but remains valid even if structures are shared.\n .\n /Security/\n .\n This package currently provides no defenses against hash collision attacks\n such as HashDoS.\n Users who need to store input from untrusted sources are advised to use\n @Data.Map@ or @Data.Set@ from the @containers@ package instead.\nlicense: BSD3\nlicense-file: LICENSE\nauthor: Johan Tibell\nmaintainer: simon.jakobi@gmail.com, David.Feuer@gmail.com\nHomepage: https://github.com/haskell-unordered-containers/unordered-containers\nbug-reports: https://github.com/haskell-unordered-containers/unordered-containers/issues\ncopyright: 2010-2014 Johan Tibell\n 2010 Edward Z. Yang\ncategory: Data\nbuild-type: Simple\ncabal-version: >=1.10\nextra-source-files: CHANGES.md\n\ntested-with:\n GHC ==9.8.1\n || ==9.6.3\n || ==9.4.7\n || ==9.2.8\n || ==9.0.2\n || ==8.10.7\n || ==8.8.4\n || ==8.6.5\n || ==8.4.4\n || ==8.2.2\n\nflag debug\n description: Enable debug support\n default: False\n\nlibrary\n exposed-modules:\n Data.HashMap.Internal\n Data.HashMap.Internal.Array\n Data.HashMap.Internal.List\n Data.HashMap.Internal.Strict\n Data.HashMap.Lazy\n Data.HashMap.Strict\n Data.HashSet\n Data.HashSet.Internal\n\n build-depends:\n base >= 4.10 && < 5,\n deepseq >= 1.4.3,\n hashable >= 1.2.5 && < 1.5,\n template-haskell < 2.22\n\n default-language: Haskell2010\n\n other-extensions:\n RoleAnnotations,\n UnboxedTuples,\n ScopedTypeVariables,\n MagicHash,\n BangPatterns\n\n ghc-options: -Wall -O2 -fwarn-tabs -ferror-spans\n\n -- For dumping the generated code:\n -- ghc-options: -ddump-simpl -ddump-stg-final -ddump-cmm -ddump-asm -ddump-to-file\n -- ghc-options: -dsuppress-coercions -dsuppress-unfoldings -dsuppress-module-prefixes\n -- ghc-options: -dsuppress-uniques -dsuppress-timestamps\n\n if flag(debug)\n cpp-options: -DASSERTS\n\ntest-suite unordered-containers-tests\n hs-source-dirs: tests\n main-is: Main.hs\n type: exitcode-stdio-1.0\n other-modules:\n Regressions\n Properties\n Properties.HashMapLazy\n Properties.HashMapStrict\n Properties.HashSet\n Properties.List\n Strictness\n\n build-depends:\n base,\n ChasingBottoms,\n containers >= 0.5.8,\n hashable,\n HUnit,\n QuickCheck >= 2.4.0.1,\n random,\n tasty >= 1.4.0.3,\n tasty-hunit >= 0.10.0.3,\n tasty-quickcheck >= 0.10.1.2,\n unordered-containers\n\n if impl(ghc >= 8.6)\n build-depends:\n nothunks >= 0.1.3\n\n default-language: Haskell2010\n ghc-options: -Wall\n cpp-options: -DASSERTS\n\nbenchmark benchmarks\n hs-source-dirs: benchmarks\n main-is: Benchmarks.hs\n type: exitcode-stdio-1.0\n\n other-modules:\n Util.ByteString\n Util.String\n Util.Int\n\n build-depends:\n base >= 4.8.0,\n bytestring >= 0.10.0.0,\n containers,\n deepseq,\n hashable,\n hashmap,\n mtl,\n random,\n tasty-bench >= 0.3.1,\n unordered-containers\n\n default-language: Haskell2010\n ghc-options: -Wall -O2 -rtsopts -with-rtsopts=-A32m\n if impl(ghc >= 8.10)\n ghc-options: \"-with-rtsopts=-A32m --nonmoving-gc\"\n -- cpp-options: -DBENCH_containers_Map -DBENCH_containers_IntMap -DBENCH_hashmap_Map\n\nsource-repository head\n type: git\n location: https://github.com/haskell-unordered-containers/unordered-containers.git\n"; + } \ No newline at end of file diff --git a/materialized/ghc964/hadrian-ghc964/hadrian/cabal-files/utf8-string.nix b/materialized/ghc964/hadrian-ghc964/hadrian/cabal-files/utf8-string.nix new file mode 100644 index 0000000000..a5ee5272da --- /dev/null +++ b/materialized/ghc964/hadrian-ghc964/hadrian/cabal-files/utf8-string.nix @@ -0,0 +1,51 @@ +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: + ({ + flags = {}; + package = { + specVersion = "1.10"; + identifier = { name = "utf8-string"; version = "1.0.2"; }; + license = "BSD-3-Clause"; + copyright = ""; + maintainer = "emertens@galois.com"; + author = "Eric Mertens"; + homepage = "https://github.com/glguy/utf8-string/"; + url = ""; + synopsis = "Support for reading and writing UTF8 Strings"; + description = "A UTF8 layer for Strings. The utf8-string\npackage provides operations for encoding UTF8\nstrings to Word8 lists and back, and for reading and\nwriting UTF8 without truncation."; + buildType = "Simple"; + }; + components = { + "library" = { + depends = [ + (hsPkgs."base" or (errorHandler.buildDepError "base")) + (hsPkgs."bytestring" or (errorHandler.buildDepError "bytestring")) + ]; + buildable = true; + }; + tests = { + "unit-tests" = { + depends = [ + (hsPkgs."base" or (errorHandler.buildDepError "base")) + (hsPkgs."HUnit" or (errorHandler.buildDepError "HUnit")) + (hsPkgs."utf8-string" or (errorHandler.buildDepError "utf8-string")) + ]; + buildable = true; + }; + }; + }; + } // { + src = pkgs.lib.mkDefault (pkgs.fetchurl { + url = "http://hackage.haskell.org/package/utf8-string-1.0.2.tar.gz"; + sha256 = "ee48deada7600370728c4156cb002441de770d0121ae33a68139a9ed9c19b09a"; + }); + }) // { + package-description-override = "Name: utf8-string\nVersion: 1.0.2\nAuthor: Eric Mertens\nMaintainer: emertens@galois.com\nLicense: BSD3\nLicense-file: LICENSE\nHomepage: https://github.com/glguy/utf8-string/\nBug-Reports: https://github.com/glguy/utf8-string/issues\nSynopsis: Support for reading and writing UTF8 Strings\nDescription: A UTF8 layer for Strings. The utf8-string\n package provides operations for encoding UTF8\n strings to Word8 lists and back, and for reading and\n writing UTF8 without truncation.\nCategory: Codec\nBuild-type: Simple\ncabal-version: >= 1.10\nExtra-Source-Files: CHANGELOG.markdown\nTested-With: GHC==7.0.4, GHC==7.4.2, GHC==7.6.3, GHC==7.8.4, GHC==7.10.3, GHC==8.0.2, GHC==8.2.1\n\nsource-repository head\n type: git\n location: https://github.com/glguy/utf8-string\n\nlibrary\n Ghc-options: -W -O2\n\n build-depends: base >= 4.3 && < 5, bytestring >= 0.9\n\n Exposed-modules: Codec.Binary.UTF8.String\n Codec.Binary.UTF8.Generic\n Data.String.UTF8\n Data.ByteString.UTF8\n Data.ByteString.Lazy.UTF8\n\n default-language: Haskell2010\n\ntest-suite unit-tests\n type: exitcode-stdio-1.0\n hs-source-dirs: tests\n main-is: Tests.hs\n build-depends: base, HUnit >= 1.3 && < 1.7, utf8-string\n default-language: Haskell2010\n"; + } \ No newline at end of file diff --git a/materialized/ghc964/hadrian-ghc964/hadrian/default.nix b/materialized/ghc964/hadrian-ghc964/hadrian/default.nix new file mode 100644 index 0000000000..ca057a5d6b --- /dev/null +++ b/materialized/ghc964/hadrian-ghc964/hadrian/default.nix @@ -0,0 +1,175 @@ +{ + pkgs = hackage: + { + packages = { + ghc-prim.revision = hackage.ghc-prim."0.10.0".revisions.default; + clock.revision = import ./cabal-files/clock.nix; + clock.flags.llvm = false; + transformers.revision = hackage.transformers."0.6.1.0".revisions.default; + time.revision = hackage.time."1.12.2".revisions.default; + base.revision = hackage.base."4.18.2.0".revisions.default; + splitmix.revision = import ./cabal-files/splitmix.nix; + splitmix.flags.optimised-mixer = false; + unix.revision = hackage.unix."2.8.4.0".revisions.default; + filepattern.revision = import ./cabal-files/filepattern.nix; + ghc-boot-th.revision = hackage.ghc-boot-th."9.6.4".revisions.default; + mtl.revision = hackage.mtl."2.3.1".revisions.default; + pretty.revision = hackage.pretty."1.1.3.6".revisions.default; + hashable.revision = import ./cabal-files/hashable.nix; + hashable.flags.random-initial-seed = false; + hashable.flags.integer-gmp = true; + heaps.revision = import ./cabal-files/heaps.nix; + Cabal-syntax.revision = import ./cabal-files/Cabal-syntax.nix; + process.revision = hackage.process."1.6.17.0".revisions.default; + primitive.revision = import ./cabal-files/primitive.nix; + stm.revision = hackage.stm."2.5.1.0".revisions.default; + template-haskell.revision = hackage.template-haskell."2.20.0.0".revisions.default; + exceptions.revision = hackage.exceptions."0.10.7".revisions.default; + parsec.revision = hackage.parsec."3.1.16.1".revisions.default; + system-cxx-std-lib.revision = hackage.system-cxx-std-lib."1.0".revisions.default; + deepseq.revision = hackage.deepseq."1.4.8.1".revisions.default; + utf8-string.revision = import ./cabal-files/utf8-string.nix; + js-jquery.revision = import ./cabal-files/js-jquery.nix; + text.revision = hackage.text."2.0.2".revisions.default; + QuickCheck.revision = import ./cabal-files/QuickCheck.nix; + QuickCheck.flags.old-random = false; + QuickCheck.flags.templatehaskell = true; + unordered-containers.revision = import ./cabal-files/unordered-containers.nix; + unordered-containers.flags.debug = false; + containers.revision = hackage.containers."0.6.7".revisions.default; + array.revision = hackage.array."0.5.6.0".revisions.default; + shake.revision = import ./cabal-files/shake.nix; + shake.flags.cloud = false; + shake.flags.embed-files = false; + shake.flags.portable = false; + random.revision = import ./cabal-files/random.nix; + bytestring.revision = hackage.bytestring."0.11.5.3".revisions.default; + Cabal.revision = import ./cabal-files/Cabal.nix; + directory.revision = hackage.directory."1.3.8.1".revisions.default; + js-flot.revision = import ./cabal-files/js-flot.nix; + ghc-bignum.revision = hackage.ghc-bignum."1.3".revisions.default; + binary.revision = hackage.binary."0.8.9.1".revisions.default; + filepath.revision = hackage.filepath."1.4.200.1".revisions.default; + js-dgtable.revision = import ./cabal-files/js-dgtable.nix; + extra.revision = import ./cabal-files/extra.nix; + }; + compiler = { + version = "9.6.4"; + nix-name = "ghc964"; + packages = { + "unix" = "2.8.4.0"; + "filepath" = "1.4.200.1"; + "transformers" = "0.6.1.0"; + "parsec" = "3.1.16.1"; + "bytestring" = "0.11.5.3"; + "containers" = "0.6.7"; + "ghc-prim" = "0.10.0"; + "mtl" = "2.3.1"; + "ghc-boot-th" = "9.6.4"; + "base" = "4.18.2.0"; + "time" = "1.12.2"; + "stm" = "2.5.1.0"; + "ghc-bignum" = "1.3"; + "directory" = "1.3.8.1"; + "template-haskell" = "2.20.0.0"; + "process" = "1.6.17.0"; + "binary" = "0.8.9.1"; + "pretty" = "1.1.3.6"; + "text" = "2.0.2"; + "system-cxx-std-lib" = "1.0"; + "deepseq" = "1.4.8.1"; + "array" = "0.5.6.0"; + "exceptions" = "0.10.7"; + }; + }; + }; + extras = hackage: + { packages = { hadrian = ./.plan.nix/hadrian.nix; }; }; + modules = [ + { + preExistingPkgs = [ + "ghc-prim" + "transformers" + "time" + "base" + "unix" + "ghc-boot-th" + "mtl" + "pretty" + "process" + "stm" + "template-haskell" + "exceptions" + "parsec" + "system-cxx-std-lib" + "deepseq" + "text" + "containers" + "array" + "bytestring" + "directory" + "ghc-bignum" + "binary" + "filepath" + ]; + } + ({ lib, ... }: + { + packages = { + "hadrian" = { + flags = { + "threaded" = lib.mkOverride 900 true; + "selftest" = lib.mkOverride 900 true; + }; + }; + }; + }) + ({ lib, ... }: + { + packages = { + "directory".components.library.planned = lib.mkOverride 900 true; + "hadrian".components.exes."hadrian".planned = lib.mkOverride 900 true; + "deepseq".components.library.planned = lib.mkOverride 900 true; + "unordered-containers".components.library.planned = lib.mkOverride 900 true; + "text".components.library.planned = lib.mkOverride 900 true; + "base".components.library.planned = lib.mkOverride 900 true; + "js-flot".components.library.planned = lib.mkOverride 900 true; + "splitmix".components.library.planned = lib.mkOverride 900 true; + "filepath".components.library.planned = lib.mkOverride 900 true; + "clock".components.library.planned = lib.mkOverride 900 true; + "heaps".components.library.planned = lib.mkOverride 900 true; + "extra".components.library.planned = lib.mkOverride 900 true; + "transformers".components.library.planned = lib.mkOverride 900 true; + "parsec".components.library.planned = lib.mkOverride 900 true; + "system-cxx-std-lib".components.library.planned = lib.mkOverride 900 true; + "hashable".components.library.planned = lib.mkOverride 900 true; + "primitive".components.library.planned = lib.mkOverride 900 true; + "Cabal-syntax".components.library.planned = lib.mkOverride 900 true; + "QuickCheck".components.library.planned = lib.mkOverride 900 true; + "js-jquery".components.library.planned = lib.mkOverride 900 true; + "mtl".components.library.planned = lib.mkOverride 900 true; + "containers".components.library.planned = lib.mkOverride 900 true; + "ghc-prim".components.library.planned = lib.mkOverride 900 true; + "pretty".components.library.planned = lib.mkOverride 900 true; + "shake".components.exes."shake".planned = lib.mkOverride 900 true; + "bytestring".components.library.planned = lib.mkOverride 900 true; + "time".components.library.planned = lib.mkOverride 900 true; + "shake".components.library.planned = lib.mkOverride 900 true; + "random".components.library.planned = lib.mkOverride 900 true; + "template-haskell".components.library.planned = lib.mkOverride 900 true; + "process".components.library.planned = lib.mkOverride 900 true; + "utf8-string".components.library.planned = lib.mkOverride 900 true; + "Cabal".components.library.planned = lib.mkOverride 900 true; + "ghc-bignum".components.library.planned = lib.mkOverride 900 true; + "stm".components.library.planned = lib.mkOverride 900 true; + "binary".components.library.planned = lib.mkOverride 900 true; + "exceptions".components.library.planned = lib.mkOverride 900 true; + "js-dgtable".components.library.planned = lib.mkOverride 900 true; + "array".components.library.planned = lib.mkOverride 900 true; + "filepattern".components.library.planned = lib.mkOverride 900 true; + "ghc-boot-th".components.library.planned = lib.mkOverride 900 true; + "unix".components.library.planned = lib.mkOverride 900 true; + }; + }) + ]; +} \ No newline at end of file