diff --git a/.github/workflows/pipeline.yml b/.github/workflows/pipeline.yml index 282342b761..706bc60ad2 100644 --- a/.github/workflows/pipeline.yml +++ b/.github/workflows/pipeline.yml @@ -1,4 +1,4 @@ -name: "Run tests with ghc8107" +name: "Run tests with ghc967" on: pull_request: @@ -22,120 +22,120 @@ jobs: runs-on: [self-hosted, linux] steps: - uses: actions/checkout@v4 - - name: "Run tests with ghc8107: Running the nix-build tests..." - run: "./test/tests.sh ghc8107 nix-build" + - name: "Run tests with ghc967: Running the nix-build tests..." + run: "./test/tests.sh ghc967 nix-build" unit-tests: runs-on: [self-hosted, linux] steps: - uses: actions/checkout@v4 - - name: "Run tests with ghc8107: Running the unit tests..." - run: "./test/tests.sh ghc8107 unit-tests" + - name: "Run tests with ghc967: Running the unit tests..." + run: "./test/tests.sh ghc967 unit-tests" runghc: runs-on: [self-hosted, linux] steps: - uses: actions/checkout@v4 - - name: "Run tests with ghc8107: Checking that a nix-shell works for runghc..." - run: "./test/tests.sh ghc8107 runghc" + - name: "Run tests with ghc967: Checking that a nix-shell works for runghc..." + run: "./test/tests.sh ghc967 runghc" cabal: runs-on: [self-hosted, linux] steps: - uses: actions/checkout@v4 - - name: "Run tests with ghc8107: Checking that a nix-shell works for cabal..." - run: "./test/tests.sh ghc8107 cabal" + - name: "Run tests with ghc967: Checking that a nix-shell works for cabal..." + run: "./test/tests.sh ghc967 cabal" cabal-doExactConfig: runs-on: [self-hosted, linux] steps: - uses: actions/checkout@v4 - - name: "Run tests with ghc8107: Checking that a nix-shell works for cabal (doExactConfig component)..." - run: "./test/tests.sh ghc8107 cabal-doExactConfig" + - name: "Run tests with ghc967: Checking that a nix-shell works for cabal (doExactConfig component)..." + run: "./test/tests.sh ghc967 cabal-doExactConfig" tests-benchmarks: runs-on: [self-hosted, linux] steps: - uses: actions/checkout@v4 - - name: "Run tests with ghc8107: Checking that a nix-shell works for a project with test-suite build-tools and benchmarks..." - run: "./test/tests.sh ghc8107 tests-benchmarks" + - name: "Run tests with ghc967: Checking that a nix-shell works for a project with test-suite build-tools and benchmarks..." + run: "./test/tests.sh ghc967 tests-benchmarks" multi-target: runs-on: [self-hosted, linux] steps: - uses: actions/checkout@v4 - - name: "Run tests with ghc8107: Checking that a nix-shell works for a multi-target project..." - run: "./test/tests.sh ghc8107 multi-target" + - name: "Run tests with ghc967: Checking that a nix-shell works for a multi-target project..." + run: "./test/tests.sh ghc967 multi-target" shellFor-single-package: runs-on: [self-hosted, linux] steps: - uses: actions/checkout@v4 - - name: "Run tests with ghc8107: Checking shellFor works for a cabal project, multiple packages..." - run: "./test/tests.sh ghc8107 shellFor-single-package" + - name: "Run tests with ghc967: Checking shellFor works for a cabal project, multiple packages..." + run: "./test/tests.sh ghc967 shellFor-single-package" shellFor-multiple-package: runs-on: [self-hosted, linux] steps: - uses: actions/checkout@v4 - - name: "Run tests with ghc8107: Checking shellFor works for a cabal project, single package...y" - run: "./test/tests.sh ghc8107 shellFor-multiple-package" + - name: "Run tests with ghc967: Checking shellFor works for a cabal project, single package...y" + run: "./test/tests.sh ghc967 shellFor-multiple-package" shellFor-hoogle: runs-on: [self-hosted, linux] steps: - uses: actions/checkout@v4 - - name: "Run tests with ghc8107: Checking shellFor works for a cabal project, single package..." - run: "./test/tests.sh ghc8107 shellFor-hoogle" + - name: "Run tests with ghc967: Checking shellFor works for a cabal project, single package..." + run: "./test/tests.sh ghc967 shellFor-hoogle" shellFor-not-depends: runs-on: [self-hosted, linux] steps: - uses: actions/checkout@v4 - - name: "Run tests with ghc8107: Checking shellFor does not depend on given packages...y" - run: "./test/tests.sh ghc8107 shellFor-not-depends" + - name: "Run tests with ghc967: Checking shellFor does not depend on given packages...y" + run: "./test/tests.sh ghc967 shellFor-not-depends" maintainer-scripts: runs-on: [self-hosted, linux] steps: - uses: actions/checkout@v4 - - name: "Run tests with ghc8107: Checking the maintainer scripts...y" - run: "./test/tests.sh ghc8107 maintainer-scripts" + - name: "Run tests with ghc967: Checking the maintainer scripts...y" + run: "./test/tests.sh ghc967 maintainer-scripts" plan-extra-hackages: runs-on: [self-hosted, linux] steps: - uses: actions/checkout@v4 - - name: "Run tests with ghc8107: Checking that plan construction works with extra Hackages..." - run: "./test/tests.sh ghc8107 plan-extra-hackages" + - name: "Run tests with ghc967: Checking that plan construction works with extra Hackages..." + run: "./test/tests.sh ghc967 plan-extra-hackages" build-extra-hackages: runs-on: [self-hosted, linux] steps: - uses: actions/checkout@v4 - - name: "Run tests with ghc8107: Checking that package with extra Hackages can be build..." - run: "./test/tests.sh ghc8107 build-extra-hackages" + - name: "Run tests with ghc967: Checking that package with extra Hackages can be build..." + run: "./test/tests.sh ghc967 build-extra-hackages" hix: runs-on: [self-hosted, linux] steps: - uses: actions/checkout@v4 - - name: "Run tests with ghc8107: End-2-end test of hix project initialization and flakes development shell ..." - run: "./test/tests.sh ghc8107 hix" + - name: "Run tests with ghc967: End-2-end test of hix project initialization and flakes development shell ..." + run: "./test/tests.sh ghc967 hix" # template: # runs-on: [self-hosted, linux] # steps: # - uses: actions/checkout@v4 -# - name: "Run tests with ghc8107: End-2-end test of hix project initialization and flakes development shell ..." -# run: "./test/tests.sh ghc8107 template" +# - name: "Run tests with ghc967: End-2-end test of hix project initialization and flakes development shell ..." +# run: "./test/tests.sh ghc967 template" docs: runs-on: [self-hosted, linux] steps: - uses: actions/checkout@v4 - name: "Test examples in documentation ..." - run: "./test/tests.sh ghc8107 docs" + run: "./test/tests.sh ghc967 docs" hydra-ifdLevel-0-and-1: runs-on: [self-hosted, linux] @@ -178,9 +178,9 @@ jobs: runs-on: [self-hosted, linux] steps: - uses: actions/checkout@v4 - - name: "Check closure size with ghc8107" + - name: "Check closure size with ghc967" run: | - nix-build build.nix -A maintainer-scripts.check-closure-size --argstr compiler-nix-name ghc8107 -o check-closure-size.sh + nix-build build.nix -A maintainer-scripts.check-closure-size --argstr compiler-nix-name ghc967 -o check-closure-size.sh echo "+++ Closure size (MB)" ./check-closure-size.sh @@ -208,7 +208,7 @@ jobs: - uses: actions/checkout@v4 - name: "Make sure non store paths like can be used as src" run: | - nix-build build.nix -A maintainer-scripts.check-path-support --argstr compiler-nix-name ghc8107 -o check-path-support.sh + nix-build build.nix -A maintainer-scripts.check-path-support --argstr compiler-nix-name ghc967 -o check-path-support.sh ./check-path-support.sh haskell-nix-roots-do-not-require-IFDs: @@ -218,19 +218,23 @@ jobs: - name: "Check that the haskell.nix roots do not require IFDs" run: nix build .#roots.x86_64-linux --accept-flake-config --option allow-import-from-derivation false - hydra-without-remote-builders-ghc8107: + hydra-without-remote-builders-ghc967: runs-on: [self-hosted, linux] steps: - uses: actions/checkout@v4 - - name: "Check that evaluation of hydra jobs works without using remote builders for GHC 8.10.7" - run: nix path-info --derivation .#requiredJobs.x86_64-darwin.required-unstable-ghc8107-native --show-trace --builders '' + - name: "Check that evaluation of hydra jobs works without using remote builders for GHC 9.6.7" + run: | + sed -i 's/runningHydraEvalTest = true;/runningHydraEvalTest = false;/' flake.nix + nix path-info --derivation .#requiredJobs.x86_64-darwin.required-unstable-ghc967-native --show-trace --builders '' - hydra-without-remote-builders-ghc9101: + hydra-without-remote-builders-ghc9102: runs-on: [self-hosted, linux] steps: - uses: actions/checkout@v4 - - name: "Check that evaluation of hydra jobs works without using remote builders for GHC 9.10.1" - run: nix path-info --derivation .#requiredJobs.x86_64-darwin.required-unstable-ghc9101-native --show-trace --builders '' + - name: "Check that evaluation of hydra jobs works without using remote builders for GHC 9.10.2" + run: | + sed -i 's/runningHydraEvalTest = true;/runningHydraEvalTest = false;/' flake.nix + nix path-info --derivation .#requiredJobs.x86_64-darwin.required-unstable-ghc9102-native --show-trace --builders '' hix-cabal: runs-on: [self-hosted, linux] @@ -239,7 +243,7 @@ jobs: - name: "Check hix -- run github:haskell/cabal/3.10#cabal-install:exe:cabal -- --version" run: "HIX_DIR=$(mktemp -d) nix run .#hix --accept-flake-config -- run github:haskell/cabal/3.10#cabal-install:exe:cabal --accept-flake-config --override-input haskellNix . -- --version" - nix-tools: + check-nix-tools: runs-on: [self-hosted, linux] steps: - uses: actions/checkout@v4 diff --git a/.github/workflows/update-docs.yml b/.github/workflows/update-docs.yml new file mode 100644 index 0000000000..bc07ff9287 --- /dev/null +++ b/.github/workflows/update-docs.yml @@ -0,0 +1,36 @@ +name: Updload Docs + +on: + push: + branches: + - master + +env: + GH_TOKEN: ${{ github.token }} + +jobs: + upload-docs: + runs-on: ubuntu-latest + + steps: + - name: Checkout + uses: actions/checkout@v4 + + - name: Install Nix with good defaults + uses: input-output-hk/install-nix-action@v20 + with: + extra_nix_config: | + trusted-public-keys = cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY= hydra.iohk.io:f/Ea+s+dFdN+3Y/G+FDgSq+a5NEWhJGzdjvKNGv0/EQ= loony-tools:pr9m4BkM/5/eSTZlkQyRt57Jz7OMBxNSUiMC4FkcNfk= + substituters = https://cache.nixos.org/ https://cache.iog.io/ https://cache.zw3rk.com + nix_path: nixpkgs=channel:nixos-unstable + + - name: Update docs + run: | + nix-build build.nix -A maintainer-scripts.update-docs -o update-docs.sh + ./update-docs.sh + + - name: Upload docs + run: | + git config --global user.name 'Auto Update Bot' + git config --global user.email 'no-reply@iohk.io' + git push origin gh-pages diff --git a/.github/workflows/updates.yml b/.github/workflows/updates.yml index 74bb663641..d96f78a975 100644 --- a/.github/workflows/updates.yml +++ b/.github/workflows/updates.yml @@ -19,6 +19,7 @@ jobs: - name: "Update pins" run: | nix flake update hackage + nix flake update hackage-for-stackage nix flake update stackage - name: Commit and push changes run: | diff --git a/.github/workflows/upload-artifacts.yml b/.github/workflows/upload-artifacts.yml index ddc923800f..fd7c804b46 100644 --- a/.github/workflows/upload-artifacts.yml +++ b/.github/workflows/upload-artifacts.yml @@ -1,4 +1,4 @@ -name: Wait for Hydra Build +name: Update Static Nix Tools on: push: @@ -39,7 +39,7 @@ jobs: - name: Wait for nix-tools meta job uses: input-output-hk/actions/wait-for-hydra@angerman/support-prs with: - status: 'ci/hydra-build:nix-tools' + check: 'nix-tools' - name: "Pull nix-tools" run: | diff --git a/build.nix b/build.nix index 4ddf83746f..f52fdcb9f7 100644 --- a/build.nix +++ b/build.nix @@ -6,11 +6,6 @@ , nixpkgsArgs ? haskellNix.nixpkgsArgs , pkgs ? import nixpkgs nixpkgsArgs , evalPackages ? import nixpkgs nixpkgsArgs -# This version is used to make our GitHub Action runners happy -# Using `nixpkgs-unstable` currently results in: -# version `GLIBCXX_3.4.30' not found -, nixpkgsForGitHubAction ? haskellNix.sources.nixpkgs-2211 -, pkgsForGitHubAction ? import nixpkgsForGitHubAction (nixpkgsArgs // { inherit (pkgs) system; }) , ifdLevel ? 1000 , compiler-nix-name ? throw "No `compiler-nix-name` passed to build.nix" , haskellNix ? (import ./default.nix {}) @@ -28,7 +23,7 @@ in rec { pkgs.recurseIntoAttrs ({ cabal-latest = tool compiler-nix-name "cabal" ({ inherit evalPackages; - } // pkgs.lib.optionalAttrs (ghcFromTo "9.10" "9.12") { + } // pkgs.lib.optionalAttrs (ghcFromTo "9.13" "9.14") { cabalProjectLocal = builtins.readFile ./test/cabal.project.local; }); } // pkgs.lib.optionalAttrs (__compareVersions haskell.compiler.${compiler-nix-name}.version "9.8" < 0) { @@ -62,10 +57,10 @@ in rec { inherit evalPackages; src = pkgs.haskell-nix.sources."hls-2.2"; }; - } // pkgs.lib.optionalAttrs (ghcFromTo "9.0" "9.11") { - "hls-29" = tool compiler-nix-name "haskell-language-server" { + } // pkgs.lib.optionalAttrs (ghcFromTo "9.0" "9.13") { + "hls" = tool compiler-nix-name "haskell-language-server" { inherit evalPackages; - src = pkgs.haskell-nix.sources."hls-2.9"; + src = pkgs.haskell-nix.sources."hls-2.11"; }; }) ); @@ -77,14 +72,14 @@ in rec { maintainer-scripts = pkgs.dontRecurseIntoAttrs { update-hackage = import ./scripts/update-hackage.nix { inherit (pkgs) stdenv lib writeScript coreutils glibc git - openssh nixFlakes gawk bash curl findutils; + openssh nixVersions gawk bash curl findutils; # Update scripts use the internal nix-tools (compiled with a fixed GHC version) nix-tools = haskell.nix-tools-unchecked; inherit (haskell) update-index-state-hashes cabal-issue-8352-workaround; }; update-stackage = haskell.callPackage ./scripts/update-stackage.nix { inherit (pkgs) stdenv lib writeScript coreutils glibc git - openssh nixFlakes gawk bash curl findutils; + openssh nixVersions gawk bash curl findutils; # Update scripts use the internal nix-tools (compiled with a fixed GHC version) nix-tools = haskell.nix-tools-unchecked; inherit (haskell) cabal-issue-8352-workaround; @@ -98,7 +93,7 @@ in rec { nix-tools = haskell.nix-tools-unchecked; # includes cabal-install and default-setup }; check-materialization-concurrency = pkgs.buildPackages.callPackage ./scripts/check-materialization-concurrency/check.nix {}; - check-path-support = pkgsForGitHubAction.buildPackages.callPackage ./scripts/check-path-support.nix { + check-path-support = pkgs.buildPackages.callPackage ./scripts/check-path-support.nix { inherit compiler-nix-name; }; }; diff --git a/builder/comp-builder.nix b/builder/comp-builder.nix index cb49f21790..819cfea2ab 100644 --- a/builder/comp-builder.nix +++ b/builder/comp-builder.nix @@ -1,6 +1,4 @@ -{ pkgs, stdenv, buildPackages, pkgsBuildBuild, ghc, lib, gobject-introspection ? null, haskellLib, makeConfigFiles, haddockBuilder, ghcForComponent, hsPkgs, compiler, runCommand, libffi, gmp, windows, zlib, ncurses, nodejs, nonReinstallablePkgs }@defaults: -lib.makeOverridable ( -let self = +{ pkgs, stdenv, buildPackages, pkgsBuildBuild, ghc, llvmPackages, lib, gobject-introspection ? null, haskellLib, makeConfigFiles, haddockBuilder, ghcForComponent, hsPkgs, compiler, runCommand, libffi, gmp, windows, zlib, ncurses, nodejs, nonReinstallablePkgs }@defaults: { componentId , component , package @@ -43,7 +41,7 @@ let self = , hardeningDisable ? component.hardeningDisable , enableStatic ? component.enableStatic -, enableShared ? ghc.enableShared && component.enableShared && !haskellLib.isCrossHost +, enableShared ? ghc.enableShared && component.enableShared && (!haskellLib.isCrossHost || stdenv.hostPlatform.isWasm) , enableExecutableDynamic ? component.enableExecutableDynamic && !stdenv.hostPlatform.isMusl , enableDeadCodeElimination ? component.enableDeadCodeElimination , writeHieFiles ? component.writeHieFiles @@ -92,7 +90,76 @@ let self = # LLVM , useLLVM ? ghc.useLLVM or false , smallAddressSpace ? false - +}: +# makeOverridable is called here after all the `? DEFAULT` arguments +# will have been applied. This makes sure that `c.override (oldAttrs: {...})` +# includes these `DEFAULT` values in `oldAttrs`. This is important +# so that overrides can modify the existing values instead of replacing them. +lib.makeOverridable ( +let self = +{ componentId +, component +, package +, name +, setup +, src +, flags +, cabalFile +, cabal-generator +, patches +, preUnpack +, configureFlags +, prePatch +, postPatch +, preConfigure +, postConfigure +, setupBuildFlags +, preBuild +, postBuild +, preCheck +, postCheck +, setupInstallFlags +, preInstall +, postInstall +, preHaddock +, postHaddock +, shellHook +, configureAllComponents +, allComponent +, build-tools +, pkgconfig +, platforms +, frameworks +, dontPatchELF +, dontStrip +, dontUpdateAutotoolsGnuConfigScripts +, hardeningDisable +, enableStatic +, enableShared +, enableExecutableDynamic +, enableDeadCodeElimination +, writeHieFiles +, ghcOptions +, contentAddressed +, doHaddock +, doHoogle +, hyperlinkSource +, quickjump +, keepConfigFiles +, keepGhc +, keepSource +, setupHaddockFlags +, enableLibraryProfiling +, enableProfiling +, profilingDetail +, doCoverage +, enableSeparateDataOutput +, enableLibraryForGhci +, enableDebugRTS +, enableDWARF +, enableTSanRTS +, useLLVM +, smallAddressSpace }@drvArgs: let @@ -197,6 +264,9 @@ let "--with-gcc=${pkgsBuildBuild.emscripten}/bin/emcc" "--with-ld=${pkgsBuildBuild.emscripten}/bin/emcc" ] + ++ lib.optionals (stdenv.hostPlatform.isGhcjs && stdenv.buildPlatform.isDarwin) [ + "--ar-options=--format=gnu" # Avoid `--format=darwin` it can cause `section too large` errors + ] ++ [ # other flags (disableFeature dontStrip "executable-stripping") (disableFeature dontStrip "library-stripping") @@ -206,7 +276,15 @@ let (enableFeature enableShared "shared") (enableFeature enableExecutableDynamic "executable-dynamic") (enableFeature doCoverage "coverage") - (enableFeature (enableLibraryForGhci && !stdenv.hostPlatform.isGhcjs) "library-for-ghci") + # For Android (or really anything that uses lld), -r will silently drop + # "lazy" symbols. Those are leaf symbols with no referenes. This however + # does not work when loading the objects into the linker, because then we + # occationally miss symbols when subsequent libraries depending on the one + # that dropped the symbol are loaded. bfd and lld support --whole-archive + # lld -r --whole-archive ... will _not_ drop lazy symbols. However the + # --whole-archive flag needs to come _before_ the objects, it's applied in + # sequence. The proper fix is thusly to add --while-archive to Cabal. + (enableFeature (enableLibraryForGhci && !stdenv.hostPlatform.isGhcjs && !stdenv.hostPlatform.isWasm && !stdenv.hostPlatform.isAndroid) "library-for-ghci") ] ++ lib.optionals (stdenv.hostPlatform.isMusl && (haskellLib.isExecutableType componentId)) [ # These flags will make sure the resulting executable is statically linked. # If it uses other libraries it may be necessary for to add more @@ -270,8 +348,11 @@ let if builtins.isFunction shellHook then shellHook { inherit package shellWrappers; } else abort "shellHook should be a string or a function"; - exeExt = if stdenv.hostPlatform.isGhcjs && builtins.compareVersions defaults.ghc.version "9.8" < 0 - then ".jsexe/all.js" + exeExt = + if stdenv.hostPlatform.isWasm + then ".wasm" + else if stdenv.hostPlatform.isGhcjs && builtins.compareVersions defaults.ghc.version "9.8" < 0 + then ".jsexe/all.js" else stdenv.hostPlatform.extensions.executable; exeName = componentId.cname + exeExt; testExecutable = "dist/build/${componentId.cname}/${exeName}"; @@ -327,7 +408,7 @@ let } // lib.optionalAttrs stdenv.hostPlatform.isMusl { # This fixes musl compilation of TH code that depends on C++ (for instance TH code that uses the double-conversion package) - LD_LIBRARY_PATH="${pkgs.buildPackages.gcc-unwrapped.lib}/x86_64-unknown-linux-musl/lib"; + LD_LIBRARY_PATH="${pkgs.buildPackages.gcc-unwrapped.lib}/${stdenv.hostPlatform.config}/lib"; } // lib.optionalAttrs dontUpdateAutotoolsGnuConfigScripts { inherit dontUpdateAutotoolsGnuConfigScripts; @@ -371,11 +452,10 @@ let env = shellWrappers.drv; shell = drv.overrideAttrs (attrs: { pname = nameOnly + "-shell"; - inherit (package.identifier) version; nativeBuildInputs = [shellWrappers.drv] ++ attrs.nativeBuildInputs; }); - profiled = self (drvArgs // { enableLibraryProfiling = true; }); - dwarf = self (drvArgs // { enableDWARF = true; }); + profiled = lib.makeOverridable self (drvArgs // { enableLibraryProfiling = true; }); + dwarf = lib.makeOverridable self (drvArgs // { enableDWARF = true; }); } // lib.optionalAttrs (haskellLib.isLibrary componentId || haskellLib.isTest componentId) ({ inherit haddock; inherit (haddock) haddockDir; # This is null if `doHaddock = false` @@ -419,7 +499,8 @@ let nativeBuildInputs = [ghc buildPackages.removeReferencesTo] ++ executableToolDepends - ++ (lib.optional stdenv.hostPlatform.isGhcjs buildPackages.nodejs); + ++ (lib.optional stdenv.hostPlatform.isGhcjs pkgsBuildBuild.nodejs) + ++ (lib.optional (ghc.useLdLld or false) llvmPackages.bintools); outputs = ["out"] ++ (lib.optional keepConfigFiles "configFiles") @@ -436,6 +517,10 @@ let (lib.optionalString stdenv.hostPlatform.isGhcjs '' export HOME=$(mktemp -d) export EM_CACHE=$(mktemp -d) + if [ -d ${pkgsBuildBuild.emscripten}/share/emscripten/cache ]; then + cp -r ${pkgsBuildBuild.emscripten}/share/emscripten/cache/* $EM_CACHE/ + chmod +w -R $EM_CACHE + fi '') + (lib.optionalString (!canCleanSource) '' echo "Cleaning component source not supported, leaving it un-cleaned" @@ -583,7 +668,6 @@ let ('' if id=$(${target-pkg-and-db} field "z-${package.identifier.name}-z-*" id --simple-output); then name=$(${target-pkg-and-db} field "z-${package.identifier.name}-z-*" name --simple-output) - echo "--dependency=''${name#z-${package.identifier.name}-z-}=$id" >> $out/exactDep/configure-flags echo "package-id $id" >> $out/envDep '' # Allow `package-name:sublib-name` to work in `build-depends` @@ -638,6 +722,10 @@ let mkdir -p $out/share if [ -d dist/build/extra-compilation-artifacts ]; then cp -r dist/build/extra-compilation-artifacts/hpc $out/share + elif [ -d ${testExecutable}-tmp/extra-compilation-artifacts ]; then + cp -r ${testExecutable}-tmp/extra-compilation-artifacts/hpc $out/share + elif [ -d dist/build/${componentId.cname}/extra-compilation-artifacts ]; then + cp -r dist/build/${componentId.cname}/extra-compilation-artifacts/hpc $out/share else cp -r dist/hpc $out/share fi @@ -701,4 +789,68 @@ let // lib.optionalAttrs (hardeningDisable != [] || stdenv.hostPlatform.isMusl) { hardeningDisable = hardeningDisable ++ lib.optional stdenv.hostPlatform.isMusl "pie"; }); -in drv; in self) +in drv; in self) { + inherit componentId + component + package + name + setup + src + flags + cabalFile + cabal-generator + patches + preUnpack + configureFlags + prePatch + postPatch + preConfigure + postConfigure + setupBuildFlags + preBuild + postBuild + preCheck + postCheck + setupInstallFlags + preInstall + postInstall + preHaddock + postHaddock + shellHook + configureAllComponents + allComponent + build-tools + pkgconfig + platforms + frameworks + dontPatchELF + dontStrip + dontUpdateAutotoolsGnuConfigScripts + hardeningDisable + enableStatic + enableShared + enableExecutableDynamic + enableDeadCodeElimination + writeHieFiles + ghcOptions + contentAddressed + doHaddock + doHoogle + hyperlinkSource + quickjump + keepConfigFiles + keepGhc + keepSource + setupHaddockFlags + enableLibraryProfiling + enableProfiling + profilingDetail + doCoverage + enableSeparateDataOutput + enableLibraryForGhci + enableDebugRTS + enableDWARF + enableTSanRTS + useLLVM + smallAddressSpace; +} diff --git a/builder/default.nix b/builder/default.nix index 6a029e8964..716e99ef1d 100644 --- a/builder/default.nix +++ b/builder/default.nix @@ -26,7 +26,7 @@ let }; setup-builder = haskellLib.weakCallPackage pkgs ./setup-builder.nix { - ghc = (ghc.passthru.buildGHC or ghc); + ghc = (ghc.buildGHC or ghc); hsPkgs = hsPkgs.buildPackages; # We need to use the buildPackages stdenv to build the setup-builder. # in the native case, it would be the same in the cross case however @@ -41,7 +41,7 @@ let # component builder and for nix-shells. ghcForComponent = import ./ghc-for-component-wrapper.nix { inherit lib ghc haskellLib; - inherit (buildPackages) stdenv; + inherit (pkgs) stdenv; inherit (buildPackages.buildPackages) runCommand makeWrapper; inherit (buildPackages.buildPackages.xorg) lndir; }; @@ -54,7 +54,7 @@ let # When building setup depends we need to use the build systems GHC and Packages makeSetupConfigFiles = haskellLib.weakCallPackage buildPackages ./make-config-files.nix { inherit haskellLib nonReinstallablePkgs; - ghc = (ghc.passthru.buildGHC or ghc); + ghc = (ghc.buildGHC or ghc); }; @@ -68,7 +68,7 @@ let let haskellPackages = { # For musl we can use haddock from the buildGHC - ghc = if stdenv.hostPlatform.isLinux && stdenv.targetPlatform.isMusl && !haskellLib.isNativeMusl + ghc = if stdenv.targetPlatform.isMusl then ghc.buildGHC else ghc; inherit packages hoogle; @@ -79,7 +79,7 @@ let # Same as haskellPackages.shellFor in nixpkgs. shellFor = haskellLib.weakCallPackage pkgs ./shell-for.nix { - inherit hsPkgs ghcForComponent makeConfigFiles hoogleLocal haskellLib pkgsBuildBuild evalPackages compiler; + inherit hsPkgs ghcForComponent makeConfigFiles hoogleLocal haskellLib pkgsBuildBuild evalPackages compiler ghc; inherit (buildPackages) glibcLocales; }; diff --git a/builder/ghc-for-component-wrapper.nix b/builder/ghc-for-component-wrapper.nix index 8afb44d761..58a15f4244 100644 --- a/builder/ghc-for-component-wrapper.nix +++ b/builder/ghc-for-component-wrapper.nix @@ -14,6 +14,7 @@ , postInstall ? "" , enableDWARF , plugins +, ghcOptions ? [] }: let @@ -23,8 +24,9 @@ let libDir = "$wrappedGhc/${configFiles.libDir}"; docDir = "$wrappedGhc/share/doc/ghc/html"; # For musl we can use haddock from the buildGHC - haddock = if stdenv.hostPlatform.isLinux && stdenv.targetPlatform.isMusl && !haskellLib.isNativeMusl - then ghc.buildGHC + haddock = if stdenv.hostPlatform.isMusl + then ghc.buildGHC or ghc # `or ghc` is here because nixpkgs GHC does not have `buildGHC` + # TODO find a way to get suitable GHC and/or respect `ghc.hasHaddock`. else ghc; script = '' @@ -37,11 +39,11 @@ let ${lndir}/bin/lndir -silent $unwrappedGhc $wrappedGhc rm -rf ${libDir}/*/ '' - # ... but retain the lib/ghc/bin directory. This contains `unlit' and friends. + # ... but retain the lib/ghc/bin directory. This may contain `unlit' and friends. + '' if [ -d $unwrappedGhc/lib/${ghcCommand}-${ghc.version}/bin ]; then ln -s $unwrappedGhc/lib/${ghcCommand}-${ghc.version}/bin ${libDir} - else + elif [ -d $unwrappedGhc/lib/bin ]; then ln -s $unwrappedGhc/lib/bin ${libDir} fi '' @@ -107,7 +109,7 @@ let --set "NIX_${ghcCommandCaps}PKG" "$wrappedGhc/bin/${ghcCommand}-pkg" \ --set "NIX_${ghcCommandCaps}_DOCDIR" "${docDir}" \ --set "GHC_PLUGINS" "$GHC_PLUGINS" \ - --set "NIX_${ghcCommandCaps}_LIBDIR" "${libDir}" + --set "NIX_${ghcCommandCaps}_LIBDIR" "${libDir}"${lib.concatMapStrings (o: " --add-flags ${o}") ghcOptions} fi done @@ -125,11 +127,17 @@ let done '' - + lib.optionalString (stdenv.targetPlatform.isMusl && !haskellLib.isNativeMusl && builtins.compareVersions ghc.version "9.9" >0) '' + + lib.optionalString (haskellLib.isNativeMusl && builtins.compareVersions ghc.version "9.9" >0) '' ln -s $wrappedGhc/bin/${targetPrefix}unlit $wrappedGhc/bin/unlit ln -s $wrappedGhc/bin/${ghcCommand}-iserv $wrappedGhc/bin/ghc-iserv ln -s $wrappedGhc/bin/${ghcCommand}-iserv-prof $wrappedGhc/bin/ghc-iserv-prof '' + # These scripts break if symlinked (they check import.meta.filename against args) + # Also for some reason `libdl.so` is missing `__wasm_apply_data_relocs` + + lib.optionalString (stdenv.hostPlatform.isWasm) '' + rm $wrappedGhc/lib/*.mjs + cp $unwrappedGhc/lib/*.mjs $wrappedGhc/lib/ + '' # Wrap haddock, if the base GHC provides it. + '' if [[ -x "${haddock}/bin/haddock" ]]; then @@ -159,8 +167,7 @@ let inherit script targetPrefix; inherit (ghc) version meta; }; - propagatedBuildInputs = configFiles.libDeps; - nativeBuildInputs = [ghc]; + propagatedBuildInputs = configFiles.libDeps ++ lib.optional stdenv.hasCC stdenv.cc ++ [ghc]; } ('' mkdir -p $out/configFiles configFiles=$out/configFiles diff --git a/builder/haddock-builder.nix b/builder/haddock-builder.nix index 97ffdbb607..b276b4b6f8 100644 --- a/builder/haddock-builder.nix +++ b/builder/haddock-builder.nix @@ -1,4 +1,4 @@ -{ stdenv, buildPackages, lib, haskellLib, ghc, ghcForComponent, nonReinstallablePkgs, runCommand, writeText, writeScript, makeConfigFiles }: +{ stdenv, buildPackages, lib, haskellLib, ghc, ghcForComponent, nonReinstallablePkgs, runCommand, writeText, writeScript, makeConfigFiles, llvmPackages }: { componentId , component @@ -80,7 +80,8 @@ let nativeBuildInputs = [ ghc buildPackages.removeReferencesTo ] - ++ componentDrv.executableToolDepends; + ++ componentDrv.executableToolDepends + ++ (lib.optional (ghc.useLdLld or false) llvmPackages.bintools); configurePhase = '' mkdir -p $configFiles @@ -109,6 +110,12 @@ let # If we don't have any source files, no need to run haddock [[ -n $(find . -name "*.hs" -o -name "*.lhs") ]] && { + # Run any preprocessor in the custom build step + $SETUP_HS build \ + "--with-ghc=false" \ + ${lib.optionalString (haskellLib.isTest componentId) "--tests"} \ + ${lib.concatStringsSep " " setupHaddockFlags} || true + $SETUP_HS haddock \ "--html" \ ${lib.optionalString (haskellLib.isTest componentId) "--tests"} \ @@ -151,8 +158,12 @@ let ${ghc.targetPrefix}ghc-pkg -v0 --package-db $configFiles/${configFiles.packageCfgDir} -f $out/package.conf.d register "$pkg" done - ln -s ${componentDrv}/exactDep $out/exactDep - ln -s ${componentDrv}/envDep $out/envDep + if [ -d ${componentDrv}/exactDep ]; then + ln -s ${componentDrv}/exactDep $out/exactDep + fi + if [ -f ${componentDrv}/envDep ]; then + ln -s ${componentDrv}/envDep $out/envDep + fi ''; } // haskellLib.optionalHooks { diff --git a/builder/setup-builder.nix b/builder/setup-builder.nix index 4e8ff3c1e9..7b57fd3647 100644 --- a/builder/setup-builder.nix +++ b/builder/setup-builder.nix @@ -1,4 +1,4 @@ -{ pkgs, stdenv, lib, buildPackages, haskellLib, ghc, nonReinstallablePkgs, hsPkgs, makeSetupConfigFiles }@defaults: +{ pkgs, stdenv, lib, buildPackages, haskellLib, ghc, nonReinstallablePkgs, hsPkgs, makeSetupConfigFiles, llvmPackages }@defaults: let self = { component, package, name, src, enableDWARF ? false, flags ? {}, revision ? null, patches ? [], defaultSetupSrc @@ -67,7 +67,7 @@ let ++ builtins.concatLists component.pkgconfig ++ configFiles.libDeps ++ [ghc]; # Needs to be a build input so that the boot libraries are included - nativeBuildInputs = [ghc] ++ executableToolDepends; + nativeBuildInputs = [ghc] ++ executableToolDepends ++ (lib.optional (ghc.useLdLld or false) llvmPackages.bintools); passthru = { inherit (package) identifier; diff --git a/builder/shell-for.nix b/builder/shell-for.nix index 141186a0b1..27e19ab3bc 100644 --- a/builder/shell-for.nix +++ b/builder/shell-for.nix @@ -1,4 +1,4 @@ -{ lib, stdenv, mkShell, glibcLocales, pkgconfig, ghcForComponent, makeConfigFiles, hsPkgs, hoogleLocal, haskellLib, pkgsBuildBuild, evalPackages, compiler }: +{ lib, stdenv, mkShell, glibcLocales, ghcForComponent, makeConfigFiles, hsPkgs, hoogleLocal, haskellLib, pkgsBuildBuild, evalPackages, compiler, haskell-nix, ghc }: { # `packages` function selects packages that will be worked on in the shell itself. # These packages will not be built by `shellFor`, but their @@ -93,6 +93,11 @@ let (removeSelectedInputs (haskellLib.uniqueWithName (lib.concatMap (cfg: cfg.depends) selectedConfigs)) ++ additionalPackages); + # For non haskell dependencies (and `pre-existing` haskell packages) + # we want to search all the configs. + allConfigs = selectedConfigs ++ + builtins.map (x: (haskellLib.dependToLib x).config) additionalPackages; + # Add the system libraries and build tools of the selected haskell packages to the shell. # We need to remove any inputs which are selected components (see above). # `buildInputs`, `propagatedBuildInputs`, and `executableToolDepends` contain component @@ -115,10 +120,13 @@ let # Set up a "dummy" component to use with ghcForComponent. component = { depends = packageInputs; - pre-existing = lib.concatMap (x: (haskellLib.dependToLib x).config.pre-existing or []) packageInputs; - libs = lib.concatMap (x: (haskellLib.dependToLib x).config.libs or []) packageInputs; - pkgconfig = lib.concatMap (x: (haskellLib.dependToLib x).config.pkgconfig or []) packageInputs; - frameworks = lib.concatMap (x: (haskellLib.dependToLib x).config.frameworks or []) packageInputs; + pre-existing = + if exactDeps + then lib.unique (lib.concatMap (x: (haskellLib.dependToLib x).pre-existing or []) allConfigs) + else haskell-nix.ghc-pre-existing ghc; + libs = haskellLib.uniqueWithName (lib.concatMap (x: (haskellLib.dependToLib x).libs or []) allConfigs); + pkgconfig = haskellLib.uniqueWithName (lib.concatMap (x: (haskellLib.dependToLib x).pkgconfig or []) allConfigs); + frameworks = haskellLib.uniqueWithName (lib.concatMap (x: (haskellLib.dependToLib x).frameworks or []) allConfigs); doExactConfig = false; }; configFiles = makeConfigFiles { @@ -135,6 +143,7 @@ let ''; inherit enableDWARF; plugins = []; + ghcOptions = haskell-nix.templateHaskell.${compiler.nix-name}.ghcOptions or []; }; hoogleIndex = let @@ -184,11 +193,16 @@ in ''} $(builtin type -P "${ghcEnv.targetPrefix}pkg-config" &> /dev/null && echo "--with-pkg-config=${ghcEnv.targetPrefix}pkg-config") \ "$@" ''); + propagatedBuildInputs = mkDrvArgs.propagateBuildInputs or [] ++ ghcEnv.drv.propagatedBuildInputs; phases = ["installPhase"]; installPhase = '' echo "${"Shell for " + toString (builtins.map (p : p.identifier.name) selectedPackages)}" echo $nativeBuildInputs $buildInputs > $out ''; + shellHook = mkDrvArgs.shellHook or "" + lib.optionalString stdenv.hostPlatform.isWindows '' + + export pkgsHostTargetAsString="''${pkgsHostTarget[@]}" + ''; # This helps tools like `ghcide` (that use the ghc api) to find # the correct global package DB. diff --git a/changelog.md b/changelog.md index 8207314213..95fa3c3628 100644 --- a/changelog.md +++ b/changelog.md @@ -1,6 +1,51 @@ This file contains a summary of changes to Haskell.nix and `nix-tools` that will impact users. +## Jul 3, 2025 + +Some time ago the behavior of `shellFor` changed so that the arguments +are now checked against `modules/shell.nix`. This was done as part of a fix +for bugs in the way `shellFor` arguments and project `shell` arguments +interacted (both are now `modules` and the normal module merge rules apply). + +This means it is no longer possible to pass arbitrarily named arguments +to `shellFor` in order to set environment variables. + +Instead of: + +``` +p.shellFor { + FOO = "bar"; +} +``` + +Use: + +``` +p.shellFor { + shellHook = '' + export FOO="bar" + ''; +} +``` + +or + +``` +(p.shellFor {}).overrideAttrs { + FOO = "bar"; +} +``` + +## Jan 29, 2025 + +Removed GHC <9.6 from CI. + +The latest `nixpkgs-unstable` caused problems with + * GHC 8.10.7 + * GHC 9.6.6 mingwW64 (ucrt64 works still as does mingwW64 + with newer GHC versions) + ## Sep 17, 2024 Cabal projects now use the more granular Unit IDs from plan.json diff --git a/ci.nix b/ci.nix index b6346c086e..88d01c087c 100644 --- a/ci.nix +++ b/ci.nix @@ -3,7 +3,7 @@ { ifdLevel # This is passed in from flake.nix , checkMaterialization ? false , system ? builtins.currentSystem -, evalSystem ? builtins.currentSystem or "x86_64-linux" +, evalSystem ? "aarch64-darwin" # NOTE: we apply checkMaterialization when defining nixpkgsArgs , haskellNix ? import ./default.nix { inherit system ; } }: @@ -18,11 +18,7 @@ # short names for nixpkgs versions nixpkgsVersions = { - "R2205" = inputs.nixpkgs-2205; - "R2211" = inputs.nixpkgs-2211; - "R2305" = inputs.nixpkgs-2305; - "R2311" = inputs.nixpkgs-2311; - "R2405" = inputs.nixpkgs-2405; + "R2505" = inputs.nixpkgs-2505; "unstable" = inputs.nixpkgs-unstable; }; @@ -33,12 +29,9 @@ (final: prev: { haskell-nix = prev.haskell-nix // { inherit checkMaterialization; - extraPkgconfigMappings = prev.haskell-nix.extraPkgconfigMappings or {} // { - "libsodium" = [ "libsodium-18" ]; - }; }; - libsodium-18 = (final.callPackage (inputs.nixpkgs-2311 + "/pkgs/development/libraries/libsodium") {}).overrideAttrs (_: { dontDisableStatic = true; }); }) + (import ./test/overlay.nix) ]; # Needed for dwarf tests config = haskellNix.config // { @@ -47,6 +40,16 @@ "libdwarf-20181024" "dwarfdump-20181024" ]; + allowUnfreePredicate = pkg: builtins.elem (lib.getName pkg) [ + "platform-tools" + "ndk" + "android-sdk-ndk" + "android-sdk-platform-tools" + "aarch64-unknown-linux-android-ndk-toolchain-wrapper" + "aarch64-unknown-linux-android-ndk-toolchain" + "armv7a-unknown-linux-androideabi-ndk-toolchain-wrapper" + "armv7a-unknown-linux-androideabi-ndk-toolchain" + ]; }; }; @@ -61,52 +64,65 @@ # cabal-install and nix-tools plans. When removing a ghc version # from here (so that is no longer cached) also remove ./materialized/ghcXXX. # Update supported-ghc-versions.md to reflect any changes made here. - nixpkgs.lib.optionalAttrs (nixpkgsName == "R2405") { + nixpkgs.lib.optionalAttrs (builtins.elem nixpkgsName ["R2411" "R2505"]) { ghc96 = false; ghc98 = false; + ghc98llvm = false; + ghc910 = false; + ghc910llvm = false; + ghc912 = false; } // nixpkgs.lib.optionalAttrs (nixpkgsName == "unstable") { - ghc810 = true; - ghc92 = false; - ghc94 = false; ghc96 = true; ghc98 = true; - ghc98llvm = false; ghc910 = true; - ghc910llvm = true; - ghc911 = true; + ghc912 = true; + ghc912llvm = true; + ghc913 = true; }))); crossSystems = nixpkgsName: nixpkgs: compiler-nix-name: # We need to use the actual nixpkgs version we're working with here, since the values # of 'lib.systems.examples' are not understood between all versions let lib = nixpkgs.lib; in lib.optionalAttrs (nixpkgsName == "unstable" - && (__match ".*llvm" compiler-nix-name == null) - && ((system == "x86_64-linux" && !builtins.elem compiler-nix-name ["ghc884" "ghc902" "ghc928" "ghc948"]) - || (system == "aarch64-linux" && !builtins.elem compiler-nix-name ["ghc884" "ghc902" "ghc928" "ghc948"]) - || (system == "x86_64-darwin" && !builtins.elem compiler-nix-name ["ghc884" "ghc902" "ghc928" "ghc948" "ghc966" "ghc982"]) - || (system == "aarch64-darwin" && !builtins.elem compiler-nix-name ["ghc884" "ghc902" "ghc928" "ghc948" "ghc966" "ghc982"]) - )) { - inherit (lib.systems.examples) ghcjs; - } // lib.optionalAttrs ( - (__match ".*llvm" compiler-nix-name == null) - && ((system == "x86_64-linux" && !builtins.elem compiler-nix-name ["ghc884" "ghc902" "ghc928" "ghc91120240918"]) # Including GHC HEAD here because the patches for rts/RtsSymbols.c no longer apply and mingwW64 GHC build fails without them - || (system == "x86_64-darwin" && builtins.elem compiler-nix-name []))) { # TODO add ghc versions when we have more darwin build capacity - inherit (lib.systems.examples) mingwW64; - } // lib.optionalAttrs (nixpkgsName == "unstable" - && (__match ".*llvm" compiler-nix-name == null) - && ((system == "x86_64-linux" && !builtins.elem compiler-nix-name ["ghc884" "ghc8107" "ghc902" "ghc928" "ghc948"]) - || (system == "x86_64-darwin" && builtins.elem compiler-nix-name []))) { # TODO add ghc versions when we have more darwin build capacity - inherit (lib.systems.examples) ucrt64; - } // lib.optionalAttrs (system == "x86_64-linux" && nixpkgsName == "unstable" && !builtins.elem compiler-nix-name ["ghc884" "ghc902" "ghc928" "ghc948"]) { - # Musl cross only works on linux - # aarch64 cross only works on linux - inherit (lib.systems.examples) musl64 aarch64-multiplatform; - } // lib.optionalAttrs (system == "x86_64-linux" && nixpkgsName == "unstable" && builtins.elem compiler-nix-name ["ghc927" "ghc928"]) { - # TODO fix this for the compilers we build with hadrian (ghc >=9.4) - inherit (lib.systems.examples) aarch64-multiplatform-musl; - } // lib.optionalAttrs (system == "aarch64-linux" && nixpkgsName == "unstable" && !builtins.elem compiler-nix-name ["ghc884" "ghc8107" "ghc902"]) { - inherit (lib.systems.examples) aarch64-multiplatform-musl; - }; + && __match ".*llvm" compiler-nix-name == null + && builtins.elem system ["aarch64-linux" "x86_64-linux"]) { + static = p: p.pkgsStatic; + } // lib.optionalAttrs (nixpkgsName == "unstable" + && (__match ".*llvm" compiler-nix-name == null) + && !builtins.elem compiler-nix-name ["ghc9102"]) { + inherit (lib.systems.examples) ghcjs; + } // lib.optionalAttrs (nixpkgsName == "unstable" + && (__match ".*llvm" compiler-nix-name == null) + && !builtins.elem compiler-nix-name ["ghc967" "ghc984" "ghc9102"] + && system != "x86_64-darwin") { + inherit (lib.systems.examples) wasi32; + } // lib.optionalAttrs (nixpkgsName == "unstable" + && (__match ".*llvm" compiler-nix-name == null) + && ((system == "x86_64-linux" && !builtins.elem compiler-nix-name ["ghc902" "ghc928"]) + || (system == "x86_64-darwin" && builtins.elem compiler-nix-name []))) { # TODO add ghc versions when we have more darwin build capacity + inherit (lib.systems.examples) mingwW64; + } // lib.optionalAttrs (nixpkgsName == "unstable" + && (__match ".*llvm" compiler-nix-name == null) + && ((system == "x86_64-linux" && !builtins.elem compiler-nix-name ["ghc8107" "ghc902" "ghc928" "ghc948"]) + || (system == "x86_64-darwin" && builtins.elem compiler-nix-name []))) { # TODO add ghc versions when we have more darwin build capacity + inherit (lib.systems.examples) ucrt64; + } // lib.optionalAttrs (system == "x86_64-linux" && nixpkgsName == "unstable" && !builtins.elem compiler-nix-name ["ghc902" "ghc928" "ghc948"]) { + # Musl cross only works on linux + # aarch64 cross only works on linux + inherit (lib.systems.examples) musl64 aarch64-multiplatform; + } // lib.optionalAttrs (__match ".*llvm" compiler-nix-name == null && system == "x86_64-linux" && nixpkgsName == "unstable" && !builtins.elem compiler-nix-name ["ghc902" "ghc928" "ghc948"]) { + # Out llvm versions of GHC seem to break for musl32 + inherit (lib.systems.examples) musl32; + } // lib.optionalAttrs (system == "x86_64-linux" && !builtins.elem compiler-nix-name ["ghc902" "ghc928" "ghc948"]) { + inherit (lib.systems.examples) aarch64-android-prebuilt; + } // lib.optionalAttrs (system == "x86_64-linux" && nixpkgsName != "unstable" && !builtins.elem compiler-nix-name ["ghc902" "ghc928" "ghc948" "ghc91320250523"]) { + inherit (lib.systems.examples) armv7a-android-prebuilt; + } // lib.optionalAttrs (system == "x86_64-linux" && nixpkgsName == "unstable" && !builtins.elem compiler-nix-name ["ghc8107" "ghc902"]) { + # TODO fix this for the compilers we build with hadrian (ghc >=9.4) + inherit (lib.systems.examples) aarch64-multiplatform-musl; + } // lib.optionalAttrs (system == "aarch64-linux" && nixpkgsName == "unstable" && !builtins.elem compiler-nix-name ["ghc8107" "ghc902"]) { + inherit (lib.systems.examples) aarch64-multiplatform-musl; + }; isDisabled = d: d.meta.disabled or false; in dimension "Nixpkgs version" nixpkgsVersions (nixpkgsName: pinnedNixpkgsSrc: @@ -119,22 +135,31 @@ dimension "Nixpkgs version" nixpkgsVersions (nixpkgsName: pinnedNixpkgsSrc: # Native builds # TODO: can we merge this into the general case by picking an appropriate "cross system" to mean native? native = pkgs.recurseIntoAttrs ({ - roots = pkgs.haskell-nix.roots' compiler-nix-name ifdLevel; - ghc = pkgs.buildPackages.haskell-nix.compiler.${compiler-nix-name}; + roots = pkgs.haskell-nix.roots' { inherit compiler-nix-name evalPackages; } ifdLevel; } // pkgs.lib.optionalAttrs runTests { inherit (build) tests tools maintainer-scripts maintainer-script-cache; - } // pkgs.lib.optionalAttrs (ifdLevel >= 3) { - hello = (pkgs.haskell-nix.hackage-package { name = "hello"; version = "1.0.0.2"; inherit evalPackages compiler-nix-name; }).getComponent "exe:hello"; + } // pkgs.lib.optionalAttrs (ifdLevel >= 3) rec { + hello = (pkgs.haskell-nix.hackage-package ({ name = "hello"; version = "1.0.0.2"; inherit evalPackages compiler-nix-name; } + // lib.optionalAttrs (builtins.compareVersions pkgs.buildPackages.haskell-nix.compiler.${compiler-nix-name}.version "9.13" >= 0) { + shell.tools.hoogle.cabalProjectLocal = '' + allow-newer: *:* + ''; + })).getComponent "exe:hello"; + # Make sure the default shell tools (hoogle) are built + simple-shell = (hello.project.flake {}).devShells.default; }); } // dimension "Cross system" (crossSystems nixpkgsName evalPackages compiler-nix-name) (crossSystemName: crossSystem: - # Cross builds - let pkgs = import pinnedNixpkgsSrc (nixpkgsArgs // { inherit system crossSystem; }); + let pkgs = + if builtins.isAttrs crossSystem + then import pinnedNixpkgsSrc (nixpkgsArgs // { inherit system crossSystem; }) + else crossSystem (import pinnedNixpkgsSrc (nixpkgsArgs // { inherit system; })); build = import ./build.nix { inherit pkgs evalPackages ifdLevel compiler-nix-name haskellNix; }; in pkgs.recurseIntoAttrs (pkgs.lib.optionalAttrs (ifdLevel >= 1) ({ - roots = pkgs.haskell-nix.roots' compiler-nix-name ifdLevel; - ghc = pkgs.buildPackages.haskell-nix.compiler.${compiler-nix-name}; + roots = pkgs.haskell-nix.roots' { inherit compiler-nix-name evalPackages; } ifdLevel // { + ghc = pkgs.buildPackages.haskell-nix.compiler.${compiler-nix-name}.override { ghcEvalPackages = evalPackages; }; + }; # TODO: look into cross compiling ghc itself # ghc = pkgs.haskell-nix.compiler.${compiler-nix-name}; # TODO: look into making tools work when cross compiling @@ -143,7 +168,7 @@ dimension "Nixpkgs version" nixpkgsVersions (nixpkgsName: pinnedNixpkgsSrc: inherit (build) tests; }) # GHCJS builds its own template haskell runner. - // pkgs.lib.optionalAttrs (ifdLevel >= 2 && crossSystemName != "ghcjs") + // pkgs.lib.optionalAttrs (ifdLevel >= 2 && !builtins.elem crossSystemName ["ghcjs" "wasi32"]) pkgs.haskell-nix.iserv-proxy-exes.${compiler-nix-name} // pkgs.lib.optionalAttrs (ifdLevel >= 3) { hello = (pkgs.haskell-nix.hackage-package { name = "hello"; version = "1.0.0.2"; inherit evalPackages compiler-nix-name; }).getComponent "exe:hello"; diff --git a/compiler/ghc/default.nix b/compiler/ghc/default.nix index ef2c6b34b5..4eb98d1eed 100644 --- a/compiler/ghc/default.nix +++ b/compiler/ghc/default.nix @@ -9,7 +9,8 @@ let self = # build-tools , bootPkgs , buildPackages -, autoconf, automake, coreutils, fetchurl, fetchpatch, perl, python3, m4, sphinx, numactl, elfutils, libcxx, libcxxabi +, pkgsBuildBuild +, autoconf, automake, coreutils, fetchurl, fetchpatch, perl, python3, m4, sphinx, numactl, elfutils, libcxx, libcxxabi ? throw "No libcxxabi" , autoreconfHook , bash @@ -21,7 +22,7 @@ let self = libffi ? null , # we don't need LLVM for x86, aarch64, or ghcjs - useLLVM ? with stdenv.targetPlatform; !(isx86 || isAarch64 || isGhcjs) + useLLVM ? with stdenv.targetPlatform; !(isx86 || isAarch64 || isGhcjs || isWasm) , # LLVM is conceptually a run-time-only dependency, but for # non-x86, we need LLVM to bootstrap later stages, so it becomes a # build-time dependency too. @@ -39,15 +40,15 @@ let self = , # Whether to build dynamic libs for the standard library (on the target # platform). Static libs are always built. - enableShared ? !haskell-nix.haskellLib.isCrossTarget + enableShared ? !haskell-nix.haskellLib.isCrossTarget && !stdenv.targetPlatform.isStatic || stdenv.targetPlatform.isWasm , enableLibraryProfiling ? true , enableDWARF ? false -, enableTerminfo ? +, enableTerminfo ? !stdenv.targetPlatform.isAndroid && # Terminfo does not work on older ghc cross arm and windows compilers - (!haskell-nix.haskellLib.isCrossTarget || !(stdenv.targetPlatform.isAarch64 || stdenv.targetPlatform.isWindows) || builtins.compareVersions ghc-version "8.10" >= 0) + (!haskell-nix.haskellLib.isCrossTarget || !(stdenv.targetPlatform.isAarch32 || stdenv.targetPlatform.isAarch64 || stdenv.targetPlatform.isWindows) || builtins.compareVersions ghc-version "8.10" >= 0) , # Wheter to build in NUMA support enableNUMA ? true @@ -62,7 +63,7 @@ let self = , # Whether to disable the large address space allocator # necessary fix for iOS: https://www.reddit.com/r/haskell/comments/4ttdz1/building_an_osxi386_to_iosarm64_cross_compiler/d5qvd67/ - disableLargeAddressSpace ? stdenv.targetPlatform.isDarwin && stdenv.targetPlatform.isAarch64 + disableLargeAddressSpace ? stdenv.targetPlatform.isDarwin && stdenv.targetPlatform.isAarch64 || stdenv.targetPlatform.isAndroid , useLdGold ? # might be better check to see if cc is clang/llvm? @@ -76,7 +77,7 @@ let self = # don't use gold with with musl. Still seems to be # affected by 22266. && !stdenv.targetPlatform.isMusl) - +, useLdLld ? false , ghc-version ? src-spec.version , ghc-version-date ? null , ghc-commit-id ? null @@ -85,6 +86,17 @@ let self = # extra values we want to have available as passthru values. , extra-passthru ? {} + +# For running IFDs (used to evaluate build plans of tools involved in building GHC). +# +# Currently used for: +# * hadrian +# * libffi-wasm +# * cabal (if we start using `cabal` to build GHC) +# +# We use this instead of `buildPackages` so that plan evaluation +# can work on platforms other than the `buildPlatform`. +, ghcEvalPackages ? pkgsBuildBuild }@args: assert !(enableIntegerSimple || enableNativeBignum) -> gmp != null; @@ -93,13 +105,17 @@ assert !(enableIntegerSimple || enableNativeBignum) -> gmp != null; assert enableNativeBignum -> !enableIntegerSimple; assert enableIntegerSimple -> !enableNativeBignum; +assert !(useLdGold && useLdLld); + let src = src-spec.file or (fetchurl { inherit (src-spec) url sha256; }); inherit (stdenv) buildPlatform hostPlatform targetPlatform; inherit (haskell-nix.haskellLib) isCrossTarget; - inherit (bootPkgs) ghc; + ghc = if bootPkgs.ghc.isHaskellNixCompiler or false + then bootPkgs.ghc.override { inherit ghcEvalPackages; } + else bootPkgs.ghc; ghcHasNativeBignum = builtins.compareVersions ghc-version "9.0" >= 0; hadrianHasNativeBignumFlavour = builtins.compareVersions ghc-version "9.6" >= 0; @@ -113,6 +129,42 @@ let INTEGER_LIBRARY = ${if enableIntegerSimple then "integer-simple" else "integer-gmp"} ''; + nodejs = pkgsBuildBuild.nodejs_24; + + libffi-wasm = pkgsBuildBuild.runCommand "libffi-wasm" { + nativeBuildInputs = [ + (pkgsBuildBuild.haskell-nix.tool "ghc912" "libffi-wasm" { + src = pkgsBuildBuild.haskell-nix.sources.libffi-wasm; + evalPackages = ghcEvalPackages; + }) + targetPackages.buildPackages.llvmPackages.clang + targetPackages.buildPackages.llvmPackages.llvm + pkgsBuildBuild.binaryen + ]; + outputs = ["out" "dev"]; + NIX_NO_SELF_RPATH = true; + } '' + mkdir cbits + cp ${pkgsBuildBuild.haskell-nix.sources.libffi-wasm}/cbits/* cbits/ + libffi-wasm + wasm32-unknown-wasi-clang -Wall -Wextra -mcpu=mvp -Oz -DNDEBUG -Icbits -c cbits/ffi.c -o cbits/ffi.o + wasm32-unknown-wasi-clang -Wall -Wextra -mcpu=mvp -Oz -DNDEBUG -Icbits -c cbits/ffi_call.c -o cbits/ffi_call.o + wasm32-unknown-wasi-clang -Wall -Wextra -mcpu=mvp -Oz -DNDEBUG -Icbits -c cbits/ffi_closure.c -o cbits/ffi_closure.o + + mkdir -p $dev/include + cp cbits/*.h $dev/include + mkdir -p $out/lib + llvm-ar -r $out/lib/libffi.a cbits/*.o + + wasm32-unknown-wasi-clang -Wall -Wextra -mcpu=mvp -Oz -DNDEBUG -Icbits -fPIC -fvisibility=default -shared -Wl,--keep-section=target_features,--strip-debug cbits/*.c -o libffi.so + wasm-opt --low-memory-unused --converge --debuginfo --flatten --rereloop --gufa -O4 -Oz libffi.so -o $out/lib/libffi.so + ''; + + lib-wasm = pkgsBuildBuild.symlinkJoin { + name = "lib-wasm"; + paths = [ targetPackages.wasilibc libffi-wasm ]; + }; + # TODO check if this possible fix for segfaults works or not. targetLibffi = # on native platforms targetPlatform.{libffi, gmp} do not exist; thus fall back @@ -120,7 +172,9 @@ let let targetLibffi = targetPackages.libffi or libffi; in # we need to set `dontDisableStatic` for musl for libffi to work. if stdenv.targetPlatform.isMusl - then targetLibffi.overrideAttrs (_old: { dontDisableStatic = true; }) + then targetLibffi.overrideAttrs (_old: { dontDisableStatic = true; }) + else if stdenv.targetPlatform.isWasm + then libffi-wasm else targetLibffi; targetGmp = targetPackages.gmp or gmp; @@ -169,8 +223,9 @@ let WITH_TERMINFO=NO '' # musl doesn't have a system-linker. Only on x86, and on x86 we need it, as - # our elf linker for x86_64 is broken. - + lib.optionalString (targetPlatform.isAndroid || (targetPlatform.isMusl && !targetPlatform.isx86)) '' + # our elf linker for x86_64 is broken. The i686 one seems also to not exist. + # So it's really _just_ x86_64. + + lib.optionalString (targetPlatform.isAndroid || (targetPlatform.isMusl && !targetPlatform.isx86_64)) '' compiler_CONFIGURE_OPTS += --flags=-dynamic-system-linker '' # While split sections are now enabled by default in ghc 8.8 for windows, @@ -183,19 +238,23 @@ let SplitSections = NO '' + lib.optionalString (!enableLibraryProfiling) '' BUILD_PROF_LIBS = NO + '' + lib.optionalString (disableLargeAddressSpace) '' + libraries/base_CONFIGURE_OPTS += --configure-option=--with-libcharset=no ''; # `--with` flags for libraries needed for RTS linker configureFlags = [ "--datadir=$doc/share/doc/ghc" - ] ++ lib.optionals (!targetPlatform.isGhcjs) ["--with-curses-includes=${targetPackages.ncurses.dev}/include" "--with-curses-libraries=${targetPackages.ncurses.out}/lib" - ] ++ lib.optionals (targetLibffi != null && !targetPlatform.isGhcjs) ["--with-system-libffi" "--with-ffi-includes=${targetLibffi.dev}/include" "--with-ffi-libraries=${targetLibffi.out}/lib" - ] ++ lib.optionals (!enableIntegerSimple && !targetPlatform.isGhcjs) [ - "--with-gmp-includes=${targetGmp.dev}/include" "--with-gmp-libraries=${targetGmp.out}/lib" + ] ++ lib.optionals (!targetPlatform.isGhcjs && !targetPlatform.isWasm && !targetPlatform.isAndroid) ["--with-curses-includes=${lib.getDev targetPackages.ncurses}/include" "--with-curses-libraries=${lib.getLib targetPackages.ncurses}/lib" + ] ++ lib.optionals (targetLibffi != null && !targetPlatform.isGhcjs && !targetPlatform.isWasm) ["--with-system-libffi" "--with-ffi-includes=${lib.getDev targetLibffi}/include" "--with-ffi-libraries=${lib.getLib targetLibffi}/lib" + ] ++ lib.optionals (targetPlatform.isWasm) [ + "--with-system-libffi" + ] ++ lib.optionals (!enableIntegerSimple && !targetPlatform.isGhcjs && !targetPlatform.isWasm) [ + "--with-gmp-includes=${lib.getDev targetGmp}/include" "--with-gmp-libraries=${lib.getLib targetGmp}/lib" ] ++ lib.optionals (targetPlatform == hostPlatform && hostPlatform.libc != "glibc" && !targetPlatform.isWindows) [ - "--with-iconv-includes=${libiconv}/include" "--with-iconv-libraries=${libiconv}/lib" - ] ++ lib.optionals (targetPlatform != hostPlatform && !targetPlatform.isGhcjs) [ - "--with-iconv-includes=${targetIconv}/include" "--with-iconv-libraries=${targetIconv}/lib" + "--with-iconv-includes=${lib.getDev libiconv}/include" "--with-iconv-libraries=${lib.getLib libiconv}/lib" + ] ++ lib.optionals (targetPlatform != hostPlatform && !targetPlatform.isGhcjs && !targetPlatform.isWasm) [ + "--with-iconv-includes=${lib.getDev targetIconv}/include" "--with-iconv-libraries=${lib.getLib targetIconv}/lib" ] ++ lib.optionals (targetPlatform != hostPlatform) [ "--enable-bootstrap-with-devel-snapshot" ] ++ lib.optionals (disableLargeAddressSpace) [ @@ -205,6 +264,11 @@ let "CONF_GCC_LINKER_OPTS_STAGE1=-fuse-ld=gold" "CONF_GCC_LINKER_OPTS_STAGE2=-fuse-ld=gold" "CONF_LD_LINKER_OPTS_STAGE2=-fuse-ld=gold" # See: + ] ++ lib.optionals useLdLld [ + "LD=${llvmPackages.bintools}/bin/ld.lld" + "CFLAGS=-fuse-ld=lld" + "CONF_GCC_LINKER_OPTS_STAGE1=-fuse-ld=lld" + "CONF_GCC_LINKER_OPTS_STAGE2=-fuse-ld=lld" ] ++ lib.optionals enableDWARF [ "--enable-dwarf-unwind" "--with-libdw-includes=${lib.getDev elfutils}/include" @@ -216,23 +280,24 @@ let # https://gitlab.haskell.org/ghc/ghc/-/issues/23188 # https://github.com/haskell/cabal/issues/8882 "fp_cv_prog_ar_supports_dash_l=no" - ] ++ lib.optional (targetPlatform.isGhcjs) "--target=javascript-unknown-ghcjs"; # TODO use configurePlatforms once tripple is updated in nixpkgs + ] ++ lib.optionals (targetPlatform.isDarwin) [ + "--without-libcharset" + ] ++ lib.optional (targetPlatform.isGhcjs) "--target=javascript-unknown-ghcjs" # TODO use configurePlatforms once tripple is updated in nixpkgs + ; # Splicer will pull out correct variations - libDeps = platform: lib.optional (enableTerminfo && !targetPlatform.isGhcjs) [ targetPackages.ncurses targetPackages.ncurses.dev ] + libDeps = platform: lib.optionals (enableTerminfo && !targetPlatform.isGhcjs && !targetPlatform.isWasm && !targetPlatform.isAndroid) [ (lib.getLib targetPackages.ncurses) (lib.getDev targetPackages.ncurses) ] ++ lib.optional (!targetPlatform.isGhcjs) targetLibffi - ++ lib.optional (!enableIntegerSimple && !targetPlatform.isGhcjs) gmp - ++ lib.optional (platform.libc != "glibc" && !targetPlatform.isWindows) libiconv + ++ lib.optional (!enableIntegerSimple && !targetPlatform.isGhcjs && !targetPlatform.isWasm) gmp + ++ lib.optional (platform.libc != "glibc" && !targetPlatform.isWindows && !targetPlatform.isWasm) libiconv ++ lib.optional (enableNUMA && platform.isLinux && !platform.isAarch32 && !platform.isAndroid) numactl - # Even with terminfo disabled some older ghc cross arm and windows compilers do not build unless `ncurses` is found and they seem to want the buildPlatform version - ++ lib.optional (!enableTerminfo && haskell-nix.haskellLib.isCrossTarget && (stdenv.targetPlatform.isAarch64 || stdenv.targetPlatform.isWindows) && builtins.compareVersions ghc-version "8.10" < 0) ncurses.dev ++ lib.optional enableDWARF (lib.getLib elfutils); toolsForTarget = if targetPlatform.isGhcjs then [ buildPackages.emscripten ] else if hostPlatform == buildPlatform - then [ targetPackages.stdenv.cc ] ++ lib.optionals useLLVM [llvmPackages.llvm llvmPackages.clang] + then [ targetPackages.stdenv.cc ] ++ lib.optionals useLLVM ([llvmPackages.llvm] ++ lib.optional (!targetPlatform.useAndroidPrebuilt) llvmPackages.clang) else assert targetPlatform == hostPlatform; # build != host == target [ stdenv.cc ] ++ lib.optional useLLVM buildLlvmPackages.llvm; @@ -244,39 +309,26 @@ let # for musl only; but I'd like to stay far away from the unnecessary # bindist logic as we can. It's slow, and buggy, and doesn't provide any # value for us. - installStage1 = useHadrian && (haskell-nix.haskellLib.isCrossTarget || stdenv.targetPlatform.isMusl); + installStage1 = useHadrian && (with haskell-nix.haskellLib; isCrossTarget || isNativeMusl); - hadrian = + hadrianProject = let compiler-nix-name = if builtins.compareVersions ghc-version "9.4.7" < 0 then "ghc928" - else if buildPackages.haskell.compiler ? ghc964 + else if pkgsBuildBuild.haskell.compiler ? ghc967 + then "ghc967" + else if pkgsBuildBuild.haskell.compiler ? ghc966 + then "ghc966" + else if pkgsBuildBuild.haskell.compiler ? ghc964 then "ghc964" else "ghc962"; in - buildPackages.haskell-nix.tool compiler-nix-name "hadrian" { + pkgsBuildBuild.haskell-nix.cabalProject' ({ + inherit compiler-nix-name; + name = "hadrian"; compilerSelection = p: p.haskell.compiler; - index-state = buildPackages.haskell-nix.internalHackageIndexState; - # Verions of hadrian that comes with 9.6 depends on `time` - materialized = - if builtins.compareVersions ghc-version "9.4" < 0 - then ../../materialized/${compiler-nix-name}/hadrian-ghc92 - else if builtins.compareVersions ghc-version "9.4.8" < 0 - then ../../materialized/${compiler-nix-name}/hadrian-ghc947 - else if builtins.compareVersions ghc-version "9.6" < 0 - then ../../materialized/${compiler-nix-name}/hadrian-ghc94 - else if builtins.compareVersions ghc-version "9.6.5" < 0 - then ../../materialized/${compiler-nix-name}/hadrian-ghc964 - else if builtins.compareVersions ghc-version "9.8" < 0 - then ../../materialized/${compiler-nix-name}/hadrian-ghc96 - else if builtins.compareVersions ghc-version "9.8.2" < 0 - then ../../materialized/${compiler-nix-name}/hadrian-ghc981 - else if builtins.compareVersions ghc-version "9.9" < 0 - then ../../materialized/${compiler-nix-name}/hadrian-ghc98 - else if builtins.compareVersions ghc-version "9.11" < 0 - then ../../materialized/${compiler-nix-name}/hadrian-ghc910 - else null; + evalPackages = ghcEvalPackages; modules = [{ reinstallableLibGhc = false; # Apply the patches in a way that does not require using something @@ -294,7 +346,8 @@ let cabalProjectFreeze = null; src = haskell-nix.haskellLib.cleanSourceWith { src = { - outPath = buildPackages.srcOnly { + outPath = pkgsBuildBuild.srcOnly { + stdenv = pkgsBuildBuild.stdenvNoCC; name = "hadrian"; inherit src; }; @@ -303,19 +356,35 @@ let subDir = "hadrian"; includeSiblings = true; }; - }; + # When building the plan we do not need a patched version + # of the source and `pkgsBuildBuild.srcOnly` requires introduces + # a dependency on a build machine. + evalSrc = haskell-nix.haskellLib.cleanSourceWith { + src = { + name = "hadrian"; + outPath = src; + filterPath = { path, ... }: path; + }; + subDir = "hadrian"; + includeSiblings = true; + }; + } // lib.optionalAttrs (builtins.compareVersions ghc-version "9.6" < 0) { + index-state = "2024-10-17T00:00:00Z"; + }); + + hadrian = hadrianProject.hsPkgs.hadrian.components.exes.hadrian; # For a discription of hadrian command line args # see https://gitlab.haskell.org/ghc/ghc/blob/master/hadrian/README.md # For build flavours and flavour transformers # see https://gitlab.haskell.org/ghc/ghc/blob/master/hadrian/doc/flavours.md hadrianArgs = "--flavour=${ - (if targetPlatform.isGhcjs then "quick" else "default") - + lib.optionalString (!enableShared) "+no_dynamic_ghc" + (if targetPlatform.isGhcjs || targetPlatform.isWasm then "quick" else "default") + + lib.optionalString (!enableShared) "+no_dynamic_libs+no_dynamic_ghc" + lib.optionalString useLLVM "+llvm" + lib.optionalString enableDWARF "+debug_info" - + lib.optionalString ((enableNativeBignum && hadrianHasNativeBignumFlavour) || targetPlatform.isGhcjs) "+native_bignum" - + lib.optionalString targetPlatform.isGhcjs "+no_profiled_libs" + + lib.optionalString ((enableNativeBignum && hadrianHasNativeBignumFlavour) || targetPlatform.isGhcjs || targetPlatform.isWasm) "+native_bignum" + + lib.optionalString (targetPlatform.isGhcjs || targetPlatform.isWasm) "+no_profiled_libs" } --docs=no-sphinx -j --verbose" # This is needed to prevent $GCC from emitting out of line atomics. # Those would then result in __aarch64_ldadd1_sync and others being referenced, which @@ -327,11 +396,20 @@ let + lib.optionalString (!hostPlatform.isAarch64 && targetPlatform.isLinux && targetPlatform.isAarch64) " '*.rts.ghc.c.opts += -optc-mno-outline-atomics'" # PIC breaks GHC annotations on windows (see test/annotations for a test case) - + lib.optionalString (enableRelocatedStaticLibs && !targetPlatform.isWindows) + + lib.optionalString (enableRelocatedStaticLibs && !targetPlatform.isWindows && !targetPlatform.isWasm) " '*.*.ghc.*.opts += -fPIC' '*.*.cc.*.opts += -fPIC'" + # C options for wasm + + lib.optionalString targetPlatform.isWasm ( + " 'stage1.*.ghc.*.opts += -optc-Wno-error=int-conversion -optc-O3 -optc-mcpu=lime1 -optc-mreference-types -optc-msimd128 -optc-DXXH_NO_XXH3'" + + " 'stage1.*.ghc.cpp.opts += -optc-fno-exceptions'") # `-fexternal-dynamic-refs` causes `undefined reference` errors when building GHC cross compiler for windows + lib.optionalString (enableRelocatedStaticLibs && targetPlatform.isx86_64 && !targetPlatform.isWindows) " '*.*.ghc.*.opts += -fexternal-dynamic-refs'" + # With the latest nixpkgs mixing `struct utimbuf` and `struct _utimbuf` causes an error without this + + lib.optionalString (targetPlatform.isWindows) ( + if builtins.compareVersions ghc-version "9.10" >= 0 + then " '*.ghc-internal.ghc.*.opts += -optc-Wno-incompatible-pointer-types'" + else " '*.base.ghc.*.opts += -optc-Wno-incompatible-pointer-types'") # The fact that we need to set this here is pretty idiotic. GHC should figure this out on it's own. # Either have a runtime flag/setting to disable it or if dlopen fails, remember that it failed and # fall back to non-dynamic. We only have dynamic linker with musl if host and target arch match. @@ -339,7 +417,14 @@ let " '*.ghc.cabal.configure.opts += --flags=-dynamic-system-linker'" # The following is required if we build on aarch64-darwin for aarch64-iOS. Otherwise older # iPhones/iPads/... won't understand the compiled code, as the compiler will emit LDSETALH - # + lib.optionalString (targetPlatform.???) "'*.rts.ghc.c.opts += -optc-mcpu=apple-a7 -optc-march=armv8-a+norcpc'" + # FIXME: we should have iOS as an argument to this derivation, and then make this, as well as + # disableLargeAddress space conditional on iOS = true. + + lib.optionalString (stdenv.targetPlatform.isDarwin && stdenv.targetPlatform.isAarch64) + " '*.*.ghc.c.opts += -optc-mcpu=apple-a7 -optc-march=armv8-a+norcpc'" + + lib.optionalString (targetPlatform.isAndroid && targetPlatform.isAarch32) + " 'stage1.*.ghc.c.opts += -optc-march=armv7-a -optc-mfloat-abi=softfp -optc-mfpu=vfpv3-d16'" + + lib.optionalString (targetPlatform.isAndroid && targetPlatform.isAarch64) + " 'stage1.*.ghc.c.opts += -optc-march=armv8-a'" # For GHC versions in the 9.x range that don't support the +native_bignum flavour transformer yet + lib.optionalString ((enableNativeBignum && !hadrianHasNativeBignumFlavour)) " --bignum=native" @@ -372,7 +457,7 @@ let }; in -stdenv.mkDerivation (rec { +haskell-nix.haskellLib.makeCompilerDeps (stdenv.mkDerivation (rec { version = ghc-version; name = "${targetPrefix}ghc-${version}" + lib.optionalString (useLLVM) "-llvm"; @@ -402,9 +487,9 @@ stdenv.mkDerivation (rec { export CXX="${targetCC}/bin/em++" export LD="${targetCC}/bin/emcc" '' + ( - # Including AR and RANLIB here breaks tests.js-template-haskell for GHC 9.6 + # Including AR and RANLIB here breaks tests.js-template-haskell for GHC <9.12 # `LLVM ERROR: malformed uleb128, extends past end` - if builtins.compareVersions ghc-version "9.8" >= 0 + if builtins.compareVersions ghc-version "9.12" >= 0 then '' export AR="${targetCC}/bin/emar" export NM="${targetCC}/share/emscripten/emnm" @@ -415,17 +500,43 @@ stdenv.mkDerivation (rec { '' ) + '' export EM_CACHE=$(mktemp -d) + if [ -d ${targetCC}/share/emscripten/cache ]; then + cp -r ${targetCC}/share/emscripten/cache/* $EM_CACHE/ + chmod +w -R $EM_CACHE + fi mv config.sub.ghcjs config.sub '') + + lib.optionalString (targetPlatform.isWasm) '' + export CC="${targetCC}/bin/${targetCC.targetPrefix}cc" + export CXX="${targetCC}/bin/${targetCC.targetPrefix}c++" + export LD="${buildPackages.llvmPackages.lld}/bin/wasm-ld" + export AS="${targetCC.bintools.bintools}/bin/${targetCC.bintools.targetPrefix}as" + export AR="${targetCC.bintools.bintools}/bin/${targetCC.bintools.targetPrefix}ar" + export NM="${targetCC.bintools.bintools}/bin/${targetCC.bintools.targetPrefix}nm" + export RANLIB="${targetCC.bintools.bintools}/bin/${targetCC.bintools.targetPrefix}ranlib" + export READELF="${targetCC.bintools.bintools}/bin/${targetCC.bintools.targetPrefix}readelf" + export STRIP="${bintoolsFor.strip}/bin/${bintoolsFor.strip.targetPrefix}strip" + export NIX_CFLAGS_COMPILE_FOR_BUILD+=" -I${lib.getDev libffi}/include -L${lib.getLib libffi}/lib" + export NIX_CFLAGS_COMPILE_FOR_TARGET+=" -I${lib.getDev targetLibffi}/include -L${lib.getLib targetLibffi}/lib" + ${if ghc-version == "9.12.2" + then '' + substituteInPlace compiler/GHC.hs --replace-fail "panic \"corrupted wasi-sdk installation\"" "pure \"${targetPackages.wasilibc}\"" + '' else '' + substituteInPlace compiler/GHC.hs --replace-fail "last <\$> Loader.getGccSearchDirectory logger dflags \"libraries\"" "pure \"${targetPackages.wasilibc}\"" + ''} + '' # GHC is a bit confused on its cross terminology, as these would normally be # the *host* tools. - + lib.optionalString (!targetPlatform.isGhcjs) ('' + + lib.optionalString (!targetPlatform.isGhcjs && !targetPlatform.isWasm) ('' export CC="${targetCC}/bin/${targetCC.targetPrefix}cc" export CXX="${targetCC}/bin/${targetCC.targetPrefix}c++" '' # Use gold to work around https://sourceware.org/bugzilla/show_bug.cgi?id=16177 + '' - export LD="${targetCC.bintools}/bin/${targetCC.bintools.targetPrefix}ld${lib.optionalString useLdGold ".gold"}" + export LD="${if useLdLld then + "${targetPackages.llvmPackages.bintools}/bin/${targetPackages.llvmPackages.bintools.targetPrefix}ld.lld" + else + "${targetCC.bintools}/bin/${targetCC.bintools.targetPrefix}ld${lib.optionalString useLdGold ".gold"}"}" export AS="${targetCC.bintools.bintools}/bin/${targetCC.bintools.targetPrefix}as" export AR="${targetCC.bintools.bintools}/bin/${targetCC.bintools.targetPrefix}ar" export NM="${targetCC.bintools.bintools}/bin/${targetCC.bintools.targetPrefix}nm" @@ -434,11 +545,17 @@ stdenv.mkDerivation (rec { export STRIP="${bintoolsFor.strip}/bin/${bintoolsFor.strip.targetPrefix}strip" '' + lib.optionalString (stdenv.targetPlatform.linker == "cctools") '' export OTOOL="${targetCC.bintools.bintools}/bin/${targetCC.bintools.targetPrefix}otool" - export INSTALL_NAME_TOOL="${bintoolsFor.install_name_tool}/bin/${bintoolsFor.install_name_tool.targetPrefix}install_name_tool" + if [ -f ${targetCC}/bin/${targetCC.targetPrefix}install_name_tool ]; then + export INSTALL_NAME_TOOL="${targetCC}/bin/${targetCC.targetPrefix}install_name_tool" + else + export INSTALL_NAME_TOOL="${bintoolsFor.install_name_tool}/bin/${bintoolsFor.install_name_tool.targetPrefix}install_name_tool" + fi '') + lib.optionalString (targetPlatform == hostPlatform && useLdGold) # set LD explicitly if we want gold even if we aren't cross compiling '' export LD="${targetCC.bintools}/bin/ld.gold" + '' + lib.optionalString (targetPlatform == hostPlatform && useLdLld) '' + export LD="${llvmPackages.bintools}/bin/ld.lld" '' + lib.optionalString (targetPlatform.isWindows) '' export DllWrap="${targetCC.bintools.bintools}/bin/${targetCC.bintools.targetPrefix}dllwrap" export Windres="${targetCC.bintools.bintools}/bin/${targetCC.bintools.targetPrefix}windres" @@ -452,7 +569,10 @@ stdenv.mkDerivation (rec { export NIX_LDFLAGS+=" -rpath $out/lib/${targetPrefix}ghc-${ghc-version}" '' + lib.optionalString stdenv.isDarwin '' export NIX_LDFLAGS+=" -no_dtrace_dof" - '' + lib.optionalString targetPlatform.useAndroidPrebuilt '' + '' + + # we really want "+armv7-a,+soft-float,+neon" as features, but llvm will + # fail with those :facepalm: + lib.optionalString targetPlatform.useAndroidPrebuilt '' sed -i -e '5i ,("armv7a-unknown-linux-androideabi", ("e-m:e-p:32:32-i64:64-v128:64:128-a:0:32-n32-S64", "cortex-a8", ""))' llvm-targets '' + lib.optionalString targetPlatform.isMusl '' echo "patching llvm-targets for musl targets..." @@ -489,7 +609,33 @@ stdenv.mkDerivation (rec { configurePlatforms = [ "build" "host" ] ++ lib.optional (!targetPlatform.isGhcjs) "target"; enableParallelBuilding = true; - postPatch = "patchShebangs ."; + postPatch = '' + patchShebangs . + '' + lib.optionalString (targetPlatform.isWasm) '' + substituteInPlace utils/jsffi/dyld.mjs \ + --replace \ + "${nodejs}/bin/node --disable-warning=ExperimentalWarning ${ + if builtins.compareVersions ghc-version "9.13" < 0 + then "--experimental-wasm-type-reflection" + else "--max-old-space-size=65536"} --no-turbo-fast-api-calls --wasm-lazy-validation" \ + "${pkgsBuildBuild.writeShellScriptBin "node" '' + SCRIPT=$1 + shift + LIB_WASM=$1 + shift + exec ${nodejs}/bin/node \ + --disable-warning=ExperimentalWarning \ + ${ + if builtins.compareVersions ghc-version "9.13" < 0 + then "--experimental-wasm-type-reflection" + else "--max-old-space-size=65536"} \ + --wasm-lazy-validation \ + "$SCRIPT" \ + "${lib-wasm}/lib" \ + "$@" + '' + }/bin/node" + ''; outputs = [ "out" "doc" "generated" ]; @@ -502,7 +648,9 @@ stdenv.mkDerivation (rec { nativeBuildInputs = [ perl autoconf automake m4 python3 sphinx ghc bootPkgs.alex bootPkgs.happy bootPkgs.hscolour - ] ++ lib.optional (patches != []) autoreconfHook; + ] ++ lib.optional (patches != []) autoreconfHook + ++ lib.optional useLdLld llvmPackages.bintools + ++ lib.optional (targetPlatform.isWasm) nodejs; # For building runtime libs depsBuildTarget = toolsForTarget; @@ -510,7 +658,9 @@ stdenv.mkDerivation (rec { buildInputs = [ perl bash ] ++ (libDeps hostPlatform); depsTargetTarget = lib.optionals (!targetPlatform.isGhcjs) (map lib.getDev (libDeps targetPlatform)); - depsTargetTargetPropagated = lib.optionals (!targetPlatform.isGhcjs) (map (lib.getOutput "out") (libDeps targetPlatform)); + depsTargetTargetPropagated = lib.optionals (!targetPlatform.isGhcjs) (map (lib.getOutput "out") (libDeps targetPlatform)) + # Needs to be propagated for `ffi.h` + ++ lib.optional targetPlatform.isWasm (lib.getDev targetLibffi); # required, because otherwise all symbols from HSffi.o are stripped, and # that in turn causes GHCi to abort @@ -522,12 +672,12 @@ stdenv.mkDerivation (rec { checkTarget = "test"; - hardeningDisable = [ "format" ] + hardeningDisable = [ "format" "stackprotector" ] ++ lib.optional stdenv.targetPlatform.isAarch32 "pic" ++ lib.optional stdenv.targetPlatform.isMusl "pie" ++ lib.optional enableDWARF "fortify"; - postInstall = lib.optionalString (enableNUMA && targetPlatform.isLinux) '' + postInstall = lib.optionalString (enableNUMA && targetPlatform.isLinux && !targetPlatform.isAarch32 && !targetPlatform.isAndroid) '' # Patch rts.conf to ensure libnuma can be found for file in $(find "$out/lib" -name "rts*.conf"); do @@ -653,7 +803,7 @@ stdenv.mkDerivation (rec { ''; passthru = { - inherit bootPkgs targetPrefix libDir llvmPackages enableShared useLLVM; + inherit bootPkgs targetPrefix libDir llvmPackages enableShared enableTerminfo useLLVM useLdLld hadrian hadrianProject; # Our Cabal compiler name haskellCompilerName = "ghc-${version}"; @@ -706,11 +856,6 @@ stdenv.mkDerivation (rec { for a in libraries/*/*.cabal.in utils/*/*.cabal.in compiler/ghc.cabal.in; do ${hadrian}/bin/hadrian ${hadrianArgs} "''${a%.*}" done - '' + lib.optionalString (ghc-version == "9.8.20230704") '' - for a in bytearray-access-ops.txt.pp addr-access-ops.txt.pp primops.txt; do - ${hadrian}/bin/hadrian ${hadrianArgs} _build/stage0/compiler/build/$a - cp _build/stage0/compiler/build/$a compiler/GHC/Builtin/$a - done '' + lib.optionalString (stdenv.isDarwin && (__tryEval libcxxabi).success) '' substituteInPlace mk/system-cxx-std-lib-1.0.conf \ --replace 'dynamic-library-dirs:' 'dynamic-library-dirs: ${libcxx}/lib ${libcxxabi}/lib' @@ -721,7 +866,7 @@ stdenv.mkDerivation (rec { --replace 'dynamic-library-dirs:' 'dynamic-library-dirs: ${libcxx}/lib' find . -name 'system*.conf*' cat mk/system-cxx-std-lib-1.0.conf - '' + lib.optionalString (installStage1 && stdenv.targetPlatform.isMusl) '' + '' + lib.optionalString (installStage1 && haskell-nix.haskellLib.isNativeMusl) '' substituteInPlace hadrian/cfg/system.config \ --replace 'cross-compiling = YES' \ 'cross-compiling = NO' @@ -747,7 +892,9 @@ stdenv.mkDerivation (rec { smallAddressSpace = lib.makeOverridable self (args // { disableLargeAddressSpace = true; }); - } // extra-passthru; + } // extra-passthru // { + buildGHC = extra-passthru.buildGHC.override { inherit ghcEvalPackages; }; + }; meta = { homepage = "https://haskell.org/ghc"; @@ -771,7 +918,7 @@ stdenv.mkDerivation (rec { dontStrip = true; dontPatchELF = true; noAuditTmpdir = true; -} // lib.optionalAttrs (stdenv.buildPlatform.isDarwin || stdenv.targetPlatform.isWindows) { +} // { # ghc install on macOS wants to run `xattr -r -c` # The macOS version fails because it wants python 2. # The nix version of xattr does not support those args. @@ -801,6 +948,10 @@ stdenv.mkDerivation (rec { export XATTR=$(mktemp -d)/nothing ''; } // lib.optionalAttrs useHadrian { + preUnpack = '' + mkdir -p $out/build + cd $out/build + ''; postConfigure = lib.optionalString (stdenv.isDarwin && (__tryEval libcxxabi).success) '' substituteInPlace mk/system-cxx-std-lib-1.0.conf \ --replace 'dynamic-library-dirs:' 'dynamic-library-dirs: ${libcxx}/lib ${libcxxabi}/lib' @@ -811,12 +962,33 @@ stdenv.mkDerivation (rec { --replace 'dynamic-library-dirs:' 'dynamic-library-dirs: ${libcxx}/lib' find . -name 'system*.conf*' cat mk/system-cxx-std-lib-1.0.conf - '' + lib.optionalString (installStage1 && !haskell-nix.haskellLib.isCrossTarget && stdenv.targetPlatform.isMusl) '' + '' + lib.optionalString (installStage1 && haskell-nix.haskellLib.isNativeMusl) '' substituteInPlace hadrian/cfg/system.config \ --replace 'cross-compiling = YES' \ 'cross-compiling = NO' ''; buildPhase = '' + runHook preBuild + '' + lib.optionalString (!enableShared && targetPlatform.isAndroid && targetPlatform.isAarch64) + # This is rather idiotic, but we need to create the dynamic (.so) files because + # hadrian expects them in the src/Rules/Rts.hs:160 or thereabout. + '' + mkdir -p _build/stage1/lib/aarch64-android-ghc-${ghc-version}/ + touch _build/stage1/lib/aarch64-android-ghc-${ghc-version}/libHSrts-1.0.2_thr_debug-ghc${ghc-version}.so + touch _build/stage1/lib/aarch64-android-ghc-${ghc-version}/libHSrts-1.0.2_thr-ghc${ghc-version}.so + touch _build/stage1/lib/aarch64-android-ghc-${ghc-version}/libHSrts-1.0.2_debug-ghc${ghc-version}.so + touch _build/stage1/lib/aarch64-android-ghc-${ghc-version}/libHSrts-1.0.2-ghc${ghc-version}.so + '' + lib.optionalString (!enableShared && targetPlatform.isAndroid && targetPlatform.isAarch32) + # This is rather idiotic, but we need to create the dynamic (.so) files because + # hadrian expects them in the src/Rules/Rts.hs:160 or thereabout. + '' + mkdir -p _build/stage1/lib/arm-android-ghc-${ghc-version}/ + touch _build/stage1/lib/arm-android-ghc-${ghc-version}/libHSrts-1.0.2_thr_debug-ghc${ghc-version}.so + touch _build/stage1/lib/arm-android-ghc-${ghc-version}/libHSrts-1.0.2_thr-ghc${ghc-version}.so + touch _build/stage1/lib/arm-android-ghc-${ghc-version}/libHSrts-1.0.2_debug-ghc${ghc-version}.so + touch _build/stage1/lib/arm-android-ghc-${ghc-version}/libHSrts-1.0.2-ghc${ghc-version}.so + '' + + '' ${hadrian}/bin/hadrian ${hadrianArgs} '' + lib.optionalString (installStage1 && !stdenv.targetPlatform.isGhcjs && builtins.compareVersions ghc-version "9.8" < 0) '' ${hadrian}/bin/hadrian ${hadrianArgs} stage1:lib:libiserv @@ -831,6 +1003,8 @@ stdenv.mkDerivation (rec { mv $exe ${targetPrefix}$exe done popd + '' + '' + runHook postBuild ''; # Hadrian's installation only works for native compilers, and is broken for cross compilers. @@ -840,7 +1014,6 @@ stdenv.mkDerivation (rec { installPhase = if installStage1 then '' - mkdir $out cp -r _build/stage1/bin $out # let's assume that if we find a non-prefixed genprimop, # we also find a non-prefixed deriveConstants @@ -857,6 +1030,8 @@ stdenv.mkDerivation (rec { mkdir $doc cp -r _build/stage1/share $doc runHook postInstall + cd $out + rm -rf $out/build '' # there appears to be a bug in GHCs configure script not properly passing dllwrap, and windres to the # generated settings file. Hence we patch it back in here. @@ -887,6 +1062,8 @@ stdenv.mkDerivation (rec { make install cd ../../.. runHook postInstall + cd $out + rm -rf $out/build ''; -}); +})); in self diff --git a/default.nix b/default.nix index ed9924ba00..c43181eb30 100644 --- a/default.nix +++ b/default.nix @@ -27,7 +27,7 @@ let # # Manually fetch nixpkgs nixpkgs = - with lock.nodes.nixpkgs.locked; + with lock.nodes.nixpkgs-unstable.locked; builtins.fetchTarball { url = "https://github.com/NixOS/nixpkgs/archive/$%7Brev%7D.tar.gz"; sha256 = narHash; @@ -94,6 +94,12 @@ self // { pkgs-2405 = import self.inputs.nixpkgs-2405 (nixpkgsArgs // { localSystem = { inherit system; }; }); + pkgs-2411 = import self.inputs.nixpkgs-2411 (nixpkgsArgs // { + localSystem = { inherit system; }; + }); + pkgs-2505 = import self.inputs.nixpkgs-2505 (nixpkgsArgs // { + localSystem = { inherit system; }; + }); pkgs-unstable = import self.inputs.nixpkgs-unstable (nixpkgsArgs // { localSystem = { inherit system; }; }); diff --git a/docs/reference/library.md b/docs/reference/library.md index 4137cc0d45..c0039bc981 100644 --- a/docs/reference/library.md +++ b/docs/reference/library.md @@ -273,8 +273,8 @@ needed for `importAndFilterProject`. |----------------------|------|---------------------| | `name` | String | Optional name for better error messages. | | `src` | Path | Location of the cabal project files. | -| `compiler-nix-name` | String | The name of the ghc compiler to use eg. "ghc884" | -| `index-state` | Timestamp | Optional hackage index-state, eg. "2019-10-10T00:00:00Z". | +| `compiler-nix-name` | String | The name of the ghc compiler to use eg. "ghc9122" | +| `index-state` | Timestamp | Optional hackage index-state, eg. "2025-01-10T00:00:00Z". | | `index-sha256` | Sha256 | Optional hash of the truncated hackage index-state. | | `plan-sha256` | Sha256 | Optional hash of the plan-to-nix output (makes the plan-to-nix step a fixed output derivation). | | `cabalProject` | String | Optional cabal project file contents (defaults to readFile "${src}/cabal.project"). | @@ -428,18 +428,62 @@ shellFor = { packages, withHoogle ? true, exactDeps ? false, ...}: ... ``` - | Argument | Type | Description | |----------------|------|---------------------| +| `name` | String | Name of the derivation | | `packages` | Function | Package selection function. It takes a list of [Haskell packages](#haskell-package) and returns a subset of these packages. | | `components` | Function | Similar to `packages`, by default all the components of the selected packages are selected. | | `additional` | Function | Similar to `packages`, but the selected packages are built and included in `ghc-pkg list` (not just their dependencies). | | `withHoogle` | Boolean | Whether to build a Hoogle documentation index and provide the `hoogle` command. | | `exactDeps` | Boolean | Prevents the Cabal solver from choosing any package dependency other than what are in the package set. | +| `allToolDeps` | Boolean | Indicates if the shell should include all the tool dependencies of the haskell packages in the project. | | `tools` | Function | AttrSet of tools to make available e.g. `{ cabal = "3.2.0.0"; }` or `{ cabal = { version = "3.2.0.0"; }; }`. If an AttrSet is provided for a tool, the additional arguments will be passed to the function creating the derivation for that tool. So you can provide an `index-state` or a `materialized` argument like that `{ cabal = { version = "3.2.0.0"; index-state = "2020-10-30T00:00:00Z"; materialized = ./cabal.materialized; }; }` for example. You can specify and materialize the version of hoogle used to construct the hoogle index by including something like `{ hoogle = { version = "5.0.17.15"; index-state = "2020-05-31T00:00:00Z"; materialized = ./hoogle.materialized; }`. Uses a default version of hoogle if omitted. | -| `inputsFrom` | List | List of other shells to include in this one. The `buildInputs` and `nativeBuildInputs` of each will be included using [mkShell](https://nixos.org/manual/nixpkgs/stable/#sec-pkgs-mkShell). +| `packageSetupDeps` | Boolean | Set this to `false` to exclude custom-setup dependencies. +| `enableDWARF` | Boolean | Include debug info | | `crossPlatforms` | Function | Platform selection function for cross compilation targets to support eg. `ps: with ps; [ghcjs mingwW64]` (see nixpkgs lib.systems.examples for list of platform names). | -| `{ ... }` | Attrset | All the other arguments are passed to [`mkDerivation`](https://nixos.org/nixpkgs/manual/#sec-using-stdenv). | +| `inputsFrom` | List | List of other shells to include in this one. The `buildInputs` and `nativeBuildInputs` of each will be included using [mkShell](https://nixos.org/manual/nixpkgs/stable/#sec-pkgs-mkShell). +| `shellHook` | String | Bash statements that are executed when the shell starts. | +| `buildInputs` | | Passed to [`mkDerivation`](https://nixos.org/nixpkgs/manual/#sec-using-stdenv) (via [mkShell](https://nixos.org/manual/nixpkgs/stable/#sec-pkgs-mkShell)). | +| `nativeBuildInputs` | | Passed to [`mkDerivation`](https://nixos.org/nixpkgs/manual/#sec-using-stdenv) (via [mkShell](https://nixos.org/manual/nixpkgs/stable/#sec-pkgs-mkShell)). | +| `passthru` | | Passed to [`mkDerivation`](https://nixos.org/nixpkgs/manual/#sec-using-stdenv) (via [mkShell](https://nixos.org/manual/nixpkgs/stable/#sec-pkgs-mkShell)). | + +The arguments are checked using the module `modules/shell.nix`. + +To set environment variables in the shell use: + +``` + shellHook = '' + export FOO="bar" + ''; +``` + +or + +``` +(p.shellFor {}).overrideAttrs { + FOO = "bar"; +} +``` + +The `shellFor` arguments can also be passed to the project `shell` +argument. For instance: + +``` +(pkgs.haskell-nix.project { + ... + shell.tools.cabal = {} +).shellFor {} +``` + +Is the same as: + +``` +(pkgs.haskell-nix.project { + ... +).shellFor { + tools.cabal = {} +} +``` **Return value**: a derivation diff --git a/docs/reference/supported-ghc-versions.md b/docs/reference/supported-ghc-versions.md index 38d0b5df0b..7d1118aa28 100644 --- a/docs/reference/supported-ghc-versions.md +++ b/docs/reference/supported-ghc-versions.md @@ -2,13 +2,14 @@ The following GHC versions are defined in `haskell.nix` (there is a derivation for each, though not all are cached or tested by CI): -- 8.4.4 -- 8.6.{1,2,3,4,5} -- 8.8.{1,2,3,4} -- 8.10.{1,2,3,4,5} -- 9.0.1 -- 9.2.1 -- 9.2.2 + +- 9.6.6 (TH is broken in mingwW64, but ucrt64 works) +- 9.8.4 +- 9.10.1 +- 9.12.1 + +8.10.7 may still work with older nixpkgs versions, but is broken for +nixpkgs-unstable. The following table shows the Nixpkgs/GHC versions which are built/cached, and which of those are further tested. If you use a combination of Nixpkgs version @@ -21,13 +22,10 @@ really should use an instance of Nixpkgs provided by `haskell.nix` itself. | Nixpkgs version | Nixpkgs pinning | GHC version | `compiler-nix-name` | Tested in CI? | |------------------|--------------------|-------------|-----------------------|---------------| -| 22.05 | `nixpkgs-2205` | 8.6.5 | `ghc865` | No | -| 22.05 | `nixpkgs-2205` | 8.10.7 | `ghc8107` | No | -| unstable | `nixpkgs-unstable` | 8.6.5 | `ghc865` | No | -| unstable | `nixpkgs-unstable` | 8.8.4 | `ghc884` | No | -| unstable | `nixpkgs-unstable` | 8.10.7 | `ghc8107` | Yes | -| unstable | `nixpkgs-unstable` | 9.0.2 | `ghc902` | No | -| unstable | `nixpkgs-unstable` | 9.2.4 | `ghc924` | Yes | +| unstable | `nixpkgs-unstable` | 9.6.7 | `ghc96` or `ghc967` | Yes | +| unstable | `nixpkgs-unstable` | 9.8.4 | `ghc98` or `ghc984` | Yes | +| unstable | `nixpkgs-unstable` | 9.10.2 | `ghc910` or `ghc9102` | Yes | +| unstable | `nixpkgs-unstable` | 9.12.2 | `ghc912` or `ghc9122` | Yes | See [ci.nix](https://github.com/input-output-hk/haskell.nix/blob/master/ci.nix) for the source of truth about what is built and tested (in the off chance this diff --git a/docs/tests.sh b/docs/tests.sh index 04991f9462..b128c8b4f0 100755 --- a/docs/tests.sh +++ b/docs/tests.sh @@ -5,7 +5,7 @@ pushd tutorials ## Getting started pushd getting-started -nix-build +nix-build -A hsPkgs.hello.components.exes.hello nix-shell --pure --run "cabal build hello" popd @@ -50,4 +50,4 @@ pushd iohk-nix nix build --accept-flake-config popd -popd \ No newline at end of file +popd diff --git a/docs/tutorials/development/default.nix b/docs/tutorials/development/default.nix index ad8d4e7275..215199b133 100644 --- a/docs/tutorials/development/default.nix +++ b/docs/tutorials/development/default.nix @@ -26,5 +26,5 @@ in pkgs.haskell-nix.project { src = ./.; }; # Specify the GHC version to use. - compiler-nix-name = "ghc92"; # Not required for `stack.yaml` based projects. + compiler-nix-name = "ghc96"; # Not required for `stack.yaml` based projects. } diff --git a/docs/tutorials/development/nix/sources.json b/docs/tutorials/development/nix/sources.json index b783305c98..fab4b32904 100644 --- a/docs/tutorials/development/nix/sources.json +++ b/docs/tutorials/development/nix/sources.json @@ -5,22 +5,10 @@ "homepage": "https://input-output-hk.github.io/haskell.nix", "owner": "input-output-hk", "repo": "haskell.nix", - "rev": "d61a3f429425e57108ca2b5355f10df94dafe39d", - "sha256": "1fra8grb1jzfb794vm9kw090bb5kiq5g11xmb3nkm2lk60yixjx3", + "rev": "3e51feeed915183f4aaca8ce7761f61e5436867c", + "sha256": "18v45m7alipxvs47nfnc2hsk50gvlph8ig3x25qdp799z5d9wsp7", "type": "tarball", - "url": "https://github.com/input-output-hk/haskell.nix/archive/d61a3f429425e57108ca2b5355f10df94dafe39d.tar.gz", - "url_template": "https://github.com/%3Cowner%3E/%3Crepo%3E/archive/%3Crev%3E.tar.gz" - }, - "nixpkgs": { - "branch": "release-22.11", - "description": "Nix Packages collection", - "homepage": "", - "owner": "NixOS", - "repo": "nixpkgs", - "rev": "b7ce17b1ebf600a72178f6302c77b6382d09323f", - "sha256": "sha256-uNvD7fzO5hNlltNQUAFBPlcEjNG5Gkbhl/ROiX+GZU4=", - "type": "tarball", - "url": "https://github.com/NixOS/nixpkgs/archive/b7ce17b1ebf600a72178f6302c77b6382d09323f.tar.gz", + "url": "https://github.com/input-output-hk/haskell.nix/archive/3e51feeed915183f4aaca8ce7761f61e5436867c.tar.gz", "url_template": "https://github.com/%3Cowner%3E/%3Crepo%3E/archive/%3Crev%3E.tar.gz" } } diff --git a/docs/tutorials/getting-started-flakes/flake.nix b/docs/tutorials/getting-started-flakes/flake.nix index aae79d393d..283141ed18 100644 --- a/docs/tutorials/getting-started-flakes/flake.nix +++ b/docs/tutorials/getting-started-flakes/flake.nix @@ -12,13 +12,13 @@ helloProject = final.haskell-nix.project' { src = ./.; - compiler-nix-name = "ghc92"; + compiler-nix-name = "ghc96"; # This is used by `nix develop .` to open a shell for use with # `cabal`, `hlint` and `haskell-language-server` shell.tools = { cabal = {}; - hlint = {}; - haskell-language-server = {}; + # hlint = {}; + # haskell-language-server = {}; }; # Non-Haskell shell tools go here shell.buildInputs = with pkgs; [ diff --git a/docs/tutorials/getting-started.md b/docs/tutorials/getting-started.md index ecffcd8d61..22123fcdd3 100644 --- a/docs/tutorials/getting-started.md +++ b/docs/tutorials/getting-started.md @@ -76,7 +76,8 @@ nix run .#hello:exe:hello The following code could be capy-pasted and will work with `stack.yaml` and `cabal.project` based projects. -Edit your `flake.nix` as:```nix +Edit your `flake.nix` as: +```nix {{#include getting-started-flakes/flake.nix}} ``` diff --git a/docs/tutorials/getting-started/default.nix b/docs/tutorials/getting-started/default.nix index ad8d4e7275..215199b133 100644 --- a/docs/tutorials/getting-started/default.nix +++ b/docs/tutorials/getting-started/default.nix @@ -26,5 +26,5 @@ in pkgs.haskell-nix.project { src = ./.; }; # Specify the GHC version to use. - compiler-nix-name = "ghc92"; # Not required for `stack.yaml` based projects. + compiler-nix-name = "ghc96"; # Not required for `stack.yaml` based projects. } diff --git a/docs/tutorials/getting-started/nix/sources.json b/docs/tutorials/getting-started/nix/sources.json index 6a5001007f..fab4b32904 100644 --- a/docs/tutorials/getting-started/nix/sources.json +++ b/docs/tutorials/getting-started/nix/sources.json @@ -5,22 +5,10 @@ "homepage": "https://input-output-hk.github.io/haskell.nix", "owner": "input-output-hk", "repo": "haskell.nix", - "rev": "d61a3f429425e57108ca2b5355f10df94dafe39d", - "sha256": "1fra8grb1jzfb794vm9kw090bb5kiq5g11xmb3nkm2lk60yixjx3", + "rev": "3e51feeed915183f4aaca8ce7761f61e5436867c", + "sha256": "18v45m7alipxvs47nfnc2hsk50gvlph8ig3x25qdp799z5d9wsp7", "type": "tarball", - "url": "https://github.com/input-output-hk/haskell.nix/archive/d61a3f429425e57108ca2b5355f10df94dafe39d.tar.gz", - "url_template": "https://github.com/%3Cowner%3E/%3Crepo%3E/archive/%3Crev%3E.tar.gz" - }, - "nixpkgs": { - "branch": "release-21.05", - "description": "Nix Packages collection", - "homepage": "", - "owner": "NixOS", - "repo": "nixpkgs", - "rev": "5f244caea76105b63d826911b2a1563d33ff1cdc", - "sha256": "1xlgynfw9svy7nvh9nkxsxdzncv9hg99gbvbwv3gmrhmzc3sar75", - "type": "tarball", - "url": "https://github.com/NixOS/nixpkgs/archive/5f244caea76105b63d826911b2a1563d33ff1cdc.tar.gz", + "url": "https://github.com/input-output-hk/haskell.nix/archive/3e51feeed915183f4aaca8ce7761f61e5436867c.tar.gz", "url_template": "https://github.com/%3Cowner%3E/%3Crepo%3E/archive/%3Crev%3E.tar.gz" } } diff --git a/docs/tutorials/getting-started/shell.nix b/docs/tutorials/getting-started/shell.nix index cc1a306fa9..5a4e1f1c5a 100644 --- a/docs/tutorials/getting-started/shell.nix +++ b/docs/tutorials/getting-started/shell.nix @@ -1,7 +1,7 @@ (import ./default.nix).shellFor { tools = { cabal = "latest"; - hlint = "latest"; - haskell-language-server = "latest"; + # hlint = "latest"; + # haskell-language-server = "latest"; }; -} \ No newline at end of file +} diff --git a/flake.lock b/flake.lock index 3d0cf14ceb..563c512cca 100644 --- a/flake.lock +++ b/flake.lock @@ -100,31 +100,47 @@ "type": "github" } }, - "ghc-8.6.5-iohk": { + "hackage": { "flake": false, "locked": { - "lastModified": 1600920045, - "narHash": "sha256-DO6kxJz248djebZLpSzTGD6s8WRpNI9BTwUeOf5RwY8=", + "lastModified": 1762735408, + "narHash": "sha256-30gbUA3lQ4uauNT8xKud1DmqhTWtFp5jKn4gtbta63c=", "owner": "input-output-hk", - "repo": "ghc", - "rev": "95713a6ecce4551240da7c96b6176f980af75cae", + "repo": "hackage.nix", + "rev": "79edb44e107714351191f240bbd824dfa0b12b09", "type": "github" }, "original": { "owner": "input-output-hk", - "ref": "release/8.6.5-iohk", - "repo": "ghc", + "repo": "hackage.nix", "type": "github" } }, - "hackage": { + "hackage-for-stackage": { + "flake": false, + "locked": { + "lastModified": 1762734441, + "narHash": "sha256-LI9+Y5At94Qp7AcyESaH7sCNA64+EYzuhvs3hRiUDqw=", + "owner": "input-output-hk", + "repo": "hackage.nix", + "rev": "fa238b3c89bed77c4908069a71b37192cf77100c", + "type": "github" + }, + "original": { + "owner": "input-output-hk", + "ref": "for-stackage", + "repo": "hackage.nix", + "type": "github" + } + }, + "hackage-internal": { "flake": false, "locked": { - "lastModified": 1728952051, - "narHash": "sha256-nCNldd8iA8/T3qUKbSFzBmiHu4oFjmgwz0DFrZaUJhU=", + "lastModified": 1750307553, + "narHash": "sha256-iiafNoeLHwlSLQTyvy8nPe2t6g5AV4PPcpMeH/2/DLs=", "owner": "input-output-hk", "repo": "hackage.nix", - "rev": "1762ac2d3054cb53246ff77e8a6786f6d7357b4f", + "rev": "f7867baa8817fab296528f4a4ec39d1c7c4da4f3", "type": "github" }, "original": { @@ -133,6 +149,22 @@ "type": "github" } }, + "hls": { + "flake": false, + "locked": { + "lastModified": 1741604408, + "narHash": "sha256-tuq3+Ip70yu89GswZ7DSINBpwRprnWnl6xDYnS4GOsc=", + "owner": "haskell", + "repo": "haskell-language-server", + "rev": "682d6894c94087da5e566771f25311c47e145359", + "type": "github" + }, + "original": { + "owner": "haskell", + "repo": "haskell-language-server", + "type": "github" + } + }, "hls-1.10": { "flake": false, "locked": { @@ -167,6 +199,40 @@ "type": "github" } }, + "hls-2.10": { + "flake": false, + "locked": { + "lastModified": 1743069404, + "narHash": "sha256-q4kDFyJDDeoGqfEtrZRx4iqMVEC2MOzCToWsFY+TOzY=", + "owner": "haskell", + "repo": "haskell-language-server", + "rev": "2318c61db3a01e03700bd4b05665662929b7fe8b", + "type": "github" + }, + "original": { + "owner": "haskell", + "ref": "2.10.0.0", + "repo": "haskell-language-server", + "type": "github" + } + }, + "hls-2.11": { + "flake": false, + "locked": { + "lastModified": 1747306193, + "narHash": "sha256-/MmtpF8+FyQlwfKHqHK05BdsxC9LHV70d/FiMM7pzBM=", + "owner": "haskell", + "repo": "haskell-language-server", + "rev": "46ef4523ea4949f47f6d2752476239f1c6d806fe", + "type": "github" + }, + "original": { + "owner": "haskell", + "ref": "2.11.0.0", + "repo": "haskell-language-server", + "type": "github" + } + }, "hls-2.2": { "flake": false, "locked": { @@ -289,11 +355,11 @@ "hls-2.9": { "flake": false, "locked": { - "lastModified": 1720003792, - "narHash": "sha256-qnDx8Pk0UxtoPr7BimEsAZh9g2WuTuMB/kGqnmdryKs=", + "lastModified": 1719993701, + "narHash": "sha256-wy348++MiMm/xwtI9M3vVpqj2qfGgnDcZIGXw8sF1sA=", "owner": "haskell", "repo": "haskell-language-server", - "rev": "0c1817cb2babef0765e4e72dd297c013e8e3d12b", + "rev": "90319a7e62ab93ab65a95f8f2bcf537e34dae76a", "type": "github" }, "original": { @@ -319,36 +385,14 @@ "type": "github" } }, - "hydra": { - "inputs": { - "nix": "nix", - "nixpkgs": [ - "hydra", - "nix", - "nixpkgs" - ] - }, - "locked": { - "lastModified": 1671755331, - "narHash": "sha256-hXsgJj0Cy0ZiCiYdW2OdBz5WmFyOMKuw4zyxKpgUKm4=", - "owner": "NixOS", - "repo": "hydra", - "rev": "f48f00ee6d5727ae3e488cbf9ce157460853fea8", - "type": "github" - }, - "original": { - "id": "hydra", - "type": "indirect" - } - }, "iserv-proxy": { "flake": false, "locked": { - "lastModified": 1717479972, - "narHash": "sha256-7vE3RQycHI1YT9LHJ1/fUaeln2vIpYm6Mmn8FTpYeVo=", + "lastModified": 1755243078, + "narHash": "sha256-GLbl1YaohKdpzZVJFRdcI1O1oE3F3uBer4lFv3Yy0l8=", "owner": "stable-haskell", "repo": "iserv-proxy", - "rev": "2ed34002247213fc435d0062350b91bab920626e", + "rev": "150605195cb7183a6fb7bed82f23fedf37c6f52a", "type": "github" }, "original": { @@ -358,139 +402,6 @@ "type": "github" } }, - "lowdown-src": { - "flake": false, - "locked": { - "lastModified": 1633514407, - "narHash": "sha256-Dw32tiMjdK9t3ETl5fzGrutQTzh2rufgZV4A/BbxuD4=", - "owner": "kristapsdz", - "repo": "lowdown", - "rev": "d2c2b44ff6c27b936ec27358a2653caaef8f73b8", - "type": "github" - }, - "original": { - "owner": "kristapsdz", - "repo": "lowdown", - "type": "github" - } - }, - "nix": { - "inputs": { - "lowdown-src": "lowdown-src", - "nixpkgs": "nixpkgs", - "nixpkgs-regression": "nixpkgs-regression" - }, - "locked": { - "lastModified": 1661606874, - "narHash": "sha256-9+rpYzI+SmxJn+EbYxjGv68Ucp22bdFUSy/4LkHkkDQ=", - "owner": "NixOS", - "repo": "nix", - "rev": "11e45768b34fdafdcf019ddbd337afa16127ff0f", - "type": "github" - }, - "original": { - "owner": "NixOS", - "ref": "2.11.0", - "repo": "nix", - "type": "github" - } - }, - "nixpkgs": { - "locked": { - "lastModified": 1657693803, - "narHash": "sha256-G++2CJ9u0E7NNTAi9n5G8TdDmGJXcIjkJ3NF8cetQB8=", - "owner": "NixOS", - "repo": "nixpkgs", - "rev": "365e1b3a859281cf11b94f87231adeabbdd878a2", - "type": "github" - }, - "original": { - "owner": "NixOS", - "ref": "nixos-22.05-small", - "repo": "nixpkgs", - "type": "github" - } - }, - "nixpkgs-2003": { - "locked": { - "lastModified": 1620055814, - "narHash": "sha256-8LEHoYSJiL901bTMVatq+rf8y7QtWuZhwwpKE2fyaRY=", - "owner": "NixOS", - "repo": "nixpkgs", - "rev": "1db42b7fe3878f3f5f7a4f2dc210772fd080e205", - "type": "github" - }, - "original": { - "owner": "NixOS", - "ref": "nixpkgs-20.03-darwin", - "repo": "nixpkgs", - "type": "github" - } - }, - "nixpkgs-2105": { - "locked": { - "lastModified": 1659914493, - "narHash": "sha256-lkA5X3VNMKirvA+SUzvEhfA7XquWLci+CGi505YFAIs=", - "owner": "NixOS", - "repo": "nixpkgs", - "rev": "022caabb5f2265ad4006c1fa5b1ebe69fb0c3faf", - "type": "github" - }, - "original": { - "owner": "NixOS", - "ref": "nixpkgs-21.05-darwin", - "repo": "nixpkgs", - "type": "github" - } - }, - "nixpkgs-2111": { - "locked": { - "lastModified": 1659446231, - "narHash": "sha256-hekabNdTdgR/iLsgce5TGWmfIDZ86qjPhxDg/8TlzhE=", - "owner": "NixOS", - "repo": "nixpkgs", - "rev": "eabc38219184cc3e04a974fe31857d8e0eac098d", - "type": "github" - }, - "original": { - "owner": "NixOS", - "ref": "nixpkgs-21.11-darwin", - "repo": "nixpkgs", - "type": "github" - } - }, - "nixpkgs-2205": { - "locked": { - "lastModified": 1685573264, - "narHash": "sha256-Zffu01pONhs/pqH07cjlF10NnMDLok8ix5Uk4rhOnZQ=", - "owner": "NixOS", - "repo": "nixpkgs", - "rev": "380be19fbd2d9079f677978361792cb25e8a3635", - "type": "github" - }, - "original": { - "owner": "NixOS", - "ref": "nixpkgs-22.05-darwin", - "repo": "nixpkgs", - "type": "github" - } - }, - "nixpkgs-2211": { - "locked": { - "lastModified": 1688392541, - "narHash": "sha256-lHrKvEkCPTUO+7tPfjIcb7Trk6k31rz18vkyqmkeJfY=", - "owner": "NixOS", - "repo": "nixpkgs", - "rev": "ea4c80b39be4c09702b0cb3b42eab59e2ba4f24b", - "type": "github" - }, - "original": { - "owner": "NixOS", - "ref": "nixpkgs-22.11-darwin", - "repo": "nixpkgs", - "type": "github" - } - }, "nixpkgs-2305": { "locked": { "lastModified": 1705033721, @@ -525,11 +436,11 @@ }, "nixpkgs-2405": { "locked": { - "lastModified": 1726447378, - "narHash": "sha256-2yV8nmYE1p9lfmLHhOCbYwQC/W8WYfGQABoGzJOb1JQ=", + "lastModified": 1735564410, + "narHash": "sha256-HB/FA0+1gpSs8+/boEavrGJH+Eq08/R2wWNph1sM1Dg=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "086b448a5d54fd117f4dc2dee55c9f0ff461bdc1", + "rev": "1e7a8f391f1a490460760065fa0630b5520f9cf8", "type": "github" }, "original": { @@ -539,29 +450,45 @@ "type": "github" } }, - "nixpkgs-regression": { + "nixpkgs-2411": { + "locked": { + "lastModified": 1748037224, + "narHash": "sha256-92vihpZr6dwEMV6g98M5kHZIttrWahb9iRPBm1atcPk=", + "owner": "NixOS", + "repo": "nixpkgs", + "rev": "f09dede81861f3a83f7f06641ead34f02f37597f", + "type": "github" + }, + "original": { + "owner": "NixOS", + "ref": "nixpkgs-24.11-darwin", + "repo": "nixpkgs", + "type": "github" + } + }, + "nixpkgs-2505": { "locked": { - "lastModified": 1643052045, - "narHash": "sha256-uGJ0VXIhWKGXxkeNnq4TvV3CIOkUJ3PAoLZ3HMzNVMw=", + "lastModified": 1757716134, + "narHash": "sha256-OYoZLWvmCnCTCJQwaQlpK1IO5nkLnLLoUW8wwmPmrfU=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "215d4d0fd80ca5163643b03a33fde804a29cc1e2", + "rev": "e85b5aa112a98805a016bbf6291e726debbc448a", "type": "github" }, "original": { "owner": "NixOS", + "ref": "nixpkgs-25.05-darwin", "repo": "nixpkgs", - "rev": "215d4d0fd80ca5163643b03a33fde804a29cc1e2", "type": "github" } }, "nixpkgs-unstable": { "locked": { - "lastModified": 1726583932, - "narHash": "sha256-zACxiQx8knB3F8+Ze+1BpiYrI+CbhxyWpcSID9kVhkQ=", + "lastModified": 1759070547, + "narHash": "sha256-JVZl8NaVRYb0+381nl7LvPE+A774/dRpif01FKLrYFQ=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "658e7223191d2598641d50ee4e898126768fe847", + "rev": "647e5c14cbd5067f44ac86b74f014962df460840", "type": "github" }, "original": { @@ -596,10 +523,14 @@ "cabal-36": "cabal-36", "cardano-shell": "cardano-shell", "flake-compat": "flake-compat", - "ghc-8.6.5-iohk": "ghc-8.6.5-iohk", "hackage": "hackage", + "hackage-for-stackage": "hackage-for-stackage", + "hackage-internal": "hackage-internal", + "hls": "hls", "hls-1.10": "hls-1.10", "hls-2.0": "hls-2.0", + "hls-2.10": "hls-2.10", + "hls-2.11": "hls-2.11", "hls-2.2": "hls-2.2", "hls-2.3": "hls-2.3", "hls-2.4": "hls-2.4", @@ -609,19 +540,15 @@ "hls-2.8": "hls-2.8", "hls-2.9": "hls-2.9", "hpc-coveralls": "hpc-coveralls", - "hydra": "hydra", "iserv-proxy": "iserv-proxy", "nixpkgs": [ "nixpkgs-unstable" ], - "nixpkgs-2003": "nixpkgs-2003", - "nixpkgs-2105": "nixpkgs-2105", - "nixpkgs-2111": "nixpkgs-2111", - "nixpkgs-2205": "nixpkgs-2205", - "nixpkgs-2211": "nixpkgs-2211", "nixpkgs-2305": "nixpkgs-2305", "nixpkgs-2311": "nixpkgs-2311", "nixpkgs-2405": "nixpkgs-2405", + "nixpkgs-2411": "nixpkgs-2411", + "nixpkgs-2505": "nixpkgs-2505", "nixpkgs-unstable": "nixpkgs-unstable", "old-ghc-nix": "old-ghc-nix", "stackage": "stackage" @@ -630,11 +557,11 @@ "stackage": { "flake": false, "locked": { - "lastModified": 1728691846, - "narHash": "sha256-WXPaGfa8D64YjKU31HOIx2cLfYkMfZT9yYO2XdYUerA=", + "lastModified": 1762733628, + "narHash": "sha256-wOi4MxHrsk9mqXWSH8P8G/dIqijT1PVXOWF3qchBp+g=", "owner": "input-output-hk", "repo": "stackage.nix", - "rev": "38e3ccb33364353514117c552b7362295ea5b02e", + "rev": "20411c7807a09dcebaa751ce1437c56b2e8064be", "type": "github" }, "original": { diff --git a/flake.nix b/flake.nix index 4d7a252e95..b1fa5d5af3 100644 --- a/flake.nix +++ b/flake.nix @@ -3,14 +3,11 @@ inputs = { nixpkgs.follows = "nixpkgs-unstable"; - nixpkgs-2003 = { url = "github:NixOS/nixpkgs/nixpkgs-20.03-darwin"; }; - nixpkgs-2105 = { url = "github:NixOS/nixpkgs/nixpkgs-21.05-darwin"; }; - nixpkgs-2111 = { url = "github:NixOS/nixpkgs/nixpkgs-21.11-darwin"; }; - nixpkgs-2205 = { url = "github:NixOS/nixpkgs/nixpkgs-22.05-darwin"; }; - nixpkgs-2211 = { url = "github:NixOS/nixpkgs/nixpkgs-22.11-darwin"; }; nixpkgs-2305 = { url = "github:NixOS/nixpkgs/nixpkgs-23.05-darwin"; }; nixpkgs-2311 = { url = "github:NixOS/nixpkgs/nixpkgs-23.11-darwin"; }; nixpkgs-2405 = { url = "github:NixOS/nixpkgs/nixpkgs-24.05-darwin"; }; + nixpkgs-2411 = { url = "github:NixOS/nixpkgs/nixpkgs-24.11-darwin"; }; + nixpkgs-2505 = { url = "github:NixOS/nixpkgs/nixpkgs-25.05-darwin"; }; nixpkgs-unstable = { url = "github:NixOS/nixpkgs/nixpkgs-unstable"; }; flake-compat = { url = "github:input-output-hk/flake-compat/hkm/gitlab-fix"; flake = false; }; "hls-1.10" = { url = "github:haskell/haskell-language-server/1.10.0.0"; flake = false; }; @@ -23,11 +20,21 @@ "hls-2.7" = { url = "github:haskell/haskell-language-server/2.7.0.0"; flake = false; }; "hls-2.8" = { url = "github:haskell/haskell-language-server/2.8.0.0"; flake = false; }; "hls-2.9" = { url = "github:haskell/haskell-language-server/2.9.0.1"; flake = false; }; - hydra.url = "hydra"; + "hls-2.10" = { url = "github:haskell/haskell-language-server/2.10.0.0"; flake = false; }; + "hls-2.11" = { url = "github:haskell/haskell-language-server/2.11.0.0"; flake = false; }; + "hls" = { url = "github:haskell/haskell-language-server"; flake = false; }; hackage = { url = "github:input-output-hk/hackage.nix"; flake = false; }; + hackage-for-stackage = { + url = "github:input-output-hk/hackage.nix/for-stackage"; + flake = false; + }; + hackage-internal = { + url = "github:input-output-hk/hackage.nix"; + flake = false; + }; stackage = { url = "github:input-output-hk/stackage.nix"; flake = false; @@ -48,13 +55,6 @@ url = "github:input-output-hk/cardano-shell"; flake = false; }; - "ghc-8.6.5-iohk" = { - type = "github"; - owner = "input-output-hk"; - repo = "ghc"; - ref = "release/8.6.5-iohk"; - flake = false; - }; hpc-coveralls = { url = "github:sevanspowell/hpc-coveralls"; flake = false; @@ -85,7 +85,7 @@ ifdLevel = 3; runningHydraEvalTest = false; - defaultCompiler = "ghc928"; + defaultCompiler = "ghc967"; config = import ./config.nix; inherit (nixpkgs) lib; @@ -163,7 +163,7 @@ # for core of haskell.nix E.g. this should always work: # nix build .#roots.x86_64-linux --accept-flake-config --option allow-import-from-derivation false roots = forEachSystem (system: - self.legacyPackagesUnstable.${system}.haskell-nix.roots defaultCompiler); + self.legacyPackagesUnstable.${system}.haskell-nix.roots { compiler-nix-name = defaultCompiler; }); # Note: `nix flake check` evaluates outputs for all platforms, and haskell.nix # uses IFD heavily, you have to have the ability to build for all platforms diff --git a/hackage-src.json b/hackage-src.json deleted file mode 100644 index 65959ccd7c..0000000000 --- a/hackage-src.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "url": "https://github.com/input-output-hk/hackage.nix", - "rev": "9bdefa51c864bbef48a2758b05b4b568f0ded62b", - "date": "2021-08-06T01:11:48+00:00", - "path": "/nix/store/isypgnv4qa5398z6vjc3fi620l4y87c4-hackage.nix-9bdefa5", - "sha256": "0pm3m864wwgf76isjwb8244xh8xykc94b5az6zb1h38q30s9xjji", - "fetchSubmodules": false, - "deepClone": false, - "leaveDotGit": false -} diff --git a/hix/default.nix b/hix/default.nix index c23123f914..69aa94e24f 100644 --- a/hix/default.nix +++ b/hix/default.nix @@ -22,18 +22,90 @@ let cmd=$1 shift case $cmd in - update) - nix-env -iA hix -f https://github.com/input-output-hk/haskell.nix/tarball/master + init|init-hix) + if [ "$cmd" == "init" ]; then + FLAKE_NIX="$(mktemp -d)/flake.nix" + sed 's|EVAL_SYSTEM|${pkgs.stdenv.hostPlatform.system}|' < ${hixInit}/flake.nix > $FLAKE_NIX + if [ -e flake.nix ]; then + if ! diff -u flake.nix $FLAKE_NIX; then + echo 'ERROR: Not replacing existing `flake.nix`.' + exit 1 + fi + else + cp $FLAKE_NIX flake.nix + echo '`flake.nix` file created.' + fi + fi + HIX_NIX="$(mktemp -d)/hix.nix" + sed 's|EVAL_SYSTEM|${pkgs.stdenv.hostPlatform.system}|' < ${hixInit}/nix/hix.nix > $HIX_NIX + if [ -e nix/hix.nix ]; then + echo '`nix/hix.nix` project configuration already exists:' + else + mkdir -p nix + cp $HIX_NIX nix/hix.nix + echo '`nix/hix.nix` project configuation:' + fi + ${pkgs.bat}/bin/bat nix/hix.nix ;; - dump-path|eval|log|path-info|search|show-derivation|sign-paths|verify|why-depends) - nix $cmd -f ${hixProject} ${args} "$@" + help) + cat < [args...] + + hix is a wrapper around for the nix command that allows you + to work on haskell projects using nix without the need to add + nix files to the project. + + Any nix that takes 'installables' as an argument should + work and behave as if the project had a 'flake.nix' file that + was set up to work with haskell.nix. + + You can add a 'nix/hix.nix' file to your project and 'hix' will + include that file as nix module containing project arguments. + + Other commands: + init Add flake.nix and nix/hix.nix file to allow + nix commands to work (without hix). + help This message + + Advanced options: + --projectArgs Haskell.nix arguments as Nix expression + --supportedSystems Supported systems as Nix expression + --overlays Overlay definitions + --config Custom nix configuration + + Examples: + hix flake show . + hix build '.#hello:exe:hello' + hix run '.#hello:exe:hello' + hix flake check --projectArgs '{ compiler-nix-name = "ghc9122"; }' + + EOF ;; - flake|build|develop|run|profile) + *) # Put the flake files for remote URLs in $HOME/.hix by default HIX_DIR="''${HIX_DIR:-$HOME/.hix}" + HIX_TMPDIR="$(mktemp -d)" + args=("--option" "allow-import-from-derivation" "true") while(($#)); do arg=$1 case $arg in + --projectArgs) + printf %s "$2" > "$HIX_TMPDIR/projectArgs.nix" + shift + args+=(--override-input projectArgs "$(realpath "$HIX_TMPDIR")") + ;; + --supportedSystems) + printf %s "$2" > "$HIX_TMPDIR/supportedSystems.nix" + shift + ;; + --overlays) + printf %s "$2" > "$HIX_TMPDIR/overlays.nix" + shift + ;; + --config) + printf %s "$2" > "$HIX_TMPDIR/config.nix" + shift + ;; --out-link|-o|--eval-store|--include|-I|--inputs-from|--expr|--file|-f|--keep|-k|--phase|--profile|--unset|-u) args+=("$arg" "$2") shift @@ -83,51 +155,20 @@ let fi # Make a temporary flake if we have not already mkdir -p $FLAKE - HIX_FLAKE="$(mktemp -d)/flake.nix" + HIX_FLAKE="$HIX_TMPDIR/flake.nix" sed 's|EVAL_SYSTEM|${pkgs.stdenv.hostPlatform.system}|' < ${hixProject}/flake.nix > $HIX_FLAKE if ! cmp $HIX_FLAKE $FLAKE/flake.nix &>/dev/null; then - if [ -e $FLAKE/flake.lock ]; then - echo "Updating $FLAKE/flake.nix and deleting old $FLAKE/flake.lock" + if [ -e $FLAKE/flake.lock ]; then + >&2 echo "Updating $FLAKE/flake.nix and deleting old $FLAKE/flake.lock" rm $FLAKE/flake.lock else - echo "Updating $FLAKE/flake.nix" + >&2 echo "Updating $FLAKE/flake.nix" fi cp $HIX_FLAKE $FLAKE/flake.nix chmod +w $FLAKE/flake.nix fi nix $cmd "''${args[@]}" ;; - init|init-hix) - if [ "$cmd" == "init" ]; then - FLAKE_NIX="$(mktemp -d)/flake.nix" - sed 's|EVAL_SYSTEM|${pkgs.stdenv.hostPlatform.system}|' < ${hixInit}/flake.nix > $FLAKE_NIX - if [ -e flake.nix ]; then - if ! diff -u flake.nix $FLAKE_NIX; then - echo 'ERROR: Not replacing existing `flake.nix`.' - exit 1 - fi - else - cp $FLAKE_NIX flake.nix - echo '`flake.nix` file created.' - fi - fi - HIX_NIX="$(mktemp -d)/hix.nix" - sed 's|EVAL_SYSTEM|${pkgs.stdenv.hostPlatform.system}|' < ${hixInit}/nix/hix.nix > $HIX_NIX - if [ -e nix/hix.nix ]; then - echo '`nix/hix.nix` project configuration already exists:' - else - mkdir -p nix - cp $HIX_NIX nix/hix.nix - echo '`nix/hix.nix` project configuation:' - fi - ${pkgs.bat}/bin/bat nix/hix.nix - ;; - repl) - nix $cmd ${hixProject} ${args} "$@" - ;; - *) - nix $cmd "$@" - ;; esac ''; in (pkgs.symlinkJoin { diff --git a/hix/init/nix/hix.nix b/hix/init/nix/hix.nix index 7112e3aeda..d01778f7c0 100644 --- a/hix/init/nix/hix.nix +++ b/hix/init/nix/hix.nix @@ -1,6 +1,6 @@ {pkgs, ...}: { # name = "project-name"; - compiler-nix-name = "ghc92"; # Version of GHC to use + compiler-nix-name = "ghc96"; # Version of GHC to use # Cross compilation support: # crossPlatforms = p: pkgs.lib.optionals pkgs.stdenv.hostPlatform.isx86_64 ([ diff --git a/hix/project/flake.nix b/hix/project/flake.nix index 5fbbed0aef..729e2ceb3a 100644 --- a/hix/project/flake.nix +++ b/hix/project/flake.nix @@ -5,19 +5,34 @@ inputs.haskellNix.url = "github:input-output-hk/haskell.nix"; inputs.nixpkgs.follows = "haskellNix/nixpkgs-unstable"; inputs.flake-utils.url = "github:numtide/flake-utils"; + inputs.projectArgs.url = "github:input-output-hk/empty-flake"; + inputs.projectArgs.flake = false; inputs.src.flake = false; - outputs = { self, src, nixpkgs, flake-utils, haskellNix }: - flake-utils.lib.eachSystem [ "EVAL_SYSTEM" ] (system: + outputs = { self, src, nixpkgs, flake-utils, haskellNix, projectArgs }: + flake-utils.lib.eachSystem ( + if builtins.pathExists (projectArgs + "/supportedSystems.nix") + then import (projectArgs + "/supportedSystems.nix") + else [ "EVAL_SYSTEM" ]) (system: let overlays = [ haskellNix.overlay (final: _prev: { hixProject = - final.haskell-nix.hix.project { - inherit src; - }; + (final.haskell-nix.hix.project + { inherit src; }).appendModule ( + if builtins.pathExists (projectArgs + "/projectArgs.nix") + then import (projectArgs + "/projectArgs.nix") + else {} + ); }) ]; - pkgs = import nixpkgs { inherit system overlays; inherit (haskellNix) config; }; + pkgs = import nixpkgs { inherit system; + overlays = overlays ++ (if builtins.pathExists (projectArgs + "/overlays.nix") + then import (projectArgs + "/overlays.nix") + else []); + config = haskellNix.config // (if builtins.pathExists (projectArgs + "/config.nix") + then import (projectArgs + "/config.nix") + else {}); + }; flake = pkgs.hixProject.flake {}; in flake // { legacyPackages = pkgs; diff --git a/lazy-inputs/default.nix b/lazy-inputs/default.nix index 562e3776e7..1fe105262f 100644 --- a/lazy-inputs/default.nix +++ b/lazy-inputs/default.nix @@ -3,7 +3,7 @@ let callFlake = import prev.haskell-nix.sources.flake-compat; in { haskell-nix = prev.haskell-nix // { - sources = prev.haskell-nix.sources // { + sources = { inherit ((callFlake { pkgs = final; src = ./ghc8107; }).defaultNix) ghc8107; inherit ((callFlake { pkgs = final; src = ./ghc901; }).defaultNix) ghc901; inherit ((callFlake { pkgs = final; src = ./ghc902; }).defaultNix) ghc902; @@ -29,9 +29,19 @@ in { inherit ((callFlake { pkgs = final; src = ./ghc964; }).defaultNix) ghc964; inherit ((callFlake { pkgs = final; src = ./ghc965; }).defaultNix) ghc965; inherit ((callFlake { pkgs = final; src = ./ghc966; }).defaultNix) ghc966; + inherit ((callFlake { pkgs = final; src = ./ghc967; }).defaultNix) ghc967; + inherit ((callFlake { pkgs = final; src = ./ghc96X; }).defaultNix) ghc96X; inherit ((callFlake { pkgs = final; src = ./ghc981; }).defaultNix) ghc981; inherit ((callFlake { pkgs = final; src = ./ghc982; }).defaultNix) ghc982; + inherit ((callFlake { pkgs = final; src = ./ghc983; }).defaultNix) ghc983; + inherit ((callFlake { pkgs = final; src = ./ghc984; }).defaultNix) ghc984; inherit ((callFlake { pkgs = final; src = ./ghc9101; }).defaultNix) ghc9101; - }; + inherit ((callFlake { pkgs = final; src = ./ghc9102; }).defaultNix) ghc9102; + inherit ((callFlake { pkgs = final; src = ./ghc9121; }).defaultNix) ghc9121; + inherit ((callFlake { pkgs = final; src = ./ghc9122; }).defaultNix) ghc9122; + inherit ((callFlake { pkgs = final; src = ./ghc912X; }).defaultNix) ghc912X; + inherit ((callFlake { pkgs = final; src = ./ghc913; }).defaultNix) ghc913; + inherit ((callFlake { pkgs = final; src = ./libffi-wasm; }).defaultNix) libffi-wasm; + } // prev.haskell-nix.sources; }; } diff --git a/lazy-inputs/ghc9102/flake.lock b/lazy-inputs/ghc9102/flake.lock new file mode 100644 index 0000000000..1e4e17ca33 --- /dev/null +++ b/lazy-inputs/ghc9102/flake.lock @@ -0,0 +1,30 @@ +{ + "nodes": { + "ghc9102": { + "flake": false, + "locked": { + "lastModified": 1746105481, + "narHash": "sha256-W7X+hwY9NhYwFrVQTHZtQZ8Pq0PiwXEieDLwxYaH+zE=", + "ref": "ghc-9.10.2-iog", + "rev": "c9de16b57adcb6810d059ebd1c72d97b4b6a7cec", + "revCount": 62944, + "submodules": true, + "type": "git", + "url": "https://github.com/stable-haskell/ghc" + }, + "original": { + "ref": "ghc-9.10.2-iog", + "submodules": true, + "type": "git", + "url": "https://github.com/stable-haskell/ghc" + } + }, + "root": { + "inputs": { + "ghc9102": "ghc9102" + } + } + }, + "root": "root", + "version": 7 +} diff --git a/lazy-inputs/ghc9102/flake.nix b/lazy-inputs/ghc9102/flake.nix new file mode 100644 index 0000000000..f3612c11a0 --- /dev/null +++ b/lazy-inputs/ghc9102/flake.nix @@ -0,0 +1,12 @@ +{ + description = "Lazy Input for Haskell.nix"; + + inputs = { + ghc9102 = { + flake = false; + url = "git+https://github.com/stable-haskell/ghc?ref=ghc-9.10.2-iog&submodules=1"; + }; + }; + + outputs = inputs: inputs; +} diff --git a/lazy-inputs/ghc911/flake.lock b/lazy-inputs/ghc911/flake.lock deleted file mode 100644 index 1e883aec87..0000000000 --- a/lazy-inputs/ghc911/flake.lock +++ /dev/null @@ -1,29 +0,0 @@ -{ - "nodes": { - "ghc911": { - "flake": false, - "locked": { - "lastModified": 1726660620, - "narHash": "sha256-A+vKrnt0dC9mA6vIUjeAneo6oHL/5JHmnFw/zD2K/q0=", - "ref": "refs/heads/master", - "rev": "35eb4f428ab72b712ea78d6ef86b956e321c3bb2", - "revCount": 67241, - "submodules": true, - "type": "git", - "url": "https://gitlab.haskell.org/ghc/ghc" - }, - "original": { - "submodules": true, - "type": "git", - "url": "https://gitlab.haskell.org/ghc/ghc" - } - }, - "root": { - "inputs": { - "ghc911": "ghc911" - } - } - }, - "root": "root", - "version": 7 -} diff --git a/lazy-inputs/ghc911/flake.nix b/lazy-inputs/ghc911/flake.nix deleted file mode 100644 index 7ad2912908..0000000000 --- a/lazy-inputs/ghc911/flake.nix +++ /dev/null @@ -1,12 +0,0 @@ -{ - description = "Lazy Input for Haskell.nix"; - - inputs = { - ghc911 = { - flake = false; - url = "git+https://gitlab.haskell.org/ghc/ghc?submodules=1"; - }; - }; - - outputs = inputs: inputs; -} diff --git a/lazy-inputs/ghc9121/flake.lock b/lazy-inputs/ghc9121/flake.lock new file mode 100644 index 0000000000..2b1d28bfca --- /dev/null +++ b/lazy-inputs/ghc9121/flake.lock @@ -0,0 +1,30 @@ +{ + "nodes": { + "ghc9121": { + "flake": false, + "locked": { + "lastModified": 1734278290, + "narHash": "sha256-oSiGEkiQlkmCr7qsFUJ9qpwsU4AumOIpFn6zN4ByMNg=", + "ref": "ghc-9.12.1-iog", + "rev": "daf659b6e3c8f2a84100fbee797cd9d457c00df5", + "revCount": 67524, + "submodules": true, + "type": "git", + "url": "https://github.com/stable-haskell/ghc" + }, + "original": { + "ref": "ghc-9.12.1-iog", + "submodules": true, + "type": "git", + "url": "https://github.com/stable-haskell/ghc" + } + }, + "root": { + "inputs": { + "ghc9121": "ghc9121" + } + } + }, + "root": "root", + "version": 7 +} diff --git a/lazy-inputs/ghc9121/flake.nix b/lazy-inputs/ghc9121/flake.nix new file mode 100644 index 0000000000..8973132b05 --- /dev/null +++ b/lazy-inputs/ghc9121/flake.nix @@ -0,0 +1,12 @@ +{ + description = "Lazy Input for Haskell.nix"; + + inputs = { + ghc9121 = { + flake = false; + url = "git+https://github.com/stable-haskell/ghc?ref=ghc-9.12.1-iog&submodules=1"; + }; + }; + + outputs = inputs: inputs; +} diff --git a/lazy-inputs/ghc9122/flake.lock b/lazy-inputs/ghc9122/flake.lock new file mode 100644 index 0000000000..d3035ce10c --- /dev/null +++ b/lazy-inputs/ghc9122/flake.lock @@ -0,0 +1,30 @@ +{ + "nodes": { + "ghc9122": { + "flake": false, + "locked": { + "lastModified": 1741786638, + "narHash": "sha256-CsUKRGjJ68QFiLPqQkqhOVMnUbTm1BEz01hnNeZqctc=", + "ref": "ghc-9.12.2-iog", + "rev": "383be28ffdddf65b57b7b111bfc89808b4229ebc", + "revCount": 67542, + "submodules": true, + "type": "git", + "url": "https://github.com/stable-haskell/ghc" + }, + "original": { + "ref": "ghc-9.12.2-iog", + "submodules": true, + "type": "git", + "url": "https://github.com/stable-haskell/ghc" + } + }, + "root": { + "inputs": { + "ghc9122": "ghc9122" + } + } + }, + "root": "root", + "version": 7 +} diff --git a/lazy-inputs/ghc9122/flake.nix b/lazy-inputs/ghc9122/flake.nix new file mode 100644 index 0000000000..679e4ff295 --- /dev/null +++ b/lazy-inputs/ghc9122/flake.nix @@ -0,0 +1,12 @@ +{ + description = "Lazy Input for Haskell.nix"; + + inputs = { + ghc9122 = { + flake = false; + url = "git+https://github.com/stable-haskell/ghc?ref=ghc-9.12.2-iog&submodules=1"; + }; + }; + + outputs = inputs: inputs; +} diff --git a/lazy-inputs/ghc912X/flake.lock b/lazy-inputs/ghc912X/flake.lock new file mode 100644 index 0000000000..e3ba39af8b --- /dev/null +++ b/lazy-inputs/ghc912X/flake.lock @@ -0,0 +1,30 @@ +{ + "nodes": { + "ghc912X": { + "flake": false, + "locked": { + "lastModified": 1739998238, + "narHash": "sha256-CgmWnocb0K2fy89koME7H2tTFEOhjxZ9G+C+PQDKoZA=", + "ref": "ghc-9.12", + "rev": "a73d6c7f5d18dc6b5366a9b87a899978fadfb2ab", + "revCount": 67541, + "submodules": true, + "type": "git", + "url": "https://gitlab.haskell.org/ghc/ghc" + }, + "original": { + "ref": "ghc-9.12", + "submodules": true, + "type": "git", + "url": "https://gitlab.haskell.org/ghc/ghc" + } + }, + "root": { + "inputs": { + "ghc912X": "ghc912X" + } + } + }, + "root": "root", + "version": 7 +} diff --git a/lazy-inputs/ghc912X/flake.nix b/lazy-inputs/ghc912X/flake.nix new file mode 100644 index 0000000000..ca7a84eea8 --- /dev/null +++ b/lazy-inputs/ghc912X/flake.nix @@ -0,0 +1,12 @@ +{ + description = "Lazy Input for Haskell.nix"; + + inputs = { + ghc912X = { + flake = false; + url = "git+https://gitlab.haskell.org/ghc/ghc?ref=ghc-9.12&submodules=1"; + }; + }; + + outputs = inputs: inputs; +} diff --git a/lazy-inputs/ghc913/flake.lock b/lazy-inputs/ghc913/flake.lock new file mode 100644 index 0000000000..d73af49a22 --- /dev/null +++ b/lazy-inputs/ghc913/flake.lock @@ -0,0 +1,29 @@ +{ + "nodes": { + "ghc913": { + "flake": false, + "locked": { + "lastModified": 1748027596, + "narHash": "sha256-5WU40R26lwl0lRTkEnWui8CEikZ9gRnbiOa4aw/GbI4=", + "ref": "refs/heads/master", + "rev": "17db44c5b32fff82ea988fa4f1a233d1a27bdf57", + "revCount": 68114, + "submodules": true, + "type": "git", + "url": "https://gitlab.haskell.org/ghc/ghc" + }, + "original": { + "submodules": true, + "type": "git", + "url": "https://gitlab.haskell.org/ghc/ghc" + } + }, + "root": { + "inputs": { + "ghc913": "ghc913" + } + } + }, + "root": "root", + "version": 7 +} diff --git a/lazy-inputs/ghc913/flake.nix b/lazy-inputs/ghc913/flake.nix new file mode 100644 index 0000000000..db172cc218 --- /dev/null +++ b/lazy-inputs/ghc913/flake.nix @@ -0,0 +1,12 @@ +{ + description = "Lazy Input for Haskell.nix"; + + inputs = { + ghc913 = { + flake = false; + url = "git+https://gitlab.haskell.org/ghc/ghc?submodules=1"; + }; + }; + + outputs = inputs: inputs; +} diff --git a/lazy-inputs/ghc967/flake.lock b/lazy-inputs/ghc967/flake.lock new file mode 100644 index 0000000000..7e00d18d4b --- /dev/null +++ b/lazy-inputs/ghc967/flake.lock @@ -0,0 +1,30 @@ +{ + "nodes": { + "ghc967": { + "flake": false, + "locked": { + "lastModified": 1740624264, + "narHash": "sha256-2gLt3yKMnddXHepwi97eYUs9O+PycsS7nRI0yOtycKw=", + "ref": "ghc-9.6.7-iog", + "rev": "2b22b6ae69c94e721fde8af0108eb0feed97cc82", + "revCount": 61113, + "submodules": true, + "type": "git", + "url": "https://github.com/stable-haskell/ghc" + }, + "original": { + "ref": "ghc-9.6.7-iog", + "submodules": true, + "type": "git", + "url": "https://github.com/stable-haskell/ghc" + } + }, + "root": { + "inputs": { + "ghc967": "ghc967" + } + } + }, + "root": "root", + "version": 7 +} diff --git a/lazy-inputs/ghc967/flake.nix b/lazy-inputs/ghc967/flake.nix new file mode 100644 index 0000000000..9c875d9934 --- /dev/null +++ b/lazy-inputs/ghc967/flake.nix @@ -0,0 +1,12 @@ +{ + description = "Lazy Input for Haskell.nix"; + + inputs = { + ghc967 = { + flake = false; + url = "git+https://github.com/stable-haskell/ghc?ref=ghc-9.6.7-iog&submodules=1"; + }; + }; + + outputs = inputs: inputs; +} diff --git a/lazy-inputs/ghc96X/flake.lock b/lazy-inputs/ghc96X/flake.lock new file mode 100644 index 0000000000..ee8f170a5a --- /dev/null +++ b/lazy-inputs/ghc96X/flake.lock @@ -0,0 +1,30 @@ +{ + "nodes": { + "ghc96X": { + "flake": false, + "locked": { + "lastModified": 1740624264, + "narHash": "sha256-2gLt3yKMnddXHepwi97eYUs9O+PycsS7nRI0yOtycKw=", + "ref": "ghc-9.6", + "rev": "2b22b6ae69c94e721fde8af0108eb0feed97cc82", + "revCount": 61113, + "submodules": true, + "type": "git", + "url": "https://gitlab.haskell.org/ghc/ghc" + }, + "original": { + "ref": "ghc-9.6", + "submodules": true, + "type": "git", + "url": "https://gitlab.haskell.org/ghc/ghc" + } + }, + "root": { + "inputs": { + "ghc96X": "ghc96X" + } + } + }, + "root": "root", + "version": 7 +} diff --git a/lazy-inputs/ghc96X/flake.nix b/lazy-inputs/ghc96X/flake.nix new file mode 100644 index 0000000000..1b973d0649 --- /dev/null +++ b/lazy-inputs/ghc96X/flake.nix @@ -0,0 +1,12 @@ +{ + description = "Lazy Input for Haskell.nix"; + + inputs = { + ghc96X = { + flake = false; + url = "git+https://gitlab.haskell.org/ghc/ghc?ref=ghc-9.6&submodules=1"; + }; + }; + + outputs = inputs: inputs; +} diff --git a/lazy-inputs/ghc983/flake.lock b/lazy-inputs/ghc983/flake.lock new file mode 100644 index 0000000000..e5f97ab89c --- /dev/null +++ b/lazy-inputs/ghc983/flake.lock @@ -0,0 +1,30 @@ +{ + "nodes": { + "ghc983": { + "flake": false, + "locked": { + "lastModified": 1729341681, + "narHash": "sha256-6gkAFzft1DEoZvN0jhtYV49P2PGusK0duMJLzsoBmpo=", + "ref": "ghc-9.8.3-iog", + "rev": "72e041753f8d2c5b1fae0465277b187c61f17634", + "revCount": 61868, + "submodules": true, + "type": "git", + "url": "https://github.com/stable-haskell/ghc" + }, + "original": { + "ref": "ghc-9.8.3-iog", + "submodules": true, + "type": "git", + "url": "https://github.com/stable-haskell/ghc" + } + }, + "root": { + "inputs": { + "ghc983": "ghc983" + } + } + }, + "root": "root", + "version": 7 +} diff --git a/lazy-inputs/ghc983/flake.nix b/lazy-inputs/ghc983/flake.nix new file mode 100644 index 0000000000..8612fb0483 --- /dev/null +++ b/lazy-inputs/ghc983/flake.nix @@ -0,0 +1,12 @@ +{ + description = "Lazy Input for Haskell.nix"; + + inputs = { + ghc983 = { + flake = false; + url = "git+https://github.com/stable-haskell/ghc?ref=ghc-9.8.3-iog&submodules=1"; + }; + }; + + outputs = inputs: inputs; +} diff --git a/lazy-inputs/ghc984/flake.lock b/lazy-inputs/ghc984/flake.lock new file mode 100644 index 0000000000..e8572b9b75 --- /dev/null +++ b/lazy-inputs/ghc984/flake.lock @@ -0,0 +1,30 @@ +{ + "nodes": { + "ghc984": { + "flake": false, + "locked": { + "lastModified": 1732720399, + "narHash": "sha256-6wEklk1Cf6nzjbWkzXLvTVGs5Q6Q4PrN1J6rq1nVEeU=", + "ref": "ghc-9.8.4-iog", + "rev": "a3401159f2846605abb517e71af463df47398e72", + "revCount": 61890, + "submodules": true, + "type": "git", + "url": "https://github.com/stable-haskell/ghc" + }, + "original": { + "ref": "ghc-9.8.4-iog", + "submodules": true, + "type": "git", + "url": "https://github.com/stable-haskell/ghc" + } + }, + "root": { + "inputs": { + "ghc984": "ghc984" + } + } + }, + "root": "root", + "version": 7 +} diff --git a/lazy-inputs/ghc984/flake.nix b/lazy-inputs/ghc984/flake.nix new file mode 100644 index 0000000000..cb99523fdf --- /dev/null +++ b/lazy-inputs/ghc984/flake.nix @@ -0,0 +1,12 @@ +{ + description = "Lazy Input for Haskell.nix"; + + inputs = { + ghc984 = { + flake = false; + url = "git+https://github.com/stable-haskell/ghc?ref=ghc-9.8.4-iog&submodules=1"; + }; + }; + + outputs = inputs: inputs; +} diff --git a/lazy-inputs/libffi-wasm/flake.lock b/lazy-inputs/libffi-wasm/flake.lock new file mode 100644 index 0000000000..1240847b6a --- /dev/null +++ b/lazy-inputs/libffi-wasm/flake.lock @@ -0,0 +1,29 @@ +{ + "nodes": { + "libffi-wasm": { + "flake": false, + "locked": { + "host": "gitlab.haskell.org", + "lastModified": 1741286406, + "narHash": "sha256-GxC9G+LYRHwKArwXNeU9Enq7u4arvPbFfE4kQj1cHyc=", + "owner": "haskell-wasm", + "repo": "libffi-wasm", + "rev": "e2dbdd8ded953e7a4df42c192da65ab36b9f0345", + "type": "gitlab" + }, + "original": { + "host": "gitlab.haskell.org", + "owner": "haskell-wasm", + "repo": "libffi-wasm", + "type": "gitlab" + } + }, + "root": { + "inputs": { + "libffi-wasm": "libffi-wasm" + } + } + }, + "root": "root", + "version": 7 +} diff --git a/lazy-inputs/libffi-wasm/flake.nix b/lazy-inputs/libffi-wasm/flake.nix new file mode 100644 index 0000000000..447a162aff --- /dev/null +++ b/lazy-inputs/libffi-wasm/flake.nix @@ -0,0 +1,12 @@ +{ + description = "Lazy Input for Haskell.nix"; + + inputs = { + libffi-wasm = { + flake = false; + url = "gitlab:haskell-wasm/libffi-wasm?host=gitlab.haskell.org"; + }; + }; + + outputs = inputs: inputs; +} diff --git a/lib/cabal-project-parser.nix b/lib/cabal-project-parser.nix index 8b7633b679..f24771a89b 100644 --- a/lib/cabal-project-parser.nix +++ b/lib/cabal-project-parser.nix @@ -128,7 +128,7 @@ let # This works in a similar way to the `source-repository-package` but we are # able to simply replace the `repository` blocks with local `file:/nix/store` ones. # This works because `cabal configure` does not include any of the `/nix/sore/` - # paths in the `plan.json` (so materialized plan-nix will still work as expeced). + # paths in the `plan.json` (so materialized plan-nix will still work as expected). # See tests/unit.nix for examples of input and output. parseRepositoryBlock = evalPackages: _cabalProjectFileName: sha256map: inputMap: nix-tools: block: let diff --git a/lib/call-cabal-project-to-nix.nix b/lib/call-cabal-project-to-nix.nix index f51b870b9a..34dec9b988 100644 --- a/lib/call-cabal-project-to-nix.nix +++ b/lib/call-cabal-project-to-nix.nix @@ -1,6 +1,7 @@ -{ pkgs, runCommand, cacert, index-state-hashes, haskellLib }: +{ pkgs, cacert, index-state-hashes, haskellLib }: { name ? src.name or null # optional name for better error messages , src +, evalSrc ? src , materialized-dir ? ../materialized , compiler-nix-name # The name of the ghc compiler to use eg. "ghc884" , index-state ? null # Hackage index-state, eg. "2019-10-10T00:00:00Z" @@ -13,8 +14,7 @@ , cabalProjectLocal ? null , cabalProjectFreeze ? null , caller ? "callCabalProjectToNix" # Name of the calling function for better warning messages -, compilerSelection ? p: p.haskell-nix.compiler -, ghc ? null # Deprecated in favour of `compiler-nix-name` +, compilerSelection ? p: builtins.mapAttrs (_: x: x.override { ghcEvalPackages = evalPackages; }) p.haskell-nix.compiler , ghcOverride ? null # Used when we need to set ghc explicitly during bootstrapping , configureArgs ? "" # Extra arguments to pass to `cabal v2-configure`. # `--enable-tests --enable-benchmarks` are included by default. @@ -74,41 +74,34 @@ let nix-tools = if args.nix-tools or null != null then args.nix-tools else evalPackages.haskell-nix.nix-tools-unchecked; - forName = pkgs.lib.optionalString (name != null) (" for " + name); + nameAndSuffix = suffix: if name == null then suffix else name + "-" + suffix; ghc' = if ghcOverride != null then ghcOverride else - if ghc != null - then __trace ("WARNING: A `ghc` argument was passed" + forName - + " this has been deprecated in favour of `compiler-nix-name`. " - + "Using `ghc` will break cross compilation setups, as haskell.nix cannot " - + "pick the correct `ghc` package from the respective buildPackages. " - + "For example, use `compiler-nix-name = \"ghc865\";` for GHC 8.6.5.") ghc - else - # Do note that `pkgs = final.buildPackages` in the `overlays/haskell.nix` - # call to this file. And thus `pkgs` here is the proper `buildPackages` - # set and we do not need, nor should pick the compiler from another level - # of `buildPackages`, lest we want to get confusing errors about the Win32 - # package. - # - # > The option `packages.Win32.package.identifier.name' is used but not defined. - # - (compilerSelection pkgs)."${compiler-nix-name}"; + # Do note that `pkgs = final.buildPackages` in the `overlays/haskell.nix` + # call to this file. And thus `pkgs` here is the proper `buildPackages` + # set and we do not need, nor should pick the compiler from another level + # of `buildPackages`, lest we want to get confusing errors about the Win32 + # package. + # + # > The option `packages.Win32.package.identifier.name' is used but not defined. + # + (compilerSelection pkgs)."${compiler-nix-name}"; in let ghc = if ghc' ? latestVersion then __trace "WARNING: ${ghc'.version} is out of date, consider using upgrading to ${ghc'.latestVersion}." ghc' else ghc'; - subDir' = src.origSubDir or ""; + subDir' = evalSrc.origSubDir or ""; subDir = pkgs.lib.strings.removePrefix "/" subDir'; cleanedSource = haskellLib.cleanSourceWith { name = if name != null then "${name}-root-cabal-files" else "source-root-cabal-files"; - src = src.origSrc or src; - filter = path: type: (!(src ? filter) || src.filter path type) && ( + src = evalSrc.origSrc or evalSrc; + filter = path: type: (!(evalSrc ? filter) || evalSrc.filter path type) && ( type == "directory" || pkgs.lib.any (i: (pkgs.lib.hasSuffix i path)) [ ".cabal" "package.yaml" ]); }; @@ -159,7 +152,7 @@ in let let suitable-index-states = builtins.filter - (s: s >= index-state-max) # This compare is why we need zulu time + (s: s > index-state-max) # This compare is why we need zulu time (builtins.attrNames index-state-hashes); in if builtins.length suitable-index-states == 0 @@ -201,10 +194,11 @@ let then fetchgit { inherit (repoData) url sha256; rev = repoData.rev or repoData.ref; } else let drv = builtins.fetchGit - { inherit (repoData) url ; ref = repoData.ref or null; } - # fetchGit does not accept "null" as rev, so when it's null - # we have to omit the argument completely. - // pkgs.lib.optionalAttrs (repoData ? rev) { inherit (repoData) rev; }; + ({ inherit (repoData) url ; } + # fetchGit does not accept "null" as rev and ref, so when it's null + # we have to omit the argument completely. + // pkgs.lib.optionalAttrs (repoData ? ref) { inherit (repoData) ref; } + // pkgs.lib.optionalAttrs (repoData ? rev) { inherit (repoData) rev; }); in __trace "WARNING: No sha256 found for source-repository-package ${repoData.url} ref=${repoData.ref or "(unspecified)"} rev=${repoData.rev or "(unspecified)"} download may fail in restricted mode (hydra)" (__trace "Consider adding `--sha256: ${hashPath drv}` to the ${cabalProjectFileName} file or passing in a sha256map argument" drv); @@ -337,15 +331,25 @@ let then "OSMinGW32" else if pkgs.stdenv.targetPlatform.isGhcjs then "OSGhcjs" + else if pkgs.stdenv.targetPlatform.isWasi + then "OSWasi" else throw "Unknown target os ${pkgs.stdenv.targetPlatform.config}" }")' echo ',("target arch","${ if pkgs.stdenv.targetPlatform.isx86_64 then "ArchX86_64" + else if pkgs.stdenv.targetPlatform.isx86 + then "ArchX86" + else if pkgs.stdenv.targetPlatform.isRiscV64 + then "ArchRISCV64" else if pkgs.stdenv.targetPlatform.isAarch64 then "ArchAArch64" + else if pkgs.stdenv.targetPlatform.isAarch32 + then "ArchAArch32" else if pkgs.stdenv.targetPlatform.isJavaScript then "ArchJavaScript" + else if pkgs.stdenv.targetPlatform.isWasm + then "ArchWasm32" else throw "Unknown target arch ${pkgs.stdenv.targetPlatform.config}" }")' echo ',("target platform string","${platformString pkgs.stdenv.targetPlatform}")' @@ -366,57 +370,6 @@ let ''; }; - ghc-pkgs = [ - "Cabal" - "array" - "base" - "binary" - "bytestring" - "containers" - "deepseq" - "directory" - "filepath" - "ghc-boot" - "ghc-boot-th" - "ghc-compact" - "ghc-heap" - "ghc-prim" - "ghci" - "integer-gmp" - "mtl" - "parsec" - "pretty" - "process" - "rts" - "template-haskell" - "text" - "time" - "transformers" - ] ++ pkgs.lib.optionals (!pkgs.stdenv.targetPlatform.isGhcjs || builtins.compareVersions ghc.version "9.0" > 0) [ - # GHCJS 8.10 does not have these - "Cabal-syntax" - "exceptions" - "file-io" - "ghc" - "ghc-bignum" - "ghc-experimental" - "ghc-internal" - "ghc-platform" - "ghc-toolchain" - "haskeline" - "hpc" - "libiserv" - "os-string" - "semaphore-compat" - "stm" - "xhtml" - ] ++ pkgs.lib.optionals (!pkgs.stdenv.targetPlatform.isGhcjs) [ - "terminfo" - ] ++ (if pkgs.stdenv.targetPlatform.isWindows - then [ "Win32" ] - else [ "unix" ] - ); - dummy-ghc-pkg-dump = evalPackages.runCommand "dummy-ghc-pkg-dump" { nativeBuildInputs = [ evalPackages.haskell-nix.nix-tools-unchecked.exes.cabal2json @@ -512,6 +465,8 @@ let cabal_file=${ghcSrc}/compiler/${name}.cabal.in elif [ -f ${ghcSrc}/libraries/${name}/${name}.cabal.in ]; then cabal_file=${ghcSrc}/libraries/${name}/${name}.cabal.in + elif [ -f ${ghcSrc}/utils/haddock/${name}/${name}.cabal ]; then + cabal_file=${ghcSrc}/utils/haddock/${name}/${name}.cabal fi if [[ "$cabal_file" != "" ]]; then fixed_cabal_file=$(mktemp) @@ -519,27 +474,45 @@ let json_cabal_file=$(mktemp) cabal2json $fixed_cabal_file > $json_cabal_file - exposed_modules="$(jq -r '.library."exposed-modules"[]|select(type=="array")[]' $json_cabal_file)" - reexported_modules="$(jq -r '.library."reexported-modules"//[]|.[]|select(type=="array")[]' $json_cabal_file)" + exposed_modules="$(jq -r '.components.lib."exposed-modules"//[]|.[]|select(type=="string")' $json_cabal_file)" + reexported_modules="$(jq -r '.components.lib."reexported-modules"//[]|.[]|select(type=="string")' $json_cabal_file | sed 's/.* as //g')" # FIXME This is a bandaid. Rather than doing this, conditionals should be interpreted. ${pkgs.lib.optionalString pkgs.stdenv.targetPlatform.isGhcjs '' - exposed_modules+=" $(jq -r '.library."exposed-modules"[]|select(type=="object" and .if.arch == "javascript")|.then[]' $json_cabal_file)" + exposed_modules+=" $(jq -r '.components.lib."exposed-modules"//[]|.[]|select(type=="object" and ._if.arch == "javascript")|._then[]' $json_cabal_file)" ''} ${pkgs.lib.optionalString pkgs.stdenv.targetPlatform.isWindows '' - exposed_modules+=" $(jq -r '.library."exposed-modules"[]|select(type=="object" and .if.os == "windows")|.then[]' $json_cabal_file)" + exposed_modules+=" $(jq -r '.components.lib."exposed-modules"//[]|.[]|select(type=="object" and ._if.os == "windows")|._then[]' $json_cabal_file)" ''} ${pkgs.lib.optionalString (!pkgs.stdenv.targetPlatform.isWindows) '' - exposed_modules+=" $(jq -r '.library."exposed-modules"[]|select(type=="object" and .if.not.os == "windows")|.then[]' $json_cabal_file)" + exposed_modules+=" $(jq -r '.components.lib."exposed-modules"//[]|.[]|select(type=="object" and ._if.not.os == "windows")|._then[]' $json_cabal_file)" ''} EXPOSED_MODULES_${varname name}="$(tr '\n' ' ' <<< "$exposed_modules $reexported_modules")" - DEPS_${varname name}="$(jq -r '.library."build-depends"[]|select(type=="array")[],select(type=="object" and .if.not.flag != "vendor-filepath").then[]' $json_cabal_file | sed 's/^\([A-Za-z0-9-]*\).*$/\1/g' | sort -u | tr '\n' ' ')" + deps="$(jq -r '.components.lib."build-depends"[]|select(.package)|.package' $json_cabal_file)" + deps+=" $(jq -r '.components.lib."build-depends"[]|select((.if.flag or ._if.not.flag) and ._if.not.flag != "vendor-filepath")._then[]|.package' $json_cabal_file)" + ${pkgs.lib.optionalString pkgs.stdenv.targetPlatform.isWindows '' + deps+=" $(jq -r '.components.lib."build-depends"[]|select(._if.os == "windows")|._then[]|.package' $json_cabal_file)" + ''} + ${pkgs.lib.optionalString (!pkgs.stdenv.targetPlatform.isWindows) '' + deps+=" $(jq -r '.components.lib."build-depends"[]|select(._if.not.os == "windows")|._then[]|.package' $json_cabal_file)" + '' + # Fix problem with `haskeline` using a `terminfo` flag + # For haskell-nix ghc we can use ghc.enableTerminfo to get the flag setting + + pkgs.lib.optionalString (name == "haskeline" && !pkgs.stdenv.targetPlatform.isWindows && ghc.enableTerminfo or true) '' + deps+=" terminfo" + '' + # Similar issue for Win32:filepath build-depends (hidden behind `if impl(ghc >= 8.0)`) + + pkgs.lib.optionalString (name == "Win32" && pkgs.stdenv.targetPlatform.isWindows) '' + deps+=" filepath" + '' + } + DEPS_${varname name}="$(tr '\n' ' ' <<< "$deps")" VER_${varname name}="$(jq -r '.version' $json_cabal_file)" PKGS+=" ${name}" LAST_PKG="${name}" fi - '') ghc-pkgs) + '') (pkgs.haskell-nix.ghc-pre-existing ghc)) } ${ # There is no .cabal file for system-cxx-std-lib pkgs.lib.optionalString (builtins.compareVersions ghc.version "9.2" >= 0) ( @@ -689,8 +662,8 @@ let cabal.project.freeze chmod +w cabal.project.freeze ''} - export SSL_CERT_FILE=${cacert}/etc/ssl/certs/ca-bundle.crt - export GIT_SSL_CAINFO=${cacert}/etc/ssl/certs/ca-bundle.crt + export SSL_CERT_FILE=${evalPackages.cacert}/etc/ssl/certs/ca-bundle.crt + export GIT_SSL_CAINFO=${evalPackages.cacert}/etc/ssl/certs/ca-bundle.crt export CABAL_DIR=${ # This creates `.cabal` directory that is as it would have @@ -709,7 +682,9 @@ let # Setting the desired `index-state` here in case it is not # in the cabal.project file. This will further restrict the # packages used by the solver (cached-index-state >= index-state-max). - pkgs.lib.optionalString (index-state != null) "--index-state=${index-state}" + # Cabal treats `--index-state` > the last known package as an error, + # so we only include this if it is < cached-index-state. + pkgs.lib.optionalString (index-state != null && index-state < cached-index-state) "--index-state=${index-state}" } \ -w ${ # We are using `-w` rather than `--with-ghc` here to override diff --git a/lib/check.nix b/lib/check.nix index 81a0047dd1..fd6508e3df 100644 --- a/lib/check.nix +++ b/lib/check.nix @@ -1,7 +1,10 @@ -{ stdenv, lib, haskellLib, buildPackages }: -let self = drv: +{ stdenv, lib, haskellLib, pkgsBuildBuild }: +let self = drvOrig: let + # Work around problem running dynamicially linked Android executables with qemu. + drv = drvOrig.override (oldAttrs: lib.optionalAttrs stdenv.hostPlatform.isAndroid { setupBuildFlags = (oldAttrs.setupBuildFlags or []) ++ ["--ghc-option=-optl-static"]; }); + component = drv.config; # This derivation can be used to execute test component. @@ -27,16 +30,17 @@ in stdenv.mkDerivation (( name = (drv.name + "-check"); passthru = { - inherit (drv) identifier config configFiles executableToolDepends cleanSrc env exeName; + inherit (drv) identifier config configFiles executableToolDepends cleanSrc env exeName meta; profiled = self drv.profiled; dwarf = self drv.dwarf; }; - inherit (drv) meta LANG LC_ALL buildInputs; + inherit (drv) LANG LC_ALL buildInputs; + meta = builtins.removeAttrs drv.meta ["mainProgram"]; nativeBuildInputs = drv.nativeBuildInputs - ++ [buildPackages.xorg.lndir] - ++ lib.optional (stdenv.hostPlatform.isGhcjs) buildPackages.nodejs-18_x; + ++ [pkgsBuildBuild.xorg.lndir] + ++ lib.optional (stdenv.hostPlatform.isGhcjs) pkgsBuildBuild.nodejs; inherit (component) doCheck doCrossCheck; @@ -65,4 +69,4 @@ in stdenv.mkDerivation (( } // lib.optionalAttrs (drv ? LOCALE_ARCHIVE) { inherit (drv) LOCALE_ARCHIVE; } ); -in self \ No newline at end of file +in self diff --git a/lib/clean-cabal-component.nix b/lib/clean-cabal-component.nix index 28b79d4d88..86211e64e1 100644 --- a/lib/clean-cabal-component.nix +++ b/lib/clean-cabal-component.nix @@ -115,7 +115,7 @@ in lib.any (d: lib.strings.hasPrefix (rPath + "/") d) dirsNeeded) || traceReason "cabal package definition" (lib.strings.hasPrefix subDir rPath && lib.strings.hasSuffix ".cabal" rPath) - || traceReason "hpack package defintion" (lib.strings.hasPrefix subDir rPath + || traceReason "hpack package definition" (lib.strings.hasPrefix subDir rPath && rPath == "package.yaml") || traceReason "data file" (lib.strings.hasPrefix dataDir rPath && dataFileMatch rPath) diff --git a/lib/default.nix b/lib/default.nix index 88fef4a056..f9d7269701 100644 --- a/lib/default.nix +++ b/lib/default.nix @@ -160,15 +160,24 @@ in { let packageToComponents = _name: package: # look for the components with this group if there are any let components = package.components.${group} or {}; - # set recurseForDerivations unless it's a derivation itself (e.g. the "library" component) or an empty set - in if lib.isDerivation components || components == {} - then components - else recurseIntoAttrs components; + in { + inherit (package.identifier) name; + # set recurseForDerivations unless it's a derivation itself (e.g. the "library" component) or an empty set + components = + if lib.isDerivation components || components == {} + then components + else recurseIntoAttrs components; + }; packageFilter = _name: package: (package.isHaskell or false) && packageSel package; filteredPkgs = lib.filterAttrs packageFilter haskellPackages; # at this point we can filter out packages that don't have any of the given kind of component - packagesByComponent = lib.filterAttrs (_: components: components != {}) (lib.mapAttrs packageToComponents filteredPkgs); - in recurseIntoAttrs packagesByComponent; + packagesByComponent = lib.mapAttrsToList packageToComponents filteredPkgs; + packagesGroupedByName = builtins.groupBy (x: x.name) packagesByComponent; + combined = + lib.filterAttrs (_: components: components != {}) ( + builtins.mapAttrs (_name: packages: + builtins.foldl' (a: b: a // b) {} (map (x: x.components) packages)) packagesGroupedByName); + in recurseIntoAttrs combined; # Equivalent to collectComponents with (_: true) as selection function. # Useful for pre-filtered package-set. @@ -184,7 +193,7 @@ in { # This can be used to collect all the test runs in your project, so that can be run in CI. collectChecks = packageSel: haskellPackages: let packageFilter = _name: package: (package.isHaskell or false) && packageSel package; - in recurseIntoAttrs (lib.mapAttrs (_: p: p.checks) (lib.filterAttrs packageFilter haskellPackages)); + in recurseIntoAttrs (lib.filterAttrs (_: x: x != {} && x != recurseIntoAttrs {}) (lib.mapAttrs (_: p: p.checks) (lib.filterAttrs packageFilter haskellPackages))); # Equivalent to collectChecks with (_: true) as selection function. # Useful for pre-filtered package-set. @@ -232,7 +241,7 @@ in { # Check a test component check = import ./check.nix { inherit stdenv lib haskellLib; - inherit (pkgs) buildPackages; + inherit (pkgs) pkgsBuildBuild; }; # Do coverage of a package @@ -256,9 +265,9 @@ in { isCrossTarget = stdenv.targetPlatform != stdenv.hostPlatform && !(stdenv.hostPlatform.isLinux && stdenv.targetPlatform.isMusl && stdenv.hostPlatform.linuxArch == stdenv.targetPlatform.linuxArch); # Native musl build-host-target combo - isNativeMusl = stdenv.hostPlatform.isMusl - && stdenv.buildPlatform == stdenv.hostPlatform - && stdenv.hostPlatform == stdenv.targetPlatform; + isNativeMusl = stdenv.targetPlatform.isMusl + && stdenv.buildPlatform.linuxArch == stdenv.hostPlatform.linuxArch + && stdenv.hostPlatform.linuxArch == stdenv.targetPlatform.linuxArch; # Takes a version number, module or list of modules (for cabalProject) # and converts it to an list of project modules. This allows @@ -317,7 +326,7 @@ in { }; # Run evalModules passing the project function argument (m) as a module along with - # the the a projectType module (../modules/cabal-project.nix or ../modules/stack-project.nix). + # the a projectType module (../modules/cabal-project.nix or ../modules/stack-project.nix). # The resulting config is then passed to the project function's implementation. evalProjectModule = projectType: m: f: let project = f @@ -462,6 +471,7 @@ in { ${component.passthru.identifier.component-id} = { type = "app"; program = component.exePath; + inherit (component) meta; }; }) acc @@ -522,8 +532,7 @@ in { , apps ? mkFlakeApps haskellPackages , checks ? mkFlakeChecks (collectChecks' haskellPackages) , coverage ? {} - , devShell ? project.shell - , devShells ? { default = devShell; } + , devShells ? { default = project.shell; } , checkedProject ? project.appendModule { checkMaterialization = true; } , ciJobs ? mkFlakeCiJobs project { inherit checks coverage packages devShells checkedProject; } , hydraJobs ? ciJobs @@ -551,8 +560,7 @@ in { ciJobs # Used by: # `nix develop` - devShells - devShell; # TODO remove devShell once everyone has nix that supports `devShells.default` + devShells; }; # Adapt a standard project shell (`project.shell` or `haskell-nix.shellFor`) @@ -593,6 +601,8 @@ in { then "arm" else if hostPlatform.isAarch64 then "aarch64" + else if hostPlatform.isi686 + then "i386" else abort "Don't know which QEMU to use for hostPlatform ${hostPlatform.config}. Please provide qemuSuffix"; # How to run ldd when checking for static linking diff --git a/lib/host-map.nix b/lib/host-map.nix index b4a529f035..d91970d2ba 100644 --- a/lib/host-map.nix +++ b/lib/host-map.nix @@ -18,6 +18,7 @@ with stdenv.hostPlatform; { if isiOS then "Ios" else if isAndroid then "Android" else if isGhcjs then "Ghcjs" else + if isWasi then "Wasi" else if isAsterius then "Asterius" else throw "Unknown OS"; arch = if isx86 && is32bit then "I386" else diff --git a/lib/load-cabal-plan.nix b/lib/load-cabal-plan.nix index adf3a6898d..bebdea1912 100644 --- a/lib/load-cabal-plan.nix +++ b/lib/load-cabal-plan.nix @@ -5,6 +5,12 @@ let plan-json = builtins.fromJSON ( builtins.unsafeDiscardStringContext ( builtins.readFile (callProjectResults.projectNix + "/plan.json"))); + # Function to add context back to the strings we get from `plan.json` + addContext = s: + let storeDirMatch = builtins.match ".*(${builtins.storeDir}/[^/]+).*" s; + in if storeDirMatch == null + then s + else builtins.appendContext s { ${builtins.head storeDirMatch} = { path = true; }; }; # All the units in the plan indexed by unit ID. by-id = pkgs.lib.listToAttrs (map (x: { name = x.id; value = x; }) plan-json.install-plan); # Find the names of all the pre-existing packages used by a list of dependencies @@ -69,7 +75,9 @@ let buildable = true; } // lookupDependencies hsPkgs.pkgsBuildBuild (components.setup.depends or []) (components.setup.exe-depends or []); }; - nixFilesDir = callProjectResults.projectNix + callProjectResults.src.origSubDir or ""; + # We use unsafeDiscardStringContext to ensure that we don't query this derivation when importing + # each package. The cost can be very high when using a remote store, as we need to do a network call. + nixFilesDir = builtins.unsafeDiscardStringContext callProjectResults.projectNix.outPath + callProjectResults.src.origSubDir or ""; in { # This replaces the `plan-nix/default.nix` pkgs = (hackage: { @@ -94,7 +102,9 @@ in { then import (nixFilesDir + "/cabal-files/${p.pkg-name}.nix") else if builtins.pathExists (nixFilesDir + "/.plan.nix/${p.pkg-name}.nix") then import (nixFilesDir + "/.plan.nix/${p.pkg-name}.nix") - else (((hackage.${p.pkg-name}).${p.pkg-version}).revisions).default) (args // { hsPkgs = {}; }); + else + # TODO make this an error? + __trace "WARNING no `.nix` file for ${p.pkg-name} in ${nixFilesDir}." {}) (args // { hsPkgs = {}; }); in pkgs.lib.optionalAttrs (p ? pkg-src-sha256) { sha256 = p.pkg-src-sha256; } // pkgs.lib.optionalAttrs (p.pkg-src.type or "" == "source-repo") { @@ -104,7 +114,9 @@ in { + pkgs.lib.optionalString (p.pkg-src.source-repo.subdir != ".") "/${p.pkg-src.source-repo.subdir}"; } // pkgs.lib.optionalAttrs (p.pkg-src.type or "" == "repo-tar") { src = pkgs.lib.mkDefault (pkgs.fetchurl { - url = p.pkg-src.repo.uri + "${pkgs.lib.optionalString (!pkgs.lib.hasSuffix "/" p.pkg-src.repo.uri) "/"}package/${p.pkg-name}-${p.pkg-version}.tar.gz"; + # repo.uri might look like file:/nix/store/xxx; using addContext, we let nix know about the dependency on + # /nix/store/xxx. Otherwise we can run into the situation where nix won't be able to access the dependencies needed to build. (e.g. the /nix/store/xxx path). + url = addContext p.pkg-src.repo.uri + "${pkgs.lib.optionalString (!pkgs.lib.hasSuffix "/" p.pkg-src.repo.uri) "/"}package/${p.pkg-name}-${p.pkg-version}.tar.gz"; sha256 = p.pkg-src-sha256; }); } // pkgs.lib.optionalAttrs (cabal2nix ? package-description-override && p.pkg-version == cabal2nix.package.identifier.version) { diff --git a/lib/make-compiler-deps.nix b/lib/make-compiler-deps.nix index 933eedb4fd..a235aa8763 100644 --- a/lib/make-compiler-deps.nix +++ b/lib/make-compiler-deps.nix @@ -1,6 +1,5 @@ { lib, runCommand }: -let - makeCompilerDeps = ghc: ghc // { +ghc: ghc // { cachedDeps = runCommand "${ghc.name}-deps" {} # First checks that ghc-pkg runs first with `--version` as failures in the `for` and # `if` statements will be masked. @@ -34,9 +33,4 @@ let fi done ''; - } // lib.optionalAttrs (ghc ? dwarf) { - dwarf = makeCompilerDeps ghc.dwarf; - } // lib.optionalAttrs (ghc ? smallAddressSpace) { - smallAddressSpace = makeCompilerDeps ghc.smallAddressSpace; - }; -in makeCompilerDeps + } diff --git a/lib/pkgconf-nixpkgs-map.nix b/lib/pkgconf-nixpkgs-map.nix index c9728bfb91..8873555ac3 100644 --- a/lib/pkgconf-nixpkgs-map.nix +++ b/lib/pkgconf-nixpkgs-map.nix @@ -83,7 +83,7 @@ pkgs: "stdc++.dll" = []; # What is that? "systemd-journal" = [ "systemd" ]; "tag_c" = [ "taglib" ]; - "webkit2gtk" = [ "webkitgtk" ]; + "webkit2gtk" = [ "webkitgtk_4_0" ]; # This is somewhat arbitary "xml2" = [ "libxml2" ]; "yaml" = [ "libyaml" ]; "z" = [ "zlib" ]; @@ -2750,12 +2750,12 @@ pkgs: "gaminggear-0" = [ "libgaminggear" ]; "libgbinder" = [ "libgbinder" ]; "libgcrypt" = [ "libgcrypt" ]; - "libgda-5.0" = [ "libgda" ]; - "libgda-report-5.0" = [ "libgda" ]; - "libgda-sqlcipher-5.0" = [ "libgda" ]; - "libgda-sqlite-5.0" = [ "libgda" ]; - "libgda-ui-5.0" = [ "libgda" ]; - "libgda-xslt-5.0" = [ "libgda" ]; + "libgda-5.0" = [ "libgda5" ]; + "libgda-report-5.0" = [ "libgda5" ]; + "libgda-sqlcipher-5.0" = [ "libgda5" ]; + "libgda-sqlite-5.0" = [ "libgda5" ]; + "libgda-ui-5.0" = [ "libgda5" ]; + "libgda-xslt-5.0" = [ "libgda5" ]; "libgda-6.0" = [ "libgda6" ]; "libgda-sqlite-6.0" = [ "libgda6" ]; "libgdamm-5.0" = [ "libgdamm" ]; @@ -3150,7 +3150,7 @@ pkgs: "libsixel" = [ "libsixel" ]; "libskk" = [ "libskk" ]; "slirp" = [ "libslirp" ]; - "smartcols" = [ "libsmartcols" ]; + "smartcols" = [ "util-linux" ]; "libsmbios_c" = [ "libsmbios" ]; "smf" = [ "libsmf" ]; "libsmi" = [ "libsmi" ]; @@ -3158,8 +3158,8 @@ pkgs: "libsodium" = [ "libsodium" ]; "libsolvext" = [ "libsolv" ]; "libsolv" = [ "libsolv" ]; - "libsoup-2.4" = [ "libsoup" ]; - "libsoup-gnome-2.4" = [ "libsoup" ]; + "libsoup-2.4" = [ "libsoup_2_4" ]; + "libsoup-gnome-2.4" = [ "libsoup_2_4" ]; "libsoup-3.0" = [ "libsoup_3" ]; "spatialaudio" = [ "libspatialaudio" ]; "libspatialindex" = [ "libspatialindex" ]; @@ -5087,7 +5087,7 @@ pkgs: "riscv-disasm" = [ "spike" ]; "riscv-fesvr" = [ "spike" ]; "SPIRV-Headers" = [ "spirv-headers" ]; - "LLVMSPIRVLib" = [ "spirv-llvm-translator" ]; +# "LLVMSPIRVLib" = [ "spirv-llvm-translator" ]; "SPIRV-Tools-shared" = [ "spirv-tools" ]; "SPIRV-Tools" = [ "spirv-tools" ]; "sqlcipher" = [ "sqlcipher" ]; @@ -5149,7 +5149,7 @@ pkgs: "svrcore" = [ "svrcore" ]; "SvtAv1Dec" = [ "svt-av1" ]; "SvtAv1Enc" = [ "svt-av1" ]; - "swipl" = [ "swiProlog" ]; + "swipl" = [ "swi-prolog" ]; # "swipl" = [ "swiPrologWithGui" ]; "sword" = [ "sword" ]; "syncthingconnector" = [ "syncthingtray" ]; @@ -5255,8 +5255,8 @@ pkgs: "tss2-tcti-pcap" = [ "tpm2-tss" ]; "tss2-tcti-swtpm" = [ "tpm2-tss" ]; "libtracecmd" = [ "trace-cmd" ]; - "tracker-sparql-3.0" = [ "tracker" ]; - "tracker-testutils-3.0" = [ "tracker" ]; + "tracker-sparql-3.0" = [ "tinysparql" ]; + "tracker-testutils-3.0" = [ "tinysparql" ]; "trafficserver" = [ "trafficserver" ]; "tre" = [ "tre" ]; "tree-sitter" = [ "tree-sitter" ]; @@ -5427,9 +5427,9 @@ pkgs: "wayland-server++" = [ "waylandpp" ]; "wcslib" = [ "wcslib" ]; "webkit2-sharp-4.0" = [ "webkit2-sharp" ]; - "javascriptcoregtk-4.0" = [ "webkitgtk" ]; - "webkit2gtk-4.0" = [ "webkitgtk" ]; - "webkit2gtk-web-extension-4.0" = [ "webkitgtk" ]; + "javascriptcoregtk-4.0" = [ "webkitgtk_4_0" ]; + "webkit2gtk-4.0" = [ "webkitgtk_4_0" ]; + "webkit2gtk-web-extension-4.0" = [ "webkitgtk_4_0" ]; "javascriptcoregtk-4.1" = [ "webkitgtk_4_1" ]; "webkit2gtk-4.1" = [ "webkitgtk_4_1" ]; "webkit2gtk-web-extension-4.1" = [ "webkitgtk_4_1" ]; @@ -5733,7 +5733,7 @@ pkgs: then [ pkgs.gdk_pixbuf ] else []; # rocm-thunk was replaced by rocmPackages.rocm-thunk in 23.11 - "libhsakmt" = [ pkgs.rocmPackages.rocm-thunk or pkgs.rocm-thunk ]; + # "libhsakmt" = [ pkgs.rocmPackages.rocm-thunk or pkgs.rocm-thunk ]; } // lib.optionalAttrs (pkgs ? libsigcxx12) { # libsigcxx12 was removed in 23.11 "sigc++-1.2" = [ "libsigcxx12" ]; diff --git a/lib/supported-languages.nix b/lib/supported-languages.nix index ee5ba8f194..c66bf8acf0 100644 --- a/lib/supported-languages.nix +++ b/lib/supported-languages.nix @@ -125,7 +125,7 @@ evalPackages.writeTextFile { NoApplicativeDo InterruptibleFFI NoInterruptibleFFI - ${pkgs.lib.optionalString (pkgs.stdenv.targetPlatform.isGhcjs || builtins.compareVersions ghc.version "9.8" <0) '' + ${pkgs.lib.optionalString (pkgs.stdenv.targetPlatform.isGhcjs || pkgs.stdenv.targetPlatform.isWasm || builtins.compareVersions ghc.version "9.8" <0) '' JavaScriptFFI ''}NoJavaScriptFFI KindSignatures @@ -312,5 +312,11 @@ evalPackages.writeTextFile { NoMultilineStrings NamedDefaults NoNamedDefaults + '' + + pkgs.lib.optionalString (builtins.compareVersions ghc.version "9.13" >=0) '' + ExplicitLevelImports + ImplicitStagePersistence + NoExplicitLevelImports + NoImplicitStagePersistence ''}''; } diff --git a/lib/system-nixpkgs-map.nix b/lib/system-nixpkgs-map.nix index 99f64fb701..584f789bb9 100644 --- a/lib/system-nixpkgs-map.nix +++ b/lib/system-nixpkgs-map.nix @@ -17,6 +17,10 @@ let lndir ${pkgs.buildPackages.gcc.cc} $out '') ] else []; + # In newer versions of nixpkgs `pg_config` has been moved to its own derivation. + # Haskell libs that depend on the `pq` library (like `postgresql-libpq`) + # are likely to require `pg_config` to be in the `PATH` as well. + postgresqlLibs = [ postgresql ] ++ lib.optional (postgresql ? pg_config) postgresql.pg_config; in # -- linux { crypto = [ openssl ]; @@ -57,10 +61,10 @@ in bz2 = [ bzip2 ]; util = [ utillinux ]; magic = [ file ]; - pgcommon = [ postgresql ]; - pgport = [ postgresql] ; - pq = [ postgresql ]; - libpq = [ postgresql ]; + pgcommon = postgresqlLibs; + pgport = postgresqlLibs; + pq = postgresqlLibs; + libpq = postgresqlLibs; iconv = [ libiconv ]; lapack = [ liblapack ]; boost_atomic = [ boost ]; @@ -124,6 +128,7 @@ in GeoIP = [ geoip ]; pulse-simple = [ libpulseaudio ]; oath = [ liboauth ]; + sqlite3 = [ sqlite ]; } # -- windows // { advapi32 = null; gdi32 = null; imm32 = null; msimg32 = null; @@ -147,5 +152,244 @@ in // { mingwex = null; } # -- os x -# NB: these map almost 1:1 to the framework names -// darwin.apple_sdk.frameworks +# TODO remove once planner code is updated not to output frameworks +# (we can only do that once we no longer support old nixpkgs where +# framework derivations are needed) +// +( +let + # If this file exists then the frameworks are all probably stubbed out + # and we can avoid warnings by ignoring them. + hasMkStubs = builtins.pathExists (pkgs.path + "/pkgs/os-specific/darwin/apple-sdk/mk-stub.nix"); + frameworkNames = + [ + "AGL" + "AVFCapture" + "AVFCore" + "AVFoundation" + "AVKit" + "Accelerate" + "Accessibility" + "Accounts" + "AdServices" + "AdSupport" + "AddressBook" + "AddressBookCore" + "AppKit" + "AppTrackingTransparency" + "Apple80211" + "AppleScriptKit" + "AppleScriptObjC" + "ApplicationServices" + "AudioToolbox" + "AudioToolboxCore" + "AudioUnit" + "AudioVideoBridging" + "AuthenticationServices" + "AutomaticAssessmentConfiguration" + "Automator" + "BackgroundTasks" + "BusinessChat" + "CFNetwork" + "CalendarStore" + "CallKit" + "Carbon" + "ClassKit" + "CloudKit" + "Cocoa" + "Collaboration" + "ColorSync" + "Combine" + "Contacts" + "ContactsPersistence" + "ContactsUI" + "CoreAudio" + "CoreAudioKit" + "CoreAudioTypes" + "CoreBluetooth" + "CoreData" + "CoreDisplay" + "CoreFoundation" + "CoreGraphics" + "CoreHaptics" + "CoreImage" + "CoreLocation" + "CoreMIDI" + "CoreMIDIServer" + "CoreML" + "CoreMedia" + "CoreMediaIO" + "CoreMotion" + "CoreServices" + "CoreSpotlight" + "CoreSymbolication" + "CoreTelephony" + "CoreText" + "CoreVideo" + "CoreWLAN" + "CryptoKit" + "CryptoTokenKit" + "DVDPlayback" + "DebugSymbols" + "DeveloperToolsSupport" + "DeviceCheck" + "DirectoryService" + "DiscRecording" + "DiscRecordingUI" + "DiskArbitration" + "DisplayServices" + "DriverKit" + "EventKit" + "ExceptionHandling" + "ExecutionPolicy" + "ExternalAccessory" + "FWAUserLib" + "FileProvider" + "FileProviderUI" + "FinderSync" + "ForceFeedback" + "Foundation" + "GLKit" + "GLUT" + "GSS" + "GameCenterFoundation" + "GameCenterUI" + "GameCenterUICore" + "GameController" + "GameKit" + "GameplayKit" + "HIDDriverKit" + "Hypervisor" + "ICADevices" + "IMServicePlugIn" + "IOBluetooth" + "IOBluetoothUI" + "IOKit" + "IOSurface" + "IOUSBHost" + "IdentityLookup" + "ImageCaptureCore" + "ImageIO" + "InputMethodKit" + "InstallerPlugins" + "InstantMessage" + "Intents" + "JavaNativeFoundation" + "JavaRuntimeSupport" + "JavaScriptCore" + "JavaVM" + "Kerberos" + "Kernel" + "KernelManagement" + "LDAP" + "LatentSemanticMapping" + "LinkPresentation" + "LocalAuthentication" + "MLCompute" + "MapKit" + "MediaAccessibility" + "MediaLibrary" + "MediaPlayer" + "MediaRemote" + "MediaToolbox" + "Message" + "Metal" + "MetalKit" + "MetalPerformanceShaders" + "MetalPerformanceShadersGraph" + "MetricKit" + "ModelIO" + "MultipeerConnectivity" + "MultitouchSupport" + "NaturalLanguage" + "NearbyInteraction" + "NetFS" + "Network" + "NetworkExtension" + "NetworkingDriverKit" + "NotificationCenter" + "OSAKit" + "OSLog" + "OpenAL" + "OpenCL" + "OpenDirectory" + "OpenGL" + "PCIDriverKit" + "PCSC" + "PDFKit" + "ParavirtualizedGraphics" + "PassKit" + "PassKitCore" + "PencilKit" + "Photos" + "PhotosUI" + "PreferencePanes" + "PushKit" + "Python" + "QTKit" + "Quartz" + "QuartzCore" + "QuickLook" + "QuickLookThumbnailing" + "QuickTime" + "RealityKit" + "ReplayKit" + "Ruby" + "SafariServices" + "SceneKit" + "ScreenSaver" + "ScreenTime" + "ScriptingBridge" + "Security" + "SecurityFoundation" + "SecurityInterface" + "SensorKit" + "ServiceManagement" + "SignpostMetrics" + "SkyLight" + "Social" + "SoundAnalysis" + "Speech" + "SpriteKit" + "StoreKit" + "SwiftUI" + "SyncServices" + "System" + "SystemConfiguration" + "SystemExtensions" + "TWAIN" + "Tcl" + "Tk" + "UIFoundation" + "URLFormatting" + "USBDriverKit" + "UniformTypeIdentifiers" + "UserNotifications" + "UserNotificationsUI" + "VideoDecodeAcceleration" + "VideoSubscriberAccount" + "VideoToolbox" + "Virtualization" + "Vision" + "WebKit" + "WidgetKit" + "iTunesLibrary" + "vmnet" + ]; + +in + lib.optionalAttrs stdenv.hostPlatform.isDarwin + (lib.genAttrs frameworkNames + (n: + # Check to see if this is an old nixpkgs where we need framework derivations + if !hasMkStubs + # In future versions of `nixpkgs` these will be removed + # so make sure they are there. + && darwin ? apple_sdk + && (builtins.tryEval (darwin.apple_sdk ? frameworks)).success + && darwin.apple_sdk ? frameworks + && darwin.apple_sdk.frameworks ? ${n} + && !(darwin.apple_sdk.frameworks.${n}.passthru.isDarwinCompatStub or false) + then darwin.apple_sdk.frameworks.${n} + else null)) +) diff --git a/materialized/alex-3.2.7.1/.plan.nix/alex.nix b/materialized/alex-3.2.7.1/.plan.nix/alex.nix deleted file mode 100644 index f423a58952..0000000000 --- a/materialized/alex-3.2.7.1/.plan.nix/alex.nix +++ /dev/null @@ -1,141 +0,0 @@ -{ system - , compiler - , flags - , pkgs - , hsPkgs - , pkgconfPkgs - , errorHandler - , config - , ... }: - { - flags = {}; - package = { - specVersion = "1.10"; - identifier = { name = "alex"; version = "3.2.7.1"; }; - license = "BSD-3-Clause"; - copyright = "(c) Chis Dornan, Simon Marlow"; - maintainer = "Simon Marlow "; - author = "Chris Dornan and Simon Marlow"; - homepage = "http://www.haskell.org/alex/"; - url = ""; - synopsis = "Alex is a tool for generating lexical analysers in Haskell"; - description = "Alex is a tool for generating lexical analysers in Haskell.\nIt takes a description of tokens based on regular\nexpressions and generates a Haskell module containing code\nfor scanning text efficiently. It is similar to the tool\nlex or flex for C/C++."; - buildType = "Simple"; - isLocal = true; - detailLevel = "FullDetails"; - licenseFiles = [ "LICENSE" ]; - dataDir = "data/"; - dataFiles = [ "AlexTemplate.hs" "AlexWrappers.hs" ]; - extraSrcFiles = [ - "CHANGELOG.md" - "README.md" - "TODO" - "doc/Makefile" - "doc/aclocal.m4" - "doc/alex.1.in" - "doc/alex.xml" - "doc/config.mk.in" - "doc/configure.ac" - "doc/docbook-xml.mk" - "doc/fptools.css" - "examples/Makefile" - "examples/Tokens.x" - "examples/Tokens_gscan.x" - "examples/Tokens_posn.x" - "examples/examples.x" - "examples/haskell.x" - "examples/lit.x" - "examples/pp.x" - "examples/state.x" - "examples/tiny.y" - "examples/words.x" - "examples/words_monad.x" - "examples/words_posn.x" - "src/Parser.y.boot" - "src/Scan.x.boot" - "src/ghc_hooks.c" - "tests/Makefile" - "tests/simple.x" - "tests/null.x" - "tests/tokens.x" - "tests/tokens_gscan.x" - "tests/tokens_posn.x" - "tests/tokens_bytestring.x" - "tests/tokens_posn_bytestring.x" - "tests/tokens_scan_user.x" - "tests/tokens_strict_bytestring.x" - "tests/tokens_monad_bytestring.x" - "tests/tokens_monadUserState_bytestring.x" - "tests/tokens_bytestring_unicode.x" - "tests/basic_typeclass.x" - "tests/basic_typeclass_bytestring.x" - "tests/default_typeclass.x" - "tests/gscan_typeclass.x" - "tests/posn_typeclass.x" - "tests/monad_typeclass.x" - "tests/monad_typeclass_bytestring.x" - "tests/monadUserState_typeclass.x" - "tests/monadUserState_typeclass_bytestring.x" - "tests/posn_typeclass_bytestring.x" - "tests/strict_typeclass.x" - "tests/unicode.x" - "tests/issue_71.x" - "tests/issue_119.x" - "tests/issue_141.x" - "tests/issue_197.x" - ]; - extraTmpFiles = []; - extraDocFiles = []; - }; - components = { - exes = { - "alex" = { - depends = [ - (hsPkgs."base" or (errorHandler.buildDepError "base")) - (hsPkgs."array" or (errorHandler.buildDepError "array")) - (hsPkgs."containers" or (errorHandler.buildDepError "containers")) - (hsPkgs."directory" or (errorHandler.buildDepError "directory")) - ]; - buildable = true; - modules = [ - "AbsSyn" - "CharSet" - "DFA" - "DFAMin" - "DFS" - "Info" - "Map" - "NFA" - "Output" - "Paths_alex" - "Parser" - "ParseMonad" - "Scan" - "Set" - "Sort" - "Util" - "UTF8" - "Data/Ranged" - "Data/Ranged/Boundaries" - "Data/Ranged/RangedSet" - "Data/Ranged/Ranges" - ]; - hsSourceDirs = [ "src" ]; - mainPath = [ "Main.hs" ]; - }; - }; - tests = { - "tests" = { - depends = [ - (hsPkgs."base" or (errorHandler.buildDepError "base")) - (hsPkgs."process" or (errorHandler.buildDepError "process")) - ]; - build-tools = [ - (hsPkgs.pkgsBuildBuild.alex.components.exes.alex or (pkgs.pkgsBuildBuild.alex or (errorHandler.buildToolDepError "alex:alex"))) - ]; - buildable = true; - mainPath = [ "test.hs" ]; - }; - }; - }; - } // rec { src = pkgs.lib.mkDefault ../.; } \ No newline at end of file diff --git a/materialized/alex-3.2.7.1/cabal-files/alex.nix b/materialized/alex-3.2.7.1/cabal-files/alex.nix new file mode 100644 index 0000000000..5a944bd139 --- /dev/null +++ b/materialized/alex-3.2.7.1/cabal-files/alex.nix @@ -0,0 +1,57 @@ +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: + ({ + flags = {}; + package = { + specVersion = "1.10"; + identifier = { name = "alex"; version = "3.2.7.1"; }; + license = "BSD-3-Clause"; + copyright = "(c) Chis Dornan, Simon Marlow"; + maintainer = "Simon Marlow "; + author = "Chris Dornan and Simon Marlow"; + homepage = "http://www.haskell.org/alex/"; + url = ""; + synopsis = "Alex is a tool for generating lexical analysers in Haskell"; + description = "Alex is a tool for generating lexical analysers in Haskell.\nIt takes a description of tokens based on regular\nexpressions and generates a Haskell module containing code\nfor scanning text efficiently. It is similar to the tool\nlex or flex for C/C++."; + buildType = "Simple"; + }; + components = { + exes = { + "alex" = { + depends = [ + (hsPkgs."base" or (errorHandler.buildDepError "base")) + (hsPkgs."array" or (errorHandler.buildDepError "array")) + (hsPkgs."containers" or (errorHandler.buildDepError "containers")) + (hsPkgs."directory" or (errorHandler.buildDepError "directory")) + ]; + buildable = true; + }; + }; + tests = { + "tests" = { + depends = [ + (hsPkgs."base" or (errorHandler.buildDepError "base")) + (hsPkgs."process" or (errorHandler.buildDepError "process")) + ]; + build-tools = [ + (hsPkgs.pkgsBuildBuild.alex.components.exes.alex or (pkgs.pkgsBuildBuild.alex or (errorHandler.buildToolDepError "alex:alex"))) + ]; + buildable = true; + }; + }; + }; + } // { + src = pkgs.lib.mkDefault (pkgs.fetchurl { + url = "http://hackage.haskell.org/package/alex-3.2.7.1.tar.gz"; + sha256 = "9bd2f1a27e8f1b2ffdb5b2fbd3ed82b6f0e85191459a1b24ffcbef4e68a81bec"; + }); + }) // { + package-description-override = "cabal-version: >= 1.10\nname: alex\nversion: 3.2.7.1\n-- don't forget updating changelog.md!\nlicense: BSD3\nlicense-file: LICENSE\ncopyright: (c) Chis Dornan, Simon Marlow\nauthor: Chris Dornan and Simon Marlow\nmaintainer: Simon Marlow \nbug-reports: https://github.com/simonmar/alex/issues\nstability: stable\nhomepage: http://www.haskell.org/alex/\nsynopsis: Alex is a tool for generating lexical analysers in Haskell\ndescription:\n Alex is a tool for generating lexical analysers in Haskell.\n It takes a description of tokens based on regular\n expressions and generates a Haskell module containing code\n for scanning text efficiently. It is similar to the tool\n lex or flex for C/C++.\n\ncategory: Development\nbuild-type: Simple\n\ntested-with:\n GHC == 7.0.4\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.4\n GHC == 8.10.4\n GHC == 9.0.1\n\ndata-dir: data/\n\ndata-files:\n AlexTemplate.hs\n AlexWrappers.hs\n\nextra-source-files:\n CHANGELOG.md\n README.md\n TODO\n doc/Makefile\n doc/aclocal.m4\n doc/alex.1.in\n doc/alex.xml\n doc/config.mk.in\n doc/configure.ac\n doc/docbook-xml.mk\n doc/fptools.css\n examples/Makefile\n examples/Tokens.x\n examples/Tokens_gscan.x\n examples/Tokens_posn.x\n examples/examples.x\n examples/haskell.x\n examples/lit.x\n examples/pp.x\n examples/state.x\n examples/tiny.y\n examples/words.x\n examples/words_monad.x\n examples/words_posn.x\n src/Parser.y.boot\n src/Scan.x.boot\n src/ghc_hooks.c\n tests/Makefile\n tests/simple.x\n tests/null.x\n tests/tokens.x\n tests/tokens_gscan.x\n tests/tokens_posn.x\n tests/tokens_bytestring.x\n tests/tokens_posn_bytestring.x\n tests/tokens_scan_user.x\n tests/tokens_strict_bytestring.x\n tests/tokens_monad_bytestring.x\n tests/tokens_monadUserState_bytestring.x\n tests/tokens_bytestring_unicode.x\n tests/basic_typeclass.x\n tests/basic_typeclass_bytestring.x\n tests/default_typeclass.x\n tests/gscan_typeclass.x\n tests/posn_typeclass.x\n tests/monad_typeclass.x\n tests/monad_typeclass_bytestring.x\n tests/monadUserState_typeclass.x\n tests/monadUserState_typeclass_bytestring.x\n tests/posn_typeclass_bytestring.x\n tests/strict_typeclass.x\n tests/unicode.x\n tests/issue_71.x\n tests/issue_119.x\n tests/issue_141.x\n tests/issue_197.x\n\nsource-repository head\n type: git\n location: https://github.com/simonmar/alex.git\n\nexecutable alex\n hs-source-dirs: src\n main-is: Main.hs\n\n build-depends: base >= 2.1 && < 5\n , array\n , containers\n , directory\n\n default-language: Haskell98\n default-extensions: CPP\n other-extensions: MagicHash\n\n ghc-options: -Wall -rtsopts\n\n other-modules:\n AbsSyn\n CharSet\n DFA\n DFAMin\n DFS\n Info\n Map\n NFA\n Output\n Paths_alex\n Parser\n ParseMonad\n Scan\n Set\n Sort\n Util\n UTF8\n Data.Ranged\n Data.Ranged.Boundaries\n Data.Ranged.RangedSet\n Data.Ranged.Ranges\n\ntest-suite tests\n type: exitcode-stdio-1.0\n main-is: test.hs\n -- This line is important as it ensures that the local `exe:alex` component declared above is built before the test-suite component is invoked, as well as making sure that `alex` is made available on $PATH and `$alex_datadir` is set accordingly before invoking `test.hs`\n build-tools: alex\n\n default-language: Haskell98\n\n build-depends: base, process\n"; + } \ No newline at end of file diff --git a/materialized/alex-3.2.7.1/default.nix b/materialized/alex-3.2.7.1/default.nix deleted file mode 100644 index 3c4d35632b..0000000000 --- a/materialized/alex-3.2.7.1/default.nix +++ /dev/null @@ -1,77 +0,0 @@ -{ - pkgs = hackage: - { - packages = { - ghc-prim.revision = hackage.ghc-prim."0.7.0".revisions.default; - time.revision = hackage.time."1.9.3".revisions.default; - base.revision = hackage.base."4.15.1.0".revisions.default; - unix.revision = hackage.unix."2.7.2.2".revisions.default; - deepseq.revision = hackage.deepseq."1.4.5.0".revisions.default; - integer-gmp.revision = hackage.integer-gmp."1.1".revisions.default; - containers.revision = hackage.containers."0.6.4.1".revisions.default; - array.revision = hackage.array."0.5.4.0".revisions.default; - bytestring.revision = hackage.bytestring."0.10.12.1".revisions.default; - directory.revision = hackage.directory."1.3.6.2".revisions.default; - ghc-bignum.revision = hackage.ghc-bignum."1.1".revisions.default; - filepath.revision = hackage.filepath."1.4.2.1".revisions.default; - }; - compiler = { - version = "9.0.2"; - nix-name = "ghc902"; - packages = { - "unix" = "2.7.2.2"; - "filepath" = "1.4.2.1"; - "bytestring" = "0.10.12.1"; - "containers" = "0.6.4.1"; - "ghc-prim" = "0.7.0"; - "base" = "4.15.1.0"; - "time" = "1.9.3"; - "ghc-bignum" = "1.1"; - "directory" = "1.3.6.2"; - "integer-gmp" = "1.1"; - "deepseq" = "1.4.5.0"; - "array" = "0.5.4.0"; - }; - }; - }; - extras = hackage: - { packages = { alex = ./.plan.nix/alex.nix; }; }; - modules = [ - { - preExistingPkgs = [ - "ghc-prim" - "time" - "base" - "unix" - "deepseq" - "integer-gmp" - "containers" - "array" - "bytestring" - "directory" - "ghc-bignum" - "filepath" - ]; - } - ({ lib, ... }: - { packages = { "alex" = { flags = {}; }; }; }) - ({ lib, ... }: - { - packages = { - "directory".components.library.planned = lib.mkOverride 900 true; - "deepseq".components.library.planned = lib.mkOverride 900 true; - "base".components.library.planned = lib.mkOverride 900 true; - "integer-gmp".components.library.planned = lib.mkOverride 900 true; - "filepath".components.library.planned = lib.mkOverride 900 true; - "containers".components.library.planned = lib.mkOverride 900 true; - "ghc-prim".components.library.planned = lib.mkOverride 900 true; - "bytestring".components.library.planned = lib.mkOverride 900 true; - "time".components.library.planned = lib.mkOverride 900 true; - "ghc-bignum".components.library.planned = lib.mkOverride 900 true; - "alex".components.exes."alex".planned = lib.mkOverride 900 true; - "array".components.library.planned = lib.mkOverride 900 true; - "unix".components.library.planned = lib.mkOverride 900 true; - }; - }) - ]; -} \ No newline at end of file diff --git a/materialized/alex-3.2.7.1/ghc902/default.nix b/materialized/alex-3.2.7.1/ghc902/default.nix new file mode 100644 index 0000000000..7fb8951860 --- /dev/null +++ b/materialized/alex-3.2.7.1/ghc902/default.nix @@ -0,0 +1,78 @@ +{ + pkgs = hackage: + { + packages = { + ghc-prim.revision = hackage.ghc-prim."0.7.0".revisions.default; + alex.revision = import ./cabal-files/alex.nix; + time.revision = hackage.time."1.9.3".revisions.default; + base.revision = hackage.base."4.15.1.0".revisions.default; + unix.revision = hackage.unix."2.7.2.2".revisions.default; + deepseq.revision = hackage.deepseq."1.4.5.0".revisions.default; + integer-gmp.revision = hackage.integer-gmp."1.1".revisions.default; + containers.revision = hackage.containers."0.6.4.1".revisions.default; + array.revision = hackage.array."0.5.4.0".revisions.default; + bytestring.revision = hackage.bytestring."0.10.12.1".revisions.default; + directory.revision = hackage.directory."1.3.6.2".revisions.default; + ghc-bignum.revision = hackage.ghc-bignum."1.1".revisions.default; + filepath.revision = hackage.filepath."1.4.2.1".revisions.default; + }; + compiler = { + version = "9.0.2"; + nix-name = "ghc902"; + packages = { + "unix" = "2.7.2.2"; + "filepath" = "1.4.2.1"; + "bytestring" = "0.10.12.1"; + "containers" = "0.6.4.1"; + "ghc-prim" = "0.7.0"; + "base" = "4.15.1.0"; + "time" = "1.9.3"; + "ghc-bignum" = "1.1"; + "directory" = "1.3.6.2"; + "integer-gmp" = "1.1"; + "deepseq" = "1.4.5.0"; + "array" = "0.5.4.0"; + }; + }; + }; + extras = hackage: + { packages = {}; }; + modules = [ + { + preExistingPkgs = [ + "ghc-prim" + "time" + "base" + "unix" + "deepseq" + "integer-gmp" + "containers" + "array" + "bytestring" + "directory" + "ghc-bignum" + "filepath" + ]; + } + ({ lib, ... }: + { packages = {}; }) + ({ lib, ... }: + { + packages = { + "directory".components.library.planned = lib.mkOverride 900 true; + "deepseq".components.library.planned = lib.mkOverride 900 true; + "base".components.library.planned = lib.mkOverride 900 true; + "integer-gmp".components.library.planned = lib.mkOverride 900 true; + "filepath".components.library.planned = lib.mkOverride 900 true; + "containers".components.library.planned = lib.mkOverride 900 true; + "ghc-prim".components.library.planned = lib.mkOverride 900 true; + "bytestring".components.library.planned = lib.mkOverride 900 true; + "time".components.library.planned = lib.mkOverride 900 true; + "ghc-bignum".components.library.planned = lib.mkOverride 900 true; + "alex".components.exes."alex".planned = lib.mkOverride 900 true; + "array".components.library.planned = lib.mkOverride 900 true; + "unix".components.library.planned = lib.mkOverride 900 true; + }; + }) + ]; +} \ No newline at end of file diff --git a/materialized/alex-3.2.7.1/ghc902/plan.json b/materialized/alex-3.2.7.1/ghc902/plan.json new file mode 100644 index 0000000000..90ebdb6699 --- /dev/null +++ b/materialized/alex-3.2.7.1/ghc902/plan.json @@ -0,0 +1 @@ +{"cabal-version":"3.10.3.0","cabal-lib-version":"3.10.3.0","compiler-id":"ghc-9.0.2","os":"linux","arch":"x86_64","install-plan":[{"type":"configured","id":"alex-3.2.7.1-e-alex-36ac3342fa24f3057e348e6f7e60dee6ec4014c5e62b203c2354321c15fd6ca0","pkg-name":"alex","pkg-version":"3.2.7.1","flags":{},"style":"global","pkg-src":{"type":"repo-tar","repo":{"type":"secure-repo","uri":"http://hackage.haskell.org/"}},"pkg-cabal-sha256":"ab26a38cefae59403f746370e5a0c943b8d5bda098eb83f37052b2429ee780ce","pkg-src-sha256":"9bd2f1a27e8f1b2ffdb5b2fbd3ed82b6f0e85191459a1b24ffcbef4e68a81bec","depends":["array-0.5.4.0","base-4.15.1.0","containers-0.6.4.1","directory-1.3.6.2"],"exe-depends":[],"component-name":"exe:alex","bin-file":"/store/ghc-9.0.2/alex-3.2.7.1-e-alex-36ac3342fa24f3057e348e6f7e60dee6ec4014c5e62b203c2354321c15fd6ca0/bin/alex"},{"type":"pre-existing","id":"array-0.5.4.0","pkg-name":"array","pkg-version":"0.5.4.0","depends":["base-4.15.1.0"]},{"type":"pre-existing","id":"base-4.15.1.0","pkg-name":"base","pkg-version":"4.15.1.0","depends":["ghc-bignum-1.1","ghc-prim-0.7.0"]},{"type":"pre-existing","id":"bytestring-0.10.12.1","pkg-name":"bytestring","pkg-version":"0.10.12.1","depends":["base-4.15.1.0","deepseq-1.4.5.0","ghc-bignum-1.1","ghc-prim-0.7.0","integer-gmp-1.1"]},{"type":"pre-existing","id":"containers-0.6.4.1","pkg-name":"containers","pkg-version":"0.6.4.1","depends":["array-0.5.4.0","base-4.15.1.0","deepseq-1.4.5.0"]},{"type":"pre-existing","id":"deepseq-1.4.5.0","pkg-name":"deepseq","pkg-version":"1.4.5.0","depends":["array-0.5.4.0","base-4.15.1.0","ghc-prim-0.7.0"]},{"type":"pre-existing","id":"directory-1.3.6.2","pkg-name":"directory","pkg-version":"1.3.6.2","depends":["base-4.15.1.0","filepath-1.4.2.1","time-1.9.3","unix-2.7.2.2"]},{"type":"pre-existing","id":"filepath-1.4.2.1","pkg-name":"filepath","pkg-version":"1.4.2.1","depends":["base-4.15.1.0"]},{"type":"pre-existing","id":"ghc-bignum-1.1","pkg-name":"ghc-bignum","pkg-version":"1.1","depends":["ghc-prim-0.7.0"]},{"type":"pre-existing","id":"ghc-prim-0.7.0","pkg-name":"ghc-prim","pkg-version":"0.7.0","depends":[]},{"type":"pre-existing","id":"integer-gmp-1.1","pkg-name":"integer-gmp","pkg-version":"1.1","depends":["base-4.15.1.0","ghc-bignum-1.1","ghc-prim-0.7.0"]},{"type":"pre-existing","id":"time-1.9.3","pkg-name":"time","pkg-version":"1.9.3","depends":["base-4.15.1.0","deepseq-1.4.5.0"]},{"type":"pre-existing","id":"unix-2.7.2.2","pkg-name":"unix","pkg-version":"2.7.2.2","depends":["base-4.15.1.0","bytestring-0.10.12.1","time-1.9.3"]}],"targets":[{"pkg-name":"alex","pkg-version":"3.2.7.1","component-name":"exe:alex","available":[{"id":"alex-3.2.7.1-e-alex-36ac3342fa24f3057e348e6f7e60dee6ec4014c5e62b203c2354321c15fd6ca0","component-name":"exe:alex","build-by-default":true}]},{"pkg-name":"alex","pkg-version":"3.2.7.1","component-name":"test:tests","available":["TargetNotLocal"]},{"pkg-name":"array","pkg-version":"0.5.4.0","component-name":"lib","available":[{"id":"array-0.5.4.0","component-name":"lib","build-by-default":true}]},{"pkg-name":"base","pkg-version":"4.15.1.0","component-name":"lib","available":[{"id":"base-4.15.1.0","component-name":"lib","build-by-default":true}]},{"pkg-name":"bytestring","pkg-version":"0.10.12.1","component-name":"lib","available":[{"id":"bytestring-0.10.12.1","component-name":"lib","build-by-default":true}]},{"pkg-name":"containers","pkg-version":"0.6.4.1","component-name":"lib","available":[{"id":"containers-0.6.4.1","component-name":"lib","build-by-default":true}]},{"pkg-name":"deepseq","pkg-version":"1.4.5.0","component-name":"lib","available":[{"id":"deepseq-1.4.5.0","component-name":"lib","build-by-default":true}]},{"pkg-name":"directory","pkg-version":"1.3.6.2","component-name":"lib","available":[{"id":"directory-1.3.6.2","component-name":"lib","build-by-default":true}]},{"pkg-name":"filepath","pkg-version":"1.4.2.1","component-name":"lib","available":[{"id":"filepath-1.4.2.1","component-name":"lib","build-by-default":true}]},{"pkg-name":"ghc-bignum","pkg-version":"1.1","component-name":"lib","available":[{"id":"ghc-bignum-1.1","component-name":"lib","build-by-default":true}]},{"pkg-name":"ghc-prim","pkg-version":"0.7.0","component-name":"lib","available":[{"id":"ghc-prim-0.7.0","component-name":"lib","build-by-default":true}]},{"pkg-name":"integer-gmp","pkg-version":"1.1","component-name":"lib","available":[{"id":"integer-gmp-1.1","component-name":"lib","build-by-default":true}]},{"pkg-name":"time","pkg-version":"1.9.3","component-name":"lib","available":[{"id":"time-1.9.3","component-name":"lib","build-by-default":true}]},{"pkg-name":"unix","pkg-version":"2.7.2.2","component-name":"lib","available":[{"id":"unix-2.7.2.2","component-name":"lib","build-by-default":true}]}]} \ No newline at end of file diff --git a/materialized/alex-3.2.7.1/ghc964/cabal-files/alex.nix b/materialized/alex-3.2.7.1/ghc964/cabal-files/alex.nix new file mode 100644 index 0000000000..5a944bd139 --- /dev/null +++ b/materialized/alex-3.2.7.1/ghc964/cabal-files/alex.nix @@ -0,0 +1,57 @@ +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: + ({ + flags = {}; + package = { + specVersion = "1.10"; + identifier = { name = "alex"; version = "3.2.7.1"; }; + license = "BSD-3-Clause"; + copyright = "(c) Chis Dornan, Simon Marlow"; + maintainer = "Simon Marlow "; + author = "Chris Dornan and Simon Marlow"; + homepage = "http://www.haskell.org/alex/"; + url = ""; + synopsis = "Alex is a tool for generating lexical analysers in Haskell"; + description = "Alex is a tool for generating lexical analysers in Haskell.\nIt takes a description of tokens based on regular\nexpressions and generates a Haskell module containing code\nfor scanning text efficiently. It is similar to the tool\nlex or flex for C/C++."; + buildType = "Simple"; + }; + components = { + exes = { + "alex" = { + depends = [ + (hsPkgs."base" or (errorHandler.buildDepError "base")) + (hsPkgs."array" or (errorHandler.buildDepError "array")) + (hsPkgs."containers" or (errorHandler.buildDepError "containers")) + (hsPkgs."directory" or (errorHandler.buildDepError "directory")) + ]; + buildable = true; + }; + }; + tests = { + "tests" = { + depends = [ + (hsPkgs."base" or (errorHandler.buildDepError "base")) + (hsPkgs."process" or (errorHandler.buildDepError "process")) + ]; + build-tools = [ + (hsPkgs.pkgsBuildBuild.alex.components.exes.alex or (pkgs.pkgsBuildBuild.alex or (errorHandler.buildToolDepError "alex:alex"))) + ]; + buildable = true; + }; + }; + }; + } // { + src = pkgs.lib.mkDefault (pkgs.fetchurl { + url = "http://hackage.haskell.org/package/alex-3.2.7.1.tar.gz"; + sha256 = "9bd2f1a27e8f1b2ffdb5b2fbd3ed82b6f0e85191459a1b24ffcbef4e68a81bec"; + }); + }) // { + package-description-override = "cabal-version: >= 1.10\nname: alex\nversion: 3.2.7.1\n-- don't forget updating changelog.md!\nlicense: BSD3\nlicense-file: LICENSE\ncopyright: (c) Chis Dornan, Simon Marlow\nauthor: Chris Dornan and Simon Marlow\nmaintainer: Simon Marlow \nbug-reports: https://github.com/simonmar/alex/issues\nstability: stable\nhomepage: http://www.haskell.org/alex/\nsynopsis: Alex is a tool for generating lexical analysers in Haskell\ndescription:\n Alex is a tool for generating lexical analysers in Haskell.\n It takes a description of tokens based on regular\n expressions and generates a Haskell module containing code\n for scanning text efficiently. It is similar to the tool\n lex or flex for C/C++.\n\ncategory: Development\nbuild-type: Simple\n\ntested-with:\n GHC == 7.0.4\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.4\n GHC == 8.10.4\n GHC == 9.0.1\n\ndata-dir: data/\n\ndata-files:\n AlexTemplate.hs\n AlexWrappers.hs\n\nextra-source-files:\n CHANGELOG.md\n README.md\n TODO\n doc/Makefile\n doc/aclocal.m4\n doc/alex.1.in\n doc/alex.xml\n doc/config.mk.in\n doc/configure.ac\n doc/docbook-xml.mk\n doc/fptools.css\n examples/Makefile\n examples/Tokens.x\n examples/Tokens_gscan.x\n examples/Tokens_posn.x\n examples/examples.x\n examples/haskell.x\n examples/lit.x\n examples/pp.x\n examples/state.x\n examples/tiny.y\n examples/words.x\n examples/words_monad.x\n examples/words_posn.x\n src/Parser.y.boot\n src/Scan.x.boot\n src/ghc_hooks.c\n tests/Makefile\n tests/simple.x\n tests/null.x\n tests/tokens.x\n tests/tokens_gscan.x\n tests/tokens_posn.x\n tests/tokens_bytestring.x\n tests/tokens_posn_bytestring.x\n tests/tokens_scan_user.x\n tests/tokens_strict_bytestring.x\n tests/tokens_monad_bytestring.x\n tests/tokens_monadUserState_bytestring.x\n tests/tokens_bytestring_unicode.x\n tests/basic_typeclass.x\n tests/basic_typeclass_bytestring.x\n tests/default_typeclass.x\n tests/gscan_typeclass.x\n tests/posn_typeclass.x\n tests/monad_typeclass.x\n tests/monad_typeclass_bytestring.x\n tests/monadUserState_typeclass.x\n tests/monadUserState_typeclass_bytestring.x\n tests/posn_typeclass_bytestring.x\n tests/strict_typeclass.x\n tests/unicode.x\n tests/issue_71.x\n tests/issue_119.x\n tests/issue_141.x\n tests/issue_197.x\n\nsource-repository head\n type: git\n location: https://github.com/simonmar/alex.git\n\nexecutable alex\n hs-source-dirs: src\n main-is: Main.hs\n\n build-depends: base >= 2.1 && < 5\n , array\n , containers\n , directory\n\n default-language: Haskell98\n default-extensions: CPP\n other-extensions: MagicHash\n\n ghc-options: -Wall -rtsopts\n\n other-modules:\n AbsSyn\n CharSet\n DFA\n DFAMin\n DFS\n Info\n Map\n NFA\n Output\n Paths_alex\n Parser\n ParseMonad\n Scan\n Set\n Sort\n Util\n UTF8\n Data.Ranged\n Data.Ranged.Boundaries\n Data.Ranged.RangedSet\n Data.Ranged.Ranges\n\ntest-suite tests\n type: exitcode-stdio-1.0\n main-is: test.hs\n -- This line is important as it ensures that the local `exe:alex` component declared above is built before the test-suite component is invoked, as well as making sure that `alex` is made available on $PATH and `$alex_datadir` is set accordingly before invoking `test.hs`\n build-tools: alex\n\n default-language: Haskell98\n\n build-depends: base, process\n"; + } \ No newline at end of file diff --git a/materialized/alex-3.2.7.1/ghc964/default.nix b/materialized/alex-3.2.7.1/ghc964/default.nix new file mode 100644 index 0000000000..d72a290509 --- /dev/null +++ b/materialized/alex-3.2.7.1/ghc964/default.nix @@ -0,0 +1,102 @@ +{ + pkgs = hackage: + { + packages = { + ghc-prim.revision = hackage.ghc-prim."0.10.0".revisions.default; + transformers.revision = hackage.transformers."0.6.1.0".revisions.default; + alex.revision = import ./cabal-files/alex.nix; + time.revision = hackage.time."1.12.2".revisions.default; + base.revision = hackage.base."4.18.2.0".revisions.default; + unix.revision = hackage.unix."2.8.4.0".revisions.default; + 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; + 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; + deepseq.revision = hackage.deepseq."1.4.8.1".revisions.default; + containers.revision = hackage.containers."0.6.7".revisions.default; + array.revision = hackage.array."0.5.6.0".revisions.default; + bytestring.revision = hackage.bytestring."0.11.5.3".revisions.default; + directory.revision = hackage.directory."1.3.8.1".revisions.default; + ghc-bignum.revision = hackage.ghc-bignum."1.3".revisions.default; + filepath.revision = hackage.filepath."1.4.200.1".revisions.default; + }; + compiler = { + version = "9.6.4"; + nix-name = "ghc964"; + packages = { + "unix" = "2.8.4.0"; + "filepath" = "1.4.200.1"; + "transformers" = "0.6.1.0"; + "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"; + "pretty" = "1.1.3.6"; + "deepseq" = "1.4.8.1"; + "array" = "0.5.6.0"; + "exceptions" = "0.10.7"; + }; + }; + }; + extras = hackage: + { packages = {}; }; + modules = [ + { + preExistingPkgs = [ + "ghc-prim" + "transformers" + "time" + "base" + "unix" + "ghc-boot-th" + "mtl" + "pretty" + "stm" + "template-haskell" + "exceptions" + "deepseq" + "containers" + "array" + "bytestring" + "directory" + "ghc-bignum" + "filepath" + ]; + } + ({ lib, ... }: + { packages = {}; }) + ({ lib, ... }: + { + packages = { + "directory".components.library.planned = lib.mkOverride 900 true; + "deepseq".components.library.planned = lib.mkOverride 900 true; + "base".components.library.planned = lib.mkOverride 900 true; + "filepath".components.library.planned = lib.mkOverride 900 true; + "transformers".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; + "bytestring".components.library.planned = lib.mkOverride 900 true; + "time".components.library.planned = lib.mkOverride 900 true; + "template-haskell".components.library.planned = lib.mkOverride 900 true; + "ghc-bignum".components.library.planned = lib.mkOverride 900 true; + "stm".components.library.planned = lib.mkOverride 900 true; + "exceptions".components.library.planned = lib.mkOverride 900 true; + "alex".components.exes."alex".planned = lib.mkOverride 900 true; + "array".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 diff --git a/materialized/alex-3.2.7.1/ghc964/plan.json b/materialized/alex-3.2.7.1/ghc964/plan.json new file mode 100644 index 0000000000..db9e5ada9e --- /dev/null +++ b/materialized/alex-3.2.7.1/ghc964/plan.json @@ -0,0 +1 @@ +{"cabal-version":"3.10.3.0","cabal-lib-version":"3.10.3.0","compiler-id":"ghc-9.6.4","os":"linux","arch":"x86_64","install-plan":[{"type":"configured","id":"alex-3.2.7.1-e-alex-837b076d3a2195b9bef1dc00749a295b535cc34e3d32ebf45e80e4d1fcf79efa","pkg-name":"alex","pkg-version":"3.2.7.1","flags":{},"style":"global","pkg-src":{"type":"repo-tar","repo":{"type":"secure-repo","uri":"http://hackage.haskell.org/"}},"pkg-cabal-sha256":"ab26a38cefae59403f746370e5a0c943b8d5bda098eb83f37052b2429ee780ce","pkg-src-sha256":"9bd2f1a27e8f1b2ffdb5b2fbd3ed82b6f0e85191459a1b24ffcbef4e68a81bec","depends":["array-0.5.6.0","base-4.18.2.0","containers-0.6.7","directory-1.3.8.1"],"exe-depends":[],"component-name":"exe:alex","bin-file":"/store/ghc-9.6.4/alex-3.2.7.1-e-alex-837b076d3a2195b9bef1dc00749a295b535cc34e3d32ebf45e80e4d1fcf79efa/bin/alex"},{"type":"pre-existing","id":"array-0.5.6.0","pkg-name":"array","pkg-version":"0.5.6.0","depends":["base-4.18.2.0"]},{"type":"pre-existing","id":"base-4.18.2.0","pkg-name":"base","pkg-version":"4.18.2.0","depends":["ghc-bignum-1.3","ghc-prim-0.10.0"]},{"type":"pre-existing","id":"bytestring-0.11.5.3","pkg-name":"bytestring","pkg-version":"0.11.5.3","depends":["base-4.18.2.0","deepseq-1.4.8.1","ghc-prim-0.10.0","template-haskell-2.20.0.0"]},{"type":"pre-existing","id":"containers-0.6.7","pkg-name":"containers","pkg-version":"0.6.7","depends":["array-0.5.6.0","base-4.18.2.0","deepseq-1.4.8.1","template-haskell-2.20.0.0"]},{"type":"pre-existing","id":"deepseq-1.4.8.1","pkg-name":"deepseq","pkg-version":"1.4.8.1","depends":["array-0.5.6.0","base-4.18.2.0","ghc-prim-0.10.0"]},{"type":"pre-existing","id":"directory-1.3.8.1","pkg-name":"directory","pkg-version":"1.3.8.1","depends":["base-4.18.2.0","filepath-1.4.200.1","time-1.12.2","unix-2.8.4.0"]},{"type":"pre-existing","id":"exceptions-0.10.7","pkg-name":"exceptions","pkg-version":"0.10.7","depends":["base-4.18.2.0","mtl-2.3.1","stm-2.5.1.0","template-haskell-2.20.0.0","transformers-0.6.1.0"]},{"type":"pre-existing","id":"filepath-1.4.200.1","pkg-name":"filepath","pkg-version":"1.4.200.1","depends":["base-4.18.2.0","bytestring-0.11.5.3","deepseq-1.4.8.1","exceptions-0.10.7","template-haskell-2.20.0.0"]},{"type":"pre-existing","id":"ghc-bignum-1.3","pkg-name":"ghc-bignum","pkg-version":"1.3","depends":["ghc-prim-0.10.0"]},{"type":"pre-existing","id":"ghc-boot-th-9.6.4","pkg-name":"ghc-boot-th","pkg-version":"9.6.4","depends":["base-4.18.2.0"]},{"type":"pre-existing","id":"ghc-prim-0.10.0","pkg-name":"ghc-prim","pkg-version":"0.10.0","depends":[]},{"type":"pre-existing","id":"mtl-2.3.1","pkg-name":"mtl","pkg-version":"2.3.1","depends":["base-4.18.2.0","transformers-0.6.1.0"]},{"type":"pre-existing","id":"pretty-1.1.3.6","pkg-name":"pretty","pkg-version":"1.1.3.6","depends":["base-4.18.2.0","deepseq-1.4.8.1","ghc-prim-0.10.0"]},{"type":"pre-existing","id":"stm-2.5.1.0","pkg-name":"stm","pkg-version":"2.5.1.0","depends":["array-0.5.6.0","base-4.18.2.0"]},{"type":"pre-existing","id":"template-haskell-2.20.0.0","pkg-name":"template-haskell","pkg-version":"2.20.0.0","depends":["base-4.18.2.0","ghc-boot-th-9.6.4","ghc-prim-0.10.0","pretty-1.1.3.6"]},{"type":"pre-existing","id":"time-1.12.2","pkg-name":"time","pkg-version":"1.12.2","depends":["base-4.18.2.0","deepseq-1.4.8.1"]},{"type":"pre-existing","id":"transformers-0.6.1.0","pkg-name":"transformers","pkg-version":"0.6.1.0","depends":["base-4.18.2.0","ghc-prim-0.10.0"]},{"type":"pre-existing","id":"unix-2.8.4.0","pkg-name":"unix","pkg-version":"2.8.4.0","depends":["base-4.18.2.0","bytestring-0.11.5.3","filepath-1.4.200.1","time-1.12.2"]}],"targets":[{"pkg-name":"alex","pkg-version":"3.2.7.1","component-name":"exe:alex","available":[{"id":"alex-3.2.7.1-e-alex-837b076d3a2195b9bef1dc00749a295b535cc34e3d32ebf45e80e4d1fcf79efa","component-name":"exe:alex","build-by-default":true}]},{"pkg-name":"alex","pkg-version":"3.2.7.1","component-name":"test:tests","available":["TargetNotLocal"]},{"pkg-name":"array","pkg-version":"0.5.6.0","component-name":"lib","available":[{"id":"array-0.5.6.0","component-name":"lib","build-by-default":true}]},{"pkg-name":"base","pkg-version":"4.18.2.0","component-name":"lib","available":[{"id":"base-4.18.2.0","component-name":"lib","build-by-default":true}]},{"pkg-name":"bytestring","pkg-version":"0.11.5.3","component-name":"lib","available":[{"id":"bytestring-0.11.5.3","component-name":"lib","build-by-default":true}]},{"pkg-name":"containers","pkg-version":"0.6.7","component-name":"lib","available":[{"id":"containers-0.6.7","component-name":"lib","build-by-default":true}]},{"pkg-name":"deepseq","pkg-version":"1.4.8.1","component-name":"lib","available":[{"id":"deepseq-1.4.8.1","component-name":"lib","build-by-default":true}]},{"pkg-name":"directory","pkg-version":"1.3.8.1","component-name":"lib","available":[{"id":"directory-1.3.8.1","component-name":"lib","build-by-default":true}]},{"pkg-name":"exceptions","pkg-version":"0.10.7","component-name":"lib","available":[{"id":"exceptions-0.10.7","component-name":"lib","build-by-default":true}]},{"pkg-name":"filepath","pkg-version":"1.4.200.1","component-name":"lib","available":[{"id":"filepath-1.4.200.1","component-name":"lib","build-by-default":true}]},{"pkg-name":"ghc-bignum","pkg-version":"1.3","component-name":"lib","available":[{"id":"ghc-bignum-1.3","component-name":"lib","build-by-default":true}]},{"pkg-name":"ghc-boot-th","pkg-version":"9.6.4","component-name":"lib","available":[{"id":"ghc-boot-th-9.6.4","component-name":"lib","build-by-default":true}]},{"pkg-name":"ghc-prim","pkg-version":"0.10.0","component-name":"lib","available":[{"id":"ghc-prim-0.10.0","component-name":"lib","build-by-default":true}]},{"pkg-name":"mtl","pkg-version":"2.3.1","component-name":"lib","available":[{"id":"mtl-2.3.1","component-name":"lib","build-by-default":true}]},{"pkg-name":"pretty","pkg-version":"1.1.3.6","component-name":"lib","available":[{"id":"pretty-1.1.3.6","component-name":"lib","build-by-default":true}]},{"pkg-name":"stm","pkg-version":"2.5.1.0","component-name":"lib","available":[{"id":"stm-2.5.1.0","component-name":"lib","build-by-default":true}]},{"pkg-name":"template-haskell","pkg-version":"2.20.0.0","component-name":"lib","available":[{"id":"template-haskell-2.20.0.0","component-name":"lib","build-by-default":true}]},{"pkg-name":"time","pkg-version":"1.12.2","component-name":"lib","available":[{"id":"time-1.12.2","component-name":"lib","build-by-default":true}]},{"pkg-name":"transformers","pkg-version":"0.6.1.0","component-name":"lib","available":[{"id":"transformers-0.6.1.0","component-name":"lib","build-by-default":true}]},{"pkg-name":"unix","pkg-version":"2.8.4.0","component-name":"lib","available":[{"id":"unix-2.8.4.0","component-name":"lib","build-by-default":true}]}]} \ No newline at end of file diff --git a/materialized/alex-3.2.7.1/ghc967/cabal-files/alex.nix b/materialized/alex-3.2.7.1/ghc967/cabal-files/alex.nix new file mode 100644 index 0000000000..5a944bd139 --- /dev/null +++ b/materialized/alex-3.2.7.1/ghc967/cabal-files/alex.nix @@ -0,0 +1,57 @@ +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: + ({ + flags = {}; + package = { + specVersion = "1.10"; + identifier = { name = "alex"; version = "3.2.7.1"; }; + license = "BSD-3-Clause"; + copyright = "(c) Chis Dornan, Simon Marlow"; + maintainer = "Simon Marlow "; + author = "Chris Dornan and Simon Marlow"; + homepage = "http://www.haskell.org/alex/"; + url = ""; + synopsis = "Alex is a tool for generating lexical analysers in Haskell"; + description = "Alex is a tool for generating lexical analysers in Haskell.\nIt takes a description of tokens based on regular\nexpressions and generates a Haskell module containing code\nfor scanning text efficiently. It is similar to the tool\nlex or flex for C/C++."; + buildType = "Simple"; + }; + components = { + exes = { + "alex" = { + depends = [ + (hsPkgs."base" or (errorHandler.buildDepError "base")) + (hsPkgs."array" or (errorHandler.buildDepError "array")) + (hsPkgs."containers" or (errorHandler.buildDepError "containers")) + (hsPkgs."directory" or (errorHandler.buildDepError "directory")) + ]; + buildable = true; + }; + }; + tests = { + "tests" = { + depends = [ + (hsPkgs."base" or (errorHandler.buildDepError "base")) + (hsPkgs."process" or (errorHandler.buildDepError "process")) + ]; + build-tools = [ + (hsPkgs.pkgsBuildBuild.alex.components.exes.alex or (pkgs.pkgsBuildBuild.alex or (errorHandler.buildToolDepError "alex:alex"))) + ]; + buildable = true; + }; + }; + }; + } // { + src = pkgs.lib.mkDefault (pkgs.fetchurl { + url = "http://hackage.haskell.org/package/alex-3.2.7.1.tar.gz"; + sha256 = "9bd2f1a27e8f1b2ffdb5b2fbd3ed82b6f0e85191459a1b24ffcbef4e68a81bec"; + }); + }) // { + package-description-override = "cabal-version: >= 1.10\nname: alex\nversion: 3.2.7.1\n-- don't forget updating changelog.md!\nlicense: BSD3\nlicense-file: LICENSE\ncopyright: (c) Chis Dornan, Simon Marlow\nauthor: Chris Dornan and Simon Marlow\nmaintainer: Simon Marlow \nbug-reports: https://github.com/simonmar/alex/issues\nstability: stable\nhomepage: http://www.haskell.org/alex/\nsynopsis: Alex is a tool for generating lexical analysers in Haskell\ndescription:\n Alex is a tool for generating lexical analysers in Haskell.\n It takes a description of tokens based on regular\n expressions and generates a Haskell module containing code\n for scanning text efficiently. It is similar to the tool\n lex or flex for C/C++.\n\ncategory: Development\nbuild-type: Simple\n\ntested-with:\n GHC == 7.0.4\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.4\n GHC == 8.10.4\n GHC == 9.0.1\n\ndata-dir: data/\n\ndata-files:\n AlexTemplate.hs\n AlexWrappers.hs\n\nextra-source-files:\n CHANGELOG.md\n README.md\n TODO\n doc/Makefile\n doc/aclocal.m4\n doc/alex.1.in\n doc/alex.xml\n doc/config.mk.in\n doc/configure.ac\n doc/docbook-xml.mk\n doc/fptools.css\n examples/Makefile\n examples/Tokens.x\n examples/Tokens_gscan.x\n examples/Tokens_posn.x\n examples/examples.x\n examples/haskell.x\n examples/lit.x\n examples/pp.x\n examples/state.x\n examples/tiny.y\n examples/words.x\n examples/words_monad.x\n examples/words_posn.x\n src/Parser.y.boot\n src/Scan.x.boot\n src/ghc_hooks.c\n tests/Makefile\n tests/simple.x\n tests/null.x\n tests/tokens.x\n tests/tokens_gscan.x\n tests/tokens_posn.x\n tests/tokens_bytestring.x\n tests/tokens_posn_bytestring.x\n tests/tokens_scan_user.x\n tests/tokens_strict_bytestring.x\n tests/tokens_monad_bytestring.x\n tests/tokens_monadUserState_bytestring.x\n tests/tokens_bytestring_unicode.x\n tests/basic_typeclass.x\n tests/basic_typeclass_bytestring.x\n tests/default_typeclass.x\n tests/gscan_typeclass.x\n tests/posn_typeclass.x\n tests/monad_typeclass.x\n tests/monad_typeclass_bytestring.x\n tests/monadUserState_typeclass.x\n tests/monadUserState_typeclass_bytestring.x\n tests/posn_typeclass_bytestring.x\n tests/strict_typeclass.x\n tests/unicode.x\n tests/issue_71.x\n tests/issue_119.x\n tests/issue_141.x\n tests/issue_197.x\n\nsource-repository head\n type: git\n location: https://github.com/simonmar/alex.git\n\nexecutable alex\n hs-source-dirs: src\n main-is: Main.hs\n\n build-depends: base >= 2.1 && < 5\n , array\n , containers\n , directory\n\n default-language: Haskell98\n default-extensions: CPP\n other-extensions: MagicHash\n\n ghc-options: -Wall -rtsopts\n\n other-modules:\n AbsSyn\n CharSet\n DFA\n DFAMin\n DFS\n Info\n Map\n NFA\n Output\n Paths_alex\n Parser\n ParseMonad\n Scan\n Set\n Sort\n Util\n UTF8\n Data.Ranged\n Data.Ranged.Boundaries\n Data.Ranged.RangedSet\n Data.Ranged.Ranges\n\ntest-suite tests\n type: exitcode-stdio-1.0\n main-is: test.hs\n -- This line is important as it ensures that the local `exe:alex` component declared above is built before the test-suite component is invoked, as well as making sure that `alex` is made available on $PATH and `$alex_datadir` is set accordingly before invoking `test.hs`\n build-tools: alex\n\n default-language: Haskell98\n\n build-depends: base, process\n"; + } \ No newline at end of file diff --git a/materialized/alex-3.2.7.1/ghc967/default.nix b/materialized/alex-3.2.7.1/ghc967/default.nix new file mode 100644 index 0000000000..bcda3365ed --- /dev/null +++ b/materialized/alex-3.2.7.1/ghc967/default.nix @@ -0,0 +1,102 @@ +{ + pkgs = hackage: + { + packages = { + filepath.revision = hackage.filepath."1.4.301.0".revisions.default; + ghc-bignum.revision = hackage.ghc-bignum."1.3".revisions.default; + stm.revision = hackage.stm."2.5.1.0".revisions.default; + transformers.revision = hackage.transformers."0.6.1.0".revisions.default; + deepseq.revision = hackage.deepseq."1.4.8.1".revisions.default; + directory.revision = hackage.directory."1.3.8.5".revisions.default; + mtl.revision = hackage.mtl."2.3.1".revisions.default; + base.revision = hackage.base."4.18.3.0".revisions.default; + time.revision = hackage.time."1.12.2".revisions.default; + array.revision = hackage.array."0.5.8.0".revisions.default; + alex.revision = import ./cabal-files/alex.nix; + template-haskell.revision = hackage.template-haskell."2.20.0.0".revisions.default; + unix.revision = hackage.unix."2.8.6.0".revisions.default; + exceptions.revision = hackage.exceptions."0.10.7".revisions.default; + bytestring.revision = hackage.bytestring."0.11.5.4".revisions.default; + ghc-boot-th.revision = hackage.ghc-boot-th."9.6.7".revisions.default; + ghc-prim.revision = hackage.ghc-prim."0.10.0".revisions.default; + pretty.revision = hackage.pretty."1.1.3.6".revisions.default; + containers.revision = hackage.containers."0.6.7".revisions.default; + }; + compiler = { + version = "9.6.7"; + nix-name = "ghc967"; + packages = { + "ghc-boot-th" = "9.6.7"; + "pretty" = "1.1.3.6"; + "array" = "0.5.8.0"; + "time" = "1.12.2"; + "ghc-prim" = "0.10.0"; + "bytestring" = "0.11.5.4"; + "mtl" = "2.3.1"; + "template-haskell" = "2.20.0.0"; + "ghc-bignum" = "1.3"; + "stm" = "2.5.1.0"; + "filepath" = "1.4.301.0"; + "unix" = "2.8.6.0"; + "exceptions" = "0.10.7"; + "deepseq" = "1.4.8.1"; + "transformers" = "0.6.1.0"; + "containers" = "0.6.7"; + "base" = "4.18.3.0"; + "directory" = "1.3.8.5"; + }; + }; + }; + extras = hackage: + { packages = {}; }; + modules = [ + { + preExistingPkgs = [ + "filepath" + "ghc-bignum" + "stm" + "transformers" + "deepseq" + "directory" + "mtl" + "base" + "time" + "array" + "template-haskell" + "unix" + "exceptions" + "bytestring" + "ghc-boot-th" + "ghc-prim" + "pretty" + "containers" + ]; + } + ({ lib, ... }: + { packages = {}; }) + ({ lib, ... }: + { + packages = { + "alex".components.exes."alex".planned = lib.mkOverride 900 true; + "template-haskell".components.library.planned = lib.mkOverride 900 true; + "transformers".components.library.planned = lib.mkOverride 900 true; + "array".components.library.planned = lib.mkOverride 900 true; + "unix".components.library.planned = lib.mkOverride 900 true; + "exceptions".components.library.planned = lib.mkOverride 900 true; + "directory".components.library.planned = lib.mkOverride 900 true; + "containers".components.library.planned = lib.mkOverride 900 true; + "stm".components.library.planned = lib.mkOverride 900 true; + "bytestring".components.library.planned = lib.mkOverride 900 true; + "deepseq".components.library.planned = lib.mkOverride 900 true; + "filepath".components.library.planned = lib.mkOverride 900 true; + "time".components.library.planned = lib.mkOverride 900 true; + "ghc-bignum".components.library.planned = lib.mkOverride 900 true; + "pretty".components.library.planned = lib.mkOverride 900 true; + "mtl".components.library.planned = lib.mkOverride 900 true; + "ghc-boot-th".components.library.planned = lib.mkOverride 900 true; + "base".components.library.planned = lib.mkOverride 900 true; + "ghc-prim".components.library.planned = lib.mkOverride 900 true; + }; + }) + ]; +} \ No newline at end of file diff --git a/materialized/alex-3.2.7.1/ghc967/plan.json b/materialized/alex-3.2.7.1/ghc967/plan.json new file mode 100644 index 0000000000..10bd38a419 --- /dev/null +++ b/materialized/alex-3.2.7.1/ghc967/plan.json @@ -0,0 +1 @@ +{"cabal-version":"3.14.2.0","cabal-lib-version":"3.14.2.0","compiler-id":"ghc-9.6.7","os":"osx","arch":"aarch64","install-plan":[{"type":"pre-existing","id":"array-0.5.8.0","pkg-name":"array","pkg-version":"0.5.8.0","depends":["base-4.18.3.0"]},{"type":"pre-existing","id":"base-4.18.3.0","pkg-name":"base","pkg-version":"4.18.3.0","depends":["ghc-prim-0.10.0","ghc-bignum-1.3"]},{"type":"pre-existing","id":"bytestring-0.11.5.4","pkg-name":"bytestring","pkg-version":"0.11.5.4","depends":["base-4.18.3.0","ghc-prim-0.10.0","deepseq-1.4.8.1","template-haskell-2.20.0.0"]},{"type":"pre-existing","id":"containers-0.6.7","pkg-name":"containers","pkg-version":"0.6.7","depends":["base-4.18.3.0","array-0.5.8.0","deepseq-1.4.8.1","template-haskell-2.20.0.0"]},{"type":"pre-existing","id":"deepseq-1.4.8.1","pkg-name":"deepseq","pkg-version":"1.4.8.1","depends":["base-4.18.3.0","array-0.5.8.0"]},{"type":"pre-existing","id":"directory-1.3.8.5","pkg-name":"directory","pkg-version":"1.3.8.5","depends":["base-4.18.3.0","time-1.12.2","filepath-1.4.301.0","unix-2.8.6.0"]},{"type":"pre-existing","id":"exceptions-0.10.7","pkg-name":"exceptions","pkg-version":"0.10.7","depends":["base-4.18.3.0","stm-2.5.1.0","template-haskell-2.20.0.0","mtl-2.3.1","transformers-0.6.1.0"]},{"type":"pre-existing","id":"filepath-1.4.301.0","pkg-name":"filepath","pkg-version":"1.4.301.0","depends":["base-4.18.3.0","bytestring-0.11.5.4","deepseq-1.4.8.1","exceptions-0.10.7","template-haskell-2.20.0.0"]},{"type":"pre-existing","id":"ghc-bignum-1.3","pkg-name":"ghc-bignum","pkg-version":"1.3","depends":["ghc-prim-0.10.0"]},{"type":"pre-existing","id":"ghc-boot-th-9.6.7","pkg-name":"ghc-boot-th","pkg-version":"9.6.7","depends":["base-4.18.3.0"]},{"type":"pre-existing","id":"ghc-prim-0.10.0","pkg-name":"ghc-prim","pkg-version":"0.10.0","depends":[]},{"type":"configured","id":"lx-3.2.7.1-0976ef54","pkg-name":"alex","pkg-version":"3.2.7.1","flags":{},"style":"global","pkg-src":{"type":"repo-tar","repo":{"type":"secure-repo","uri":"http://hackage.haskell.org/"}},"pkg-cabal-sha256":"ab26a38cefae59403f746370e5a0c943b8d5bda098eb83f37052b2429ee780ce","pkg-src-sha256":"9bd2f1a27e8f1b2ffdb5b2fbd3ed82b6f0e85191459a1b24ffcbef4e68a81bec","depends":["array-0.5.8.0","base-4.18.3.0","containers-0.6.7","directory-1.3.8.5"],"exe-depends":[],"component-name":"exe:alex","bin-file":"/store/ghc-9.6.7/lx-3.2.7.1-0976ef54/bin/alex"},{"type":"pre-existing","id":"mtl-2.3.1","pkg-name":"mtl","pkg-version":"2.3.1","depends":["base-4.18.3.0","transformers-0.6.1.0"]},{"type":"pre-existing","id":"pretty-1.1.3.6","pkg-name":"pretty","pkg-version":"1.1.3.6","depends":["base-4.18.3.0","deepseq-1.4.8.1","ghc-prim-0.10.0"]},{"type":"pre-existing","id":"stm-2.5.1.0","pkg-name":"stm","pkg-version":"2.5.1.0","depends":["base-4.18.3.0","array-0.5.8.0"]},{"type":"pre-existing","id":"template-haskell-2.20.0.0","pkg-name":"template-haskell","pkg-version":"2.20.0.0","depends":["base-4.18.3.0","ghc-boot-th-9.6.7","ghc-prim-0.10.0","pretty-1.1.3.6"]},{"type":"pre-existing","id":"time-1.12.2","pkg-name":"time","pkg-version":"1.12.2","depends":["base-4.18.3.0","deepseq-1.4.8.1"]},{"type":"pre-existing","id":"transformers-0.6.1.0","pkg-name":"transformers","pkg-version":"0.6.1.0","depends":["base-4.18.3.0"]},{"type":"pre-existing","id":"unix-2.8.6.0","pkg-name":"unix","pkg-version":"2.8.6.0","depends":["base-4.18.3.0","bytestring-0.11.5.4","time-1.12.2","filepath-1.4.301.0"]}],"targets":[{"pkg-name":"alex","pkg-version":"3.2.7.1","component-name":"exe:alex","available":[{"id":"lx-3.2.7.1-0976ef54","component-name":"exe:alex","build-by-default":true}]},{"pkg-name":"alex","pkg-version":"3.2.7.1","component-name":"test:tests","available":["TargetNotLocal"]},{"pkg-name":"array","pkg-version":"0.5.8.0","component-name":"lib","available":[{"id":"array-0.5.8.0","component-name":"lib","build-by-default":true}]},{"pkg-name":"base","pkg-version":"4.18.3.0","component-name":"lib","available":[{"id":"base-4.18.3.0","component-name":"lib","build-by-default":true}]},{"pkg-name":"bytestring","pkg-version":"0.11.5.4","component-name":"lib","available":[{"id":"bytestring-0.11.5.4","component-name":"lib","build-by-default":true}]},{"pkg-name":"containers","pkg-version":"0.6.7","component-name":"lib","available":[{"id":"containers-0.6.7","component-name":"lib","build-by-default":true}]},{"pkg-name":"deepseq","pkg-version":"1.4.8.1","component-name":"lib","available":[{"id":"deepseq-1.4.8.1","component-name":"lib","build-by-default":true}]},{"pkg-name":"directory","pkg-version":"1.3.8.5","component-name":"lib","available":[{"id":"directory-1.3.8.5","component-name":"lib","build-by-default":true}]},{"pkg-name":"exceptions","pkg-version":"0.10.7","component-name":"lib","available":[{"id":"exceptions-0.10.7","component-name":"lib","build-by-default":true}]},{"pkg-name":"filepath","pkg-version":"1.4.301.0","component-name":"lib","available":[{"id":"filepath-1.4.301.0","component-name":"lib","build-by-default":true}]},{"pkg-name":"ghc-bignum","pkg-version":"1.3","component-name":"lib","available":[{"id":"ghc-bignum-1.3","component-name":"lib","build-by-default":true}]},{"pkg-name":"ghc-boot-th","pkg-version":"9.6.7","component-name":"lib","available":[{"id":"ghc-boot-th-9.6.7","component-name":"lib","build-by-default":true}]},{"pkg-name":"ghc-prim","pkg-version":"0.10.0","component-name":"lib","available":[{"id":"ghc-prim-0.10.0","component-name":"lib","build-by-default":true}]},{"pkg-name":"mtl","pkg-version":"2.3.1","component-name":"lib","available":[{"id":"mtl-2.3.1","component-name":"lib","build-by-default":true}]},{"pkg-name":"pretty","pkg-version":"1.1.3.6","component-name":"lib","available":[{"id":"pretty-1.1.3.6","component-name":"lib","build-by-default":true}]},{"pkg-name":"stm","pkg-version":"2.5.1.0","component-name":"lib","available":[{"id":"stm-2.5.1.0","component-name":"lib","build-by-default":true}]},{"pkg-name":"template-haskell","pkg-version":"2.20.0.0","component-name":"lib","available":[{"id":"template-haskell-2.20.0.0","component-name":"lib","build-by-default":true}]},{"pkg-name":"time","pkg-version":"1.12.2","component-name":"lib","available":[{"id":"time-1.12.2","component-name":"lib","build-by-default":true}]},{"pkg-name":"transformers","pkg-version":"0.6.1.0","component-name":"lib","available":[{"id":"transformers-0.6.1.0","component-name":"lib","build-by-default":true}]},{"pkg-name":"unix","pkg-version":"2.8.6.0","component-name":"lib","available":[{"id":"unix-2.8.6.0","component-name":"lib","build-by-default":true}]}]} \ No newline at end of file diff --git a/materialized/alex-3.2.7.1/plan.json b/materialized/alex-3.2.7.1/plan.json deleted file mode 100644 index b5534b6c56..0000000000 --- a/materialized/alex-3.2.7.1/plan.json +++ /dev/null @@ -1 +0,0 @@ -{"cabal-version":"3.10.3.0","cabal-lib-version":"3.10.3.0","compiler-id":"ghc-9.0.2","os":"linux","arch":"x86_64","install-plan":[{"type":"configured","id":"alex-3.2.7.1-inplace-alex","pkg-name":"alex","pkg-version":"3.2.7.1","flags":{},"style":"local","pkg-src":{"type":"local","path":"./."},"dist-dir":"./dist-newstyle/build/x86_64-linux/ghc-9.0.2/alex-3.2.7.1/x/alex","build-info":"./dist-newstyle/build/x86_64-linux/ghc-9.0.2/alex-3.2.7.1/x/alex/build-info.json","depends":["array-0.5.4.0","base-4.15.1.0","containers-0.6.4.1","directory-1.3.6.2"],"exe-depends":[],"component-name":"exe:alex","bin-file":"./dist-newstyle/build/x86_64-linux/ghc-9.0.2/alex-3.2.7.1/x/alex/build/alex/alex"},{"type":"pre-existing","id":"array-0.5.4.0","pkg-name":"array","pkg-version":"0.5.4.0","depends":["base-4.15.1.0"]},{"type":"pre-existing","id":"base-4.15.1.0","pkg-name":"base","pkg-version":"4.15.1.0","depends":["ghc-bignum-1.1","ghc-prim-0.7.0"]},{"type":"pre-existing","id":"bytestring-0.10.12.1","pkg-name":"bytestring","pkg-version":"0.10.12.1","depends":["base-4.15.1.0","deepseq-1.4.5.0","ghc-bignum-1.1","ghc-prim-0.7.0","integer-gmp-1.1"]},{"type":"pre-existing","id":"containers-0.6.4.1","pkg-name":"containers","pkg-version":"0.6.4.1","depends":["array-0.5.4.0","base-4.15.1.0","deepseq-1.4.5.0"]},{"type":"pre-existing","id":"deepseq-1.4.5.0","pkg-name":"deepseq","pkg-version":"1.4.5.0","depends":["array-0.5.4.0","base-4.15.1.0","ghc-prim-0.7.0"]},{"type":"pre-existing","id":"directory-1.3.6.2","pkg-name":"directory","pkg-version":"1.3.6.2","depends":["base-4.15.1.0","filepath-1.4.2.1","time-1.9.3","unix-2.7.2.2"]},{"type":"pre-existing","id":"filepath-1.4.2.1","pkg-name":"filepath","pkg-version":"1.4.2.1","depends":["base-4.15.1.0"]},{"type":"pre-existing","id":"ghc-bignum-1.1","pkg-name":"ghc-bignum","pkg-version":"1.1","depends":["ghc-prim-0.7.0"]},{"type":"pre-existing","id":"ghc-prim-0.7.0","pkg-name":"ghc-prim","pkg-version":"0.7.0","depends":[]},{"type":"pre-existing","id":"integer-gmp-1.1","pkg-name":"integer-gmp","pkg-version":"1.1","depends":["base-4.15.1.0","ghc-bignum-1.1","ghc-prim-0.7.0"]},{"type":"pre-existing","id":"time-1.9.3","pkg-name":"time","pkg-version":"1.9.3","depends":["base-4.15.1.0","deepseq-1.4.5.0"]},{"type":"pre-existing","id":"unix-2.7.2.2","pkg-name":"unix","pkg-version":"2.7.2.2","depends":["base-4.15.1.0","bytestring-0.10.12.1","time-1.9.3"]}],"targets":[{"pkg-name":"alex","pkg-version":"3.2.7.1","component-name":"exe:alex","available":[{"id":"alex-3.2.7.1-inplace-alex","component-name":"exe:alex","build-by-default":true}]},{"pkg-name":"alex","pkg-version":"3.2.7.1","component-name":"test:tests","available":["TargetDisabledByUser"]},{"pkg-name":"array","pkg-version":"0.5.4.0","component-name":"lib","available":[{"id":"array-0.5.4.0","component-name":"lib","build-by-default":true}]},{"pkg-name":"base","pkg-version":"4.15.1.0","component-name":"lib","available":[{"id":"base-4.15.1.0","component-name":"lib","build-by-default":true}]},{"pkg-name":"bytestring","pkg-version":"0.10.12.1","component-name":"lib","available":[{"id":"bytestring-0.10.12.1","component-name":"lib","build-by-default":true}]},{"pkg-name":"containers","pkg-version":"0.6.4.1","component-name":"lib","available":[{"id":"containers-0.6.4.1","component-name":"lib","build-by-default":true}]},{"pkg-name":"deepseq","pkg-version":"1.4.5.0","component-name":"lib","available":[{"id":"deepseq-1.4.5.0","component-name":"lib","build-by-default":true}]},{"pkg-name":"directory","pkg-version":"1.3.6.2","component-name":"lib","available":[{"id":"directory-1.3.6.2","component-name":"lib","build-by-default":true}]},{"pkg-name":"filepath","pkg-version":"1.4.2.1","component-name":"lib","available":[{"id":"filepath-1.4.2.1","component-name":"lib","build-by-default":true}]},{"pkg-name":"ghc-bignum","pkg-version":"1.1","component-name":"lib","available":[{"id":"ghc-bignum-1.1","component-name":"lib","build-by-default":true}]},{"pkg-name":"ghc-prim","pkg-version":"0.7.0","component-name":"lib","available":[{"id":"ghc-prim-0.7.0","component-name":"lib","build-by-default":true}]},{"pkg-name":"integer-gmp","pkg-version":"1.1","component-name":"lib","available":[{"id":"integer-gmp-1.1","component-name":"lib","build-by-default":true}]},{"pkg-name":"time","pkg-version":"1.9.3","component-name":"lib","available":[{"id":"time-1.9.3","component-name":"lib","build-by-default":true}]},{"pkg-name":"unix","pkg-version":"2.7.2.2","component-name":"lib","available":[{"id":"unix-2.7.2.2","component-name":"lib","build-by-default":true}]}]} \ No newline at end of file diff --git a/materialized/bootstrap/ghc8107/alex/.plan.nix/alex.nix b/materialized/bootstrap/ghc8107/alex/.plan.nix/alex.nix deleted file mode 100644 index c388ddff87..0000000000 --- a/materialized/bootstrap/ghc8107/alex/.plan.nix/alex.nix +++ /dev/null @@ -1,160 +0,0 @@ -{ system - , compiler - , flags - , pkgs - , hsPkgs - , pkgconfPkgs - , errorHandler - , config - , ... }: - { - flags = { small_base = true; }; - package = { - specVersion = "1.8"; - identifier = { name = "alex"; version = "3.2.4"; }; - license = "BSD-3-Clause"; - copyright = "(c) Chis Dornan, Simon Marlow"; - maintainer = "Simon Marlow "; - author = "Chris Dornan and Simon Marlow"; - homepage = "http://www.haskell.org/alex/"; - url = ""; - synopsis = "Alex is a tool for generating lexical analysers in Haskell"; - description = "Alex is a tool for generating lexical analysers in Haskell.\nIt takes a description of tokens based on regular\nexpressions and generates a Haskell module containing code\nfor scanning text efficiently. It is similar to the tool\nlex or flex for C/C++."; - buildType = "Simple"; - isLocal = true; - detailLevel = "FullDetails"; - licenseFiles = [ "LICENSE" ]; - dataDir = "data/"; - dataFiles = [ - "AlexTemplate" - "AlexTemplate-ghc" - "AlexTemplate-ghc-nopred" - "AlexTemplate-ghc-debug" - "AlexTemplate-debug" - "AlexWrapper-basic" - "AlexWrapper-basic-bytestring" - "AlexWrapper-strict-bytestring" - "AlexWrapper-posn" - "AlexWrapper-posn-bytestring" - "AlexWrapper-monad" - "AlexWrapper-monad-bytestring" - "AlexWrapper-monadUserState" - "AlexWrapper-monadUserState-bytestring" - "AlexWrapper-gscan" - ]; - extraSrcFiles = [ - "CHANGELOG.md" - "README.md" - "TODO" - "alex.spec" - "doc/Makefile" - "doc/aclocal.m4" - "doc/alex.1.in" - "doc/alex.xml" - "doc/config.mk.in" - "doc/configure.ac" - "doc/docbook-xml.mk" - "doc/fptools.css" - "examples/Makefile" - "examples/Tokens.x" - "examples/Tokens_gscan.x" - "examples/Tokens_posn.x" - "examples/examples.x" - "examples/haskell.x" - "examples/lit.x" - "examples/pp.x" - "examples/state.x" - "examples/tiny.y" - "examples/words.x" - "examples/words_monad.x" - "examples/words_posn.x" - "src/Parser.y.boot" - "src/Scan.x.boot" - "src/ghc_hooks.c" - "templates/GenericTemplate.hs" - "templates/wrappers.hs" - "tests/Makefile" - "tests/simple.x" - "tests/null.x" - "tests/tokens.x" - "tests/tokens_gscan.x" - "tests/tokens_posn.x" - "tests/tokens_bytestring.x" - "tests/tokens_posn_bytestring.x" - "tests/tokens_scan_user.x" - "tests/tokens_strict_bytestring.x" - "tests/tokens_monad_bytestring.x" - "tests/tokens_monadUserState_bytestring.x" - "tests/tokens_bytestring_unicode.x" - "tests/basic_typeclass.x" - "tests/basic_typeclass_bytestring.x" - "tests/default_typeclass.x" - "tests/gscan_typeclass.x" - "tests/posn_typeclass.x" - "tests/monad_typeclass.x" - "tests/monad_typeclass_bytestring.x" - "tests/monadUserState_typeclass.x" - "tests/monadUserState_typeclass_bytestring.x" - "tests/posn_typeclass_bytestring.x" - "tests/strict_typeclass.x" - "tests/unicode.x" - ]; - extraTmpFiles = []; - extraDocFiles = []; - }; - components = { - exes = { - "alex" = { - depends = [ - (hsPkgs."base" or (errorHandler.buildDepError "base")) - ] ++ (if flags.small_base - then [ - (hsPkgs."base" or (errorHandler.buildDepError "base")) - (hsPkgs."array" or (errorHandler.buildDepError "array")) - (hsPkgs."containers" or (errorHandler.buildDepError "containers")) - (hsPkgs."directory" or (errorHandler.buildDepError "directory")) - ] - else [ (hsPkgs."base" or (errorHandler.buildDepError "base")) ]); - buildable = true; - modules = [ - "AbsSyn" - "CharSet" - "DFA" - "DFAMin" - "DFS" - "Info" - "Map" - "NFA" - "Output" - "Paths_alex" - "Parser" - "ParseMonad" - "Scan" - "Set" - "Sort" - "Util" - "UTF8" - "Data/Ranged" - "Data/Ranged/Boundaries" - "Data/Ranged/RangedSet" - "Data/Ranged/Ranges" - ]; - hsSourceDirs = [ "src" ]; - mainPath = [ "Main.hs" ] ++ [ "" ]; - }; - }; - tests = { - "tests" = { - depends = [ - (hsPkgs."base" or (errorHandler.buildDepError "base")) - (hsPkgs."process" or (errorHandler.buildDepError "process")) - ]; - build-tools = [ - (hsPkgs.pkgsBuildBuild.alex.components.exes.alex or (pkgs.pkgsBuildBuild.alex or (errorHandler.buildToolDepError "alex:alex"))) - ]; - buildable = true; - mainPath = [ "test.hs" ]; - }; - }; - }; - } // rec { src = pkgs.lib.mkDefault ../.; } \ No newline at end of file diff --git a/materialized/bootstrap/ghc8107/alex/cabal-files/alex.nix b/materialized/bootstrap/ghc8107/alex/cabal-files/alex.nix new file mode 100644 index 0000000000..543db8faf0 --- /dev/null +++ b/materialized/bootstrap/ghc8107/alex/cabal-files/alex.nix @@ -0,0 +1,61 @@ +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: + ({ + flags = { small_base = true; }; + package = { + specVersion = "1.8"; + identifier = { name = "alex"; version = "3.2.4"; }; + license = "BSD-3-Clause"; + copyright = "(c) Chis Dornan, Simon Marlow"; + maintainer = "Simon Marlow "; + author = "Chris Dornan and Simon Marlow"; + homepage = "http://www.haskell.org/alex/"; + url = ""; + synopsis = "Alex is a tool for generating lexical analysers in Haskell"; + description = "Alex is a tool for generating lexical analysers in Haskell.\nIt takes a description of tokens based on regular\nexpressions and generates a Haskell module containing code\nfor scanning text efficiently. It is similar to the tool\nlex or flex for C/C++."; + buildType = "Simple"; + }; + components = { + exes = { + "alex" = { + depends = [ + (hsPkgs."base" or (errorHandler.buildDepError "base")) + ] ++ (if flags.small_base + then [ + (hsPkgs."base" or (errorHandler.buildDepError "base")) + (hsPkgs."array" or (errorHandler.buildDepError "array")) + (hsPkgs."containers" or (errorHandler.buildDepError "containers")) + (hsPkgs."directory" or (errorHandler.buildDepError "directory")) + ] + else [ (hsPkgs."base" or (errorHandler.buildDepError "base")) ]); + buildable = true; + }; + }; + tests = { + "tests" = { + depends = [ + (hsPkgs."base" or (errorHandler.buildDepError "base")) + (hsPkgs."process" or (errorHandler.buildDepError "process")) + ]; + build-tools = [ + (hsPkgs.pkgsBuildBuild.alex.components.exes.alex or (pkgs.pkgsBuildBuild.alex or (errorHandler.buildToolDepError "alex:alex"))) + ]; + buildable = true; + }; + }; + }; + } // { + src = pkgs.lib.mkDefault (pkgs.fetchurl { + url = "http://hackage.haskell.org/package/alex-3.2.4.tar.gz"; + sha256 = "d58e4d708b14ff332a8a8edad4fa8989cb6a9f518a7c6834e96281ac5f8ff232"; + }); + }) // { + package-description-override = "cabal-version: >= 1.8\r\nname: alex\r\nversion: 3.2.4\r\nx-revision: 1\r\n-- don't forget updating changelog.md!\r\nlicense: BSD3\r\nlicense-file: LICENSE\r\ncopyright: (c) Chis Dornan, Simon Marlow\r\nauthor: Chris Dornan and Simon Marlow\r\nmaintainer: Simon Marlow \r\nbug-reports: https://github.com/simonmar/alex/issues\r\nstability: stable\r\nhomepage: http://www.haskell.org/alex/\r\nsynopsis: Alex is a tool for generating lexical analysers in Haskell\r\ndescription:\r\n Alex is a tool for generating lexical analysers in Haskell.\r\n It takes a description of tokens based on regular\r\n expressions and generates a Haskell module containing code\r\n for scanning text efficiently. It is similar to the tool\r\n lex or flex for C/C++.\r\n\r\ncategory: Development\r\nbuild-type: Simple\r\n\r\ndata-dir: data/\r\n\r\ndata-files:\r\n AlexTemplate\r\n AlexTemplate-ghc\r\n AlexTemplate-ghc-nopred\r\n AlexTemplate-ghc-debug\r\n AlexTemplate-debug\r\n AlexWrapper-basic\r\n AlexWrapper-basic-bytestring\r\n AlexWrapper-strict-bytestring\r\n AlexWrapper-posn\r\n AlexWrapper-posn-bytestring\r\n AlexWrapper-monad\r\n AlexWrapper-monad-bytestring\r\n AlexWrapper-monadUserState\r\n AlexWrapper-monadUserState-bytestring\r\n AlexWrapper-gscan\r\n\r\nextra-source-files:\r\n CHANGELOG.md\r\n README.md\r\n TODO\r\n alex.spec\r\n doc/Makefile\r\n doc/aclocal.m4\r\n doc/alex.1.in\r\n doc/alex.xml\r\n doc/config.mk.in\r\n doc/configure.ac\r\n doc/docbook-xml.mk\r\n doc/fptools.css\r\n examples/Makefile\r\n examples/Tokens.x\r\n examples/Tokens_gscan.x\r\n examples/Tokens_posn.x\r\n examples/examples.x\r\n examples/haskell.x\r\n examples/lit.x\r\n examples/pp.x\r\n examples/state.x\r\n examples/tiny.y\r\n examples/words.x\r\n examples/words_monad.x\r\n examples/words_posn.x\r\n src/Parser.y.boot\r\n src/Scan.x.boot\r\n src/ghc_hooks.c\r\n templates/GenericTemplate.hs\r\n templates/wrappers.hs\r\n tests/Makefile\r\n tests/simple.x\r\n tests/null.x\r\n tests/tokens.x\r\n tests/tokens_gscan.x\r\n tests/tokens_posn.x\r\n tests/tokens_bytestring.x\r\n tests/tokens_posn_bytestring.x\r\n tests/tokens_scan_user.x\r\n tests/tokens_strict_bytestring.x\r\n tests/tokens_monad_bytestring.x\r\n tests/tokens_monadUserState_bytestring.x\r\n tests/tokens_bytestring_unicode.x\r\n tests/basic_typeclass.x\r\n tests/basic_typeclass_bytestring.x\r\n tests/default_typeclass.x\r\n tests/gscan_typeclass.x\r\n tests/posn_typeclass.x\r\n tests/monad_typeclass.x\r\n tests/monad_typeclass_bytestring.x\r\n tests/monadUserState_typeclass.x\r\n tests/monadUserState_typeclass_bytestring.x\r\n tests/posn_typeclass_bytestring.x\r\n tests/strict_typeclass.x\r\n tests/unicode.x\r\n\r\nsource-repository head\r\n type: git\r\n location: https://github.com/simonmar/alex.git\r\n\r\nflag small_base\r\n description: Choose the new smaller, split-up base package.\r\n\r\nexecutable alex\r\n hs-source-dirs: src\r\n main-is: Main.hs\r\n\r\n if flag(small_base)\r\n build-depends: base >= 2.1, array, containers, directory\r\n else\r\n build-depends: base >= 1.0\r\n\r\n build-depends: base < 4.15.0.0\r\n\r\n extensions: CPP\r\n ghc-options: -Wall -rtsopts\r\n other-modules:\r\n AbsSyn\r\n CharSet\r\n DFA\r\n DFAMin\r\n DFS\r\n Info\r\n Map\r\n NFA\r\n Output\r\n Paths_alex\r\n Parser\r\n ParseMonad\r\n Scan\r\n Set\r\n Sort\r\n Util\r\n UTF8\r\n Data.Ranged\r\n Data.Ranged.Boundaries\r\n Data.Ranged.RangedSet\r\n Data.Ranged.Ranges\r\n\r\ntest-suite tests\r\n type: exitcode-stdio-1.0\r\n main-is: test.hs\r\n -- This line is important as it ensures that the local `exe:alex` component declared above is built before the test-suite component is invoked, as well as making sure that `alex` is made available on $PATH and `$alex_datadir` is set accordingly before invoking `test.hs`\r\n build-tools: alex\r\n\r\n build-depends: base, process\r\n"; + } \ No newline at end of file diff --git a/materialized/bootstrap/ghc8107/alex/default.nix b/materialized/bootstrap/ghc8107/alex/default.nix index 358d0e1ec0..4976444502 100644 --- a/materialized/bootstrap/ghc8107/alex/default.nix +++ b/materialized/bootstrap/ghc8107/alex/default.nix @@ -3,6 +3,8 @@ { packages = { ghc-prim.revision = hackage.ghc-prim."0.6.1".revisions.default; + alex.revision = import ./cabal-files/alex.nix; + alex.flags.small_base = true; time.revision = hackage.time."1.9.3".revisions.default; base.revision = hackage.base."4.14.3.0".revisions.default; unix.revision = hackage.unix."2.7.2.2".revisions.default; @@ -33,7 +35,7 @@ }; }; extras = hackage: - { packages = { alex = ./.plan.nix/alex.nix; }; }; + { packages = {}; }; modules = [ { preExistingPkgs = [ @@ -51,11 +53,7 @@ ]; } ({ lib, ... }: - { - packages = { - "alex" = { flags = { "small_base" = lib.mkOverride 900 true; }; }; - }; - }) + { packages = {}; }) ({ lib, ... }: { packages = { diff --git a/materialized/bootstrap/ghc8107/alex/plan.json b/materialized/bootstrap/ghc8107/alex/plan.json index 2a03b0107d..b80a222c0a 100644 --- a/materialized/bootstrap/ghc8107/alex/plan.json +++ b/materialized/bootstrap/ghc8107/alex/plan.json @@ -1 +1 @@ -{"cabal-version":"3.10.3.0","cabal-lib-version":"3.10.3.0","compiler-id":"ghc-8.10.7","os":"linux","arch":"x86_64","install-plan":[{"type":"configured","id":"alex-3.2.4-inplace-alex","pkg-name":"alex","pkg-version":"3.2.4","flags":{"small_base":true},"style":"local","pkg-src":{"type":"local","path":"./."},"dist-dir":"./dist-newstyle/build/x86_64-linux/ghc-8.10.7/alex-3.2.4/x/alex","build-info":"./dist-newstyle/build/x86_64-linux/ghc-8.10.7/alex-3.2.4/x/alex/build-info.json","depends":["array-0.5.4.0","base-4.14.3.0","containers-0.6.5.1","directory-1.3.6.0"],"exe-depends":[],"component-name":"exe:alex","bin-file":"./dist-newstyle/build/x86_64-linux/ghc-8.10.7/alex-3.2.4/x/alex/build/alex/alex"},{"type":"pre-existing","id":"array-0.5.4.0","pkg-name":"array","pkg-version":"0.5.4.0","depends":["base-4.14.3.0"]},{"type":"pre-existing","id":"base-4.14.3.0","pkg-name":"base","pkg-version":"4.14.3.0","depends":["ghc-prim-0.6.1","integer-gmp-1.0.3.0"]},{"type":"pre-existing","id":"bytestring-0.10.12.0","pkg-name":"bytestring","pkg-version":"0.10.12.0","depends":["base-4.14.3.0","deepseq-1.4.4.0","ghc-prim-0.6.1","integer-gmp-1.0.3.0"]},{"type":"pre-existing","id":"containers-0.6.5.1","pkg-name":"containers","pkg-version":"0.6.5.1","depends":["array-0.5.4.0","base-4.14.3.0","deepseq-1.4.4.0"]},{"type":"pre-existing","id":"deepseq-1.4.4.0","pkg-name":"deepseq","pkg-version":"1.4.4.0","depends":["array-0.5.4.0","base-4.14.3.0","ghc-prim-0.6.1"]},{"type":"pre-existing","id":"directory-1.3.6.0","pkg-name":"directory","pkg-version":"1.3.6.0","depends":["base-4.14.3.0","filepath-1.4.2.1","time-1.9.3","unix-2.7.2.2"]},{"type":"pre-existing","id":"filepath-1.4.2.1","pkg-name":"filepath","pkg-version":"1.4.2.1","depends":["base-4.14.3.0"]},{"type":"pre-existing","id":"ghc-prim-0.6.1","pkg-name":"ghc-prim","pkg-version":"0.6.1","depends":[]},{"type":"pre-existing","id":"integer-gmp-1.0.3.0","pkg-name":"integer-gmp","pkg-version":"1.0.3.0","depends":["ghc-prim-0.6.1"]},{"type":"pre-existing","id":"time-1.9.3","pkg-name":"time","pkg-version":"1.9.3","depends":["base-4.14.3.0","deepseq-1.4.4.0"]},{"type":"pre-existing","id":"unix-2.7.2.2","pkg-name":"unix","pkg-version":"2.7.2.2","depends":["base-4.14.3.0","bytestring-0.10.12.0","time-1.9.3"]}],"targets":[{"pkg-name":"alex","pkg-version":"3.2.4","component-name":"exe:alex","available":[{"id":"alex-3.2.4-inplace-alex","component-name":"exe:alex","build-by-default":true}]},{"pkg-name":"alex","pkg-version":"3.2.4","component-name":"test:tests","available":["TargetDisabledByUser"]},{"pkg-name":"array","pkg-version":"0.5.4.0","component-name":"lib","available":[{"id":"array-0.5.4.0","component-name":"lib","build-by-default":true}]},{"pkg-name":"base","pkg-version":"4.14.3.0","component-name":"lib","available":[{"id":"base-4.14.3.0","component-name":"lib","build-by-default":true}]},{"pkg-name":"bytestring","pkg-version":"0.10.12.0","component-name":"lib","available":[{"id":"bytestring-0.10.12.0","component-name":"lib","build-by-default":true}]},{"pkg-name":"containers","pkg-version":"0.6.5.1","component-name":"lib","available":[{"id":"containers-0.6.5.1","component-name":"lib","build-by-default":true}]},{"pkg-name":"deepseq","pkg-version":"1.4.4.0","component-name":"lib","available":[{"id":"deepseq-1.4.4.0","component-name":"lib","build-by-default":true}]},{"pkg-name":"directory","pkg-version":"1.3.6.0","component-name":"lib","available":[{"id":"directory-1.3.6.0","component-name":"lib","build-by-default":true}]},{"pkg-name":"filepath","pkg-version":"1.4.2.1","component-name":"lib","available":[{"id":"filepath-1.4.2.1","component-name":"lib","build-by-default":true}]},{"pkg-name":"ghc-prim","pkg-version":"0.6.1","component-name":"lib","available":[{"id":"ghc-prim-0.6.1","component-name":"lib","build-by-default":true}]},{"pkg-name":"integer-gmp","pkg-version":"1.0.3.0","component-name":"lib","available":[{"id":"integer-gmp-1.0.3.0","component-name":"lib","build-by-default":true}]},{"pkg-name":"time","pkg-version":"1.9.3","component-name":"lib","available":[{"id":"time-1.9.3","component-name":"lib","build-by-default":true}]},{"pkg-name":"unix","pkg-version":"2.7.2.2","component-name":"lib","available":[{"id":"unix-2.7.2.2","component-name":"lib","build-by-default":true}]}]} \ No newline at end of file +{"cabal-version":"3.10.3.0","cabal-lib-version":"3.10.3.0","compiler-id":"ghc-8.10.7","os":"linux","arch":"x86_64","install-plan":[{"type":"configured","id":"alex-3.2.4-e-alex-d738932228fff18be0985f9df0a2bcc75421b2fc01f8da0cff0708ed9c600cb4","pkg-name":"alex","pkg-version":"3.2.4","flags":{"small_base":true},"style":"global","pkg-src":{"type":"repo-tar","repo":{"type":"secure-repo","uri":"http://hackage.haskell.org/"}},"pkg-cabal-sha256":"50dbfcc96b1bb9430791421a9aa90310ae664e639297926fd9f531d7502dc2b0","pkg-src-sha256":"d58e4d708b14ff332a8a8edad4fa8989cb6a9f518a7c6834e96281ac5f8ff232","depends":["array-0.5.4.0","base-4.14.3.0","containers-0.6.5.1","directory-1.3.6.0"],"exe-depends":[],"component-name":"exe:alex","bin-file":"/store/ghc-8.10.7/alex-3.2.4-e-alex-d738932228fff18be0985f9df0a2bcc75421b2fc01f8da0cff0708ed9c600cb4/bin/alex"},{"type":"pre-existing","id":"array-0.5.4.0","pkg-name":"array","pkg-version":"0.5.4.0","depends":["base-4.14.3.0"]},{"type":"pre-existing","id":"base-4.14.3.0","pkg-name":"base","pkg-version":"4.14.3.0","depends":["ghc-prim-0.6.1","integer-gmp-1.0.3.0"]},{"type":"pre-existing","id":"bytestring-0.10.12.0","pkg-name":"bytestring","pkg-version":"0.10.12.0","depends":["base-4.14.3.0","deepseq-1.4.4.0","ghc-prim-0.6.1","integer-gmp-1.0.3.0"]},{"type":"pre-existing","id":"containers-0.6.5.1","pkg-name":"containers","pkg-version":"0.6.5.1","depends":["array-0.5.4.0","base-4.14.3.0","deepseq-1.4.4.0"]},{"type":"pre-existing","id":"deepseq-1.4.4.0","pkg-name":"deepseq","pkg-version":"1.4.4.0","depends":["array-0.5.4.0","base-4.14.3.0","ghc-prim-0.6.1"]},{"type":"pre-existing","id":"directory-1.3.6.0","pkg-name":"directory","pkg-version":"1.3.6.0","depends":["base-4.14.3.0","filepath-1.4.2.1","time-1.9.3","unix-2.7.2.2"]},{"type":"pre-existing","id":"filepath-1.4.2.1","pkg-name":"filepath","pkg-version":"1.4.2.1","depends":["base-4.14.3.0"]},{"type":"pre-existing","id":"ghc-prim-0.6.1","pkg-name":"ghc-prim","pkg-version":"0.6.1","depends":[]},{"type":"pre-existing","id":"integer-gmp-1.0.3.0","pkg-name":"integer-gmp","pkg-version":"1.0.3.0","depends":["ghc-prim-0.6.1"]},{"type":"pre-existing","id":"time-1.9.3","pkg-name":"time","pkg-version":"1.9.3","depends":["base-4.14.3.0","deepseq-1.4.4.0"]},{"type":"pre-existing","id":"unix-2.7.2.2","pkg-name":"unix","pkg-version":"2.7.2.2","depends":["base-4.14.3.0","bytestring-0.10.12.0","time-1.9.3"]}],"targets":[{"pkg-name":"alex","pkg-version":"3.2.4","component-name":"exe:alex","available":[{"id":"alex-3.2.4-e-alex-d738932228fff18be0985f9df0a2bcc75421b2fc01f8da0cff0708ed9c600cb4","component-name":"exe:alex","build-by-default":true}]},{"pkg-name":"alex","pkg-version":"3.2.4","component-name":"test:tests","available":["TargetNotLocal"]},{"pkg-name":"array","pkg-version":"0.5.4.0","component-name":"lib","available":[{"id":"array-0.5.4.0","component-name":"lib","build-by-default":true}]},{"pkg-name":"base","pkg-version":"4.14.3.0","component-name":"lib","available":[{"id":"base-4.14.3.0","component-name":"lib","build-by-default":true}]},{"pkg-name":"bytestring","pkg-version":"0.10.12.0","component-name":"lib","available":[{"id":"bytestring-0.10.12.0","component-name":"lib","build-by-default":true}]},{"pkg-name":"containers","pkg-version":"0.6.5.1","component-name":"lib","available":[{"id":"containers-0.6.5.1","component-name":"lib","build-by-default":true}]},{"pkg-name":"deepseq","pkg-version":"1.4.4.0","component-name":"lib","available":[{"id":"deepseq-1.4.4.0","component-name":"lib","build-by-default":true}]},{"pkg-name":"directory","pkg-version":"1.3.6.0","component-name":"lib","available":[{"id":"directory-1.3.6.0","component-name":"lib","build-by-default":true}]},{"pkg-name":"filepath","pkg-version":"1.4.2.1","component-name":"lib","available":[{"id":"filepath-1.4.2.1","component-name":"lib","build-by-default":true}]},{"pkg-name":"ghc-prim","pkg-version":"0.6.1","component-name":"lib","available":[{"id":"ghc-prim-0.6.1","component-name":"lib","build-by-default":true}]},{"pkg-name":"integer-gmp","pkg-version":"1.0.3.0","component-name":"lib","available":[{"id":"integer-gmp-1.0.3.0","component-name":"lib","build-by-default":true}]},{"pkg-name":"time","pkg-version":"1.9.3","component-name":"lib","available":[{"id":"time-1.9.3","component-name":"lib","build-by-default":true}]},{"pkg-name":"unix","pkg-version":"2.7.2.2","component-name":"lib","available":[{"id":"unix-2.7.2.2","component-name":"lib","build-by-default":true}]}]} \ No newline at end of file diff --git a/materialized/bootstrap/ghc8107/happy-1.19.12/.plan.nix/happy.nix b/materialized/bootstrap/ghc8107/happy-1.19.12/.plan.nix/happy.nix deleted file mode 100644 index 8c2e732857..0000000000 --- a/materialized/bootstrap/ghc8107/happy-1.19.12/.plan.nix/happy.nix +++ /dev/null @@ -1,200 +0,0 @@ -{ system - , compiler - , flags - , pkgs - , hsPkgs - , pkgconfPkgs - , errorHandler - , config - , ... }: - { - flags = { small_base = true; }; - package = { - specVersion = "1.8"; - identifier = { name = "happy"; version = "1.19.12"; }; - license = "BSD-2-Clause"; - copyright = "(c) Andy Gill, Simon Marlow"; - maintainer = "Simon Marlow "; - author = "Andy Gill and Simon Marlow"; - homepage = "https://www.haskell.org/happy/"; - url = ""; - synopsis = "Happy is a parser generator for Haskell"; - description = "Happy is a parser generator for Haskell. Given a grammar\nspecification in BNF, Happy generates Haskell code to parse the\ngrammar. Happy works in a similar way to the @yacc@ tool for C."; - buildType = "Simple"; - isLocal = true; - detailLevel = "FullDetails"; - licenseFiles = [ "LICENSE" ]; - dataDir = "data/"; - dataFiles = [ - "HappyTemplate" - "HappyTemplate-arrays" - "HappyTemplate-arrays-coerce" - "HappyTemplate-arrays-coerce-debug" - "HappyTemplate-arrays-debug" - "HappyTemplate-arrays-ghc" - "HappyTemplate-arrays-ghc-debug" - "HappyTemplate-coerce" - "HappyTemplate-ghc" - "GLR_Base" - "GLR_Lib" - "GLR_Lib-ghc" - "GLR_Lib-ghc-debug" - ]; - extraSrcFiles = [ - "ANNOUNCE" - "CHANGES" - "Makefile" - "README.md" - "TODO" - "doc/Makefile" - "doc/aclocal.m4" - "doc/config.mk.in" - "doc/configure.ac" - "doc/docbook-xml.mk" - "doc/fptools.css" - "doc/happy.1.in" - "doc/happy.xml" - "examples/glr/nlp/Main.lhs" - "examples/glr/nlp/Makefile" - "examples/glr/nlp/README" - "examples/glr/nlp/English.y" - "examples/glr/nlp/Hugs.lhs" - "examples/glr/Makefile" - "examples/glr/Makefile.defs" - "examples/glr/expr-eval/Main.lhs" - "examples/glr/expr-eval/Makefile" - "examples/glr/expr-eval/Expr.y" - "examples/glr/expr-eval/README" - "examples/glr/expr-eval/Hugs.lhs" - "examples/glr/expr-tree/Main.lhs" - "examples/glr/expr-tree/Makefile" - "examples/glr/expr-tree/Expr.y" - "examples/glr/expr-tree/README" - "examples/glr/expr-tree/Tree.lhs" - "examples/glr/expr-tree/Hugs.lhs" - "examples/glr/highly-ambiguous/Main.lhs" - "examples/glr/highly-ambiguous/Makefile" - "examples/glr/highly-ambiguous/Expr.y" - "examples/glr/highly-ambiguous/README" - "examples/glr/highly-ambiguous/Hugs.lhs" - "examples/glr/hidden-leftrec/Main.lhs" - "examples/glr/hidden-leftrec/Makefile" - "examples/glr/hidden-leftrec/Expr.y" - "examples/glr/hidden-leftrec/README" - "examples/glr/hidden-leftrec/Hugs.lhs" - "examples/glr/expr-monad/Main.lhs" - "examples/glr/expr-monad/Makefile" - "examples/glr/expr-monad/Expr.y" - "examples/glr/expr-monad/README" - "examples/glr/expr-monad/Hugs.lhs" - "examples/glr/bio-eg/Main.lhs" - "examples/glr/bio-eg/Makefile" - "examples/glr/bio-eg/Bio.y" - "examples/glr/bio-eg/README" - "examples/glr/bio-eg/1-1200.dna" - "examples/glr/bio-eg/1-600.dna" - "examples/glr/common/DV_lhs" - "examples/glr/common/DaVinciTypes.hs" - "examples/glr/packing/Main.lhs" - "examples/glr/packing/Makefile" - "examples/glr/packing/Expr.y" - "examples/glr/packing/README" - "examples/glr/packing/Hugs.lhs" - "examples/PgnParser.ly" - "examples/MonadTest.ly" - "examples/igloo/ParserM.hs" - "examples/igloo/Makefile" - "examples/igloo/Parser.y" - "examples/igloo/Foo.hs" - "examples/igloo/README" - "examples/igloo/Lexer.x" - "examples/README" - "examples/Calc.ly" - "examples/DavesExample.ly" - "examples/ErrorTest.ly" - "examples/ErlParser.ly" - "examples/SimonsExample.ly" - "examples/LexerTest.ly" - "happy.spec" - "src/ARRAY-NOTES" - "tests/AttrGrammar001.y" - "tests/AttrGrammar002.y" - "tests/Makefile" - "tests/Partial.ly" - "tests/Test.ly" - "tests/TestMulti.ly" - "tests/TestPrecedence.ly" - "tests/bogus-token.y" - "tests/bug001.ly" - "tests/bug002.y" - "tests/error001.stderr" - "tests/error001.stdout" - "tests/error001.y" - "tests/monad001.y" - "tests/monad002.ly" - "tests/monaderror.y" - "tests/precedence001.ly" - "tests/precedence002.y" - "tests/test_rules.y" - "tests/issue91.y" - "tests/issue93.y" - "tests/issue94.y" - "tests/issue95.y" - "tests/monaderror-explist.y" - "tests/typeclass_monad001.y" - "tests/typeclass_monad002.ly" - "tests/typeclass_monad_lexer.y" - "tests/rank2.y" - ]; - extraTmpFiles = []; - extraDocFiles = []; - }; - components = { - exes = { - "happy" = { - depends = [ - (hsPkgs."base" or (errorHandler.buildDepError "base")) - (hsPkgs."array" or (errorHandler.buildDepError "array")) - (hsPkgs."containers" or (errorHandler.buildDepError "containers")) - (hsPkgs."mtl" or (errorHandler.buildDepError "mtl")) - ]; - buildable = true; - modules = [ - "Paths_happy" - "AbsSyn" - "First" - "GenUtils" - "Grammar" - "Info" - "LALR" - "Lexer" - "ParseMonad" - "Parser" - "ProduceCode" - "ProduceGLRCode" - "NameSet" - "Target" - "AttrGrammar" - "AttrGrammarParser" - "ParamRules" - "PrettyGrammar" - ]; - hsSourceDirs = [ "src" ]; - mainPath = [ "Main.lhs" ]; - }; - }; - tests = { - "tests" = { - depends = [ - (hsPkgs."base" or (errorHandler.buildDepError "base")) - (hsPkgs."process" or (errorHandler.buildDepError "process")) - ]; - build-tools = [ - (hsPkgs.pkgsBuildBuild.happy.components.exes.happy or (pkgs.pkgsBuildBuild.happy or (errorHandler.buildToolDepError "happy:happy"))) - ]; - buildable = true; - mainPath = [ "test.hs" ]; - }; - }; - }; - } // rec { src = pkgs.lib.mkDefault ../.; } \ No newline at end of file diff --git a/materialized/bootstrap/ghc8107/happy-1.19.12/cabal-files/happy.nix b/materialized/bootstrap/ghc8107/happy-1.19.12/cabal-files/happy.nix new file mode 100644 index 0000000000..e3c0d0b40d --- /dev/null +++ b/materialized/bootstrap/ghc8107/happy-1.19.12/cabal-files/happy.nix @@ -0,0 +1,57 @@ +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: + ({ + flags = { small_base = true; }; + package = { + specVersion = "1.8"; + identifier = { name = "happy"; version = "1.19.12"; }; + license = "BSD-2-Clause"; + copyright = "(c) Andy Gill, Simon Marlow"; + maintainer = "Simon Marlow "; + author = "Andy Gill and Simon Marlow"; + homepage = "https://www.haskell.org/happy/"; + url = ""; + synopsis = "Happy is a parser generator for Haskell"; + description = "Happy is a parser generator for Haskell. Given a grammar\nspecification in BNF, Happy generates Haskell code to parse the\ngrammar. Happy works in a similar way to the @yacc@ tool for C."; + buildType = "Simple"; + }; + components = { + exes = { + "happy" = { + depends = [ + (hsPkgs."base" or (errorHandler.buildDepError "base")) + (hsPkgs."array" or (errorHandler.buildDepError "array")) + (hsPkgs."containers" or (errorHandler.buildDepError "containers")) + (hsPkgs."mtl" or (errorHandler.buildDepError "mtl")) + ]; + buildable = true; + }; + }; + tests = { + "tests" = { + depends = [ + (hsPkgs."base" or (errorHandler.buildDepError "base")) + (hsPkgs."process" or (errorHandler.buildDepError "process")) + ]; + build-tools = [ + (hsPkgs.pkgsBuildBuild.happy.components.exes.happy or (pkgs.pkgsBuildBuild.happy or (errorHandler.buildToolDepError "happy:happy"))) + ]; + buildable = true; + }; + }; + }; + } // { + src = pkgs.lib.mkDefault (pkgs.fetchurl { + url = "http://hackage.haskell.org/package/happy-1.19.12.tar.gz"; + sha256 = "fb9a23e41401711a3b288f93cf0a66db9f97da1ce32ec4fffea4b78a0daeb40f"; + }); + }) // { + package-description-override = "name: happy\nversion: 1.19.12\nx-revision: 1\nlicense: BSD2\nlicense-file: LICENSE\ncopyright: (c) Andy Gill, Simon Marlow\nauthor: Andy Gill and Simon Marlow\nmaintainer: Simon Marlow \nbug-reports: https://github.com/simonmar/happy/issues\nstability: stable\nhomepage: https://www.haskell.org/happy/\nsynopsis: Happy is a parser generator for Haskell\ncategory: Development\ncabal-version: >= 1.8\nbuild-type: Simple\n\nDescription:\n Happy is a parser generator for Haskell. Given a grammar\n specification in BNF, Happy generates Haskell code to parse the\n grammar. Happy works in a similar way to the @yacc@ tool for C.\n\ntested-with:\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.1\n\ndata-dir: data/\n\ndata-files: \n HappyTemplate\n HappyTemplate-arrays\n HappyTemplate-arrays-coerce\n HappyTemplate-arrays-coerce-debug\n HappyTemplate-arrays-debug\n HappyTemplate-arrays-ghc\n HappyTemplate-arrays-ghc-debug\n HappyTemplate-coerce\n HappyTemplate-ghc\n GLR_Base\n GLR_Lib\n GLR_Lib-ghc\n GLR_Lib-ghc-debug\n\nextra-source-files:\n ANNOUNCE\n CHANGES\n Makefile\n README.md\n TODO\n doc/Makefile\n doc/aclocal.m4\n doc/config.mk.in\n doc/configure.ac\n doc/docbook-xml.mk\n doc/fptools.css\n doc/happy.1.in\n doc/happy.xml\n examples/glr/nlp/Main.lhs\n examples/glr/nlp/Makefile\n examples/glr/nlp/README\n examples/glr/nlp/English.y\n examples/glr/nlp/Hugs.lhs\n examples/glr/Makefile\n examples/glr/Makefile.defs\n examples/glr/expr-eval/Main.lhs\n examples/glr/expr-eval/Makefile\n examples/glr/expr-eval/Expr.y\n examples/glr/expr-eval/README\n examples/glr/expr-eval/Hugs.lhs\n examples/glr/expr-tree/Main.lhs\n examples/glr/expr-tree/Makefile\n examples/glr/expr-tree/Expr.y\n examples/glr/expr-tree/README\n examples/glr/expr-tree/Tree.lhs\n examples/glr/expr-tree/Hugs.lhs\n examples/glr/highly-ambiguous/Main.lhs\n examples/glr/highly-ambiguous/Makefile\n examples/glr/highly-ambiguous/Expr.y\n examples/glr/highly-ambiguous/README\n examples/glr/highly-ambiguous/Hugs.lhs\n examples/glr/hidden-leftrec/Main.lhs\n examples/glr/hidden-leftrec/Makefile\n examples/glr/hidden-leftrec/Expr.y\n examples/glr/hidden-leftrec/README\n examples/glr/hidden-leftrec/Hugs.lhs\n examples/glr/expr-monad/Main.lhs\n examples/glr/expr-monad/Makefile\n examples/glr/expr-monad/Expr.y\n examples/glr/expr-monad/README\n examples/glr/expr-monad/Hugs.lhs\n examples/glr/bio-eg/Main.lhs\n examples/glr/bio-eg/Makefile\n examples/glr/bio-eg/Bio.y\n examples/glr/bio-eg/README\n examples/glr/bio-eg/1-1200.dna\n examples/glr/bio-eg/1-600.dna\n examples/glr/common/DV_lhs\n examples/glr/common/DaVinciTypes.hs\n examples/glr/packing/Main.lhs\n examples/glr/packing/Makefile\n examples/glr/packing/Expr.y\n examples/glr/packing/README\n examples/glr/packing/Hugs.lhs\n examples/PgnParser.ly\n examples/MonadTest.ly\n examples/igloo/ParserM.hs\n examples/igloo/Makefile\n examples/igloo/Parser.y\n examples/igloo/Foo.hs\n examples/igloo/README\n examples/igloo/Lexer.x\n examples/README\n examples/Calc.ly\n examples/DavesExample.ly\n examples/ErrorTest.ly\n examples/ErlParser.ly\n examples/SimonsExample.ly\n examples/LexerTest.ly\n happy.spec\n src/ARRAY-NOTES\n tests/AttrGrammar001.y\n tests/AttrGrammar002.y\n tests/Makefile\n tests/Partial.ly\n tests/Test.ly\n tests/TestMulti.ly\n tests/TestPrecedence.ly\n tests/bogus-token.y\n tests/bug001.ly\n tests/bug002.y\n tests/error001.stderr\n tests/error001.stdout\n tests/error001.y\n tests/monad001.y\n tests/monad002.ly\n tests/monaderror.y\n tests/precedence001.ly\n tests/precedence002.y\n tests/test_rules.y\n tests/issue91.y\n tests/issue93.y\n tests/issue94.y\n tests/issue95.y\n tests/monaderror-explist.y\n tests/typeclass_monad001.y\n tests/typeclass_monad002.ly\n tests/typeclass_monad_lexer.y\n tests/rank2.y\n\nsource-repository head\n type: git\n location: https://github.com/simonmar/happy.git\n\nflag small_base\n description: Deprecated. Does nothing.\n manual: True\n\nexecutable happy\n hs-source-dirs: src\n main-is: Main.lhs\n\n build-depends: base < 5,\n array,\n containers >= 0.4.2,\n mtl >= 2.2.1 && < 2.3\n -- mtl-2.2.1 added Control.Monad.Except\n\n extensions: CPP, MagicHash, FlexibleContexts\n ghc-options: -Wall\n other-modules:\n Paths_happy\n AbsSyn\n First\n GenUtils\n Grammar\n Info\n LALR\n Lexer\n ParseMonad\n Parser\n ProduceCode\n ProduceGLRCode\n NameSet\n Target\n AttrGrammar\n AttrGrammarParser\n ParamRules\n PrettyGrammar\n\ntest-suite tests\n type: exitcode-stdio-1.0\n main-is: test.hs\n -- This line is important as it ensures that the local `exe:happy` component declared above is built before the test-suite component is invoked, as well as making sure that `happy` is made available on $PATH and `$happy_datadir` is set accordingly before invoking `test.hs`\n build-tools: happy\n\n build-depends: base, process\n\n"; + } \ No newline at end of file diff --git a/materialized/bootstrap/ghc8107/happy-1.19.12/default.nix b/materialized/bootstrap/ghc8107/happy-1.19.12/default.nix index f4fa58e413..e32e39640f 100644 --- a/materialized/bootstrap/ghc8107/happy-1.19.12/default.nix +++ b/materialized/bootstrap/ghc8107/happy-1.19.12/default.nix @@ -10,6 +10,8 @@ integer-gmp.revision = hackage.integer-gmp."1.0.3.0".revisions.default; containers.revision = hackage.containers."0.6.5.1".revisions.default; array.revision = hackage.array."0.5.4.0".revisions.default; + happy.revision = import ./cabal-files/happy.nix; + happy.flags.small_base = true; }; compiler = { version = "8.10.7"; @@ -27,7 +29,7 @@ }; }; extras = hackage: - { packages = { happy = ./.plan.nix/happy.nix; }; }; + { packages = {}; }; modules = [ { preExistingPkgs = [ @@ -42,11 +44,7 @@ ]; } ({ lib, ... }: - { - packages = { - "happy" = { flags = { "small_base" = lib.mkOverride 900 true; }; }; - }; - }) + { packages = {}; }) ({ lib, ... }: { packages = { diff --git a/materialized/bootstrap/ghc8107/happy-1.19.12/plan.json b/materialized/bootstrap/ghc8107/happy-1.19.12/plan.json index aeb0dba3c1..039d4008d4 100644 --- a/materialized/bootstrap/ghc8107/happy-1.19.12/plan.json +++ b/materialized/bootstrap/ghc8107/happy-1.19.12/plan.json @@ -1 +1 @@ -{"cabal-version":"3.10.3.0","cabal-lib-version":"3.10.3.0","compiler-id":"ghc-8.10.7","os":"linux","arch":"x86_64","install-plan":[{"type":"pre-existing","id":"array-0.5.4.0","pkg-name":"array","pkg-version":"0.5.4.0","depends":["base-4.14.3.0"]},{"type":"pre-existing","id":"base-4.14.3.0","pkg-name":"base","pkg-version":"4.14.3.0","depends":["ghc-prim-0.6.1","integer-gmp-1.0.3.0"]},{"type":"pre-existing","id":"containers-0.6.5.1","pkg-name":"containers","pkg-version":"0.6.5.1","depends":["array-0.5.4.0","base-4.14.3.0","deepseq-1.4.4.0"]},{"type":"pre-existing","id":"deepseq-1.4.4.0","pkg-name":"deepseq","pkg-version":"1.4.4.0","depends":["array-0.5.4.0","base-4.14.3.0","ghc-prim-0.6.1"]},{"type":"pre-existing","id":"ghc-prim-0.6.1","pkg-name":"ghc-prim","pkg-version":"0.6.1","depends":[]},{"type":"configured","id":"happy-1.19.12-inplace-happy","pkg-name":"happy","pkg-version":"1.19.12","flags":{"small_base":true},"style":"local","pkg-src":{"type":"local","path":"./."},"dist-dir":"./dist-newstyle/build/x86_64-linux/ghc-8.10.7/happy-1.19.12/x/happy","build-info":"./dist-newstyle/build/x86_64-linux/ghc-8.10.7/happy-1.19.12/x/happy/build-info.json","depends":["array-0.5.4.0","base-4.14.3.0","containers-0.6.5.1","mtl-2.2.2"],"exe-depends":[],"component-name":"exe:happy","bin-file":"./dist-newstyle/build/x86_64-linux/ghc-8.10.7/happy-1.19.12/x/happy/build/happy/happy"},{"type":"pre-existing","id":"integer-gmp-1.0.3.0","pkg-name":"integer-gmp","pkg-version":"1.0.3.0","depends":["ghc-prim-0.6.1"]},{"type":"pre-existing","id":"mtl-2.2.2","pkg-name":"mtl","pkg-version":"2.2.2","depends":["base-4.14.3.0","transformers-0.5.6.2"]},{"type":"pre-existing","id":"transformers-0.5.6.2","pkg-name":"transformers","pkg-version":"0.5.6.2","depends":["base-4.14.3.0","ghc-prim-0.6.1"]}],"targets":[{"pkg-name":"array","pkg-version":"0.5.4.0","component-name":"lib","available":[{"id":"array-0.5.4.0","component-name":"lib","build-by-default":true}]},{"pkg-name":"base","pkg-version":"4.14.3.0","component-name":"lib","available":[{"id":"base-4.14.3.0","component-name":"lib","build-by-default":true}]},{"pkg-name":"containers","pkg-version":"0.6.5.1","component-name":"lib","available":[{"id":"containers-0.6.5.1","component-name":"lib","build-by-default":true}]},{"pkg-name":"deepseq","pkg-version":"1.4.4.0","component-name":"lib","available":[{"id":"deepseq-1.4.4.0","component-name":"lib","build-by-default":true}]},{"pkg-name":"ghc-prim","pkg-version":"0.6.1","component-name":"lib","available":[{"id":"ghc-prim-0.6.1","component-name":"lib","build-by-default":true}]},{"pkg-name":"happy","pkg-version":"1.19.12","component-name":"exe:happy","available":[{"id":"happy-1.19.12-inplace-happy","component-name":"exe:happy","build-by-default":true}]},{"pkg-name":"happy","pkg-version":"1.19.12","component-name":"test:tests","available":["TargetDisabledByUser"]},{"pkg-name":"integer-gmp","pkg-version":"1.0.3.0","component-name":"lib","available":[{"id":"integer-gmp-1.0.3.0","component-name":"lib","build-by-default":true}]},{"pkg-name":"mtl","pkg-version":"2.2.2","component-name":"lib","available":[{"id":"mtl-2.2.2","component-name":"lib","build-by-default":true}]},{"pkg-name":"transformers","pkg-version":"0.5.6.2","component-name":"lib","available":[{"id":"transformers-0.5.6.2","component-name":"lib","build-by-default":true}]}]} \ No newline at end of file +{"cabal-version":"3.10.3.0","cabal-lib-version":"3.10.3.0","compiler-id":"ghc-8.10.7","os":"linux","arch":"x86_64","install-plan":[{"type":"pre-existing","id":"array-0.5.4.0","pkg-name":"array","pkg-version":"0.5.4.0","depends":["base-4.14.3.0"]},{"type":"pre-existing","id":"base-4.14.3.0","pkg-name":"base","pkg-version":"4.14.3.0","depends":["ghc-prim-0.6.1","integer-gmp-1.0.3.0"]},{"type":"pre-existing","id":"containers-0.6.5.1","pkg-name":"containers","pkg-version":"0.6.5.1","depends":["array-0.5.4.0","base-4.14.3.0","deepseq-1.4.4.0"]},{"type":"pre-existing","id":"deepseq-1.4.4.0","pkg-name":"deepseq","pkg-version":"1.4.4.0","depends":["array-0.5.4.0","base-4.14.3.0","ghc-prim-0.6.1"]},{"type":"pre-existing","id":"ghc-prim-0.6.1","pkg-name":"ghc-prim","pkg-version":"0.6.1","depends":[]},{"type":"configured","id":"happy-1.19.12-e-happy-6ca6ca4956cdf37f852a5e7b87bc539d416f258fb7af22df9f6544135715641f","pkg-name":"happy","pkg-version":"1.19.12","flags":{"small_base":true},"style":"global","pkg-src":{"type":"repo-tar","repo":{"type":"secure-repo","uri":"http://hackage.haskell.org/"}},"pkg-cabal-sha256":"96c64e5616354c8c05412ad8cf1f4c919502c9947d0f9313253eb75a036f9e8f","pkg-src-sha256":"fb9a23e41401711a3b288f93cf0a66db9f97da1ce32ec4fffea4b78a0daeb40f","depends":["array-0.5.4.0","base-4.14.3.0","containers-0.6.5.1","mtl-2.2.2"],"exe-depends":[],"component-name":"exe:happy","bin-file":"/store/ghc-8.10.7/happy-1.19.12-e-happy-6ca6ca4956cdf37f852a5e7b87bc539d416f258fb7af22df9f6544135715641f/bin/happy"},{"type":"pre-existing","id":"integer-gmp-1.0.3.0","pkg-name":"integer-gmp","pkg-version":"1.0.3.0","depends":["ghc-prim-0.6.1"]},{"type":"pre-existing","id":"mtl-2.2.2","pkg-name":"mtl","pkg-version":"2.2.2","depends":["base-4.14.3.0","transformers-0.5.6.2"]},{"type":"pre-existing","id":"transformers-0.5.6.2","pkg-name":"transformers","pkg-version":"0.5.6.2","depends":["base-4.14.3.0","ghc-prim-0.6.1"]}],"targets":[{"pkg-name":"array","pkg-version":"0.5.4.0","component-name":"lib","available":[{"id":"array-0.5.4.0","component-name":"lib","build-by-default":true}]},{"pkg-name":"base","pkg-version":"4.14.3.0","component-name":"lib","available":[{"id":"base-4.14.3.0","component-name":"lib","build-by-default":true}]},{"pkg-name":"containers","pkg-version":"0.6.5.1","component-name":"lib","available":[{"id":"containers-0.6.5.1","component-name":"lib","build-by-default":true}]},{"pkg-name":"deepseq","pkg-version":"1.4.4.0","component-name":"lib","available":[{"id":"deepseq-1.4.4.0","component-name":"lib","build-by-default":true}]},{"pkg-name":"ghc-prim","pkg-version":"0.6.1","component-name":"lib","available":[{"id":"ghc-prim-0.6.1","component-name":"lib","build-by-default":true}]},{"pkg-name":"happy","pkg-version":"1.19.12","component-name":"exe:happy","available":[{"id":"happy-1.19.12-e-happy-6ca6ca4956cdf37f852a5e7b87bc539d416f258fb7af22df9f6544135715641f","component-name":"exe:happy","build-by-default":true}]},{"pkg-name":"happy","pkg-version":"1.19.12","component-name":"test:tests","available":["TargetNotLocal"]},{"pkg-name":"integer-gmp","pkg-version":"1.0.3.0","component-name":"lib","available":[{"id":"integer-gmp-1.0.3.0","component-name":"lib","build-by-default":true}]},{"pkg-name":"mtl","pkg-version":"2.2.2","component-name":"lib","available":[{"id":"mtl-2.2.2","component-name":"lib","build-by-default":true}]},{"pkg-name":"transformers","pkg-version":"0.5.6.2","component-name":"lib","available":[{"id":"transformers-0.5.6.2","component-name":"lib","build-by-default":true}]}]} \ No newline at end of file diff --git a/materialized/bootstrap/ghc8107/hscolour/.plan.nix/hscolour.nix b/materialized/bootstrap/ghc8107/hscolour/.plan.nix/hscolour.nix deleted file mode 100644 index 2953159025..0000000000 --- a/materialized/bootstrap/ghc8107/hscolour/.plan.nix/hscolour.nix +++ /dev/null @@ -1,70 +0,0 @@ -{ system - , compiler - , flags - , pkgs - , hsPkgs - , pkgconfPkgs - , errorHandler - , config - , ... }: - { - flags = {}; - package = { - specVersion = "1.6"; - identifier = { name = "hscolour"; version = "1.24.4"; }; - license = "LicenseRef-LGPL"; - copyright = "2003-2017 Malcolm Wallace; 2006 Bjorn Bringert"; - maintainer = "Malcolm Wallace"; - author = "Malcolm Wallace"; - homepage = "http://code.haskell.org/~malcolm/hscolour/"; - url = ""; - synopsis = "Colourise Haskell code."; - description = "hscolour is a small Haskell script to colourise Haskell code. It currently\nhas six output formats:\nANSI terminal codes (optionally XTerm-256colour codes),\nHTML 3.2 with tags,\nHTML 4.01 with CSS,\nHTML 4.01 with CSS and mouseover annotations,\nXHTML 1.0 with inline CSS styling,\nLaTeX,\nand mIRC chat codes."; - buildType = "Simple"; - isLocal = true; - detailLevel = "FullDetails"; - licenseFiles = [ "LICENCE-LGPL" ]; - dataDir = "."; - dataFiles = [ "hscolour.css" "data/rgb24-example-.hscolour" ]; - extraSrcFiles = []; - extraTmpFiles = []; - extraDocFiles = []; - }; - components = { - "library" = { - depends = [ - (hsPkgs."base" or (errorHandler.buildDepError "base")) - (hsPkgs."containers" or (errorHandler.buildDepError "containers")) - ]; - buildable = true; - modules = [ - "Language/Haskell/HsColour" - "Language/Haskell/HsColour/ANSI" - "Language/Haskell/HsColour/Anchors" - "Language/Haskell/HsColour/ACSS" - "Language/Haskell/HsColour/CSS" - "Language/Haskell/HsColour/Classify" - "Language/Haskell/HsColour/ColourHighlight" - "Language/Haskell/HsColour/Colourise" - "Language/Haskell/HsColour/General" - "Language/Haskell/HsColour/HTML" - "Language/Haskell/HsColour/InlineCSS" - "Language/Haskell/HsColour/LaTeX" - "Language/Haskell/HsColour/MIRC" - "Language/Haskell/HsColour/Options" - "Language/Haskell/HsColour/Output" - "Language/Haskell/HsColour/TTY" - ]; - }; - exes = { - "HsColour" = { - depends = [ - (hsPkgs."base" or (errorHandler.buildDepError "base")) - (hsPkgs."containers" or (errorHandler.buildDepError "containers")) - ]; - buildable = true; - mainPath = [ "HsColour.hs" ]; - }; - }; - }; - } // rec { src = pkgs.lib.mkDefault ../.; } \ No newline at end of file diff --git a/materialized/bootstrap/ghc8107/hscolour/cabal-files/hscolour.nix b/materialized/bootstrap/ghc8107/hscolour/cabal-files/hscolour.nix new file mode 100644 index 0000000000..406929b592 --- /dev/null +++ b/materialized/bootstrap/ghc8107/hscolour/cabal-files/hscolour.nix @@ -0,0 +1,50 @@ +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: + ({ + flags = {}; + package = { + specVersion = "1.6"; + identifier = { name = "hscolour"; version = "1.24.4"; }; + license = "LicenseRef-LGPL"; + copyright = "2003-2017 Malcolm Wallace; 2006 Bjorn Bringert"; + maintainer = "Malcolm Wallace"; + author = "Malcolm Wallace"; + homepage = "http://code.haskell.org/~malcolm/hscolour/"; + url = ""; + synopsis = "Colourise Haskell code."; + description = "hscolour is a small Haskell script to colourise Haskell code. It currently\nhas six output formats:\nANSI terminal codes (optionally XTerm-256colour codes),\nHTML 3.2 with tags,\nHTML 4.01 with CSS,\nHTML 4.01 with CSS and mouseover annotations,\nXHTML 1.0 with inline CSS styling,\nLaTeX,\nand mIRC chat codes."; + buildType = "Simple"; + }; + components = { + "library" = { + depends = [ + (hsPkgs."base" or (errorHandler.buildDepError "base")) + (hsPkgs."containers" or (errorHandler.buildDepError "containers")) + ]; + buildable = true; + }; + exes = { + "HsColour" = { + depends = [ + (hsPkgs."base" or (errorHandler.buildDepError "base")) + (hsPkgs."containers" or (errorHandler.buildDepError "containers")) + ]; + buildable = true; + }; + }; + }; + } // { + src = pkgs.lib.mkDefault (pkgs.fetchurl { + url = "http://hackage.haskell.org/package/hscolour-1.24.4.tar.gz"; + sha256 = "243332b082294117f37b2c2c68079fa61af68b36223b3fc07594f245e0e5321d"; + }); + }) // { + package-description-override = "Name: hscolour\nVersion: 1.24.4\nCopyright: 2003-2017 Malcolm Wallace; 2006 Bjorn Bringert\nMaintainer: Malcolm Wallace\nAuthor: Malcolm Wallace\nHomepage: http://code.haskell.org/~malcolm/hscolour/\nLicense: LGPL\nLicense-file: LICENCE-LGPL\nSynopsis: Colourise Haskell code.\nDescription:\n hscolour is a small Haskell script to colourise Haskell code. It currently\n has six output formats: \n ANSI terminal codes (optionally XTerm-256colour codes),\n HTML 3.2 with tags,\n HTML 4.01 with CSS,\n HTML 4.01 with CSS and mouseover annotations,\n XHTML 1.0 with inline CSS styling,\n LaTeX,\n and mIRC chat codes.\nCategory: Language\nBuild-Type: Simple\nData-files: hscolour.css, data/rgb24-example-.hscolour\nCabal-version: >=1.6\n\n\nLibrary\n Build-depends: base < 10, containers\n Exposed-Modules: \n Language.Haskell.HsColour\n Language.Haskell.HsColour.ANSI\n Language.Haskell.HsColour.Anchors\n Language.Haskell.HsColour.ACSS\n Language.Haskell.HsColour.CSS\n Language.Haskell.HsColour.Classify\n Language.Haskell.HsColour.ColourHighlight\n Language.Haskell.HsColour.Colourise\n Language.Haskell.HsColour.General\n Language.Haskell.HsColour.HTML\n Language.Haskell.HsColour.InlineCSS\n Language.Haskell.HsColour.LaTeX\n Language.Haskell.HsColour.MIRC\n Language.Haskell.HsColour.Options\n Language.Haskell.HsColour.Output\n Language.Haskell.HsColour.TTY\n --ghc-options: -O -W\n Extensions: \n\n\nExecutable HsColour\n Build-depends: base < 10, containers\n Main-is: HsColour.hs\n --ghc-options: -O -W\n Extensions: CPP\n cpp-options: -DMAJOR=1 -DMINOR=24\n\n\n\nSource-repository head\n Type : darcs\n Location: http://code.haskell.org/~malcolm/hscolour\n"; + } \ No newline at end of file diff --git a/materialized/bootstrap/ghc8107/hscolour/default.nix b/materialized/bootstrap/ghc8107/hscolour/default.nix index a81ff955ab..f05c1b2762 100644 --- a/materialized/bootstrap/ghc8107/hscolour/default.nix +++ b/materialized/bootstrap/ghc8107/hscolour/default.nix @@ -4,6 +4,7 @@ packages = { ghc-prim.revision = hackage.ghc-prim."0.6.1".revisions.default; base.revision = hackage.base."4.14.3.0".revisions.default; + hscolour.revision = import ./cabal-files/hscolour.nix; deepseq.revision = hackage.deepseq."1.4.4.0".revisions.default; integer-gmp.revision = hackage.integer-gmp."1.0.3.0".revisions.default; containers.revision = hackage.containers."0.6.5.1".revisions.default; @@ -23,7 +24,7 @@ }; }; extras = hackage: - { packages = { hscolour = ./.plan.nix/hscolour.nix; }; }; + { packages = {}; }; modules = [ { preExistingPkgs = [ @@ -36,7 +37,7 @@ ]; } ({ lib, ... }: - { packages = { "hscolour" = { flags = {}; }; }; }) + { packages = {}; }) ({ lib, ... }: { packages = { diff --git a/materialized/bootstrap/ghc8107/hscolour/plan.json b/materialized/bootstrap/ghc8107/hscolour/plan.json index 548b7b20e3..751ef8fee7 100644 --- a/materialized/bootstrap/ghc8107/hscolour/plan.json +++ b/materialized/bootstrap/ghc8107/hscolour/plan.json @@ -1 +1 @@ -{"cabal-version":"3.10.3.0","cabal-lib-version":"3.10.3.0","compiler-id":"ghc-8.10.7","os":"linux","arch":"x86_64","install-plan":[{"type":"pre-existing","id":"array-0.5.4.0","pkg-name":"array","pkg-version":"0.5.4.0","depends":["base-4.14.3.0"]},{"type":"pre-existing","id":"base-4.14.3.0","pkg-name":"base","pkg-version":"4.14.3.0","depends":["ghc-prim-0.6.1","integer-gmp-1.0.3.0"]},{"type":"pre-existing","id":"containers-0.6.5.1","pkg-name":"containers","pkg-version":"0.6.5.1","depends":["array-0.5.4.0","base-4.14.3.0","deepseq-1.4.4.0"]},{"type":"pre-existing","id":"deepseq-1.4.4.0","pkg-name":"deepseq","pkg-version":"1.4.4.0","depends":["array-0.5.4.0","base-4.14.3.0","ghc-prim-0.6.1"]},{"type":"pre-existing","id":"ghc-prim-0.6.1","pkg-name":"ghc-prim","pkg-version":"0.6.1","depends":[]},{"type":"configured","id":"hscolour-1.24.4-inplace","pkg-name":"hscolour","pkg-version":"1.24.4","flags":{},"style":"local","pkg-src":{"type":"local","path":"./."},"dist-dir":"./dist-newstyle/build/x86_64-linux/ghc-8.10.7/hscolour-1.24.4","build-info":"./dist-newstyle/build/x86_64-linux/ghc-8.10.7/hscolour-1.24.4/build-info.json","components":{"lib":{"depends":["base-4.14.3.0","containers-0.6.5.1"],"exe-depends":[]},"exe:HsColour":{"depends":["base-4.14.3.0","containers-0.6.5.1"],"exe-depends":[],"bin-file":"./dist-newstyle/build/x86_64-linux/ghc-8.10.7/hscolour-1.24.4/build/HsColour/HsColour"}}},{"type":"pre-existing","id":"integer-gmp-1.0.3.0","pkg-name":"integer-gmp","pkg-version":"1.0.3.0","depends":["ghc-prim-0.6.1"]}],"targets":[{"pkg-name":"array","pkg-version":"0.5.4.0","component-name":"lib","available":[{"id":"array-0.5.4.0","component-name":"lib","build-by-default":true}]},{"pkg-name":"base","pkg-version":"4.14.3.0","component-name":"lib","available":[{"id":"base-4.14.3.0","component-name":"lib","build-by-default":true}]},{"pkg-name":"containers","pkg-version":"0.6.5.1","component-name":"lib","available":[{"id":"containers-0.6.5.1","component-name":"lib","build-by-default":true}]},{"pkg-name":"deepseq","pkg-version":"1.4.4.0","component-name":"lib","available":[{"id":"deepseq-1.4.4.0","component-name":"lib","build-by-default":true}]},{"pkg-name":"ghc-prim","pkg-version":"0.6.1","component-name":"lib","available":[{"id":"ghc-prim-0.6.1","component-name":"lib","build-by-default":true}]},{"pkg-name":"hscolour","pkg-version":"1.24.4","component-name":"lib","available":[{"id":"hscolour-1.24.4-inplace","component-name":"lib","build-by-default":true}]},{"pkg-name":"hscolour","pkg-version":"1.24.4","component-name":"exe:HsColour","available":[{"id":"hscolour-1.24.4-inplace","component-name":"exe:HsColour","build-by-default":true}]},{"pkg-name":"integer-gmp","pkg-version":"1.0.3.0","component-name":"lib","available":[{"id":"integer-gmp-1.0.3.0","component-name":"lib","build-by-default":true}]}]} \ No newline at end of file +{"cabal-version":"3.10.3.0","cabal-lib-version":"3.10.3.0","compiler-id":"ghc-8.10.7","os":"linux","arch":"x86_64","install-plan":[{"type":"pre-existing","id":"array-0.5.4.0","pkg-name":"array","pkg-version":"0.5.4.0","depends":["base-4.14.3.0"]},{"type":"pre-existing","id":"base-4.14.3.0","pkg-name":"base","pkg-version":"4.14.3.0","depends":["ghc-prim-0.6.1","integer-gmp-1.0.3.0"]},{"type":"pre-existing","id":"containers-0.6.5.1","pkg-name":"containers","pkg-version":"0.6.5.1","depends":["array-0.5.4.0","base-4.14.3.0","deepseq-1.4.4.0"]},{"type":"pre-existing","id":"deepseq-1.4.4.0","pkg-name":"deepseq","pkg-version":"1.4.4.0","depends":["array-0.5.4.0","base-4.14.3.0","ghc-prim-0.6.1"]},{"type":"pre-existing","id":"ghc-prim-0.6.1","pkg-name":"ghc-prim","pkg-version":"0.6.1","depends":[]},{"type":"configured","id":"hscolour-1.24.4-f406ed5691072258760b8e5524951f0c0618ae04c04e37de65a844d32d594e44","pkg-name":"hscolour","pkg-version":"1.24.4","flags":{},"style":"global","pkg-src":{"type":"repo-tar","repo":{"type":"secure-repo","uri":"http://hackage.haskell.org/"}},"pkg-cabal-sha256":"3a329fa0ea9138f651088f1fa25522aabeab0eb591932d3fd56c66736bbe78be","pkg-src-sha256":"243332b082294117f37b2c2c68079fa61af68b36223b3fc07594f245e0e5321d","components":{"lib":{"depends":["base-4.14.3.0","containers-0.6.5.1"],"exe-depends":[]},"exe:HsColour":{"depends":["base-4.14.3.0","containers-0.6.5.1"],"exe-depends":[],"bin-file":"/store/ghc-8.10.7/hscolour-1.24.4-f406ed5691072258760b8e5524951f0c0618ae04c04e37de65a844d32d594e44/bin/HsColour"}}},{"type":"pre-existing","id":"integer-gmp-1.0.3.0","pkg-name":"integer-gmp","pkg-version":"1.0.3.0","depends":["ghc-prim-0.6.1"]}],"targets":[{"pkg-name":"array","pkg-version":"0.5.4.0","component-name":"lib","available":[{"id":"array-0.5.4.0","component-name":"lib","build-by-default":true}]},{"pkg-name":"base","pkg-version":"4.14.3.0","component-name":"lib","available":[{"id":"base-4.14.3.0","component-name":"lib","build-by-default":true}]},{"pkg-name":"containers","pkg-version":"0.6.5.1","component-name":"lib","available":[{"id":"containers-0.6.5.1","component-name":"lib","build-by-default":true}]},{"pkg-name":"deepseq","pkg-version":"1.4.4.0","component-name":"lib","available":[{"id":"deepseq-1.4.4.0","component-name":"lib","build-by-default":true}]},{"pkg-name":"ghc-prim","pkg-version":"0.6.1","component-name":"lib","available":[{"id":"ghc-prim-0.6.1","component-name":"lib","build-by-default":true}]},{"pkg-name":"hscolour","pkg-version":"1.24.4","component-name":"lib","available":[{"id":"hscolour-1.24.4-f406ed5691072258760b8e5524951f0c0618ae04c04e37de65a844d32d594e44","component-name":"lib","build-by-default":true}]},{"pkg-name":"hscolour","pkg-version":"1.24.4","component-name":"exe:HsColour","available":[{"id":"hscolour-1.24.4-f406ed5691072258760b8e5524951f0c0618ae04c04e37de65a844d32d594e44","component-name":"exe:HsColour","build-by-default":true}]},{"pkg-name":"integer-gmp","pkg-version":"1.0.3.0","component-name":"lib","available":[{"id":"integer-gmp-1.0.3.0","component-name":"lib","build-by-default":true}]}]} \ No newline at end of file diff --git a/materialized/bootstrap/ghc844/alex/.plan.nix/alex.nix b/materialized/bootstrap/ghc844/alex/.plan.nix/alex.nix deleted file mode 100644 index 5294056b9c..0000000000 --- a/materialized/bootstrap/ghc844/alex/.plan.nix/alex.nix +++ /dev/null @@ -1,160 +0,0 @@ -{ system - , compiler - , flags - , pkgs - , hsPkgs - , pkgconfPkgs - , errorHandler - , config - , ... }: - { - flags = { small_base = true; }; - package = { - specVersion = "1.8"; - identifier = { name = "alex"; version = "3.2.4"; }; - license = "BSD-3-Clause"; - copyright = "(c) Chis Dornan, Simon Marlow"; - maintainer = "Simon Marlow "; - author = "Chris Dornan and Simon Marlow"; - homepage = "http://www.haskell.org/alex/"; - url = ""; - synopsis = "Alex is a tool for generating lexical analysers in Haskell"; - description = "Alex is a tool for generating lexical analysers in Haskell.\nIt takes a description of tokens based on regular\nexpressions and generates a Haskell module containing code\nfor scanning text efficiently. It is similar to the tool\nlex or flex for C/C++."; - buildType = "Simple"; - isLocal = true; - detailLevel = "FullDetails"; - licenseFiles = [ "LICENSE" ]; - dataDir = "data/"; - dataFiles = [ - "AlexTemplate" - "AlexTemplate-ghc" - "AlexTemplate-ghc-nopred" - "AlexTemplate-ghc-debug" - "AlexTemplate-debug" - "AlexWrapper-basic" - "AlexWrapper-basic-bytestring" - "AlexWrapper-strict-bytestring" - "AlexWrapper-posn" - "AlexWrapper-posn-bytestring" - "AlexWrapper-monad" - "AlexWrapper-monad-bytestring" - "AlexWrapper-monadUserState" - "AlexWrapper-monadUserState-bytestring" - "AlexWrapper-gscan" - ]; - extraSrcFiles = [ - "CHANGELOG.md" - "README.md" - "TODO" - "alex.spec" - "doc/Makefile" - "doc/aclocal.m4" - "doc/alex.1.in" - "doc/alex.xml" - "doc/config.mk.in" - "doc/configure.ac" - "doc/docbook-xml.mk" - "doc/fptools.css" - "examples/Makefile" - "examples/Tokens.x" - "examples/Tokens_gscan.x" - "examples/Tokens_posn.x" - "examples/examples.x" - "examples/haskell.x" - "examples/lit.x" - "examples/pp.x" - "examples/state.x" - "examples/tiny.y" - "examples/words.x" - "examples/words_monad.x" - "examples/words_posn.x" - "src/Parser.y.boot" - "src/Scan.x.boot" - "src/ghc_hooks.c" - "templates/GenericTemplate.hs" - "templates/wrappers.hs" - "tests/Makefile" - "tests/simple.x" - "tests/null.x" - "tests/tokens.x" - "tests/tokens_gscan.x" - "tests/tokens_posn.x" - "tests/tokens_bytestring.x" - "tests/tokens_posn_bytestring.x" - "tests/tokens_scan_user.x" - "tests/tokens_strict_bytestring.x" - "tests/tokens_monad_bytestring.x" - "tests/tokens_monadUserState_bytestring.x" - "tests/tokens_bytestring_unicode.x" - "tests/basic_typeclass.x" - "tests/basic_typeclass_bytestring.x" - "tests/default_typeclass.x" - "tests/gscan_typeclass.x" - "tests/posn_typeclass.x" - "tests/monad_typeclass.x" - "tests/monad_typeclass_bytestring.x" - "tests/monadUserState_typeclass.x" - "tests/monadUserState_typeclass_bytestring.x" - "tests/posn_typeclass_bytestring.x" - "tests/strict_typeclass.x" - "tests/unicode.x" - ]; - extraTmpFiles = []; - extraDocFiles = []; - }; - components = { - exes = { - "alex" = { - depends = [ - (hsPkgs."base" or (errorHandler.buildDepError "base")) - ] ++ (if flags.small_base - then [ - (hsPkgs."base" or (errorHandler.buildDepError "base")) - (hsPkgs."array" or (errorHandler.buildDepError "array")) - (hsPkgs."containers" or (errorHandler.buildDepError "containers")) - (hsPkgs."directory" or (errorHandler.buildDepError "directory")) - ] - else [ (hsPkgs."base" or (errorHandler.buildDepError "base")) ]); - buildable = true; - modules = [ - "AbsSyn" - "CharSet" - "DFA" - "DFAMin" - "DFS" - "Info" - "Map" - "NFA" - "Output" - "Paths_alex" - "Parser" - "ParseMonad" - "Scan" - "Set" - "Sort" - "Util" - "UTF8" - "Data/Ranged" - "Data/Ranged/Boundaries" - "Data/Ranged/RangedSet" - "Data/Ranged/Ranges" - ]; - hsSourceDirs = [ "src" ]; - mainPath = [ "Main.hs" ] ++ [ "" ]; - }; - }; - tests = { - "tests" = { - depends = [ - (hsPkgs."base" or (errorHandler.buildDepError "base")) - (hsPkgs."process" or (errorHandler.buildDepError "process")) - ]; - build-tools = [ - (hsPkgs.pkgsBuildBuild.alex.components.exes.alex or (pkgs.pkgsBuildBuild.alex or (errorHandler.buildToolDepError "alex:alex"))) - ]; - buildable = true; - mainPath = [ "test.hs" ]; - }; - }; - }; - } // rec { src = (pkgs.lib).mkDefault ../.; } \ No newline at end of file diff --git a/materialized/bootstrap/ghc844/alex/default.nix b/materialized/bootstrap/ghc844/alex/default.nix deleted file mode 100644 index 1a0e511426..0000000000 --- a/materialized/bootstrap/ghc844/alex/default.nix +++ /dev/null @@ -1,65 +0,0 @@ -{ - pkgs = hackage: - { - packages = { - "array".revision = (((hackage."array")."0.5.2.0").revisions).default; - "bytestring".revision = (((hackage."bytestring")."0.10.8.2").revisions).default; - "filepath".revision = (((hackage."filepath")."1.4.2").revisions).default; - "ghc-prim".revision = (((hackage."ghc-prim")."0.5.2.0").revisions).default; - "base".revision = (((hackage."base")."4.11.1.0").revisions).default; - "time".revision = (((hackage."time")."1.8.0.2").revisions).default; - "directory".revision = (((hackage."directory")."1.3.1.5").revisions).default; - "rts".revision = (((hackage."rts")."1.0").revisions).default; - "deepseq".revision = (((hackage."deepseq")."1.4.3.0").revisions).default; - "unix".revision = (((hackage."unix")."2.7.2.2").revisions).default; - "integer-gmp".revision = (((hackage."integer-gmp")."1.0.2.0").revisions).default; - "containers".revision = (((hackage."containers")."0.5.11.0").revisions).default; - }; - compiler = { - version = "8.4.4"; - nix-name = "ghc844"; - packages = { - "array" = "0.5.2.0"; - "bytestring" = "0.10.8.2"; - "filepath" = "1.4.2"; - "ghc-prim" = "0.5.2.0"; - "base" = "4.11.1.0"; - "time" = "1.8.0.2"; - "directory" = "1.3.1.5"; - "rts" = "1.0"; - "deepseq" = "1.4.3.0"; - "unix" = "2.7.2.2"; - "integer-gmp" = "1.0.2.0"; - "containers" = "0.5.11.0"; - }; - }; - }; - extras = hackage: - { packages = { alex = ./.plan.nix/alex.nix; }; }; - modules = [ - ({ lib, ... }: - { - packages = { - "alex" = { flags = { "small_base" = lib.mkOverride 900 true; }; }; - }; - }) - ({ lib, ... }: - { - packages = { - "filepath".components.library.planned = lib.mkOverride 900 true; - "bytestring".components.library.planned = lib.mkOverride 900 true; - "ghc-prim".components.library.planned = lib.mkOverride 900 true; - "array".components.library.planned = lib.mkOverride 900 true; - "rts".components.library.planned = lib.mkOverride 900 true; - "unix".components.library.planned = lib.mkOverride 900 true; - "directory".components.library.planned = lib.mkOverride 900 true; - "time".components.library.planned = lib.mkOverride 900 true; - "alex".components.exes."alex".planned = lib.mkOverride 900 true; - "deepseq".components.library.planned = lib.mkOverride 900 true; - "base".components.library.planned = lib.mkOverride 900 true; - "integer-gmp".components.library.planned = lib.mkOverride 900 true; - "containers".components.library.planned = lib.mkOverride 900 true; - }; - }) - ]; - } \ No newline at end of file diff --git a/materialized/bootstrap/ghc844/happy-1.19.11/.plan.nix/happy.nix b/materialized/bootstrap/ghc844/happy-1.19.11/.plan.nix/happy.nix deleted file mode 100644 index e5c42866e3..0000000000 --- a/materialized/bootstrap/ghc844/happy-1.19.11/.plan.nix/happy.nix +++ /dev/null @@ -1,192 +0,0 @@ -{ system - , compiler - , flags - , pkgs - , hsPkgs - , pkgconfPkgs - , errorHandler - , config - , ... }: - { - flags = { small_base = true; }; - package = { - specVersion = "1.8"; - identifier = { name = "happy"; version = "1.19.11"; }; - license = "BSD-2-Clause"; - copyright = "(c) Andy Gill, Simon Marlow"; - maintainer = "Simon Marlow "; - author = "Andy Gill and Simon Marlow"; - homepage = "https://www.haskell.org/happy/"; - url = ""; - synopsis = "Happy is a parser generator for Haskell"; - description = "Happy is a parser generator for Haskell. Given a grammar\nspecification in BNF, Happy generates Haskell code to parse the\ngrammar. Happy works in a similar way to the @yacc@ tool for C."; - buildType = "Custom"; - isLocal = true; - setup-depends = [ - (hsPkgs.pkgsBuildBuild.Cabal or (pkgs.pkgsBuildBuild.Cabal or (errorHandler.setupDepError "Cabal"))) - (hsPkgs.pkgsBuildBuild.base or (pkgs.pkgsBuildBuild.base or (errorHandler.setupDepError "base"))) - (hsPkgs.pkgsBuildBuild.directory or (pkgs.pkgsBuildBuild.directory or (errorHandler.setupDepError "directory"))) - (hsPkgs.pkgsBuildBuild.filepath or (pkgs.pkgsBuildBuild.filepath or (errorHandler.setupDepError "filepath"))) - ]; - detailLevel = "FullDetails"; - licenseFiles = [ "LICENSE" ]; - dataDir = "."; - dataFiles = []; - extraSrcFiles = [ - "ANNOUNCE" - "CHANGES" - "Makefile" - "README.md" - "TODO" - "doc/Makefile" - "doc/aclocal.m4" - "doc/config.mk.in" - "doc/configure.ac" - "doc/docbook-xml.mk" - "doc/fptools.css" - "doc/happy.1.in" - "doc/happy.xml" - "examples/glr/nlp/Main.lhs" - "examples/glr/nlp/Makefile" - "examples/glr/nlp/README" - "examples/glr/nlp/English.y" - "examples/glr/nlp/Hugs.lhs" - "examples/glr/Makefile" - "examples/glr/Makefile.defs" - "examples/glr/expr-eval/Main.lhs" - "examples/glr/expr-eval/Makefile" - "examples/glr/expr-eval/Expr.y" - "examples/glr/expr-eval/README" - "examples/glr/expr-eval/Hugs.lhs" - "examples/glr/expr-tree/Main.lhs" - "examples/glr/expr-tree/Makefile" - "examples/glr/expr-tree/Expr.y" - "examples/glr/expr-tree/README" - "examples/glr/expr-tree/Tree.lhs" - "examples/glr/expr-tree/Hugs.lhs" - "examples/glr/highly-ambiguous/Main.lhs" - "examples/glr/highly-ambiguous/Makefile" - "examples/glr/highly-ambiguous/Expr.y" - "examples/glr/highly-ambiguous/README" - "examples/glr/highly-ambiguous/Hugs.lhs" - "examples/glr/hidden-leftrec/Main.lhs" - "examples/glr/hidden-leftrec/Makefile" - "examples/glr/hidden-leftrec/Expr.y" - "examples/glr/hidden-leftrec/README" - "examples/glr/hidden-leftrec/Hugs.lhs" - "examples/glr/expr-monad/Main.lhs" - "examples/glr/expr-monad/Makefile" - "examples/glr/expr-monad/Expr.y" - "examples/glr/expr-monad/README" - "examples/glr/expr-monad/Hugs.lhs" - "examples/glr/bio-eg/Main.lhs" - "examples/glr/bio-eg/Makefile" - "examples/glr/bio-eg/Bio.y" - "examples/glr/bio-eg/README" - "examples/glr/bio-eg/1-1200.dna" - "examples/glr/bio-eg/1-600.dna" - "examples/glr/common/DV_lhs" - "examples/glr/common/DaVinciTypes.hs" - "examples/glr/packing/Main.lhs" - "examples/glr/packing/Makefile" - "examples/glr/packing/Expr.y" - "examples/glr/packing/README" - "examples/glr/packing/Hugs.lhs" - "examples/PgnParser.ly" - "examples/MonadTest.ly" - "examples/igloo/ParserM.hs" - "examples/igloo/Makefile" - "examples/igloo/Parser.y" - "examples/igloo/Foo.hs" - "examples/igloo/README" - "examples/igloo/Lexer.x" - "examples/README" - "examples/Calc.ly" - "examples/DavesExample.ly" - "examples/ErrorTest.ly" - "examples/ErlParser.ly" - "examples/SimonsExample.ly" - "examples/LexerTest.ly" - "happy.spec" - "src/ARRAY-NOTES" - "templates/GLR_Base.hs" - "templates/GenericTemplate.hs" - "templates/GLR_Lib.hs" - "tests/AttrGrammar001.y" - "tests/AttrGrammar002.y" - "tests/Makefile" - "tests/Partial.ly" - "tests/Test.ly" - "tests/TestMulti.ly" - "tests/TestPrecedence.ly" - "tests/bogus-token.y" - "tests/bug001.ly" - "tests/bug002.y" - "tests/error001.stderr" - "tests/error001.stdout" - "tests/error001.y" - "tests/monad001.y" - "tests/monad002.ly" - "tests/monaderror.y" - "tests/precedence001.ly" - "tests/precedence002.y" - "tests/test_rules.y" - "tests/issue91.y" - "tests/issue93.y" - "tests/issue94.y" - "tests/issue95.y" - "tests/monaderror-explist.y" - "tests/typeclass_monad001.y" - "tests/typeclass_monad002.ly" - "tests/typeclass_monad_lexer.y" - "tests/rank2.y" - ]; - extraTmpFiles = []; - extraDocFiles = []; - }; - components = { - exes = { - "happy" = { - depends = [ - (hsPkgs."base" or (errorHandler.buildDepError "base")) - (hsPkgs."array" or (errorHandler.buildDepError "array")) - (hsPkgs."containers" or (errorHandler.buildDepError "containers")) - (hsPkgs."mtl" or (errorHandler.buildDepError "mtl")) - ]; - buildable = true; - modules = [ - "Paths_happy" - "AbsSyn" - "First" - "GenUtils" - "Grammar" - "Info" - "LALR" - "Lexer" - "ParseMonad" - "Parser" - "ProduceCode" - "ProduceGLRCode" - "NameSet" - "Target" - "AttrGrammar" - "AttrGrammarParser" - "ParamRules" - "PrettyGrammar" - ]; - hsSourceDirs = [ "src" ]; - mainPath = [ "Main.lhs" ]; - }; - }; - tests = { - "tests" = { - depends = [ - (hsPkgs."base" or (errorHandler.buildDepError "base")) - (hsPkgs."process" or (errorHandler.buildDepError "process")) - ]; - buildable = true; - mainPath = [ "test.hs" ]; - }; - }; - }; - } // rec { src = (pkgs.lib).mkDefault ../.; } \ No newline at end of file diff --git a/materialized/bootstrap/ghc844/happy-1.19.11/default.nix b/materialized/bootstrap/ghc844/happy-1.19.11/default.nix deleted file mode 100644 index 2c525801f4..0000000000 --- a/materialized/bootstrap/ghc844/happy-1.19.11/default.nix +++ /dev/null @@ -1,90 +0,0 @@ -{ - pkgs = hackage: - { - packages = { - "binary".revision = (((hackage."binary")."0.8.5.1").revisions).default; - "ghc-prim".revision = (((hackage."ghc-prim")."0.5.2.0").revisions).default; - "array".revision = (((hackage."array")."0.5.2.0").revisions).default; - "integer-gmp".revision = (((hackage."integer-gmp")."1.0.2.0").revisions).default; - "pretty".revision = (((hackage."pretty")."1.1.3.6").revisions).default; - "process".revision = (((hackage."process")."1.6.3.0").revisions).default; - "base".revision = (((hackage."base")."4.11.1.0").revisions).default; - "rts".revision = (((hackage."rts")."1.0").revisions).default; - "text".revision = (((hackage."text")."1.2.3.1").revisions).default; - "mtl".revision = (((hackage."mtl")."2.2.2").revisions).default; - "time".revision = (((hackage."time")."1.8.0.2").revisions).default; - "unix".revision = (((hackage."unix")."2.7.2.2").revisions).default; - "bytestring".revision = (((hackage."bytestring")."0.10.8.2").revisions).default; - "containers".revision = (((hackage."containers")."0.5.11.0").revisions).default; - "directory".revision = (((hackage."directory")."1.3.1.5").revisions).default; - "parsec".revision = (((hackage."parsec")."3.1.13.0").revisions).default; - "filepath".revision = (((hackage."filepath")."1.4.2").revisions).default; - "deepseq".revision = (((hackage."deepseq")."1.4.3.0").revisions).default; - "transformers".revision = (((hackage."transformers")."0.5.5.0").revisions).default; - "Cabal".revision = (((hackage."Cabal")."2.2.0.1").revisions).default; - }; - compiler = { - version = "8.4.4"; - nix-name = "ghc844"; - packages = { - "binary" = "0.8.5.1"; - "ghc-prim" = "0.5.2.0"; - "array" = "0.5.2.0"; - "integer-gmp" = "1.0.2.0"; - "pretty" = "1.1.3.6"; - "process" = "1.6.3.0"; - "base" = "4.11.1.0"; - "rts" = "1.0"; - "text" = "1.2.3.1"; - "mtl" = "2.2.2"; - "time" = "1.8.0.2"; - "unix" = "2.7.2.2"; - "bytestring" = "0.10.8.2"; - "containers" = "0.5.11.0"; - "directory" = "1.3.1.5"; - "parsec" = "3.1.13.0"; - "filepath" = "1.4.2"; - "deepseq" = "1.4.3.0"; - "transformers" = "0.5.5.0"; - "Cabal" = "2.2.0.1"; - }; - }; - }; - extras = hackage: - { packages = { happy = ./.plan.nix/happy.nix; }; }; - modules = [ - ({ lib, ... }: - { - packages = { - "happy" = { flags = { "small_base" = lib.mkOverride 900 true; }; }; - }; - }) - ({ lib, ... }: - { - packages = { - "containers".components.library.planned = lib.mkOverride 900 true; - "binary".components.library.planned = lib.mkOverride 900 true; - "ghc-prim".components.library.planned = lib.mkOverride 900 true; - "happy".components.exes."happy".planned = lib.mkOverride 900 true; - "Cabal".components.library.planned = lib.mkOverride 900 true; - "transformers".components.library.planned = lib.mkOverride 900 true; - "process".components.library.planned = lib.mkOverride 900 true; - "pretty".components.library.planned = lib.mkOverride 900 true; - "integer-gmp".components.library.planned = lib.mkOverride 900 true; - "array".components.library.planned = lib.mkOverride 900 true; - "bytestring".components.library.planned = lib.mkOverride 900 true; - "unix".components.library.planned = lib.mkOverride 900 true; - "text".components.library.planned = lib.mkOverride 900 true; - "base".components.library.planned = lib.mkOverride 900 true; - "rts".components.library.planned = lib.mkOverride 900 true; - "mtl".components.library.planned = lib.mkOverride 900 true; - "time".components.library.planned = lib.mkOverride 900 true; - "happy".components.setup.planned = lib.mkOverride 900 true; - "deepseq".components.library.planned = lib.mkOverride 900 true; - "filepath".components.library.planned = lib.mkOverride 900 true; - "parsec".components.library.planned = lib.mkOverride 900 true; - "directory".components.library.planned = lib.mkOverride 900 true; - }; - }) - ]; - } \ No newline at end of file diff --git a/materialized/bootstrap/ghc844/happy-1.19.12/.plan.nix/happy.nix b/materialized/bootstrap/ghc844/happy-1.19.12/.plan.nix/happy.nix deleted file mode 100644 index 8a9ace8483..0000000000 --- a/materialized/bootstrap/ghc844/happy-1.19.12/.plan.nix/happy.nix +++ /dev/null @@ -1,200 +0,0 @@ -{ system - , compiler - , flags - , pkgs - , hsPkgs - , pkgconfPkgs - , errorHandler - , config - , ... }: - { - flags = { small_base = true; }; - package = { - specVersion = "1.8"; - identifier = { name = "happy"; version = "1.19.12"; }; - license = "BSD-2-Clause"; - copyright = "(c) Andy Gill, Simon Marlow"; - maintainer = "Simon Marlow "; - author = "Andy Gill and Simon Marlow"; - homepage = "https://www.haskell.org/happy/"; - url = ""; - synopsis = "Happy is a parser generator for Haskell"; - description = "Happy is a parser generator for Haskell. Given a grammar\nspecification in BNF, Happy generates Haskell code to parse the\ngrammar. Happy works in a similar way to the @yacc@ tool for C."; - buildType = "Simple"; - isLocal = true; - detailLevel = "FullDetails"; - licenseFiles = [ "LICENSE" ]; - dataDir = "data/"; - dataFiles = [ - "HappyTemplate" - "HappyTemplate-arrays" - "HappyTemplate-arrays-coerce" - "HappyTemplate-arrays-coerce-debug" - "HappyTemplate-arrays-debug" - "HappyTemplate-arrays-ghc" - "HappyTemplate-arrays-ghc-debug" - "HappyTemplate-coerce" - "HappyTemplate-ghc" - "GLR_Base" - "GLR_Lib" - "GLR_Lib-ghc" - "GLR_Lib-ghc-debug" - ]; - extraSrcFiles = [ - "ANNOUNCE" - "CHANGES" - "Makefile" - "README.md" - "TODO" - "doc/Makefile" - "doc/aclocal.m4" - "doc/config.mk.in" - "doc/configure.ac" - "doc/docbook-xml.mk" - "doc/fptools.css" - "doc/happy.1.in" - "doc/happy.xml" - "examples/glr/nlp/Main.lhs" - "examples/glr/nlp/Makefile" - "examples/glr/nlp/README" - "examples/glr/nlp/English.y" - "examples/glr/nlp/Hugs.lhs" - "examples/glr/Makefile" - "examples/glr/Makefile.defs" - "examples/glr/expr-eval/Main.lhs" - "examples/glr/expr-eval/Makefile" - "examples/glr/expr-eval/Expr.y" - "examples/glr/expr-eval/README" - "examples/glr/expr-eval/Hugs.lhs" - "examples/glr/expr-tree/Main.lhs" - "examples/glr/expr-tree/Makefile" - "examples/glr/expr-tree/Expr.y" - "examples/glr/expr-tree/README" - "examples/glr/expr-tree/Tree.lhs" - "examples/glr/expr-tree/Hugs.lhs" - "examples/glr/highly-ambiguous/Main.lhs" - "examples/glr/highly-ambiguous/Makefile" - "examples/glr/highly-ambiguous/Expr.y" - "examples/glr/highly-ambiguous/README" - "examples/glr/highly-ambiguous/Hugs.lhs" - "examples/glr/hidden-leftrec/Main.lhs" - "examples/glr/hidden-leftrec/Makefile" - "examples/glr/hidden-leftrec/Expr.y" - "examples/glr/hidden-leftrec/README" - "examples/glr/hidden-leftrec/Hugs.lhs" - "examples/glr/expr-monad/Main.lhs" - "examples/glr/expr-monad/Makefile" - "examples/glr/expr-monad/Expr.y" - "examples/glr/expr-monad/README" - "examples/glr/expr-monad/Hugs.lhs" - "examples/glr/bio-eg/Main.lhs" - "examples/glr/bio-eg/Makefile" - "examples/glr/bio-eg/Bio.y" - "examples/glr/bio-eg/README" - "examples/glr/bio-eg/1-1200.dna" - "examples/glr/bio-eg/1-600.dna" - "examples/glr/common/DV_lhs" - "examples/glr/common/DaVinciTypes.hs" - "examples/glr/packing/Main.lhs" - "examples/glr/packing/Makefile" - "examples/glr/packing/Expr.y" - "examples/glr/packing/README" - "examples/glr/packing/Hugs.lhs" - "examples/PgnParser.ly" - "examples/MonadTest.ly" - "examples/igloo/ParserM.hs" - "examples/igloo/Makefile" - "examples/igloo/Parser.y" - "examples/igloo/Foo.hs" - "examples/igloo/README" - "examples/igloo/Lexer.x" - "examples/README" - "examples/Calc.ly" - "examples/DavesExample.ly" - "examples/ErrorTest.ly" - "examples/ErlParser.ly" - "examples/SimonsExample.ly" - "examples/LexerTest.ly" - "happy.spec" - "src/ARRAY-NOTES" - "tests/AttrGrammar001.y" - "tests/AttrGrammar002.y" - "tests/Makefile" - "tests/Partial.ly" - "tests/Test.ly" - "tests/TestMulti.ly" - "tests/TestPrecedence.ly" - "tests/bogus-token.y" - "tests/bug001.ly" - "tests/bug002.y" - "tests/error001.stderr" - "tests/error001.stdout" - "tests/error001.y" - "tests/monad001.y" - "tests/monad002.ly" - "tests/monaderror.y" - "tests/precedence001.ly" - "tests/precedence002.y" - "tests/test_rules.y" - "tests/issue91.y" - "tests/issue93.y" - "tests/issue94.y" - "tests/issue95.y" - "tests/monaderror-explist.y" - "tests/typeclass_monad001.y" - "tests/typeclass_monad002.ly" - "tests/typeclass_monad_lexer.y" - "tests/rank2.y" - ]; - extraTmpFiles = []; - extraDocFiles = []; - }; - components = { - exes = { - "happy" = { - depends = [ - (hsPkgs."base" or (errorHandler.buildDepError "base")) - (hsPkgs."array" or (errorHandler.buildDepError "array")) - (hsPkgs."containers" or (errorHandler.buildDepError "containers")) - (hsPkgs."mtl" or (errorHandler.buildDepError "mtl")) - ]; - buildable = true; - modules = [ - "Paths_happy" - "AbsSyn" - "First" - "GenUtils" - "Grammar" - "Info" - "LALR" - "Lexer" - "ParseMonad" - "Parser" - "ProduceCode" - "ProduceGLRCode" - "NameSet" - "Target" - "AttrGrammar" - "AttrGrammarParser" - "ParamRules" - "PrettyGrammar" - ]; - hsSourceDirs = [ "src" ]; - mainPath = [ "Main.lhs" ]; - }; - }; - tests = { - "tests" = { - depends = [ - (hsPkgs."base" or (errorHandler.buildDepError "base")) - (hsPkgs."process" or (errorHandler.buildDepError "process")) - ]; - build-tools = [ - (hsPkgs.pkgsBuildBuild.happy.components.exes.happy or (pkgs.pkgsBuildBuild.happy or (errorHandler.buildToolDepError "happy:happy"))) - ]; - buildable = true; - mainPath = [ "test.hs" ]; - }; - }; - }; - } // rec { src = (pkgs.lib).mkDefault ../.; } \ No newline at end of file diff --git a/materialized/bootstrap/ghc844/happy-1.19.12/default.nix b/materialized/bootstrap/ghc844/happy-1.19.12/default.nix deleted file mode 100644 index d8aa30b61c..0000000000 --- a/materialized/bootstrap/ghc844/happy-1.19.12/default.nix +++ /dev/null @@ -1,56 +0,0 @@ -{ - pkgs = hackage: - { - packages = { - "array".revision = (((hackage."array")."0.5.2.0").revisions).default; - "mtl".revision = (((hackage."mtl")."2.2.2").revisions).default; - "ghc-prim".revision = (((hackage."ghc-prim")."0.5.2.0").revisions).default; - "base".revision = (((hackage."base")."4.11.1.0").revisions).default; - "rts".revision = (((hackage."rts")."1.0").revisions).default; - "transformers".revision = (((hackage."transformers")."0.5.5.0").revisions).default; - "deepseq".revision = (((hackage."deepseq")."1.4.3.0").revisions).default; - "integer-gmp".revision = (((hackage."integer-gmp")."1.0.2.0").revisions).default; - "containers".revision = (((hackage."containers")."0.5.11.0").revisions).default; - }; - compiler = { - version = "8.4.4"; - nix-name = "ghc844"; - packages = { - "array" = "0.5.2.0"; - "mtl" = "2.2.2"; - "ghc-prim" = "0.5.2.0"; - "base" = "4.11.1.0"; - "rts" = "1.0"; - "transformers" = "0.5.5.0"; - "deepseq" = "1.4.3.0"; - "integer-gmp" = "1.0.2.0"; - "containers" = "0.5.11.0"; - }; - }; - }; - extras = hackage: - { packages = { happy = ./.plan.nix/happy.nix; }; }; - modules = [ - ({ lib, ... }: - { - packages = { - "happy" = { flags = { "small_base" = lib.mkOverride 900 true; }; }; - }; - }) - ({ lib, ... }: - { - packages = { - "ghc-prim".components.library.planned = lib.mkOverride 900 true; - "array".components.library.planned = lib.mkOverride 900 true; - "rts".components.library.planned = lib.mkOverride 900 true; - "happy".components.exes."happy".planned = lib.mkOverride 900 true; - "mtl".components.library.planned = lib.mkOverride 900 true; - "transformers".components.library.planned = lib.mkOverride 900 true; - "deepseq".components.library.planned = lib.mkOverride 900 true; - "base".components.library.planned = lib.mkOverride 900 true; - "integer-gmp".components.library.planned = lib.mkOverride 900 true; - "containers".components.library.planned = lib.mkOverride 900 true; - }; - }) - ]; - } \ No newline at end of file diff --git a/materialized/bootstrap/ghc844/hscolour/.plan.nix/hscolour.nix b/materialized/bootstrap/ghc844/hscolour/.plan.nix/hscolour.nix deleted file mode 100644 index 1f1cb89188..0000000000 --- a/materialized/bootstrap/ghc844/hscolour/.plan.nix/hscolour.nix +++ /dev/null @@ -1,70 +0,0 @@ -{ system - , compiler - , flags - , pkgs - , hsPkgs - , pkgconfPkgs - , errorHandler - , config - , ... }: - { - flags = {}; - package = { - specVersion = "1.6"; - identifier = { name = "hscolour"; version = "1.24.4"; }; - license = "LicenseRef-LGPL"; - copyright = "2003-2017 Malcolm Wallace; 2006 Bjorn Bringert"; - maintainer = "Malcolm Wallace"; - author = "Malcolm Wallace"; - homepage = "http://code.haskell.org/~malcolm/hscolour/"; - url = ""; - synopsis = "Colourise Haskell code."; - description = "hscolour is a small Haskell script to colourise Haskell code. It currently\nhas six output formats:\nANSI terminal codes (optionally XTerm-256colour codes),\nHTML 3.2 with tags,\nHTML 4.01 with CSS,\nHTML 4.01 with CSS and mouseover annotations,\nXHTML 1.0 with inline CSS styling,\nLaTeX,\nand mIRC chat codes."; - buildType = "Simple"; - isLocal = true; - detailLevel = "FullDetails"; - licenseFiles = [ "LICENCE-LGPL" ]; - dataDir = "."; - dataFiles = [ "hscolour.css" "data/rgb24-example-.hscolour" ]; - extraSrcFiles = []; - extraTmpFiles = []; - extraDocFiles = []; - }; - components = { - "library" = { - depends = [ - (hsPkgs."base" or (errorHandler.buildDepError "base")) - (hsPkgs."containers" or (errorHandler.buildDepError "containers")) - ]; - buildable = true; - modules = [ - "Language/Haskell/HsColour" - "Language/Haskell/HsColour/ANSI" - "Language/Haskell/HsColour/Anchors" - "Language/Haskell/HsColour/ACSS" - "Language/Haskell/HsColour/CSS" - "Language/Haskell/HsColour/Classify" - "Language/Haskell/HsColour/ColourHighlight" - "Language/Haskell/HsColour/Colourise" - "Language/Haskell/HsColour/General" - "Language/Haskell/HsColour/HTML" - "Language/Haskell/HsColour/InlineCSS" - "Language/Haskell/HsColour/LaTeX" - "Language/Haskell/HsColour/MIRC" - "Language/Haskell/HsColour/Options" - "Language/Haskell/HsColour/Output" - "Language/Haskell/HsColour/TTY" - ]; - }; - exes = { - "HsColour" = { - depends = [ - (hsPkgs."base" or (errorHandler.buildDepError "base")) - (hsPkgs."containers" or (errorHandler.buildDepError "containers")) - ]; - buildable = true; - mainPath = [ "HsColour.hs" ]; - }; - }; - }; - } // rec { src = (pkgs.lib).mkDefault ../.; } \ No newline at end of file diff --git a/materialized/bootstrap/ghc844/hscolour/default.nix b/materialized/bootstrap/ghc844/hscolour/default.nix deleted file mode 100644 index c6853dc8fb..0000000000 --- a/materialized/bootstrap/ghc844/hscolour/default.nix +++ /dev/null @@ -1,47 +0,0 @@ -{ - pkgs = hackage: - { - packages = { - "array".revision = (((hackage."array")."0.5.2.0").revisions).default; - "ghc-prim".revision = (((hackage."ghc-prim")."0.5.2.0").revisions).default; - "base".revision = (((hackage."base")."4.11.1.0").revisions).default; - "rts".revision = (((hackage."rts")."1.0").revisions).default; - "deepseq".revision = (((hackage."deepseq")."1.4.3.0").revisions).default; - "integer-gmp".revision = (((hackage."integer-gmp")."1.0.2.0").revisions).default; - "containers".revision = (((hackage."containers")."0.5.11.0").revisions).default; - }; - compiler = { - version = "8.4.4"; - nix-name = "ghc844"; - packages = { - "array" = "0.5.2.0"; - "ghc-prim" = "0.5.2.0"; - "base" = "4.11.1.0"; - "rts" = "1.0"; - "deepseq" = "1.4.3.0"; - "integer-gmp" = "1.0.2.0"; - "containers" = "0.5.11.0"; - }; - }; - }; - extras = hackage: - { packages = { hscolour = ./.plan.nix/hscolour.nix; }; }; - modules = [ - ({ lib, ... }: - { packages = { "hscolour" = { flags = {}; }; }; }) - ({ lib, ... }: - { - packages = { - "ghc-prim".components.library.planned = lib.mkOverride 900 true; - "array".components.library.planned = lib.mkOverride 900 true; - "rts".components.library.planned = lib.mkOverride 900 true; - "hscolour".components.library.planned = lib.mkOverride 900 true; - "hscolour".components.exes."HsColour".planned = lib.mkOverride 900 true; - "deepseq".components.library.planned = lib.mkOverride 900 true; - "base".components.library.planned = lib.mkOverride 900 true; - "integer-gmp".components.library.planned = lib.mkOverride 900 true; - "containers".components.library.planned = lib.mkOverride 900 true; - }; - }) - ]; - } \ No newline at end of file diff --git a/materialized/bootstrap/ghc882/alex/.plan.nix/alex.nix b/materialized/bootstrap/ghc882/alex/.plan.nix/alex.nix deleted file mode 100644 index 5294056b9c..0000000000 --- a/materialized/bootstrap/ghc882/alex/.plan.nix/alex.nix +++ /dev/null @@ -1,160 +0,0 @@ -{ system - , compiler - , flags - , pkgs - , hsPkgs - , pkgconfPkgs - , errorHandler - , config - , ... }: - { - flags = { small_base = true; }; - package = { - specVersion = "1.8"; - identifier = { name = "alex"; version = "3.2.4"; }; - license = "BSD-3-Clause"; - copyright = "(c) Chis Dornan, Simon Marlow"; - maintainer = "Simon Marlow "; - author = "Chris Dornan and Simon Marlow"; - homepage = "http://www.haskell.org/alex/"; - url = ""; - synopsis = "Alex is a tool for generating lexical analysers in Haskell"; - description = "Alex is a tool for generating lexical analysers in Haskell.\nIt takes a description of tokens based on regular\nexpressions and generates a Haskell module containing code\nfor scanning text efficiently. It is similar to the tool\nlex or flex for C/C++."; - buildType = "Simple"; - isLocal = true; - detailLevel = "FullDetails"; - licenseFiles = [ "LICENSE" ]; - dataDir = "data/"; - dataFiles = [ - "AlexTemplate" - "AlexTemplate-ghc" - "AlexTemplate-ghc-nopred" - "AlexTemplate-ghc-debug" - "AlexTemplate-debug" - "AlexWrapper-basic" - "AlexWrapper-basic-bytestring" - "AlexWrapper-strict-bytestring" - "AlexWrapper-posn" - "AlexWrapper-posn-bytestring" - "AlexWrapper-monad" - "AlexWrapper-monad-bytestring" - "AlexWrapper-monadUserState" - "AlexWrapper-monadUserState-bytestring" - "AlexWrapper-gscan" - ]; - extraSrcFiles = [ - "CHANGELOG.md" - "README.md" - "TODO" - "alex.spec" - "doc/Makefile" - "doc/aclocal.m4" - "doc/alex.1.in" - "doc/alex.xml" - "doc/config.mk.in" - "doc/configure.ac" - "doc/docbook-xml.mk" - "doc/fptools.css" - "examples/Makefile" - "examples/Tokens.x" - "examples/Tokens_gscan.x" - "examples/Tokens_posn.x" - "examples/examples.x" - "examples/haskell.x" - "examples/lit.x" - "examples/pp.x" - "examples/state.x" - "examples/tiny.y" - "examples/words.x" - "examples/words_monad.x" - "examples/words_posn.x" - "src/Parser.y.boot" - "src/Scan.x.boot" - "src/ghc_hooks.c" - "templates/GenericTemplate.hs" - "templates/wrappers.hs" - "tests/Makefile" - "tests/simple.x" - "tests/null.x" - "tests/tokens.x" - "tests/tokens_gscan.x" - "tests/tokens_posn.x" - "tests/tokens_bytestring.x" - "tests/tokens_posn_bytestring.x" - "tests/tokens_scan_user.x" - "tests/tokens_strict_bytestring.x" - "tests/tokens_monad_bytestring.x" - "tests/tokens_monadUserState_bytestring.x" - "tests/tokens_bytestring_unicode.x" - "tests/basic_typeclass.x" - "tests/basic_typeclass_bytestring.x" - "tests/default_typeclass.x" - "tests/gscan_typeclass.x" - "tests/posn_typeclass.x" - "tests/monad_typeclass.x" - "tests/monad_typeclass_bytestring.x" - "tests/monadUserState_typeclass.x" - "tests/monadUserState_typeclass_bytestring.x" - "tests/posn_typeclass_bytestring.x" - "tests/strict_typeclass.x" - "tests/unicode.x" - ]; - extraTmpFiles = []; - extraDocFiles = []; - }; - components = { - exes = { - "alex" = { - depends = [ - (hsPkgs."base" or (errorHandler.buildDepError "base")) - ] ++ (if flags.small_base - then [ - (hsPkgs."base" or (errorHandler.buildDepError "base")) - (hsPkgs."array" or (errorHandler.buildDepError "array")) - (hsPkgs."containers" or (errorHandler.buildDepError "containers")) - (hsPkgs."directory" or (errorHandler.buildDepError "directory")) - ] - else [ (hsPkgs."base" or (errorHandler.buildDepError "base")) ]); - buildable = true; - modules = [ - "AbsSyn" - "CharSet" - "DFA" - "DFAMin" - "DFS" - "Info" - "Map" - "NFA" - "Output" - "Paths_alex" - "Parser" - "ParseMonad" - "Scan" - "Set" - "Sort" - "Util" - "UTF8" - "Data/Ranged" - "Data/Ranged/Boundaries" - "Data/Ranged/RangedSet" - "Data/Ranged/Ranges" - ]; - hsSourceDirs = [ "src" ]; - mainPath = [ "Main.hs" ] ++ [ "" ]; - }; - }; - tests = { - "tests" = { - depends = [ - (hsPkgs."base" or (errorHandler.buildDepError "base")) - (hsPkgs."process" or (errorHandler.buildDepError "process")) - ]; - build-tools = [ - (hsPkgs.pkgsBuildBuild.alex.components.exes.alex or (pkgs.pkgsBuildBuild.alex or (errorHandler.buildToolDepError "alex:alex"))) - ]; - buildable = true; - mainPath = [ "test.hs" ]; - }; - }; - }; - } // rec { src = (pkgs.lib).mkDefault ../.; } \ No newline at end of file diff --git a/materialized/bootstrap/ghc882/alex/default.nix b/materialized/bootstrap/ghc882/alex/default.nix deleted file mode 100644 index 2537ea5aa6..0000000000 --- a/materialized/bootstrap/ghc882/alex/default.nix +++ /dev/null @@ -1,69 +0,0 @@ -{ - pkgs = hackage: - { - packages = { - "ghc-prim".revision = (((hackage."ghc-prim")."0.5.3").revisions).default; - "array".revision = (((hackage."array")."0.5.4.0").revisions).default; - "integer-gmp".revision = (((hackage."integer-gmp")."1.0.2.0").revisions).default; - "process".revision = (((hackage."process")."1.6.7.0").revisions).default; - "base".revision = (((hackage."base")."4.13.0.0").revisions).default; - "rts".revision = (((hackage."rts")."1.0").revisions).default; - "time".revision = (((hackage."time")."1.9.3").revisions).default; - "unix".revision = (((hackage."unix")."2.7.2.2").revisions).default; - "bytestring".revision = (((hackage."bytestring")."0.10.10.0").revisions).default; - "containers".revision = (((hackage."containers")."0.6.2.1").revisions).default; - "directory".revision = (((hackage."directory")."1.3.4.0").revisions).default; - "filepath".revision = (((hackage."filepath")."1.4.2.1").revisions).default; - "deepseq".revision = (((hackage."deepseq")."1.4.4.0").revisions).default; - }; - compiler = { - version = "8.8.2"; - nix-name = "ghc882"; - packages = { - "ghc-prim" = "0.5.3"; - "array" = "0.5.4.0"; - "integer-gmp" = "1.0.2.0"; - "process" = "1.6.7.0"; - "base" = "4.13.0.0"; - "rts" = "1.0"; - "time" = "1.9.3"; - "unix" = "2.7.2.2"; - "bytestring" = "0.10.10.0"; - "containers" = "0.6.2.1"; - "directory" = "1.3.4.0"; - "filepath" = "1.4.2.1"; - "deepseq" = "1.4.4.0"; - }; - }; - }; - extras = hackage: - { packages = { alex = ./.plan.nix/alex.nix; }; }; - modules = [ - ({ lib, ... }: - { - packages = { - "alex" = { flags = { "small_base" = lib.mkOverride 900 true; }; }; - }; - }) - ({ lib, ... }: - { - packages = { - "containers".components.library.planned = lib.mkOverride 900 true; - "ghc-prim".components.library.planned = lib.mkOverride 900 true; - "process".components.library.planned = lib.mkOverride 900 true; - "integer-gmp".components.library.planned = lib.mkOverride 900 true; - "array".components.library.planned = lib.mkOverride 900 true; - "bytestring".components.library.planned = lib.mkOverride 900 true; - "unix".components.library.planned = lib.mkOverride 900 true; - "alex".components.exes."alex".planned = lib.mkOverride 900 true; - "base".components.library.planned = lib.mkOverride 900 true; - "rts".components.library.planned = lib.mkOverride 900 true; - "time".components.library.planned = lib.mkOverride 900 true; - "deepseq".components.library.planned = lib.mkOverride 900 true; - "filepath".components.library.planned = lib.mkOverride 900 true; - "directory".components.library.planned = lib.mkOverride 900 true; - "alex".components.tests."tests".planned = lib.mkOverride 900 true; - }; - }) - ]; - } \ No newline at end of file diff --git a/materialized/bootstrap/ghc882/happy-1.19.12/.plan.nix/happy.nix b/materialized/bootstrap/ghc882/happy-1.19.12/.plan.nix/happy.nix deleted file mode 100644 index 8a9ace8483..0000000000 --- a/materialized/bootstrap/ghc882/happy-1.19.12/.plan.nix/happy.nix +++ /dev/null @@ -1,200 +0,0 @@ -{ system - , compiler - , flags - , pkgs - , hsPkgs - , pkgconfPkgs - , errorHandler - , config - , ... }: - { - flags = { small_base = true; }; - package = { - specVersion = "1.8"; - identifier = { name = "happy"; version = "1.19.12"; }; - license = "BSD-2-Clause"; - copyright = "(c) Andy Gill, Simon Marlow"; - maintainer = "Simon Marlow "; - author = "Andy Gill and Simon Marlow"; - homepage = "https://www.haskell.org/happy/"; - url = ""; - synopsis = "Happy is a parser generator for Haskell"; - description = "Happy is a parser generator for Haskell. Given a grammar\nspecification in BNF, Happy generates Haskell code to parse the\ngrammar. Happy works in a similar way to the @yacc@ tool for C."; - buildType = "Simple"; - isLocal = true; - detailLevel = "FullDetails"; - licenseFiles = [ "LICENSE" ]; - dataDir = "data/"; - dataFiles = [ - "HappyTemplate" - "HappyTemplate-arrays" - "HappyTemplate-arrays-coerce" - "HappyTemplate-arrays-coerce-debug" - "HappyTemplate-arrays-debug" - "HappyTemplate-arrays-ghc" - "HappyTemplate-arrays-ghc-debug" - "HappyTemplate-coerce" - "HappyTemplate-ghc" - "GLR_Base" - "GLR_Lib" - "GLR_Lib-ghc" - "GLR_Lib-ghc-debug" - ]; - extraSrcFiles = [ - "ANNOUNCE" - "CHANGES" - "Makefile" - "README.md" - "TODO" - "doc/Makefile" - "doc/aclocal.m4" - "doc/config.mk.in" - "doc/configure.ac" - "doc/docbook-xml.mk" - "doc/fptools.css" - "doc/happy.1.in" - "doc/happy.xml" - "examples/glr/nlp/Main.lhs" - "examples/glr/nlp/Makefile" - "examples/glr/nlp/README" - "examples/glr/nlp/English.y" - "examples/glr/nlp/Hugs.lhs" - "examples/glr/Makefile" - "examples/glr/Makefile.defs" - "examples/glr/expr-eval/Main.lhs" - "examples/glr/expr-eval/Makefile" - "examples/glr/expr-eval/Expr.y" - "examples/glr/expr-eval/README" - "examples/glr/expr-eval/Hugs.lhs" - "examples/glr/expr-tree/Main.lhs" - "examples/glr/expr-tree/Makefile" - "examples/glr/expr-tree/Expr.y" - "examples/glr/expr-tree/README" - "examples/glr/expr-tree/Tree.lhs" - "examples/glr/expr-tree/Hugs.lhs" - "examples/glr/highly-ambiguous/Main.lhs" - "examples/glr/highly-ambiguous/Makefile" - "examples/glr/highly-ambiguous/Expr.y" - "examples/glr/highly-ambiguous/README" - "examples/glr/highly-ambiguous/Hugs.lhs" - "examples/glr/hidden-leftrec/Main.lhs" - "examples/glr/hidden-leftrec/Makefile" - "examples/glr/hidden-leftrec/Expr.y" - "examples/glr/hidden-leftrec/README" - "examples/glr/hidden-leftrec/Hugs.lhs" - "examples/glr/expr-monad/Main.lhs" - "examples/glr/expr-monad/Makefile" - "examples/glr/expr-monad/Expr.y" - "examples/glr/expr-monad/README" - "examples/glr/expr-monad/Hugs.lhs" - "examples/glr/bio-eg/Main.lhs" - "examples/glr/bio-eg/Makefile" - "examples/glr/bio-eg/Bio.y" - "examples/glr/bio-eg/README" - "examples/glr/bio-eg/1-1200.dna" - "examples/glr/bio-eg/1-600.dna" - "examples/glr/common/DV_lhs" - "examples/glr/common/DaVinciTypes.hs" - "examples/glr/packing/Main.lhs" - "examples/glr/packing/Makefile" - "examples/glr/packing/Expr.y" - "examples/glr/packing/README" - "examples/glr/packing/Hugs.lhs" - "examples/PgnParser.ly" - "examples/MonadTest.ly" - "examples/igloo/ParserM.hs" - "examples/igloo/Makefile" - "examples/igloo/Parser.y" - "examples/igloo/Foo.hs" - "examples/igloo/README" - "examples/igloo/Lexer.x" - "examples/README" - "examples/Calc.ly" - "examples/DavesExample.ly" - "examples/ErrorTest.ly" - "examples/ErlParser.ly" - "examples/SimonsExample.ly" - "examples/LexerTest.ly" - "happy.spec" - "src/ARRAY-NOTES" - "tests/AttrGrammar001.y" - "tests/AttrGrammar002.y" - "tests/Makefile" - "tests/Partial.ly" - "tests/Test.ly" - "tests/TestMulti.ly" - "tests/TestPrecedence.ly" - "tests/bogus-token.y" - "tests/bug001.ly" - "tests/bug002.y" - "tests/error001.stderr" - "tests/error001.stdout" - "tests/error001.y" - "tests/monad001.y" - "tests/monad002.ly" - "tests/monaderror.y" - "tests/precedence001.ly" - "tests/precedence002.y" - "tests/test_rules.y" - "tests/issue91.y" - "tests/issue93.y" - "tests/issue94.y" - "tests/issue95.y" - "tests/monaderror-explist.y" - "tests/typeclass_monad001.y" - "tests/typeclass_monad002.ly" - "tests/typeclass_monad_lexer.y" - "tests/rank2.y" - ]; - extraTmpFiles = []; - extraDocFiles = []; - }; - components = { - exes = { - "happy" = { - depends = [ - (hsPkgs."base" or (errorHandler.buildDepError "base")) - (hsPkgs."array" or (errorHandler.buildDepError "array")) - (hsPkgs."containers" or (errorHandler.buildDepError "containers")) - (hsPkgs."mtl" or (errorHandler.buildDepError "mtl")) - ]; - buildable = true; - modules = [ - "Paths_happy" - "AbsSyn" - "First" - "GenUtils" - "Grammar" - "Info" - "LALR" - "Lexer" - "ParseMonad" - "Parser" - "ProduceCode" - "ProduceGLRCode" - "NameSet" - "Target" - "AttrGrammar" - "AttrGrammarParser" - "ParamRules" - "PrettyGrammar" - ]; - hsSourceDirs = [ "src" ]; - mainPath = [ "Main.lhs" ]; - }; - }; - tests = { - "tests" = { - depends = [ - (hsPkgs."base" or (errorHandler.buildDepError "base")) - (hsPkgs."process" or (errorHandler.buildDepError "process")) - ]; - build-tools = [ - (hsPkgs.pkgsBuildBuild.happy.components.exes.happy or (pkgs.pkgsBuildBuild.happy or (errorHandler.buildToolDepError "happy:happy"))) - ]; - buildable = true; - mainPath = [ "test.hs" ]; - }; - }; - }; - } // rec { src = (pkgs.lib).mkDefault ../.; } \ No newline at end of file diff --git a/materialized/bootstrap/ghc882/happy-1.19.12/default.nix b/materialized/bootstrap/ghc882/happy-1.19.12/default.nix deleted file mode 100644 index b2c778f778..0000000000 --- a/materialized/bootstrap/ghc882/happy-1.19.12/default.nix +++ /dev/null @@ -1,75 +0,0 @@ -{ - pkgs = hackage: - { - packages = { - "ghc-prim".revision = (((hackage."ghc-prim")."0.5.3").revisions).default; - "array".revision = (((hackage."array")."0.5.4.0").revisions).default; - "integer-gmp".revision = (((hackage."integer-gmp")."1.0.2.0").revisions).default; - "process".revision = (((hackage."process")."1.6.7.0").revisions).default; - "base".revision = (((hackage."base")."4.13.0.0").revisions).default; - "rts".revision = (((hackage."rts")."1.0").revisions).default; - "mtl".revision = (((hackage."mtl")."2.2.2").revisions).default; - "time".revision = (((hackage."time")."1.9.3").revisions).default; - "unix".revision = (((hackage."unix")."2.7.2.2").revisions).default; - "bytestring".revision = (((hackage."bytestring")."0.10.10.0").revisions).default; - "containers".revision = (((hackage."containers")."0.6.2.1").revisions).default; - "directory".revision = (((hackage."directory")."1.3.4.0").revisions).default; - "filepath".revision = (((hackage."filepath")."1.4.2.1").revisions).default; - "deepseq".revision = (((hackage."deepseq")."1.4.4.0").revisions).default; - "transformers".revision = (((hackage."transformers")."0.5.6.2").revisions).default; - }; - compiler = { - version = "8.8.2"; - nix-name = "ghc882"; - packages = { - "ghc-prim" = "0.5.3"; - "array" = "0.5.4.0"; - "integer-gmp" = "1.0.2.0"; - "process" = "1.6.7.0"; - "base" = "4.13.0.0"; - "rts" = "1.0"; - "mtl" = "2.2.2"; - "time" = "1.9.3"; - "unix" = "2.7.2.2"; - "bytestring" = "0.10.10.0"; - "containers" = "0.6.2.1"; - "directory" = "1.3.4.0"; - "filepath" = "1.4.2.1"; - "deepseq" = "1.4.4.0"; - "transformers" = "0.5.6.2"; - }; - }; - }; - extras = hackage: - { packages = { happy = ./.plan.nix/happy.nix; }; }; - modules = [ - ({ lib, ... }: - { - packages = { - "happy" = { flags = { "small_base" = lib.mkOverride 900 true; }; }; - }; - }) - ({ lib, ... }: - { - packages = { - "containers".components.library.planned = lib.mkOverride 900 true; - "ghc-prim".components.library.planned = lib.mkOverride 900 true; - "happy".components.exes."happy".planned = lib.mkOverride 900 true; - "transformers".components.library.planned = lib.mkOverride 900 true; - "process".components.library.planned = lib.mkOverride 900 true; - "integer-gmp".components.library.planned = lib.mkOverride 900 true; - "array".components.library.planned = lib.mkOverride 900 true; - "bytestring".components.library.planned = lib.mkOverride 900 true; - "unix".components.library.planned = lib.mkOverride 900 true; - "base".components.library.planned = lib.mkOverride 900 true; - "rts".components.library.planned = lib.mkOverride 900 true; - "mtl".components.library.planned = lib.mkOverride 900 true; - "time".components.library.planned = lib.mkOverride 900 true; - "deepseq".components.library.planned = lib.mkOverride 900 true; - "filepath".components.library.planned = lib.mkOverride 900 true; - "happy".components.tests."tests".planned = lib.mkOverride 900 true; - "directory".components.library.planned = lib.mkOverride 900 true; - }; - }) - ]; - } \ No newline at end of file diff --git a/materialized/bootstrap/ghc882/hscolour/.plan.nix/hscolour.nix b/materialized/bootstrap/ghc882/hscolour/.plan.nix/hscolour.nix deleted file mode 100644 index 1f1cb89188..0000000000 --- a/materialized/bootstrap/ghc882/hscolour/.plan.nix/hscolour.nix +++ /dev/null @@ -1,70 +0,0 @@ -{ system - , compiler - , flags - , pkgs - , hsPkgs - , pkgconfPkgs - , errorHandler - , config - , ... }: - { - flags = {}; - package = { - specVersion = "1.6"; - identifier = { name = "hscolour"; version = "1.24.4"; }; - license = "LicenseRef-LGPL"; - copyright = "2003-2017 Malcolm Wallace; 2006 Bjorn Bringert"; - maintainer = "Malcolm Wallace"; - author = "Malcolm Wallace"; - homepage = "http://code.haskell.org/~malcolm/hscolour/"; - url = ""; - synopsis = "Colourise Haskell code."; - description = "hscolour is a small Haskell script to colourise Haskell code. It currently\nhas six output formats:\nANSI terminal codes (optionally XTerm-256colour codes),\nHTML 3.2 with tags,\nHTML 4.01 with CSS,\nHTML 4.01 with CSS and mouseover annotations,\nXHTML 1.0 with inline CSS styling,\nLaTeX,\nand mIRC chat codes."; - buildType = "Simple"; - isLocal = true; - detailLevel = "FullDetails"; - licenseFiles = [ "LICENCE-LGPL" ]; - dataDir = "."; - dataFiles = [ "hscolour.css" "data/rgb24-example-.hscolour" ]; - extraSrcFiles = []; - extraTmpFiles = []; - extraDocFiles = []; - }; - components = { - "library" = { - depends = [ - (hsPkgs."base" or (errorHandler.buildDepError "base")) - (hsPkgs."containers" or (errorHandler.buildDepError "containers")) - ]; - buildable = true; - modules = [ - "Language/Haskell/HsColour" - "Language/Haskell/HsColour/ANSI" - "Language/Haskell/HsColour/Anchors" - "Language/Haskell/HsColour/ACSS" - "Language/Haskell/HsColour/CSS" - "Language/Haskell/HsColour/Classify" - "Language/Haskell/HsColour/ColourHighlight" - "Language/Haskell/HsColour/Colourise" - "Language/Haskell/HsColour/General" - "Language/Haskell/HsColour/HTML" - "Language/Haskell/HsColour/InlineCSS" - "Language/Haskell/HsColour/LaTeX" - "Language/Haskell/HsColour/MIRC" - "Language/Haskell/HsColour/Options" - "Language/Haskell/HsColour/Output" - "Language/Haskell/HsColour/TTY" - ]; - }; - exes = { - "HsColour" = { - depends = [ - (hsPkgs."base" or (errorHandler.buildDepError "base")) - (hsPkgs."containers" or (errorHandler.buildDepError "containers")) - ]; - buildable = true; - mainPath = [ "HsColour.hs" ]; - }; - }; - }; - } // rec { src = (pkgs.lib).mkDefault ../.; } \ No newline at end of file diff --git a/materialized/bootstrap/ghc882/hscolour/default.nix b/materialized/bootstrap/ghc882/hscolour/default.nix deleted file mode 100644 index afa45d399d..0000000000 --- a/materialized/bootstrap/ghc882/hscolour/default.nix +++ /dev/null @@ -1,47 +0,0 @@ -{ - pkgs = hackage: - { - packages = { - "ghc-prim".revision = (((hackage."ghc-prim")."0.5.3").revisions).default; - "array".revision = (((hackage."array")."0.5.4.0").revisions).default; - "integer-gmp".revision = (((hackage."integer-gmp")."1.0.2.0").revisions).default; - "base".revision = (((hackage."base")."4.13.0.0").revisions).default; - "rts".revision = (((hackage."rts")."1.0").revisions).default; - "containers".revision = (((hackage."containers")."0.6.2.1").revisions).default; - "deepseq".revision = (((hackage."deepseq")."1.4.4.0").revisions).default; - }; - compiler = { - version = "8.8.2"; - nix-name = "ghc882"; - packages = { - "ghc-prim" = "0.5.3"; - "array" = "0.5.4.0"; - "integer-gmp" = "1.0.2.0"; - "base" = "4.13.0.0"; - "rts" = "1.0"; - "containers" = "0.6.2.1"; - "deepseq" = "1.4.4.0"; - }; - }; - }; - extras = hackage: - { packages = { hscolour = ./.plan.nix/hscolour.nix; }; }; - modules = [ - ({ lib, ... }: - { packages = { "hscolour" = { flags = {}; }; }; }) - ({ lib, ... }: - { - packages = { - "containers".components.library.planned = lib.mkOverride 900 true; - "ghc-prim".components.library.planned = lib.mkOverride 900 true; - "hscolour".components.exes."HsColour".planned = lib.mkOverride 900 true; - "hscolour".components.library.planned = lib.mkOverride 900 true; - "integer-gmp".components.library.planned = lib.mkOverride 900 true; - "array".components.library.planned = lib.mkOverride 900 true; - "base".components.library.planned = lib.mkOverride 900 true; - "rts".components.library.planned = lib.mkOverride 900 true; - "deepseq".components.library.planned = lib.mkOverride 900 true; - }; - }) - ]; - } \ No newline at end of file diff --git a/materialized/bootstrap/ghc883/alex/.plan.nix/alex.nix b/materialized/bootstrap/ghc883/alex/.plan.nix/alex.nix deleted file mode 100644 index 5294056b9c..0000000000 --- a/materialized/bootstrap/ghc883/alex/.plan.nix/alex.nix +++ /dev/null @@ -1,160 +0,0 @@ -{ system - , compiler - , flags - , pkgs - , hsPkgs - , pkgconfPkgs - , errorHandler - , config - , ... }: - { - flags = { small_base = true; }; - package = { - specVersion = "1.8"; - identifier = { name = "alex"; version = "3.2.4"; }; - license = "BSD-3-Clause"; - copyright = "(c) Chis Dornan, Simon Marlow"; - maintainer = "Simon Marlow "; - author = "Chris Dornan and Simon Marlow"; - homepage = "http://www.haskell.org/alex/"; - url = ""; - synopsis = "Alex is a tool for generating lexical analysers in Haskell"; - description = "Alex is a tool for generating lexical analysers in Haskell.\nIt takes a description of tokens based on regular\nexpressions and generates a Haskell module containing code\nfor scanning text efficiently. It is similar to the tool\nlex or flex for C/C++."; - buildType = "Simple"; - isLocal = true; - detailLevel = "FullDetails"; - licenseFiles = [ "LICENSE" ]; - dataDir = "data/"; - dataFiles = [ - "AlexTemplate" - "AlexTemplate-ghc" - "AlexTemplate-ghc-nopred" - "AlexTemplate-ghc-debug" - "AlexTemplate-debug" - "AlexWrapper-basic" - "AlexWrapper-basic-bytestring" - "AlexWrapper-strict-bytestring" - "AlexWrapper-posn" - "AlexWrapper-posn-bytestring" - "AlexWrapper-monad" - "AlexWrapper-monad-bytestring" - "AlexWrapper-monadUserState" - "AlexWrapper-monadUserState-bytestring" - "AlexWrapper-gscan" - ]; - extraSrcFiles = [ - "CHANGELOG.md" - "README.md" - "TODO" - "alex.spec" - "doc/Makefile" - "doc/aclocal.m4" - "doc/alex.1.in" - "doc/alex.xml" - "doc/config.mk.in" - "doc/configure.ac" - "doc/docbook-xml.mk" - "doc/fptools.css" - "examples/Makefile" - "examples/Tokens.x" - "examples/Tokens_gscan.x" - "examples/Tokens_posn.x" - "examples/examples.x" - "examples/haskell.x" - "examples/lit.x" - "examples/pp.x" - "examples/state.x" - "examples/tiny.y" - "examples/words.x" - "examples/words_monad.x" - "examples/words_posn.x" - "src/Parser.y.boot" - "src/Scan.x.boot" - "src/ghc_hooks.c" - "templates/GenericTemplate.hs" - "templates/wrappers.hs" - "tests/Makefile" - "tests/simple.x" - "tests/null.x" - "tests/tokens.x" - "tests/tokens_gscan.x" - "tests/tokens_posn.x" - "tests/tokens_bytestring.x" - "tests/tokens_posn_bytestring.x" - "tests/tokens_scan_user.x" - "tests/tokens_strict_bytestring.x" - "tests/tokens_monad_bytestring.x" - "tests/tokens_monadUserState_bytestring.x" - "tests/tokens_bytestring_unicode.x" - "tests/basic_typeclass.x" - "tests/basic_typeclass_bytestring.x" - "tests/default_typeclass.x" - "tests/gscan_typeclass.x" - "tests/posn_typeclass.x" - "tests/monad_typeclass.x" - "tests/monad_typeclass_bytestring.x" - "tests/monadUserState_typeclass.x" - "tests/monadUserState_typeclass_bytestring.x" - "tests/posn_typeclass_bytestring.x" - "tests/strict_typeclass.x" - "tests/unicode.x" - ]; - extraTmpFiles = []; - extraDocFiles = []; - }; - components = { - exes = { - "alex" = { - depends = [ - (hsPkgs."base" or (errorHandler.buildDepError "base")) - ] ++ (if flags.small_base - then [ - (hsPkgs."base" or (errorHandler.buildDepError "base")) - (hsPkgs."array" or (errorHandler.buildDepError "array")) - (hsPkgs."containers" or (errorHandler.buildDepError "containers")) - (hsPkgs."directory" or (errorHandler.buildDepError "directory")) - ] - else [ (hsPkgs."base" or (errorHandler.buildDepError "base")) ]); - buildable = true; - modules = [ - "AbsSyn" - "CharSet" - "DFA" - "DFAMin" - "DFS" - "Info" - "Map" - "NFA" - "Output" - "Paths_alex" - "Parser" - "ParseMonad" - "Scan" - "Set" - "Sort" - "Util" - "UTF8" - "Data/Ranged" - "Data/Ranged/Boundaries" - "Data/Ranged/RangedSet" - "Data/Ranged/Ranges" - ]; - hsSourceDirs = [ "src" ]; - mainPath = [ "Main.hs" ] ++ [ "" ]; - }; - }; - tests = { - "tests" = { - depends = [ - (hsPkgs."base" or (errorHandler.buildDepError "base")) - (hsPkgs."process" or (errorHandler.buildDepError "process")) - ]; - build-tools = [ - (hsPkgs.pkgsBuildBuild.alex.components.exes.alex or (pkgs.pkgsBuildBuild.alex or (errorHandler.buildToolDepError "alex:alex"))) - ]; - buildable = true; - mainPath = [ "test.hs" ]; - }; - }; - }; - } // rec { src = (pkgs.lib).mkDefault ../.; } \ No newline at end of file diff --git a/materialized/bootstrap/ghc883/alex/default.nix b/materialized/bootstrap/ghc883/alex/default.nix deleted file mode 100644 index 642bff635f..0000000000 --- a/materialized/bootstrap/ghc883/alex/default.nix +++ /dev/null @@ -1,65 +0,0 @@ -{ - pkgs = hackage: - { - packages = { - "array".revision = (((hackage."array")."0.5.4.0").revisions).default; - "bytestring".revision = (((hackage."bytestring")."0.10.10.0").revisions).default; - "filepath".revision = (((hackage."filepath")."1.4.2.1").revisions).default; - "ghc-prim".revision = (((hackage."ghc-prim")."0.5.3").revisions).default; - "base".revision = (((hackage."base")."4.13.0.0").revisions).default; - "time".revision = (((hackage."time")."1.9.3").revisions).default; - "directory".revision = (((hackage."directory")."1.3.6.0").revisions).default; - "rts".revision = (((hackage."rts")."1.0").revisions).default; - "deepseq".revision = (((hackage."deepseq")."1.4.4.0").revisions).default; - "unix".revision = (((hackage."unix")."2.7.2.2").revisions).default; - "integer-gmp".revision = (((hackage."integer-gmp")."1.0.2.0").revisions).default; - "containers".revision = (((hackage."containers")."0.6.2.1").revisions).default; - }; - compiler = { - version = "8.8.3"; - nix-name = "ghc883"; - packages = { - "array" = "0.5.4.0"; - "bytestring" = "0.10.10.0"; - "filepath" = "1.4.2.1"; - "ghc-prim" = "0.5.3"; - "base" = "4.13.0.0"; - "time" = "1.9.3"; - "directory" = "1.3.6.0"; - "rts" = "1.0"; - "deepseq" = "1.4.4.0"; - "unix" = "2.7.2.2"; - "integer-gmp" = "1.0.2.0"; - "containers" = "0.6.2.1"; - }; - }; - }; - extras = hackage: - { packages = { alex = ./.plan.nix/alex.nix; }; }; - modules = [ - ({ lib, ... }: - { - packages = { - "alex" = { flags = { "small_base" = lib.mkOverride 900 true; }; }; - }; - }) - ({ lib, ... }: - { - packages = { - "filepath".components.library.planned = lib.mkOverride 900 true; - "bytestring".components.library.planned = lib.mkOverride 900 true; - "ghc-prim".components.library.planned = lib.mkOverride 900 true; - "array".components.library.planned = lib.mkOverride 900 true; - "rts".components.library.planned = lib.mkOverride 900 true; - "unix".components.library.planned = lib.mkOverride 900 true; - "directory".components.library.planned = lib.mkOverride 900 true; - "time".components.library.planned = lib.mkOverride 900 true; - "alex".components.exes."alex".planned = lib.mkOverride 900 true; - "deepseq".components.library.planned = lib.mkOverride 900 true; - "base".components.library.planned = lib.mkOverride 900 true; - "integer-gmp".components.library.planned = lib.mkOverride 900 true; - "containers".components.library.planned = lib.mkOverride 900 true; - }; - }) - ]; - } \ No newline at end of file diff --git a/materialized/bootstrap/ghc883/happy-1.19.12/.plan.nix/happy.nix b/materialized/bootstrap/ghc883/happy-1.19.12/.plan.nix/happy.nix deleted file mode 100644 index 8a9ace8483..0000000000 --- a/materialized/bootstrap/ghc883/happy-1.19.12/.plan.nix/happy.nix +++ /dev/null @@ -1,200 +0,0 @@ -{ system - , compiler - , flags - , pkgs - , hsPkgs - , pkgconfPkgs - , errorHandler - , config - , ... }: - { - flags = { small_base = true; }; - package = { - specVersion = "1.8"; - identifier = { name = "happy"; version = "1.19.12"; }; - license = "BSD-2-Clause"; - copyright = "(c) Andy Gill, Simon Marlow"; - maintainer = "Simon Marlow "; - author = "Andy Gill and Simon Marlow"; - homepage = "https://www.haskell.org/happy/"; - url = ""; - synopsis = "Happy is a parser generator for Haskell"; - description = "Happy is a parser generator for Haskell. Given a grammar\nspecification in BNF, Happy generates Haskell code to parse the\ngrammar. Happy works in a similar way to the @yacc@ tool for C."; - buildType = "Simple"; - isLocal = true; - detailLevel = "FullDetails"; - licenseFiles = [ "LICENSE" ]; - dataDir = "data/"; - dataFiles = [ - "HappyTemplate" - "HappyTemplate-arrays" - "HappyTemplate-arrays-coerce" - "HappyTemplate-arrays-coerce-debug" - "HappyTemplate-arrays-debug" - "HappyTemplate-arrays-ghc" - "HappyTemplate-arrays-ghc-debug" - "HappyTemplate-coerce" - "HappyTemplate-ghc" - "GLR_Base" - "GLR_Lib" - "GLR_Lib-ghc" - "GLR_Lib-ghc-debug" - ]; - extraSrcFiles = [ - "ANNOUNCE" - "CHANGES" - "Makefile" - "README.md" - "TODO" - "doc/Makefile" - "doc/aclocal.m4" - "doc/config.mk.in" - "doc/configure.ac" - "doc/docbook-xml.mk" - "doc/fptools.css" - "doc/happy.1.in" - "doc/happy.xml" - "examples/glr/nlp/Main.lhs" - "examples/glr/nlp/Makefile" - "examples/glr/nlp/README" - "examples/glr/nlp/English.y" - "examples/glr/nlp/Hugs.lhs" - "examples/glr/Makefile" - "examples/glr/Makefile.defs" - "examples/glr/expr-eval/Main.lhs" - "examples/glr/expr-eval/Makefile" - "examples/glr/expr-eval/Expr.y" - "examples/glr/expr-eval/README" - "examples/glr/expr-eval/Hugs.lhs" - "examples/glr/expr-tree/Main.lhs" - "examples/glr/expr-tree/Makefile" - "examples/glr/expr-tree/Expr.y" - "examples/glr/expr-tree/README" - "examples/glr/expr-tree/Tree.lhs" - "examples/glr/expr-tree/Hugs.lhs" - "examples/glr/highly-ambiguous/Main.lhs" - "examples/glr/highly-ambiguous/Makefile" - "examples/glr/highly-ambiguous/Expr.y" - "examples/glr/highly-ambiguous/README" - "examples/glr/highly-ambiguous/Hugs.lhs" - "examples/glr/hidden-leftrec/Main.lhs" - "examples/glr/hidden-leftrec/Makefile" - "examples/glr/hidden-leftrec/Expr.y" - "examples/glr/hidden-leftrec/README" - "examples/glr/hidden-leftrec/Hugs.lhs" - "examples/glr/expr-monad/Main.lhs" - "examples/glr/expr-monad/Makefile" - "examples/glr/expr-monad/Expr.y" - "examples/glr/expr-monad/README" - "examples/glr/expr-monad/Hugs.lhs" - "examples/glr/bio-eg/Main.lhs" - "examples/glr/bio-eg/Makefile" - "examples/glr/bio-eg/Bio.y" - "examples/glr/bio-eg/README" - "examples/glr/bio-eg/1-1200.dna" - "examples/glr/bio-eg/1-600.dna" - "examples/glr/common/DV_lhs" - "examples/glr/common/DaVinciTypes.hs" - "examples/glr/packing/Main.lhs" - "examples/glr/packing/Makefile" - "examples/glr/packing/Expr.y" - "examples/glr/packing/README" - "examples/glr/packing/Hugs.lhs" - "examples/PgnParser.ly" - "examples/MonadTest.ly" - "examples/igloo/ParserM.hs" - "examples/igloo/Makefile" - "examples/igloo/Parser.y" - "examples/igloo/Foo.hs" - "examples/igloo/README" - "examples/igloo/Lexer.x" - "examples/README" - "examples/Calc.ly" - "examples/DavesExample.ly" - "examples/ErrorTest.ly" - "examples/ErlParser.ly" - "examples/SimonsExample.ly" - "examples/LexerTest.ly" - "happy.spec" - "src/ARRAY-NOTES" - "tests/AttrGrammar001.y" - "tests/AttrGrammar002.y" - "tests/Makefile" - "tests/Partial.ly" - "tests/Test.ly" - "tests/TestMulti.ly" - "tests/TestPrecedence.ly" - "tests/bogus-token.y" - "tests/bug001.ly" - "tests/bug002.y" - "tests/error001.stderr" - "tests/error001.stdout" - "tests/error001.y" - "tests/monad001.y" - "tests/monad002.ly" - "tests/monaderror.y" - "tests/precedence001.ly" - "tests/precedence002.y" - "tests/test_rules.y" - "tests/issue91.y" - "tests/issue93.y" - "tests/issue94.y" - "tests/issue95.y" - "tests/monaderror-explist.y" - "tests/typeclass_monad001.y" - "tests/typeclass_monad002.ly" - "tests/typeclass_monad_lexer.y" - "tests/rank2.y" - ]; - extraTmpFiles = []; - extraDocFiles = []; - }; - components = { - exes = { - "happy" = { - depends = [ - (hsPkgs."base" or (errorHandler.buildDepError "base")) - (hsPkgs."array" or (errorHandler.buildDepError "array")) - (hsPkgs."containers" or (errorHandler.buildDepError "containers")) - (hsPkgs."mtl" or (errorHandler.buildDepError "mtl")) - ]; - buildable = true; - modules = [ - "Paths_happy" - "AbsSyn" - "First" - "GenUtils" - "Grammar" - "Info" - "LALR" - "Lexer" - "ParseMonad" - "Parser" - "ProduceCode" - "ProduceGLRCode" - "NameSet" - "Target" - "AttrGrammar" - "AttrGrammarParser" - "ParamRules" - "PrettyGrammar" - ]; - hsSourceDirs = [ "src" ]; - mainPath = [ "Main.lhs" ]; - }; - }; - tests = { - "tests" = { - depends = [ - (hsPkgs."base" or (errorHandler.buildDepError "base")) - (hsPkgs."process" or (errorHandler.buildDepError "process")) - ]; - build-tools = [ - (hsPkgs.pkgsBuildBuild.happy.components.exes.happy or (pkgs.pkgsBuildBuild.happy or (errorHandler.buildToolDepError "happy:happy"))) - ]; - buildable = true; - mainPath = [ "test.hs" ]; - }; - }; - }; - } // rec { src = (pkgs.lib).mkDefault ../.; } \ No newline at end of file diff --git a/materialized/bootstrap/ghc883/happy-1.19.12/default.nix b/materialized/bootstrap/ghc883/happy-1.19.12/default.nix deleted file mode 100644 index f71d38eb82..0000000000 --- a/materialized/bootstrap/ghc883/happy-1.19.12/default.nix +++ /dev/null @@ -1,56 +0,0 @@ -{ - pkgs = hackage: - { - packages = { - "array".revision = (((hackage."array")."0.5.4.0").revisions).default; - "mtl".revision = (((hackage."mtl")."2.2.2").revisions).default; - "ghc-prim".revision = (((hackage."ghc-prim")."0.5.3").revisions).default; - "base".revision = (((hackage."base")."4.13.0.0").revisions).default; - "rts".revision = (((hackage."rts")."1.0").revisions).default; - "transformers".revision = (((hackage."transformers")."0.5.6.2").revisions).default; - "deepseq".revision = (((hackage."deepseq")."1.4.4.0").revisions).default; - "integer-gmp".revision = (((hackage."integer-gmp")."1.0.2.0").revisions).default; - "containers".revision = (((hackage."containers")."0.6.2.1").revisions).default; - }; - compiler = { - version = "8.8.3"; - nix-name = "ghc883"; - packages = { - "array" = "0.5.4.0"; - "mtl" = "2.2.2"; - "ghc-prim" = "0.5.3"; - "base" = "4.13.0.0"; - "rts" = "1.0"; - "transformers" = "0.5.6.2"; - "deepseq" = "1.4.4.0"; - "integer-gmp" = "1.0.2.0"; - "containers" = "0.6.2.1"; - }; - }; - }; - extras = hackage: - { packages = { happy = ./.plan.nix/happy.nix; }; }; - modules = [ - ({ lib, ... }: - { - packages = { - "happy" = { flags = { "small_base" = lib.mkOverride 900 true; }; }; - }; - }) - ({ lib, ... }: - { - packages = { - "ghc-prim".components.library.planned = lib.mkOverride 900 true; - "array".components.library.planned = lib.mkOverride 900 true; - "rts".components.library.planned = lib.mkOverride 900 true; - "happy".components.exes."happy".planned = lib.mkOverride 900 true; - "mtl".components.library.planned = lib.mkOverride 900 true; - "transformers".components.library.planned = lib.mkOverride 900 true; - "deepseq".components.library.planned = lib.mkOverride 900 true; - "base".components.library.planned = lib.mkOverride 900 true; - "integer-gmp".components.library.planned = lib.mkOverride 900 true; - "containers".components.library.planned = lib.mkOverride 900 true; - }; - }) - ]; - } \ No newline at end of file diff --git a/materialized/bootstrap/ghc883/hscolour/.plan.nix/hscolour.nix b/materialized/bootstrap/ghc883/hscolour/.plan.nix/hscolour.nix deleted file mode 100644 index 1f1cb89188..0000000000 --- a/materialized/bootstrap/ghc883/hscolour/.plan.nix/hscolour.nix +++ /dev/null @@ -1,70 +0,0 @@ -{ system - , compiler - , flags - , pkgs - , hsPkgs - , pkgconfPkgs - , errorHandler - , config - , ... }: - { - flags = {}; - package = { - specVersion = "1.6"; - identifier = { name = "hscolour"; version = "1.24.4"; }; - license = "LicenseRef-LGPL"; - copyright = "2003-2017 Malcolm Wallace; 2006 Bjorn Bringert"; - maintainer = "Malcolm Wallace"; - author = "Malcolm Wallace"; - homepage = "http://code.haskell.org/~malcolm/hscolour/"; - url = ""; - synopsis = "Colourise Haskell code."; - description = "hscolour is a small Haskell script to colourise Haskell code. It currently\nhas six output formats:\nANSI terminal codes (optionally XTerm-256colour codes),\nHTML 3.2 with tags,\nHTML 4.01 with CSS,\nHTML 4.01 with CSS and mouseover annotations,\nXHTML 1.0 with inline CSS styling,\nLaTeX,\nand mIRC chat codes."; - buildType = "Simple"; - isLocal = true; - detailLevel = "FullDetails"; - licenseFiles = [ "LICENCE-LGPL" ]; - dataDir = "."; - dataFiles = [ "hscolour.css" "data/rgb24-example-.hscolour" ]; - extraSrcFiles = []; - extraTmpFiles = []; - extraDocFiles = []; - }; - components = { - "library" = { - depends = [ - (hsPkgs."base" or (errorHandler.buildDepError "base")) - (hsPkgs."containers" or (errorHandler.buildDepError "containers")) - ]; - buildable = true; - modules = [ - "Language/Haskell/HsColour" - "Language/Haskell/HsColour/ANSI" - "Language/Haskell/HsColour/Anchors" - "Language/Haskell/HsColour/ACSS" - "Language/Haskell/HsColour/CSS" - "Language/Haskell/HsColour/Classify" - "Language/Haskell/HsColour/ColourHighlight" - "Language/Haskell/HsColour/Colourise" - "Language/Haskell/HsColour/General" - "Language/Haskell/HsColour/HTML" - "Language/Haskell/HsColour/InlineCSS" - "Language/Haskell/HsColour/LaTeX" - "Language/Haskell/HsColour/MIRC" - "Language/Haskell/HsColour/Options" - "Language/Haskell/HsColour/Output" - "Language/Haskell/HsColour/TTY" - ]; - }; - exes = { - "HsColour" = { - depends = [ - (hsPkgs."base" or (errorHandler.buildDepError "base")) - (hsPkgs."containers" or (errorHandler.buildDepError "containers")) - ]; - buildable = true; - mainPath = [ "HsColour.hs" ]; - }; - }; - }; - } // rec { src = (pkgs.lib).mkDefault ../.; } \ No newline at end of file diff --git a/materialized/bootstrap/ghc883/hscolour/default.nix b/materialized/bootstrap/ghc883/hscolour/default.nix deleted file mode 100644 index 1781401251..0000000000 --- a/materialized/bootstrap/ghc883/hscolour/default.nix +++ /dev/null @@ -1,47 +0,0 @@ -{ - pkgs = hackage: - { - packages = { - "array".revision = (((hackage."array")."0.5.4.0").revisions).default; - "ghc-prim".revision = (((hackage."ghc-prim")."0.5.3").revisions).default; - "base".revision = (((hackage."base")."4.13.0.0").revisions).default; - "rts".revision = (((hackage."rts")."1.0").revisions).default; - "deepseq".revision = (((hackage."deepseq")."1.4.4.0").revisions).default; - "integer-gmp".revision = (((hackage."integer-gmp")."1.0.2.0").revisions).default; - "containers".revision = (((hackage."containers")."0.6.2.1").revisions).default; - }; - compiler = { - version = "8.8.3"; - nix-name = "ghc883"; - packages = { - "array" = "0.5.4.0"; - "ghc-prim" = "0.5.3"; - "base" = "4.13.0.0"; - "rts" = "1.0"; - "deepseq" = "1.4.4.0"; - "integer-gmp" = "1.0.2.0"; - "containers" = "0.6.2.1"; - }; - }; - }; - extras = hackage: - { packages = { hscolour = ./.plan.nix/hscolour.nix; }; }; - modules = [ - ({ lib, ... }: - { packages = { "hscolour" = { flags = {}; }; }; }) - ({ lib, ... }: - { - packages = { - "ghc-prim".components.library.planned = lib.mkOverride 900 true; - "array".components.library.planned = lib.mkOverride 900 true; - "rts".components.library.planned = lib.mkOverride 900 true; - "hscolour".components.library.planned = lib.mkOverride 900 true; - "hscolour".components.exes."HsColour".planned = lib.mkOverride 900 true; - "deepseq".components.library.planned = lib.mkOverride 900 true; - "base".components.library.planned = lib.mkOverride 900 true; - "integer-gmp".components.library.planned = lib.mkOverride 900 true; - "containers".components.library.planned = lib.mkOverride 900 true; - }; - }) - ]; - } \ No newline at end of file diff --git a/materialized/bootstrap/ghc884/alex/.plan.nix/alex.nix b/materialized/bootstrap/ghc884/alex/.plan.nix/alex.nix deleted file mode 100644 index 5294056b9c..0000000000 --- a/materialized/bootstrap/ghc884/alex/.plan.nix/alex.nix +++ /dev/null @@ -1,160 +0,0 @@ -{ system - , compiler - , flags - , pkgs - , hsPkgs - , pkgconfPkgs - , errorHandler - , config - , ... }: - { - flags = { small_base = true; }; - package = { - specVersion = "1.8"; - identifier = { name = "alex"; version = "3.2.4"; }; - license = "BSD-3-Clause"; - copyright = "(c) Chis Dornan, Simon Marlow"; - maintainer = "Simon Marlow "; - author = "Chris Dornan and Simon Marlow"; - homepage = "http://www.haskell.org/alex/"; - url = ""; - synopsis = "Alex is a tool for generating lexical analysers in Haskell"; - description = "Alex is a tool for generating lexical analysers in Haskell.\nIt takes a description of tokens based on regular\nexpressions and generates a Haskell module containing code\nfor scanning text efficiently. It is similar to the tool\nlex or flex for C/C++."; - buildType = "Simple"; - isLocal = true; - detailLevel = "FullDetails"; - licenseFiles = [ "LICENSE" ]; - dataDir = "data/"; - dataFiles = [ - "AlexTemplate" - "AlexTemplate-ghc" - "AlexTemplate-ghc-nopred" - "AlexTemplate-ghc-debug" - "AlexTemplate-debug" - "AlexWrapper-basic" - "AlexWrapper-basic-bytestring" - "AlexWrapper-strict-bytestring" - "AlexWrapper-posn" - "AlexWrapper-posn-bytestring" - "AlexWrapper-monad" - "AlexWrapper-monad-bytestring" - "AlexWrapper-monadUserState" - "AlexWrapper-monadUserState-bytestring" - "AlexWrapper-gscan" - ]; - extraSrcFiles = [ - "CHANGELOG.md" - "README.md" - "TODO" - "alex.spec" - "doc/Makefile" - "doc/aclocal.m4" - "doc/alex.1.in" - "doc/alex.xml" - "doc/config.mk.in" - "doc/configure.ac" - "doc/docbook-xml.mk" - "doc/fptools.css" - "examples/Makefile" - "examples/Tokens.x" - "examples/Tokens_gscan.x" - "examples/Tokens_posn.x" - "examples/examples.x" - "examples/haskell.x" - "examples/lit.x" - "examples/pp.x" - "examples/state.x" - "examples/tiny.y" - "examples/words.x" - "examples/words_monad.x" - "examples/words_posn.x" - "src/Parser.y.boot" - "src/Scan.x.boot" - "src/ghc_hooks.c" - "templates/GenericTemplate.hs" - "templates/wrappers.hs" - "tests/Makefile" - "tests/simple.x" - "tests/null.x" - "tests/tokens.x" - "tests/tokens_gscan.x" - "tests/tokens_posn.x" - "tests/tokens_bytestring.x" - "tests/tokens_posn_bytestring.x" - "tests/tokens_scan_user.x" - "tests/tokens_strict_bytestring.x" - "tests/tokens_monad_bytestring.x" - "tests/tokens_monadUserState_bytestring.x" - "tests/tokens_bytestring_unicode.x" - "tests/basic_typeclass.x" - "tests/basic_typeclass_bytestring.x" - "tests/default_typeclass.x" - "tests/gscan_typeclass.x" - "tests/posn_typeclass.x" - "tests/monad_typeclass.x" - "tests/monad_typeclass_bytestring.x" - "tests/monadUserState_typeclass.x" - "tests/monadUserState_typeclass_bytestring.x" - "tests/posn_typeclass_bytestring.x" - "tests/strict_typeclass.x" - "tests/unicode.x" - ]; - extraTmpFiles = []; - extraDocFiles = []; - }; - components = { - exes = { - "alex" = { - depends = [ - (hsPkgs."base" or (errorHandler.buildDepError "base")) - ] ++ (if flags.small_base - then [ - (hsPkgs."base" or (errorHandler.buildDepError "base")) - (hsPkgs."array" or (errorHandler.buildDepError "array")) - (hsPkgs."containers" or (errorHandler.buildDepError "containers")) - (hsPkgs."directory" or (errorHandler.buildDepError "directory")) - ] - else [ (hsPkgs."base" or (errorHandler.buildDepError "base")) ]); - buildable = true; - modules = [ - "AbsSyn" - "CharSet" - "DFA" - "DFAMin" - "DFS" - "Info" - "Map" - "NFA" - "Output" - "Paths_alex" - "Parser" - "ParseMonad" - "Scan" - "Set" - "Sort" - "Util" - "UTF8" - "Data/Ranged" - "Data/Ranged/Boundaries" - "Data/Ranged/RangedSet" - "Data/Ranged/Ranges" - ]; - hsSourceDirs = [ "src" ]; - mainPath = [ "Main.hs" ] ++ [ "" ]; - }; - }; - tests = { - "tests" = { - depends = [ - (hsPkgs."base" or (errorHandler.buildDepError "base")) - (hsPkgs."process" or (errorHandler.buildDepError "process")) - ]; - build-tools = [ - (hsPkgs.pkgsBuildBuild.alex.components.exes.alex or (pkgs.pkgsBuildBuild.alex or (errorHandler.buildToolDepError "alex:alex"))) - ]; - buildable = true; - mainPath = [ "test.hs" ]; - }; - }; - }; - } // rec { src = (pkgs.lib).mkDefault ../.; } \ No newline at end of file diff --git a/materialized/bootstrap/ghc884/alex/default.nix b/materialized/bootstrap/ghc884/alex/default.nix deleted file mode 100644 index fc0c034912..0000000000 --- a/materialized/bootstrap/ghc884/alex/default.nix +++ /dev/null @@ -1,65 +0,0 @@ -{ - pkgs = hackage: - { - packages = { - "array".revision = (((hackage."array")."0.5.4.0").revisions).default; - "bytestring".revision = (((hackage."bytestring")."0.10.10.1").revisions).default; - "filepath".revision = (((hackage."filepath")."1.4.2.1").revisions).default; - "ghc-prim".revision = (((hackage."ghc-prim")."0.5.3").revisions).default; - "base".revision = (((hackage."base")."4.13.0.0").revisions).default; - "time".revision = (((hackage."time")."1.9.3").revisions).default; - "directory".revision = (((hackage."directory")."1.3.6.0").revisions).default; - "rts".revision = (((hackage."rts")."1.0").revisions).default; - "deepseq".revision = (((hackage."deepseq")."1.4.4.0").revisions).default; - "unix".revision = (((hackage."unix")."2.7.2.2").revisions).default; - "integer-gmp".revision = (((hackage."integer-gmp")."1.0.2.0").revisions).default; - "containers".revision = (((hackage."containers")."0.6.2.1").revisions).default; - }; - compiler = { - version = "8.8.4"; - nix-name = "ghc884"; - packages = { - "array" = "0.5.4.0"; - "bytestring" = "0.10.10.1"; - "filepath" = "1.4.2.1"; - "ghc-prim" = "0.5.3"; - "base" = "4.13.0.0"; - "time" = "1.9.3"; - "directory" = "1.3.6.0"; - "rts" = "1.0"; - "deepseq" = "1.4.4.0"; - "unix" = "2.7.2.2"; - "integer-gmp" = "1.0.2.0"; - "containers" = "0.6.2.1"; - }; - }; - }; - extras = hackage: - { packages = { alex = ./.plan.nix/alex.nix; }; }; - modules = [ - ({ lib, ... }: - { - packages = { - "alex" = { flags = { "small_base" = lib.mkOverride 900 true; }; }; - }; - }) - ({ lib, ... }: - { - packages = { - "filepath".components.library.planned = lib.mkOverride 900 true; - "bytestring".components.library.planned = lib.mkOverride 900 true; - "ghc-prim".components.library.planned = lib.mkOverride 900 true; - "array".components.library.planned = lib.mkOverride 900 true; - "rts".components.library.planned = lib.mkOverride 900 true; - "unix".components.library.planned = lib.mkOverride 900 true; - "directory".components.library.planned = lib.mkOverride 900 true; - "time".components.library.planned = lib.mkOverride 900 true; - "alex".components.exes."alex".planned = lib.mkOverride 900 true; - "deepseq".components.library.planned = lib.mkOverride 900 true; - "base".components.library.planned = lib.mkOverride 900 true; - "integer-gmp".components.library.planned = lib.mkOverride 900 true; - "containers".components.library.planned = lib.mkOverride 900 true; - }; - }) - ]; - } \ No newline at end of file diff --git a/materialized/bootstrap/ghc884/happy-1.19.12/.plan.nix/happy.nix b/materialized/bootstrap/ghc884/happy-1.19.12/.plan.nix/happy.nix deleted file mode 100644 index 8a9ace8483..0000000000 --- a/materialized/bootstrap/ghc884/happy-1.19.12/.plan.nix/happy.nix +++ /dev/null @@ -1,200 +0,0 @@ -{ system - , compiler - , flags - , pkgs - , hsPkgs - , pkgconfPkgs - , errorHandler - , config - , ... }: - { - flags = { small_base = true; }; - package = { - specVersion = "1.8"; - identifier = { name = "happy"; version = "1.19.12"; }; - license = "BSD-2-Clause"; - copyright = "(c) Andy Gill, Simon Marlow"; - maintainer = "Simon Marlow "; - author = "Andy Gill and Simon Marlow"; - homepage = "https://www.haskell.org/happy/"; - url = ""; - synopsis = "Happy is a parser generator for Haskell"; - description = "Happy is a parser generator for Haskell. Given a grammar\nspecification in BNF, Happy generates Haskell code to parse the\ngrammar. Happy works in a similar way to the @yacc@ tool for C."; - buildType = "Simple"; - isLocal = true; - detailLevel = "FullDetails"; - licenseFiles = [ "LICENSE" ]; - dataDir = "data/"; - dataFiles = [ - "HappyTemplate" - "HappyTemplate-arrays" - "HappyTemplate-arrays-coerce" - "HappyTemplate-arrays-coerce-debug" - "HappyTemplate-arrays-debug" - "HappyTemplate-arrays-ghc" - "HappyTemplate-arrays-ghc-debug" - "HappyTemplate-coerce" - "HappyTemplate-ghc" - "GLR_Base" - "GLR_Lib" - "GLR_Lib-ghc" - "GLR_Lib-ghc-debug" - ]; - extraSrcFiles = [ - "ANNOUNCE" - "CHANGES" - "Makefile" - "README.md" - "TODO" - "doc/Makefile" - "doc/aclocal.m4" - "doc/config.mk.in" - "doc/configure.ac" - "doc/docbook-xml.mk" - "doc/fptools.css" - "doc/happy.1.in" - "doc/happy.xml" - "examples/glr/nlp/Main.lhs" - "examples/glr/nlp/Makefile" - "examples/glr/nlp/README" - "examples/glr/nlp/English.y" - "examples/glr/nlp/Hugs.lhs" - "examples/glr/Makefile" - "examples/glr/Makefile.defs" - "examples/glr/expr-eval/Main.lhs" - "examples/glr/expr-eval/Makefile" - "examples/glr/expr-eval/Expr.y" - "examples/glr/expr-eval/README" - "examples/glr/expr-eval/Hugs.lhs" - "examples/glr/expr-tree/Main.lhs" - "examples/glr/expr-tree/Makefile" - "examples/glr/expr-tree/Expr.y" - "examples/glr/expr-tree/README" - "examples/glr/expr-tree/Tree.lhs" - "examples/glr/expr-tree/Hugs.lhs" - "examples/glr/highly-ambiguous/Main.lhs" - "examples/glr/highly-ambiguous/Makefile" - "examples/glr/highly-ambiguous/Expr.y" - "examples/glr/highly-ambiguous/README" - "examples/glr/highly-ambiguous/Hugs.lhs" - "examples/glr/hidden-leftrec/Main.lhs" - "examples/glr/hidden-leftrec/Makefile" - "examples/glr/hidden-leftrec/Expr.y" - "examples/glr/hidden-leftrec/README" - "examples/glr/hidden-leftrec/Hugs.lhs" - "examples/glr/expr-monad/Main.lhs" - "examples/glr/expr-monad/Makefile" - "examples/glr/expr-monad/Expr.y" - "examples/glr/expr-monad/README" - "examples/glr/expr-monad/Hugs.lhs" - "examples/glr/bio-eg/Main.lhs" - "examples/glr/bio-eg/Makefile" - "examples/glr/bio-eg/Bio.y" - "examples/glr/bio-eg/README" - "examples/glr/bio-eg/1-1200.dna" - "examples/glr/bio-eg/1-600.dna" - "examples/glr/common/DV_lhs" - "examples/glr/common/DaVinciTypes.hs" - "examples/glr/packing/Main.lhs" - "examples/glr/packing/Makefile" - "examples/glr/packing/Expr.y" - "examples/glr/packing/README" - "examples/glr/packing/Hugs.lhs" - "examples/PgnParser.ly" - "examples/MonadTest.ly" - "examples/igloo/ParserM.hs" - "examples/igloo/Makefile" - "examples/igloo/Parser.y" - "examples/igloo/Foo.hs" - "examples/igloo/README" - "examples/igloo/Lexer.x" - "examples/README" - "examples/Calc.ly" - "examples/DavesExample.ly" - "examples/ErrorTest.ly" - "examples/ErlParser.ly" - "examples/SimonsExample.ly" - "examples/LexerTest.ly" - "happy.spec" - "src/ARRAY-NOTES" - "tests/AttrGrammar001.y" - "tests/AttrGrammar002.y" - "tests/Makefile" - "tests/Partial.ly" - "tests/Test.ly" - "tests/TestMulti.ly" - "tests/TestPrecedence.ly" - "tests/bogus-token.y" - "tests/bug001.ly" - "tests/bug002.y" - "tests/error001.stderr" - "tests/error001.stdout" - "tests/error001.y" - "tests/monad001.y" - "tests/monad002.ly" - "tests/monaderror.y" - "tests/precedence001.ly" - "tests/precedence002.y" - "tests/test_rules.y" - "tests/issue91.y" - "tests/issue93.y" - "tests/issue94.y" - "tests/issue95.y" - "tests/monaderror-explist.y" - "tests/typeclass_monad001.y" - "tests/typeclass_monad002.ly" - "tests/typeclass_monad_lexer.y" - "tests/rank2.y" - ]; - extraTmpFiles = []; - extraDocFiles = []; - }; - components = { - exes = { - "happy" = { - depends = [ - (hsPkgs."base" or (errorHandler.buildDepError "base")) - (hsPkgs."array" or (errorHandler.buildDepError "array")) - (hsPkgs."containers" or (errorHandler.buildDepError "containers")) - (hsPkgs."mtl" or (errorHandler.buildDepError "mtl")) - ]; - buildable = true; - modules = [ - "Paths_happy" - "AbsSyn" - "First" - "GenUtils" - "Grammar" - "Info" - "LALR" - "Lexer" - "ParseMonad" - "Parser" - "ProduceCode" - "ProduceGLRCode" - "NameSet" - "Target" - "AttrGrammar" - "AttrGrammarParser" - "ParamRules" - "PrettyGrammar" - ]; - hsSourceDirs = [ "src" ]; - mainPath = [ "Main.lhs" ]; - }; - }; - tests = { - "tests" = { - depends = [ - (hsPkgs."base" or (errorHandler.buildDepError "base")) - (hsPkgs."process" or (errorHandler.buildDepError "process")) - ]; - build-tools = [ - (hsPkgs.pkgsBuildBuild.happy.components.exes.happy or (pkgs.pkgsBuildBuild.happy or (errorHandler.buildToolDepError "happy:happy"))) - ]; - buildable = true; - mainPath = [ "test.hs" ]; - }; - }; - }; - } // rec { src = (pkgs.lib).mkDefault ../.; } \ No newline at end of file diff --git a/materialized/bootstrap/ghc884/happy-1.19.12/default.nix b/materialized/bootstrap/ghc884/happy-1.19.12/default.nix deleted file mode 100644 index c818984180..0000000000 --- a/materialized/bootstrap/ghc884/happy-1.19.12/default.nix +++ /dev/null @@ -1,56 +0,0 @@ -{ - pkgs = hackage: - { - packages = { - "array".revision = (((hackage."array")."0.5.4.0").revisions).default; - "mtl".revision = (((hackage."mtl")."2.2.2").revisions).default; - "ghc-prim".revision = (((hackage."ghc-prim")."0.5.3").revisions).default; - "base".revision = (((hackage."base")."4.13.0.0").revisions).default; - "rts".revision = (((hackage."rts")."1.0").revisions).default; - "transformers".revision = (((hackage."transformers")."0.5.6.2").revisions).default; - "deepseq".revision = (((hackage."deepseq")."1.4.4.0").revisions).default; - "integer-gmp".revision = (((hackage."integer-gmp")."1.0.2.0").revisions).default; - "containers".revision = (((hackage."containers")."0.6.2.1").revisions).default; - }; - compiler = { - version = "8.8.4"; - nix-name = "ghc884"; - packages = { - "array" = "0.5.4.0"; - "mtl" = "2.2.2"; - "ghc-prim" = "0.5.3"; - "base" = "4.13.0.0"; - "rts" = "1.0"; - "transformers" = "0.5.6.2"; - "deepseq" = "1.4.4.0"; - "integer-gmp" = "1.0.2.0"; - "containers" = "0.6.2.1"; - }; - }; - }; - extras = hackage: - { packages = { happy = ./.plan.nix/happy.nix; }; }; - modules = [ - ({ lib, ... }: - { - packages = { - "happy" = { flags = { "small_base" = lib.mkOverride 900 true; }; }; - }; - }) - ({ lib, ... }: - { - packages = { - "ghc-prim".components.library.planned = lib.mkOverride 900 true; - "array".components.library.planned = lib.mkOverride 900 true; - "rts".components.library.planned = lib.mkOverride 900 true; - "happy".components.exes."happy".planned = lib.mkOverride 900 true; - "mtl".components.library.planned = lib.mkOverride 900 true; - "transformers".components.library.planned = lib.mkOverride 900 true; - "deepseq".components.library.planned = lib.mkOverride 900 true; - "base".components.library.planned = lib.mkOverride 900 true; - "integer-gmp".components.library.planned = lib.mkOverride 900 true; - "containers".components.library.planned = lib.mkOverride 900 true; - }; - }) - ]; - } \ No newline at end of file diff --git a/materialized/bootstrap/ghc884/hscolour/.plan.nix/hscolour.nix b/materialized/bootstrap/ghc884/hscolour/.plan.nix/hscolour.nix deleted file mode 100644 index 1f1cb89188..0000000000 --- a/materialized/bootstrap/ghc884/hscolour/.plan.nix/hscolour.nix +++ /dev/null @@ -1,70 +0,0 @@ -{ system - , compiler - , flags - , pkgs - , hsPkgs - , pkgconfPkgs - , errorHandler - , config - , ... }: - { - flags = {}; - package = { - specVersion = "1.6"; - identifier = { name = "hscolour"; version = "1.24.4"; }; - license = "LicenseRef-LGPL"; - copyright = "2003-2017 Malcolm Wallace; 2006 Bjorn Bringert"; - maintainer = "Malcolm Wallace"; - author = "Malcolm Wallace"; - homepage = "http://code.haskell.org/~malcolm/hscolour/"; - url = ""; - synopsis = "Colourise Haskell code."; - description = "hscolour is a small Haskell script to colourise Haskell code. It currently\nhas six output formats:\nANSI terminal codes (optionally XTerm-256colour codes),\nHTML 3.2 with tags,\nHTML 4.01 with CSS,\nHTML 4.01 with CSS and mouseover annotations,\nXHTML 1.0 with inline CSS styling,\nLaTeX,\nand mIRC chat codes."; - buildType = "Simple"; - isLocal = true; - detailLevel = "FullDetails"; - licenseFiles = [ "LICENCE-LGPL" ]; - dataDir = "."; - dataFiles = [ "hscolour.css" "data/rgb24-example-.hscolour" ]; - extraSrcFiles = []; - extraTmpFiles = []; - extraDocFiles = []; - }; - components = { - "library" = { - depends = [ - (hsPkgs."base" or (errorHandler.buildDepError "base")) - (hsPkgs."containers" or (errorHandler.buildDepError "containers")) - ]; - buildable = true; - modules = [ - "Language/Haskell/HsColour" - "Language/Haskell/HsColour/ANSI" - "Language/Haskell/HsColour/Anchors" - "Language/Haskell/HsColour/ACSS" - "Language/Haskell/HsColour/CSS" - "Language/Haskell/HsColour/Classify" - "Language/Haskell/HsColour/ColourHighlight" - "Language/Haskell/HsColour/Colourise" - "Language/Haskell/HsColour/General" - "Language/Haskell/HsColour/HTML" - "Language/Haskell/HsColour/InlineCSS" - "Language/Haskell/HsColour/LaTeX" - "Language/Haskell/HsColour/MIRC" - "Language/Haskell/HsColour/Options" - "Language/Haskell/HsColour/Output" - "Language/Haskell/HsColour/TTY" - ]; - }; - exes = { - "HsColour" = { - depends = [ - (hsPkgs."base" or (errorHandler.buildDepError "base")) - (hsPkgs."containers" or (errorHandler.buildDepError "containers")) - ]; - buildable = true; - mainPath = [ "HsColour.hs" ]; - }; - }; - }; - } // rec { src = (pkgs.lib).mkDefault ../.; } \ No newline at end of file diff --git a/materialized/bootstrap/ghc884/hscolour/default.nix b/materialized/bootstrap/ghc884/hscolour/default.nix deleted file mode 100644 index c2b240758a..0000000000 --- a/materialized/bootstrap/ghc884/hscolour/default.nix +++ /dev/null @@ -1,47 +0,0 @@ -{ - pkgs = hackage: - { - packages = { - "array".revision = (((hackage."array")."0.5.4.0").revisions).default; - "ghc-prim".revision = (((hackage."ghc-prim")."0.5.3").revisions).default; - "base".revision = (((hackage."base")."4.13.0.0").revisions).default; - "rts".revision = (((hackage."rts")."1.0").revisions).default; - "deepseq".revision = (((hackage."deepseq")."1.4.4.0").revisions).default; - "integer-gmp".revision = (((hackage."integer-gmp")."1.0.2.0").revisions).default; - "containers".revision = (((hackage."containers")."0.6.2.1").revisions).default; - }; - compiler = { - version = "8.8.4"; - nix-name = "ghc884"; - packages = { - "array" = "0.5.4.0"; - "ghc-prim" = "0.5.3"; - "base" = "4.13.0.0"; - "rts" = "1.0"; - "deepseq" = "1.4.4.0"; - "integer-gmp" = "1.0.2.0"; - "containers" = "0.6.2.1"; - }; - }; - }; - extras = hackage: - { packages = { hscolour = ./.plan.nix/hscolour.nix; }; }; - modules = [ - ({ lib, ... }: - { packages = { "hscolour" = { flags = {}; }; }; }) - ({ lib, ... }: - { - packages = { - "ghc-prim".components.library.planned = lib.mkOverride 900 true; - "array".components.library.planned = lib.mkOverride 900 true; - "rts".components.library.planned = lib.mkOverride 900 true; - "hscolour".components.library.planned = lib.mkOverride 900 true; - "hscolour".components.exes."HsColour".planned = lib.mkOverride 900 true; - "deepseq".components.library.planned = lib.mkOverride 900 true; - "base".components.library.planned = lib.mkOverride 900 true; - "integer-gmp".components.library.planned = lib.mkOverride 900 true; - "containers".components.library.planned = lib.mkOverride 900 true; - }; - }) - ]; - } \ No newline at end of file diff --git a/materialized/bootstrap/ghc964/hscolour/cabal-files/hscolour.nix b/materialized/bootstrap/ghc964/hscolour/cabal-files/hscolour.nix new file mode 100644 index 0000000000..406929b592 --- /dev/null +++ b/materialized/bootstrap/ghc964/hscolour/cabal-files/hscolour.nix @@ -0,0 +1,50 @@ +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: + ({ + flags = {}; + package = { + specVersion = "1.6"; + identifier = { name = "hscolour"; version = "1.24.4"; }; + license = "LicenseRef-LGPL"; + copyright = "2003-2017 Malcolm Wallace; 2006 Bjorn Bringert"; + maintainer = "Malcolm Wallace"; + author = "Malcolm Wallace"; + homepage = "http://code.haskell.org/~malcolm/hscolour/"; + url = ""; + synopsis = "Colourise Haskell code."; + description = "hscolour is a small Haskell script to colourise Haskell code. It currently\nhas six output formats:\nANSI terminal codes (optionally XTerm-256colour codes),\nHTML 3.2 with tags,\nHTML 4.01 with CSS,\nHTML 4.01 with CSS and mouseover annotations,\nXHTML 1.0 with inline CSS styling,\nLaTeX,\nand mIRC chat codes."; + buildType = "Simple"; + }; + components = { + "library" = { + depends = [ + (hsPkgs."base" or (errorHandler.buildDepError "base")) + (hsPkgs."containers" or (errorHandler.buildDepError "containers")) + ]; + buildable = true; + }; + exes = { + "HsColour" = { + depends = [ + (hsPkgs."base" or (errorHandler.buildDepError "base")) + (hsPkgs."containers" or (errorHandler.buildDepError "containers")) + ]; + buildable = true; + }; + }; + }; + } // { + src = pkgs.lib.mkDefault (pkgs.fetchurl { + url = "http://hackage.haskell.org/package/hscolour-1.24.4.tar.gz"; + sha256 = "243332b082294117f37b2c2c68079fa61af68b36223b3fc07594f245e0e5321d"; + }); + }) // { + package-description-override = "Name: hscolour\nVersion: 1.24.4\nCopyright: 2003-2017 Malcolm Wallace; 2006 Bjorn Bringert\nMaintainer: Malcolm Wallace\nAuthor: Malcolm Wallace\nHomepage: http://code.haskell.org/~malcolm/hscolour/\nLicense: LGPL\nLicense-file: LICENCE-LGPL\nSynopsis: Colourise Haskell code.\nDescription:\n hscolour is a small Haskell script to colourise Haskell code. It currently\n has six output formats: \n ANSI terminal codes (optionally XTerm-256colour codes),\n HTML 3.2 with tags,\n HTML 4.01 with CSS,\n HTML 4.01 with CSS and mouseover annotations,\n XHTML 1.0 with inline CSS styling,\n LaTeX,\n and mIRC chat codes.\nCategory: Language\nBuild-Type: Simple\nData-files: hscolour.css, data/rgb24-example-.hscolour\nCabal-version: >=1.6\n\n\nLibrary\n Build-depends: base < 10, containers\n Exposed-Modules: \n Language.Haskell.HsColour\n Language.Haskell.HsColour.ANSI\n Language.Haskell.HsColour.Anchors\n Language.Haskell.HsColour.ACSS\n Language.Haskell.HsColour.CSS\n Language.Haskell.HsColour.Classify\n Language.Haskell.HsColour.ColourHighlight\n Language.Haskell.HsColour.Colourise\n Language.Haskell.HsColour.General\n Language.Haskell.HsColour.HTML\n Language.Haskell.HsColour.InlineCSS\n Language.Haskell.HsColour.LaTeX\n Language.Haskell.HsColour.MIRC\n Language.Haskell.HsColour.Options\n Language.Haskell.HsColour.Output\n Language.Haskell.HsColour.TTY\n --ghc-options: -O -W\n Extensions: \n\n\nExecutable HsColour\n Build-depends: base < 10, containers\n Main-is: HsColour.hs\n --ghc-options: -O -W\n Extensions: CPP\n cpp-options: -DMAJOR=1 -DMINOR=24\n\n\n\nSource-repository head\n Type : darcs\n Location: http://code.haskell.org/~malcolm/hscolour\n"; + } \ No newline at end of file diff --git a/materialized/bootstrap/ghc964/hscolour/default.nix b/materialized/bootstrap/ghc964/hscolour/default.nix new file mode 100644 index 0000000000..3d98eff977 --- /dev/null +++ b/materialized/bootstrap/ghc964/hscolour/default.nix @@ -0,0 +1,67 @@ +{ + pkgs = hackage: + { + packages = { + ghc-prim.revision = hackage.ghc-prim."0.10.0".revisions.default; + base.revision = hackage.base."4.18.2.0".revisions.default; + hscolour.revision = import ./cabal-files/hscolour.nix; + ghc-boot-th.revision = hackage.ghc-boot-th."9.6.4".revisions.default; + pretty.revision = hackage.pretty."1.1.3.6".revisions.default; + template-haskell.revision = hackage.template-haskell."2.20.0.0".revisions.default; + deepseq.revision = hackage.deepseq."1.4.8.1".revisions.default; + containers.revision = hackage.containers."0.6.7".revisions.default; + array.revision = hackage.array."0.5.6.0".revisions.default; + ghc-bignum.revision = hackage.ghc-bignum."1.3".revisions.default; + }; + compiler = { + version = "9.6.4"; + nix-name = "ghc964"; + packages = { + "containers" = "0.6.7"; + "ghc-prim" = "0.10.0"; + "ghc-boot-th" = "9.6.4"; + "base" = "4.18.2.0"; + "ghc-bignum" = "1.3"; + "template-haskell" = "2.20.0.0"; + "pretty" = "1.1.3.6"; + "deepseq" = "1.4.8.1"; + "array" = "0.5.6.0"; + }; + }; + }; + extras = hackage: + { packages = {}; }; + modules = [ + { + preExistingPkgs = [ + "ghc-prim" + "base" + "ghc-boot-th" + "pretty" + "template-haskell" + "deepseq" + "containers" + "array" + "ghc-bignum" + ]; + } + ({ lib, ... }: + { packages = {}; }) + ({ lib, ... }: + { + packages = { + "hscolour".components.library.planned = lib.mkOverride 900 true; + "deepseq".components.library.planned = lib.mkOverride 900 true; + "base".components.library.planned = lib.mkOverride 900 true; + "hscolour".components.exes."HsColour".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; + "template-haskell".components.library.planned = lib.mkOverride 900 true; + "ghc-bignum".components.library.planned = lib.mkOverride 900 true; + "array".components.library.planned = lib.mkOverride 900 true; + "ghc-boot-th".components.library.planned = lib.mkOverride 900 true; + }; + }) + ]; +} \ No newline at end of file diff --git a/materialized/bootstrap/ghc964/hscolour/plan.json b/materialized/bootstrap/ghc964/hscolour/plan.json new file mode 100644 index 0000000000..5ad711e923 --- /dev/null +++ b/materialized/bootstrap/ghc964/hscolour/plan.json @@ -0,0 +1 @@ +{"cabal-version":"3.10.3.0","cabal-lib-version":"3.10.3.0","compiler-id":"ghc-9.6.4","os":"linux","arch":"x86_64","install-plan":[{"type":"pre-existing","id":"array-0.5.6.0","pkg-name":"array","pkg-version":"0.5.6.0","depends":["base-4.18.2.0"]},{"type":"pre-existing","id":"base-4.18.2.0","pkg-name":"base","pkg-version":"4.18.2.0","depends":["ghc-bignum-1.3","ghc-prim-0.10.0"]},{"type":"pre-existing","id":"containers-0.6.7","pkg-name":"containers","pkg-version":"0.6.7","depends":["array-0.5.6.0","base-4.18.2.0","deepseq-1.4.8.1","template-haskell-2.20.0.0"]},{"type":"pre-existing","id":"deepseq-1.4.8.1","pkg-name":"deepseq","pkg-version":"1.4.8.1","depends":["array-0.5.6.0","base-4.18.2.0","ghc-prim-0.10.0"]},{"type":"pre-existing","id":"ghc-bignum-1.3","pkg-name":"ghc-bignum","pkg-version":"1.3","depends":["ghc-prim-0.10.0"]},{"type":"pre-existing","id":"ghc-boot-th-9.6.4","pkg-name":"ghc-boot-th","pkg-version":"9.6.4","depends":["base-4.18.2.0"]},{"type":"pre-existing","id":"ghc-prim-0.10.0","pkg-name":"ghc-prim","pkg-version":"0.10.0","depends":[]},{"type":"configured","id":"hscolour-1.24.4-ae73c63c7b49cbcbb281d7a168793368b2052e424b3de962928768beee41ac1c","pkg-name":"hscolour","pkg-version":"1.24.4","flags":{},"style":"global","pkg-src":{"type":"repo-tar","repo":{"type":"secure-repo","uri":"http://hackage.haskell.org/"}},"pkg-cabal-sha256":"3a329fa0ea9138f651088f1fa25522aabeab0eb591932d3fd56c66736bbe78be","pkg-src-sha256":"243332b082294117f37b2c2c68079fa61af68b36223b3fc07594f245e0e5321d","components":{"lib":{"depends":["base-4.18.2.0","containers-0.6.7"],"exe-depends":[]},"exe:HsColour":{"depends":["base-4.18.2.0","containers-0.6.7"],"exe-depends":[],"bin-file":"/store/ghc-9.6.4/hscolour-1.24.4-ae73c63c7b49cbcbb281d7a168793368b2052e424b3de962928768beee41ac1c/bin/HsColour"}}},{"type":"pre-existing","id":"pretty-1.1.3.6","pkg-name":"pretty","pkg-version":"1.1.3.6","depends":["base-4.18.2.0","deepseq-1.4.8.1","ghc-prim-0.10.0"]},{"type":"pre-existing","id":"template-haskell-2.20.0.0","pkg-name":"template-haskell","pkg-version":"2.20.0.0","depends":["base-4.18.2.0","ghc-boot-th-9.6.4","ghc-prim-0.10.0","pretty-1.1.3.6"]}],"targets":[{"pkg-name":"array","pkg-version":"0.5.6.0","component-name":"lib","available":[{"id":"array-0.5.6.0","component-name":"lib","build-by-default":true}]},{"pkg-name":"base","pkg-version":"4.18.2.0","component-name":"lib","available":[{"id":"base-4.18.2.0","component-name":"lib","build-by-default":true}]},{"pkg-name":"containers","pkg-version":"0.6.7","component-name":"lib","available":[{"id":"containers-0.6.7","component-name":"lib","build-by-default":true}]},{"pkg-name":"deepseq","pkg-version":"1.4.8.1","component-name":"lib","available":[{"id":"deepseq-1.4.8.1","component-name":"lib","build-by-default":true}]},{"pkg-name":"ghc-bignum","pkg-version":"1.3","component-name":"lib","available":[{"id":"ghc-bignum-1.3","component-name":"lib","build-by-default":true}]},{"pkg-name":"ghc-boot-th","pkg-version":"9.6.4","component-name":"lib","available":[{"id":"ghc-boot-th-9.6.4","component-name":"lib","build-by-default":true}]},{"pkg-name":"ghc-prim","pkg-version":"0.10.0","component-name":"lib","available":[{"id":"ghc-prim-0.10.0","component-name":"lib","build-by-default":true}]},{"pkg-name":"hscolour","pkg-version":"1.24.4","component-name":"lib","available":[{"id":"hscolour-1.24.4-ae73c63c7b49cbcbb281d7a168793368b2052e424b3de962928768beee41ac1c","component-name":"lib","build-by-default":true}]},{"pkg-name":"hscolour","pkg-version":"1.24.4","component-name":"exe:HsColour","available":[{"id":"hscolour-1.24.4-ae73c63c7b49cbcbb281d7a168793368b2052e424b3de962928768beee41ac1c","component-name":"exe:HsColour","build-by-default":true}]},{"pkg-name":"pretty","pkg-version":"1.1.3.6","component-name":"lib","available":[{"id":"pretty-1.1.3.6","component-name":"lib","build-by-default":true}]},{"pkg-name":"template-haskell","pkg-version":"2.20.0.0","component-name":"lib","available":[{"id":"template-haskell-2.20.0.0","component-name":"lib","build-by-default":true}]}]} \ No newline at end of file diff --git a/materialized/bootstrap/ghc967/hscolour/cabal-files/hscolour.nix b/materialized/bootstrap/ghc967/hscolour/cabal-files/hscolour.nix new file mode 100644 index 0000000000..406929b592 --- /dev/null +++ b/materialized/bootstrap/ghc967/hscolour/cabal-files/hscolour.nix @@ -0,0 +1,50 @@ +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: + ({ + flags = {}; + package = { + specVersion = "1.6"; + identifier = { name = "hscolour"; version = "1.24.4"; }; + license = "LicenseRef-LGPL"; + copyright = "2003-2017 Malcolm Wallace; 2006 Bjorn Bringert"; + maintainer = "Malcolm Wallace"; + author = "Malcolm Wallace"; + homepage = "http://code.haskell.org/~malcolm/hscolour/"; + url = ""; + synopsis = "Colourise Haskell code."; + description = "hscolour is a small Haskell script to colourise Haskell code. It currently\nhas six output formats:\nANSI terminal codes (optionally XTerm-256colour codes),\nHTML 3.2 with tags,\nHTML 4.01 with CSS,\nHTML 4.01 with CSS and mouseover annotations,\nXHTML 1.0 with inline CSS styling,\nLaTeX,\nand mIRC chat codes."; + buildType = "Simple"; + }; + components = { + "library" = { + depends = [ + (hsPkgs."base" or (errorHandler.buildDepError "base")) + (hsPkgs."containers" or (errorHandler.buildDepError "containers")) + ]; + buildable = true; + }; + exes = { + "HsColour" = { + depends = [ + (hsPkgs."base" or (errorHandler.buildDepError "base")) + (hsPkgs."containers" or (errorHandler.buildDepError "containers")) + ]; + buildable = true; + }; + }; + }; + } // { + src = pkgs.lib.mkDefault (pkgs.fetchurl { + url = "http://hackage.haskell.org/package/hscolour-1.24.4.tar.gz"; + sha256 = "243332b082294117f37b2c2c68079fa61af68b36223b3fc07594f245e0e5321d"; + }); + }) // { + package-description-override = "Name: hscolour\nVersion: 1.24.4\nCopyright: 2003-2017 Malcolm Wallace; 2006 Bjorn Bringert\nMaintainer: Malcolm Wallace\nAuthor: Malcolm Wallace\nHomepage: http://code.haskell.org/~malcolm/hscolour/\nLicense: LGPL\nLicense-file: LICENCE-LGPL\nSynopsis: Colourise Haskell code.\nDescription:\n hscolour is a small Haskell script to colourise Haskell code. It currently\n has six output formats: \n ANSI terminal codes (optionally XTerm-256colour codes),\n HTML 3.2 with tags,\n HTML 4.01 with CSS,\n HTML 4.01 with CSS and mouseover annotations,\n XHTML 1.0 with inline CSS styling,\n LaTeX,\n and mIRC chat codes.\nCategory: Language\nBuild-Type: Simple\nData-files: hscolour.css, data/rgb24-example-.hscolour\nCabal-version: >=1.6\n\n\nLibrary\n Build-depends: base < 10, containers\n Exposed-Modules: \n Language.Haskell.HsColour\n Language.Haskell.HsColour.ANSI\n Language.Haskell.HsColour.Anchors\n Language.Haskell.HsColour.ACSS\n Language.Haskell.HsColour.CSS\n Language.Haskell.HsColour.Classify\n Language.Haskell.HsColour.ColourHighlight\n Language.Haskell.HsColour.Colourise\n Language.Haskell.HsColour.General\n Language.Haskell.HsColour.HTML\n Language.Haskell.HsColour.InlineCSS\n Language.Haskell.HsColour.LaTeX\n Language.Haskell.HsColour.MIRC\n Language.Haskell.HsColour.Options\n Language.Haskell.HsColour.Output\n Language.Haskell.HsColour.TTY\n --ghc-options: -O -W\n Extensions: \n\n\nExecutable HsColour\n Build-depends: base < 10, containers\n Main-is: HsColour.hs\n --ghc-options: -O -W\n Extensions: CPP\n cpp-options: -DMAJOR=1 -DMINOR=24\n\n\n\nSource-repository head\n Type : darcs\n Location: http://code.haskell.org/~malcolm/hscolour\n"; + } \ No newline at end of file diff --git a/materialized/bootstrap/ghc967/hscolour/default.nix b/materialized/bootstrap/ghc967/hscolour/default.nix new file mode 100644 index 0000000000..af8972d913 --- /dev/null +++ b/materialized/bootstrap/ghc967/hscolour/default.nix @@ -0,0 +1,67 @@ +{ + pkgs = hackage: + { + packages = { + hscolour.revision = import ./cabal-files/hscolour.nix; + ghc-bignum.revision = hackage.ghc-bignum."1.3".revisions.default; + deepseq.revision = hackage.deepseq."1.4.8.1".revisions.default; + base.revision = hackage.base."4.18.3.0".revisions.default; + array.revision = hackage.array."0.5.8.0".revisions.default; + template-haskell.revision = hackage.template-haskell."2.20.0.0".revisions.default; + ghc-boot-th.revision = hackage.ghc-boot-th."9.6.7".revisions.default; + ghc-prim.revision = hackage.ghc-prim."0.10.0".revisions.default; + pretty.revision = hackage.pretty."1.1.3.6".revisions.default; + containers.revision = hackage.containers."0.6.7".revisions.default; + }; + compiler = { + version = "9.6.7"; + nix-name = "ghc967"; + packages = { + "ghc-boot-th" = "9.6.7"; + "pretty" = "1.1.3.6"; + "array" = "0.5.8.0"; + "ghc-prim" = "0.10.0"; + "template-haskell" = "2.20.0.0"; + "ghc-bignum" = "1.3"; + "deepseq" = "1.4.8.1"; + "containers" = "0.6.7"; + "base" = "4.18.3.0"; + }; + }; + }; + extras = hackage: + { packages = {}; }; + modules = [ + { + preExistingPkgs = [ + "ghc-bignum" + "deepseq" + "base" + "array" + "template-haskell" + "ghc-boot-th" + "ghc-prim" + "pretty" + "containers" + ]; + } + ({ lib, ... }: + { packages = {}; }) + ({ lib, ... }: + { + packages = { + "template-haskell".components.library.planned = lib.mkOverride 900 true; + "hscolour".components.library.planned = lib.mkOverride 900 true; + "array".components.library.planned = lib.mkOverride 900 true; + "hscolour".components.exes."HsColour".planned = lib.mkOverride 900 true; + "containers".components.library.planned = lib.mkOverride 900 true; + "deepseq".components.library.planned = lib.mkOverride 900 true; + "ghc-bignum".components.library.planned = lib.mkOverride 900 true; + "pretty".components.library.planned = lib.mkOverride 900 true; + "ghc-boot-th".components.library.planned = lib.mkOverride 900 true; + "base".components.library.planned = lib.mkOverride 900 true; + "ghc-prim".components.library.planned = lib.mkOverride 900 true; + }; + }) + ]; +} \ No newline at end of file diff --git a/materialized/bootstrap/ghc967/hscolour/plan.json b/materialized/bootstrap/ghc967/hscolour/plan.json new file mode 100644 index 0000000000..436b6a79ee --- /dev/null +++ b/materialized/bootstrap/ghc967/hscolour/plan.json @@ -0,0 +1 @@ +{"cabal-version":"3.14.2.0","cabal-lib-version":"3.14.2.0","compiler-id":"ghc-9.6.7","os":"osx","arch":"aarch64","install-plan":[{"type":"pre-existing","id":"array-0.5.8.0","pkg-name":"array","pkg-version":"0.5.8.0","depends":["base-4.18.3.0"]},{"type":"pre-existing","id":"base-4.18.3.0","pkg-name":"base","pkg-version":"4.18.3.0","depends":["ghc-prim-0.10.0","ghc-bignum-1.3"]},{"type":"pre-existing","id":"containers-0.6.7","pkg-name":"containers","pkg-version":"0.6.7","depends":["base-4.18.3.0","array-0.5.8.0","deepseq-1.4.8.1","template-haskell-2.20.0.0"]},{"type":"pre-existing","id":"deepseq-1.4.8.1","pkg-name":"deepseq","pkg-version":"1.4.8.1","depends":["base-4.18.3.0","array-0.5.8.0"]},{"type":"pre-existing","id":"ghc-bignum-1.3","pkg-name":"ghc-bignum","pkg-version":"1.3","depends":["ghc-prim-0.10.0"]},{"type":"pre-existing","id":"ghc-boot-th-9.6.7","pkg-name":"ghc-boot-th","pkg-version":"9.6.7","depends":["base-4.18.3.0"]},{"type":"pre-existing","id":"ghc-prim-0.10.0","pkg-name":"ghc-prim","pkg-version":"0.10.0","depends":[]},{"type":"configured","id":"hsclr-1.24.4-29561872","pkg-name":"hscolour","pkg-version":"1.24.4","flags":{},"style":"global","pkg-src":{"type":"repo-tar","repo":{"type":"secure-repo","uri":"http://hackage.haskell.org/"}},"pkg-cabal-sha256":"3a329fa0ea9138f651088f1fa25522aabeab0eb591932d3fd56c66736bbe78be","pkg-src-sha256":"243332b082294117f37b2c2c68079fa61af68b36223b3fc07594f245e0e5321d","components":{"lib":{"depends":["base-4.18.3.0","containers-0.6.7"],"exe-depends":[]},"exe:HsColour":{"depends":["base-4.18.3.0","containers-0.6.7"],"exe-depends":[],"bin-file":"/store/ghc-9.6.7/hsclr-1.24.4-29561872/bin/HsColour"}}},{"type":"pre-existing","id":"pretty-1.1.3.6","pkg-name":"pretty","pkg-version":"1.1.3.6","depends":["base-4.18.3.0","deepseq-1.4.8.1","ghc-prim-0.10.0"]},{"type":"pre-existing","id":"template-haskell-2.20.0.0","pkg-name":"template-haskell","pkg-version":"2.20.0.0","depends":["base-4.18.3.0","ghc-boot-th-9.6.7","ghc-prim-0.10.0","pretty-1.1.3.6"]}],"targets":[{"pkg-name":"array","pkg-version":"0.5.8.0","component-name":"lib","available":[{"id":"array-0.5.8.0","component-name":"lib","build-by-default":true}]},{"pkg-name":"base","pkg-version":"4.18.3.0","component-name":"lib","available":[{"id":"base-4.18.3.0","component-name":"lib","build-by-default":true}]},{"pkg-name":"containers","pkg-version":"0.6.7","component-name":"lib","available":[{"id":"containers-0.6.7","component-name":"lib","build-by-default":true}]},{"pkg-name":"deepseq","pkg-version":"1.4.8.1","component-name":"lib","available":[{"id":"deepseq-1.4.8.1","component-name":"lib","build-by-default":true}]},{"pkg-name":"ghc-bignum","pkg-version":"1.3","component-name":"lib","available":[{"id":"ghc-bignum-1.3","component-name":"lib","build-by-default":true}]},{"pkg-name":"ghc-boot-th","pkg-version":"9.6.7","component-name":"lib","available":[{"id":"ghc-boot-th-9.6.7","component-name":"lib","build-by-default":true}]},{"pkg-name":"ghc-prim","pkg-version":"0.10.0","component-name":"lib","available":[{"id":"ghc-prim-0.10.0","component-name":"lib","build-by-default":true}]},{"pkg-name":"hscolour","pkg-version":"1.24.4","component-name":"lib","available":[{"id":"hsclr-1.24.4-29561872","component-name":"lib","build-by-default":true}]},{"pkg-name":"hscolour","pkg-version":"1.24.4","component-name":"exe:HsColour","available":[{"id":"hsclr-1.24.4-29561872","component-name":"exe:HsColour","build-by-default":true}]},{"pkg-name":"pretty","pkg-version":"1.1.3.6","component-name":"lib","available":[{"id":"pretty-1.1.3.6","component-name":"lib","build-by-default":true}]},{"pkg-name":"template-haskell","pkg-version":"2.20.0.0","component-name":"lib","available":[{"id":"template-haskell-2.20.0.0","component-name":"lib","build-by-default":true}]}]} \ No newline at end of file diff --git a/materialized/ghc-boot-packages-nix/ghc9101-aarch64/ghc-toolchain.nix b/materialized/ghc-boot-packages-nix/ghc9101-aarch64/ghc-toolchain.nix new file mode 100644 index 0000000000..a46ace1fa2 --- /dev/null +++ b/materialized/ghc-boot-packages-nix/ghc9101-aarch64/ghc-toolchain.nix @@ -0,0 +1,39 @@ +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: + { + flags = {}; + package = { + specVersion = "2.4"; + identifier = { name = "ghc-toolchain"; version = "0.1.0.0"; }; + license = "NONE"; + copyright = "(c) The GHC Developers"; + maintainer = "ben@well-typed.com"; + author = "Ben Gamari"; + homepage = ""; + url = ""; + synopsis = "Utility for managing GHC target toolchains"; + description = ""; + 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."transformers" or (errorHandler.buildDepError "transformers")) + (hsPkgs."text" or (errorHandler.buildDepError "text")) + (hsPkgs."ghc-platform" or (errorHandler.buildDepError "ghc-platform")) + ]; + buildable = true; + }; + }; + } // rec { src = pkgs.lib.mkDefault ./.; } diff --git a/materialized/ghc-boot-packages-nix/ghc9101-ghcjs/ghc-toolchain.nix b/materialized/ghc-boot-packages-nix/ghc9101-ghcjs/ghc-toolchain.nix new file mode 100644 index 0000000000..a46ace1fa2 --- /dev/null +++ b/materialized/ghc-boot-packages-nix/ghc9101-ghcjs/ghc-toolchain.nix @@ -0,0 +1,39 @@ +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: + { + flags = {}; + package = { + specVersion = "2.4"; + identifier = { name = "ghc-toolchain"; version = "0.1.0.0"; }; + license = "NONE"; + copyright = "(c) The GHC Developers"; + maintainer = "ben@well-typed.com"; + author = "Ben Gamari"; + homepage = ""; + url = ""; + synopsis = "Utility for managing GHC target toolchains"; + description = ""; + 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."transformers" or (errorHandler.buildDepError "transformers")) + (hsPkgs."text" or (errorHandler.buildDepError "text")) + (hsPkgs."ghc-platform" or (errorHandler.buildDepError "ghc-platform")) + ]; + buildable = true; + }; + }; + } // rec { src = pkgs.lib.mkDefault ./.; } diff --git a/materialized/ghc-boot-packages-nix/ghc9101/ghc-toolchain.nix b/materialized/ghc-boot-packages-nix/ghc9101/ghc-toolchain.nix new file mode 100644 index 0000000000..a46ace1fa2 --- /dev/null +++ b/materialized/ghc-boot-packages-nix/ghc9101/ghc-toolchain.nix @@ -0,0 +1,39 @@ +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: + { + flags = {}; + package = { + specVersion = "2.4"; + identifier = { name = "ghc-toolchain"; version = "0.1.0.0"; }; + license = "NONE"; + copyright = "(c) The GHC Developers"; + maintainer = "ben@well-typed.com"; + author = "Ben Gamari"; + homepage = ""; + url = ""; + synopsis = "Utility for managing GHC target toolchains"; + description = ""; + 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."transformers" or (errorHandler.buildDepError "transformers")) + (hsPkgs."text" or (errorHandler.buildDepError "text")) + (hsPkgs."ghc-platform" or (errorHandler.buildDepError "ghc-platform")) + ]; + buildable = true; + }; + }; + } // rec { src = pkgs.lib.mkDefault ./.; } diff --git a/materialized/ghc-boot-packages-nix/ghc9102-aarch64/base.nix b/materialized/ghc-boot-packages-nix/ghc9102-aarch64/base.nix new file mode 100644 index 0000000000..d8fd178125 --- /dev/null +++ b/materialized/ghc-boot-packages-nix/ghc9102-aarch64/base.nix @@ -0,0 +1,34 @@ +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: + { + flags = {}; + package = { + specVersion = "3.0"; + identifier = { name = "base"; version = "4.20.1.0"; }; + license = "BSD-3-Clause"; + copyright = ""; + maintainer = "Core Libraries Committee "; + author = ""; + homepage = ""; + url = ""; + synopsis = "Core data structures and operations"; + description = "Haskell's base library provides, among other things, core types (e.g. [Bool](\"Data.Bool\") and [Int](\"Data.Int\")),\ndata structures (e.g. [List](\"Data.List\"), [Tuple](\"Data.Tuple\") and [Maybe](\"Data.Maybe\")),\nthe [Exception](\"Control.Exception\") mechanism, and the [IO](\"System.IO\") & [Concurrency](\"Control.Concurrent\") operations.\nThe \"Prelude\" module, which is imported by default, exposes a curated set of types and functions from other modules.\n\nOther data structures like [Map](https://hackage.haskell.org/package/containers/docs/Data-Map.html),\n[Set](https://hackage.haskell.org/package/containers/docs/Data-Set.html) are available in the [containers](https://hackage.haskell.org/package/containers) library.\nTo work with textual data, use the [text](https://hackage.haskell.org/package/text/docs/Data-Text.html) library."; + buildType = "Simple"; + }; + components = { + "library" = { + depends = [ + (hsPkgs."ghc-internal" or (errorHandler.buildDepError "ghc-internal")) + (hsPkgs."ghc-prim" or (errorHandler.buildDepError "ghc-prim")) + ]; + buildable = true; + }; + }; + } // rec { src = pkgs.lib.mkDefault ./.; } diff --git a/materialized/ghc-boot-packages-nix/ghc9102-aarch64/deriveConstants.nix b/materialized/ghc-boot-packages-nix/ghc9102-aarch64/deriveConstants.nix new file mode 100644 index 0000000000..135cdd02f6 --- /dev/null +++ b/materialized/ghc-boot-packages-nix/ghc9102-aarch64/deriveConstants.nix @@ -0,0 +1,39 @@ +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: + { + flags = {}; + package = { + specVersion = "1.10"; + identifier = { name = "deriveConstants"; version = "0.1"; }; + license = "BSD-3-Clause"; + copyright = "XXX"; + maintainer = "XXX"; + author = "XXX"; + homepage = ""; + url = ""; + synopsis = "Derive header files containing various constants for the GHC build process"; + description = "This utility is responsible for generating a number of C header files\nneeded during the GHC build process. See @rts/include/ghc.mk@ in the GHC\nbuild system for details."; + buildType = "Simple"; + }; + components = { + exes = { + "deriveConstants" = { + depends = [ + (hsPkgs."base" or (errorHandler.buildDepError "base")) + (hsPkgs."containers" or (errorHandler.buildDepError "containers")) + (hsPkgs."process" or (errorHandler.buildDepError "process")) + (hsPkgs."filepath" or (errorHandler.buildDepError "filepath")) + (hsPkgs."directory" or (errorHandler.buildDepError "directory")) + ]; + buildable = true; + }; + }; + }; + } // rec { src = pkgs.lib.mkDefault ./.; } diff --git a/materialized/ghc-boot-packages-nix/ghc9102-aarch64/genprimopcode.nix b/materialized/ghc-boot-packages-nix/ghc9102-aarch64/genprimopcode.nix new file mode 100644 index 0000000000..49bbe516ba --- /dev/null +++ b/materialized/ghc-boot-packages-nix/ghc9102-aarch64/genprimopcode.nix @@ -0,0 +1,40 @@ +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: + { + flags = { build-tool-depends = true; }; + package = { + specVersion = "2.0"; + identifier = { name = "genprimopcode"; version = "0.1"; }; + license = "BSD-3-Clause"; + copyright = "XXX"; + maintainer = "XXX"; + author = "XXX"; + homepage = ""; + url = ""; + synopsis = "Generates various files implementing GHC's primitive operations."; + description = "This utility reads a textual description of GHC's primitive operations\n(@primops.txt.pp@) and produces a number of outputs. These include,\n\n* the @GHC.Prim@ module included in the @ghc-prim@ package.\n* the @GHC.PrimopWrappers@ module included in the @ghc-prim@ package.\n* an LaTeX document describing the primitive operations."; + buildType = "Simple"; + }; + components = { + exes = { + "genprimopcode" = { + depends = [ + (hsPkgs."base" or (errorHandler.buildDepError "base")) + (hsPkgs."array" or (errorHandler.buildDepError "array")) + ]; + build-tools = pkgs.lib.optionals (flags.build-tool-depends) [ + (hsPkgs.pkgsBuildBuild.alex.components.exes.alex or (pkgs.pkgsBuildBuild.alex or (errorHandler.buildToolDepError "alex:alex"))) + (hsPkgs.pkgsBuildBuild.happy.components.exes.happy or (pkgs.pkgsBuildBuild.happy or (errorHandler.buildToolDepError "happy:happy"))) + ]; + buildable = true; + }; + }; + }; + } // rec { src = pkgs.lib.mkDefault ./.; } diff --git a/materialized/ghc-boot-packages-nix/ghc9102-aarch64/ghc-bignum.nix b/materialized/ghc-boot-packages-nix/ghc9102-aarch64/ghc-bignum.nix new file mode 100644 index 0000000000..46af6e0e9f --- /dev/null +++ b/materialized/ghc-boot-packages-nix/ghc9102-aarch64/ghc-bignum.nix @@ -0,0 +1,37 @@ +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: + { + flags = { native = false; ffi = false; gmp = false; check = false; }; + package = { + specVersion = "2.0"; + identifier = { name = "ghc-bignum"; version = "1.3"; }; + license = "BSD-3-Clause"; + copyright = ""; + maintainer = "libraries@haskell.org"; + author = "Sylvain Henry"; + homepage = ""; + url = ""; + synopsis = "GHC BigNum library"; + description = "This package provides the low-level implementation of the standard\n'BigNat', 'Natural' and 'Integer' types."; + buildType = "Configure"; + }; + components = { + "library" = { + depends = [ + (hsPkgs."ghc-prim" or (errorHandler.buildDepError "ghc-prim")) + ]; + buildable = (if !flags.native && !flags.gmp && !flags.ffi + then false + else true) && (if flags.native && (flags.gmp || flags.ffi) + then false + else true) && (if flags.gmp && flags.ffi then false else true); + }; + }; + } // rec { src = pkgs.lib.mkDefault ./.; } diff --git a/materialized/ghc-boot-packages-nix/ghc9102-aarch64/ghc-boot.nix b/materialized/ghc-boot-packages-nix/ghc9102-aarch64/ghc-boot.nix new file mode 100644 index 0000000000..1e1aa12a64 --- /dev/null +++ b/materialized/ghc-boot-packages-nix/ghc9102-aarch64/ghc-boot.nix @@ -0,0 +1,47 @@ +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: + { + flags = {}; + package = { + specVersion = "3.0"; + identifier = { name = "ghc-boot"; version = "9.10.2"; }; + license = "BSD-3-Clause"; + copyright = ""; + maintainer = "ghc-devs@haskell.org"; + author = ""; + homepage = ""; + url = ""; + synopsis = "Shared functionality between GHC and its boot libraries"; + description = "This library is shared between GHC, ghc-pkg, and other boot\nlibraries.\n.\nA note about \"GHC.Unit.Database\": it only deals with the subset of\nthe package database that the compiler cares about: modules\npaths etc and not package metadata like description, authors\netc. It is thus not a library interface to ghc-pkg and is *not*\nsuitable for modifying GHC package databases.\n.\nThe package database format and this library are constructed in\nsuch a way that while ghc-pkg depends on Cabal, the GHC library\nand program do not have to depend on Cabal."; + buildType = "Custom"; + setup-depends = [ + (hsPkgs.pkgsBuildBuild.base or (pkgs.pkgsBuildBuild.base or (errorHandler.setupDepError "base"))) + (hsPkgs.pkgsBuildBuild.Cabal or (pkgs.pkgsBuildBuild.Cabal or (errorHandler.setupDepError "Cabal"))) + (hsPkgs.pkgsBuildBuild.directory or (pkgs.pkgsBuildBuild.directory or (errorHandler.setupDepError "directory"))) + (hsPkgs.pkgsBuildBuild.filepath or (pkgs.pkgsBuildBuild.filepath or (errorHandler.setupDepError "filepath"))) + ]; + }; + components = { + "library" = { + depends = [ + (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."directory" or (errorHandler.buildDepError "directory")) + (hsPkgs."filepath" or (errorHandler.buildDepError "filepath")) + (hsPkgs."deepseq" or (errorHandler.buildDepError "deepseq")) + (hsPkgs."ghc-platform" or (errorHandler.buildDepError "ghc-platform")) + (hsPkgs."ghc-boot-th" or (errorHandler.buildDepError "ghc-boot-th")) + ] ++ pkgs.lib.optional (!system.isWindows) (hsPkgs."unix" or (errorHandler.buildDepError "unix")); + buildable = true; + }; + }; + } // rec { src = pkgs.lib.mkDefault ./.; } diff --git a/materialized/ghc-boot-packages-nix/ghc9102-aarch64/ghc-heap.nix b/materialized/ghc-boot-packages-nix/ghc9102-aarch64/ghc-heap.nix new file mode 100644 index 0000000000..8593829a68 --- /dev/null +++ b/materialized/ghc-boot-packages-nix/ghc9102-aarch64/ghc-heap.nix @@ -0,0 +1,36 @@ +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: + { + flags = {}; + package = { + specVersion = "3.0"; + identifier = { name = "ghc-heap"; version = "9.10.2"; }; + license = "BSD-3-Clause"; + copyright = ""; + maintainer = "libraries@haskell.org"; + author = ""; + homepage = ""; + url = ""; + synopsis = "Functions for walking GHC's heap"; + description = "This package provides functions for walking the GHC heap data structures\nand retrieving information about those data structures."; + buildType = "Simple"; + }; + components = { + "library" = { + depends = [ + (hsPkgs."base" or (errorHandler.buildDepError "base")) + (hsPkgs."ghc-prim" or (errorHandler.buildDepError "ghc-prim")) + (hsPkgs."rts" or (errorHandler.buildDepError "rts")) + (hsPkgs."containers" or (errorHandler.buildDepError "containers")) + ] ++ pkgs.lib.optional (compiler.isGhc && compiler.version.ge "9.9") (hsPkgs."ghc-internal" or (errorHandler.buildDepError "ghc-internal")); + buildable = true; + }; + }; + } // rec { src = pkgs.lib.mkDefault ./.; } diff --git a/materialized/ghc-boot-packages-nix/ghc9102-aarch64/ghc-internal.nix b/materialized/ghc-boot-packages-nix/ghc9102-aarch64/ghc-internal.nix new file mode 100644 index 0000000000..5577b8c091 --- /dev/null +++ b/materialized/ghc-boot-packages-nix/ghc9102-aarch64/ghc-internal.nix @@ -0,0 +1,49 @@ +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: + { + flags = {}; + package = { + specVersion = "3.0"; + identifier = { name = "ghc-internal"; version = "9.1002.0"; }; + license = "BSD-3-Clause"; + copyright = ""; + maintainer = "Core Libraries Committee "; + author = ""; + homepage = ""; + url = ""; + synopsis = "Basic libraries"; + description = "This package contains the Standard Haskell \"Prelude\" and its support libraries,\nand a large collection of useful libraries ranging from data\nstructures to parsing combinators and debugging utilities."; + buildType = "Configure"; + }; + components = { + "library" = { + depends = [ + (hsPkgs."rts" or (errorHandler.buildDepError "rts")) + (hsPkgs."ghc-prim" or (errorHandler.buildDepError "ghc-prim")) + (hsPkgs."ghc-bignum" or (errorHandler.buildDepError "ghc-bignum")) + ]; + libs = pkgs.lib.optionals (system.isWindows) [ + (pkgs."wsock32" or (errorHandler.sysDepError "wsock32")) + (pkgs."user32" or (errorHandler.sysDepError "user32")) + (pkgs."shell32" or (errorHandler.sysDepError "shell32")) + (pkgs."mingw32" or (errorHandler.sysDepError "mingw32")) + (pkgs."kernel32" or (errorHandler.sysDepError "kernel32")) + (pkgs."advapi32" or (errorHandler.sysDepError "advapi32")) + (pkgs."mingwex" or (errorHandler.sysDepError "mingwex")) + (pkgs."ws2_32" or (errorHandler.sysDepError "ws2_32")) + (pkgs."shlwapi" or (errorHandler.sysDepError "shlwapi")) + (pkgs."ole32" or (errorHandler.sysDepError "ole32")) + (pkgs."rpcrt4" or (errorHandler.sysDepError "rpcrt4")) + (pkgs."ntdll" or (errorHandler.sysDepError "ntdll")) + ]; + buildable = true; + }; + }; + } // rec { src = pkgs.lib.mkDefault ./.; } diff --git a/materialized/ghc-boot-packages-nix/ghc9102-aarch64/ghc-platform.nix b/materialized/ghc-boot-packages-nix/ghc9102-aarch64/ghc-platform.nix new file mode 100644 index 0000000000..9a99aece09 --- /dev/null +++ b/materialized/ghc-boot-packages-nix/ghc9102-aarch64/ghc-platform.nix @@ -0,0 +1,31 @@ +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: + { + flags = {}; + package = { + specVersion = "3.0"; + identifier = { name = "ghc-platform"; version = "0.1.0.0"; }; + license = "BSD-3-Clause"; + copyright = ""; + maintainer = "ghc-devs@haskell.org"; + author = "Rodrigo Mesquita"; + homepage = ""; + url = ""; + synopsis = "Platform information used by GHC and friends"; + description = ""; + buildType = "Simple"; + }; + components = { + "library" = { + depends = [ (hsPkgs."base" or (errorHandler.buildDepError "base")) ]; + buildable = true; + }; + }; + } // rec { src = pkgs.lib.mkDefault ./.; } diff --git a/materialized/ghc-boot-packages-nix/ghc9102-aarch64/ghc-prim.nix b/materialized/ghc-boot-packages-nix/ghc9102-aarch64/ghc-prim.nix new file mode 100644 index 0000000000..c10529f48d --- /dev/null +++ b/materialized/ghc-boot-packages-nix/ghc9102-aarch64/ghc-prim.nix @@ -0,0 +1,47 @@ +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: + { + flags = { need-atomic = false; }; + package = { + specVersion = "2.2"; + identifier = { name = "ghc-prim"; version = "0.12.0"; }; + license = "BSD-3-Clause"; + copyright = ""; + maintainer = "libraries@haskell.org"; + author = ""; + homepage = ""; + url = ""; + synopsis = "GHC primitives"; + description = "This package contains the primitive types and operations supplied by GHC.\nIt is an internal package, only for the use of GHC developers.\nGHC users should not use it! If you do use it then expect\nbreaking changes at any time without warning. You should prefer\nto import @GHC.Exts@ from the @base@ package instead."; + buildType = "Custom"; + setup-depends = [ + (hsPkgs.pkgsBuildBuild.base or (pkgs.pkgsBuildBuild.base or (errorHandler.setupDepError "base"))) + (hsPkgs.pkgsBuildBuild.process or (pkgs.pkgsBuildBuild.process or (errorHandler.setupDepError "process"))) + (hsPkgs.pkgsBuildBuild.filepath or (pkgs.pkgsBuildBuild.filepath or (errorHandler.setupDepError "filepath"))) + (hsPkgs.pkgsBuildBuild.directory or (pkgs.pkgsBuildBuild.directory or (errorHandler.setupDepError "directory"))) + (hsPkgs.pkgsBuildBuild.Cabal or (pkgs.pkgsBuildBuild.Cabal or (errorHandler.setupDepError "Cabal"))) + ]; + }; + components = { + "library" = { + depends = [ (hsPkgs."rts" or (errorHandler.buildDepError "rts")) ]; + libs = (pkgs.lib.optionals (system.isWindows) [ + (pkgs."user32" or (errorHandler.sysDepError "user32")) + (pkgs."mingw32" or (errorHandler.sysDepError "mingw32")) + (pkgs."mingwex" or (errorHandler.sysDepError "mingwex")) + (pkgs."ucrt" or (errorHandler.sysDepError "ucrt")) + ] ++ pkgs.lib.optionals (system.isLinux) [ + (pkgs."c" or (errorHandler.sysDepError "c")) + (pkgs."m" or (errorHandler.sysDepError "m")) + ]) ++ pkgs.lib.optional (flags.need-atomic) (pkgs."atomic" or (errorHandler.sysDepError "atomic")); + buildable = true; + }; + }; + } // rec { src = pkgs.lib.mkDefault ./.; } diff --git a/materialized/ghc-boot-packages-nix/ghc9102-aarch64/ghc-toolchain.nix b/materialized/ghc-boot-packages-nix/ghc9102-aarch64/ghc-toolchain.nix new file mode 100644 index 0000000000..a46ace1fa2 --- /dev/null +++ b/materialized/ghc-boot-packages-nix/ghc9102-aarch64/ghc-toolchain.nix @@ -0,0 +1,39 @@ +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: + { + flags = {}; + package = { + specVersion = "2.4"; + identifier = { name = "ghc-toolchain"; version = "0.1.0.0"; }; + license = "NONE"; + copyright = "(c) The GHC Developers"; + maintainer = "ben@well-typed.com"; + author = "Ben Gamari"; + homepage = ""; + url = ""; + synopsis = "Utility for managing GHC target toolchains"; + description = ""; + 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."transformers" or (errorHandler.buildDepError "transformers")) + (hsPkgs."text" or (errorHandler.buildDepError "text")) + (hsPkgs."ghc-platform" or (errorHandler.buildDepError "ghc-platform")) + ]; + buildable = true; + }; + }; + } // rec { src = pkgs.lib.mkDefault ./.; } diff --git a/materialized/ghc-boot-packages-nix/ghc9102-aarch64/ghc.nix b/materialized/ghc-boot-packages-nix/ghc9102-aarch64/ghc.nix new file mode 100644 index 0000000000..2028733218 --- /dev/null +++ b/materialized/ghc-boot-packages-nix/ghc9102-aarch64/ghc.nix @@ -0,0 +1,81 @@ +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: + { + flags = { + internal-interpreter = false; + dynamic-system-linker = true; + build-tool-depends = true; + with-libzstd = false; + static-libzstd = false; + hadrian-stage0 = false; + }; + package = { + specVersion = "2.2"; + identifier = { name = "ghc"; version = "9.10.2"; }; + license = "BSD-3-Clause"; + copyright = ""; + maintainer = "glasgow-haskell-users@haskell.org"; + author = "The GHC Team"; + homepage = "http://www.haskell.org/ghc/"; + url = ""; + synopsis = "The GHC API"; + description = "GHC's functionality can be useful for more things than just\ncompiling Haskell programs. Important use cases are programs\nthat analyse (and perhaps transform) Haskell code. Others\ninclude loading Haskell code dynamically in a GHCi-like manner.\nFor this reason, a lot of GHC's functionality is made available\nthrough this package.\n\nSee \nfor more information.\n\n__This package is not PVP-compliant.__\n\nThis package directly exposes GHC internals, which can and do change with\nevery release."; + buildType = "Custom"; + setup-depends = [ + (hsPkgs.pkgsBuildBuild.base or (pkgs.pkgsBuildBuild.base or (errorHandler.setupDepError "base"))) + (hsPkgs.pkgsBuildBuild.Cabal or (pkgs.pkgsBuildBuild.Cabal or (errorHandler.setupDepError "Cabal"))) + (hsPkgs.pkgsBuildBuild.directory or (pkgs.pkgsBuildBuild.directory or (errorHandler.setupDepError "directory"))) + (hsPkgs.pkgsBuildBuild.process or (pkgs.pkgsBuildBuild.process or (errorHandler.setupDepError "process"))) + (hsPkgs.pkgsBuildBuild.filepath or (pkgs.pkgsBuildBuild.filepath or (errorHandler.setupDepError "filepath"))) + (hsPkgs.pkgsBuildBuild.containers or (pkgs.pkgsBuildBuild.containers or (errorHandler.setupDepError "containers"))) + ]; + }; + components = { + "library" = { + depends = [ + (hsPkgs."base" or (errorHandler.buildDepError "base")) + (hsPkgs."deepseq" or (errorHandler.buildDepError "deepseq")) + (hsPkgs."directory" or (errorHandler.buildDepError "directory")) + (hsPkgs."process" or (errorHandler.buildDepError "process")) + (hsPkgs."bytestring" or (errorHandler.buildDepError "bytestring")) + (hsPkgs."binary" or (errorHandler.buildDepError "binary")) + (hsPkgs."time" or (errorHandler.buildDepError "time")) + (hsPkgs."containers" or (errorHandler.buildDepError "containers")) + (hsPkgs."array" or (errorHandler.buildDepError "array")) + (hsPkgs."filepath" or (errorHandler.buildDepError "filepath")) + (hsPkgs."template-haskell" or (errorHandler.buildDepError "template-haskell")) + (hsPkgs."hpc" or (errorHandler.buildDepError "hpc")) + (hsPkgs."transformers" or (errorHandler.buildDepError "transformers")) + (hsPkgs."exceptions" or (errorHandler.buildDepError "exceptions")) + (hsPkgs."semaphore-compat" or (errorHandler.buildDepError "semaphore-compat")) + (hsPkgs."stm" or (errorHandler.buildDepError "stm")) + (hsPkgs."ghc-boot" or (errorHandler.buildDepError "ghc-boot")) + (hsPkgs."ghc-heap" or (errorHandler.buildDepError "ghc-heap")) + (hsPkgs."ghci" or (errorHandler.buildDepError "ghci")) + ] ++ (if system.isWindows + then [ (hsPkgs."Win32" or (errorHandler.buildDepError "Win32")) ] + else [ (hsPkgs."unix" or (errorHandler.buildDepError "unix")) ]); + libs = pkgs.lib.optionals (flags.with-libzstd) (if flags.static-libzstd + then pkgs.lib.optional (!system.isOsx) (pkgs.":libzstd.a" or (errorHandler.sysDepError ":libzstd.a")) + else [ (pkgs."zstd" or (errorHandler.sysDepError "zstd")) ]); + build-tools = pkgs.lib.optionals (flags.build-tool-depends) [ + (hsPkgs.pkgsBuildBuild.alex.components.exes.alex or (pkgs.pkgsBuildBuild.alex or (errorHandler.buildToolDepError "alex:alex"))) + (hsPkgs.pkgsBuildBuild.happy.components.exes.happy or (pkgs.pkgsBuildBuild.happy or (errorHandler.buildToolDepError "happy:happy"))) + (hsPkgs.pkgsBuildBuild.genprimopcode.components.exes.genprimopcode or (pkgs.pkgsBuildBuild.genprimopcode or (errorHandler.buildToolDepError "genprimopcode:genprimopcode"))) + (hsPkgs.pkgsBuildBuild.deriveConstants.components.exes.deriveConstants or (pkgs.pkgsBuildBuild.deriveConstants or (errorHandler.buildToolDepError "deriveConstants:deriveConstants"))) + ]; + buildable = if flags.with-libzstd + then if flags.static-libzstd + then if system.isOsx then false else true + else true + else true; + }; + }; + } // rec { src = pkgs.lib.mkDefault ./.; } diff --git a/materialized/ghc-boot-packages-nix/ghc9102-aarch64/ghci.nix b/materialized/ghc-boot-packages-nix/ghc9102-aarch64/ghci.nix new file mode 100644 index 0000000000..60c83e4d43 --- /dev/null +++ b/materialized/ghc-boot-packages-nix/ghc9102-aarch64/ghci.nix @@ -0,0 +1,45 @@ +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: + { + flags = { internal-interpreter = false; }; + package = { + specVersion = "1.10"; + identifier = { name = "ghci"; version = "9.10.2"; }; + license = "BSD-3-Clause"; + copyright = ""; + maintainer = "ghc-devs@haskell.org"; + author = ""; + homepage = ""; + url = ""; + synopsis = "The library supporting GHC's interactive interpreter"; + description = "This library offers interfaces which mediate interactions between the\n@ghci@ interactive shell and @iserv@, GHC's out-of-process interpreter\nbackend."; + buildType = "Simple"; + }; + components = { + "library" = { + depends = [ + (hsPkgs."rts" or (errorHandler.buildDepError "rts")) + (hsPkgs."array" or (errorHandler.buildDepError "array")) + (hsPkgs."base" or (errorHandler.buildDepError "base")) + (hsPkgs."ghc-prim" or (errorHandler.buildDepError "ghc-prim")) + (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."filepath" or (errorHandler.buildDepError "filepath")) + (hsPkgs."ghc-boot" or (errorHandler.buildDepError "ghc-boot")) + (hsPkgs."ghc-heap" or (errorHandler.buildDepError "ghc-heap")) + (hsPkgs."template-haskell" or (errorHandler.buildDepError "template-haskell")) + (hsPkgs."transformers" or (errorHandler.buildDepError "transformers")) + ] ++ pkgs.lib.optional (!system.isWindows) (hsPkgs."unix" or (errorHandler.buildDepError "unix")); + buildable = true; + }; + }; + } // rec { src = pkgs.lib.mkDefault ./.; } diff --git a/materialized/ghc-boot-packages-nix/ghc9102-aarch64/hpc.nix b/materialized/ghc-boot-packages-nix/ghc9102-aarch64/hpc.nix new file mode 100644 index 0000000000..fe40a941c5 --- /dev/null +++ b/materialized/ghc-boot-packages-nix/ghc9102-aarch64/hpc.nix @@ -0,0 +1,38 @@ +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: + { + flags = {}; + package = { + specVersion = "2.2"; + identifier = { name = "hpc"; version = "0.7.0.2"; }; + license = "BSD-3-Clause"; + copyright = ""; + maintainer = "ghc-devs@haskell.org"; + author = "Andy Gill"; + homepage = ""; + url = ""; + synopsis = "Code Coverage Library for Haskell"; + description = "This package provides the code coverage library for Haskell.\n\nSee for more\ninformation."; + buildType = "Simple"; + }; + components = { + "library" = { + depends = [ + (hsPkgs."base" or (errorHandler.buildDepError "base")) + (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."time" or (errorHandler.buildDepError "time")) + ]; + buildable = true; + }; + }; + } // rec { src = pkgs.lib.mkDefault ./.; } diff --git a/materialized/ghc-boot-packages-nix/ghc9102-aarch64/integer-gmp.nix b/materialized/ghc-boot-packages-nix/ghc9102-aarch64/integer-gmp.nix new file mode 100644 index 0000000000..8594679a59 --- /dev/null +++ b/materialized/ghc-boot-packages-nix/ghc9102-aarch64/integer-gmp.nix @@ -0,0 +1,36 @@ +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: + { + flags = {}; + package = { + specVersion = "2.0"; + identifier = { name = "integer-gmp"; version = "1.1"; }; + license = "BSD-3-Clause"; + copyright = ""; + maintainer = "hvr@gnu.org"; + author = "Herbert Valerio Riedel"; + homepage = "https://www.haskell.org/ghc/"; + url = ""; + synopsis = "Integer library based on GMP"; + description = "This package used to provide an implementation of the standard 'Integer'\ntype based on the\n.\n\nIt is now deprecated in favor of the 'ghc-bignum' package.\n\nIts purpose is to provide backward compatibility for codes directly\ndepending on the `integer-gmp` package."; + buildType = "Simple"; + }; + components = { + "library" = { + depends = [ + (hsPkgs."base" or (errorHandler.buildDepError "base")) + (hsPkgs."ghc-prim" or (errorHandler.buildDepError "ghc-prim")) + (hsPkgs."ghc-bignum" or (errorHandler.buildDepError "ghc-bignum")) + (hsPkgs."ghc-internal" or (errorHandler.buildDepError "ghc-internal")) + ]; + buildable = true; + }; + }; + } // rec { src = pkgs.lib.mkDefault ./.; } diff --git a/materialized/ghc-boot-packages-nix/ghc9102-aarch64/iserv.nix b/materialized/ghc-boot-packages-nix/ghc9102-aarch64/iserv.nix new file mode 100644 index 0000000000..4e7204cd02 --- /dev/null +++ b/materialized/ghc-boot-packages-nix/ghc9102-aarch64/iserv.nix @@ -0,0 +1,41 @@ +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: + { + flags = {}; + package = { + specVersion = "1.10"; + identifier = { name = "iserv"; version = "9.10.2"; }; + license = "BSD-3-Clause"; + copyright = "XXX"; + maintainer = "XXX"; + author = "XXX"; + homepage = ""; + url = ""; + synopsis = "iserv allows GHC to delegate Template Haskell computations"; + description = "GHC can be provided with a path to the iserv binary with\n@-pgmi=/path/to/iserv-bin@, and will in combination with\n@-fexternal-interpreter@, compile Template Haskell though the\n@iserv-bin@ delegate. This is very similar to how ghcjs has been\ncompiling Template Haskell, by spawning a separate delegate (so\ncalled runner on the javascript vm) and evaluating the splices\nthere."; + buildType = "Simple"; + }; + components = { + exes = { + "iserv" = { + 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."ghci" or (errorHandler.buildDepError "ghci")) + ] ++ pkgs.lib.optional (!system.isWindows) (hsPkgs."unix" or (errorHandler.buildDepError "unix")); + buildable = true; + }; + }; + }; + } // rec { src = pkgs.lib.mkDefault ./.; } diff --git a/materialized/ghc-boot-packages-nix/ghc9102-aarch64/remote-iserv.nix b/materialized/ghc-boot-packages-nix/ghc9102-aarch64/remote-iserv.nix new file mode 100644 index 0000000000..625706221d --- /dev/null +++ b/materialized/ghc-boot-packages-nix/ghc9102-aarch64/remote-iserv.nix @@ -0,0 +1,36 @@ +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: + { + flags = {}; + package = { + specVersion = "1.10"; + identifier = { name = "remote-iserv"; version = "9.10.2"; }; + license = "BSD-3-Clause"; + copyright = "XXX"; + maintainer = "Moritz Angermann "; + author = "Moritz Angermann "; + homepage = ""; + url = ""; + synopsis = "iserv allows GHC to delegate Template Haskell computations"; + description = "This is a very simple remote runner for iserv, to be used together\nwith iserv-proxy. The foundamental idea is that this this wrapper\nstarts running the GHCi server on a given port to which iserv-proxy will\nthen connect."; + buildType = "Simple"; + }; + components = { + exes = { + "remote-iserv" = { + depends = [ + (hsPkgs."base" or (errorHandler.buildDepError "base")) + (hsPkgs."ghci" or (errorHandler.buildDepError "ghci")) + ]; + buildable = true; + }; + }; + }; + } // rec { src = pkgs.lib.mkDefault ./.; } diff --git a/materialized/ghc-boot-packages-nix/ghc9102-aarch64/template-haskell.nix b/materialized/ghc-boot-packages-nix/ghc9102-aarch64/template-haskell.nix new file mode 100644 index 0000000000..b975251e7e --- /dev/null +++ b/materialized/ghc-boot-packages-nix/ghc9102-aarch64/template-haskell.nix @@ -0,0 +1,36 @@ +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: + { + flags = {}; + package = { + specVersion = "1.10"; + identifier = { name = "template-haskell"; version = "2.22.0.0"; }; + license = "BSD-3-Clause"; + copyright = ""; + maintainer = "libraries@haskell.org"; + author = ""; + homepage = ""; + url = ""; + synopsis = "Support library for Template Haskell"; + description = "This package provides modules containing facilities for manipulating\nHaskell source code using Template Haskell.\n\nSee for more\ninformation."; + buildType = "Simple"; + }; + components = { + "library" = { + depends = [ + (hsPkgs."base" or (errorHandler.buildDepError "base")) + (hsPkgs."ghc-boot-th" or (errorHandler.buildDepError "ghc-boot-th")) + (hsPkgs."ghc-prim" or (errorHandler.buildDepError "ghc-prim")) + (hsPkgs."pretty" or (errorHandler.buildDepError "pretty")) + ]; + buildable = true; + }; + }; + } // rec { src = pkgs.lib.mkDefault ./.; } diff --git a/materialized/ghc-boot-packages-nix/ghc9102-ghcjs/base.nix b/materialized/ghc-boot-packages-nix/ghc9102-ghcjs/base.nix new file mode 100644 index 0000000000..d8fd178125 --- /dev/null +++ b/materialized/ghc-boot-packages-nix/ghc9102-ghcjs/base.nix @@ -0,0 +1,34 @@ +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: + { + flags = {}; + package = { + specVersion = "3.0"; + identifier = { name = "base"; version = "4.20.1.0"; }; + license = "BSD-3-Clause"; + copyright = ""; + maintainer = "Core Libraries Committee "; + author = ""; + homepage = ""; + url = ""; + synopsis = "Core data structures and operations"; + description = "Haskell's base library provides, among other things, core types (e.g. [Bool](\"Data.Bool\") and [Int](\"Data.Int\")),\ndata structures (e.g. [List](\"Data.List\"), [Tuple](\"Data.Tuple\") and [Maybe](\"Data.Maybe\")),\nthe [Exception](\"Control.Exception\") mechanism, and the [IO](\"System.IO\") & [Concurrency](\"Control.Concurrent\") operations.\nThe \"Prelude\" module, which is imported by default, exposes a curated set of types and functions from other modules.\n\nOther data structures like [Map](https://hackage.haskell.org/package/containers/docs/Data-Map.html),\n[Set](https://hackage.haskell.org/package/containers/docs/Data-Set.html) are available in the [containers](https://hackage.haskell.org/package/containers) library.\nTo work with textual data, use the [text](https://hackage.haskell.org/package/text/docs/Data-Text.html) library."; + buildType = "Simple"; + }; + components = { + "library" = { + depends = [ + (hsPkgs."ghc-internal" or (errorHandler.buildDepError "ghc-internal")) + (hsPkgs."ghc-prim" or (errorHandler.buildDepError "ghc-prim")) + ]; + buildable = true; + }; + }; + } // rec { src = pkgs.lib.mkDefault ./.; } diff --git a/materialized/ghc-boot-packages-nix/ghc9102-ghcjs/deriveConstants.nix b/materialized/ghc-boot-packages-nix/ghc9102-ghcjs/deriveConstants.nix new file mode 100644 index 0000000000..135cdd02f6 --- /dev/null +++ b/materialized/ghc-boot-packages-nix/ghc9102-ghcjs/deriveConstants.nix @@ -0,0 +1,39 @@ +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: + { + flags = {}; + package = { + specVersion = "1.10"; + identifier = { name = "deriveConstants"; version = "0.1"; }; + license = "BSD-3-Clause"; + copyright = "XXX"; + maintainer = "XXX"; + author = "XXX"; + homepage = ""; + url = ""; + synopsis = "Derive header files containing various constants for the GHC build process"; + description = "This utility is responsible for generating a number of C header files\nneeded during the GHC build process. See @rts/include/ghc.mk@ in the GHC\nbuild system for details."; + buildType = "Simple"; + }; + components = { + exes = { + "deriveConstants" = { + depends = [ + (hsPkgs."base" or (errorHandler.buildDepError "base")) + (hsPkgs."containers" or (errorHandler.buildDepError "containers")) + (hsPkgs."process" or (errorHandler.buildDepError "process")) + (hsPkgs."filepath" or (errorHandler.buildDepError "filepath")) + (hsPkgs."directory" or (errorHandler.buildDepError "directory")) + ]; + buildable = true; + }; + }; + }; + } // rec { src = pkgs.lib.mkDefault ./.; } diff --git a/materialized/ghc-boot-packages-nix/ghc9102-ghcjs/genprimopcode.nix b/materialized/ghc-boot-packages-nix/ghc9102-ghcjs/genprimopcode.nix new file mode 100644 index 0000000000..49bbe516ba --- /dev/null +++ b/materialized/ghc-boot-packages-nix/ghc9102-ghcjs/genprimopcode.nix @@ -0,0 +1,40 @@ +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: + { + flags = { build-tool-depends = true; }; + package = { + specVersion = "2.0"; + identifier = { name = "genprimopcode"; version = "0.1"; }; + license = "BSD-3-Clause"; + copyright = "XXX"; + maintainer = "XXX"; + author = "XXX"; + homepage = ""; + url = ""; + synopsis = "Generates various files implementing GHC's primitive operations."; + description = "This utility reads a textual description of GHC's primitive operations\n(@primops.txt.pp@) and produces a number of outputs. These include,\n\n* the @GHC.Prim@ module included in the @ghc-prim@ package.\n* the @GHC.PrimopWrappers@ module included in the @ghc-prim@ package.\n* an LaTeX document describing the primitive operations."; + buildType = "Simple"; + }; + components = { + exes = { + "genprimopcode" = { + depends = [ + (hsPkgs."base" or (errorHandler.buildDepError "base")) + (hsPkgs."array" or (errorHandler.buildDepError "array")) + ]; + build-tools = pkgs.lib.optionals (flags.build-tool-depends) [ + (hsPkgs.pkgsBuildBuild.alex.components.exes.alex or (pkgs.pkgsBuildBuild.alex or (errorHandler.buildToolDepError "alex:alex"))) + (hsPkgs.pkgsBuildBuild.happy.components.exes.happy or (pkgs.pkgsBuildBuild.happy or (errorHandler.buildToolDepError "happy:happy"))) + ]; + buildable = true; + }; + }; + }; + } // rec { src = pkgs.lib.mkDefault ./.; } diff --git a/materialized/ghc-boot-packages-nix/ghc9102-ghcjs/ghc-bignum.nix b/materialized/ghc-boot-packages-nix/ghc9102-ghcjs/ghc-bignum.nix new file mode 100644 index 0000000000..46af6e0e9f --- /dev/null +++ b/materialized/ghc-boot-packages-nix/ghc9102-ghcjs/ghc-bignum.nix @@ -0,0 +1,37 @@ +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: + { + flags = { native = false; ffi = false; gmp = false; check = false; }; + package = { + specVersion = "2.0"; + identifier = { name = "ghc-bignum"; version = "1.3"; }; + license = "BSD-3-Clause"; + copyright = ""; + maintainer = "libraries@haskell.org"; + author = "Sylvain Henry"; + homepage = ""; + url = ""; + synopsis = "GHC BigNum library"; + description = "This package provides the low-level implementation of the standard\n'BigNat', 'Natural' and 'Integer' types."; + buildType = "Configure"; + }; + components = { + "library" = { + depends = [ + (hsPkgs."ghc-prim" or (errorHandler.buildDepError "ghc-prim")) + ]; + buildable = (if !flags.native && !flags.gmp && !flags.ffi + then false + else true) && (if flags.native && (flags.gmp || flags.ffi) + then false + else true) && (if flags.gmp && flags.ffi then false else true); + }; + }; + } // rec { src = pkgs.lib.mkDefault ./.; } diff --git a/materialized/ghc-boot-packages-nix/ghc9102-ghcjs/ghc-boot.nix b/materialized/ghc-boot-packages-nix/ghc9102-ghcjs/ghc-boot.nix new file mode 100644 index 0000000000..1e1aa12a64 --- /dev/null +++ b/materialized/ghc-boot-packages-nix/ghc9102-ghcjs/ghc-boot.nix @@ -0,0 +1,47 @@ +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: + { + flags = {}; + package = { + specVersion = "3.0"; + identifier = { name = "ghc-boot"; version = "9.10.2"; }; + license = "BSD-3-Clause"; + copyright = ""; + maintainer = "ghc-devs@haskell.org"; + author = ""; + homepage = ""; + url = ""; + synopsis = "Shared functionality between GHC and its boot libraries"; + description = "This library is shared between GHC, ghc-pkg, and other boot\nlibraries.\n.\nA note about \"GHC.Unit.Database\": it only deals with the subset of\nthe package database that the compiler cares about: modules\npaths etc and not package metadata like description, authors\netc. It is thus not a library interface to ghc-pkg and is *not*\nsuitable for modifying GHC package databases.\n.\nThe package database format and this library are constructed in\nsuch a way that while ghc-pkg depends on Cabal, the GHC library\nand program do not have to depend on Cabal."; + buildType = "Custom"; + setup-depends = [ + (hsPkgs.pkgsBuildBuild.base or (pkgs.pkgsBuildBuild.base or (errorHandler.setupDepError "base"))) + (hsPkgs.pkgsBuildBuild.Cabal or (pkgs.pkgsBuildBuild.Cabal or (errorHandler.setupDepError "Cabal"))) + (hsPkgs.pkgsBuildBuild.directory or (pkgs.pkgsBuildBuild.directory or (errorHandler.setupDepError "directory"))) + (hsPkgs.pkgsBuildBuild.filepath or (pkgs.pkgsBuildBuild.filepath or (errorHandler.setupDepError "filepath"))) + ]; + }; + components = { + "library" = { + depends = [ + (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."directory" or (errorHandler.buildDepError "directory")) + (hsPkgs."filepath" or (errorHandler.buildDepError "filepath")) + (hsPkgs."deepseq" or (errorHandler.buildDepError "deepseq")) + (hsPkgs."ghc-platform" or (errorHandler.buildDepError "ghc-platform")) + (hsPkgs."ghc-boot-th" or (errorHandler.buildDepError "ghc-boot-th")) + ] ++ pkgs.lib.optional (!system.isWindows) (hsPkgs."unix" or (errorHandler.buildDepError "unix")); + buildable = true; + }; + }; + } // rec { src = pkgs.lib.mkDefault ./.; } diff --git a/materialized/ghc-boot-packages-nix/ghc9102-ghcjs/ghc-heap.nix b/materialized/ghc-boot-packages-nix/ghc9102-ghcjs/ghc-heap.nix new file mode 100644 index 0000000000..8593829a68 --- /dev/null +++ b/materialized/ghc-boot-packages-nix/ghc9102-ghcjs/ghc-heap.nix @@ -0,0 +1,36 @@ +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: + { + flags = {}; + package = { + specVersion = "3.0"; + identifier = { name = "ghc-heap"; version = "9.10.2"; }; + license = "BSD-3-Clause"; + copyright = ""; + maintainer = "libraries@haskell.org"; + author = ""; + homepage = ""; + url = ""; + synopsis = "Functions for walking GHC's heap"; + description = "This package provides functions for walking the GHC heap data structures\nand retrieving information about those data structures."; + buildType = "Simple"; + }; + components = { + "library" = { + depends = [ + (hsPkgs."base" or (errorHandler.buildDepError "base")) + (hsPkgs."ghc-prim" or (errorHandler.buildDepError "ghc-prim")) + (hsPkgs."rts" or (errorHandler.buildDepError "rts")) + (hsPkgs."containers" or (errorHandler.buildDepError "containers")) + ] ++ pkgs.lib.optional (compiler.isGhc && compiler.version.ge "9.9") (hsPkgs."ghc-internal" or (errorHandler.buildDepError "ghc-internal")); + buildable = true; + }; + }; + } // rec { src = pkgs.lib.mkDefault ./.; } diff --git a/materialized/ghc-boot-packages-nix/ghc9102-ghcjs/ghc-internal.nix b/materialized/ghc-boot-packages-nix/ghc9102-ghcjs/ghc-internal.nix new file mode 100644 index 0000000000..5577b8c091 --- /dev/null +++ b/materialized/ghc-boot-packages-nix/ghc9102-ghcjs/ghc-internal.nix @@ -0,0 +1,49 @@ +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: + { + flags = {}; + package = { + specVersion = "3.0"; + identifier = { name = "ghc-internal"; version = "9.1002.0"; }; + license = "BSD-3-Clause"; + copyright = ""; + maintainer = "Core Libraries Committee "; + author = ""; + homepage = ""; + url = ""; + synopsis = "Basic libraries"; + description = "This package contains the Standard Haskell \"Prelude\" and its support libraries,\nand a large collection of useful libraries ranging from data\nstructures to parsing combinators and debugging utilities."; + buildType = "Configure"; + }; + components = { + "library" = { + depends = [ + (hsPkgs."rts" or (errorHandler.buildDepError "rts")) + (hsPkgs."ghc-prim" or (errorHandler.buildDepError "ghc-prim")) + (hsPkgs."ghc-bignum" or (errorHandler.buildDepError "ghc-bignum")) + ]; + libs = pkgs.lib.optionals (system.isWindows) [ + (pkgs."wsock32" or (errorHandler.sysDepError "wsock32")) + (pkgs."user32" or (errorHandler.sysDepError "user32")) + (pkgs."shell32" or (errorHandler.sysDepError "shell32")) + (pkgs."mingw32" or (errorHandler.sysDepError "mingw32")) + (pkgs."kernel32" or (errorHandler.sysDepError "kernel32")) + (pkgs."advapi32" or (errorHandler.sysDepError "advapi32")) + (pkgs."mingwex" or (errorHandler.sysDepError "mingwex")) + (pkgs."ws2_32" or (errorHandler.sysDepError "ws2_32")) + (pkgs."shlwapi" or (errorHandler.sysDepError "shlwapi")) + (pkgs."ole32" or (errorHandler.sysDepError "ole32")) + (pkgs."rpcrt4" or (errorHandler.sysDepError "rpcrt4")) + (pkgs."ntdll" or (errorHandler.sysDepError "ntdll")) + ]; + buildable = true; + }; + }; + } // rec { src = pkgs.lib.mkDefault ./.; } diff --git a/materialized/ghc-boot-packages-nix/ghc9102-ghcjs/ghc-platform.nix b/materialized/ghc-boot-packages-nix/ghc9102-ghcjs/ghc-platform.nix new file mode 100644 index 0000000000..9a99aece09 --- /dev/null +++ b/materialized/ghc-boot-packages-nix/ghc9102-ghcjs/ghc-platform.nix @@ -0,0 +1,31 @@ +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: + { + flags = {}; + package = { + specVersion = "3.0"; + identifier = { name = "ghc-platform"; version = "0.1.0.0"; }; + license = "BSD-3-Clause"; + copyright = ""; + maintainer = "ghc-devs@haskell.org"; + author = "Rodrigo Mesquita"; + homepage = ""; + url = ""; + synopsis = "Platform information used by GHC and friends"; + description = ""; + buildType = "Simple"; + }; + components = { + "library" = { + depends = [ (hsPkgs."base" or (errorHandler.buildDepError "base")) ]; + buildable = true; + }; + }; + } // rec { src = pkgs.lib.mkDefault ./.; } diff --git a/materialized/ghc-boot-packages-nix/ghc9102-ghcjs/ghc-prim.nix b/materialized/ghc-boot-packages-nix/ghc9102-ghcjs/ghc-prim.nix new file mode 100644 index 0000000000..c10529f48d --- /dev/null +++ b/materialized/ghc-boot-packages-nix/ghc9102-ghcjs/ghc-prim.nix @@ -0,0 +1,47 @@ +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: + { + flags = { need-atomic = false; }; + package = { + specVersion = "2.2"; + identifier = { name = "ghc-prim"; version = "0.12.0"; }; + license = "BSD-3-Clause"; + copyright = ""; + maintainer = "libraries@haskell.org"; + author = ""; + homepage = ""; + url = ""; + synopsis = "GHC primitives"; + description = "This package contains the primitive types and operations supplied by GHC.\nIt is an internal package, only for the use of GHC developers.\nGHC users should not use it! If you do use it then expect\nbreaking changes at any time without warning. You should prefer\nto import @GHC.Exts@ from the @base@ package instead."; + buildType = "Custom"; + setup-depends = [ + (hsPkgs.pkgsBuildBuild.base or (pkgs.pkgsBuildBuild.base or (errorHandler.setupDepError "base"))) + (hsPkgs.pkgsBuildBuild.process or (pkgs.pkgsBuildBuild.process or (errorHandler.setupDepError "process"))) + (hsPkgs.pkgsBuildBuild.filepath or (pkgs.pkgsBuildBuild.filepath or (errorHandler.setupDepError "filepath"))) + (hsPkgs.pkgsBuildBuild.directory or (pkgs.pkgsBuildBuild.directory or (errorHandler.setupDepError "directory"))) + (hsPkgs.pkgsBuildBuild.Cabal or (pkgs.pkgsBuildBuild.Cabal or (errorHandler.setupDepError "Cabal"))) + ]; + }; + components = { + "library" = { + depends = [ (hsPkgs."rts" or (errorHandler.buildDepError "rts")) ]; + libs = (pkgs.lib.optionals (system.isWindows) [ + (pkgs."user32" or (errorHandler.sysDepError "user32")) + (pkgs."mingw32" or (errorHandler.sysDepError "mingw32")) + (pkgs."mingwex" or (errorHandler.sysDepError "mingwex")) + (pkgs."ucrt" or (errorHandler.sysDepError "ucrt")) + ] ++ pkgs.lib.optionals (system.isLinux) [ + (pkgs."c" or (errorHandler.sysDepError "c")) + (pkgs."m" or (errorHandler.sysDepError "m")) + ]) ++ pkgs.lib.optional (flags.need-atomic) (pkgs."atomic" or (errorHandler.sysDepError "atomic")); + buildable = true; + }; + }; + } // rec { src = pkgs.lib.mkDefault ./.; } diff --git a/materialized/ghc-boot-packages-nix/ghc9102-ghcjs/ghc-toolchain.nix b/materialized/ghc-boot-packages-nix/ghc9102-ghcjs/ghc-toolchain.nix new file mode 100644 index 0000000000..a46ace1fa2 --- /dev/null +++ b/materialized/ghc-boot-packages-nix/ghc9102-ghcjs/ghc-toolchain.nix @@ -0,0 +1,39 @@ +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: + { + flags = {}; + package = { + specVersion = "2.4"; + identifier = { name = "ghc-toolchain"; version = "0.1.0.0"; }; + license = "NONE"; + copyright = "(c) The GHC Developers"; + maintainer = "ben@well-typed.com"; + author = "Ben Gamari"; + homepage = ""; + url = ""; + synopsis = "Utility for managing GHC target toolchains"; + description = ""; + 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."transformers" or (errorHandler.buildDepError "transformers")) + (hsPkgs."text" or (errorHandler.buildDepError "text")) + (hsPkgs."ghc-platform" or (errorHandler.buildDepError "ghc-platform")) + ]; + buildable = true; + }; + }; + } // rec { src = pkgs.lib.mkDefault ./.; } diff --git a/materialized/ghc-boot-packages-nix/ghc9102-ghcjs/ghc.nix b/materialized/ghc-boot-packages-nix/ghc9102-ghcjs/ghc.nix new file mode 100644 index 0000000000..2028733218 --- /dev/null +++ b/materialized/ghc-boot-packages-nix/ghc9102-ghcjs/ghc.nix @@ -0,0 +1,81 @@ +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: + { + flags = { + internal-interpreter = false; + dynamic-system-linker = true; + build-tool-depends = true; + with-libzstd = false; + static-libzstd = false; + hadrian-stage0 = false; + }; + package = { + specVersion = "2.2"; + identifier = { name = "ghc"; version = "9.10.2"; }; + license = "BSD-3-Clause"; + copyright = ""; + maintainer = "glasgow-haskell-users@haskell.org"; + author = "The GHC Team"; + homepage = "http://www.haskell.org/ghc/"; + url = ""; + synopsis = "The GHC API"; + description = "GHC's functionality can be useful for more things than just\ncompiling Haskell programs. Important use cases are programs\nthat analyse (and perhaps transform) Haskell code. Others\ninclude loading Haskell code dynamically in a GHCi-like manner.\nFor this reason, a lot of GHC's functionality is made available\nthrough this package.\n\nSee \nfor more information.\n\n__This package is not PVP-compliant.__\n\nThis package directly exposes GHC internals, which can and do change with\nevery release."; + buildType = "Custom"; + setup-depends = [ + (hsPkgs.pkgsBuildBuild.base or (pkgs.pkgsBuildBuild.base or (errorHandler.setupDepError "base"))) + (hsPkgs.pkgsBuildBuild.Cabal or (pkgs.pkgsBuildBuild.Cabal or (errorHandler.setupDepError "Cabal"))) + (hsPkgs.pkgsBuildBuild.directory or (pkgs.pkgsBuildBuild.directory or (errorHandler.setupDepError "directory"))) + (hsPkgs.pkgsBuildBuild.process or (pkgs.pkgsBuildBuild.process or (errorHandler.setupDepError "process"))) + (hsPkgs.pkgsBuildBuild.filepath or (pkgs.pkgsBuildBuild.filepath or (errorHandler.setupDepError "filepath"))) + (hsPkgs.pkgsBuildBuild.containers or (pkgs.pkgsBuildBuild.containers or (errorHandler.setupDepError "containers"))) + ]; + }; + components = { + "library" = { + depends = [ + (hsPkgs."base" or (errorHandler.buildDepError "base")) + (hsPkgs."deepseq" or (errorHandler.buildDepError "deepseq")) + (hsPkgs."directory" or (errorHandler.buildDepError "directory")) + (hsPkgs."process" or (errorHandler.buildDepError "process")) + (hsPkgs."bytestring" or (errorHandler.buildDepError "bytestring")) + (hsPkgs."binary" or (errorHandler.buildDepError "binary")) + (hsPkgs."time" or (errorHandler.buildDepError "time")) + (hsPkgs."containers" or (errorHandler.buildDepError "containers")) + (hsPkgs."array" or (errorHandler.buildDepError "array")) + (hsPkgs."filepath" or (errorHandler.buildDepError "filepath")) + (hsPkgs."template-haskell" or (errorHandler.buildDepError "template-haskell")) + (hsPkgs."hpc" or (errorHandler.buildDepError "hpc")) + (hsPkgs."transformers" or (errorHandler.buildDepError "transformers")) + (hsPkgs."exceptions" or (errorHandler.buildDepError "exceptions")) + (hsPkgs."semaphore-compat" or (errorHandler.buildDepError "semaphore-compat")) + (hsPkgs."stm" or (errorHandler.buildDepError "stm")) + (hsPkgs."ghc-boot" or (errorHandler.buildDepError "ghc-boot")) + (hsPkgs."ghc-heap" or (errorHandler.buildDepError "ghc-heap")) + (hsPkgs."ghci" or (errorHandler.buildDepError "ghci")) + ] ++ (if system.isWindows + then [ (hsPkgs."Win32" or (errorHandler.buildDepError "Win32")) ] + else [ (hsPkgs."unix" or (errorHandler.buildDepError "unix")) ]); + libs = pkgs.lib.optionals (flags.with-libzstd) (if flags.static-libzstd + then pkgs.lib.optional (!system.isOsx) (pkgs.":libzstd.a" or (errorHandler.sysDepError ":libzstd.a")) + else [ (pkgs."zstd" or (errorHandler.sysDepError "zstd")) ]); + build-tools = pkgs.lib.optionals (flags.build-tool-depends) [ + (hsPkgs.pkgsBuildBuild.alex.components.exes.alex or (pkgs.pkgsBuildBuild.alex or (errorHandler.buildToolDepError "alex:alex"))) + (hsPkgs.pkgsBuildBuild.happy.components.exes.happy or (pkgs.pkgsBuildBuild.happy or (errorHandler.buildToolDepError "happy:happy"))) + (hsPkgs.pkgsBuildBuild.genprimopcode.components.exes.genprimopcode or (pkgs.pkgsBuildBuild.genprimopcode or (errorHandler.buildToolDepError "genprimopcode:genprimopcode"))) + (hsPkgs.pkgsBuildBuild.deriveConstants.components.exes.deriveConstants or (pkgs.pkgsBuildBuild.deriveConstants or (errorHandler.buildToolDepError "deriveConstants:deriveConstants"))) + ]; + buildable = if flags.with-libzstd + then if flags.static-libzstd + then if system.isOsx then false else true + else true + else true; + }; + }; + } // rec { src = pkgs.lib.mkDefault ./.; } diff --git a/materialized/ghc-boot-packages-nix/ghc9102-ghcjs/ghci.nix b/materialized/ghc-boot-packages-nix/ghc9102-ghcjs/ghci.nix new file mode 100644 index 0000000000..60c83e4d43 --- /dev/null +++ b/materialized/ghc-boot-packages-nix/ghc9102-ghcjs/ghci.nix @@ -0,0 +1,45 @@ +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: + { + flags = { internal-interpreter = false; }; + package = { + specVersion = "1.10"; + identifier = { name = "ghci"; version = "9.10.2"; }; + license = "BSD-3-Clause"; + copyright = ""; + maintainer = "ghc-devs@haskell.org"; + author = ""; + homepage = ""; + url = ""; + synopsis = "The library supporting GHC's interactive interpreter"; + description = "This library offers interfaces which mediate interactions between the\n@ghci@ interactive shell and @iserv@, GHC's out-of-process interpreter\nbackend."; + buildType = "Simple"; + }; + components = { + "library" = { + depends = [ + (hsPkgs."rts" or (errorHandler.buildDepError "rts")) + (hsPkgs."array" or (errorHandler.buildDepError "array")) + (hsPkgs."base" or (errorHandler.buildDepError "base")) + (hsPkgs."ghc-prim" or (errorHandler.buildDepError "ghc-prim")) + (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."filepath" or (errorHandler.buildDepError "filepath")) + (hsPkgs."ghc-boot" or (errorHandler.buildDepError "ghc-boot")) + (hsPkgs."ghc-heap" or (errorHandler.buildDepError "ghc-heap")) + (hsPkgs."template-haskell" or (errorHandler.buildDepError "template-haskell")) + (hsPkgs."transformers" or (errorHandler.buildDepError "transformers")) + ] ++ pkgs.lib.optional (!system.isWindows) (hsPkgs."unix" or (errorHandler.buildDepError "unix")); + buildable = true; + }; + }; + } // rec { src = pkgs.lib.mkDefault ./.; } diff --git a/materialized/ghc-boot-packages-nix/ghc9102-ghcjs/hpc.nix b/materialized/ghc-boot-packages-nix/ghc9102-ghcjs/hpc.nix new file mode 100644 index 0000000000..fe40a941c5 --- /dev/null +++ b/materialized/ghc-boot-packages-nix/ghc9102-ghcjs/hpc.nix @@ -0,0 +1,38 @@ +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: + { + flags = {}; + package = { + specVersion = "2.2"; + identifier = { name = "hpc"; version = "0.7.0.2"; }; + license = "BSD-3-Clause"; + copyright = ""; + maintainer = "ghc-devs@haskell.org"; + author = "Andy Gill"; + homepage = ""; + url = ""; + synopsis = "Code Coverage Library for Haskell"; + description = "This package provides the code coverage library for Haskell.\n\nSee for more\ninformation."; + buildType = "Simple"; + }; + components = { + "library" = { + depends = [ + (hsPkgs."base" or (errorHandler.buildDepError "base")) + (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."time" or (errorHandler.buildDepError "time")) + ]; + buildable = true; + }; + }; + } // rec { src = pkgs.lib.mkDefault ./.; } diff --git a/materialized/ghc-boot-packages-nix/ghc9102-ghcjs/integer-gmp.nix b/materialized/ghc-boot-packages-nix/ghc9102-ghcjs/integer-gmp.nix new file mode 100644 index 0000000000..8594679a59 --- /dev/null +++ b/materialized/ghc-boot-packages-nix/ghc9102-ghcjs/integer-gmp.nix @@ -0,0 +1,36 @@ +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: + { + flags = {}; + package = { + specVersion = "2.0"; + identifier = { name = "integer-gmp"; version = "1.1"; }; + license = "BSD-3-Clause"; + copyright = ""; + maintainer = "hvr@gnu.org"; + author = "Herbert Valerio Riedel"; + homepage = "https://www.haskell.org/ghc/"; + url = ""; + synopsis = "Integer library based on GMP"; + description = "This package used to provide an implementation of the standard 'Integer'\ntype based on the\n.\n\nIt is now deprecated in favor of the 'ghc-bignum' package.\n\nIts purpose is to provide backward compatibility for codes directly\ndepending on the `integer-gmp` package."; + buildType = "Simple"; + }; + components = { + "library" = { + depends = [ + (hsPkgs."base" or (errorHandler.buildDepError "base")) + (hsPkgs."ghc-prim" or (errorHandler.buildDepError "ghc-prim")) + (hsPkgs."ghc-bignum" or (errorHandler.buildDepError "ghc-bignum")) + (hsPkgs."ghc-internal" or (errorHandler.buildDepError "ghc-internal")) + ]; + buildable = true; + }; + }; + } // rec { src = pkgs.lib.mkDefault ./.; } diff --git a/materialized/ghc-boot-packages-nix/ghc9102-ghcjs/iserv.nix b/materialized/ghc-boot-packages-nix/ghc9102-ghcjs/iserv.nix new file mode 100644 index 0000000000..4e7204cd02 --- /dev/null +++ b/materialized/ghc-boot-packages-nix/ghc9102-ghcjs/iserv.nix @@ -0,0 +1,41 @@ +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: + { + flags = {}; + package = { + specVersion = "1.10"; + identifier = { name = "iserv"; version = "9.10.2"; }; + license = "BSD-3-Clause"; + copyright = "XXX"; + maintainer = "XXX"; + author = "XXX"; + homepage = ""; + url = ""; + synopsis = "iserv allows GHC to delegate Template Haskell computations"; + description = "GHC can be provided with a path to the iserv binary with\n@-pgmi=/path/to/iserv-bin@, and will in combination with\n@-fexternal-interpreter@, compile Template Haskell though the\n@iserv-bin@ delegate. This is very similar to how ghcjs has been\ncompiling Template Haskell, by spawning a separate delegate (so\ncalled runner on the javascript vm) and evaluating the splices\nthere."; + buildType = "Simple"; + }; + components = { + exes = { + "iserv" = { + 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."ghci" or (errorHandler.buildDepError "ghci")) + ] ++ pkgs.lib.optional (!system.isWindows) (hsPkgs."unix" or (errorHandler.buildDepError "unix")); + buildable = true; + }; + }; + }; + } // rec { src = pkgs.lib.mkDefault ./.; } diff --git a/materialized/ghc-boot-packages-nix/ghc9102-ghcjs/remote-iserv.nix b/materialized/ghc-boot-packages-nix/ghc9102-ghcjs/remote-iserv.nix new file mode 100644 index 0000000000..625706221d --- /dev/null +++ b/materialized/ghc-boot-packages-nix/ghc9102-ghcjs/remote-iserv.nix @@ -0,0 +1,36 @@ +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: + { + flags = {}; + package = { + specVersion = "1.10"; + identifier = { name = "remote-iserv"; version = "9.10.2"; }; + license = "BSD-3-Clause"; + copyright = "XXX"; + maintainer = "Moritz Angermann "; + author = "Moritz Angermann "; + homepage = ""; + url = ""; + synopsis = "iserv allows GHC to delegate Template Haskell computations"; + description = "This is a very simple remote runner for iserv, to be used together\nwith iserv-proxy. The foundamental idea is that this this wrapper\nstarts running the GHCi server on a given port to which iserv-proxy will\nthen connect."; + buildType = "Simple"; + }; + components = { + exes = { + "remote-iserv" = { + depends = [ + (hsPkgs."base" or (errorHandler.buildDepError "base")) + (hsPkgs."ghci" or (errorHandler.buildDepError "ghci")) + ]; + buildable = true; + }; + }; + }; + } // rec { src = pkgs.lib.mkDefault ./.; } diff --git a/materialized/ghc-boot-packages-nix/ghc9102-ghcjs/template-haskell.nix b/materialized/ghc-boot-packages-nix/ghc9102-ghcjs/template-haskell.nix new file mode 100644 index 0000000000..b975251e7e --- /dev/null +++ b/materialized/ghc-boot-packages-nix/ghc9102-ghcjs/template-haskell.nix @@ -0,0 +1,36 @@ +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: + { + flags = {}; + package = { + specVersion = "1.10"; + identifier = { name = "template-haskell"; version = "2.22.0.0"; }; + license = "BSD-3-Clause"; + copyright = ""; + maintainer = "libraries@haskell.org"; + author = ""; + homepage = ""; + url = ""; + synopsis = "Support library for Template Haskell"; + description = "This package provides modules containing facilities for manipulating\nHaskell source code using Template Haskell.\n\nSee for more\ninformation."; + buildType = "Simple"; + }; + components = { + "library" = { + depends = [ + (hsPkgs."base" or (errorHandler.buildDepError "base")) + (hsPkgs."ghc-boot-th" or (errorHandler.buildDepError "ghc-boot-th")) + (hsPkgs."ghc-prim" or (errorHandler.buildDepError "ghc-prim")) + (hsPkgs."pretty" or (errorHandler.buildDepError "pretty")) + ]; + buildable = true; + }; + }; + } // rec { src = pkgs.lib.mkDefault ./.; } diff --git a/materialized/ghc-boot-packages-nix/ghc9102/base.nix b/materialized/ghc-boot-packages-nix/ghc9102/base.nix new file mode 100644 index 0000000000..d8fd178125 --- /dev/null +++ b/materialized/ghc-boot-packages-nix/ghc9102/base.nix @@ -0,0 +1,34 @@ +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: + { + flags = {}; + package = { + specVersion = "3.0"; + identifier = { name = "base"; version = "4.20.1.0"; }; + license = "BSD-3-Clause"; + copyright = ""; + maintainer = "Core Libraries Committee "; + author = ""; + homepage = ""; + url = ""; + synopsis = "Core data structures and operations"; + description = "Haskell's base library provides, among other things, core types (e.g. [Bool](\"Data.Bool\") and [Int](\"Data.Int\")),\ndata structures (e.g. [List](\"Data.List\"), [Tuple](\"Data.Tuple\") and [Maybe](\"Data.Maybe\")),\nthe [Exception](\"Control.Exception\") mechanism, and the [IO](\"System.IO\") & [Concurrency](\"Control.Concurrent\") operations.\nThe \"Prelude\" module, which is imported by default, exposes a curated set of types and functions from other modules.\n\nOther data structures like [Map](https://hackage.haskell.org/package/containers/docs/Data-Map.html),\n[Set](https://hackage.haskell.org/package/containers/docs/Data-Set.html) are available in the [containers](https://hackage.haskell.org/package/containers) library.\nTo work with textual data, use the [text](https://hackage.haskell.org/package/text/docs/Data-Text.html) library."; + buildType = "Simple"; + }; + components = { + "library" = { + depends = [ + (hsPkgs."ghc-internal" or (errorHandler.buildDepError "ghc-internal")) + (hsPkgs."ghc-prim" or (errorHandler.buildDepError "ghc-prim")) + ]; + buildable = true; + }; + }; + } // rec { src = pkgs.lib.mkDefault ./.; } diff --git a/materialized/ghc-boot-packages-nix/ghc9102/deriveConstants.nix b/materialized/ghc-boot-packages-nix/ghc9102/deriveConstants.nix new file mode 100644 index 0000000000..135cdd02f6 --- /dev/null +++ b/materialized/ghc-boot-packages-nix/ghc9102/deriveConstants.nix @@ -0,0 +1,39 @@ +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: + { + flags = {}; + package = { + specVersion = "1.10"; + identifier = { name = "deriveConstants"; version = "0.1"; }; + license = "BSD-3-Clause"; + copyright = "XXX"; + maintainer = "XXX"; + author = "XXX"; + homepage = ""; + url = ""; + synopsis = "Derive header files containing various constants for the GHC build process"; + description = "This utility is responsible for generating a number of C header files\nneeded during the GHC build process. See @rts/include/ghc.mk@ in the GHC\nbuild system for details."; + buildType = "Simple"; + }; + components = { + exes = { + "deriveConstants" = { + depends = [ + (hsPkgs."base" or (errorHandler.buildDepError "base")) + (hsPkgs."containers" or (errorHandler.buildDepError "containers")) + (hsPkgs."process" or (errorHandler.buildDepError "process")) + (hsPkgs."filepath" or (errorHandler.buildDepError "filepath")) + (hsPkgs."directory" or (errorHandler.buildDepError "directory")) + ]; + buildable = true; + }; + }; + }; + } // rec { src = pkgs.lib.mkDefault ./.; } diff --git a/materialized/ghc-boot-packages-nix/ghc9102/genprimopcode.nix b/materialized/ghc-boot-packages-nix/ghc9102/genprimopcode.nix new file mode 100644 index 0000000000..49bbe516ba --- /dev/null +++ b/materialized/ghc-boot-packages-nix/ghc9102/genprimopcode.nix @@ -0,0 +1,40 @@ +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: + { + flags = { build-tool-depends = true; }; + package = { + specVersion = "2.0"; + identifier = { name = "genprimopcode"; version = "0.1"; }; + license = "BSD-3-Clause"; + copyright = "XXX"; + maintainer = "XXX"; + author = "XXX"; + homepage = ""; + url = ""; + synopsis = "Generates various files implementing GHC's primitive operations."; + description = "This utility reads a textual description of GHC's primitive operations\n(@primops.txt.pp@) and produces a number of outputs. These include,\n\n* the @GHC.Prim@ module included in the @ghc-prim@ package.\n* the @GHC.PrimopWrappers@ module included in the @ghc-prim@ package.\n* an LaTeX document describing the primitive operations."; + buildType = "Simple"; + }; + components = { + exes = { + "genprimopcode" = { + depends = [ + (hsPkgs."base" or (errorHandler.buildDepError "base")) + (hsPkgs."array" or (errorHandler.buildDepError "array")) + ]; + build-tools = pkgs.lib.optionals (flags.build-tool-depends) [ + (hsPkgs.pkgsBuildBuild.alex.components.exes.alex or (pkgs.pkgsBuildBuild.alex or (errorHandler.buildToolDepError "alex:alex"))) + (hsPkgs.pkgsBuildBuild.happy.components.exes.happy or (pkgs.pkgsBuildBuild.happy or (errorHandler.buildToolDepError "happy:happy"))) + ]; + buildable = true; + }; + }; + }; + } // rec { src = pkgs.lib.mkDefault ./.; } diff --git a/materialized/ghc-boot-packages-nix/ghc9102/ghc-bignum.nix b/materialized/ghc-boot-packages-nix/ghc9102/ghc-bignum.nix new file mode 100644 index 0000000000..46af6e0e9f --- /dev/null +++ b/materialized/ghc-boot-packages-nix/ghc9102/ghc-bignum.nix @@ -0,0 +1,37 @@ +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: + { + flags = { native = false; ffi = false; gmp = false; check = false; }; + package = { + specVersion = "2.0"; + identifier = { name = "ghc-bignum"; version = "1.3"; }; + license = "BSD-3-Clause"; + copyright = ""; + maintainer = "libraries@haskell.org"; + author = "Sylvain Henry"; + homepage = ""; + url = ""; + synopsis = "GHC BigNum library"; + description = "This package provides the low-level implementation of the standard\n'BigNat', 'Natural' and 'Integer' types."; + buildType = "Configure"; + }; + components = { + "library" = { + depends = [ + (hsPkgs."ghc-prim" or (errorHandler.buildDepError "ghc-prim")) + ]; + buildable = (if !flags.native && !flags.gmp && !flags.ffi + then false + else true) && (if flags.native && (flags.gmp || flags.ffi) + then false + else true) && (if flags.gmp && flags.ffi then false else true); + }; + }; + } // rec { src = pkgs.lib.mkDefault ./.; } diff --git a/materialized/ghc-boot-packages-nix/ghc9102/ghc-boot.nix b/materialized/ghc-boot-packages-nix/ghc9102/ghc-boot.nix new file mode 100644 index 0000000000..1e1aa12a64 --- /dev/null +++ b/materialized/ghc-boot-packages-nix/ghc9102/ghc-boot.nix @@ -0,0 +1,47 @@ +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: + { + flags = {}; + package = { + specVersion = "3.0"; + identifier = { name = "ghc-boot"; version = "9.10.2"; }; + license = "BSD-3-Clause"; + copyright = ""; + maintainer = "ghc-devs@haskell.org"; + author = ""; + homepage = ""; + url = ""; + synopsis = "Shared functionality between GHC and its boot libraries"; + description = "This library is shared between GHC, ghc-pkg, and other boot\nlibraries.\n.\nA note about \"GHC.Unit.Database\": it only deals with the subset of\nthe package database that the compiler cares about: modules\npaths etc and not package metadata like description, authors\netc. It is thus not a library interface to ghc-pkg and is *not*\nsuitable for modifying GHC package databases.\n.\nThe package database format and this library are constructed in\nsuch a way that while ghc-pkg depends on Cabal, the GHC library\nand program do not have to depend on Cabal."; + buildType = "Custom"; + setup-depends = [ + (hsPkgs.pkgsBuildBuild.base or (pkgs.pkgsBuildBuild.base or (errorHandler.setupDepError "base"))) + (hsPkgs.pkgsBuildBuild.Cabal or (pkgs.pkgsBuildBuild.Cabal or (errorHandler.setupDepError "Cabal"))) + (hsPkgs.pkgsBuildBuild.directory or (pkgs.pkgsBuildBuild.directory or (errorHandler.setupDepError "directory"))) + (hsPkgs.pkgsBuildBuild.filepath or (pkgs.pkgsBuildBuild.filepath or (errorHandler.setupDepError "filepath"))) + ]; + }; + components = { + "library" = { + depends = [ + (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."directory" or (errorHandler.buildDepError "directory")) + (hsPkgs."filepath" or (errorHandler.buildDepError "filepath")) + (hsPkgs."deepseq" or (errorHandler.buildDepError "deepseq")) + (hsPkgs."ghc-platform" or (errorHandler.buildDepError "ghc-platform")) + (hsPkgs."ghc-boot-th" or (errorHandler.buildDepError "ghc-boot-th")) + ] ++ pkgs.lib.optional (!system.isWindows) (hsPkgs."unix" or (errorHandler.buildDepError "unix")); + buildable = true; + }; + }; + } // rec { src = pkgs.lib.mkDefault ./.; } diff --git a/materialized/ghc-boot-packages-nix/ghc9102/ghc-heap.nix b/materialized/ghc-boot-packages-nix/ghc9102/ghc-heap.nix new file mode 100644 index 0000000000..8593829a68 --- /dev/null +++ b/materialized/ghc-boot-packages-nix/ghc9102/ghc-heap.nix @@ -0,0 +1,36 @@ +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: + { + flags = {}; + package = { + specVersion = "3.0"; + identifier = { name = "ghc-heap"; version = "9.10.2"; }; + license = "BSD-3-Clause"; + copyright = ""; + maintainer = "libraries@haskell.org"; + author = ""; + homepage = ""; + url = ""; + synopsis = "Functions for walking GHC's heap"; + description = "This package provides functions for walking the GHC heap data structures\nand retrieving information about those data structures."; + buildType = "Simple"; + }; + components = { + "library" = { + depends = [ + (hsPkgs."base" or (errorHandler.buildDepError "base")) + (hsPkgs."ghc-prim" or (errorHandler.buildDepError "ghc-prim")) + (hsPkgs."rts" or (errorHandler.buildDepError "rts")) + (hsPkgs."containers" or (errorHandler.buildDepError "containers")) + ] ++ pkgs.lib.optional (compiler.isGhc && compiler.version.ge "9.9") (hsPkgs."ghc-internal" or (errorHandler.buildDepError "ghc-internal")); + buildable = true; + }; + }; + } // rec { src = pkgs.lib.mkDefault ./.; } diff --git a/materialized/ghc-boot-packages-nix/ghc9102/ghc-internal.nix b/materialized/ghc-boot-packages-nix/ghc9102/ghc-internal.nix new file mode 100644 index 0000000000..5577b8c091 --- /dev/null +++ b/materialized/ghc-boot-packages-nix/ghc9102/ghc-internal.nix @@ -0,0 +1,49 @@ +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: + { + flags = {}; + package = { + specVersion = "3.0"; + identifier = { name = "ghc-internal"; version = "9.1002.0"; }; + license = "BSD-3-Clause"; + copyright = ""; + maintainer = "Core Libraries Committee "; + author = ""; + homepage = ""; + url = ""; + synopsis = "Basic libraries"; + description = "This package contains the Standard Haskell \"Prelude\" and its support libraries,\nand a large collection of useful libraries ranging from data\nstructures to parsing combinators and debugging utilities."; + buildType = "Configure"; + }; + components = { + "library" = { + depends = [ + (hsPkgs."rts" or (errorHandler.buildDepError "rts")) + (hsPkgs."ghc-prim" or (errorHandler.buildDepError "ghc-prim")) + (hsPkgs."ghc-bignum" or (errorHandler.buildDepError "ghc-bignum")) + ]; + libs = pkgs.lib.optionals (system.isWindows) [ + (pkgs."wsock32" or (errorHandler.sysDepError "wsock32")) + (pkgs."user32" or (errorHandler.sysDepError "user32")) + (pkgs."shell32" or (errorHandler.sysDepError "shell32")) + (pkgs."mingw32" or (errorHandler.sysDepError "mingw32")) + (pkgs."kernel32" or (errorHandler.sysDepError "kernel32")) + (pkgs."advapi32" or (errorHandler.sysDepError "advapi32")) + (pkgs."mingwex" or (errorHandler.sysDepError "mingwex")) + (pkgs."ws2_32" or (errorHandler.sysDepError "ws2_32")) + (pkgs."shlwapi" or (errorHandler.sysDepError "shlwapi")) + (pkgs."ole32" or (errorHandler.sysDepError "ole32")) + (pkgs."rpcrt4" or (errorHandler.sysDepError "rpcrt4")) + (pkgs."ntdll" or (errorHandler.sysDepError "ntdll")) + ]; + buildable = true; + }; + }; + } // rec { src = pkgs.lib.mkDefault ./.; } diff --git a/materialized/ghc-boot-packages-nix/ghc9102/ghc-platform.nix b/materialized/ghc-boot-packages-nix/ghc9102/ghc-platform.nix new file mode 100644 index 0000000000..9a99aece09 --- /dev/null +++ b/materialized/ghc-boot-packages-nix/ghc9102/ghc-platform.nix @@ -0,0 +1,31 @@ +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: + { + flags = {}; + package = { + specVersion = "3.0"; + identifier = { name = "ghc-platform"; version = "0.1.0.0"; }; + license = "BSD-3-Clause"; + copyright = ""; + maintainer = "ghc-devs@haskell.org"; + author = "Rodrigo Mesquita"; + homepage = ""; + url = ""; + synopsis = "Platform information used by GHC and friends"; + description = ""; + buildType = "Simple"; + }; + components = { + "library" = { + depends = [ (hsPkgs."base" or (errorHandler.buildDepError "base")) ]; + buildable = true; + }; + }; + } // rec { src = pkgs.lib.mkDefault ./.; } diff --git a/materialized/ghc-boot-packages-nix/ghc9102/ghc-prim.nix b/materialized/ghc-boot-packages-nix/ghc9102/ghc-prim.nix new file mode 100644 index 0000000000..c10529f48d --- /dev/null +++ b/materialized/ghc-boot-packages-nix/ghc9102/ghc-prim.nix @@ -0,0 +1,47 @@ +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: + { + flags = { need-atomic = false; }; + package = { + specVersion = "2.2"; + identifier = { name = "ghc-prim"; version = "0.12.0"; }; + license = "BSD-3-Clause"; + copyright = ""; + maintainer = "libraries@haskell.org"; + author = ""; + homepage = ""; + url = ""; + synopsis = "GHC primitives"; + description = "This package contains the primitive types and operations supplied by GHC.\nIt is an internal package, only for the use of GHC developers.\nGHC users should not use it! If you do use it then expect\nbreaking changes at any time without warning. You should prefer\nto import @GHC.Exts@ from the @base@ package instead."; + buildType = "Custom"; + setup-depends = [ + (hsPkgs.pkgsBuildBuild.base or (pkgs.pkgsBuildBuild.base or (errorHandler.setupDepError "base"))) + (hsPkgs.pkgsBuildBuild.process or (pkgs.pkgsBuildBuild.process or (errorHandler.setupDepError "process"))) + (hsPkgs.pkgsBuildBuild.filepath or (pkgs.pkgsBuildBuild.filepath or (errorHandler.setupDepError "filepath"))) + (hsPkgs.pkgsBuildBuild.directory or (pkgs.pkgsBuildBuild.directory or (errorHandler.setupDepError "directory"))) + (hsPkgs.pkgsBuildBuild.Cabal or (pkgs.pkgsBuildBuild.Cabal or (errorHandler.setupDepError "Cabal"))) + ]; + }; + components = { + "library" = { + depends = [ (hsPkgs."rts" or (errorHandler.buildDepError "rts")) ]; + libs = (pkgs.lib.optionals (system.isWindows) [ + (pkgs."user32" or (errorHandler.sysDepError "user32")) + (pkgs."mingw32" or (errorHandler.sysDepError "mingw32")) + (pkgs."mingwex" or (errorHandler.sysDepError "mingwex")) + (pkgs."ucrt" or (errorHandler.sysDepError "ucrt")) + ] ++ pkgs.lib.optionals (system.isLinux) [ + (pkgs."c" or (errorHandler.sysDepError "c")) + (pkgs."m" or (errorHandler.sysDepError "m")) + ]) ++ pkgs.lib.optional (flags.need-atomic) (pkgs."atomic" or (errorHandler.sysDepError "atomic")); + buildable = true; + }; + }; + } // rec { src = pkgs.lib.mkDefault ./.; } diff --git a/materialized/ghc-boot-packages-nix/ghc9102/ghc-toolchain.nix b/materialized/ghc-boot-packages-nix/ghc9102/ghc-toolchain.nix new file mode 100644 index 0000000000..a46ace1fa2 --- /dev/null +++ b/materialized/ghc-boot-packages-nix/ghc9102/ghc-toolchain.nix @@ -0,0 +1,39 @@ +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: + { + flags = {}; + package = { + specVersion = "2.4"; + identifier = { name = "ghc-toolchain"; version = "0.1.0.0"; }; + license = "NONE"; + copyright = "(c) The GHC Developers"; + maintainer = "ben@well-typed.com"; + author = "Ben Gamari"; + homepage = ""; + url = ""; + synopsis = "Utility for managing GHC target toolchains"; + description = ""; + 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."transformers" or (errorHandler.buildDepError "transformers")) + (hsPkgs."text" or (errorHandler.buildDepError "text")) + (hsPkgs."ghc-platform" or (errorHandler.buildDepError "ghc-platform")) + ]; + buildable = true; + }; + }; + } // rec { src = pkgs.lib.mkDefault ./.; } diff --git a/materialized/ghc-boot-packages-nix/ghc9102/ghc.nix b/materialized/ghc-boot-packages-nix/ghc9102/ghc.nix new file mode 100644 index 0000000000..2028733218 --- /dev/null +++ b/materialized/ghc-boot-packages-nix/ghc9102/ghc.nix @@ -0,0 +1,81 @@ +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: + { + flags = { + internal-interpreter = false; + dynamic-system-linker = true; + build-tool-depends = true; + with-libzstd = false; + static-libzstd = false; + hadrian-stage0 = false; + }; + package = { + specVersion = "2.2"; + identifier = { name = "ghc"; version = "9.10.2"; }; + license = "BSD-3-Clause"; + copyright = ""; + maintainer = "glasgow-haskell-users@haskell.org"; + author = "The GHC Team"; + homepage = "http://www.haskell.org/ghc/"; + url = ""; + synopsis = "The GHC API"; + description = "GHC's functionality can be useful for more things than just\ncompiling Haskell programs. Important use cases are programs\nthat analyse (and perhaps transform) Haskell code. Others\ninclude loading Haskell code dynamically in a GHCi-like manner.\nFor this reason, a lot of GHC's functionality is made available\nthrough this package.\n\nSee \nfor more information.\n\n__This package is not PVP-compliant.__\n\nThis package directly exposes GHC internals, which can and do change with\nevery release."; + buildType = "Custom"; + setup-depends = [ + (hsPkgs.pkgsBuildBuild.base or (pkgs.pkgsBuildBuild.base or (errorHandler.setupDepError "base"))) + (hsPkgs.pkgsBuildBuild.Cabal or (pkgs.pkgsBuildBuild.Cabal or (errorHandler.setupDepError "Cabal"))) + (hsPkgs.pkgsBuildBuild.directory or (pkgs.pkgsBuildBuild.directory or (errorHandler.setupDepError "directory"))) + (hsPkgs.pkgsBuildBuild.process or (pkgs.pkgsBuildBuild.process or (errorHandler.setupDepError "process"))) + (hsPkgs.pkgsBuildBuild.filepath or (pkgs.pkgsBuildBuild.filepath or (errorHandler.setupDepError "filepath"))) + (hsPkgs.pkgsBuildBuild.containers or (pkgs.pkgsBuildBuild.containers or (errorHandler.setupDepError "containers"))) + ]; + }; + components = { + "library" = { + depends = [ + (hsPkgs."base" or (errorHandler.buildDepError "base")) + (hsPkgs."deepseq" or (errorHandler.buildDepError "deepseq")) + (hsPkgs."directory" or (errorHandler.buildDepError "directory")) + (hsPkgs."process" or (errorHandler.buildDepError "process")) + (hsPkgs."bytestring" or (errorHandler.buildDepError "bytestring")) + (hsPkgs."binary" or (errorHandler.buildDepError "binary")) + (hsPkgs."time" or (errorHandler.buildDepError "time")) + (hsPkgs."containers" or (errorHandler.buildDepError "containers")) + (hsPkgs."array" or (errorHandler.buildDepError "array")) + (hsPkgs."filepath" or (errorHandler.buildDepError "filepath")) + (hsPkgs."template-haskell" or (errorHandler.buildDepError "template-haskell")) + (hsPkgs."hpc" or (errorHandler.buildDepError "hpc")) + (hsPkgs."transformers" or (errorHandler.buildDepError "transformers")) + (hsPkgs."exceptions" or (errorHandler.buildDepError "exceptions")) + (hsPkgs."semaphore-compat" or (errorHandler.buildDepError "semaphore-compat")) + (hsPkgs."stm" or (errorHandler.buildDepError "stm")) + (hsPkgs."ghc-boot" or (errorHandler.buildDepError "ghc-boot")) + (hsPkgs."ghc-heap" or (errorHandler.buildDepError "ghc-heap")) + (hsPkgs."ghci" or (errorHandler.buildDepError "ghci")) + ] ++ (if system.isWindows + then [ (hsPkgs."Win32" or (errorHandler.buildDepError "Win32")) ] + else [ (hsPkgs."unix" or (errorHandler.buildDepError "unix")) ]); + libs = pkgs.lib.optionals (flags.with-libzstd) (if flags.static-libzstd + then pkgs.lib.optional (!system.isOsx) (pkgs.":libzstd.a" or (errorHandler.sysDepError ":libzstd.a")) + else [ (pkgs."zstd" or (errorHandler.sysDepError "zstd")) ]); + build-tools = pkgs.lib.optionals (flags.build-tool-depends) [ + (hsPkgs.pkgsBuildBuild.alex.components.exes.alex or (pkgs.pkgsBuildBuild.alex or (errorHandler.buildToolDepError "alex:alex"))) + (hsPkgs.pkgsBuildBuild.happy.components.exes.happy or (pkgs.pkgsBuildBuild.happy or (errorHandler.buildToolDepError "happy:happy"))) + (hsPkgs.pkgsBuildBuild.genprimopcode.components.exes.genprimopcode or (pkgs.pkgsBuildBuild.genprimopcode or (errorHandler.buildToolDepError "genprimopcode:genprimopcode"))) + (hsPkgs.pkgsBuildBuild.deriveConstants.components.exes.deriveConstants or (pkgs.pkgsBuildBuild.deriveConstants or (errorHandler.buildToolDepError "deriveConstants:deriveConstants"))) + ]; + buildable = if flags.with-libzstd + then if flags.static-libzstd + then if system.isOsx then false else true + else true + else true; + }; + }; + } // rec { src = pkgs.lib.mkDefault ./.; } diff --git a/materialized/ghc-boot-packages-nix/ghc9102/ghci.nix b/materialized/ghc-boot-packages-nix/ghc9102/ghci.nix new file mode 100644 index 0000000000..60c83e4d43 --- /dev/null +++ b/materialized/ghc-boot-packages-nix/ghc9102/ghci.nix @@ -0,0 +1,45 @@ +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: + { + flags = { internal-interpreter = false; }; + package = { + specVersion = "1.10"; + identifier = { name = "ghci"; version = "9.10.2"; }; + license = "BSD-3-Clause"; + copyright = ""; + maintainer = "ghc-devs@haskell.org"; + author = ""; + homepage = ""; + url = ""; + synopsis = "The library supporting GHC's interactive interpreter"; + description = "This library offers interfaces which mediate interactions between the\n@ghci@ interactive shell and @iserv@, GHC's out-of-process interpreter\nbackend."; + buildType = "Simple"; + }; + components = { + "library" = { + depends = [ + (hsPkgs."rts" or (errorHandler.buildDepError "rts")) + (hsPkgs."array" or (errorHandler.buildDepError "array")) + (hsPkgs."base" or (errorHandler.buildDepError "base")) + (hsPkgs."ghc-prim" or (errorHandler.buildDepError "ghc-prim")) + (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."filepath" or (errorHandler.buildDepError "filepath")) + (hsPkgs."ghc-boot" or (errorHandler.buildDepError "ghc-boot")) + (hsPkgs."ghc-heap" or (errorHandler.buildDepError "ghc-heap")) + (hsPkgs."template-haskell" or (errorHandler.buildDepError "template-haskell")) + (hsPkgs."transformers" or (errorHandler.buildDepError "transformers")) + ] ++ pkgs.lib.optional (!system.isWindows) (hsPkgs."unix" or (errorHandler.buildDepError "unix")); + buildable = true; + }; + }; + } // rec { src = pkgs.lib.mkDefault ./.; } diff --git a/materialized/ghc-boot-packages-nix/ghc9102/hpc.nix b/materialized/ghc-boot-packages-nix/ghc9102/hpc.nix new file mode 100644 index 0000000000..fe40a941c5 --- /dev/null +++ b/materialized/ghc-boot-packages-nix/ghc9102/hpc.nix @@ -0,0 +1,38 @@ +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: + { + flags = {}; + package = { + specVersion = "2.2"; + identifier = { name = "hpc"; version = "0.7.0.2"; }; + license = "BSD-3-Clause"; + copyright = ""; + maintainer = "ghc-devs@haskell.org"; + author = "Andy Gill"; + homepage = ""; + url = ""; + synopsis = "Code Coverage Library for Haskell"; + description = "This package provides the code coverage library for Haskell.\n\nSee for more\ninformation."; + buildType = "Simple"; + }; + components = { + "library" = { + depends = [ + (hsPkgs."base" or (errorHandler.buildDepError "base")) + (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."time" or (errorHandler.buildDepError "time")) + ]; + buildable = true; + }; + }; + } // rec { src = pkgs.lib.mkDefault ./.; } diff --git a/materialized/ghc-boot-packages-nix/ghc9102/integer-gmp.nix b/materialized/ghc-boot-packages-nix/ghc9102/integer-gmp.nix new file mode 100644 index 0000000000..8594679a59 --- /dev/null +++ b/materialized/ghc-boot-packages-nix/ghc9102/integer-gmp.nix @@ -0,0 +1,36 @@ +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: + { + flags = {}; + package = { + specVersion = "2.0"; + identifier = { name = "integer-gmp"; version = "1.1"; }; + license = "BSD-3-Clause"; + copyright = ""; + maintainer = "hvr@gnu.org"; + author = "Herbert Valerio Riedel"; + homepage = "https://www.haskell.org/ghc/"; + url = ""; + synopsis = "Integer library based on GMP"; + description = "This package used to provide an implementation of the standard 'Integer'\ntype based on the\n.\n\nIt is now deprecated in favor of the 'ghc-bignum' package.\n\nIts purpose is to provide backward compatibility for codes directly\ndepending on the `integer-gmp` package."; + buildType = "Simple"; + }; + components = { + "library" = { + depends = [ + (hsPkgs."base" or (errorHandler.buildDepError "base")) + (hsPkgs."ghc-prim" or (errorHandler.buildDepError "ghc-prim")) + (hsPkgs."ghc-bignum" or (errorHandler.buildDepError "ghc-bignum")) + (hsPkgs."ghc-internal" or (errorHandler.buildDepError "ghc-internal")) + ]; + buildable = true; + }; + }; + } // rec { src = pkgs.lib.mkDefault ./.; } diff --git a/materialized/ghc-boot-packages-nix/ghc9102/iserv.nix b/materialized/ghc-boot-packages-nix/ghc9102/iserv.nix new file mode 100644 index 0000000000..4e7204cd02 --- /dev/null +++ b/materialized/ghc-boot-packages-nix/ghc9102/iserv.nix @@ -0,0 +1,41 @@ +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: + { + flags = {}; + package = { + specVersion = "1.10"; + identifier = { name = "iserv"; version = "9.10.2"; }; + license = "BSD-3-Clause"; + copyright = "XXX"; + maintainer = "XXX"; + author = "XXX"; + homepage = ""; + url = ""; + synopsis = "iserv allows GHC to delegate Template Haskell computations"; + description = "GHC can be provided with a path to the iserv binary with\n@-pgmi=/path/to/iserv-bin@, and will in combination with\n@-fexternal-interpreter@, compile Template Haskell though the\n@iserv-bin@ delegate. This is very similar to how ghcjs has been\ncompiling Template Haskell, by spawning a separate delegate (so\ncalled runner on the javascript vm) and evaluating the splices\nthere."; + buildType = "Simple"; + }; + components = { + exes = { + "iserv" = { + 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."ghci" or (errorHandler.buildDepError "ghci")) + ] ++ pkgs.lib.optional (!system.isWindows) (hsPkgs."unix" or (errorHandler.buildDepError "unix")); + buildable = true; + }; + }; + }; + } // rec { src = pkgs.lib.mkDefault ./.; } diff --git a/materialized/ghc-boot-packages-nix/ghc9102/remote-iserv.nix b/materialized/ghc-boot-packages-nix/ghc9102/remote-iserv.nix new file mode 100644 index 0000000000..625706221d --- /dev/null +++ b/materialized/ghc-boot-packages-nix/ghc9102/remote-iserv.nix @@ -0,0 +1,36 @@ +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: + { + flags = {}; + package = { + specVersion = "1.10"; + identifier = { name = "remote-iserv"; version = "9.10.2"; }; + license = "BSD-3-Clause"; + copyright = "XXX"; + maintainer = "Moritz Angermann "; + author = "Moritz Angermann "; + homepage = ""; + url = ""; + synopsis = "iserv allows GHC to delegate Template Haskell computations"; + description = "This is a very simple remote runner for iserv, to be used together\nwith iserv-proxy. The foundamental idea is that this this wrapper\nstarts running the GHCi server on a given port to which iserv-proxy will\nthen connect."; + buildType = "Simple"; + }; + components = { + exes = { + "remote-iserv" = { + depends = [ + (hsPkgs."base" or (errorHandler.buildDepError "base")) + (hsPkgs."ghci" or (errorHandler.buildDepError "ghci")) + ]; + buildable = true; + }; + }; + }; + } // rec { src = pkgs.lib.mkDefault ./.; } diff --git a/materialized/ghc-boot-packages-nix/ghc9102/template-haskell.nix b/materialized/ghc-boot-packages-nix/ghc9102/template-haskell.nix new file mode 100644 index 0000000000..b975251e7e --- /dev/null +++ b/materialized/ghc-boot-packages-nix/ghc9102/template-haskell.nix @@ -0,0 +1,36 @@ +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: + { + flags = {}; + package = { + specVersion = "1.10"; + identifier = { name = "template-haskell"; version = "2.22.0.0"; }; + license = "BSD-3-Clause"; + copyright = ""; + maintainer = "libraries@haskell.org"; + author = ""; + homepage = ""; + url = ""; + synopsis = "Support library for Template Haskell"; + description = "This package provides modules containing facilities for manipulating\nHaskell source code using Template Haskell.\n\nSee for more\ninformation."; + buildType = "Simple"; + }; + components = { + "library" = { + depends = [ + (hsPkgs."base" or (errorHandler.buildDepError "base")) + (hsPkgs."ghc-boot-th" or (errorHandler.buildDepError "ghc-boot-th")) + (hsPkgs."ghc-prim" or (errorHandler.buildDepError "ghc-prim")) + (hsPkgs."pretty" or (errorHandler.buildDepError "pretty")) + ]; + buildable = true; + }; + }; + } // rec { src = pkgs.lib.mkDefault ./.; } diff --git a/materialized/ghc-boot-packages-nix/ghc9102llvm-aarch64/base.nix b/materialized/ghc-boot-packages-nix/ghc9102llvm-aarch64/base.nix new file mode 100644 index 0000000000..d8fd178125 --- /dev/null +++ b/materialized/ghc-boot-packages-nix/ghc9102llvm-aarch64/base.nix @@ -0,0 +1,34 @@ +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: + { + flags = {}; + package = { + specVersion = "3.0"; + identifier = { name = "base"; version = "4.20.1.0"; }; + license = "BSD-3-Clause"; + copyright = ""; + maintainer = "Core Libraries Committee "; + author = ""; + homepage = ""; + url = ""; + synopsis = "Core data structures and operations"; + description = "Haskell's base library provides, among other things, core types (e.g. [Bool](\"Data.Bool\") and [Int](\"Data.Int\")),\ndata structures (e.g. [List](\"Data.List\"), [Tuple](\"Data.Tuple\") and [Maybe](\"Data.Maybe\")),\nthe [Exception](\"Control.Exception\") mechanism, and the [IO](\"System.IO\") & [Concurrency](\"Control.Concurrent\") operations.\nThe \"Prelude\" module, which is imported by default, exposes a curated set of types and functions from other modules.\n\nOther data structures like [Map](https://hackage.haskell.org/package/containers/docs/Data-Map.html),\n[Set](https://hackage.haskell.org/package/containers/docs/Data-Set.html) are available in the [containers](https://hackage.haskell.org/package/containers) library.\nTo work with textual data, use the [text](https://hackage.haskell.org/package/text/docs/Data-Text.html) library."; + buildType = "Simple"; + }; + components = { + "library" = { + depends = [ + (hsPkgs."ghc-internal" or (errorHandler.buildDepError "ghc-internal")) + (hsPkgs."ghc-prim" or (errorHandler.buildDepError "ghc-prim")) + ]; + buildable = true; + }; + }; + } // rec { src = pkgs.lib.mkDefault ./.; } diff --git a/materialized/ghc-boot-packages-nix/ghc9102llvm-aarch64/deriveConstants.nix b/materialized/ghc-boot-packages-nix/ghc9102llvm-aarch64/deriveConstants.nix new file mode 100644 index 0000000000..135cdd02f6 --- /dev/null +++ b/materialized/ghc-boot-packages-nix/ghc9102llvm-aarch64/deriveConstants.nix @@ -0,0 +1,39 @@ +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: + { + flags = {}; + package = { + specVersion = "1.10"; + identifier = { name = "deriveConstants"; version = "0.1"; }; + license = "BSD-3-Clause"; + copyright = "XXX"; + maintainer = "XXX"; + author = "XXX"; + homepage = ""; + url = ""; + synopsis = "Derive header files containing various constants for the GHC build process"; + description = "This utility is responsible for generating a number of C header files\nneeded during the GHC build process. See @rts/include/ghc.mk@ in the GHC\nbuild system for details."; + buildType = "Simple"; + }; + components = { + exes = { + "deriveConstants" = { + depends = [ + (hsPkgs."base" or (errorHandler.buildDepError "base")) + (hsPkgs."containers" or (errorHandler.buildDepError "containers")) + (hsPkgs."process" or (errorHandler.buildDepError "process")) + (hsPkgs."filepath" or (errorHandler.buildDepError "filepath")) + (hsPkgs."directory" or (errorHandler.buildDepError "directory")) + ]; + buildable = true; + }; + }; + }; + } // rec { src = pkgs.lib.mkDefault ./.; } diff --git a/materialized/ghc-boot-packages-nix/ghc9102llvm-aarch64/genprimopcode.nix b/materialized/ghc-boot-packages-nix/ghc9102llvm-aarch64/genprimopcode.nix new file mode 100644 index 0000000000..49bbe516ba --- /dev/null +++ b/materialized/ghc-boot-packages-nix/ghc9102llvm-aarch64/genprimopcode.nix @@ -0,0 +1,40 @@ +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: + { + flags = { build-tool-depends = true; }; + package = { + specVersion = "2.0"; + identifier = { name = "genprimopcode"; version = "0.1"; }; + license = "BSD-3-Clause"; + copyright = "XXX"; + maintainer = "XXX"; + author = "XXX"; + homepage = ""; + url = ""; + synopsis = "Generates various files implementing GHC's primitive operations."; + description = "This utility reads a textual description of GHC's primitive operations\n(@primops.txt.pp@) and produces a number of outputs. These include,\n\n* the @GHC.Prim@ module included in the @ghc-prim@ package.\n* the @GHC.PrimopWrappers@ module included in the @ghc-prim@ package.\n* an LaTeX document describing the primitive operations."; + buildType = "Simple"; + }; + components = { + exes = { + "genprimopcode" = { + depends = [ + (hsPkgs."base" or (errorHandler.buildDepError "base")) + (hsPkgs."array" or (errorHandler.buildDepError "array")) + ]; + build-tools = pkgs.lib.optionals (flags.build-tool-depends) [ + (hsPkgs.pkgsBuildBuild.alex.components.exes.alex or (pkgs.pkgsBuildBuild.alex or (errorHandler.buildToolDepError "alex:alex"))) + (hsPkgs.pkgsBuildBuild.happy.components.exes.happy or (pkgs.pkgsBuildBuild.happy or (errorHandler.buildToolDepError "happy:happy"))) + ]; + buildable = true; + }; + }; + }; + } // rec { src = pkgs.lib.mkDefault ./.; } diff --git a/materialized/ghc-boot-packages-nix/ghc9102llvm-aarch64/ghc-bignum.nix b/materialized/ghc-boot-packages-nix/ghc9102llvm-aarch64/ghc-bignum.nix new file mode 100644 index 0000000000..46af6e0e9f --- /dev/null +++ b/materialized/ghc-boot-packages-nix/ghc9102llvm-aarch64/ghc-bignum.nix @@ -0,0 +1,37 @@ +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: + { + flags = { native = false; ffi = false; gmp = false; check = false; }; + package = { + specVersion = "2.0"; + identifier = { name = "ghc-bignum"; version = "1.3"; }; + license = "BSD-3-Clause"; + copyright = ""; + maintainer = "libraries@haskell.org"; + author = "Sylvain Henry"; + homepage = ""; + url = ""; + synopsis = "GHC BigNum library"; + description = "This package provides the low-level implementation of the standard\n'BigNat', 'Natural' and 'Integer' types."; + buildType = "Configure"; + }; + components = { + "library" = { + depends = [ + (hsPkgs."ghc-prim" or (errorHandler.buildDepError "ghc-prim")) + ]; + buildable = (if !flags.native && !flags.gmp && !flags.ffi + then false + else true) && (if flags.native && (flags.gmp || flags.ffi) + then false + else true) && (if flags.gmp && flags.ffi then false else true); + }; + }; + } // rec { src = pkgs.lib.mkDefault ./.; } diff --git a/materialized/ghc-boot-packages-nix/ghc9102llvm-aarch64/ghc-boot.nix b/materialized/ghc-boot-packages-nix/ghc9102llvm-aarch64/ghc-boot.nix new file mode 100644 index 0000000000..1e1aa12a64 --- /dev/null +++ b/materialized/ghc-boot-packages-nix/ghc9102llvm-aarch64/ghc-boot.nix @@ -0,0 +1,47 @@ +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: + { + flags = {}; + package = { + specVersion = "3.0"; + identifier = { name = "ghc-boot"; version = "9.10.2"; }; + license = "BSD-3-Clause"; + copyright = ""; + maintainer = "ghc-devs@haskell.org"; + author = ""; + homepage = ""; + url = ""; + synopsis = "Shared functionality between GHC and its boot libraries"; + description = "This library is shared between GHC, ghc-pkg, and other boot\nlibraries.\n.\nA note about \"GHC.Unit.Database\": it only deals with the subset of\nthe package database that the compiler cares about: modules\npaths etc and not package metadata like description, authors\netc. It is thus not a library interface to ghc-pkg and is *not*\nsuitable for modifying GHC package databases.\n.\nThe package database format and this library are constructed in\nsuch a way that while ghc-pkg depends on Cabal, the GHC library\nand program do not have to depend on Cabal."; + buildType = "Custom"; + setup-depends = [ + (hsPkgs.pkgsBuildBuild.base or (pkgs.pkgsBuildBuild.base or (errorHandler.setupDepError "base"))) + (hsPkgs.pkgsBuildBuild.Cabal or (pkgs.pkgsBuildBuild.Cabal or (errorHandler.setupDepError "Cabal"))) + (hsPkgs.pkgsBuildBuild.directory or (pkgs.pkgsBuildBuild.directory or (errorHandler.setupDepError "directory"))) + (hsPkgs.pkgsBuildBuild.filepath or (pkgs.pkgsBuildBuild.filepath or (errorHandler.setupDepError "filepath"))) + ]; + }; + components = { + "library" = { + depends = [ + (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."directory" or (errorHandler.buildDepError "directory")) + (hsPkgs."filepath" or (errorHandler.buildDepError "filepath")) + (hsPkgs."deepseq" or (errorHandler.buildDepError "deepseq")) + (hsPkgs."ghc-platform" or (errorHandler.buildDepError "ghc-platform")) + (hsPkgs."ghc-boot-th" or (errorHandler.buildDepError "ghc-boot-th")) + ] ++ pkgs.lib.optional (!system.isWindows) (hsPkgs."unix" or (errorHandler.buildDepError "unix")); + buildable = true; + }; + }; + } // rec { src = pkgs.lib.mkDefault ./.; } diff --git a/materialized/ghc-boot-packages-nix/ghc9102llvm-aarch64/ghc-heap.nix b/materialized/ghc-boot-packages-nix/ghc9102llvm-aarch64/ghc-heap.nix new file mode 100644 index 0000000000..8593829a68 --- /dev/null +++ b/materialized/ghc-boot-packages-nix/ghc9102llvm-aarch64/ghc-heap.nix @@ -0,0 +1,36 @@ +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: + { + flags = {}; + package = { + specVersion = "3.0"; + identifier = { name = "ghc-heap"; version = "9.10.2"; }; + license = "BSD-3-Clause"; + copyright = ""; + maintainer = "libraries@haskell.org"; + author = ""; + homepage = ""; + url = ""; + synopsis = "Functions for walking GHC's heap"; + description = "This package provides functions for walking the GHC heap data structures\nand retrieving information about those data structures."; + buildType = "Simple"; + }; + components = { + "library" = { + depends = [ + (hsPkgs."base" or (errorHandler.buildDepError "base")) + (hsPkgs."ghc-prim" or (errorHandler.buildDepError "ghc-prim")) + (hsPkgs."rts" or (errorHandler.buildDepError "rts")) + (hsPkgs."containers" or (errorHandler.buildDepError "containers")) + ] ++ pkgs.lib.optional (compiler.isGhc && compiler.version.ge "9.9") (hsPkgs."ghc-internal" or (errorHandler.buildDepError "ghc-internal")); + buildable = true; + }; + }; + } // rec { src = pkgs.lib.mkDefault ./.; } diff --git a/materialized/ghc-boot-packages-nix/ghc9102llvm-aarch64/ghc-internal.nix b/materialized/ghc-boot-packages-nix/ghc9102llvm-aarch64/ghc-internal.nix new file mode 100644 index 0000000000..5577b8c091 --- /dev/null +++ b/materialized/ghc-boot-packages-nix/ghc9102llvm-aarch64/ghc-internal.nix @@ -0,0 +1,49 @@ +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: + { + flags = {}; + package = { + specVersion = "3.0"; + identifier = { name = "ghc-internal"; version = "9.1002.0"; }; + license = "BSD-3-Clause"; + copyright = ""; + maintainer = "Core Libraries Committee "; + author = ""; + homepage = ""; + url = ""; + synopsis = "Basic libraries"; + description = "This package contains the Standard Haskell \"Prelude\" and its support libraries,\nand a large collection of useful libraries ranging from data\nstructures to parsing combinators and debugging utilities."; + buildType = "Configure"; + }; + components = { + "library" = { + depends = [ + (hsPkgs."rts" or (errorHandler.buildDepError "rts")) + (hsPkgs."ghc-prim" or (errorHandler.buildDepError "ghc-prim")) + (hsPkgs."ghc-bignum" or (errorHandler.buildDepError "ghc-bignum")) + ]; + libs = pkgs.lib.optionals (system.isWindows) [ + (pkgs."wsock32" or (errorHandler.sysDepError "wsock32")) + (pkgs."user32" or (errorHandler.sysDepError "user32")) + (pkgs."shell32" or (errorHandler.sysDepError "shell32")) + (pkgs."mingw32" or (errorHandler.sysDepError "mingw32")) + (pkgs."kernel32" or (errorHandler.sysDepError "kernel32")) + (pkgs."advapi32" or (errorHandler.sysDepError "advapi32")) + (pkgs."mingwex" or (errorHandler.sysDepError "mingwex")) + (pkgs."ws2_32" or (errorHandler.sysDepError "ws2_32")) + (pkgs."shlwapi" or (errorHandler.sysDepError "shlwapi")) + (pkgs."ole32" or (errorHandler.sysDepError "ole32")) + (pkgs."rpcrt4" or (errorHandler.sysDepError "rpcrt4")) + (pkgs."ntdll" or (errorHandler.sysDepError "ntdll")) + ]; + buildable = true; + }; + }; + } // rec { src = pkgs.lib.mkDefault ./.; } diff --git a/materialized/ghc-boot-packages-nix/ghc9102llvm-aarch64/ghc-platform.nix b/materialized/ghc-boot-packages-nix/ghc9102llvm-aarch64/ghc-platform.nix new file mode 100644 index 0000000000..9a99aece09 --- /dev/null +++ b/materialized/ghc-boot-packages-nix/ghc9102llvm-aarch64/ghc-platform.nix @@ -0,0 +1,31 @@ +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: + { + flags = {}; + package = { + specVersion = "3.0"; + identifier = { name = "ghc-platform"; version = "0.1.0.0"; }; + license = "BSD-3-Clause"; + copyright = ""; + maintainer = "ghc-devs@haskell.org"; + author = "Rodrigo Mesquita"; + homepage = ""; + url = ""; + synopsis = "Platform information used by GHC and friends"; + description = ""; + buildType = "Simple"; + }; + components = { + "library" = { + depends = [ (hsPkgs."base" or (errorHandler.buildDepError "base")) ]; + buildable = true; + }; + }; + } // rec { src = pkgs.lib.mkDefault ./.; } diff --git a/materialized/ghc-boot-packages-nix/ghc9102llvm-aarch64/ghc-prim.nix b/materialized/ghc-boot-packages-nix/ghc9102llvm-aarch64/ghc-prim.nix new file mode 100644 index 0000000000..c10529f48d --- /dev/null +++ b/materialized/ghc-boot-packages-nix/ghc9102llvm-aarch64/ghc-prim.nix @@ -0,0 +1,47 @@ +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: + { + flags = { need-atomic = false; }; + package = { + specVersion = "2.2"; + identifier = { name = "ghc-prim"; version = "0.12.0"; }; + license = "BSD-3-Clause"; + copyright = ""; + maintainer = "libraries@haskell.org"; + author = ""; + homepage = ""; + url = ""; + synopsis = "GHC primitives"; + description = "This package contains the primitive types and operations supplied by GHC.\nIt is an internal package, only for the use of GHC developers.\nGHC users should not use it! If you do use it then expect\nbreaking changes at any time without warning. You should prefer\nto import @GHC.Exts@ from the @base@ package instead."; + buildType = "Custom"; + setup-depends = [ + (hsPkgs.pkgsBuildBuild.base or (pkgs.pkgsBuildBuild.base or (errorHandler.setupDepError "base"))) + (hsPkgs.pkgsBuildBuild.process or (pkgs.pkgsBuildBuild.process or (errorHandler.setupDepError "process"))) + (hsPkgs.pkgsBuildBuild.filepath or (pkgs.pkgsBuildBuild.filepath or (errorHandler.setupDepError "filepath"))) + (hsPkgs.pkgsBuildBuild.directory or (pkgs.pkgsBuildBuild.directory or (errorHandler.setupDepError "directory"))) + (hsPkgs.pkgsBuildBuild.Cabal or (pkgs.pkgsBuildBuild.Cabal or (errorHandler.setupDepError "Cabal"))) + ]; + }; + components = { + "library" = { + depends = [ (hsPkgs."rts" or (errorHandler.buildDepError "rts")) ]; + libs = (pkgs.lib.optionals (system.isWindows) [ + (pkgs."user32" or (errorHandler.sysDepError "user32")) + (pkgs."mingw32" or (errorHandler.sysDepError "mingw32")) + (pkgs."mingwex" or (errorHandler.sysDepError "mingwex")) + (pkgs."ucrt" or (errorHandler.sysDepError "ucrt")) + ] ++ pkgs.lib.optionals (system.isLinux) [ + (pkgs."c" or (errorHandler.sysDepError "c")) + (pkgs."m" or (errorHandler.sysDepError "m")) + ]) ++ pkgs.lib.optional (flags.need-atomic) (pkgs."atomic" or (errorHandler.sysDepError "atomic")); + buildable = true; + }; + }; + } // rec { src = pkgs.lib.mkDefault ./.; } diff --git a/materialized/ghc-boot-packages-nix/ghc9102llvm-aarch64/ghc-toolchain.nix b/materialized/ghc-boot-packages-nix/ghc9102llvm-aarch64/ghc-toolchain.nix new file mode 100644 index 0000000000..a46ace1fa2 --- /dev/null +++ b/materialized/ghc-boot-packages-nix/ghc9102llvm-aarch64/ghc-toolchain.nix @@ -0,0 +1,39 @@ +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: + { + flags = {}; + package = { + specVersion = "2.4"; + identifier = { name = "ghc-toolchain"; version = "0.1.0.0"; }; + license = "NONE"; + copyright = "(c) The GHC Developers"; + maintainer = "ben@well-typed.com"; + author = "Ben Gamari"; + homepage = ""; + url = ""; + synopsis = "Utility for managing GHC target toolchains"; + description = ""; + 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."transformers" or (errorHandler.buildDepError "transformers")) + (hsPkgs."text" or (errorHandler.buildDepError "text")) + (hsPkgs."ghc-platform" or (errorHandler.buildDepError "ghc-platform")) + ]; + buildable = true; + }; + }; + } // rec { src = pkgs.lib.mkDefault ./.; } diff --git a/materialized/ghc-boot-packages-nix/ghc9102llvm-aarch64/ghc.nix b/materialized/ghc-boot-packages-nix/ghc9102llvm-aarch64/ghc.nix new file mode 100644 index 0000000000..2028733218 --- /dev/null +++ b/materialized/ghc-boot-packages-nix/ghc9102llvm-aarch64/ghc.nix @@ -0,0 +1,81 @@ +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: + { + flags = { + internal-interpreter = false; + dynamic-system-linker = true; + build-tool-depends = true; + with-libzstd = false; + static-libzstd = false; + hadrian-stage0 = false; + }; + package = { + specVersion = "2.2"; + identifier = { name = "ghc"; version = "9.10.2"; }; + license = "BSD-3-Clause"; + copyright = ""; + maintainer = "glasgow-haskell-users@haskell.org"; + author = "The GHC Team"; + homepage = "http://www.haskell.org/ghc/"; + url = ""; + synopsis = "The GHC API"; + description = "GHC's functionality can be useful for more things than just\ncompiling Haskell programs. Important use cases are programs\nthat analyse (and perhaps transform) Haskell code. Others\ninclude loading Haskell code dynamically in a GHCi-like manner.\nFor this reason, a lot of GHC's functionality is made available\nthrough this package.\n\nSee \nfor more information.\n\n__This package is not PVP-compliant.__\n\nThis package directly exposes GHC internals, which can and do change with\nevery release."; + buildType = "Custom"; + setup-depends = [ + (hsPkgs.pkgsBuildBuild.base or (pkgs.pkgsBuildBuild.base or (errorHandler.setupDepError "base"))) + (hsPkgs.pkgsBuildBuild.Cabal or (pkgs.pkgsBuildBuild.Cabal or (errorHandler.setupDepError "Cabal"))) + (hsPkgs.pkgsBuildBuild.directory or (pkgs.pkgsBuildBuild.directory or (errorHandler.setupDepError "directory"))) + (hsPkgs.pkgsBuildBuild.process or (pkgs.pkgsBuildBuild.process or (errorHandler.setupDepError "process"))) + (hsPkgs.pkgsBuildBuild.filepath or (pkgs.pkgsBuildBuild.filepath or (errorHandler.setupDepError "filepath"))) + (hsPkgs.pkgsBuildBuild.containers or (pkgs.pkgsBuildBuild.containers or (errorHandler.setupDepError "containers"))) + ]; + }; + components = { + "library" = { + depends = [ + (hsPkgs."base" or (errorHandler.buildDepError "base")) + (hsPkgs."deepseq" or (errorHandler.buildDepError "deepseq")) + (hsPkgs."directory" or (errorHandler.buildDepError "directory")) + (hsPkgs."process" or (errorHandler.buildDepError "process")) + (hsPkgs."bytestring" or (errorHandler.buildDepError "bytestring")) + (hsPkgs."binary" or (errorHandler.buildDepError "binary")) + (hsPkgs."time" or (errorHandler.buildDepError "time")) + (hsPkgs."containers" or (errorHandler.buildDepError "containers")) + (hsPkgs."array" or (errorHandler.buildDepError "array")) + (hsPkgs."filepath" or (errorHandler.buildDepError "filepath")) + (hsPkgs."template-haskell" or (errorHandler.buildDepError "template-haskell")) + (hsPkgs."hpc" or (errorHandler.buildDepError "hpc")) + (hsPkgs."transformers" or (errorHandler.buildDepError "transformers")) + (hsPkgs."exceptions" or (errorHandler.buildDepError "exceptions")) + (hsPkgs."semaphore-compat" or (errorHandler.buildDepError "semaphore-compat")) + (hsPkgs."stm" or (errorHandler.buildDepError "stm")) + (hsPkgs."ghc-boot" or (errorHandler.buildDepError "ghc-boot")) + (hsPkgs."ghc-heap" or (errorHandler.buildDepError "ghc-heap")) + (hsPkgs."ghci" or (errorHandler.buildDepError "ghci")) + ] ++ (if system.isWindows + then [ (hsPkgs."Win32" or (errorHandler.buildDepError "Win32")) ] + else [ (hsPkgs."unix" or (errorHandler.buildDepError "unix")) ]); + libs = pkgs.lib.optionals (flags.with-libzstd) (if flags.static-libzstd + then pkgs.lib.optional (!system.isOsx) (pkgs.":libzstd.a" or (errorHandler.sysDepError ":libzstd.a")) + else [ (pkgs."zstd" or (errorHandler.sysDepError "zstd")) ]); + build-tools = pkgs.lib.optionals (flags.build-tool-depends) [ + (hsPkgs.pkgsBuildBuild.alex.components.exes.alex or (pkgs.pkgsBuildBuild.alex or (errorHandler.buildToolDepError "alex:alex"))) + (hsPkgs.pkgsBuildBuild.happy.components.exes.happy or (pkgs.pkgsBuildBuild.happy or (errorHandler.buildToolDepError "happy:happy"))) + (hsPkgs.pkgsBuildBuild.genprimopcode.components.exes.genprimopcode or (pkgs.pkgsBuildBuild.genprimopcode or (errorHandler.buildToolDepError "genprimopcode:genprimopcode"))) + (hsPkgs.pkgsBuildBuild.deriveConstants.components.exes.deriveConstants or (pkgs.pkgsBuildBuild.deriveConstants or (errorHandler.buildToolDepError "deriveConstants:deriveConstants"))) + ]; + buildable = if flags.with-libzstd + then if flags.static-libzstd + then if system.isOsx then false else true + else true + else true; + }; + }; + } // rec { src = pkgs.lib.mkDefault ./.; } diff --git a/materialized/ghc-boot-packages-nix/ghc9102llvm-aarch64/ghci.nix b/materialized/ghc-boot-packages-nix/ghc9102llvm-aarch64/ghci.nix new file mode 100644 index 0000000000..60c83e4d43 --- /dev/null +++ b/materialized/ghc-boot-packages-nix/ghc9102llvm-aarch64/ghci.nix @@ -0,0 +1,45 @@ +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: + { + flags = { internal-interpreter = false; }; + package = { + specVersion = "1.10"; + identifier = { name = "ghci"; version = "9.10.2"; }; + license = "BSD-3-Clause"; + copyright = ""; + maintainer = "ghc-devs@haskell.org"; + author = ""; + homepage = ""; + url = ""; + synopsis = "The library supporting GHC's interactive interpreter"; + description = "This library offers interfaces which mediate interactions between the\n@ghci@ interactive shell and @iserv@, GHC's out-of-process interpreter\nbackend."; + buildType = "Simple"; + }; + components = { + "library" = { + depends = [ + (hsPkgs."rts" or (errorHandler.buildDepError "rts")) + (hsPkgs."array" or (errorHandler.buildDepError "array")) + (hsPkgs."base" or (errorHandler.buildDepError "base")) + (hsPkgs."ghc-prim" or (errorHandler.buildDepError "ghc-prim")) + (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."filepath" or (errorHandler.buildDepError "filepath")) + (hsPkgs."ghc-boot" or (errorHandler.buildDepError "ghc-boot")) + (hsPkgs."ghc-heap" or (errorHandler.buildDepError "ghc-heap")) + (hsPkgs."template-haskell" or (errorHandler.buildDepError "template-haskell")) + (hsPkgs."transformers" or (errorHandler.buildDepError "transformers")) + ] ++ pkgs.lib.optional (!system.isWindows) (hsPkgs."unix" or (errorHandler.buildDepError "unix")); + buildable = true; + }; + }; + } // rec { src = pkgs.lib.mkDefault ./.; } diff --git a/materialized/ghc-boot-packages-nix/ghc9102llvm-aarch64/hpc.nix b/materialized/ghc-boot-packages-nix/ghc9102llvm-aarch64/hpc.nix new file mode 100644 index 0000000000..fe40a941c5 --- /dev/null +++ b/materialized/ghc-boot-packages-nix/ghc9102llvm-aarch64/hpc.nix @@ -0,0 +1,38 @@ +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: + { + flags = {}; + package = { + specVersion = "2.2"; + identifier = { name = "hpc"; version = "0.7.0.2"; }; + license = "BSD-3-Clause"; + copyright = ""; + maintainer = "ghc-devs@haskell.org"; + author = "Andy Gill"; + homepage = ""; + url = ""; + synopsis = "Code Coverage Library for Haskell"; + description = "This package provides the code coverage library for Haskell.\n\nSee for more\ninformation."; + buildType = "Simple"; + }; + components = { + "library" = { + depends = [ + (hsPkgs."base" or (errorHandler.buildDepError "base")) + (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."time" or (errorHandler.buildDepError "time")) + ]; + buildable = true; + }; + }; + } // rec { src = pkgs.lib.mkDefault ./.; } diff --git a/materialized/ghc-boot-packages-nix/ghc9102llvm-aarch64/integer-gmp.nix b/materialized/ghc-boot-packages-nix/ghc9102llvm-aarch64/integer-gmp.nix new file mode 100644 index 0000000000..8594679a59 --- /dev/null +++ b/materialized/ghc-boot-packages-nix/ghc9102llvm-aarch64/integer-gmp.nix @@ -0,0 +1,36 @@ +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: + { + flags = {}; + package = { + specVersion = "2.0"; + identifier = { name = "integer-gmp"; version = "1.1"; }; + license = "BSD-3-Clause"; + copyright = ""; + maintainer = "hvr@gnu.org"; + author = "Herbert Valerio Riedel"; + homepage = "https://www.haskell.org/ghc/"; + url = ""; + synopsis = "Integer library based on GMP"; + description = "This package used to provide an implementation of the standard 'Integer'\ntype based on the\n.\n\nIt is now deprecated in favor of the 'ghc-bignum' package.\n\nIts purpose is to provide backward compatibility for codes directly\ndepending on the `integer-gmp` package."; + buildType = "Simple"; + }; + components = { + "library" = { + depends = [ + (hsPkgs."base" or (errorHandler.buildDepError "base")) + (hsPkgs."ghc-prim" or (errorHandler.buildDepError "ghc-prim")) + (hsPkgs."ghc-bignum" or (errorHandler.buildDepError "ghc-bignum")) + (hsPkgs."ghc-internal" or (errorHandler.buildDepError "ghc-internal")) + ]; + buildable = true; + }; + }; + } // rec { src = pkgs.lib.mkDefault ./.; } diff --git a/materialized/ghc-boot-packages-nix/ghc9102llvm-aarch64/iserv.nix b/materialized/ghc-boot-packages-nix/ghc9102llvm-aarch64/iserv.nix new file mode 100644 index 0000000000..4e7204cd02 --- /dev/null +++ b/materialized/ghc-boot-packages-nix/ghc9102llvm-aarch64/iserv.nix @@ -0,0 +1,41 @@ +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: + { + flags = {}; + package = { + specVersion = "1.10"; + identifier = { name = "iserv"; version = "9.10.2"; }; + license = "BSD-3-Clause"; + copyright = "XXX"; + maintainer = "XXX"; + author = "XXX"; + homepage = ""; + url = ""; + synopsis = "iserv allows GHC to delegate Template Haskell computations"; + description = "GHC can be provided with a path to the iserv binary with\n@-pgmi=/path/to/iserv-bin@, and will in combination with\n@-fexternal-interpreter@, compile Template Haskell though the\n@iserv-bin@ delegate. This is very similar to how ghcjs has been\ncompiling Template Haskell, by spawning a separate delegate (so\ncalled runner on the javascript vm) and evaluating the splices\nthere."; + buildType = "Simple"; + }; + components = { + exes = { + "iserv" = { + 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."ghci" or (errorHandler.buildDepError "ghci")) + ] ++ pkgs.lib.optional (!system.isWindows) (hsPkgs."unix" or (errorHandler.buildDepError "unix")); + buildable = true; + }; + }; + }; + } // rec { src = pkgs.lib.mkDefault ./.; } diff --git a/materialized/ghc-boot-packages-nix/ghc9102llvm-aarch64/remote-iserv.nix b/materialized/ghc-boot-packages-nix/ghc9102llvm-aarch64/remote-iserv.nix new file mode 100644 index 0000000000..625706221d --- /dev/null +++ b/materialized/ghc-boot-packages-nix/ghc9102llvm-aarch64/remote-iserv.nix @@ -0,0 +1,36 @@ +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: + { + flags = {}; + package = { + specVersion = "1.10"; + identifier = { name = "remote-iserv"; version = "9.10.2"; }; + license = "BSD-3-Clause"; + copyright = "XXX"; + maintainer = "Moritz Angermann "; + author = "Moritz Angermann "; + homepage = ""; + url = ""; + synopsis = "iserv allows GHC to delegate Template Haskell computations"; + description = "This is a very simple remote runner for iserv, to be used together\nwith iserv-proxy. The foundamental idea is that this this wrapper\nstarts running the GHCi server on a given port to which iserv-proxy will\nthen connect."; + buildType = "Simple"; + }; + components = { + exes = { + "remote-iserv" = { + depends = [ + (hsPkgs."base" or (errorHandler.buildDepError "base")) + (hsPkgs."ghci" or (errorHandler.buildDepError "ghci")) + ]; + buildable = true; + }; + }; + }; + } // rec { src = pkgs.lib.mkDefault ./.; } diff --git a/materialized/ghc-boot-packages-nix/ghc9102llvm-aarch64/template-haskell.nix b/materialized/ghc-boot-packages-nix/ghc9102llvm-aarch64/template-haskell.nix new file mode 100644 index 0000000000..b975251e7e --- /dev/null +++ b/materialized/ghc-boot-packages-nix/ghc9102llvm-aarch64/template-haskell.nix @@ -0,0 +1,36 @@ +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: + { + flags = {}; + package = { + specVersion = "1.10"; + identifier = { name = "template-haskell"; version = "2.22.0.0"; }; + license = "BSD-3-Clause"; + copyright = ""; + maintainer = "libraries@haskell.org"; + author = ""; + homepage = ""; + url = ""; + synopsis = "Support library for Template Haskell"; + description = "This package provides modules containing facilities for manipulating\nHaskell source code using Template Haskell.\n\nSee for more\ninformation."; + buildType = "Simple"; + }; + components = { + "library" = { + depends = [ + (hsPkgs."base" or (errorHandler.buildDepError "base")) + (hsPkgs."ghc-boot-th" or (errorHandler.buildDepError "ghc-boot-th")) + (hsPkgs."ghc-prim" or (errorHandler.buildDepError "ghc-prim")) + (hsPkgs."pretty" or (errorHandler.buildDepError "pretty")) + ]; + buildable = true; + }; + }; + } // rec { src = pkgs.lib.mkDefault ./.; } diff --git a/materialized/ghc-boot-packages-nix/ghc9102llvm/base.nix b/materialized/ghc-boot-packages-nix/ghc9102llvm/base.nix new file mode 100644 index 0000000000..d8fd178125 --- /dev/null +++ b/materialized/ghc-boot-packages-nix/ghc9102llvm/base.nix @@ -0,0 +1,34 @@ +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: + { + flags = {}; + package = { + specVersion = "3.0"; + identifier = { name = "base"; version = "4.20.1.0"; }; + license = "BSD-3-Clause"; + copyright = ""; + maintainer = "Core Libraries Committee "; + author = ""; + homepage = ""; + url = ""; + synopsis = "Core data structures and operations"; + description = "Haskell's base library provides, among other things, core types (e.g. [Bool](\"Data.Bool\") and [Int](\"Data.Int\")),\ndata structures (e.g. [List](\"Data.List\"), [Tuple](\"Data.Tuple\") and [Maybe](\"Data.Maybe\")),\nthe [Exception](\"Control.Exception\") mechanism, and the [IO](\"System.IO\") & [Concurrency](\"Control.Concurrent\") operations.\nThe \"Prelude\" module, which is imported by default, exposes a curated set of types and functions from other modules.\n\nOther data structures like [Map](https://hackage.haskell.org/package/containers/docs/Data-Map.html),\n[Set](https://hackage.haskell.org/package/containers/docs/Data-Set.html) are available in the [containers](https://hackage.haskell.org/package/containers) library.\nTo work with textual data, use the [text](https://hackage.haskell.org/package/text/docs/Data-Text.html) library."; + buildType = "Simple"; + }; + components = { + "library" = { + depends = [ + (hsPkgs."ghc-internal" or (errorHandler.buildDepError "ghc-internal")) + (hsPkgs."ghc-prim" or (errorHandler.buildDepError "ghc-prim")) + ]; + buildable = true; + }; + }; + } // rec { src = pkgs.lib.mkDefault ./.; } diff --git a/materialized/ghc-boot-packages-nix/ghc9102llvm/deriveConstants.nix b/materialized/ghc-boot-packages-nix/ghc9102llvm/deriveConstants.nix new file mode 100644 index 0000000000..135cdd02f6 --- /dev/null +++ b/materialized/ghc-boot-packages-nix/ghc9102llvm/deriveConstants.nix @@ -0,0 +1,39 @@ +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: + { + flags = {}; + package = { + specVersion = "1.10"; + identifier = { name = "deriveConstants"; version = "0.1"; }; + license = "BSD-3-Clause"; + copyright = "XXX"; + maintainer = "XXX"; + author = "XXX"; + homepage = ""; + url = ""; + synopsis = "Derive header files containing various constants for the GHC build process"; + description = "This utility is responsible for generating a number of C header files\nneeded during the GHC build process. See @rts/include/ghc.mk@ in the GHC\nbuild system for details."; + buildType = "Simple"; + }; + components = { + exes = { + "deriveConstants" = { + depends = [ + (hsPkgs."base" or (errorHandler.buildDepError "base")) + (hsPkgs."containers" or (errorHandler.buildDepError "containers")) + (hsPkgs."process" or (errorHandler.buildDepError "process")) + (hsPkgs."filepath" or (errorHandler.buildDepError "filepath")) + (hsPkgs."directory" or (errorHandler.buildDepError "directory")) + ]; + buildable = true; + }; + }; + }; + } // rec { src = pkgs.lib.mkDefault ./.; } diff --git a/materialized/ghc-boot-packages-nix/ghc9102llvm/genprimopcode.nix b/materialized/ghc-boot-packages-nix/ghc9102llvm/genprimopcode.nix new file mode 100644 index 0000000000..49bbe516ba --- /dev/null +++ b/materialized/ghc-boot-packages-nix/ghc9102llvm/genprimopcode.nix @@ -0,0 +1,40 @@ +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: + { + flags = { build-tool-depends = true; }; + package = { + specVersion = "2.0"; + identifier = { name = "genprimopcode"; version = "0.1"; }; + license = "BSD-3-Clause"; + copyright = "XXX"; + maintainer = "XXX"; + author = "XXX"; + homepage = ""; + url = ""; + synopsis = "Generates various files implementing GHC's primitive operations."; + description = "This utility reads a textual description of GHC's primitive operations\n(@primops.txt.pp@) and produces a number of outputs. These include,\n\n* the @GHC.Prim@ module included in the @ghc-prim@ package.\n* the @GHC.PrimopWrappers@ module included in the @ghc-prim@ package.\n* an LaTeX document describing the primitive operations."; + buildType = "Simple"; + }; + components = { + exes = { + "genprimopcode" = { + depends = [ + (hsPkgs."base" or (errorHandler.buildDepError "base")) + (hsPkgs."array" or (errorHandler.buildDepError "array")) + ]; + build-tools = pkgs.lib.optionals (flags.build-tool-depends) [ + (hsPkgs.pkgsBuildBuild.alex.components.exes.alex or (pkgs.pkgsBuildBuild.alex or (errorHandler.buildToolDepError "alex:alex"))) + (hsPkgs.pkgsBuildBuild.happy.components.exes.happy or (pkgs.pkgsBuildBuild.happy or (errorHandler.buildToolDepError "happy:happy"))) + ]; + buildable = true; + }; + }; + }; + } // rec { src = pkgs.lib.mkDefault ./.; } diff --git a/materialized/ghc-boot-packages-nix/ghc9102llvm/ghc-bignum.nix b/materialized/ghc-boot-packages-nix/ghc9102llvm/ghc-bignum.nix new file mode 100644 index 0000000000..46af6e0e9f --- /dev/null +++ b/materialized/ghc-boot-packages-nix/ghc9102llvm/ghc-bignum.nix @@ -0,0 +1,37 @@ +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: + { + flags = { native = false; ffi = false; gmp = false; check = false; }; + package = { + specVersion = "2.0"; + identifier = { name = "ghc-bignum"; version = "1.3"; }; + license = "BSD-3-Clause"; + copyright = ""; + maintainer = "libraries@haskell.org"; + author = "Sylvain Henry"; + homepage = ""; + url = ""; + synopsis = "GHC BigNum library"; + description = "This package provides the low-level implementation of the standard\n'BigNat', 'Natural' and 'Integer' types."; + buildType = "Configure"; + }; + components = { + "library" = { + depends = [ + (hsPkgs."ghc-prim" or (errorHandler.buildDepError "ghc-prim")) + ]; + buildable = (if !flags.native && !flags.gmp && !flags.ffi + then false + else true) && (if flags.native && (flags.gmp || flags.ffi) + then false + else true) && (if flags.gmp && flags.ffi then false else true); + }; + }; + } // rec { src = pkgs.lib.mkDefault ./.; } diff --git a/materialized/ghc-boot-packages-nix/ghc9102llvm/ghc-boot.nix b/materialized/ghc-boot-packages-nix/ghc9102llvm/ghc-boot.nix new file mode 100644 index 0000000000..1e1aa12a64 --- /dev/null +++ b/materialized/ghc-boot-packages-nix/ghc9102llvm/ghc-boot.nix @@ -0,0 +1,47 @@ +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: + { + flags = {}; + package = { + specVersion = "3.0"; + identifier = { name = "ghc-boot"; version = "9.10.2"; }; + license = "BSD-3-Clause"; + copyright = ""; + maintainer = "ghc-devs@haskell.org"; + author = ""; + homepage = ""; + url = ""; + synopsis = "Shared functionality between GHC and its boot libraries"; + description = "This library is shared between GHC, ghc-pkg, and other boot\nlibraries.\n.\nA note about \"GHC.Unit.Database\": it only deals with the subset of\nthe package database that the compiler cares about: modules\npaths etc and not package metadata like description, authors\netc. It is thus not a library interface to ghc-pkg and is *not*\nsuitable for modifying GHC package databases.\n.\nThe package database format and this library are constructed in\nsuch a way that while ghc-pkg depends on Cabal, the GHC library\nand program do not have to depend on Cabal."; + buildType = "Custom"; + setup-depends = [ + (hsPkgs.pkgsBuildBuild.base or (pkgs.pkgsBuildBuild.base or (errorHandler.setupDepError "base"))) + (hsPkgs.pkgsBuildBuild.Cabal or (pkgs.pkgsBuildBuild.Cabal or (errorHandler.setupDepError "Cabal"))) + (hsPkgs.pkgsBuildBuild.directory or (pkgs.pkgsBuildBuild.directory or (errorHandler.setupDepError "directory"))) + (hsPkgs.pkgsBuildBuild.filepath or (pkgs.pkgsBuildBuild.filepath or (errorHandler.setupDepError "filepath"))) + ]; + }; + components = { + "library" = { + depends = [ + (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."directory" or (errorHandler.buildDepError "directory")) + (hsPkgs."filepath" or (errorHandler.buildDepError "filepath")) + (hsPkgs."deepseq" or (errorHandler.buildDepError "deepseq")) + (hsPkgs."ghc-platform" or (errorHandler.buildDepError "ghc-platform")) + (hsPkgs."ghc-boot-th" or (errorHandler.buildDepError "ghc-boot-th")) + ] ++ pkgs.lib.optional (!system.isWindows) (hsPkgs."unix" or (errorHandler.buildDepError "unix")); + buildable = true; + }; + }; + } // rec { src = pkgs.lib.mkDefault ./.; } diff --git a/materialized/ghc-boot-packages-nix/ghc9102llvm/ghc-heap.nix b/materialized/ghc-boot-packages-nix/ghc9102llvm/ghc-heap.nix new file mode 100644 index 0000000000..8593829a68 --- /dev/null +++ b/materialized/ghc-boot-packages-nix/ghc9102llvm/ghc-heap.nix @@ -0,0 +1,36 @@ +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: + { + flags = {}; + package = { + specVersion = "3.0"; + identifier = { name = "ghc-heap"; version = "9.10.2"; }; + license = "BSD-3-Clause"; + copyright = ""; + maintainer = "libraries@haskell.org"; + author = ""; + homepage = ""; + url = ""; + synopsis = "Functions for walking GHC's heap"; + description = "This package provides functions for walking the GHC heap data structures\nand retrieving information about those data structures."; + buildType = "Simple"; + }; + components = { + "library" = { + depends = [ + (hsPkgs."base" or (errorHandler.buildDepError "base")) + (hsPkgs."ghc-prim" or (errorHandler.buildDepError "ghc-prim")) + (hsPkgs."rts" or (errorHandler.buildDepError "rts")) + (hsPkgs."containers" or (errorHandler.buildDepError "containers")) + ] ++ pkgs.lib.optional (compiler.isGhc && compiler.version.ge "9.9") (hsPkgs."ghc-internal" or (errorHandler.buildDepError "ghc-internal")); + buildable = true; + }; + }; + } // rec { src = pkgs.lib.mkDefault ./.; } diff --git a/materialized/ghc-boot-packages-nix/ghc9102llvm/ghc-internal.nix b/materialized/ghc-boot-packages-nix/ghc9102llvm/ghc-internal.nix new file mode 100644 index 0000000000..5577b8c091 --- /dev/null +++ b/materialized/ghc-boot-packages-nix/ghc9102llvm/ghc-internal.nix @@ -0,0 +1,49 @@ +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: + { + flags = {}; + package = { + specVersion = "3.0"; + identifier = { name = "ghc-internal"; version = "9.1002.0"; }; + license = "BSD-3-Clause"; + copyright = ""; + maintainer = "Core Libraries Committee "; + author = ""; + homepage = ""; + url = ""; + synopsis = "Basic libraries"; + description = "This package contains the Standard Haskell \"Prelude\" and its support libraries,\nand a large collection of useful libraries ranging from data\nstructures to parsing combinators and debugging utilities."; + buildType = "Configure"; + }; + components = { + "library" = { + depends = [ + (hsPkgs."rts" or (errorHandler.buildDepError "rts")) + (hsPkgs."ghc-prim" or (errorHandler.buildDepError "ghc-prim")) + (hsPkgs."ghc-bignum" or (errorHandler.buildDepError "ghc-bignum")) + ]; + libs = pkgs.lib.optionals (system.isWindows) [ + (pkgs."wsock32" or (errorHandler.sysDepError "wsock32")) + (pkgs."user32" or (errorHandler.sysDepError "user32")) + (pkgs."shell32" or (errorHandler.sysDepError "shell32")) + (pkgs."mingw32" or (errorHandler.sysDepError "mingw32")) + (pkgs."kernel32" or (errorHandler.sysDepError "kernel32")) + (pkgs."advapi32" or (errorHandler.sysDepError "advapi32")) + (pkgs."mingwex" or (errorHandler.sysDepError "mingwex")) + (pkgs."ws2_32" or (errorHandler.sysDepError "ws2_32")) + (pkgs."shlwapi" or (errorHandler.sysDepError "shlwapi")) + (pkgs."ole32" or (errorHandler.sysDepError "ole32")) + (pkgs."rpcrt4" or (errorHandler.sysDepError "rpcrt4")) + (pkgs."ntdll" or (errorHandler.sysDepError "ntdll")) + ]; + buildable = true; + }; + }; + } // rec { src = pkgs.lib.mkDefault ./.; } diff --git a/materialized/ghc-boot-packages-nix/ghc9102llvm/ghc-platform.nix b/materialized/ghc-boot-packages-nix/ghc9102llvm/ghc-platform.nix new file mode 100644 index 0000000000..9a99aece09 --- /dev/null +++ b/materialized/ghc-boot-packages-nix/ghc9102llvm/ghc-platform.nix @@ -0,0 +1,31 @@ +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: + { + flags = {}; + package = { + specVersion = "3.0"; + identifier = { name = "ghc-platform"; version = "0.1.0.0"; }; + license = "BSD-3-Clause"; + copyright = ""; + maintainer = "ghc-devs@haskell.org"; + author = "Rodrigo Mesquita"; + homepage = ""; + url = ""; + synopsis = "Platform information used by GHC and friends"; + description = ""; + buildType = "Simple"; + }; + components = { + "library" = { + depends = [ (hsPkgs."base" or (errorHandler.buildDepError "base")) ]; + buildable = true; + }; + }; + } // rec { src = pkgs.lib.mkDefault ./.; } diff --git a/materialized/ghc-boot-packages-nix/ghc9102llvm/ghc-prim.nix b/materialized/ghc-boot-packages-nix/ghc9102llvm/ghc-prim.nix new file mode 100644 index 0000000000..c10529f48d --- /dev/null +++ b/materialized/ghc-boot-packages-nix/ghc9102llvm/ghc-prim.nix @@ -0,0 +1,47 @@ +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: + { + flags = { need-atomic = false; }; + package = { + specVersion = "2.2"; + identifier = { name = "ghc-prim"; version = "0.12.0"; }; + license = "BSD-3-Clause"; + copyright = ""; + maintainer = "libraries@haskell.org"; + author = ""; + homepage = ""; + url = ""; + synopsis = "GHC primitives"; + description = "This package contains the primitive types and operations supplied by GHC.\nIt is an internal package, only for the use of GHC developers.\nGHC users should not use it! If you do use it then expect\nbreaking changes at any time without warning. You should prefer\nto import @GHC.Exts@ from the @base@ package instead."; + buildType = "Custom"; + setup-depends = [ + (hsPkgs.pkgsBuildBuild.base or (pkgs.pkgsBuildBuild.base or (errorHandler.setupDepError "base"))) + (hsPkgs.pkgsBuildBuild.process or (pkgs.pkgsBuildBuild.process or (errorHandler.setupDepError "process"))) + (hsPkgs.pkgsBuildBuild.filepath or (pkgs.pkgsBuildBuild.filepath or (errorHandler.setupDepError "filepath"))) + (hsPkgs.pkgsBuildBuild.directory or (pkgs.pkgsBuildBuild.directory or (errorHandler.setupDepError "directory"))) + (hsPkgs.pkgsBuildBuild.Cabal or (pkgs.pkgsBuildBuild.Cabal or (errorHandler.setupDepError "Cabal"))) + ]; + }; + components = { + "library" = { + depends = [ (hsPkgs."rts" or (errorHandler.buildDepError "rts")) ]; + libs = (pkgs.lib.optionals (system.isWindows) [ + (pkgs."user32" or (errorHandler.sysDepError "user32")) + (pkgs."mingw32" or (errorHandler.sysDepError "mingw32")) + (pkgs."mingwex" or (errorHandler.sysDepError "mingwex")) + (pkgs."ucrt" or (errorHandler.sysDepError "ucrt")) + ] ++ pkgs.lib.optionals (system.isLinux) [ + (pkgs."c" or (errorHandler.sysDepError "c")) + (pkgs."m" or (errorHandler.sysDepError "m")) + ]) ++ pkgs.lib.optional (flags.need-atomic) (pkgs."atomic" or (errorHandler.sysDepError "atomic")); + buildable = true; + }; + }; + } // rec { src = pkgs.lib.mkDefault ./.; } diff --git a/materialized/ghc-boot-packages-nix/ghc9102llvm/ghc-toolchain.nix b/materialized/ghc-boot-packages-nix/ghc9102llvm/ghc-toolchain.nix new file mode 100644 index 0000000000..a46ace1fa2 --- /dev/null +++ b/materialized/ghc-boot-packages-nix/ghc9102llvm/ghc-toolchain.nix @@ -0,0 +1,39 @@ +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: + { + flags = {}; + package = { + specVersion = "2.4"; + identifier = { name = "ghc-toolchain"; version = "0.1.0.0"; }; + license = "NONE"; + copyright = "(c) The GHC Developers"; + maintainer = "ben@well-typed.com"; + author = "Ben Gamari"; + homepage = ""; + url = ""; + synopsis = "Utility for managing GHC target toolchains"; + description = ""; + 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."transformers" or (errorHandler.buildDepError "transformers")) + (hsPkgs."text" or (errorHandler.buildDepError "text")) + (hsPkgs."ghc-platform" or (errorHandler.buildDepError "ghc-platform")) + ]; + buildable = true; + }; + }; + } // rec { src = pkgs.lib.mkDefault ./.; } diff --git a/materialized/ghc-boot-packages-nix/ghc9102llvm/ghc.nix b/materialized/ghc-boot-packages-nix/ghc9102llvm/ghc.nix new file mode 100644 index 0000000000..2028733218 --- /dev/null +++ b/materialized/ghc-boot-packages-nix/ghc9102llvm/ghc.nix @@ -0,0 +1,81 @@ +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: + { + flags = { + internal-interpreter = false; + dynamic-system-linker = true; + build-tool-depends = true; + with-libzstd = false; + static-libzstd = false; + hadrian-stage0 = false; + }; + package = { + specVersion = "2.2"; + identifier = { name = "ghc"; version = "9.10.2"; }; + license = "BSD-3-Clause"; + copyright = ""; + maintainer = "glasgow-haskell-users@haskell.org"; + author = "The GHC Team"; + homepage = "http://www.haskell.org/ghc/"; + url = ""; + synopsis = "The GHC API"; + description = "GHC's functionality can be useful for more things than just\ncompiling Haskell programs. Important use cases are programs\nthat analyse (and perhaps transform) Haskell code. Others\ninclude loading Haskell code dynamically in a GHCi-like manner.\nFor this reason, a lot of GHC's functionality is made available\nthrough this package.\n\nSee \nfor more information.\n\n__This package is not PVP-compliant.__\n\nThis package directly exposes GHC internals, which can and do change with\nevery release."; + buildType = "Custom"; + setup-depends = [ + (hsPkgs.pkgsBuildBuild.base or (pkgs.pkgsBuildBuild.base or (errorHandler.setupDepError "base"))) + (hsPkgs.pkgsBuildBuild.Cabal or (pkgs.pkgsBuildBuild.Cabal or (errorHandler.setupDepError "Cabal"))) + (hsPkgs.pkgsBuildBuild.directory or (pkgs.pkgsBuildBuild.directory or (errorHandler.setupDepError "directory"))) + (hsPkgs.pkgsBuildBuild.process or (pkgs.pkgsBuildBuild.process or (errorHandler.setupDepError "process"))) + (hsPkgs.pkgsBuildBuild.filepath or (pkgs.pkgsBuildBuild.filepath or (errorHandler.setupDepError "filepath"))) + (hsPkgs.pkgsBuildBuild.containers or (pkgs.pkgsBuildBuild.containers or (errorHandler.setupDepError "containers"))) + ]; + }; + components = { + "library" = { + depends = [ + (hsPkgs."base" or (errorHandler.buildDepError "base")) + (hsPkgs."deepseq" or (errorHandler.buildDepError "deepseq")) + (hsPkgs."directory" or (errorHandler.buildDepError "directory")) + (hsPkgs."process" or (errorHandler.buildDepError "process")) + (hsPkgs."bytestring" or (errorHandler.buildDepError "bytestring")) + (hsPkgs."binary" or (errorHandler.buildDepError "binary")) + (hsPkgs."time" or (errorHandler.buildDepError "time")) + (hsPkgs."containers" or (errorHandler.buildDepError "containers")) + (hsPkgs."array" or (errorHandler.buildDepError "array")) + (hsPkgs."filepath" or (errorHandler.buildDepError "filepath")) + (hsPkgs."template-haskell" or (errorHandler.buildDepError "template-haskell")) + (hsPkgs."hpc" or (errorHandler.buildDepError "hpc")) + (hsPkgs."transformers" or (errorHandler.buildDepError "transformers")) + (hsPkgs."exceptions" or (errorHandler.buildDepError "exceptions")) + (hsPkgs."semaphore-compat" or (errorHandler.buildDepError "semaphore-compat")) + (hsPkgs."stm" or (errorHandler.buildDepError "stm")) + (hsPkgs."ghc-boot" or (errorHandler.buildDepError "ghc-boot")) + (hsPkgs."ghc-heap" or (errorHandler.buildDepError "ghc-heap")) + (hsPkgs."ghci" or (errorHandler.buildDepError "ghci")) + ] ++ (if system.isWindows + then [ (hsPkgs."Win32" or (errorHandler.buildDepError "Win32")) ] + else [ (hsPkgs."unix" or (errorHandler.buildDepError "unix")) ]); + libs = pkgs.lib.optionals (flags.with-libzstd) (if flags.static-libzstd + then pkgs.lib.optional (!system.isOsx) (pkgs.":libzstd.a" or (errorHandler.sysDepError ":libzstd.a")) + else [ (pkgs."zstd" or (errorHandler.sysDepError "zstd")) ]); + build-tools = pkgs.lib.optionals (flags.build-tool-depends) [ + (hsPkgs.pkgsBuildBuild.alex.components.exes.alex or (pkgs.pkgsBuildBuild.alex or (errorHandler.buildToolDepError "alex:alex"))) + (hsPkgs.pkgsBuildBuild.happy.components.exes.happy or (pkgs.pkgsBuildBuild.happy or (errorHandler.buildToolDepError "happy:happy"))) + (hsPkgs.pkgsBuildBuild.genprimopcode.components.exes.genprimopcode or (pkgs.pkgsBuildBuild.genprimopcode or (errorHandler.buildToolDepError "genprimopcode:genprimopcode"))) + (hsPkgs.pkgsBuildBuild.deriveConstants.components.exes.deriveConstants or (pkgs.pkgsBuildBuild.deriveConstants or (errorHandler.buildToolDepError "deriveConstants:deriveConstants"))) + ]; + buildable = if flags.with-libzstd + then if flags.static-libzstd + then if system.isOsx then false else true + else true + else true; + }; + }; + } // rec { src = pkgs.lib.mkDefault ./.; } diff --git a/materialized/ghc-boot-packages-nix/ghc9102llvm/ghci.nix b/materialized/ghc-boot-packages-nix/ghc9102llvm/ghci.nix new file mode 100644 index 0000000000..60c83e4d43 --- /dev/null +++ b/materialized/ghc-boot-packages-nix/ghc9102llvm/ghci.nix @@ -0,0 +1,45 @@ +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: + { + flags = { internal-interpreter = false; }; + package = { + specVersion = "1.10"; + identifier = { name = "ghci"; version = "9.10.2"; }; + license = "BSD-3-Clause"; + copyright = ""; + maintainer = "ghc-devs@haskell.org"; + author = ""; + homepage = ""; + url = ""; + synopsis = "The library supporting GHC's interactive interpreter"; + description = "This library offers interfaces which mediate interactions between the\n@ghci@ interactive shell and @iserv@, GHC's out-of-process interpreter\nbackend."; + buildType = "Simple"; + }; + components = { + "library" = { + depends = [ + (hsPkgs."rts" or (errorHandler.buildDepError "rts")) + (hsPkgs."array" or (errorHandler.buildDepError "array")) + (hsPkgs."base" or (errorHandler.buildDepError "base")) + (hsPkgs."ghc-prim" or (errorHandler.buildDepError "ghc-prim")) + (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."filepath" or (errorHandler.buildDepError "filepath")) + (hsPkgs."ghc-boot" or (errorHandler.buildDepError "ghc-boot")) + (hsPkgs."ghc-heap" or (errorHandler.buildDepError "ghc-heap")) + (hsPkgs."template-haskell" or (errorHandler.buildDepError "template-haskell")) + (hsPkgs."transformers" or (errorHandler.buildDepError "transformers")) + ] ++ pkgs.lib.optional (!system.isWindows) (hsPkgs."unix" or (errorHandler.buildDepError "unix")); + buildable = true; + }; + }; + } // rec { src = pkgs.lib.mkDefault ./.; } diff --git a/materialized/ghc-boot-packages-nix/ghc9102llvm/hpc.nix b/materialized/ghc-boot-packages-nix/ghc9102llvm/hpc.nix new file mode 100644 index 0000000000..fe40a941c5 --- /dev/null +++ b/materialized/ghc-boot-packages-nix/ghc9102llvm/hpc.nix @@ -0,0 +1,38 @@ +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: + { + flags = {}; + package = { + specVersion = "2.2"; + identifier = { name = "hpc"; version = "0.7.0.2"; }; + license = "BSD-3-Clause"; + copyright = ""; + maintainer = "ghc-devs@haskell.org"; + author = "Andy Gill"; + homepage = ""; + url = ""; + synopsis = "Code Coverage Library for Haskell"; + description = "This package provides the code coverage library for Haskell.\n\nSee for more\ninformation."; + buildType = "Simple"; + }; + components = { + "library" = { + depends = [ + (hsPkgs."base" or (errorHandler.buildDepError "base")) + (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."time" or (errorHandler.buildDepError "time")) + ]; + buildable = true; + }; + }; + } // rec { src = pkgs.lib.mkDefault ./.; } diff --git a/materialized/ghc-boot-packages-nix/ghc9102llvm/integer-gmp.nix b/materialized/ghc-boot-packages-nix/ghc9102llvm/integer-gmp.nix new file mode 100644 index 0000000000..8594679a59 --- /dev/null +++ b/materialized/ghc-boot-packages-nix/ghc9102llvm/integer-gmp.nix @@ -0,0 +1,36 @@ +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: + { + flags = {}; + package = { + specVersion = "2.0"; + identifier = { name = "integer-gmp"; version = "1.1"; }; + license = "BSD-3-Clause"; + copyright = ""; + maintainer = "hvr@gnu.org"; + author = "Herbert Valerio Riedel"; + homepage = "https://www.haskell.org/ghc/"; + url = ""; + synopsis = "Integer library based on GMP"; + description = "This package used to provide an implementation of the standard 'Integer'\ntype based on the\n.\n\nIt is now deprecated in favor of the 'ghc-bignum' package.\n\nIts purpose is to provide backward compatibility for codes directly\ndepending on the `integer-gmp` package."; + buildType = "Simple"; + }; + components = { + "library" = { + depends = [ + (hsPkgs."base" or (errorHandler.buildDepError "base")) + (hsPkgs."ghc-prim" or (errorHandler.buildDepError "ghc-prim")) + (hsPkgs."ghc-bignum" or (errorHandler.buildDepError "ghc-bignum")) + (hsPkgs."ghc-internal" or (errorHandler.buildDepError "ghc-internal")) + ]; + buildable = true; + }; + }; + } // rec { src = pkgs.lib.mkDefault ./.; } diff --git a/materialized/ghc-boot-packages-nix/ghc9102llvm/iserv.nix b/materialized/ghc-boot-packages-nix/ghc9102llvm/iserv.nix new file mode 100644 index 0000000000..4e7204cd02 --- /dev/null +++ b/materialized/ghc-boot-packages-nix/ghc9102llvm/iserv.nix @@ -0,0 +1,41 @@ +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: + { + flags = {}; + package = { + specVersion = "1.10"; + identifier = { name = "iserv"; version = "9.10.2"; }; + license = "BSD-3-Clause"; + copyright = "XXX"; + maintainer = "XXX"; + author = "XXX"; + homepage = ""; + url = ""; + synopsis = "iserv allows GHC to delegate Template Haskell computations"; + description = "GHC can be provided with a path to the iserv binary with\n@-pgmi=/path/to/iserv-bin@, and will in combination with\n@-fexternal-interpreter@, compile Template Haskell though the\n@iserv-bin@ delegate. This is very similar to how ghcjs has been\ncompiling Template Haskell, by spawning a separate delegate (so\ncalled runner on the javascript vm) and evaluating the splices\nthere."; + buildType = "Simple"; + }; + components = { + exes = { + "iserv" = { + 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."ghci" or (errorHandler.buildDepError "ghci")) + ] ++ pkgs.lib.optional (!system.isWindows) (hsPkgs."unix" or (errorHandler.buildDepError "unix")); + buildable = true; + }; + }; + }; + } // rec { src = pkgs.lib.mkDefault ./.; } diff --git a/materialized/ghc-boot-packages-nix/ghc9102llvm/remote-iserv.nix b/materialized/ghc-boot-packages-nix/ghc9102llvm/remote-iserv.nix new file mode 100644 index 0000000000..625706221d --- /dev/null +++ b/materialized/ghc-boot-packages-nix/ghc9102llvm/remote-iserv.nix @@ -0,0 +1,36 @@ +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: + { + flags = {}; + package = { + specVersion = "1.10"; + identifier = { name = "remote-iserv"; version = "9.10.2"; }; + license = "BSD-3-Clause"; + copyright = "XXX"; + maintainer = "Moritz Angermann "; + author = "Moritz Angermann "; + homepage = ""; + url = ""; + synopsis = "iserv allows GHC to delegate Template Haskell computations"; + description = "This is a very simple remote runner for iserv, to be used together\nwith iserv-proxy. The foundamental idea is that this this wrapper\nstarts running the GHCi server on a given port to which iserv-proxy will\nthen connect."; + buildType = "Simple"; + }; + components = { + exes = { + "remote-iserv" = { + depends = [ + (hsPkgs."base" or (errorHandler.buildDepError "base")) + (hsPkgs."ghci" or (errorHandler.buildDepError "ghci")) + ]; + buildable = true; + }; + }; + }; + } // rec { src = pkgs.lib.mkDefault ./.; } diff --git a/materialized/ghc-boot-packages-nix/ghc9102llvm/template-haskell.nix b/materialized/ghc-boot-packages-nix/ghc9102llvm/template-haskell.nix new file mode 100644 index 0000000000..b975251e7e --- /dev/null +++ b/materialized/ghc-boot-packages-nix/ghc9102llvm/template-haskell.nix @@ -0,0 +1,36 @@ +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: + { + flags = {}; + package = { + specVersion = "1.10"; + identifier = { name = "template-haskell"; version = "2.22.0.0"; }; + license = "BSD-3-Clause"; + copyright = ""; + maintainer = "libraries@haskell.org"; + author = ""; + homepage = ""; + url = ""; + synopsis = "Support library for Template Haskell"; + description = "This package provides modules containing facilities for manipulating\nHaskell source code using Template Haskell.\n\nSee for more\ninformation."; + buildType = "Simple"; + }; + components = { + "library" = { + depends = [ + (hsPkgs."base" or (errorHandler.buildDepError "base")) + (hsPkgs."ghc-boot-th" or (errorHandler.buildDepError "ghc-boot-th")) + (hsPkgs."ghc-prim" or (errorHandler.buildDepError "ghc-prim")) + (hsPkgs."pretty" or (errorHandler.buildDepError "pretty")) + ]; + buildable = true; + }; + }; + } // rec { src = pkgs.lib.mkDefault ./.; } diff --git a/materialized/ghc-boot-packages-nix/ghc964/bytestring.nix b/materialized/ghc-boot-packages-nix/ghc964/bytestring.nix deleted file mode 100644 index 9901355311..0000000000 --- a/materialized/ghc-boot-packages-nix/ghc964/bytestring.nix +++ /dev/null @@ -1,65 +0,0 @@ -{ system - , compiler - , flags - , pkgs - , hsPkgs - , pkgconfPkgs - , errorHandler - , config - , ... }: - { - flags = {}; - package = { - specVersion = "1.10"; - identifier = { name = "bytestring"; version = "0.11.5.3"; }; - license = "BSD-3-Clause"; - copyright = "Copyright (c) Don Stewart 2005-2009,\n(c) Duncan Coutts 2006-2015,\n(c) David Roundy 2003-2005,\n(c) Jasper Van der Jeugt 2010,\n(c) Simon Meier 2010-2013."; - maintainer = "Haskell Bytestring Team , Core Libraries Committee"; - author = "Don Stewart,\nDuncan Coutts"; - homepage = "https://github.com/haskell/bytestring"; - url = ""; - synopsis = "Fast, compact, strict and lazy byte strings with a list interface"; - description = "An efficient compact, immutable byte string type (both strict and lazy)\nsuitable for binary or 8-bit character data.\n\nThe 'ByteString' type represents sequences of bytes or 8-bit characters.\nIt is suitable for high performance use, both in terms of large data\nquantities, or high speed requirements. The 'ByteString' functions follow\nthe same style as Haskell\\'s ordinary lists, so it is easy to convert code\nfrom using 'String' to 'ByteString'.\n\nTwo 'ByteString' variants are provided:\n\n* Strict 'ByteString's keep the string as a single large array. This\nmakes them convenient for passing data between C and Haskell.\n\n* Lazy 'ByteString's use a lazy list of strict chunks which makes it\nsuitable for I\\/O streaming tasks.\n\nThe @Char8@ modules provide a character-based view of the same\nunderlying 'ByteString' types. This makes it convenient to handle mixed\nbinary and 8-bit character content (which is common in many file formats\nand network protocols).\n\nThe 'Builder' module provides an efficient way to build up 'ByteString's\nin an ad-hoc way by repeated concatenation. This is ideal for fast\nserialisation or pretty printing.\n\nThere is also a 'ShortByteString' type which has a lower memory overhead\nand can be converted to or from a 'ByteString'. It is suitable for keeping\nmany short strings in memory.\n\n'ByteString's are not designed for Unicode. For Unicode strings you should\nuse the 'Text' type from the @text@ package.\n\nThese modules are intended to be imported qualified, to avoid name clashes\nwith \"Prelude\" functions, e.g.\n\n> import qualified Data.ByteString as BS"; - buildType = "Simple"; - }; - components = { - "library" = { - depends = [ - (hsPkgs."base" or (errorHandler.buildDepError "base")) - (hsPkgs."ghc-prim" or (errorHandler.buildDepError "ghc-prim")) - (hsPkgs."deepseq" or (errorHandler.buildDepError "deepseq")) - (hsPkgs."template-haskell" or (errorHandler.buildDepError "template-haskell")) - ]; - libs = pkgs.lib.optional (system.isWindows && (compiler.isGhc && compiler.version.lt "9.3")) (pkgs."gcc" or (errorHandler.sysDepError "gcc")); - buildable = true; - }; - tests = { - "bytestring-tests" = { - depends = [ - (hsPkgs."base" or (errorHandler.buildDepError "base")) - (hsPkgs."bytestring" or (errorHandler.buildDepError "bytestring")) - (hsPkgs."deepseq" or (errorHandler.buildDepError "deepseq")) - (hsPkgs."ghc-prim" or (errorHandler.buildDepError "ghc-prim")) - (hsPkgs."QuickCheck" or (errorHandler.buildDepError "QuickCheck")) - (hsPkgs."tasty" or (errorHandler.buildDepError "tasty")) - (hsPkgs."tasty-quickcheck" or (errorHandler.buildDepError "tasty-quickcheck")) - (hsPkgs."template-haskell" or (errorHandler.buildDepError "template-haskell")) - (hsPkgs."transformers" or (errorHandler.buildDepError "transformers")) - ]; - buildable = true; - }; - }; - benchmarks = { - "bytestring-bench" = { - depends = [ - (hsPkgs."base" or (errorHandler.buildDepError "base")) - (hsPkgs."bytestring" or (errorHandler.buildDepError "bytestring")) - (hsPkgs."deepseq" or (errorHandler.buildDepError "deepseq")) - (hsPkgs."tasty-bench" or (errorHandler.buildDepError "tasty-bench")) - (hsPkgs."random" or (errorHandler.buildDepError "random")) - ]; - buildable = true; - }; - }; - }; - } // rec { src = pkgs.lib.mkDefault ./.; } diff --git a/materialized/ghc-boot-packages-nix/ghc964/deepseq.nix b/materialized/ghc-boot-packages-nix/ghc964/deepseq.nix deleted file mode 100644 index c8a67d1812..0000000000 --- a/materialized/ghc-boot-packages-nix/ghc964/deepseq.nix +++ /dev/null @@ -1,45 +0,0 @@ -{ system - , compiler - , flags - , pkgs - , hsPkgs - , pkgconfPkgs - , errorHandler - , config - , ... }: - { - flags = {}; - package = { - specVersion = "1.12"; - identifier = { name = "deepseq"; version = "1.4.8.1"; }; - license = "BSD-3-Clause"; - copyright = ""; - maintainer = "libraries@haskell.org"; - author = ""; - homepage = ""; - url = ""; - synopsis = "Deep evaluation of data structures"; - description = "This package provides methods for fully evaluating data structures\n(\\\"deep evaluation\\\"). Deep evaluation is often used for adding\nstrictness to a program, e.g. in order to force pending exceptions,\nremove space leaks, or force lazy I/O to happen. It is also useful\nin parallel programs, to ensure pending work does not migrate to the\nwrong thread.\n\nThe primary use of this package is via the 'deepseq' function, a\n\\\"deep\\\" version of 'seq'. It is implemented on top of an 'NFData'\ntypeclass (\\\"Normal Form Data\\\", data structures with no unevaluated\ncomponents) which defines strategies for fully evaluating different\ndata types. See module documentation in \"Control.DeepSeq\" for more\ndetails."; - buildType = "Simple"; - }; - components = { - "library" = { - depends = [ - (hsPkgs."base" or (errorHandler.buildDepError "base")) - (hsPkgs."array" or (errorHandler.buildDepError "array")) - ] ++ pkgs.lib.optional (compiler.isGhc && compiler.version.ge "9.0") (hsPkgs."ghc-prim" or (errorHandler.buildDepError "ghc-prim")); - buildable = true; - }; - tests = { - "test" = { - depends = [ - (hsPkgs."array" or (errorHandler.buildDepError "array")) - (hsPkgs."base" or (errorHandler.buildDepError "base")) - (hsPkgs."deepseq" or (errorHandler.buildDepError "deepseq")) - (hsPkgs."ghc-prim" or (errorHandler.buildDepError "ghc-prim")) - ]; - buildable = true; - }; - }; - }; - } // rec { src = pkgs.lib.mkDefault ./.; } diff --git a/materialized/ghc-boot-packages-nix/ghc964/pretty.nix b/materialized/ghc-boot-packages-nix/ghc964/pretty.nix deleted file mode 100644 index 7d4c79f506..0000000000 --- a/materialized/ghc-boot-packages-nix/ghc964/pretty.nix +++ /dev/null @@ -1,56 +0,0 @@ -{ system - , compiler - , flags - , pkgs - , hsPkgs - , pkgconfPkgs - , errorHandler - , config - , ... }: - { - flags = {}; - package = { - specVersion = "1.8"; - identifier = { name = "pretty"; version = "1.1.3.6"; }; - license = "BSD-3-Clause"; - copyright = ""; - maintainer = "David Terei "; - author = ""; - homepage = "http://github.com/haskell/pretty"; - url = ""; - synopsis = "Pretty-printing library"; - description = "This package contains a pretty-printing library, a set of API's\nthat provides a way to easily print out text in a consistent\nformat of your choosing. This is useful for compilers and related\ntools.\n\nThis library was originally designed by John Hughes's and has since\nbeen heavily modified by Simon Peyton Jones."; - buildType = "Simple"; - }; - components = { - "library" = { - depends = [ - (hsPkgs."base" or (errorHandler.buildDepError "base")) - (hsPkgs."deepseq" or (errorHandler.buildDepError "deepseq")) - (hsPkgs."ghc-prim" or (errorHandler.buildDepError "ghc-prim")) - ]; - buildable = true; - }; - tests = { - "test-pretty" = { - depends = [ - (hsPkgs."base" or (errorHandler.buildDepError "base")) - (hsPkgs."deepseq" or (errorHandler.buildDepError "deepseq")) - (hsPkgs."ghc-prim" or (errorHandler.buildDepError "ghc-prim")) - (hsPkgs."QuickCheck" or (errorHandler.buildDepError "QuickCheck")) - ]; - buildable = true; - }; - }; - benchmarks = { - "pretty-bench" = { - depends = [ - (hsPkgs."base" or (errorHandler.buildDepError "base")) - (hsPkgs."criterion" or (errorHandler.buildDepError "criterion")) - (hsPkgs."pretty" or (errorHandler.buildDepError "pretty")) - ]; - buildable = true; - }; - }; - }; - } // rec { src = pkgs.lib.mkDefault ./.; } diff --git a/materialized/ghc-boot-packages-nix/ghc967-aarch64/base.nix b/materialized/ghc-boot-packages-nix/ghc967-aarch64/base.nix new file mode 100644 index 0000000000..1f649a4341 --- /dev/null +++ b/materialized/ghc-boot-packages-nix/ghc967-aarch64/base.nix @@ -0,0 +1,49 @@ +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: + { + flags = {}; + package = { + specVersion = "3.0"; + identifier = { name = "base"; version = "4.18.3.0"; }; + license = "BSD-3-Clause"; + copyright = ""; + maintainer = "Core Libraries Committee "; + author = ""; + homepage = ""; + url = ""; + synopsis = "Core data structures and operations"; + description = "Haskell's base library provides, among other things, core types (e.g. [Bool](\"Data.Bool\") and [Int](\"Data.Int\")),\ndata structures (e.g. [List](\"Data.List\"), [Tuple](\"Data.Tuple\") and [Maybe](\"Data.Maybe\")),\nthe [Exception](\"Control.Exception\") mechanism, and the [IO](\"System.IO\") & [Concurrency](\"Control.Concurrent\") operations.\nThe \"Prelude\" module, which is imported by default, exposes a curated set of types and functions from other modules.\n\nOther data structures like [Map](https://hackage.haskell.org/package/containers/docs/Data-Map.html),\n[Set](https://hackage.haskell.org/package/containers/docs/Data-Set.html) are available in the [containers](https://hackage.haskell.org/package/containers) library.\nTo work with textual data, use the [text](https://hackage.haskell.org/package/text/docs/Data-Text.html) library."; + buildType = "Configure"; + }; + components = { + "library" = { + depends = [ + (hsPkgs."rts" or (errorHandler.buildDepError "rts")) + (hsPkgs."ghc-prim" or (errorHandler.buildDepError "ghc-prim")) + (hsPkgs."ghc-bignum" or (errorHandler.buildDepError "ghc-bignum")) + ]; + libs = pkgs.lib.optionals (system.isWindows) [ + (pkgs."wsock32" or (errorHandler.sysDepError "wsock32")) + (pkgs."user32" or (errorHandler.sysDepError "user32")) + (pkgs."shell32" or (errorHandler.sysDepError "shell32")) + (pkgs."mingw32" or (errorHandler.sysDepError "mingw32")) + (pkgs."kernel32" or (errorHandler.sysDepError "kernel32")) + (pkgs."advapi32" or (errorHandler.sysDepError "advapi32")) + (pkgs."mingwex" or (errorHandler.sysDepError "mingwex")) + (pkgs."ws2_32" or (errorHandler.sysDepError "ws2_32")) + (pkgs."shlwapi" or (errorHandler.sysDepError "shlwapi")) + (pkgs."ole32" or (errorHandler.sysDepError "ole32")) + (pkgs."rpcrt4" or (errorHandler.sysDepError "rpcrt4")) + (pkgs."ntdll" or (errorHandler.sysDepError "ntdll")) + ]; + buildable = true; + }; + }; + } // rec { src = pkgs.lib.mkDefault ./.; } diff --git a/materialized/ghc-boot-packages-nix/ghc967-aarch64/deriveConstants.nix b/materialized/ghc-boot-packages-nix/ghc967-aarch64/deriveConstants.nix new file mode 100644 index 0000000000..135cdd02f6 --- /dev/null +++ b/materialized/ghc-boot-packages-nix/ghc967-aarch64/deriveConstants.nix @@ -0,0 +1,39 @@ +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: + { + flags = {}; + package = { + specVersion = "1.10"; + identifier = { name = "deriveConstants"; version = "0.1"; }; + license = "BSD-3-Clause"; + copyright = "XXX"; + maintainer = "XXX"; + author = "XXX"; + homepage = ""; + url = ""; + synopsis = "Derive header files containing various constants for the GHC build process"; + description = "This utility is responsible for generating a number of C header files\nneeded during the GHC build process. See @rts/include/ghc.mk@ in the GHC\nbuild system for details."; + buildType = "Simple"; + }; + components = { + exes = { + "deriveConstants" = { + depends = [ + (hsPkgs."base" or (errorHandler.buildDepError "base")) + (hsPkgs."containers" or (errorHandler.buildDepError "containers")) + (hsPkgs."process" or (errorHandler.buildDepError "process")) + (hsPkgs."filepath" or (errorHandler.buildDepError "filepath")) + (hsPkgs."directory" or (errorHandler.buildDepError "directory")) + ]; + buildable = true; + }; + }; + }; + } // rec { src = pkgs.lib.mkDefault ./.; } diff --git a/materialized/ghc-boot-packages-nix/ghc967-aarch64/genprimopcode.nix b/materialized/ghc-boot-packages-nix/ghc967-aarch64/genprimopcode.nix new file mode 100644 index 0000000000..49bbe516ba --- /dev/null +++ b/materialized/ghc-boot-packages-nix/ghc967-aarch64/genprimopcode.nix @@ -0,0 +1,40 @@ +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: + { + flags = { build-tool-depends = true; }; + package = { + specVersion = "2.0"; + identifier = { name = "genprimopcode"; version = "0.1"; }; + license = "BSD-3-Clause"; + copyright = "XXX"; + maintainer = "XXX"; + author = "XXX"; + homepage = ""; + url = ""; + synopsis = "Generates various files implementing GHC's primitive operations."; + description = "This utility reads a textual description of GHC's primitive operations\n(@primops.txt.pp@) and produces a number of outputs. These include,\n\n* the @GHC.Prim@ module included in the @ghc-prim@ package.\n* the @GHC.PrimopWrappers@ module included in the @ghc-prim@ package.\n* an LaTeX document describing the primitive operations."; + buildType = "Simple"; + }; + components = { + exes = { + "genprimopcode" = { + depends = [ + (hsPkgs."base" or (errorHandler.buildDepError "base")) + (hsPkgs."array" or (errorHandler.buildDepError "array")) + ]; + build-tools = pkgs.lib.optionals (flags.build-tool-depends) [ + (hsPkgs.pkgsBuildBuild.alex.components.exes.alex or (pkgs.pkgsBuildBuild.alex or (errorHandler.buildToolDepError "alex:alex"))) + (hsPkgs.pkgsBuildBuild.happy.components.exes.happy or (pkgs.pkgsBuildBuild.happy or (errorHandler.buildToolDepError "happy:happy"))) + ]; + buildable = true; + }; + }; + }; + } // rec { src = pkgs.lib.mkDefault ./.; } diff --git a/materialized/ghc-boot-packages-nix/ghc967-aarch64/ghc-bignum.nix b/materialized/ghc-boot-packages-nix/ghc967-aarch64/ghc-bignum.nix new file mode 100644 index 0000000000..46af6e0e9f --- /dev/null +++ b/materialized/ghc-boot-packages-nix/ghc967-aarch64/ghc-bignum.nix @@ -0,0 +1,37 @@ +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: + { + flags = { native = false; ffi = false; gmp = false; check = false; }; + package = { + specVersion = "2.0"; + identifier = { name = "ghc-bignum"; version = "1.3"; }; + license = "BSD-3-Clause"; + copyright = ""; + maintainer = "libraries@haskell.org"; + author = "Sylvain Henry"; + homepage = ""; + url = ""; + synopsis = "GHC BigNum library"; + description = "This package provides the low-level implementation of the standard\n'BigNat', 'Natural' and 'Integer' types."; + buildType = "Configure"; + }; + components = { + "library" = { + depends = [ + (hsPkgs."ghc-prim" or (errorHandler.buildDepError "ghc-prim")) + ]; + buildable = (if !flags.native && !flags.gmp && !flags.ffi + then false + else true) && (if flags.native && (flags.gmp || flags.ffi) + then false + else true) && (if flags.gmp && flags.ffi then false else true); + }; + }; + } // rec { src = pkgs.lib.mkDefault ./.; } diff --git a/materialized/ghc-boot-packages-nix/ghc967-aarch64/ghc-boot.nix b/materialized/ghc-boot-packages-nix/ghc967-aarch64/ghc-boot.nix new file mode 100644 index 0000000000..999901a0bc --- /dev/null +++ b/materialized/ghc-boot-packages-nix/ghc967-aarch64/ghc-boot.nix @@ -0,0 +1,46 @@ +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: + { + flags = {}; + package = { + specVersion = "3.0"; + identifier = { name = "ghc-boot"; version = "9.6.7"; }; + license = "BSD-3-Clause"; + copyright = ""; + maintainer = "ghc-devs@haskell.org"; + author = ""; + homepage = ""; + url = ""; + synopsis = "Shared functionality between GHC and its boot libraries"; + description = "This library is shared between GHC, ghc-pkg, and other boot\nlibraries.\n.\nA note about \"GHC.Unit.Database\": it only deals with the subset of\nthe package database that the compiler cares about: modules\npaths etc and not package metadata like description, authors\netc. It is thus not a library interface to ghc-pkg and is *not*\nsuitable for modifying GHC package databases.\n.\nThe package database format and this library are constructed in\nsuch a way that while ghc-pkg depends on Cabal, the GHC library\nand program do not have to depend on Cabal."; + buildType = "Custom"; + setup-depends = [ + (hsPkgs.pkgsBuildBuild.base or (pkgs.pkgsBuildBuild.base or (errorHandler.setupDepError "base"))) + (hsPkgs.pkgsBuildBuild.Cabal or (pkgs.pkgsBuildBuild.Cabal or (errorHandler.setupDepError "Cabal"))) + (hsPkgs.pkgsBuildBuild.directory or (pkgs.pkgsBuildBuild.directory or (errorHandler.setupDepError "directory"))) + (hsPkgs.pkgsBuildBuild.filepath or (pkgs.pkgsBuildBuild.filepath or (errorHandler.setupDepError "filepath"))) + ]; + }; + components = { + "library" = { + depends = [ + (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."directory" or (errorHandler.buildDepError "directory")) + (hsPkgs."filepath" or (errorHandler.buildDepError "filepath")) + (hsPkgs."deepseq" or (errorHandler.buildDepError "deepseq")) + (hsPkgs."ghc-boot-th" or (errorHandler.buildDepError "ghc-boot-th")) + ] ++ pkgs.lib.optional (!system.isWindows) (hsPkgs."unix" or (errorHandler.buildDepError "unix")); + buildable = true; + }; + }; + } // rec { src = pkgs.lib.mkDefault ./.; } diff --git a/materialized/ghc-boot-packages-nix/ghc967-aarch64/ghc-heap.nix b/materialized/ghc-boot-packages-nix/ghc967-aarch64/ghc-heap.nix new file mode 100644 index 0000000000..de58a054ba --- /dev/null +++ b/materialized/ghc-boot-packages-nix/ghc967-aarch64/ghc-heap.nix @@ -0,0 +1,36 @@ +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: + { + flags = {}; + package = { + specVersion = "3.0"; + identifier = { name = "ghc-heap"; version = "9.6.7"; }; + license = "BSD-3-Clause"; + copyright = ""; + maintainer = "libraries@haskell.org"; + author = ""; + homepage = ""; + url = ""; + synopsis = "Functions for walking GHC's heap"; + description = "This package provides functions for walking the GHC heap data structures\nand retrieving information about those data structures."; + buildType = "Simple"; + }; + components = { + "library" = { + depends = [ + (hsPkgs."base" or (errorHandler.buildDepError "base")) + (hsPkgs."ghc-prim" or (errorHandler.buildDepError "ghc-prim")) + (hsPkgs."rts" or (errorHandler.buildDepError "rts")) + (hsPkgs."containers" or (errorHandler.buildDepError "containers")) + ]; + buildable = true; + }; + }; + } // rec { src = pkgs.lib.mkDefault ./.; } diff --git a/materialized/ghc-boot-packages-nix/ghc967-aarch64/ghc-prim.nix b/materialized/ghc-boot-packages-nix/ghc967-aarch64/ghc-prim.nix new file mode 100644 index 0000000000..a657675b58 --- /dev/null +++ b/materialized/ghc-boot-packages-nix/ghc967-aarch64/ghc-prim.nix @@ -0,0 +1,47 @@ +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: + { + flags = {}; + package = { + specVersion = "2.2"; + identifier = { name = "ghc-prim"; version = "0.10.0"; }; + license = "BSD-3-Clause"; + copyright = ""; + maintainer = "libraries@haskell.org"; + author = ""; + homepage = ""; + url = ""; + synopsis = "GHC primitives"; + description = "This package contains the primitive types and operations supplied by GHC.\nIt is an internal package, only for the use of GHC developers.\nGHC users should not use it! If you do use it then expect\nbreaking changes at any time without warning. You should prefer\nto import @GHC.Exts@ from the @base@ package instead."; + buildType = "Custom"; + setup-depends = [ + (hsPkgs.pkgsBuildBuild.base or (pkgs.pkgsBuildBuild.base or (errorHandler.setupDepError "base"))) + (hsPkgs.pkgsBuildBuild.process or (pkgs.pkgsBuildBuild.process or (errorHandler.setupDepError "process"))) + (hsPkgs.pkgsBuildBuild.filepath or (pkgs.pkgsBuildBuild.filepath or (errorHandler.setupDepError "filepath"))) + (hsPkgs.pkgsBuildBuild.directory or (pkgs.pkgsBuildBuild.directory or (errorHandler.setupDepError "directory"))) + (hsPkgs.pkgsBuildBuild.Cabal or (pkgs.pkgsBuildBuild.Cabal or (errorHandler.setupDepError "Cabal"))) + ]; + }; + components = { + "library" = { + depends = [ (hsPkgs."rts" or (errorHandler.buildDepError "rts")) ]; + libs = pkgs.lib.optionals (system.isWindows) [ + (pkgs."user32" or (errorHandler.sysDepError "user32")) + (pkgs."mingw32" or (errorHandler.sysDepError "mingw32")) + (pkgs."mingwex" or (errorHandler.sysDepError "mingwex")) + (pkgs."ucrt" or (errorHandler.sysDepError "ucrt")) + ] ++ pkgs.lib.optionals (system.isLinux) [ + (pkgs."c" or (errorHandler.sysDepError "c")) + (pkgs."m" or (errorHandler.sysDepError "m")) + ]; + buildable = true; + }; + }; + } // rec { src = pkgs.lib.mkDefault ./.; } diff --git a/materialized/ghc-boot-packages-nix/ghc967-aarch64/ghc.nix b/materialized/ghc-boot-packages-nix/ghc967-aarch64/ghc.nix new file mode 100644 index 0000000000..150c678bdb --- /dev/null +++ b/materialized/ghc-boot-packages-nix/ghc967-aarch64/ghc.nix @@ -0,0 +1,69 @@ +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: + { + flags = { + internal-interpreter = false; + dynamic-system-linker = true; + build-tool-depends = true; + }; + package = { + specVersion = "2.2"; + identifier = { name = "ghc"; version = "9.6.7"; }; + license = "BSD-3-Clause"; + copyright = ""; + maintainer = "glasgow-haskell-users@haskell.org"; + author = "The GHC Team"; + homepage = "http://www.haskell.org/ghc/"; + url = ""; + synopsis = "The GHC API"; + description = "GHC's functionality can be useful for more things than just\ncompiling Haskell programs. Important use cases are programs\nthat analyse (and perhaps transform) Haskell code. Others\ninclude loading Haskell code dynamically in a GHCi-like manner.\nFor this reason, a lot of GHC's functionality is made available\nthrough this package.\n\nSee \nfor more information."; + buildType = "Custom"; + setup-depends = [ + (hsPkgs.pkgsBuildBuild.base or (pkgs.pkgsBuildBuild.base or (errorHandler.setupDepError "base"))) + (hsPkgs.pkgsBuildBuild.Cabal or (pkgs.pkgsBuildBuild.Cabal or (errorHandler.setupDepError "Cabal"))) + (hsPkgs.pkgsBuildBuild.directory or (pkgs.pkgsBuildBuild.directory or (errorHandler.setupDepError "directory"))) + (hsPkgs.pkgsBuildBuild.process or (pkgs.pkgsBuildBuild.process or (errorHandler.setupDepError "process"))) + (hsPkgs.pkgsBuildBuild.filepath or (pkgs.pkgsBuildBuild.filepath or (errorHandler.setupDepError "filepath"))) + ]; + }; + components = { + "library" = { + depends = [ + (hsPkgs."base" or (errorHandler.buildDepError "base")) + (hsPkgs."deepseq" or (errorHandler.buildDepError "deepseq")) + (hsPkgs."directory" or (errorHandler.buildDepError "directory")) + (hsPkgs."process" or (errorHandler.buildDepError "process")) + (hsPkgs."bytestring" or (errorHandler.buildDepError "bytestring")) + (hsPkgs."binary" or (errorHandler.buildDepError "binary")) + (hsPkgs."time" or (errorHandler.buildDepError "time")) + (hsPkgs."containers" or (errorHandler.buildDepError "containers")) + (hsPkgs."array" or (errorHandler.buildDepError "array")) + (hsPkgs."filepath" or (errorHandler.buildDepError "filepath")) + (hsPkgs."template-haskell" or (errorHandler.buildDepError "template-haskell")) + (hsPkgs."hpc" or (errorHandler.buildDepError "hpc")) + (hsPkgs."transformers" or (errorHandler.buildDepError "transformers")) + (hsPkgs."exceptions" or (errorHandler.buildDepError "exceptions")) + (hsPkgs."stm" or (errorHandler.buildDepError "stm")) + (hsPkgs."ghc-boot" or (errorHandler.buildDepError "ghc-boot")) + (hsPkgs."ghc-heap" or (errorHandler.buildDepError "ghc-heap")) + (hsPkgs."ghci" or (errorHandler.buildDepError "ghci")) + ] ++ (if system.isWindows + then [ (hsPkgs."Win32" or (errorHandler.buildDepError "Win32")) ] + else [ (hsPkgs."unix" or (errorHandler.buildDepError "unix")) ]); + build-tools = pkgs.lib.optionals (flags.build-tool-depends) [ + (hsPkgs.pkgsBuildBuild.alex.components.exes.alex or (pkgs.pkgsBuildBuild.alex or (errorHandler.buildToolDepError "alex:alex"))) + (hsPkgs.pkgsBuildBuild.happy.components.exes.happy or (pkgs.pkgsBuildBuild.happy or (errorHandler.buildToolDepError "happy:happy"))) + (hsPkgs.pkgsBuildBuild.genprimopcode.components.exes.genprimopcode or (pkgs.pkgsBuildBuild.genprimopcode or (errorHandler.buildToolDepError "genprimopcode:genprimopcode"))) + (hsPkgs.pkgsBuildBuild.deriveConstants.components.exes.deriveConstants or (pkgs.pkgsBuildBuild.deriveConstants or (errorHandler.buildToolDepError "deriveConstants:deriveConstants"))) + ]; + buildable = true; + }; + }; + } // rec { src = pkgs.lib.mkDefault ./.; } diff --git a/materialized/ghc-boot-packages-nix/ghc967-aarch64/ghci.nix b/materialized/ghc-boot-packages-nix/ghc967-aarch64/ghci.nix new file mode 100644 index 0000000000..917c80446c --- /dev/null +++ b/materialized/ghc-boot-packages-nix/ghc967-aarch64/ghci.nix @@ -0,0 +1,45 @@ +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: + { + flags = { internal-interpreter = false; }; + package = { + specVersion = "1.10"; + identifier = { name = "ghci"; version = "9.6.7"; }; + license = "BSD-3-Clause"; + copyright = ""; + maintainer = "ghc-devs@haskell.org"; + author = ""; + homepage = ""; + url = ""; + synopsis = "The library supporting GHC's interactive interpreter"; + description = "This library offers interfaces which mediate interactions between the\n@ghci@ interactive shell and @iserv@, GHC's out-of-process interpreter\nbackend."; + buildType = "Simple"; + }; + components = { + "library" = { + depends = [ + (hsPkgs."rts" or (errorHandler.buildDepError "rts")) + (hsPkgs."array" or (errorHandler.buildDepError "array")) + (hsPkgs."base" or (errorHandler.buildDepError "base")) + (hsPkgs."ghc-prim" or (errorHandler.buildDepError "ghc-prim")) + (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."filepath" or (errorHandler.buildDepError "filepath")) + (hsPkgs."ghc-boot" or (errorHandler.buildDepError "ghc-boot")) + (hsPkgs."ghc-heap" or (errorHandler.buildDepError "ghc-heap")) + (hsPkgs."template-haskell" or (errorHandler.buildDepError "template-haskell")) + (hsPkgs."transformers" or (errorHandler.buildDepError "transformers")) + ] ++ pkgs.lib.optional (!system.isWindows) (hsPkgs."unix" or (errorHandler.buildDepError "unix")); + buildable = true; + }; + }; + } // rec { src = pkgs.lib.mkDefault ./.; } diff --git a/materialized/ghc-boot-packages-nix/ghc967-aarch64/hpc.nix b/materialized/ghc-boot-packages-nix/ghc967-aarch64/hpc.nix new file mode 100644 index 0000000000..c9d84dfbb7 --- /dev/null +++ b/materialized/ghc-boot-packages-nix/ghc967-aarch64/hpc.nix @@ -0,0 +1,38 @@ +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: + { + flags = {}; + package = { + specVersion = "1.10"; + identifier = { name = "hpc"; version = "0.6.2.0"; }; + license = "BSD-3-Clause"; + copyright = ""; + maintainer = "ghc-devs@haskell.org"; + author = "Andy Gill"; + homepage = ""; + url = ""; + synopsis = "Code Coverage Library for Haskell"; + description = "This package provides the code coverage library for Haskell.\n\nSee for more\ninformation."; + buildType = "Simple"; + }; + components = { + "library" = { + depends = [ + (hsPkgs."base" or (errorHandler.buildDepError "base")) + (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."time" or (errorHandler.buildDepError "time")) + ]; + buildable = true; + }; + }; + } // rec { src = pkgs.lib.mkDefault ./.; } diff --git a/materialized/ghc-boot-packages-nix/ghc967-aarch64/integer-gmp.nix b/materialized/ghc-boot-packages-nix/ghc967-aarch64/integer-gmp.nix new file mode 100644 index 0000000000..94f930e70e --- /dev/null +++ b/materialized/ghc-boot-packages-nix/ghc967-aarch64/integer-gmp.nix @@ -0,0 +1,35 @@ +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: + { + flags = {}; + package = { + specVersion = "2.0"; + identifier = { name = "integer-gmp"; version = "1.1"; }; + license = "BSD-3-Clause"; + copyright = ""; + maintainer = "hvr@gnu.org"; + author = "Herbert Valerio Riedel"; + homepage = "https://www.haskell.org/ghc/"; + url = ""; + synopsis = "Integer library based on GMP"; + description = "This package used to provide an implementation of the standard 'Integer'\ntype based on the\n.\n\nIt is now deprecated in favor of the 'ghc-bignum' package.\n\nIts purpose is to provide backward compatibility for codes directly\ndepending on the `integer-gmp` package."; + buildType = "Simple"; + }; + components = { + "library" = { + depends = [ + (hsPkgs."base" or (errorHandler.buildDepError "base")) + (hsPkgs."ghc-prim" or (errorHandler.buildDepError "ghc-prim")) + (hsPkgs."ghc-bignum" or (errorHandler.buildDepError "ghc-bignum")) + ]; + buildable = true; + }; + }; + } // rec { src = pkgs.lib.mkDefault ./.; } diff --git a/materialized/ghc-boot-packages-nix/ghc967-aarch64/iserv.nix b/materialized/ghc-boot-packages-nix/ghc967-aarch64/iserv.nix new file mode 100644 index 0000000000..5b2596b004 --- /dev/null +++ b/materialized/ghc-boot-packages-nix/ghc967-aarch64/iserv.nix @@ -0,0 +1,42 @@ +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: + { + flags = {}; + package = { + specVersion = "1.10"; + identifier = { name = "iserv"; version = "9.6.7"; }; + license = "BSD-3-Clause"; + copyright = "XXX"; + maintainer = "XXX"; + author = "XXX"; + homepage = ""; + url = ""; + synopsis = "iserv allows GHC to delegate Template Haskell computations"; + description = "GHC can be provided with a path to the iserv binary with\n@-pgmi=/path/to/iserv-bin@, and will in combination with\n@-fexternal-interpreter@, compile Template Haskell though the\n@iserv-bin@ delegate. This is very similar to how ghcjs has been\ncompiling Template Haskell, by spawning a separate delegate (so\ncalled runner on the javascript vm) and evaluating the splices\nthere.\n\nTo use iserv with cross compilers, please see @libraries/libiserv@\nand @utils/iserv-proxy@."; + buildType = "Simple"; + }; + components = { + exes = { + "iserv" = { + 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."ghci" or (errorHandler.buildDepError "ghci")) + (hsPkgs."libiserv" or (errorHandler.buildDepError "libiserv")) + ] ++ pkgs.lib.optional (!system.isWindows) (hsPkgs."unix" or (errorHandler.buildDepError "unix")); + buildable = true; + }; + }; + }; + } // rec { src = pkgs.lib.mkDefault ./.; } diff --git a/materialized/ghc-boot-packages-nix/ghc967-aarch64/libiserv.nix b/materialized/ghc-boot-packages-nix/ghc967-aarch64/libiserv.nix new file mode 100644 index 0000000000..41942678e8 --- /dev/null +++ b/materialized/ghc-boot-packages-nix/ghc967-aarch64/libiserv.nix @@ -0,0 +1,38 @@ +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: + { + flags = { network = false; }; + package = { + specVersion = "1.10"; + identifier = { name = "libiserv"; version = "9.6.7"; }; + license = "BSD-3-Clause"; + copyright = "XXX"; + maintainer = "XXX"; + author = "XXX"; + homepage = ""; + url = ""; + synopsis = "Provides shared functionality between iserv and iserv-proxy."; + description = "Provides shared functionality between iserv and iserv-proxy."; + buildType = "Simple"; + }; + components = { + "library" = { + depends = [ + (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."ghci" or (errorHandler.buildDepError "ghci")) + ] ++ pkgs.lib.optional (!system.isWindows) (hsPkgs."unix" or (errorHandler.buildDepError "unix")); + buildable = true; + }; + }; + } // rec { src = pkgs.lib.mkDefault ./.; } diff --git a/materialized/ghc-boot-packages-nix/ghc967-aarch64/remote-iserv.nix b/materialized/ghc-boot-packages-nix/ghc967-aarch64/remote-iserv.nix new file mode 100644 index 0000000000..1f659bea7e --- /dev/null +++ b/materialized/ghc-boot-packages-nix/ghc967-aarch64/remote-iserv.nix @@ -0,0 +1,36 @@ +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: + { + flags = {}; + package = { + specVersion = "1.10"; + identifier = { name = "remote-iserv"; version = "9.6.7"; }; + license = "BSD-3-Clause"; + copyright = "XXX"; + maintainer = "Moritz Angermann "; + author = "Moritz Angermann "; + homepage = ""; + url = ""; + synopsis = "iserv allows GHC to delegate Template Haskell computations"; + description = "This is a very simple remote runner for iserv, to be used together\nwith iserv-proxy. The foundamental idea is that this this wrapper\nstarts running libiserv on a given port to which iserv-proxy will\nthen connect."; + buildType = "Simple"; + }; + components = { + exes = { + "remote-iserv" = { + depends = [ + (hsPkgs."base" or (errorHandler.buildDepError "base")) + (hsPkgs."libiserv" or (errorHandler.buildDepError "libiserv")) + ]; + buildable = true; + }; + }; + }; + } // rec { src = pkgs.lib.mkDefault ./.; } diff --git a/materialized/ghc-boot-packages-nix/ghc967-aarch64/template-haskell.nix b/materialized/ghc-boot-packages-nix/ghc967-aarch64/template-haskell.nix new file mode 100644 index 0000000000..693b8f6a78 --- /dev/null +++ b/materialized/ghc-boot-packages-nix/ghc967-aarch64/template-haskell.nix @@ -0,0 +1,36 @@ +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: + { + flags = {}; + package = { + specVersion = "1.10"; + identifier = { name = "template-haskell"; version = "2.20.0.0"; }; + license = "BSD-3-Clause"; + copyright = ""; + maintainer = "libraries@haskell.org"; + author = ""; + homepage = ""; + url = ""; + synopsis = "Support library for Template Haskell"; + description = "This package provides modules containing facilities for manipulating\nHaskell source code using Template Haskell.\n\nSee for more\ninformation."; + buildType = "Simple"; + }; + components = { + "library" = { + depends = [ + (hsPkgs."base" or (errorHandler.buildDepError "base")) + (hsPkgs."ghc-boot-th" or (errorHandler.buildDepError "ghc-boot-th")) + (hsPkgs."ghc-prim" or (errorHandler.buildDepError "ghc-prim")) + (hsPkgs."pretty" or (errorHandler.buildDepError "pretty")) + ]; + buildable = true; + }; + }; + } // rec { src = pkgs.lib.mkDefault ./.; } diff --git a/materialized/ghc-boot-packages-nix/ghc967-ghcjs/base.nix b/materialized/ghc-boot-packages-nix/ghc967-ghcjs/base.nix new file mode 100644 index 0000000000..1f649a4341 --- /dev/null +++ b/materialized/ghc-boot-packages-nix/ghc967-ghcjs/base.nix @@ -0,0 +1,49 @@ +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: + { + flags = {}; + package = { + specVersion = "3.0"; + identifier = { name = "base"; version = "4.18.3.0"; }; + license = "BSD-3-Clause"; + copyright = ""; + maintainer = "Core Libraries Committee "; + author = ""; + homepage = ""; + url = ""; + synopsis = "Core data structures and operations"; + description = "Haskell's base library provides, among other things, core types (e.g. [Bool](\"Data.Bool\") and [Int](\"Data.Int\")),\ndata structures (e.g. [List](\"Data.List\"), [Tuple](\"Data.Tuple\") and [Maybe](\"Data.Maybe\")),\nthe [Exception](\"Control.Exception\") mechanism, and the [IO](\"System.IO\") & [Concurrency](\"Control.Concurrent\") operations.\nThe \"Prelude\" module, which is imported by default, exposes a curated set of types and functions from other modules.\n\nOther data structures like [Map](https://hackage.haskell.org/package/containers/docs/Data-Map.html),\n[Set](https://hackage.haskell.org/package/containers/docs/Data-Set.html) are available in the [containers](https://hackage.haskell.org/package/containers) library.\nTo work with textual data, use the [text](https://hackage.haskell.org/package/text/docs/Data-Text.html) library."; + buildType = "Configure"; + }; + components = { + "library" = { + depends = [ + (hsPkgs."rts" or (errorHandler.buildDepError "rts")) + (hsPkgs."ghc-prim" or (errorHandler.buildDepError "ghc-prim")) + (hsPkgs."ghc-bignum" or (errorHandler.buildDepError "ghc-bignum")) + ]; + libs = pkgs.lib.optionals (system.isWindows) [ + (pkgs."wsock32" or (errorHandler.sysDepError "wsock32")) + (pkgs."user32" or (errorHandler.sysDepError "user32")) + (pkgs."shell32" or (errorHandler.sysDepError "shell32")) + (pkgs."mingw32" or (errorHandler.sysDepError "mingw32")) + (pkgs."kernel32" or (errorHandler.sysDepError "kernel32")) + (pkgs."advapi32" or (errorHandler.sysDepError "advapi32")) + (pkgs."mingwex" or (errorHandler.sysDepError "mingwex")) + (pkgs."ws2_32" or (errorHandler.sysDepError "ws2_32")) + (pkgs."shlwapi" or (errorHandler.sysDepError "shlwapi")) + (pkgs."ole32" or (errorHandler.sysDepError "ole32")) + (pkgs."rpcrt4" or (errorHandler.sysDepError "rpcrt4")) + (pkgs."ntdll" or (errorHandler.sysDepError "ntdll")) + ]; + buildable = true; + }; + }; + } // rec { src = pkgs.lib.mkDefault ./.; } diff --git a/materialized/ghc-boot-packages-nix/ghc967-ghcjs/deriveConstants.nix b/materialized/ghc-boot-packages-nix/ghc967-ghcjs/deriveConstants.nix new file mode 100644 index 0000000000..135cdd02f6 --- /dev/null +++ b/materialized/ghc-boot-packages-nix/ghc967-ghcjs/deriveConstants.nix @@ -0,0 +1,39 @@ +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: + { + flags = {}; + package = { + specVersion = "1.10"; + identifier = { name = "deriveConstants"; version = "0.1"; }; + license = "BSD-3-Clause"; + copyright = "XXX"; + maintainer = "XXX"; + author = "XXX"; + homepage = ""; + url = ""; + synopsis = "Derive header files containing various constants for the GHC build process"; + description = "This utility is responsible for generating a number of C header files\nneeded during the GHC build process. See @rts/include/ghc.mk@ in the GHC\nbuild system for details."; + buildType = "Simple"; + }; + components = { + exes = { + "deriveConstants" = { + depends = [ + (hsPkgs."base" or (errorHandler.buildDepError "base")) + (hsPkgs."containers" or (errorHandler.buildDepError "containers")) + (hsPkgs."process" or (errorHandler.buildDepError "process")) + (hsPkgs."filepath" or (errorHandler.buildDepError "filepath")) + (hsPkgs."directory" or (errorHandler.buildDepError "directory")) + ]; + buildable = true; + }; + }; + }; + } // rec { src = pkgs.lib.mkDefault ./.; } diff --git a/materialized/ghc-boot-packages-nix/ghc967-ghcjs/genprimopcode.nix b/materialized/ghc-boot-packages-nix/ghc967-ghcjs/genprimopcode.nix new file mode 100644 index 0000000000..49bbe516ba --- /dev/null +++ b/materialized/ghc-boot-packages-nix/ghc967-ghcjs/genprimopcode.nix @@ -0,0 +1,40 @@ +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: + { + flags = { build-tool-depends = true; }; + package = { + specVersion = "2.0"; + identifier = { name = "genprimopcode"; version = "0.1"; }; + license = "BSD-3-Clause"; + copyright = "XXX"; + maintainer = "XXX"; + author = "XXX"; + homepage = ""; + url = ""; + synopsis = "Generates various files implementing GHC's primitive operations."; + description = "This utility reads a textual description of GHC's primitive operations\n(@primops.txt.pp@) and produces a number of outputs. These include,\n\n* the @GHC.Prim@ module included in the @ghc-prim@ package.\n* the @GHC.PrimopWrappers@ module included in the @ghc-prim@ package.\n* an LaTeX document describing the primitive operations."; + buildType = "Simple"; + }; + components = { + exes = { + "genprimopcode" = { + depends = [ + (hsPkgs."base" or (errorHandler.buildDepError "base")) + (hsPkgs."array" or (errorHandler.buildDepError "array")) + ]; + build-tools = pkgs.lib.optionals (flags.build-tool-depends) [ + (hsPkgs.pkgsBuildBuild.alex.components.exes.alex or (pkgs.pkgsBuildBuild.alex or (errorHandler.buildToolDepError "alex:alex"))) + (hsPkgs.pkgsBuildBuild.happy.components.exes.happy or (pkgs.pkgsBuildBuild.happy or (errorHandler.buildToolDepError "happy:happy"))) + ]; + buildable = true; + }; + }; + }; + } // rec { src = pkgs.lib.mkDefault ./.; } diff --git a/materialized/ghc-boot-packages-nix/ghc967-ghcjs/ghc-bignum.nix b/materialized/ghc-boot-packages-nix/ghc967-ghcjs/ghc-bignum.nix new file mode 100644 index 0000000000..46af6e0e9f --- /dev/null +++ b/materialized/ghc-boot-packages-nix/ghc967-ghcjs/ghc-bignum.nix @@ -0,0 +1,37 @@ +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: + { + flags = { native = false; ffi = false; gmp = false; check = false; }; + package = { + specVersion = "2.0"; + identifier = { name = "ghc-bignum"; version = "1.3"; }; + license = "BSD-3-Clause"; + copyright = ""; + maintainer = "libraries@haskell.org"; + author = "Sylvain Henry"; + homepage = ""; + url = ""; + synopsis = "GHC BigNum library"; + description = "This package provides the low-level implementation of the standard\n'BigNat', 'Natural' and 'Integer' types."; + buildType = "Configure"; + }; + components = { + "library" = { + depends = [ + (hsPkgs."ghc-prim" or (errorHandler.buildDepError "ghc-prim")) + ]; + buildable = (if !flags.native && !flags.gmp && !flags.ffi + then false + else true) && (if flags.native && (flags.gmp || flags.ffi) + then false + else true) && (if flags.gmp && flags.ffi then false else true); + }; + }; + } // rec { src = pkgs.lib.mkDefault ./.; } diff --git a/materialized/ghc-boot-packages-nix/ghc967-ghcjs/ghc-boot.nix b/materialized/ghc-boot-packages-nix/ghc967-ghcjs/ghc-boot.nix new file mode 100644 index 0000000000..999901a0bc --- /dev/null +++ b/materialized/ghc-boot-packages-nix/ghc967-ghcjs/ghc-boot.nix @@ -0,0 +1,46 @@ +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: + { + flags = {}; + package = { + specVersion = "3.0"; + identifier = { name = "ghc-boot"; version = "9.6.7"; }; + license = "BSD-3-Clause"; + copyright = ""; + maintainer = "ghc-devs@haskell.org"; + author = ""; + homepage = ""; + url = ""; + synopsis = "Shared functionality between GHC and its boot libraries"; + description = "This library is shared between GHC, ghc-pkg, and other boot\nlibraries.\n.\nA note about \"GHC.Unit.Database\": it only deals with the subset of\nthe package database that the compiler cares about: modules\npaths etc and not package metadata like description, authors\netc. It is thus not a library interface to ghc-pkg and is *not*\nsuitable for modifying GHC package databases.\n.\nThe package database format and this library are constructed in\nsuch a way that while ghc-pkg depends on Cabal, the GHC library\nand program do not have to depend on Cabal."; + buildType = "Custom"; + setup-depends = [ + (hsPkgs.pkgsBuildBuild.base or (pkgs.pkgsBuildBuild.base or (errorHandler.setupDepError "base"))) + (hsPkgs.pkgsBuildBuild.Cabal or (pkgs.pkgsBuildBuild.Cabal or (errorHandler.setupDepError "Cabal"))) + (hsPkgs.pkgsBuildBuild.directory or (pkgs.pkgsBuildBuild.directory or (errorHandler.setupDepError "directory"))) + (hsPkgs.pkgsBuildBuild.filepath or (pkgs.pkgsBuildBuild.filepath or (errorHandler.setupDepError "filepath"))) + ]; + }; + components = { + "library" = { + depends = [ + (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."directory" or (errorHandler.buildDepError "directory")) + (hsPkgs."filepath" or (errorHandler.buildDepError "filepath")) + (hsPkgs."deepseq" or (errorHandler.buildDepError "deepseq")) + (hsPkgs."ghc-boot-th" or (errorHandler.buildDepError "ghc-boot-th")) + ] ++ pkgs.lib.optional (!system.isWindows) (hsPkgs."unix" or (errorHandler.buildDepError "unix")); + buildable = true; + }; + }; + } // rec { src = pkgs.lib.mkDefault ./.; } diff --git a/materialized/ghc-boot-packages-nix/ghc967-ghcjs/ghc-heap.nix b/materialized/ghc-boot-packages-nix/ghc967-ghcjs/ghc-heap.nix new file mode 100644 index 0000000000..de58a054ba --- /dev/null +++ b/materialized/ghc-boot-packages-nix/ghc967-ghcjs/ghc-heap.nix @@ -0,0 +1,36 @@ +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: + { + flags = {}; + package = { + specVersion = "3.0"; + identifier = { name = "ghc-heap"; version = "9.6.7"; }; + license = "BSD-3-Clause"; + copyright = ""; + maintainer = "libraries@haskell.org"; + author = ""; + homepage = ""; + url = ""; + synopsis = "Functions for walking GHC's heap"; + description = "This package provides functions for walking the GHC heap data structures\nand retrieving information about those data structures."; + buildType = "Simple"; + }; + components = { + "library" = { + depends = [ + (hsPkgs."base" or (errorHandler.buildDepError "base")) + (hsPkgs."ghc-prim" or (errorHandler.buildDepError "ghc-prim")) + (hsPkgs."rts" or (errorHandler.buildDepError "rts")) + (hsPkgs."containers" or (errorHandler.buildDepError "containers")) + ]; + buildable = true; + }; + }; + } // rec { src = pkgs.lib.mkDefault ./.; } diff --git a/materialized/ghc-boot-packages-nix/ghc967-ghcjs/ghc-prim.nix b/materialized/ghc-boot-packages-nix/ghc967-ghcjs/ghc-prim.nix new file mode 100644 index 0000000000..a657675b58 --- /dev/null +++ b/materialized/ghc-boot-packages-nix/ghc967-ghcjs/ghc-prim.nix @@ -0,0 +1,47 @@ +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: + { + flags = {}; + package = { + specVersion = "2.2"; + identifier = { name = "ghc-prim"; version = "0.10.0"; }; + license = "BSD-3-Clause"; + copyright = ""; + maintainer = "libraries@haskell.org"; + author = ""; + homepage = ""; + url = ""; + synopsis = "GHC primitives"; + description = "This package contains the primitive types and operations supplied by GHC.\nIt is an internal package, only for the use of GHC developers.\nGHC users should not use it! If you do use it then expect\nbreaking changes at any time without warning. You should prefer\nto import @GHC.Exts@ from the @base@ package instead."; + buildType = "Custom"; + setup-depends = [ + (hsPkgs.pkgsBuildBuild.base or (pkgs.pkgsBuildBuild.base or (errorHandler.setupDepError "base"))) + (hsPkgs.pkgsBuildBuild.process or (pkgs.pkgsBuildBuild.process or (errorHandler.setupDepError "process"))) + (hsPkgs.pkgsBuildBuild.filepath or (pkgs.pkgsBuildBuild.filepath or (errorHandler.setupDepError "filepath"))) + (hsPkgs.pkgsBuildBuild.directory or (pkgs.pkgsBuildBuild.directory or (errorHandler.setupDepError "directory"))) + (hsPkgs.pkgsBuildBuild.Cabal or (pkgs.pkgsBuildBuild.Cabal or (errorHandler.setupDepError "Cabal"))) + ]; + }; + components = { + "library" = { + depends = [ (hsPkgs."rts" or (errorHandler.buildDepError "rts")) ]; + libs = pkgs.lib.optionals (system.isWindows) [ + (pkgs."user32" or (errorHandler.sysDepError "user32")) + (pkgs."mingw32" or (errorHandler.sysDepError "mingw32")) + (pkgs."mingwex" or (errorHandler.sysDepError "mingwex")) + (pkgs."ucrt" or (errorHandler.sysDepError "ucrt")) + ] ++ pkgs.lib.optionals (system.isLinux) [ + (pkgs."c" or (errorHandler.sysDepError "c")) + (pkgs."m" or (errorHandler.sysDepError "m")) + ]; + buildable = true; + }; + }; + } // rec { src = pkgs.lib.mkDefault ./.; } diff --git a/materialized/ghc-boot-packages-nix/ghc967-ghcjs/ghc.nix b/materialized/ghc-boot-packages-nix/ghc967-ghcjs/ghc.nix new file mode 100644 index 0000000000..150c678bdb --- /dev/null +++ b/materialized/ghc-boot-packages-nix/ghc967-ghcjs/ghc.nix @@ -0,0 +1,69 @@ +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: + { + flags = { + internal-interpreter = false; + dynamic-system-linker = true; + build-tool-depends = true; + }; + package = { + specVersion = "2.2"; + identifier = { name = "ghc"; version = "9.6.7"; }; + license = "BSD-3-Clause"; + copyright = ""; + maintainer = "glasgow-haskell-users@haskell.org"; + author = "The GHC Team"; + homepage = "http://www.haskell.org/ghc/"; + url = ""; + synopsis = "The GHC API"; + description = "GHC's functionality can be useful for more things than just\ncompiling Haskell programs. Important use cases are programs\nthat analyse (and perhaps transform) Haskell code. Others\ninclude loading Haskell code dynamically in a GHCi-like manner.\nFor this reason, a lot of GHC's functionality is made available\nthrough this package.\n\nSee \nfor more information."; + buildType = "Custom"; + setup-depends = [ + (hsPkgs.pkgsBuildBuild.base or (pkgs.pkgsBuildBuild.base or (errorHandler.setupDepError "base"))) + (hsPkgs.pkgsBuildBuild.Cabal or (pkgs.pkgsBuildBuild.Cabal or (errorHandler.setupDepError "Cabal"))) + (hsPkgs.pkgsBuildBuild.directory or (pkgs.pkgsBuildBuild.directory or (errorHandler.setupDepError "directory"))) + (hsPkgs.pkgsBuildBuild.process or (pkgs.pkgsBuildBuild.process or (errorHandler.setupDepError "process"))) + (hsPkgs.pkgsBuildBuild.filepath or (pkgs.pkgsBuildBuild.filepath or (errorHandler.setupDepError "filepath"))) + ]; + }; + components = { + "library" = { + depends = [ + (hsPkgs."base" or (errorHandler.buildDepError "base")) + (hsPkgs."deepseq" or (errorHandler.buildDepError "deepseq")) + (hsPkgs."directory" or (errorHandler.buildDepError "directory")) + (hsPkgs."process" or (errorHandler.buildDepError "process")) + (hsPkgs."bytestring" or (errorHandler.buildDepError "bytestring")) + (hsPkgs."binary" or (errorHandler.buildDepError "binary")) + (hsPkgs."time" or (errorHandler.buildDepError "time")) + (hsPkgs."containers" or (errorHandler.buildDepError "containers")) + (hsPkgs."array" or (errorHandler.buildDepError "array")) + (hsPkgs."filepath" or (errorHandler.buildDepError "filepath")) + (hsPkgs."template-haskell" or (errorHandler.buildDepError "template-haskell")) + (hsPkgs."hpc" or (errorHandler.buildDepError "hpc")) + (hsPkgs."transformers" or (errorHandler.buildDepError "transformers")) + (hsPkgs."exceptions" or (errorHandler.buildDepError "exceptions")) + (hsPkgs."stm" or (errorHandler.buildDepError "stm")) + (hsPkgs."ghc-boot" or (errorHandler.buildDepError "ghc-boot")) + (hsPkgs."ghc-heap" or (errorHandler.buildDepError "ghc-heap")) + (hsPkgs."ghci" or (errorHandler.buildDepError "ghci")) + ] ++ (if system.isWindows + then [ (hsPkgs."Win32" or (errorHandler.buildDepError "Win32")) ] + else [ (hsPkgs."unix" or (errorHandler.buildDepError "unix")) ]); + build-tools = pkgs.lib.optionals (flags.build-tool-depends) [ + (hsPkgs.pkgsBuildBuild.alex.components.exes.alex or (pkgs.pkgsBuildBuild.alex or (errorHandler.buildToolDepError "alex:alex"))) + (hsPkgs.pkgsBuildBuild.happy.components.exes.happy or (pkgs.pkgsBuildBuild.happy or (errorHandler.buildToolDepError "happy:happy"))) + (hsPkgs.pkgsBuildBuild.genprimopcode.components.exes.genprimopcode or (pkgs.pkgsBuildBuild.genprimopcode or (errorHandler.buildToolDepError "genprimopcode:genprimopcode"))) + (hsPkgs.pkgsBuildBuild.deriveConstants.components.exes.deriveConstants or (pkgs.pkgsBuildBuild.deriveConstants or (errorHandler.buildToolDepError "deriveConstants:deriveConstants"))) + ]; + buildable = true; + }; + }; + } // rec { src = pkgs.lib.mkDefault ./.; } diff --git a/materialized/ghc-boot-packages-nix/ghc967-ghcjs/ghci.nix b/materialized/ghc-boot-packages-nix/ghc967-ghcjs/ghci.nix new file mode 100644 index 0000000000..917c80446c --- /dev/null +++ b/materialized/ghc-boot-packages-nix/ghc967-ghcjs/ghci.nix @@ -0,0 +1,45 @@ +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: + { + flags = { internal-interpreter = false; }; + package = { + specVersion = "1.10"; + identifier = { name = "ghci"; version = "9.6.7"; }; + license = "BSD-3-Clause"; + copyright = ""; + maintainer = "ghc-devs@haskell.org"; + author = ""; + homepage = ""; + url = ""; + synopsis = "The library supporting GHC's interactive interpreter"; + description = "This library offers interfaces which mediate interactions between the\n@ghci@ interactive shell and @iserv@, GHC's out-of-process interpreter\nbackend."; + buildType = "Simple"; + }; + components = { + "library" = { + depends = [ + (hsPkgs."rts" or (errorHandler.buildDepError "rts")) + (hsPkgs."array" or (errorHandler.buildDepError "array")) + (hsPkgs."base" or (errorHandler.buildDepError "base")) + (hsPkgs."ghc-prim" or (errorHandler.buildDepError "ghc-prim")) + (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."filepath" or (errorHandler.buildDepError "filepath")) + (hsPkgs."ghc-boot" or (errorHandler.buildDepError "ghc-boot")) + (hsPkgs."ghc-heap" or (errorHandler.buildDepError "ghc-heap")) + (hsPkgs."template-haskell" or (errorHandler.buildDepError "template-haskell")) + (hsPkgs."transformers" or (errorHandler.buildDepError "transformers")) + ] ++ pkgs.lib.optional (!system.isWindows) (hsPkgs."unix" or (errorHandler.buildDepError "unix")); + buildable = true; + }; + }; + } // rec { src = pkgs.lib.mkDefault ./.; } diff --git a/materialized/ghc-boot-packages-nix/ghc967-ghcjs/hpc.nix b/materialized/ghc-boot-packages-nix/ghc967-ghcjs/hpc.nix new file mode 100644 index 0000000000..c9d84dfbb7 --- /dev/null +++ b/materialized/ghc-boot-packages-nix/ghc967-ghcjs/hpc.nix @@ -0,0 +1,38 @@ +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: + { + flags = {}; + package = { + specVersion = "1.10"; + identifier = { name = "hpc"; version = "0.6.2.0"; }; + license = "BSD-3-Clause"; + copyright = ""; + maintainer = "ghc-devs@haskell.org"; + author = "Andy Gill"; + homepage = ""; + url = ""; + synopsis = "Code Coverage Library for Haskell"; + description = "This package provides the code coverage library for Haskell.\n\nSee for more\ninformation."; + buildType = "Simple"; + }; + components = { + "library" = { + depends = [ + (hsPkgs."base" or (errorHandler.buildDepError "base")) + (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."time" or (errorHandler.buildDepError "time")) + ]; + buildable = true; + }; + }; + } // rec { src = pkgs.lib.mkDefault ./.; } diff --git a/materialized/ghc-boot-packages-nix/ghc967-ghcjs/integer-gmp.nix b/materialized/ghc-boot-packages-nix/ghc967-ghcjs/integer-gmp.nix new file mode 100644 index 0000000000..94f930e70e --- /dev/null +++ b/materialized/ghc-boot-packages-nix/ghc967-ghcjs/integer-gmp.nix @@ -0,0 +1,35 @@ +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: + { + flags = {}; + package = { + specVersion = "2.0"; + identifier = { name = "integer-gmp"; version = "1.1"; }; + license = "BSD-3-Clause"; + copyright = ""; + maintainer = "hvr@gnu.org"; + author = "Herbert Valerio Riedel"; + homepage = "https://www.haskell.org/ghc/"; + url = ""; + synopsis = "Integer library based on GMP"; + description = "This package used to provide an implementation of the standard 'Integer'\ntype based on the\n.\n\nIt is now deprecated in favor of the 'ghc-bignum' package.\n\nIts purpose is to provide backward compatibility for codes directly\ndepending on the `integer-gmp` package."; + buildType = "Simple"; + }; + components = { + "library" = { + depends = [ + (hsPkgs."base" or (errorHandler.buildDepError "base")) + (hsPkgs."ghc-prim" or (errorHandler.buildDepError "ghc-prim")) + (hsPkgs."ghc-bignum" or (errorHandler.buildDepError "ghc-bignum")) + ]; + buildable = true; + }; + }; + } // rec { src = pkgs.lib.mkDefault ./.; } diff --git a/materialized/ghc-boot-packages-nix/ghc967-ghcjs/iserv.nix b/materialized/ghc-boot-packages-nix/ghc967-ghcjs/iserv.nix new file mode 100644 index 0000000000..89c993cdf7 --- /dev/null +++ b/materialized/ghc-boot-packages-nix/ghc967-ghcjs/iserv.nix @@ -0,0 +1,41 @@ +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: + { + flags = {}; + package = { + specVersion = "1.10"; + identifier = { name = "iserv"; version = "9.6.7"; }; + license = "BSD-3-Clause"; + copyright = "XXX"; + maintainer = "XXX"; + author = "XXX"; + homepage = ""; + url = ""; + synopsis = "iserv allows GHC to delegate Template Haskell computations"; + description = "GHC can be provided with a path to the iserv binary with\n@-pgmi=/path/to/iserv-bin@, and will in combination with\n@-fexternal-interpreter@, compile Template Haskell though the\n@iserv-bin@ delegate. This is very similar to how ghcjs has been\ncompiling Template Haskell, by spawning a separate delegate (so\ncalled runner on the javascript vm) and evaluating the splices\nthere."; + buildType = "Simple"; + }; + components = { + exes = { + "iserv" = { + 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."ghci" or (errorHandler.buildDepError "ghci")) + ] ++ pkgs.lib.optional (!system.isWindows) (hsPkgs."unix" or (errorHandler.buildDepError "unix")); + buildable = true; + }; + }; + }; + } // rec { src = pkgs.lib.mkDefault ./.; } diff --git a/materialized/ghc-boot-packages-nix/ghc967-ghcjs/remote-iserv.nix b/materialized/ghc-boot-packages-nix/ghc967-ghcjs/remote-iserv.nix new file mode 100644 index 0000000000..57987399cb --- /dev/null +++ b/materialized/ghc-boot-packages-nix/ghc967-ghcjs/remote-iserv.nix @@ -0,0 +1,36 @@ +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: + { + flags = {}; + package = { + specVersion = "1.10"; + identifier = { name = "remote-iserv"; version = "9.6.7"; }; + license = "BSD-3-Clause"; + copyright = "XXX"; + maintainer = "Moritz Angermann "; + author = "Moritz Angermann "; + homepage = ""; + url = ""; + synopsis = "iserv allows GHC to delegate Template Haskell computations"; + description = "This is a very simple remote runner for iserv, to be used together\nwith iserv-proxy. The foundamental idea is that this this wrapper\nstarts running the GHCi server on a given port to which iserv-proxy will\nthen connect."; + buildType = "Simple"; + }; + components = { + exes = { + "remote-iserv" = { + depends = [ + (hsPkgs."base" or (errorHandler.buildDepError "base")) + (hsPkgs."ghci" or (errorHandler.buildDepError "ghci")) + ]; + buildable = true; + }; + }; + }; + } // rec { src = pkgs.lib.mkDefault ./.; } diff --git a/materialized/ghc-boot-packages-nix/ghc967-ghcjs/template-haskell.nix b/materialized/ghc-boot-packages-nix/ghc967-ghcjs/template-haskell.nix new file mode 100644 index 0000000000..693b8f6a78 --- /dev/null +++ b/materialized/ghc-boot-packages-nix/ghc967-ghcjs/template-haskell.nix @@ -0,0 +1,36 @@ +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: + { + flags = {}; + package = { + specVersion = "1.10"; + identifier = { name = "template-haskell"; version = "2.20.0.0"; }; + license = "BSD-3-Clause"; + copyright = ""; + maintainer = "libraries@haskell.org"; + author = ""; + homepage = ""; + url = ""; + synopsis = "Support library for Template Haskell"; + description = "This package provides modules containing facilities for manipulating\nHaskell source code using Template Haskell.\n\nSee for more\ninformation."; + buildType = "Simple"; + }; + components = { + "library" = { + depends = [ + (hsPkgs."base" or (errorHandler.buildDepError "base")) + (hsPkgs."ghc-boot-th" or (errorHandler.buildDepError "ghc-boot-th")) + (hsPkgs."ghc-prim" or (errorHandler.buildDepError "ghc-prim")) + (hsPkgs."pretty" or (errorHandler.buildDepError "pretty")) + ]; + buildable = true; + }; + }; + } // rec { src = pkgs.lib.mkDefault ./.; } diff --git a/materialized/ghc-boot-packages-nix/ghc967/base.nix b/materialized/ghc-boot-packages-nix/ghc967/base.nix new file mode 100644 index 0000000000..1f649a4341 --- /dev/null +++ b/materialized/ghc-boot-packages-nix/ghc967/base.nix @@ -0,0 +1,49 @@ +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: + { + flags = {}; + package = { + specVersion = "3.0"; + identifier = { name = "base"; version = "4.18.3.0"; }; + license = "BSD-3-Clause"; + copyright = ""; + maintainer = "Core Libraries Committee "; + author = ""; + homepage = ""; + url = ""; + synopsis = "Core data structures and operations"; + description = "Haskell's base library provides, among other things, core types (e.g. [Bool](\"Data.Bool\") and [Int](\"Data.Int\")),\ndata structures (e.g. [List](\"Data.List\"), [Tuple](\"Data.Tuple\") and [Maybe](\"Data.Maybe\")),\nthe [Exception](\"Control.Exception\") mechanism, and the [IO](\"System.IO\") & [Concurrency](\"Control.Concurrent\") operations.\nThe \"Prelude\" module, which is imported by default, exposes a curated set of types and functions from other modules.\n\nOther data structures like [Map](https://hackage.haskell.org/package/containers/docs/Data-Map.html),\n[Set](https://hackage.haskell.org/package/containers/docs/Data-Set.html) are available in the [containers](https://hackage.haskell.org/package/containers) library.\nTo work with textual data, use the [text](https://hackage.haskell.org/package/text/docs/Data-Text.html) library."; + buildType = "Configure"; + }; + components = { + "library" = { + depends = [ + (hsPkgs."rts" or (errorHandler.buildDepError "rts")) + (hsPkgs."ghc-prim" or (errorHandler.buildDepError "ghc-prim")) + (hsPkgs."ghc-bignum" or (errorHandler.buildDepError "ghc-bignum")) + ]; + libs = pkgs.lib.optionals (system.isWindows) [ + (pkgs."wsock32" or (errorHandler.sysDepError "wsock32")) + (pkgs."user32" or (errorHandler.sysDepError "user32")) + (pkgs."shell32" or (errorHandler.sysDepError "shell32")) + (pkgs."mingw32" or (errorHandler.sysDepError "mingw32")) + (pkgs."kernel32" or (errorHandler.sysDepError "kernel32")) + (pkgs."advapi32" or (errorHandler.sysDepError "advapi32")) + (pkgs."mingwex" or (errorHandler.sysDepError "mingwex")) + (pkgs."ws2_32" or (errorHandler.sysDepError "ws2_32")) + (pkgs."shlwapi" or (errorHandler.sysDepError "shlwapi")) + (pkgs."ole32" or (errorHandler.sysDepError "ole32")) + (pkgs."rpcrt4" or (errorHandler.sysDepError "rpcrt4")) + (pkgs."ntdll" or (errorHandler.sysDepError "ntdll")) + ]; + buildable = true; + }; + }; + } // rec { src = pkgs.lib.mkDefault ./.; } diff --git a/materialized/ghc-boot-packages-nix/ghc967/deriveConstants.nix b/materialized/ghc-boot-packages-nix/ghc967/deriveConstants.nix new file mode 100644 index 0000000000..135cdd02f6 --- /dev/null +++ b/materialized/ghc-boot-packages-nix/ghc967/deriveConstants.nix @@ -0,0 +1,39 @@ +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: + { + flags = {}; + package = { + specVersion = "1.10"; + identifier = { name = "deriveConstants"; version = "0.1"; }; + license = "BSD-3-Clause"; + copyright = "XXX"; + maintainer = "XXX"; + author = "XXX"; + homepage = ""; + url = ""; + synopsis = "Derive header files containing various constants for the GHC build process"; + description = "This utility is responsible for generating a number of C header files\nneeded during the GHC build process. See @rts/include/ghc.mk@ in the GHC\nbuild system for details."; + buildType = "Simple"; + }; + components = { + exes = { + "deriveConstants" = { + depends = [ + (hsPkgs."base" or (errorHandler.buildDepError "base")) + (hsPkgs."containers" or (errorHandler.buildDepError "containers")) + (hsPkgs."process" or (errorHandler.buildDepError "process")) + (hsPkgs."filepath" or (errorHandler.buildDepError "filepath")) + (hsPkgs."directory" or (errorHandler.buildDepError "directory")) + ]; + buildable = true; + }; + }; + }; + } // rec { src = pkgs.lib.mkDefault ./.; } diff --git a/materialized/ghc-boot-packages-nix/ghc967/genprimopcode.nix b/materialized/ghc-boot-packages-nix/ghc967/genprimopcode.nix new file mode 100644 index 0000000000..49bbe516ba --- /dev/null +++ b/materialized/ghc-boot-packages-nix/ghc967/genprimopcode.nix @@ -0,0 +1,40 @@ +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: + { + flags = { build-tool-depends = true; }; + package = { + specVersion = "2.0"; + identifier = { name = "genprimopcode"; version = "0.1"; }; + license = "BSD-3-Clause"; + copyright = "XXX"; + maintainer = "XXX"; + author = "XXX"; + homepage = ""; + url = ""; + synopsis = "Generates various files implementing GHC's primitive operations."; + description = "This utility reads a textual description of GHC's primitive operations\n(@primops.txt.pp@) and produces a number of outputs. These include,\n\n* the @GHC.Prim@ module included in the @ghc-prim@ package.\n* the @GHC.PrimopWrappers@ module included in the @ghc-prim@ package.\n* an LaTeX document describing the primitive operations."; + buildType = "Simple"; + }; + components = { + exes = { + "genprimopcode" = { + depends = [ + (hsPkgs."base" or (errorHandler.buildDepError "base")) + (hsPkgs."array" or (errorHandler.buildDepError "array")) + ]; + build-tools = pkgs.lib.optionals (flags.build-tool-depends) [ + (hsPkgs.pkgsBuildBuild.alex.components.exes.alex or (pkgs.pkgsBuildBuild.alex or (errorHandler.buildToolDepError "alex:alex"))) + (hsPkgs.pkgsBuildBuild.happy.components.exes.happy or (pkgs.pkgsBuildBuild.happy or (errorHandler.buildToolDepError "happy:happy"))) + ]; + buildable = true; + }; + }; + }; + } // rec { src = pkgs.lib.mkDefault ./.; } diff --git a/materialized/ghc-boot-packages-nix/ghc967/ghc-bignum.nix b/materialized/ghc-boot-packages-nix/ghc967/ghc-bignum.nix new file mode 100644 index 0000000000..46af6e0e9f --- /dev/null +++ b/materialized/ghc-boot-packages-nix/ghc967/ghc-bignum.nix @@ -0,0 +1,37 @@ +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: + { + flags = { native = false; ffi = false; gmp = false; check = false; }; + package = { + specVersion = "2.0"; + identifier = { name = "ghc-bignum"; version = "1.3"; }; + license = "BSD-3-Clause"; + copyright = ""; + maintainer = "libraries@haskell.org"; + author = "Sylvain Henry"; + homepage = ""; + url = ""; + synopsis = "GHC BigNum library"; + description = "This package provides the low-level implementation of the standard\n'BigNat', 'Natural' and 'Integer' types."; + buildType = "Configure"; + }; + components = { + "library" = { + depends = [ + (hsPkgs."ghc-prim" or (errorHandler.buildDepError "ghc-prim")) + ]; + buildable = (if !flags.native && !flags.gmp && !flags.ffi + then false + else true) && (if flags.native && (flags.gmp || flags.ffi) + then false + else true) && (if flags.gmp && flags.ffi then false else true); + }; + }; + } // rec { src = pkgs.lib.mkDefault ./.; } diff --git a/materialized/ghc-boot-packages-nix/ghc967/ghc-boot.nix b/materialized/ghc-boot-packages-nix/ghc967/ghc-boot.nix new file mode 100644 index 0000000000..999901a0bc --- /dev/null +++ b/materialized/ghc-boot-packages-nix/ghc967/ghc-boot.nix @@ -0,0 +1,46 @@ +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: + { + flags = {}; + package = { + specVersion = "3.0"; + identifier = { name = "ghc-boot"; version = "9.6.7"; }; + license = "BSD-3-Clause"; + copyright = ""; + maintainer = "ghc-devs@haskell.org"; + author = ""; + homepage = ""; + url = ""; + synopsis = "Shared functionality between GHC and its boot libraries"; + description = "This library is shared between GHC, ghc-pkg, and other boot\nlibraries.\n.\nA note about \"GHC.Unit.Database\": it only deals with the subset of\nthe package database that the compiler cares about: modules\npaths etc and not package metadata like description, authors\netc. It is thus not a library interface to ghc-pkg and is *not*\nsuitable for modifying GHC package databases.\n.\nThe package database format and this library are constructed in\nsuch a way that while ghc-pkg depends on Cabal, the GHC library\nand program do not have to depend on Cabal."; + buildType = "Custom"; + setup-depends = [ + (hsPkgs.pkgsBuildBuild.base or (pkgs.pkgsBuildBuild.base or (errorHandler.setupDepError "base"))) + (hsPkgs.pkgsBuildBuild.Cabal or (pkgs.pkgsBuildBuild.Cabal or (errorHandler.setupDepError "Cabal"))) + (hsPkgs.pkgsBuildBuild.directory or (pkgs.pkgsBuildBuild.directory or (errorHandler.setupDepError "directory"))) + (hsPkgs.pkgsBuildBuild.filepath or (pkgs.pkgsBuildBuild.filepath or (errorHandler.setupDepError "filepath"))) + ]; + }; + components = { + "library" = { + depends = [ + (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."directory" or (errorHandler.buildDepError "directory")) + (hsPkgs."filepath" or (errorHandler.buildDepError "filepath")) + (hsPkgs."deepseq" or (errorHandler.buildDepError "deepseq")) + (hsPkgs."ghc-boot-th" or (errorHandler.buildDepError "ghc-boot-th")) + ] ++ pkgs.lib.optional (!system.isWindows) (hsPkgs."unix" or (errorHandler.buildDepError "unix")); + buildable = true; + }; + }; + } // rec { src = pkgs.lib.mkDefault ./.; } diff --git a/materialized/ghc-boot-packages-nix/ghc967/ghc-heap.nix b/materialized/ghc-boot-packages-nix/ghc967/ghc-heap.nix new file mode 100644 index 0000000000..de58a054ba --- /dev/null +++ b/materialized/ghc-boot-packages-nix/ghc967/ghc-heap.nix @@ -0,0 +1,36 @@ +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: + { + flags = {}; + package = { + specVersion = "3.0"; + identifier = { name = "ghc-heap"; version = "9.6.7"; }; + license = "BSD-3-Clause"; + copyright = ""; + maintainer = "libraries@haskell.org"; + author = ""; + homepage = ""; + url = ""; + synopsis = "Functions for walking GHC's heap"; + description = "This package provides functions for walking the GHC heap data structures\nand retrieving information about those data structures."; + buildType = "Simple"; + }; + components = { + "library" = { + depends = [ + (hsPkgs."base" or (errorHandler.buildDepError "base")) + (hsPkgs."ghc-prim" or (errorHandler.buildDepError "ghc-prim")) + (hsPkgs."rts" or (errorHandler.buildDepError "rts")) + (hsPkgs."containers" or (errorHandler.buildDepError "containers")) + ]; + buildable = true; + }; + }; + } // rec { src = pkgs.lib.mkDefault ./.; } diff --git a/materialized/ghc-boot-packages-nix/ghc967/ghc-prim.nix b/materialized/ghc-boot-packages-nix/ghc967/ghc-prim.nix new file mode 100644 index 0000000000..a657675b58 --- /dev/null +++ b/materialized/ghc-boot-packages-nix/ghc967/ghc-prim.nix @@ -0,0 +1,47 @@ +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: + { + flags = {}; + package = { + specVersion = "2.2"; + identifier = { name = "ghc-prim"; version = "0.10.0"; }; + license = "BSD-3-Clause"; + copyright = ""; + maintainer = "libraries@haskell.org"; + author = ""; + homepage = ""; + url = ""; + synopsis = "GHC primitives"; + description = "This package contains the primitive types and operations supplied by GHC.\nIt is an internal package, only for the use of GHC developers.\nGHC users should not use it! If you do use it then expect\nbreaking changes at any time without warning. You should prefer\nto import @GHC.Exts@ from the @base@ package instead."; + buildType = "Custom"; + setup-depends = [ + (hsPkgs.pkgsBuildBuild.base or (pkgs.pkgsBuildBuild.base or (errorHandler.setupDepError "base"))) + (hsPkgs.pkgsBuildBuild.process or (pkgs.pkgsBuildBuild.process or (errorHandler.setupDepError "process"))) + (hsPkgs.pkgsBuildBuild.filepath or (pkgs.pkgsBuildBuild.filepath or (errorHandler.setupDepError "filepath"))) + (hsPkgs.pkgsBuildBuild.directory or (pkgs.pkgsBuildBuild.directory or (errorHandler.setupDepError "directory"))) + (hsPkgs.pkgsBuildBuild.Cabal or (pkgs.pkgsBuildBuild.Cabal or (errorHandler.setupDepError "Cabal"))) + ]; + }; + components = { + "library" = { + depends = [ (hsPkgs."rts" or (errorHandler.buildDepError "rts")) ]; + libs = pkgs.lib.optionals (system.isWindows) [ + (pkgs."user32" or (errorHandler.sysDepError "user32")) + (pkgs."mingw32" or (errorHandler.sysDepError "mingw32")) + (pkgs."mingwex" or (errorHandler.sysDepError "mingwex")) + (pkgs."ucrt" or (errorHandler.sysDepError "ucrt")) + ] ++ pkgs.lib.optionals (system.isLinux) [ + (pkgs."c" or (errorHandler.sysDepError "c")) + (pkgs."m" or (errorHandler.sysDepError "m")) + ]; + buildable = true; + }; + }; + } // rec { src = pkgs.lib.mkDefault ./.; } diff --git a/materialized/ghc-boot-packages-nix/ghc967/ghc.nix b/materialized/ghc-boot-packages-nix/ghc967/ghc.nix new file mode 100644 index 0000000000..150c678bdb --- /dev/null +++ b/materialized/ghc-boot-packages-nix/ghc967/ghc.nix @@ -0,0 +1,69 @@ +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: + { + flags = { + internal-interpreter = false; + dynamic-system-linker = true; + build-tool-depends = true; + }; + package = { + specVersion = "2.2"; + identifier = { name = "ghc"; version = "9.6.7"; }; + license = "BSD-3-Clause"; + copyright = ""; + maintainer = "glasgow-haskell-users@haskell.org"; + author = "The GHC Team"; + homepage = "http://www.haskell.org/ghc/"; + url = ""; + synopsis = "The GHC API"; + description = "GHC's functionality can be useful for more things than just\ncompiling Haskell programs. Important use cases are programs\nthat analyse (and perhaps transform) Haskell code. Others\ninclude loading Haskell code dynamically in a GHCi-like manner.\nFor this reason, a lot of GHC's functionality is made available\nthrough this package.\n\nSee \nfor more information."; + buildType = "Custom"; + setup-depends = [ + (hsPkgs.pkgsBuildBuild.base or (pkgs.pkgsBuildBuild.base or (errorHandler.setupDepError "base"))) + (hsPkgs.pkgsBuildBuild.Cabal or (pkgs.pkgsBuildBuild.Cabal or (errorHandler.setupDepError "Cabal"))) + (hsPkgs.pkgsBuildBuild.directory or (pkgs.pkgsBuildBuild.directory or (errorHandler.setupDepError "directory"))) + (hsPkgs.pkgsBuildBuild.process or (pkgs.pkgsBuildBuild.process or (errorHandler.setupDepError "process"))) + (hsPkgs.pkgsBuildBuild.filepath or (pkgs.pkgsBuildBuild.filepath or (errorHandler.setupDepError "filepath"))) + ]; + }; + components = { + "library" = { + depends = [ + (hsPkgs."base" or (errorHandler.buildDepError "base")) + (hsPkgs."deepseq" or (errorHandler.buildDepError "deepseq")) + (hsPkgs."directory" or (errorHandler.buildDepError "directory")) + (hsPkgs."process" or (errorHandler.buildDepError "process")) + (hsPkgs."bytestring" or (errorHandler.buildDepError "bytestring")) + (hsPkgs."binary" or (errorHandler.buildDepError "binary")) + (hsPkgs."time" or (errorHandler.buildDepError "time")) + (hsPkgs."containers" or (errorHandler.buildDepError "containers")) + (hsPkgs."array" or (errorHandler.buildDepError "array")) + (hsPkgs."filepath" or (errorHandler.buildDepError "filepath")) + (hsPkgs."template-haskell" or (errorHandler.buildDepError "template-haskell")) + (hsPkgs."hpc" or (errorHandler.buildDepError "hpc")) + (hsPkgs."transformers" or (errorHandler.buildDepError "transformers")) + (hsPkgs."exceptions" or (errorHandler.buildDepError "exceptions")) + (hsPkgs."stm" or (errorHandler.buildDepError "stm")) + (hsPkgs."ghc-boot" or (errorHandler.buildDepError "ghc-boot")) + (hsPkgs."ghc-heap" or (errorHandler.buildDepError "ghc-heap")) + (hsPkgs."ghci" or (errorHandler.buildDepError "ghci")) + ] ++ (if system.isWindows + then [ (hsPkgs."Win32" or (errorHandler.buildDepError "Win32")) ] + else [ (hsPkgs."unix" or (errorHandler.buildDepError "unix")) ]); + build-tools = pkgs.lib.optionals (flags.build-tool-depends) [ + (hsPkgs.pkgsBuildBuild.alex.components.exes.alex or (pkgs.pkgsBuildBuild.alex or (errorHandler.buildToolDepError "alex:alex"))) + (hsPkgs.pkgsBuildBuild.happy.components.exes.happy or (pkgs.pkgsBuildBuild.happy or (errorHandler.buildToolDepError "happy:happy"))) + (hsPkgs.pkgsBuildBuild.genprimopcode.components.exes.genprimopcode or (pkgs.pkgsBuildBuild.genprimopcode or (errorHandler.buildToolDepError "genprimopcode:genprimopcode"))) + (hsPkgs.pkgsBuildBuild.deriveConstants.components.exes.deriveConstants or (pkgs.pkgsBuildBuild.deriveConstants or (errorHandler.buildToolDepError "deriveConstants:deriveConstants"))) + ]; + buildable = true; + }; + }; + } // rec { src = pkgs.lib.mkDefault ./.; } diff --git a/materialized/ghc-boot-packages-nix/ghc967/ghci.nix b/materialized/ghc-boot-packages-nix/ghc967/ghci.nix new file mode 100644 index 0000000000..917c80446c --- /dev/null +++ b/materialized/ghc-boot-packages-nix/ghc967/ghci.nix @@ -0,0 +1,45 @@ +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: + { + flags = { internal-interpreter = false; }; + package = { + specVersion = "1.10"; + identifier = { name = "ghci"; version = "9.6.7"; }; + license = "BSD-3-Clause"; + copyright = ""; + maintainer = "ghc-devs@haskell.org"; + author = ""; + homepage = ""; + url = ""; + synopsis = "The library supporting GHC's interactive interpreter"; + description = "This library offers interfaces which mediate interactions between the\n@ghci@ interactive shell and @iserv@, GHC's out-of-process interpreter\nbackend."; + buildType = "Simple"; + }; + components = { + "library" = { + depends = [ + (hsPkgs."rts" or (errorHandler.buildDepError "rts")) + (hsPkgs."array" or (errorHandler.buildDepError "array")) + (hsPkgs."base" or (errorHandler.buildDepError "base")) + (hsPkgs."ghc-prim" or (errorHandler.buildDepError "ghc-prim")) + (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."filepath" or (errorHandler.buildDepError "filepath")) + (hsPkgs."ghc-boot" or (errorHandler.buildDepError "ghc-boot")) + (hsPkgs."ghc-heap" or (errorHandler.buildDepError "ghc-heap")) + (hsPkgs."template-haskell" or (errorHandler.buildDepError "template-haskell")) + (hsPkgs."transformers" or (errorHandler.buildDepError "transformers")) + ] ++ pkgs.lib.optional (!system.isWindows) (hsPkgs."unix" or (errorHandler.buildDepError "unix")); + buildable = true; + }; + }; + } // rec { src = pkgs.lib.mkDefault ./.; } diff --git a/materialized/ghc-boot-packages-nix/ghc967/hpc.nix b/materialized/ghc-boot-packages-nix/ghc967/hpc.nix new file mode 100644 index 0000000000..c9d84dfbb7 --- /dev/null +++ b/materialized/ghc-boot-packages-nix/ghc967/hpc.nix @@ -0,0 +1,38 @@ +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: + { + flags = {}; + package = { + specVersion = "1.10"; + identifier = { name = "hpc"; version = "0.6.2.0"; }; + license = "BSD-3-Clause"; + copyright = ""; + maintainer = "ghc-devs@haskell.org"; + author = "Andy Gill"; + homepage = ""; + url = ""; + synopsis = "Code Coverage Library for Haskell"; + description = "This package provides the code coverage library for Haskell.\n\nSee for more\ninformation."; + buildType = "Simple"; + }; + components = { + "library" = { + depends = [ + (hsPkgs."base" or (errorHandler.buildDepError "base")) + (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."time" or (errorHandler.buildDepError "time")) + ]; + buildable = true; + }; + }; + } // rec { src = pkgs.lib.mkDefault ./.; } diff --git a/materialized/ghc-boot-packages-nix/ghc967/integer-gmp.nix b/materialized/ghc-boot-packages-nix/ghc967/integer-gmp.nix new file mode 100644 index 0000000000..94f930e70e --- /dev/null +++ b/materialized/ghc-boot-packages-nix/ghc967/integer-gmp.nix @@ -0,0 +1,35 @@ +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: + { + flags = {}; + package = { + specVersion = "2.0"; + identifier = { name = "integer-gmp"; version = "1.1"; }; + license = "BSD-3-Clause"; + copyright = ""; + maintainer = "hvr@gnu.org"; + author = "Herbert Valerio Riedel"; + homepage = "https://www.haskell.org/ghc/"; + url = ""; + synopsis = "Integer library based on GMP"; + description = "This package used to provide an implementation of the standard 'Integer'\ntype based on the\n.\n\nIt is now deprecated in favor of the 'ghc-bignum' package.\n\nIts purpose is to provide backward compatibility for codes directly\ndepending on the `integer-gmp` package."; + buildType = "Simple"; + }; + components = { + "library" = { + depends = [ + (hsPkgs."base" or (errorHandler.buildDepError "base")) + (hsPkgs."ghc-prim" or (errorHandler.buildDepError "ghc-prim")) + (hsPkgs."ghc-bignum" or (errorHandler.buildDepError "ghc-bignum")) + ]; + buildable = true; + }; + }; + } // rec { src = pkgs.lib.mkDefault ./.; } diff --git a/materialized/ghc-boot-packages-nix/ghc967/iserv.nix b/materialized/ghc-boot-packages-nix/ghc967/iserv.nix new file mode 100644 index 0000000000..5b2596b004 --- /dev/null +++ b/materialized/ghc-boot-packages-nix/ghc967/iserv.nix @@ -0,0 +1,42 @@ +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: + { + flags = {}; + package = { + specVersion = "1.10"; + identifier = { name = "iserv"; version = "9.6.7"; }; + license = "BSD-3-Clause"; + copyright = "XXX"; + maintainer = "XXX"; + author = "XXX"; + homepage = ""; + url = ""; + synopsis = "iserv allows GHC to delegate Template Haskell computations"; + description = "GHC can be provided with a path to the iserv binary with\n@-pgmi=/path/to/iserv-bin@, and will in combination with\n@-fexternal-interpreter@, compile Template Haskell though the\n@iserv-bin@ delegate. This is very similar to how ghcjs has been\ncompiling Template Haskell, by spawning a separate delegate (so\ncalled runner on the javascript vm) and evaluating the splices\nthere.\n\nTo use iserv with cross compilers, please see @libraries/libiserv@\nand @utils/iserv-proxy@."; + buildType = "Simple"; + }; + components = { + exes = { + "iserv" = { + 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."ghci" or (errorHandler.buildDepError "ghci")) + (hsPkgs."libiserv" or (errorHandler.buildDepError "libiserv")) + ] ++ pkgs.lib.optional (!system.isWindows) (hsPkgs."unix" or (errorHandler.buildDepError "unix")); + buildable = true; + }; + }; + }; + } // rec { src = pkgs.lib.mkDefault ./.; } diff --git a/materialized/ghc-boot-packages-nix/ghc967/libiserv.nix b/materialized/ghc-boot-packages-nix/ghc967/libiserv.nix new file mode 100644 index 0000000000..41942678e8 --- /dev/null +++ b/materialized/ghc-boot-packages-nix/ghc967/libiserv.nix @@ -0,0 +1,38 @@ +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: + { + flags = { network = false; }; + package = { + specVersion = "1.10"; + identifier = { name = "libiserv"; version = "9.6.7"; }; + license = "BSD-3-Clause"; + copyright = "XXX"; + maintainer = "XXX"; + author = "XXX"; + homepage = ""; + url = ""; + synopsis = "Provides shared functionality between iserv and iserv-proxy."; + description = "Provides shared functionality between iserv and iserv-proxy."; + buildType = "Simple"; + }; + components = { + "library" = { + depends = [ + (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."ghci" or (errorHandler.buildDepError "ghci")) + ] ++ pkgs.lib.optional (!system.isWindows) (hsPkgs."unix" or (errorHandler.buildDepError "unix")); + buildable = true; + }; + }; + } // rec { src = pkgs.lib.mkDefault ./.; } diff --git a/materialized/ghc-boot-packages-nix/ghc967/remote-iserv.nix b/materialized/ghc-boot-packages-nix/ghc967/remote-iserv.nix new file mode 100644 index 0000000000..1f659bea7e --- /dev/null +++ b/materialized/ghc-boot-packages-nix/ghc967/remote-iserv.nix @@ -0,0 +1,36 @@ +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: + { + flags = {}; + package = { + specVersion = "1.10"; + identifier = { name = "remote-iserv"; version = "9.6.7"; }; + license = "BSD-3-Clause"; + copyright = "XXX"; + maintainer = "Moritz Angermann "; + author = "Moritz Angermann "; + homepage = ""; + url = ""; + synopsis = "iserv allows GHC to delegate Template Haskell computations"; + description = "This is a very simple remote runner for iserv, to be used together\nwith iserv-proxy. The foundamental idea is that this this wrapper\nstarts running libiserv on a given port to which iserv-proxy will\nthen connect."; + buildType = "Simple"; + }; + components = { + exes = { + "remote-iserv" = { + depends = [ + (hsPkgs."base" or (errorHandler.buildDepError "base")) + (hsPkgs."libiserv" or (errorHandler.buildDepError "libiserv")) + ]; + buildable = true; + }; + }; + }; + } // rec { src = pkgs.lib.mkDefault ./.; } diff --git a/materialized/ghc-boot-packages-nix/ghc967/template-haskell.nix b/materialized/ghc-boot-packages-nix/ghc967/template-haskell.nix new file mode 100644 index 0000000000..693b8f6a78 --- /dev/null +++ b/materialized/ghc-boot-packages-nix/ghc967/template-haskell.nix @@ -0,0 +1,36 @@ +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: + { + flags = {}; + package = { + specVersion = "1.10"; + identifier = { name = "template-haskell"; version = "2.20.0.0"; }; + license = "BSD-3-Clause"; + copyright = ""; + maintainer = "libraries@haskell.org"; + author = ""; + homepage = ""; + url = ""; + synopsis = "Support library for Template Haskell"; + description = "This package provides modules containing facilities for manipulating\nHaskell source code using Template Haskell.\n\nSee for more\ninformation."; + buildType = "Simple"; + }; + components = { + "library" = { + depends = [ + (hsPkgs."base" or (errorHandler.buildDepError "base")) + (hsPkgs."ghc-boot-th" or (errorHandler.buildDepError "ghc-boot-th")) + (hsPkgs."ghc-prim" or (errorHandler.buildDepError "ghc-prim")) + (hsPkgs."pretty" or (errorHandler.buildDepError "pretty")) + ]; + buildable = true; + }; + }; + } // rec { src = pkgs.lib.mkDefault ./.; } diff --git a/materialized/ghc-boot-packages-nix/ghc96720250227-aarch64/base.nix b/materialized/ghc-boot-packages-nix/ghc96720250227-aarch64/base.nix new file mode 100644 index 0000000000..1f649a4341 --- /dev/null +++ b/materialized/ghc-boot-packages-nix/ghc96720250227-aarch64/base.nix @@ -0,0 +1,49 @@ +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: + { + flags = {}; + package = { + specVersion = "3.0"; + identifier = { name = "base"; version = "4.18.3.0"; }; + license = "BSD-3-Clause"; + copyright = ""; + maintainer = "Core Libraries Committee "; + author = ""; + homepage = ""; + url = ""; + synopsis = "Core data structures and operations"; + description = "Haskell's base library provides, among other things, core types (e.g. [Bool](\"Data.Bool\") and [Int](\"Data.Int\")),\ndata structures (e.g. [List](\"Data.List\"), [Tuple](\"Data.Tuple\") and [Maybe](\"Data.Maybe\")),\nthe [Exception](\"Control.Exception\") mechanism, and the [IO](\"System.IO\") & [Concurrency](\"Control.Concurrent\") operations.\nThe \"Prelude\" module, which is imported by default, exposes a curated set of types and functions from other modules.\n\nOther data structures like [Map](https://hackage.haskell.org/package/containers/docs/Data-Map.html),\n[Set](https://hackage.haskell.org/package/containers/docs/Data-Set.html) are available in the [containers](https://hackage.haskell.org/package/containers) library.\nTo work with textual data, use the [text](https://hackage.haskell.org/package/text/docs/Data-Text.html) library."; + buildType = "Configure"; + }; + components = { + "library" = { + depends = [ + (hsPkgs."rts" or (errorHandler.buildDepError "rts")) + (hsPkgs."ghc-prim" or (errorHandler.buildDepError "ghc-prim")) + (hsPkgs."ghc-bignum" or (errorHandler.buildDepError "ghc-bignum")) + ]; + libs = pkgs.lib.optionals (system.isWindows) [ + (pkgs."wsock32" or (errorHandler.sysDepError "wsock32")) + (pkgs."user32" or (errorHandler.sysDepError "user32")) + (pkgs."shell32" or (errorHandler.sysDepError "shell32")) + (pkgs."mingw32" or (errorHandler.sysDepError "mingw32")) + (pkgs."kernel32" or (errorHandler.sysDepError "kernel32")) + (pkgs."advapi32" or (errorHandler.sysDepError "advapi32")) + (pkgs."mingwex" or (errorHandler.sysDepError "mingwex")) + (pkgs."ws2_32" or (errorHandler.sysDepError "ws2_32")) + (pkgs."shlwapi" or (errorHandler.sysDepError "shlwapi")) + (pkgs."ole32" or (errorHandler.sysDepError "ole32")) + (pkgs."rpcrt4" or (errorHandler.sysDepError "rpcrt4")) + (pkgs."ntdll" or (errorHandler.sysDepError "ntdll")) + ]; + buildable = true; + }; + }; + } // rec { src = pkgs.lib.mkDefault ./.; } diff --git a/materialized/ghc-boot-packages-nix/ghc96720250227-aarch64/deriveConstants.nix b/materialized/ghc-boot-packages-nix/ghc96720250227-aarch64/deriveConstants.nix new file mode 100644 index 0000000000..135cdd02f6 --- /dev/null +++ b/materialized/ghc-boot-packages-nix/ghc96720250227-aarch64/deriveConstants.nix @@ -0,0 +1,39 @@ +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: + { + flags = {}; + package = { + specVersion = "1.10"; + identifier = { name = "deriveConstants"; version = "0.1"; }; + license = "BSD-3-Clause"; + copyright = "XXX"; + maintainer = "XXX"; + author = "XXX"; + homepage = ""; + url = ""; + synopsis = "Derive header files containing various constants for the GHC build process"; + description = "This utility is responsible for generating a number of C header files\nneeded during the GHC build process. See @rts/include/ghc.mk@ in the GHC\nbuild system for details."; + buildType = "Simple"; + }; + components = { + exes = { + "deriveConstants" = { + depends = [ + (hsPkgs."base" or (errorHandler.buildDepError "base")) + (hsPkgs."containers" or (errorHandler.buildDepError "containers")) + (hsPkgs."process" or (errorHandler.buildDepError "process")) + (hsPkgs."filepath" or (errorHandler.buildDepError "filepath")) + (hsPkgs."directory" or (errorHandler.buildDepError "directory")) + ]; + buildable = true; + }; + }; + }; + } // rec { src = pkgs.lib.mkDefault ./.; } diff --git a/materialized/ghc-boot-packages-nix/ghc96720250227-aarch64/genprimopcode.nix b/materialized/ghc-boot-packages-nix/ghc96720250227-aarch64/genprimopcode.nix new file mode 100644 index 0000000000..49bbe516ba --- /dev/null +++ b/materialized/ghc-boot-packages-nix/ghc96720250227-aarch64/genprimopcode.nix @@ -0,0 +1,40 @@ +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: + { + flags = { build-tool-depends = true; }; + package = { + specVersion = "2.0"; + identifier = { name = "genprimopcode"; version = "0.1"; }; + license = "BSD-3-Clause"; + copyright = "XXX"; + maintainer = "XXX"; + author = "XXX"; + homepage = ""; + url = ""; + synopsis = "Generates various files implementing GHC's primitive operations."; + description = "This utility reads a textual description of GHC's primitive operations\n(@primops.txt.pp@) and produces a number of outputs. These include,\n\n* the @GHC.Prim@ module included in the @ghc-prim@ package.\n* the @GHC.PrimopWrappers@ module included in the @ghc-prim@ package.\n* an LaTeX document describing the primitive operations."; + buildType = "Simple"; + }; + components = { + exes = { + "genprimopcode" = { + depends = [ + (hsPkgs."base" or (errorHandler.buildDepError "base")) + (hsPkgs."array" or (errorHandler.buildDepError "array")) + ]; + build-tools = pkgs.lib.optionals (flags.build-tool-depends) [ + (hsPkgs.pkgsBuildBuild.alex.components.exes.alex or (pkgs.pkgsBuildBuild.alex or (errorHandler.buildToolDepError "alex:alex"))) + (hsPkgs.pkgsBuildBuild.happy.components.exes.happy or (pkgs.pkgsBuildBuild.happy or (errorHandler.buildToolDepError "happy:happy"))) + ]; + buildable = true; + }; + }; + }; + } // rec { src = pkgs.lib.mkDefault ./.; } diff --git a/materialized/ghc-boot-packages-nix/ghc96720250227-aarch64/ghc-bignum.nix b/materialized/ghc-boot-packages-nix/ghc96720250227-aarch64/ghc-bignum.nix new file mode 100644 index 0000000000..46af6e0e9f --- /dev/null +++ b/materialized/ghc-boot-packages-nix/ghc96720250227-aarch64/ghc-bignum.nix @@ -0,0 +1,37 @@ +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: + { + flags = { native = false; ffi = false; gmp = false; check = false; }; + package = { + specVersion = "2.0"; + identifier = { name = "ghc-bignum"; version = "1.3"; }; + license = "BSD-3-Clause"; + copyright = ""; + maintainer = "libraries@haskell.org"; + author = "Sylvain Henry"; + homepage = ""; + url = ""; + synopsis = "GHC BigNum library"; + description = "This package provides the low-level implementation of the standard\n'BigNat', 'Natural' and 'Integer' types."; + buildType = "Configure"; + }; + components = { + "library" = { + depends = [ + (hsPkgs."ghc-prim" or (errorHandler.buildDepError "ghc-prim")) + ]; + buildable = (if !flags.native && !flags.gmp && !flags.ffi + then false + else true) && (if flags.native && (flags.gmp || flags.ffi) + then false + else true) && (if flags.gmp && flags.ffi then false else true); + }; + }; + } // rec { src = pkgs.lib.mkDefault ./.; } diff --git a/materialized/ghc-boot-packages-nix/ghc96720250227-aarch64/ghc-boot.nix b/materialized/ghc-boot-packages-nix/ghc96720250227-aarch64/ghc-boot.nix new file mode 100644 index 0000000000..bdb3851804 --- /dev/null +++ b/materialized/ghc-boot-packages-nix/ghc96720250227-aarch64/ghc-boot.nix @@ -0,0 +1,46 @@ +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: + { + flags = {}; + package = { + specVersion = "3.0"; + identifier = { name = "ghc-boot"; version = "9.6.7.20250227"; }; + license = "BSD-3-Clause"; + copyright = ""; + maintainer = "ghc-devs@haskell.org"; + author = ""; + homepage = ""; + url = ""; + synopsis = "Shared functionality between GHC and its boot libraries"; + description = "This library is shared between GHC, ghc-pkg, and other boot\nlibraries.\n.\nA note about \"GHC.Unit.Database\": it only deals with the subset of\nthe package database that the compiler cares about: modules\npaths etc and not package metadata like description, authors\netc. It is thus not a library interface to ghc-pkg and is *not*\nsuitable for modifying GHC package databases.\n.\nThe package database format and this library are constructed in\nsuch a way that while ghc-pkg depends on Cabal, the GHC library\nand program do not have to depend on Cabal."; + buildType = "Custom"; + setup-depends = [ + (hsPkgs.pkgsBuildBuild.base or (pkgs.pkgsBuildBuild.base or (errorHandler.setupDepError "base"))) + (hsPkgs.pkgsBuildBuild.Cabal or (pkgs.pkgsBuildBuild.Cabal or (errorHandler.setupDepError "Cabal"))) + (hsPkgs.pkgsBuildBuild.directory or (pkgs.pkgsBuildBuild.directory or (errorHandler.setupDepError "directory"))) + (hsPkgs.pkgsBuildBuild.filepath or (pkgs.pkgsBuildBuild.filepath or (errorHandler.setupDepError "filepath"))) + ]; + }; + components = { + "library" = { + depends = [ + (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."directory" or (errorHandler.buildDepError "directory")) + (hsPkgs."filepath" or (errorHandler.buildDepError "filepath")) + (hsPkgs."deepseq" or (errorHandler.buildDepError "deepseq")) + (hsPkgs."ghc-boot-th" or (errorHandler.buildDepError "ghc-boot-th")) + ] ++ pkgs.lib.optional (!system.isWindows) (hsPkgs."unix" or (errorHandler.buildDepError "unix")); + buildable = true; + }; + }; + } // rec { src = pkgs.lib.mkDefault ./.; } diff --git a/materialized/ghc-boot-packages-nix/ghc96720250227-aarch64/ghc-heap.nix b/materialized/ghc-boot-packages-nix/ghc96720250227-aarch64/ghc-heap.nix new file mode 100644 index 0000000000..f8edabe13b --- /dev/null +++ b/materialized/ghc-boot-packages-nix/ghc96720250227-aarch64/ghc-heap.nix @@ -0,0 +1,36 @@ +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: + { + flags = {}; + package = { + specVersion = "3.0"; + identifier = { name = "ghc-heap"; version = "9.6.7.20250227"; }; + license = "BSD-3-Clause"; + copyright = ""; + maintainer = "libraries@haskell.org"; + author = ""; + homepage = ""; + url = ""; + synopsis = "Functions for walking GHC's heap"; + description = "This package provides functions for walking the GHC heap data structures\nand retrieving information about those data structures."; + buildType = "Simple"; + }; + components = { + "library" = { + depends = [ + (hsPkgs."base" or (errorHandler.buildDepError "base")) + (hsPkgs."ghc-prim" or (errorHandler.buildDepError "ghc-prim")) + (hsPkgs."rts" or (errorHandler.buildDepError "rts")) + (hsPkgs."containers" or (errorHandler.buildDepError "containers")) + ]; + buildable = true; + }; + }; + } // rec { src = pkgs.lib.mkDefault ./.; } diff --git a/materialized/ghc-boot-packages-nix/ghc96720250227-aarch64/ghc-prim.nix b/materialized/ghc-boot-packages-nix/ghc96720250227-aarch64/ghc-prim.nix new file mode 100644 index 0000000000..a657675b58 --- /dev/null +++ b/materialized/ghc-boot-packages-nix/ghc96720250227-aarch64/ghc-prim.nix @@ -0,0 +1,47 @@ +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: + { + flags = {}; + package = { + specVersion = "2.2"; + identifier = { name = "ghc-prim"; version = "0.10.0"; }; + license = "BSD-3-Clause"; + copyright = ""; + maintainer = "libraries@haskell.org"; + author = ""; + homepage = ""; + url = ""; + synopsis = "GHC primitives"; + description = "This package contains the primitive types and operations supplied by GHC.\nIt is an internal package, only for the use of GHC developers.\nGHC users should not use it! If you do use it then expect\nbreaking changes at any time without warning. You should prefer\nto import @GHC.Exts@ from the @base@ package instead."; + buildType = "Custom"; + setup-depends = [ + (hsPkgs.pkgsBuildBuild.base or (pkgs.pkgsBuildBuild.base or (errorHandler.setupDepError "base"))) + (hsPkgs.pkgsBuildBuild.process or (pkgs.pkgsBuildBuild.process or (errorHandler.setupDepError "process"))) + (hsPkgs.pkgsBuildBuild.filepath or (pkgs.pkgsBuildBuild.filepath or (errorHandler.setupDepError "filepath"))) + (hsPkgs.pkgsBuildBuild.directory or (pkgs.pkgsBuildBuild.directory or (errorHandler.setupDepError "directory"))) + (hsPkgs.pkgsBuildBuild.Cabal or (pkgs.pkgsBuildBuild.Cabal or (errorHandler.setupDepError "Cabal"))) + ]; + }; + components = { + "library" = { + depends = [ (hsPkgs."rts" or (errorHandler.buildDepError "rts")) ]; + libs = pkgs.lib.optionals (system.isWindows) [ + (pkgs."user32" or (errorHandler.sysDepError "user32")) + (pkgs."mingw32" or (errorHandler.sysDepError "mingw32")) + (pkgs."mingwex" or (errorHandler.sysDepError "mingwex")) + (pkgs."ucrt" or (errorHandler.sysDepError "ucrt")) + ] ++ pkgs.lib.optionals (system.isLinux) [ + (pkgs."c" or (errorHandler.sysDepError "c")) + (pkgs."m" or (errorHandler.sysDepError "m")) + ]; + buildable = true; + }; + }; + } // rec { src = pkgs.lib.mkDefault ./.; } diff --git a/materialized/ghc-boot-packages-nix/ghc96720250227-aarch64/ghc.nix b/materialized/ghc-boot-packages-nix/ghc96720250227-aarch64/ghc.nix new file mode 100644 index 0000000000..cb75e00e5c --- /dev/null +++ b/materialized/ghc-boot-packages-nix/ghc96720250227-aarch64/ghc.nix @@ -0,0 +1,69 @@ +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: + { + flags = { + internal-interpreter = false; + dynamic-system-linker = true; + build-tool-depends = true; + }; + package = { + specVersion = "2.2"; + identifier = { name = "ghc"; version = "9.6.7.20250227"; }; + license = "BSD-3-Clause"; + copyright = ""; + maintainer = "glasgow-haskell-users@haskell.org"; + author = "The GHC Team"; + homepage = "http://www.haskell.org/ghc/"; + url = ""; + synopsis = "The GHC API"; + description = "GHC's functionality can be useful for more things than just\ncompiling Haskell programs. Important use cases are programs\nthat analyse (and perhaps transform) Haskell code. Others\ninclude loading Haskell code dynamically in a GHCi-like manner.\nFor this reason, a lot of GHC's functionality is made available\nthrough this package.\n\nSee \nfor more information."; + buildType = "Custom"; + setup-depends = [ + (hsPkgs.pkgsBuildBuild.base or (pkgs.pkgsBuildBuild.base or (errorHandler.setupDepError "base"))) + (hsPkgs.pkgsBuildBuild.Cabal or (pkgs.pkgsBuildBuild.Cabal or (errorHandler.setupDepError "Cabal"))) + (hsPkgs.pkgsBuildBuild.directory or (pkgs.pkgsBuildBuild.directory or (errorHandler.setupDepError "directory"))) + (hsPkgs.pkgsBuildBuild.process or (pkgs.pkgsBuildBuild.process or (errorHandler.setupDepError "process"))) + (hsPkgs.pkgsBuildBuild.filepath or (pkgs.pkgsBuildBuild.filepath or (errorHandler.setupDepError "filepath"))) + ]; + }; + components = { + "library" = { + depends = [ + (hsPkgs."base" or (errorHandler.buildDepError "base")) + (hsPkgs."deepseq" or (errorHandler.buildDepError "deepseq")) + (hsPkgs."directory" or (errorHandler.buildDepError "directory")) + (hsPkgs."process" or (errorHandler.buildDepError "process")) + (hsPkgs."bytestring" or (errorHandler.buildDepError "bytestring")) + (hsPkgs."binary" or (errorHandler.buildDepError "binary")) + (hsPkgs."time" or (errorHandler.buildDepError "time")) + (hsPkgs."containers" or (errorHandler.buildDepError "containers")) + (hsPkgs."array" or (errorHandler.buildDepError "array")) + (hsPkgs."filepath" or (errorHandler.buildDepError "filepath")) + (hsPkgs."template-haskell" or (errorHandler.buildDepError "template-haskell")) + (hsPkgs."hpc" or (errorHandler.buildDepError "hpc")) + (hsPkgs."transformers" or (errorHandler.buildDepError "transformers")) + (hsPkgs."exceptions" or (errorHandler.buildDepError "exceptions")) + (hsPkgs."stm" or (errorHandler.buildDepError "stm")) + (hsPkgs."ghc-boot" or (errorHandler.buildDepError "ghc-boot")) + (hsPkgs."ghc-heap" or (errorHandler.buildDepError "ghc-heap")) + (hsPkgs."ghci" or (errorHandler.buildDepError "ghci")) + ] ++ (if system.isWindows + then [ (hsPkgs."Win32" or (errorHandler.buildDepError "Win32")) ] + else [ (hsPkgs."unix" or (errorHandler.buildDepError "unix")) ]); + build-tools = pkgs.lib.optionals (flags.build-tool-depends) [ + (hsPkgs.pkgsBuildBuild.alex.components.exes.alex or (pkgs.pkgsBuildBuild.alex or (errorHandler.buildToolDepError "alex:alex"))) + (hsPkgs.pkgsBuildBuild.happy.components.exes.happy or (pkgs.pkgsBuildBuild.happy or (errorHandler.buildToolDepError "happy:happy"))) + (hsPkgs.pkgsBuildBuild.genprimopcode.components.exes.genprimopcode or (pkgs.pkgsBuildBuild.genprimopcode or (errorHandler.buildToolDepError "genprimopcode:genprimopcode"))) + (hsPkgs.pkgsBuildBuild.deriveConstants.components.exes.deriveConstants or (pkgs.pkgsBuildBuild.deriveConstants or (errorHandler.buildToolDepError "deriveConstants:deriveConstants"))) + ]; + buildable = true; + }; + }; + } // rec { src = pkgs.lib.mkDefault ./.; } diff --git a/materialized/ghc-boot-packages-nix/ghc96720250227-aarch64/ghci.nix b/materialized/ghc-boot-packages-nix/ghc96720250227-aarch64/ghci.nix new file mode 100644 index 0000000000..3cc6975487 --- /dev/null +++ b/materialized/ghc-boot-packages-nix/ghc96720250227-aarch64/ghci.nix @@ -0,0 +1,45 @@ +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: + { + flags = { internal-interpreter = false; }; + package = { + specVersion = "1.10"; + identifier = { name = "ghci"; version = "9.6.7.20250227"; }; + license = "BSD-3-Clause"; + copyright = ""; + maintainer = "ghc-devs@haskell.org"; + author = ""; + homepage = ""; + url = ""; + synopsis = "The library supporting GHC's interactive interpreter"; + description = "This library offers interfaces which mediate interactions between the\n@ghci@ interactive shell and @iserv@, GHC's out-of-process interpreter\nbackend."; + buildType = "Simple"; + }; + components = { + "library" = { + depends = [ + (hsPkgs."rts" or (errorHandler.buildDepError "rts")) + (hsPkgs."array" or (errorHandler.buildDepError "array")) + (hsPkgs."base" or (errorHandler.buildDepError "base")) + (hsPkgs."ghc-prim" or (errorHandler.buildDepError "ghc-prim")) + (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."filepath" or (errorHandler.buildDepError "filepath")) + (hsPkgs."ghc-boot" or (errorHandler.buildDepError "ghc-boot")) + (hsPkgs."ghc-heap" or (errorHandler.buildDepError "ghc-heap")) + (hsPkgs."template-haskell" or (errorHandler.buildDepError "template-haskell")) + (hsPkgs."transformers" or (errorHandler.buildDepError "transformers")) + ] ++ pkgs.lib.optional (!system.isWindows) (hsPkgs."unix" or (errorHandler.buildDepError "unix")); + buildable = true; + }; + }; + } // rec { src = pkgs.lib.mkDefault ./.; } diff --git a/materialized/ghc-boot-packages-nix/ghc96720250227-aarch64/hpc.nix b/materialized/ghc-boot-packages-nix/ghc96720250227-aarch64/hpc.nix new file mode 100644 index 0000000000..c9d84dfbb7 --- /dev/null +++ b/materialized/ghc-boot-packages-nix/ghc96720250227-aarch64/hpc.nix @@ -0,0 +1,38 @@ +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: + { + flags = {}; + package = { + specVersion = "1.10"; + identifier = { name = "hpc"; version = "0.6.2.0"; }; + license = "BSD-3-Clause"; + copyright = ""; + maintainer = "ghc-devs@haskell.org"; + author = "Andy Gill"; + homepage = ""; + url = ""; + synopsis = "Code Coverage Library for Haskell"; + description = "This package provides the code coverage library for Haskell.\n\nSee for more\ninformation."; + buildType = "Simple"; + }; + components = { + "library" = { + depends = [ + (hsPkgs."base" or (errorHandler.buildDepError "base")) + (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."time" or (errorHandler.buildDepError "time")) + ]; + buildable = true; + }; + }; + } // rec { src = pkgs.lib.mkDefault ./.; } diff --git a/materialized/ghc-boot-packages-nix/ghc96720250227-aarch64/integer-gmp.nix b/materialized/ghc-boot-packages-nix/ghc96720250227-aarch64/integer-gmp.nix new file mode 100644 index 0000000000..94f930e70e --- /dev/null +++ b/materialized/ghc-boot-packages-nix/ghc96720250227-aarch64/integer-gmp.nix @@ -0,0 +1,35 @@ +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: + { + flags = {}; + package = { + specVersion = "2.0"; + identifier = { name = "integer-gmp"; version = "1.1"; }; + license = "BSD-3-Clause"; + copyright = ""; + maintainer = "hvr@gnu.org"; + author = "Herbert Valerio Riedel"; + homepage = "https://www.haskell.org/ghc/"; + url = ""; + synopsis = "Integer library based on GMP"; + description = "This package used to provide an implementation of the standard 'Integer'\ntype based on the\n.\n\nIt is now deprecated in favor of the 'ghc-bignum' package.\n\nIts purpose is to provide backward compatibility for codes directly\ndepending on the `integer-gmp` package."; + buildType = "Simple"; + }; + components = { + "library" = { + depends = [ + (hsPkgs."base" or (errorHandler.buildDepError "base")) + (hsPkgs."ghc-prim" or (errorHandler.buildDepError "ghc-prim")) + (hsPkgs."ghc-bignum" or (errorHandler.buildDepError "ghc-bignum")) + ]; + buildable = true; + }; + }; + } // rec { src = pkgs.lib.mkDefault ./.; } diff --git a/materialized/ghc-boot-packages-nix/ghc96720250227-aarch64/iserv.nix b/materialized/ghc-boot-packages-nix/ghc96720250227-aarch64/iserv.nix new file mode 100644 index 0000000000..9badbbf56b --- /dev/null +++ b/materialized/ghc-boot-packages-nix/ghc96720250227-aarch64/iserv.nix @@ -0,0 +1,42 @@ +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: + { + flags = {}; + package = { + specVersion = "1.10"; + identifier = { name = "iserv"; version = "9.6.7.20250227"; }; + license = "BSD-3-Clause"; + copyright = "XXX"; + maintainer = "XXX"; + author = "XXX"; + homepage = ""; + url = ""; + synopsis = "iserv allows GHC to delegate Template Haskell computations"; + description = "GHC can be provided with a path to the iserv binary with\n@-pgmi=/path/to/iserv-bin@, and will in combination with\n@-fexternal-interpreter@, compile Template Haskell though the\n@iserv-bin@ delegate. This is very similar to how ghcjs has been\ncompiling Template Haskell, by spawning a separate delegate (so\ncalled runner on the javascript vm) and evaluating the splices\nthere.\n\nTo use iserv with cross compilers, please see @libraries/libiserv@\nand @utils/iserv-proxy@."; + buildType = "Simple"; + }; + components = { + exes = { + "iserv" = { + 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."ghci" or (errorHandler.buildDepError "ghci")) + (hsPkgs."libiserv" or (errorHandler.buildDepError "libiserv")) + ] ++ pkgs.lib.optional (!system.isWindows) (hsPkgs."unix" or (errorHandler.buildDepError "unix")); + buildable = true; + }; + }; + }; + } // rec { src = pkgs.lib.mkDefault ./.; } diff --git a/materialized/ghc-boot-packages-nix/ghc96720250227-aarch64/libiserv.nix b/materialized/ghc-boot-packages-nix/ghc96720250227-aarch64/libiserv.nix new file mode 100644 index 0000000000..ffe0a9ee99 --- /dev/null +++ b/materialized/ghc-boot-packages-nix/ghc96720250227-aarch64/libiserv.nix @@ -0,0 +1,38 @@ +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: + { + flags = { network = false; }; + package = { + specVersion = "1.10"; + identifier = { name = "libiserv"; version = "9.6.7.20250227"; }; + license = "BSD-3-Clause"; + copyright = "XXX"; + maintainer = "XXX"; + author = "XXX"; + homepage = ""; + url = ""; + synopsis = "Provides shared functionality between iserv and iserv-proxy."; + description = "Provides shared functionality between iserv and iserv-proxy."; + buildType = "Simple"; + }; + components = { + "library" = { + depends = [ + (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."ghci" or (errorHandler.buildDepError "ghci")) + ] ++ pkgs.lib.optional (!system.isWindows) (hsPkgs."unix" or (errorHandler.buildDepError "unix")); + buildable = true; + }; + }; + } // rec { src = pkgs.lib.mkDefault ./.; } diff --git a/materialized/ghc-boot-packages-nix/ghc96720250227-aarch64/remote-iserv.nix b/materialized/ghc-boot-packages-nix/ghc96720250227-aarch64/remote-iserv.nix new file mode 100644 index 0000000000..3431eb0712 --- /dev/null +++ b/materialized/ghc-boot-packages-nix/ghc96720250227-aarch64/remote-iserv.nix @@ -0,0 +1,36 @@ +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: + { + flags = {}; + package = { + specVersion = "1.10"; + identifier = { name = "remote-iserv"; version = "9.6.7.20250227"; }; + license = "BSD-3-Clause"; + copyright = "XXX"; + maintainer = "Moritz Angermann "; + author = "Moritz Angermann "; + homepage = ""; + url = ""; + synopsis = "iserv allows GHC to delegate Template Haskell computations"; + description = "This is a very simple remote runner for iserv, to be used together\nwith iserv-proxy. The foundamental idea is that this this wrapper\nstarts running libiserv on a given port to which iserv-proxy will\nthen connect."; + buildType = "Simple"; + }; + components = { + exes = { + "remote-iserv" = { + depends = [ + (hsPkgs."base" or (errorHandler.buildDepError "base")) + (hsPkgs."libiserv" or (errorHandler.buildDepError "libiserv")) + ]; + buildable = true; + }; + }; + }; + } // rec { src = pkgs.lib.mkDefault ./.; } diff --git a/materialized/ghc-boot-packages-nix/ghc96720250227-aarch64/template-haskell.nix b/materialized/ghc-boot-packages-nix/ghc96720250227-aarch64/template-haskell.nix new file mode 100644 index 0000000000..693b8f6a78 --- /dev/null +++ b/materialized/ghc-boot-packages-nix/ghc96720250227-aarch64/template-haskell.nix @@ -0,0 +1,36 @@ +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: + { + flags = {}; + package = { + specVersion = "1.10"; + identifier = { name = "template-haskell"; version = "2.20.0.0"; }; + license = "BSD-3-Clause"; + copyright = ""; + maintainer = "libraries@haskell.org"; + author = ""; + homepage = ""; + url = ""; + synopsis = "Support library for Template Haskell"; + description = "This package provides modules containing facilities for manipulating\nHaskell source code using Template Haskell.\n\nSee for more\ninformation."; + buildType = "Simple"; + }; + components = { + "library" = { + depends = [ + (hsPkgs."base" or (errorHandler.buildDepError "base")) + (hsPkgs."ghc-boot-th" or (errorHandler.buildDepError "ghc-boot-th")) + (hsPkgs."ghc-prim" or (errorHandler.buildDepError "ghc-prim")) + (hsPkgs."pretty" or (errorHandler.buildDepError "pretty")) + ]; + buildable = true; + }; + }; + } // rec { src = pkgs.lib.mkDefault ./.; } diff --git a/materialized/ghc-boot-packages-nix/ghc96720250227-ghcjs/base.nix b/materialized/ghc-boot-packages-nix/ghc96720250227-ghcjs/base.nix new file mode 100644 index 0000000000..1f649a4341 --- /dev/null +++ b/materialized/ghc-boot-packages-nix/ghc96720250227-ghcjs/base.nix @@ -0,0 +1,49 @@ +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: + { + flags = {}; + package = { + specVersion = "3.0"; + identifier = { name = "base"; version = "4.18.3.0"; }; + license = "BSD-3-Clause"; + copyright = ""; + maintainer = "Core Libraries Committee "; + author = ""; + homepage = ""; + url = ""; + synopsis = "Core data structures and operations"; + description = "Haskell's base library provides, among other things, core types (e.g. [Bool](\"Data.Bool\") and [Int](\"Data.Int\")),\ndata structures (e.g. [List](\"Data.List\"), [Tuple](\"Data.Tuple\") and [Maybe](\"Data.Maybe\")),\nthe [Exception](\"Control.Exception\") mechanism, and the [IO](\"System.IO\") & [Concurrency](\"Control.Concurrent\") operations.\nThe \"Prelude\" module, which is imported by default, exposes a curated set of types and functions from other modules.\n\nOther data structures like [Map](https://hackage.haskell.org/package/containers/docs/Data-Map.html),\n[Set](https://hackage.haskell.org/package/containers/docs/Data-Set.html) are available in the [containers](https://hackage.haskell.org/package/containers) library.\nTo work with textual data, use the [text](https://hackage.haskell.org/package/text/docs/Data-Text.html) library."; + buildType = "Configure"; + }; + components = { + "library" = { + depends = [ + (hsPkgs."rts" or (errorHandler.buildDepError "rts")) + (hsPkgs."ghc-prim" or (errorHandler.buildDepError "ghc-prim")) + (hsPkgs."ghc-bignum" or (errorHandler.buildDepError "ghc-bignum")) + ]; + libs = pkgs.lib.optionals (system.isWindows) [ + (pkgs."wsock32" or (errorHandler.sysDepError "wsock32")) + (pkgs."user32" or (errorHandler.sysDepError "user32")) + (pkgs."shell32" or (errorHandler.sysDepError "shell32")) + (pkgs."mingw32" or (errorHandler.sysDepError "mingw32")) + (pkgs."kernel32" or (errorHandler.sysDepError "kernel32")) + (pkgs."advapi32" or (errorHandler.sysDepError "advapi32")) + (pkgs."mingwex" or (errorHandler.sysDepError "mingwex")) + (pkgs."ws2_32" or (errorHandler.sysDepError "ws2_32")) + (pkgs."shlwapi" or (errorHandler.sysDepError "shlwapi")) + (pkgs."ole32" or (errorHandler.sysDepError "ole32")) + (pkgs."rpcrt4" or (errorHandler.sysDepError "rpcrt4")) + (pkgs."ntdll" or (errorHandler.sysDepError "ntdll")) + ]; + buildable = true; + }; + }; + } // rec { src = pkgs.lib.mkDefault ./.; } diff --git a/materialized/ghc-boot-packages-nix/ghc96720250227-ghcjs/deriveConstants.nix b/materialized/ghc-boot-packages-nix/ghc96720250227-ghcjs/deriveConstants.nix new file mode 100644 index 0000000000..135cdd02f6 --- /dev/null +++ b/materialized/ghc-boot-packages-nix/ghc96720250227-ghcjs/deriveConstants.nix @@ -0,0 +1,39 @@ +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: + { + flags = {}; + package = { + specVersion = "1.10"; + identifier = { name = "deriveConstants"; version = "0.1"; }; + license = "BSD-3-Clause"; + copyright = "XXX"; + maintainer = "XXX"; + author = "XXX"; + homepage = ""; + url = ""; + synopsis = "Derive header files containing various constants for the GHC build process"; + description = "This utility is responsible for generating a number of C header files\nneeded during the GHC build process. See @rts/include/ghc.mk@ in the GHC\nbuild system for details."; + buildType = "Simple"; + }; + components = { + exes = { + "deriveConstants" = { + depends = [ + (hsPkgs."base" or (errorHandler.buildDepError "base")) + (hsPkgs."containers" or (errorHandler.buildDepError "containers")) + (hsPkgs."process" or (errorHandler.buildDepError "process")) + (hsPkgs."filepath" or (errorHandler.buildDepError "filepath")) + (hsPkgs."directory" or (errorHandler.buildDepError "directory")) + ]; + buildable = true; + }; + }; + }; + } // rec { src = pkgs.lib.mkDefault ./.; } diff --git a/materialized/ghc-boot-packages-nix/ghc96720250227-ghcjs/genprimopcode.nix b/materialized/ghc-boot-packages-nix/ghc96720250227-ghcjs/genprimopcode.nix new file mode 100644 index 0000000000..49bbe516ba --- /dev/null +++ b/materialized/ghc-boot-packages-nix/ghc96720250227-ghcjs/genprimopcode.nix @@ -0,0 +1,40 @@ +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: + { + flags = { build-tool-depends = true; }; + package = { + specVersion = "2.0"; + identifier = { name = "genprimopcode"; version = "0.1"; }; + license = "BSD-3-Clause"; + copyright = "XXX"; + maintainer = "XXX"; + author = "XXX"; + homepage = ""; + url = ""; + synopsis = "Generates various files implementing GHC's primitive operations."; + description = "This utility reads a textual description of GHC's primitive operations\n(@primops.txt.pp@) and produces a number of outputs. These include,\n\n* the @GHC.Prim@ module included in the @ghc-prim@ package.\n* the @GHC.PrimopWrappers@ module included in the @ghc-prim@ package.\n* an LaTeX document describing the primitive operations."; + buildType = "Simple"; + }; + components = { + exes = { + "genprimopcode" = { + depends = [ + (hsPkgs."base" or (errorHandler.buildDepError "base")) + (hsPkgs."array" or (errorHandler.buildDepError "array")) + ]; + build-tools = pkgs.lib.optionals (flags.build-tool-depends) [ + (hsPkgs.pkgsBuildBuild.alex.components.exes.alex or (pkgs.pkgsBuildBuild.alex or (errorHandler.buildToolDepError "alex:alex"))) + (hsPkgs.pkgsBuildBuild.happy.components.exes.happy or (pkgs.pkgsBuildBuild.happy or (errorHandler.buildToolDepError "happy:happy"))) + ]; + buildable = true; + }; + }; + }; + } // rec { src = pkgs.lib.mkDefault ./.; } diff --git a/materialized/ghc-boot-packages-nix/ghc96720250227-ghcjs/ghc-bignum.nix b/materialized/ghc-boot-packages-nix/ghc96720250227-ghcjs/ghc-bignum.nix new file mode 100644 index 0000000000..46af6e0e9f --- /dev/null +++ b/materialized/ghc-boot-packages-nix/ghc96720250227-ghcjs/ghc-bignum.nix @@ -0,0 +1,37 @@ +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: + { + flags = { native = false; ffi = false; gmp = false; check = false; }; + package = { + specVersion = "2.0"; + identifier = { name = "ghc-bignum"; version = "1.3"; }; + license = "BSD-3-Clause"; + copyright = ""; + maintainer = "libraries@haskell.org"; + author = "Sylvain Henry"; + homepage = ""; + url = ""; + synopsis = "GHC BigNum library"; + description = "This package provides the low-level implementation of the standard\n'BigNat', 'Natural' and 'Integer' types."; + buildType = "Configure"; + }; + components = { + "library" = { + depends = [ + (hsPkgs."ghc-prim" or (errorHandler.buildDepError "ghc-prim")) + ]; + buildable = (if !flags.native && !flags.gmp && !flags.ffi + then false + else true) && (if flags.native && (flags.gmp || flags.ffi) + then false + else true) && (if flags.gmp && flags.ffi then false else true); + }; + }; + } // rec { src = pkgs.lib.mkDefault ./.; } diff --git a/materialized/ghc-boot-packages-nix/ghc96720250227-ghcjs/ghc-boot.nix b/materialized/ghc-boot-packages-nix/ghc96720250227-ghcjs/ghc-boot.nix new file mode 100644 index 0000000000..bdb3851804 --- /dev/null +++ b/materialized/ghc-boot-packages-nix/ghc96720250227-ghcjs/ghc-boot.nix @@ -0,0 +1,46 @@ +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: + { + flags = {}; + package = { + specVersion = "3.0"; + identifier = { name = "ghc-boot"; version = "9.6.7.20250227"; }; + license = "BSD-3-Clause"; + copyright = ""; + maintainer = "ghc-devs@haskell.org"; + author = ""; + homepage = ""; + url = ""; + synopsis = "Shared functionality between GHC and its boot libraries"; + description = "This library is shared between GHC, ghc-pkg, and other boot\nlibraries.\n.\nA note about \"GHC.Unit.Database\": it only deals with the subset of\nthe package database that the compiler cares about: modules\npaths etc and not package metadata like description, authors\netc. It is thus not a library interface to ghc-pkg and is *not*\nsuitable for modifying GHC package databases.\n.\nThe package database format and this library are constructed in\nsuch a way that while ghc-pkg depends on Cabal, the GHC library\nand program do not have to depend on Cabal."; + buildType = "Custom"; + setup-depends = [ + (hsPkgs.pkgsBuildBuild.base or (pkgs.pkgsBuildBuild.base or (errorHandler.setupDepError "base"))) + (hsPkgs.pkgsBuildBuild.Cabal or (pkgs.pkgsBuildBuild.Cabal or (errorHandler.setupDepError "Cabal"))) + (hsPkgs.pkgsBuildBuild.directory or (pkgs.pkgsBuildBuild.directory or (errorHandler.setupDepError "directory"))) + (hsPkgs.pkgsBuildBuild.filepath or (pkgs.pkgsBuildBuild.filepath or (errorHandler.setupDepError "filepath"))) + ]; + }; + components = { + "library" = { + depends = [ + (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."directory" or (errorHandler.buildDepError "directory")) + (hsPkgs."filepath" or (errorHandler.buildDepError "filepath")) + (hsPkgs."deepseq" or (errorHandler.buildDepError "deepseq")) + (hsPkgs."ghc-boot-th" or (errorHandler.buildDepError "ghc-boot-th")) + ] ++ pkgs.lib.optional (!system.isWindows) (hsPkgs."unix" or (errorHandler.buildDepError "unix")); + buildable = true; + }; + }; + } // rec { src = pkgs.lib.mkDefault ./.; } diff --git a/materialized/ghc-boot-packages-nix/ghc96720250227-ghcjs/ghc-heap.nix b/materialized/ghc-boot-packages-nix/ghc96720250227-ghcjs/ghc-heap.nix new file mode 100644 index 0000000000..f8edabe13b --- /dev/null +++ b/materialized/ghc-boot-packages-nix/ghc96720250227-ghcjs/ghc-heap.nix @@ -0,0 +1,36 @@ +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: + { + flags = {}; + package = { + specVersion = "3.0"; + identifier = { name = "ghc-heap"; version = "9.6.7.20250227"; }; + license = "BSD-3-Clause"; + copyright = ""; + maintainer = "libraries@haskell.org"; + author = ""; + homepage = ""; + url = ""; + synopsis = "Functions for walking GHC's heap"; + description = "This package provides functions for walking the GHC heap data structures\nand retrieving information about those data structures."; + buildType = "Simple"; + }; + components = { + "library" = { + depends = [ + (hsPkgs."base" or (errorHandler.buildDepError "base")) + (hsPkgs."ghc-prim" or (errorHandler.buildDepError "ghc-prim")) + (hsPkgs."rts" or (errorHandler.buildDepError "rts")) + (hsPkgs."containers" or (errorHandler.buildDepError "containers")) + ]; + buildable = true; + }; + }; + } // rec { src = pkgs.lib.mkDefault ./.; } diff --git a/materialized/ghc-boot-packages-nix/ghc96720250227-ghcjs/ghc-prim.nix b/materialized/ghc-boot-packages-nix/ghc96720250227-ghcjs/ghc-prim.nix new file mode 100644 index 0000000000..a657675b58 --- /dev/null +++ b/materialized/ghc-boot-packages-nix/ghc96720250227-ghcjs/ghc-prim.nix @@ -0,0 +1,47 @@ +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: + { + flags = {}; + package = { + specVersion = "2.2"; + identifier = { name = "ghc-prim"; version = "0.10.0"; }; + license = "BSD-3-Clause"; + copyright = ""; + maintainer = "libraries@haskell.org"; + author = ""; + homepage = ""; + url = ""; + synopsis = "GHC primitives"; + description = "This package contains the primitive types and operations supplied by GHC.\nIt is an internal package, only for the use of GHC developers.\nGHC users should not use it! If you do use it then expect\nbreaking changes at any time without warning. You should prefer\nto import @GHC.Exts@ from the @base@ package instead."; + buildType = "Custom"; + setup-depends = [ + (hsPkgs.pkgsBuildBuild.base or (pkgs.pkgsBuildBuild.base or (errorHandler.setupDepError "base"))) + (hsPkgs.pkgsBuildBuild.process or (pkgs.pkgsBuildBuild.process or (errorHandler.setupDepError "process"))) + (hsPkgs.pkgsBuildBuild.filepath or (pkgs.pkgsBuildBuild.filepath or (errorHandler.setupDepError "filepath"))) + (hsPkgs.pkgsBuildBuild.directory or (pkgs.pkgsBuildBuild.directory or (errorHandler.setupDepError "directory"))) + (hsPkgs.pkgsBuildBuild.Cabal or (pkgs.pkgsBuildBuild.Cabal or (errorHandler.setupDepError "Cabal"))) + ]; + }; + components = { + "library" = { + depends = [ (hsPkgs."rts" or (errorHandler.buildDepError "rts")) ]; + libs = pkgs.lib.optionals (system.isWindows) [ + (pkgs."user32" or (errorHandler.sysDepError "user32")) + (pkgs."mingw32" or (errorHandler.sysDepError "mingw32")) + (pkgs."mingwex" or (errorHandler.sysDepError "mingwex")) + (pkgs."ucrt" or (errorHandler.sysDepError "ucrt")) + ] ++ pkgs.lib.optionals (system.isLinux) [ + (pkgs."c" or (errorHandler.sysDepError "c")) + (pkgs."m" or (errorHandler.sysDepError "m")) + ]; + buildable = true; + }; + }; + } // rec { src = pkgs.lib.mkDefault ./.; } diff --git a/materialized/ghc-boot-packages-nix/ghc96720250227-ghcjs/ghc.nix b/materialized/ghc-boot-packages-nix/ghc96720250227-ghcjs/ghc.nix new file mode 100644 index 0000000000..cb75e00e5c --- /dev/null +++ b/materialized/ghc-boot-packages-nix/ghc96720250227-ghcjs/ghc.nix @@ -0,0 +1,69 @@ +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: + { + flags = { + internal-interpreter = false; + dynamic-system-linker = true; + build-tool-depends = true; + }; + package = { + specVersion = "2.2"; + identifier = { name = "ghc"; version = "9.6.7.20250227"; }; + license = "BSD-3-Clause"; + copyright = ""; + maintainer = "glasgow-haskell-users@haskell.org"; + author = "The GHC Team"; + homepage = "http://www.haskell.org/ghc/"; + url = ""; + synopsis = "The GHC API"; + description = "GHC's functionality can be useful for more things than just\ncompiling Haskell programs. Important use cases are programs\nthat analyse (and perhaps transform) Haskell code. Others\ninclude loading Haskell code dynamically in a GHCi-like manner.\nFor this reason, a lot of GHC's functionality is made available\nthrough this package.\n\nSee \nfor more information."; + buildType = "Custom"; + setup-depends = [ + (hsPkgs.pkgsBuildBuild.base or (pkgs.pkgsBuildBuild.base or (errorHandler.setupDepError "base"))) + (hsPkgs.pkgsBuildBuild.Cabal or (pkgs.pkgsBuildBuild.Cabal or (errorHandler.setupDepError "Cabal"))) + (hsPkgs.pkgsBuildBuild.directory or (pkgs.pkgsBuildBuild.directory or (errorHandler.setupDepError "directory"))) + (hsPkgs.pkgsBuildBuild.process or (pkgs.pkgsBuildBuild.process or (errorHandler.setupDepError "process"))) + (hsPkgs.pkgsBuildBuild.filepath or (pkgs.pkgsBuildBuild.filepath or (errorHandler.setupDepError "filepath"))) + ]; + }; + components = { + "library" = { + depends = [ + (hsPkgs."base" or (errorHandler.buildDepError "base")) + (hsPkgs."deepseq" or (errorHandler.buildDepError "deepseq")) + (hsPkgs."directory" or (errorHandler.buildDepError "directory")) + (hsPkgs."process" or (errorHandler.buildDepError "process")) + (hsPkgs."bytestring" or (errorHandler.buildDepError "bytestring")) + (hsPkgs."binary" or (errorHandler.buildDepError "binary")) + (hsPkgs."time" or (errorHandler.buildDepError "time")) + (hsPkgs."containers" or (errorHandler.buildDepError "containers")) + (hsPkgs."array" or (errorHandler.buildDepError "array")) + (hsPkgs."filepath" or (errorHandler.buildDepError "filepath")) + (hsPkgs."template-haskell" or (errorHandler.buildDepError "template-haskell")) + (hsPkgs."hpc" or (errorHandler.buildDepError "hpc")) + (hsPkgs."transformers" or (errorHandler.buildDepError "transformers")) + (hsPkgs."exceptions" or (errorHandler.buildDepError "exceptions")) + (hsPkgs."stm" or (errorHandler.buildDepError "stm")) + (hsPkgs."ghc-boot" or (errorHandler.buildDepError "ghc-boot")) + (hsPkgs."ghc-heap" or (errorHandler.buildDepError "ghc-heap")) + (hsPkgs."ghci" or (errorHandler.buildDepError "ghci")) + ] ++ (if system.isWindows + then [ (hsPkgs."Win32" or (errorHandler.buildDepError "Win32")) ] + else [ (hsPkgs."unix" or (errorHandler.buildDepError "unix")) ]); + build-tools = pkgs.lib.optionals (flags.build-tool-depends) [ + (hsPkgs.pkgsBuildBuild.alex.components.exes.alex or (pkgs.pkgsBuildBuild.alex or (errorHandler.buildToolDepError "alex:alex"))) + (hsPkgs.pkgsBuildBuild.happy.components.exes.happy or (pkgs.pkgsBuildBuild.happy or (errorHandler.buildToolDepError "happy:happy"))) + (hsPkgs.pkgsBuildBuild.genprimopcode.components.exes.genprimopcode or (pkgs.pkgsBuildBuild.genprimopcode or (errorHandler.buildToolDepError "genprimopcode:genprimopcode"))) + (hsPkgs.pkgsBuildBuild.deriveConstants.components.exes.deriveConstants or (pkgs.pkgsBuildBuild.deriveConstants or (errorHandler.buildToolDepError "deriveConstants:deriveConstants"))) + ]; + buildable = true; + }; + }; + } // rec { src = pkgs.lib.mkDefault ./.; } diff --git a/materialized/ghc-boot-packages-nix/ghc96720250227-ghcjs/ghci.nix b/materialized/ghc-boot-packages-nix/ghc96720250227-ghcjs/ghci.nix new file mode 100644 index 0000000000..3cc6975487 --- /dev/null +++ b/materialized/ghc-boot-packages-nix/ghc96720250227-ghcjs/ghci.nix @@ -0,0 +1,45 @@ +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: + { + flags = { internal-interpreter = false; }; + package = { + specVersion = "1.10"; + identifier = { name = "ghci"; version = "9.6.7.20250227"; }; + license = "BSD-3-Clause"; + copyright = ""; + maintainer = "ghc-devs@haskell.org"; + author = ""; + homepage = ""; + url = ""; + synopsis = "The library supporting GHC's interactive interpreter"; + description = "This library offers interfaces which mediate interactions between the\n@ghci@ interactive shell and @iserv@, GHC's out-of-process interpreter\nbackend."; + buildType = "Simple"; + }; + components = { + "library" = { + depends = [ + (hsPkgs."rts" or (errorHandler.buildDepError "rts")) + (hsPkgs."array" or (errorHandler.buildDepError "array")) + (hsPkgs."base" or (errorHandler.buildDepError "base")) + (hsPkgs."ghc-prim" or (errorHandler.buildDepError "ghc-prim")) + (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."filepath" or (errorHandler.buildDepError "filepath")) + (hsPkgs."ghc-boot" or (errorHandler.buildDepError "ghc-boot")) + (hsPkgs."ghc-heap" or (errorHandler.buildDepError "ghc-heap")) + (hsPkgs."template-haskell" or (errorHandler.buildDepError "template-haskell")) + (hsPkgs."transformers" or (errorHandler.buildDepError "transformers")) + ] ++ pkgs.lib.optional (!system.isWindows) (hsPkgs."unix" or (errorHandler.buildDepError "unix")); + buildable = true; + }; + }; + } // rec { src = pkgs.lib.mkDefault ./.; } diff --git a/materialized/ghc-boot-packages-nix/ghc96720250227-ghcjs/hpc.nix b/materialized/ghc-boot-packages-nix/ghc96720250227-ghcjs/hpc.nix new file mode 100644 index 0000000000..c9d84dfbb7 --- /dev/null +++ b/materialized/ghc-boot-packages-nix/ghc96720250227-ghcjs/hpc.nix @@ -0,0 +1,38 @@ +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: + { + flags = {}; + package = { + specVersion = "1.10"; + identifier = { name = "hpc"; version = "0.6.2.0"; }; + license = "BSD-3-Clause"; + copyright = ""; + maintainer = "ghc-devs@haskell.org"; + author = "Andy Gill"; + homepage = ""; + url = ""; + synopsis = "Code Coverage Library for Haskell"; + description = "This package provides the code coverage library for Haskell.\n\nSee for more\ninformation."; + buildType = "Simple"; + }; + components = { + "library" = { + depends = [ + (hsPkgs."base" or (errorHandler.buildDepError "base")) + (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."time" or (errorHandler.buildDepError "time")) + ]; + buildable = true; + }; + }; + } // rec { src = pkgs.lib.mkDefault ./.; } diff --git a/materialized/ghc-boot-packages-nix/ghc96720250227-ghcjs/integer-gmp.nix b/materialized/ghc-boot-packages-nix/ghc96720250227-ghcjs/integer-gmp.nix new file mode 100644 index 0000000000..94f930e70e --- /dev/null +++ b/materialized/ghc-boot-packages-nix/ghc96720250227-ghcjs/integer-gmp.nix @@ -0,0 +1,35 @@ +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: + { + flags = {}; + package = { + specVersion = "2.0"; + identifier = { name = "integer-gmp"; version = "1.1"; }; + license = "BSD-3-Clause"; + copyright = ""; + maintainer = "hvr@gnu.org"; + author = "Herbert Valerio Riedel"; + homepage = "https://www.haskell.org/ghc/"; + url = ""; + synopsis = "Integer library based on GMP"; + description = "This package used to provide an implementation of the standard 'Integer'\ntype based on the\n.\n\nIt is now deprecated in favor of the 'ghc-bignum' package.\n\nIts purpose is to provide backward compatibility for codes directly\ndepending on the `integer-gmp` package."; + buildType = "Simple"; + }; + components = { + "library" = { + depends = [ + (hsPkgs."base" or (errorHandler.buildDepError "base")) + (hsPkgs."ghc-prim" or (errorHandler.buildDepError "ghc-prim")) + (hsPkgs."ghc-bignum" or (errorHandler.buildDepError "ghc-bignum")) + ]; + buildable = true; + }; + }; + } // rec { src = pkgs.lib.mkDefault ./.; } diff --git a/materialized/ghc-boot-packages-nix/ghc96720250227-ghcjs/iserv.nix b/materialized/ghc-boot-packages-nix/ghc96720250227-ghcjs/iserv.nix new file mode 100644 index 0000000000..2c395adde1 --- /dev/null +++ b/materialized/ghc-boot-packages-nix/ghc96720250227-ghcjs/iserv.nix @@ -0,0 +1,41 @@ +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: + { + flags = {}; + package = { + specVersion = "1.10"; + identifier = { name = "iserv"; version = "9.6.7.20250227"; }; + license = "BSD-3-Clause"; + copyright = "XXX"; + maintainer = "XXX"; + author = "XXX"; + homepage = ""; + url = ""; + synopsis = "iserv allows GHC to delegate Template Haskell computations"; + description = "GHC can be provided with a path to the iserv binary with\n@-pgmi=/path/to/iserv-bin@, and will in combination with\n@-fexternal-interpreter@, compile Template Haskell though the\n@iserv-bin@ delegate. This is very similar to how ghcjs has been\ncompiling Template Haskell, by spawning a separate delegate (so\ncalled runner on the javascript vm) and evaluating the splices\nthere."; + buildType = "Simple"; + }; + components = { + exes = { + "iserv" = { + 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."ghci" or (errorHandler.buildDepError "ghci")) + ] ++ pkgs.lib.optional (!system.isWindows) (hsPkgs."unix" or (errorHandler.buildDepError "unix")); + buildable = true; + }; + }; + }; + } // rec { src = pkgs.lib.mkDefault ./.; } diff --git a/materialized/ghc-boot-packages-nix/ghc96720250227-ghcjs/remote-iserv.nix b/materialized/ghc-boot-packages-nix/ghc96720250227-ghcjs/remote-iserv.nix new file mode 100644 index 0000000000..10eadced2c --- /dev/null +++ b/materialized/ghc-boot-packages-nix/ghc96720250227-ghcjs/remote-iserv.nix @@ -0,0 +1,36 @@ +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: + { + flags = {}; + package = { + specVersion = "1.10"; + identifier = { name = "remote-iserv"; version = "9.6.7.20250227"; }; + license = "BSD-3-Clause"; + copyright = "XXX"; + maintainer = "Moritz Angermann "; + author = "Moritz Angermann "; + homepage = ""; + url = ""; + synopsis = "iserv allows GHC to delegate Template Haskell computations"; + description = "This is a very simple remote runner for iserv, to be used together\nwith iserv-proxy. The foundamental idea is that this this wrapper\nstarts running the GHCi server on a given port to which iserv-proxy will\nthen connect."; + buildType = "Simple"; + }; + components = { + exes = { + "remote-iserv" = { + depends = [ + (hsPkgs."base" or (errorHandler.buildDepError "base")) + (hsPkgs."ghci" or (errorHandler.buildDepError "ghci")) + ]; + buildable = true; + }; + }; + }; + } // rec { src = pkgs.lib.mkDefault ./.; } diff --git a/materialized/ghc-boot-packages-nix/ghc96720250227-ghcjs/template-haskell.nix b/materialized/ghc-boot-packages-nix/ghc96720250227-ghcjs/template-haskell.nix new file mode 100644 index 0000000000..693b8f6a78 --- /dev/null +++ b/materialized/ghc-boot-packages-nix/ghc96720250227-ghcjs/template-haskell.nix @@ -0,0 +1,36 @@ +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: + { + flags = {}; + package = { + specVersion = "1.10"; + identifier = { name = "template-haskell"; version = "2.20.0.0"; }; + license = "BSD-3-Clause"; + copyright = ""; + maintainer = "libraries@haskell.org"; + author = ""; + homepage = ""; + url = ""; + synopsis = "Support library for Template Haskell"; + description = "This package provides modules containing facilities for manipulating\nHaskell source code using Template Haskell.\n\nSee for more\ninformation."; + buildType = "Simple"; + }; + components = { + "library" = { + depends = [ + (hsPkgs."base" or (errorHandler.buildDepError "base")) + (hsPkgs."ghc-boot-th" or (errorHandler.buildDepError "ghc-boot-th")) + (hsPkgs."ghc-prim" or (errorHandler.buildDepError "ghc-prim")) + (hsPkgs."pretty" or (errorHandler.buildDepError "pretty")) + ]; + buildable = true; + }; + }; + } // rec { src = pkgs.lib.mkDefault ./.; } diff --git a/materialized/ghc-boot-packages-nix/ghc96720250227/base.nix b/materialized/ghc-boot-packages-nix/ghc96720250227/base.nix new file mode 100644 index 0000000000..1f649a4341 --- /dev/null +++ b/materialized/ghc-boot-packages-nix/ghc96720250227/base.nix @@ -0,0 +1,49 @@ +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: + { + flags = {}; + package = { + specVersion = "3.0"; + identifier = { name = "base"; version = "4.18.3.0"; }; + license = "BSD-3-Clause"; + copyright = ""; + maintainer = "Core Libraries Committee "; + author = ""; + homepage = ""; + url = ""; + synopsis = "Core data structures and operations"; + description = "Haskell's base library provides, among other things, core types (e.g. [Bool](\"Data.Bool\") and [Int](\"Data.Int\")),\ndata structures (e.g. [List](\"Data.List\"), [Tuple](\"Data.Tuple\") and [Maybe](\"Data.Maybe\")),\nthe [Exception](\"Control.Exception\") mechanism, and the [IO](\"System.IO\") & [Concurrency](\"Control.Concurrent\") operations.\nThe \"Prelude\" module, which is imported by default, exposes a curated set of types and functions from other modules.\n\nOther data structures like [Map](https://hackage.haskell.org/package/containers/docs/Data-Map.html),\n[Set](https://hackage.haskell.org/package/containers/docs/Data-Set.html) are available in the [containers](https://hackage.haskell.org/package/containers) library.\nTo work with textual data, use the [text](https://hackage.haskell.org/package/text/docs/Data-Text.html) library."; + buildType = "Configure"; + }; + components = { + "library" = { + depends = [ + (hsPkgs."rts" or (errorHandler.buildDepError "rts")) + (hsPkgs."ghc-prim" or (errorHandler.buildDepError "ghc-prim")) + (hsPkgs."ghc-bignum" or (errorHandler.buildDepError "ghc-bignum")) + ]; + libs = pkgs.lib.optionals (system.isWindows) [ + (pkgs."wsock32" or (errorHandler.sysDepError "wsock32")) + (pkgs."user32" or (errorHandler.sysDepError "user32")) + (pkgs."shell32" or (errorHandler.sysDepError "shell32")) + (pkgs."mingw32" or (errorHandler.sysDepError "mingw32")) + (pkgs."kernel32" or (errorHandler.sysDepError "kernel32")) + (pkgs."advapi32" or (errorHandler.sysDepError "advapi32")) + (pkgs."mingwex" or (errorHandler.sysDepError "mingwex")) + (pkgs."ws2_32" or (errorHandler.sysDepError "ws2_32")) + (pkgs."shlwapi" or (errorHandler.sysDepError "shlwapi")) + (pkgs."ole32" or (errorHandler.sysDepError "ole32")) + (pkgs."rpcrt4" or (errorHandler.sysDepError "rpcrt4")) + (pkgs."ntdll" or (errorHandler.sysDepError "ntdll")) + ]; + buildable = true; + }; + }; + } // rec { src = pkgs.lib.mkDefault ./.; } diff --git a/materialized/ghc-boot-packages-nix/ghc96720250227/deriveConstants.nix b/materialized/ghc-boot-packages-nix/ghc96720250227/deriveConstants.nix new file mode 100644 index 0000000000..135cdd02f6 --- /dev/null +++ b/materialized/ghc-boot-packages-nix/ghc96720250227/deriveConstants.nix @@ -0,0 +1,39 @@ +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: + { + flags = {}; + package = { + specVersion = "1.10"; + identifier = { name = "deriveConstants"; version = "0.1"; }; + license = "BSD-3-Clause"; + copyright = "XXX"; + maintainer = "XXX"; + author = "XXX"; + homepage = ""; + url = ""; + synopsis = "Derive header files containing various constants for the GHC build process"; + description = "This utility is responsible for generating a number of C header files\nneeded during the GHC build process. See @rts/include/ghc.mk@ in the GHC\nbuild system for details."; + buildType = "Simple"; + }; + components = { + exes = { + "deriveConstants" = { + depends = [ + (hsPkgs."base" or (errorHandler.buildDepError "base")) + (hsPkgs."containers" or (errorHandler.buildDepError "containers")) + (hsPkgs."process" or (errorHandler.buildDepError "process")) + (hsPkgs."filepath" or (errorHandler.buildDepError "filepath")) + (hsPkgs."directory" or (errorHandler.buildDepError "directory")) + ]; + buildable = true; + }; + }; + }; + } // rec { src = pkgs.lib.mkDefault ./.; } diff --git a/materialized/ghc-boot-packages-nix/ghc96720250227/genprimopcode.nix b/materialized/ghc-boot-packages-nix/ghc96720250227/genprimopcode.nix new file mode 100644 index 0000000000..49bbe516ba --- /dev/null +++ b/materialized/ghc-boot-packages-nix/ghc96720250227/genprimopcode.nix @@ -0,0 +1,40 @@ +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: + { + flags = { build-tool-depends = true; }; + package = { + specVersion = "2.0"; + identifier = { name = "genprimopcode"; version = "0.1"; }; + license = "BSD-3-Clause"; + copyright = "XXX"; + maintainer = "XXX"; + author = "XXX"; + homepage = ""; + url = ""; + synopsis = "Generates various files implementing GHC's primitive operations."; + description = "This utility reads a textual description of GHC's primitive operations\n(@primops.txt.pp@) and produces a number of outputs. These include,\n\n* the @GHC.Prim@ module included in the @ghc-prim@ package.\n* the @GHC.PrimopWrappers@ module included in the @ghc-prim@ package.\n* an LaTeX document describing the primitive operations."; + buildType = "Simple"; + }; + components = { + exes = { + "genprimopcode" = { + depends = [ + (hsPkgs."base" or (errorHandler.buildDepError "base")) + (hsPkgs."array" or (errorHandler.buildDepError "array")) + ]; + build-tools = pkgs.lib.optionals (flags.build-tool-depends) [ + (hsPkgs.pkgsBuildBuild.alex.components.exes.alex or (pkgs.pkgsBuildBuild.alex or (errorHandler.buildToolDepError "alex:alex"))) + (hsPkgs.pkgsBuildBuild.happy.components.exes.happy or (pkgs.pkgsBuildBuild.happy or (errorHandler.buildToolDepError "happy:happy"))) + ]; + buildable = true; + }; + }; + }; + } // rec { src = pkgs.lib.mkDefault ./.; } diff --git a/materialized/ghc-boot-packages-nix/ghc96720250227/ghc-bignum.nix b/materialized/ghc-boot-packages-nix/ghc96720250227/ghc-bignum.nix new file mode 100644 index 0000000000..46af6e0e9f --- /dev/null +++ b/materialized/ghc-boot-packages-nix/ghc96720250227/ghc-bignum.nix @@ -0,0 +1,37 @@ +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: + { + flags = { native = false; ffi = false; gmp = false; check = false; }; + package = { + specVersion = "2.0"; + identifier = { name = "ghc-bignum"; version = "1.3"; }; + license = "BSD-3-Clause"; + copyright = ""; + maintainer = "libraries@haskell.org"; + author = "Sylvain Henry"; + homepage = ""; + url = ""; + synopsis = "GHC BigNum library"; + description = "This package provides the low-level implementation of the standard\n'BigNat', 'Natural' and 'Integer' types."; + buildType = "Configure"; + }; + components = { + "library" = { + depends = [ + (hsPkgs."ghc-prim" or (errorHandler.buildDepError "ghc-prim")) + ]; + buildable = (if !flags.native && !flags.gmp && !flags.ffi + then false + else true) && (if flags.native && (flags.gmp || flags.ffi) + then false + else true) && (if flags.gmp && flags.ffi then false else true); + }; + }; + } // rec { src = pkgs.lib.mkDefault ./.; } diff --git a/materialized/ghc-boot-packages-nix/ghc96720250227/ghc-boot.nix b/materialized/ghc-boot-packages-nix/ghc96720250227/ghc-boot.nix new file mode 100644 index 0000000000..bdb3851804 --- /dev/null +++ b/materialized/ghc-boot-packages-nix/ghc96720250227/ghc-boot.nix @@ -0,0 +1,46 @@ +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: + { + flags = {}; + package = { + specVersion = "3.0"; + identifier = { name = "ghc-boot"; version = "9.6.7.20250227"; }; + license = "BSD-3-Clause"; + copyright = ""; + maintainer = "ghc-devs@haskell.org"; + author = ""; + homepage = ""; + url = ""; + synopsis = "Shared functionality between GHC and its boot libraries"; + description = "This library is shared between GHC, ghc-pkg, and other boot\nlibraries.\n.\nA note about \"GHC.Unit.Database\": it only deals with the subset of\nthe package database that the compiler cares about: modules\npaths etc and not package metadata like description, authors\netc. It is thus not a library interface to ghc-pkg and is *not*\nsuitable for modifying GHC package databases.\n.\nThe package database format and this library are constructed in\nsuch a way that while ghc-pkg depends on Cabal, the GHC library\nand program do not have to depend on Cabal."; + buildType = "Custom"; + setup-depends = [ + (hsPkgs.pkgsBuildBuild.base or (pkgs.pkgsBuildBuild.base or (errorHandler.setupDepError "base"))) + (hsPkgs.pkgsBuildBuild.Cabal or (pkgs.pkgsBuildBuild.Cabal or (errorHandler.setupDepError "Cabal"))) + (hsPkgs.pkgsBuildBuild.directory or (pkgs.pkgsBuildBuild.directory or (errorHandler.setupDepError "directory"))) + (hsPkgs.pkgsBuildBuild.filepath or (pkgs.pkgsBuildBuild.filepath or (errorHandler.setupDepError "filepath"))) + ]; + }; + components = { + "library" = { + depends = [ + (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."directory" or (errorHandler.buildDepError "directory")) + (hsPkgs."filepath" or (errorHandler.buildDepError "filepath")) + (hsPkgs."deepseq" or (errorHandler.buildDepError "deepseq")) + (hsPkgs."ghc-boot-th" or (errorHandler.buildDepError "ghc-boot-th")) + ] ++ pkgs.lib.optional (!system.isWindows) (hsPkgs."unix" or (errorHandler.buildDepError "unix")); + buildable = true; + }; + }; + } // rec { src = pkgs.lib.mkDefault ./.; } diff --git a/materialized/ghc-boot-packages-nix/ghc96720250227/ghc-heap.nix b/materialized/ghc-boot-packages-nix/ghc96720250227/ghc-heap.nix new file mode 100644 index 0000000000..f8edabe13b --- /dev/null +++ b/materialized/ghc-boot-packages-nix/ghc96720250227/ghc-heap.nix @@ -0,0 +1,36 @@ +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: + { + flags = {}; + package = { + specVersion = "3.0"; + identifier = { name = "ghc-heap"; version = "9.6.7.20250227"; }; + license = "BSD-3-Clause"; + copyright = ""; + maintainer = "libraries@haskell.org"; + author = ""; + homepage = ""; + url = ""; + synopsis = "Functions for walking GHC's heap"; + description = "This package provides functions for walking the GHC heap data structures\nand retrieving information about those data structures."; + buildType = "Simple"; + }; + components = { + "library" = { + depends = [ + (hsPkgs."base" or (errorHandler.buildDepError "base")) + (hsPkgs."ghc-prim" or (errorHandler.buildDepError "ghc-prim")) + (hsPkgs."rts" or (errorHandler.buildDepError "rts")) + (hsPkgs."containers" or (errorHandler.buildDepError "containers")) + ]; + buildable = true; + }; + }; + } // rec { src = pkgs.lib.mkDefault ./.; } diff --git a/materialized/ghc-boot-packages-nix/ghc96720250227/ghc-prim.nix b/materialized/ghc-boot-packages-nix/ghc96720250227/ghc-prim.nix new file mode 100644 index 0000000000..a657675b58 --- /dev/null +++ b/materialized/ghc-boot-packages-nix/ghc96720250227/ghc-prim.nix @@ -0,0 +1,47 @@ +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: + { + flags = {}; + package = { + specVersion = "2.2"; + identifier = { name = "ghc-prim"; version = "0.10.0"; }; + license = "BSD-3-Clause"; + copyright = ""; + maintainer = "libraries@haskell.org"; + author = ""; + homepage = ""; + url = ""; + synopsis = "GHC primitives"; + description = "This package contains the primitive types and operations supplied by GHC.\nIt is an internal package, only for the use of GHC developers.\nGHC users should not use it! If you do use it then expect\nbreaking changes at any time without warning. You should prefer\nto import @GHC.Exts@ from the @base@ package instead."; + buildType = "Custom"; + setup-depends = [ + (hsPkgs.pkgsBuildBuild.base or (pkgs.pkgsBuildBuild.base or (errorHandler.setupDepError "base"))) + (hsPkgs.pkgsBuildBuild.process or (pkgs.pkgsBuildBuild.process or (errorHandler.setupDepError "process"))) + (hsPkgs.pkgsBuildBuild.filepath or (pkgs.pkgsBuildBuild.filepath or (errorHandler.setupDepError "filepath"))) + (hsPkgs.pkgsBuildBuild.directory or (pkgs.pkgsBuildBuild.directory or (errorHandler.setupDepError "directory"))) + (hsPkgs.pkgsBuildBuild.Cabal or (pkgs.pkgsBuildBuild.Cabal or (errorHandler.setupDepError "Cabal"))) + ]; + }; + components = { + "library" = { + depends = [ (hsPkgs."rts" or (errorHandler.buildDepError "rts")) ]; + libs = pkgs.lib.optionals (system.isWindows) [ + (pkgs."user32" or (errorHandler.sysDepError "user32")) + (pkgs."mingw32" or (errorHandler.sysDepError "mingw32")) + (pkgs."mingwex" or (errorHandler.sysDepError "mingwex")) + (pkgs."ucrt" or (errorHandler.sysDepError "ucrt")) + ] ++ pkgs.lib.optionals (system.isLinux) [ + (pkgs."c" or (errorHandler.sysDepError "c")) + (pkgs."m" or (errorHandler.sysDepError "m")) + ]; + buildable = true; + }; + }; + } // rec { src = pkgs.lib.mkDefault ./.; } diff --git a/materialized/ghc-boot-packages-nix/ghc96720250227/ghc.nix b/materialized/ghc-boot-packages-nix/ghc96720250227/ghc.nix new file mode 100644 index 0000000000..cb75e00e5c --- /dev/null +++ b/materialized/ghc-boot-packages-nix/ghc96720250227/ghc.nix @@ -0,0 +1,69 @@ +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: + { + flags = { + internal-interpreter = false; + dynamic-system-linker = true; + build-tool-depends = true; + }; + package = { + specVersion = "2.2"; + identifier = { name = "ghc"; version = "9.6.7.20250227"; }; + license = "BSD-3-Clause"; + copyright = ""; + maintainer = "glasgow-haskell-users@haskell.org"; + author = "The GHC Team"; + homepage = "http://www.haskell.org/ghc/"; + url = ""; + synopsis = "The GHC API"; + description = "GHC's functionality can be useful for more things than just\ncompiling Haskell programs. Important use cases are programs\nthat analyse (and perhaps transform) Haskell code. Others\ninclude loading Haskell code dynamically in a GHCi-like manner.\nFor this reason, a lot of GHC's functionality is made available\nthrough this package.\n\nSee \nfor more information."; + buildType = "Custom"; + setup-depends = [ + (hsPkgs.pkgsBuildBuild.base or (pkgs.pkgsBuildBuild.base or (errorHandler.setupDepError "base"))) + (hsPkgs.pkgsBuildBuild.Cabal or (pkgs.pkgsBuildBuild.Cabal or (errorHandler.setupDepError "Cabal"))) + (hsPkgs.pkgsBuildBuild.directory or (pkgs.pkgsBuildBuild.directory or (errorHandler.setupDepError "directory"))) + (hsPkgs.pkgsBuildBuild.process or (pkgs.pkgsBuildBuild.process or (errorHandler.setupDepError "process"))) + (hsPkgs.pkgsBuildBuild.filepath or (pkgs.pkgsBuildBuild.filepath or (errorHandler.setupDepError "filepath"))) + ]; + }; + components = { + "library" = { + depends = [ + (hsPkgs."base" or (errorHandler.buildDepError "base")) + (hsPkgs."deepseq" or (errorHandler.buildDepError "deepseq")) + (hsPkgs."directory" or (errorHandler.buildDepError "directory")) + (hsPkgs."process" or (errorHandler.buildDepError "process")) + (hsPkgs."bytestring" or (errorHandler.buildDepError "bytestring")) + (hsPkgs."binary" or (errorHandler.buildDepError "binary")) + (hsPkgs."time" or (errorHandler.buildDepError "time")) + (hsPkgs."containers" or (errorHandler.buildDepError "containers")) + (hsPkgs."array" or (errorHandler.buildDepError "array")) + (hsPkgs."filepath" or (errorHandler.buildDepError "filepath")) + (hsPkgs."template-haskell" or (errorHandler.buildDepError "template-haskell")) + (hsPkgs."hpc" or (errorHandler.buildDepError "hpc")) + (hsPkgs."transformers" or (errorHandler.buildDepError "transformers")) + (hsPkgs."exceptions" or (errorHandler.buildDepError "exceptions")) + (hsPkgs."stm" or (errorHandler.buildDepError "stm")) + (hsPkgs."ghc-boot" or (errorHandler.buildDepError "ghc-boot")) + (hsPkgs."ghc-heap" or (errorHandler.buildDepError "ghc-heap")) + (hsPkgs."ghci" or (errorHandler.buildDepError "ghci")) + ] ++ (if system.isWindows + then [ (hsPkgs."Win32" or (errorHandler.buildDepError "Win32")) ] + else [ (hsPkgs."unix" or (errorHandler.buildDepError "unix")) ]); + build-tools = pkgs.lib.optionals (flags.build-tool-depends) [ + (hsPkgs.pkgsBuildBuild.alex.components.exes.alex or (pkgs.pkgsBuildBuild.alex or (errorHandler.buildToolDepError "alex:alex"))) + (hsPkgs.pkgsBuildBuild.happy.components.exes.happy or (pkgs.pkgsBuildBuild.happy or (errorHandler.buildToolDepError "happy:happy"))) + (hsPkgs.pkgsBuildBuild.genprimopcode.components.exes.genprimopcode or (pkgs.pkgsBuildBuild.genprimopcode or (errorHandler.buildToolDepError "genprimopcode:genprimopcode"))) + (hsPkgs.pkgsBuildBuild.deriveConstants.components.exes.deriveConstants or (pkgs.pkgsBuildBuild.deriveConstants or (errorHandler.buildToolDepError "deriveConstants:deriveConstants"))) + ]; + buildable = true; + }; + }; + } // rec { src = pkgs.lib.mkDefault ./.; } diff --git a/materialized/ghc-boot-packages-nix/ghc96720250227/ghci.nix b/materialized/ghc-boot-packages-nix/ghc96720250227/ghci.nix new file mode 100644 index 0000000000..3cc6975487 --- /dev/null +++ b/materialized/ghc-boot-packages-nix/ghc96720250227/ghci.nix @@ -0,0 +1,45 @@ +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: + { + flags = { internal-interpreter = false; }; + package = { + specVersion = "1.10"; + identifier = { name = "ghci"; version = "9.6.7.20250227"; }; + license = "BSD-3-Clause"; + copyright = ""; + maintainer = "ghc-devs@haskell.org"; + author = ""; + homepage = ""; + url = ""; + synopsis = "The library supporting GHC's interactive interpreter"; + description = "This library offers interfaces which mediate interactions between the\n@ghci@ interactive shell and @iserv@, GHC's out-of-process interpreter\nbackend."; + buildType = "Simple"; + }; + components = { + "library" = { + depends = [ + (hsPkgs."rts" or (errorHandler.buildDepError "rts")) + (hsPkgs."array" or (errorHandler.buildDepError "array")) + (hsPkgs."base" or (errorHandler.buildDepError "base")) + (hsPkgs."ghc-prim" or (errorHandler.buildDepError "ghc-prim")) + (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."filepath" or (errorHandler.buildDepError "filepath")) + (hsPkgs."ghc-boot" or (errorHandler.buildDepError "ghc-boot")) + (hsPkgs."ghc-heap" or (errorHandler.buildDepError "ghc-heap")) + (hsPkgs."template-haskell" or (errorHandler.buildDepError "template-haskell")) + (hsPkgs."transformers" or (errorHandler.buildDepError "transformers")) + ] ++ pkgs.lib.optional (!system.isWindows) (hsPkgs."unix" or (errorHandler.buildDepError "unix")); + buildable = true; + }; + }; + } // rec { src = pkgs.lib.mkDefault ./.; } diff --git a/materialized/ghc-boot-packages-nix/ghc96720250227/hpc.nix b/materialized/ghc-boot-packages-nix/ghc96720250227/hpc.nix new file mode 100644 index 0000000000..c9d84dfbb7 --- /dev/null +++ b/materialized/ghc-boot-packages-nix/ghc96720250227/hpc.nix @@ -0,0 +1,38 @@ +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: + { + flags = {}; + package = { + specVersion = "1.10"; + identifier = { name = "hpc"; version = "0.6.2.0"; }; + license = "BSD-3-Clause"; + copyright = ""; + maintainer = "ghc-devs@haskell.org"; + author = "Andy Gill"; + homepage = ""; + url = ""; + synopsis = "Code Coverage Library for Haskell"; + description = "This package provides the code coverage library for Haskell.\n\nSee for more\ninformation."; + buildType = "Simple"; + }; + components = { + "library" = { + depends = [ + (hsPkgs."base" or (errorHandler.buildDepError "base")) + (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."time" or (errorHandler.buildDepError "time")) + ]; + buildable = true; + }; + }; + } // rec { src = pkgs.lib.mkDefault ./.; } diff --git a/materialized/ghc-boot-packages-nix/ghc96720250227/integer-gmp.nix b/materialized/ghc-boot-packages-nix/ghc96720250227/integer-gmp.nix new file mode 100644 index 0000000000..94f930e70e --- /dev/null +++ b/materialized/ghc-boot-packages-nix/ghc96720250227/integer-gmp.nix @@ -0,0 +1,35 @@ +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: + { + flags = {}; + package = { + specVersion = "2.0"; + identifier = { name = "integer-gmp"; version = "1.1"; }; + license = "BSD-3-Clause"; + copyright = ""; + maintainer = "hvr@gnu.org"; + author = "Herbert Valerio Riedel"; + homepage = "https://www.haskell.org/ghc/"; + url = ""; + synopsis = "Integer library based on GMP"; + description = "This package used to provide an implementation of the standard 'Integer'\ntype based on the\n.\n\nIt is now deprecated in favor of the 'ghc-bignum' package.\n\nIts purpose is to provide backward compatibility for codes directly\ndepending on the `integer-gmp` package."; + buildType = "Simple"; + }; + components = { + "library" = { + depends = [ + (hsPkgs."base" or (errorHandler.buildDepError "base")) + (hsPkgs."ghc-prim" or (errorHandler.buildDepError "ghc-prim")) + (hsPkgs."ghc-bignum" or (errorHandler.buildDepError "ghc-bignum")) + ]; + buildable = true; + }; + }; + } // rec { src = pkgs.lib.mkDefault ./.; } diff --git a/materialized/ghc-boot-packages-nix/ghc96720250227/iserv.nix b/materialized/ghc-boot-packages-nix/ghc96720250227/iserv.nix new file mode 100644 index 0000000000..9badbbf56b --- /dev/null +++ b/materialized/ghc-boot-packages-nix/ghc96720250227/iserv.nix @@ -0,0 +1,42 @@ +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: + { + flags = {}; + package = { + specVersion = "1.10"; + identifier = { name = "iserv"; version = "9.6.7.20250227"; }; + license = "BSD-3-Clause"; + copyright = "XXX"; + maintainer = "XXX"; + author = "XXX"; + homepage = ""; + url = ""; + synopsis = "iserv allows GHC to delegate Template Haskell computations"; + description = "GHC can be provided with a path to the iserv binary with\n@-pgmi=/path/to/iserv-bin@, and will in combination with\n@-fexternal-interpreter@, compile Template Haskell though the\n@iserv-bin@ delegate. This is very similar to how ghcjs has been\ncompiling Template Haskell, by spawning a separate delegate (so\ncalled runner on the javascript vm) and evaluating the splices\nthere.\n\nTo use iserv with cross compilers, please see @libraries/libiserv@\nand @utils/iserv-proxy@."; + buildType = "Simple"; + }; + components = { + exes = { + "iserv" = { + 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."ghci" or (errorHandler.buildDepError "ghci")) + (hsPkgs."libiserv" or (errorHandler.buildDepError "libiserv")) + ] ++ pkgs.lib.optional (!system.isWindows) (hsPkgs."unix" or (errorHandler.buildDepError "unix")); + buildable = true; + }; + }; + }; + } // rec { src = pkgs.lib.mkDefault ./.; } diff --git a/materialized/ghc-boot-packages-nix/ghc96720250227/libiserv.nix b/materialized/ghc-boot-packages-nix/ghc96720250227/libiserv.nix new file mode 100644 index 0000000000..ffe0a9ee99 --- /dev/null +++ b/materialized/ghc-boot-packages-nix/ghc96720250227/libiserv.nix @@ -0,0 +1,38 @@ +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: + { + flags = { network = false; }; + package = { + specVersion = "1.10"; + identifier = { name = "libiserv"; version = "9.6.7.20250227"; }; + license = "BSD-3-Clause"; + copyright = "XXX"; + maintainer = "XXX"; + author = "XXX"; + homepage = ""; + url = ""; + synopsis = "Provides shared functionality between iserv and iserv-proxy."; + description = "Provides shared functionality between iserv and iserv-proxy."; + buildType = "Simple"; + }; + components = { + "library" = { + depends = [ + (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."ghci" or (errorHandler.buildDepError "ghci")) + ] ++ pkgs.lib.optional (!system.isWindows) (hsPkgs."unix" or (errorHandler.buildDepError "unix")); + buildable = true; + }; + }; + } // rec { src = pkgs.lib.mkDefault ./.; } diff --git a/materialized/ghc-boot-packages-nix/ghc96720250227/remote-iserv.nix b/materialized/ghc-boot-packages-nix/ghc96720250227/remote-iserv.nix new file mode 100644 index 0000000000..3431eb0712 --- /dev/null +++ b/materialized/ghc-boot-packages-nix/ghc96720250227/remote-iserv.nix @@ -0,0 +1,36 @@ +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: + { + flags = {}; + package = { + specVersion = "1.10"; + identifier = { name = "remote-iserv"; version = "9.6.7.20250227"; }; + license = "BSD-3-Clause"; + copyright = "XXX"; + maintainer = "Moritz Angermann "; + author = "Moritz Angermann "; + homepage = ""; + url = ""; + synopsis = "iserv allows GHC to delegate Template Haskell computations"; + description = "This is a very simple remote runner for iserv, to be used together\nwith iserv-proxy. The foundamental idea is that this this wrapper\nstarts running libiserv on a given port to which iserv-proxy will\nthen connect."; + buildType = "Simple"; + }; + components = { + exes = { + "remote-iserv" = { + depends = [ + (hsPkgs."base" or (errorHandler.buildDepError "base")) + (hsPkgs."libiserv" or (errorHandler.buildDepError "libiserv")) + ]; + buildable = true; + }; + }; + }; + } // rec { src = pkgs.lib.mkDefault ./.; } diff --git a/materialized/ghc-boot-packages-nix/ghc96720250227/template-haskell.nix b/materialized/ghc-boot-packages-nix/ghc96720250227/template-haskell.nix new file mode 100644 index 0000000000..693b8f6a78 --- /dev/null +++ b/materialized/ghc-boot-packages-nix/ghc96720250227/template-haskell.nix @@ -0,0 +1,36 @@ +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: + { + flags = {}; + package = { + specVersion = "1.10"; + identifier = { name = "template-haskell"; version = "2.20.0.0"; }; + license = "BSD-3-Clause"; + copyright = ""; + maintainer = "libraries@haskell.org"; + author = ""; + homepage = ""; + url = ""; + synopsis = "Support library for Template Haskell"; + description = "This package provides modules containing facilities for manipulating\nHaskell source code using Template Haskell.\n\nSee for more\ninformation."; + buildType = "Simple"; + }; + components = { + "library" = { + depends = [ + (hsPkgs."base" or (errorHandler.buildDepError "base")) + (hsPkgs."ghc-boot-th" or (errorHandler.buildDepError "ghc-boot-th")) + (hsPkgs."ghc-prim" or (errorHandler.buildDepError "ghc-prim")) + (hsPkgs."pretty" or (errorHandler.buildDepError "pretty")) + ]; + buildable = true; + }; + }; + } // rec { src = pkgs.lib.mkDefault ./.; } diff --git a/materialized/ghc-boot-packages-nix/ghc96720250227llvm-aarch64/base.nix b/materialized/ghc-boot-packages-nix/ghc96720250227llvm-aarch64/base.nix new file mode 100644 index 0000000000..1f649a4341 --- /dev/null +++ b/materialized/ghc-boot-packages-nix/ghc96720250227llvm-aarch64/base.nix @@ -0,0 +1,49 @@ +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: + { + flags = {}; + package = { + specVersion = "3.0"; + identifier = { name = "base"; version = "4.18.3.0"; }; + license = "BSD-3-Clause"; + copyright = ""; + maintainer = "Core Libraries Committee "; + author = ""; + homepage = ""; + url = ""; + synopsis = "Core data structures and operations"; + description = "Haskell's base library provides, among other things, core types (e.g. [Bool](\"Data.Bool\") and [Int](\"Data.Int\")),\ndata structures (e.g. [List](\"Data.List\"), [Tuple](\"Data.Tuple\") and [Maybe](\"Data.Maybe\")),\nthe [Exception](\"Control.Exception\") mechanism, and the [IO](\"System.IO\") & [Concurrency](\"Control.Concurrent\") operations.\nThe \"Prelude\" module, which is imported by default, exposes a curated set of types and functions from other modules.\n\nOther data structures like [Map](https://hackage.haskell.org/package/containers/docs/Data-Map.html),\n[Set](https://hackage.haskell.org/package/containers/docs/Data-Set.html) are available in the [containers](https://hackage.haskell.org/package/containers) library.\nTo work with textual data, use the [text](https://hackage.haskell.org/package/text/docs/Data-Text.html) library."; + buildType = "Configure"; + }; + components = { + "library" = { + depends = [ + (hsPkgs."rts" or (errorHandler.buildDepError "rts")) + (hsPkgs."ghc-prim" or (errorHandler.buildDepError "ghc-prim")) + (hsPkgs."ghc-bignum" or (errorHandler.buildDepError "ghc-bignum")) + ]; + libs = pkgs.lib.optionals (system.isWindows) [ + (pkgs."wsock32" or (errorHandler.sysDepError "wsock32")) + (pkgs."user32" or (errorHandler.sysDepError "user32")) + (pkgs."shell32" or (errorHandler.sysDepError "shell32")) + (pkgs."mingw32" or (errorHandler.sysDepError "mingw32")) + (pkgs."kernel32" or (errorHandler.sysDepError "kernel32")) + (pkgs."advapi32" or (errorHandler.sysDepError "advapi32")) + (pkgs."mingwex" or (errorHandler.sysDepError "mingwex")) + (pkgs."ws2_32" or (errorHandler.sysDepError "ws2_32")) + (pkgs."shlwapi" or (errorHandler.sysDepError "shlwapi")) + (pkgs."ole32" or (errorHandler.sysDepError "ole32")) + (pkgs."rpcrt4" or (errorHandler.sysDepError "rpcrt4")) + (pkgs."ntdll" or (errorHandler.sysDepError "ntdll")) + ]; + buildable = true; + }; + }; + } // rec { src = pkgs.lib.mkDefault ./.; } diff --git a/materialized/ghc-boot-packages-nix/ghc96720250227llvm-aarch64/deriveConstants.nix b/materialized/ghc-boot-packages-nix/ghc96720250227llvm-aarch64/deriveConstants.nix new file mode 100644 index 0000000000..135cdd02f6 --- /dev/null +++ b/materialized/ghc-boot-packages-nix/ghc96720250227llvm-aarch64/deriveConstants.nix @@ -0,0 +1,39 @@ +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: + { + flags = {}; + package = { + specVersion = "1.10"; + identifier = { name = "deriveConstants"; version = "0.1"; }; + license = "BSD-3-Clause"; + copyright = "XXX"; + maintainer = "XXX"; + author = "XXX"; + homepage = ""; + url = ""; + synopsis = "Derive header files containing various constants for the GHC build process"; + description = "This utility is responsible for generating a number of C header files\nneeded during the GHC build process. See @rts/include/ghc.mk@ in the GHC\nbuild system for details."; + buildType = "Simple"; + }; + components = { + exes = { + "deriveConstants" = { + depends = [ + (hsPkgs."base" or (errorHandler.buildDepError "base")) + (hsPkgs."containers" or (errorHandler.buildDepError "containers")) + (hsPkgs."process" or (errorHandler.buildDepError "process")) + (hsPkgs."filepath" or (errorHandler.buildDepError "filepath")) + (hsPkgs."directory" or (errorHandler.buildDepError "directory")) + ]; + buildable = true; + }; + }; + }; + } // rec { src = pkgs.lib.mkDefault ./.; } diff --git a/materialized/ghc-boot-packages-nix/ghc96720250227llvm-aarch64/genprimopcode.nix b/materialized/ghc-boot-packages-nix/ghc96720250227llvm-aarch64/genprimopcode.nix new file mode 100644 index 0000000000..49bbe516ba --- /dev/null +++ b/materialized/ghc-boot-packages-nix/ghc96720250227llvm-aarch64/genprimopcode.nix @@ -0,0 +1,40 @@ +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: + { + flags = { build-tool-depends = true; }; + package = { + specVersion = "2.0"; + identifier = { name = "genprimopcode"; version = "0.1"; }; + license = "BSD-3-Clause"; + copyright = "XXX"; + maintainer = "XXX"; + author = "XXX"; + homepage = ""; + url = ""; + synopsis = "Generates various files implementing GHC's primitive operations."; + description = "This utility reads a textual description of GHC's primitive operations\n(@primops.txt.pp@) and produces a number of outputs. These include,\n\n* the @GHC.Prim@ module included in the @ghc-prim@ package.\n* the @GHC.PrimopWrappers@ module included in the @ghc-prim@ package.\n* an LaTeX document describing the primitive operations."; + buildType = "Simple"; + }; + components = { + exes = { + "genprimopcode" = { + depends = [ + (hsPkgs."base" or (errorHandler.buildDepError "base")) + (hsPkgs."array" or (errorHandler.buildDepError "array")) + ]; + build-tools = pkgs.lib.optionals (flags.build-tool-depends) [ + (hsPkgs.pkgsBuildBuild.alex.components.exes.alex or (pkgs.pkgsBuildBuild.alex or (errorHandler.buildToolDepError "alex:alex"))) + (hsPkgs.pkgsBuildBuild.happy.components.exes.happy or (pkgs.pkgsBuildBuild.happy or (errorHandler.buildToolDepError "happy:happy"))) + ]; + buildable = true; + }; + }; + }; + } // rec { src = pkgs.lib.mkDefault ./.; } diff --git a/materialized/ghc-boot-packages-nix/ghc96720250227llvm-aarch64/ghc-bignum.nix b/materialized/ghc-boot-packages-nix/ghc96720250227llvm-aarch64/ghc-bignum.nix new file mode 100644 index 0000000000..46af6e0e9f --- /dev/null +++ b/materialized/ghc-boot-packages-nix/ghc96720250227llvm-aarch64/ghc-bignum.nix @@ -0,0 +1,37 @@ +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: + { + flags = { native = false; ffi = false; gmp = false; check = false; }; + package = { + specVersion = "2.0"; + identifier = { name = "ghc-bignum"; version = "1.3"; }; + license = "BSD-3-Clause"; + copyright = ""; + maintainer = "libraries@haskell.org"; + author = "Sylvain Henry"; + homepage = ""; + url = ""; + synopsis = "GHC BigNum library"; + description = "This package provides the low-level implementation of the standard\n'BigNat', 'Natural' and 'Integer' types."; + buildType = "Configure"; + }; + components = { + "library" = { + depends = [ + (hsPkgs."ghc-prim" or (errorHandler.buildDepError "ghc-prim")) + ]; + buildable = (if !flags.native && !flags.gmp && !flags.ffi + then false + else true) && (if flags.native && (flags.gmp || flags.ffi) + then false + else true) && (if flags.gmp && flags.ffi then false else true); + }; + }; + } // rec { src = pkgs.lib.mkDefault ./.; } diff --git a/materialized/ghc-boot-packages-nix/ghc96720250227llvm-aarch64/ghc-boot.nix b/materialized/ghc-boot-packages-nix/ghc96720250227llvm-aarch64/ghc-boot.nix new file mode 100644 index 0000000000..bdb3851804 --- /dev/null +++ b/materialized/ghc-boot-packages-nix/ghc96720250227llvm-aarch64/ghc-boot.nix @@ -0,0 +1,46 @@ +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: + { + flags = {}; + package = { + specVersion = "3.0"; + identifier = { name = "ghc-boot"; version = "9.6.7.20250227"; }; + license = "BSD-3-Clause"; + copyright = ""; + maintainer = "ghc-devs@haskell.org"; + author = ""; + homepage = ""; + url = ""; + synopsis = "Shared functionality between GHC and its boot libraries"; + description = "This library is shared between GHC, ghc-pkg, and other boot\nlibraries.\n.\nA note about \"GHC.Unit.Database\": it only deals with the subset of\nthe package database that the compiler cares about: modules\npaths etc and not package metadata like description, authors\netc. It is thus not a library interface to ghc-pkg and is *not*\nsuitable for modifying GHC package databases.\n.\nThe package database format and this library are constructed in\nsuch a way that while ghc-pkg depends on Cabal, the GHC library\nand program do not have to depend on Cabal."; + buildType = "Custom"; + setup-depends = [ + (hsPkgs.pkgsBuildBuild.base or (pkgs.pkgsBuildBuild.base or (errorHandler.setupDepError "base"))) + (hsPkgs.pkgsBuildBuild.Cabal or (pkgs.pkgsBuildBuild.Cabal or (errorHandler.setupDepError "Cabal"))) + (hsPkgs.pkgsBuildBuild.directory or (pkgs.pkgsBuildBuild.directory or (errorHandler.setupDepError "directory"))) + (hsPkgs.pkgsBuildBuild.filepath or (pkgs.pkgsBuildBuild.filepath or (errorHandler.setupDepError "filepath"))) + ]; + }; + components = { + "library" = { + depends = [ + (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."directory" or (errorHandler.buildDepError "directory")) + (hsPkgs."filepath" or (errorHandler.buildDepError "filepath")) + (hsPkgs."deepseq" or (errorHandler.buildDepError "deepseq")) + (hsPkgs."ghc-boot-th" or (errorHandler.buildDepError "ghc-boot-th")) + ] ++ pkgs.lib.optional (!system.isWindows) (hsPkgs."unix" or (errorHandler.buildDepError "unix")); + buildable = true; + }; + }; + } // rec { src = pkgs.lib.mkDefault ./.; } diff --git a/materialized/ghc-boot-packages-nix/ghc96720250227llvm-aarch64/ghc-heap.nix b/materialized/ghc-boot-packages-nix/ghc96720250227llvm-aarch64/ghc-heap.nix new file mode 100644 index 0000000000..f8edabe13b --- /dev/null +++ b/materialized/ghc-boot-packages-nix/ghc96720250227llvm-aarch64/ghc-heap.nix @@ -0,0 +1,36 @@ +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: + { + flags = {}; + package = { + specVersion = "3.0"; + identifier = { name = "ghc-heap"; version = "9.6.7.20250227"; }; + license = "BSD-3-Clause"; + copyright = ""; + maintainer = "libraries@haskell.org"; + author = ""; + homepage = ""; + url = ""; + synopsis = "Functions for walking GHC's heap"; + description = "This package provides functions for walking the GHC heap data structures\nand retrieving information about those data structures."; + buildType = "Simple"; + }; + components = { + "library" = { + depends = [ + (hsPkgs."base" or (errorHandler.buildDepError "base")) + (hsPkgs."ghc-prim" or (errorHandler.buildDepError "ghc-prim")) + (hsPkgs."rts" or (errorHandler.buildDepError "rts")) + (hsPkgs."containers" or (errorHandler.buildDepError "containers")) + ]; + buildable = true; + }; + }; + } // rec { src = pkgs.lib.mkDefault ./.; } diff --git a/materialized/ghc-boot-packages-nix/ghc96720250227llvm-aarch64/ghc-prim.nix b/materialized/ghc-boot-packages-nix/ghc96720250227llvm-aarch64/ghc-prim.nix new file mode 100644 index 0000000000..a657675b58 --- /dev/null +++ b/materialized/ghc-boot-packages-nix/ghc96720250227llvm-aarch64/ghc-prim.nix @@ -0,0 +1,47 @@ +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: + { + flags = {}; + package = { + specVersion = "2.2"; + identifier = { name = "ghc-prim"; version = "0.10.0"; }; + license = "BSD-3-Clause"; + copyright = ""; + maintainer = "libraries@haskell.org"; + author = ""; + homepage = ""; + url = ""; + synopsis = "GHC primitives"; + description = "This package contains the primitive types and operations supplied by GHC.\nIt is an internal package, only for the use of GHC developers.\nGHC users should not use it! If you do use it then expect\nbreaking changes at any time without warning. You should prefer\nto import @GHC.Exts@ from the @base@ package instead."; + buildType = "Custom"; + setup-depends = [ + (hsPkgs.pkgsBuildBuild.base or (pkgs.pkgsBuildBuild.base or (errorHandler.setupDepError "base"))) + (hsPkgs.pkgsBuildBuild.process or (pkgs.pkgsBuildBuild.process or (errorHandler.setupDepError "process"))) + (hsPkgs.pkgsBuildBuild.filepath or (pkgs.pkgsBuildBuild.filepath or (errorHandler.setupDepError "filepath"))) + (hsPkgs.pkgsBuildBuild.directory or (pkgs.pkgsBuildBuild.directory or (errorHandler.setupDepError "directory"))) + (hsPkgs.pkgsBuildBuild.Cabal or (pkgs.pkgsBuildBuild.Cabal or (errorHandler.setupDepError "Cabal"))) + ]; + }; + components = { + "library" = { + depends = [ (hsPkgs."rts" or (errorHandler.buildDepError "rts")) ]; + libs = pkgs.lib.optionals (system.isWindows) [ + (pkgs."user32" or (errorHandler.sysDepError "user32")) + (pkgs."mingw32" or (errorHandler.sysDepError "mingw32")) + (pkgs."mingwex" or (errorHandler.sysDepError "mingwex")) + (pkgs."ucrt" or (errorHandler.sysDepError "ucrt")) + ] ++ pkgs.lib.optionals (system.isLinux) [ + (pkgs."c" or (errorHandler.sysDepError "c")) + (pkgs."m" or (errorHandler.sysDepError "m")) + ]; + buildable = true; + }; + }; + } // rec { src = pkgs.lib.mkDefault ./.; } diff --git a/materialized/ghc-boot-packages-nix/ghc96720250227llvm-aarch64/ghc.nix b/materialized/ghc-boot-packages-nix/ghc96720250227llvm-aarch64/ghc.nix new file mode 100644 index 0000000000..cb75e00e5c --- /dev/null +++ b/materialized/ghc-boot-packages-nix/ghc96720250227llvm-aarch64/ghc.nix @@ -0,0 +1,69 @@ +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: + { + flags = { + internal-interpreter = false; + dynamic-system-linker = true; + build-tool-depends = true; + }; + package = { + specVersion = "2.2"; + identifier = { name = "ghc"; version = "9.6.7.20250227"; }; + license = "BSD-3-Clause"; + copyright = ""; + maintainer = "glasgow-haskell-users@haskell.org"; + author = "The GHC Team"; + homepage = "http://www.haskell.org/ghc/"; + url = ""; + synopsis = "The GHC API"; + description = "GHC's functionality can be useful for more things than just\ncompiling Haskell programs. Important use cases are programs\nthat analyse (and perhaps transform) Haskell code. Others\ninclude loading Haskell code dynamically in a GHCi-like manner.\nFor this reason, a lot of GHC's functionality is made available\nthrough this package.\n\nSee \nfor more information."; + buildType = "Custom"; + setup-depends = [ + (hsPkgs.pkgsBuildBuild.base or (pkgs.pkgsBuildBuild.base or (errorHandler.setupDepError "base"))) + (hsPkgs.pkgsBuildBuild.Cabal or (pkgs.pkgsBuildBuild.Cabal or (errorHandler.setupDepError "Cabal"))) + (hsPkgs.pkgsBuildBuild.directory or (pkgs.pkgsBuildBuild.directory or (errorHandler.setupDepError "directory"))) + (hsPkgs.pkgsBuildBuild.process or (pkgs.pkgsBuildBuild.process or (errorHandler.setupDepError "process"))) + (hsPkgs.pkgsBuildBuild.filepath or (pkgs.pkgsBuildBuild.filepath or (errorHandler.setupDepError "filepath"))) + ]; + }; + components = { + "library" = { + depends = [ + (hsPkgs."base" or (errorHandler.buildDepError "base")) + (hsPkgs."deepseq" or (errorHandler.buildDepError "deepseq")) + (hsPkgs."directory" or (errorHandler.buildDepError "directory")) + (hsPkgs."process" or (errorHandler.buildDepError "process")) + (hsPkgs."bytestring" or (errorHandler.buildDepError "bytestring")) + (hsPkgs."binary" or (errorHandler.buildDepError "binary")) + (hsPkgs."time" or (errorHandler.buildDepError "time")) + (hsPkgs."containers" or (errorHandler.buildDepError "containers")) + (hsPkgs."array" or (errorHandler.buildDepError "array")) + (hsPkgs."filepath" or (errorHandler.buildDepError "filepath")) + (hsPkgs."template-haskell" or (errorHandler.buildDepError "template-haskell")) + (hsPkgs."hpc" or (errorHandler.buildDepError "hpc")) + (hsPkgs."transformers" or (errorHandler.buildDepError "transformers")) + (hsPkgs."exceptions" or (errorHandler.buildDepError "exceptions")) + (hsPkgs."stm" or (errorHandler.buildDepError "stm")) + (hsPkgs."ghc-boot" or (errorHandler.buildDepError "ghc-boot")) + (hsPkgs."ghc-heap" or (errorHandler.buildDepError "ghc-heap")) + (hsPkgs."ghci" or (errorHandler.buildDepError "ghci")) + ] ++ (if system.isWindows + then [ (hsPkgs."Win32" or (errorHandler.buildDepError "Win32")) ] + else [ (hsPkgs."unix" or (errorHandler.buildDepError "unix")) ]); + build-tools = pkgs.lib.optionals (flags.build-tool-depends) [ + (hsPkgs.pkgsBuildBuild.alex.components.exes.alex or (pkgs.pkgsBuildBuild.alex or (errorHandler.buildToolDepError "alex:alex"))) + (hsPkgs.pkgsBuildBuild.happy.components.exes.happy or (pkgs.pkgsBuildBuild.happy or (errorHandler.buildToolDepError "happy:happy"))) + (hsPkgs.pkgsBuildBuild.genprimopcode.components.exes.genprimopcode or (pkgs.pkgsBuildBuild.genprimopcode or (errorHandler.buildToolDepError "genprimopcode:genprimopcode"))) + (hsPkgs.pkgsBuildBuild.deriveConstants.components.exes.deriveConstants or (pkgs.pkgsBuildBuild.deriveConstants or (errorHandler.buildToolDepError "deriveConstants:deriveConstants"))) + ]; + buildable = true; + }; + }; + } // rec { src = pkgs.lib.mkDefault ./.; } diff --git a/materialized/ghc-boot-packages-nix/ghc96720250227llvm-aarch64/ghci.nix b/materialized/ghc-boot-packages-nix/ghc96720250227llvm-aarch64/ghci.nix new file mode 100644 index 0000000000..3cc6975487 --- /dev/null +++ b/materialized/ghc-boot-packages-nix/ghc96720250227llvm-aarch64/ghci.nix @@ -0,0 +1,45 @@ +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: + { + flags = { internal-interpreter = false; }; + package = { + specVersion = "1.10"; + identifier = { name = "ghci"; version = "9.6.7.20250227"; }; + license = "BSD-3-Clause"; + copyright = ""; + maintainer = "ghc-devs@haskell.org"; + author = ""; + homepage = ""; + url = ""; + synopsis = "The library supporting GHC's interactive interpreter"; + description = "This library offers interfaces which mediate interactions between the\n@ghci@ interactive shell and @iserv@, GHC's out-of-process interpreter\nbackend."; + buildType = "Simple"; + }; + components = { + "library" = { + depends = [ + (hsPkgs."rts" or (errorHandler.buildDepError "rts")) + (hsPkgs."array" or (errorHandler.buildDepError "array")) + (hsPkgs."base" or (errorHandler.buildDepError "base")) + (hsPkgs."ghc-prim" or (errorHandler.buildDepError "ghc-prim")) + (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."filepath" or (errorHandler.buildDepError "filepath")) + (hsPkgs."ghc-boot" or (errorHandler.buildDepError "ghc-boot")) + (hsPkgs."ghc-heap" or (errorHandler.buildDepError "ghc-heap")) + (hsPkgs."template-haskell" or (errorHandler.buildDepError "template-haskell")) + (hsPkgs."transformers" or (errorHandler.buildDepError "transformers")) + ] ++ pkgs.lib.optional (!system.isWindows) (hsPkgs."unix" or (errorHandler.buildDepError "unix")); + buildable = true; + }; + }; + } // rec { src = pkgs.lib.mkDefault ./.; } diff --git a/materialized/ghc-boot-packages-nix/ghc96720250227llvm-aarch64/hpc.nix b/materialized/ghc-boot-packages-nix/ghc96720250227llvm-aarch64/hpc.nix new file mode 100644 index 0000000000..c9d84dfbb7 --- /dev/null +++ b/materialized/ghc-boot-packages-nix/ghc96720250227llvm-aarch64/hpc.nix @@ -0,0 +1,38 @@ +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: + { + flags = {}; + package = { + specVersion = "1.10"; + identifier = { name = "hpc"; version = "0.6.2.0"; }; + license = "BSD-3-Clause"; + copyright = ""; + maintainer = "ghc-devs@haskell.org"; + author = "Andy Gill"; + homepage = ""; + url = ""; + synopsis = "Code Coverage Library for Haskell"; + description = "This package provides the code coverage library for Haskell.\n\nSee for more\ninformation."; + buildType = "Simple"; + }; + components = { + "library" = { + depends = [ + (hsPkgs."base" or (errorHandler.buildDepError "base")) + (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."time" or (errorHandler.buildDepError "time")) + ]; + buildable = true; + }; + }; + } // rec { src = pkgs.lib.mkDefault ./.; } diff --git a/materialized/ghc-boot-packages-nix/ghc96720250227llvm-aarch64/integer-gmp.nix b/materialized/ghc-boot-packages-nix/ghc96720250227llvm-aarch64/integer-gmp.nix new file mode 100644 index 0000000000..94f930e70e --- /dev/null +++ b/materialized/ghc-boot-packages-nix/ghc96720250227llvm-aarch64/integer-gmp.nix @@ -0,0 +1,35 @@ +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: + { + flags = {}; + package = { + specVersion = "2.0"; + identifier = { name = "integer-gmp"; version = "1.1"; }; + license = "BSD-3-Clause"; + copyright = ""; + maintainer = "hvr@gnu.org"; + author = "Herbert Valerio Riedel"; + homepage = "https://www.haskell.org/ghc/"; + url = ""; + synopsis = "Integer library based on GMP"; + description = "This package used to provide an implementation of the standard 'Integer'\ntype based on the\n.\n\nIt is now deprecated in favor of the 'ghc-bignum' package.\n\nIts purpose is to provide backward compatibility for codes directly\ndepending on the `integer-gmp` package."; + buildType = "Simple"; + }; + components = { + "library" = { + depends = [ + (hsPkgs."base" or (errorHandler.buildDepError "base")) + (hsPkgs."ghc-prim" or (errorHandler.buildDepError "ghc-prim")) + (hsPkgs."ghc-bignum" or (errorHandler.buildDepError "ghc-bignum")) + ]; + buildable = true; + }; + }; + } // rec { src = pkgs.lib.mkDefault ./.; } diff --git a/materialized/ghc-boot-packages-nix/ghc96720250227llvm-aarch64/iserv.nix b/materialized/ghc-boot-packages-nix/ghc96720250227llvm-aarch64/iserv.nix new file mode 100644 index 0000000000..9badbbf56b --- /dev/null +++ b/materialized/ghc-boot-packages-nix/ghc96720250227llvm-aarch64/iserv.nix @@ -0,0 +1,42 @@ +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: + { + flags = {}; + package = { + specVersion = "1.10"; + identifier = { name = "iserv"; version = "9.6.7.20250227"; }; + license = "BSD-3-Clause"; + copyright = "XXX"; + maintainer = "XXX"; + author = "XXX"; + homepage = ""; + url = ""; + synopsis = "iserv allows GHC to delegate Template Haskell computations"; + description = "GHC can be provided with a path to the iserv binary with\n@-pgmi=/path/to/iserv-bin@, and will in combination with\n@-fexternal-interpreter@, compile Template Haskell though the\n@iserv-bin@ delegate. This is very similar to how ghcjs has been\ncompiling Template Haskell, by spawning a separate delegate (so\ncalled runner on the javascript vm) and evaluating the splices\nthere.\n\nTo use iserv with cross compilers, please see @libraries/libiserv@\nand @utils/iserv-proxy@."; + buildType = "Simple"; + }; + components = { + exes = { + "iserv" = { + 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."ghci" or (errorHandler.buildDepError "ghci")) + (hsPkgs."libiserv" or (errorHandler.buildDepError "libiserv")) + ] ++ pkgs.lib.optional (!system.isWindows) (hsPkgs."unix" or (errorHandler.buildDepError "unix")); + buildable = true; + }; + }; + }; + } // rec { src = pkgs.lib.mkDefault ./.; } diff --git a/materialized/ghc-boot-packages-nix/ghc96720250227llvm-aarch64/libiserv.nix b/materialized/ghc-boot-packages-nix/ghc96720250227llvm-aarch64/libiserv.nix new file mode 100644 index 0000000000..ffe0a9ee99 --- /dev/null +++ b/materialized/ghc-boot-packages-nix/ghc96720250227llvm-aarch64/libiserv.nix @@ -0,0 +1,38 @@ +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: + { + flags = { network = false; }; + package = { + specVersion = "1.10"; + identifier = { name = "libiserv"; version = "9.6.7.20250227"; }; + license = "BSD-3-Clause"; + copyright = "XXX"; + maintainer = "XXX"; + author = "XXX"; + homepage = ""; + url = ""; + synopsis = "Provides shared functionality between iserv and iserv-proxy."; + description = "Provides shared functionality between iserv and iserv-proxy."; + buildType = "Simple"; + }; + components = { + "library" = { + depends = [ + (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."ghci" or (errorHandler.buildDepError "ghci")) + ] ++ pkgs.lib.optional (!system.isWindows) (hsPkgs."unix" or (errorHandler.buildDepError "unix")); + buildable = true; + }; + }; + } // rec { src = pkgs.lib.mkDefault ./.; } diff --git a/materialized/ghc-boot-packages-nix/ghc96720250227llvm-aarch64/remote-iserv.nix b/materialized/ghc-boot-packages-nix/ghc96720250227llvm-aarch64/remote-iserv.nix new file mode 100644 index 0000000000..3431eb0712 --- /dev/null +++ b/materialized/ghc-boot-packages-nix/ghc96720250227llvm-aarch64/remote-iserv.nix @@ -0,0 +1,36 @@ +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: + { + flags = {}; + package = { + specVersion = "1.10"; + identifier = { name = "remote-iserv"; version = "9.6.7.20250227"; }; + license = "BSD-3-Clause"; + copyright = "XXX"; + maintainer = "Moritz Angermann "; + author = "Moritz Angermann "; + homepage = ""; + url = ""; + synopsis = "iserv allows GHC to delegate Template Haskell computations"; + description = "This is a very simple remote runner for iserv, to be used together\nwith iserv-proxy. The foundamental idea is that this this wrapper\nstarts running libiserv on a given port to which iserv-proxy will\nthen connect."; + buildType = "Simple"; + }; + components = { + exes = { + "remote-iserv" = { + depends = [ + (hsPkgs."base" or (errorHandler.buildDepError "base")) + (hsPkgs."libiserv" or (errorHandler.buildDepError "libiserv")) + ]; + buildable = true; + }; + }; + }; + } // rec { src = pkgs.lib.mkDefault ./.; } diff --git a/materialized/ghc-boot-packages-nix/ghc96720250227llvm-aarch64/template-haskell.nix b/materialized/ghc-boot-packages-nix/ghc96720250227llvm-aarch64/template-haskell.nix new file mode 100644 index 0000000000..693b8f6a78 --- /dev/null +++ b/materialized/ghc-boot-packages-nix/ghc96720250227llvm-aarch64/template-haskell.nix @@ -0,0 +1,36 @@ +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: + { + flags = {}; + package = { + specVersion = "1.10"; + identifier = { name = "template-haskell"; version = "2.20.0.0"; }; + license = "BSD-3-Clause"; + copyright = ""; + maintainer = "libraries@haskell.org"; + author = ""; + homepage = ""; + url = ""; + synopsis = "Support library for Template Haskell"; + description = "This package provides modules containing facilities for manipulating\nHaskell source code using Template Haskell.\n\nSee for more\ninformation."; + buildType = "Simple"; + }; + components = { + "library" = { + depends = [ + (hsPkgs."base" or (errorHandler.buildDepError "base")) + (hsPkgs."ghc-boot-th" or (errorHandler.buildDepError "ghc-boot-th")) + (hsPkgs."ghc-prim" or (errorHandler.buildDepError "ghc-prim")) + (hsPkgs."pretty" or (errorHandler.buildDepError "pretty")) + ]; + buildable = true; + }; + }; + } // rec { src = pkgs.lib.mkDefault ./.; } diff --git a/materialized/ghc-boot-packages-nix/ghc96720250227llvm/base.nix b/materialized/ghc-boot-packages-nix/ghc96720250227llvm/base.nix new file mode 100644 index 0000000000..1f649a4341 --- /dev/null +++ b/materialized/ghc-boot-packages-nix/ghc96720250227llvm/base.nix @@ -0,0 +1,49 @@ +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: + { + flags = {}; + package = { + specVersion = "3.0"; + identifier = { name = "base"; version = "4.18.3.0"; }; + license = "BSD-3-Clause"; + copyright = ""; + maintainer = "Core Libraries Committee "; + author = ""; + homepage = ""; + url = ""; + synopsis = "Core data structures and operations"; + description = "Haskell's base library provides, among other things, core types (e.g. [Bool](\"Data.Bool\") and [Int](\"Data.Int\")),\ndata structures (e.g. [List](\"Data.List\"), [Tuple](\"Data.Tuple\") and [Maybe](\"Data.Maybe\")),\nthe [Exception](\"Control.Exception\") mechanism, and the [IO](\"System.IO\") & [Concurrency](\"Control.Concurrent\") operations.\nThe \"Prelude\" module, which is imported by default, exposes a curated set of types and functions from other modules.\n\nOther data structures like [Map](https://hackage.haskell.org/package/containers/docs/Data-Map.html),\n[Set](https://hackage.haskell.org/package/containers/docs/Data-Set.html) are available in the [containers](https://hackage.haskell.org/package/containers) library.\nTo work with textual data, use the [text](https://hackage.haskell.org/package/text/docs/Data-Text.html) library."; + buildType = "Configure"; + }; + components = { + "library" = { + depends = [ + (hsPkgs."rts" or (errorHandler.buildDepError "rts")) + (hsPkgs."ghc-prim" or (errorHandler.buildDepError "ghc-prim")) + (hsPkgs."ghc-bignum" or (errorHandler.buildDepError "ghc-bignum")) + ]; + libs = pkgs.lib.optionals (system.isWindows) [ + (pkgs."wsock32" or (errorHandler.sysDepError "wsock32")) + (pkgs."user32" or (errorHandler.sysDepError "user32")) + (pkgs."shell32" or (errorHandler.sysDepError "shell32")) + (pkgs."mingw32" or (errorHandler.sysDepError "mingw32")) + (pkgs."kernel32" or (errorHandler.sysDepError "kernel32")) + (pkgs."advapi32" or (errorHandler.sysDepError "advapi32")) + (pkgs."mingwex" or (errorHandler.sysDepError "mingwex")) + (pkgs."ws2_32" or (errorHandler.sysDepError "ws2_32")) + (pkgs."shlwapi" or (errorHandler.sysDepError "shlwapi")) + (pkgs."ole32" or (errorHandler.sysDepError "ole32")) + (pkgs."rpcrt4" or (errorHandler.sysDepError "rpcrt4")) + (pkgs."ntdll" or (errorHandler.sysDepError "ntdll")) + ]; + buildable = true; + }; + }; + } // rec { src = pkgs.lib.mkDefault ./.; } diff --git a/materialized/ghc-boot-packages-nix/ghc96720250227llvm/deriveConstants.nix b/materialized/ghc-boot-packages-nix/ghc96720250227llvm/deriveConstants.nix new file mode 100644 index 0000000000..135cdd02f6 --- /dev/null +++ b/materialized/ghc-boot-packages-nix/ghc96720250227llvm/deriveConstants.nix @@ -0,0 +1,39 @@ +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: + { + flags = {}; + package = { + specVersion = "1.10"; + identifier = { name = "deriveConstants"; version = "0.1"; }; + license = "BSD-3-Clause"; + copyright = "XXX"; + maintainer = "XXX"; + author = "XXX"; + homepage = ""; + url = ""; + synopsis = "Derive header files containing various constants for the GHC build process"; + description = "This utility is responsible for generating a number of C header files\nneeded during the GHC build process. See @rts/include/ghc.mk@ in the GHC\nbuild system for details."; + buildType = "Simple"; + }; + components = { + exes = { + "deriveConstants" = { + depends = [ + (hsPkgs."base" or (errorHandler.buildDepError "base")) + (hsPkgs."containers" or (errorHandler.buildDepError "containers")) + (hsPkgs."process" or (errorHandler.buildDepError "process")) + (hsPkgs."filepath" or (errorHandler.buildDepError "filepath")) + (hsPkgs."directory" or (errorHandler.buildDepError "directory")) + ]; + buildable = true; + }; + }; + }; + } // rec { src = pkgs.lib.mkDefault ./.; } diff --git a/materialized/ghc-boot-packages-nix/ghc96720250227llvm/genprimopcode.nix b/materialized/ghc-boot-packages-nix/ghc96720250227llvm/genprimopcode.nix new file mode 100644 index 0000000000..49bbe516ba --- /dev/null +++ b/materialized/ghc-boot-packages-nix/ghc96720250227llvm/genprimopcode.nix @@ -0,0 +1,40 @@ +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: + { + flags = { build-tool-depends = true; }; + package = { + specVersion = "2.0"; + identifier = { name = "genprimopcode"; version = "0.1"; }; + license = "BSD-3-Clause"; + copyright = "XXX"; + maintainer = "XXX"; + author = "XXX"; + homepage = ""; + url = ""; + synopsis = "Generates various files implementing GHC's primitive operations."; + description = "This utility reads a textual description of GHC's primitive operations\n(@primops.txt.pp@) and produces a number of outputs. These include,\n\n* the @GHC.Prim@ module included in the @ghc-prim@ package.\n* the @GHC.PrimopWrappers@ module included in the @ghc-prim@ package.\n* an LaTeX document describing the primitive operations."; + buildType = "Simple"; + }; + components = { + exes = { + "genprimopcode" = { + depends = [ + (hsPkgs."base" or (errorHandler.buildDepError "base")) + (hsPkgs."array" or (errorHandler.buildDepError "array")) + ]; + build-tools = pkgs.lib.optionals (flags.build-tool-depends) [ + (hsPkgs.pkgsBuildBuild.alex.components.exes.alex or (pkgs.pkgsBuildBuild.alex or (errorHandler.buildToolDepError "alex:alex"))) + (hsPkgs.pkgsBuildBuild.happy.components.exes.happy or (pkgs.pkgsBuildBuild.happy or (errorHandler.buildToolDepError "happy:happy"))) + ]; + buildable = true; + }; + }; + }; + } // rec { src = pkgs.lib.mkDefault ./.; } diff --git a/materialized/ghc-boot-packages-nix/ghc96720250227llvm/ghc-bignum.nix b/materialized/ghc-boot-packages-nix/ghc96720250227llvm/ghc-bignum.nix new file mode 100644 index 0000000000..46af6e0e9f --- /dev/null +++ b/materialized/ghc-boot-packages-nix/ghc96720250227llvm/ghc-bignum.nix @@ -0,0 +1,37 @@ +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: + { + flags = { native = false; ffi = false; gmp = false; check = false; }; + package = { + specVersion = "2.0"; + identifier = { name = "ghc-bignum"; version = "1.3"; }; + license = "BSD-3-Clause"; + copyright = ""; + maintainer = "libraries@haskell.org"; + author = "Sylvain Henry"; + homepage = ""; + url = ""; + synopsis = "GHC BigNum library"; + description = "This package provides the low-level implementation of the standard\n'BigNat', 'Natural' and 'Integer' types."; + buildType = "Configure"; + }; + components = { + "library" = { + depends = [ + (hsPkgs."ghc-prim" or (errorHandler.buildDepError "ghc-prim")) + ]; + buildable = (if !flags.native && !flags.gmp && !flags.ffi + then false + else true) && (if flags.native && (flags.gmp || flags.ffi) + then false + else true) && (if flags.gmp && flags.ffi then false else true); + }; + }; + } // rec { src = pkgs.lib.mkDefault ./.; } diff --git a/materialized/ghc-boot-packages-nix/ghc96720250227llvm/ghc-boot.nix b/materialized/ghc-boot-packages-nix/ghc96720250227llvm/ghc-boot.nix new file mode 100644 index 0000000000..bdb3851804 --- /dev/null +++ b/materialized/ghc-boot-packages-nix/ghc96720250227llvm/ghc-boot.nix @@ -0,0 +1,46 @@ +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: + { + flags = {}; + package = { + specVersion = "3.0"; + identifier = { name = "ghc-boot"; version = "9.6.7.20250227"; }; + license = "BSD-3-Clause"; + copyright = ""; + maintainer = "ghc-devs@haskell.org"; + author = ""; + homepage = ""; + url = ""; + synopsis = "Shared functionality between GHC and its boot libraries"; + description = "This library is shared between GHC, ghc-pkg, and other boot\nlibraries.\n.\nA note about \"GHC.Unit.Database\": it only deals with the subset of\nthe package database that the compiler cares about: modules\npaths etc and not package metadata like description, authors\netc. It is thus not a library interface to ghc-pkg and is *not*\nsuitable for modifying GHC package databases.\n.\nThe package database format and this library are constructed in\nsuch a way that while ghc-pkg depends on Cabal, the GHC library\nand program do not have to depend on Cabal."; + buildType = "Custom"; + setup-depends = [ + (hsPkgs.pkgsBuildBuild.base or (pkgs.pkgsBuildBuild.base or (errorHandler.setupDepError "base"))) + (hsPkgs.pkgsBuildBuild.Cabal or (pkgs.pkgsBuildBuild.Cabal or (errorHandler.setupDepError "Cabal"))) + (hsPkgs.pkgsBuildBuild.directory or (pkgs.pkgsBuildBuild.directory or (errorHandler.setupDepError "directory"))) + (hsPkgs.pkgsBuildBuild.filepath or (pkgs.pkgsBuildBuild.filepath or (errorHandler.setupDepError "filepath"))) + ]; + }; + components = { + "library" = { + depends = [ + (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."directory" or (errorHandler.buildDepError "directory")) + (hsPkgs."filepath" or (errorHandler.buildDepError "filepath")) + (hsPkgs."deepseq" or (errorHandler.buildDepError "deepseq")) + (hsPkgs."ghc-boot-th" or (errorHandler.buildDepError "ghc-boot-th")) + ] ++ pkgs.lib.optional (!system.isWindows) (hsPkgs."unix" or (errorHandler.buildDepError "unix")); + buildable = true; + }; + }; + } // rec { src = pkgs.lib.mkDefault ./.; } diff --git a/materialized/ghc-boot-packages-nix/ghc96720250227llvm/ghc-heap.nix b/materialized/ghc-boot-packages-nix/ghc96720250227llvm/ghc-heap.nix new file mode 100644 index 0000000000..f8edabe13b --- /dev/null +++ b/materialized/ghc-boot-packages-nix/ghc96720250227llvm/ghc-heap.nix @@ -0,0 +1,36 @@ +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: + { + flags = {}; + package = { + specVersion = "3.0"; + identifier = { name = "ghc-heap"; version = "9.6.7.20250227"; }; + license = "BSD-3-Clause"; + copyright = ""; + maintainer = "libraries@haskell.org"; + author = ""; + homepage = ""; + url = ""; + synopsis = "Functions for walking GHC's heap"; + description = "This package provides functions for walking the GHC heap data structures\nand retrieving information about those data structures."; + buildType = "Simple"; + }; + components = { + "library" = { + depends = [ + (hsPkgs."base" or (errorHandler.buildDepError "base")) + (hsPkgs."ghc-prim" or (errorHandler.buildDepError "ghc-prim")) + (hsPkgs."rts" or (errorHandler.buildDepError "rts")) + (hsPkgs."containers" or (errorHandler.buildDepError "containers")) + ]; + buildable = true; + }; + }; + } // rec { src = pkgs.lib.mkDefault ./.; } diff --git a/materialized/ghc-boot-packages-nix/ghc96720250227llvm/ghc-prim.nix b/materialized/ghc-boot-packages-nix/ghc96720250227llvm/ghc-prim.nix new file mode 100644 index 0000000000..a657675b58 --- /dev/null +++ b/materialized/ghc-boot-packages-nix/ghc96720250227llvm/ghc-prim.nix @@ -0,0 +1,47 @@ +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: + { + flags = {}; + package = { + specVersion = "2.2"; + identifier = { name = "ghc-prim"; version = "0.10.0"; }; + license = "BSD-3-Clause"; + copyright = ""; + maintainer = "libraries@haskell.org"; + author = ""; + homepage = ""; + url = ""; + synopsis = "GHC primitives"; + description = "This package contains the primitive types and operations supplied by GHC.\nIt is an internal package, only for the use of GHC developers.\nGHC users should not use it! If you do use it then expect\nbreaking changes at any time without warning. You should prefer\nto import @GHC.Exts@ from the @base@ package instead."; + buildType = "Custom"; + setup-depends = [ + (hsPkgs.pkgsBuildBuild.base or (pkgs.pkgsBuildBuild.base or (errorHandler.setupDepError "base"))) + (hsPkgs.pkgsBuildBuild.process or (pkgs.pkgsBuildBuild.process or (errorHandler.setupDepError "process"))) + (hsPkgs.pkgsBuildBuild.filepath or (pkgs.pkgsBuildBuild.filepath or (errorHandler.setupDepError "filepath"))) + (hsPkgs.pkgsBuildBuild.directory or (pkgs.pkgsBuildBuild.directory or (errorHandler.setupDepError "directory"))) + (hsPkgs.pkgsBuildBuild.Cabal or (pkgs.pkgsBuildBuild.Cabal or (errorHandler.setupDepError "Cabal"))) + ]; + }; + components = { + "library" = { + depends = [ (hsPkgs."rts" or (errorHandler.buildDepError "rts")) ]; + libs = pkgs.lib.optionals (system.isWindows) [ + (pkgs."user32" or (errorHandler.sysDepError "user32")) + (pkgs."mingw32" or (errorHandler.sysDepError "mingw32")) + (pkgs."mingwex" or (errorHandler.sysDepError "mingwex")) + (pkgs."ucrt" or (errorHandler.sysDepError "ucrt")) + ] ++ pkgs.lib.optionals (system.isLinux) [ + (pkgs."c" or (errorHandler.sysDepError "c")) + (pkgs."m" or (errorHandler.sysDepError "m")) + ]; + buildable = true; + }; + }; + } // rec { src = pkgs.lib.mkDefault ./.; } diff --git a/materialized/ghc-boot-packages-nix/ghc96720250227llvm/ghc.nix b/materialized/ghc-boot-packages-nix/ghc96720250227llvm/ghc.nix new file mode 100644 index 0000000000..cb75e00e5c --- /dev/null +++ b/materialized/ghc-boot-packages-nix/ghc96720250227llvm/ghc.nix @@ -0,0 +1,69 @@ +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: + { + flags = { + internal-interpreter = false; + dynamic-system-linker = true; + build-tool-depends = true; + }; + package = { + specVersion = "2.2"; + identifier = { name = "ghc"; version = "9.6.7.20250227"; }; + license = "BSD-3-Clause"; + copyright = ""; + maintainer = "glasgow-haskell-users@haskell.org"; + author = "The GHC Team"; + homepage = "http://www.haskell.org/ghc/"; + url = ""; + synopsis = "The GHC API"; + description = "GHC's functionality can be useful for more things than just\ncompiling Haskell programs. Important use cases are programs\nthat analyse (and perhaps transform) Haskell code. Others\ninclude loading Haskell code dynamically in a GHCi-like manner.\nFor this reason, a lot of GHC's functionality is made available\nthrough this package.\n\nSee \nfor more information."; + buildType = "Custom"; + setup-depends = [ + (hsPkgs.pkgsBuildBuild.base or (pkgs.pkgsBuildBuild.base or (errorHandler.setupDepError "base"))) + (hsPkgs.pkgsBuildBuild.Cabal or (pkgs.pkgsBuildBuild.Cabal or (errorHandler.setupDepError "Cabal"))) + (hsPkgs.pkgsBuildBuild.directory or (pkgs.pkgsBuildBuild.directory or (errorHandler.setupDepError "directory"))) + (hsPkgs.pkgsBuildBuild.process or (pkgs.pkgsBuildBuild.process or (errorHandler.setupDepError "process"))) + (hsPkgs.pkgsBuildBuild.filepath or (pkgs.pkgsBuildBuild.filepath or (errorHandler.setupDepError "filepath"))) + ]; + }; + components = { + "library" = { + depends = [ + (hsPkgs."base" or (errorHandler.buildDepError "base")) + (hsPkgs."deepseq" or (errorHandler.buildDepError "deepseq")) + (hsPkgs."directory" or (errorHandler.buildDepError "directory")) + (hsPkgs."process" or (errorHandler.buildDepError "process")) + (hsPkgs."bytestring" or (errorHandler.buildDepError "bytestring")) + (hsPkgs."binary" or (errorHandler.buildDepError "binary")) + (hsPkgs."time" or (errorHandler.buildDepError "time")) + (hsPkgs."containers" or (errorHandler.buildDepError "containers")) + (hsPkgs."array" or (errorHandler.buildDepError "array")) + (hsPkgs."filepath" or (errorHandler.buildDepError "filepath")) + (hsPkgs."template-haskell" or (errorHandler.buildDepError "template-haskell")) + (hsPkgs."hpc" or (errorHandler.buildDepError "hpc")) + (hsPkgs."transformers" or (errorHandler.buildDepError "transformers")) + (hsPkgs."exceptions" or (errorHandler.buildDepError "exceptions")) + (hsPkgs."stm" or (errorHandler.buildDepError "stm")) + (hsPkgs."ghc-boot" or (errorHandler.buildDepError "ghc-boot")) + (hsPkgs."ghc-heap" or (errorHandler.buildDepError "ghc-heap")) + (hsPkgs."ghci" or (errorHandler.buildDepError "ghci")) + ] ++ (if system.isWindows + then [ (hsPkgs."Win32" or (errorHandler.buildDepError "Win32")) ] + else [ (hsPkgs."unix" or (errorHandler.buildDepError "unix")) ]); + build-tools = pkgs.lib.optionals (flags.build-tool-depends) [ + (hsPkgs.pkgsBuildBuild.alex.components.exes.alex or (pkgs.pkgsBuildBuild.alex or (errorHandler.buildToolDepError "alex:alex"))) + (hsPkgs.pkgsBuildBuild.happy.components.exes.happy or (pkgs.pkgsBuildBuild.happy or (errorHandler.buildToolDepError "happy:happy"))) + (hsPkgs.pkgsBuildBuild.genprimopcode.components.exes.genprimopcode or (pkgs.pkgsBuildBuild.genprimopcode or (errorHandler.buildToolDepError "genprimopcode:genprimopcode"))) + (hsPkgs.pkgsBuildBuild.deriveConstants.components.exes.deriveConstants or (pkgs.pkgsBuildBuild.deriveConstants or (errorHandler.buildToolDepError "deriveConstants:deriveConstants"))) + ]; + buildable = true; + }; + }; + } // rec { src = pkgs.lib.mkDefault ./.; } diff --git a/materialized/ghc-boot-packages-nix/ghc96720250227llvm/ghci.nix b/materialized/ghc-boot-packages-nix/ghc96720250227llvm/ghci.nix new file mode 100644 index 0000000000..3cc6975487 --- /dev/null +++ b/materialized/ghc-boot-packages-nix/ghc96720250227llvm/ghci.nix @@ -0,0 +1,45 @@ +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: + { + flags = { internal-interpreter = false; }; + package = { + specVersion = "1.10"; + identifier = { name = "ghci"; version = "9.6.7.20250227"; }; + license = "BSD-3-Clause"; + copyright = ""; + maintainer = "ghc-devs@haskell.org"; + author = ""; + homepage = ""; + url = ""; + synopsis = "The library supporting GHC's interactive interpreter"; + description = "This library offers interfaces which mediate interactions between the\n@ghci@ interactive shell and @iserv@, GHC's out-of-process interpreter\nbackend."; + buildType = "Simple"; + }; + components = { + "library" = { + depends = [ + (hsPkgs."rts" or (errorHandler.buildDepError "rts")) + (hsPkgs."array" or (errorHandler.buildDepError "array")) + (hsPkgs."base" or (errorHandler.buildDepError "base")) + (hsPkgs."ghc-prim" or (errorHandler.buildDepError "ghc-prim")) + (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."filepath" or (errorHandler.buildDepError "filepath")) + (hsPkgs."ghc-boot" or (errorHandler.buildDepError "ghc-boot")) + (hsPkgs."ghc-heap" or (errorHandler.buildDepError "ghc-heap")) + (hsPkgs."template-haskell" or (errorHandler.buildDepError "template-haskell")) + (hsPkgs."transformers" or (errorHandler.buildDepError "transformers")) + ] ++ pkgs.lib.optional (!system.isWindows) (hsPkgs."unix" or (errorHandler.buildDepError "unix")); + buildable = true; + }; + }; + } // rec { src = pkgs.lib.mkDefault ./.; } diff --git a/materialized/ghc-boot-packages-nix/ghc96720250227llvm/hpc.nix b/materialized/ghc-boot-packages-nix/ghc96720250227llvm/hpc.nix new file mode 100644 index 0000000000..c9d84dfbb7 --- /dev/null +++ b/materialized/ghc-boot-packages-nix/ghc96720250227llvm/hpc.nix @@ -0,0 +1,38 @@ +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: + { + flags = {}; + package = { + specVersion = "1.10"; + identifier = { name = "hpc"; version = "0.6.2.0"; }; + license = "BSD-3-Clause"; + copyright = ""; + maintainer = "ghc-devs@haskell.org"; + author = "Andy Gill"; + homepage = ""; + url = ""; + synopsis = "Code Coverage Library for Haskell"; + description = "This package provides the code coverage library for Haskell.\n\nSee for more\ninformation."; + buildType = "Simple"; + }; + components = { + "library" = { + depends = [ + (hsPkgs."base" or (errorHandler.buildDepError "base")) + (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."time" or (errorHandler.buildDepError "time")) + ]; + buildable = true; + }; + }; + } // rec { src = pkgs.lib.mkDefault ./.; } diff --git a/materialized/ghc-boot-packages-nix/ghc96720250227llvm/integer-gmp.nix b/materialized/ghc-boot-packages-nix/ghc96720250227llvm/integer-gmp.nix new file mode 100644 index 0000000000..94f930e70e --- /dev/null +++ b/materialized/ghc-boot-packages-nix/ghc96720250227llvm/integer-gmp.nix @@ -0,0 +1,35 @@ +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: + { + flags = {}; + package = { + specVersion = "2.0"; + identifier = { name = "integer-gmp"; version = "1.1"; }; + license = "BSD-3-Clause"; + copyright = ""; + maintainer = "hvr@gnu.org"; + author = "Herbert Valerio Riedel"; + homepage = "https://www.haskell.org/ghc/"; + url = ""; + synopsis = "Integer library based on GMP"; + description = "This package used to provide an implementation of the standard 'Integer'\ntype based on the\n.\n\nIt is now deprecated in favor of the 'ghc-bignum' package.\n\nIts purpose is to provide backward compatibility for codes directly\ndepending on the `integer-gmp` package."; + buildType = "Simple"; + }; + components = { + "library" = { + depends = [ + (hsPkgs."base" or (errorHandler.buildDepError "base")) + (hsPkgs."ghc-prim" or (errorHandler.buildDepError "ghc-prim")) + (hsPkgs."ghc-bignum" or (errorHandler.buildDepError "ghc-bignum")) + ]; + buildable = true; + }; + }; + } // rec { src = pkgs.lib.mkDefault ./.; } diff --git a/materialized/ghc-boot-packages-nix/ghc96720250227llvm/iserv.nix b/materialized/ghc-boot-packages-nix/ghc96720250227llvm/iserv.nix new file mode 100644 index 0000000000..9badbbf56b --- /dev/null +++ b/materialized/ghc-boot-packages-nix/ghc96720250227llvm/iserv.nix @@ -0,0 +1,42 @@ +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: + { + flags = {}; + package = { + specVersion = "1.10"; + identifier = { name = "iserv"; version = "9.6.7.20250227"; }; + license = "BSD-3-Clause"; + copyright = "XXX"; + maintainer = "XXX"; + author = "XXX"; + homepage = ""; + url = ""; + synopsis = "iserv allows GHC to delegate Template Haskell computations"; + description = "GHC can be provided with a path to the iserv binary with\n@-pgmi=/path/to/iserv-bin@, and will in combination with\n@-fexternal-interpreter@, compile Template Haskell though the\n@iserv-bin@ delegate. This is very similar to how ghcjs has been\ncompiling Template Haskell, by spawning a separate delegate (so\ncalled runner on the javascript vm) and evaluating the splices\nthere.\n\nTo use iserv with cross compilers, please see @libraries/libiserv@\nand @utils/iserv-proxy@."; + buildType = "Simple"; + }; + components = { + exes = { + "iserv" = { + 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."ghci" or (errorHandler.buildDepError "ghci")) + (hsPkgs."libiserv" or (errorHandler.buildDepError "libiserv")) + ] ++ pkgs.lib.optional (!system.isWindows) (hsPkgs."unix" or (errorHandler.buildDepError "unix")); + buildable = true; + }; + }; + }; + } // rec { src = pkgs.lib.mkDefault ./.; } diff --git a/materialized/ghc-boot-packages-nix/ghc96720250227llvm/libiserv.nix b/materialized/ghc-boot-packages-nix/ghc96720250227llvm/libiserv.nix new file mode 100644 index 0000000000..ffe0a9ee99 --- /dev/null +++ b/materialized/ghc-boot-packages-nix/ghc96720250227llvm/libiserv.nix @@ -0,0 +1,38 @@ +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: + { + flags = { network = false; }; + package = { + specVersion = "1.10"; + identifier = { name = "libiserv"; version = "9.6.7.20250227"; }; + license = "BSD-3-Clause"; + copyright = "XXX"; + maintainer = "XXX"; + author = "XXX"; + homepage = ""; + url = ""; + synopsis = "Provides shared functionality between iserv and iserv-proxy."; + description = "Provides shared functionality between iserv and iserv-proxy."; + buildType = "Simple"; + }; + components = { + "library" = { + depends = [ + (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."ghci" or (errorHandler.buildDepError "ghci")) + ] ++ pkgs.lib.optional (!system.isWindows) (hsPkgs."unix" or (errorHandler.buildDepError "unix")); + buildable = true; + }; + }; + } // rec { src = pkgs.lib.mkDefault ./.; } diff --git a/materialized/ghc-boot-packages-nix/ghc96720250227llvm/remote-iserv.nix b/materialized/ghc-boot-packages-nix/ghc96720250227llvm/remote-iserv.nix new file mode 100644 index 0000000000..3431eb0712 --- /dev/null +++ b/materialized/ghc-boot-packages-nix/ghc96720250227llvm/remote-iserv.nix @@ -0,0 +1,36 @@ +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: + { + flags = {}; + package = { + specVersion = "1.10"; + identifier = { name = "remote-iserv"; version = "9.6.7.20250227"; }; + license = "BSD-3-Clause"; + copyright = "XXX"; + maintainer = "Moritz Angermann "; + author = "Moritz Angermann "; + homepage = ""; + url = ""; + synopsis = "iserv allows GHC to delegate Template Haskell computations"; + description = "This is a very simple remote runner for iserv, to be used together\nwith iserv-proxy. The foundamental idea is that this this wrapper\nstarts running libiserv on a given port to which iserv-proxy will\nthen connect."; + buildType = "Simple"; + }; + components = { + exes = { + "remote-iserv" = { + depends = [ + (hsPkgs."base" or (errorHandler.buildDepError "base")) + (hsPkgs."libiserv" or (errorHandler.buildDepError "libiserv")) + ]; + buildable = true; + }; + }; + }; + } // rec { src = pkgs.lib.mkDefault ./.; } diff --git a/materialized/ghc-boot-packages-nix/ghc96720250227llvm/template-haskell.nix b/materialized/ghc-boot-packages-nix/ghc96720250227llvm/template-haskell.nix new file mode 100644 index 0000000000..693b8f6a78 --- /dev/null +++ b/materialized/ghc-boot-packages-nix/ghc96720250227llvm/template-haskell.nix @@ -0,0 +1,36 @@ +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: + { + flags = {}; + package = { + specVersion = "1.10"; + identifier = { name = "template-haskell"; version = "2.20.0.0"; }; + license = "BSD-3-Clause"; + copyright = ""; + maintainer = "libraries@haskell.org"; + author = ""; + homepage = ""; + url = ""; + synopsis = "Support library for Template Haskell"; + description = "This package provides modules containing facilities for manipulating\nHaskell source code using Template Haskell.\n\nSee for more\ninformation."; + buildType = "Simple"; + }; + components = { + "library" = { + depends = [ + (hsPkgs."base" or (errorHandler.buildDepError "base")) + (hsPkgs."ghc-boot-th" or (errorHandler.buildDepError "ghc-boot-th")) + (hsPkgs."ghc-prim" or (errorHandler.buildDepError "ghc-prim")) + (hsPkgs."pretty" or (errorHandler.buildDepError "pretty")) + ]; + buildable = true; + }; + }; + } // rec { src = pkgs.lib.mkDefault ./.; } diff --git a/materialized/ghc-boot-packages-nix/ghc983-aarch64/base.nix b/materialized/ghc-boot-packages-nix/ghc983-aarch64/base.nix new file mode 100644 index 0000000000..d918879f6f --- /dev/null +++ b/materialized/ghc-boot-packages-nix/ghc983-aarch64/base.nix @@ -0,0 +1,49 @@ +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: + { + flags = {}; + package = { + specVersion = "3.0"; + identifier = { name = "base"; version = "4.19.2.0"; }; + license = "BSD-3-Clause"; + copyright = ""; + maintainer = "Core Libraries Committee "; + author = ""; + homepage = ""; + url = ""; + synopsis = "Core data structures and operations"; + description = "Haskell's base library provides, among other things, core types (e.g. [Bool](\"Data.Bool\") and [Int](\"Data.Int\")),\ndata structures (e.g. [List](\"Data.List\"), [Tuple](\"Data.Tuple\") and [Maybe](\"Data.Maybe\")),\nthe [Exception](\"Control.Exception\") mechanism, and the [IO](\"System.IO\") & [Concurrency](\"Control.Concurrent\") operations.\nThe \"Prelude\" module, which is imported by default, exposes a curated set of types and functions from other modules.\n\nOther data structures like [Map](https://hackage.haskell.org/package/containers/docs/Data-Map.html),\n[Set](https://hackage.haskell.org/package/containers/docs/Data-Set.html) are available in the [containers](https://hackage.haskell.org/package/containers) library.\nTo work with textual data, use the [text](https://hackage.haskell.org/package/text/docs/Data-Text.html) library."; + buildType = "Configure"; + }; + components = { + "library" = { + depends = [ + (hsPkgs."rts" or (errorHandler.buildDepError "rts")) + (hsPkgs."ghc-prim" or (errorHandler.buildDepError "ghc-prim")) + (hsPkgs."ghc-bignum" or (errorHandler.buildDepError "ghc-bignum")) + ]; + libs = pkgs.lib.optionals (system.isWindows) [ + (pkgs."wsock32" or (errorHandler.sysDepError "wsock32")) + (pkgs."user32" or (errorHandler.sysDepError "user32")) + (pkgs."shell32" or (errorHandler.sysDepError "shell32")) + (pkgs."mingw32" or (errorHandler.sysDepError "mingw32")) + (pkgs."kernel32" or (errorHandler.sysDepError "kernel32")) + (pkgs."advapi32" or (errorHandler.sysDepError "advapi32")) + (pkgs."mingwex" or (errorHandler.sysDepError "mingwex")) + (pkgs."ws2_32" or (errorHandler.sysDepError "ws2_32")) + (pkgs."shlwapi" or (errorHandler.sysDepError "shlwapi")) + (pkgs."ole32" or (errorHandler.sysDepError "ole32")) + (pkgs."rpcrt4" or (errorHandler.sysDepError "rpcrt4")) + (pkgs."ntdll" or (errorHandler.sysDepError "ntdll")) + ]; + buildable = true; + }; + }; + } // rec { src = pkgs.lib.mkDefault ./.; } diff --git a/materialized/ghc-boot-packages-nix/ghc983-aarch64/deriveConstants.nix b/materialized/ghc-boot-packages-nix/ghc983-aarch64/deriveConstants.nix new file mode 100644 index 0000000000..135cdd02f6 --- /dev/null +++ b/materialized/ghc-boot-packages-nix/ghc983-aarch64/deriveConstants.nix @@ -0,0 +1,39 @@ +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: + { + flags = {}; + package = { + specVersion = "1.10"; + identifier = { name = "deriveConstants"; version = "0.1"; }; + license = "BSD-3-Clause"; + copyright = "XXX"; + maintainer = "XXX"; + author = "XXX"; + homepage = ""; + url = ""; + synopsis = "Derive header files containing various constants for the GHC build process"; + description = "This utility is responsible for generating a number of C header files\nneeded during the GHC build process. See @rts/include/ghc.mk@ in the GHC\nbuild system for details."; + buildType = "Simple"; + }; + components = { + exes = { + "deriveConstants" = { + depends = [ + (hsPkgs."base" or (errorHandler.buildDepError "base")) + (hsPkgs."containers" or (errorHandler.buildDepError "containers")) + (hsPkgs."process" or (errorHandler.buildDepError "process")) + (hsPkgs."filepath" or (errorHandler.buildDepError "filepath")) + (hsPkgs."directory" or (errorHandler.buildDepError "directory")) + ]; + buildable = true; + }; + }; + }; + } // rec { src = pkgs.lib.mkDefault ./.; } diff --git a/materialized/ghc-boot-packages-nix/ghc983-aarch64/genprimopcode.nix b/materialized/ghc-boot-packages-nix/ghc983-aarch64/genprimopcode.nix new file mode 100644 index 0000000000..49bbe516ba --- /dev/null +++ b/materialized/ghc-boot-packages-nix/ghc983-aarch64/genprimopcode.nix @@ -0,0 +1,40 @@ +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: + { + flags = { build-tool-depends = true; }; + package = { + specVersion = "2.0"; + identifier = { name = "genprimopcode"; version = "0.1"; }; + license = "BSD-3-Clause"; + copyright = "XXX"; + maintainer = "XXX"; + author = "XXX"; + homepage = ""; + url = ""; + synopsis = "Generates various files implementing GHC's primitive operations."; + description = "This utility reads a textual description of GHC's primitive operations\n(@primops.txt.pp@) and produces a number of outputs. These include,\n\n* the @GHC.Prim@ module included in the @ghc-prim@ package.\n* the @GHC.PrimopWrappers@ module included in the @ghc-prim@ package.\n* an LaTeX document describing the primitive operations."; + buildType = "Simple"; + }; + components = { + exes = { + "genprimopcode" = { + depends = [ + (hsPkgs."base" or (errorHandler.buildDepError "base")) + (hsPkgs."array" or (errorHandler.buildDepError "array")) + ]; + build-tools = pkgs.lib.optionals (flags.build-tool-depends) [ + (hsPkgs.pkgsBuildBuild.alex.components.exes.alex or (pkgs.pkgsBuildBuild.alex or (errorHandler.buildToolDepError "alex:alex"))) + (hsPkgs.pkgsBuildBuild.happy.components.exes.happy or (pkgs.pkgsBuildBuild.happy or (errorHandler.buildToolDepError "happy:happy"))) + ]; + buildable = true; + }; + }; + }; + } // rec { src = pkgs.lib.mkDefault ./.; } diff --git a/materialized/ghc-boot-packages-nix/ghc983-aarch64/ghc-bignum.nix b/materialized/ghc-boot-packages-nix/ghc983-aarch64/ghc-bignum.nix new file mode 100644 index 0000000000..46af6e0e9f --- /dev/null +++ b/materialized/ghc-boot-packages-nix/ghc983-aarch64/ghc-bignum.nix @@ -0,0 +1,37 @@ +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: + { + flags = { native = false; ffi = false; gmp = false; check = false; }; + package = { + specVersion = "2.0"; + identifier = { name = "ghc-bignum"; version = "1.3"; }; + license = "BSD-3-Clause"; + copyright = ""; + maintainer = "libraries@haskell.org"; + author = "Sylvain Henry"; + homepage = ""; + url = ""; + synopsis = "GHC BigNum library"; + description = "This package provides the low-level implementation of the standard\n'BigNat', 'Natural' and 'Integer' types."; + buildType = "Configure"; + }; + components = { + "library" = { + depends = [ + (hsPkgs."ghc-prim" or (errorHandler.buildDepError "ghc-prim")) + ]; + buildable = (if !flags.native && !flags.gmp && !flags.ffi + then false + else true) && (if flags.native && (flags.gmp || flags.ffi) + then false + else true) && (if flags.gmp && flags.ffi then false else true); + }; + }; + } // rec { src = pkgs.lib.mkDefault ./.; } diff --git a/materialized/ghc-boot-packages-nix/ghc983-aarch64/ghc-boot.nix b/materialized/ghc-boot-packages-nix/ghc983-aarch64/ghc-boot.nix new file mode 100644 index 0000000000..276da77ac7 --- /dev/null +++ b/materialized/ghc-boot-packages-nix/ghc983-aarch64/ghc-boot.nix @@ -0,0 +1,46 @@ +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: + { + flags = {}; + package = { + specVersion = "3.0"; + identifier = { name = "ghc-boot"; version = "9.8.3"; }; + license = "BSD-3-Clause"; + copyright = ""; + maintainer = "ghc-devs@haskell.org"; + author = ""; + homepage = ""; + url = ""; + synopsis = "Shared functionality between GHC and its boot libraries"; + description = "This library is shared between GHC, ghc-pkg, and other boot\nlibraries.\n.\nA note about \"GHC.Unit.Database\": it only deals with the subset of\nthe package database that the compiler cares about: modules\npaths etc and not package metadata like description, authors\netc. It is thus not a library interface to ghc-pkg and is *not*\nsuitable for modifying GHC package databases.\n.\nThe package database format and this library are constructed in\nsuch a way that while ghc-pkg depends on Cabal, the GHC library\nand program do not have to depend on Cabal."; + buildType = "Custom"; + setup-depends = [ + (hsPkgs.pkgsBuildBuild.base or (pkgs.pkgsBuildBuild.base or (errorHandler.setupDepError "base"))) + (hsPkgs.pkgsBuildBuild.Cabal or (pkgs.pkgsBuildBuild.Cabal or (errorHandler.setupDepError "Cabal"))) + (hsPkgs.pkgsBuildBuild.directory or (pkgs.pkgsBuildBuild.directory or (errorHandler.setupDepError "directory"))) + (hsPkgs.pkgsBuildBuild.filepath or (pkgs.pkgsBuildBuild.filepath or (errorHandler.setupDepError "filepath"))) + ]; + }; + components = { + "library" = { + depends = [ + (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."directory" or (errorHandler.buildDepError "directory")) + (hsPkgs."filepath" or (errorHandler.buildDepError "filepath")) + (hsPkgs."deepseq" or (errorHandler.buildDepError "deepseq")) + (hsPkgs."ghc-boot-th" or (errorHandler.buildDepError "ghc-boot-th")) + ] ++ pkgs.lib.optional (!system.isWindows) (hsPkgs."unix" or (errorHandler.buildDepError "unix")); + buildable = true; + }; + }; + } // rec { src = pkgs.lib.mkDefault ./.; } diff --git a/materialized/ghc-boot-packages-nix/ghc983-aarch64/ghc-heap.nix b/materialized/ghc-boot-packages-nix/ghc983-aarch64/ghc-heap.nix new file mode 100644 index 0000000000..d85b660a50 --- /dev/null +++ b/materialized/ghc-boot-packages-nix/ghc983-aarch64/ghc-heap.nix @@ -0,0 +1,36 @@ +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: + { + flags = {}; + package = { + specVersion = "3.0"; + identifier = { name = "ghc-heap"; version = "9.8.3"; }; + license = "BSD-3-Clause"; + copyright = ""; + maintainer = "libraries@haskell.org"; + author = ""; + homepage = ""; + url = ""; + synopsis = "Functions for walking GHC's heap"; + description = "This package provides functions for walking the GHC heap data structures\nand retrieving information about those data structures."; + buildType = "Simple"; + }; + components = { + "library" = { + depends = [ + (hsPkgs."base" or (errorHandler.buildDepError "base")) + (hsPkgs."ghc-prim" or (errorHandler.buildDepError "ghc-prim")) + (hsPkgs."rts" or (errorHandler.buildDepError "rts")) + (hsPkgs."containers" or (errorHandler.buildDepError "containers")) + ]; + buildable = true; + }; + }; + } // rec { src = pkgs.lib.mkDefault ./.; } diff --git a/materialized/ghc-boot-packages-nix/ghc983-aarch64/ghc-prim.nix b/materialized/ghc-boot-packages-nix/ghc983-aarch64/ghc-prim.nix new file mode 100644 index 0000000000..546c5704d0 --- /dev/null +++ b/materialized/ghc-boot-packages-nix/ghc983-aarch64/ghc-prim.nix @@ -0,0 +1,47 @@ +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: + { + flags = { need-atomic = false; }; + package = { + specVersion = "2.2"; + identifier = { name = "ghc-prim"; version = "0.11.0"; }; + license = "BSD-3-Clause"; + copyright = ""; + maintainer = "libraries@haskell.org"; + author = ""; + homepage = ""; + url = ""; + synopsis = "GHC primitives"; + description = "This package contains the primitive types and operations supplied by GHC.\nIt is an internal package, only for the use of GHC developers.\nGHC users should not use it! If you do use it then expect\nbreaking changes at any time without warning. You should prefer\nto import @GHC.Exts@ from the @base@ package instead."; + buildType = "Custom"; + setup-depends = [ + (hsPkgs.pkgsBuildBuild.base or (pkgs.pkgsBuildBuild.base or (errorHandler.setupDepError "base"))) + (hsPkgs.pkgsBuildBuild.process or (pkgs.pkgsBuildBuild.process or (errorHandler.setupDepError "process"))) + (hsPkgs.pkgsBuildBuild.filepath or (pkgs.pkgsBuildBuild.filepath or (errorHandler.setupDepError "filepath"))) + (hsPkgs.pkgsBuildBuild.directory or (pkgs.pkgsBuildBuild.directory or (errorHandler.setupDepError "directory"))) + (hsPkgs.pkgsBuildBuild.Cabal or (pkgs.pkgsBuildBuild.Cabal or (errorHandler.setupDepError "Cabal"))) + ]; + }; + components = { + "library" = { + depends = [ (hsPkgs."rts" or (errorHandler.buildDepError "rts")) ]; + libs = (pkgs.lib.optionals (system.isWindows) [ + (pkgs."user32" or (errorHandler.sysDepError "user32")) + (pkgs."mingw32" or (errorHandler.sysDepError "mingw32")) + (pkgs."mingwex" or (errorHandler.sysDepError "mingwex")) + (pkgs."ucrt" or (errorHandler.sysDepError "ucrt")) + ] ++ pkgs.lib.optionals (system.isLinux) [ + (pkgs."c" or (errorHandler.sysDepError "c")) + (pkgs."m" or (errorHandler.sysDepError "m")) + ]) ++ pkgs.lib.optional (flags.need-atomic) (pkgs."atomic" or (errorHandler.sysDepError "atomic")); + buildable = true; + }; + }; + } // rec { src = pkgs.lib.mkDefault ./.; } diff --git a/materialized/ghc-boot-packages-nix/ghc983-aarch64/ghc.nix b/materialized/ghc-boot-packages-nix/ghc983-aarch64/ghc.nix new file mode 100644 index 0000000000..a4a239d30c --- /dev/null +++ b/materialized/ghc-boot-packages-nix/ghc983-aarch64/ghc.nix @@ -0,0 +1,81 @@ +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: + { + flags = { + internal-interpreter = false; + dynamic-system-linker = true; + build-tool-depends = true; + with-libzstd = false; + static-libzstd = false; + hadrian-stage0 = false; + }; + package = { + specVersion = "2.2"; + identifier = { name = "ghc"; version = "9.8.3"; }; + license = "BSD-3-Clause"; + copyright = ""; + maintainer = "glasgow-haskell-users@haskell.org"; + author = "The GHC Team"; + homepage = "http://www.haskell.org/ghc/"; + url = ""; + synopsis = "The GHC API"; + description = "GHC's functionality can be useful for more things than just\ncompiling Haskell programs. Important use cases are programs\nthat analyse (and perhaps transform) Haskell code. Others\ninclude loading Haskell code dynamically in a GHCi-like manner.\nFor this reason, a lot of GHC's functionality is made available\nthrough this package.\n\nSee \nfor more information."; + buildType = "Custom"; + setup-depends = [ + (hsPkgs.pkgsBuildBuild.base or (pkgs.pkgsBuildBuild.base or (errorHandler.setupDepError "base"))) + (hsPkgs.pkgsBuildBuild.Cabal or (pkgs.pkgsBuildBuild.Cabal or (errorHandler.setupDepError "Cabal"))) + (hsPkgs.pkgsBuildBuild.directory or (pkgs.pkgsBuildBuild.directory or (errorHandler.setupDepError "directory"))) + (hsPkgs.pkgsBuildBuild.process or (pkgs.pkgsBuildBuild.process or (errorHandler.setupDepError "process"))) + (hsPkgs.pkgsBuildBuild.filepath or (pkgs.pkgsBuildBuild.filepath or (errorHandler.setupDepError "filepath"))) + (hsPkgs.pkgsBuildBuild.containers or (pkgs.pkgsBuildBuild.containers or (errorHandler.setupDepError "containers"))) + ]; + }; + components = { + "library" = { + depends = [ + (hsPkgs."base" or (errorHandler.buildDepError "base")) + (hsPkgs."deepseq" or (errorHandler.buildDepError "deepseq")) + (hsPkgs."directory" or (errorHandler.buildDepError "directory")) + (hsPkgs."process" or (errorHandler.buildDepError "process")) + (hsPkgs."bytestring" or (errorHandler.buildDepError "bytestring")) + (hsPkgs."binary" or (errorHandler.buildDepError "binary")) + (hsPkgs."time" or (errorHandler.buildDepError "time")) + (hsPkgs."containers" or (errorHandler.buildDepError "containers")) + (hsPkgs."array" or (errorHandler.buildDepError "array")) + (hsPkgs."filepath" or (errorHandler.buildDepError "filepath")) + (hsPkgs."template-haskell" or (errorHandler.buildDepError "template-haskell")) + (hsPkgs."hpc" or (errorHandler.buildDepError "hpc")) + (hsPkgs."transformers" or (errorHandler.buildDepError "transformers")) + (hsPkgs."exceptions" or (errorHandler.buildDepError "exceptions")) + (hsPkgs."semaphore-compat" or (errorHandler.buildDepError "semaphore-compat")) + (hsPkgs."stm" or (errorHandler.buildDepError "stm")) + (hsPkgs."ghc-boot" or (errorHandler.buildDepError "ghc-boot")) + (hsPkgs."ghc-heap" or (errorHandler.buildDepError "ghc-heap")) + (hsPkgs."ghci" or (errorHandler.buildDepError "ghci")) + ] ++ (if system.isWindows + then [ (hsPkgs."Win32" or (errorHandler.buildDepError "Win32")) ] + else [ (hsPkgs."unix" or (errorHandler.buildDepError "unix")) ]); + libs = pkgs.lib.optionals (flags.with-libzstd) (if flags.static-libzstd + then pkgs.lib.optional (!system.isOsx) (pkgs.":libzstd.a" or (errorHandler.sysDepError ":libzstd.a")) + else [ (pkgs."zstd" or (errorHandler.sysDepError "zstd")) ]); + build-tools = pkgs.lib.optionals (flags.build-tool-depends) [ + (hsPkgs.pkgsBuildBuild.alex.components.exes.alex or (pkgs.pkgsBuildBuild.alex or (errorHandler.buildToolDepError "alex:alex"))) + (hsPkgs.pkgsBuildBuild.happy.components.exes.happy or (pkgs.pkgsBuildBuild.happy or (errorHandler.buildToolDepError "happy:happy"))) + (hsPkgs.pkgsBuildBuild.genprimopcode.components.exes.genprimopcode or (pkgs.pkgsBuildBuild.genprimopcode or (errorHandler.buildToolDepError "genprimopcode:genprimopcode"))) + (hsPkgs.pkgsBuildBuild.deriveConstants.components.exes.deriveConstants or (pkgs.pkgsBuildBuild.deriveConstants or (errorHandler.buildToolDepError "deriveConstants:deriveConstants"))) + ]; + buildable = if flags.with-libzstd + then if flags.static-libzstd + then if system.isOsx then false else true + else true + else true; + }; + }; + } // rec { src = pkgs.lib.mkDefault ./.; } diff --git a/materialized/ghc-boot-packages-nix/ghc983-aarch64/ghci.nix b/materialized/ghc-boot-packages-nix/ghc983-aarch64/ghci.nix new file mode 100644 index 0000000000..a7a99f7cb6 --- /dev/null +++ b/materialized/ghc-boot-packages-nix/ghc983-aarch64/ghci.nix @@ -0,0 +1,45 @@ +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: + { + flags = { internal-interpreter = false; }; + package = { + specVersion = "1.10"; + identifier = { name = "ghci"; version = "9.8.3"; }; + license = "BSD-3-Clause"; + copyright = ""; + maintainer = "ghc-devs@haskell.org"; + author = ""; + homepage = ""; + url = ""; + synopsis = "The library supporting GHC's interactive interpreter"; + description = "This library offers interfaces which mediate interactions between the\n@ghci@ interactive shell and @iserv@, GHC's out-of-process interpreter\nbackend."; + buildType = "Simple"; + }; + components = { + "library" = { + depends = [ + (hsPkgs."rts" or (errorHandler.buildDepError "rts")) + (hsPkgs."array" or (errorHandler.buildDepError "array")) + (hsPkgs."base" or (errorHandler.buildDepError "base")) + (hsPkgs."ghc-prim" or (errorHandler.buildDepError "ghc-prim")) + (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."filepath" or (errorHandler.buildDepError "filepath")) + (hsPkgs."ghc-boot" or (errorHandler.buildDepError "ghc-boot")) + (hsPkgs."ghc-heap" or (errorHandler.buildDepError "ghc-heap")) + (hsPkgs."template-haskell" or (errorHandler.buildDepError "template-haskell")) + (hsPkgs."transformers" or (errorHandler.buildDepError "transformers")) + ] ++ pkgs.lib.optional (!system.isWindows) (hsPkgs."unix" or (errorHandler.buildDepError "unix")); + buildable = true; + }; + }; + } // rec { src = pkgs.lib.mkDefault ./.; } diff --git a/materialized/ghc-boot-packages-nix/ghc983-aarch64/hpc.nix b/materialized/ghc-boot-packages-nix/ghc983-aarch64/hpc.nix new file mode 100644 index 0000000000..f6b275cfd1 --- /dev/null +++ b/materialized/ghc-boot-packages-nix/ghc983-aarch64/hpc.nix @@ -0,0 +1,38 @@ +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: + { + flags = {}; + package = { + specVersion = "2.2"; + identifier = { name = "hpc"; version = "0.7.0.0"; }; + license = "BSD-3-Clause"; + copyright = ""; + maintainer = "ghc-devs@haskell.org"; + author = "Andy Gill"; + homepage = ""; + url = ""; + synopsis = "Code Coverage Library for Haskell"; + description = "This package provides the code coverage library for Haskell.\n\nSee for more\ninformation."; + buildType = "Simple"; + }; + components = { + "library" = { + depends = [ + (hsPkgs."base" or (errorHandler.buildDepError "base")) + (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."time" or (errorHandler.buildDepError "time")) + ]; + buildable = true; + }; + }; + } // rec { src = pkgs.lib.mkDefault ./.; } diff --git a/materialized/ghc-boot-packages-nix/ghc983-aarch64/integer-gmp.nix b/materialized/ghc-boot-packages-nix/ghc983-aarch64/integer-gmp.nix new file mode 100644 index 0000000000..94f930e70e --- /dev/null +++ b/materialized/ghc-boot-packages-nix/ghc983-aarch64/integer-gmp.nix @@ -0,0 +1,35 @@ +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: + { + flags = {}; + package = { + specVersion = "2.0"; + identifier = { name = "integer-gmp"; version = "1.1"; }; + license = "BSD-3-Clause"; + copyright = ""; + maintainer = "hvr@gnu.org"; + author = "Herbert Valerio Riedel"; + homepage = "https://www.haskell.org/ghc/"; + url = ""; + synopsis = "Integer library based on GMP"; + description = "This package used to provide an implementation of the standard 'Integer'\ntype based on the\n.\n\nIt is now deprecated in favor of the 'ghc-bignum' package.\n\nIts purpose is to provide backward compatibility for codes directly\ndepending on the `integer-gmp` package."; + buildType = "Simple"; + }; + components = { + "library" = { + depends = [ + (hsPkgs."base" or (errorHandler.buildDepError "base")) + (hsPkgs."ghc-prim" or (errorHandler.buildDepError "ghc-prim")) + (hsPkgs."ghc-bignum" or (errorHandler.buildDepError "ghc-bignum")) + ]; + buildable = true; + }; + }; + } // rec { src = pkgs.lib.mkDefault ./.; } diff --git a/materialized/ghc-boot-packages-nix/ghc983-aarch64/iserv.nix b/materialized/ghc-boot-packages-nix/ghc983-aarch64/iserv.nix new file mode 100644 index 0000000000..297f43290c --- /dev/null +++ b/materialized/ghc-boot-packages-nix/ghc983-aarch64/iserv.nix @@ -0,0 +1,41 @@ +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: + { + flags = {}; + package = { + specVersion = "1.10"; + identifier = { name = "iserv"; version = "9.8.3"; }; + license = "BSD-3-Clause"; + copyright = "XXX"; + maintainer = "XXX"; + author = "XXX"; + homepage = ""; + url = ""; + synopsis = "iserv allows GHC to delegate Template Haskell computations"; + description = "GHC can be provided with a path to the iserv binary with\n@-pgmi=/path/to/iserv-bin@, and will in combination with\n@-fexternal-interpreter@, compile Template Haskell though the\n@iserv-bin@ delegate. This is very similar to how ghcjs has been\ncompiling Template Haskell, by spawning a separate delegate (so\ncalled runner on the javascript vm) and evaluating the splices\nthere."; + buildType = "Simple"; + }; + components = { + exes = { + "iserv" = { + 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."ghci" or (errorHandler.buildDepError "ghci")) + ] ++ pkgs.lib.optional (!system.isWindows) (hsPkgs."unix" or (errorHandler.buildDepError "unix")); + buildable = true; + }; + }; + }; + } // rec { src = pkgs.lib.mkDefault ./.; } diff --git a/materialized/ghc-boot-packages-nix/ghc983-aarch64/remote-iserv.nix b/materialized/ghc-boot-packages-nix/ghc983-aarch64/remote-iserv.nix new file mode 100644 index 0000000000..bfce58fa33 --- /dev/null +++ b/materialized/ghc-boot-packages-nix/ghc983-aarch64/remote-iserv.nix @@ -0,0 +1,36 @@ +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: + { + flags = {}; + package = { + specVersion = "1.10"; + identifier = { name = "remote-iserv"; version = "9.8.3"; }; + license = "BSD-3-Clause"; + copyright = "XXX"; + maintainer = "Moritz Angermann "; + author = "Moritz Angermann "; + homepage = ""; + url = ""; + synopsis = "iserv allows GHC to delegate Template Haskell computations"; + description = "This is a very simple remote runner for iserv, to be used together\nwith iserv-proxy. The foundamental idea is that this this wrapper\nstarts running the GHCi server on a given port to which iserv-proxy will\nthen connect."; + buildType = "Simple"; + }; + components = { + exes = { + "remote-iserv" = { + depends = [ + (hsPkgs."base" or (errorHandler.buildDepError "base")) + (hsPkgs."ghci" or (errorHandler.buildDepError "ghci")) + ]; + buildable = true; + }; + }; + }; + } // rec { src = pkgs.lib.mkDefault ./.; } diff --git a/materialized/ghc-boot-packages-nix/ghc983-aarch64/template-haskell.nix b/materialized/ghc-boot-packages-nix/ghc983-aarch64/template-haskell.nix new file mode 100644 index 0000000000..3e26556434 --- /dev/null +++ b/materialized/ghc-boot-packages-nix/ghc983-aarch64/template-haskell.nix @@ -0,0 +1,36 @@ +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: + { + flags = {}; + package = { + specVersion = "1.10"; + identifier = { name = "template-haskell"; version = "2.21.0.0"; }; + license = "BSD-3-Clause"; + copyright = ""; + maintainer = "libraries@haskell.org"; + author = ""; + homepage = ""; + url = ""; + synopsis = "Support library for Template Haskell"; + description = "This package provides modules containing facilities for manipulating\nHaskell source code using Template Haskell.\n\nSee for more\ninformation."; + buildType = "Simple"; + }; + components = { + "library" = { + depends = [ + (hsPkgs."base" or (errorHandler.buildDepError "base")) + (hsPkgs."ghc-boot-th" or (errorHandler.buildDepError "ghc-boot-th")) + (hsPkgs."ghc-prim" or (errorHandler.buildDepError "ghc-prim")) + (hsPkgs."pretty" or (errorHandler.buildDepError "pretty")) + ]; + buildable = true; + }; + }; + } // rec { src = pkgs.lib.mkDefault ./.; } diff --git a/materialized/ghc-boot-packages-nix/ghc983-ghcjs/base.nix b/materialized/ghc-boot-packages-nix/ghc983-ghcjs/base.nix new file mode 100644 index 0000000000..d918879f6f --- /dev/null +++ b/materialized/ghc-boot-packages-nix/ghc983-ghcjs/base.nix @@ -0,0 +1,49 @@ +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: + { + flags = {}; + package = { + specVersion = "3.0"; + identifier = { name = "base"; version = "4.19.2.0"; }; + license = "BSD-3-Clause"; + copyright = ""; + maintainer = "Core Libraries Committee "; + author = ""; + homepage = ""; + url = ""; + synopsis = "Core data structures and operations"; + description = "Haskell's base library provides, among other things, core types (e.g. [Bool](\"Data.Bool\") and [Int](\"Data.Int\")),\ndata structures (e.g. [List](\"Data.List\"), [Tuple](\"Data.Tuple\") and [Maybe](\"Data.Maybe\")),\nthe [Exception](\"Control.Exception\") mechanism, and the [IO](\"System.IO\") & [Concurrency](\"Control.Concurrent\") operations.\nThe \"Prelude\" module, which is imported by default, exposes a curated set of types and functions from other modules.\n\nOther data structures like [Map](https://hackage.haskell.org/package/containers/docs/Data-Map.html),\n[Set](https://hackage.haskell.org/package/containers/docs/Data-Set.html) are available in the [containers](https://hackage.haskell.org/package/containers) library.\nTo work with textual data, use the [text](https://hackage.haskell.org/package/text/docs/Data-Text.html) library."; + buildType = "Configure"; + }; + components = { + "library" = { + depends = [ + (hsPkgs."rts" or (errorHandler.buildDepError "rts")) + (hsPkgs."ghc-prim" or (errorHandler.buildDepError "ghc-prim")) + (hsPkgs."ghc-bignum" or (errorHandler.buildDepError "ghc-bignum")) + ]; + libs = pkgs.lib.optionals (system.isWindows) [ + (pkgs."wsock32" or (errorHandler.sysDepError "wsock32")) + (pkgs."user32" or (errorHandler.sysDepError "user32")) + (pkgs."shell32" or (errorHandler.sysDepError "shell32")) + (pkgs."mingw32" or (errorHandler.sysDepError "mingw32")) + (pkgs."kernel32" or (errorHandler.sysDepError "kernel32")) + (pkgs."advapi32" or (errorHandler.sysDepError "advapi32")) + (pkgs."mingwex" or (errorHandler.sysDepError "mingwex")) + (pkgs."ws2_32" or (errorHandler.sysDepError "ws2_32")) + (pkgs."shlwapi" or (errorHandler.sysDepError "shlwapi")) + (pkgs."ole32" or (errorHandler.sysDepError "ole32")) + (pkgs."rpcrt4" or (errorHandler.sysDepError "rpcrt4")) + (pkgs."ntdll" or (errorHandler.sysDepError "ntdll")) + ]; + buildable = true; + }; + }; + } // rec { src = pkgs.lib.mkDefault ./.; } diff --git a/materialized/ghc-boot-packages-nix/ghc983-ghcjs/deriveConstants.nix b/materialized/ghc-boot-packages-nix/ghc983-ghcjs/deriveConstants.nix new file mode 100644 index 0000000000..135cdd02f6 --- /dev/null +++ b/materialized/ghc-boot-packages-nix/ghc983-ghcjs/deriveConstants.nix @@ -0,0 +1,39 @@ +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: + { + flags = {}; + package = { + specVersion = "1.10"; + identifier = { name = "deriveConstants"; version = "0.1"; }; + license = "BSD-3-Clause"; + copyright = "XXX"; + maintainer = "XXX"; + author = "XXX"; + homepage = ""; + url = ""; + synopsis = "Derive header files containing various constants for the GHC build process"; + description = "This utility is responsible for generating a number of C header files\nneeded during the GHC build process. See @rts/include/ghc.mk@ in the GHC\nbuild system for details."; + buildType = "Simple"; + }; + components = { + exes = { + "deriveConstants" = { + depends = [ + (hsPkgs."base" or (errorHandler.buildDepError "base")) + (hsPkgs."containers" or (errorHandler.buildDepError "containers")) + (hsPkgs."process" or (errorHandler.buildDepError "process")) + (hsPkgs."filepath" or (errorHandler.buildDepError "filepath")) + (hsPkgs."directory" or (errorHandler.buildDepError "directory")) + ]; + buildable = true; + }; + }; + }; + } // rec { src = pkgs.lib.mkDefault ./.; } diff --git a/materialized/ghc-boot-packages-nix/ghc983-ghcjs/genprimopcode.nix b/materialized/ghc-boot-packages-nix/ghc983-ghcjs/genprimopcode.nix new file mode 100644 index 0000000000..49bbe516ba --- /dev/null +++ b/materialized/ghc-boot-packages-nix/ghc983-ghcjs/genprimopcode.nix @@ -0,0 +1,40 @@ +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: + { + flags = { build-tool-depends = true; }; + package = { + specVersion = "2.0"; + identifier = { name = "genprimopcode"; version = "0.1"; }; + license = "BSD-3-Clause"; + copyright = "XXX"; + maintainer = "XXX"; + author = "XXX"; + homepage = ""; + url = ""; + synopsis = "Generates various files implementing GHC's primitive operations."; + description = "This utility reads a textual description of GHC's primitive operations\n(@primops.txt.pp@) and produces a number of outputs. These include,\n\n* the @GHC.Prim@ module included in the @ghc-prim@ package.\n* the @GHC.PrimopWrappers@ module included in the @ghc-prim@ package.\n* an LaTeX document describing the primitive operations."; + buildType = "Simple"; + }; + components = { + exes = { + "genprimopcode" = { + depends = [ + (hsPkgs."base" or (errorHandler.buildDepError "base")) + (hsPkgs."array" or (errorHandler.buildDepError "array")) + ]; + build-tools = pkgs.lib.optionals (flags.build-tool-depends) [ + (hsPkgs.pkgsBuildBuild.alex.components.exes.alex or (pkgs.pkgsBuildBuild.alex or (errorHandler.buildToolDepError "alex:alex"))) + (hsPkgs.pkgsBuildBuild.happy.components.exes.happy or (pkgs.pkgsBuildBuild.happy or (errorHandler.buildToolDepError "happy:happy"))) + ]; + buildable = true; + }; + }; + }; + } // rec { src = pkgs.lib.mkDefault ./.; } diff --git a/materialized/ghc-boot-packages-nix/ghc983-ghcjs/ghc-bignum.nix b/materialized/ghc-boot-packages-nix/ghc983-ghcjs/ghc-bignum.nix new file mode 100644 index 0000000000..46af6e0e9f --- /dev/null +++ b/materialized/ghc-boot-packages-nix/ghc983-ghcjs/ghc-bignum.nix @@ -0,0 +1,37 @@ +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: + { + flags = { native = false; ffi = false; gmp = false; check = false; }; + package = { + specVersion = "2.0"; + identifier = { name = "ghc-bignum"; version = "1.3"; }; + license = "BSD-3-Clause"; + copyright = ""; + maintainer = "libraries@haskell.org"; + author = "Sylvain Henry"; + homepage = ""; + url = ""; + synopsis = "GHC BigNum library"; + description = "This package provides the low-level implementation of the standard\n'BigNat', 'Natural' and 'Integer' types."; + buildType = "Configure"; + }; + components = { + "library" = { + depends = [ + (hsPkgs."ghc-prim" or (errorHandler.buildDepError "ghc-prim")) + ]; + buildable = (if !flags.native && !flags.gmp && !flags.ffi + then false + else true) && (if flags.native && (flags.gmp || flags.ffi) + then false + else true) && (if flags.gmp && flags.ffi then false else true); + }; + }; + } // rec { src = pkgs.lib.mkDefault ./.; } diff --git a/materialized/ghc-boot-packages-nix/ghc983-ghcjs/ghc-boot.nix b/materialized/ghc-boot-packages-nix/ghc983-ghcjs/ghc-boot.nix new file mode 100644 index 0000000000..276da77ac7 --- /dev/null +++ b/materialized/ghc-boot-packages-nix/ghc983-ghcjs/ghc-boot.nix @@ -0,0 +1,46 @@ +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: + { + flags = {}; + package = { + specVersion = "3.0"; + identifier = { name = "ghc-boot"; version = "9.8.3"; }; + license = "BSD-3-Clause"; + copyright = ""; + maintainer = "ghc-devs@haskell.org"; + author = ""; + homepage = ""; + url = ""; + synopsis = "Shared functionality between GHC and its boot libraries"; + description = "This library is shared between GHC, ghc-pkg, and other boot\nlibraries.\n.\nA note about \"GHC.Unit.Database\": it only deals with the subset of\nthe package database that the compiler cares about: modules\npaths etc and not package metadata like description, authors\netc. It is thus not a library interface to ghc-pkg and is *not*\nsuitable for modifying GHC package databases.\n.\nThe package database format and this library are constructed in\nsuch a way that while ghc-pkg depends on Cabal, the GHC library\nand program do not have to depend on Cabal."; + buildType = "Custom"; + setup-depends = [ + (hsPkgs.pkgsBuildBuild.base or (pkgs.pkgsBuildBuild.base or (errorHandler.setupDepError "base"))) + (hsPkgs.pkgsBuildBuild.Cabal or (pkgs.pkgsBuildBuild.Cabal or (errorHandler.setupDepError "Cabal"))) + (hsPkgs.pkgsBuildBuild.directory or (pkgs.pkgsBuildBuild.directory or (errorHandler.setupDepError "directory"))) + (hsPkgs.pkgsBuildBuild.filepath or (pkgs.pkgsBuildBuild.filepath or (errorHandler.setupDepError "filepath"))) + ]; + }; + components = { + "library" = { + depends = [ + (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."directory" or (errorHandler.buildDepError "directory")) + (hsPkgs."filepath" or (errorHandler.buildDepError "filepath")) + (hsPkgs."deepseq" or (errorHandler.buildDepError "deepseq")) + (hsPkgs."ghc-boot-th" or (errorHandler.buildDepError "ghc-boot-th")) + ] ++ pkgs.lib.optional (!system.isWindows) (hsPkgs."unix" or (errorHandler.buildDepError "unix")); + buildable = true; + }; + }; + } // rec { src = pkgs.lib.mkDefault ./.; } diff --git a/materialized/ghc-boot-packages-nix/ghc983-ghcjs/ghc-heap.nix b/materialized/ghc-boot-packages-nix/ghc983-ghcjs/ghc-heap.nix new file mode 100644 index 0000000000..d85b660a50 --- /dev/null +++ b/materialized/ghc-boot-packages-nix/ghc983-ghcjs/ghc-heap.nix @@ -0,0 +1,36 @@ +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: + { + flags = {}; + package = { + specVersion = "3.0"; + identifier = { name = "ghc-heap"; version = "9.8.3"; }; + license = "BSD-3-Clause"; + copyright = ""; + maintainer = "libraries@haskell.org"; + author = ""; + homepage = ""; + url = ""; + synopsis = "Functions for walking GHC's heap"; + description = "This package provides functions for walking the GHC heap data structures\nand retrieving information about those data structures."; + buildType = "Simple"; + }; + components = { + "library" = { + depends = [ + (hsPkgs."base" or (errorHandler.buildDepError "base")) + (hsPkgs."ghc-prim" or (errorHandler.buildDepError "ghc-prim")) + (hsPkgs."rts" or (errorHandler.buildDepError "rts")) + (hsPkgs."containers" or (errorHandler.buildDepError "containers")) + ]; + buildable = true; + }; + }; + } // rec { src = pkgs.lib.mkDefault ./.; } diff --git a/materialized/ghc-boot-packages-nix/ghc983-ghcjs/ghc-prim.nix b/materialized/ghc-boot-packages-nix/ghc983-ghcjs/ghc-prim.nix new file mode 100644 index 0000000000..546c5704d0 --- /dev/null +++ b/materialized/ghc-boot-packages-nix/ghc983-ghcjs/ghc-prim.nix @@ -0,0 +1,47 @@ +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: + { + flags = { need-atomic = false; }; + package = { + specVersion = "2.2"; + identifier = { name = "ghc-prim"; version = "0.11.0"; }; + license = "BSD-3-Clause"; + copyright = ""; + maintainer = "libraries@haskell.org"; + author = ""; + homepage = ""; + url = ""; + synopsis = "GHC primitives"; + description = "This package contains the primitive types and operations supplied by GHC.\nIt is an internal package, only for the use of GHC developers.\nGHC users should not use it! If you do use it then expect\nbreaking changes at any time without warning. You should prefer\nto import @GHC.Exts@ from the @base@ package instead."; + buildType = "Custom"; + setup-depends = [ + (hsPkgs.pkgsBuildBuild.base or (pkgs.pkgsBuildBuild.base or (errorHandler.setupDepError "base"))) + (hsPkgs.pkgsBuildBuild.process or (pkgs.pkgsBuildBuild.process or (errorHandler.setupDepError "process"))) + (hsPkgs.pkgsBuildBuild.filepath or (pkgs.pkgsBuildBuild.filepath or (errorHandler.setupDepError "filepath"))) + (hsPkgs.pkgsBuildBuild.directory or (pkgs.pkgsBuildBuild.directory or (errorHandler.setupDepError "directory"))) + (hsPkgs.pkgsBuildBuild.Cabal or (pkgs.pkgsBuildBuild.Cabal or (errorHandler.setupDepError "Cabal"))) + ]; + }; + components = { + "library" = { + depends = [ (hsPkgs."rts" or (errorHandler.buildDepError "rts")) ]; + libs = (pkgs.lib.optionals (system.isWindows) [ + (pkgs."user32" or (errorHandler.sysDepError "user32")) + (pkgs."mingw32" or (errorHandler.sysDepError "mingw32")) + (pkgs."mingwex" or (errorHandler.sysDepError "mingwex")) + (pkgs."ucrt" or (errorHandler.sysDepError "ucrt")) + ] ++ pkgs.lib.optionals (system.isLinux) [ + (pkgs."c" or (errorHandler.sysDepError "c")) + (pkgs."m" or (errorHandler.sysDepError "m")) + ]) ++ pkgs.lib.optional (flags.need-atomic) (pkgs."atomic" or (errorHandler.sysDepError "atomic")); + buildable = true; + }; + }; + } // rec { src = pkgs.lib.mkDefault ./.; } diff --git a/materialized/ghc-boot-packages-nix/ghc983-ghcjs/ghc.nix b/materialized/ghc-boot-packages-nix/ghc983-ghcjs/ghc.nix new file mode 100644 index 0000000000..a4a239d30c --- /dev/null +++ b/materialized/ghc-boot-packages-nix/ghc983-ghcjs/ghc.nix @@ -0,0 +1,81 @@ +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: + { + flags = { + internal-interpreter = false; + dynamic-system-linker = true; + build-tool-depends = true; + with-libzstd = false; + static-libzstd = false; + hadrian-stage0 = false; + }; + package = { + specVersion = "2.2"; + identifier = { name = "ghc"; version = "9.8.3"; }; + license = "BSD-3-Clause"; + copyright = ""; + maintainer = "glasgow-haskell-users@haskell.org"; + author = "The GHC Team"; + homepage = "http://www.haskell.org/ghc/"; + url = ""; + synopsis = "The GHC API"; + description = "GHC's functionality can be useful for more things than just\ncompiling Haskell programs. Important use cases are programs\nthat analyse (and perhaps transform) Haskell code. Others\ninclude loading Haskell code dynamically in a GHCi-like manner.\nFor this reason, a lot of GHC's functionality is made available\nthrough this package.\n\nSee \nfor more information."; + buildType = "Custom"; + setup-depends = [ + (hsPkgs.pkgsBuildBuild.base or (pkgs.pkgsBuildBuild.base or (errorHandler.setupDepError "base"))) + (hsPkgs.pkgsBuildBuild.Cabal or (pkgs.pkgsBuildBuild.Cabal or (errorHandler.setupDepError "Cabal"))) + (hsPkgs.pkgsBuildBuild.directory or (pkgs.pkgsBuildBuild.directory or (errorHandler.setupDepError "directory"))) + (hsPkgs.pkgsBuildBuild.process or (pkgs.pkgsBuildBuild.process or (errorHandler.setupDepError "process"))) + (hsPkgs.pkgsBuildBuild.filepath or (pkgs.pkgsBuildBuild.filepath or (errorHandler.setupDepError "filepath"))) + (hsPkgs.pkgsBuildBuild.containers or (pkgs.pkgsBuildBuild.containers or (errorHandler.setupDepError "containers"))) + ]; + }; + components = { + "library" = { + depends = [ + (hsPkgs."base" or (errorHandler.buildDepError "base")) + (hsPkgs."deepseq" or (errorHandler.buildDepError "deepseq")) + (hsPkgs."directory" or (errorHandler.buildDepError "directory")) + (hsPkgs."process" or (errorHandler.buildDepError "process")) + (hsPkgs."bytestring" or (errorHandler.buildDepError "bytestring")) + (hsPkgs."binary" or (errorHandler.buildDepError "binary")) + (hsPkgs."time" or (errorHandler.buildDepError "time")) + (hsPkgs."containers" or (errorHandler.buildDepError "containers")) + (hsPkgs."array" or (errorHandler.buildDepError "array")) + (hsPkgs."filepath" or (errorHandler.buildDepError "filepath")) + (hsPkgs."template-haskell" or (errorHandler.buildDepError "template-haskell")) + (hsPkgs."hpc" or (errorHandler.buildDepError "hpc")) + (hsPkgs."transformers" or (errorHandler.buildDepError "transformers")) + (hsPkgs."exceptions" or (errorHandler.buildDepError "exceptions")) + (hsPkgs."semaphore-compat" or (errorHandler.buildDepError "semaphore-compat")) + (hsPkgs."stm" or (errorHandler.buildDepError "stm")) + (hsPkgs."ghc-boot" or (errorHandler.buildDepError "ghc-boot")) + (hsPkgs."ghc-heap" or (errorHandler.buildDepError "ghc-heap")) + (hsPkgs."ghci" or (errorHandler.buildDepError "ghci")) + ] ++ (if system.isWindows + then [ (hsPkgs."Win32" or (errorHandler.buildDepError "Win32")) ] + else [ (hsPkgs."unix" or (errorHandler.buildDepError "unix")) ]); + libs = pkgs.lib.optionals (flags.with-libzstd) (if flags.static-libzstd + then pkgs.lib.optional (!system.isOsx) (pkgs.":libzstd.a" or (errorHandler.sysDepError ":libzstd.a")) + else [ (pkgs."zstd" or (errorHandler.sysDepError "zstd")) ]); + build-tools = pkgs.lib.optionals (flags.build-tool-depends) [ + (hsPkgs.pkgsBuildBuild.alex.components.exes.alex or (pkgs.pkgsBuildBuild.alex or (errorHandler.buildToolDepError "alex:alex"))) + (hsPkgs.pkgsBuildBuild.happy.components.exes.happy or (pkgs.pkgsBuildBuild.happy or (errorHandler.buildToolDepError "happy:happy"))) + (hsPkgs.pkgsBuildBuild.genprimopcode.components.exes.genprimopcode or (pkgs.pkgsBuildBuild.genprimopcode or (errorHandler.buildToolDepError "genprimopcode:genprimopcode"))) + (hsPkgs.pkgsBuildBuild.deriveConstants.components.exes.deriveConstants or (pkgs.pkgsBuildBuild.deriveConstants or (errorHandler.buildToolDepError "deriveConstants:deriveConstants"))) + ]; + buildable = if flags.with-libzstd + then if flags.static-libzstd + then if system.isOsx then false else true + else true + else true; + }; + }; + } // rec { src = pkgs.lib.mkDefault ./.; } diff --git a/materialized/ghc-boot-packages-nix/ghc983-ghcjs/ghci.nix b/materialized/ghc-boot-packages-nix/ghc983-ghcjs/ghci.nix new file mode 100644 index 0000000000..a7a99f7cb6 --- /dev/null +++ b/materialized/ghc-boot-packages-nix/ghc983-ghcjs/ghci.nix @@ -0,0 +1,45 @@ +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: + { + flags = { internal-interpreter = false; }; + package = { + specVersion = "1.10"; + identifier = { name = "ghci"; version = "9.8.3"; }; + license = "BSD-3-Clause"; + copyright = ""; + maintainer = "ghc-devs@haskell.org"; + author = ""; + homepage = ""; + url = ""; + synopsis = "The library supporting GHC's interactive interpreter"; + description = "This library offers interfaces which mediate interactions between the\n@ghci@ interactive shell and @iserv@, GHC's out-of-process interpreter\nbackend."; + buildType = "Simple"; + }; + components = { + "library" = { + depends = [ + (hsPkgs."rts" or (errorHandler.buildDepError "rts")) + (hsPkgs."array" or (errorHandler.buildDepError "array")) + (hsPkgs."base" or (errorHandler.buildDepError "base")) + (hsPkgs."ghc-prim" or (errorHandler.buildDepError "ghc-prim")) + (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."filepath" or (errorHandler.buildDepError "filepath")) + (hsPkgs."ghc-boot" or (errorHandler.buildDepError "ghc-boot")) + (hsPkgs."ghc-heap" or (errorHandler.buildDepError "ghc-heap")) + (hsPkgs."template-haskell" or (errorHandler.buildDepError "template-haskell")) + (hsPkgs."transformers" or (errorHandler.buildDepError "transformers")) + ] ++ pkgs.lib.optional (!system.isWindows) (hsPkgs."unix" or (errorHandler.buildDepError "unix")); + buildable = true; + }; + }; + } // rec { src = pkgs.lib.mkDefault ./.; } diff --git a/materialized/ghc-boot-packages-nix/ghc983-ghcjs/hpc.nix b/materialized/ghc-boot-packages-nix/ghc983-ghcjs/hpc.nix new file mode 100644 index 0000000000..f6b275cfd1 --- /dev/null +++ b/materialized/ghc-boot-packages-nix/ghc983-ghcjs/hpc.nix @@ -0,0 +1,38 @@ +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: + { + flags = {}; + package = { + specVersion = "2.2"; + identifier = { name = "hpc"; version = "0.7.0.0"; }; + license = "BSD-3-Clause"; + copyright = ""; + maintainer = "ghc-devs@haskell.org"; + author = "Andy Gill"; + homepage = ""; + url = ""; + synopsis = "Code Coverage Library for Haskell"; + description = "This package provides the code coverage library for Haskell.\n\nSee for more\ninformation."; + buildType = "Simple"; + }; + components = { + "library" = { + depends = [ + (hsPkgs."base" or (errorHandler.buildDepError "base")) + (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."time" or (errorHandler.buildDepError "time")) + ]; + buildable = true; + }; + }; + } // rec { src = pkgs.lib.mkDefault ./.; } diff --git a/materialized/ghc-boot-packages-nix/ghc983-ghcjs/integer-gmp.nix b/materialized/ghc-boot-packages-nix/ghc983-ghcjs/integer-gmp.nix new file mode 100644 index 0000000000..94f930e70e --- /dev/null +++ b/materialized/ghc-boot-packages-nix/ghc983-ghcjs/integer-gmp.nix @@ -0,0 +1,35 @@ +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: + { + flags = {}; + package = { + specVersion = "2.0"; + identifier = { name = "integer-gmp"; version = "1.1"; }; + license = "BSD-3-Clause"; + copyright = ""; + maintainer = "hvr@gnu.org"; + author = "Herbert Valerio Riedel"; + homepage = "https://www.haskell.org/ghc/"; + url = ""; + synopsis = "Integer library based on GMP"; + description = "This package used to provide an implementation of the standard 'Integer'\ntype based on the\n.\n\nIt is now deprecated in favor of the 'ghc-bignum' package.\n\nIts purpose is to provide backward compatibility for codes directly\ndepending on the `integer-gmp` package."; + buildType = "Simple"; + }; + components = { + "library" = { + depends = [ + (hsPkgs."base" or (errorHandler.buildDepError "base")) + (hsPkgs."ghc-prim" or (errorHandler.buildDepError "ghc-prim")) + (hsPkgs."ghc-bignum" or (errorHandler.buildDepError "ghc-bignum")) + ]; + buildable = true; + }; + }; + } // rec { src = pkgs.lib.mkDefault ./.; } diff --git a/materialized/ghc-boot-packages-nix/ghc983-ghcjs/iserv.nix b/materialized/ghc-boot-packages-nix/ghc983-ghcjs/iserv.nix new file mode 100644 index 0000000000..297f43290c --- /dev/null +++ b/materialized/ghc-boot-packages-nix/ghc983-ghcjs/iserv.nix @@ -0,0 +1,41 @@ +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: + { + flags = {}; + package = { + specVersion = "1.10"; + identifier = { name = "iserv"; version = "9.8.3"; }; + license = "BSD-3-Clause"; + copyright = "XXX"; + maintainer = "XXX"; + author = "XXX"; + homepage = ""; + url = ""; + synopsis = "iserv allows GHC to delegate Template Haskell computations"; + description = "GHC can be provided with a path to the iserv binary with\n@-pgmi=/path/to/iserv-bin@, and will in combination with\n@-fexternal-interpreter@, compile Template Haskell though the\n@iserv-bin@ delegate. This is very similar to how ghcjs has been\ncompiling Template Haskell, by spawning a separate delegate (so\ncalled runner on the javascript vm) and evaluating the splices\nthere."; + buildType = "Simple"; + }; + components = { + exes = { + "iserv" = { + 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."ghci" or (errorHandler.buildDepError "ghci")) + ] ++ pkgs.lib.optional (!system.isWindows) (hsPkgs."unix" or (errorHandler.buildDepError "unix")); + buildable = true; + }; + }; + }; + } // rec { src = pkgs.lib.mkDefault ./.; } diff --git a/materialized/ghc-boot-packages-nix/ghc983-ghcjs/remote-iserv.nix b/materialized/ghc-boot-packages-nix/ghc983-ghcjs/remote-iserv.nix new file mode 100644 index 0000000000..bfce58fa33 --- /dev/null +++ b/materialized/ghc-boot-packages-nix/ghc983-ghcjs/remote-iserv.nix @@ -0,0 +1,36 @@ +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: + { + flags = {}; + package = { + specVersion = "1.10"; + identifier = { name = "remote-iserv"; version = "9.8.3"; }; + license = "BSD-3-Clause"; + copyright = "XXX"; + maintainer = "Moritz Angermann "; + author = "Moritz Angermann "; + homepage = ""; + url = ""; + synopsis = "iserv allows GHC to delegate Template Haskell computations"; + description = "This is a very simple remote runner for iserv, to be used together\nwith iserv-proxy. The foundamental idea is that this this wrapper\nstarts running the GHCi server on a given port to which iserv-proxy will\nthen connect."; + buildType = "Simple"; + }; + components = { + exes = { + "remote-iserv" = { + depends = [ + (hsPkgs."base" or (errorHandler.buildDepError "base")) + (hsPkgs."ghci" or (errorHandler.buildDepError "ghci")) + ]; + buildable = true; + }; + }; + }; + } // rec { src = pkgs.lib.mkDefault ./.; } diff --git a/materialized/ghc-boot-packages-nix/ghc983-ghcjs/template-haskell.nix b/materialized/ghc-boot-packages-nix/ghc983-ghcjs/template-haskell.nix new file mode 100644 index 0000000000..3e26556434 --- /dev/null +++ b/materialized/ghc-boot-packages-nix/ghc983-ghcjs/template-haskell.nix @@ -0,0 +1,36 @@ +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: + { + flags = {}; + package = { + specVersion = "1.10"; + identifier = { name = "template-haskell"; version = "2.21.0.0"; }; + license = "BSD-3-Clause"; + copyright = ""; + maintainer = "libraries@haskell.org"; + author = ""; + homepage = ""; + url = ""; + synopsis = "Support library for Template Haskell"; + description = "This package provides modules containing facilities for manipulating\nHaskell source code using Template Haskell.\n\nSee for more\ninformation."; + buildType = "Simple"; + }; + components = { + "library" = { + depends = [ + (hsPkgs."base" or (errorHandler.buildDepError "base")) + (hsPkgs."ghc-boot-th" or (errorHandler.buildDepError "ghc-boot-th")) + (hsPkgs."ghc-prim" or (errorHandler.buildDepError "ghc-prim")) + (hsPkgs."pretty" or (errorHandler.buildDepError "pretty")) + ]; + buildable = true; + }; + }; + } // rec { src = pkgs.lib.mkDefault ./.; } diff --git a/materialized/ghc-boot-packages-nix/ghc983/base.nix b/materialized/ghc-boot-packages-nix/ghc983/base.nix new file mode 100644 index 0000000000..d918879f6f --- /dev/null +++ b/materialized/ghc-boot-packages-nix/ghc983/base.nix @@ -0,0 +1,49 @@ +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: + { + flags = {}; + package = { + specVersion = "3.0"; + identifier = { name = "base"; version = "4.19.2.0"; }; + license = "BSD-3-Clause"; + copyright = ""; + maintainer = "Core Libraries Committee "; + author = ""; + homepage = ""; + url = ""; + synopsis = "Core data structures and operations"; + description = "Haskell's base library provides, among other things, core types (e.g. [Bool](\"Data.Bool\") and [Int](\"Data.Int\")),\ndata structures (e.g. [List](\"Data.List\"), [Tuple](\"Data.Tuple\") and [Maybe](\"Data.Maybe\")),\nthe [Exception](\"Control.Exception\") mechanism, and the [IO](\"System.IO\") & [Concurrency](\"Control.Concurrent\") operations.\nThe \"Prelude\" module, which is imported by default, exposes a curated set of types and functions from other modules.\n\nOther data structures like [Map](https://hackage.haskell.org/package/containers/docs/Data-Map.html),\n[Set](https://hackage.haskell.org/package/containers/docs/Data-Set.html) are available in the [containers](https://hackage.haskell.org/package/containers) library.\nTo work with textual data, use the [text](https://hackage.haskell.org/package/text/docs/Data-Text.html) library."; + buildType = "Configure"; + }; + components = { + "library" = { + depends = [ + (hsPkgs."rts" or (errorHandler.buildDepError "rts")) + (hsPkgs."ghc-prim" or (errorHandler.buildDepError "ghc-prim")) + (hsPkgs."ghc-bignum" or (errorHandler.buildDepError "ghc-bignum")) + ]; + libs = pkgs.lib.optionals (system.isWindows) [ + (pkgs."wsock32" or (errorHandler.sysDepError "wsock32")) + (pkgs."user32" or (errorHandler.sysDepError "user32")) + (pkgs."shell32" or (errorHandler.sysDepError "shell32")) + (pkgs."mingw32" or (errorHandler.sysDepError "mingw32")) + (pkgs."kernel32" or (errorHandler.sysDepError "kernel32")) + (pkgs."advapi32" or (errorHandler.sysDepError "advapi32")) + (pkgs."mingwex" or (errorHandler.sysDepError "mingwex")) + (pkgs."ws2_32" or (errorHandler.sysDepError "ws2_32")) + (pkgs."shlwapi" or (errorHandler.sysDepError "shlwapi")) + (pkgs."ole32" or (errorHandler.sysDepError "ole32")) + (pkgs."rpcrt4" or (errorHandler.sysDepError "rpcrt4")) + (pkgs."ntdll" or (errorHandler.sysDepError "ntdll")) + ]; + buildable = true; + }; + }; + } // rec { src = pkgs.lib.mkDefault ./.; } diff --git a/materialized/ghc-boot-packages-nix/ghc983/deriveConstants.nix b/materialized/ghc-boot-packages-nix/ghc983/deriveConstants.nix new file mode 100644 index 0000000000..135cdd02f6 --- /dev/null +++ b/materialized/ghc-boot-packages-nix/ghc983/deriveConstants.nix @@ -0,0 +1,39 @@ +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: + { + flags = {}; + package = { + specVersion = "1.10"; + identifier = { name = "deriveConstants"; version = "0.1"; }; + license = "BSD-3-Clause"; + copyright = "XXX"; + maintainer = "XXX"; + author = "XXX"; + homepage = ""; + url = ""; + synopsis = "Derive header files containing various constants for the GHC build process"; + description = "This utility is responsible for generating a number of C header files\nneeded during the GHC build process. See @rts/include/ghc.mk@ in the GHC\nbuild system for details."; + buildType = "Simple"; + }; + components = { + exes = { + "deriveConstants" = { + depends = [ + (hsPkgs."base" or (errorHandler.buildDepError "base")) + (hsPkgs."containers" or (errorHandler.buildDepError "containers")) + (hsPkgs."process" or (errorHandler.buildDepError "process")) + (hsPkgs."filepath" or (errorHandler.buildDepError "filepath")) + (hsPkgs."directory" or (errorHandler.buildDepError "directory")) + ]; + buildable = true; + }; + }; + }; + } // rec { src = pkgs.lib.mkDefault ./.; } diff --git a/materialized/ghc-boot-packages-nix/ghc983/genprimopcode.nix b/materialized/ghc-boot-packages-nix/ghc983/genprimopcode.nix new file mode 100644 index 0000000000..49bbe516ba --- /dev/null +++ b/materialized/ghc-boot-packages-nix/ghc983/genprimopcode.nix @@ -0,0 +1,40 @@ +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: + { + flags = { build-tool-depends = true; }; + package = { + specVersion = "2.0"; + identifier = { name = "genprimopcode"; version = "0.1"; }; + license = "BSD-3-Clause"; + copyright = "XXX"; + maintainer = "XXX"; + author = "XXX"; + homepage = ""; + url = ""; + synopsis = "Generates various files implementing GHC's primitive operations."; + description = "This utility reads a textual description of GHC's primitive operations\n(@primops.txt.pp@) and produces a number of outputs. These include,\n\n* the @GHC.Prim@ module included in the @ghc-prim@ package.\n* the @GHC.PrimopWrappers@ module included in the @ghc-prim@ package.\n* an LaTeX document describing the primitive operations."; + buildType = "Simple"; + }; + components = { + exes = { + "genprimopcode" = { + depends = [ + (hsPkgs."base" or (errorHandler.buildDepError "base")) + (hsPkgs."array" or (errorHandler.buildDepError "array")) + ]; + build-tools = pkgs.lib.optionals (flags.build-tool-depends) [ + (hsPkgs.pkgsBuildBuild.alex.components.exes.alex or (pkgs.pkgsBuildBuild.alex or (errorHandler.buildToolDepError "alex:alex"))) + (hsPkgs.pkgsBuildBuild.happy.components.exes.happy or (pkgs.pkgsBuildBuild.happy or (errorHandler.buildToolDepError "happy:happy"))) + ]; + buildable = true; + }; + }; + }; + } // rec { src = pkgs.lib.mkDefault ./.; } diff --git a/materialized/ghc-boot-packages-nix/ghc983/ghc-bignum.nix b/materialized/ghc-boot-packages-nix/ghc983/ghc-bignum.nix new file mode 100644 index 0000000000..46af6e0e9f --- /dev/null +++ b/materialized/ghc-boot-packages-nix/ghc983/ghc-bignum.nix @@ -0,0 +1,37 @@ +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: + { + flags = { native = false; ffi = false; gmp = false; check = false; }; + package = { + specVersion = "2.0"; + identifier = { name = "ghc-bignum"; version = "1.3"; }; + license = "BSD-3-Clause"; + copyright = ""; + maintainer = "libraries@haskell.org"; + author = "Sylvain Henry"; + homepage = ""; + url = ""; + synopsis = "GHC BigNum library"; + description = "This package provides the low-level implementation of the standard\n'BigNat', 'Natural' and 'Integer' types."; + buildType = "Configure"; + }; + components = { + "library" = { + depends = [ + (hsPkgs."ghc-prim" or (errorHandler.buildDepError "ghc-prim")) + ]; + buildable = (if !flags.native && !flags.gmp && !flags.ffi + then false + else true) && (if flags.native && (flags.gmp || flags.ffi) + then false + else true) && (if flags.gmp && flags.ffi then false else true); + }; + }; + } // rec { src = pkgs.lib.mkDefault ./.; } diff --git a/materialized/ghc-boot-packages-nix/ghc983/ghc-boot.nix b/materialized/ghc-boot-packages-nix/ghc983/ghc-boot.nix new file mode 100644 index 0000000000..276da77ac7 --- /dev/null +++ b/materialized/ghc-boot-packages-nix/ghc983/ghc-boot.nix @@ -0,0 +1,46 @@ +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: + { + flags = {}; + package = { + specVersion = "3.0"; + identifier = { name = "ghc-boot"; version = "9.8.3"; }; + license = "BSD-3-Clause"; + copyright = ""; + maintainer = "ghc-devs@haskell.org"; + author = ""; + homepage = ""; + url = ""; + synopsis = "Shared functionality between GHC and its boot libraries"; + description = "This library is shared between GHC, ghc-pkg, and other boot\nlibraries.\n.\nA note about \"GHC.Unit.Database\": it only deals with the subset of\nthe package database that the compiler cares about: modules\npaths etc and not package metadata like description, authors\netc. It is thus not a library interface to ghc-pkg and is *not*\nsuitable for modifying GHC package databases.\n.\nThe package database format and this library are constructed in\nsuch a way that while ghc-pkg depends on Cabal, the GHC library\nand program do not have to depend on Cabal."; + buildType = "Custom"; + setup-depends = [ + (hsPkgs.pkgsBuildBuild.base or (pkgs.pkgsBuildBuild.base or (errorHandler.setupDepError "base"))) + (hsPkgs.pkgsBuildBuild.Cabal or (pkgs.pkgsBuildBuild.Cabal or (errorHandler.setupDepError "Cabal"))) + (hsPkgs.pkgsBuildBuild.directory or (pkgs.pkgsBuildBuild.directory or (errorHandler.setupDepError "directory"))) + (hsPkgs.pkgsBuildBuild.filepath or (pkgs.pkgsBuildBuild.filepath or (errorHandler.setupDepError "filepath"))) + ]; + }; + components = { + "library" = { + depends = [ + (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."directory" or (errorHandler.buildDepError "directory")) + (hsPkgs."filepath" or (errorHandler.buildDepError "filepath")) + (hsPkgs."deepseq" or (errorHandler.buildDepError "deepseq")) + (hsPkgs."ghc-boot-th" or (errorHandler.buildDepError "ghc-boot-th")) + ] ++ pkgs.lib.optional (!system.isWindows) (hsPkgs."unix" or (errorHandler.buildDepError "unix")); + buildable = true; + }; + }; + } // rec { src = pkgs.lib.mkDefault ./.; } diff --git a/materialized/ghc-boot-packages-nix/ghc983/ghc-heap.nix b/materialized/ghc-boot-packages-nix/ghc983/ghc-heap.nix new file mode 100644 index 0000000000..d85b660a50 --- /dev/null +++ b/materialized/ghc-boot-packages-nix/ghc983/ghc-heap.nix @@ -0,0 +1,36 @@ +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: + { + flags = {}; + package = { + specVersion = "3.0"; + identifier = { name = "ghc-heap"; version = "9.8.3"; }; + license = "BSD-3-Clause"; + copyright = ""; + maintainer = "libraries@haskell.org"; + author = ""; + homepage = ""; + url = ""; + synopsis = "Functions for walking GHC's heap"; + description = "This package provides functions for walking the GHC heap data structures\nand retrieving information about those data structures."; + buildType = "Simple"; + }; + components = { + "library" = { + depends = [ + (hsPkgs."base" or (errorHandler.buildDepError "base")) + (hsPkgs."ghc-prim" or (errorHandler.buildDepError "ghc-prim")) + (hsPkgs."rts" or (errorHandler.buildDepError "rts")) + (hsPkgs."containers" or (errorHandler.buildDepError "containers")) + ]; + buildable = true; + }; + }; + } // rec { src = pkgs.lib.mkDefault ./.; } diff --git a/materialized/ghc-boot-packages-nix/ghc983/ghc-prim.nix b/materialized/ghc-boot-packages-nix/ghc983/ghc-prim.nix new file mode 100644 index 0000000000..546c5704d0 --- /dev/null +++ b/materialized/ghc-boot-packages-nix/ghc983/ghc-prim.nix @@ -0,0 +1,47 @@ +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: + { + flags = { need-atomic = false; }; + package = { + specVersion = "2.2"; + identifier = { name = "ghc-prim"; version = "0.11.0"; }; + license = "BSD-3-Clause"; + copyright = ""; + maintainer = "libraries@haskell.org"; + author = ""; + homepage = ""; + url = ""; + synopsis = "GHC primitives"; + description = "This package contains the primitive types and operations supplied by GHC.\nIt is an internal package, only for the use of GHC developers.\nGHC users should not use it! If you do use it then expect\nbreaking changes at any time without warning. You should prefer\nto import @GHC.Exts@ from the @base@ package instead."; + buildType = "Custom"; + setup-depends = [ + (hsPkgs.pkgsBuildBuild.base or (pkgs.pkgsBuildBuild.base or (errorHandler.setupDepError "base"))) + (hsPkgs.pkgsBuildBuild.process or (pkgs.pkgsBuildBuild.process or (errorHandler.setupDepError "process"))) + (hsPkgs.pkgsBuildBuild.filepath or (pkgs.pkgsBuildBuild.filepath or (errorHandler.setupDepError "filepath"))) + (hsPkgs.pkgsBuildBuild.directory or (pkgs.pkgsBuildBuild.directory or (errorHandler.setupDepError "directory"))) + (hsPkgs.pkgsBuildBuild.Cabal or (pkgs.pkgsBuildBuild.Cabal or (errorHandler.setupDepError "Cabal"))) + ]; + }; + components = { + "library" = { + depends = [ (hsPkgs."rts" or (errorHandler.buildDepError "rts")) ]; + libs = (pkgs.lib.optionals (system.isWindows) [ + (pkgs."user32" or (errorHandler.sysDepError "user32")) + (pkgs."mingw32" or (errorHandler.sysDepError "mingw32")) + (pkgs."mingwex" or (errorHandler.sysDepError "mingwex")) + (pkgs."ucrt" or (errorHandler.sysDepError "ucrt")) + ] ++ pkgs.lib.optionals (system.isLinux) [ + (pkgs."c" or (errorHandler.sysDepError "c")) + (pkgs."m" or (errorHandler.sysDepError "m")) + ]) ++ pkgs.lib.optional (flags.need-atomic) (pkgs."atomic" or (errorHandler.sysDepError "atomic")); + buildable = true; + }; + }; + } // rec { src = pkgs.lib.mkDefault ./.; } diff --git a/materialized/ghc-boot-packages-nix/ghc983/ghc.nix b/materialized/ghc-boot-packages-nix/ghc983/ghc.nix new file mode 100644 index 0000000000..a4a239d30c --- /dev/null +++ b/materialized/ghc-boot-packages-nix/ghc983/ghc.nix @@ -0,0 +1,81 @@ +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: + { + flags = { + internal-interpreter = false; + dynamic-system-linker = true; + build-tool-depends = true; + with-libzstd = false; + static-libzstd = false; + hadrian-stage0 = false; + }; + package = { + specVersion = "2.2"; + identifier = { name = "ghc"; version = "9.8.3"; }; + license = "BSD-3-Clause"; + copyright = ""; + maintainer = "glasgow-haskell-users@haskell.org"; + author = "The GHC Team"; + homepage = "http://www.haskell.org/ghc/"; + url = ""; + synopsis = "The GHC API"; + description = "GHC's functionality can be useful for more things than just\ncompiling Haskell programs. Important use cases are programs\nthat analyse (and perhaps transform) Haskell code. Others\ninclude loading Haskell code dynamically in a GHCi-like manner.\nFor this reason, a lot of GHC's functionality is made available\nthrough this package.\n\nSee \nfor more information."; + buildType = "Custom"; + setup-depends = [ + (hsPkgs.pkgsBuildBuild.base or (pkgs.pkgsBuildBuild.base or (errorHandler.setupDepError "base"))) + (hsPkgs.pkgsBuildBuild.Cabal or (pkgs.pkgsBuildBuild.Cabal or (errorHandler.setupDepError "Cabal"))) + (hsPkgs.pkgsBuildBuild.directory or (pkgs.pkgsBuildBuild.directory or (errorHandler.setupDepError "directory"))) + (hsPkgs.pkgsBuildBuild.process or (pkgs.pkgsBuildBuild.process or (errorHandler.setupDepError "process"))) + (hsPkgs.pkgsBuildBuild.filepath or (pkgs.pkgsBuildBuild.filepath or (errorHandler.setupDepError "filepath"))) + (hsPkgs.pkgsBuildBuild.containers or (pkgs.pkgsBuildBuild.containers or (errorHandler.setupDepError "containers"))) + ]; + }; + components = { + "library" = { + depends = [ + (hsPkgs."base" or (errorHandler.buildDepError "base")) + (hsPkgs."deepseq" or (errorHandler.buildDepError "deepseq")) + (hsPkgs."directory" or (errorHandler.buildDepError "directory")) + (hsPkgs."process" or (errorHandler.buildDepError "process")) + (hsPkgs."bytestring" or (errorHandler.buildDepError "bytestring")) + (hsPkgs."binary" or (errorHandler.buildDepError "binary")) + (hsPkgs."time" or (errorHandler.buildDepError "time")) + (hsPkgs."containers" or (errorHandler.buildDepError "containers")) + (hsPkgs."array" or (errorHandler.buildDepError "array")) + (hsPkgs."filepath" or (errorHandler.buildDepError "filepath")) + (hsPkgs."template-haskell" or (errorHandler.buildDepError "template-haskell")) + (hsPkgs."hpc" or (errorHandler.buildDepError "hpc")) + (hsPkgs."transformers" or (errorHandler.buildDepError "transformers")) + (hsPkgs."exceptions" or (errorHandler.buildDepError "exceptions")) + (hsPkgs."semaphore-compat" or (errorHandler.buildDepError "semaphore-compat")) + (hsPkgs."stm" or (errorHandler.buildDepError "stm")) + (hsPkgs."ghc-boot" or (errorHandler.buildDepError "ghc-boot")) + (hsPkgs."ghc-heap" or (errorHandler.buildDepError "ghc-heap")) + (hsPkgs."ghci" or (errorHandler.buildDepError "ghci")) + ] ++ (if system.isWindows + then [ (hsPkgs."Win32" or (errorHandler.buildDepError "Win32")) ] + else [ (hsPkgs."unix" or (errorHandler.buildDepError "unix")) ]); + libs = pkgs.lib.optionals (flags.with-libzstd) (if flags.static-libzstd + then pkgs.lib.optional (!system.isOsx) (pkgs.":libzstd.a" or (errorHandler.sysDepError ":libzstd.a")) + else [ (pkgs."zstd" or (errorHandler.sysDepError "zstd")) ]); + build-tools = pkgs.lib.optionals (flags.build-tool-depends) [ + (hsPkgs.pkgsBuildBuild.alex.components.exes.alex or (pkgs.pkgsBuildBuild.alex or (errorHandler.buildToolDepError "alex:alex"))) + (hsPkgs.pkgsBuildBuild.happy.components.exes.happy or (pkgs.pkgsBuildBuild.happy or (errorHandler.buildToolDepError "happy:happy"))) + (hsPkgs.pkgsBuildBuild.genprimopcode.components.exes.genprimopcode or (pkgs.pkgsBuildBuild.genprimopcode or (errorHandler.buildToolDepError "genprimopcode:genprimopcode"))) + (hsPkgs.pkgsBuildBuild.deriveConstants.components.exes.deriveConstants or (pkgs.pkgsBuildBuild.deriveConstants or (errorHandler.buildToolDepError "deriveConstants:deriveConstants"))) + ]; + buildable = if flags.with-libzstd + then if flags.static-libzstd + then if system.isOsx then false else true + else true + else true; + }; + }; + } // rec { src = pkgs.lib.mkDefault ./.; } diff --git a/materialized/ghc-boot-packages-nix/ghc983/ghci.nix b/materialized/ghc-boot-packages-nix/ghc983/ghci.nix new file mode 100644 index 0000000000..a7a99f7cb6 --- /dev/null +++ b/materialized/ghc-boot-packages-nix/ghc983/ghci.nix @@ -0,0 +1,45 @@ +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: + { + flags = { internal-interpreter = false; }; + package = { + specVersion = "1.10"; + identifier = { name = "ghci"; version = "9.8.3"; }; + license = "BSD-3-Clause"; + copyright = ""; + maintainer = "ghc-devs@haskell.org"; + author = ""; + homepage = ""; + url = ""; + synopsis = "The library supporting GHC's interactive interpreter"; + description = "This library offers interfaces which mediate interactions between the\n@ghci@ interactive shell and @iserv@, GHC's out-of-process interpreter\nbackend."; + buildType = "Simple"; + }; + components = { + "library" = { + depends = [ + (hsPkgs."rts" or (errorHandler.buildDepError "rts")) + (hsPkgs."array" or (errorHandler.buildDepError "array")) + (hsPkgs."base" or (errorHandler.buildDepError "base")) + (hsPkgs."ghc-prim" or (errorHandler.buildDepError "ghc-prim")) + (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."filepath" or (errorHandler.buildDepError "filepath")) + (hsPkgs."ghc-boot" or (errorHandler.buildDepError "ghc-boot")) + (hsPkgs."ghc-heap" or (errorHandler.buildDepError "ghc-heap")) + (hsPkgs."template-haskell" or (errorHandler.buildDepError "template-haskell")) + (hsPkgs."transformers" or (errorHandler.buildDepError "transformers")) + ] ++ pkgs.lib.optional (!system.isWindows) (hsPkgs."unix" or (errorHandler.buildDepError "unix")); + buildable = true; + }; + }; + } // rec { src = pkgs.lib.mkDefault ./.; } diff --git a/materialized/ghc-boot-packages-nix/ghc983/hpc.nix b/materialized/ghc-boot-packages-nix/ghc983/hpc.nix new file mode 100644 index 0000000000..f6b275cfd1 --- /dev/null +++ b/materialized/ghc-boot-packages-nix/ghc983/hpc.nix @@ -0,0 +1,38 @@ +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: + { + flags = {}; + package = { + specVersion = "2.2"; + identifier = { name = "hpc"; version = "0.7.0.0"; }; + license = "BSD-3-Clause"; + copyright = ""; + maintainer = "ghc-devs@haskell.org"; + author = "Andy Gill"; + homepage = ""; + url = ""; + synopsis = "Code Coverage Library for Haskell"; + description = "This package provides the code coverage library for Haskell.\n\nSee for more\ninformation."; + buildType = "Simple"; + }; + components = { + "library" = { + depends = [ + (hsPkgs."base" or (errorHandler.buildDepError "base")) + (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."time" or (errorHandler.buildDepError "time")) + ]; + buildable = true; + }; + }; + } // rec { src = pkgs.lib.mkDefault ./.; } diff --git a/materialized/ghc-boot-packages-nix/ghc983/integer-gmp.nix b/materialized/ghc-boot-packages-nix/ghc983/integer-gmp.nix new file mode 100644 index 0000000000..94f930e70e --- /dev/null +++ b/materialized/ghc-boot-packages-nix/ghc983/integer-gmp.nix @@ -0,0 +1,35 @@ +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: + { + flags = {}; + package = { + specVersion = "2.0"; + identifier = { name = "integer-gmp"; version = "1.1"; }; + license = "BSD-3-Clause"; + copyright = ""; + maintainer = "hvr@gnu.org"; + author = "Herbert Valerio Riedel"; + homepage = "https://www.haskell.org/ghc/"; + url = ""; + synopsis = "Integer library based on GMP"; + description = "This package used to provide an implementation of the standard 'Integer'\ntype based on the\n.\n\nIt is now deprecated in favor of the 'ghc-bignum' package.\n\nIts purpose is to provide backward compatibility for codes directly\ndepending on the `integer-gmp` package."; + buildType = "Simple"; + }; + components = { + "library" = { + depends = [ + (hsPkgs."base" or (errorHandler.buildDepError "base")) + (hsPkgs."ghc-prim" or (errorHandler.buildDepError "ghc-prim")) + (hsPkgs."ghc-bignum" or (errorHandler.buildDepError "ghc-bignum")) + ]; + buildable = true; + }; + }; + } // rec { src = pkgs.lib.mkDefault ./.; } diff --git a/materialized/ghc-boot-packages-nix/ghc983/iserv.nix b/materialized/ghc-boot-packages-nix/ghc983/iserv.nix new file mode 100644 index 0000000000..297f43290c --- /dev/null +++ b/materialized/ghc-boot-packages-nix/ghc983/iserv.nix @@ -0,0 +1,41 @@ +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: + { + flags = {}; + package = { + specVersion = "1.10"; + identifier = { name = "iserv"; version = "9.8.3"; }; + license = "BSD-3-Clause"; + copyright = "XXX"; + maintainer = "XXX"; + author = "XXX"; + homepage = ""; + url = ""; + synopsis = "iserv allows GHC to delegate Template Haskell computations"; + description = "GHC can be provided with a path to the iserv binary with\n@-pgmi=/path/to/iserv-bin@, and will in combination with\n@-fexternal-interpreter@, compile Template Haskell though the\n@iserv-bin@ delegate. This is very similar to how ghcjs has been\ncompiling Template Haskell, by spawning a separate delegate (so\ncalled runner on the javascript vm) and evaluating the splices\nthere."; + buildType = "Simple"; + }; + components = { + exes = { + "iserv" = { + 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."ghci" or (errorHandler.buildDepError "ghci")) + ] ++ pkgs.lib.optional (!system.isWindows) (hsPkgs."unix" or (errorHandler.buildDepError "unix")); + buildable = true; + }; + }; + }; + } // rec { src = pkgs.lib.mkDefault ./.; } diff --git a/materialized/ghc-boot-packages-nix/ghc983/remote-iserv.nix b/materialized/ghc-boot-packages-nix/ghc983/remote-iserv.nix new file mode 100644 index 0000000000..bfce58fa33 --- /dev/null +++ b/materialized/ghc-boot-packages-nix/ghc983/remote-iserv.nix @@ -0,0 +1,36 @@ +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: + { + flags = {}; + package = { + specVersion = "1.10"; + identifier = { name = "remote-iserv"; version = "9.8.3"; }; + license = "BSD-3-Clause"; + copyright = "XXX"; + maintainer = "Moritz Angermann "; + author = "Moritz Angermann "; + homepage = ""; + url = ""; + synopsis = "iserv allows GHC to delegate Template Haskell computations"; + description = "This is a very simple remote runner for iserv, to be used together\nwith iserv-proxy. The foundamental idea is that this this wrapper\nstarts running the GHCi server on a given port to which iserv-proxy will\nthen connect."; + buildType = "Simple"; + }; + components = { + exes = { + "remote-iserv" = { + depends = [ + (hsPkgs."base" or (errorHandler.buildDepError "base")) + (hsPkgs."ghci" or (errorHandler.buildDepError "ghci")) + ]; + buildable = true; + }; + }; + }; + } // rec { src = pkgs.lib.mkDefault ./.; } diff --git a/materialized/ghc-boot-packages-nix/ghc983/template-haskell.nix b/materialized/ghc-boot-packages-nix/ghc983/template-haskell.nix new file mode 100644 index 0000000000..3e26556434 --- /dev/null +++ b/materialized/ghc-boot-packages-nix/ghc983/template-haskell.nix @@ -0,0 +1,36 @@ +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: + { + flags = {}; + package = { + specVersion = "1.10"; + identifier = { name = "template-haskell"; version = "2.21.0.0"; }; + license = "BSD-3-Clause"; + copyright = ""; + maintainer = "libraries@haskell.org"; + author = ""; + homepage = ""; + url = ""; + synopsis = "Support library for Template Haskell"; + description = "This package provides modules containing facilities for manipulating\nHaskell source code using Template Haskell.\n\nSee for more\ninformation."; + buildType = "Simple"; + }; + components = { + "library" = { + depends = [ + (hsPkgs."base" or (errorHandler.buildDepError "base")) + (hsPkgs."ghc-boot-th" or (errorHandler.buildDepError "ghc-boot-th")) + (hsPkgs."ghc-prim" or (errorHandler.buildDepError "ghc-prim")) + (hsPkgs."pretty" or (errorHandler.buildDepError "pretty")) + ]; + buildable = true; + }; + }; + } // rec { src = pkgs.lib.mkDefault ./.; } diff --git a/materialized/ghc-boot-packages-nix/ghc983llvm-aarch64/base.nix b/materialized/ghc-boot-packages-nix/ghc983llvm-aarch64/base.nix new file mode 100644 index 0000000000..d918879f6f --- /dev/null +++ b/materialized/ghc-boot-packages-nix/ghc983llvm-aarch64/base.nix @@ -0,0 +1,49 @@ +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: + { + flags = {}; + package = { + specVersion = "3.0"; + identifier = { name = "base"; version = "4.19.2.0"; }; + license = "BSD-3-Clause"; + copyright = ""; + maintainer = "Core Libraries Committee "; + author = ""; + homepage = ""; + url = ""; + synopsis = "Core data structures and operations"; + description = "Haskell's base library provides, among other things, core types (e.g. [Bool](\"Data.Bool\") and [Int](\"Data.Int\")),\ndata structures (e.g. [List](\"Data.List\"), [Tuple](\"Data.Tuple\") and [Maybe](\"Data.Maybe\")),\nthe [Exception](\"Control.Exception\") mechanism, and the [IO](\"System.IO\") & [Concurrency](\"Control.Concurrent\") operations.\nThe \"Prelude\" module, which is imported by default, exposes a curated set of types and functions from other modules.\n\nOther data structures like [Map](https://hackage.haskell.org/package/containers/docs/Data-Map.html),\n[Set](https://hackage.haskell.org/package/containers/docs/Data-Set.html) are available in the [containers](https://hackage.haskell.org/package/containers) library.\nTo work with textual data, use the [text](https://hackage.haskell.org/package/text/docs/Data-Text.html) library."; + buildType = "Configure"; + }; + components = { + "library" = { + depends = [ + (hsPkgs."rts" or (errorHandler.buildDepError "rts")) + (hsPkgs."ghc-prim" or (errorHandler.buildDepError "ghc-prim")) + (hsPkgs."ghc-bignum" or (errorHandler.buildDepError "ghc-bignum")) + ]; + libs = pkgs.lib.optionals (system.isWindows) [ + (pkgs."wsock32" or (errorHandler.sysDepError "wsock32")) + (pkgs."user32" or (errorHandler.sysDepError "user32")) + (pkgs."shell32" or (errorHandler.sysDepError "shell32")) + (pkgs."mingw32" or (errorHandler.sysDepError "mingw32")) + (pkgs."kernel32" or (errorHandler.sysDepError "kernel32")) + (pkgs."advapi32" or (errorHandler.sysDepError "advapi32")) + (pkgs."mingwex" or (errorHandler.sysDepError "mingwex")) + (pkgs."ws2_32" or (errorHandler.sysDepError "ws2_32")) + (pkgs."shlwapi" or (errorHandler.sysDepError "shlwapi")) + (pkgs."ole32" or (errorHandler.sysDepError "ole32")) + (pkgs."rpcrt4" or (errorHandler.sysDepError "rpcrt4")) + (pkgs."ntdll" or (errorHandler.sysDepError "ntdll")) + ]; + buildable = true; + }; + }; + } // rec { src = pkgs.lib.mkDefault ./.; } diff --git a/materialized/ghc-boot-packages-nix/ghc983llvm-aarch64/deriveConstants.nix b/materialized/ghc-boot-packages-nix/ghc983llvm-aarch64/deriveConstants.nix new file mode 100644 index 0000000000..135cdd02f6 --- /dev/null +++ b/materialized/ghc-boot-packages-nix/ghc983llvm-aarch64/deriveConstants.nix @@ -0,0 +1,39 @@ +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: + { + flags = {}; + package = { + specVersion = "1.10"; + identifier = { name = "deriveConstants"; version = "0.1"; }; + license = "BSD-3-Clause"; + copyright = "XXX"; + maintainer = "XXX"; + author = "XXX"; + homepage = ""; + url = ""; + synopsis = "Derive header files containing various constants for the GHC build process"; + description = "This utility is responsible for generating a number of C header files\nneeded during the GHC build process. See @rts/include/ghc.mk@ in the GHC\nbuild system for details."; + buildType = "Simple"; + }; + components = { + exes = { + "deriveConstants" = { + depends = [ + (hsPkgs."base" or (errorHandler.buildDepError "base")) + (hsPkgs."containers" or (errorHandler.buildDepError "containers")) + (hsPkgs."process" or (errorHandler.buildDepError "process")) + (hsPkgs."filepath" or (errorHandler.buildDepError "filepath")) + (hsPkgs."directory" or (errorHandler.buildDepError "directory")) + ]; + buildable = true; + }; + }; + }; + } // rec { src = pkgs.lib.mkDefault ./.; } diff --git a/materialized/ghc-boot-packages-nix/ghc983llvm-aarch64/genprimopcode.nix b/materialized/ghc-boot-packages-nix/ghc983llvm-aarch64/genprimopcode.nix new file mode 100644 index 0000000000..49bbe516ba --- /dev/null +++ b/materialized/ghc-boot-packages-nix/ghc983llvm-aarch64/genprimopcode.nix @@ -0,0 +1,40 @@ +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: + { + flags = { build-tool-depends = true; }; + package = { + specVersion = "2.0"; + identifier = { name = "genprimopcode"; version = "0.1"; }; + license = "BSD-3-Clause"; + copyright = "XXX"; + maintainer = "XXX"; + author = "XXX"; + homepage = ""; + url = ""; + synopsis = "Generates various files implementing GHC's primitive operations."; + description = "This utility reads a textual description of GHC's primitive operations\n(@primops.txt.pp@) and produces a number of outputs. These include,\n\n* the @GHC.Prim@ module included in the @ghc-prim@ package.\n* the @GHC.PrimopWrappers@ module included in the @ghc-prim@ package.\n* an LaTeX document describing the primitive operations."; + buildType = "Simple"; + }; + components = { + exes = { + "genprimopcode" = { + depends = [ + (hsPkgs."base" or (errorHandler.buildDepError "base")) + (hsPkgs."array" or (errorHandler.buildDepError "array")) + ]; + build-tools = pkgs.lib.optionals (flags.build-tool-depends) [ + (hsPkgs.pkgsBuildBuild.alex.components.exes.alex or (pkgs.pkgsBuildBuild.alex or (errorHandler.buildToolDepError "alex:alex"))) + (hsPkgs.pkgsBuildBuild.happy.components.exes.happy or (pkgs.pkgsBuildBuild.happy or (errorHandler.buildToolDepError "happy:happy"))) + ]; + buildable = true; + }; + }; + }; + } // rec { src = pkgs.lib.mkDefault ./.; } diff --git a/materialized/ghc-boot-packages-nix/ghc983llvm-aarch64/ghc-bignum.nix b/materialized/ghc-boot-packages-nix/ghc983llvm-aarch64/ghc-bignum.nix new file mode 100644 index 0000000000..46af6e0e9f --- /dev/null +++ b/materialized/ghc-boot-packages-nix/ghc983llvm-aarch64/ghc-bignum.nix @@ -0,0 +1,37 @@ +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: + { + flags = { native = false; ffi = false; gmp = false; check = false; }; + package = { + specVersion = "2.0"; + identifier = { name = "ghc-bignum"; version = "1.3"; }; + license = "BSD-3-Clause"; + copyright = ""; + maintainer = "libraries@haskell.org"; + author = "Sylvain Henry"; + homepage = ""; + url = ""; + synopsis = "GHC BigNum library"; + description = "This package provides the low-level implementation of the standard\n'BigNat', 'Natural' and 'Integer' types."; + buildType = "Configure"; + }; + components = { + "library" = { + depends = [ + (hsPkgs."ghc-prim" or (errorHandler.buildDepError "ghc-prim")) + ]; + buildable = (if !flags.native && !flags.gmp && !flags.ffi + then false + else true) && (if flags.native && (flags.gmp || flags.ffi) + then false + else true) && (if flags.gmp && flags.ffi then false else true); + }; + }; + } // rec { src = pkgs.lib.mkDefault ./.; } diff --git a/materialized/ghc-boot-packages-nix/ghc983llvm-aarch64/ghc-boot.nix b/materialized/ghc-boot-packages-nix/ghc983llvm-aarch64/ghc-boot.nix new file mode 100644 index 0000000000..276da77ac7 --- /dev/null +++ b/materialized/ghc-boot-packages-nix/ghc983llvm-aarch64/ghc-boot.nix @@ -0,0 +1,46 @@ +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: + { + flags = {}; + package = { + specVersion = "3.0"; + identifier = { name = "ghc-boot"; version = "9.8.3"; }; + license = "BSD-3-Clause"; + copyright = ""; + maintainer = "ghc-devs@haskell.org"; + author = ""; + homepage = ""; + url = ""; + synopsis = "Shared functionality between GHC and its boot libraries"; + description = "This library is shared between GHC, ghc-pkg, and other boot\nlibraries.\n.\nA note about \"GHC.Unit.Database\": it only deals with the subset of\nthe package database that the compiler cares about: modules\npaths etc and not package metadata like description, authors\netc. It is thus not a library interface to ghc-pkg and is *not*\nsuitable for modifying GHC package databases.\n.\nThe package database format and this library are constructed in\nsuch a way that while ghc-pkg depends on Cabal, the GHC library\nand program do not have to depend on Cabal."; + buildType = "Custom"; + setup-depends = [ + (hsPkgs.pkgsBuildBuild.base or (pkgs.pkgsBuildBuild.base or (errorHandler.setupDepError "base"))) + (hsPkgs.pkgsBuildBuild.Cabal or (pkgs.pkgsBuildBuild.Cabal or (errorHandler.setupDepError "Cabal"))) + (hsPkgs.pkgsBuildBuild.directory or (pkgs.pkgsBuildBuild.directory or (errorHandler.setupDepError "directory"))) + (hsPkgs.pkgsBuildBuild.filepath or (pkgs.pkgsBuildBuild.filepath or (errorHandler.setupDepError "filepath"))) + ]; + }; + components = { + "library" = { + depends = [ + (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."directory" or (errorHandler.buildDepError "directory")) + (hsPkgs."filepath" or (errorHandler.buildDepError "filepath")) + (hsPkgs."deepseq" or (errorHandler.buildDepError "deepseq")) + (hsPkgs."ghc-boot-th" or (errorHandler.buildDepError "ghc-boot-th")) + ] ++ pkgs.lib.optional (!system.isWindows) (hsPkgs."unix" or (errorHandler.buildDepError "unix")); + buildable = true; + }; + }; + } // rec { src = pkgs.lib.mkDefault ./.; } diff --git a/materialized/ghc-boot-packages-nix/ghc983llvm-aarch64/ghc-heap.nix b/materialized/ghc-boot-packages-nix/ghc983llvm-aarch64/ghc-heap.nix new file mode 100644 index 0000000000..d85b660a50 --- /dev/null +++ b/materialized/ghc-boot-packages-nix/ghc983llvm-aarch64/ghc-heap.nix @@ -0,0 +1,36 @@ +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: + { + flags = {}; + package = { + specVersion = "3.0"; + identifier = { name = "ghc-heap"; version = "9.8.3"; }; + license = "BSD-3-Clause"; + copyright = ""; + maintainer = "libraries@haskell.org"; + author = ""; + homepage = ""; + url = ""; + synopsis = "Functions for walking GHC's heap"; + description = "This package provides functions for walking the GHC heap data structures\nand retrieving information about those data structures."; + buildType = "Simple"; + }; + components = { + "library" = { + depends = [ + (hsPkgs."base" or (errorHandler.buildDepError "base")) + (hsPkgs."ghc-prim" or (errorHandler.buildDepError "ghc-prim")) + (hsPkgs."rts" or (errorHandler.buildDepError "rts")) + (hsPkgs."containers" or (errorHandler.buildDepError "containers")) + ]; + buildable = true; + }; + }; + } // rec { src = pkgs.lib.mkDefault ./.; } diff --git a/materialized/ghc-boot-packages-nix/ghc983llvm-aarch64/ghc-prim.nix b/materialized/ghc-boot-packages-nix/ghc983llvm-aarch64/ghc-prim.nix new file mode 100644 index 0000000000..546c5704d0 --- /dev/null +++ b/materialized/ghc-boot-packages-nix/ghc983llvm-aarch64/ghc-prim.nix @@ -0,0 +1,47 @@ +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: + { + flags = { need-atomic = false; }; + package = { + specVersion = "2.2"; + identifier = { name = "ghc-prim"; version = "0.11.0"; }; + license = "BSD-3-Clause"; + copyright = ""; + maintainer = "libraries@haskell.org"; + author = ""; + homepage = ""; + url = ""; + synopsis = "GHC primitives"; + description = "This package contains the primitive types and operations supplied by GHC.\nIt is an internal package, only for the use of GHC developers.\nGHC users should not use it! If you do use it then expect\nbreaking changes at any time without warning. You should prefer\nto import @GHC.Exts@ from the @base@ package instead."; + buildType = "Custom"; + setup-depends = [ + (hsPkgs.pkgsBuildBuild.base or (pkgs.pkgsBuildBuild.base or (errorHandler.setupDepError "base"))) + (hsPkgs.pkgsBuildBuild.process or (pkgs.pkgsBuildBuild.process or (errorHandler.setupDepError "process"))) + (hsPkgs.pkgsBuildBuild.filepath or (pkgs.pkgsBuildBuild.filepath or (errorHandler.setupDepError "filepath"))) + (hsPkgs.pkgsBuildBuild.directory or (pkgs.pkgsBuildBuild.directory or (errorHandler.setupDepError "directory"))) + (hsPkgs.pkgsBuildBuild.Cabal or (pkgs.pkgsBuildBuild.Cabal or (errorHandler.setupDepError "Cabal"))) + ]; + }; + components = { + "library" = { + depends = [ (hsPkgs."rts" or (errorHandler.buildDepError "rts")) ]; + libs = (pkgs.lib.optionals (system.isWindows) [ + (pkgs."user32" or (errorHandler.sysDepError "user32")) + (pkgs."mingw32" or (errorHandler.sysDepError "mingw32")) + (pkgs."mingwex" or (errorHandler.sysDepError "mingwex")) + (pkgs."ucrt" or (errorHandler.sysDepError "ucrt")) + ] ++ pkgs.lib.optionals (system.isLinux) [ + (pkgs."c" or (errorHandler.sysDepError "c")) + (pkgs."m" or (errorHandler.sysDepError "m")) + ]) ++ pkgs.lib.optional (flags.need-atomic) (pkgs."atomic" or (errorHandler.sysDepError "atomic")); + buildable = true; + }; + }; + } // rec { src = pkgs.lib.mkDefault ./.; } diff --git a/materialized/ghc-boot-packages-nix/ghc983llvm-aarch64/ghc.nix b/materialized/ghc-boot-packages-nix/ghc983llvm-aarch64/ghc.nix new file mode 100644 index 0000000000..a4a239d30c --- /dev/null +++ b/materialized/ghc-boot-packages-nix/ghc983llvm-aarch64/ghc.nix @@ -0,0 +1,81 @@ +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: + { + flags = { + internal-interpreter = false; + dynamic-system-linker = true; + build-tool-depends = true; + with-libzstd = false; + static-libzstd = false; + hadrian-stage0 = false; + }; + package = { + specVersion = "2.2"; + identifier = { name = "ghc"; version = "9.8.3"; }; + license = "BSD-3-Clause"; + copyright = ""; + maintainer = "glasgow-haskell-users@haskell.org"; + author = "The GHC Team"; + homepage = "http://www.haskell.org/ghc/"; + url = ""; + synopsis = "The GHC API"; + description = "GHC's functionality can be useful for more things than just\ncompiling Haskell programs. Important use cases are programs\nthat analyse (and perhaps transform) Haskell code. Others\ninclude loading Haskell code dynamically in a GHCi-like manner.\nFor this reason, a lot of GHC's functionality is made available\nthrough this package.\n\nSee \nfor more information."; + buildType = "Custom"; + setup-depends = [ + (hsPkgs.pkgsBuildBuild.base or (pkgs.pkgsBuildBuild.base or (errorHandler.setupDepError "base"))) + (hsPkgs.pkgsBuildBuild.Cabal or (pkgs.pkgsBuildBuild.Cabal or (errorHandler.setupDepError "Cabal"))) + (hsPkgs.pkgsBuildBuild.directory or (pkgs.pkgsBuildBuild.directory or (errorHandler.setupDepError "directory"))) + (hsPkgs.pkgsBuildBuild.process or (pkgs.pkgsBuildBuild.process or (errorHandler.setupDepError "process"))) + (hsPkgs.pkgsBuildBuild.filepath or (pkgs.pkgsBuildBuild.filepath or (errorHandler.setupDepError "filepath"))) + (hsPkgs.pkgsBuildBuild.containers or (pkgs.pkgsBuildBuild.containers or (errorHandler.setupDepError "containers"))) + ]; + }; + components = { + "library" = { + depends = [ + (hsPkgs."base" or (errorHandler.buildDepError "base")) + (hsPkgs."deepseq" or (errorHandler.buildDepError "deepseq")) + (hsPkgs."directory" or (errorHandler.buildDepError "directory")) + (hsPkgs."process" or (errorHandler.buildDepError "process")) + (hsPkgs."bytestring" or (errorHandler.buildDepError "bytestring")) + (hsPkgs."binary" or (errorHandler.buildDepError "binary")) + (hsPkgs."time" or (errorHandler.buildDepError "time")) + (hsPkgs."containers" or (errorHandler.buildDepError "containers")) + (hsPkgs."array" or (errorHandler.buildDepError "array")) + (hsPkgs."filepath" or (errorHandler.buildDepError "filepath")) + (hsPkgs."template-haskell" or (errorHandler.buildDepError "template-haskell")) + (hsPkgs."hpc" or (errorHandler.buildDepError "hpc")) + (hsPkgs."transformers" or (errorHandler.buildDepError "transformers")) + (hsPkgs."exceptions" or (errorHandler.buildDepError "exceptions")) + (hsPkgs."semaphore-compat" or (errorHandler.buildDepError "semaphore-compat")) + (hsPkgs."stm" or (errorHandler.buildDepError "stm")) + (hsPkgs."ghc-boot" or (errorHandler.buildDepError "ghc-boot")) + (hsPkgs."ghc-heap" or (errorHandler.buildDepError "ghc-heap")) + (hsPkgs."ghci" or (errorHandler.buildDepError "ghci")) + ] ++ (if system.isWindows + then [ (hsPkgs."Win32" or (errorHandler.buildDepError "Win32")) ] + else [ (hsPkgs."unix" or (errorHandler.buildDepError "unix")) ]); + libs = pkgs.lib.optionals (flags.with-libzstd) (if flags.static-libzstd + then pkgs.lib.optional (!system.isOsx) (pkgs.":libzstd.a" or (errorHandler.sysDepError ":libzstd.a")) + else [ (pkgs."zstd" or (errorHandler.sysDepError "zstd")) ]); + build-tools = pkgs.lib.optionals (flags.build-tool-depends) [ + (hsPkgs.pkgsBuildBuild.alex.components.exes.alex or (pkgs.pkgsBuildBuild.alex or (errorHandler.buildToolDepError "alex:alex"))) + (hsPkgs.pkgsBuildBuild.happy.components.exes.happy or (pkgs.pkgsBuildBuild.happy or (errorHandler.buildToolDepError "happy:happy"))) + (hsPkgs.pkgsBuildBuild.genprimopcode.components.exes.genprimopcode or (pkgs.pkgsBuildBuild.genprimopcode or (errorHandler.buildToolDepError "genprimopcode:genprimopcode"))) + (hsPkgs.pkgsBuildBuild.deriveConstants.components.exes.deriveConstants or (pkgs.pkgsBuildBuild.deriveConstants or (errorHandler.buildToolDepError "deriveConstants:deriveConstants"))) + ]; + buildable = if flags.with-libzstd + then if flags.static-libzstd + then if system.isOsx then false else true + else true + else true; + }; + }; + } // rec { src = pkgs.lib.mkDefault ./.; } diff --git a/materialized/ghc-boot-packages-nix/ghc983llvm-aarch64/ghci.nix b/materialized/ghc-boot-packages-nix/ghc983llvm-aarch64/ghci.nix new file mode 100644 index 0000000000..a7a99f7cb6 --- /dev/null +++ b/materialized/ghc-boot-packages-nix/ghc983llvm-aarch64/ghci.nix @@ -0,0 +1,45 @@ +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: + { + flags = { internal-interpreter = false; }; + package = { + specVersion = "1.10"; + identifier = { name = "ghci"; version = "9.8.3"; }; + license = "BSD-3-Clause"; + copyright = ""; + maintainer = "ghc-devs@haskell.org"; + author = ""; + homepage = ""; + url = ""; + synopsis = "The library supporting GHC's interactive interpreter"; + description = "This library offers interfaces which mediate interactions between the\n@ghci@ interactive shell and @iserv@, GHC's out-of-process interpreter\nbackend."; + buildType = "Simple"; + }; + components = { + "library" = { + depends = [ + (hsPkgs."rts" or (errorHandler.buildDepError "rts")) + (hsPkgs."array" or (errorHandler.buildDepError "array")) + (hsPkgs."base" or (errorHandler.buildDepError "base")) + (hsPkgs."ghc-prim" or (errorHandler.buildDepError "ghc-prim")) + (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."filepath" or (errorHandler.buildDepError "filepath")) + (hsPkgs."ghc-boot" or (errorHandler.buildDepError "ghc-boot")) + (hsPkgs."ghc-heap" or (errorHandler.buildDepError "ghc-heap")) + (hsPkgs."template-haskell" or (errorHandler.buildDepError "template-haskell")) + (hsPkgs."transformers" or (errorHandler.buildDepError "transformers")) + ] ++ pkgs.lib.optional (!system.isWindows) (hsPkgs."unix" or (errorHandler.buildDepError "unix")); + buildable = true; + }; + }; + } // rec { src = pkgs.lib.mkDefault ./.; } diff --git a/materialized/ghc-boot-packages-nix/ghc983llvm-aarch64/hpc.nix b/materialized/ghc-boot-packages-nix/ghc983llvm-aarch64/hpc.nix new file mode 100644 index 0000000000..f6b275cfd1 --- /dev/null +++ b/materialized/ghc-boot-packages-nix/ghc983llvm-aarch64/hpc.nix @@ -0,0 +1,38 @@ +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: + { + flags = {}; + package = { + specVersion = "2.2"; + identifier = { name = "hpc"; version = "0.7.0.0"; }; + license = "BSD-3-Clause"; + copyright = ""; + maintainer = "ghc-devs@haskell.org"; + author = "Andy Gill"; + homepage = ""; + url = ""; + synopsis = "Code Coverage Library for Haskell"; + description = "This package provides the code coverage library for Haskell.\n\nSee for more\ninformation."; + buildType = "Simple"; + }; + components = { + "library" = { + depends = [ + (hsPkgs."base" or (errorHandler.buildDepError "base")) + (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."time" or (errorHandler.buildDepError "time")) + ]; + buildable = true; + }; + }; + } // rec { src = pkgs.lib.mkDefault ./.; } diff --git a/materialized/ghc-boot-packages-nix/ghc983llvm-aarch64/integer-gmp.nix b/materialized/ghc-boot-packages-nix/ghc983llvm-aarch64/integer-gmp.nix new file mode 100644 index 0000000000..94f930e70e --- /dev/null +++ b/materialized/ghc-boot-packages-nix/ghc983llvm-aarch64/integer-gmp.nix @@ -0,0 +1,35 @@ +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: + { + flags = {}; + package = { + specVersion = "2.0"; + identifier = { name = "integer-gmp"; version = "1.1"; }; + license = "BSD-3-Clause"; + copyright = ""; + maintainer = "hvr@gnu.org"; + author = "Herbert Valerio Riedel"; + homepage = "https://www.haskell.org/ghc/"; + url = ""; + synopsis = "Integer library based on GMP"; + description = "This package used to provide an implementation of the standard 'Integer'\ntype based on the\n.\n\nIt is now deprecated in favor of the 'ghc-bignum' package.\n\nIts purpose is to provide backward compatibility for codes directly\ndepending on the `integer-gmp` package."; + buildType = "Simple"; + }; + components = { + "library" = { + depends = [ + (hsPkgs."base" or (errorHandler.buildDepError "base")) + (hsPkgs."ghc-prim" or (errorHandler.buildDepError "ghc-prim")) + (hsPkgs."ghc-bignum" or (errorHandler.buildDepError "ghc-bignum")) + ]; + buildable = true; + }; + }; + } // rec { src = pkgs.lib.mkDefault ./.; } diff --git a/materialized/ghc-boot-packages-nix/ghc983llvm-aarch64/iserv.nix b/materialized/ghc-boot-packages-nix/ghc983llvm-aarch64/iserv.nix new file mode 100644 index 0000000000..297f43290c --- /dev/null +++ b/materialized/ghc-boot-packages-nix/ghc983llvm-aarch64/iserv.nix @@ -0,0 +1,41 @@ +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: + { + flags = {}; + package = { + specVersion = "1.10"; + identifier = { name = "iserv"; version = "9.8.3"; }; + license = "BSD-3-Clause"; + copyright = "XXX"; + maintainer = "XXX"; + author = "XXX"; + homepage = ""; + url = ""; + synopsis = "iserv allows GHC to delegate Template Haskell computations"; + description = "GHC can be provided with a path to the iserv binary with\n@-pgmi=/path/to/iserv-bin@, and will in combination with\n@-fexternal-interpreter@, compile Template Haskell though the\n@iserv-bin@ delegate. This is very similar to how ghcjs has been\ncompiling Template Haskell, by spawning a separate delegate (so\ncalled runner on the javascript vm) and evaluating the splices\nthere."; + buildType = "Simple"; + }; + components = { + exes = { + "iserv" = { + 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."ghci" or (errorHandler.buildDepError "ghci")) + ] ++ pkgs.lib.optional (!system.isWindows) (hsPkgs."unix" or (errorHandler.buildDepError "unix")); + buildable = true; + }; + }; + }; + } // rec { src = pkgs.lib.mkDefault ./.; } diff --git a/materialized/ghc-boot-packages-nix/ghc983llvm-aarch64/remote-iserv.nix b/materialized/ghc-boot-packages-nix/ghc983llvm-aarch64/remote-iserv.nix new file mode 100644 index 0000000000..bfce58fa33 --- /dev/null +++ b/materialized/ghc-boot-packages-nix/ghc983llvm-aarch64/remote-iserv.nix @@ -0,0 +1,36 @@ +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: + { + flags = {}; + package = { + specVersion = "1.10"; + identifier = { name = "remote-iserv"; version = "9.8.3"; }; + license = "BSD-3-Clause"; + copyright = "XXX"; + maintainer = "Moritz Angermann "; + author = "Moritz Angermann "; + homepage = ""; + url = ""; + synopsis = "iserv allows GHC to delegate Template Haskell computations"; + description = "This is a very simple remote runner for iserv, to be used together\nwith iserv-proxy. The foundamental idea is that this this wrapper\nstarts running the GHCi server on a given port to which iserv-proxy will\nthen connect."; + buildType = "Simple"; + }; + components = { + exes = { + "remote-iserv" = { + depends = [ + (hsPkgs."base" or (errorHandler.buildDepError "base")) + (hsPkgs."ghci" or (errorHandler.buildDepError "ghci")) + ]; + buildable = true; + }; + }; + }; + } // rec { src = pkgs.lib.mkDefault ./.; } diff --git a/materialized/ghc-boot-packages-nix/ghc983llvm-aarch64/template-haskell.nix b/materialized/ghc-boot-packages-nix/ghc983llvm-aarch64/template-haskell.nix new file mode 100644 index 0000000000..3e26556434 --- /dev/null +++ b/materialized/ghc-boot-packages-nix/ghc983llvm-aarch64/template-haskell.nix @@ -0,0 +1,36 @@ +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: + { + flags = {}; + package = { + specVersion = "1.10"; + identifier = { name = "template-haskell"; version = "2.21.0.0"; }; + license = "BSD-3-Clause"; + copyright = ""; + maintainer = "libraries@haskell.org"; + author = ""; + homepage = ""; + url = ""; + synopsis = "Support library for Template Haskell"; + description = "This package provides modules containing facilities for manipulating\nHaskell source code using Template Haskell.\n\nSee for more\ninformation."; + buildType = "Simple"; + }; + components = { + "library" = { + depends = [ + (hsPkgs."base" or (errorHandler.buildDepError "base")) + (hsPkgs."ghc-boot-th" or (errorHandler.buildDepError "ghc-boot-th")) + (hsPkgs."ghc-prim" or (errorHandler.buildDepError "ghc-prim")) + (hsPkgs."pretty" or (errorHandler.buildDepError "pretty")) + ]; + buildable = true; + }; + }; + } // rec { src = pkgs.lib.mkDefault ./.; } diff --git a/materialized/ghc-boot-packages-nix/ghc983llvm/base.nix b/materialized/ghc-boot-packages-nix/ghc983llvm/base.nix new file mode 100644 index 0000000000..d918879f6f --- /dev/null +++ b/materialized/ghc-boot-packages-nix/ghc983llvm/base.nix @@ -0,0 +1,49 @@ +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: + { + flags = {}; + package = { + specVersion = "3.0"; + identifier = { name = "base"; version = "4.19.2.0"; }; + license = "BSD-3-Clause"; + copyright = ""; + maintainer = "Core Libraries Committee "; + author = ""; + homepage = ""; + url = ""; + synopsis = "Core data structures and operations"; + description = "Haskell's base library provides, among other things, core types (e.g. [Bool](\"Data.Bool\") and [Int](\"Data.Int\")),\ndata structures (e.g. [List](\"Data.List\"), [Tuple](\"Data.Tuple\") and [Maybe](\"Data.Maybe\")),\nthe [Exception](\"Control.Exception\") mechanism, and the [IO](\"System.IO\") & [Concurrency](\"Control.Concurrent\") operations.\nThe \"Prelude\" module, which is imported by default, exposes a curated set of types and functions from other modules.\n\nOther data structures like [Map](https://hackage.haskell.org/package/containers/docs/Data-Map.html),\n[Set](https://hackage.haskell.org/package/containers/docs/Data-Set.html) are available in the [containers](https://hackage.haskell.org/package/containers) library.\nTo work with textual data, use the [text](https://hackage.haskell.org/package/text/docs/Data-Text.html) library."; + buildType = "Configure"; + }; + components = { + "library" = { + depends = [ + (hsPkgs."rts" or (errorHandler.buildDepError "rts")) + (hsPkgs."ghc-prim" or (errorHandler.buildDepError "ghc-prim")) + (hsPkgs."ghc-bignum" or (errorHandler.buildDepError "ghc-bignum")) + ]; + libs = pkgs.lib.optionals (system.isWindows) [ + (pkgs."wsock32" or (errorHandler.sysDepError "wsock32")) + (pkgs."user32" or (errorHandler.sysDepError "user32")) + (pkgs."shell32" or (errorHandler.sysDepError "shell32")) + (pkgs."mingw32" or (errorHandler.sysDepError "mingw32")) + (pkgs."kernel32" or (errorHandler.sysDepError "kernel32")) + (pkgs."advapi32" or (errorHandler.sysDepError "advapi32")) + (pkgs."mingwex" or (errorHandler.sysDepError "mingwex")) + (pkgs."ws2_32" or (errorHandler.sysDepError "ws2_32")) + (pkgs."shlwapi" or (errorHandler.sysDepError "shlwapi")) + (pkgs."ole32" or (errorHandler.sysDepError "ole32")) + (pkgs."rpcrt4" or (errorHandler.sysDepError "rpcrt4")) + (pkgs."ntdll" or (errorHandler.sysDepError "ntdll")) + ]; + buildable = true; + }; + }; + } // rec { src = pkgs.lib.mkDefault ./.; } diff --git a/materialized/ghc-boot-packages-nix/ghc983llvm/deriveConstants.nix b/materialized/ghc-boot-packages-nix/ghc983llvm/deriveConstants.nix new file mode 100644 index 0000000000..135cdd02f6 --- /dev/null +++ b/materialized/ghc-boot-packages-nix/ghc983llvm/deriveConstants.nix @@ -0,0 +1,39 @@ +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: + { + flags = {}; + package = { + specVersion = "1.10"; + identifier = { name = "deriveConstants"; version = "0.1"; }; + license = "BSD-3-Clause"; + copyright = "XXX"; + maintainer = "XXX"; + author = "XXX"; + homepage = ""; + url = ""; + synopsis = "Derive header files containing various constants for the GHC build process"; + description = "This utility is responsible for generating a number of C header files\nneeded during the GHC build process. See @rts/include/ghc.mk@ in the GHC\nbuild system for details."; + buildType = "Simple"; + }; + components = { + exes = { + "deriveConstants" = { + depends = [ + (hsPkgs."base" or (errorHandler.buildDepError "base")) + (hsPkgs."containers" or (errorHandler.buildDepError "containers")) + (hsPkgs."process" or (errorHandler.buildDepError "process")) + (hsPkgs."filepath" or (errorHandler.buildDepError "filepath")) + (hsPkgs."directory" or (errorHandler.buildDepError "directory")) + ]; + buildable = true; + }; + }; + }; + } // rec { src = pkgs.lib.mkDefault ./.; } diff --git a/materialized/ghc-boot-packages-nix/ghc983llvm/genprimopcode.nix b/materialized/ghc-boot-packages-nix/ghc983llvm/genprimopcode.nix new file mode 100644 index 0000000000..49bbe516ba --- /dev/null +++ b/materialized/ghc-boot-packages-nix/ghc983llvm/genprimopcode.nix @@ -0,0 +1,40 @@ +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: + { + flags = { build-tool-depends = true; }; + package = { + specVersion = "2.0"; + identifier = { name = "genprimopcode"; version = "0.1"; }; + license = "BSD-3-Clause"; + copyright = "XXX"; + maintainer = "XXX"; + author = "XXX"; + homepage = ""; + url = ""; + synopsis = "Generates various files implementing GHC's primitive operations."; + description = "This utility reads a textual description of GHC's primitive operations\n(@primops.txt.pp@) and produces a number of outputs. These include,\n\n* the @GHC.Prim@ module included in the @ghc-prim@ package.\n* the @GHC.PrimopWrappers@ module included in the @ghc-prim@ package.\n* an LaTeX document describing the primitive operations."; + buildType = "Simple"; + }; + components = { + exes = { + "genprimopcode" = { + depends = [ + (hsPkgs."base" or (errorHandler.buildDepError "base")) + (hsPkgs."array" or (errorHandler.buildDepError "array")) + ]; + build-tools = pkgs.lib.optionals (flags.build-tool-depends) [ + (hsPkgs.pkgsBuildBuild.alex.components.exes.alex or (pkgs.pkgsBuildBuild.alex or (errorHandler.buildToolDepError "alex:alex"))) + (hsPkgs.pkgsBuildBuild.happy.components.exes.happy or (pkgs.pkgsBuildBuild.happy or (errorHandler.buildToolDepError "happy:happy"))) + ]; + buildable = true; + }; + }; + }; + } // rec { src = pkgs.lib.mkDefault ./.; } diff --git a/materialized/ghc-boot-packages-nix/ghc983llvm/ghc-bignum.nix b/materialized/ghc-boot-packages-nix/ghc983llvm/ghc-bignum.nix new file mode 100644 index 0000000000..46af6e0e9f --- /dev/null +++ b/materialized/ghc-boot-packages-nix/ghc983llvm/ghc-bignum.nix @@ -0,0 +1,37 @@ +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: + { + flags = { native = false; ffi = false; gmp = false; check = false; }; + package = { + specVersion = "2.0"; + identifier = { name = "ghc-bignum"; version = "1.3"; }; + license = "BSD-3-Clause"; + copyright = ""; + maintainer = "libraries@haskell.org"; + author = "Sylvain Henry"; + homepage = ""; + url = ""; + synopsis = "GHC BigNum library"; + description = "This package provides the low-level implementation of the standard\n'BigNat', 'Natural' and 'Integer' types."; + buildType = "Configure"; + }; + components = { + "library" = { + depends = [ + (hsPkgs."ghc-prim" or (errorHandler.buildDepError "ghc-prim")) + ]; + buildable = (if !flags.native && !flags.gmp && !flags.ffi + then false + else true) && (if flags.native && (flags.gmp || flags.ffi) + then false + else true) && (if flags.gmp && flags.ffi then false else true); + }; + }; + } // rec { src = pkgs.lib.mkDefault ./.; } diff --git a/materialized/ghc-boot-packages-nix/ghc983llvm/ghc-boot.nix b/materialized/ghc-boot-packages-nix/ghc983llvm/ghc-boot.nix new file mode 100644 index 0000000000..276da77ac7 --- /dev/null +++ b/materialized/ghc-boot-packages-nix/ghc983llvm/ghc-boot.nix @@ -0,0 +1,46 @@ +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: + { + flags = {}; + package = { + specVersion = "3.0"; + identifier = { name = "ghc-boot"; version = "9.8.3"; }; + license = "BSD-3-Clause"; + copyright = ""; + maintainer = "ghc-devs@haskell.org"; + author = ""; + homepage = ""; + url = ""; + synopsis = "Shared functionality between GHC and its boot libraries"; + description = "This library is shared between GHC, ghc-pkg, and other boot\nlibraries.\n.\nA note about \"GHC.Unit.Database\": it only deals with the subset of\nthe package database that the compiler cares about: modules\npaths etc and not package metadata like description, authors\netc. It is thus not a library interface to ghc-pkg and is *not*\nsuitable for modifying GHC package databases.\n.\nThe package database format and this library are constructed in\nsuch a way that while ghc-pkg depends on Cabal, the GHC library\nand program do not have to depend on Cabal."; + buildType = "Custom"; + setup-depends = [ + (hsPkgs.pkgsBuildBuild.base or (pkgs.pkgsBuildBuild.base or (errorHandler.setupDepError "base"))) + (hsPkgs.pkgsBuildBuild.Cabal or (pkgs.pkgsBuildBuild.Cabal or (errorHandler.setupDepError "Cabal"))) + (hsPkgs.pkgsBuildBuild.directory or (pkgs.pkgsBuildBuild.directory or (errorHandler.setupDepError "directory"))) + (hsPkgs.pkgsBuildBuild.filepath or (pkgs.pkgsBuildBuild.filepath or (errorHandler.setupDepError "filepath"))) + ]; + }; + components = { + "library" = { + depends = [ + (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."directory" or (errorHandler.buildDepError "directory")) + (hsPkgs."filepath" or (errorHandler.buildDepError "filepath")) + (hsPkgs."deepseq" or (errorHandler.buildDepError "deepseq")) + (hsPkgs."ghc-boot-th" or (errorHandler.buildDepError "ghc-boot-th")) + ] ++ pkgs.lib.optional (!system.isWindows) (hsPkgs."unix" or (errorHandler.buildDepError "unix")); + buildable = true; + }; + }; + } // rec { src = pkgs.lib.mkDefault ./.; } diff --git a/materialized/ghc-boot-packages-nix/ghc983llvm/ghc-heap.nix b/materialized/ghc-boot-packages-nix/ghc983llvm/ghc-heap.nix new file mode 100644 index 0000000000..d85b660a50 --- /dev/null +++ b/materialized/ghc-boot-packages-nix/ghc983llvm/ghc-heap.nix @@ -0,0 +1,36 @@ +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: + { + flags = {}; + package = { + specVersion = "3.0"; + identifier = { name = "ghc-heap"; version = "9.8.3"; }; + license = "BSD-3-Clause"; + copyright = ""; + maintainer = "libraries@haskell.org"; + author = ""; + homepage = ""; + url = ""; + synopsis = "Functions for walking GHC's heap"; + description = "This package provides functions for walking the GHC heap data structures\nand retrieving information about those data structures."; + buildType = "Simple"; + }; + components = { + "library" = { + depends = [ + (hsPkgs."base" or (errorHandler.buildDepError "base")) + (hsPkgs."ghc-prim" or (errorHandler.buildDepError "ghc-prim")) + (hsPkgs."rts" or (errorHandler.buildDepError "rts")) + (hsPkgs."containers" or (errorHandler.buildDepError "containers")) + ]; + buildable = true; + }; + }; + } // rec { src = pkgs.lib.mkDefault ./.; } diff --git a/materialized/ghc-boot-packages-nix/ghc983llvm/ghc-prim.nix b/materialized/ghc-boot-packages-nix/ghc983llvm/ghc-prim.nix new file mode 100644 index 0000000000..546c5704d0 --- /dev/null +++ b/materialized/ghc-boot-packages-nix/ghc983llvm/ghc-prim.nix @@ -0,0 +1,47 @@ +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: + { + flags = { need-atomic = false; }; + package = { + specVersion = "2.2"; + identifier = { name = "ghc-prim"; version = "0.11.0"; }; + license = "BSD-3-Clause"; + copyright = ""; + maintainer = "libraries@haskell.org"; + author = ""; + homepage = ""; + url = ""; + synopsis = "GHC primitives"; + description = "This package contains the primitive types and operations supplied by GHC.\nIt is an internal package, only for the use of GHC developers.\nGHC users should not use it! If you do use it then expect\nbreaking changes at any time without warning. You should prefer\nto import @GHC.Exts@ from the @base@ package instead."; + buildType = "Custom"; + setup-depends = [ + (hsPkgs.pkgsBuildBuild.base or (pkgs.pkgsBuildBuild.base or (errorHandler.setupDepError "base"))) + (hsPkgs.pkgsBuildBuild.process or (pkgs.pkgsBuildBuild.process or (errorHandler.setupDepError "process"))) + (hsPkgs.pkgsBuildBuild.filepath or (pkgs.pkgsBuildBuild.filepath or (errorHandler.setupDepError "filepath"))) + (hsPkgs.pkgsBuildBuild.directory or (pkgs.pkgsBuildBuild.directory or (errorHandler.setupDepError "directory"))) + (hsPkgs.pkgsBuildBuild.Cabal or (pkgs.pkgsBuildBuild.Cabal or (errorHandler.setupDepError "Cabal"))) + ]; + }; + components = { + "library" = { + depends = [ (hsPkgs."rts" or (errorHandler.buildDepError "rts")) ]; + libs = (pkgs.lib.optionals (system.isWindows) [ + (pkgs."user32" or (errorHandler.sysDepError "user32")) + (pkgs."mingw32" or (errorHandler.sysDepError "mingw32")) + (pkgs."mingwex" or (errorHandler.sysDepError "mingwex")) + (pkgs."ucrt" or (errorHandler.sysDepError "ucrt")) + ] ++ pkgs.lib.optionals (system.isLinux) [ + (pkgs."c" or (errorHandler.sysDepError "c")) + (pkgs."m" or (errorHandler.sysDepError "m")) + ]) ++ pkgs.lib.optional (flags.need-atomic) (pkgs."atomic" or (errorHandler.sysDepError "atomic")); + buildable = true; + }; + }; + } // rec { src = pkgs.lib.mkDefault ./.; } diff --git a/materialized/ghc-boot-packages-nix/ghc983llvm/ghc.nix b/materialized/ghc-boot-packages-nix/ghc983llvm/ghc.nix new file mode 100644 index 0000000000..a4a239d30c --- /dev/null +++ b/materialized/ghc-boot-packages-nix/ghc983llvm/ghc.nix @@ -0,0 +1,81 @@ +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: + { + flags = { + internal-interpreter = false; + dynamic-system-linker = true; + build-tool-depends = true; + with-libzstd = false; + static-libzstd = false; + hadrian-stage0 = false; + }; + package = { + specVersion = "2.2"; + identifier = { name = "ghc"; version = "9.8.3"; }; + license = "BSD-3-Clause"; + copyright = ""; + maintainer = "glasgow-haskell-users@haskell.org"; + author = "The GHC Team"; + homepage = "http://www.haskell.org/ghc/"; + url = ""; + synopsis = "The GHC API"; + description = "GHC's functionality can be useful for more things than just\ncompiling Haskell programs. Important use cases are programs\nthat analyse (and perhaps transform) Haskell code. Others\ninclude loading Haskell code dynamically in a GHCi-like manner.\nFor this reason, a lot of GHC's functionality is made available\nthrough this package.\n\nSee \nfor more information."; + buildType = "Custom"; + setup-depends = [ + (hsPkgs.pkgsBuildBuild.base or (pkgs.pkgsBuildBuild.base or (errorHandler.setupDepError "base"))) + (hsPkgs.pkgsBuildBuild.Cabal or (pkgs.pkgsBuildBuild.Cabal or (errorHandler.setupDepError "Cabal"))) + (hsPkgs.pkgsBuildBuild.directory or (pkgs.pkgsBuildBuild.directory or (errorHandler.setupDepError "directory"))) + (hsPkgs.pkgsBuildBuild.process or (pkgs.pkgsBuildBuild.process or (errorHandler.setupDepError "process"))) + (hsPkgs.pkgsBuildBuild.filepath or (pkgs.pkgsBuildBuild.filepath or (errorHandler.setupDepError "filepath"))) + (hsPkgs.pkgsBuildBuild.containers or (pkgs.pkgsBuildBuild.containers or (errorHandler.setupDepError "containers"))) + ]; + }; + components = { + "library" = { + depends = [ + (hsPkgs."base" or (errorHandler.buildDepError "base")) + (hsPkgs."deepseq" or (errorHandler.buildDepError "deepseq")) + (hsPkgs."directory" or (errorHandler.buildDepError "directory")) + (hsPkgs."process" or (errorHandler.buildDepError "process")) + (hsPkgs."bytestring" or (errorHandler.buildDepError "bytestring")) + (hsPkgs."binary" or (errorHandler.buildDepError "binary")) + (hsPkgs."time" or (errorHandler.buildDepError "time")) + (hsPkgs."containers" or (errorHandler.buildDepError "containers")) + (hsPkgs."array" or (errorHandler.buildDepError "array")) + (hsPkgs."filepath" or (errorHandler.buildDepError "filepath")) + (hsPkgs."template-haskell" or (errorHandler.buildDepError "template-haskell")) + (hsPkgs."hpc" or (errorHandler.buildDepError "hpc")) + (hsPkgs."transformers" or (errorHandler.buildDepError "transformers")) + (hsPkgs."exceptions" or (errorHandler.buildDepError "exceptions")) + (hsPkgs."semaphore-compat" or (errorHandler.buildDepError "semaphore-compat")) + (hsPkgs."stm" or (errorHandler.buildDepError "stm")) + (hsPkgs."ghc-boot" or (errorHandler.buildDepError "ghc-boot")) + (hsPkgs."ghc-heap" or (errorHandler.buildDepError "ghc-heap")) + (hsPkgs."ghci" or (errorHandler.buildDepError "ghci")) + ] ++ (if system.isWindows + then [ (hsPkgs."Win32" or (errorHandler.buildDepError "Win32")) ] + else [ (hsPkgs."unix" or (errorHandler.buildDepError "unix")) ]); + libs = pkgs.lib.optionals (flags.with-libzstd) (if flags.static-libzstd + then pkgs.lib.optional (!system.isOsx) (pkgs.":libzstd.a" or (errorHandler.sysDepError ":libzstd.a")) + else [ (pkgs."zstd" or (errorHandler.sysDepError "zstd")) ]); + build-tools = pkgs.lib.optionals (flags.build-tool-depends) [ + (hsPkgs.pkgsBuildBuild.alex.components.exes.alex or (pkgs.pkgsBuildBuild.alex or (errorHandler.buildToolDepError "alex:alex"))) + (hsPkgs.pkgsBuildBuild.happy.components.exes.happy or (pkgs.pkgsBuildBuild.happy or (errorHandler.buildToolDepError "happy:happy"))) + (hsPkgs.pkgsBuildBuild.genprimopcode.components.exes.genprimopcode or (pkgs.pkgsBuildBuild.genprimopcode or (errorHandler.buildToolDepError "genprimopcode:genprimopcode"))) + (hsPkgs.pkgsBuildBuild.deriveConstants.components.exes.deriveConstants or (pkgs.pkgsBuildBuild.deriveConstants or (errorHandler.buildToolDepError "deriveConstants:deriveConstants"))) + ]; + buildable = if flags.with-libzstd + then if flags.static-libzstd + then if system.isOsx then false else true + else true + else true; + }; + }; + } // rec { src = pkgs.lib.mkDefault ./.; } diff --git a/materialized/ghc-boot-packages-nix/ghc983llvm/ghci.nix b/materialized/ghc-boot-packages-nix/ghc983llvm/ghci.nix new file mode 100644 index 0000000000..a7a99f7cb6 --- /dev/null +++ b/materialized/ghc-boot-packages-nix/ghc983llvm/ghci.nix @@ -0,0 +1,45 @@ +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: + { + flags = { internal-interpreter = false; }; + package = { + specVersion = "1.10"; + identifier = { name = "ghci"; version = "9.8.3"; }; + license = "BSD-3-Clause"; + copyright = ""; + maintainer = "ghc-devs@haskell.org"; + author = ""; + homepage = ""; + url = ""; + synopsis = "The library supporting GHC's interactive interpreter"; + description = "This library offers interfaces which mediate interactions between the\n@ghci@ interactive shell and @iserv@, GHC's out-of-process interpreter\nbackend."; + buildType = "Simple"; + }; + components = { + "library" = { + depends = [ + (hsPkgs."rts" or (errorHandler.buildDepError "rts")) + (hsPkgs."array" or (errorHandler.buildDepError "array")) + (hsPkgs."base" or (errorHandler.buildDepError "base")) + (hsPkgs."ghc-prim" or (errorHandler.buildDepError "ghc-prim")) + (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."filepath" or (errorHandler.buildDepError "filepath")) + (hsPkgs."ghc-boot" or (errorHandler.buildDepError "ghc-boot")) + (hsPkgs."ghc-heap" or (errorHandler.buildDepError "ghc-heap")) + (hsPkgs."template-haskell" or (errorHandler.buildDepError "template-haskell")) + (hsPkgs."transformers" or (errorHandler.buildDepError "transformers")) + ] ++ pkgs.lib.optional (!system.isWindows) (hsPkgs."unix" or (errorHandler.buildDepError "unix")); + buildable = true; + }; + }; + } // rec { src = pkgs.lib.mkDefault ./.; } diff --git a/materialized/ghc-boot-packages-nix/ghc983llvm/hpc.nix b/materialized/ghc-boot-packages-nix/ghc983llvm/hpc.nix new file mode 100644 index 0000000000..f6b275cfd1 --- /dev/null +++ b/materialized/ghc-boot-packages-nix/ghc983llvm/hpc.nix @@ -0,0 +1,38 @@ +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: + { + flags = {}; + package = { + specVersion = "2.2"; + identifier = { name = "hpc"; version = "0.7.0.0"; }; + license = "BSD-3-Clause"; + copyright = ""; + maintainer = "ghc-devs@haskell.org"; + author = "Andy Gill"; + homepage = ""; + url = ""; + synopsis = "Code Coverage Library for Haskell"; + description = "This package provides the code coverage library for Haskell.\n\nSee for more\ninformation."; + buildType = "Simple"; + }; + components = { + "library" = { + depends = [ + (hsPkgs."base" or (errorHandler.buildDepError "base")) + (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."time" or (errorHandler.buildDepError "time")) + ]; + buildable = true; + }; + }; + } // rec { src = pkgs.lib.mkDefault ./.; } diff --git a/materialized/ghc-boot-packages-nix/ghc983llvm/integer-gmp.nix b/materialized/ghc-boot-packages-nix/ghc983llvm/integer-gmp.nix new file mode 100644 index 0000000000..94f930e70e --- /dev/null +++ b/materialized/ghc-boot-packages-nix/ghc983llvm/integer-gmp.nix @@ -0,0 +1,35 @@ +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: + { + flags = {}; + package = { + specVersion = "2.0"; + identifier = { name = "integer-gmp"; version = "1.1"; }; + license = "BSD-3-Clause"; + copyright = ""; + maintainer = "hvr@gnu.org"; + author = "Herbert Valerio Riedel"; + homepage = "https://www.haskell.org/ghc/"; + url = ""; + synopsis = "Integer library based on GMP"; + description = "This package used to provide an implementation of the standard 'Integer'\ntype based on the\n.\n\nIt is now deprecated in favor of the 'ghc-bignum' package.\n\nIts purpose is to provide backward compatibility for codes directly\ndepending on the `integer-gmp` package."; + buildType = "Simple"; + }; + components = { + "library" = { + depends = [ + (hsPkgs."base" or (errorHandler.buildDepError "base")) + (hsPkgs."ghc-prim" or (errorHandler.buildDepError "ghc-prim")) + (hsPkgs."ghc-bignum" or (errorHandler.buildDepError "ghc-bignum")) + ]; + buildable = true; + }; + }; + } // rec { src = pkgs.lib.mkDefault ./.; } diff --git a/materialized/ghc-boot-packages-nix/ghc983llvm/iserv.nix b/materialized/ghc-boot-packages-nix/ghc983llvm/iserv.nix new file mode 100644 index 0000000000..297f43290c --- /dev/null +++ b/materialized/ghc-boot-packages-nix/ghc983llvm/iserv.nix @@ -0,0 +1,41 @@ +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: + { + flags = {}; + package = { + specVersion = "1.10"; + identifier = { name = "iserv"; version = "9.8.3"; }; + license = "BSD-3-Clause"; + copyright = "XXX"; + maintainer = "XXX"; + author = "XXX"; + homepage = ""; + url = ""; + synopsis = "iserv allows GHC to delegate Template Haskell computations"; + description = "GHC can be provided with a path to the iserv binary with\n@-pgmi=/path/to/iserv-bin@, and will in combination with\n@-fexternal-interpreter@, compile Template Haskell though the\n@iserv-bin@ delegate. This is very similar to how ghcjs has been\ncompiling Template Haskell, by spawning a separate delegate (so\ncalled runner on the javascript vm) and evaluating the splices\nthere."; + buildType = "Simple"; + }; + components = { + exes = { + "iserv" = { + 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."ghci" or (errorHandler.buildDepError "ghci")) + ] ++ pkgs.lib.optional (!system.isWindows) (hsPkgs."unix" or (errorHandler.buildDepError "unix")); + buildable = true; + }; + }; + }; + } // rec { src = pkgs.lib.mkDefault ./.; } diff --git a/materialized/ghc-boot-packages-nix/ghc983llvm/remote-iserv.nix b/materialized/ghc-boot-packages-nix/ghc983llvm/remote-iserv.nix new file mode 100644 index 0000000000..bfce58fa33 --- /dev/null +++ b/materialized/ghc-boot-packages-nix/ghc983llvm/remote-iserv.nix @@ -0,0 +1,36 @@ +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: + { + flags = {}; + package = { + specVersion = "1.10"; + identifier = { name = "remote-iserv"; version = "9.8.3"; }; + license = "BSD-3-Clause"; + copyright = "XXX"; + maintainer = "Moritz Angermann "; + author = "Moritz Angermann "; + homepage = ""; + url = ""; + synopsis = "iserv allows GHC to delegate Template Haskell computations"; + description = "This is a very simple remote runner for iserv, to be used together\nwith iserv-proxy. The foundamental idea is that this this wrapper\nstarts running the GHCi server on a given port to which iserv-proxy will\nthen connect."; + buildType = "Simple"; + }; + components = { + exes = { + "remote-iserv" = { + depends = [ + (hsPkgs."base" or (errorHandler.buildDepError "base")) + (hsPkgs."ghci" or (errorHandler.buildDepError "ghci")) + ]; + buildable = true; + }; + }; + }; + } // rec { src = pkgs.lib.mkDefault ./.; } diff --git a/materialized/ghc-boot-packages-nix/ghc983llvm/template-haskell.nix b/materialized/ghc-boot-packages-nix/ghc983llvm/template-haskell.nix new file mode 100644 index 0000000000..3e26556434 --- /dev/null +++ b/materialized/ghc-boot-packages-nix/ghc983llvm/template-haskell.nix @@ -0,0 +1,36 @@ +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: + { + flags = {}; + package = { + specVersion = "1.10"; + identifier = { name = "template-haskell"; version = "2.21.0.0"; }; + license = "BSD-3-Clause"; + copyright = ""; + maintainer = "libraries@haskell.org"; + author = ""; + homepage = ""; + url = ""; + synopsis = "Support library for Template Haskell"; + description = "This package provides modules containing facilities for manipulating\nHaskell source code using Template Haskell.\n\nSee for more\ninformation."; + buildType = "Simple"; + }; + components = { + "library" = { + depends = [ + (hsPkgs."base" or (errorHandler.buildDepError "base")) + (hsPkgs."ghc-boot-th" or (errorHandler.buildDepError "ghc-boot-th")) + (hsPkgs."ghc-prim" or (errorHandler.buildDepError "ghc-prim")) + (hsPkgs."pretty" or (errorHandler.buildDepError "pretty")) + ]; + buildable = true; + }; + }; + } // rec { src = pkgs.lib.mkDefault ./.; } diff --git a/materialized/ghc-boot-packages-nix/ghc984-aarch64/base.nix b/materialized/ghc-boot-packages-nix/ghc984-aarch64/base.nix new file mode 100644 index 0000000000..d918879f6f --- /dev/null +++ b/materialized/ghc-boot-packages-nix/ghc984-aarch64/base.nix @@ -0,0 +1,49 @@ +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: + { + flags = {}; + package = { + specVersion = "3.0"; + identifier = { name = "base"; version = "4.19.2.0"; }; + license = "BSD-3-Clause"; + copyright = ""; + maintainer = "Core Libraries Committee "; + author = ""; + homepage = ""; + url = ""; + synopsis = "Core data structures and operations"; + description = "Haskell's base library provides, among other things, core types (e.g. [Bool](\"Data.Bool\") and [Int](\"Data.Int\")),\ndata structures (e.g. [List](\"Data.List\"), [Tuple](\"Data.Tuple\") and [Maybe](\"Data.Maybe\")),\nthe [Exception](\"Control.Exception\") mechanism, and the [IO](\"System.IO\") & [Concurrency](\"Control.Concurrent\") operations.\nThe \"Prelude\" module, which is imported by default, exposes a curated set of types and functions from other modules.\n\nOther data structures like [Map](https://hackage.haskell.org/package/containers/docs/Data-Map.html),\n[Set](https://hackage.haskell.org/package/containers/docs/Data-Set.html) are available in the [containers](https://hackage.haskell.org/package/containers) library.\nTo work with textual data, use the [text](https://hackage.haskell.org/package/text/docs/Data-Text.html) library."; + buildType = "Configure"; + }; + components = { + "library" = { + depends = [ + (hsPkgs."rts" or (errorHandler.buildDepError "rts")) + (hsPkgs."ghc-prim" or (errorHandler.buildDepError "ghc-prim")) + (hsPkgs."ghc-bignum" or (errorHandler.buildDepError "ghc-bignum")) + ]; + libs = pkgs.lib.optionals (system.isWindows) [ + (pkgs."wsock32" or (errorHandler.sysDepError "wsock32")) + (pkgs."user32" or (errorHandler.sysDepError "user32")) + (pkgs."shell32" or (errorHandler.sysDepError "shell32")) + (pkgs."mingw32" or (errorHandler.sysDepError "mingw32")) + (pkgs."kernel32" or (errorHandler.sysDepError "kernel32")) + (pkgs."advapi32" or (errorHandler.sysDepError "advapi32")) + (pkgs."mingwex" or (errorHandler.sysDepError "mingwex")) + (pkgs."ws2_32" or (errorHandler.sysDepError "ws2_32")) + (pkgs."shlwapi" or (errorHandler.sysDepError "shlwapi")) + (pkgs."ole32" or (errorHandler.sysDepError "ole32")) + (pkgs."rpcrt4" or (errorHandler.sysDepError "rpcrt4")) + (pkgs."ntdll" or (errorHandler.sysDepError "ntdll")) + ]; + buildable = true; + }; + }; + } // rec { src = pkgs.lib.mkDefault ./.; } diff --git a/materialized/ghc-boot-packages-nix/ghc984-aarch64/deriveConstants.nix b/materialized/ghc-boot-packages-nix/ghc984-aarch64/deriveConstants.nix new file mode 100644 index 0000000000..135cdd02f6 --- /dev/null +++ b/materialized/ghc-boot-packages-nix/ghc984-aarch64/deriveConstants.nix @@ -0,0 +1,39 @@ +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: + { + flags = {}; + package = { + specVersion = "1.10"; + identifier = { name = "deriveConstants"; version = "0.1"; }; + license = "BSD-3-Clause"; + copyright = "XXX"; + maintainer = "XXX"; + author = "XXX"; + homepage = ""; + url = ""; + synopsis = "Derive header files containing various constants for the GHC build process"; + description = "This utility is responsible for generating a number of C header files\nneeded during the GHC build process. See @rts/include/ghc.mk@ in the GHC\nbuild system for details."; + buildType = "Simple"; + }; + components = { + exes = { + "deriveConstants" = { + depends = [ + (hsPkgs."base" or (errorHandler.buildDepError "base")) + (hsPkgs."containers" or (errorHandler.buildDepError "containers")) + (hsPkgs."process" or (errorHandler.buildDepError "process")) + (hsPkgs."filepath" or (errorHandler.buildDepError "filepath")) + (hsPkgs."directory" or (errorHandler.buildDepError "directory")) + ]; + buildable = true; + }; + }; + }; + } // rec { src = pkgs.lib.mkDefault ./.; } diff --git a/materialized/ghc-boot-packages-nix/ghc984-aarch64/genprimopcode.nix b/materialized/ghc-boot-packages-nix/ghc984-aarch64/genprimopcode.nix new file mode 100644 index 0000000000..49bbe516ba --- /dev/null +++ b/materialized/ghc-boot-packages-nix/ghc984-aarch64/genprimopcode.nix @@ -0,0 +1,40 @@ +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: + { + flags = { build-tool-depends = true; }; + package = { + specVersion = "2.0"; + identifier = { name = "genprimopcode"; version = "0.1"; }; + license = "BSD-3-Clause"; + copyright = "XXX"; + maintainer = "XXX"; + author = "XXX"; + homepage = ""; + url = ""; + synopsis = "Generates various files implementing GHC's primitive operations."; + description = "This utility reads a textual description of GHC's primitive operations\n(@primops.txt.pp@) and produces a number of outputs. These include,\n\n* the @GHC.Prim@ module included in the @ghc-prim@ package.\n* the @GHC.PrimopWrappers@ module included in the @ghc-prim@ package.\n* an LaTeX document describing the primitive operations."; + buildType = "Simple"; + }; + components = { + exes = { + "genprimopcode" = { + depends = [ + (hsPkgs."base" or (errorHandler.buildDepError "base")) + (hsPkgs."array" or (errorHandler.buildDepError "array")) + ]; + build-tools = pkgs.lib.optionals (flags.build-tool-depends) [ + (hsPkgs.pkgsBuildBuild.alex.components.exes.alex or (pkgs.pkgsBuildBuild.alex or (errorHandler.buildToolDepError "alex:alex"))) + (hsPkgs.pkgsBuildBuild.happy.components.exes.happy or (pkgs.pkgsBuildBuild.happy or (errorHandler.buildToolDepError "happy:happy"))) + ]; + buildable = true; + }; + }; + }; + } // rec { src = pkgs.lib.mkDefault ./.; } diff --git a/materialized/ghc-boot-packages-nix/ghc984-aarch64/ghc-bignum.nix b/materialized/ghc-boot-packages-nix/ghc984-aarch64/ghc-bignum.nix new file mode 100644 index 0000000000..46af6e0e9f --- /dev/null +++ b/materialized/ghc-boot-packages-nix/ghc984-aarch64/ghc-bignum.nix @@ -0,0 +1,37 @@ +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: + { + flags = { native = false; ffi = false; gmp = false; check = false; }; + package = { + specVersion = "2.0"; + identifier = { name = "ghc-bignum"; version = "1.3"; }; + license = "BSD-3-Clause"; + copyright = ""; + maintainer = "libraries@haskell.org"; + author = "Sylvain Henry"; + homepage = ""; + url = ""; + synopsis = "GHC BigNum library"; + description = "This package provides the low-level implementation of the standard\n'BigNat', 'Natural' and 'Integer' types."; + buildType = "Configure"; + }; + components = { + "library" = { + depends = [ + (hsPkgs."ghc-prim" or (errorHandler.buildDepError "ghc-prim")) + ]; + buildable = (if !flags.native && !flags.gmp && !flags.ffi + then false + else true) && (if flags.native && (flags.gmp || flags.ffi) + then false + else true) && (if flags.gmp && flags.ffi then false else true); + }; + }; + } // rec { src = pkgs.lib.mkDefault ./.; } diff --git a/materialized/ghc-boot-packages-nix/ghc984-aarch64/ghc-boot.nix b/materialized/ghc-boot-packages-nix/ghc984-aarch64/ghc-boot.nix new file mode 100644 index 0000000000..6f834c0745 --- /dev/null +++ b/materialized/ghc-boot-packages-nix/ghc984-aarch64/ghc-boot.nix @@ -0,0 +1,46 @@ +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: + { + flags = {}; + package = { + specVersion = "3.0"; + identifier = { name = "ghc-boot"; version = "9.8.4"; }; + license = "BSD-3-Clause"; + copyright = ""; + maintainer = "ghc-devs@haskell.org"; + author = ""; + homepage = ""; + url = ""; + synopsis = "Shared functionality between GHC and its boot libraries"; + description = "This library is shared between GHC, ghc-pkg, and other boot\nlibraries.\n.\nA note about \"GHC.Unit.Database\": it only deals with the subset of\nthe package database that the compiler cares about: modules\npaths etc and not package metadata like description, authors\netc. It is thus not a library interface to ghc-pkg and is *not*\nsuitable for modifying GHC package databases.\n.\nThe package database format and this library are constructed in\nsuch a way that while ghc-pkg depends on Cabal, the GHC library\nand program do not have to depend on Cabal."; + buildType = "Custom"; + setup-depends = [ + (hsPkgs.pkgsBuildBuild.base or (pkgs.pkgsBuildBuild.base or (errorHandler.setupDepError "base"))) + (hsPkgs.pkgsBuildBuild.Cabal or (pkgs.pkgsBuildBuild.Cabal or (errorHandler.setupDepError "Cabal"))) + (hsPkgs.pkgsBuildBuild.directory or (pkgs.pkgsBuildBuild.directory or (errorHandler.setupDepError "directory"))) + (hsPkgs.pkgsBuildBuild.filepath or (pkgs.pkgsBuildBuild.filepath or (errorHandler.setupDepError "filepath"))) + ]; + }; + components = { + "library" = { + depends = [ + (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."directory" or (errorHandler.buildDepError "directory")) + (hsPkgs."filepath" or (errorHandler.buildDepError "filepath")) + (hsPkgs."deepseq" or (errorHandler.buildDepError "deepseq")) + (hsPkgs."ghc-boot-th" or (errorHandler.buildDepError "ghc-boot-th")) + ] ++ pkgs.lib.optional (!system.isWindows) (hsPkgs."unix" or (errorHandler.buildDepError "unix")); + buildable = true; + }; + }; + } // rec { src = pkgs.lib.mkDefault ./.; } diff --git a/materialized/ghc-boot-packages-nix/ghc984-aarch64/ghc-heap.nix b/materialized/ghc-boot-packages-nix/ghc984-aarch64/ghc-heap.nix new file mode 100644 index 0000000000..c793f1b243 --- /dev/null +++ b/materialized/ghc-boot-packages-nix/ghc984-aarch64/ghc-heap.nix @@ -0,0 +1,36 @@ +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: + { + flags = {}; + package = { + specVersion = "3.0"; + identifier = { name = "ghc-heap"; version = "9.8.4"; }; + license = "BSD-3-Clause"; + copyright = ""; + maintainer = "libraries@haskell.org"; + author = ""; + homepage = ""; + url = ""; + synopsis = "Functions for walking GHC's heap"; + description = "This package provides functions for walking the GHC heap data structures\nand retrieving information about those data structures."; + buildType = "Simple"; + }; + components = { + "library" = { + depends = [ + (hsPkgs."base" or (errorHandler.buildDepError "base")) + (hsPkgs."ghc-prim" or (errorHandler.buildDepError "ghc-prim")) + (hsPkgs."rts" or (errorHandler.buildDepError "rts")) + (hsPkgs."containers" or (errorHandler.buildDepError "containers")) + ]; + buildable = true; + }; + }; + } // rec { src = pkgs.lib.mkDefault ./.; } diff --git a/materialized/ghc-boot-packages-nix/ghc984-aarch64/ghc-prim.nix b/materialized/ghc-boot-packages-nix/ghc984-aarch64/ghc-prim.nix new file mode 100644 index 0000000000..546c5704d0 --- /dev/null +++ b/materialized/ghc-boot-packages-nix/ghc984-aarch64/ghc-prim.nix @@ -0,0 +1,47 @@ +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: + { + flags = { need-atomic = false; }; + package = { + specVersion = "2.2"; + identifier = { name = "ghc-prim"; version = "0.11.0"; }; + license = "BSD-3-Clause"; + copyright = ""; + maintainer = "libraries@haskell.org"; + author = ""; + homepage = ""; + url = ""; + synopsis = "GHC primitives"; + description = "This package contains the primitive types and operations supplied by GHC.\nIt is an internal package, only for the use of GHC developers.\nGHC users should not use it! If you do use it then expect\nbreaking changes at any time without warning. You should prefer\nto import @GHC.Exts@ from the @base@ package instead."; + buildType = "Custom"; + setup-depends = [ + (hsPkgs.pkgsBuildBuild.base or (pkgs.pkgsBuildBuild.base or (errorHandler.setupDepError "base"))) + (hsPkgs.pkgsBuildBuild.process or (pkgs.pkgsBuildBuild.process or (errorHandler.setupDepError "process"))) + (hsPkgs.pkgsBuildBuild.filepath or (pkgs.pkgsBuildBuild.filepath or (errorHandler.setupDepError "filepath"))) + (hsPkgs.pkgsBuildBuild.directory or (pkgs.pkgsBuildBuild.directory or (errorHandler.setupDepError "directory"))) + (hsPkgs.pkgsBuildBuild.Cabal or (pkgs.pkgsBuildBuild.Cabal or (errorHandler.setupDepError "Cabal"))) + ]; + }; + components = { + "library" = { + depends = [ (hsPkgs."rts" or (errorHandler.buildDepError "rts")) ]; + libs = (pkgs.lib.optionals (system.isWindows) [ + (pkgs."user32" or (errorHandler.sysDepError "user32")) + (pkgs."mingw32" or (errorHandler.sysDepError "mingw32")) + (pkgs."mingwex" or (errorHandler.sysDepError "mingwex")) + (pkgs."ucrt" or (errorHandler.sysDepError "ucrt")) + ] ++ pkgs.lib.optionals (system.isLinux) [ + (pkgs."c" or (errorHandler.sysDepError "c")) + (pkgs."m" or (errorHandler.sysDepError "m")) + ]) ++ pkgs.lib.optional (flags.need-atomic) (pkgs."atomic" or (errorHandler.sysDepError "atomic")); + buildable = true; + }; + }; + } // rec { src = pkgs.lib.mkDefault ./.; } diff --git a/materialized/ghc-boot-packages-nix/ghc984-aarch64/ghc.nix b/materialized/ghc-boot-packages-nix/ghc984-aarch64/ghc.nix new file mode 100644 index 0000000000..d1f3fc8e0f --- /dev/null +++ b/materialized/ghc-boot-packages-nix/ghc984-aarch64/ghc.nix @@ -0,0 +1,81 @@ +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: + { + flags = { + internal-interpreter = false; + dynamic-system-linker = true; + build-tool-depends = true; + with-libzstd = false; + static-libzstd = false; + hadrian-stage0 = false; + }; + package = { + specVersion = "2.2"; + identifier = { name = "ghc"; version = "9.8.4"; }; + license = "BSD-3-Clause"; + copyright = ""; + maintainer = "glasgow-haskell-users@haskell.org"; + author = "The GHC Team"; + homepage = "http://www.haskell.org/ghc/"; + url = ""; + synopsis = "The GHC API"; + description = "GHC's functionality can be useful for more things than just\ncompiling Haskell programs. Important use cases are programs\nthat analyse (and perhaps transform) Haskell code. Others\ninclude loading Haskell code dynamically in a GHCi-like manner.\nFor this reason, a lot of GHC's functionality is made available\nthrough this package.\n\nSee \nfor more information."; + buildType = "Custom"; + setup-depends = [ + (hsPkgs.pkgsBuildBuild.base or (pkgs.pkgsBuildBuild.base or (errorHandler.setupDepError "base"))) + (hsPkgs.pkgsBuildBuild.Cabal or (pkgs.pkgsBuildBuild.Cabal or (errorHandler.setupDepError "Cabal"))) + (hsPkgs.pkgsBuildBuild.directory or (pkgs.pkgsBuildBuild.directory or (errorHandler.setupDepError "directory"))) + (hsPkgs.pkgsBuildBuild.process or (pkgs.pkgsBuildBuild.process or (errorHandler.setupDepError "process"))) + (hsPkgs.pkgsBuildBuild.filepath or (pkgs.pkgsBuildBuild.filepath or (errorHandler.setupDepError "filepath"))) + (hsPkgs.pkgsBuildBuild.containers or (pkgs.pkgsBuildBuild.containers or (errorHandler.setupDepError "containers"))) + ]; + }; + components = { + "library" = { + depends = [ + (hsPkgs."base" or (errorHandler.buildDepError "base")) + (hsPkgs."deepseq" or (errorHandler.buildDepError "deepseq")) + (hsPkgs."directory" or (errorHandler.buildDepError "directory")) + (hsPkgs."process" or (errorHandler.buildDepError "process")) + (hsPkgs."bytestring" or (errorHandler.buildDepError "bytestring")) + (hsPkgs."binary" or (errorHandler.buildDepError "binary")) + (hsPkgs."time" or (errorHandler.buildDepError "time")) + (hsPkgs."containers" or (errorHandler.buildDepError "containers")) + (hsPkgs."array" or (errorHandler.buildDepError "array")) + (hsPkgs."filepath" or (errorHandler.buildDepError "filepath")) + (hsPkgs."template-haskell" or (errorHandler.buildDepError "template-haskell")) + (hsPkgs."hpc" or (errorHandler.buildDepError "hpc")) + (hsPkgs."transformers" or (errorHandler.buildDepError "transformers")) + (hsPkgs."exceptions" or (errorHandler.buildDepError "exceptions")) + (hsPkgs."semaphore-compat" or (errorHandler.buildDepError "semaphore-compat")) + (hsPkgs."stm" or (errorHandler.buildDepError "stm")) + (hsPkgs."ghc-boot" or (errorHandler.buildDepError "ghc-boot")) + (hsPkgs."ghc-heap" or (errorHandler.buildDepError "ghc-heap")) + (hsPkgs."ghci" or (errorHandler.buildDepError "ghci")) + ] ++ (if system.isWindows + then [ (hsPkgs."Win32" or (errorHandler.buildDepError "Win32")) ] + else [ (hsPkgs."unix" or (errorHandler.buildDepError "unix")) ]); + libs = pkgs.lib.optionals (flags.with-libzstd) (if flags.static-libzstd + then pkgs.lib.optional (!system.isOsx) (pkgs.":libzstd.a" or (errorHandler.sysDepError ":libzstd.a")) + else [ (pkgs."zstd" or (errorHandler.sysDepError "zstd")) ]); + build-tools = pkgs.lib.optionals (flags.build-tool-depends) [ + (hsPkgs.pkgsBuildBuild.alex.components.exes.alex or (pkgs.pkgsBuildBuild.alex or (errorHandler.buildToolDepError "alex:alex"))) + (hsPkgs.pkgsBuildBuild.happy.components.exes.happy or (pkgs.pkgsBuildBuild.happy or (errorHandler.buildToolDepError "happy:happy"))) + (hsPkgs.pkgsBuildBuild.genprimopcode.components.exes.genprimopcode or (pkgs.pkgsBuildBuild.genprimopcode or (errorHandler.buildToolDepError "genprimopcode:genprimopcode"))) + (hsPkgs.pkgsBuildBuild.deriveConstants.components.exes.deriveConstants or (pkgs.pkgsBuildBuild.deriveConstants or (errorHandler.buildToolDepError "deriveConstants:deriveConstants"))) + ]; + buildable = if flags.with-libzstd + then if flags.static-libzstd + then if system.isOsx then false else true + else true + else true; + }; + }; + } // rec { src = pkgs.lib.mkDefault ./.; } diff --git a/materialized/ghc-boot-packages-nix/ghc984-aarch64/ghci.nix b/materialized/ghc-boot-packages-nix/ghc984-aarch64/ghci.nix new file mode 100644 index 0000000000..0c59903854 --- /dev/null +++ b/materialized/ghc-boot-packages-nix/ghc984-aarch64/ghci.nix @@ -0,0 +1,45 @@ +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: + { + flags = { internal-interpreter = false; }; + package = { + specVersion = "1.10"; + identifier = { name = "ghci"; version = "9.8.4"; }; + license = "BSD-3-Clause"; + copyright = ""; + maintainer = "ghc-devs@haskell.org"; + author = ""; + homepage = ""; + url = ""; + synopsis = "The library supporting GHC's interactive interpreter"; + description = "This library offers interfaces which mediate interactions between the\n@ghci@ interactive shell and @iserv@, GHC's out-of-process interpreter\nbackend."; + buildType = "Simple"; + }; + components = { + "library" = { + depends = [ + (hsPkgs."rts" or (errorHandler.buildDepError "rts")) + (hsPkgs."array" or (errorHandler.buildDepError "array")) + (hsPkgs."base" or (errorHandler.buildDepError "base")) + (hsPkgs."ghc-prim" or (errorHandler.buildDepError "ghc-prim")) + (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."filepath" or (errorHandler.buildDepError "filepath")) + (hsPkgs."ghc-boot" or (errorHandler.buildDepError "ghc-boot")) + (hsPkgs."ghc-heap" or (errorHandler.buildDepError "ghc-heap")) + (hsPkgs."template-haskell" or (errorHandler.buildDepError "template-haskell")) + (hsPkgs."transformers" or (errorHandler.buildDepError "transformers")) + ] ++ pkgs.lib.optional (!system.isWindows) (hsPkgs."unix" or (errorHandler.buildDepError "unix")); + buildable = true; + }; + }; + } // rec { src = pkgs.lib.mkDefault ./.; } diff --git a/materialized/ghc-boot-packages-nix/ghc984-aarch64/hpc.nix b/materialized/ghc-boot-packages-nix/ghc984-aarch64/hpc.nix new file mode 100644 index 0000000000..f6b275cfd1 --- /dev/null +++ b/materialized/ghc-boot-packages-nix/ghc984-aarch64/hpc.nix @@ -0,0 +1,38 @@ +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: + { + flags = {}; + package = { + specVersion = "2.2"; + identifier = { name = "hpc"; version = "0.7.0.0"; }; + license = "BSD-3-Clause"; + copyright = ""; + maintainer = "ghc-devs@haskell.org"; + author = "Andy Gill"; + homepage = ""; + url = ""; + synopsis = "Code Coverage Library for Haskell"; + description = "This package provides the code coverage library for Haskell.\n\nSee for more\ninformation."; + buildType = "Simple"; + }; + components = { + "library" = { + depends = [ + (hsPkgs."base" or (errorHandler.buildDepError "base")) + (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."time" or (errorHandler.buildDepError "time")) + ]; + buildable = true; + }; + }; + } // rec { src = pkgs.lib.mkDefault ./.; } diff --git a/materialized/ghc-boot-packages-nix/ghc984-aarch64/integer-gmp.nix b/materialized/ghc-boot-packages-nix/ghc984-aarch64/integer-gmp.nix new file mode 100644 index 0000000000..94f930e70e --- /dev/null +++ b/materialized/ghc-boot-packages-nix/ghc984-aarch64/integer-gmp.nix @@ -0,0 +1,35 @@ +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: + { + flags = {}; + package = { + specVersion = "2.0"; + identifier = { name = "integer-gmp"; version = "1.1"; }; + license = "BSD-3-Clause"; + copyright = ""; + maintainer = "hvr@gnu.org"; + author = "Herbert Valerio Riedel"; + homepage = "https://www.haskell.org/ghc/"; + url = ""; + synopsis = "Integer library based on GMP"; + description = "This package used to provide an implementation of the standard 'Integer'\ntype based on the\n.\n\nIt is now deprecated in favor of the 'ghc-bignum' package.\n\nIts purpose is to provide backward compatibility for codes directly\ndepending on the `integer-gmp` package."; + buildType = "Simple"; + }; + components = { + "library" = { + depends = [ + (hsPkgs."base" or (errorHandler.buildDepError "base")) + (hsPkgs."ghc-prim" or (errorHandler.buildDepError "ghc-prim")) + (hsPkgs."ghc-bignum" or (errorHandler.buildDepError "ghc-bignum")) + ]; + buildable = true; + }; + }; + } // rec { src = pkgs.lib.mkDefault ./.; } diff --git a/materialized/ghc-boot-packages-nix/ghc984-aarch64/iserv.nix b/materialized/ghc-boot-packages-nix/ghc984-aarch64/iserv.nix new file mode 100644 index 0000000000..a3bbce53b0 --- /dev/null +++ b/materialized/ghc-boot-packages-nix/ghc984-aarch64/iserv.nix @@ -0,0 +1,41 @@ +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: + { + flags = {}; + package = { + specVersion = "1.10"; + identifier = { name = "iserv"; version = "9.8.4"; }; + license = "BSD-3-Clause"; + copyright = "XXX"; + maintainer = "XXX"; + author = "XXX"; + homepage = ""; + url = ""; + synopsis = "iserv allows GHC to delegate Template Haskell computations"; + description = "GHC can be provided with a path to the iserv binary with\n@-pgmi=/path/to/iserv-bin@, and will in combination with\n@-fexternal-interpreter@, compile Template Haskell though the\n@iserv-bin@ delegate. This is very similar to how ghcjs has been\ncompiling Template Haskell, by spawning a separate delegate (so\ncalled runner on the javascript vm) and evaluating the splices\nthere."; + buildType = "Simple"; + }; + components = { + exes = { + "iserv" = { + 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."ghci" or (errorHandler.buildDepError "ghci")) + ] ++ pkgs.lib.optional (!system.isWindows) (hsPkgs."unix" or (errorHandler.buildDepError "unix")); + buildable = true; + }; + }; + }; + } // rec { src = pkgs.lib.mkDefault ./.; } diff --git a/materialized/ghc-boot-packages-nix/ghc984-aarch64/remote-iserv.nix b/materialized/ghc-boot-packages-nix/ghc984-aarch64/remote-iserv.nix new file mode 100644 index 0000000000..688b674992 --- /dev/null +++ b/materialized/ghc-boot-packages-nix/ghc984-aarch64/remote-iserv.nix @@ -0,0 +1,36 @@ +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: + { + flags = {}; + package = { + specVersion = "1.10"; + identifier = { name = "remote-iserv"; version = "9.8.4"; }; + license = "BSD-3-Clause"; + copyright = "XXX"; + maintainer = "Moritz Angermann "; + author = "Moritz Angermann "; + homepage = ""; + url = ""; + synopsis = "iserv allows GHC to delegate Template Haskell computations"; + description = "This is a very simple remote runner for iserv, to be used together\nwith iserv-proxy. The foundamental idea is that this this wrapper\nstarts running the GHCi server on a given port to which iserv-proxy will\nthen connect."; + buildType = "Simple"; + }; + components = { + exes = { + "remote-iserv" = { + depends = [ + (hsPkgs."base" or (errorHandler.buildDepError "base")) + (hsPkgs."ghci" or (errorHandler.buildDepError "ghci")) + ]; + buildable = true; + }; + }; + }; + } // rec { src = pkgs.lib.mkDefault ./.; } diff --git a/materialized/ghc-boot-packages-nix/ghc984-aarch64/template-haskell.nix b/materialized/ghc-boot-packages-nix/ghc984-aarch64/template-haskell.nix new file mode 100644 index 0000000000..3e26556434 --- /dev/null +++ b/materialized/ghc-boot-packages-nix/ghc984-aarch64/template-haskell.nix @@ -0,0 +1,36 @@ +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: + { + flags = {}; + package = { + specVersion = "1.10"; + identifier = { name = "template-haskell"; version = "2.21.0.0"; }; + license = "BSD-3-Clause"; + copyright = ""; + maintainer = "libraries@haskell.org"; + author = ""; + homepage = ""; + url = ""; + synopsis = "Support library for Template Haskell"; + description = "This package provides modules containing facilities for manipulating\nHaskell source code using Template Haskell.\n\nSee for more\ninformation."; + buildType = "Simple"; + }; + components = { + "library" = { + depends = [ + (hsPkgs."base" or (errorHandler.buildDepError "base")) + (hsPkgs."ghc-boot-th" or (errorHandler.buildDepError "ghc-boot-th")) + (hsPkgs."ghc-prim" or (errorHandler.buildDepError "ghc-prim")) + (hsPkgs."pretty" or (errorHandler.buildDepError "pretty")) + ]; + buildable = true; + }; + }; + } // rec { src = pkgs.lib.mkDefault ./.; } diff --git a/materialized/ghc-boot-packages-nix/ghc984-ghcjs/base.nix b/materialized/ghc-boot-packages-nix/ghc984-ghcjs/base.nix new file mode 100644 index 0000000000..d918879f6f --- /dev/null +++ b/materialized/ghc-boot-packages-nix/ghc984-ghcjs/base.nix @@ -0,0 +1,49 @@ +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: + { + flags = {}; + package = { + specVersion = "3.0"; + identifier = { name = "base"; version = "4.19.2.0"; }; + license = "BSD-3-Clause"; + copyright = ""; + maintainer = "Core Libraries Committee "; + author = ""; + homepage = ""; + url = ""; + synopsis = "Core data structures and operations"; + description = "Haskell's base library provides, among other things, core types (e.g. [Bool](\"Data.Bool\") and [Int](\"Data.Int\")),\ndata structures (e.g. [List](\"Data.List\"), [Tuple](\"Data.Tuple\") and [Maybe](\"Data.Maybe\")),\nthe [Exception](\"Control.Exception\") mechanism, and the [IO](\"System.IO\") & [Concurrency](\"Control.Concurrent\") operations.\nThe \"Prelude\" module, which is imported by default, exposes a curated set of types and functions from other modules.\n\nOther data structures like [Map](https://hackage.haskell.org/package/containers/docs/Data-Map.html),\n[Set](https://hackage.haskell.org/package/containers/docs/Data-Set.html) are available in the [containers](https://hackage.haskell.org/package/containers) library.\nTo work with textual data, use the [text](https://hackage.haskell.org/package/text/docs/Data-Text.html) library."; + buildType = "Configure"; + }; + components = { + "library" = { + depends = [ + (hsPkgs."rts" or (errorHandler.buildDepError "rts")) + (hsPkgs."ghc-prim" or (errorHandler.buildDepError "ghc-prim")) + (hsPkgs."ghc-bignum" or (errorHandler.buildDepError "ghc-bignum")) + ]; + libs = pkgs.lib.optionals (system.isWindows) [ + (pkgs."wsock32" or (errorHandler.sysDepError "wsock32")) + (pkgs."user32" or (errorHandler.sysDepError "user32")) + (pkgs."shell32" or (errorHandler.sysDepError "shell32")) + (pkgs."mingw32" or (errorHandler.sysDepError "mingw32")) + (pkgs."kernel32" or (errorHandler.sysDepError "kernel32")) + (pkgs."advapi32" or (errorHandler.sysDepError "advapi32")) + (pkgs."mingwex" or (errorHandler.sysDepError "mingwex")) + (pkgs."ws2_32" or (errorHandler.sysDepError "ws2_32")) + (pkgs."shlwapi" or (errorHandler.sysDepError "shlwapi")) + (pkgs."ole32" or (errorHandler.sysDepError "ole32")) + (pkgs."rpcrt4" or (errorHandler.sysDepError "rpcrt4")) + (pkgs."ntdll" or (errorHandler.sysDepError "ntdll")) + ]; + buildable = true; + }; + }; + } // rec { src = pkgs.lib.mkDefault ./.; } diff --git a/materialized/ghc-boot-packages-nix/ghc984-ghcjs/deriveConstants.nix b/materialized/ghc-boot-packages-nix/ghc984-ghcjs/deriveConstants.nix new file mode 100644 index 0000000000..135cdd02f6 --- /dev/null +++ b/materialized/ghc-boot-packages-nix/ghc984-ghcjs/deriveConstants.nix @@ -0,0 +1,39 @@ +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: + { + flags = {}; + package = { + specVersion = "1.10"; + identifier = { name = "deriveConstants"; version = "0.1"; }; + license = "BSD-3-Clause"; + copyright = "XXX"; + maintainer = "XXX"; + author = "XXX"; + homepage = ""; + url = ""; + synopsis = "Derive header files containing various constants for the GHC build process"; + description = "This utility is responsible for generating a number of C header files\nneeded during the GHC build process. See @rts/include/ghc.mk@ in the GHC\nbuild system for details."; + buildType = "Simple"; + }; + components = { + exes = { + "deriveConstants" = { + depends = [ + (hsPkgs."base" or (errorHandler.buildDepError "base")) + (hsPkgs."containers" or (errorHandler.buildDepError "containers")) + (hsPkgs."process" or (errorHandler.buildDepError "process")) + (hsPkgs."filepath" or (errorHandler.buildDepError "filepath")) + (hsPkgs."directory" or (errorHandler.buildDepError "directory")) + ]; + buildable = true; + }; + }; + }; + } // rec { src = pkgs.lib.mkDefault ./.; } diff --git a/materialized/ghc-boot-packages-nix/ghc984-ghcjs/genprimopcode.nix b/materialized/ghc-boot-packages-nix/ghc984-ghcjs/genprimopcode.nix new file mode 100644 index 0000000000..49bbe516ba --- /dev/null +++ b/materialized/ghc-boot-packages-nix/ghc984-ghcjs/genprimopcode.nix @@ -0,0 +1,40 @@ +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: + { + flags = { build-tool-depends = true; }; + package = { + specVersion = "2.0"; + identifier = { name = "genprimopcode"; version = "0.1"; }; + license = "BSD-3-Clause"; + copyright = "XXX"; + maintainer = "XXX"; + author = "XXX"; + homepage = ""; + url = ""; + synopsis = "Generates various files implementing GHC's primitive operations."; + description = "This utility reads a textual description of GHC's primitive operations\n(@primops.txt.pp@) and produces a number of outputs. These include,\n\n* the @GHC.Prim@ module included in the @ghc-prim@ package.\n* the @GHC.PrimopWrappers@ module included in the @ghc-prim@ package.\n* an LaTeX document describing the primitive operations."; + buildType = "Simple"; + }; + components = { + exes = { + "genprimopcode" = { + depends = [ + (hsPkgs."base" or (errorHandler.buildDepError "base")) + (hsPkgs."array" or (errorHandler.buildDepError "array")) + ]; + build-tools = pkgs.lib.optionals (flags.build-tool-depends) [ + (hsPkgs.pkgsBuildBuild.alex.components.exes.alex or (pkgs.pkgsBuildBuild.alex or (errorHandler.buildToolDepError "alex:alex"))) + (hsPkgs.pkgsBuildBuild.happy.components.exes.happy or (pkgs.pkgsBuildBuild.happy or (errorHandler.buildToolDepError "happy:happy"))) + ]; + buildable = true; + }; + }; + }; + } // rec { src = pkgs.lib.mkDefault ./.; } diff --git a/materialized/ghc-boot-packages-nix/ghc984-ghcjs/ghc-bignum.nix b/materialized/ghc-boot-packages-nix/ghc984-ghcjs/ghc-bignum.nix new file mode 100644 index 0000000000..46af6e0e9f --- /dev/null +++ b/materialized/ghc-boot-packages-nix/ghc984-ghcjs/ghc-bignum.nix @@ -0,0 +1,37 @@ +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: + { + flags = { native = false; ffi = false; gmp = false; check = false; }; + package = { + specVersion = "2.0"; + identifier = { name = "ghc-bignum"; version = "1.3"; }; + license = "BSD-3-Clause"; + copyright = ""; + maintainer = "libraries@haskell.org"; + author = "Sylvain Henry"; + homepage = ""; + url = ""; + synopsis = "GHC BigNum library"; + description = "This package provides the low-level implementation of the standard\n'BigNat', 'Natural' and 'Integer' types."; + buildType = "Configure"; + }; + components = { + "library" = { + depends = [ + (hsPkgs."ghc-prim" or (errorHandler.buildDepError "ghc-prim")) + ]; + buildable = (if !flags.native && !flags.gmp && !flags.ffi + then false + else true) && (if flags.native && (flags.gmp || flags.ffi) + then false + else true) && (if flags.gmp && flags.ffi then false else true); + }; + }; + } // rec { src = pkgs.lib.mkDefault ./.; } diff --git a/materialized/ghc-boot-packages-nix/ghc984-ghcjs/ghc-boot.nix b/materialized/ghc-boot-packages-nix/ghc984-ghcjs/ghc-boot.nix new file mode 100644 index 0000000000..6f834c0745 --- /dev/null +++ b/materialized/ghc-boot-packages-nix/ghc984-ghcjs/ghc-boot.nix @@ -0,0 +1,46 @@ +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: + { + flags = {}; + package = { + specVersion = "3.0"; + identifier = { name = "ghc-boot"; version = "9.8.4"; }; + license = "BSD-3-Clause"; + copyright = ""; + maintainer = "ghc-devs@haskell.org"; + author = ""; + homepage = ""; + url = ""; + synopsis = "Shared functionality between GHC and its boot libraries"; + description = "This library is shared between GHC, ghc-pkg, and other boot\nlibraries.\n.\nA note about \"GHC.Unit.Database\": it only deals with the subset of\nthe package database that the compiler cares about: modules\npaths etc and not package metadata like description, authors\netc. It is thus not a library interface to ghc-pkg and is *not*\nsuitable for modifying GHC package databases.\n.\nThe package database format and this library are constructed in\nsuch a way that while ghc-pkg depends on Cabal, the GHC library\nand program do not have to depend on Cabal."; + buildType = "Custom"; + setup-depends = [ + (hsPkgs.pkgsBuildBuild.base or (pkgs.pkgsBuildBuild.base or (errorHandler.setupDepError "base"))) + (hsPkgs.pkgsBuildBuild.Cabal or (pkgs.pkgsBuildBuild.Cabal or (errorHandler.setupDepError "Cabal"))) + (hsPkgs.pkgsBuildBuild.directory or (pkgs.pkgsBuildBuild.directory or (errorHandler.setupDepError "directory"))) + (hsPkgs.pkgsBuildBuild.filepath or (pkgs.pkgsBuildBuild.filepath or (errorHandler.setupDepError "filepath"))) + ]; + }; + components = { + "library" = { + depends = [ + (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."directory" or (errorHandler.buildDepError "directory")) + (hsPkgs."filepath" or (errorHandler.buildDepError "filepath")) + (hsPkgs."deepseq" or (errorHandler.buildDepError "deepseq")) + (hsPkgs."ghc-boot-th" or (errorHandler.buildDepError "ghc-boot-th")) + ] ++ pkgs.lib.optional (!system.isWindows) (hsPkgs."unix" or (errorHandler.buildDepError "unix")); + buildable = true; + }; + }; + } // rec { src = pkgs.lib.mkDefault ./.; } diff --git a/materialized/ghc-boot-packages-nix/ghc984-ghcjs/ghc-heap.nix b/materialized/ghc-boot-packages-nix/ghc984-ghcjs/ghc-heap.nix new file mode 100644 index 0000000000..c793f1b243 --- /dev/null +++ b/materialized/ghc-boot-packages-nix/ghc984-ghcjs/ghc-heap.nix @@ -0,0 +1,36 @@ +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: + { + flags = {}; + package = { + specVersion = "3.0"; + identifier = { name = "ghc-heap"; version = "9.8.4"; }; + license = "BSD-3-Clause"; + copyright = ""; + maintainer = "libraries@haskell.org"; + author = ""; + homepage = ""; + url = ""; + synopsis = "Functions for walking GHC's heap"; + description = "This package provides functions for walking the GHC heap data structures\nand retrieving information about those data structures."; + buildType = "Simple"; + }; + components = { + "library" = { + depends = [ + (hsPkgs."base" or (errorHandler.buildDepError "base")) + (hsPkgs."ghc-prim" or (errorHandler.buildDepError "ghc-prim")) + (hsPkgs."rts" or (errorHandler.buildDepError "rts")) + (hsPkgs."containers" or (errorHandler.buildDepError "containers")) + ]; + buildable = true; + }; + }; + } // rec { src = pkgs.lib.mkDefault ./.; } diff --git a/materialized/ghc-boot-packages-nix/ghc984-ghcjs/ghc-prim.nix b/materialized/ghc-boot-packages-nix/ghc984-ghcjs/ghc-prim.nix new file mode 100644 index 0000000000..546c5704d0 --- /dev/null +++ b/materialized/ghc-boot-packages-nix/ghc984-ghcjs/ghc-prim.nix @@ -0,0 +1,47 @@ +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: + { + flags = { need-atomic = false; }; + package = { + specVersion = "2.2"; + identifier = { name = "ghc-prim"; version = "0.11.0"; }; + license = "BSD-3-Clause"; + copyright = ""; + maintainer = "libraries@haskell.org"; + author = ""; + homepage = ""; + url = ""; + synopsis = "GHC primitives"; + description = "This package contains the primitive types and operations supplied by GHC.\nIt is an internal package, only for the use of GHC developers.\nGHC users should not use it! If you do use it then expect\nbreaking changes at any time without warning. You should prefer\nto import @GHC.Exts@ from the @base@ package instead."; + buildType = "Custom"; + setup-depends = [ + (hsPkgs.pkgsBuildBuild.base or (pkgs.pkgsBuildBuild.base or (errorHandler.setupDepError "base"))) + (hsPkgs.pkgsBuildBuild.process or (pkgs.pkgsBuildBuild.process or (errorHandler.setupDepError "process"))) + (hsPkgs.pkgsBuildBuild.filepath or (pkgs.pkgsBuildBuild.filepath or (errorHandler.setupDepError "filepath"))) + (hsPkgs.pkgsBuildBuild.directory or (pkgs.pkgsBuildBuild.directory or (errorHandler.setupDepError "directory"))) + (hsPkgs.pkgsBuildBuild.Cabal or (pkgs.pkgsBuildBuild.Cabal or (errorHandler.setupDepError "Cabal"))) + ]; + }; + components = { + "library" = { + depends = [ (hsPkgs."rts" or (errorHandler.buildDepError "rts")) ]; + libs = (pkgs.lib.optionals (system.isWindows) [ + (pkgs."user32" or (errorHandler.sysDepError "user32")) + (pkgs."mingw32" or (errorHandler.sysDepError "mingw32")) + (pkgs."mingwex" or (errorHandler.sysDepError "mingwex")) + (pkgs."ucrt" or (errorHandler.sysDepError "ucrt")) + ] ++ pkgs.lib.optionals (system.isLinux) [ + (pkgs."c" or (errorHandler.sysDepError "c")) + (pkgs."m" or (errorHandler.sysDepError "m")) + ]) ++ pkgs.lib.optional (flags.need-atomic) (pkgs."atomic" or (errorHandler.sysDepError "atomic")); + buildable = true; + }; + }; + } // rec { src = pkgs.lib.mkDefault ./.; } diff --git a/materialized/ghc-boot-packages-nix/ghc984-ghcjs/ghc.nix b/materialized/ghc-boot-packages-nix/ghc984-ghcjs/ghc.nix new file mode 100644 index 0000000000..d1f3fc8e0f --- /dev/null +++ b/materialized/ghc-boot-packages-nix/ghc984-ghcjs/ghc.nix @@ -0,0 +1,81 @@ +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: + { + flags = { + internal-interpreter = false; + dynamic-system-linker = true; + build-tool-depends = true; + with-libzstd = false; + static-libzstd = false; + hadrian-stage0 = false; + }; + package = { + specVersion = "2.2"; + identifier = { name = "ghc"; version = "9.8.4"; }; + license = "BSD-3-Clause"; + copyright = ""; + maintainer = "glasgow-haskell-users@haskell.org"; + author = "The GHC Team"; + homepage = "http://www.haskell.org/ghc/"; + url = ""; + synopsis = "The GHC API"; + description = "GHC's functionality can be useful for more things than just\ncompiling Haskell programs. Important use cases are programs\nthat analyse (and perhaps transform) Haskell code. Others\ninclude loading Haskell code dynamically in a GHCi-like manner.\nFor this reason, a lot of GHC's functionality is made available\nthrough this package.\n\nSee \nfor more information."; + buildType = "Custom"; + setup-depends = [ + (hsPkgs.pkgsBuildBuild.base or (pkgs.pkgsBuildBuild.base or (errorHandler.setupDepError "base"))) + (hsPkgs.pkgsBuildBuild.Cabal or (pkgs.pkgsBuildBuild.Cabal or (errorHandler.setupDepError "Cabal"))) + (hsPkgs.pkgsBuildBuild.directory or (pkgs.pkgsBuildBuild.directory or (errorHandler.setupDepError "directory"))) + (hsPkgs.pkgsBuildBuild.process or (pkgs.pkgsBuildBuild.process or (errorHandler.setupDepError "process"))) + (hsPkgs.pkgsBuildBuild.filepath or (pkgs.pkgsBuildBuild.filepath or (errorHandler.setupDepError "filepath"))) + (hsPkgs.pkgsBuildBuild.containers or (pkgs.pkgsBuildBuild.containers or (errorHandler.setupDepError "containers"))) + ]; + }; + components = { + "library" = { + depends = [ + (hsPkgs."base" or (errorHandler.buildDepError "base")) + (hsPkgs."deepseq" or (errorHandler.buildDepError "deepseq")) + (hsPkgs."directory" or (errorHandler.buildDepError "directory")) + (hsPkgs."process" or (errorHandler.buildDepError "process")) + (hsPkgs."bytestring" or (errorHandler.buildDepError "bytestring")) + (hsPkgs."binary" or (errorHandler.buildDepError "binary")) + (hsPkgs."time" or (errorHandler.buildDepError "time")) + (hsPkgs."containers" or (errorHandler.buildDepError "containers")) + (hsPkgs."array" or (errorHandler.buildDepError "array")) + (hsPkgs."filepath" or (errorHandler.buildDepError "filepath")) + (hsPkgs."template-haskell" or (errorHandler.buildDepError "template-haskell")) + (hsPkgs."hpc" or (errorHandler.buildDepError "hpc")) + (hsPkgs."transformers" or (errorHandler.buildDepError "transformers")) + (hsPkgs."exceptions" or (errorHandler.buildDepError "exceptions")) + (hsPkgs."semaphore-compat" or (errorHandler.buildDepError "semaphore-compat")) + (hsPkgs."stm" or (errorHandler.buildDepError "stm")) + (hsPkgs."ghc-boot" or (errorHandler.buildDepError "ghc-boot")) + (hsPkgs."ghc-heap" or (errorHandler.buildDepError "ghc-heap")) + (hsPkgs."ghci" or (errorHandler.buildDepError "ghci")) + ] ++ (if system.isWindows + then [ (hsPkgs."Win32" or (errorHandler.buildDepError "Win32")) ] + else [ (hsPkgs."unix" or (errorHandler.buildDepError "unix")) ]); + libs = pkgs.lib.optionals (flags.with-libzstd) (if flags.static-libzstd + then pkgs.lib.optional (!system.isOsx) (pkgs.":libzstd.a" or (errorHandler.sysDepError ":libzstd.a")) + else [ (pkgs."zstd" or (errorHandler.sysDepError "zstd")) ]); + build-tools = pkgs.lib.optionals (flags.build-tool-depends) [ + (hsPkgs.pkgsBuildBuild.alex.components.exes.alex or (pkgs.pkgsBuildBuild.alex or (errorHandler.buildToolDepError "alex:alex"))) + (hsPkgs.pkgsBuildBuild.happy.components.exes.happy or (pkgs.pkgsBuildBuild.happy or (errorHandler.buildToolDepError "happy:happy"))) + (hsPkgs.pkgsBuildBuild.genprimopcode.components.exes.genprimopcode or (pkgs.pkgsBuildBuild.genprimopcode or (errorHandler.buildToolDepError "genprimopcode:genprimopcode"))) + (hsPkgs.pkgsBuildBuild.deriveConstants.components.exes.deriveConstants or (pkgs.pkgsBuildBuild.deriveConstants or (errorHandler.buildToolDepError "deriveConstants:deriveConstants"))) + ]; + buildable = if flags.with-libzstd + then if flags.static-libzstd + then if system.isOsx then false else true + else true + else true; + }; + }; + } // rec { src = pkgs.lib.mkDefault ./.; } diff --git a/materialized/ghc-boot-packages-nix/ghc984-ghcjs/ghci.nix b/materialized/ghc-boot-packages-nix/ghc984-ghcjs/ghci.nix new file mode 100644 index 0000000000..0c59903854 --- /dev/null +++ b/materialized/ghc-boot-packages-nix/ghc984-ghcjs/ghci.nix @@ -0,0 +1,45 @@ +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: + { + flags = { internal-interpreter = false; }; + package = { + specVersion = "1.10"; + identifier = { name = "ghci"; version = "9.8.4"; }; + license = "BSD-3-Clause"; + copyright = ""; + maintainer = "ghc-devs@haskell.org"; + author = ""; + homepage = ""; + url = ""; + synopsis = "The library supporting GHC's interactive interpreter"; + description = "This library offers interfaces which mediate interactions between the\n@ghci@ interactive shell and @iserv@, GHC's out-of-process interpreter\nbackend."; + buildType = "Simple"; + }; + components = { + "library" = { + depends = [ + (hsPkgs."rts" or (errorHandler.buildDepError "rts")) + (hsPkgs."array" or (errorHandler.buildDepError "array")) + (hsPkgs."base" or (errorHandler.buildDepError "base")) + (hsPkgs."ghc-prim" or (errorHandler.buildDepError "ghc-prim")) + (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."filepath" or (errorHandler.buildDepError "filepath")) + (hsPkgs."ghc-boot" or (errorHandler.buildDepError "ghc-boot")) + (hsPkgs."ghc-heap" or (errorHandler.buildDepError "ghc-heap")) + (hsPkgs."template-haskell" or (errorHandler.buildDepError "template-haskell")) + (hsPkgs."transformers" or (errorHandler.buildDepError "transformers")) + ] ++ pkgs.lib.optional (!system.isWindows) (hsPkgs."unix" or (errorHandler.buildDepError "unix")); + buildable = true; + }; + }; + } // rec { src = pkgs.lib.mkDefault ./.; } diff --git a/materialized/ghc-boot-packages-nix/ghc984-ghcjs/hpc.nix b/materialized/ghc-boot-packages-nix/ghc984-ghcjs/hpc.nix new file mode 100644 index 0000000000..f6b275cfd1 --- /dev/null +++ b/materialized/ghc-boot-packages-nix/ghc984-ghcjs/hpc.nix @@ -0,0 +1,38 @@ +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: + { + flags = {}; + package = { + specVersion = "2.2"; + identifier = { name = "hpc"; version = "0.7.0.0"; }; + license = "BSD-3-Clause"; + copyright = ""; + maintainer = "ghc-devs@haskell.org"; + author = "Andy Gill"; + homepage = ""; + url = ""; + synopsis = "Code Coverage Library for Haskell"; + description = "This package provides the code coverage library for Haskell.\n\nSee for more\ninformation."; + buildType = "Simple"; + }; + components = { + "library" = { + depends = [ + (hsPkgs."base" or (errorHandler.buildDepError "base")) + (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."time" or (errorHandler.buildDepError "time")) + ]; + buildable = true; + }; + }; + } // rec { src = pkgs.lib.mkDefault ./.; } diff --git a/materialized/ghc-boot-packages-nix/ghc984-ghcjs/integer-gmp.nix b/materialized/ghc-boot-packages-nix/ghc984-ghcjs/integer-gmp.nix new file mode 100644 index 0000000000..94f930e70e --- /dev/null +++ b/materialized/ghc-boot-packages-nix/ghc984-ghcjs/integer-gmp.nix @@ -0,0 +1,35 @@ +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: + { + flags = {}; + package = { + specVersion = "2.0"; + identifier = { name = "integer-gmp"; version = "1.1"; }; + license = "BSD-3-Clause"; + copyright = ""; + maintainer = "hvr@gnu.org"; + author = "Herbert Valerio Riedel"; + homepage = "https://www.haskell.org/ghc/"; + url = ""; + synopsis = "Integer library based on GMP"; + description = "This package used to provide an implementation of the standard 'Integer'\ntype based on the\n.\n\nIt is now deprecated in favor of the 'ghc-bignum' package.\n\nIts purpose is to provide backward compatibility for codes directly\ndepending on the `integer-gmp` package."; + buildType = "Simple"; + }; + components = { + "library" = { + depends = [ + (hsPkgs."base" or (errorHandler.buildDepError "base")) + (hsPkgs."ghc-prim" or (errorHandler.buildDepError "ghc-prim")) + (hsPkgs."ghc-bignum" or (errorHandler.buildDepError "ghc-bignum")) + ]; + buildable = true; + }; + }; + } // rec { src = pkgs.lib.mkDefault ./.; } diff --git a/materialized/ghc-boot-packages-nix/ghc984-ghcjs/iserv.nix b/materialized/ghc-boot-packages-nix/ghc984-ghcjs/iserv.nix new file mode 100644 index 0000000000..a3bbce53b0 --- /dev/null +++ b/materialized/ghc-boot-packages-nix/ghc984-ghcjs/iserv.nix @@ -0,0 +1,41 @@ +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: + { + flags = {}; + package = { + specVersion = "1.10"; + identifier = { name = "iserv"; version = "9.8.4"; }; + license = "BSD-3-Clause"; + copyright = "XXX"; + maintainer = "XXX"; + author = "XXX"; + homepage = ""; + url = ""; + synopsis = "iserv allows GHC to delegate Template Haskell computations"; + description = "GHC can be provided with a path to the iserv binary with\n@-pgmi=/path/to/iserv-bin@, and will in combination with\n@-fexternal-interpreter@, compile Template Haskell though the\n@iserv-bin@ delegate. This is very similar to how ghcjs has been\ncompiling Template Haskell, by spawning a separate delegate (so\ncalled runner on the javascript vm) and evaluating the splices\nthere."; + buildType = "Simple"; + }; + components = { + exes = { + "iserv" = { + 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."ghci" or (errorHandler.buildDepError "ghci")) + ] ++ pkgs.lib.optional (!system.isWindows) (hsPkgs."unix" or (errorHandler.buildDepError "unix")); + buildable = true; + }; + }; + }; + } // rec { src = pkgs.lib.mkDefault ./.; } diff --git a/materialized/ghc-boot-packages-nix/ghc984-ghcjs/remote-iserv.nix b/materialized/ghc-boot-packages-nix/ghc984-ghcjs/remote-iserv.nix new file mode 100644 index 0000000000..688b674992 --- /dev/null +++ b/materialized/ghc-boot-packages-nix/ghc984-ghcjs/remote-iserv.nix @@ -0,0 +1,36 @@ +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: + { + flags = {}; + package = { + specVersion = "1.10"; + identifier = { name = "remote-iserv"; version = "9.8.4"; }; + license = "BSD-3-Clause"; + copyright = "XXX"; + maintainer = "Moritz Angermann "; + author = "Moritz Angermann "; + homepage = ""; + url = ""; + synopsis = "iserv allows GHC to delegate Template Haskell computations"; + description = "This is a very simple remote runner for iserv, to be used together\nwith iserv-proxy. The foundamental idea is that this this wrapper\nstarts running the GHCi server on a given port to which iserv-proxy will\nthen connect."; + buildType = "Simple"; + }; + components = { + exes = { + "remote-iserv" = { + depends = [ + (hsPkgs."base" or (errorHandler.buildDepError "base")) + (hsPkgs."ghci" or (errorHandler.buildDepError "ghci")) + ]; + buildable = true; + }; + }; + }; + } // rec { src = pkgs.lib.mkDefault ./.; } diff --git a/materialized/ghc-boot-packages-nix/ghc984-ghcjs/template-haskell.nix b/materialized/ghc-boot-packages-nix/ghc984-ghcjs/template-haskell.nix new file mode 100644 index 0000000000..3e26556434 --- /dev/null +++ b/materialized/ghc-boot-packages-nix/ghc984-ghcjs/template-haskell.nix @@ -0,0 +1,36 @@ +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: + { + flags = {}; + package = { + specVersion = "1.10"; + identifier = { name = "template-haskell"; version = "2.21.0.0"; }; + license = "BSD-3-Clause"; + copyright = ""; + maintainer = "libraries@haskell.org"; + author = ""; + homepage = ""; + url = ""; + synopsis = "Support library for Template Haskell"; + description = "This package provides modules containing facilities for manipulating\nHaskell source code using Template Haskell.\n\nSee for more\ninformation."; + buildType = "Simple"; + }; + components = { + "library" = { + depends = [ + (hsPkgs."base" or (errorHandler.buildDepError "base")) + (hsPkgs."ghc-boot-th" or (errorHandler.buildDepError "ghc-boot-th")) + (hsPkgs."ghc-prim" or (errorHandler.buildDepError "ghc-prim")) + (hsPkgs."pretty" or (errorHandler.buildDepError "pretty")) + ]; + buildable = true; + }; + }; + } // rec { src = pkgs.lib.mkDefault ./.; } diff --git a/materialized/ghc-boot-packages-nix/ghc984/base.nix b/materialized/ghc-boot-packages-nix/ghc984/base.nix new file mode 100644 index 0000000000..d918879f6f --- /dev/null +++ b/materialized/ghc-boot-packages-nix/ghc984/base.nix @@ -0,0 +1,49 @@ +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: + { + flags = {}; + package = { + specVersion = "3.0"; + identifier = { name = "base"; version = "4.19.2.0"; }; + license = "BSD-3-Clause"; + copyright = ""; + maintainer = "Core Libraries Committee "; + author = ""; + homepage = ""; + url = ""; + synopsis = "Core data structures and operations"; + description = "Haskell's base library provides, among other things, core types (e.g. [Bool](\"Data.Bool\") and [Int](\"Data.Int\")),\ndata structures (e.g. [List](\"Data.List\"), [Tuple](\"Data.Tuple\") and [Maybe](\"Data.Maybe\")),\nthe [Exception](\"Control.Exception\") mechanism, and the [IO](\"System.IO\") & [Concurrency](\"Control.Concurrent\") operations.\nThe \"Prelude\" module, which is imported by default, exposes a curated set of types and functions from other modules.\n\nOther data structures like [Map](https://hackage.haskell.org/package/containers/docs/Data-Map.html),\n[Set](https://hackage.haskell.org/package/containers/docs/Data-Set.html) are available in the [containers](https://hackage.haskell.org/package/containers) library.\nTo work with textual data, use the [text](https://hackage.haskell.org/package/text/docs/Data-Text.html) library."; + buildType = "Configure"; + }; + components = { + "library" = { + depends = [ + (hsPkgs."rts" or (errorHandler.buildDepError "rts")) + (hsPkgs."ghc-prim" or (errorHandler.buildDepError "ghc-prim")) + (hsPkgs."ghc-bignum" or (errorHandler.buildDepError "ghc-bignum")) + ]; + libs = pkgs.lib.optionals (system.isWindows) [ + (pkgs."wsock32" or (errorHandler.sysDepError "wsock32")) + (pkgs."user32" or (errorHandler.sysDepError "user32")) + (pkgs."shell32" or (errorHandler.sysDepError "shell32")) + (pkgs."mingw32" or (errorHandler.sysDepError "mingw32")) + (pkgs."kernel32" or (errorHandler.sysDepError "kernel32")) + (pkgs."advapi32" or (errorHandler.sysDepError "advapi32")) + (pkgs."mingwex" or (errorHandler.sysDepError "mingwex")) + (pkgs."ws2_32" or (errorHandler.sysDepError "ws2_32")) + (pkgs."shlwapi" or (errorHandler.sysDepError "shlwapi")) + (pkgs."ole32" or (errorHandler.sysDepError "ole32")) + (pkgs."rpcrt4" or (errorHandler.sysDepError "rpcrt4")) + (pkgs."ntdll" or (errorHandler.sysDepError "ntdll")) + ]; + buildable = true; + }; + }; + } // rec { src = pkgs.lib.mkDefault ./.; } diff --git a/materialized/ghc-boot-packages-nix/ghc984/deriveConstants.nix b/materialized/ghc-boot-packages-nix/ghc984/deriveConstants.nix new file mode 100644 index 0000000000..135cdd02f6 --- /dev/null +++ b/materialized/ghc-boot-packages-nix/ghc984/deriveConstants.nix @@ -0,0 +1,39 @@ +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: + { + flags = {}; + package = { + specVersion = "1.10"; + identifier = { name = "deriveConstants"; version = "0.1"; }; + license = "BSD-3-Clause"; + copyright = "XXX"; + maintainer = "XXX"; + author = "XXX"; + homepage = ""; + url = ""; + synopsis = "Derive header files containing various constants for the GHC build process"; + description = "This utility is responsible for generating a number of C header files\nneeded during the GHC build process. See @rts/include/ghc.mk@ in the GHC\nbuild system for details."; + buildType = "Simple"; + }; + components = { + exes = { + "deriveConstants" = { + depends = [ + (hsPkgs."base" or (errorHandler.buildDepError "base")) + (hsPkgs."containers" or (errorHandler.buildDepError "containers")) + (hsPkgs."process" or (errorHandler.buildDepError "process")) + (hsPkgs."filepath" or (errorHandler.buildDepError "filepath")) + (hsPkgs."directory" or (errorHandler.buildDepError "directory")) + ]; + buildable = true; + }; + }; + }; + } // rec { src = pkgs.lib.mkDefault ./.; } diff --git a/materialized/ghc-boot-packages-nix/ghc984/genprimopcode.nix b/materialized/ghc-boot-packages-nix/ghc984/genprimopcode.nix new file mode 100644 index 0000000000..49bbe516ba --- /dev/null +++ b/materialized/ghc-boot-packages-nix/ghc984/genprimopcode.nix @@ -0,0 +1,40 @@ +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: + { + flags = { build-tool-depends = true; }; + package = { + specVersion = "2.0"; + identifier = { name = "genprimopcode"; version = "0.1"; }; + license = "BSD-3-Clause"; + copyright = "XXX"; + maintainer = "XXX"; + author = "XXX"; + homepage = ""; + url = ""; + synopsis = "Generates various files implementing GHC's primitive operations."; + description = "This utility reads a textual description of GHC's primitive operations\n(@primops.txt.pp@) and produces a number of outputs. These include,\n\n* the @GHC.Prim@ module included in the @ghc-prim@ package.\n* the @GHC.PrimopWrappers@ module included in the @ghc-prim@ package.\n* an LaTeX document describing the primitive operations."; + buildType = "Simple"; + }; + components = { + exes = { + "genprimopcode" = { + depends = [ + (hsPkgs."base" or (errorHandler.buildDepError "base")) + (hsPkgs."array" or (errorHandler.buildDepError "array")) + ]; + build-tools = pkgs.lib.optionals (flags.build-tool-depends) [ + (hsPkgs.pkgsBuildBuild.alex.components.exes.alex or (pkgs.pkgsBuildBuild.alex or (errorHandler.buildToolDepError "alex:alex"))) + (hsPkgs.pkgsBuildBuild.happy.components.exes.happy or (pkgs.pkgsBuildBuild.happy or (errorHandler.buildToolDepError "happy:happy"))) + ]; + buildable = true; + }; + }; + }; + } // rec { src = pkgs.lib.mkDefault ./.; } diff --git a/materialized/ghc-boot-packages-nix/ghc984/ghc-bignum.nix b/materialized/ghc-boot-packages-nix/ghc984/ghc-bignum.nix new file mode 100644 index 0000000000..46af6e0e9f --- /dev/null +++ b/materialized/ghc-boot-packages-nix/ghc984/ghc-bignum.nix @@ -0,0 +1,37 @@ +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: + { + flags = { native = false; ffi = false; gmp = false; check = false; }; + package = { + specVersion = "2.0"; + identifier = { name = "ghc-bignum"; version = "1.3"; }; + license = "BSD-3-Clause"; + copyright = ""; + maintainer = "libraries@haskell.org"; + author = "Sylvain Henry"; + homepage = ""; + url = ""; + synopsis = "GHC BigNum library"; + description = "This package provides the low-level implementation of the standard\n'BigNat', 'Natural' and 'Integer' types."; + buildType = "Configure"; + }; + components = { + "library" = { + depends = [ + (hsPkgs."ghc-prim" or (errorHandler.buildDepError "ghc-prim")) + ]; + buildable = (if !flags.native && !flags.gmp && !flags.ffi + then false + else true) && (if flags.native && (flags.gmp || flags.ffi) + then false + else true) && (if flags.gmp && flags.ffi then false else true); + }; + }; + } // rec { src = pkgs.lib.mkDefault ./.; } diff --git a/materialized/ghc-boot-packages-nix/ghc984/ghc-boot.nix b/materialized/ghc-boot-packages-nix/ghc984/ghc-boot.nix new file mode 100644 index 0000000000..6f834c0745 --- /dev/null +++ b/materialized/ghc-boot-packages-nix/ghc984/ghc-boot.nix @@ -0,0 +1,46 @@ +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: + { + flags = {}; + package = { + specVersion = "3.0"; + identifier = { name = "ghc-boot"; version = "9.8.4"; }; + license = "BSD-3-Clause"; + copyright = ""; + maintainer = "ghc-devs@haskell.org"; + author = ""; + homepage = ""; + url = ""; + synopsis = "Shared functionality between GHC and its boot libraries"; + description = "This library is shared between GHC, ghc-pkg, and other boot\nlibraries.\n.\nA note about \"GHC.Unit.Database\": it only deals with the subset of\nthe package database that the compiler cares about: modules\npaths etc and not package metadata like description, authors\netc. It is thus not a library interface to ghc-pkg and is *not*\nsuitable for modifying GHC package databases.\n.\nThe package database format and this library are constructed in\nsuch a way that while ghc-pkg depends on Cabal, the GHC library\nand program do not have to depend on Cabal."; + buildType = "Custom"; + setup-depends = [ + (hsPkgs.pkgsBuildBuild.base or (pkgs.pkgsBuildBuild.base or (errorHandler.setupDepError "base"))) + (hsPkgs.pkgsBuildBuild.Cabal or (pkgs.pkgsBuildBuild.Cabal or (errorHandler.setupDepError "Cabal"))) + (hsPkgs.pkgsBuildBuild.directory or (pkgs.pkgsBuildBuild.directory or (errorHandler.setupDepError "directory"))) + (hsPkgs.pkgsBuildBuild.filepath or (pkgs.pkgsBuildBuild.filepath or (errorHandler.setupDepError "filepath"))) + ]; + }; + components = { + "library" = { + depends = [ + (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."directory" or (errorHandler.buildDepError "directory")) + (hsPkgs."filepath" or (errorHandler.buildDepError "filepath")) + (hsPkgs."deepseq" or (errorHandler.buildDepError "deepseq")) + (hsPkgs."ghc-boot-th" or (errorHandler.buildDepError "ghc-boot-th")) + ] ++ pkgs.lib.optional (!system.isWindows) (hsPkgs."unix" or (errorHandler.buildDepError "unix")); + buildable = true; + }; + }; + } // rec { src = pkgs.lib.mkDefault ./.; } diff --git a/materialized/ghc-boot-packages-nix/ghc984/ghc-heap.nix b/materialized/ghc-boot-packages-nix/ghc984/ghc-heap.nix new file mode 100644 index 0000000000..c793f1b243 --- /dev/null +++ b/materialized/ghc-boot-packages-nix/ghc984/ghc-heap.nix @@ -0,0 +1,36 @@ +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: + { + flags = {}; + package = { + specVersion = "3.0"; + identifier = { name = "ghc-heap"; version = "9.8.4"; }; + license = "BSD-3-Clause"; + copyright = ""; + maintainer = "libraries@haskell.org"; + author = ""; + homepage = ""; + url = ""; + synopsis = "Functions for walking GHC's heap"; + description = "This package provides functions for walking the GHC heap data structures\nand retrieving information about those data structures."; + buildType = "Simple"; + }; + components = { + "library" = { + depends = [ + (hsPkgs."base" or (errorHandler.buildDepError "base")) + (hsPkgs."ghc-prim" or (errorHandler.buildDepError "ghc-prim")) + (hsPkgs."rts" or (errorHandler.buildDepError "rts")) + (hsPkgs."containers" or (errorHandler.buildDepError "containers")) + ]; + buildable = true; + }; + }; + } // rec { src = pkgs.lib.mkDefault ./.; } diff --git a/materialized/ghc-boot-packages-nix/ghc984/ghc-prim.nix b/materialized/ghc-boot-packages-nix/ghc984/ghc-prim.nix new file mode 100644 index 0000000000..546c5704d0 --- /dev/null +++ b/materialized/ghc-boot-packages-nix/ghc984/ghc-prim.nix @@ -0,0 +1,47 @@ +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: + { + flags = { need-atomic = false; }; + package = { + specVersion = "2.2"; + identifier = { name = "ghc-prim"; version = "0.11.0"; }; + license = "BSD-3-Clause"; + copyright = ""; + maintainer = "libraries@haskell.org"; + author = ""; + homepage = ""; + url = ""; + synopsis = "GHC primitives"; + description = "This package contains the primitive types and operations supplied by GHC.\nIt is an internal package, only for the use of GHC developers.\nGHC users should not use it! If you do use it then expect\nbreaking changes at any time without warning. You should prefer\nto import @GHC.Exts@ from the @base@ package instead."; + buildType = "Custom"; + setup-depends = [ + (hsPkgs.pkgsBuildBuild.base or (pkgs.pkgsBuildBuild.base or (errorHandler.setupDepError "base"))) + (hsPkgs.pkgsBuildBuild.process or (pkgs.pkgsBuildBuild.process or (errorHandler.setupDepError "process"))) + (hsPkgs.pkgsBuildBuild.filepath or (pkgs.pkgsBuildBuild.filepath or (errorHandler.setupDepError "filepath"))) + (hsPkgs.pkgsBuildBuild.directory or (pkgs.pkgsBuildBuild.directory or (errorHandler.setupDepError "directory"))) + (hsPkgs.pkgsBuildBuild.Cabal or (pkgs.pkgsBuildBuild.Cabal or (errorHandler.setupDepError "Cabal"))) + ]; + }; + components = { + "library" = { + depends = [ (hsPkgs."rts" or (errorHandler.buildDepError "rts")) ]; + libs = (pkgs.lib.optionals (system.isWindows) [ + (pkgs."user32" or (errorHandler.sysDepError "user32")) + (pkgs."mingw32" or (errorHandler.sysDepError "mingw32")) + (pkgs."mingwex" or (errorHandler.sysDepError "mingwex")) + (pkgs."ucrt" or (errorHandler.sysDepError "ucrt")) + ] ++ pkgs.lib.optionals (system.isLinux) [ + (pkgs."c" or (errorHandler.sysDepError "c")) + (pkgs."m" or (errorHandler.sysDepError "m")) + ]) ++ pkgs.lib.optional (flags.need-atomic) (pkgs."atomic" or (errorHandler.sysDepError "atomic")); + buildable = true; + }; + }; + } // rec { src = pkgs.lib.mkDefault ./.; } diff --git a/materialized/ghc-boot-packages-nix/ghc984/ghc.nix b/materialized/ghc-boot-packages-nix/ghc984/ghc.nix new file mode 100644 index 0000000000..d1f3fc8e0f --- /dev/null +++ b/materialized/ghc-boot-packages-nix/ghc984/ghc.nix @@ -0,0 +1,81 @@ +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: + { + flags = { + internal-interpreter = false; + dynamic-system-linker = true; + build-tool-depends = true; + with-libzstd = false; + static-libzstd = false; + hadrian-stage0 = false; + }; + package = { + specVersion = "2.2"; + identifier = { name = "ghc"; version = "9.8.4"; }; + license = "BSD-3-Clause"; + copyright = ""; + maintainer = "glasgow-haskell-users@haskell.org"; + author = "The GHC Team"; + homepage = "http://www.haskell.org/ghc/"; + url = ""; + synopsis = "The GHC API"; + description = "GHC's functionality can be useful for more things than just\ncompiling Haskell programs. Important use cases are programs\nthat analyse (and perhaps transform) Haskell code. Others\ninclude loading Haskell code dynamically in a GHCi-like manner.\nFor this reason, a lot of GHC's functionality is made available\nthrough this package.\n\nSee \nfor more information."; + buildType = "Custom"; + setup-depends = [ + (hsPkgs.pkgsBuildBuild.base or (pkgs.pkgsBuildBuild.base or (errorHandler.setupDepError "base"))) + (hsPkgs.pkgsBuildBuild.Cabal or (pkgs.pkgsBuildBuild.Cabal or (errorHandler.setupDepError "Cabal"))) + (hsPkgs.pkgsBuildBuild.directory or (pkgs.pkgsBuildBuild.directory or (errorHandler.setupDepError "directory"))) + (hsPkgs.pkgsBuildBuild.process or (pkgs.pkgsBuildBuild.process or (errorHandler.setupDepError "process"))) + (hsPkgs.pkgsBuildBuild.filepath or (pkgs.pkgsBuildBuild.filepath or (errorHandler.setupDepError "filepath"))) + (hsPkgs.pkgsBuildBuild.containers or (pkgs.pkgsBuildBuild.containers or (errorHandler.setupDepError "containers"))) + ]; + }; + components = { + "library" = { + depends = [ + (hsPkgs."base" or (errorHandler.buildDepError "base")) + (hsPkgs."deepseq" or (errorHandler.buildDepError "deepseq")) + (hsPkgs."directory" or (errorHandler.buildDepError "directory")) + (hsPkgs."process" or (errorHandler.buildDepError "process")) + (hsPkgs."bytestring" or (errorHandler.buildDepError "bytestring")) + (hsPkgs."binary" or (errorHandler.buildDepError "binary")) + (hsPkgs."time" or (errorHandler.buildDepError "time")) + (hsPkgs."containers" or (errorHandler.buildDepError "containers")) + (hsPkgs."array" or (errorHandler.buildDepError "array")) + (hsPkgs."filepath" or (errorHandler.buildDepError "filepath")) + (hsPkgs."template-haskell" or (errorHandler.buildDepError "template-haskell")) + (hsPkgs."hpc" or (errorHandler.buildDepError "hpc")) + (hsPkgs."transformers" or (errorHandler.buildDepError "transformers")) + (hsPkgs."exceptions" or (errorHandler.buildDepError "exceptions")) + (hsPkgs."semaphore-compat" or (errorHandler.buildDepError "semaphore-compat")) + (hsPkgs."stm" or (errorHandler.buildDepError "stm")) + (hsPkgs."ghc-boot" or (errorHandler.buildDepError "ghc-boot")) + (hsPkgs."ghc-heap" or (errorHandler.buildDepError "ghc-heap")) + (hsPkgs."ghci" or (errorHandler.buildDepError "ghci")) + ] ++ (if system.isWindows + then [ (hsPkgs."Win32" or (errorHandler.buildDepError "Win32")) ] + else [ (hsPkgs."unix" or (errorHandler.buildDepError "unix")) ]); + libs = pkgs.lib.optionals (flags.with-libzstd) (if flags.static-libzstd + then pkgs.lib.optional (!system.isOsx) (pkgs.":libzstd.a" or (errorHandler.sysDepError ":libzstd.a")) + else [ (pkgs."zstd" or (errorHandler.sysDepError "zstd")) ]); + build-tools = pkgs.lib.optionals (flags.build-tool-depends) [ + (hsPkgs.pkgsBuildBuild.alex.components.exes.alex or (pkgs.pkgsBuildBuild.alex or (errorHandler.buildToolDepError "alex:alex"))) + (hsPkgs.pkgsBuildBuild.happy.components.exes.happy or (pkgs.pkgsBuildBuild.happy or (errorHandler.buildToolDepError "happy:happy"))) + (hsPkgs.pkgsBuildBuild.genprimopcode.components.exes.genprimopcode or (pkgs.pkgsBuildBuild.genprimopcode or (errorHandler.buildToolDepError "genprimopcode:genprimopcode"))) + (hsPkgs.pkgsBuildBuild.deriveConstants.components.exes.deriveConstants or (pkgs.pkgsBuildBuild.deriveConstants or (errorHandler.buildToolDepError "deriveConstants:deriveConstants"))) + ]; + buildable = if flags.with-libzstd + then if flags.static-libzstd + then if system.isOsx then false else true + else true + else true; + }; + }; + } // rec { src = pkgs.lib.mkDefault ./.; } diff --git a/materialized/ghc-boot-packages-nix/ghc984/ghci.nix b/materialized/ghc-boot-packages-nix/ghc984/ghci.nix new file mode 100644 index 0000000000..0c59903854 --- /dev/null +++ b/materialized/ghc-boot-packages-nix/ghc984/ghci.nix @@ -0,0 +1,45 @@ +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: + { + flags = { internal-interpreter = false; }; + package = { + specVersion = "1.10"; + identifier = { name = "ghci"; version = "9.8.4"; }; + license = "BSD-3-Clause"; + copyright = ""; + maintainer = "ghc-devs@haskell.org"; + author = ""; + homepage = ""; + url = ""; + synopsis = "The library supporting GHC's interactive interpreter"; + description = "This library offers interfaces which mediate interactions between the\n@ghci@ interactive shell and @iserv@, GHC's out-of-process interpreter\nbackend."; + buildType = "Simple"; + }; + components = { + "library" = { + depends = [ + (hsPkgs."rts" or (errorHandler.buildDepError "rts")) + (hsPkgs."array" or (errorHandler.buildDepError "array")) + (hsPkgs."base" or (errorHandler.buildDepError "base")) + (hsPkgs."ghc-prim" or (errorHandler.buildDepError "ghc-prim")) + (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."filepath" or (errorHandler.buildDepError "filepath")) + (hsPkgs."ghc-boot" or (errorHandler.buildDepError "ghc-boot")) + (hsPkgs."ghc-heap" or (errorHandler.buildDepError "ghc-heap")) + (hsPkgs."template-haskell" or (errorHandler.buildDepError "template-haskell")) + (hsPkgs."transformers" or (errorHandler.buildDepError "transformers")) + ] ++ pkgs.lib.optional (!system.isWindows) (hsPkgs."unix" or (errorHandler.buildDepError "unix")); + buildable = true; + }; + }; + } // rec { src = pkgs.lib.mkDefault ./.; } diff --git a/materialized/ghc-boot-packages-nix/ghc984/hpc.nix b/materialized/ghc-boot-packages-nix/ghc984/hpc.nix new file mode 100644 index 0000000000..f6b275cfd1 --- /dev/null +++ b/materialized/ghc-boot-packages-nix/ghc984/hpc.nix @@ -0,0 +1,38 @@ +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: + { + flags = {}; + package = { + specVersion = "2.2"; + identifier = { name = "hpc"; version = "0.7.0.0"; }; + license = "BSD-3-Clause"; + copyright = ""; + maintainer = "ghc-devs@haskell.org"; + author = "Andy Gill"; + homepage = ""; + url = ""; + synopsis = "Code Coverage Library for Haskell"; + description = "This package provides the code coverage library for Haskell.\n\nSee for more\ninformation."; + buildType = "Simple"; + }; + components = { + "library" = { + depends = [ + (hsPkgs."base" or (errorHandler.buildDepError "base")) + (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."time" or (errorHandler.buildDepError "time")) + ]; + buildable = true; + }; + }; + } // rec { src = pkgs.lib.mkDefault ./.; } diff --git a/materialized/ghc-boot-packages-nix/ghc984/integer-gmp.nix b/materialized/ghc-boot-packages-nix/ghc984/integer-gmp.nix new file mode 100644 index 0000000000..94f930e70e --- /dev/null +++ b/materialized/ghc-boot-packages-nix/ghc984/integer-gmp.nix @@ -0,0 +1,35 @@ +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: + { + flags = {}; + package = { + specVersion = "2.0"; + identifier = { name = "integer-gmp"; version = "1.1"; }; + license = "BSD-3-Clause"; + copyright = ""; + maintainer = "hvr@gnu.org"; + author = "Herbert Valerio Riedel"; + homepage = "https://www.haskell.org/ghc/"; + url = ""; + synopsis = "Integer library based on GMP"; + description = "This package used to provide an implementation of the standard 'Integer'\ntype based on the\n.\n\nIt is now deprecated in favor of the 'ghc-bignum' package.\n\nIts purpose is to provide backward compatibility for codes directly\ndepending on the `integer-gmp` package."; + buildType = "Simple"; + }; + components = { + "library" = { + depends = [ + (hsPkgs."base" or (errorHandler.buildDepError "base")) + (hsPkgs."ghc-prim" or (errorHandler.buildDepError "ghc-prim")) + (hsPkgs."ghc-bignum" or (errorHandler.buildDepError "ghc-bignum")) + ]; + buildable = true; + }; + }; + } // rec { src = pkgs.lib.mkDefault ./.; } diff --git a/materialized/ghc-boot-packages-nix/ghc984/iserv.nix b/materialized/ghc-boot-packages-nix/ghc984/iserv.nix new file mode 100644 index 0000000000..a3bbce53b0 --- /dev/null +++ b/materialized/ghc-boot-packages-nix/ghc984/iserv.nix @@ -0,0 +1,41 @@ +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: + { + flags = {}; + package = { + specVersion = "1.10"; + identifier = { name = "iserv"; version = "9.8.4"; }; + license = "BSD-3-Clause"; + copyright = "XXX"; + maintainer = "XXX"; + author = "XXX"; + homepage = ""; + url = ""; + synopsis = "iserv allows GHC to delegate Template Haskell computations"; + description = "GHC can be provided with a path to the iserv binary with\n@-pgmi=/path/to/iserv-bin@, and will in combination with\n@-fexternal-interpreter@, compile Template Haskell though the\n@iserv-bin@ delegate. This is very similar to how ghcjs has been\ncompiling Template Haskell, by spawning a separate delegate (so\ncalled runner on the javascript vm) and evaluating the splices\nthere."; + buildType = "Simple"; + }; + components = { + exes = { + "iserv" = { + 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."ghci" or (errorHandler.buildDepError "ghci")) + ] ++ pkgs.lib.optional (!system.isWindows) (hsPkgs."unix" or (errorHandler.buildDepError "unix")); + buildable = true; + }; + }; + }; + } // rec { src = pkgs.lib.mkDefault ./.; } diff --git a/materialized/ghc-boot-packages-nix/ghc984/remote-iserv.nix b/materialized/ghc-boot-packages-nix/ghc984/remote-iserv.nix new file mode 100644 index 0000000000..688b674992 --- /dev/null +++ b/materialized/ghc-boot-packages-nix/ghc984/remote-iserv.nix @@ -0,0 +1,36 @@ +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: + { + flags = {}; + package = { + specVersion = "1.10"; + identifier = { name = "remote-iserv"; version = "9.8.4"; }; + license = "BSD-3-Clause"; + copyright = "XXX"; + maintainer = "Moritz Angermann "; + author = "Moritz Angermann "; + homepage = ""; + url = ""; + synopsis = "iserv allows GHC to delegate Template Haskell computations"; + description = "This is a very simple remote runner for iserv, to be used together\nwith iserv-proxy. The foundamental idea is that this this wrapper\nstarts running the GHCi server on a given port to which iserv-proxy will\nthen connect."; + buildType = "Simple"; + }; + components = { + exes = { + "remote-iserv" = { + depends = [ + (hsPkgs."base" or (errorHandler.buildDepError "base")) + (hsPkgs."ghci" or (errorHandler.buildDepError "ghci")) + ]; + buildable = true; + }; + }; + }; + } // rec { src = pkgs.lib.mkDefault ./.; } diff --git a/materialized/ghc-boot-packages-nix/ghc984/template-haskell.nix b/materialized/ghc-boot-packages-nix/ghc984/template-haskell.nix new file mode 100644 index 0000000000..3e26556434 --- /dev/null +++ b/materialized/ghc-boot-packages-nix/ghc984/template-haskell.nix @@ -0,0 +1,36 @@ +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: + { + flags = {}; + package = { + specVersion = "1.10"; + identifier = { name = "template-haskell"; version = "2.21.0.0"; }; + license = "BSD-3-Clause"; + copyright = ""; + maintainer = "libraries@haskell.org"; + author = ""; + homepage = ""; + url = ""; + synopsis = "Support library for Template Haskell"; + description = "This package provides modules containing facilities for manipulating\nHaskell source code using Template Haskell.\n\nSee for more\ninformation."; + buildType = "Simple"; + }; + components = { + "library" = { + depends = [ + (hsPkgs."base" or (errorHandler.buildDepError "base")) + (hsPkgs."ghc-boot-th" or (errorHandler.buildDepError "ghc-boot-th")) + (hsPkgs."ghc-prim" or (errorHandler.buildDepError "ghc-prim")) + (hsPkgs."pretty" or (errorHandler.buildDepError "pretty")) + ]; + buildable = true; + }; + }; + } // rec { src = pkgs.lib.mkDefault ./.; } diff --git a/materialized/ghc-boot-packages-nix/ghc984llvm-aarch64/base.nix b/materialized/ghc-boot-packages-nix/ghc984llvm-aarch64/base.nix new file mode 100644 index 0000000000..d918879f6f --- /dev/null +++ b/materialized/ghc-boot-packages-nix/ghc984llvm-aarch64/base.nix @@ -0,0 +1,49 @@ +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: + { + flags = {}; + package = { + specVersion = "3.0"; + identifier = { name = "base"; version = "4.19.2.0"; }; + license = "BSD-3-Clause"; + copyright = ""; + maintainer = "Core Libraries Committee "; + author = ""; + homepage = ""; + url = ""; + synopsis = "Core data structures and operations"; + description = "Haskell's base library provides, among other things, core types (e.g. [Bool](\"Data.Bool\") and [Int](\"Data.Int\")),\ndata structures (e.g. [List](\"Data.List\"), [Tuple](\"Data.Tuple\") and [Maybe](\"Data.Maybe\")),\nthe [Exception](\"Control.Exception\") mechanism, and the [IO](\"System.IO\") & [Concurrency](\"Control.Concurrent\") operations.\nThe \"Prelude\" module, which is imported by default, exposes a curated set of types and functions from other modules.\n\nOther data structures like [Map](https://hackage.haskell.org/package/containers/docs/Data-Map.html),\n[Set](https://hackage.haskell.org/package/containers/docs/Data-Set.html) are available in the [containers](https://hackage.haskell.org/package/containers) library.\nTo work with textual data, use the [text](https://hackage.haskell.org/package/text/docs/Data-Text.html) library."; + buildType = "Configure"; + }; + components = { + "library" = { + depends = [ + (hsPkgs."rts" or (errorHandler.buildDepError "rts")) + (hsPkgs."ghc-prim" or (errorHandler.buildDepError "ghc-prim")) + (hsPkgs."ghc-bignum" or (errorHandler.buildDepError "ghc-bignum")) + ]; + libs = pkgs.lib.optionals (system.isWindows) [ + (pkgs."wsock32" or (errorHandler.sysDepError "wsock32")) + (pkgs."user32" or (errorHandler.sysDepError "user32")) + (pkgs."shell32" or (errorHandler.sysDepError "shell32")) + (pkgs."mingw32" or (errorHandler.sysDepError "mingw32")) + (pkgs."kernel32" or (errorHandler.sysDepError "kernel32")) + (pkgs."advapi32" or (errorHandler.sysDepError "advapi32")) + (pkgs."mingwex" or (errorHandler.sysDepError "mingwex")) + (pkgs."ws2_32" or (errorHandler.sysDepError "ws2_32")) + (pkgs."shlwapi" or (errorHandler.sysDepError "shlwapi")) + (pkgs."ole32" or (errorHandler.sysDepError "ole32")) + (pkgs."rpcrt4" or (errorHandler.sysDepError "rpcrt4")) + (pkgs."ntdll" or (errorHandler.sysDepError "ntdll")) + ]; + buildable = true; + }; + }; + } // rec { src = pkgs.lib.mkDefault ./.; } diff --git a/materialized/ghc-boot-packages-nix/ghc984llvm-aarch64/deriveConstants.nix b/materialized/ghc-boot-packages-nix/ghc984llvm-aarch64/deriveConstants.nix new file mode 100644 index 0000000000..135cdd02f6 --- /dev/null +++ b/materialized/ghc-boot-packages-nix/ghc984llvm-aarch64/deriveConstants.nix @@ -0,0 +1,39 @@ +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: + { + flags = {}; + package = { + specVersion = "1.10"; + identifier = { name = "deriveConstants"; version = "0.1"; }; + license = "BSD-3-Clause"; + copyright = "XXX"; + maintainer = "XXX"; + author = "XXX"; + homepage = ""; + url = ""; + synopsis = "Derive header files containing various constants for the GHC build process"; + description = "This utility is responsible for generating a number of C header files\nneeded during the GHC build process. See @rts/include/ghc.mk@ in the GHC\nbuild system for details."; + buildType = "Simple"; + }; + components = { + exes = { + "deriveConstants" = { + depends = [ + (hsPkgs."base" or (errorHandler.buildDepError "base")) + (hsPkgs."containers" or (errorHandler.buildDepError "containers")) + (hsPkgs."process" or (errorHandler.buildDepError "process")) + (hsPkgs."filepath" or (errorHandler.buildDepError "filepath")) + (hsPkgs."directory" or (errorHandler.buildDepError "directory")) + ]; + buildable = true; + }; + }; + }; + } // rec { src = pkgs.lib.mkDefault ./.; } diff --git a/materialized/ghc-boot-packages-nix/ghc984llvm-aarch64/genprimopcode.nix b/materialized/ghc-boot-packages-nix/ghc984llvm-aarch64/genprimopcode.nix new file mode 100644 index 0000000000..49bbe516ba --- /dev/null +++ b/materialized/ghc-boot-packages-nix/ghc984llvm-aarch64/genprimopcode.nix @@ -0,0 +1,40 @@ +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: + { + flags = { build-tool-depends = true; }; + package = { + specVersion = "2.0"; + identifier = { name = "genprimopcode"; version = "0.1"; }; + license = "BSD-3-Clause"; + copyright = "XXX"; + maintainer = "XXX"; + author = "XXX"; + homepage = ""; + url = ""; + synopsis = "Generates various files implementing GHC's primitive operations."; + description = "This utility reads a textual description of GHC's primitive operations\n(@primops.txt.pp@) and produces a number of outputs. These include,\n\n* the @GHC.Prim@ module included in the @ghc-prim@ package.\n* the @GHC.PrimopWrappers@ module included in the @ghc-prim@ package.\n* an LaTeX document describing the primitive operations."; + buildType = "Simple"; + }; + components = { + exes = { + "genprimopcode" = { + depends = [ + (hsPkgs."base" or (errorHandler.buildDepError "base")) + (hsPkgs."array" or (errorHandler.buildDepError "array")) + ]; + build-tools = pkgs.lib.optionals (flags.build-tool-depends) [ + (hsPkgs.pkgsBuildBuild.alex.components.exes.alex or (pkgs.pkgsBuildBuild.alex or (errorHandler.buildToolDepError "alex:alex"))) + (hsPkgs.pkgsBuildBuild.happy.components.exes.happy or (pkgs.pkgsBuildBuild.happy or (errorHandler.buildToolDepError "happy:happy"))) + ]; + buildable = true; + }; + }; + }; + } // rec { src = pkgs.lib.mkDefault ./.; } diff --git a/materialized/ghc-boot-packages-nix/ghc984llvm-aarch64/ghc-bignum.nix b/materialized/ghc-boot-packages-nix/ghc984llvm-aarch64/ghc-bignum.nix new file mode 100644 index 0000000000..46af6e0e9f --- /dev/null +++ b/materialized/ghc-boot-packages-nix/ghc984llvm-aarch64/ghc-bignum.nix @@ -0,0 +1,37 @@ +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: + { + flags = { native = false; ffi = false; gmp = false; check = false; }; + package = { + specVersion = "2.0"; + identifier = { name = "ghc-bignum"; version = "1.3"; }; + license = "BSD-3-Clause"; + copyright = ""; + maintainer = "libraries@haskell.org"; + author = "Sylvain Henry"; + homepage = ""; + url = ""; + synopsis = "GHC BigNum library"; + description = "This package provides the low-level implementation of the standard\n'BigNat', 'Natural' and 'Integer' types."; + buildType = "Configure"; + }; + components = { + "library" = { + depends = [ + (hsPkgs."ghc-prim" or (errorHandler.buildDepError "ghc-prim")) + ]; + buildable = (if !flags.native && !flags.gmp && !flags.ffi + then false + else true) && (if flags.native && (flags.gmp || flags.ffi) + then false + else true) && (if flags.gmp && flags.ffi then false else true); + }; + }; + } // rec { src = pkgs.lib.mkDefault ./.; } diff --git a/materialized/ghc-boot-packages-nix/ghc984llvm-aarch64/ghc-boot.nix b/materialized/ghc-boot-packages-nix/ghc984llvm-aarch64/ghc-boot.nix new file mode 100644 index 0000000000..6f834c0745 --- /dev/null +++ b/materialized/ghc-boot-packages-nix/ghc984llvm-aarch64/ghc-boot.nix @@ -0,0 +1,46 @@ +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: + { + flags = {}; + package = { + specVersion = "3.0"; + identifier = { name = "ghc-boot"; version = "9.8.4"; }; + license = "BSD-3-Clause"; + copyright = ""; + maintainer = "ghc-devs@haskell.org"; + author = ""; + homepage = ""; + url = ""; + synopsis = "Shared functionality between GHC and its boot libraries"; + description = "This library is shared between GHC, ghc-pkg, and other boot\nlibraries.\n.\nA note about \"GHC.Unit.Database\": it only deals with the subset of\nthe package database that the compiler cares about: modules\npaths etc and not package metadata like description, authors\netc. It is thus not a library interface to ghc-pkg and is *not*\nsuitable for modifying GHC package databases.\n.\nThe package database format and this library are constructed in\nsuch a way that while ghc-pkg depends on Cabal, the GHC library\nand program do not have to depend on Cabal."; + buildType = "Custom"; + setup-depends = [ + (hsPkgs.pkgsBuildBuild.base or (pkgs.pkgsBuildBuild.base or (errorHandler.setupDepError "base"))) + (hsPkgs.pkgsBuildBuild.Cabal or (pkgs.pkgsBuildBuild.Cabal or (errorHandler.setupDepError "Cabal"))) + (hsPkgs.pkgsBuildBuild.directory or (pkgs.pkgsBuildBuild.directory or (errorHandler.setupDepError "directory"))) + (hsPkgs.pkgsBuildBuild.filepath or (pkgs.pkgsBuildBuild.filepath or (errorHandler.setupDepError "filepath"))) + ]; + }; + components = { + "library" = { + depends = [ + (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."directory" or (errorHandler.buildDepError "directory")) + (hsPkgs."filepath" or (errorHandler.buildDepError "filepath")) + (hsPkgs."deepseq" or (errorHandler.buildDepError "deepseq")) + (hsPkgs."ghc-boot-th" or (errorHandler.buildDepError "ghc-boot-th")) + ] ++ pkgs.lib.optional (!system.isWindows) (hsPkgs."unix" or (errorHandler.buildDepError "unix")); + buildable = true; + }; + }; + } // rec { src = pkgs.lib.mkDefault ./.; } diff --git a/materialized/ghc-boot-packages-nix/ghc984llvm-aarch64/ghc-heap.nix b/materialized/ghc-boot-packages-nix/ghc984llvm-aarch64/ghc-heap.nix new file mode 100644 index 0000000000..c793f1b243 --- /dev/null +++ b/materialized/ghc-boot-packages-nix/ghc984llvm-aarch64/ghc-heap.nix @@ -0,0 +1,36 @@ +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: + { + flags = {}; + package = { + specVersion = "3.0"; + identifier = { name = "ghc-heap"; version = "9.8.4"; }; + license = "BSD-3-Clause"; + copyright = ""; + maintainer = "libraries@haskell.org"; + author = ""; + homepage = ""; + url = ""; + synopsis = "Functions for walking GHC's heap"; + description = "This package provides functions for walking the GHC heap data structures\nand retrieving information about those data structures."; + buildType = "Simple"; + }; + components = { + "library" = { + depends = [ + (hsPkgs."base" or (errorHandler.buildDepError "base")) + (hsPkgs."ghc-prim" or (errorHandler.buildDepError "ghc-prim")) + (hsPkgs."rts" or (errorHandler.buildDepError "rts")) + (hsPkgs."containers" or (errorHandler.buildDepError "containers")) + ]; + buildable = true; + }; + }; + } // rec { src = pkgs.lib.mkDefault ./.; } diff --git a/materialized/ghc-boot-packages-nix/ghc984llvm-aarch64/ghc-prim.nix b/materialized/ghc-boot-packages-nix/ghc984llvm-aarch64/ghc-prim.nix new file mode 100644 index 0000000000..546c5704d0 --- /dev/null +++ b/materialized/ghc-boot-packages-nix/ghc984llvm-aarch64/ghc-prim.nix @@ -0,0 +1,47 @@ +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: + { + flags = { need-atomic = false; }; + package = { + specVersion = "2.2"; + identifier = { name = "ghc-prim"; version = "0.11.0"; }; + license = "BSD-3-Clause"; + copyright = ""; + maintainer = "libraries@haskell.org"; + author = ""; + homepage = ""; + url = ""; + synopsis = "GHC primitives"; + description = "This package contains the primitive types and operations supplied by GHC.\nIt is an internal package, only for the use of GHC developers.\nGHC users should not use it! If you do use it then expect\nbreaking changes at any time without warning. You should prefer\nto import @GHC.Exts@ from the @base@ package instead."; + buildType = "Custom"; + setup-depends = [ + (hsPkgs.pkgsBuildBuild.base or (pkgs.pkgsBuildBuild.base or (errorHandler.setupDepError "base"))) + (hsPkgs.pkgsBuildBuild.process or (pkgs.pkgsBuildBuild.process or (errorHandler.setupDepError "process"))) + (hsPkgs.pkgsBuildBuild.filepath or (pkgs.pkgsBuildBuild.filepath or (errorHandler.setupDepError "filepath"))) + (hsPkgs.pkgsBuildBuild.directory or (pkgs.pkgsBuildBuild.directory or (errorHandler.setupDepError "directory"))) + (hsPkgs.pkgsBuildBuild.Cabal or (pkgs.pkgsBuildBuild.Cabal or (errorHandler.setupDepError "Cabal"))) + ]; + }; + components = { + "library" = { + depends = [ (hsPkgs."rts" or (errorHandler.buildDepError "rts")) ]; + libs = (pkgs.lib.optionals (system.isWindows) [ + (pkgs."user32" or (errorHandler.sysDepError "user32")) + (pkgs."mingw32" or (errorHandler.sysDepError "mingw32")) + (pkgs."mingwex" or (errorHandler.sysDepError "mingwex")) + (pkgs."ucrt" or (errorHandler.sysDepError "ucrt")) + ] ++ pkgs.lib.optionals (system.isLinux) [ + (pkgs."c" or (errorHandler.sysDepError "c")) + (pkgs."m" or (errorHandler.sysDepError "m")) + ]) ++ pkgs.lib.optional (flags.need-atomic) (pkgs."atomic" or (errorHandler.sysDepError "atomic")); + buildable = true; + }; + }; + } // rec { src = pkgs.lib.mkDefault ./.; } diff --git a/materialized/ghc-boot-packages-nix/ghc984llvm-aarch64/ghc.nix b/materialized/ghc-boot-packages-nix/ghc984llvm-aarch64/ghc.nix new file mode 100644 index 0000000000..d1f3fc8e0f --- /dev/null +++ b/materialized/ghc-boot-packages-nix/ghc984llvm-aarch64/ghc.nix @@ -0,0 +1,81 @@ +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: + { + flags = { + internal-interpreter = false; + dynamic-system-linker = true; + build-tool-depends = true; + with-libzstd = false; + static-libzstd = false; + hadrian-stage0 = false; + }; + package = { + specVersion = "2.2"; + identifier = { name = "ghc"; version = "9.8.4"; }; + license = "BSD-3-Clause"; + copyright = ""; + maintainer = "glasgow-haskell-users@haskell.org"; + author = "The GHC Team"; + homepage = "http://www.haskell.org/ghc/"; + url = ""; + synopsis = "The GHC API"; + description = "GHC's functionality can be useful for more things than just\ncompiling Haskell programs. Important use cases are programs\nthat analyse (and perhaps transform) Haskell code. Others\ninclude loading Haskell code dynamically in a GHCi-like manner.\nFor this reason, a lot of GHC's functionality is made available\nthrough this package.\n\nSee \nfor more information."; + buildType = "Custom"; + setup-depends = [ + (hsPkgs.pkgsBuildBuild.base or (pkgs.pkgsBuildBuild.base or (errorHandler.setupDepError "base"))) + (hsPkgs.pkgsBuildBuild.Cabal or (pkgs.pkgsBuildBuild.Cabal or (errorHandler.setupDepError "Cabal"))) + (hsPkgs.pkgsBuildBuild.directory or (pkgs.pkgsBuildBuild.directory or (errorHandler.setupDepError "directory"))) + (hsPkgs.pkgsBuildBuild.process or (pkgs.pkgsBuildBuild.process or (errorHandler.setupDepError "process"))) + (hsPkgs.pkgsBuildBuild.filepath or (pkgs.pkgsBuildBuild.filepath or (errorHandler.setupDepError "filepath"))) + (hsPkgs.pkgsBuildBuild.containers or (pkgs.pkgsBuildBuild.containers or (errorHandler.setupDepError "containers"))) + ]; + }; + components = { + "library" = { + depends = [ + (hsPkgs."base" or (errorHandler.buildDepError "base")) + (hsPkgs."deepseq" or (errorHandler.buildDepError "deepseq")) + (hsPkgs."directory" or (errorHandler.buildDepError "directory")) + (hsPkgs."process" or (errorHandler.buildDepError "process")) + (hsPkgs."bytestring" or (errorHandler.buildDepError "bytestring")) + (hsPkgs."binary" or (errorHandler.buildDepError "binary")) + (hsPkgs."time" or (errorHandler.buildDepError "time")) + (hsPkgs."containers" or (errorHandler.buildDepError "containers")) + (hsPkgs."array" or (errorHandler.buildDepError "array")) + (hsPkgs."filepath" or (errorHandler.buildDepError "filepath")) + (hsPkgs."template-haskell" or (errorHandler.buildDepError "template-haskell")) + (hsPkgs."hpc" or (errorHandler.buildDepError "hpc")) + (hsPkgs."transformers" or (errorHandler.buildDepError "transformers")) + (hsPkgs."exceptions" or (errorHandler.buildDepError "exceptions")) + (hsPkgs."semaphore-compat" or (errorHandler.buildDepError "semaphore-compat")) + (hsPkgs."stm" or (errorHandler.buildDepError "stm")) + (hsPkgs."ghc-boot" or (errorHandler.buildDepError "ghc-boot")) + (hsPkgs."ghc-heap" or (errorHandler.buildDepError "ghc-heap")) + (hsPkgs."ghci" or (errorHandler.buildDepError "ghci")) + ] ++ (if system.isWindows + then [ (hsPkgs."Win32" or (errorHandler.buildDepError "Win32")) ] + else [ (hsPkgs."unix" or (errorHandler.buildDepError "unix")) ]); + libs = pkgs.lib.optionals (flags.with-libzstd) (if flags.static-libzstd + then pkgs.lib.optional (!system.isOsx) (pkgs.":libzstd.a" or (errorHandler.sysDepError ":libzstd.a")) + else [ (pkgs."zstd" or (errorHandler.sysDepError "zstd")) ]); + build-tools = pkgs.lib.optionals (flags.build-tool-depends) [ + (hsPkgs.pkgsBuildBuild.alex.components.exes.alex or (pkgs.pkgsBuildBuild.alex or (errorHandler.buildToolDepError "alex:alex"))) + (hsPkgs.pkgsBuildBuild.happy.components.exes.happy or (pkgs.pkgsBuildBuild.happy or (errorHandler.buildToolDepError "happy:happy"))) + (hsPkgs.pkgsBuildBuild.genprimopcode.components.exes.genprimopcode or (pkgs.pkgsBuildBuild.genprimopcode or (errorHandler.buildToolDepError "genprimopcode:genprimopcode"))) + (hsPkgs.pkgsBuildBuild.deriveConstants.components.exes.deriveConstants or (pkgs.pkgsBuildBuild.deriveConstants or (errorHandler.buildToolDepError "deriveConstants:deriveConstants"))) + ]; + buildable = if flags.with-libzstd + then if flags.static-libzstd + then if system.isOsx then false else true + else true + else true; + }; + }; + } // rec { src = pkgs.lib.mkDefault ./.; } diff --git a/materialized/ghc-boot-packages-nix/ghc984llvm-aarch64/ghci.nix b/materialized/ghc-boot-packages-nix/ghc984llvm-aarch64/ghci.nix new file mode 100644 index 0000000000..0c59903854 --- /dev/null +++ b/materialized/ghc-boot-packages-nix/ghc984llvm-aarch64/ghci.nix @@ -0,0 +1,45 @@ +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: + { + flags = { internal-interpreter = false; }; + package = { + specVersion = "1.10"; + identifier = { name = "ghci"; version = "9.8.4"; }; + license = "BSD-3-Clause"; + copyright = ""; + maintainer = "ghc-devs@haskell.org"; + author = ""; + homepage = ""; + url = ""; + synopsis = "The library supporting GHC's interactive interpreter"; + description = "This library offers interfaces which mediate interactions between the\n@ghci@ interactive shell and @iserv@, GHC's out-of-process interpreter\nbackend."; + buildType = "Simple"; + }; + components = { + "library" = { + depends = [ + (hsPkgs."rts" or (errorHandler.buildDepError "rts")) + (hsPkgs."array" or (errorHandler.buildDepError "array")) + (hsPkgs."base" or (errorHandler.buildDepError "base")) + (hsPkgs."ghc-prim" or (errorHandler.buildDepError "ghc-prim")) + (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."filepath" or (errorHandler.buildDepError "filepath")) + (hsPkgs."ghc-boot" or (errorHandler.buildDepError "ghc-boot")) + (hsPkgs."ghc-heap" or (errorHandler.buildDepError "ghc-heap")) + (hsPkgs."template-haskell" or (errorHandler.buildDepError "template-haskell")) + (hsPkgs."transformers" or (errorHandler.buildDepError "transformers")) + ] ++ pkgs.lib.optional (!system.isWindows) (hsPkgs."unix" or (errorHandler.buildDepError "unix")); + buildable = true; + }; + }; + } // rec { src = pkgs.lib.mkDefault ./.; } diff --git a/materialized/ghc-boot-packages-nix/ghc984llvm-aarch64/hpc.nix b/materialized/ghc-boot-packages-nix/ghc984llvm-aarch64/hpc.nix new file mode 100644 index 0000000000..f6b275cfd1 --- /dev/null +++ b/materialized/ghc-boot-packages-nix/ghc984llvm-aarch64/hpc.nix @@ -0,0 +1,38 @@ +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: + { + flags = {}; + package = { + specVersion = "2.2"; + identifier = { name = "hpc"; version = "0.7.0.0"; }; + license = "BSD-3-Clause"; + copyright = ""; + maintainer = "ghc-devs@haskell.org"; + author = "Andy Gill"; + homepage = ""; + url = ""; + synopsis = "Code Coverage Library for Haskell"; + description = "This package provides the code coverage library for Haskell.\n\nSee for more\ninformation."; + buildType = "Simple"; + }; + components = { + "library" = { + depends = [ + (hsPkgs."base" or (errorHandler.buildDepError "base")) + (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."time" or (errorHandler.buildDepError "time")) + ]; + buildable = true; + }; + }; + } // rec { src = pkgs.lib.mkDefault ./.; } diff --git a/materialized/ghc-boot-packages-nix/ghc984llvm-aarch64/integer-gmp.nix b/materialized/ghc-boot-packages-nix/ghc984llvm-aarch64/integer-gmp.nix new file mode 100644 index 0000000000..94f930e70e --- /dev/null +++ b/materialized/ghc-boot-packages-nix/ghc984llvm-aarch64/integer-gmp.nix @@ -0,0 +1,35 @@ +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: + { + flags = {}; + package = { + specVersion = "2.0"; + identifier = { name = "integer-gmp"; version = "1.1"; }; + license = "BSD-3-Clause"; + copyright = ""; + maintainer = "hvr@gnu.org"; + author = "Herbert Valerio Riedel"; + homepage = "https://www.haskell.org/ghc/"; + url = ""; + synopsis = "Integer library based on GMP"; + description = "This package used to provide an implementation of the standard 'Integer'\ntype based on the\n.\n\nIt is now deprecated in favor of the 'ghc-bignum' package.\n\nIts purpose is to provide backward compatibility for codes directly\ndepending on the `integer-gmp` package."; + buildType = "Simple"; + }; + components = { + "library" = { + depends = [ + (hsPkgs."base" or (errorHandler.buildDepError "base")) + (hsPkgs."ghc-prim" or (errorHandler.buildDepError "ghc-prim")) + (hsPkgs."ghc-bignum" or (errorHandler.buildDepError "ghc-bignum")) + ]; + buildable = true; + }; + }; + } // rec { src = pkgs.lib.mkDefault ./.; } diff --git a/materialized/ghc-boot-packages-nix/ghc984llvm-aarch64/iserv.nix b/materialized/ghc-boot-packages-nix/ghc984llvm-aarch64/iserv.nix new file mode 100644 index 0000000000..a3bbce53b0 --- /dev/null +++ b/materialized/ghc-boot-packages-nix/ghc984llvm-aarch64/iserv.nix @@ -0,0 +1,41 @@ +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: + { + flags = {}; + package = { + specVersion = "1.10"; + identifier = { name = "iserv"; version = "9.8.4"; }; + license = "BSD-3-Clause"; + copyright = "XXX"; + maintainer = "XXX"; + author = "XXX"; + homepage = ""; + url = ""; + synopsis = "iserv allows GHC to delegate Template Haskell computations"; + description = "GHC can be provided with a path to the iserv binary with\n@-pgmi=/path/to/iserv-bin@, and will in combination with\n@-fexternal-interpreter@, compile Template Haskell though the\n@iserv-bin@ delegate. This is very similar to how ghcjs has been\ncompiling Template Haskell, by spawning a separate delegate (so\ncalled runner on the javascript vm) and evaluating the splices\nthere."; + buildType = "Simple"; + }; + components = { + exes = { + "iserv" = { + 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."ghci" or (errorHandler.buildDepError "ghci")) + ] ++ pkgs.lib.optional (!system.isWindows) (hsPkgs."unix" or (errorHandler.buildDepError "unix")); + buildable = true; + }; + }; + }; + } // rec { src = pkgs.lib.mkDefault ./.; } diff --git a/materialized/ghc-boot-packages-nix/ghc984llvm-aarch64/remote-iserv.nix b/materialized/ghc-boot-packages-nix/ghc984llvm-aarch64/remote-iserv.nix new file mode 100644 index 0000000000..688b674992 --- /dev/null +++ b/materialized/ghc-boot-packages-nix/ghc984llvm-aarch64/remote-iserv.nix @@ -0,0 +1,36 @@ +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: + { + flags = {}; + package = { + specVersion = "1.10"; + identifier = { name = "remote-iserv"; version = "9.8.4"; }; + license = "BSD-3-Clause"; + copyright = "XXX"; + maintainer = "Moritz Angermann "; + author = "Moritz Angermann "; + homepage = ""; + url = ""; + synopsis = "iserv allows GHC to delegate Template Haskell computations"; + description = "This is a very simple remote runner for iserv, to be used together\nwith iserv-proxy. The foundamental idea is that this this wrapper\nstarts running the GHCi server on a given port to which iserv-proxy will\nthen connect."; + buildType = "Simple"; + }; + components = { + exes = { + "remote-iserv" = { + depends = [ + (hsPkgs."base" or (errorHandler.buildDepError "base")) + (hsPkgs."ghci" or (errorHandler.buildDepError "ghci")) + ]; + buildable = true; + }; + }; + }; + } // rec { src = pkgs.lib.mkDefault ./.; } diff --git a/materialized/ghc-boot-packages-nix/ghc984llvm-aarch64/template-haskell.nix b/materialized/ghc-boot-packages-nix/ghc984llvm-aarch64/template-haskell.nix new file mode 100644 index 0000000000..3e26556434 --- /dev/null +++ b/materialized/ghc-boot-packages-nix/ghc984llvm-aarch64/template-haskell.nix @@ -0,0 +1,36 @@ +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: + { + flags = {}; + package = { + specVersion = "1.10"; + identifier = { name = "template-haskell"; version = "2.21.0.0"; }; + license = "BSD-3-Clause"; + copyright = ""; + maintainer = "libraries@haskell.org"; + author = ""; + homepage = ""; + url = ""; + synopsis = "Support library for Template Haskell"; + description = "This package provides modules containing facilities for manipulating\nHaskell source code using Template Haskell.\n\nSee for more\ninformation."; + buildType = "Simple"; + }; + components = { + "library" = { + depends = [ + (hsPkgs."base" or (errorHandler.buildDepError "base")) + (hsPkgs."ghc-boot-th" or (errorHandler.buildDepError "ghc-boot-th")) + (hsPkgs."ghc-prim" or (errorHandler.buildDepError "ghc-prim")) + (hsPkgs."pretty" or (errorHandler.buildDepError "pretty")) + ]; + buildable = true; + }; + }; + } // rec { src = pkgs.lib.mkDefault ./.; } diff --git a/materialized/ghc-boot-packages-nix/ghc984llvm/base.nix b/materialized/ghc-boot-packages-nix/ghc984llvm/base.nix new file mode 100644 index 0000000000..d918879f6f --- /dev/null +++ b/materialized/ghc-boot-packages-nix/ghc984llvm/base.nix @@ -0,0 +1,49 @@ +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: + { + flags = {}; + package = { + specVersion = "3.0"; + identifier = { name = "base"; version = "4.19.2.0"; }; + license = "BSD-3-Clause"; + copyright = ""; + maintainer = "Core Libraries Committee "; + author = ""; + homepage = ""; + url = ""; + synopsis = "Core data structures and operations"; + description = "Haskell's base library provides, among other things, core types (e.g. [Bool](\"Data.Bool\") and [Int](\"Data.Int\")),\ndata structures (e.g. [List](\"Data.List\"), [Tuple](\"Data.Tuple\") and [Maybe](\"Data.Maybe\")),\nthe [Exception](\"Control.Exception\") mechanism, and the [IO](\"System.IO\") & [Concurrency](\"Control.Concurrent\") operations.\nThe \"Prelude\" module, which is imported by default, exposes a curated set of types and functions from other modules.\n\nOther data structures like [Map](https://hackage.haskell.org/package/containers/docs/Data-Map.html),\n[Set](https://hackage.haskell.org/package/containers/docs/Data-Set.html) are available in the [containers](https://hackage.haskell.org/package/containers) library.\nTo work with textual data, use the [text](https://hackage.haskell.org/package/text/docs/Data-Text.html) library."; + buildType = "Configure"; + }; + components = { + "library" = { + depends = [ + (hsPkgs."rts" or (errorHandler.buildDepError "rts")) + (hsPkgs."ghc-prim" or (errorHandler.buildDepError "ghc-prim")) + (hsPkgs."ghc-bignum" or (errorHandler.buildDepError "ghc-bignum")) + ]; + libs = pkgs.lib.optionals (system.isWindows) [ + (pkgs."wsock32" or (errorHandler.sysDepError "wsock32")) + (pkgs."user32" or (errorHandler.sysDepError "user32")) + (pkgs."shell32" or (errorHandler.sysDepError "shell32")) + (pkgs."mingw32" or (errorHandler.sysDepError "mingw32")) + (pkgs."kernel32" or (errorHandler.sysDepError "kernel32")) + (pkgs."advapi32" or (errorHandler.sysDepError "advapi32")) + (pkgs."mingwex" or (errorHandler.sysDepError "mingwex")) + (pkgs."ws2_32" or (errorHandler.sysDepError "ws2_32")) + (pkgs."shlwapi" or (errorHandler.sysDepError "shlwapi")) + (pkgs."ole32" or (errorHandler.sysDepError "ole32")) + (pkgs."rpcrt4" or (errorHandler.sysDepError "rpcrt4")) + (pkgs."ntdll" or (errorHandler.sysDepError "ntdll")) + ]; + buildable = true; + }; + }; + } // rec { src = pkgs.lib.mkDefault ./.; } diff --git a/materialized/ghc-boot-packages-nix/ghc984llvm/deriveConstants.nix b/materialized/ghc-boot-packages-nix/ghc984llvm/deriveConstants.nix new file mode 100644 index 0000000000..135cdd02f6 --- /dev/null +++ b/materialized/ghc-boot-packages-nix/ghc984llvm/deriveConstants.nix @@ -0,0 +1,39 @@ +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: + { + flags = {}; + package = { + specVersion = "1.10"; + identifier = { name = "deriveConstants"; version = "0.1"; }; + license = "BSD-3-Clause"; + copyright = "XXX"; + maintainer = "XXX"; + author = "XXX"; + homepage = ""; + url = ""; + synopsis = "Derive header files containing various constants for the GHC build process"; + description = "This utility is responsible for generating a number of C header files\nneeded during the GHC build process. See @rts/include/ghc.mk@ in the GHC\nbuild system for details."; + buildType = "Simple"; + }; + components = { + exes = { + "deriveConstants" = { + depends = [ + (hsPkgs."base" or (errorHandler.buildDepError "base")) + (hsPkgs."containers" or (errorHandler.buildDepError "containers")) + (hsPkgs."process" or (errorHandler.buildDepError "process")) + (hsPkgs."filepath" or (errorHandler.buildDepError "filepath")) + (hsPkgs."directory" or (errorHandler.buildDepError "directory")) + ]; + buildable = true; + }; + }; + }; + } // rec { src = pkgs.lib.mkDefault ./.; } diff --git a/materialized/ghc-boot-packages-nix/ghc984llvm/genprimopcode.nix b/materialized/ghc-boot-packages-nix/ghc984llvm/genprimopcode.nix new file mode 100644 index 0000000000..49bbe516ba --- /dev/null +++ b/materialized/ghc-boot-packages-nix/ghc984llvm/genprimopcode.nix @@ -0,0 +1,40 @@ +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: + { + flags = { build-tool-depends = true; }; + package = { + specVersion = "2.0"; + identifier = { name = "genprimopcode"; version = "0.1"; }; + license = "BSD-3-Clause"; + copyright = "XXX"; + maintainer = "XXX"; + author = "XXX"; + homepage = ""; + url = ""; + synopsis = "Generates various files implementing GHC's primitive operations."; + description = "This utility reads a textual description of GHC's primitive operations\n(@primops.txt.pp@) and produces a number of outputs. These include,\n\n* the @GHC.Prim@ module included in the @ghc-prim@ package.\n* the @GHC.PrimopWrappers@ module included in the @ghc-prim@ package.\n* an LaTeX document describing the primitive operations."; + buildType = "Simple"; + }; + components = { + exes = { + "genprimopcode" = { + depends = [ + (hsPkgs."base" or (errorHandler.buildDepError "base")) + (hsPkgs."array" or (errorHandler.buildDepError "array")) + ]; + build-tools = pkgs.lib.optionals (flags.build-tool-depends) [ + (hsPkgs.pkgsBuildBuild.alex.components.exes.alex or (pkgs.pkgsBuildBuild.alex or (errorHandler.buildToolDepError "alex:alex"))) + (hsPkgs.pkgsBuildBuild.happy.components.exes.happy or (pkgs.pkgsBuildBuild.happy or (errorHandler.buildToolDepError "happy:happy"))) + ]; + buildable = true; + }; + }; + }; + } // rec { src = pkgs.lib.mkDefault ./.; } diff --git a/materialized/ghc-boot-packages-nix/ghc984llvm/ghc-bignum.nix b/materialized/ghc-boot-packages-nix/ghc984llvm/ghc-bignum.nix new file mode 100644 index 0000000000..46af6e0e9f --- /dev/null +++ b/materialized/ghc-boot-packages-nix/ghc984llvm/ghc-bignum.nix @@ -0,0 +1,37 @@ +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: + { + flags = { native = false; ffi = false; gmp = false; check = false; }; + package = { + specVersion = "2.0"; + identifier = { name = "ghc-bignum"; version = "1.3"; }; + license = "BSD-3-Clause"; + copyright = ""; + maintainer = "libraries@haskell.org"; + author = "Sylvain Henry"; + homepage = ""; + url = ""; + synopsis = "GHC BigNum library"; + description = "This package provides the low-level implementation of the standard\n'BigNat', 'Natural' and 'Integer' types."; + buildType = "Configure"; + }; + components = { + "library" = { + depends = [ + (hsPkgs."ghc-prim" or (errorHandler.buildDepError "ghc-prim")) + ]; + buildable = (if !flags.native && !flags.gmp && !flags.ffi + then false + else true) && (if flags.native && (flags.gmp || flags.ffi) + then false + else true) && (if flags.gmp && flags.ffi then false else true); + }; + }; + } // rec { src = pkgs.lib.mkDefault ./.; } diff --git a/materialized/ghc-boot-packages-nix/ghc984llvm/ghc-boot.nix b/materialized/ghc-boot-packages-nix/ghc984llvm/ghc-boot.nix new file mode 100644 index 0000000000..6f834c0745 --- /dev/null +++ b/materialized/ghc-boot-packages-nix/ghc984llvm/ghc-boot.nix @@ -0,0 +1,46 @@ +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: + { + flags = {}; + package = { + specVersion = "3.0"; + identifier = { name = "ghc-boot"; version = "9.8.4"; }; + license = "BSD-3-Clause"; + copyright = ""; + maintainer = "ghc-devs@haskell.org"; + author = ""; + homepage = ""; + url = ""; + synopsis = "Shared functionality between GHC and its boot libraries"; + description = "This library is shared between GHC, ghc-pkg, and other boot\nlibraries.\n.\nA note about \"GHC.Unit.Database\": it only deals with the subset of\nthe package database that the compiler cares about: modules\npaths etc and not package metadata like description, authors\netc. It is thus not a library interface to ghc-pkg and is *not*\nsuitable for modifying GHC package databases.\n.\nThe package database format and this library are constructed in\nsuch a way that while ghc-pkg depends on Cabal, the GHC library\nand program do not have to depend on Cabal."; + buildType = "Custom"; + setup-depends = [ + (hsPkgs.pkgsBuildBuild.base or (pkgs.pkgsBuildBuild.base or (errorHandler.setupDepError "base"))) + (hsPkgs.pkgsBuildBuild.Cabal or (pkgs.pkgsBuildBuild.Cabal or (errorHandler.setupDepError "Cabal"))) + (hsPkgs.pkgsBuildBuild.directory or (pkgs.pkgsBuildBuild.directory or (errorHandler.setupDepError "directory"))) + (hsPkgs.pkgsBuildBuild.filepath or (pkgs.pkgsBuildBuild.filepath or (errorHandler.setupDepError "filepath"))) + ]; + }; + components = { + "library" = { + depends = [ + (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."directory" or (errorHandler.buildDepError "directory")) + (hsPkgs."filepath" or (errorHandler.buildDepError "filepath")) + (hsPkgs."deepseq" or (errorHandler.buildDepError "deepseq")) + (hsPkgs."ghc-boot-th" or (errorHandler.buildDepError "ghc-boot-th")) + ] ++ pkgs.lib.optional (!system.isWindows) (hsPkgs."unix" or (errorHandler.buildDepError "unix")); + buildable = true; + }; + }; + } // rec { src = pkgs.lib.mkDefault ./.; } diff --git a/materialized/ghc-boot-packages-nix/ghc984llvm/ghc-heap.nix b/materialized/ghc-boot-packages-nix/ghc984llvm/ghc-heap.nix new file mode 100644 index 0000000000..c793f1b243 --- /dev/null +++ b/materialized/ghc-boot-packages-nix/ghc984llvm/ghc-heap.nix @@ -0,0 +1,36 @@ +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: + { + flags = {}; + package = { + specVersion = "3.0"; + identifier = { name = "ghc-heap"; version = "9.8.4"; }; + license = "BSD-3-Clause"; + copyright = ""; + maintainer = "libraries@haskell.org"; + author = ""; + homepage = ""; + url = ""; + synopsis = "Functions for walking GHC's heap"; + description = "This package provides functions for walking the GHC heap data structures\nand retrieving information about those data structures."; + buildType = "Simple"; + }; + components = { + "library" = { + depends = [ + (hsPkgs."base" or (errorHandler.buildDepError "base")) + (hsPkgs."ghc-prim" or (errorHandler.buildDepError "ghc-prim")) + (hsPkgs."rts" or (errorHandler.buildDepError "rts")) + (hsPkgs."containers" or (errorHandler.buildDepError "containers")) + ]; + buildable = true; + }; + }; + } // rec { src = pkgs.lib.mkDefault ./.; } diff --git a/materialized/ghc-boot-packages-nix/ghc984llvm/ghc-prim.nix b/materialized/ghc-boot-packages-nix/ghc984llvm/ghc-prim.nix new file mode 100644 index 0000000000..546c5704d0 --- /dev/null +++ b/materialized/ghc-boot-packages-nix/ghc984llvm/ghc-prim.nix @@ -0,0 +1,47 @@ +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: + { + flags = { need-atomic = false; }; + package = { + specVersion = "2.2"; + identifier = { name = "ghc-prim"; version = "0.11.0"; }; + license = "BSD-3-Clause"; + copyright = ""; + maintainer = "libraries@haskell.org"; + author = ""; + homepage = ""; + url = ""; + synopsis = "GHC primitives"; + description = "This package contains the primitive types and operations supplied by GHC.\nIt is an internal package, only for the use of GHC developers.\nGHC users should not use it! If you do use it then expect\nbreaking changes at any time without warning. You should prefer\nto import @GHC.Exts@ from the @base@ package instead."; + buildType = "Custom"; + setup-depends = [ + (hsPkgs.pkgsBuildBuild.base or (pkgs.pkgsBuildBuild.base or (errorHandler.setupDepError "base"))) + (hsPkgs.pkgsBuildBuild.process or (pkgs.pkgsBuildBuild.process or (errorHandler.setupDepError "process"))) + (hsPkgs.pkgsBuildBuild.filepath or (pkgs.pkgsBuildBuild.filepath or (errorHandler.setupDepError "filepath"))) + (hsPkgs.pkgsBuildBuild.directory or (pkgs.pkgsBuildBuild.directory or (errorHandler.setupDepError "directory"))) + (hsPkgs.pkgsBuildBuild.Cabal or (pkgs.pkgsBuildBuild.Cabal or (errorHandler.setupDepError "Cabal"))) + ]; + }; + components = { + "library" = { + depends = [ (hsPkgs."rts" or (errorHandler.buildDepError "rts")) ]; + libs = (pkgs.lib.optionals (system.isWindows) [ + (pkgs."user32" or (errorHandler.sysDepError "user32")) + (pkgs."mingw32" or (errorHandler.sysDepError "mingw32")) + (pkgs."mingwex" or (errorHandler.sysDepError "mingwex")) + (pkgs."ucrt" or (errorHandler.sysDepError "ucrt")) + ] ++ pkgs.lib.optionals (system.isLinux) [ + (pkgs."c" or (errorHandler.sysDepError "c")) + (pkgs."m" or (errorHandler.sysDepError "m")) + ]) ++ pkgs.lib.optional (flags.need-atomic) (pkgs."atomic" or (errorHandler.sysDepError "atomic")); + buildable = true; + }; + }; + } // rec { src = pkgs.lib.mkDefault ./.; } diff --git a/materialized/ghc-boot-packages-nix/ghc984llvm/ghc.nix b/materialized/ghc-boot-packages-nix/ghc984llvm/ghc.nix new file mode 100644 index 0000000000..d1f3fc8e0f --- /dev/null +++ b/materialized/ghc-boot-packages-nix/ghc984llvm/ghc.nix @@ -0,0 +1,81 @@ +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: + { + flags = { + internal-interpreter = false; + dynamic-system-linker = true; + build-tool-depends = true; + with-libzstd = false; + static-libzstd = false; + hadrian-stage0 = false; + }; + package = { + specVersion = "2.2"; + identifier = { name = "ghc"; version = "9.8.4"; }; + license = "BSD-3-Clause"; + copyright = ""; + maintainer = "glasgow-haskell-users@haskell.org"; + author = "The GHC Team"; + homepage = "http://www.haskell.org/ghc/"; + url = ""; + synopsis = "The GHC API"; + description = "GHC's functionality can be useful for more things than just\ncompiling Haskell programs. Important use cases are programs\nthat analyse (and perhaps transform) Haskell code. Others\ninclude loading Haskell code dynamically in a GHCi-like manner.\nFor this reason, a lot of GHC's functionality is made available\nthrough this package.\n\nSee \nfor more information."; + buildType = "Custom"; + setup-depends = [ + (hsPkgs.pkgsBuildBuild.base or (pkgs.pkgsBuildBuild.base or (errorHandler.setupDepError "base"))) + (hsPkgs.pkgsBuildBuild.Cabal or (pkgs.pkgsBuildBuild.Cabal or (errorHandler.setupDepError "Cabal"))) + (hsPkgs.pkgsBuildBuild.directory or (pkgs.pkgsBuildBuild.directory or (errorHandler.setupDepError "directory"))) + (hsPkgs.pkgsBuildBuild.process or (pkgs.pkgsBuildBuild.process or (errorHandler.setupDepError "process"))) + (hsPkgs.pkgsBuildBuild.filepath or (pkgs.pkgsBuildBuild.filepath or (errorHandler.setupDepError "filepath"))) + (hsPkgs.pkgsBuildBuild.containers or (pkgs.pkgsBuildBuild.containers or (errorHandler.setupDepError "containers"))) + ]; + }; + components = { + "library" = { + depends = [ + (hsPkgs."base" or (errorHandler.buildDepError "base")) + (hsPkgs."deepseq" or (errorHandler.buildDepError "deepseq")) + (hsPkgs."directory" or (errorHandler.buildDepError "directory")) + (hsPkgs."process" or (errorHandler.buildDepError "process")) + (hsPkgs."bytestring" or (errorHandler.buildDepError "bytestring")) + (hsPkgs."binary" or (errorHandler.buildDepError "binary")) + (hsPkgs."time" or (errorHandler.buildDepError "time")) + (hsPkgs."containers" or (errorHandler.buildDepError "containers")) + (hsPkgs."array" or (errorHandler.buildDepError "array")) + (hsPkgs."filepath" or (errorHandler.buildDepError "filepath")) + (hsPkgs."template-haskell" or (errorHandler.buildDepError "template-haskell")) + (hsPkgs."hpc" or (errorHandler.buildDepError "hpc")) + (hsPkgs."transformers" or (errorHandler.buildDepError "transformers")) + (hsPkgs."exceptions" or (errorHandler.buildDepError "exceptions")) + (hsPkgs."semaphore-compat" or (errorHandler.buildDepError "semaphore-compat")) + (hsPkgs."stm" or (errorHandler.buildDepError "stm")) + (hsPkgs."ghc-boot" or (errorHandler.buildDepError "ghc-boot")) + (hsPkgs."ghc-heap" or (errorHandler.buildDepError "ghc-heap")) + (hsPkgs."ghci" or (errorHandler.buildDepError "ghci")) + ] ++ (if system.isWindows + then [ (hsPkgs."Win32" or (errorHandler.buildDepError "Win32")) ] + else [ (hsPkgs."unix" or (errorHandler.buildDepError "unix")) ]); + libs = pkgs.lib.optionals (flags.with-libzstd) (if flags.static-libzstd + then pkgs.lib.optional (!system.isOsx) (pkgs.":libzstd.a" or (errorHandler.sysDepError ":libzstd.a")) + else [ (pkgs."zstd" or (errorHandler.sysDepError "zstd")) ]); + build-tools = pkgs.lib.optionals (flags.build-tool-depends) [ + (hsPkgs.pkgsBuildBuild.alex.components.exes.alex or (pkgs.pkgsBuildBuild.alex or (errorHandler.buildToolDepError "alex:alex"))) + (hsPkgs.pkgsBuildBuild.happy.components.exes.happy or (pkgs.pkgsBuildBuild.happy or (errorHandler.buildToolDepError "happy:happy"))) + (hsPkgs.pkgsBuildBuild.genprimopcode.components.exes.genprimopcode or (pkgs.pkgsBuildBuild.genprimopcode or (errorHandler.buildToolDepError "genprimopcode:genprimopcode"))) + (hsPkgs.pkgsBuildBuild.deriveConstants.components.exes.deriveConstants or (pkgs.pkgsBuildBuild.deriveConstants or (errorHandler.buildToolDepError "deriveConstants:deriveConstants"))) + ]; + buildable = if flags.with-libzstd + then if flags.static-libzstd + then if system.isOsx then false else true + else true + else true; + }; + }; + } // rec { src = pkgs.lib.mkDefault ./.; } diff --git a/materialized/ghc-boot-packages-nix/ghc984llvm/ghci.nix b/materialized/ghc-boot-packages-nix/ghc984llvm/ghci.nix new file mode 100644 index 0000000000..0c59903854 --- /dev/null +++ b/materialized/ghc-boot-packages-nix/ghc984llvm/ghci.nix @@ -0,0 +1,45 @@ +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: + { + flags = { internal-interpreter = false; }; + package = { + specVersion = "1.10"; + identifier = { name = "ghci"; version = "9.8.4"; }; + license = "BSD-3-Clause"; + copyright = ""; + maintainer = "ghc-devs@haskell.org"; + author = ""; + homepage = ""; + url = ""; + synopsis = "The library supporting GHC's interactive interpreter"; + description = "This library offers interfaces which mediate interactions between the\n@ghci@ interactive shell and @iserv@, GHC's out-of-process interpreter\nbackend."; + buildType = "Simple"; + }; + components = { + "library" = { + depends = [ + (hsPkgs."rts" or (errorHandler.buildDepError "rts")) + (hsPkgs."array" or (errorHandler.buildDepError "array")) + (hsPkgs."base" or (errorHandler.buildDepError "base")) + (hsPkgs."ghc-prim" or (errorHandler.buildDepError "ghc-prim")) + (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."filepath" or (errorHandler.buildDepError "filepath")) + (hsPkgs."ghc-boot" or (errorHandler.buildDepError "ghc-boot")) + (hsPkgs."ghc-heap" or (errorHandler.buildDepError "ghc-heap")) + (hsPkgs."template-haskell" or (errorHandler.buildDepError "template-haskell")) + (hsPkgs."transformers" or (errorHandler.buildDepError "transformers")) + ] ++ pkgs.lib.optional (!system.isWindows) (hsPkgs."unix" or (errorHandler.buildDepError "unix")); + buildable = true; + }; + }; + } // rec { src = pkgs.lib.mkDefault ./.; } diff --git a/materialized/ghc-boot-packages-nix/ghc984llvm/hpc.nix b/materialized/ghc-boot-packages-nix/ghc984llvm/hpc.nix new file mode 100644 index 0000000000..f6b275cfd1 --- /dev/null +++ b/materialized/ghc-boot-packages-nix/ghc984llvm/hpc.nix @@ -0,0 +1,38 @@ +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: + { + flags = {}; + package = { + specVersion = "2.2"; + identifier = { name = "hpc"; version = "0.7.0.0"; }; + license = "BSD-3-Clause"; + copyright = ""; + maintainer = "ghc-devs@haskell.org"; + author = "Andy Gill"; + homepage = ""; + url = ""; + synopsis = "Code Coverage Library for Haskell"; + description = "This package provides the code coverage library for Haskell.\n\nSee for more\ninformation."; + buildType = "Simple"; + }; + components = { + "library" = { + depends = [ + (hsPkgs."base" or (errorHandler.buildDepError "base")) + (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."time" or (errorHandler.buildDepError "time")) + ]; + buildable = true; + }; + }; + } // rec { src = pkgs.lib.mkDefault ./.; } diff --git a/materialized/ghc-boot-packages-nix/ghc984llvm/integer-gmp.nix b/materialized/ghc-boot-packages-nix/ghc984llvm/integer-gmp.nix new file mode 100644 index 0000000000..94f930e70e --- /dev/null +++ b/materialized/ghc-boot-packages-nix/ghc984llvm/integer-gmp.nix @@ -0,0 +1,35 @@ +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: + { + flags = {}; + package = { + specVersion = "2.0"; + identifier = { name = "integer-gmp"; version = "1.1"; }; + license = "BSD-3-Clause"; + copyright = ""; + maintainer = "hvr@gnu.org"; + author = "Herbert Valerio Riedel"; + homepage = "https://www.haskell.org/ghc/"; + url = ""; + synopsis = "Integer library based on GMP"; + description = "This package used to provide an implementation of the standard 'Integer'\ntype based on the\n.\n\nIt is now deprecated in favor of the 'ghc-bignum' package.\n\nIts purpose is to provide backward compatibility for codes directly\ndepending on the `integer-gmp` package."; + buildType = "Simple"; + }; + components = { + "library" = { + depends = [ + (hsPkgs."base" or (errorHandler.buildDepError "base")) + (hsPkgs."ghc-prim" or (errorHandler.buildDepError "ghc-prim")) + (hsPkgs."ghc-bignum" or (errorHandler.buildDepError "ghc-bignum")) + ]; + buildable = true; + }; + }; + } // rec { src = pkgs.lib.mkDefault ./.; } diff --git a/materialized/ghc-boot-packages-nix/ghc984llvm/iserv.nix b/materialized/ghc-boot-packages-nix/ghc984llvm/iserv.nix new file mode 100644 index 0000000000..a3bbce53b0 --- /dev/null +++ b/materialized/ghc-boot-packages-nix/ghc984llvm/iserv.nix @@ -0,0 +1,41 @@ +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: + { + flags = {}; + package = { + specVersion = "1.10"; + identifier = { name = "iserv"; version = "9.8.4"; }; + license = "BSD-3-Clause"; + copyright = "XXX"; + maintainer = "XXX"; + author = "XXX"; + homepage = ""; + url = ""; + synopsis = "iserv allows GHC to delegate Template Haskell computations"; + description = "GHC can be provided with a path to the iserv binary with\n@-pgmi=/path/to/iserv-bin@, and will in combination with\n@-fexternal-interpreter@, compile Template Haskell though the\n@iserv-bin@ delegate. This is very similar to how ghcjs has been\ncompiling Template Haskell, by spawning a separate delegate (so\ncalled runner on the javascript vm) and evaluating the splices\nthere."; + buildType = "Simple"; + }; + components = { + exes = { + "iserv" = { + 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."ghci" or (errorHandler.buildDepError "ghci")) + ] ++ pkgs.lib.optional (!system.isWindows) (hsPkgs."unix" or (errorHandler.buildDepError "unix")); + buildable = true; + }; + }; + }; + } // rec { src = pkgs.lib.mkDefault ./.; } diff --git a/materialized/ghc-boot-packages-nix/ghc984llvm/remote-iserv.nix b/materialized/ghc-boot-packages-nix/ghc984llvm/remote-iserv.nix new file mode 100644 index 0000000000..688b674992 --- /dev/null +++ b/materialized/ghc-boot-packages-nix/ghc984llvm/remote-iserv.nix @@ -0,0 +1,36 @@ +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: + { + flags = {}; + package = { + specVersion = "1.10"; + identifier = { name = "remote-iserv"; version = "9.8.4"; }; + license = "BSD-3-Clause"; + copyright = "XXX"; + maintainer = "Moritz Angermann "; + author = "Moritz Angermann "; + homepage = ""; + url = ""; + synopsis = "iserv allows GHC to delegate Template Haskell computations"; + description = "This is a very simple remote runner for iserv, to be used together\nwith iserv-proxy. The foundamental idea is that this this wrapper\nstarts running the GHCi server on a given port to which iserv-proxy will\nthen connect."; + buildType = "Simple"; + }; + components = { + exes = { + "remote-iserv" = { + depends = [ + (hsPkgs."base" or (errorHandler.buildDepError "base")) + (hsPkgs."ghci" or (errorHandler.buildDepError "ghci")) + ]; + buildable = true; + }; + }; + }; + } // rec { src = pkgs.lib.mkDefault ./.; } diff --git a/materialized/ghc-boot-packages-nix/ghc984llvm/template-haskell.nix b/materialized/ghc-boot-packages-nix/ghc984llvm/template-haskell.nix new file mode 100644 index 0000000000..3e26556434 --- /dev/null +++ b/materialized/ghc-boot-packages-nix/ghc984llvm/template-haskell.nix @@ -0,0 +1,36 @@ +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: + { + flags = {}; + package = { + specVersion = "1.10"; + identifier = { name = "template-haskell"; version = "2.21.0.0"; }; + license = "BSD-3-Clause"; + copyright = ""; + maintainer = "libraries@haskell.org"; + author = ""; + homepage = ""; + url = ""; + synopsis = "Support library for Template Haskell"; + description = "This package provides modules containing facilities for manipulating\nHaskell source code using Template Haskell.\n\nSee for more\ninformation."; + buildType = "Simple"; + }; + components = { + "library" = { + depends = [ + (hsPkgs."base" or (errorHandler.buildDepError "base")) + (hsPkgs."ghc-boot-th" or (errorHandler.buildDepError "ghc-boot-th")) + (hsPkgs."ghc-prim" or (errorHandler.buildDepError "ghc-prim")) + (hsPkgs."pretty" or (errorHandler.buildDepError "pretty")) + ]; + buildable = true; + }; + }; + } // rec { src = pkgs.lib.mkDefault ./.; } diff --git a/materialized/ghc8107/hadrian-ghc92/hadrian/.plan.nix/hadrian.nix b/materialized/ghc8107/hadrian-ghc92/hadrian/.plan.nix/hadrian.nix deleted file mode 100644 index 5f5ee5181a..0000000000 --- a/materialized/ghc8107/hadrian-ghc92/hadrian/.plan.nix/hadrian.nix +++ /dev/null @@ -1,157 +0,0 @@ -{ system - , compiler - , flags - , pkgs - , hsPkgs - , pkgconfPkgs - , errorHandler - , config - , ... }: - { - flags = { threaded = 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 = []; - }; - components = { - exes = { - "hadrian" = { - depends = [ - (hsPkgs."Cabal" or (errorHandler.buildDepError "Cabal")) - (hsPkgs."QuickCheck" or (errorHandler.buildDepError "QuickCheck")) - (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."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")) - ]; - buildable = true; - modules = [ - "Base" - "Builder" - "CommandLine" - "Context" - "Context/Path" - "Context/Type" - "Environment" - "Expression" - "Expression/Type" - "Flavour" - "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/Clean" - "Rules/Compile" - "Rules/Configure" - "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/Selftest" - "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/Ld" - "Settings/Builders/Make" - "Settings/Builders/MergeObjects" - "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/Static" - "Settings/Flavours/Validate" - "Settings/Packages" - "Settings/Parser" - "Settings/Program" - "Settings/Warnings" - "Stage" - "Target" - "UserSettings" - "Utilities" - "Way" - "Way/Type" - ]; - hsSourceDirs = [ "." "src" ]; - mainPath = [ "Main.hs" ] ++ (pkgs.lib).optional (flags.threaded) ""; - }; - }; - }; - } // rec { src = (pkgs.lib).mkDefault ../.; } \ No newline at end of file diff --git a/materialized/ghc8107/hadrian-ghc92/hadrian/cabal-files/QuickCheck.nix b/materialized/ghc8107/hadrian-ghc92/hadrian/cabal-files/QuickCheck.nix deleted file mode 100644 index 8d2a2bd0e0..0000000000 --- a/materialized/ghc8107/hadrian-ghc92/hadrian/cabal-files/QuickCheck.nix +++ /dev/null @@ -1,119 +0,0 @@ -{ system - , compiler - , flags - , pkgs - , hsPkgs - , pkgconfPkgs - , errorHandler - , config - , ... }: - ({ - flags = { templatehaskell = true; old-random = false; }; - package = { - specVersion = "1.10"; - identifier = { name = "QuickCheck"; version = "2.14.2"; }; - 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.2.tar.gz"; - sha256 = "d87b6c85696b601175274361fa62217894401e401e150c3c5d4013ac53cd36f3"; - }); - }) // { - package-description-override = "Name: QuickCheck\nVersion: 2.14.2\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.2\n\nflag templateHaskell\n Description: Build Test.QuickCheck.All, which uses Template Haskell.\n Default: True\n\nflag old-random\n Description: Build against a pre-1.2.0 version of the random package.\n Default: 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 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/ghc8107/hadrian-ghc92/hadrian/cabal-files/base-orphans.nix b/materialized/ghc8107/hadrian-ghc92/hadrian/cabal-files/base-orphans.nix deleted file mode 100644 index 0887590500..0000000000 --- a/materialized/ghc8107/hadrian-ghc92/hadrian/cabal-files/base-orphans.nix +++ /dev/null @@ -1,55 +0,0 @@ -{ system - , compiler - , flags - , pkgs - , hsPkgs - , pkgconfPkgs - , errorHandler - , config - , ... }: - ({ - flags = {}; - package = { - specVersion = "1.12"; - identifier = { name = "base-orphans"; version = "0.8.7"; }; - license = "MIT"; - copyright = "(c) 2012-2017 Simon Hengel,\n(c) 2014-2017 João Cristóvão,\n(c) 2015-2017 Ryan Scott"; - maintainer = "Simon Hengel ,\nJoão Cristóvão ,\nRyan Scott "; - author = "Simon Hengel ,\nJoão Cristóvão ,\nRyan Scott "; - homepage = "https://github.com/haskell-compat/base-orphans#readme"; - url = ""; - synopsis = "Backwards-compatible orphan instances for base"; - description = "@base-orphans@ defines orphan instances that mimic instances available in\nlater versions of @base@ to a wider (older) range of compilers.\n@base-orphans@ does not export anything except the orphan instances\nthemselves and complements @@.\n\nSee the README for what instances are covered:\n.\nSee also the\n\nsection."; - buildType = "Simple"; - }; - components = { - "library" = { - depends = [ - (hsPkgs."base" or (errorHandler.buildDepError "base")) - (hsPkgs."ghc-prim" or (errorHandler.buildDepError "ghc-prim")) - ]; - buildable = true; - }; - tests = { - "spec" = { - depends = [ - (hsPkgs."QuickCheck" or (errorHandler.buildDepError "QuickCheck")) - (hsPkgs."base" or (errorHandler.buildDepError "base")) - (hsPkgs."base-orphans" or (errorHandler.buildDepError "base-orphans")) - (hsPkgs."hspec" or (errorHandler.buildDepError "hspec")) - ]; - build-tools = [ - (hsPkgs.pkgsBuildBuild.hspec-discover.components.exes.hspec-discover or (pkgs.pkgsBuildBuild.hspec-discover or (errorHandler.buildToolDepError "hspec-discover:hspec-discover"))) - ]; - buildable = true; - }; - }; - }; - } // { - src = (pkgs.lib).mkDefault (pkgs.fetchurl { - url = "http://hackage.haskell.org/package/base-orphans-0.8.7.tar.gz"; - sha256 = "888fd67f0dbe932778f5b170922ce80d0dcab1680ee98f1d6fcc362f20d9e447"; - }); - }) // { - package-description-override = "cabal-version: 1.12\n\n-- This file has been generated from package.yaml by hpack version 0.35.0.\n--\n-- see: https://github.com/sol/hpack\n--\n-- hash: 72579eb12963b1336e2e979d497378f6dac77805e17a8e53f86b6b2984fcab08\n\nname: base-orphans\nversion: 0.8.7\nsynopsis: Backwards-compatible orphan instances for base\ndescription: @base-orphans@ defines orphan instances that mimic instances available in\n later versions of @base@ to a wider (older) range of compilers.\n @base-orphans@ does not export anything except the orphan instances\n themselves and complements @@.\n .\n See the README for what instances are covered:\n .\n See also the\n \n section.\ncategory: Compatibility\nhomepage: https://github.com/haskell-compat/base-orphans#readme\nbug-reports: https://github.com/haskell-compat/base-orphans/issues\nauthor: Simon Hengel ,\n João Cristóvão ,\n Ryan Scott \nmaintainer: Simon Hengel ,\n João Cristóvão ,\n Ryan Scott \ncopyright: (c) 2012-2017 Simon Hengel,\n (c) 2014-2017 João Cristóvão,\n (c) 2015-2017 Ryan Scott\nlicense: MIT\nlicense-file: LICENSE\nbuild-type: Simple\ntested-with:\n GHC == 7.0.4 , GHC == 7.2.2 , GHC == 7.4.2 , GHC == 7.6.3 , GHC == 7.8.4 , GHC == 7.10.3 , GHC == 8.0.2 , GHC == 8.2.2 , GHC == 8.4.4 , GHC == 8.6.5 , GHC == 8.8.4 , GHC == 8.10.7 , GHC == 9.0.2 , GHC == 9.2.2\nextra-source-files:\n CHANGES.markdown\n README.markdown\n\nsource-repository head\n type: git\n location: https://github.com/haskell-compat/base-orphans\n\nlibrary\n hs-source-dirs:\n src\n ghc-options: -Wall\n build-depends:\n base >=4.3 && <5\n , ghc-prim\n exposed-modules:\n Data.Orphans\n other-modules:\n Data.Orphans.Prelude\n default-language: Haskell2010\n\ntest-suite spec\n type: exitcode-stdio-1.0\n main-is: Spec.hs\n hs-source-dirs:\n test\n ghc-options: -Wall\n build-depends:\n QuickCheck\n , base >=4.3 && <5\n , base-orphans\n , hspec ==2.*\n build-tool-depends: hspec-discover:hspec-discover == 2.*\n other-modules:\n Control.Applicative.OrphansSpec\n Control.Exception.OrphansSpec\n Data.Bits.OrphansSpec\n Data.Foldable.OrphansSpec\n Data.Monoid.OrphansSpec\n Data.Traversable.OrphansSpec\n Data.Version.OrphansSpec\n Foreign.Storable.OrphansSpec\n GHC.Fingerprint.OrphansSpec\n System.Posix.Types.IntWord\n System.Posix.Types.OrphansSpec\n Paths_base_orphans\n default-language: Haskell2010\n"; - } \ No newline at end of file diff --git a/materialized/ghc8107/hadrian-ghc92/hadrian/cabal-files/clock.nix b/materialized/ghc8107/hadrian-ghc92/hadrian/cabal-files/clock.nix deleted file mode 100644 index de66c1339a..0000000000 --- a/materialized/ghc8107/hadrian-ghc92/hadrian/cabal-files/clock.nix +++ /dev/null @@ -1,59 +0,0 @@ -{ system - , compiler - , flags - , pkgs - , hsPkgs - , pkgconfPkgs - , errorHandler - , config - , ... }: - ({ - flags = { llvm = false; }; - package = { - specVersion = "1.10"; - identifier = { name = "clock"; version = "0.8.3"; }; - license = "BSD-3-Clause"; - copyright = "Copyright © Cetin Sert 2009-2016, 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 , Corsis Research"; - author = "Cetin Sert , Corsis Research"; - 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.3.tar.gz"; - sha256 = "845ce5db4c98cefd517323e005f87effceff886987305e421c4ef616dc0505d1"; - }); - }) // { - package-description-override = "cabal-version: >= 1.10\nname: clock\nversion: 0.8.3\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-2016, 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 , Corsis Research\nmaintainer: Cetin Sert , Corsis Research\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.2.1\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: git://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/ghc8107/hadrian-ghc92/hadrian/cabal-files/data-array-byte.nix b/materialized/ghc8107/hadrian-ghc92/hadrian/cabal-files/data-array-byte.nix deleted file mode 100644 index c0d9745691..0000000000 --- a/materialized/ghc8107/hadrian-ghc92/hadrian/cabal-files/data-array-byte.nix +++ /dev/null @@ -1,55 +0,0 @@ -{ system - , compiler - , flags - , pkgs - , hsPkgs - , pkgconfPkgs - , errorHandler - , config - , ... }: - ({ - flags = {}; - package = { - specVersion = "1.10"; - identifier = { name = "data-array-byte"; version = "0.1.0.1"; }; - license = "BSD-3-Clause"; - copyright = "(c) Roman Leshchinskiy 2009-2012"; - maintainer = "andrew.lelechenko@gmail.com"; - author = "Roman Leshchinskiy "; - homepage = "https://github.com/Bodigrim/data-array-byte"; - url = ""; - synopsis = "Compatibility layer for Data.Array.Byte"; - description = "Compatibility layer for [Data.Array.Byte](https://hackage.haskell.org/package/base/docs/Data-Array-Byte.html), providing boxed wrappers for @ByteArray#@ and @MutableByteArray#@ and relevant instances for GHC < 9.4. Include it into your Cabal file:\n\n> build-depends: base\n> if impl(ghc < 9.4)\n> build-depends: data-array-byte\n\nand then @import Data.Array.Byte@ unconditionally."; - buildType = "Simple"; - }; - components = { - "library" = { - depends = [ - (hsPkgs."base" or (errorHandler.buildDepError "base")) - (hsPkgs."deepseq" or (errorHandler.buildDepError "deepseq")) - (hsPkgs."template-haskell" or (errorHandler.buildDepError "template-haskell")) - ]; - buildable = true; - }; - tests = { - "data-array-byte-tests" = { - depends = [ - (hsPkgs."base" or (errorHandler.buildDepError "base")) - (hsPkgs."data-array-byte" or (errorHandler.buildDepError "data-array-byte")) - (hsPkgs."quickcheck-classes-base" or (errorHandler.buildDepError "quickcheck-classes-base")) - (hsPkgs."tasty" or (errorHandler.buildDepError "tasty")) - (hsPkgs."tasty-quickcheck" or (errorHandler.buildDepError "tasty-quickcheck")) - (hsPkgs."template-haskell" or (errorHandler.buildDepError "template-haskell")) - ]; - buildable = true; - }; - }; - }; - } // { - src = (pkgs.lib).mkDefault (pkgs.fetchurl { - url = "http://hackage.haskell.org/package/data-array-byte-0.1.0.1.tar.gz"; - sha256 = "1bb6eca0b3e02d057fe7f4e14c81ef395216f421ab30fdaa1b18017c9c025600"; - }); - }) // { - package-description-override = "cabal-version: >=1.10\r\nname: data-array-byte\r\nversion: 0.1.0.1\r\nx-revision: 1\r\nlicense: BSD3\r\nlicense-file: LICENSE\r\ncopyright: (c) Roman Leshchinskiy 2009-2012\r\nmaintainer: andrew.lelechenko@gmail.com\r\nauthor: Roman Leshchinskiy \r\ntested-with:\r\n ghc ==8.0.2 ghc ==8.2.2 ghc ==8.4.4 ghc ==8.6.5 ghc ==8.8.4\r\n ghc ==8.10.7 ghc ==9.0.2 ghc ==9.2.4 ghc ==9.4.2\r\n\r\nhomepage: https://github.com/Bodigrim/data-array-byte\r\nbug-reports: https://github.com/Bodigrim/data-array-byte/issues\r\nsynopsis: Compatibility layer for Data.Array.Byte\r\ndescription:\r\n Compatibility layer for [Data.Array.Byte](https://hackage.haskell.org/package/base/docs/Data-Array-Byte.html), providing boxed wrappers for @ByteArray#@ and @MutableByteArray#@ and relevant instances for GHC < 9.4. Include it into your Cabal file:\r\n .\r\n > build-depends: base\r\n > if impl(ghc < 9.4)\r\n > build-depends: data-array-byte\r\n .\r\n and then @import Data.Array.Byte@ unconditionally.\r\n\r\ncategory: Compatibility\r\nbuild-type: Simple\r\nextra-source-files:\r\n changelog.md\r\n README.md\r\n\r\nsource-repository head\r\n type: git\r\n location: https://github.com/Bodigrim/data-array-byte\r\n\r\nlibrary\r\n default-language: Haskell2010\r\n ghc-options: -Wall\r\n build-depends:\r\n base >=4.9 && <4.19,\r\n deepseq >=1.4 && <1.5,\r\n template-haskell >=2.11 && <2.21\r\n\r\n if impl(ghc <9.4)\r\n exposed-modules: Data.Array.Byte\r\n\r\ntest-suite data-array-byte-tests\r\n type: exitcode-stdio-1.0\r\n main-is: Main.hs\r\n hs-source-dirs: test\r\n default-language: Haskell2010\r\n ghc-options: -Wall\r\n build-depends:\r\n base,\r\n data-array-byte,\r\n quickcheck-classes-base >=0.6 && <0.7,\r\n tasty >=1.4 && <1.5,\r\n tasty-quickcheck >=0.10 && <0.11,\r\n template-haskell\r\n"; - } \ No newline at end of file diff --git a/materialized/ghc8107/hadrian-ghc92/hadrian/cabal-files/extra.nix b/materialized/ghc8107/hadrian-ghc92/hadrian/cabal-files/extra.nix deleted file mode 100644 index fcd61ec0f2..0000000000 --- a/materialized/ghc8107/hadrian-ghc92/hadrian/cabal-files/extra.nix +++ /dev/null @@ -1,58 +0,0 @@ -{ system - , compiler - , flags - , pkgs - , hsPkgs - , pkgconfPkgs - , errorHandler - , config - , ... }: - ({ - flags = {}; - package = { - specVersion = "1.18"; - identifier = { name = "extra"; version = "1.7.12"; }; - license = "BSD-3-Clause"; - copyright = "Neil Mitchell 2014-2022"; - 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.12.tar.gz"; - sha256 = "e571a9ec1d8865f0fbb0e0ba1eb575f783b0365c80db19b54a93600bae43b03c"; - }); - }) // { - package-description-override = "cabal-version: 1.18\nbuild-type: Simple\nname: extra\nversion: 1.7.12\nlicense: BSD3\nlicense-file: LICENSE\ncategory: Development\nauthor: Neil Mitchell \nmaintainer: Neil Mitchell \ncopyright: Neil Mitchell 2014-2022\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.0, GHC==8.10, GHC==8.8, GHC==8.6\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.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/ghc8107/hadrian-ghc92/hadrian/cabal-files/filepattern.nix b/materialized/ghc8107/hadrian-ghc92/hadrian/cabal-files/filepattern.nix deleted file mode 100644 index 13bbd09e88..0000000000 --- a/materialized/ghc8107/hadrian-ghc92/hadrian/cabal-files/filepattern.nix +++ /dev/null @@ -1,56 +0,0 @@ -{ 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/ghc8107/hadrian-ghc92/hadrian/cabal-files/hashable.nix b/materialized/ghc8107/hadrian-ghc92/hadrian/cabal-files/hashable.nix deleted file mode 100644 index 41bd9f778f..0000000000 --- a/materialized/ghc8107/hadrian-ghc92/hadrian/cabal-files/hashable.nix +++ /dev/null @@ -1,82 +0,0 @@ -{ 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.2.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."; - 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.2.0.tar.gz"; - sha256 = "1b4000ea82b81f69d46d0af4152c10c6303873510738e24cfc4767760d30e3f8"; - }); - }) // { - package-description-override = "cabal-version: 1.12\nname: hashable\nversion: 1.4.2.0\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\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.5\n || ==9.4.4\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.18\n , bytestring >=0.10.8.2 && <0.12\n , containers >=0.5.10.2 && <0.7\n , deepseq >=1.4.3.0 && <1.5\n , filepath >=1.4.1.2 && <1.5\n , ghc-prim\n , text >=1.2.3.0 && <1.3 || >=2.0 && <2.1\n\n if !impl(ghc >=9.2)\n build-depends: base-orphans >=0.8.6 && <0.9\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/ghc8107/hadrian-ghc92/hadrian/cabal-files/heaps.nix b/materialized/ghc8107/hadrian-ghc92/hadrian/cabal-files/heaps.nix deleted file mode 100644 index dc77aed1f4..0000000000 --- a/materialized/ghc8107/hadrian-ghc92/hadrian/cabal-files/heaps.nix +++ /dev/null @@ -1,38 +0,0 @@ -{ 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/ghc8107/hadrian-ghc92/hadrian/cabal-files/js-dgtable.nix b/materialized/ghc8107/hadrian-ghc92/hadrian/cabal-files/js-dgtable.nix deleted file mode 100644 index 0237404c41..0000000000 --- a/materialized/ghc8107/hadrian-ghc92/hadrian/cabal-files/js-dgtable.nix +++ /dev/null @@ -1,47 +0,0 @@ -{ 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/ghc8107/hadrian-ghc92/hadrian/cabal-files/js-flot.nix b/materialized/ghc8107/hadrian-ghc92/hadrian/cabal-files/js-flot.nix deleted file mode 100644 index ba292fc8b2..0000000000 --- a/materialized/ghc8107/hadrian-ghc92/hadrian/cabal-files/js-flot.nix +++ /dev/null @@ -1,47 +0,0 @@ -{ 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/ghc8107/hadrian-ghc92/hadrian/cabal-files/js-jquery.nix b/materialized/ghc8107/hadrian-ghc92/hadrian/cabal-files/js-jquery.nix deleted file mode 100644 index 9ecdc931ed..0000000000 --- a/materialized/ghc8107/hadrian-ghc92/hadrian/cabal-files/js-jquery.nix +++ /dev/null @@ -1,48 +0,0 @@ -{ 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/ghc8107/hadrian-ghc92/hadrian/cabal-files/primitive.nix b/materialized/ghc8107/hadrian-ghc92/hadrian/cabal-files/primitive.nix deleted file mode 100644 index 7f0f233943..0000000000 --- a/materialized/ghc8107/hadrian-ghc92/hadrian/cabal-files/primitive.nix +++ /dev/null @@ -1,73 +0,0 @@ -{ system - , compiler - , flags - , pkgs - , hsPkgs - , pkgconfPkgs - , errorHandler - , config - , ... }: - ({ - flags = {}; - package = { - specVersion = "2.0"; - identifier = { name = "primitive"; version = "0.7.4.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")) - ]; - 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.7.4.0.tar.gz"; - sha256 = "5b2d6dc2812eb2f6a115f05fcbe3e723d3aeff7894b012c617e075130581add5"; - }); - }) // { - package-description-override = "Cabal-Version: 2.0\r\nName: primitive\r\nVersion: 0.7.4.0\r\nx-revision: 1\r\nLicense: BSD3\r\nLicense-File: LICENSE\r\n\r\nAuthor: Roman Leshchinskiy \r\nMaintainer: libraries@haskell.org\r\nCopyright: (c) Roman Leshchinskiy 2009-2012\r\nHomepage: https://github.com/haskell/primitive\r\nBug-Reports: https://github.com/haskell/primitive/issues\r\nCategory: Data\r\nSynopsis: Primitive memory-related operations\r\nBuild-Type: Simple\r\nDescription: This package provides various primitive memory-related operations.\r\n\r\nExtra-Source-Files: changelog.md\r\n test/*.hs\r\n test/LICENSE\r\n\r\nTested-With:\r\n GHC == 8.0.2,\r\n GHC == 8.2.2,\r\n GHC == 8.4.4,\r\n GHC == 8.6.5,\r\n GHC == 8.8.4,\r\n GHC == 8.10.7\r\n\r\nLibrary\r\n Default-Language: Haskell2010\r\n Other-Extensions:\r\n BangPatterns, CPP, DeriveDataTypeable,\r\n MagicHash, TypeFamilies, UnboxedTuples, UnliftedFFITypes\r\n\r\n Exposed-Modules:\r\n Control.Monad.Primitive\r\n Data.Primitive\r\n Data.Primitive.MachDeps\r\n Data.Primitive.Types\r\n Data.Primitive.Array\r\n Data.Primitive.ByteArray\r\n Data.Primitive.PrimArray\r\n Data.Primitive.SmallArray\r\n Data.Primitive.Ptr\r\n Data.Primitive.MutVar\r\n Data.Primitive.MVar\r\n\r\n Other-Modules:\r\n Data.Primitive.Internal.Operations\r\n\r\n Build-Depends: base >= 4.9 && < 4.19\r\n , deepseq >= 1.1 && < 1.5\r\n , transformers >= 0.5 && < 0.7\r\n , template-haskell >= 2.11\r\n\r\n Ghc-Options: -O2\r\n\r\n Include-Dirs: cbits\r\n Install-Includes: primitive-memops.h\r\n includes: primitive-memops.h\r\n c-sources: cbits/primitive-memops.c\r\n if !os(solaris)\r\n cc-options: -ftree-vectorize\r\n if arch(i386) || arch(x86_64)\r\n cc-options: -msse2\r\n\r\ntest-suite test-qc\r\n Default-Language: Haskell2010\r\n hs-source-dirs: test\r\n test/src\r\n main-is: main.hs\r\n Other-Modules: PrimLaws\r\n type: exitcode-stdio-1.0\r\n build-depends: base\r\n , base-orphans\r\n , ghc-prim\r\n , primitive\r\n , quickcheck-classes-base >= 0.6 && <0.7\r\n , QuickCheck >= 2.13 && < 2.15\r\n , tasty ^>= 1.2 || ^>= 1.3 || ^>= 1.4\r\n , tasty-quickcheck\r\n , tagged\r\n , transformers >= 0.5\r\n , transformers-compat\r\n\r\n cpp-options: -DHAVE_UNARY_LAWS\r\n ghc-options: -O2\r\n\r\nbenchmark bench\r\n Default-Language: Haskell2010\r\n hs-source-dirs: bench\r\n main-is: main.hs\r\n type: exitcode-stdio-1.0\r\n ghc-options: -O2\r\n other-modules:\r\n Array.Traverse.Closure\r\n Array.Traverse.Unsafe\r\n ByteArray.Compare\r\n PrimArray.Compare\r\n PrimArray.Traverse\r\n build-depends:\r\n base\r\n , primitive\r\n , deepseq\r\n , tasty-bench\r\n , transformers >= 0.5\r\n\r\nsource-repository head\r\n type: git\r\n location: https://github.com/haskell/primitive\r\n"; - } \ No newline at end of file diff --git a/materialized/ghc8107/hadrian-ghc92/hadrian/cabal-files/random.nix b/materialized/ghc8107/hadrian-ghc92/hadrian/cabal-files/random.nix deleted file mode 100644 index c2f8f753b4..0000000000 --- a/materialized/ghc8107/hadrian-ghc92/hadrian/cabal-files/random.nix +++ /dev/null @@ -1,113 +0,0 @@ -{ 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\nname: random\nversion: 1.2.1.1\nlicense: BSD3\nlicense-file: LICENSE\nmaintainer: core-libraries-committee@haskell.org\nbug-reports: https://github.com/haskell/random/issues\nsynopsis: Pseudo-random number generation\ndescription:\n This package provides basic pseudo-random number generation, including the\n ability to split random number generators.\n .\n == \"System.Random\": pure pseudo-random number interface\n .\n In pure code, use 'System.Random.uniform' and 'System.Random.uniformR' from\n \"System.Random\" to generate pseudo-random numbers with a pure pseudo-random\n number generator like 'System.Random.StdGen'.\n .\n As 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 .\n See \"System.Random\" for more details.\n .\n == \"System.Random.Stateful\": monadic pseudo-random number interface\n .\n In monadic code, use 'System.Random.Stateful.uniformM' and\n 'System.Random.Stateful.uniformRM' from \"System.Random.Stateful\" to generate\n pseudo-random numbers with a monadic pseudo-random number generator, or\n using a monadic adapter.\n .\n As 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 .\n The monadic adapter 'System.Random.Stateful.runStateGen_' is used here to lift\n the pure pseudo-random number generator @pureGen@ into the\n 'System.Random.Stateful.StatefulGen' context.\n .\n The monadic interface can also be used with existing monadic pseudo-random\n number 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 .\n See \"System.Random.Stateful\" for more details.\n\ncategory: System\nbuild-type: Simple\nextra-source-files:\n README.md\n CHANGELOG.md\ntested-with: GHC == 7.10.2\n , GHC == 7.10.3\n , GHC == 8.0.2\n , GHC == 8.2.2\n , GHC == 8.4.3\n , GHC == 8.4.4\n , GHC == 8.6.3\n , GHC == 8.6.4\n , GHC == 8.6.5\n , GHC == 8.8.1\n , GHC == 8.8.2\n , GHC == 8.10.1\n\nsource-repository head\n type: git\n location: https://github.com/haskell/random.git\n\n\nlibrary\n exposed-modules:\n System.Random\n System.Random.Internal\n System.Random.Stateful\n other-modules:\n System.Random.GFinite\n\n hs-source-dirs: src\n default-language: Haskell2010\n ghc-options:\n -Wall\n if impl(ghc >= 8.0)\n ghc-options:\n -Wincomplete-record-updates -Wincomplete-uni-patterns\n\n build-depends:\n base >=4.8 && <5,\n bytestring >=0.10.4 && <0.12,\n deepseq >=1.1 && <2,\n mtl >=2.2 && <2.4,\n splitmix >=0.1 && <0.2\n if impl(ghc < 8.0)\n build-depends:\n transformers\n\ntest-suite legacy-test\n type: exitcode-stdio-1.0\n main-is: Legacy.hs\n hs-source-dirs: test-legacy\n other-modules:\n T7936\n TestRandomIOs\n TestRandomRs\n Random1283\n RangeTest\n\n default-language: Haskell2010\n ghc-options: -with-rtsopts=-M8M\n if impl(ghc >= 8.0)\n ghc-options:\n -Wno-deprecations\n build-depends:\n base,\n containers >=0.5 && <0.7,\n random\n\ntest-suite doctests\n type: exitcode-stdio-1.0\n main-is: doctests.hs\n hs-source-dirs: test\n default-language: Haskell2010\n build-depends:\n base,\n doctest >=0.15 && <0.21\n if impl(ghc >= 8.2) && impl(ghc < 8.10)\n build-depends:\n mwc-random >=0.13 && <0.16,\n primitive >=0.6 && <0.8,\n random,\n stm,\n unliftio >=0.2 && <0.3,\n vector >= 0.10 && <0.14\n\ntest-suite spec\n type: exitcode-stdio-1.0\n main-is: Spec.hs\n hs-source-dirs: test\n other-modules:\n Spec.Range\n Spec.Run\n Spec.Stateful\n\n default-language: Haskell2010\n ghc-options: -Wall\n build-depends:\n base,\n bytestring,\n random,\n smallcheck >=1.2 && <1.3,\n stm,\n tasty >=1.0 && <1.5,\n tasty-smallcheck >=0.8 && <0.9,\n tasty-hunit >=0.10 && <0.11,\n transformers\n\n-- Note. Fails when compiled with coverage:\n-- https://github.com/haskell/random/issues/107\ntest-suite spec-inspection\n type: exitcode-stdio-1.0\n main-is: Spec.hs\n hs-source-dirs: test-inspection\n build-depends:\n\n default-language: Haskell2010\n ghc-options: -Wall\n build-depends:\n base,\n random,\n tasty >=1.0 && <1.5\n if impl(ghc >= 8.0)\n build-depends:\n tasty-inspection-testing\n other-modules:\n Spec.Inspection\n\nbenchmark legacy-bench\n type: exitcode-stdio-1.0\n main-is: SimpleRNGBench.hs\n hs-source-dirs: bench-legacy\n other-modules: BinSearch\n default-language: Haskell2010\n ghc-options:\n -Wall -O2 -threaded -rtsopts -with-rtsopts=-N\n if impl(ghc >= 8.0)\n ghc-options:\n -Wno-deprecations\n\n build-depends:\n base,\n random,\n rdtsc,\n split >=0.2 && <0.3,\n time >=1.4 && <1.13\n\nbenchmark bench\n type: exitcode-stdio-1.0\n main-is: Main.hs\n hs-source-dirs: bench\n default-language: Haskell2010\n ghc-options: -Wall -O2\n build-depends:\n base,\n mtl,\n primitive >= 0.7.1,\n random,\n splitmix >=0.1 && <0.2,\n tasty-bench\n"; - } \ No newline at end of file diff --git a/materialized/ghc8107/hadrian-ghc92/hadrian/cabal-files/shake.nix b/materialized/ghc8107/hadrian-ghc92/hadrian/cabal-files/shake.nix deleted file mode 100644 index e7eb5c6647..0000000000 --- a/materialized/ghc8107/hadrian-ghc92/hadrian/cabal-files/shake.nix +++ /dev/null @@ -1,132 +0,0 @@ -{ 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/ghc8107/hadrian-ghc92/hadrian/cabal-files/splitmix.nix b/materialized/ghc8107/hadrian-ghc92/hadrian/cabal-files/splitmix.nix deleted file mode 100644 index 7918d356b1..0000000000 --- a/materialized/ghc8107/hadrian-ghc92/hadrian/cabal-files/splitmix.nix +++ /dev/null @@ -1,140 +0,0 @@ -{ system - , compiler - , flags - , pkgs - , hsPkgs - , pkgconfPkgs - , errorHandler - , config - , ... }: - ({ - flags = { optimised-mixer = false; }; - package = { - specVersion = "1.10"; - identifier = { name = "splitmix"; version = "0.1.0.4"; }; - 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."clock" or (errorHandler.buildDepError "clock")) - (hsPkgs."random" or (errorHandler.buildDepError "random")) - (hsPkgs."splitmix" or (errorHandler.buildDepError "splitmix")) - ]; - buildable = true; - }; - }; - }; - } // { - src = (pkgs.lib).mkDefault (pkgs.fetchurl { - url = "http://hackage.haskell.org/package/splitmix-0.1.0.4.tar.gz"; - sha256 = "6d065402394e7a9117093dbb4530a21342c9b1e2ec509516c8a8d0ffed98ecaa"; - }); - }) // { - package-description-override = "cabal-version: >=1.10\nname: splitmix\nversion: 0.1.0.4\nx-revision: 2\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.5\n || ==9.4.4\n || ==9.6.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.19\n , deepseq >=1.3.0.0 && <1.5\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.6\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 , clock >=0.8 && <0.9\n , random\n , splitmix\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.13\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.13\n , bytestring >=0.9.1.8 && <0.12\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.13\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.13\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/ghc8107/hadrian-ghc92/hadrian/cabal-files/unordered-containers.nix b/materialized/ghc8107/hadrian-ghc92/hadrian/cabal-files/unordered-containers.nix deleted file mode 100644 index f9ca0fb0bf..0000000000 --- a/materialized/ghc8107/hadrian-ghc92/hadrian/cabal-files/unordered-containers.nix +++ /dev/null @@ -1,78 +0,0 @@ -{ 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\r\nversion: 0.2.19.1\r\nx-revision: 1\r\nsynopsis: Efficient hashing-based container types\r\ndescription:\r\n Efficient hashing-based container types. The containers have been\r\n optimized for performance critical use, both in terms of large data\r\n quantities and high speed.\r\n .\r\n The declared cost of each operation is either worst-case or\r\n amortized, but remains valid even if structures are shared.\r\n .\r\n /Security/\r\n .\r\n This package currently provides no defenses against hash collision attacks\r\n such as HashDoS.\r\n Users who need to store input from untrusted sources are advised to use\r\n @Data.Map@ or @Data.Set@ from the @containers@ package instead.\r\nlicense: BSD3\r\nlicense-file: LICENSE\r\nauthor: Johan Tibell\r\nmaintainer: simon.jakobi@gmail.com, David.Feuer@gmail.com\r\nHomepage: https://github.com/haskell-unordered-containers/unordered-containers\r\nbug-reports: https://github.com/haskell-unordered-containers/unordered-containers/issues\r\ncopyright: 2010-2014 Johan Tibell\r\n 2010 Edward Z. Yang\r\ncategory: Data\r\nbuild-type: Simple\r\ncabal-version: >=1.10\r\nextra-source-files: CHANGES.md\r\n\r\ntested-with:\r\n GHC ==9.2.1\r\n || ==9.0.2\r\n || ==8.10.7\r\n || ==8.8.4\r\n || ==8.6.5\r\n || ==8.4.4\r\n || ==8.2.2\r\n\r\nflag debug\r\n description: Enable debug support\r\n default: False\r\n\r\nlibrary\r\n exposed-modules:\r\n Data.HashMap.Internal\r\n Data.HashMap.Internal.Array\r\n Data.HashMap.Internal.List\r\n Data.HashMap.Internal.Strict\r\n Data.HashMap.Lazy\r\n Data.HashMap.Strict\r\n Data.HashSet\r\n Data.HashSet.Internal\r\n\r\n build-depends:\r\n base >= 4.10 && < 5,\r\n deepseq >= 1.4.3,\r\n hashable >= 1.2.5 && < 1.5,\r\n template-haskell < 2.20\r\n\r\n default-language: Haskell2010\r\n\r\n other-extensions:\r\n RoleAnnotations,\r\n UnboxedTuples,\r\n ScopedTypeVariables,\r\n MagicHash,\r\n BangPatterns\r\n\r\n ghc-options: -Wall -O2 -fwarn-tabs -ferror-spans\r\n\r\n -- For dumping the generated code:\r\n -- ghc-options: -ddump-simpl -ddump-stg-final -ddump-cmm -ddump-asm -ddump-to-file\r\n -- ghc-options: -dsuppress-coercions -dsuppress-unfoldings -dsuppress-module-prefixes\r\n -- ghc-options: -dsuppress-uniques -dsuppress-timestamps\r\n\r\n if flag(debug)\r\n cpp-options: -DASSERTS\r\n\r\ntest-suite unordered-containers-tests\r\n hs-source-dirs: tests\r\n main-is: Main.hs\r\n type: exitcode-stdio-1.0\r\n other-modules:\r\n Regressions\r\n Properties\r\n Properties.HashMapLazy\r\n Properties.HashMapStrict\r\n Properties.HashSet\r\n Properties.List\r\n Strictness\r\n\r\n build-depends:\r\n base,\r\n ChasingBottoms,\r\n containers >= 0.5.8,\r\n hashable,\r\n HUnit,\r\n QuickCheck >= 2.4.0.1,\r\n random,\r\n tasty >= 1.4.0.3,\r\n tasty-hunit >= 0.10.0.3,\r\n tasty-quickcheck >= 0.10.1.2,\r\n unordered-containers\r\n\r\n if impl(ghc >= 8.6)\r\n build-depends:\r\n nothunks >= 0.1.3\r\n\r\n default-language: Haskell2010\r\n ghc-options: -Wall\r\n cpp-options: -DASSERTS\r\n\r\nbenchmark benchmarks\r\n hs-source-dirs: benchmarks\r\n main-is: Benchmarks.hs\r\n type: exitcode-stdio-1.0\r\n\r\n other-modules:\r\n Util.ByteString\r\n Util.String\r\n Util.Int\r\n\r\n build-depends:\r\n base >= 4.8.0,\r\n bytestring >= 0.10.0.0,\r\n containers,\r\n deepseq,\r\n hashable,\r\n hashmap,\r\n mtl,\r\n random,\r\n tasty-bench >= 0.3.1,\r\n unordered-containers\r\n\r\n default-language: Haskell2010\r\n ghc-options: -Wall -O2 -rtsopts -with-rtsopts=-A32m\r\n if impl(ghc >= 8.10)\r\n ghc-options: \"-with-rtsopts=-A32m --nonmoving-gc\"\r\n -- cpp-options: -DBENCH_containers_Map -DBENCH_containers_IntMap -DBENCH_hashmap_Map\r\n\r\nsource-repository head\r\n type: git\r\n location: https://github.com/haskell-unordered-containers/unordered-containers.git\r\n"; - } \ No newline at end of file diff --git a/materialized/ghc8107/hadrian-ghc92/hadrian/cabal-files/utf8-string.nix b/materialized/ghc8107/hadrian-ghc92/hadrian/cabal-files/utf8-string.nix deleted file mode 100644 index ac9bde4057..0000000000 --- a/materialized/ghc8107/hadrian-ghc92/hadrian/cabal-files/utf8-string.nix +++ /dev/null @@ -1,51 +0,0 @@ -{ 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/ghc8107/hadrian-ghc92/hadrian/default.nix b/materialized/ghc8107/hadrian-ghc92/hadrian/default.nix deleted file mode 100644 index 36af357640..0000000000 --- a/materialized/ghc8107/hadrian-ghc92/hadrian/default.nix +++ /dev/null @@ -1,140 +0,0 @@ -{ - pkgs = hackage: - { - packages = { - bytestring.revision = (((hackage.bytestring)."0.10.12.0").revisions).default; - directory.revision = (((hackage.directory)."1.3.6.0").revisions).default; - filepath.revision = (((hackage.filepath)."1.4.2.1").revisions).default; - mtl.revision = (((hackage.mtl)."2.2.2").revisions).default; - ghc-prim.revision = (((hackage.ghc-prim)."0.6.1").revisions).default; - parsec.revision = (((hackage.parsec)."3.1.14.0").revisions).default; - js-flot.revision = import ./cabal-files/js-flot.nix; - utf8-string.revision = import ./cabal-files/utf8-string.nix; - Cabal.revision = (((hackage.Cabal)."3.2.1.0").revisions).default; - splitmix.revision = import ./cabal-files/splitmix.nix; - splitmix.flags.optimised-mixer = false; - containers.revision = (((hackage.containers)."0.6.5.1").revisions).default; - clock.revision = import ./cabal-files/clock.nix; - clock.flags.llvm = false; - heaps.revision = import ./cabal-files/heaps.nix; - base.revision = (((hackage.base)."4.14.3.0").revisions).default; - time.revision = (((hackage.time)."1.9.3").revisions).default; - base-orphans.revision = import ./cabal-files/base-orphans.nix; - random.revision = import ./cabal-files/random.nix; - primitive.revision = import ./cabal-files/primitive.nix; - deepseq.revision = (((hackage.deepseq)."1.4.4.0").revisions).default; - js-jquery.revision = import ./cabal-files/js-jquery.nix; - js-dgtable.revision = import ./cabal-files/js-dgtable.nix; - rts.revision = (((hackage.rts)."1.0.1").revisions).default; - template-haskell.revision = (((hackage.template-haskell)."2.16.0.0").revisions).default; - binary.revision = (((hackage.binary)."0.8.8.0").revisions).default; - shake.revision = import ./cabal-files/shake.nix; - shake.flags.portable = false; - shake.flags.cloud = false; - shake.flags.embed-files = false; - integer-gmp.revision = (((hackage.integer-gmp)."1.0.3.0").revisions).default; - process.revision = (((hackage.process)."1.6.13.2").revisions).default; - unix.revision = (((hackage.unix)."2.7.2.2").revisions).default; - data-array-byte.revision = import ./cabal-files/data-array-byte.nix; - transformers.revision = (((hackage.transformers)."0.5.6.2").revisions).default; - unordered-containers.revision = import ./cabal-files/unordered-containers.nix; - unordered-containers.flags.debug = false; - QuickCheck.revision = import ./cabal-files/QuickCheck.nix; - QuickCheck.flags.old-random = false; - QuickCheck.flags.templatehaskell = true; - extra.revision = import ./cabal-files/extra.nix; - text.revision = (((hackage.text)."1.2.4.1").revisions).default; - array.revision = (((hackage.array)."0.5.4.0").revisions).default; - ghc-boot-th.revision = (((hackage.ghc-boot-th)."8.10.7").revisions).default; - filepattern.revision = import ./cabal-files/filepattern.nix; - 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; - }; - compiler = { - version = "8.10.7"; - nix-name = "ghc8107"; - packages = { - "pretty" = "1.1.3.6"; - "text" = "1.2.4.1"; - "array" = "0.5.4.0"; - "Cabal" = "3.2.1.0"; - "mtl" = "2.2.2"; - "parsec" = "3.1.14.0"; - "bytestring" = "0.10.12.0"; - "filepath" = "1.4.2.1"; - "ghc-prim" = "0.6.1"; - "ghc-boot-th" = "8.10.7"; - "base" = "4.14.3.0"; - "time" = "1.9.3"; - "process" = "1.6.13.2"; - "directory" = "1.3.6.0"; - "rts" = "1.0.1"; - "transformers" = "0.5.6.2"; - "template-haskell" = "2.16.0.0"; - "deepseq" = "1.4.4.0"; - "unix" = "2.7.2.2"; - "integer-gmp" = "1.0.3.0"; - "binary" = "0.8.8.0"; - "containers" = "0.6.5.1"; - }; - }; - }; - extras = hackage: - { packages = { hadrian = ./.plan.nix/hadrian.nix; }; }; - modules = [ - ({ lib, ... }: - { - packages = { - "hadrian" = { flags = { "threaded" = lib.mkOverride 900 true; }; }; - }; - }) - ({ lib, ... }: - { - packages = { - "shake".components.library.planned = lib.mkOverride 900 true; - "base-orphans".components.library.planned = lib.mkOverride 900 true; - "heaps".components.library.planned = lib.mkOverride 900 true; - "extra".components.library.planned = lib.mkOverride 900 true; - "filepath".components.library.planned = lib.mkOverride 900 true; - "pretty".components.library.planned = lib.mkOverride 900 true; - "utf8-string".components.library.planned = lib.mkOverride 900 true; - "Cabal".components.library.planned = lib.mkOverride 900 true; - "bytestring".components.library.planned = lib.mkOverride 900 true; - "ghc-prim".components.library.planned = lib.mkOverride 900 true; - "array".components.library.planned = lib.mkOverride 900 true; - "binary".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; - "splitmix".components.library.planned = lib.mkOverride 900 true; - "rts".components.library.planned = lib.mkOverride 900 true; - "unix".components.library.planned = lib.mkOverride 900 true; - "shake".components.exes."shake".planned = lib.mkOverride 900 true; - "directory".components.library.planned = lib.mkOverride 900 true; - "time".components.library.planned = lib.mkOverride 900 true; - "js-flot".components.library.planned = lib.mkOverride 900 true; - "data-array-byte".components.library.planned = lib.mkOverride 900 true; - "process".components.library.planned = lib.mkOverride 900 true; - "clock".components.library.planned = lib.mkOverride 900 true; - "template-haskell".components.library.planned = lib.mkOverride 900 true; - "hadrian".components.exes."hadrian".planned = lib.mkOverride 900 true; - "QuickCheck".components.library.planned = lib.mkOverride 900 true; - "mtl".components.library.planned = lib.mkOverride 900 true; - "transformers".components.library.planned = lib.mkOverride 900 true; - "parsec".components.library.planned = lib.mkOverride 900 true; - "deepseq".components.library.planned = lib.mkOverride 900 true; - "primitive".components.library.planned = lib.mkOverride 900 true; - "js-jquery".components.library.planned = lib.mkOverride 900 true; - "text".components.library.planned = lib.mkOverride 900 true; - "unordered-containers".components.library.planned = lib.mkOverride 900 true; - "random".components.library.planned = lib.mkOverride 900 true; - "base".components.library.planned = lib.mkOverride 900 true; - "integer-gmp".components.library.planned = lib.mkOverride 900 true; - "containers".components.library.planned = lib.mkOverride 900 true; - "js-dgtable".components.library.planned = lib.mkOverride 900 true; - "hashable".components.library.planned = lib.mkOverride 900 true; - }; - }) - ]; - } \ No newline at end of file diff --git a/materialized/ghc8107/hadrian-ghc94/hadrian/.plan.nix/hadrian.nix b/materialized/ghc8107/hadrian-ghc94/hadrian/.plan.nix/hadrian.nix deleted file mode 100644 index 7c047cd1d6..0000000000 --- a/materialized/ghc8107/hadrian-ghc94/hadrian/.plan.nix/hadrian.nix +++ /dev/null @@ -1,160 +0,0 @@ -{ 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."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/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/ghc8107/hadrian-ghc94/hadrian/cabal-files/QuickCheck.nix b/materialized/ghc8107/hadrian-ghc94/hadrian/cabal-files/QuickCheck.nix deleted file mode 100644 index 31390ca93b..0000000000 --- a/materialized/ghc8107/hadrian-ghc94/hadrian/cabal-files/QuickCheck.nix +++ /dev/null @@ -1,119 +0,0 @@ -{ 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/ghc8107/hadrian-ghc94/hadrian/cabal-files/base-orphans.nix b/materialized/ghc8107/hadrian-ghc94/hadrian/cabal-files/base-orphans.nix deleted file mode 100644 index 3e0d637748..0000000000 --- a/materialized/ghc8107/hadrian-ghc94/hadrian/cabal-files/base-orphans.nix +++ /dev/null @@ -1,55 +0,0 @@ -{ system - , compiler - , flags - , pkgs - , hsPkgs - , pkgconfPkgs - , errorHandler - , config - , ... }: - ({ - flags = {}; - package = { - specVersion = "1.12"; - identifier = { name = "base-orphans"; version = "0.9.0"; }; - license = "MIT"; - copyright = "(c) 2012-2017 Simon Hengel,\n(c) 2014-2017 João Cristóvão,\n(c) 2015-2017 Ryan Scott"; - maintainer = "Simon Hengel ,\nJoão Cristóvão ,\nRyan Scott "; - author = "Simon Hengel ,\nJoão Cristóvão ,\nRyan Scott "; - homepage = "https://github.com/haskell-compat/base-orphans#readme"; - url = ""; - synopsis = "Backwards-compatible orphan instances for base"; - description = "@base-orphans@ defines orphan instances that mimic instances available in\nlater versions of @base@ to a wider (older) range of compilers.\n@base-orphans@ does not export anything except the orphan instances\nthemselves and complements @@.\n\nSee the README for what instances are covered:\n.\nSee also the\n\nsection."; - buildType = "Simple"; - }; - components = { - "library" = { - depends = [ - (hsPkgs."base" or (errorHandler.buildDepError "base")) - (hsPkgs."ghc-prim" or (errorHandler.buildDepError "ghc-prim")) - ]; - buildable = true; - }; - tests = { - "spec" = { - depends = [ - (hsPkgs."QuickCheck" or (errorHandler.buildDepError "QuickCheck")) - (hsPkgs."base" or (errorHandler.buildDepError "base")) - (hsPkgs."base-orphans" or (errorHandler.buildDepError "base-orphans")) - (hsPkgs."hspec" or (errorHandler.buildDepError "hspec")) - ]; - build-tools = [ - (hsPkgs.pkgsBuildBuild.hspec-discover.components.exes.hspec-discover or (pkgs.pkgsBuildBuild.hspec-discover or (errorHandler.buildToolDepError "hspec-discover:hspec-discover"))) - ]; - buildable = true; - }; - }; - }; - } // { - src = (pkgs.lib).mkDefault (pkgs.fetchurl { - url = "http://hackage.haskell.org/package/base-orphans-0.9.0.tar.gz"; - sha256 = "613ed4d8241ed5a648a59ae6569a6962990bb545711d020d49fb83fa12d16e62"; - }); - }) // { - package-description-override = "cabal-version: 1.12\n\n-- This file has been generated from package.yaml by hpack version 0.35.2.\n--\n-- see: https://github.com/sol/hpack\n--\n-- hash: 7aa19d6f2d3a7409ee405d67a21b8edb902103b703a6f241f2b5e8e219f70a87\n\nname: base-orphans\nversion: 0.9.0\nsynopsis: Backwards-compatible orphan instances for base\ndescription: @base-orphans@ defines orphan instances that mimic instances available in\n later versions of @base@ to a wider (older) range of compilers.\n @base-orphans@ does not export anything except the orphan instances\n themselves and complements @@.\n .\n See the README for what instances are covered:\n .\n See also the\n \n section.\ncategory: Compatibility\nhomepage: https://github.com/haskell-compat/base-orphans#readme\nbug-reports: https://github.com/haskell-compat/base-orphans/issues\nauthor: Simon Hengel ,\n João Cristóvão ,\n Ryan Scott \nmaintainer: Simon Hengel ,\n João Cristóvão ,\n Ryan Scott \ncopyright: (c) 2012-2017 Simon Hengel,\n (c) 2014-2017 João Cristóvão,\n (c) 2015-2017 Ryan Scott\nlicense: MIT\nlicense-file: LICENSE\nbuild-type: Simple\ntested-with:\n GHC == 7.0.4 , GHC == 7.2.2 , GHC == 7.4.2 , GHC == 7.6.3 , GHC == 7.8.4 , GHC == 7.10.3 , GHC == 8.0.2 , GHC == 8.2.2 , GHC == 8.4.4 , GHC == 8.6.5 , GHC == 8.8.4 , GHC == 8.10.7 , GHC == 9.0.2 , GHC == 9.2.7 , GHC == 9.4.4 , GHC == 9.6.1\nextra-source-files:\n CHANGES.markdown\n README.markdown\n\nsource-repository head\n type: git\n location: https://github.com/haskell-compat/base-orphans\n\nlibrary\n hs-source-dirs:\n src\n ghc-options: -Wall\n build-depends:\n base >=4.3 && <5\n , ghc-prim\n exposed-modules:\n Data.Orphans\n other-modules:\n Data.Orphans.Prelude\n default-language: Haskell2010\n\ntest-suite spec\n type: exitcode-stdio-1.0\n main-is: Spec.hs\n hs-source-dirs:\n test\n ghc-options: -Wall\n build-depends:\n QuickCheck\n , base >=4.3 && <5\n , base-orphans\n , hspec ==2.*\n build-tool-depends: hspec-discover:hspec-discover == 2.*\n other-modules:\n Control.Applicative.OrphansSpec\n Control.Exception.OrphansSpec\n Data.Bits.OrphansSpec\n Data.Foldable.OrphansSpec\n Data.Monoid.OrphansSpec\n Data.Traversable.OrphansSpec\n Data.Version.OrphansSpec\n Foreign.Storable.OrphansSpec\n GHC.Fingerprint.OrphansSpec\n System.Posix.Types.IntWord\n System.Posix.Types.OrphansSpec\n Paths_base_orphans\n default-language: Haskell2010\n"; - } \ No newline at end of file diff --git a/materialized/ghc8107/hadrian-ghc94/hadrian/cabal-files/clock.nix b/materialized/ghc8107/hadrian-ghc94/hadrian/cabal-files/clock.nix deleted file mode 100644 index de66c1339a..0000000000 --- a/materialized/ghc8107/hadrian-ghc94/hadrian/cabal-files/clock.nix +++ /dev/null @@ -1,59 +0,0 @@ -{ system - , compiler - , flags - , pkgs - , hsPkgs - , pkgconfPkgs - , errorHandler - , config - , ... }: - ({ - flags = { llvm = false; }; - package = { - specVersion = "1.10"; - identifier = { name = "clock"; version = "0.8.3"; }; - license = "BSD-3-Clause"; - copyright = "Copyright © Cetin Sert 2009-2016, 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 , Corsis Research"; - author = "Cetin Sert , Corsis Research"; - 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.3.tar.gz"; - sha256 = "845ce5db4c98cefd517323e005f87effceff886987305e421c4ef616dc0505d1"; - }); - }) // { - package-description-override = "cabal-version: >= 1.10\nname: clock\nversion: 0.8.3\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-2016, 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 , Corsis Research\nmaintainer: Cetin Sert , Corsis Research\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.2.1\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: git://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/ghc8107/hadrian-ghc94/hadrian/cabal-files/data-array-byte.nix b/materialized/ghc8107/hadrian-ghc94/hadrian/cabal-files/data-array-byte.nix deleted file mode 100644 index c0d9745691..0000000000 --- a/materialized/ghc8107/hadrian-ghc94/hadrian/cabal-files/data-array-byte.nix +++ /dev/null @@ -1,55 +0,0 @@ -{ system - , compiler - , flags - , pkgs - , hsPkgs - , pkgconfPkgs - , errorHandler - , config - , ... }: - ({ - flags = {}; - package = { - specVersion = "1.10"; - identifier = { name = "data-array-byte"; version = "0.1.0.1"; }; - license = "BSD-3-Clause"; - copyright = "(c) Roman Leshchinskiy 2009-2012"; - maintainer = "andrew.lelechenko@gmail.com"; - author = "Roman Leshchinskiy "; - homepage = "https://github.com/Bodigrim/data-array-byte"; - url = ""; - synopsis = "Compatibility layer for Data.Array.Byte"; - description = "Compatibility layer for [Data.Array.Byte](https://hackage.haskell.org/package/base/docs/Data-Array-Byte.html), providing boxed wrappers for @ByteArray#@ and @MutableByteArray#@ and relevant instances for GHC < 9.4. Include it into your Cabal file:\n\n> build-depends: base\n> if impl(ghc < 9.4)\n> build-depends: data-array-byte\n\nand then @import Data.Array.Byte@ unconditionally."; - buildType = "Simple"; - }; - components = { - "library" = { - depends = [ - (hsPkgs."base" or (errorHandler.buildDepError "base")) - (hsPkgs."deepseq" or (errorHandler.buildDepError "deepseq")) - (hsPkgs."template-haskell" or (errorHandler.buildDepError "template-haskell")) - ]; - buildable = true; - }; - tests = { - "data-array-byte-tests" = { - depends = [ - (hsPkgs."base" or (errorHandler.buildDepError "base")) - (hsPkgs."data-array-byte" or (errorHandler.buildDepError "data-array-byte")) - (hsPkgs."quickcheck-classes-base" or (errorHandler.buildDepError "quickcheck-classes-base")) - (hsPkgs."tasty" or (errorHandler.buildDepError "tasty")) - (hsPkgs."tasty-quickcheck" or (errorHandler.buildDepError "tasty-quickcheck")) - (hsPkgs."template-haskell" or (errorHandler.buildDepError "template-haskell")) - ]; - buildable = true; - }; - }; - }; - } // { - src = (pkgs.lib).mkDefault (pkgs.fetchurl { - url = "http://hackage.haskell.org/package/data-array-byte-0.1.0.1.tar.gz"; - sha256 = "1bb6eca0b3e02d057fe7f4e14c81ef395216f421ab30fdaa1b18017c9c025600"; - }); - }) // { - package-description-override = "cabal-version: >=1.10\r\nname: data-array-byte\r\nversion: 0.1.0.1\r\nx-revision: 1\r\nlicense: BSD3\r\nlicense-file: LICENSE\r\ncopyright: (c) Roman Leshchinskiy 2009-2012\r\nmaintainer: andrew.lelechenko@gmail.com\r\nauthor: Roman Leshchinskiy \r\ntested-with:\r\n ghc ==8.0.2 ghc ==8.2.2 ghc ==8.4.4 ghc ==8.6.5 ghc ==8.8.4\r\n ghc ==8.10.7 ghc ==9.0.2 ghc ==9.2.4 ghc ==9.4.2\r\n\r\nhomepage: https://github.com/Bodigrim/data-array-byte\r\nbug-reports: https://github.com/Bodigrim/data-array-byte/issues\r\nsynopsis: Compatibility layer for Data.Array.Byte\r\ndescription:\r\n Compatibility layer for [Data.Array.Byte](https://hackage.haskell.org/package/base/docs/Data-Array-Byte.html), providing boxed wrappers for @ByteArray#@ and @MutableByteArray#@ and relevant instances for GHC < 9.4. Include it into your Cabal file:\r\n .\r\n > build-depends: base\r\n > if impl(ghc < 9.4)\r\n > build-depends: data-array-byte\r\n .\r\n and then @import Data.Array.Byte@ unconditionally.\r\n\r\ncategory: Compatibility\r\nbuild-type: Simple\r\nextra-source-files:\r\n changelog.md\r\n README.md\r\n\r\nsource-repository head\r\n type: git\r\n location: https://github.com/Bodigrim/data-array-byte\r\n\r\nlibrary\r\n default-language: Haskell2010\r\n ghc-options: -Wall\r\n build-depends:\r\n base >=4.9 && <4.19,\r\n deepseq >=1.4 && <1.5,\r\n template-haskell >=2.11 && <2.21\r\n\r\n if impl(ghc <9.4)\r\n exposed-modules: Data.Array.Byte\r\n\r\ntest-suite data-array-byte-tests\r\n type: exitcode-stdio-1.0\r\n main-is: Main.hs\r\n hs-source-dirs: test\r\n default-language: Haskell2010\r\n ghc-options: -Wall\r\n build-depends:\r\n base,\r\n data-array-byte,\r\n quickcheck-classes-base >=0.6 && <0.7,\r\n tasty >=1.4 && <1.5,\r\n tasty-quickcheck >=0.10 && <0.11,\r\n template-haskell\r\n"; - } \ No newline at end of file diff --git a/materialized/ghc8107/hadrian-ghc94/hadrian/cabal-files/extra.nix b/materialized/ghc8107/hadrian-ghc94/hadrian/cabal-files/extra.nix deleted file mode 100644 index 450be82c4b..0000000000 --- a/materialized/ghc8107/hadrian-ghc94/hadrian/cabal-files/extra.nix +++ /dev/null @@ -1,58 +0,0 @@ -{ 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/ghc8107/hadrian-ghc94/hadrian/cabal-files/filepattern.nix b/materialized/ghc8107/hadrian-ghc94/hadrian/cabal-files/filepattern.nix deleted file mode 100644 index 13bbd09e88..0000000000 --- a/materialized/ghc8107/hadrian-ghc94/hadrian/cabal-files/filepattern.nix +++ /dev/null @@ -1,56 +0,0 @@ -{ 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/ghc8107/hadrian-ghc94/hadrian/cabal-files/hashable.nix b/materialized/ghc8107/hadrian-ghc94/hadrian/cabal-files/hashable.nix deleted file mode 100644 index 288fdf7407..0000000000 --- a/materialized/ghc8107/hadrian-ghc94/hadrian/cabal-files/hashable.nix +++ /dev/null @@ -1,82 +0,0 @@ -{ 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.2.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."; - 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.2.0.tar.gz"; - sha256 = "1b4000ea82b81f69d46d0af4152c10c6303873510738e24cfc4767760d30e3f8"; - }); - }) // { - package-description-override = "cabal-version: 1.12\nname: hashable\nversion: 1.4.2.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\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.5\n || ==9.4.4\n || ==9.6.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.19\n , bytestring >=0.10.8.2 && <0.12\n , containers >=0.5.10.2 && <0.7\n , deepseq >=1.4.3.0 && <1.5\n , filepath >=1.4.1.2 && <1.5\n , ghc-prim\n , text >=1.2.3.0 && <1.3 || >=2.0 && <2.1\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/ghc8107/hadrian-ghc94/hadrian/cabal-files/heaps.nix b/materialized/ghc8107/hadrian-ghc94/hadrian/cabal-files/heaps.nix deleted file mode 100644 index dc77aed1f4..0000000000 --- a/materialized/ghc8107/hadrian-ghc94/hadrian/cabal-files/heaps.nix +++ /dev/null @@ -1,38 +0,0 @@ -{ 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/ghc8107/hadrian-ghc94/hadrian/cabal-files/js-dgtable.nix b/materialized/ghc8107/hadrian-ghc94/hadrian/cabal-files/js-dgtable.nix deleted file mode 100644 index 0237404c41..0000000000 --- a/materialized/ghc8107/hadrian-ghc94/hadrian/cabal-files/js-dgtable.nix +++ /dev/null @@ -1,47 +0,0 @@ -{ 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/ghc8107/hadrian-ghc94/hadrian/cabal-files/js-flot.nix b/materialized/ghc8107/hadrian-ghc94/hadrian/cabal-files/js-flot.nix deleted file mode 100644 index ba292fc8b2..0000000000 --- a/materialized/ghc8107/hadrian-ghc94/hadrian/cabal-files/js-flot.nix +++ /dev/null @@ -1,47 +0,0 @@ -{ 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/ghc8107/hadrian-ghc94/hadrian/cabal-files/js-jquery.nix b/materialized/ghc8107/hadrian-ghc94/hadrian/cabal-files/js-jquery.nix deleted file mode 100644 index 9ecdc931ed..0000000000 --- a/materialized/ghc8107/hadrian-ghc94/hadrian/cabal-files/js-jquery.nix +++ /dev/null @@ -1,48 +0,0 @@ -{ 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/ghc8107/hadrian-ghc94/hadrian/cabal-files/primitive.nix b/materialized/ghc8107/hadrian-ghc94/hadrian/cabal-files/primitive.nix deleted file mode 100644 index bbc2dd58da..0000000000 --- a/materialized/ghc8107/hadrian-ghc94/hadrian/cabal-files/primitive.nix +++ /dev/null @@ -1,73 +0,0 @@ -{ system - , compiler - , flags - , pkgs - , hsPkgs - , pkgconfPkgs - , errorHandler - , config - , ... }: - ({ - flags = {}; - package = { - specVersion = "2.0"; - identifier = { name = "primitive"; version = "0.8.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.8.0.0.tar.gz"; - sha256 = "5553c21b4a789f9b591eed69e598cc58484c274af29250e517b5a8bcc62b995f"; - }); - }) // { - package-description-override = "Cabal-Version: 2.0\nName: primitive\nVersion: 0.8.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\n Build-Depends: base >= 4.9 && < 4.19\n , deepseq >= 1.1 && < 1.5\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/ghc8107/hadrian-ghc94/hadrian/cabal-files/random.nix b/materialized/ghc8107/hadrian-ghc94/hadrian/cabal-files/random.nix deleted file mode 100644 index c2f8f753b4..0000000000 --- a/materialized/ghc8107/hadrian-ghc94/hadrian/cabal-files/random.nix +++ /dev/null @@ -1,113 +0,0 @@ -{ 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\nname: random\nversion: 1.2.1.1\nlicense: BSD3\nlicense-file: LICENSE\nmaintainer: core-libraries-committee@haskell.org\nbug-reports: https://github.com/haskell/random/issues\nsynopsis: Pseudo-random number generation\ndescription:\n This package provides basic pseudo-random number generation, including the\n ability to split random number generators.\n .\n == \"System.Random\": pure pseudo-random number interface\n .\n In pure code, use 'System.Random.uniform' and 'System.Random.uniformR' from\n \"System.Random\" to generate pseudo-random numbers with a pure pseudo-random\n number generator like 'System.Random.StdGen'.\n .\n As 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 .\n See \"System.Random\" for more details.\n .\n == \"System.Random.Stateful\": monadic pseudo-random number interface\n .\n In monadic code, use 'System.Random.Stateful.uniformM' and\n 'System.Random.Stateful.uniformRM' from \"System.Random.Stateful\" to generate\n pseudo-random numbers with a monadic pseudo-random number generator, or\n using a monadic adapter.\n .\n As 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 .\n The monadic adapter 'System.Random.Stateful.runStateGen_' is used here to lift\n the pure pseudo-random number generator @pureGen@ into the\n 'System.Random.Stateful.StatefulGen' context.\n .\n The monadic interface can also be used with existing monadic pseudo-random\n number 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 .\n See \"System.Random.Stateful\" for more details.\n\ncategory: System\nbuild-type: Simple\nextra-source-files:\n README.md\n CHANGELOG.md\ntested-with: GHC == 7.10.2\n , GHC == 7.10.3\n , GHC == 8.0.2\n , GHC == 8.2.2\n , GHC == 8.4.3\n , GHC == 8.4.4\n , GHC == 8.6.3\n , GHC == 8.6.4\n , GHC == 8.6.5\n , GHC == 8.8.1\n , GHC == 8.8.2\n , GHC == 8.10.1\n\nsource-repository head\n type: git\n location: https://github.com/haskell/random.git\n\n\nlibrary\n exposed-modules:\n System.Random\n System.Random.Internal\n System.Random.Stateful\n other-modules:\n System.Random.GFinite\n\n hs-source-dirs: src\n default-language: Haskell2010\n ghc-options:\n -Wall\n if impl(ghc >= 8.0)\n ghc-options:\n -Wincomplete-record-updates -Wincomplete-uni-patterns\n\n build-depends:\n base >=4.8 && <5,\n bytestring >=0.10.4 && <0.12,\n deepseq >=1.1 && <2,\n mtl >=2.2 && <2.4,\n splitmix >=0.1 && <0.2\n if impl(ghc < 8.0)\n build-depends:\n transformers\n\ntest-suite legacy-test\n type: exitcode-stdio-1.0\n main-is: Legacy.hs\n hs-source-dirs: test-legacy\n other-modules:\n T7936\n TestRandomIOs\n TestRandomRs\n Random1283\n RangeTest\n\n default-language: Haskell2010\n ghc-options: -with-rtsopts=-M8M\n if impl(ghc >= 8.0)\n ghc-options:\n -Wno-deprecations\n build-depends:\n base,\n containers >=0.5 && <0.7,\n random\n\ntest-suite doctests\n type: exitcode-stdio-1.0\n main-is: doctests.hs\n hs-source-dirs: test\n default-language: Haskell2010\n build-depends:\n base,\n doctest >=0.15 && <0.21\n if impl(ghc >= 8.2) && impl(ghc < 8.10)\n build-depends:\n mwc-random >=0.13 && <0.16,\n primitive >=0.6 && <0.8,\n random,\n stm,\n unliftio >=0.2 && <0.3,\n vector >= 0.10 && <0.14\n\ntest-suite spec\n type: exitcode-stdio-1.0\n main-is: Spec.hs\n hs-source-dirs: test\n other-modules:\n Spec.Range\n Spec.Run\n Spec.Stateful\n\n default-language: Haskell2010\n ghc-options: -Wall\n build-depends:\n base,\n bytestring,\n random,\n smallcheck >=1.2 && <1.3,\n stm,\n tasty >=1.0 && <1.5,\n tasty-smallcheck >=0.8 && <0.9,\n tasty-hunit >=0.10 && <0.11,\n transformers\n\n-- Note. Fails when compiled with coverage:\n-- https://github.com/haskell/random/issues/107\ntest-suite spec-inspection\n type: exitcode-stdio-1.0\n main-is: Spec.hs\n hs-source-dirs: test-inspection\n build-depends:\n\n default-language: Haskell2010\n ghc-options: -Wall\n build-depends:\n base,\n random,\n tasty >=1.0 && <1.5\n if impl(ghc >= 8.0)\n build-depends:\n tasty-inspection-testing\n other-modules:\n Spec.Inspection\n\nbenchmark legacy-bench\n type: exitcode-stdio-1.0\n main-is: SimpleRNGBench.hs\n hs-source-dirs: bench-legacy\n other-modules: BinSearch\n default-language: Haskell2010\n ghc-options:\n -Wall -O2 -threaded -rtsopts -with-rtsopts=-N\n if impl(ghc >= 8.0)\n ghc-options:\n -Wno-deprecations\n\n build-depends:\n base,\n random,\n rdtsc,\n split >=0.2 && <0.3,\n time >=1.4 && <1.13\n\nbenchmark bench\n type: exitcode-stdio-1.0\n main-is: Main.hs\n hs-source-dirs: bench\n default-language: Haskell2010\n ghc-options: -Wall -O2\n build-depends:\n base,\n mtl,\n primitive >= 0.7.1,\n random,\n splitmix >=0.1 && <0.2,\n tasty-bench\n"; - } \ No newline at end of file diff --git a/materialized/ghc8107/hadrian-ghc94/hadrian/cabal-files/shake.nix b/materialized/ghc8107/hadrian-ghc94/hadrian/cabal-files/shake.nix deleted file mode 100644 index e7eb5c6647..0000000000 --- a/materialized/ghc8107/hadrian-ghc94/hadrian/cabal-files/shake.nix +++ /dev/null @@ -1,132 +0,0 @@ -{ 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/ghc8107/hadrian-ghc94/hadrian/cabal-files/splitmix.nix b/materialized/ghc8107/hadrian-ghc94/hadrian/cabal-files/splitmix.nix deleted file mode 100644 index 7918d356b1..0000000000 --- a/materialized/ghc8107/hadrian-ghc94/hadrian/cabal-files/splitmix.nix +++ /dev/null @@ -1,140 +0,0 @@ -{ system - , compiler - , flags - , pkgs - , hsPkgs - , pkgconfPkgs - , errorHandler - , config - , ... }: - ({ - flags = { optimised-mixer = false; }; - package = { - specVersion = "1.10"; - identifier = { name = "splitmix"; version = "0.1.0.4"; }; - 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."clock" or (errorHandler.buildDepError "clock")) - (hsPkgs."random" or (errorHandler.buildDepError "random")) - (hsPkgs."splitmix" or (errorHandler.buildDepError "splitmix")) - ]; - buildable = true; - }; - }; - }; - } // { - src = (pkgs.lib).mkDefault (pkgs.fetchurl { - url = "http://hackage.haskell.org/package/splitmix-0.1.0.4.tar.gz"; - sha256 = "6d065402394e7a9117093dbb4530a21342c9b1e2ec509516c8a8d0ffed98ecaa"; - }); - }) // { - package-description-override = "cabal-version: >=1.10\nname: splitmix\nversion: 0.1.0.4\nx-revision: 2\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.5\n || ==9.4.4\n || ==9.6.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.19\n , deepseq >=1.3.0.0 && <1.5\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.6\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 , clock >=0.8 && <0.9\n , random\n , splitmix\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.13\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.13\n , bytestring >=0.9.1.8 && <0.12\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.13\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.13\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/ghc8107/hadrian-ghc94/hadrian/cabal-files/unordered-containers.nix b/materialized/ghc8107/hadrian-ghc94/hadrian/cabal-files/unordered-containers.nix deleted file mode 100644 index ab6a9d8c44..0000000000 --- a/materialized/ghc8107/hadrian-ghc94/hadrian/cabal-files/unordered-containers.nix +++ /dev/null @@ -1,78 +0,0 @@ -{ 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\r\nversion: 0.2.19.1\r\nx-revision: 2\r\nsynopsis: Efficient hashing-based container types\r\ndescription:\r\n Efficient hashing-based container types. The containers have been\r\n optimized for performance critical use, both in terms of large data\r\n quantities and high speed.\r\n .\r\n The declared cost of each operation is either worst-case or\r\n amortized, but remains valid even if structures are shared.\r\n .\r\n /Security/\r\n .\r\n This package currently provides no defenses against hash collision attacks\r\n such as HashDoS.\r\n Users who need to store input from untrusted sources are advised to use\r\n @Data.Map@ or @Data.Set@ from the @containers@ package instead.\r\nlicense: BSD3\r\nlicense-file: LICENSE\r\nauthor: Johan Tibell\r\nmaintainer: simon.jakobi@gmail.com, David.Feuer@gmail.com\r\nHomepage: https://github.com/haskell-unordered-containers/unordered-containers\r\nbug-reports: https://github.com/haskell-unordered-containers/unordered-containers/issues\r\ncopyright: 2010-2014 Johan Tibell\r\n 2010 Edward Z. Yang\r\ncategory: Data\r\nbuild-type: Simple\r\ncabal-version: >=1.10\r\nextra-source-files: CHANGES.md\r\n\r\ntested-with:\r\n GHC ==9.6.1\r\n || ==9.4.4\r\n || ==9.2.7\r\n || ==9.0.2\r\n || ==8.10.7\r\n || ==8.8.4\r\n || ==8.6.5\r\n || ==8.4.4\r\n || ==8.2.2\r\n\r\nflag debug\r\n description: Enable debug support\r\n default: False\r\n\r\nlibrary\r\n exposed-modules:\r\n Data.HashMap.Internal\r\n Data.HashMap.Internal.Array\r\n Data.HashMap.Internal.List\r\n Data.HashMap.Internal.Strict\r\n Data.HashMap.Lazy\r\n Data.HashMap.Strict\r\n Data.HashSet\r\n Data.HashSet.Internal\r\n\r\n build-depends:\r\n base >= 4.10 && < 5,\r\n deepseq >= 1.4.3,\r\n hashable >= 1.2.5 && < 1.5,\r\n template-haskell < 2.21\r\n\r\n default-language: Haskell2010\r\n\r\n other-extensions:\r\n RoleAnnotations,\r\n UnboxedTuples,\r\n ScopedTypeVariables,\r\n MagicHash,\r\n BangPatterns\r\n\r\n ghc-options: -Wall -O2 -fwarn-tabs -ferror-spans\r\n\r\n -- For dumping the generated code:\r\n -- ghc-options: -ddump-simpl -ddump-stg-final -ddump-cmm -ddump-asm -ddump-to-file\r\n -- ghc-options: -dsuppress-coercions -dsuppress-unfoldings -dsuppress-module-prefixes\r\n -- ghc-options: -dsuppress-uniques -dsuppress-timestamps\r\n\r\n if flag(debug)\r\n cpp-options: -DASSERTS\r\n\r\ntest-suite unordered-containers-tests\r\n hs-source-dirs: tests\r\n main-is: Main.hs\r\n type: exitcode-stdio-1.0\r\n other-modules:\r\n Regressions\r\n Properties\r\n Properties.HashMapLazy\r\n Properties.HashMapStrict\r\n Properties.HashSet\r\n Properties.List\r\n Strictness\r\n\r\n build-depends:\r\n base,\r\n ChasingBottoms,\r\n containers >= 0.5.8,\r\n hashable,\r\n HUnit,\r\n QuickCheck >= 2.4.0.1,\r\n random,\r\n tasty >= 1.4.0.3,\r\n tasty-hunit >= 0.10.0.3,\r\n tasty-quickcheck >= 0.10.1.2,\r\n unordered-containers\r\n\r\n if impl(ghc >= 8.6)\r\n build-depends:\r\n nothunks >= 0.1.3\r\n\r\n default-language: Haskell2010\r\n ghc-options: -Wall\r\n cpp-options: -DASSERTS\r\n\r\nbenchmark benchmarks\r\n hs-source-dirs: benchmarks\r\n main-is: Benchmarks.hs\r\n type: exitcode-stdio-1.0\r\n\r\n other-modules:\r\n Util.ByteString\r\n Util.String\r\n Util.Int\r\n\r\n build-depends:\r\n base,\r\n bytestring >= 0.10.0.0,\r\n containers,\r\n deepseq,\r\n hashable,\r\n hashmap,\r\n mtl,\r\n random,\r\n tasty-bench >= 0.3.1,\r\n unordered-containers\r\n\r\n default-language: Haskell2010\r\n ghc-options: -Wall -O2 -rtsopts -with-rtsopts=-A32m\r\n if impl(ghc >= 8.10)\r\n ghc-options: \"-with-rtsopts=-A32m --nonmoving-gc\"\r\n -- cpp-options: -DBENCH_containers_Map -DBENCH_containers_IntMap -DBENCH_hashmap_Map\r\n\r\nsource-repository head\r\n type: git\r\n location: https://github.com/haskell-unordered-containers/unordered-containers.git\r\n"; - } \ No newline at end of file diff --git a/materialized/ghc8107/hadrian-ghc94/hadrian/cabal-files/utf8-string.nix b/materialized/ghc8107/hadrian-ghc94/hadrian/cabal-files/utf8-string.nix deleted file mode 100644 index ac9bde4057..0000000000 --- a/materialized/ghc8107/hadrian-ghc94/hadrian/cabal-files/utf8-string.nix +++ /dev/null @@ -1,51 +0,0 @@ -{ 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/ghc8107/hadrian-ghc94/hadrian/default.nix b/materialized/ghc8107/hadrian-ghc94/hadrian/default.nix deleted file mode 100644 index fc0b310b4e..0000000000 --- a/materialized/ghc8107/hadrian-ghc94/hadrian/default.nix +++ /dev/null @@ -1,145 +0,0 @@ -{ - pkgs = hackage: - { - packages = { - bytestring.revision = (((hackage.bytestring)."0.10.12.0").revisions).default; - directory.revision = (((hackage.directory)."1.3.6.0").revisions).default; - filepath.revision = (((hackage.filepath)."1.4.2.1").revisions).default; - mtl.revision = (((hackage.mtl)."2.2.2").revisions).default; - ghc-prim.revision = (((hackage.ghc-prim)."0.6.1").revisions).default; - parsec.revision = (((hackage.parsec)."3.1.14.0").revisions).default; - js-flot.revision = import ./cabal-files/js-flot.nix; - utf8-string.revision = import ./cabal-files/utf8-string.nix; - Cabal.revision = (((hackage.Cabal)."3.2.1.0").revisions).default; - splitmix.revision = import ./cabal-files/splitmix.nix; - splitmix.flags.optimised-mixer = false; - containers.revision = (((hackage.containers)."0.6.5.1").revisions).default; - clock.revision = import ./cabal-files/clock.nix; - clock.flags.llvm = false; - heaps.revision = import ./cabal-files/heaps.nix; - base.revision = (((hackage.base)."4.14.3.0").revisions).default; - time.revision = (((hackage.time)."1.9.3").revisions).default; - base-orphans.revision = import ./cabal-files/base-orphans.nix; - random.revision = import ./cabal-files/random.nix; - primitive.revision = import ./cabal-files/primitive.nix; - deepseq.revision = (((hackage.deepseq)."1.4.4.0").revisions).default; - js-jquery.revision = import ./cabal-files/js-jquery.nix; - js-dgtable.revision = import ./cabal-files/js-dgtable.nix; - rts.revision = (((hackage.rts)."1.0.1").revisions).default; - template-haskell.revision = (((hackage.template-haskell)."2.16.0.0").revisions).default; - binary.revision = (((hackage.binary)."0.8.8.0").revisions).default; - shake.revision = import ./cabal-files/shake.nix; - shake.flags.portable = false; - shake.flags.cloud = false; - shake.flags.embed-files = false; - integer-gmp.revision = (((hackage.integer-gmp)."1.0.3.0").revisions).default; - process.revision = (((hackage.process)."1.6.13.2").revisions).default; - unix.revision = (((hackage.unix)."2.7.2.2").revisions).default; - data-array-byte.revision = import ./cabal-files/data-array-byte.nix; - transformers.revision = (((hackage.transformers)."0.5.6.2").revisions).default; - unordered-containers.revision = import ./cabal-files/unordered-containers.nix; - unordered-containers.flags.debug = false; - QuickCheck.revision = import ./cabal-files/QuickCheck.nix; - QuickCheck.flags.old-random = false; - QuickCheck.flags.templatehaskell = true; - extra.revision = import ./cabal-files/extra.nix; - text.revision = (((hackage.text)."1.2.4.1").revisions).default; - array.revision = (((hackage.array)."0.5.4.0").revisions).default; - ghc-boot-th.revision = (((hackage.ghc-boot-th)."8.10.7").revisions).default; - filepattern.revision = import ./cabal-files/filepattern.nix; - 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; - }; - compiler = { - version = "8.10.7"; - nix-name = "ghc8107"; - packages = { - "pretty" = "1.1.3.6"; - "text" = "1.2.4.1"; - "array" = "0.5.4.0"; - "Cabal" = "3.2.1.0"; - "mtl" = "2.2.2"; - "parsec" = "3.1.14.0"; - "bytestring" = "0.10.12.0"; - "filepath" = "1.4.2.1"; - "ghc-prim" = "0.6.1"; - "ghc-boot-th" = "8.10.7"; - "base" = "4.14.3.0"; - "time" = "1.9.3"; - "process" = "1.6.13.2"; - "directory" = "1.3.6.0"; - "rts" = "1.0.1"; - "transformers" = "0.5.6.2"; - "template-haskell" = "2.16.0.0"; - "deepseq" = "1.4.4.0"; - "unix" = "2.7.2.2"; - "integer-gmp" = "1.0.3.0"; - "binary" = "0.8.8.0"; - "containers" = "0.6.5.1"; - }; - }; - }; - extras = hackage: - { packages = { hadrian = ./.plan.nix/hadrian.nix; }; }; - modules = [ - ({ lib, ... }: - { - packages = { - "hadrian" = { - flags = { - "threaded" = lib.mkOverride 900 true; - "selftest" = lib.mkOverride 900 true; - }; - }; - }; - }) - ({ lib, ... }: - { - packages = { - "shake".components.library.planned = lib.mkOverride 900 true; - "base-orphans".components.library.planned = lib.mkOverride 900 true; - "heaps".components.library.planned = lib.mkOverride 900 true; - "extra".components.library.planned = lib.mkOverride 900 true; - "filepath".components.library.planned = lib.mkOverride 900 true; - "pretty".components.library.planned = lib.mkOverride 900 true; - "utf8-string".components.library.planned = lib.mkOverride 900 true; - "Cabal".components.library.planned = lib.mkOverride 900 true; - "bytestring".components.library.planned = lib.mkOverride 900 true; - "ghc-prim".components.library.planned = lib.mkOverride 900 true; - "array".components.library.planned = lib.mkOverride 900 true; - "binary".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; - "splitmix".components.library.planned = lib.mkOverride 900 true; - "rts".components.library.planned = lib.mkOverride 900 true; - "unix".components.library.planned = lib.mkOverride 900 true; - "shake".components.exes."shake".planned = lib.mkOverride 900 true; - "directory".components.library.planned = lib.mkOverride 900 true; - "time".components.library.planned = lib.mkOverride 900 true; - "js-flot".components.library.planned = lib.mkOverride 900 true; - "data-array-byte".components.library.planned = lib.mkOverride 900 true; - "process".components.library.planned = lib.mkOverride 900 true; - "clock".components.library.planned = lib.mkOverride 900 true; - "template-haskell".components.library.planned = lib.mkOverride 900 true; - "hadrian".components.exes."hadrian".planned = lib.mkOverride 900 true; - "QuickCheck".components.library.planned = lib.mkOverride 900 true; - "mtl".components.library.planned = lib.mkOverride 900 true; - "transformers".components.library.planned = lib.mkOverride 900 true; - "parsec".components.library.planned = lib.mkOverride 900 true; - "deepseq".components.library.planned = lib.mkOverride 900 true; - "primitive".components.library.planned = lib.mkOverride 900 true; - "js-jquery".components.library.planned = lib.mkOverride 900 true; - "text".components.library.planned = lib.mkOverride 900 true; - "unordered-containers".components.library.planned = lib.mkOverride 900 true; - "random".components.library.planned = lib.mkOverride 900 true; - "base".components.library.planned = lib.mkOverride 900 true; - "integer-gmp".components.library.planned = lib.mkOverride 900 true; - "containers".components.library.planned = lib.mkOverride 900 true; - "js-dgtable".components.library.planned = lib.mkOverride 900 true; - "hashable".components.library.planned = lib.mkOverride 900 true; - }; - }) - ]; - } \ No newline at end of file diff --git a/materialized/ghc8107/hadrian-ghc96/hadrian/.plan.nix/hadrian.nix b/materialized/ghc8107/hadrian-ghc96/hadrian/.plan.nix/hadrian.nix deleted file mode 100644 index ade1f3d512..0000000000 --- a/materialized/ghc8107/hadrian-ghc96/hadrian/.plan.nix/hadrian.nix +++ /dev/null @@ -1,162 +0,0 @@ -{ 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/ghc8107/hadrian-ghc96/hadrian/cabal-files/QuickCheck.nix b/materialized/ghc8107/hadrian-ghc96/hadrian/cabal-files/QuickCheck.nix deleted file mode 100644 index 31390ca93b..0000000000 --- a/materialized/ghc8107/hadrian-ghc96/hadrian/cabal-files/QuickCheck.nix +++ /dev/null @@ -1,119 +0,0 @@ -{ 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/ghc8107/hadrian-ghc96/hadrian/cabal-files/base-orphans.nix b/materialized/ghc8107/hadrian-ghc96/hadrian/cabal-files/base-orphans.nix deleted file mode 100644 index 3e0d637748..0000000000 --- a/materialized/ghc8107/hadrian-ghc96/hadrian/cabal-files/base-orphans.nix +++ /dev/null @@ -1,55 +0,0 @@ -{ system - , compiler - , flags - , pkgs - , hsPkgs - , pkgconfPkgs - , errorHandler - , config - , ... }: - ({ - flags = {}; - package = { - specVersion = "1.12"; - identifier = { name = "base-orphans"; version = "0.9.0"; }; - license = "MIT"; - copyright = "(c) 2012-2017 Simon Hengel,\n(c) 2014-2017 João Cristóvão,\n(c) 2015-2017 Ryan Scott"; - maintainer = "Simon Hengel ,\nJoão Cristóvão ,\nRyan Scott "; - author = "Simon Hengel ,\nJoão Cristóvão ,\nRyan Scott "; - homepage = "https://github.com/haskell-compat/base-orphans#readme"; - url = ""; - synopsis = "Backwards-compatible orphan instances for base"; - description = "@base-orphans@ defines orphan instances that mimic instances available in\nlater versions of @base@ to a wider (older) range of compilers.\n@base-orphans@ does not export anything except the orphan instances\nthemselves and complements @@.\n\nSee the README for what instances are covered:\n.\nSee also the\n\nsection."; - buildType = "Simple"; - }; - components = { - "library" = { - depends = [ - (hsPkgs."base" or (errorHandler.buildDepError "base")) - (hsPkgs."ghc-prim" or (errorHandler.buildDepError "ghc-prim")) - ]; - buildable = true; - }; - tests = { - "spec" = { - depends = [ - (hsPkgs."QuickCheck" or (errorHandler.buildDepError "QuickCheck")) - (hsPkgs."base" or (errorHandler.buildDepError "base")) - (hsPkgs."base-orphans" or (errorHandler.buildDepError "base-orphans")) - (hsPkgs."hspec" or (errorHandler.buildDepError "hspec")) - ]; - build-tools = [ - (hsPkgs.pkgsBuildBuild.hspec-discover.components.exes.hspec-discover or (pkgs.pkgsBuildBuild.hspec-discover or (errorHandler.buildToolDepError "hspec-discover:hspec-discover"))) - ]; - buildable = true; - }; - }; - }; - } // { - src = (pkgs.lib).mkDefault (pkgs.fetchurl { - url = "http://hackage.haskell.org/package/base-orphans-0.9.0.tar.gz"; - sha256 = "613ed4d8241ed5a648a59ae6569a6962990bb545711d020d49fb83fa12d16e62"; - }); - }) // { - package-description-override = "cabal-version: 1.12\n\n-- This file has been generated from package.yaml by hpack version 0.35.2.\n--\n-- see: https://github.com/sol/hpack\n--\n-- hash: 7aa19d6f2d3a7409ee405d67a21b8edb902103b703a6f241f2b5e8e219f70a87\n\nname: base-orphans\nversion: 0.9.0\nsynopsis: Backwards-compatible orphan instances for base\ndescription: @base-orphans@ defines orphan instances that mimic instances available in\n later versions of @base@ to a wider (older) range of compilers.\n @base-orphans@ does not export anything except the orphan instances\n themselves and complements @@.\n .\n See the README for what instances are covered:\n .\n See also the\n \n section.\ncategory: Compatibility\nhomepage: https://github.com/haskell-compat/base-orphans#readme\nbug-reports: https://github.com/haskell-compat/base-orphans/issues\nauthor: Simon Hengel ,\n João Cristóvão ,\n Ryan Scott \nmaintainer: Simon Hengel ,\n João Cristóvão ,\n Ryan Scott \ncopyright: (c) 2012-2017 Simon Hengel,\n (c) 2014-2017 João Cristóvão,\n (c) 2015-2017 Ryan Scott\nlicense: MIT\nlicense-file: LICENSE\nbuild-type: Simple\ntested-with:\n GHC == 7.0.4 , GHC == 7.2.2 , GHC == 7.4.2 , GHC == 7.6.3 , GHC == 7.8.4 , GHC == 7.10.3 , GHC == 8.0.2 , GHC == 8.2.2 , GHC == 8.4.4 , GHC == 8.6.5 , GHC == 8.8.4 , GHC == 8.10.7 , GHC == 9.0.2 , GHC == 9.2.7 , GHC == 9.4.4 , GHC == 9.6.1\nextra-source-files:\n CHANGES.markdown\n README.markdown\n\nsource-repository head\n type: git\n location: https://github.com/haskell-compat/base-orphans\n\nlibrary\n hs-source-dirs:\n src\n ghc-options: -Wall\n build-depends:\n base >=4.3 && <5\n , ghc-prim\n exposed-modules:\n Data.Orphans\n other-modules:\n Data.Orphans.Prelude\n default-language: Haskell2010\n\ntest-suite spec\n type: exitcode-stdio-1.0\n main-is: Spec.hs\n hs-source-dirs:\n test\n ghc-options: -Wall\n build-depends:\n QuickCheck\n , base >=4.3 && <5\n , base-orphans\n , hspec ==2.*\n build-tool-depends: hspec-discover:hspec-discover == 2.*\n other-modules:\n Control.Applicative.OrphansSpec\n Control.Exception.OrphansSpec\n Data.Bits.OrphansSpec\n Data.Foldable.OrphansSpec\n Data.Monoid.OrphansSpec\n Data.Traversable.OrphansSpec\n Data.Version.OrphansSpec\n Foreign.Storable.OrphansSpec\n GHC.Fingerprint.OrphansSpec\n System.Posix.Types.IntWord\n System.Posix.Types.OrphansSpec\n Paths_base_orphans\n default-language: Haskell2010\n"; - } \ No newline at end of file diff --git a/materialized/ghc8107/hadrian-ghc96/hadrian/cabal-files/clock.nix b/materialized/ghc8107/hadrian-ghc96/hadrian/cabal-files/clock.nix deleted file mode 100644 index de66c1339a..0000000000 --- a/materialized/ghc8107/hadrian-ghc96/hadrian/cabal-files/clock.nix +++ /dev/null @@ -1,59 +0,0 @@ -{ system - , compiler - , flags - , pkgs - , hsPkgs - , pkgconfPkgs - , errorHandler - , config - , ... }: - ({ - flags = { llvm = false; }; - package = { - specVersion = "1.10"; - identifier = { name = "clock"; version = "0.8.3"; }; - license = "BSD-3-Clause"; - copyright = "Copyright © Cetin Sert 2009-2016, 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 , Corsis Research"; - author = "Cetin Sert , Corsis Research"; - 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.3.tar.gz"; - sha256 = "845ce5db4c98cefd517323e005f87effceff886987305e421c4ef616dc0505d1"; - }); - }) // { - package-description-override = "cabal-version: >= 1.10\nname: clock\nversion: 0.8.3\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-2016, 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 , Corsis Research\nmaintainer: Cetin Sert , Corsis Research\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.2.1\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: git://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/ghc8107/hadrian-ghc96/hadrian/cabal-files/data-array-byte.nix b/materialized/ghc8107/hadrian-ghc96/hadrian/cabal-files/data-array-byte.nix deleted file mode 100644 index c0d9745691..0000000000 --- a/materialized/ghc8107/hadrian-ghc96/hadrian/cabal-files/data-array-byte.nix +++ /dev/null @@ -1,55 +0,0 @@ -{ system - , compiler - , flags - , pkgs - , hsPkgs - , pkgconfPkgs - , errorHandler - , config - , ... }: - ({ - flags = {}; - package = { - specVersion = "1.10"; - identifier = { name = "data-array-byte"; version = "0.1.0.1"; }; - license = "BSD-3-Clause"; - copyright = "(c) Roman Leshchinskiy 2009-2012"; - maintainer = "andrew.lelechenko@gmail.com"; - author = "Roman Leshchinskiy "; - homepage = "https://github.com/Bodigrim/data-array-byte"; - url = ""; - synopsis = "Compatibility layer for Data.Array.Byte"; - description = "Compatibility layer for [Data.Array.Byte](https://hackage.haskell.org/package/base/docs/Data-Array-Byte.html), providing boxed wrappers for @ByteArray#@ and @MutableByteArray#@ and relevant instances for GHC < 9.4. Include it into your Cabal file:\n\n> build-depends: base\n> if impl(ghc < 9.4)\n> build-depends: data-array-byte\n\nand then @import Data.Array.Byte@ unconditionally."; - buildType = "Simple"; - }; - components = { - "library" = { - depends = [ - (hsPkgs."base" or (errorHandler.buildDepError "base")) - (hsPkgs."deepseq" or (errorHandler.buildDepError "deepseq")) - (hsPkgs."template-haskell" or (errorHandler.buildDepError "template-haskell")) - ]; - buildable = true; - }; - tests = { - "data-array-byte-tests" = { - depends = [ - (hsPkgs."base" or (errorHandler.buildDepError "base")) - (hsPkgs."data-array-byte" or (errorHandler.buildDepError "data-array-byte")) - (hsPkgs."quickcheck-classes-base" or (errorHandler.buildDepError "quickcheck-classes-base")) - (hsPkgs."tasty" or (errorHandler.buildDepError "tasty")) - (hsPkgs."tasty-quickcheck" or (errorHandler.buildDepError "tasty-quickcheck")) - (hsPkgs."template-haskell" or (errorHandler.buildDepError "template-haskell")) - ]; - buildable = true; - }; - }; - }; - } // { - src = (pkgs.lib).mkDefault (pkgs.fetchurl { - url = "http://hackage.haskell.org/package/data-array-byte-0.1.0.1.tar.gz"; - sha256 = "1bb6eca0b3e02d057fe7f4e14c81ef395216f421ab30fdaa1b18017c9c025600"; - }); - }) // { - package-description-override = "cabal-version: >=1.10\r\nname: data-array-byte\r\nversion: 0.1.0.1\r\nx-revision: 1\r\nlicense: BSD3\r\nlicense-file: LICENSE\r\ncopyright: (c) Roman Leshchinskiy 2009-2012\r\nmaintainer: andrew.lelechenko@gmail.com\r\nauthor: Roman Leshchinskiy \r\ntested-with:\r\n ghc ==8.0.2 ghc ==8.2.2 ghc ==8.4.4 ghc ==8.6.5 ghc ==8.8.4\r\n ghc ==8.10.7 ghc ==9.0.2 ghc ==9.2.4 ghc ==9.4.2\r\n\r\nhomepage: https://github.com/Bodigrim/data-array-byte\r\nbug-reports: https://github.com/Bodigrim/data-array-byte/issues\r\nsynopsis: Compatibility layer for Data.Array.Byte\r\ndescription:\r\n Compatibility layer for [Data.Array.Byte](https://hackage.haskell.org/package/base/docs/Data-Array-Byte.html), providing boxed wrappers for @ByteArray#@ and @MutableByteArray#@ and relevant instances for GHC < 9.4. Include it into your Cabal file:\r\n .\r\n > build-depends: base\r\n > if impl(ghc < 9.4)\r\n > build-depends: data-array-byte\r\n .\r\n and then @import Data.Array.Byte@ unconditionally.\r\n\r\ncategory: Compatibility\r\nbuild-type: Simple\r\nextra-source-files:\r\n changelog.md\r\n README.md\r\n\r\nsource-repository head\r\n type: git\r\n location: https://github.com/Bodigrim/data-array-byte\r\n\r\nlibrary\r\n default-language: Haskell2010\r\n ghc-options: -Wall\r\n build-depends:\r\n base >=4.9 && <4.19,\r\n deepseq >=1.4 && <1.5,\r\n template-haskell >=2.11 && <2.21\r\n\r\n if impl(ghc <9.4)\r\n exposed-modules: Data.Array.Byte\r\n\r\ntest-suite data-array-byte-tests\r\n type: exitcode-stdio-1.0\r\n main-is: Main.hs\r\n hs-source-dirs: test\r\n default-language: Haskell2010\r\n ghc-options: -Wall\r\n build-depends:\r\n base,\r\n data-array-byte,\r\n quickcheck-classes-base >=0.6 && <0.7,\r\n tasty >=1.4 && <1.5,\r\n tasty-quickcheck >=0.10 && <0.11,\r\n template-haskell\r\n"; - } \ No newline at end of file diff --git a/materialized/ghc8107/hadrian-ghc96/hadrian/cabal-files/extra.nix b/materialized/ghc8107/hadrian-ghc96/hadrian/cabal-files/extra.nix deleted file mode 100644 index 450be82c4b..0000000000 --- a/materialized/ghc8107/hadrian-ghc96/hadrian/cabal-files/extra.nix +++ /dev/null @@ -1,58 +0,0 @@ -{ 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/ghc8107/hadrian-ghc96/hadrian/cabal-files/filepattern.nix b/materialized/ghc8107/hadrian-ghc96/hadrian/cabal-files/filepattern.nix deleted file mode 100644 index 13bbd09e88..0000000000 --- a/materialized/ghc8107/hadrian-ghc96/hadrian/cabal-files/filepattern.nix +++ /dev/null @@ -1,56 +0,0 @@ -{ 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/ghc8107/hadrian-ghc96/hadrian/cabal-files/hashable.nix b/materialized/ghc8107/hadrian-ghc96/hadrian/cabal-files/hashable.nix deleted file mode 100644 index 288fdf7407..0000000000 --- a/materialized/ghc8107/hadrian-ghc96/hadrian/cabal-files/hashable.nix +++ /dev/null @@ -1,82 +0,0 @@ -{ 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.2.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."; - 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.2.0.tar.gz"; - sha256 = "1b4000ea82b81f69d46d0af4152c10c6303873510738e24cfc4767760d30e3f8"; - }); - }) // { - package-description-override = "cabal-version: 1.12\nname: hashable\nversion: 1.4.2.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\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.5\n || ==9.4.4\n || ==9.6.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.19\n , bytestring >=0.10.8.2 && <0.12\n , containers >=0.5.10.2 && <0.7\n , deepseq >=1.4.3.0 && <1.5\n , filepath >=1.4.1.2 && <1.5\n , ghc-prim\n , text >=1.2.3.0 && <1.3 || >=2.0 && <2.1\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/ghc8107/hadrian-ghc96/hadrian/cabal-files/heaps.nix b/materialized/ghc8107/hadrian-ghc96/hadrian/cabal-files/heaps.nix deleted file mode 100644 index dc77aed1f4..0000000000 --- a/materialized/ghc8107/hadrian-ghc96/hadrian/cabal-files/heaps.nix +++ /dev/null @@ -1,38 +0,0 @@ -{ 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/ghc8107/hadrian-ghc96/hadrian/cabal-files/js-dgtable.nix b/materialized/ghc8107/hadrian-ghc96/hadrian/cabal-files/js-dgtable.nix deleted file mode 100644 index 0237404c41..0000000000 --- a/materialized/ghc8107/hadrian-ghc96/hadrian/cabal-files/js-dgtable.nix +++ /dev/null @@ -1,47 +0,0 @@ -{ 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/ghc8107/hadrian-ghc96/hadrian/cabal-files/js-flot.nix b/materialized/ghc8107/hadrian-ghc96/hadrian/cabal-files/js-flot.nix deleted file mode 100644 index ba292fc8b2..0000000000 --- a/materialized/ghc8107/hadrian-ghc96/hadrian/cabal-files/js-flot.nix +++ /dev/null @@ -1,47 +0,0 @@ -{ 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/ghc8107/hadrian-ghc96/hadrian/cabal-files/js-jquery.nix b/materialized/ghc8107/hadrian-ghc96/hadrian/cabal-files/js-jquery.nix deleted file mode 100644 index 9ecdc931ed..0000000000 --- a/materialized/ghc8107/hadrian-ghc96/hadrian/cabal-files/js-jquery.nix +++ /dev/null @@ -1,48 +0,0 @@ -{ 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/ghc8107/hadrian-ghc96/hadrian/cabal-files/primitive.nix b/materialized/ghc8107/hadrian-ghc96/hadrian/cabal-files/primitive.nix deleted file mode 100644 index bbc2dd58da..0000000000 --- a/materialized/ghc8107/hadrian-ghc96/hadrian/cabal-files/primitive.nix +++ /dev/null @@ -1,73 +0,0 @@ -{ system - , compiler - , flags - , pkgs - , hsPkgs - , pkgconfPkgs - , errorHandler - , config - , ... }: - ({ - flags = {}; - package = { - specVersion = "2.0"; - identifier = { name = "primitive"; version = "0.8.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.8.0.0.tar.gz"; - sha256 = "5553c21b4a789f9b591eed69e598cc58484c274af29250e517b5a8bcc62b995f"; - }); - }) // { - package-description-override = "Cabal-Version: 2.0\nName: primitive\nVersion: 0.8.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\n Build-Depends: base >= 4.9 && < 4.19\n , deepseq >= 1.1 && < 1.5\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/ghc8107/hadrian-ghc96/hadrian/cabal-files/random.nix b/materialized/ghc8107/hadrian-ghc96/hadrian/cabal-files/random.nix deleted file mode 100644 index c2f8f753b4..0000000000 --- a/materialized/ghc8107/hadrian-ghc96/hadrian/cabal-files/random.nix +++ /dev/null @@ -1,113 +0,0 @@ -{ 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\nname: random\nversion: 1.2.1.1\nlicense: BSD3\nlicense-file: LICENSE\nmaintainer: core-libraries-committee@haskell.org\nbug-reports: https://github.com/haskell/random/issues\nsynopsis: Pseudo-random number generation\ndescription:\n This package provides basic pseudo-random number generation, including the\n ability to split random number generators.\n .\n == \"System.Random\": pure pseudo-random number interface\n .\n In pure code, use 'System.Random.uniform' and 'System.Random.uniformR' from\n \"System.Random\" to generate pseudo-random numbers with a pure pseudo-random\n number generator like 'System.Random.StdGen'.\n .\n As 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 .\n See \"System.Random\" for more details.\n .\n == \"System.Random.Stateful\": monadic pseudo-random number interface\n .\n In monadic code, use 'System.Random.Stateful.uniformM' and\n 'System.Random.Stateful.uniformRM' from \"System.Random.Stateful\" to generate\n pseudo-random numbers with a monadic pseudo-random number generator, or\n using a monadic adapter.\n .\n As 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 .\n The monadic adapter 'System.Random.Stateful.runStateGen_' is used here to lift\n the pure pseudo-random number generator @pureGen@ into the\n 'System.Random.Stateful.StatefulGen' context.\n .\n The monadic interface can also be used with existing monadic pseudo-random\n number 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 .\n See \"System.Random.Stateful\" for more details.\n\ncategory: System\nbuild-type: Simple\nextra-source-files:\n README.md\n CHANGELOG.md\ntested-with: GHC == 7.10.2\n , GHC == 7.10.3\n , GHC == 8.0.2\n , GHC == 8.2.2\n , GHC == 8.4.3\n , GHC == 8.4.4\n , GHC == 8.6.3\n , GHC == 8.6.4\n , GHC == 8.6.5\n , GHC == 8.8.1\n , GHC == 8.8.2\n , GHC == 8.10.1\n\nsource-repository head\n type: git\n location: https://github.com/haskell/random.git\n\n\nlibrary\n exposed-modules:\n System.Random\n System.Random.Internal\n System.Random.Stateful\n other-modules:\n System.Random.GFinite\n\n hs-source-dirs: src\n default-language: Haskell2010\n ghc-options:\n -Wall\n if impl(ghc >= 8.0)\n ghc-options:\n -Wincomplete-record-updates -Wincomplete-uni-patterns\n\n build-depends:\n base >=4.8 && <5,\n bytestring >=0.10.4 && <0.12,\n deepseq >=1.1 && <2,\n mtl >=2.2 && <2.4,\n splitmix >=0.1 && <0.2\n if impl(ghc < 8.0)\n build-depends:\n transformers\n\ntest-suite legacy-test\n type: exitcode-stdio-1.0\n main-is: Legacy.hs\n hs-source-dirs: test-legacy\n other-modules:\n T7936\n TestRandomIOs\n TestRandomRs\n Random1283\n RangeTest\n\n default-language: Haskell2010\n ghc-options: -with-rtsopts=-M8M\n if impl(ghc >= 8.0)\n ghc-options:\n -Wno-deprecations\n build-depends:\n base,\n containers >=0.5 && <0.7,\n random\n\ntest-suite doctests\n type: exitcode-stdio-1.0\n main-is: doctests.hs\n hs-source-dirs: test\n default-language: Haskell2010\n build-depends:\n base,\n doctest >=0.15 && <0.21\n if impl(ghc >= 8.2) && impl(ghc < 8.10)\n build-depends:\n mwc-random >=0.13 && <0.16,\n primitive >=0.6 && <0.8,\n random,\n stm,\n unliftio >=0.2 && <0.3,\n vector >= 0.10 && <0.14\n\ntest-suite spec\n type: exitcode-stdio-1.0\n main-is: Spec.hs\n hs-source-dirs: test\n other-modules:\n Spec.Range\n Spec.Run\n Spec.Stateful\n\n default-language: Haskell2010\n ghc-options: -Wall\n build-depends:\n base,\n bytestring,\n random,\n smallcheck >=1.2 && <1.3,\n stm,\n tasty >=1.0 && <1.5,\n tasty-smallcheck >=0.8 && <0.9,\n tasty-hunit >=0.10 && <0.11,\n transformers\n\n-- Note. Fails when compiled with coverage:\n-- https://github.com/haskell/random/issues/107\ntest-suite spec-inspection\n type: exitcode-stdio-1.0\n main-is: Spec.hs\n hs-source-dirs: test-inspection\n build-depends:\n\n default-language: Haskell2010\n ghc-options: -Wall\n build-depends:\n base,\n random,\n tasty >=1.0 && <1.5\n if impl(ghc >= 8.0)\n build-depends:\n tasty-inspection-testing\n other-modules:\n Spec.Inspection\n\nbenchmark legacy-bench\n type: exitcode-stdio-1.0\n main-is: SimpleRNGBench.hs\n hs-source-dirs: bench-legacy\n other-modules: BinSearch\n default-language: Haskell2010\n ghc-options:\n -Wall -O2 -threaded -rtsopts -with-rtsopts=-N\n if impl(ghc >= 8.0)\n ghc-options:\n -Wno-deprecations\n\n build-depends:\n base,\n random,\n rdtsc,\n split >=0.2 && <0.3,\n time >=1.4 && <1.13\n\nbenchmark bench\n type: exitcode-stdio-1.0\n main-is: Main.hs\n hs-source-dirs: bench\n default-language: Haskell2010\n ghc-options: -Wall -O2\n build-depends:\n base,\n mtl,\n primitive >= 0.7.1,\n random,\n splitmix >=0.1 && <0.2,\n tasty-bench\n"; - } \ No newline at end of file diff --git a/materialized/ghc8107/hadrian-ghc96/hadrian/cabal-files/shake.nix b/materialized/ghc8107/hadrian-ghc96/hadrian/cabal-files/shake.nix deleted file mode 100644 index e7eb5c6647..0000000000 --- a/materialized/ghc8107/hadrian-ghc96/hadrian/cabal-files/shake.nix +++ /dev/null @@ -1,132 +0,0 @@ -{ 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/ghc8107/hadrian-ghc96/hadrian/cabal-files/splitmix.nix b/materialized/ghc8107/hadrian-ghc96/hadrian/cabal-files/splitmix.nix deleted file mode 100644 index 7918d356b1..0000000000 --- a/materialized/ghc8107/hadrian-ghc96/hadrian/cabal-files/splitmix.nix +++ /dev/null @@ -1,140 +0,0 @@ -{ system - , compiler - , flags - , pkgs - , hsPkgs - , pkgconfPkgs - , errorHandler - , config - , ... }: - ({ - flags = { optimised-mixer = false; }; - package = { - specVersion = "1.10"; - identifier = { name = "splitmix"; version = "0.1.0.4"; }; - 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."clock" or (errorHandler.buildDepError "clock")) - (hsPkgs."random" or (errorHandler.buildDepError "random")) - (hsPkgs."splitmix" or (errorHandler.buildDepError "splitmix")) - ]; - buildable = true; - }; - }; - }; - } // { - src = (pkgs.lib).mkDefault (pkgs.fetchurl { - url = "http://hackage.haskell.org/package/splitmix-0.1.0.4.tar.gz"; - sha256 = "6d065402394e7a9117093dbb4530a21342c9b1e2ec509516c8a8d0ffed98ecaa"; - }); - }) // { - package-description-override = "cabal-version: >=1.10\nname: splitmix\nversion: 0.1.0.4\nx-revision: 2\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.5\n || ==9.4.4\n || ==9.6.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.19\n , deepseq >=1.3.0.0 && <1.5\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.6\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 , clock >=0.8 && <0.9\n , random\n , splitmix\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.13\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.13\n , bytestring >=0.9.1.8 && <0.12\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.13\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.13\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/ghc8107/hadrian-ghc96/hadrian/cabal-files/unordered-containers.nix b/materialized/ghc8107/hadrian-ghc96/hadrian/cabal-files/unordered-containers.nix deleted file mode 100644 index ab6a9d8c44..0000000000 --- a/materialized/ghc8107/hadrian-ghc96/hadrian/cabal-files/unordered-containers.nix +++ /dev/null @@ -1,78 +0,0 @@ -{ 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\r\nversion: 0.2.19.1\r\nx-revision: 2\r\nsynopsis: Efficient hashing-based container types\r\ndescription:\r\n Efficient hashing-based container types. The containers have been\r\n optimized for performance critical use, both in terms of large data\r\n quantities and high speed.\r\n .\r\n The declared cost of each operation is either worst-case or\r\n amortized, but remains valid even if structures are shared.\r\n .\r\n /Security/\r\n .\r\n This package currently provides no defenses against hash collision attacks\r\n such as HashDoS.\r\n Users who need to store input from untrusted sources are advised to use\r\n @Data.Map@ or @Data.Set@ from the @containers@ package instead.\r\nlicense: BSD3\r\nlicense-file: LICENSE\r\nauthor: Johan Tibell\r\nmaintainer: simon.jakobi@gmail.com, David.Feuer@gmail.com\r\nHomepage: https://github.com/haskell-unordered-containers/unordered-containers\r\nbug-reports: https://github.com/haskell-unordered-containers/unordered-containers/issues\r\ncopyright: 2010-2014 Johan Tibell\r\n 2010 Edward Z. Yang\r\ncategory: Data\r\nbuild-type: Simple\r\ncabal-version: >=1.10\r\nextra-source-files: CHANGES.md\r\n\r\ntested-with:\r\n GHC ==9.6.1\r\n || ==9.4.4\r\n || ==9.2.7\r\n || ==9.0.2\r\n || ==8.10.7\r\n || ==8.8.4\r\n || ==8.6.5\r\n || ==8.4.4\r\n || ==8.2.2\r\n\r\nflag debug\r\n description: Enable debug support\r\n default: False\r\n\r\nlibrary\r\n exposed-modules:\r\n Data.HashMap.Internal\r\n Data.HashMap.Internal.Array\r\n Data.HashMap.Internal.List\r\n Data.HashMap.Internal.Strict\r\n Data.HashMap.Lazy\r\n Data.HashMap.Strict\r\n Data.HashSet\r\n Data.HashSet.Internal\r\n\r\n build-depends:\r\n base >= 4.10 && < 5,\r\n deepseq >= 1.4.3,\r\n hashable >= 1.2.5 && < 1.5,\r\n template-haskell < 2.21\r\n\r\n default-language: Haskell2010\r\n\r\n other-extensions:\r\n RoleAnnotations,\r\n UnboxedTuples,\r\n ScopedTypeVariables,\r\n MagicHash,\r\n BangPatterns\r\n\r\n ghc-options: -Wall -O2 -fwarn-tabs -ferror-spans\r\n\r\n -- For dumping the generated code:\r\n -- ghc-options: -ddump-simpl -ddump-stg-final -ddump-cmm -ddump-asm -ddump-to-file\r\n -- ghc-options: -dsuppress-coercions -dsuppress-unfoldings -dsuppress-module-prefixes\r\n -- ghc-options: -dsuppress-uniques -dsuppress-timestamps\r\n\r\n if flag(debug)\r\n cpp-options: -DASSERTS\r\n\r\ntest-suite unordered-containers-tests\r\n hs-source-dirs: tests\r\n main-is: Main.hs\r\n type: exitcode-stdio-1.0\r\n other-modules:\r\n Regressions\r\n Properties\r\n Properties.HashMapLazy\r\n Properties.HashMapStrict\r\n Properties.HashSet\r\n Properties.List\r\n Strictness\r\n\r\n build-depends:\r\n base,\r\n ChasingBottoms,\r\n containers >= 0.5.8,\r\n hashable,\r\n HUnit,\r\n QuickCheck >= 2.4.0.1,\r\n random,\r\n tasty >= 1.4.0.3,\r\n tasty-hunit >= 0.10.0.3,\r\n tasty-quickcheck >= 0.10.1.2,\r\n unordered-containers\r\n\r\n if impl(ghc >= 8.6)\r\n build-depends:\r\n nothunks >= 0.1.3\r\n\r\n default-language: Haskell2010\r\n ghc-options: -Wall\r\n cpp-options: -DASSERTS\r\n\r\nbenchmark benchmarks\r\n hs-source-dirs: benchmarks\r\n main-is: Benchmarks.hs\r\n type: exitcode-stdio-1.0\r\n\r\n other-modules:\r\n Util.ByteString\r\n Util.String\r\n Util.Int\r\n\r\n build-depends:\r\n base,\r\n bytestring >= 0.10.0.0,\r\n containers,\r\n deepseq,\r\n hashable,\r\n hashmap,\r\n mtl,\r\n random,\r\n tasty-bench >= 0.3.1,\r\n unordered-containers\r\n\r\n default-language: Haskell2010\r\n ghc-options: -Wall -O2 -rtsopts -with-rtsopts=-A32m\r\n if impl(ghc >= 8.10)\r\n ghc-options: \"-with-rtsopts=-A32m --nonmoving-gc\"\r\n -- cpp-options: -DBENCH_containers_Map -DBENCH_containers_IntMap -DBENCH_hashmap_Map\r\n\r\nsource-repository head\r\n type: git\r\n location: https://github.com/haskell-unordered-containers/unordered-containers.git\r\n"; - } \ No newline at end of file diff --git a/materialized/ghc8107/hadrian-ghc96/hadrian/cabal-files/utf8-string.nix b/materialized/ghc8107/hadrian-ghc96/hadrian/cabal-files/utf8-string.nix deleted file mode 100644 index ac9bde4057..0000000000 --- a/materialized/ghc8107/hadrian-ghc96/hadrian/cabal-files/utf8-string.nix +++ /dev/null @@ -1,51 +0,0 @@ -{ 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/ghc8107/hadrian-ghc96/hadrian/default.nix b/materialized/ghc8107/hadrian-ghc96/hadrian/default.nix deleted file mode 100644 index fc0b310b4e..0000000000 --- a/materialized/ghc8107/hadrian-ghc96/hadrian/default.nix +++ /dev/null @@ -1,145 +0,0 @@ -{ - pkgs = hackage: - { - packages = { - bytestring.revision = (((hackage.bytestring)."0.10.12.0").revisions).default; - directory.revision = (((hackage.directory)."1.3.6.0").revisions).default; - filepath.revision = (((hackage.filepath)."1.4.2.1").revisions).default; - mtl.revision = (((hackage.mtl)."2.2.2").revisions).default; - ghc-prim.revision = (((hackage.ghc-prim)."0.6.1").revisions).default; - parsec.revision = (((hackage.parsec)."3.1.14.0").revisions).default; - js-flot.revision = import ./cabal-files/js-flot.nix; - utf8-string.revision = import ./cabal-files/utf8-string.nix; - Cabal.revision = (((hackage.Cabal)."3.2.1.0").revisions).default; - splitmix.revision = import ./cabal-files/splitmix.nix; - splitmix.flags.optimised-mixer = false; - containers.revision = (((hackage.containers)."0.6.5.1").revisions).default; - clock.revision = import ./cabal-files/clock.nix; - clock.flags.llvm = false; - heaps.revision = import ./cabal-files/heaps.nix; - base.revision = (((hackage.base)."4.14.3.0").revisions).default; - time.revision = (((hackage.time)."1.9.3").revisions).default; - base-orphans.revision = import ./cabal-files/base-orphans.nix; - random.revision = import ./cabal-files/random.nix; - primitive.revision = import ./cabal-files/primitive.nix; - deepseq.revision = (((hackage.deepseq)."1.4.4.0").revisions).default; - js-jquery.revision = import ./cabal-files/js-jquery.nix; - js-dgtable.revision = import ./cabal-files/js-dgtable.nix; - rts.revision = (((hackage.rts)."1.0.1").revisions).default; - template-haskell.revision = (((hackage.template-haskell)."2.16.0.0").revisions).default; - binary.revision = (((hackage.binary)."0.8.8.0").revisions).default; - shake.revision = import ./cabal-files/shake.nix; - shake.flags.portable = false; - shake.flags.cloud = false; - shake.flags.embed-files = false; - integer-gmp.revision = (((hackage.integer-gmp)."1.0.3.0").revisions).default; - process.revision = (((hackage.process)."1.6.13.2").revisions).default; - unix.revision = (((hackage.unix)."2.7.2.2").revisions).default; - data-array-byte.revision = import ./cabal-files/data-array-byte.nix; - transformers.revision = (((hackage.transformers)."0.5.6.2").revisions).default; - unordered-containers.revision = import ./cabal-files/unordered-containers.nix; - unordered-containers.flags.debug = false; - QuickCheck.revision = import ./cabal-files/QuickCheck.nix; - QuickCheck.flags.old-random = false; - QuickCheck.flags.templatehaskell = true; - extra.revision = import ./cabal-files/extra.nix; - text.revision = (((hackage.text)."1.2.4.1").revisions).default; - array.revision = (((hackage.array)."0.5.4.0").revisions).default; - ghc-boot-th.revision = (((hackage.ghc-boot-th)."8.10.7").revisions).default; - filepattern.revision = import ./cabal-files/filepattern.nix; - 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; - }; - compiler = { - version = "8.10.7"; - nix-name = "ghc8107"; - packages = { - "pretty" = "1.1.3.6"; - "text" = "1.2.4.1"; - "array" = "0.5.4.0"; - "Cabal" = "3.2.1.0"; - "mtl" = "2.2.2"; - "parsec" = "3.1.14.0"; - "bytestring" = "0.10.12.0"; - "filepath" = "1.4.2.1"; - "ghc-prim" = "0.6.1"; - "ghc-boot-th" = "8.10.7"; - "base" = "4.14.3.0"; - "time" = "1.9.3"; - "process" = "1.6.13.2"; - "directory" = "1.3.6.0"; - "rts" = "1.0.1"; - "transformers" = "0.5.6.2"; - "template-haskell" = "2.16.0.0"; - "deepseq" = "1.4.4.0"; - "unix" = "2.7.2.2"; - "integer-gmp" = "1.0.3.0"; - "binary" = "0.8.8.0"; - "containers" = "0.6.5.1"; - }; - }; - }; - extras = hackage: - { packages = { hadrian = ./.plan.nix/hadrian.nix; }; }; - modules = [ - ({ lib, ... }: - { - packages = { - "hadrian" = { - flags = { - "threaded" = lib.mkOverride 900 true; - "selftest" = lib.mkOverride 900 true; - }; - }; - }; - }) - ({ lib, ... }: - { - packages = { - "shake".components.library.planned = lib.mkOverride 900 true; - "base-orphans".components.library.planned = lib.mkOverride 900 true; - "heaps".components.library.planned = lib.mkOverride 900 true; - "extra".components.library.planned = lib.mkOverride 900 true; - "filepath".components.library.planned = lib.mkOverride 900 true; - "pretty".components.library.planned = lib.mkOverride 900 true; - "utf8-string".components.library.planned = lib.mkOverride 900 true; - "Cabal".components.library.planned = lib.mkOverride 900 true; - "bytestring".components.library.planned = lib.mkOverride 900 true; - "ghc-prim".components.library.planned = lib.mkOverride 900 true; - "array".components.library.planned = lib.mkOverride 900 true; - "binary".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; - "splitmix".components.library.planned = lib.mkOverride 900 true; - "rts".components.library.planned = lib.mkOverride 900 true; - "unix".components.library.planned = lib.mkOverride 900 true; - "shake".components.exes."shake".planned = lib.mkOverride 900 true; - "directory".components.library.planned = lib.mkOverride 900 true; - "time".components.library.planned = lib.mkOverride 900 true; - "js-flot".components.library.planned = lib.mkOverride 900 true; - "data-array-byte".components.library.planned = lib.mkOverride 900 true; - "process".components.library.planned = lib.mkOverride 900 true; - "clock".components.library.planned = lib.mkOverride 900 true; - "template-haskell".components.library.planned = lib.mkOverride 900 true; - "hadrian".components.exes."hadrian".planned = lib.mkOverride 900 true; - "QuickCheck".components.library.planned = lib.mkOverride 900 true; - "mtl".components.library.planned = lib.mkOverride 900 true; - "transformers".components.library.planned = lib.mkOverride 900 true; - "parsec".components.library.planned = lib.mkOverride 900 true; - "deepseq".components.library.planned = lib.mkOverride 900 true; - "primitive".components.library.planned = lib.mkOverride 900 true; - "js-jquery".components.library.planned = lib.mkOverride 900 true; - "text".components.library.planned = lib.mkOverride 900 true; - "unordered-containers".components.library.planned = lib.mkOverride 900 true; - "random".components.library.planned = lib.mkOverride 900 true; - "base".components.library.planned = lib.mkOverride 900 true; - "integer-gmp".components.library.planned = lib.mkOverride 900 true; - "containers".components.library.planned = lib.mkOverride 900 true; - "js-dgtable".components.library.planned = lib.mkOverride 900 true; - "hashable".components.library.planned = lib.mkOverride 900 true; - }; - }) - ]; - } \ No newline at end of file diff --git a/materialized/ghc8107/hadrian-ghc98/hadrian/.plan.nix/hadrian.nix b/materialized/ghc8107/hadrian-ghc98/hadrian/.plan.nix/hadrian.nix deleted file mode 100644 index 9c366cea6d..0000000000 --- a/materialized/ghc8107/hadrian-ghc98/hadrian/.plan.nix/hadrian.nix +++ /dev/null @@ -1,165 +0,0 @@ -{ 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")) - (hsPkgs."cryptohash-sha256" or (errorHandler.buildDepError "cryptohash-sha256")) - (hsPkgs."base16-bytestring" or (errorHandler.buildDepError "base16-bytestring")) - ] ++ (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/Hash" - "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/ghc8107/hadrian-ghc98/hadrian/cabal-files/QuickCheck.nix b/materialized/ghc8107/hadrian-ghc98/hadrian/cabal-files/QuickCheck.nix deleted file mode 100644 index 31390ca93b..0000000000 --- a/materialized/ghc8107/hadrian-ghc98/hadrian/cabal-files/QuickCheck.nix +++ /dev/null @@ -1,119 +0,0 @@ -{ 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/ghc8107/hadrian-ghc98/hadrian/cabal-files/base-orphans.nix b/materialized/ghc8107/hadrian-ghc98/hadrian/cabal-files/base-orphans.nix deleted file mode 100644 index 3e0d637748..0000000000 --- a/materialized/ghc8107/hadrian-ghc98/hadrian/cabal-files/base-orphans.nix +++ /dev/null @@ -1,55 +0,0 @@ -{ system - , compiler - , flags - , pkgs - , hsPkgs - , pkgconfPkgs - , errorHandler - , config - , ... }: - ({ - flags = {}; - package = { - specVersion = "1.12"; - identifier = { name = "base-orphans"; version = "0.9.0"; }; - license = "MIT"; - copyright = "(c) 2012-2017 Simon Hengel,\n(c) 2014-2017 João Cristóvão,\n(c) 2015-2017 Ryan Scott"; - maintainer = "Simon Hengel ,\nJoão Cristóvão ,\nRyan Scott "; - author = "Simon Hengel ,\nJoão Cristóvão ,\nRyan Scott "; - homepage = "https://github.com/haskell-compat/base-orphans#readme"; - url = ""; - synopsis = "Backwards-compatible orphan instances for base"; - description = "@base-orphans@ defines orphan instances that mimic instances available in\nlater versions of @base@ to a wider (older) range of compilers.\n@base-orphans@ does not export anything except the orphan instances\nthemselves and complements @@.\n\nSee the README for what instances are covered:\n.\nSee also the\n\nsection."; - buildType = "Simple"; - }; - components = { - "library" = { - depends = [ - (hsPkgs."base" or (errorHandler.buildDepError "base")) - (hsPkgs."ghc-prim" or (errorHandler.buildDepError "ghc-prim")) - ]; - buildable = true; - }; - tests = { - "spec" = { - depends = [ - (hsPkgs."QuickCheck" or (errorHandler.buildDepError "QuickCheck")) - (hsPkgs."base" or (errorHandler.buildDepError "base")) - (hsPkgs."base-orphans" or (errorHandler.buildDepError "base-orphans")) - (hsPkgs."hspec" or (errorHandler.buildDepError "hspec")) - ]; - build-tools = [ - (hsPkgs.pkgsBuildBuild.hspec-discover.components.exes.hspec-discover or (pkgs.pkgsBuildBuild.hspec-discover or (errorHandler.buildToolDepError "hspec-discover:hspec-discover"))) - ]; - buildable = true; - }; - }; - }; - } // { - src = (pkgs.lib).mkDefault (pkgs.fetchurl { - url = "http://hackage.haskell.org/package/base-orphans-0.9.0.tar.gz"; - sha256 = "613ed4d8241ed5a648a59ae6569a6962990bb545711d020d49fb83fa12d16e62"; - }); - }) // { - package-description-override = "cabal-version: 1.12\n\n-- This file has been generated from package.yaml by hpack version 0.35.2.\n--\n-- see: https://github.com/sol/hpack\n--\n-- hash: 7aa19d6f2d3a7409ee405d67a21b8edb902103b703a6f241f2b5e8e219f70a87\n\nname: base-orphans\nversion: 0.9.0\nsynopsis: Backwards-compatible orphan instances for base\ndescription: @base-orphans@ defines orphan instances that mimic instances available in\n later versions of @base@ to a wider (older) range of compilers.\n @base-orphans@ does not export anything except the orphan instances\n themselves and complements @@.\n .\n See the README for what instances are covered:\n .\n See also the\n \n section.\ncategory: Compatibility\nhomepage: https://github.com/haskell-compat/base-orphans#readme\nbug-reports: https://github.com/haskell-compat/base-orphans/issues\nauthor: Simon Hengel ,\n João Cristóvão ,\n Ryan Scott \nmaintainer: Simon Hengel ,\n João Cristóvão ,\n Ryan Scott \ncopyright: (c) 2012-2017 Simon Hengel,\n (c) 2014-2017 João Cristóvão,\n (c) 2015-2017 Ryan Scott\nlicense: MIT\nlicense-file: LICENSE\nbuild-type: Simple\ntested-with:\n GHC == 7.0.4 , GHC == 7.2.2 , GHC == 7.4.2 , GHC == 7.6.3 , GHC == 7.8.4 , GHC == 7.10.3 , GHC == 8.0.2 , GHC == 8.2.2 , GHC == 8.4.4 , GHC == 8.6.5 , GHC == 8.8.4 , GHC == 8.10.7 , GHC == 9.0.2 , GHC == 9.2.7 , GHC == 9.4.4 , GHC == 9.6.1\nextra-source-files:\n CHANGES.markdown\n README.markdown\n\nsource-repository head\n type: git\n location: https://github.com/haskell-compat/base-orphans\n\nlibrary\n hs-source-dirs:\n src\n ghc-options: -Wall\n build-depends:\n base >=4.3 && <5\n , ghc-prim\n exposed-modules:\n Data.Orphans\n other-modules:\n Data.Orphans.Prelude\n default-language: Haskell2010\n\ntest-suite spec\n type: exitcode-stdio-1.0\n main-is: Spec.hs\n hs-source-dirs:\n test\n ghc-options: -Wall\n build-depends:\n QuickCheck\n , base >=4.3 && <5\n , base-orphans\n , hspec ==2.*\n build-tool-depends: hspec-discover:hspec-discover == 2.*\n other-modules:\n Control.Applicative.OrphansSpec\n Control.Exception.OrphansSpec\n Data.Bits.OrphansSpec\n Data.Foldable.OrphansSpec\n Data.Monoid.OrphansSpec\n Data.Traversable.OrphansSpec\n Data.Version.OrphansSpec\n Foreign.Storable.OrphansSpec\n GHC.Fingerprint.OrphansSpec\n System.Posix.Types.IntWord\n System.Posix.Types.OrphansSpec\n Paths_base_orphans\n default-language: Haskell2010\n"; - } \ No newline at end of file diff --git a/materialized/ghc8107/hadrian-ghc98/hadrian/cabal-files/base16-bytestring.nix b/materialized/ghc8107/hadrian-ghc98/hadrian/cabal-files/base16-bytestring.nix deleted file mode 100644 index 31d3b31c55..0000000000 --- a/materialized/ghc8107/hadrian-ghc98/hadrian/cabal-files/base16-bytestring.nix +++ /dev/null @@ -1,68 +0,0 @@ -{ system - , compiler - , flags - , pkgs - , hsPkgs - , pkgconfPkgs - , errorHandler - , config - , ... }: - ({ - flags = {}; - package = { - specVersion = "1.12"; - identifier = { name = "base16-bytestring"; version = "1.0.2.0"; }; - license = "BSD-3-Clause"; - copyright = "Copyright 2011 MailRank, Inc.;\nCopyright 2010-2020 Bryan O'Sullivan et al."; - maintainer = "Herbert Valerio Riedel ,\nMikhail Glushenkov ,\nEmily Pillmore "; - author = "Bryan O'Sullivan "; - homepage = "http://github.com/haskell/base16-bytestring"; - url = ""; - synopsis = "RFC 4648-compliant Base16 encodings for ByteStrings"; - description = "This package provides support for encoding and decoding binary data according\nto @base16@ (see also ) for\nstrict (see \"Data.ByteString.Base16\") and lazy @ByteString@s (see \"Data.ByteString.Base16.Lazy\").\n\nSee the package which provides superior encoding and decoding performance as well as support for lazy, short, and strict variants of 'Text' and 'ByteString' values. Additionally, see the package which\nprovides an uniform API providing conversion paths between more binary and textual types."; - buildType = "Simple"; - }; - components = { - "library" = { - depends = [ - (hsPkgs."base" or (errorHandler.buildDepError "base")) - (hsPkgs."bytestring" or (errorHandler.buildDepError "bytestring")) - ]; - buildable = true; - }; - tests = { - "test" = { - depends = [ - (hsPkgs."base" or (errorHandler.buildDepError "base")) - (hsPkgs."base16-bytestring" or (errorHandler.buildDepError "base16-bytestring")) - (hsPkgs."bytestring" or (errorHandler.buildDepError "bytestring")) - (hsPkgs."HUnit" or (errorHandler.buildDepError "HUnit")) - (hsPkgs."QuickCheck" or (errorHandler.buildDepError "QuickCheck")) - (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")) - ]; - buildable = true; - }; - }; - benchmarks = { - "bench" = { - depends = [ - (hsPkgs."base" or (errorHandler.buildDepError "base")) - (hsPkgs."base16-bytestring" or (errorHandler.buildDepError "base16-bytestring")) - (hsPkgs."bytestring" or (errorHandler.buildDepError "bytestring")) - (hsPkgs."criterion" or (errorHandler.buildDepError "criterion")) - (hsPkgs."deepseq" or (errorHandler.buildDepError "deepseq")) - ]; - buildable = true; - }; - }; - }; - } // { - src = (pkgs.lib).mkDefault (pkgs.fetchurl { - url = "http://hackage.haskell.org/package/base16-bytestring-1.0.2.0.tar.gz"; - sha256 = "1d5a91143ef0e22157536093ec8e59d226a68220ec89378d5dcaeea86472c784"; - }); - }) // { - package-description-override = "cabal-version: 1.12\nname: base16-bytestring\nversion: 1.0.2.0\nsynopsis: RFC 4648-compliant Base16 encodings for ByteStrings\ndescription:\n This package provides support for encoding and decoding binary data according\n to @base16@ (see also ) for\n strict (see \"Data.ByteString.Base16\") and lazy @ByteString@s (see \"Data.ByteString.Base16.Lazy\").\n .\n See the package which provides superior encoding and decoding performance as well as support for lazy, short, and strict variants of 'Text' and 'ByteString' values. Additionally, see the package which\n provides an uniform API providing conversion paths between more binary and textual types.\n\nhomepage: http://github.com/haskell/base16-bytestring\nbug-reports: http://github.com/haskell/base16-bytestring/issues\nlicense: BSD3\nlicense-file: LICENSE\ncopyright:\n Copyright 2011 MailRank, Inc.;\n Copyright 2010-2020 Bryan O'Sullivan et al.\n\nauthor: Bryan O'Sullivan \nmaintainer:\n Herbert Valerio Riedel ,\n Mikhail Glushenkov ,\n Emily Pillmore \n\ncategory: Data\nbuild-type: Simple\nextra-source-files:\n README.md\n CHANGELOG.md\n\ntested-with:\n GHC ==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.1\n\nsource-repository head\n type: git\n location: http://github.com/haskell/base16-bytestring\n\nlibrary\n other-modules: Data.ByteString.Base16.Internal\n exposed-modules:\n Data.ByteString.Base16\n Data.ByteString.Base16.Lazy\n\n build-depends:\n base >=4.9 && <5\n , bytestring >=0.9 && <0.12\n\n ghc-options: -Wall -funbox-strict-fields\n default-language: Haskell2010\n\ntest-suite test\n type: exitcode-stdio-1.0\n hs-source-dirs: tests\n main-is: Tests.hs\n build-depends:\n base\n , base16-bytestring\n , bytestring\n , HUnit\n , QuickCheck\n , test-framework\n , test-framework-hunit\n , test-framework-quickcheck2\n\n default-language: Haskell2010\n\nbenchmark bench\n type: exitcode-stdio-1.0\n hs-source-dirs: benchmarks\n main-is: Benchmarks.hs\n build-depends:\n base >=4 && <5\n , base16-bytestring\n , bytestring\n , criterion\n , deepseq\n\n default-language: Haskell2010\n"; - } \ No newline at end of file diff --git a/materialized/ghc8107/hadrian-ghc98/hadrian/cabal-files/clock.nix b/materialized/ghc8107/hadrian-ghc98/hadrian/cabal-files/clock.nix deleted file mode 100644 index de66c1339a..0000000000 --- a/materialized/ghc8107/hadrian-ghc98/hadrian/cabal-files/clock.nix +++ /dev/null @@ -1,59 +0,0 @@ -{ system - , compiler - , flags - , pkgs - , hsPkgs - , pkgconfPkgs - , errorHandler - , config - , ... }: - ({ - flags = { llvm = false; }; - package = { - specVersion = "1.10"; - identifier = { name = "clock"; version = "0.8.3"; }; - license = "BSD-3-Clause"; - copyright = "Copyright © Cetin Sert 2009-2016, 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 , Corsis Research"; - author = "Cetin Sert , Corsis Research"; - 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.3.tar.gz"; - sha256 = "845ce5db4c98cefd517323e005f87effceff886987305e421c4ef616dc0505d1"; - }); - }) // { - package-description-override = "cabal-version: >= 1.10\nname: clock\nversion: 0.8.3\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-2016, 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 , Corsis Research\nmaintainer: Cetin Sert , Corsis Research\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.2.1\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: git://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/ghc8107/hadrian-ghc98/hadrian/cabal-files/cryptohash-sha256.nix b/materialized/ghc8107/hadrian-ghc98/hadrian/cabal-files/cryptohash-sha256.nix deleted file mode 100644 index 5d4a3157f0..0000000000 --- a/materialized/ghc8107/hadrian-ghc98/hadrian/cabal-files/cryptohash-sha256.nix +++ /dev/null @@ -1,84 +0,0 @@ -{ system - , compiler - , flags - , pkgs - , hsPkgs - , pkgconfPkgs - , errorHandler - , config - , ... }: - ({ - flags = { exe = false; use-cbits = true; }; - package = { - specVersion = "2.0"; - identifier = { name = "cryptohash-sha256"; version = "0.11.102.1"; }; - license = "BSD-3-Clause"; - copyright = "Vincent Hanquez, Herbert Valerio Riedel"; - maintainer = "Herbert Valerio Riedel "; - author = ""; - homepage = "https://github.com/hvr/cryptohash-sha256"; - url = ""; - synopsis = "Fast, pure and practical SHA-256 implementation"; - description = "A practical incremental and one-pass, pure API to\nthe [SHA-256 cryptographic hash algorithm](https://en.wikipedia.org/wiki/SHA-2) according\nto [FIPS 180-4](http://dx.doi.org/10.6028/NIST.FIPS.180-4)\nwith performance close to the fastest implementations available in other languages.\n\nThe core SHA-256 algorithm is implemented in C and is thus expected\nto be as fast as the standard [sha256sum(1) tool](https://linux.die.net/man/1/sha256sum);\nfor instance, on an /Intel Core i7-3770/ at 3.40GHz this implementation can\ncompute a SHA-256 hash over 230 MiB of data in under one second.\n(If, instead, you require a pure Haskell implementation and performance is secondary, please refer to the [SHA package](https://hackage.haskell.org/package/SHA).)\n\n\nAdditionally, this package provides support for\n\n- HMAC-SHA-256: SHA-256-based [Hashed Message Authentication Codes](https://en.wikipedia.org/wiki/HMAC) (HMAC)\n- HKDF-SHA-256: [HMAC-SHA-256-based Key Derivation Function](https://en.wikipedia.org/wiki/HKDF) (HKDF)\n\nconforming to [RFC6234](https://tools.ietf.org/html/rfc6234), [RFC4231](https://tools.ietf.org/html/rfc4231), [RFC5869](https://tools.ietf.org/html/rfc5869), et al..\n\n=== Relationship to the @cryptohash@ package and its API\n\nThis package has been originally a fork of @cryptohash-0.11.7@ because the @cryptohash@\npackage had been deprecated and so this package continues to satisfy the need for a\nlightweight package providing the SHA-256 hash algorithm without any dependencies on packages\nother than @base@ and @bytestring@. The API exposed by @cryptohash-sha256-0.11.*@'s\n\"Crypto.Hash.SHA256\" module is guaranteed to remain a compatible superset of the API provided\nby the @cryptohash-0.11.7@'s module of the same name.\n\nConsequently, this package is designed to be used as a drop-in replacement for @cryptohash-0.11.7@'s\n\"Crypto.Hash.SHA256\" module, though with\na [clearly smaller footprint by almost 3 orders of magnitude](https://www.reddit.com/r/haskell/comments/5lxv75/psa_please_use_unique_module_names_when_uploading/dbzegx3/)."; - buildType = "Simple"; - }; - components = { - "library" = { - depends = [ - (hsPkgs."base" or (errorHandler.buildDepError "base")) - ] ++ (if flags.use-cbits - then [ - (hsPkgs."bytestring" or (errorHandler.buildDepError "bytestring")) - ] - else [ - (hsPkgs."cryptohash-sha256-pure" or (errorHandler.buildDepError "cryptohash-sha256-pure")) - ]); - buildable = true; - }; - exes = { - "sha256sum" = { - depends = (pkgs.lib).optionals (flags.exe) [ - (hsPkgs."cryptohash-sha256" or (errorHandler.buildDepError "cryptohash-sha256")) - (hsPkgs."base" or (errorHandler.buildDepError "base")) - (hsPkgs."bytestring" or (errorHandler.buildDepError "bytestring")) - (hsPkgs."base16-bytestring" or (errorHandler.buildDepError "base16-bytestring")) - ]; - buildable = if flags.exe then true else false; - }; - }; - tests = { - "test-sha256" = { - depends = [ - (hsPkgs."cryptohash-sha256" or (errorHandler.buildDepError "cryptohash-sha256")) - (hsPkgs."base" or (errorHandler.buildDepError "base")) - (hsPkgs."bytestring" or (errorHandler.buildDepError "bytestring")) - (hsPkgs."base16-bytestring" or (errorHandler.buildDepError "base16-bytestring")) - (hsPkgs."SHA" or (errorHandler.buildDepError "SHA")) - (hsPkgs."tasty" or (errorHandler.buildDepError "tasty")) - (hsPkgs."tasty-quickcheck" or (errorHandler.buildDepError "tasty-quickcheck")) - (hsPkgs."tasty-hunit" or (errorHandler.buildDepError "tasty-hunit")) - ]; - buildable = true; - }; - }; - benchmarks = { - "bench-sha256" = { - depends = [ - (hsPkgs."cryptohash-sha256" or (errorHandler.buildDepError "cryptohash-sha256")) - (hsPkgs."SHA" or (errorHandler.buildDepError "SHA")) - (hsPkgs."base" or (errorHandler.buildDepError "base")) - (hsPkgs."bytestring" or (errorHandler.buildDepError "bytestring")) - (hsPkgs."criterion" or (errorHandler.buildDepError "criterion")) - ]; - buildable = true; - }; - }; - }; - } // { - src = (pkgs.lib).mkDefault (pkgs.fetchurl { - url = "http://hackage.haskell.org/package/cryptohash-sha256-0.11.102.1.tar.gz"; - sha256 = "73a7dc7163871a80837495039a099967b11f5c4fe70a118277842f7a713c6bf6"; - }); - }) // { - package-description-override = "cabal-version: 2.0\nname: cryptohash-sha256\nversion: 0.11.102.1\nx-revision: 2\n\nsynopsis: Fast, pure and practical SHA-256 implementation\ndescription: {\n\nA practical incremental and one-pass, pure API to\nthe [SHA-256 cryptographic hash algorithm](https://en.wikipedia.org/wiki/SHA-2) according\nto [FIPS 180-4](http://dx.doi.org/10.6028/NIST.FIPS.180-4)\nwith performance close to the fastest implementations available in other languages.\n.\nThe core SHA-256 algorithm is implemented in C and is thus expected\nto be as fast as the standard [sha256sum(1) tool](https://linux.die.net/man/1/sha256sum);\nfor instance, on an /Intel Core i7-3770/ at 3.40GHz this implementation can\ncompute a SHA-256 hash over 230 MiB of data in under one second.\n(If, instead, you require a pure Haskell implementation and performance is secondary, please refer to the [SHA package](https://hackage.haskell.org/package/SHA).)\n.\n\n.\nAdditionally, this package provides support for\n.\n- HMAC-SHA-256: SHA-256-based [Hashed Message Authentication Codes](https://en.wikipedia.org/wiki/HMAC) (HMAC)\n- HKDF-SHA-256: [HMAC-SHA-256-based Key Derivation Function](https://en.wikipedia.org/wiki/HKDF) (HKDF)\n.\nconforming to [RFC6234](https://tools.ietf.org/html/rfc6234), [RFC4231](https://tools.ietf.org/html/rfc4231), [RFC5869](https://tools.ietf.org/html/rfc5869), et al..\n.\n=== Relationship to the @cryptohash@ package and its API\n.\nThis package has been originally a fork of @cryptohash-0.11.7@ because the @cryptohash@\npackage had been deprecated and so this package continues to satisfy the need for a\nlightweight package providing the SHA-256 hash algorithm without any dependencies on packages\nother than @base@ and @bytestring@. The API exposed by @cryptohash-sha256-0.11.*@'s\n\"Crypto.Hash.SHA256\" module is guaranteed to remain a compatible superset of the API provided\nby the @cryptohash-0.11.7@'s module of the same name.\n.\nConsequently, this package is designed to be used as a drop-in replacement for @cryptohash-0.11.7@'s\n\"Crypto.Hash.SHA256\" module, though with\na [clearly smaller footprint by almost 3 orders of magnitude](https://www.reddit.com/r/haskell/comments/5lxv75/psa_please_use_unique_module_names_when_uploading/dbzegx3/).\n\n}\n\nlicense: BSD3\nlicense-file: LICENSE\ncopyright: Vincent Hanquez, Herbert Valerio Riedel\nmaintainer: Herbert Valerio Riedel \nhomepage: https://github.com/hvr/cryptohash-sha256\nbug-reports: https://github.com/hvr/cryptohash-sha256/issues\ncategory: Data, Cryptography\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 GHC == 7.6.3\n GHC == 7.4.2\n\nextra-source-files: cbits/hs_sha256.h\n changelog.md\n\nsource-repository head\n type: git\n location: https://github.com/hvr/cryptohash-sha256.git\n\nflag exe\n description: Enable building @sha256sum@ executable\n manual: True\n default: False\n\nflag use-cbits\n description: Use fast optimized C routines via FFI; if flag is disabled falls back to non-FFI Haskell optimized implementation.\n manual: True\n default: True\n\nlibrary\n default-language: Haskell2010\n\n ghc-options: -Wall\n\n build-depends: base >= 4.5 && < 4.19\n\n exposed-modules: Crypto.Hash.SHA256\n\n if flag(use-cbits)\n build-depends: bytestring ^>= 0.9.2 || ^>= 0.10.0 || ^>= 0.11.0\n\n other-extensions: BangPatterns\n CApiFFI\n CPP\n Trustworthy\n Unsafe\n\n hs-source-dirs: src\n other-modules: Crypto.Hash.SHA256.FFI\n Compat\n include-dirs: cbits\n else\n hs-source-dirs: src-pure\n build-depends: cryptohash-sha256-pure ^>= 0.1.0\n\nexecutable sha256sum\n default-language: Haskell2010\n hs-source-dirs: src-exe\n main-is: sha256sum.hs\n ghc-options: -Wall -threaded\n if flag(exe)\n other-extensions: RecordWildCards\n build-depends: cryptohash-sha256\n , base\n , bytestring\n\n , base16-bytestring ^>= 0.1.1 || ^>= 1.0.0\n else\n buildable: False\n\ntest-suite test-sha256\n default-language: Haskell2010\n other-extensions: OverloadedStrings\n type: exitcode-stdio-1.0\n hs-source-dirs: src-tests\n main-is: test-sha256.hs\n ghc-options: -Wall -threaded\n build-depends: cryptohash-sha256\n , base\n , bytestring\n\n , base16-bytestring ^>= 0.1.1 || ^>= 1.0.0\n , SHA ^>= 1.6.4\n , tasty ^>= 1.4\n , tasty-quickcheck ^>= 0.10\n , tasty-hunit ^>= 0.10\n\nbenchmark bench-sha256\n default-language: Haskell2010\n other-extensions: BangPatterns\n type: exitcode-stdio-1.0\n main-is: bench-sha256.hs\n hs-source-dirs: src-bench\n build-depends: cryptohash-sha256\n , SHA ^>= 1.6.4\n , base\n , bytestring\n , criterion ^>= 1.5 || ^>=1.6\n\n -- not yet public\n -- build-depends: cryptohash-sha256-pure ^>= 0.1.0\n"; - } \ No newline at end of file diff --git a/materialized/ghc8107/hadrian-ghc98/hadrian/cabal-files/data-array-byte.nix b/materialized/ghc8107/hadrian-ghc98/hadrian/cabal-files/data-array-byte.nix deleted file mode 100644 index c0d9745691..0000000000 --- a/materialized/ghc8107/hadrian-ghc98/hadrian/cabal-files/data-array-byte.nix +++ /dev/null @@ -1,55 +0,0 @@ -{ system - , compiler - , flags - , pkgs - , hsPkgs - , pkgconfPkgs - , errorHandler - , config - , ... }: - ({ - flags = {}; - package = { - specVersion = "1.10"; - identifier = { name = "data-array-byte"; version = "0.1.0.1"; }; - license = "BSD-3-Clause"; - copyright = "(c) Roman Leshchinskiy 2009-2012"; - maintainer = "andrew.lelechenko@gmail.com"; - author = "Roman Leshchinskiy "; - homepage = "https://github.com/Bodigrim/data-array-byte"; - url = ""; - synopsis = "Compatibility layer for Data.Array.Byte"; - description = "Compatibility layer for [Data.Array.Byte](https://hackage.haskell.org/package/base/docs/Data-Array-Byte.html), providing boxed wrappers for @ByteArray#@ and @MutableByteArray#@ and relevant instances for GHC < 9.4. Include it into your Cabal file:\n\n> build-depends: base\n> if impl(ghc < 9.4)\n> build-depends: data-array-byte\n\nand then @import Data.Array.Byte@ unconditionally."; - buildType = "Simple"; - }; - components = { - "library" = { - depends = [ - (hsPkgs."base" or (errorHandler.buildDepError "base")) - (hsPkgs."deepseq" or (errorHandler.buildDepError "deepseq")) - (hsPkgs."template-haskell" or (errorHandler.buildDepError "template-haskell")) - ]; - buildable = true; - }; - tests = { - "data-array-byte-tests" = { - depends = [ - (hsPkgs."base" or (errorHandler.buildDepError "base")) - (hsPkgs."data-array-byte" or (errorHandler.buildDepError "data-array-byte")) - (hsPkgs."quickcheck-classes-base" or (errorHandler.buildDepError "quickcheck-classes-base")) - (hsPkgs."tasty" or (errorHandler.buildDepError "tasty")) - (hsPkgs."tasty-quickcheck" or (errorHandler.buildDepError "tasty-quickcheck")) - (hsPkgs."template-haskell" or (errorHandler.buildDepError "template-haskell")) - ]; - buildable = true; - }; - }; - }; - } // { - src = (pkgs.lib).mkDefault (pkgs.fetchurl { - url = "http://hackage.haskell.org/package/data-array-byte-0.1.0.1.tar.gz"; - sha256 = "1bb6eca0b3e02d057fe7f4e14c81ef395216f421ab30fdaa1b18017c9c025600"; - }); - }) // { - package-description-override = "cabal-version: >=1.10\r\nname: data-array-byte\r\nversion: 0.1.0.1\r\nx-revision: 1\r\nlicense: BSD3\r\nlicense-file: LICENSE\r\ncopyright: (c) Roman Leshchinskiy 2009-2012\r\nmaintainer: andrew.lelechenko@gmail.com\r\nauthor: Roman Leshchinskiy \r\ntested-with:\r\n ghc ==8.0.2 ghc ==8.2.2 ghc ==8.4.4 ghc ==8.6.5 ghc ==8.8.4\r\n ghc ==8.10.7 ghc ==9.0.2 ghc ==9.2.4 ghc ==9.4.2\r\n\r\nhomepage: https://github.com/Bodigrim/data-array-byte\r\nbug-reports: https://github.com/Bodigrim/data-array-byte/issues\r\nsynopsis: Compatibility layer for Data.Array.Byte\r\ndescription:\r\n Compatibility layer for [Data.Array.Byte](https://hackage.haskell.org/package/base/docs/Data-Array-Byte.html), providing boxed wrappers for @ByteArray#@ and @MutableByteArray#@ and relevant instances for GHC < 9.4. Include it into your Cabal file:\r\n .\r\n > build-depends: base\r\n > if impl(ghc < 9.4)\r\n > build-depends: data-array-byte\r\n .\r\n and then @import Data.Array.Byte@ unconditionally.\r\n\r\ncategory: Compatibility\r\nbuild-type: Simple\r\nextra-source-files:\r\n changelog.md\r\n README.md\r\n\r\nsource-repository head\r\n type: git\r\n location: https://github.com/Bodigrim/data-array-byte\r\n\r\nlibrary\r\n default-language: Haskell2010\r\n ghc-options: -Wall\r\n build-depends:\r\n base >=4.9 && <4.19,\r\n deepseq >=1.4 && <1.5,\r\n template-haskell >=2.11 && <2.21\r\n\r\n if impl(ghc <9.4)\r\n exposed-modules: Data.Array.Byte\r\n\r\ntest-suite data-array-byte-tests\r\n type: exitcode-stdio-1.0\r\n main-is: Main.hs\r\n hs-source-dirs: test\r\n default-language: Haskell2010\r\n ghc-options: -Wall\r\n build-depends:\r\n base,\r\n data-array-byte,\r\n quickcheck-classes-base >=0.6 && <0.7,\r\n tasty >=1.4 && <1.5,\r\n tasty-quickcheck >=0.10 && <0.11,\r\n template-haskell\r\n"; - } \ No newline at end of file diff --git a/materialized/ghc8107/hadrian-ghc98/hadrian/cabal-files/extra.nix b/materialized/ghc8107/hadrian-ghc98/hadrian/cabal-files/extra.nix deleted file mode 100644 index 450be82c4b..0000000000 --- a/materialized/ghc8107/hadrian-ghc98/hadrian/cabal-files/extra.nix +++ /dev/null @@ -1,58 +0,0 @@ -{ 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/ghc8107/hadrian-ghc98/hadrian/cabal-files/filepattern.nix b/materialized/ghc8107/hadrian-ghc98/hadrian/cabal-files/filepattern.nix deleted file mode 100644 index 13bbd09e88..0000000000 --- a/materialized/ghc8107/hadrian-ghc98/hadrian/cabal-files/filepattern.nix +++ /dev/null @@ -1,56 +0,0 @@ -{ 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/ghc8107/hadrian-ghc98/hadrian/cabal-files/hashable.nix b/materialized/ghc8107/hadrian-ghc98/hadrian/cabal-files/hashable.nix deleted file mode 100644 index 288fdf7407..0000000000 --- a/materialized/ghc8107/hadrian-ghc98/hadrian/cabal-files/hashable.nix +++ /dev/null @@ -1,82 +0,0 @@ -{ 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.2.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."; - 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.2.0.tar.gz"; - sha256 = "1b4000ea82b81f69d46d0af4152c10c6303873510738e24cfc4767760d30e3f8"; - }); - }) // { - package-description-override = "cabal-version: 1.12\nname: hashable\nversion: 1.4.2.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\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.5\n || ==9.4.4\n || ==9.6.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.19\n , bytestring >=0.10.8.2 && <0.12\n , containers >=0.5.10.2 && <0.7\n , deepseq >=1.4.3.0 && <1.5\n , filepath >=1.4.1.2 && <1.5\n , ghc-prim\n , text >=1.2.3.0 && <1.3 || >=2.0 && <2.1\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/ghc8107/hadrian-ghc98/hadrian/cabal-files/heaps.nix b/materialized/ghc8107/hadrian-ghc98/hadrian/cabal-files/heaps.nix deleted file mode 100644 index dc77aed1f4..0000000000 --- a/materialized/ghc8107/hadrian-ghc98/hadrian/cabal-files/heaps.nix +++ /dev/null @@ -1,38 +0,0 @@ -{ 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/ghc8107/hadrian-ghc98/hadrian/cabal-files/js-dgtable.nix b/materialized/ghc8107/hadrian-ghc98/hadrian/cabal-files/js-dgtable.nix deleted file mode 100644 index 0237404c41..0000000000 --- a/materialized/ghc8107/hadrian-ghc98/hadrian/cabal-files/js-dgtable.nix +++ /dev/null @@ -1,47 +0,0 @@ -{ 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/ghc8107/hadrian-ghc98/hadrian/cabal-files/js-flot.nix b/materialized/ghc8107/hadrian-ghc98/hadrian/cabal-files/js-flot.nix deleted file mode 100644 index ba292fc8b2..0000000000 --- a/materialized/ghc8107/hadrian-ghc98/hadrian/cabal-files/js-flot.nix +++ /dev/null @@ -1,47 +0,0 @@ -{ 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/ghc8107/hadrian-ghc98/hadrian/cabal-files/js-jquery.nix b/materialized/ghc8107/hadrian-ghc98/hadrian/cabal-files/js-jquery.nix deleted file mode 100644 index 9ecdc931ed..0000000000 --- a/materialized/ghc8107/hadrian-ghc98/hadrian/cabal-files/js-jquery.nix +++ /dev/null @@ -1,48 +0,0 @@ -{ 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/ghc8107/hadrian-ghc98/hadrian/cabal-files/primitive.nix b/materialized/ghc8107/hadrian-ghc98/hadrian/cabal-files/primitive.nix deleted file mode 100644 index bbc2dd58da..0000000000 --- a/materialized/ghc8107/hadrian-ghc98/hadrian/cabal-files/primitive.nix +++ /dev/null @@ -1,73 +0,0 @@ -{ system - , compiler - , flags - , pkgs - , hsPkgs - , pkgconfPkgs - , errorHandler - , config - , ... }: - ({ - flags = {}; - package = { - specVersion = "2.0"; - identifier = { name = "primitive"; version = "0.8.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.8.0.0.tar.gz"; - sha256 = "5553c21b4a789f9b591eed69e598cc58484c274af29250e517b5a8bcc62b995f"; - }); - }) // { - package-description-override = "Cabal-Version: 2.0\nName: primitive\nVersion: 0.8.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\n Build-Depends: base >= 4.9 && < 4.19\n , deepseq >= 1.1 && < 1.5\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/ghc8107/hadrian-ghc98/hadrian/cabal-files/random.nix b/materialized/ghc8107/hadrian-ghc98/hadrian/cabal-files/random.nix deleted file mode 100644 index c2f8f753b4..0000000000 --- a/materialized/ghc8107/hadrian-ghc98/hadrian/cabal-files/random.nix +++ /dev/null @@ -1,113 +0,0 @@ -{ 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\nname: random\nversion: 1.2.1.1\nlicense: BSD3\nlicense-file: LICENSE\nmaintainer: core-libraries-committee@haskell.org\nbug-reports: https://github.com/haskell/random/issues\nsynopsis: Pseudo-random number generation\ndescription:\n This package provides basic pseudo-random number generation, including the\n ability to split random number generators.\n .\n == \"System.Random\": pure pseudo-random number interface\n .\n In pure code, use 'System.Random.uniform' and 'System.Random.uniformR' from\n \"System.Random\" to generate pseudo-random numbers with a pure pseudo-random\n number generator like 'System.Random.StdGen'.\n .\n As 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 .\n See \"System.Random\" for more details.\n .\n == \"System.Random.Stateful\": monadic pseudo-random number interface\n .\n In monadic code, use 'System.Random.Stateful.uniformM' and\n 'System.Random.Stateful.uniformRM' from \"System.Random.Stateful\" to generate\n pseudo-random numbers with a monadic pseudo-random number generator, or\n using a monadic adapter.\n .\n As 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 .\n The monadic adapter 'System.Random.Stateful.runStateGen_' is used here to lift\n the pure pseudo-random number generator @pureGen@ into the\n 'System.Random.Stateful.StatefulGen' context.\n .\n The monadic interface can also be used with existing monadic pseudo-random\n number 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 .\n See \"System.Random.Stateful\" for more details.\n\ncategory: System\nbuild-type: Simple\nextra-source-files:\n README.md\n CHANGELOG.md\ntested-with: GHC == 7.10.2\n , GHC == 7.10.3\n , GHC == 8.0.2\n , GHC == 8.2.2\n , GHC == 8.4.3\n , GHC == 8.4.4\n , GHC == 8.6.3\n , GHC == 8.6.4\n , GHC == 8.6.5\n , GHC == 8.8.1\n , GHC == 8.8.2\n , GHC == 8.10.1\n\nsource-repository head\n type: git\n location: https://github.com/haskell/random.git\n\n\nlibrary\n exposed-modules:\n System.Random\n System.Random.Internal\n System.Random.Stateful\n other-modules:\n System.Random.GFinite\n\n hs-source-dirs: src\n default-language: Haskell2010\n ghc-options:\n -Wall\n if impl(ghc >= 8.0)\n ghc-options:\n -Wincomplete-record-updates -Wincomplete-uni-patterns\n\n build-depends:\n base >=4.8 && <5,\n bytestring >=0.10.4 && <0.12,\n deepseq >=1.1 && <2,\n mtl >=2.2 && <2.4,\n splitmix >=0.1 && <0.2\n if impl(ghc < 8.0)\n build-depends:\n transformers\n\ntest-suite legacy-test\n type: exitcode-stdio-1.0\n main-is: Legacy.hs\n hs-source-dirs: test-legacy\n other-modules:\n T7936\n TestRandomIOs\n TestRandomRs\n Random1283\n RangeTest\n\n default-language: Haskell2010\n ghc-options: -with-rtsopts=-M8M\n if impl(ghc >= 8.0)\n ghc-options:\n -Wno-deprecations\n build-depends:\n base,\n containers >=0.5 && <0.7,\n random\n\ntest-suite doctests\n type: exitcode-stdio-1.0\n main-is: doctests.hs\n hs-source-dirs: test\n default-language: Haskell2010\n build-depends:\n base,\n doctest >=0.15 && <0.21\n if impl(ghc >= 8.2) && impl(ghc < 8.10)\n build-depends:\n mwc-random >=0.13 && <0.16,\n primitive >=0.6 && <0.8,\n random,\n stm,\n unliftio >=0.2 && <0.3,\n vector >= 0.10 && <0.14\n\ntest-suite spec\n type: exitcode-stdio-1.0\n main-is: Spec.hs\n hs-source-dirs: test\n other-modules:\n Spec.Range\n Spec.Run\n Spec.Stateful\n\n default-language: Haskell2010\n ghc-options: -Wall\n build-depends:\n base,\n bytestring,\n random,\n smallcheck >=1.2 && <1.3,\n stm,\n tasty >=1.0 && <1.5,\n tasty-smallcheck >=0.8 && <0.9,\n tasty-hunit >=0.10 && <0.11,\n transformers\n\n-- Note. Fails when compiled with coverage:\n-- https://github.com/haskell/random/issues/107\ntest-suite spec-inspection\n type: exitcode-stdio-1.0\n main-is: Spec.hs\n hs-source-dirs: test-inspection\n build-depends:\n\n default-language: Haskell2010\n ghc-options: -Wall\n build-depends:\n base,\n random,\n tasty >=1.0 && <1.5\n if impl(ghc >= 8.0)\n build-depends:\n tasty-inspection-testing\n other-modules:\n Spec.Inspection\n\nbenchmark legacy-bench\n type: exitcode-stdio-1.0\n main-is: SimpleRNGBench.hs\n hs-source-dirs: bench-legacy\n other-modules: BinSearch\n default-language: Haskell2010\n ghc-options:\n -Wall -O2 -threaded -rtsopts -with-rtsopts=-N\n if impl(ghc >= 8.0)\n ghc-options:\n -Wno-deprecations\n\n build-depends:\n base,\n random,\n rdtsc,\n split >=0.2 && <0.3,\n time >=1.4 && <1.13\n\nbenchmark bench\n type: exitcode-stdio-1.0\n main-is: Main.hs\n hs-source-dirs: bench\n default-language: Haskell2010\n ghc-options: -Wall -O2\n build-depends:\n base,\n mtl,\n primitive >= 0.7.1,\n random,\n splitmix >=0.1 && <0.2,\n tasty-bench\n"; - } \ No newline at end of file diff --git a/materialized/ghc8107/hadrian-ghc98/hadrian/cabal-files/shake.nix b/materialized/ghc8107/hadrian-ghc98/hadrian/cabal-files/shake.nix deleted file mode 100644 index e7eb5c6647..0000000000 --- a/materialized/ghc8107/hadrian-ghc98/hadrian/cabal-files/shake.nix +++ /dev/null @@ -1,132 +0,0 @@ -{ 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/ghc8107/hadrian-ghc98/hadrian/cabal-files/splitmix.nix b/materialized/ghc8107/hadrian-ghc98/hadrian/cabal-files/splitmix.nix deleted file mode 100644 index 7918d356b1..0000000000 --- a/materialized/ghc8107/hadrian-ghc98/hadrian/cabal-files/splitmix.nix +++ /dev/null @@ -1,140 +0,0 @@ -{ system - , compiler - , flags - , pkgs - , hsPkgs - , pkgconfPkgs - , errorHandler - , config - , ... }: - ({ - flags = { optimised-mixer = false; }; - package = { - specVersion = "1.10"; - identifier = { name = "splitmix"; version = "0.1.0.4"; }; - 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."clock" or (errorHandler.buildDepError "clock")) - (hsPkgs."random" or (errorHandler.buildDepError "random")) - (hsPkgs."splitmix" or (errorHandler.buildDepError "splitmix")) - ]; - buildable = true; - }; - }; - }; - } // { - src = (pkgs.lib).mkDefault (pkgs.fetchurl { - url = "http://hackage.haskell.org/package/splitmix-0.1.0.4.tar.gz"; - sha256 = "6d065402394e7a9117093dbb4530a21342c9b1e2ec509516c8a8d0ffed98ecaa"; - }); - }) // { - package-description-override = "cabal-version: >=1.10\nname: splitmix\nversion: 0.1.0.4\nx-revision: 2\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.5\n || ==9.4.4\n || ==9.6.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.19\n , deepseq >=1.3.0.0 && <1.5\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.6\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 , clock >=0.8 && <0.9\n , random\n , splitmix\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.13\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.13\n , bytestring >=0.9.1.8 && <0.12\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.13\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.13\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/ghc8107/hadrian-ghc98/hadrian/cabal-files/unordered-containers.nix b/materialized/ghc8107/hadrian-ghc98/hadrian/cabal-files/unordered-containers.nix deleted file mode 100644 index ab6a9d8c44..0000000000 --- a/materialized/ghc8107/hadrian-ghc98/hadrian/cabal-files/unordered-containers.nix +++ /dev/null @@ -1,78 +0,0 @@ -{ 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\r\nversion: 0.2.19.1\r\nx-revision: 2\r\nsynopsis: Efficient hashing-based container types\r\ndescription:\r\n Efficient hashing-based container types. The containers have been\r\n optimized for performance critical use, both in terms of large data\r\n quantities and high speed.\r\n .\r\n The declared cost of each operation is either worst-case or\r\n amortized, but remains valid even if structures are shared.\r\n .\r\n /Security/\r\n .\r\n This package currently provides no defenses against hash collision attacks\r\n such as HashDoS.\r\n Users who need to store input from untrusted sources are advised to use\r\n @Data.Map@ or @Data.Set@ from the @containers@ package instead.\r\nlicense: BSD3\r\nlicense-file: LICENSE\r\nauthor: Johan Tibell\r\nmaintainer: simon.jakobi@gmail.com, David.Feuer@gmail.com\r\nHomepage: https://github.com/haskell-unordered-containers/unordered-containers\r\nbug-reports: https://github.com/haskell-unordered-containers/unordered-containers/issues\r\ncopyright: 2010-2014 Johan Tibell\r\n 2010 Edward Z. Yang\r\ncategory: Data\r\nbuild-type: Simple\r\ncabal-version: >=1.10\r\nextra-source-files: CHANGES.md\r\n\r\ntested-with:\r\n GHC ==9.6.1\r\n || ==9.4.4\r\n || ==9.2.7\r\n || ==9.0.2\r\n || ==8.10.7\r\n || ==8.8.4\r\n || ==8.6.5\r\n || ==8.4.4\r\n || ==8.2.2\r\n\r\nflag debug\r\n description: Enable debug support\r\n default: False\r\n\r\nlibrary\r\n exposed-modules:\r\n Data.HashMap.Internal\r\n Data.HashMap.Internal.Array\r\n Data.HashMap.Internal.List\r\n Data.HashMap.Internal.Strict\r\n Data.HashMap.Lazy\r\n Data.HashMap.Strict\r\n Data.HashSet\r\n Data.HashSet.Internal\r\n\r\n build-depends:\r\n base >= 4.10 && < 5,\r\n deepseq >= 1.4.3,\r\n hashable >= 1.2.5 && < 1.5,\r\n template-haskell < 2.21\r\n\r\n default-language: Haskell2010\r\n\r\n other-extensions:\r\n RoleAnnotations,\r\n UnboxedTuples,\r\n ScopedTypeVariables,\r\n MagicHash,\r\n BangPatterns\r\n\r\n ghc-options: -Wall -O2 -fwarn-tabs -ferror-spans\r\n\r\n -- For dumping the generated code:\r\n -- ghc-options: -ddump-simpl -ddump-stg-final -ddump-cmm -ddump-asm -ddump-to-file\r\n -- ghc-options: -dsuppress-coercions -dsuppress-unfoldings -dsuppress-module-prefixes\r\n -- ghc-options: -dsuppress-uniques -dsuppress-timestamps\r\n\r\n if flag(debug)\r\n cpp-options: -DASSERTS\r\n\r\ntest-suite unordered-containers-tests\r\n hs-source-dirs: tests\r\n main-is: Main.hs\r\n type: exitcode-stdio-1.0\r\n other-modules:\r\n Regressions\r\n Properties\r\n Properties.HashMapLazy\r\n Properties.HashMapStrict\r\n Properties.HashSet\r\n Properties.List\r\n Strictness\r\n\r\n build-depends:\r\n base,\r\n ChasingBottoms,\r\n containers >= 0.5.8,\r\n hashable,\r\n HUnit,\r\n QuickCheck >= 2.4.0.1,\r\n random,\r\n tasty >= 1.4.0.3,\r\n tasty-hunit >= 0.10.0.3,\r\n tasty-quickcheck >= 0.10.1.2,\r\n unordered-containers\r\n\r\n if impl(ghc >= 8.6)\r\n build-depends:\r\n nothunks >= 0.1.3\r\n\r\n default-language: Haskell2010\r\n ghc-options: -Wall\r\n cpp-options: -DASSERTS\r\n\r\nbenchmark benchmarks\r\n hs-source-dirs: benchmarks\r\n main-is: Benchmarks.hs\r\n type: exitcode-stdio-1.0\r\n\r\n other-modules:\r\n Util.ByteString\r\n Util.String\r\n Util.Int\r\n\r\n build-depends:\r\n base,\r\n bytestring >= 0.10.0.0,\r\n containers,\r\n deepseq,\r\n hashable,\r\n hashmap,\r\n mtl,\r\n random,\r\n tasty-bench >= 0.3.1,\r\n unordered-containers\r\n\r\n default-language: Haskell2010\r\n ghc-options: -Wall -O2 -rtsopts -with-rtsopts=-A32m\r\n if impl(ghc >= 8.10)\r\n ghc-options: \"-with-rtsopts=-A32m --nonmoving-gc\"\r\n -- cpp-options: -DBENCH_containers_Map -DBENCH_containers_IntMap -DBENCH_hashmap_Map\r\n\r\nsource-repository head\r\n type: git\r\n location: https://github.com/haskell-unordered-containers/unordered-containers.git\r\n"; - } \ No newline at end of file diff --git a/materialized/ghc8107/hadrian-ghc98/hadrian/cabal-files/utf8-string.nix b/materialized/ghc8107/hadrian-ghc98/hadrian/cabal-files/utf8-string.nix deleted file mode 100644 index ac9bde4057..0000000000 --- a/materialized/ghc8107/hadrian-ghc98/hadrian/cabal-files/utf8-string.nix +++ /dev/null @@ -1,51 +0,0 @@ -{ 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/ghc8107/hadrian-ghc98/hadrian/default.nix b/materialized/ghc8107/hadrian-ghc98/hadrian/default.nix deleted file mode 100644 index a3af5db3ac..0000000000 --- a/materialized/ghc8107/hadrian-ghc98/hadrian/default.nix +++ /dev/null @@ -1,151 +0,0 @@ -{ - pkgs = hackage: - { - packages = { - bytestring.revision = (((hackage.bytestring)."0.10.12.0").revisions).default; - directory.revision = (((hackage.directory)."1.3.6.0").revisions).default; - filepath.revision = (((hackage.filepath)."1.4.2.1").revisions).default; - mtl.revision = (((hackage.mtl)."2.2.2").revisions).default; - ghc-prim.revision = (((hackage.ghc-prim)."0.6.1").revisions).default; - base16-bytestring.revision = import ./cabal-files/base16-bytestring.nix; - parsec.revision = (((hackage.parsec)."3.1.14.0").revisions).default; - js-flot.revision = import ./cabal-files/js-flot.nix; - utf8-string.revision = import ./cabal-files/utf8-string.nix; - Cabal.revision = (((hackage.Cabal)."3.2.1.0").revisions).default; - splitmix.revision = import ./cabal-files/splitmix.nix; - splitmix.flags.optimised-mixer = false; - containers.revision = (((hackage.containers)."0.6.5.1").revisions).default; - clock.revision = import ./cabal-files/clock.nix; - clock.flags.llvm = false; - heaps.revision = import ./cabal-files/heaps.nix; - base.revision = (((hackage.base)."4.14.3.0").revisions).default; - time.revision = (((hackage.time)."1.9.3").revisions).default; - base-orphans.revision = import ./cabal-files/base-orphans.nix; - random.revision = import ./cabal-files/random.nix; - primitive.revision = import ./cabal-files/primitive.nix; - deepseq.revision = (((hackage.deepseq)."1.4.4.0").revisions).default; - js-jquery.revision = import ./cabal-files/js-jquery.nix; - js-dgtable.revision = import ./cabal-files/js-dgtable.nix; - rts.revision = (((hackage.rts)."1.0.1").revisions).default; - template-haskell.revision = (((hackage.template-haskell)."2.16.0.0").revisions).default; - binary.revision = (((hackage.binary)."0.8.8.0").revisions).default; - shake.revision = import ./cabal-files/shake.nix; - shake.flags.portable = false; - shake.flags.cloud = false; - shake.flags.embed-files = false; - integer-gmp.revision = (((hackage.integer-gmp)."1.0.3.0").revisions).default; - process.revision = (((hackage.process)."1.6.13.2").revisions).default; - unix.revision = (((hackage.unix)."2.7.2.2").revisions).default; - data-array-byte.revision = import ./cabal-files/data-array-byte.nix; - transformers.revision = (((hackage.transformers)."0.5.6.2").revisions).default; - unordered-containers.revision = import ./cabal-files/unordered-containers.nix; - unordered-containers.flags.debug = false; - QuickCheck.revision = import ./cabal-files/QuickCheck.nix; - QuickCheck.flags.old-random = false; - QuickCheck.flags.templatehaskell = true; - extra.revision = import ./cabal-files/extra.nix; - text.revision = (((hackage.text)."1.2.4.1").revisions).default; - array.revision = (((hackage.array)."0.5.4.0").revisions).default; - ghc-boot-th.revision = (((hackage.ghc-boot-th)."8.10.7").revisions).default; - filepattern.revision = import ./cabal-files/filepattern.nix; - 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; - cryptohash-sha256.revision = import ./cabal-files/cryptohash-sha256.nix; - cryptohash-sha256.flags.exe = false; - cryptohash-sha256.flags.use-cbits = true; - }; - compiler = { - version = "8.10.7"; - nix-name = "ghc8107"; - packages = { - "pretty" = "1.1.3.6"; - "text" = "1.2.4.1"; - "array" = "0.5.4.0"; - "Cabal" = "3.2.1.0"; - "mtl" = "2.2.2"; - "parsec" = "3.1.14.0"; - "bytestring" = "0.10.12.0"; - "filepath" = "1.4.2.1"; - "ghc-prim" = "0.6.1"; - "ghc-boot-th" = "8.10.7"; - "base" = "4.14.3.0"; - "time" = "1.9.3"; - "process" = "1.6.13.2"; - "directory" = "1.3.6.0"; - "rts" = "1.0.1"; - "transformers" = "0.5.6.2"; - "template-haskell" = "2.16.0.0"; - "deepseq" = "1.4.4.0"; - "unix" = "2.7.2.2"; - "integer-gmp" = "1.0.3.0"; - "binary" = "0.8.8.0"; - "containers" = "0.6.5.1"; - }; - }; - }; - extras = hackage: - { packages = { hadrian = ./.plan.nix/hadrian.nix; }; }; - modules = [ - ({ lib, ... }: - { - packages = { - "hadrian" = { - flags = { - "threaded" = lib.mkOverride 900 true; - "selftest" = lib.mkOverride 900 true; - }; - }; - }; - }) - ({ lib, ... }: - { - packages = { - "shake".components.library.planned = lib.mkOverride 900 true; - "base16-bytestring".components.library.planned = lib.mkOverride 900 true; - "base-orphans".components.library.planned = lib.mkOverride 900 true; - "heaps".components.library.planned = lib.mkOverride 900 true; - "extra".components.library.planned = lib.mkOverride 900 true; - "filepath".components.library.planned = lib.mkOverride 900 true; - "pretty".components.library.planned = lib.mkOverride 900 true; - "utf8-string".components.library.planned = lib.mkOverride 900 true; - "Cabal".components.library.planned = lib.mkOverride 900 true; - "bytestring".components.library.planned = lib.mkOverride 900 true; - "cryptohash-sha256".components.library.planned = lib.mkOverride 900 true; - "ghc-prim".components.library.planned = lib.mkOverride 900 true; - "array".components.library.planned = lib.mkOverride 900 true; - "binary".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; - "splitmix".components.library.planned = lib.mkOverride 900 true; - "rts".components.library.planned = lib.mkOverride 900 true; - "unix".components.library.planned = lib.mkOverride 900 true; - "shake".components.exes."shake".planned = lib.mkOverride 900 true; - "directory".components.library.planned = lib.mkOverride 900 true; - "time".components.library.planned = lib.mkOverride 900 true; - "js-flot".components.library.planned = lib.mkOverride 900 true; - "data-array-byte".components.library.planned = lib.mkOverride 900 true; - "process".components.library.planned = lib.mkOverride 900 true; - "clock".components.library.planned = lib.mkOverride 900 true; - "template-haskell".components.library.planned = lib.mkOverride 900 true; - "hadrian".components.exes."hadrian".planned = lib.mkOverride 900 true; - "QuickCheck".components.library.planned = lib.mkOverride 900 true; - "mtl".components.library.planned = lib.mkOverride 900 true; - "transformers".components.library.planned = lib.mkOverride 900 true; - "parsec".components.library.planned = lib.mkOverride 900 true; - "deepseq".components.library.planned = lib.mkOverride 900 true; - "primitive".components.library.planned = lib.mkOverride 900 true; - "js-jquery".components.library.planned = lib.mkOverride 900 true; - "text".components.library.planned = lib.mkOverride 900 true; - "unordered-containers".components.library.planned = lib.mkOverride 900 true; - "random".components.library.planned = lib.mkOverride 900 true; - "base".components.library.planned = lib.mkOverride 900 true; - "integer-gmp".components.library.planned = lib.mkOverride 900 true; - "containers".components.library.planned = lib.mkOverride 900 true; - "js-dgtable".components.library.planned = lib.mkOverride 900 true; - "hashable".components.library.planned = lib.mkOverride 900 true; - }; - }) - ]; - } \ No newline at end of file diff --git a/materialized/ghc928/hadrian-ghc94/hadrian/.plan.nix/hadrian.nix b/materialized/ghc928/hadrian-ghc94/hadrian/.plan.nix/hadrian.nix deleted file mode 100644 index 7c047cd1d6..0000000000 --- a/materialized/ghc928/hadrian-ghc94/hadrian/.plan.nix/hadrian.nix +++ /dev/null @@ -1,160 +0,0 @@ -{ 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."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/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/ghc928/hadrian-ghc94/hadrian/cabal-files/QuickCheck.nix b/materialized/ghc928/hadrian-ghc94/hadrian/cabal-files/QuickCheck.nix deleted file mode 100644 index 31390ca93b..0000000000 --- a/materialized/ghc928/hadrian-ghc94/hadrian/cabal-files/QuickCheck.nix +++ /dev/null @@ -1,119 +0,0 @@ -{ 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/ghc928/hadrian-ghc94/hadrian/cabal-files/clock.nix b/materialized/ghc928/hadrian-ghc94/hadrian/cabal-files/clock.nix deleted file mode 100644 index de66c1339a..0000000000 --- a/materialized/ghc928/hadrian-ghc94/hadrian/cabal-files/clock.nix +++ /dev/null @@ -1,59 +0,0 @@ -{ system - , compiler - , flags - , pkgs - , hsPkgs - , pkgconfPkgs - , errorHandler - , config - , ... }: - ({ - flags = { llvm = false; }; - package = { - specVersion = "1.10"; - identifier = { name = "clock"; version = "0.8.3"; }; - license = "BSD-3-Clause"; - copyright = "Copyright © Cetin Sert 2009-2016, 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 , Corsis Research"; - author = "Cetin Sert , Corsis Research"; - 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.3.tar.gz"; - sha256 = "845ce5db4c98cefd517323e005f87effceff886987305e421c4ef616dc0505d1"; - }); - }) // { - package-description-override = "cabal-version: >= 1.10\nname: clock\nversion: 0.8.3\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-2016, 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 , Corsis Research\nmaintainer: Cetin Sert , Corsis Research\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.2.1\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: git://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/ghc928/hadrian-ghc94/hadrian/cabal-files/data-array-byte.nix b/materialized/ghc928/hadrian-ghc94/hadrian/cabal-files/data-array-byte.nix deleted file mode 100644 index c0d9745691..0000000000 --- a/materialized/ghc928/hadrian-ghc94/hadrian/cabal-files/data-array-byte.nix +++ /dev/null @@ -1,55 +0,0 @@ -{ system - , compiler - , flags - , pkgs - , hsPkgs - , pkgconfPkgs - , errorHandler - , config - , ... }: - ({ - flags = {}; - package = { - specVersion = "1.10"; - identifier = { name = "data-array-byte"; version = "0.1.0.1"; }; - license = "BSD-3-Clause"; - copyright = "(c) Roman Leshchinskiy 2009-2012"; - maintainer = "andrew.lelechenko@gmail.com"; - author = "Roman Leshchinskiy "; - homepage = "https://github.com/Bodigrim/data-array-byte"; - url = ""; - synopsis = "Compatibility layer for Data.Array.Byte"; - description = "Compatibility layer for [Data.Array.Byte](https://hackage.haskell.org/package/base/docs/Data-Array-Byte.html), providing boxed wrappers for @ByteArray#@ and @MutableByteArray#@ and relevant instances for GHC < 9.4. Include it into your Cabal file:\n\n> build-depends: base\n> if impl(ghc < 9.4)\n> build-depends: data-array-byte\n\nand then @import Data.Array.Byte@ unconditionally."; - buildType = "Simple"; - }; - components = { - "library" = { - depends = [ - (hsPkgs."base" or (errorHandler.buildDepError "base")) - (hsPkgs."deepseq" or (errorHandler.buildDepError "deepseq")) - (hsPkgs."template-haskell" or (errorHandler.buildDepError "template-haskell")) - ]; - buildable = true; - }; - tests = { - "data-array-byte-tests" = { - depends = [ - (hsPkgs."base" or (errorHandler.buildDepError "base")) - (hsPkgs."data-array-byte" or (errorHandler.buildDepError "data-array-byte")) - (hsPkgs."quickcheck-classes-base" or (errorHandler.buildDepError "quickcheck-classes-base")) - (hsPkgs."tasty" or (errorHandler.buildDepError "tasty")) - (hsPkgs."tasty-quickcheck" or (errorHandler.buildDepError "tasty-quickcheck")) - (hsPkgs."template-haskell" or (errorHandler.buildDepError "template-haskell")) - ]; - buildable = true; - }; - }; - }; - } // { - src = (pkgs.lib).mkDefault (pkgs.fetchurl { - url = "http://hackage.haskell.org/package/data-array-byte-0.1.0.1.tar.gz"; - sha256 = "1bb6eca0b3e02d057fe7f4e14c81ef395216f421ab30fdaa1b18017c9c025600"; - }); - }) // { - package-description-override = "cabal-version: >=1.10\r\nname: data-array-byte\r\nversion: 0.1.0.1\r\nx-revision: 1\r\nlicense: BSD3\r\nlicense-file: LICENSE\r\ncopyright: (c) Roman Leshchinskiy 2009-2012\r\nmaintainer: andrew.lelechenko@gmail.com\r\nauthor: Roman Leshchinskiy \r\ntested-with:\r\n ghc ==8.0.2 ghc ==8.2.2 ghc ==8.4.4 ghc ==8.6.5 ghc ==8.8.4\r\n ghc ==8.10.7 ghc ==9.0.2 ghc ==9.2.4 ghc ==9.4.2\r\n\r\nhomepage: https://github.com/Bodigrim/data-array-byte\r\nbug-reports: https://github.com/Bodigrim/data-array-byte/issues\r\nsynopsis: Compatibility layer for Data.Array.Byte\r\ndescription:\r\n Compatibility layer for [Data.Array.Byte](https://hackage.haskell.org/package/base/docs/Data-Array-Byte.html), providing boxed wrappers for @ByteArray#@ and @MutableByteArray#@ and relevant instances for GHC < 9.4. Include it into your Cabal file:\r\n .\r\n > build-depends: base\r\n > if impl(ghc < 9.4)\r\n > build-depends: data-array-byte\r\n .\r\n and then @import Data.Array.Byte@ unconditionally.\r\n\r\ncategory: Compatibility\r\nbuild-type: Simple\r\nextra-source-files:\r\n changelog.md\r\n README.md\r\n\r\nsource-repository head\r\n type: git\r\n location: https://github.com/Bodigrim/data-array-byte\r\n\r\nlibrary\r\n default-language: Haskell2010\r\n ghc-options: -Wall\r\n build-depends:\r\n base >=4.9 && <4.19,\r\n deepseq >=1.4 && <1.5,\r\n template-haskell >=2.11 && <2.21\r\n\r\n if impl(ghc <9.4)\r\n exposed-modules: Data.Array.Byte\r\n\r\ntest-suite data-array-byte-tests\r\n type: exitcode-stdio-1.0\r\n main-is: Main.hs\r\n hs-source-dirs: test\r\n default-language: Haskell2010\r\n ghc-options: -Wall\r\n build-depends:\r\n base,\r\n data-array-byte,\r\n quickcheck-classes-base >=0.6 && <0.7,\r\n tasty >=1.4 && <1.5,\r\n tasty-quickcheck >=0.10 && <0.11,\r\n template-haskell\r\n"; - } \ No newline at end of file diff --git a/materialized/ghc928/hadrian-ghc94/hadrian/cabal-files/extra.nix b/materialized/ghc928/hadrian-ghc94/hadrian/cabal-files/extra.nix deleted file mode 100644 index 450be82c4b..0000000000 --- a/materialized/ghc928/hadrian-ghc94/hadrian/cabal-files/extra.nix +++ /dev/null @@ -1,58 +0,0 @@ -{ 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/ghc928/hadrian-ghc94/hadrian/cabal-files/filepattern.nix b/materialized/ghc928/hadrian-ghc94/hadrian/cabal-files/filepattern.nix deleted file mode 100644 index 13bbd09e88..0000000000 --- a/materialized/ghc928/hadrian-ghc94/hadrian/cabal-files/filepattern.nix +++ /dev/null @@ -1,56 +0,0 @@ -{ 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/ghc928/hadrian-ghc94/hadrian/cabal-files/hashable.nix b/materialized/ghc928/hadrian-ghc94/hadrian/cabal-files/hashable.nix deleted file mode 100644 index 288fdf7407..0000000000 --- a/materialized/ghc928/hadrian-ghc94/hadrian/cabal-files/hashable.nix +++ /dev/null @@ -1,82 +0,0 @@ -{ 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.2.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."; - 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.2.0.tar.gz"; - sha256 = "1b4000ea82b81f69d46d0af4152c10c6303873510738e24cfc4767760d30e3f8"; - }); - }) // { - package-description-override = "cabal-version: 1.12\nname: hashable\nversion: 1.4.2.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\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.5\n || ==9.4.4\n || ==9.6.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.19\n , bytestring >=0.10.8.2 && <0.12\n , containers >=0.5.10.2 && <0.7\n , deepseq >=1.4.3.0 && <1.5\n , filepath >=1.4.1.2 && <1.5\n , ghc-prim\n , text >=1.2.3.0 && <1.3 || >=2.0 && <2.1\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/ghc928/hadrian-ghc94/hadrian/cabal-files/heaps.nix b/materialized/ghc928/hadrian-ghc94/hadrian/cabal-files/heaps.nix deleted file mode 100644 index dc77aed1f4..0000000000 --- a/materialized/ghc928/hadrian-ghc94/hadrian/cabal-files/heaps.nix +++ /dev/null @@ -1,38 +0,0 @@ -{ 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/ghc928/hadrian-ghc94/hadrian/cabal-files/js-dgtable.nix b/materialized/ghc928/hadrian-ghc94/hadrian/cabal-files/js-dgtable.nix deleted file mode 100644 index 0237404c41..0000000000 --- a/materialized/ghc928/hadrian-ghc94/hadrian/cabal-files/js-dgtable.nix +++ /dev/null @@ -1,47 +0,0 @@ -{ 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/ghc928/hadrian-ghc94/hadrian/cabal-files/js-flot.nix b/materialized/ghc928/hadrian-ghc94/hadrian/cabal-files/js-flot.nix deleted file mode 100644 index ba292fc8b2..0000000000 --- a/materialized/ghc928/hadrian-ghc94/hadrian/cabal-files/js-flot.nix +++ /dev/null @@ -1,47 +0,0 @@ -{ 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/ghc928/hadrian-ghc94/hadrian/cabal-files/js-jquery.nix b/materialized/ghc928/hadrian-ghc94/hadrian/cabal-files/js-jquery.nix deleted file mode 100644 index 9ecdc931ed..0000000000 --- a/materialized/ghc928/hadrian-ghc94/hadrian/cabal-files/js-jquery.nix +++ /dev/null @@ -1,48 +0,0 @@ -{ 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/ghc928/hadrian-ghc94/hadrian/cabal-files/primitive.nix b/materialized/ghc928/hadrian-ghc94/hadrian/cabal-files/primitive.nix deleted file mode 100644 index bbc2dd58da..0000000000 --- a/materialized/ghc928/hadrian-ghc94/hadrian/cabal-files/primitive.nix +++ /dev/null @@ -1,73 +0,0 @@ -{ system - , compiler - , flags - , pkgs - , hsPkgs - , pkgconfPkgs - , errorHandler - , config - , ... }: - ({ - flags = {}; - package = { - specVersion = "2.0"; - identifier = { name = "primitive"; version = "0.8.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.8.0.0.tar.gz"; - sha256 = "5553c21b4a789f9b591eed69e598cc58484c274af29250e517b5a8bcc62b995f"; - }); - }) // { - package-description-override = "Cabal-Version: 2.0\nName: primitive\nVersion: 0.8.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\n Build-Depends: base >= 4.9 && < 4.19\n , deepseq >= 1.1 && < 1.5\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/ghc928/hadrian-ghc94/hadrian/cabal-files/random.nix b/materialized/ghc928/hadrian-ghc94/hadrian/cabal-files/random.nix deleted file mode 100644 index c2f8f753b4..0000000000 --- a/materialized/ghc928/hadrian-ghc94/hadrian/cabal-files/random.nix +++ /dev/null @@ -1,113 +0,0 @@ -{ 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\nname: random\nversion: 1.2.1.1\nlicense: BSD3\nlicense-file: LICENSE\nmaintainer: core-libraries-committee@haskell.org\nbug-reports: https://github.com/haskell/random/issues\nsynopsis: Pseudo-random number generation\ndescription:\n This package provides basic pseudo-random number generation, including the\n ability to split random number generators.\n .\n == \"System.Random\": pure pseudo-random number interface\n .\n In pure code, use 'System.Random.uniform' and 'System.Random.uniformR' from\n \"System.Random\" to generate pseudo-random numbers with a pure pseudo-random\n number generator like 'System.Random.StdGen'.\n .\n As 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 .\n See \"System.Random\" for more details.\n .\n == \"System.Random.Stateful\": monadic pseudo-random number interface\n .\n In monadic code, use 'System.Random.Stateful.uniformM' and\n 'System.Random.Stateful.uniformRM' from \"System.Random.Stateful\" to generate\n pseudo-random numbers with a monadic pseudo-random number generator, or\n using a monadic adapter.\n .\n As 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 .\n The monadic adapter 'System.Random.Stateful.runStateGen_' is used here to lift\n the pure pseudo-random number generator @pureGen@ into the\n 'System.Random.Stateful.StatefulGen' context.\n .\n The monadic interface can also be used with existing monadic pseudo-random\n number 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 .\n See \"System.Random.Stateful\" for more details.\n\ncategory: System\nbuild-type: Simple\nextra-source-files:\n README.md\n CHANGELOG.md\ntested-with: GHC == 7.10.2\n , GHC == 7.10.3\n , GHC == 8.0.2\n , GHC == 8.2.2\n , GHC == 8.4.3\n , GHC == 8.4.4\n , GHC == 8.6.3\n , GHC == 8.6.4\n , GHC == 8.6.5\n , GHC == 8.8.1\n , GHC == 8.8.2\n , GHC == 8.10.1\n\nsource-repository head\n type: git\n location: https://github.com/haskell/random.git\n\n\nlibrary\n exposed-modules:\n System.Random\n System.Random.Internal\n System.Random.Stateful\n other-modules:\n System.Random.GFinite\n\n hs-source-dirs: src\n default-language: Haskell2010\n ghc-options:\n -Wall\n if impl(ghc >= 8.0)\n ghc-options:\n -Wincomplete-record-updates -Wincomplete-uni-patterns\n\n build-depends:\n base >=4.8 && <5,\n bytestring >=0.10.4 && <0.12,\n deepseq >=1.1 && <2,\n mtl >=2.2 && <2.4,\n splitmix >=0.1 && <0.2\n if impl(ghc < 8.0)\n build-depends:\n transformers\n\ntest-suite legacy-test\n type: exitcode-stdio-1.0\n main-is: Legacy.hs\n hs-source-dirs: test-legacy\n other-modules:\n T7936\n TestRandomIOs\n TestRandomRs\n Random1283\n RangeTest\n\n default-language: Haskell2010\n ghc-options: -with-rtsopts=-M8M\n if impl(ghc >= 8.0)\n ghc-options:\n -Wno-deprecations\n build-depends:\n base,\n containers >=0.5 && <0.7,\n random\n\ntest-suite doctests\n type: exitcode-stdio-1.0\n main-is: doctests.hs\n hs-source-dirs: test\n default-language: Haskell2010\n build-depends:\n base,\n doctest >=0.15 && <0.21\n if impl(ghc >= 8.2) && impl(ghc < 8.10)\n build-depends:\n mwc-random >=0.13 && <0.16,\n primitive >=0.6 && <0.8,\n random,\n stm,\n unliftio >=0.2 && <0.3,\n vector >= 0.10 && <0.14\n\ntest-suite spec\n type: exitcode-stdio-1.0\n main-is: Spec.hs\n hs-source-dirs: test\n other-modules:\n Spec.Range\n Spec.Run\n Spec.Stateful\n\n default-language: Haskell2010\n ghc-options: -Wall\n build-depends:\n base,\n bytestring,\n random,\n smallcheck >=1.2 && <1.3,\n stm,\n tasty >=1.0 && <1.5,\n tasty-smallcheck >=0.8 && <0.9,\n tasty-hunit >=0.10 && <0.11,\n transformers\n\n-- Note. Fails when compiled with coverage:\n-- https://github.com/haskell/random/issues/107\ntest-suite spec-inspection\n type: exitcode-stdio-1.0\n main-is: Spec.hs\n hs-source-dirs: test-inspection\n build-depends:\n\n default-language: Haskell2010\n ghc-options: -Wall\n build-depends:\n base,\n random,\n tasty >=1.0 && <1.5\n if impl(ghc >= 8.0)\n build-depends:\n tasty-inspection-testing\n other-modules:\n Spec.Inspection\n\nbenchmark legacy-bench\n type: exitcode-stdio-1.0\n main-is: SimpleRNGBench.hs\n hs-source-dirs: bench-legacy\n other-modules: BinSearch\n default-language: Haskell2010\n ghc-options:\n -Wall -O2 -threaded -rtsopts -with-rtsopts=-N\n if impl(ghc >= 8.0)\n ghc-options:\n -Wno-deprecations\n\n build-depends:\n base,\n random,\n rdtsc,\n split >=0.2 && <0.3,\n time >=1.4 && <1.13\n\nbenchmark bench\n type: exitcode-stdio-1.0\n main-is: Main.hs\n hs-source-dirs: bench\n default-language: Haskell2010\n ghc-options: -Wall -O2\n build-depends:\n base,\n mtl,\n primitive >= 0.7.1,\n random,\n splitmix >=0.1 && <0.2,\n tasty-bench\n"; - } \ No newline at end of file diff --git a/materialized/ghc928/hadrian-ghc94/hadrian/cabal-files/shake.nix b/materialized/ghc928/hadrian-ghc94/hadrian/cabal-files/shake.nix deleted file mode 100644 index e7eb5c6647..0000000000 --- a/materialized/ghc928/hadrian-ghc94/hadrian/cabal-files/shake.nix +++ /dev/null @@ -1,132 +0,0 @@ -{ 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/ghc928/hadrian-ghc94/hadrian/cabal-files/splitmix.nix b/materialized/ghc928/hadrian-ghc94/hadrian/cabal-files/splitmix.nix deleted file mode 100644 index 7918d356b1..0000000000 --- a/materialized/ghc928/hadrian-ghc94/hadrian/cabal-files/splitmix.nix +++ /dev/null @@ -1,140 +0,0 @@ -{ system - , compiler - , flags - , pkgs - , hsPkgs - , pkgconfPkgs - , errorHandler - , config - , ... }: - ({ - flags = { optimised-mixer = false; }; - package = { - specVersion = "1.10"; - identifier = { name = "splitmix"; version = "0.1.0.4"; }; - 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."clock" or (errorHandler.buildDepError "clock")) - (hsPkgs."random" or (errorHandler.buildDepError "random")) - (hsPkgs."splitmix" or (errorHandler.buildDepError "splitmix")) - ]; - buildable = true; - }; - }; - }; - } // { - src = (pkgs.lib).mkDefault (pkgs.fetchurl { - url = "http://hackage.haskell.org/package/splitmix-0.1.0.4.tar.gz"; - sha256 = "6d065402394e7a9117093dbb4530a21342c9b1e2ec509516c8a8d0ffed98ecaa"; - }); - }) // { - package-description-override = "cabal-version: >=1.10\nname: splitmix\nversion: 0.1.0.4\nx-revision: 2\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.5\n || ==9.4.4\n || ==9.6.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.19\n , deepseq >=1.3.0.0 && <1.5\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.6\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 , clock >=0.8 && <0.9\n , random\n , splitmix\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.13\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.13\n , bytestring >=0.9.1.8 && <0.12\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.13\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.13\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/ghc928/hadrian-ghc94/hadrian/cabal-files/unordered-containers.nix b/materialized/ghc928/hadrian-ghc94/hadrian/cabal-files/unordered-containers.nix deleted file mode 100644 index ab6a9d8c44..0000000000 --- a/materialized/ghc928/hadrian-ghc94/hadrian/cabal-files/unordered-containers.nix +++ /dev/null @@ -1,78 +0,0 @@ -{ 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\r\nversion: 0.2.19.1\r\nx-revision: 2\r\nsynopsis: Efficient hashing-based container types\r\ndescription:\r\n Efficient hashing-based container types. The containers have been\r\n optimized for performance critical use, both in terms of large data\r\n quantities and high speed.\r\n .\r\n The declared cost of each operation is either worst-case or\r\n amortized, but remains valid even if structures are shared.\r\n .\r\n /Security/\r\n .\r\n This package currently provides no defenses against hash collision attacks\r\n such as HashDoS.\r\n Users who need to store input from untrusted sources are advised to use\r\n @Data.Map@ or @Data.Set@ from the @containers@ package instead.\r\nlicense: BSD3\r\nlicense-file: LICENSE\r\nauthor: Johan Tibell\r\nmaintainer: simon.jakobi@gmail.com, David.Feuer@gmail.com\r\nHomepage: https://github.com/haskell-unordered-containers/unordered-containers\r\nbug-reports: https://github.com/haskell-unordered-containers/unordered-containers/issues\r\ncopyright: 2010-2014 Johan Tibell\r\n 2010 Edward Z. Yang\r\ncategory: Data\r\nbuild-type: Simple\r\ncabal-version: >=1.10\r\nextra-source-files: CHANGES.md\r\n\r\ntested-with:\r\n GHC ==9.6.1\r\n || ==9.4.4\r\n || ==9.2.7\r\n || ==9.0.2\r\n || ==8.10.7\r\n || ==8.8.4\r\n || ==8.6.5\r\n || ==8.4.4\r\n || ==8.2.2\r\n\r\nflag debug\r\n description: Enable debug support\r\n default: False\r\n\r\nlibrary\r\n exposed-modules:\r\n Data.HashMap.Internal\r\n Data.HashMap.Internal.Array\r\n Data.HashMap.Internal.List\r\n Data.HashMap.Internal.Strict\r\n Data.HashMap.Lazy\r\n Data.HashMap.Strict\r\n Data.HashSet\r\n Data.HashSet.Internal\r\n\r\n build-depends:\r\n base >= 4.10 && < 5,\r\n deepseq >= 1.4.3,\r\n hashable >= 1.2.5 && < 1.5,\r\n template-haskell < 2.21\r\n\r\n default-language: Haskell2010\r\n\r\n other-extensions:\r\n RoleAnnotations,\r\n UnboxedTuples,\r\n ScopedTypeVariables,\r\n MagicHash,\r\n BangPatterns\r\n\r\n ghc-options: -Wall -O2 -fwarn-tabs -ferror-spans\r\n\r\n -- For dumping the generated code:\r\n -- ghc-options: -ddump-simpl -ddump-stg-final -ddump-cmm -ddump-asm -ddump-to-file\r\n -- ghc-options: -dsuppress-coercions -dsuppress-unfoldings -dsuppress-module-prefixes\r\n -- ghc-options: -dsuppress-uniques -dsuppress-timestamps\r\n\r\n if flag(debug)\r\n cpp-options: -DASSERTS\r\n\r\ntest-suite unordered-containers-tests\r\n hs-source-dirs: tests\r\n main-is: Main.hs\r\n type: exitcode-stdio-1.0\r\n other-modules:\r\n Regressions\r\n Properties\r\n Properties.HashMapLazy\r\n Properties.HashMapStrict\r\n Properties.HashSet\r\n Properties.List\r\n Strictness\r\n\r\n build-depends:\r\n base,\r\n ChasingBottoms,\r\n containers >= 0.5.8,\r\n hashable,\r\n HUnit,\r\n QuickCheck >= 2.4.0.1,\r\n random,\r\n tasty >= 1.4.0.3,\r\n tasty-hunit >= 0.10.0.3,\r\n tasty-quickcheck >= 0.10.1.2,\r\n unordered-containers\r\n\r\n if impl(ghc >= 8.6)\r\n build-depends:\r\n nothunks >= 0.1.3\r\n\r\n default-language: Haskell2010\r\n ghc-options: -Wall\r\n cpp-options: -DASSERTS\r\n\r\nbenchmark benchmarks\r\n hs-source-dirs: benchmarks\r\n main-is: Benchmarks.hs\r\n type: exitcode-stdio-1.0\r\n\r\n other-modules:\r\n Util.ByteString\r\n Util.String\r\n Util.Int\r\n\r\n build-depends:\r\n base,\r\n bytestring >= 0.10.0.0,\r\n containers,\r\n deepseq,\r\n hashable,\r\n hashmap,\r\n mtl,\r\n random,\r\n tasty-bench >= 0.3.1,\r\n unordered-containers\r\n\r\n default-language: Haskell2010\r\n ghc-options: -Wall -O2 -rtsopts -with-rtsopts=-A32m\r\n if impl(ghc >= 8.10)\r\n ghc-options: \"-with-rtsopts=-A32m --nonmoving-gc\"\r\n -- cpp-options: -DBENCH_containers_Map -DBENCH_containers_IntMap -DBENCH_hashmap_Map\r\n\r\nsource-repository head\r\n type: git\r\n location: https://github.com/haskell-unordered-containers/unordered-containers.git\r\n"; - } \ No newline at end of file diff --git a/materialized/ghc928/hadrian-ghc94/hadrian/cabal-files/utf8-string.nix b/materialized/ghc928/hadrian-ghc94/hadrian/cabal-files/utf8-string.nix deleted file mode 100644 index ac9bde4057..0000000000 --- a/materialized/ghc928/hadrian-ghc94/hadrian/cabal-files/utf8-string.nix +++ /dev/null @@ -1,51 +0,0 @@ -{ 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/ghc928/hadrian-ghc94/hadrian/default.nix b/materialized/ghc928/hadrian-ghc94/hadrian/default.nix deleted file mode 100644 index 0299417c22..0000000000 --- a/materialized/ghc928/hadrian-ghc94/hadrian/default.nix +++ /dev/null @@ -1,143 +0,0 @@ -{ - pkgs = hackage: - { - packages = { - bytestring.revision = (((hackage.bytestring)."0.11.4.0").revisions).default; - directory.revision = (((hackage.directory)."1.3.6.2").revisions).default; - filepath.revision = (((hackage.filepath)."1.4.2.2").revisions).default; - mtl.revision = (((hackage.mtl)."2.2.2").revisions).default; - ghc-bignum.revision = (((hackage.ghc-bignum)."1.2").revisions).default; - ghc-prim.revision = (((hackage.ghc-prim)."0.8.0").revisions).default; - parsec.revision = (((hackage.parsec)."3.1.15.0").revisions).default; - js-flot.revision = import ./cabal-files/js-flot.nix; - utf8-string.revision = import ./cabal-files/utf8-string.nix; - Cabal.revision = (((hackage.Cabal)."3.6.3.0").revisions).default; - splitmix.revision = import ./cabal-files/splitmix.nix; - splitmix.flags.optimised-mixer = false; - containers.revision = (((hackage.containers)."0.6.5.1").revisions).default; - clock.revision = import ./cabal-files/clock.nix; - clock.flags.llvm = false; - heaps.revision = import ./cabal-files/heaps.nix; - base.revision = (((hackage.base)."4.16.4.0").revisions).default; - time.revision = (((hackage.time)."1.11.1.1").revisions).default; - random.revision = import ./cabal-files/random.nix; - primitive.revision = import ./cabal-files/primitive.nix; - deepseq.revision = (((hackage.deepseq)."1.4.6.1").revisions).default; - js-jquery.revision = import ./cabal-files/js-jquery.nix; - js-dgtable.revision = import ./cabal-files/js-dgtable.nix; - rts.revision = (((hackage.rts)."1.0.2").revisions).default; - template-haskell.revision = (((hackage.template-haskell)."2.18.0.0").revisions).default; - binary.revision = (((hackage.binary)."0.8.9.0").revisions).default; - shake.revision = import ./cabal-files/shake.nix; - shake.flags.portable = false; - shake.flags.cloud = false; - shake.flags.embed-files = false; - process.revision = (((hackage.process)."1.6.16.0").revisions).default; - unix.revision = (((hackage.unix)."2.7.2.2").revisions).default; - data-array-byte.revision = import ./cabal-files/data-array-byte.nix; - transformers.revision = (((hackage.transformers)."0.5.6.2").revisions).default; - unordered-containers.revision = import ./cabal-files/unordered-containers.nix; - unordered-containers.flags.debug = false; - QuickCheck.revision = import ./cabal-files/QuickCheck.nix; - QuickCheck.flags.old-random = false; - QuickCheck.flags.templatehaskell = true; - extra.revision = import ./cabal-files/extra.nix; - text.revision = (((hackage.text)."1.2.5.0").revisions).default; - array.revision = (((hackage.array)."0.5.4.0").revisions).default; - ghc-boot-th.revision = (((hackage.ghc-boot-th)."9.2.8").revisions).default; - filepattern.revision = import ./cabal-files/filepattern.nix; - 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; - }; - compiler = { - version = "9.2.8"; - nix-name = "ghc928"; - packages = { - "pretty" = "1.1.3.6"; - "text" = "1.2.5.0"; - "array" = "0.5.4.0"; - "Cabal" = "3.6.3.0"; - "mtl" = "2.2.2"; - "parsec" = "3.1.15.0"; - "bytestring" = "0.11.4.0"; - "filepath" = "1.4.2.2"; - "ghc-prim" = "0.8.0"; - "ghc-boot-th" = "9.2.8"; - "base" = "4.16.4.0"; - "time" = "1.11.1.1"; - "process" = "1.6.16.0"; - "ghc-bignum" = "1.2"; - "directory" = "1.3.6.2"; - "rts" = "1.0.2"; - "transformers" = "0.5.6.2"; - "template-haskell" = "2.18.0.0"; - "deepseq" = "1.4.6.1"; - "unix" = "2.7.2.2"; - "binary" = "0.8.9.0"; - "containers" = "0.6.5.1"; - }; - }; - }; - extras = hackage: - { packages = { hadrian = ./.plan.nix/hadrian.nix; }; }; - modules = [ - ({ lib, ... }: - { - packages = { - "hadrian" = { - flags = { - "threaded" = lib.mkOverride 900 true; - "selftest" = lib.mkOverride 900 true; - }; - }; - }; - }) - ({ lib, ... }: - { - packages = { - "shake".components.library.planned = lib.mkOverride 900 true; - "heaps".components.library.planned = lib.mkOverride 900 true; - "extra".components.library.planned = lib.mkOverride 900 true; - "filepath".components.library.planned = lib.mkOverride 900 true; - "pretty".components.library.planned = lib.mkOverride 900 true; - "utf8-string".components.library.planned = lib.mkOverride 900 true; - "Cabal".components.library.planned = lib.mkOverride 900 true; - "bytestring".components.library.planned = lib.mkOverride 900 true; - "ghc-prim".components.library.planned = lib.mkOverride 900 true; - "array".components.library.planned = lib.mkOverride 900 true; - "binary".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; - "splitmix".components.library.planned = lib.mkOverride 900 true; - "rts".components.library.planned = lib.mkOverride 900 true; - "unix".components.library.planned = lib.mkOverride 900 true; - "shake".components.exes."shake".planned = lib.mkOverride 900 true; - "directory".components.library.planned = lib.mkOverride 900 true; - "time".components.library.planned = lib.mkOverride 900 true; - "js-flot".components.library.planned = lib.mkOverride 900 true; - "ghc-bignum".components.library.planned = lib.mkOverride 900 true; - "data-array-byte".components.library.planned = lib.mkOverride 900 true; - "process".components.library.planned = lib.mkOverride 900 true; - "clock".components.library.planned = lib.mkOverride 900 true; - "template-haskell".components.library.planned = lib.mkOverride 900 true; - "hadrian".components.exes."hadrian".planned = lib.mkOverride 900 true; - "QuickCheck".components.library.planned = lib.mkOverride 900 true; - "mtl".components.library.planned = lib.mkOverride 900 true; - "transformers".components.library.planned = lib.mkOverride 900 true; - "parsec".components.library.planned = lib.mkOverride 900 true; - "deepseq".components.library.planned = lib.mkOverride 900 true; - "primitive".components.library.planned = lib.mkOverride 900 true; - "js-jquery".components.library.planned = lib.mkOverride 900 true; - "text".components.library.planned = lib.mkOverride 900 true; - "unordered-containers".components.library.planned = lib.mkOverride 900 true; - "random".components.library.planned = lib.mkOverride 900 true; - "base".components.library.planned = lib.mkOverride 900 true; - "containers".components.library.planned = lib.mkOverride 900 true; - "js-dgtable".components.library.planned = lib.mkOverride 900 true; - "hashable".components.library.planned = lib.mkOverride 900 true; - }; - }) - ]; - } \ No newline at end of file diff --git a/materialized/ghc928/hadrian-ghc96/hadrian/.plan.nix/hadrian.nix b/materialized/ghc928/hadrian-ghc96/hadrian/.plan.nix/hadrian.nix deleted file mode 100644 index ade1f3d512..0000000000 --- a/materialized/ghc928/hadrian-ghc96/hadrian/.plan.nix/hadrian.nix +++ /dev/null @@ -1,162 +0,0 @@ -{ 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/ghc928/hadrian-ghc96/hadrian/cabal-files/QuickCheck.nix b/materialized/ghc928/hadrian-ghc96/hadrian/cabal-files/QuickCheck.nix deleted file mode 100644 index 31390ca93b..0000000000 --- a/materialized/ghc928/hadrian-ghc96/hadrian/cabal-files/QuickCheck.nix +++ /dev/null @@ -1,119 +0,0 @@ -{ 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/ghc928/hadrian-ghc96/hadrian/cabal-files/clock.nix b/materialized/ghc928/hadrian-ghc96/hadrian/cabal-files/clock.nix deleted file mode 100644 index de66c1339a..0000000000 --- a/materialized/ghc928/hadrian-ghc96/hadrian/cabal-files/clock.nix +++ /dev/null @@ -1,59 +0,0 @@ -{ system - , compiler - , flags - , pkgs - , hsPkgs - , pkgconfPkgs - , errorHandler - , config - , ... }: - ({ - flags = { llvm = false; }; - package = { - specVersion = "1.10"; - identifier = { name = "clock"; version = "0.8.3"; }; - license = "BSD-3-Clause"; - copyright = "Copyright © Cetin Sert 2009-2016, 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 , Corsis Research"; - author = "Cetin Sert , Corsis Research"; - 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.3.tar.gz"; - sha256 = "845ce5db4c98cefd517323e005f87effceff886987305e421c4ef616dc0505d1"; - }); - }) // { - package-description-override = "cabal-version: >= 1.10\nname: clock\nversion: 0.8.3\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-2016, 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 , Corsis Research\nmaintainer: Cetin Sert , Corsis Research\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.2.1\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: git://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/ghc928/hadrian-ghc96/hadrian/cabal-files/data-array-byte.nix b/materialized/ghc928/hadrian-ghc96/hadrian/cabal-files/data-array-byte.nix deleted file mode 100644 index c0d9745691..0000000000 --- a/materialized/ghc928/hadrian-ghc96/hadrian/cabal-files/data-array-byte.nix +++ /dev/null @@ -1,55 +0,0 @@ -{ system - , compiler - , flags - , pkgs - , hsPkgs - , pkgconfPkgs - , errorHandler - , config - , ... }: - ({ - flags = {}; - package = { - specVersion = "1.10"; - identifier = { name = "data-array-byte"; version = "0.1.0.1"; }; - license = "BSD-3-Clause"; - copyright = "(c) Roman Leshchinskiy 2009-2012"; - maintainer = "andrew.lelechenko@gmail.com"; - author = "Roman Leshchinskiy "; - homepage = "https://github.com/Bodigrim/data-array-byte"; - url = ""; - synopsis = "Compatibility layer for Data.Array.Byte"; - description = "Compatibility layer for [Data.Array.Byte](https://hackage.haskell.org/package/base/docs/Data-Array-Byte.html), providing boxed wrappers for @ByteArray#@ and @MutableByteArray#@ and relevant instances for GHC < 9.4. Include it into your Cabal file:\n\n> build-depends: base\n> if impl(ghc < 9.4)\n> build-depends: data-array-byte\n\nand then @import Data.Array.Byte@ unconditionally."; - buildType = "Simple"; - }; - components = { - "library" = { - depends = [ - (hsPkgs."base" or (errorHandler.buildDepError "base")) - (hsPkgs."deepseq" or (errorHandler.buildDepError "deepseq")) - (hsPkgs."template-haskell" or (errorHandler.buildDepError "template-haskell")) - ]; - buildable = true; - }; - tests = { - "data-array-byte-tests" = { - depends = [ - (hsPkgs."base" or (errorHandler.buildDepError "base")) - (hsPkgs."data-array-byte" or (errorHandler.buildDepError "data-array-byte")) - (hsPkgs."quickcheck-classes-base" or (errorHandler.buildDepError "quickcheck-classes-base")) - (hsPkgs."tasty" or (errorHandler.buildDepError "tasty")) - (hsPkgs."tasty-quickcheck" or (errorHandler.buildDepError "tasty-quickcheck")) - (hsPkgs."template-haskell" or (errorHandler.buildDepError "template-haskell")) - ]; - buildable = true; - }; - }; - }; - } // { - src = (pkgs.lib).mkDefault (pkgs.fetchurl { - url = "http://hackage.haskell.org/package/data-array-byte-0.1.0.1.tar.gz"; - sha256 = "1bb6eca0b3e02d057fe7f4e14c81ef395216f421ab30fdaa1b18017c9c025600"; - }); - }) // { - package-description-override = "cabal-version: >=1.10\r\nname: data-array-byte\r\nversion: 0.1.0.1\r\nx-revision: 1\r\nlicense: BSD3\r\nlicense-file: LICENSE\r\ncopyright: (c) Roman Leshchinskiy 2009-2012\r\nmaintainer: andrew.lelechenko@gmail.com\r\nauthor: Roman Leshchinskiy \r\ntested-with:\r\n ghc ==8.0.2 ghc ==8.2.2 ghc ==8.4.4 ghc ==8.6.5 ghc ==8.8.4\r\n ghc ==8.10.7 ghc ==9.0.2 ghc ==9.2.4 ghc ==9.4.2\r\n\r\nhomepage: https://github.com/Bodigrim/data-array-byte\r\nbug-reports: https://github.com/Bodigrim/data-array-byte/issues\r\nsynopsis: Compatibility layer for Data.Array.Byte\r\ndescription:\r\n Compatibility layer for [Data.Array.Byte](https://hackage.haskell.org/package/base/docs/Data-Array-Byte.html), providing boxed wrappers for @ByteArray#@ and @MutableByteArray#@ and relevant instances for GHC < 9.4. Include it into your Cabal file:\r\n .\r\n > build-depends: base\r\n > if impl(ghc < 9.4)\r\n > build-depends: data-array-byte\r\n .\r\n and then @import Data.Array.Byte@ unconditionally.\r\n\r\ncategory: Compatibility\r\nbuild-type: Simple\r\nextra-source-files:\r\n changelog.md\r\n README.md\r\n\r\nsource-repository head\r\n type: git\r\n location: https://github.com/Bodigrim/data-array-byte\r\n\r\nlibrary\r\n default-language: Haskell2010\r\n ghc-options: -Wall\r\n build-depends:\r\n base >=4.9 && <4.19,\r\n deepseq >=1.4 && <1.5,\r\n template-haskell >=2.11 && <2.21\r\n\r\n if impl(ghc <9.4)\r\n exposed-modules: Data.Array.Byte\r\n\r\ntest-suite data-array-byte-tests\r\n type: exitcode-stdio-1.0\r\n main-is: Main.hs\r\n hs-source-dirs: test\r\n default-language: Haskell2010\r\n ghc-options: -Wall\r\n build-depends:\r\n base,\r\n data-array-byte,\r\n quickcheck-classes-base >=0.6 && <0.7,\r\n tasty >=1.4 && <1.5,\r\n tasty-quickcheck >=0.10 && <0.11,\r\n template-haskell\r\n"; - } \ No newline at end of file diff --git a/materialized/ghc928/hadrian-ghc96/hadrian/cabal-files/extra.nix b/materialized/ghc928/hadrian-ghc96/hadrian/cabal-files/extra.nix deleted file mode 100644 index 450be82c4b..0000000000 --- a/materialized/ghc928/hadrian-ghc96/hadrian/cabal-files/extra.nix +++ /dev/null @@ -1,58 +0,0 @@ -{ 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/ghc928/hadrian-ghc96/hadrian/cabal-files/filepattern.nix b/materialized/ghc928/hadrian-ghc96/hadrian/cabal-files/filepattern.nix deleted file mode 100644 index 13bbd09e88..0000000000 --- a/materialized/ghc928/hadrian-ghc96/hadrian/cabal-files/filepattern.nix +++ /dev/null @@ -1,56 +0,0 @@ -{ 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/ghc928/hadrian-ghc96/hadrian/cabal-files/hashable.nix b/materialized/ghc928/hadrian-ghc96/hadrian/cabal-files/hashable.nix deleted file mode 100644 index 288fdf7407..0000000000 --- a/materialized/ghc928/hadrian-ghc96/hadrian/cabal-files/hashable.nix +++ /dev/null @@ -1,82 +0,0 @@ -{ 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.2.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."; - 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.2.0.tar.gz"; - sha256 = "1b4000ea82b81f69d46d0af4152c10c6303873510738e24cfc4767760d30e3f8"; - }); - }) // { - package-description-override = "cabal-version: 1.12\nname: hashable\nversion: 1.4.2.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\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.5\n || ==9.4.4\n || ==9.6.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.19\n , bytestring >=0.10.8.2 && <0.12\n , containers >=0.5.10.2 && <0.7\n , deepseq >=1.4.3.0 && <1.5\n , filepath >=1.4.1.2 && <1.5\n , ghc-prim\n , text >=1.2.3.0 && <1.3 || >=2.0 && <2.1\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/ghc928/hadrian-ghc96/hadrian/cabal-files/heaps.nix b/materialized/ghc928/hadrian-ghc96/hadrian/cabal-files/heaps.nix deleted file mode 100644 index dc77aed1f4..0000000000 --- a/materialized/ghc928/hadrian-ghc96/hadrian/cabal-files/heaps.nix +++ /dev/null @@ -1,38 +0,0 @@ -{ 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/ghc928/hadrian-ghc96/hadrian/cabal-files/js-dgtable.nix b/materialized/ghc928/hadrian-ghc96/hadrian/cabal-files/js-dgtable.nix deleted file mode 100644 index 0237404c41..0000000000 --- a/materialized/ghc928/hadrian-ghc96/hadrian/cabal-files/js-dgtable.nix +++ /dev/null @@ -1,47 +0,0 @@ -{ 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/ghc928/hadrian-ghc96/hadrian/cabal-files/js-flot.nix b/materialized/ghc928/hadrian-ghc96/hadrian/cabal-files/js-flot.nix deleted file mode 100644 index ba292fc8b2..0000000000 --- a/materialized/ghc928/hadrian-ghc96/hadrian/cabal-files/js-flot.nix +++ /dev/null @@ -1,47 +0,0 @@ -{ 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/ghc928/hadrian-ghc96/hadrian/cabal-files/js-jquery.nix b/materialized/ghc928/hadrian-ghc96/hadrian/cabal-files/js-jquery.nix deleted file mode 100644 index 9ecdc931ed..0000000000 --- a/materialized/ghc928/hadrian-ghc96/hadrian/cabal-files/js-jquery.nix +++ /dev/null @@ -1,48 +0,0 @@ -{ 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/ghc928/hadrian-ghc96/hadrian/cabal-files/primitive.nix b/materialized/ghc928/hadrian-ghc96/hadrian/cabal-files/primitive.nix deleted file mode 100644 index bbc2dd58da..0000000000 --- a/materialized/ghc928/hadrian-ghc96/hadrian/cabal-files/primitive.nix +++ /dev/null @@ -1,73 +0,0 @@ -{ system - , compiler - , flags - , pkgs - , hsPkgs - , pkgconfPkgs - , errorHandler - , config - , ... }: - ({ - flags = {}; - package = { - specVersion = "2.0"; - identifier = { name = "primitive"; version = "0.8.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.8.0.0.tar.gz"; - sha256 = "5553c21b4a789f9b591eed69e598cc58484c274af29250e517b5a8bcc62b995f"; - }); - }) // { - package-description-override = "Cabal-Version: 2.0\nName: primitive\nVersion: 0.8.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\n Build-Depends: base >= 4.9 && < 4.19\n , deepseq >= 1.1 && < 1.5\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/ghc928/hadrian-ghc96/hadrian/cabal-files/random.nix b/materialized/ghc928/hadrian-ghc96/hadrian/cabal-files/random.nix deleted file mode 100644 index c2f8f753b4..0000000000 --- a/materialized/ghc928/hadrian-ghc96/hadrian/cabal-files/random.nix +++ /dev/null @@ -1,113 +0,0 @@ -{ 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\nname: random\nversion: 1.2.1.1\nlicense: BSD3\nlicense-file: LICENSE\nmaintainer: core-libraries-committee@haskell.org\nbug-reports: https://github.com/haskell/random/issues\nsynopsis: Pseudo-random number generation\ndescription:\n This package provides basic pseudo-random number generation, including the\n ability to split random number generators.\n .\n == \"System.Random\": pure pseudo-random number interface\n .\n In pure code, use 'System.Random.uniform' and 'System.Random.uniformR' from\n \"System.Random\" to generate pseudo-random numbers with a pure pseudo-random\n number generator like 'System.Random.StdGen'.\n .\n As 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 .\n See \"System.Random\" for more details.\n .\n == \"System.Random.Stateful\": monadic pseudo-random number interface\n .\n In monadic code, use 'System.Random.Stateful.uniformM' and\n 'System.Random.Stateful.uniformRM' from \"System.Random.Stateful\" to generate\n pseudo-random numbers with a monadic pseudo-random number generator, or\n using a monadic adapter.\n .\n As 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 .\n The monadic adapter 'System.Random.Stateful.runStateGen_' is used here to lift\n the pure pseudo-random number generator @pureGen@ into the\n 'System.Random.Stateful.StatefulGen' context.\n .\n The monadic interface can also be used with existing monadic pseudo-random\n number 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 .\n See \"System.Random.Stateful\" for more details.\n\ncategory: System\nbuild-type: Simple\nextra-source-files:\n README.md\n CHANGELOG.md\ntested-with: GHC == 7.10.2\n , GHC == 7.10.3\n , GHC == 8.0.2\n , GHC == 8.2.2\n , GHC == 8.4.3\n , GHC == 8.4.4\n , GHC == 8.6.3\n , GHC == 8.6.4\n , GHC == 8.6.5\n , GHC == 8.8.1\n , GHC == 8.8.2\n , GHC == 8.10.1\n\nsource-repository head\n type: git\n location: https://github.com/haskell/random.git\n\n\nlibrary\n exposed-modules:\n System.Random\n System.Random.Internal\n System.Random.Stateful\n other-modules:\n System.Random.GFinite\n\n hs-source-dirs: src\n default-language: Haskell2010\n ghc-options:\n -Wall\n if impl(ghc >= 8.0)\n ghc-options:\n -Wincomplete-record-updates -Wincomplete-uni-patterns\n\n build-depends:\n base >=4.8 && <5,\n bytestring >=0.10.4 && <0.12,\n deepseq >=1.1 && <2,\n mtl >=2.2 && <2.4,\n splitmix >=0.1 && <0.2\n if impl(ghc < 8.0)\n build-depends:\n transformers\n\ntest-suite legacy-test\n type: exitcode-stdio-1.0\n main-is: Legacy.hs\n hs-source-dirs: test-legacy\n other-modules:\n T7936\n TestRandomIOs\n TestRandomRs\n Random1283\n RangeTest\n\n default-language: Haskell2010\n ghc-options: -with-rtsopts=-M8M\n if impl(ghc >= 8.0)\n ghc-options:\n -Wno-deprecations\n build-depends:\n base,\n containers >=0.5 && <0.7,\n random\n\ntest-suite doctests\n type: exitcode-stdio-1.0\n main-is: doctests.hs\n hs-source-dirs: test\n default-language: Haskell2010\n build-depends:\n base,\n doctest >=0.15 && <0.21\n if impl(ghc >= 8.2) && impl(ghc < 8.10)\n build-depends:\n mwc-random >=0.13 && <0.16,\n primitive >=0.6 && <0.8,\n random,\n stm,\n unliftio >=0.2 && <0.3,\n vector >= 0.10 && <0.14\n\ntest-suite spec\n type: exitcode-stdio-1.0\n main-is: Spec.hs\n hs-source-dirs: test\n other-modules:\n Spec.Range\n Spec.Run\n Spec.Stateful\n\n default-language: Haskell2010\n ghc-options: -Wall\n build-depends:\n base,\n bytestring,\n random,\n smallcheck >=1.2 && <1.3,\n stm,\n tasty >=1.0 && <1.5,\n tasty-smallcheck >=0.8 && <0.9,\n tasty-hunit >=0.10 && <0.11,\n transformers\n\n-- Note. Fails when compiled with coverage:\n-- https://github.com/haskell/random/issues/107\ntest-suite spec-inspection\n type: exitcode-stdio-1.0\n main-is: Spec.hs\n hs-source-dirs: test-inspection\n build-depends:\n\n default-language: Haskell2010\n ghc-options: -Wall\n build-depends:\n base,\n random,\n tasty >=1.0 && <1.5\n if impl(ghc >= 8.0)\n build-depends:\n tasty-inspection-testing\n other-modules:\n Spec.Inspection\n\nbenchmark legacy-bench\n type: exitcode-stdio-1.0\n main-is: SimpleRNGBench.hs\n hs-source-dirs: bench-legacy\n other-modules: BinSearch\n default-language: Haskell2010\n ghc-options:\n -Wall -O2 -threaded -rtsopts -with-rtsopts=-N\n if impl(ghc >= 8.0)\n ghc-options:\n -Wno-deprecations\n\n build-depends:\n base,\n random,\n rdtsc,\n split >=0.2 && <0.3,\n time >=1.4 && <1.13\n\nbenchmark bench\n type: exitcode-stdio-1.0\n main-is: Main.hs\n hs-source-dirs: bench\n default-language: Haskell2010\n ghc-options: -Wall -O2\n build-depends:\n base,\n mtl,\n primitive >= 0.7.1,\n random,\n splitmix >=0.1 && <0.2,\n tasty-bench\n"; - } \ No newline at end of file diff --git a/materialized/ghc928/hadrian-ghc96/hadrian/cabal-files/shake.nix b/materialized/ghc928/hadrian-ghc96/hadrian/cabal-files/shake.nix deleted file mode 100644 index e7eb5c6647..0000000000 --- a/materialized/ghc928/hadrian-ghc96/hadrian/cabal-files/shake.nix +++ /dev/null @@ -1,132 +0,0 @@ -{ 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/ghc928/hadrian-ghc96/hadrian/cabal-files/splitmix.nix b/materialized/ghc928/hadrian-ghc96/hadrian/cabal-files/splitmix.nix deleted file mode 100644 index 7918d356b1..0000000000 --- a/materialized/ghc928/hadrian-ghc96/hadrian/cabal-files/splitmix.nix +++ /dev/null @@ -1,140 +0,0 @@ -{ system - , compiler - , flags - , pkgs - , hsPkgs - , pkgconfPkgs - , errorHandler - , config - , ... }: - ({ - flags = { optimised-mixer = false; }; - package = { - specVersion = "1.10"; - identifier = { name = "splitmix"; version = "0.1.0.4"; }; - 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."clock" or (errorHandler.buildDepError "clock")) - (hsPkgs."random" or (errorHandler.buildDepError "random")) - (hsPkgs."splitmix" or (errorHandler.buildDepError "splitmix")) - ]; - buildable = true; - }; - }; - }; - } // { - src = (pkgs.lib).mkDefault (pkgs.fetchurl { - url = "http://hackage.haskell.org/package/splitmix-0.1.0.4.tar.gz"; - sha256 = "6d065402394e7a9117093dbb4530a21342c9b1e2ec509516c8a8d0ffed98ecaa"; - }); - }) // { - package-description-override = "cabal-version: >=1.10\nname: splitmix\nversion: 0.1.0.4\nx-revision: 2\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.5\n || ==9.4.4\n || ==9.6.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.19\n , deepseq >=1.3.0.0 && <1.5\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.6\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 , clock >=0.8 && <0.9\n , random\n , splitmix\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.13\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.13\n , bytestring >=0.9.1.8 && <0.12\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.13\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.13\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/ghc928/hadrian-ghc96/hadrian/cabal-files/unordered-containers.nix b/materialized/ghc928/hadrian-ghc96/hadrian/cabal-files/unordered-containers.nix deleted file mode 100644 index ab6a9d8c44..0000000000 --- a/materialized/ghc928/hadrian-ghc96/hadrian/cabal-files/unordered-containers.nix +++ /dev/null @@ -1,78 +0,0 @@ -{ 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\r\nversion: 0.2.19.1\r\nx-revision: 2\r\nsynopsis: Efficient hashing-based container types\r\ndescription:\r\n Efficient hashing-based container types. The containers have been\r\n optimized for performance critical use, both in terms of large data\r\n quantities and high speed.\r\n .\r\n The declared cost of each operation is either worst-case or\r\n amortized, but remains valid even if structures are shared.\r\n .\r\n /Security/\r\n .\r\n This package currently provides no defenses against hash collision attacks\r\n such as HashDoS.\r\n Users who need to store input from untrusted sources are advised to use\r\n @Data.Map@ or @Data.Set@ from the @containers@ package instead.\r\nlicense: BSD3\r\nlicense-file: LICENSE\r\nauthor: Johan Tibell\r\nmaintainer: simon.jakobi@gmail.com, David.Feuer@gmail.com\r\nHomepage: https://github.com/haskell-unordered-containers/unordered-containers\r\nbug-reports: https://github.com/haskell-unordered-containers/unordered-containers/issues\r\ncopyright: 2010-2014 Johan Tibell\r\n 2010 Edward Z. Yang\r\ncategory: Data\r\nbuild-type: Simple\r\ncabal-version: >=1.10\r\nextra-source-files: CHANGES.md\r\n\r\ntested-with:\r\n GHC ==9.6.1\r\n || ==9.4.4\r\n || ==9.2.7\r\n || ==9.0.2\r\n || ==8.10.7\r\n || ==8.8.4\r\n || ==8.6.5\r\n || ==8.4.4\r\n || ==8.2.2\r\n\r\nflag debug\r\n description: Enable debug support\r\n default: False\r\n\r\nlibrary\r\n exposed-modules:\r\n Data.HashMap.Internal\r\n Data.HashMap.Internal.Array\r\n Data.HashMap.Internal.List\r\n Data.HashMap.Internal.Strict\r\n Data.HashMap.Lazy\r\n Data.HashMap.Strict\r\n Data.HashSet\r\n Data.HashSet.Internal\r\n\r\n build-depends:\r\n base >= 4.10 && < 5,\r\n deepseq >= 1.4.3,\r\n hashable >= 1.2.5 && < 1.5,\r\n template-haskell < 2.21\r\n\r\n default-language: Haskell2010\r\n\r\n other-extensions:\r\n RoleAnnotations,\r\n UnboxedTuples,\r\n ScopedTypeVariables,\r\n MagicHash,\r\n BangPatterns\r\n\r\n ghc-options: -Wall -O2 -fwarn-tabs -ferror-spans\r\n\r\n -- For dumping the generated code:\r\n -- ghc-options: -ddump-simpl -ddump-stg-final -ddump-cmm -ddump-asm -ddump-to-file\r\n -- ghc-options: -dsuppress-coercions -dsuppress-unfoldings -dsuppress-module-prefixes\r\n -- ghc-options: -dsuppress-uniques -dsuppress-timestamps\r\n\r\n if flag(debug)\r\n cpp-options: -DASSERTS\r\n\r\ntest-suite unordered-containers-tests\r\n hs-source-dirs: tests\r\n main-is: Main.hs\r\n type: exitcode-stdio-1.0\r\n other-modules:\r\n Regressions\r\n Properties\r\n Properties.HashMapLazy\r\n Properties.HashMapStrict\r\n Properties.HashSet\r\n Properties.List\r\n Strictness\r\n\r\n build-depends:\r\n base,\r\n ChasingBottoms,\r\n containers >= 0.5.8,\r\n hashable,\r\n HUnit,\r\n QuickCheck >= 2.4.0.1,\r\n random,\r\n tasty >= 1.4.0.3,\r\n tasty-hunit >= 0.10.0.3,\r\n tasty-quickcheck >= 0.10.1.2,\r\n unordered-containers\r\n\r\n if impl(ghc >= 8.6)\r\n build-depends:\r\n nothunks >= 0.1.3\r\n\r\n default-language: Haskell2010\r\n ghc-options: -Wall\r\n cpp-options: -DASSERTS\r\n\r\nbenchmark benchmarks\r\n hs-source-dirs: benchmarks\r\n main-is: Benchmarks.hs\r\n type: exitcode-stdio-1.0\r\n\r\n other-modules:\r\n Util.ByteString\r\n Util.String\r\n Util.Int\r\n\r\n build-depends:\r\n base,\r\n bytestring >= 0.10.0.0,\r\n containers,\r\n deepseq,\r\n hashable,\r\n hashmap,\r\n mtl,\r\n random,\r\n tasty-bench >= 0.3.1,\r\n unordered-containers\r\n\r\n default-language: Haskell2010\r\n ghc-options: -Wall -O2 -rtsopts -with-rtsopts=-A32m\r\n if impl(ghc >= 8.10)\r\n ghc-options: \"-with-rtsopts=-A32m --nonmoving-gc\"\r\n -- cpp-options: -DBENCH_containers_Map -DBENCH_containers_IntMap -DBENCH_hashmap_Map\r\n\r\nsource-repository head\r\n type: git\r\n location: https://github.com/haskell-unordered-containers/unordered-containers.git\r\n"; - } \ No newline at end of file diff --git a/materialized/ghc928/hadrian-ghc96/hadrian/cabal-files/utf8-string.nix b/materialized/ghc928/hadrian-ghc96/hadrian/cabal-files/utf8-string.nix deleted file mode 100644 index ac9bde4057..0000000000 --- a/materialized/ghc928/hadrian-ghc96/hadrian/cabal-files/utf8-string.nix +++ /dev/null @@ -1,51 +0,0 @@ -{ 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/ghc928/hadrian-ghc96/hadrian/default.nix b/materialized/ghc928/hadrian-ghc96/hadrian/default.nix deleted file mode 100644 index 0299417c22..0000000000 --- a/materialized/ghc928/hadrian-ghc96/hadrian/default.nix +++ /dev/null @@ -1,143 +0,0 @@ -{ - pkgs = hackage: - { - packages = { - bytestring.revision = (((hackage.bytestring)."0.11.4.0").revisions).default; - directory.revision = (((hackage.directory)."1.3.6.2").revisions).default; - filepath.revision = (((hackage.filepath)."1.4.2.2").revisions).default; - mtl.revision = (((hackage.mtl)."2.2.2").revisions).default; - ghc-bignum.revision = (((hackage.ghc-bignum)."1.2").revisions).default; - ghc-prim.revision = (((hackage.ghc-prim)."0.8.0").revisions).default; - parsec.revision = (((hackage.parsec)."3.1.15.0").revisions).default; - js-flot.revision = import ./cabal-files/js-flot.nix; - utf8-string.revision = import ./cabal-files/utf8-string.nix; - Cabal.revision = (((hackage.Cabal)."3.6.3.0").revisions).default; - splitmix.revision = import ./cabal-files/splitmix.nix; - splitmix.flags.optimised-mixer = false; - containers.revision = (((hackage.containers)."0.6.5.1").revisions).default; - clock.revision = import ./cabal-files/clock.nix; - clock.flags.llvm = false; - heaps.revision = import ./cabal-files/heaps.nix; - base.revision = (((hackage.base)."4.16.4.0").revisions).default; - time.revision = (((hackage.time)."1.11.1.1").revisions).default; - random.revision = import ./cabal-files/random.nix; - primitive.revision = import ./cabal-files/primitive.nix; - deepseq.revision = (((hackage.deepseq)."1.4.6.1").revisions).default; - js-jquery.revision = import ./cabal-files/js-jquery.nix; - js-dgtable.revision = import ./cabal-files/js-dgtable.nix; - rts.revision = (((hackage.rts)."1.0.2").revisions).default; - template-haskell.revision = (((hackage.template-haskell)."2.18.0.0").revisions).default; - binary.revision = (((hackage.binary)."0.8.9.0").revisions).default; - shake.revision = import ./cabal-files/shake.nix; - shake.flags.portable = false; - shake.flags.cloud = false; - shake.flags.embed-files = false; - process.revision = (((hackage.process)."1.6.16.0").revisions).default; - unix.revision = (((hackage.unix)."2.7.2.2").revisions).default; - data-array-byte.revision = import ./cabal-files/data-array-byte.nix; - transformers.revision = (((hackage.transformers)."0.5.6.2").revisions).default; - unordered-containers.revision = import ./cabal-files/unordered-containers.nix; - unordered-containers.flags.debug = false; - QuickCheck.revision = import ./cabal-files/QuickCheck.nix; - QuickCheck.flags.old-random = false; - QuickCheck.flags.templatehaskell = true; - extra.revision = import ./cabal-files/extra.nix; - text.revision = (((hackage.text)."1.2.5.0").revisions).default; - array.revision = (((hackage.array)."0.5.4.0").revisions).default; - ghc-boot-th.revision = (((hackage.ghc-boot-th)."9.2.8").revisions).default; - filepattern.revision = import ./cabal-files/filepattern.nix; - 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; - }; - compiler = { - version = "9.2.8"; - nix-name = "ghc928"; - packages = { - "pretty" = "1.1.3.6"; - "text" = "1.2.5.0"; - "array" = "0.5.4.0"; - "Cabal" = "3.6.3.0"; - "mtl" = "2.2.2"; - "parsec" = "3.1.15.0"; - "bytestring" = "0.11.4.0"; - "filepath" = "1.4.2.2"; - "ghc-prim" = "0.8.0"; - "ghc-boot-th" = "9.2.8"; - "base" = "4.16.4.0"; - "time" = "1.11.1.1"; - "process" = "1.6.16.0"; - "ghc-bignum" = "1.2"; - "directory" = "1.3.6.2"; - "rts" = "1.0.2"; - "transformers" = "0.5.6.2"; - "template-haskell" = "2.18.0.0"; - "deepseq" = "1.4.6.1"; - "unix" = "2.7.2.2"; - "binary" = "0.8.9.0"; - "containers" = "0.6.5.1"; - }; - }; - }; - extras = hackage: - { packages = { hadrian = ./.plan.nix/hadrian.nix; }; }; - modules = [ - ({ lib, ... }: - { - packages = { - "hadrian" = { - flags = { - "threaded" = lib.mkOverride 900 true; - "selftest" = lib.mkOverride 900 true; - }; - }; - }; - }) - ({ lib, ... }: - { - packages = { - "shake".components.library.planned = lib.mkOverride 900 true; - "heaps".components.library.planned = lib.mkOverride 900 true; - "extra".components.library.planned = lib.mkOverride 900 true; - "filepath".components.library.planned = lib.mkOverride 900 true; - "pretty".components.library.planned = lib.mkOverride 900 true; - "utf8-string".components.library.planned = lib.mkOverride 900 true; - "Cabal".components.library.planned = lib.mkOverride 900 true; - "bytestring".components.library.planned = lib.mkOverride 900 true; - "ghc-prim".components.library.planned = lib.mkOverride 900 true; - "array".components.library.planned = lib.mkOverride 900 true; - "binary".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; - "splitmix".components.library.planned = lib.mkOverride 900 true; - "rts".components.library.planned = lib.mkOverride 900 true; - "unix".components.library.planned = lib.mkOverride 900 true; - "shake".components.exes."shake".planned = lib.mkOverride 900 true; - "directory".components.library.planned = lib.mkOverride 900 true; - "time".components.library.planned = lib.mkOverride 900 true; - "js-flot".components.library.planned = lib.mkOverride 900 true; - "ghc-bignum".components.library.planned = lib.mkOverride 900 true; - "data-array-byte".components.library.planned = lib.mkOverride 900 true; - "process".components.library.planned = lib.mkOverride 900 true; - "clock".components.library.planned = lib.mkOverride 900 true; - "template-haskell".components.library.planned = lib.mkOverride 900 true; - "hadrian".components.exes."hadrian".planned = lib.mkOverride 900 true; - "QuickCheck".components.library.planned = lib.mkOverride 900 true; - "mtl".components.library.planned = lib.mkOverride 900 true; - "transformers".components.library.planned = lib.mkOverride 900 true; - "parsec".components.library.planned = lib.mkOverride 900 true; - "deepseq".components.library.planned = lib.mkOverride 900 true; - "primitive".components.library.planned = lib.mkOverride 900 true; - "js-jquery".components.library.planned = lib.mkOverride 900 true; - "text".components.library.planned = lib.mkOverride 900 true; - "unordered-containers".components.library.planned = lib.mkOverride 900 true; - "random".components.library.planned = lib.mkOverride 900 true; - "base".components.library.planned = lib.mkOverride 900 true; - "containers".components.library.planned = lib.mkOverride 900 true; - "js-dgtable".components.library.planned = lib.mkOverride 900 true; - "hashable".components.library.planned = lib.mkOverride 900 true; - }; - }) - ]; - } \ No newline at end of file diff --git a/materialized/ghc928/hadrian-ghc98/hadrian/.plan.nix/hadrian.nix b/materialized/ghc928/hadrian-ghc98/hadrian/.plan.nix/hadrian.nix deleted file mode 100644 index 9c366cea6d..0000000000 --- a/materialized/ghc928/hadrian-ghc98/hadrian/.plan.nix/hadrian.nix +++ /dev/null @@ -1,165 +0,0 @@ -{ 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")) - (hsPkgs."cryptohash-sha256" or (errorHandler.buildDepError "cryptohash-sha256")) - (hsPkgs."base16-bytestring" or (errorHandler.buildDepError "base16-bytestring")) - ] ++ (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/Hash" - "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/ghc928/hadrian-ghc98/hadrian/cabal-files/QuickCheck.nix b/materialized/ghc928/hadrian-ghc98/hadrian/cabal-files/QuickCheck.nix deleted file mode 100644 index 31390ca93b..0000000000 --- a/materialized/ghc928/hadrian-ghc98/hadrian/cabal-files/QuickCheck.nix +++ /dev/null @@ -1,119 +0,0 @@ -{ 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/ghc928/hadrian-ghc98/hadrian/cabal-files/base16-bytestring.nix b/materialized/ghc928/hadrian-ghc98/hadrian/cabal-files/base16-bytestring.nix deleted file mode 100644 index 31d3b31c55..0000000000 --- a/materialized/ghc928/hadrian-ghc98/hadrian/cabal-files/base16-bytestring.nix +++ /dev/null @@ -1,68 +0,0 @@ -{ system - , compiler - , flags - , pkgs - , hsPkgs - , pkgconfPkgs - , errorHandler - , config - , ... }: - ({ - flags = {}; - package = { - specVersion = "1.12"; - identifier = { name = "base16-bytestring"; version = "1.0.2.0"; }; - license = "BSD-3-Clause"; - copyright = "Copyright 2011 MailRank, Inc.;\nCopyright 2010-2020 Bryan O'Sullivan et al."; - maintainer = "Herbert Valerio Riedel ,\nMikhail Glushenkov ,\nEmily Pillmore "; - author = "Bryan O'Sullivan "; - homepage = "http://github.com/haskell/base16-bytestring"; - url = ""; - synopsis = "RFC 4648-compliant Base16 encodings for ByteStrings"; - description = "This package provides support for encoding and decoding binary data according\nto @base16@ (see also ) for\nstrict (see \"Data.ByteString.Base16\") and lazy @ByteString@s (see \"Data.ByteString.Base16.Lazy\").\n\nSee the package which provides superior encoding and decoding performance as well as support for lazy, short, and strict variants of 'Text' and 'ByteString' values. Additionally, see the package which\nprovides an uniform API providing conversion paths between more binary and textual types."; - buildType = "Simple"; - }; - components = { - "library" = { - depends = [ - (hsPkgs."base" or (errorHandler.buildDepError "base")) - (hsPkgs."bytestring" or (errorHandler.buildDepError "bytestring")) - ]; - buildable = true; - }; - tests = { - "test" = { - depends = [ - (hsPkgs."base" or (errorHandler.buildDepError "base")) - (hsPkgs."base16-bytestring" or (errorHandler.buildDepError "base16-bytestring")) - (hsPkgs."bytestring" or (errorHandler.buildDepError "bytestring")) - (hsPkgs."HUnit" or (errorHandler.buildDepError "HUnit")) - (hsPkgs."QuickCheck" or (errorHandler.buildDepError "QuickCheck")) - (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")) - ]; - buildable = true; - }; - }; - benchmarks = { - "bench" = { - depends = [ - (hsPkgs."base" or (errorHandler.buildDepError "base")) - (hsPkgs."base16-bytestring" or (errorHandler.buildDepError "base16-bytestring")) - (hsPkgs."bytestring" or (errorHandler.buildDepError "bytestring")) - (hsPkgs."criterion" or (errorHandler.buildDepError "criterion")) - (hsPkgs."deepseq" or (errorHandler.buildDepError "deepseq")) - ]; - buildable = true; - }; - }; - }; - } // { - src = (pkgs.lib).mkDefault (pkgs.fetchurl { - url = "http://hackage.haskell.org/package/base16-bytestring-1.0.2.0.tar.gz"; - sha256 = "1d5a91143ef0e22157536093ec8e59d226a68220ec89378d5dcaeea86472c784"; - }); - }) // { - package-description-override = "cabal-version: 1.12\nname: base16-bytestring\nversion: 1.0.2.0\nsynopsis: RFC 4648-compliant Base16 encodings for ByteStrings\ndescription:\n This package provides support for encoding and decoding binary data according\n to @base16@ (see also ) for\n strict (see \"Data.ByteString.Base16\") and lazy @ByteString@s (see \"Data.ByteString.Base16.Lazy\").\n .\n See the package which provides superior encoding and decoding performance as well as support for lazy, short, and strict variants of 'Text' and 'ByteString' values. Additionally, see the package which\n provides an uniform API providing conversion paths between more binary and textual types.\n\nhomepage: http://github.com/haskell/base16-bytestring\nbug-reports: http://github.com/haskell/base16-bytestring/issues\nlicense: BSD3\nlicense-file: LICENSE\ncopyright:\n Copyright 2011 MailRank, Inc.;\n Copyright 2010-2020 Bryan O'Sullivan et al.\n\nauthor: Bryan O'Sullivan \nmaintainer:\n Herbert Valerio Riedel ,\n Mikhail Glushenkov ,\n Emily Pillmore \n\ncategory: Data\nbuild-type: Simple\nextra-source-files:\n README.md\n CHANGELOG.md\n\ntested-with:\n GHC ==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.1\n\nsource-repository head\n type: git\n location: http://github.com/haskell/base16-bytestring\n\nlibrary\n other-modules: Data.ByteString.Base16.Internal\n exposed-modules:\n Data.ByteString.Base16\n Data.ByteString.Base16.Lazy\n\n build-depends:\n base >=4.9 && <5\n , bytestring >=0.9 && <0.12\n\n ghc-options: -Wall -funbox-strict-fields\n default-language: Haskell2010\n\ntest-suite test\n type: exitcode-stdio-1.0\n hs-source-dirs: tests\n main-is: Tests.hs\n build-depends:\n base\n , base16-bytestring\n , bytestring\n , HUnit\n , QuickCheck\n , test-framework\n , test-framework-hunit\n , test-framework-quickcheck2\n\n default-language: Haskell2010\n\nbenchmark bench\n type: exitcode-stdio-1.0\n hs-source-dirs: benchmarks\n main-is: Benchmarks.hs\n build-depends:\n base >=4 && <5\n , base16-bytestring\n , bytestring\n , criterion\n , deepseq\n\n default-language: Haskell2010\n"; - } \ No newline at end of file diff --git a/materialized/ghc928/hadrian-ghc98/hadrian/cabal-files/clock.nix b/materialized/ghc928/hadrian-ghc98/hadrian/cabal-files/clock.nix deleted file mode 100644 index de66c1339a..0000000000 --- a/materialized/ghc928/hadrian-ghc98/hadrian/cabal-files/clock.nix +++ /dev/null @@ -1,59 +0,0 @@ -{ system - , compiler - , flags - , pkgs - , hsPkgs - , pkgconfPkgs - , errorHandler - , config - , ... }: - ({ - flags = { llvm = false; }; - package = { - specVersion = "1.10"; - identifier = { name = "clock"; version = "0.8.3"; }; - license = "BSD-3-Clause"; - copyright = "Copyright © Cetin Sert 2009-2016, 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 , Corsis Research"; - author = "Cetin Sert , Corsis Research"; - 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.3.tar.gz"; - sha256 = "845ce5db4c98cefd517323e005f87effceff886987305e421c4ef616dc0505d1"; - }); - }) // { - package-description-override = "cabal-version: >= 1.10\nname: clock\nversion: 0.8.3\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-2016, 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 , Corsis Research\nmaintainer: Cetin Sert , Corsis Research\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.2.1\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: git://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/ghc928/hadrian-ghc98/hadrian/cabal-files/cryptohash-sha256.nix b/materialized/ghc928/hadrian-ghc98/hadrian/cabal-files/cryptohash-sha256.nix deleted file mode 100644 index 5d4a3157f0..0000000000 --- a/materialized/ghc928/hadrian-ghc98/hadrian/cabal-files/cryptohash-sha256.nix +++ /dev/null @@ -1,84 +0,0 @@ -{ system - , compiler - , flags - , pkgs - , hsPkgs - , pkgconfPkgs - , errorHandler - , config - , ... }: - ({ - flags = { exe = false; use-cbits = true; }; - package = { - specVersion = "2.0"; - identifier = { name = "cryptohash-sha256"; version = "0.11.102.1"; }; - license = "BSD-3-Clause"; - copyright = "Vincent Hanquez, Herbert Valerio Riedel"; - maintainer = "Herbert Valerio Riedel "; - author = ""; - homepage = "https://github.com/hvr/cryptohash-sha256"; - url = ""; - synopsis = "Fast, pure and practical SHA-256 implementation"; - description = "A practical incremental and one-pass, pure API to\nthe [SHA-256 cryptographic hash algorithm](https://en.wikipedia.org/wiki/SHA-2) according\nto [FIPS 180-4](http://dx.doi.org/10.6028/NIST.FIPS.180-4)\nwith performance close to the fastest implementations available in other languages.\n\nThe core SHA-256 algorithm is implemented in C and is thus expected\nto be as fast as the standard [sha256sum(1) tool](https://linux.die.net/man/1/sha256sum);\nfor instance, on an /Intel Core i7-3770/ at 3.40GHz this implementation can\ncompute a SHA-256 hash over 230 MiB of data in under one second.\n(If, instead, you require a pure Haskell implementation and performance is secondary, please refer to the [SHA package](https://hackage.haskell.org/package/SHA).)\n\n\nAdditionally, this package provides support for\n\n- HMAC-SHA-256: SHA-256-based [Hashed Message Authentication Codes](https://en.wikipedia.org/wiki/HMAC) (HMAC)\n- HKDF-SHA-256: [HMAC-SHA-256-based Key Derivation Function](https://en.wikipedia.org/wiki/HKDF) (HKDF)\n\nconforming to [RFC6234](https://tools.ietf.org/html/rfc6234), [RFC4231](https://tools.ietf.org/html/rfc4231), [RFC5869](https://tools.ietf.org/html/rfc5869), et al..\n\n=== Relationship to the @cryptohash@ package and its API\n\nThis package has been originally a fork of @cryptohash-0.11.7@ because the @cryptohash@\npackage had been deprecated and so this package continues to satisfy the need for a\nlightweight package providing the SHA-256 hash algorithm without any dependencies on packages\nother than @base@ and @bytestring@. The API exposed by @cryptohash-sha256-0.11.*@'s\n\"Crypto.Hash.SHA256\" module is guaranteed to remain a compatible superset of the API provided\nby the @cryptohash-0.11.7@'s module of the same name.\n\nConsequently, this package is designed to be used as a drop-in replacement for @cryptohash-0.11.7@'s\n\"Crypto.Hash.SHA256\" module, though with\na [clearly smaller footprint by almost 3 orders of magnitude](https://www.reddit.com/r/haskell/comments/5lxv75/psa_please_use_unique_module_names_when_uploading/dbzegx3/)."; - buildType = "Simple"; - }; - components = { - "library" = { - depends = [ - (hsPkgs."base" or (errorHandler.buildDepError "base")) - ] ++ (if flags.use-cbits - then [ - (hsPkgs."bytestring" or (errorHandler.buildDepError "bytestring")) - ] - else [ - (hsPkgs."cryptohash-sha256-pure" or (errorHandler.buildDepError "cryptohash-sha256-pure")) - ]); - buildable = true; - }; - exes = { - "sha256sum" = { - depends = (pkgs.lib).optionals (flags.exe) [ - (hsPkgs."cryptohash-sha256" or (errorHandler.buildDepError "cryptohash-sha256")) - (hsPkgs."base" or (errorHandler.buildDepError "base")) - (hsPkgs."bytestring" or (errorHandler.buildDepError "bytestring")) - (hsPkgs."base16-bytestring" or (errorHandler.buildDepError "base16-bytestring")) - ]; - buildable = if flags.exe then true else false; - }; - }; - tests = { - "test-sha256" = { - depends = [ - (hsPkgs."cryptohash-sha256" or (errorHandler.buildDepError "cryptohash-sha256")) - (hsPkgs."base" or (errorHandler.buildDepError "base")) - (hsPkgs."bytestring" or (errorHandler.buildDepError "bytestring")) - (hsPkgs."base16-bytestring" or (errorHandler.buildDepError "base16-bytestring")) - (hsPkgs."SHA" or (errorHandler.buildDepError "SHA")) - (hsPkgs."tasty" or (errorHandler.buildDepError "tasty")) - (hsPkgs."tasty-quickcheck" or (errorHandler.buildDepError "tasty-quickcheck")) - (hsPkgs."tasty-hunit" or (errorHandler.buildDepError "tasty-hunit")) - ]; - buildable = true; - }; - }; - benchmarks = { - "bench-sha256" = { - depends = [ - (hsPkgs."cryptohash-sha256" or (errorHandler.buildDepError "cryptohash-sha256")) - (hsPkgs."SHA" or (errorHandler.buildDepError "SHA")) - (hsPkgs."base" or (errorHandler.buildDepError "base")) - (hsPkgs."bytestring" or (errorHandler.buildDepError "bytestring")) - (hsPkgs."criterion" or (errorHandler.buildDepError "criterion")) - ]; - buildable = true; - }; - }; - }; - } // { - src = (pkgs.lib).mkDefault (pkgs.fetchurl { - url = "http://hackage.haskell.org/package/cryptohash-sha256-0.11.102.1.tar.gz"; - sha256 = "73a7dc7163871a80837495039a099967b11f5c4fe70a118277842f7a713c6bf6"; - }); - }) // { - package-description-override = "cabal-version: 2.0\nname: cryptohash-sha256\nversion: 0.11.102.1\nx-revision: 2\n\nsynopsis: Fast, pure and practical SHA-256 implementation\ndescription: {\n\nA practical incremental and one-pass, pure API to\nthe [SHA-256 cryptographic hash algorithm](https://en.wikipedia.org/wiki/SHA-2) according\nto [FIPS 180-4](http://dx.doi.org/10.6028/NIST.FIPS.180-4)\nwith performance close to the fastest implementations available in other languages.\n.\nThe core SHA-256 algorithm is implemented in C and is thus expected\nto be as fast as the standard [sha256sum(1) tool](https://linux.die.net/man/1/sha256sum);\nfor instance, on an /Intel Core i7-3770/ at 3.40GHz this implementation can\ncompute a SHA-256 hash over 230 MiB of data in under one second.\n(If, instead, you require a pure Haskell implementation and performance is secondary, please refer to the [SHA package](https://hackage.haskell.org/package/SHA).)\n.\n\n.\nAdditionally, this package provides support for\n.\n- HMAC-SHA-256: SHA-256-based [Hashed Message Authentication Codes](https://en.wikipedia.org/wiki/HMAC) (HMAC)\n- HKDF-SHA-256: [HMAC-SHA-256-based Key Derivation Function](https://en.wikipedia.org/wiki/HKDF) (HKDF)\n.\nconforming to [RFC6234](https://tools.ietf.org/html/rfc6234), [RFC4231](https://tools.ietf.org/html/rfc4231), [RFC5869](https://tools.ietf.org/html/rfc5869), et al..\n.\n=== Relationship to the @cryptohash@ package and its API\n.\nThis package has been originally a fork of @cryptohash-0.11.7@ because the @cryptohash@\npackage had been deprecated and so this package continues to satisfy the need for a\nlightweight package providing the SHA-256 hash algorithm without any dependencies on packages\nother than @base@ and @bytestring@. The API exposed by @cryptohash-sha256-0.11.*@'s\n\"Crypto.Hash.SHA256\" module is guaranteed to remain a compatible superset of the API provided\nby the @cryptohash-0.11.7@'s module of the same name.\n.\nConsequently, this package is designed to be used as a drop-in replacement for @cryptohash-0.11.7@'s\n\"Crypto.Hash.SHA256\" module, though with\na [clearly smaller footprint by almost 3 orders of magnitude](https://www.reddit.com/r/haskell/comments/5lxv75/psa_please_use_unique_module_names_when_uploading/dbzegx3/).\n\n}\n\nlicense: BSD3\nlicense-file: LICENSE\ncopyright: Vincent Hanquez, Herbert Valerio Riedel\nmaintainer: Herbert Valerio Riedel \nhomepage: https://github.com/hvr/cryptohash-sha256\nbug-reports: https://github.com/hvr/cryptohash-sha256/issues\ncategory: Data, Cryptography\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 GHC == 7.6.3\n GHC == 7.4.2\n\nextra-source-files: cbits/hs_sha256.h\n changelog.md\n\nsource-repository head\n type: git\n location: https://github.com/hvr/cryptohash-sha256.git\n\nflag exe\n description: Enable building @sha256sum@ executable\n manual: True\n default: False\n\nflag use-cbits\n description: Use fast optimized C routines via FFI; if flag is disabled falls back to non-FFI Haskell optimized implementation.\n manual: True\n default: True\n\nlibrary\n default-language: Haskell2010\n\n ghc-options: -Wall\n\n build-depends: base >= 4.5 && < 4.19\n\n exposed-modules: Crypto.Hash.SHA256\n\n if flag(use-cbits)\n build-depends: bytestring ^>= 0.9.2 || ^>= 0.10.0 || ^>= 0.11.0\n\n other-extensions: BangPatterns\n CApiFFI\n CPP\n Trustworthy\n Unsafe\n\n hs-source-dirs: src\n other-modules: Crypto.Hash.SHA256.FFI\n Compat\n include-dirs: cbits\n else\n hs-source-dirs: src-pure\n build-depends: cryptohash-sha256-pure ^>= 0.1.0\n\nexecutable sha256sum\n default-language: Haskell2010\n hs-source-dirs: src-exe\n main-is: sha256sum.hs\n ghc-options: -Wall -threaded\n if flag(exe)\n other-extensions: RecordWildCards\n build-depends: cryptohash-sha256\n , base\n , bytestring\n\n , base16-bytestring ^>= 0.1.1 || ^>= 1.0.0\n else\n buildable: False\n\ntest-suite test-sha256\n default-language: Haskell2010\n other-extensions: OverloadedStrings\n type: exitcode-stdio-1.0\n hs-source-dirs: src-tests\n main-is: test-sha256.hs\n ghc-options: -Wall -threaded\n build-depends: cryptohash-sha256\n , base\n , bytestring\n\n , base16-bytestring ^>= 0.1.1 || ^>= 1.0.0\n , SHA ^>= 1.6.4\n , tasty ^>= 1.4\n , tasty-quickcheck ^>= 0.10\n , tasty-hunit ^>= 0.10\n\nbenchmark bench-sha256\n default-language: Haskell2010\n other-extensions: BangPatterns\n type: exitcode-stdio-1.0\n main-is: bench-sha256.hs\n hs-source-dirs: src-bench\n build-depends: cryptohash-sha256\n , SHA ^>= 1.6.4\n , base\n , bytestring\n , criterion ^>= 1.5 || ^>=1.6\n\n -- not yet public\n -- build-depends: cryptohash-sha256-pure ^>= 0.1.0\n"; - } \ No newline at end of file diff --git a/materialized/ghc928/hadrian-ghc98/hadrian/cabal-files/data-array-byte.nix b/materialized/ghc928/hadrian-ghc98/hadrian/cabal-files/data-array-byte.nix deleted file mode 100644 index c0d9745691..0000000000 --- a/materialized/ghc928/hadrian-ghc98/hadrian/cabal-files/data-array-byte.nix +++ /dev/null @@ -1,55 +0,0 @@ -{ system - , compiler - , flags - , pkgs - , hsPkgs - , pkgconfPkgs - , errorHandler - , config - , ... }: - ({ - flags = {}; - package = { - specVersion = "1.10"; - identifier = { name = "data-array-byte"; version = "0.1.0.1"; }; - license = "BSD-3-Clause"; - copyright = "(c) Roman Leshchinskiy 2009-2012"; - maintainer = "andrew.lelechenko@gmail.com"; - author = "Roman Leshchinskiy "; - homepage = "https://github.com/Bodigrim/data-array-byte"; - url = ""; - synopsis = "Compatibility layer for Data.Array.Byte"; - description = "Compatibility layer for [Data.Array.Byte](https://hackage.haskell.org/package/base/docs/Data-Array-Byte.html), providing boxed wrappers for @ByteArray#@ and @MutableByteArray#@ and relevant instances for GHC < 9.4. Include it into your Cabal file:\n\n> build-depends: base\n> if impl(ghc < 9.4)\n> build-depends: data-array-byte\n\nand then @import Data.Array.Byte@ unconditionally."; - buildType = "Simple"; - }; - components = { - "library" = { - depends = [ - (hsPkgs."base" or (errorHandler.buildDepError "base")) - (hsPkgs."deepseq" or (errorHandler.buildDepError "deepseq")) - (hsPkgs."template-haskell" or (errorHandler.buildDepError "template-haskell")) - ]; - buildable = true; - }; - tests = { - "data-array-byte-tests" = { - depends = [ - (hsPkgs."base" or (errorHandler.buildDepError "base")) - (hsPkgs."data-array-byte" or (errorHandler.buildDepError "data-array-byte")) - (hsPkgs."quickcheck-classes-base" or (errorHandler.buildDepError "quickcheck-classes-base")) - (hsPkgs."tasty" or (errorHandler.buildDepError "tasty")) - (hsPkgs."tasty-quickcheck" or (errorHandler.buildDepError "tasty-quickcheck")) - (hsPkgs."template-haskell" or (errorHandler.buildDepError "template-haskell")) - ]; - buildable = true; - }; - }; - }; - } // { - src = (pkgs.lib).mkDefault (pkgs.fetchurl { - url = "http://hackage.haskell.org/package/data-array-byte-0.1.0.1.tar.gz"; - sha256 = "1bb6eca0b3e02d057fe7f4e14c81ef395216f421ab30fdaa1b18017c9c025600"; - }); - }) // { - package-description-override = "cabal-version: >=1.10\r\nname: data-array-byte\r\nversion: 0.1.0.1\r\nx-revision: 1\r\nlicense: BSD3\r\nlicense-file: LICENSE\r\ncopyright: (c) Roman Leshchinskiy 2009-2012\r\nmaintainer: andrew.lelechenko@gmail.com\r\nauthor: Roman Leshchinskiy \r\ntested-with:\r\n ghc ==8.0.2 ghc ==8.2.2 ghc ==8.4.4 ghc ==8.6.5 ghc ==8.8.4\r\n ghc ==8.10.7 ghc ==9.0.2 ghc ==9.2.4 ghc ==9.4.2\r\n\r\nhomepage: https://github.com/Bodigrim/data-array-byte\r\nbug-reports: https://github.com/Bodigrim/data-array-byte/issues\r\nsynopsis: Compatibility layer for Data.Array.Byte\r\ndescription:\r\n Compatibility layer for [Data.Array.Byte](https://hackage.haskell.org/package/base/docs/Data-Array-Byte.html), providing boxed wrappers for @ByteArray#@ and @MutableByteArray#@ and relevant instances for GHC < 9.4. Include it into your Cabal file:\r\n .\r\n > build-depends: base\r\n > if impl(ghc < 9.4)\r\n > build-depends: data-array-byte\r\n .\r\n and then @import Data.Array.Byte@ unconditionally.\r\n\r\ncategory: Compatibility\r\nbuild-type: Simple\r\nextra-source-files:\r\n changelog.md\r\n README.md\r\n\r\nsource-repository head\r\n type: git\r\n location: https://github.com/Bodigrim/data-array-byte\r\n\r\nlibrary\r\n default-language: Haskell2010\r\n ghc-options: -Wall\r\n build-depends:\r\n base >=4.9 && <4.19,\r\n deepseq >=1.4 && <1.5,\r\n template-haskell >=2.11 && <2.21\r\n\r\n if impl(ghc <9.4)\r\n exposed-modules: Data.Array.Byte\r\n\r\ntest-suite data-array-byte-tests\r\n type: exitcode-stdio-1.0\r\n main-is: Main.hs\r\n hs-source-dirs: test\r\n default-language: Haskell2010\r\n ghc-options: -Wall\r\n build-depends:\r\n base,\r\n data-array-byte,\r\n quickcheck-classes-base >=0.6 && <0.7,\r\n tasty >=1.4 && <1.5,\r\n tasty-quickcheck >=0.10 && <0.11,\r\n template-haskell\r\n"; - } \ No newline at end of file diff --git a/materialized/ghc928/hadrian-ghc98/hadrian/cabal-files/extra.nix b/materialized/ghc928/hadrian-ghc98/hadrian/cabal-files/extra.nix deleted file mode 100644 index 450be82c4b..0000000000 --- a/materialized/ghc928/hadrian-ghc98/hadrian/cabal-files/extra.nix +++ /dev/null @@ -1,58 +0,0 @@ -{ 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/ghc928/hadrian-ghc98/hadrian/cabal-files/filepattern.nix b/materialized/ghc928/hadrian-ghc98/hadrian/cabal-files/filepattern.nix deleted file mode 100644 index 13bbd09e88..0000000000 --- a/materialized/ghc928/hadrian-ghc98/hadrian/cabal-files/filepattern.nix +++ /dev/null @@ -1,56 +0,0 @@ -{ 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/ghc928/hadrian-ghc98/hadrian/cabal-files/hashable.nix b/materialized/ghc928/hadrian-ghc98/hadrian/cabal-files/hashable.nix deleted file mode 100644 index 288fdf7407..0000000000 --- a/materialized/ghc928/hadrian-ghc98/hadrian/cabal-files/hashable.nix +++ /dev/null @@ -1,82 +0,0 @@ -{ 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.2.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."; - 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.2.0.tar.gz"; - sha256 = "1b4000ea82b81f69d46d0af4152c10c6303873510738e24cfc4767760d30e3f8"; - }); - }) // { - package-description-override = "cabal-version: 1.12\nname: hashable\nversion: 1.4.2.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\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.5\n || ==9.4.4\n || ==9.6.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.19\n , bytestring >=0.10.8.2 && <0.12\n , containers >=0.5.10.2 && <0.7\n , deepseq >=1.4.3.0 && <1.5\n , filepath >=1.4.1.2 && <1.5\n , ghc-prim\n , text >=1.2.3.0 && <1.3 || >=2.0 && <2.1\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/ghc928/hadrian-ghc98/hadrian/cabal-files/heaps.nix b/materialized/ghc928/hadrian-ghc98/hadrian/cabal-files/heaps.nix deleted file mode 100644 index dc77aed1f4..0000000000 --- a/materialized/ghc928/hadrian-ghc98/hadrian/cabal-files/heaps.nix +++ /dev/null @@ -1,38 +0,0 @@ -{ 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/ghc928/hadrian-ghc98/hadrian/cabal-files/js-dgtable.nix b/materialized/ghc928/hadrian-ghc98/hadrian/cabal-files/js-dgtable.nix deleted file mode 100644 index 0237404c41..0000000000 --- a/materialized/ghc928/hadrian-ghc98/hadrian/cabal-files/js-dgtable.nix +++ /dev/null @@ -1,47 +0,0 @@ -{ 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/ghc928/hadrian-ghc98/hadrian/cabal-files/js-flot.nix b/materialized/ghc928/hadrian-ghc98/hadrian/cabal-files/js-flot.nix deleted file mode 100644 index ba292fc8b2..0000000000 --- a/materialized/ghc928/hadrian-ghc98/hadrian/cabal-files/js-flot.nix +++ /dev/null @@ -1,47 +0,0 @@ -{ 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/ghc928/hadrian-ghc98/hadrian/cabal-files/js-jquery.nix b/materialized/ghc928/hadrian-ghc98/hadrian/cabal-files/js-jquery.nix deleted file mode 100644 index 9ecdc931ed..0000000000 --- a/materialized/ghc928/hadrian-ghc98/hadrian/cabal-files/js-jquery.nix +++ /dev/null @@ -1,48 +0,0 @@ -{ 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/ghc928/hadrian-ghc98/hadrian/cabal-files/primitive.nix b/materialized/ghc928/hadrian-ghc98/hadrian/cabal-files/primitive.nix deleted file mode 100644 index bbc2dd58da..0000000000 --- a/materialized/ghc928/hadrian-ghc98/hadrian/cabal-files/primitive.nix +++ /dev/null @@ -1,73 +0,0 @@ -{ system - , compiler - , flags - , pkgs - , hsPkgs - , pkgconfPkgs - , errorHandler - , config - , ... }: - ({ - flags = {}; - package = { - specVersion = "2.0"; - identifier = { name = "primitive"; version = "0.8.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.8.0.0.tar.gz"; - sha256 = "5553c21b4a789f9b591eed69e598cc58484c274af29250e517b5a8bcc62b995f"; - }); - }) // { - package-description-override = "Cabal-Version: 2.0\nName: primitive\nVersion: 0.8.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\n Build-Depends: base >= 4.9 && < 4.19\n , deepseq >= 1.1 && < 1.5\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/ghc928/hadrian-ghc98/hadrian/cabal-files/random.nix b/materialized/ghc928/hadrian-ghc98/hadrian/cabal-files/random.nix deleted file mode 100644 index c2f8f753b4..0000000000 --- a/materialized/ghc928/hadrian-ghc98/hadrian/cabal-files/random.nix +++ /dev/null @@ -1,113 +0,0 @@ -{ 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\nname: random\nversion: 1.2.1.1\nlicense: BSD3\nlicense-file: LICENSE\nmaintainer: core-libraries-committee@haskell.org\nbug-reports: https://github.com/haskell/random/issues\nsynopsis: Pseudo-random number generation\ndescription:\n This package provides basic pseudo-random number generation, including the\n ability to split random number generators.\n .\n == \"System.Random\": pure pseudo-random number interface\n .\n In pure code, use 'System.Random.uniform' and 'System.Random.uniformR' from\n \"System.Random\" to generate pseudo-random numbers with a pure pseudo-random\n number generator like 'System.Random.StdGen'.\n .\n As 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 .\n See \"System.Random\" for more details.\n .\n == \"System.Random.Stateful\": monadic pseudo-random number interface\n .\n In monadic code, use 'System.Random.Stateful.uniformM' and\n 'System.Random.Stateful.uniformRM' from \"System.Random.Stateful\" to generate\n pseudo-random numbers with a monadic pseudo-random number generator, or\n using a monadic adapter.\n .\n As 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 .\n The monadic adapter 'System.Random.Stateful.runStateGen_' is used here to lift\n the pure pseudo-random number generator @pureGen@ into the\n 'System.Random.Stateful.StatefulGen' context.\n .\n The monadic interface can also be used with existing monadic pseudo-random\n number 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 .\n See \"System.Random.Stateful\" for more details.\n\ncategory: System\nbuild-type: Simple\nextra-source-files:\n README.md\n CHANGELOG.md\ntested-with: GHC == 7.10.2\n , GHC == 7.10.3\n , GHC == 8.0.2\n , GHC == 8.2.2\n , GHC == 8.4.3\n , GHC == 8.4.4\n , GHC == 8.6.3\n , GHC == 8.6.4\n , GHC == 8.6.5\n , GHC == 8.8.1\n , GHC == 8.8.2\n , GHC == 8.10.1\n\nsource-repository head\n type: git\n location: https://github.com/haskell/random.git\n\n\nlibrary\n exposed-modules:\n System.Random\n System.Random.Internal\n System.Random.Stateful\n other-modules:\n System.Random.GFinite\n\n hs-source-dirs: src\n default-language: Haskell2010\n ghc-options:\n -Wall\n if impl(ghc >= 8.0)\n ghc-options:\n -Wincomplete-record-updates -Wincomplete-uni-patterns\n\n build-depends:\n base >=4.8 && <5,\n bytestring >=0.10.4 && <0.12,\n deepseq >=1.1 && <2,\n mtl >=2.2 && <2.4,\n splitmix >=0.1 && <0.2\n if impl(ghc < 8.0)\n build-depends:\n transformers\n\ntest-suite legacy-test\n type: exitcode-stdio-1.0\n main-is: Legacy.hs\n hs-source-dirs: test-legacy\n other-modules:\n T7936\n TestRandomIOs\n TestRandomRs\n Random1283\n RangeTest\n\n default-language: Haskell2010\n ghc-options: -with-rtsopts=-M8M\n if impl(ghc >= 8.0)\n ghc-options:\n -Wno-deprecations\n build-depends:\n base,\n containers >=0.5 && <0.7,\n random\n\ntest-suite doctests\n type: exitcode-stdio-1.0\n main-is: doctests.hs\n hs-source-dirs: test\n default-language: Haskell2010\n build-depends:\n base,\n doctest >=0.15 && <0.21\n if impl(ghc >= 8.2) && impl(ghc < 8.10)\n build-depends:\n mwc-random >=0.13 && <0.16,\n primitive >=0.6 && <0.8,\n random,\n stm,\n unliftio >=0.2 && <0.3,\n vector >= 0.10 && <0.14\n\ntest-suite spec\n type: exitcode-stdio-1.0\n main-is: Spec.hs\n hs-source-dirs: test\n other-modules:\n Spec.Range\n Spec.Run\n Spec.Stateful\n\n default-language: Haskell2010\n ghc-options: -Wall\n build-depends:\n base,\n bytestring,\n random,\n smallcheck >=1.2 && <1.3,\n stm,\n tasty >=1.0 && <1.5,\n tasty-smallcheck >=0.8 && <0.9,\n tasty-hunit >=0.10 && <0.11,\n transformers\n\n-- Note. Fails when compiled with coverage:\n-- https://github.com/haskell/random/issues/107\ntest-suite spec-inspection\n type: exitcode-stdio-1.0\n main-is: Spec.hs\n hs-source-dirs: test-inspection\n build-depends:\n\n default-language: Haskell2010\n ghc-options: -Wall\n build-depends:\n base,\n random,\n tasty >=1.0 && <1.5\n if impl(ghc >= 8.0)\n build-depends:\n tasty-inspection-testing\n other-modules:\n Spec.Inspection\n\nbenchmark legacy-bench\n type: exitcode-stdio-1.0\n main-is: SimpleRNGBench.hs\n hs-source-dirs: bench-legacy\n other-modules: BinSearch\n default-language: Haskell2010\n ghc-options:\n -Wall -O2 -threaded -rtsopts -with-rtsopts=-N\n if impl(ghc >= 8.0)\n ghc-options:\n -Wno-deprecations\n\n build-depends:\n base,\n random,\n rdtsc,\n split >=0.2 && <0.3,\n time >=1.4 && <1.13\n\nbenchmark bench\n type: exitcode-stdio-1.0\n main-is: Main.hs\n hs-source-dirs: bench\n default-language: Haskell2010\n ghc-options: -Wall -O2\n build-depends:\n base,\n mtl,\n primitive >= 0.7.1,\n random,\n splitmix >=0.1 && <0.2,\n tasty-bench\n"; - } \ No newline at end of file diff --git a/materialized/ghc928/hadrian-ghc98/hadrian/cabal-files/shake.nix b/materialized/ghc928/hadrian-ghc98/hadrian/cabal-files/shake.nix deleted file mode 100644 index e7eb5c6647..0000000000 --- a/materialized/ghc928/hadrian-ghc98/hadrian/cabal-files/shake.nix +++ /dev/null @@ -1,132 +0,0 @@ -{ 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/ghc928/hadrian-ghc98/hadrian/cabal-files/splitmix.nix b/materialized/ghc928/hadrian-ghc98/hadrian/cabal-files/splitmix.nix deleted file mode 100644 index 7918d356b1..0000000000 --- a/materialized/ghc928/hadrian-ghc98/hadrian/cabal-files/splitmix.nix +++ /dev/null @@ -1,140 +0,0 @@ -{ system - , compiler - , flags - , pkgs - , hsPkgs - , pkgconfPkgs - , errorHandler - , config - , ... }: - ({ - flags = { optimised-mixer = false; }; - package = { - specVersion = "1.10"; - identifier = { name = "splitmix"; version = "0.1.0.4"; }; - 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."clock" or (errorHandler.buildDepError "clock")) - (hsPkgs."random" or (errorHandler.buildDepError "random")) - (hsPkgs."splitmix" or (errorHandler.buildDepError "splitmix")) - ]; - buildable = true; - }; - }; - }; - } // { - src = (pkgs.lib).mkDefault (pkgs.fetchurl { - url = "http://hackage.haskell.org/package/splitmix-0.1.0.4.tar.gz"; - sha256 = "6d065402394e7a9117093dbb4530a21342c9b1e2ec509516c8a8d0ffed98ecaa"; - }); - }) // { - package-description-override = "cabal-version: >=1.10\nname: splitmix\nversion: 0.1.0.4\nx-revision: 2\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.5\n || ==9.4.4\n || ==9.6.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.19\n , deepseq >=1.3.0.0 && <1.5\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.6\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 , clock >=0.8 && <0.9\n , random\n , splitmix\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.13\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.13\n , bytestring >=0.9.1.8 && <0.12\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.13\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.13\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/ghc928/hadrian-ghc98/hadrian/cabal-files/unordered-containers.nix b/materialized/ghc928/hadrian-ghc98/hadrian/cabal-files/unordered-containers.nix deleted file mode 100644 index ab6a9d8c44..0000000000 --- a/materialized/ghc928/hadrian-ghc98/hadrian/cabal-files/unordered-containers.nix +++ /dev/null @@ -1,78 +0,0 @@ -{ 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\r\nversion: 0.2.19.1\r\nx-revision: 2\r\nsynopsis: Efficient hashing-based container types\r\ndescription:\r\n Efficient hashing-based container types. The containers have been\r\n optimized for performance critical use, both in terms of large data\r\n quantities and high speed.\r\n .\r\n The declared cost of each operation is either worst-case or\r\n amortized, but remains valid even if structures are shared.\r\n .\r\n /Security/\r\n .\r\n This package currently provides no defenses against hash collision attacks\r\n such as HashDoS.\r\n Users who need to store input from untrusted sources are advised to use\r\n @Data.Map@ or @Data.Set@ from the @containers@ package instead.\r\nlicense: BSD3\r\nlicense-file: LICENSE\r\nauthor: Johan Tibell\r\nmaintainer: simon.jakobi@gmail.com, David.Feuer@gmail.com\r\nHomepage: https://github.com/haskell-unordered-containers/unordered-containers\r\nbug-reports: https://github.com/haskell-unordered-containers/unordered-containers/issues\r\ncopyright: 2010-2014 Johan Tibell\r\n 2010 Edward Z. Yang\r\ncategory: Data\r\nbuild-type: Simple\r\ncabal-version: >=1.10\r\nextra-source-files: CHANGES.md\r\n\r\ntested-with:\r\n GHC ==9.6.1\r\n || ==9.4.4\r\n || ==9.2.7\r\n || ==9.0.2\r\n || ==8.10.7\r\n || ==8.8.4\r\n || ==8.6.5\r\n || ==8.4.4\r\n || ==8.2.2\r\n\r\nflag debug\r\n description: Enable debug support\r\n default: False\r\n\r\nlibrary\r\n exposed-modules:\r\n Data.HashMap.Internal\r\n Data.HashMap.Internal.Array\r\n Data.HashMap.Internal.List\r\n Data.HashMap.Internal.Strict\r\n Data.HashMap.Lazy\r\n Data.HashMap.Strict\r\n Data.HashSet\r\n Data.HashSet.Internal\r\n\r\n build-depends:\r\n base >= 4.10 && < 5,\r\n deepseq >= 1.4.3,\r\n hashable >= 1.2.5 && < 1.5,\r\n template-haskell < 2.21\r\n\r\n default-language: Haskell2010\r\n\r\n other-extensions:\r\n RoleAnnotations,\r\n UnboxedTuples,\r\n ScopedTypeVariables,\r\n MagicHash,\r\n BangPatterns\r\n\r\n ghc-options: -Wall -O2 -fwarn-tabs -ferror-spans\r\n\r\n -- For dumping the generated code:\r\n -- ghc-options: -ddump-simpl -ddump-stg-final -ddump-cmm -ddump-asm -ddump-to-file\r\n -- ghc-options: -dsuppress-coercions -dsuppress-unfoldings -dsuppress-module-prefixes\r\n -- ghc-options: -dsuppress-uniques -dsuppress-timestamps\r\n\r\n if flag(debug)\r\n cpp-options: -DASSERTS\r\n\r\ntest-suite unordered-containers-tests\r\n hs-source-dirs: tests\r\n main-is: Main.hs\r\n type: exitcode-stdio-1.0\r\n other-modules:\r\n Regressions\r\n Properties\r\n Properties.HashMapLazy\r\n Properties.HashMapStrict\r\n Properties.HashSet\r\n Properties.List\r\n Strictness\r\n\r\n build-depends:\r\n base,\r\n ChasingBottoms,\r\n containers >= 0.5.8,\r\n hashable,\r\n HUnit,\r\n QuickCheck >= 2.4.0.1,\r\n random,\r\n tasty >= 1.4.0.3,\r\n tasty-hunit >= 0.10.0.3,\r\n tasty-quickcheck >= 0.10.1.2,\r\n unordered-containers\r\n\r\n if impl(ghc >= 8.6)\r\n build-depends:\r\n nothunks >= 0.1.3\r\n\r\n default-language: Haskell2010\r\n ghc-options: -Wall\r\n cpp-options: -DASSERTS\r\n\r\nbenchmark benchmarks\r\n hs-source-dirs: benchmarks\r\n main-is: Benchmarks.hs\r\n type: exitcode-stdio-1.0\r\n\r\n other-modules:\r\n Util.ByteString\r\n Util.String\r\n Util.Int\r\n\r\n build-depends:\r\n base,\r\n bytestring >= 0.10.0.0,\r\n containers,\r\n deepseq,\r\n hashable,\r\n hashmap,\r\n mtl,\r\n random,\r\n tasty-bench >= 0.3.1,\r\n unordered-containers\r\n\r\n default-language: Haskell2010\r\n ghc-options: -Wall -O2 -rtsopts -with-rtsopts=-A32m\r\n if impl(ghc >= 8.10)\r\n ghc-options: \"-with-rtsopts=-A32m --nonmoving-gc\"\r\n -- cpp-options: -DBENCH_containers_Map -DBENCH_containers_IntMap -DBENCH_hashmap_Map\r\n\r\nsource-repository head\r\n type: git\r\n location: https://github.com/haskell-unordered-containers/unordered-containers.git\r\n"; - } \ No newline at end of file diff --git a/materialized/ghc928/hadrian-ghc98/hadrian/cabal-files/utf8-string.nix b/materialized/ghc928/hadrian-ghc98/hadrian/cabal-files/utf8-string.nix deleted file mode 100644 index ac9bde4057..0000000000 --- a/materialized/ghc928/hadrian-ghc98/hadrian/cabal-files/utf8-string.nix +++ /dev/null @@ -1,51 +0,0 @@ -{ 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/ghc928/hadrian-ghc98/hadrian/default.nix b/materialized/ghc928/hadrian-ghc98/hadrian/default.nix deleted file mode 100644 index 09483208d0..0000000000 --- a/materialized/ghc928/hadrian-ghc98/hadrian/default.nix +++ /dev/null @@ -1,149 +0,0 @@ -{ - pkgs = hackage: - { - packages = { - bytestring.revision = (((hackage.bytestring)."0.11.4.0").revisions).default; - directory.revision = (((hackage.directory)."1.3.6.2").revisions).default; - filepath.revision = (((hackage.filepath)."1.4.2.2").revisions).default; - mtl.revision = (((hackage.mtl)."2.2.2").revisions).default; - ghc-bignum.revision = (((hackage.ghc-bignum)."1.2").revisions).default; - ghc-prim.revision = (((hackage.ghc-prim)."0.8.0").revisions).default; - base16-bytestring.revision = import ./cabal-files/base16-bytestring.nix; - parsec.revision = (((hackage.parsec)."3.1.15.0").revisions).default; - js-flot.revision = import ./cabal-files/js-flot.nix; - utf8-string.revision = import ./cabal-files/utf8-string.nix; - Cabal.revision = (((hackage.Cabal)."3.6.3.0").revisions).default; - splitmix.revision = import ./cabal-files/splitmix.nix; - splitmix.flags.optimised-mixer = false; - containers.revision = (((hackage.containers)."0.6.5.1").revisions).default; - clock.revision = import ./cabal-files/clock.nix; - clock.flags.llvm = false; - heaps.revision = import ./cabal-files/heaps.nix; - base.revision = (((hackage.base)."4.16.4.0").revisions).default; - time.revision = (((hackage.time)."1.11.1.1").revisions).default; - random.revision = import ./cabal-files/random.nix; - primitive.revision = import ./cabal-files/primitive.nix; - deepseq.revision = (((hackage.deepseq)."1.4.6.1").revisions).default; - js-jquery.revision = import ./cabal-files/js-jquery.nix; - js-dgtable.revision = import ./cabal-files/js-dgtable.nix; - rts.revision = (((hackage.rts)."1.0.2").revisions).default; - template-haskell.revision = (((hackage.template-haskell)."2.18.0.0").revisions).default; - binary.revision = (((hackage.binary)."0.8.9.0").revisions).default; - shake.revision = import ./cabal-files/shake.nix; - shake.flags.portable = false; - shake.flags.cloud = false; - shake.flags.embed-files = false; - process.revision = (((hackage.process)."1.6.16.0").revisions).default; - unix.revision = (((hackage.unix)."2.7.2.2").revisions).default; - data-array-byte.revision = import ./cabal-files/data-array-byte.nix; - transformers.revision = (((hackage.transformers)."0.5.6.2").revisions).default; - unordered-containers.revision = import ./cabal-files/unordered-containers.nix; - unordered-containers.flags.debug = false; - QuickCheck.revision = import ./cabal-files/QuickCheck.nix; - QuickCheck.flags.old-random = false; - QuickCheck.flags.templatehaskell = true; - extra.revision = import ./cabal-files/extra.nix; - text.revision = (((hackage.text)."1.2.5.0").revisions).default; - array.revision = (((hackage.array)."0.5.4.0").revisions).default; - ghc-boot-th.revision = (((hackage.ghc-boot-th)."9.2.8").revisions).default; - filepattern.revision = import ./cabal-files/filepattern.nix; - 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; - cryptohash-sha256.revision = import ./cabal-files/cryptohash-sha256.nix; - cryptohash-sha256.flags.exe = false; - cryptohash-sha256.flags.use-cbits = true; - }; - compiler = { - version = "9.2.8"; - nix-name = "ghc928"; - packages = { - "pretty" = "1.1.3.6"; - "text" = "1.2.5.0"; - "array" = "0.5.4.0"; - "Cabal" = "3.6.3.0"; - "mtl" = "2.2.2"; - "parsec" = "3.1.15.0"; - "bytestring" = "0.11.4.0"; - "filepath" = "1.4.2.2"; - "ghc-prim" = "0.8.0"; - "ghc-boot-th" = "9.2.8"; - "base" = "4.16.4.0"; - "time" = "1.11.1.1"; - "process" = "1.6.16.0"; - "ghc-bignum" = "1.2"; - "directory" = "1.3.6.2"; - "rts" = "1.0.2"; - "transformers" = "0.5.6.2"; - "template-haskell" = "2.18.0.0"; - "deepseq" = "1.4.6.1"; - "unix" = "2.7.2.2"; - "binary" = "0.8.9.0"; - "containers" = "0.6.5.1"; - }; - }; - }; - extras = hackage: - { packages = { hadrian = ./.plan.nix/hadrian.nix; }; }; - modules = [ - ({ lib, ... }: - { - packages = { - "hadrian" = { - flags = { - "threaded" = lib.mkOverride 900 true; - "selftest" = lib.mkOverride 900 true; - }; - }; - }; - }) - ({ lib, ... }: - { - packages = { - "shake".components.library.planned = lib.mkOverride 900 true; - "base16-bytestring".components.library.planned = lib.mkOverride 900 true; - "heaps".components.library.planned = lib.mkOverride 900 true; - "extra".components.library.planned = lib.mkOverride 900 true; - "filepath".components.library.planned = lib.mkOverride 900 true; - "pretty".components.library.planned = lib.mkOverride 900 true; - "utf8-string".components.library.planned = lib.mkOverride 900 true; - "Cabal".components.library.planned = lib.mkOverride 900 true; - "bytestring".components.library.planned = lib.mkOverride 900 true; - "cryptohash-sha256".components.library.planned = lib.mkOverride 900 true; - "ghc-prim".components.library.planned = lib.mkOverride 900 true; - "array".components.library.planned = lib.mkOverride 900 true; - "binary".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; - "splitmix".components.library.planned = lib.mkOverride 900 true; - "rts".components.library.planned = lib.mkOverride 900 true; - "unix".components.library.planned = lib.mkOverride 900 true; - "shake".components.exes."shake".planned = lib.mkOverride 900 true; - "directory".components.library.planned = lib.mkOverride 900 true; - "time".components.library.planned = lib.mkOverride 900 true; - "js-flot".components.library.planned = lib.mkOverride 900 true; - "ghc-bignum".components.library.planned = lib.mkOverride 900 true; - "data-array-byte".components.library.planned = lib.mkOverride 900 true; - "process".components.library.planned = lib.mkOverride 900 true; - "clock".components.library.planned = lib.mkOverride 900 true; - "template-haskell".components.library.planned = lib.mkOverride 900 true; - "hadrian".components.exes."hadrian".planned = lib.mkOverride 900 true; - "QuickCheck".components.library.planned = lib.mkOverride 900 true; - "mtl".components.library.planned = lib.mkOverride 900 true; - "transformers".components.library.planned = lib.mkOverride 900 true; - "parsec".components.library.planned = lib.mkOverride 900 true; - "deepseq".components.library.planned = lib.mkOverride 900 true; - "primitive".components.library.planned = lib.mkOverride 900 true; - "js-jquery".components.library.planned = lib.mkOverride 900 true; - "text".components.library.planned = lib.mkOverride 900 true; - "unordered-containers".components.library.planned = lib.mkOverride 900 true; - "random".components.library.planned = lib.mkOverride 900 true; - "base".components.library.planned = lib.mkOverride 900 true; - "containers".components.library.planned = lib.mkOverride 900 true; - "js-dgtable".components.library.planned = lib.mkOverride 900 true; - "hashable".components.library.planned = lib.mkOverride 900 true; - }; - }) - ]; - } \ No newline at end of file diff --git a/materialized/ghc928/hadrian-ghc99/hadrian/.plan.nix/ghc-platform.nix b/materialized/ghc928/hadrian-ghc99/hadrian/.plan.nix/ghc-platform.nix deleted file mode 100644 index eb369bf5fa..0000000000 --- a/materialized/ghc928/hadrian-ghc99/hadrian/.plan.nix/ghc-platform.nix +++ /dev/null @@ -1,41 +0,0 @@ -{ system - , compiler - , flags - , pkgs - , hsPkgs - , pkgconfPkgs - , errorHandler - , config - , ... }: - { - flags = {}; - package = { - specVersion = "3.0"; - identifier = { name = "ghc-platform"; version = "0.1.0.0"; }; - license = "BSD-3-Clause"; - copyright = ""; - maintainer = "ghc-devs@haskell.org"; - author = "Rodrigo Mesquita"; - homepage = ""; - url = ""; - synopsis = "Platform information used by GHC and friends"; - description = ""; - buildType = "Simple"; - isLocal = true; - detailLevel = "FullDetails"; - licenseFiles = [ "LICENSE" ]; - dataDir = "."; - dataFiles = []; - extraSrcFiles = []; - extraTmpFiles = []; - extraDocFiles = [ "CHANGELOG.md" ]; - }; - components = { - "library" = { - depends = [ (hsPkgs."base" or (errorHandler.buildDepError "base")) ]; - buildable = true; - modules = [ "GHC/Platform/ArchOS" ]; - hsSourceDirs = [ "src" ]; - }; - }; - } // rec { src = (pkgs.lib).mkDefault ../../libraries/ghc-platform; } \ No newline at end of file diff --git a/materialized/ghc928/hadrian-ghc99/hadrian/.plan.nix/ghc-toolchain.nix b/materialized/ghc928/hadrian-ghc99/hadrian/.plan.nix/ghc-toolchain.nix deleted file mode 100644 index 726a3d87c0..0000000000 --- a/materialized/ghc928/hadrian-ghc99/hadrian/.plan.nix/ghc-toolchain.nix +++ /dev/null @@ -1,69 +0,0 @@ -{ system - , compiler - , flags - , pkgs - , hsPkgs - , pkgconfPkgs - , errorHandler - , config - , ... }: - { - flags = {}; - package = { - specVersion = "2.4"; - identifier = { name = "ghc-toolchain"; version = "0.1.0.0"; }; - license = "NONE"; - copyright = "(c) The GHC Developers"; - maintainer = "ben@well-typed.com"; - author = "Ben Gamari"; - homepage = ""; - url = ""; - synopsis = "Utility for managing GHC target toolchains"; - description = ""; - buildType = "Simple"; - isLocal = true; - detailLevel = "FullDetails"; - licenseFiles = []; - dataDir = "."; - dataFiles = []; - extraSrcFiles = []; - extraTmpFiles = []; - extraDocFiles = []; - }; - 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."transformers" or (errorHandler.buildDepError "transformers")) - (hsPkgs."text" or (errorHandler.buildDepError "text")) - (hsPkgs."ghc-platform" or (errorHandler.buildDepError "ghc-platform")) - ]; - buildable = true; - modules = [ - "GHC/Toolchain" - "GHC/Toolchain/Lens" - "GHC/Toolchain/Monad" - "GHC/Toolchain/PlatformDetails" - "GHC/Toolchain/Prelude" - "GHC/Toolchain/Program" - "GHC/Toolchain/ParseTriple" - "GHC/Toolchain/CheckArm" - "GHC/Toolchain/Target" - "GHC/Toolchain/Tools/Ar" - "GHC/Toolchain/Tools/Cc" - "GHC/Toolchain/Tools/Cxx" - "GHC/Toolchain/Tools/Cpp" - "GHC/Toolchain/Tools/Link" - "GHC/Toolchain/Tools/Nm" - "GHC/Toolchain/Tools/Ranlib" - "GHC/Toolchain/Tools/Readelf" - "GHC/Toolchain/Tools/MergeObjs" - "GHC/Toolchain/Utils" - ]; - hsSourceDirs = [ "src" ]; - }; - }; - } // rec { src = (pkgs.lib).mkDefault ../../utils/ghc-toolchain; } \ No newline at end of file diff --git a/materialized/ghc928/hadrian-ghc99/hadrian/.plan.nix/hadrian.nix b/materialized/ghc928/hadrian-ghc99/hadrian/.plan.nix/hadrian.nix deleted file mode 100644 index bc2d2781ee..0000000000 --- a/materialized/ghc928/hadrian-ghc99/hadrian/.plan.nix/hadrian.nix +++ /dev/null @@ -1,167 +0,0 @@ -{ 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")) - (hsPkgs."cryptohash-sha256" or (errorHandler.buildDepError "cryptohash-sha256")) - (hsPkgs."base16-bytestring" or (errorHandler.buildDepError "base16-bytestring")) - (hsPkgs."ghc-platform" or (errorHandler.buildDepError "ghc-platform")) - (hsPkgs."ghc-toolchain" or (errorHandler.buildDepError "ghc-toolchain")) - ] ++ (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/Hash" - "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/ghc928/hadrian-ghc99/hadrian/cabal-files/QuickCheck.nix b/materialized/ghc928/hadrian-ghc99/hadrian/cabal-files/QuickCheck.nix deleted file mode 100644 index 31390ca93b..0000000000 --- a/materialized/ghc928/hadrian-ghc99/hadrian/cabal-files/QuickCheck.nix +++ /dev/null @@ -1,119 +0,0 @@ -{ 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/ghc928/hadrian-ghc99/hadrian/cabal-files/base16-bytestring.nix b/materialized/ghc928/hadrian-ghc99/hadrian/cabal-files/base16-bytestring.nix deleted file mode 100644 index 31d3b31c55..0000000000 --- a/materialized/ghc928/hadrian-ghc99/hadrian/cabal-files/base16-bytestring.nix +++ /dev/null @@ -1,68 +0,0 @@ -{ system - , compiler - , flags - , pkgs - , hsPkgs - , pkgconfPkgs - , errorHandler - , config - , ... }: - ({ - flags = {}; - package = { - specVersion = "1.12"; - identifier = { name = "base16-bytestring"; version = "1.0.2.0"; }; - license = "BSD-3-Clause"; - copyright = "Copyright 2011 MailRank, Inc.;\nCopyright 2010-2020 Bryan O'Sullivan et al."; - maintainer = "Herbert Valerio Riedel ,\nMikhail Glushenkov ,\nEmily Pillmore "; - author = "Bryan O'Sullivan "; - homepage = "http://github.com/haskell/base16-bytestring"; - url = ""; - synopsis = "RFC 4648-compliant Base16 encodings for ByteStrings"; - description = "This package provides support for encoding and decoding binary data according\nto @base16@ (see also ) for\nstrict (see \"Data.ByteString.Base16\") and lazy @ByteString@s (see \"Data.ByteString.Base16.Lazy\").\n\nSee the package which provides superior encoding and decoding performance as well as support for lazy, short, and strict variants of 'Text' and 'ByteString' values. Additionally, see the package which\nprovides an uniform API providing conversion paths between more binary and textual types."; - buildType = "Simple"; - }; - components = { - "library" = { - depends = [ - (hsPkgs."base" or (errorHandler.buildDepError "base")) - (hsPkgs."bytestring" or (errorHandler.buildDepError "bytestring")) - ]; - buildable = true; - }; - tests = { - "test" = { - depends = [ - (hsPkgs."base" or (errorHandler.buildDepError "base")) - (hsPkgs."base16-bytestring" or (errorHandler.buildDepError "base16-bytestring")) - (hsPkgs."bytestring" or (errorHandler.buildDepError "bytestring")) - (hsPkgs."HUnit" or (errorHandler.buildDepError "HUnit")) - (hsPkgs."QuickCheck" or (errorHandler.buildDepError "QuickCheck")) - (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")) - ]; - buildable = true; - }; - }; - benchmarks = { - "bench" = { - depends = [ - (hsPkgs."base" or (errorHandler.buildDepError "base")) - (hsPkgs."base16-bytestring" or (errorHandler.buildDepError "base16-bytestring")) - (hsPkgs."bytestring" or (errorHandler.buildDepError "bytestring")) - (hsPkgs."criterion" or (errorHandler.buildDepError "criterion")) - (hsPkgs."deepseq" or (errorHandler.buildDepError "deepseq")) - ]; - buildable = true; - }; - }; - }; - } // { - src = (pkgs.lib).mkDefault (pkgs.fetchurl { - url = "http://hackage.haskell.org/package/base16-bytestring-1.0.2.0.tar.gz"; - sha256 = "1d5a91143ef0e22157536093ec8e59d226a68220ec89378d5dcaeea86472c784"; - }); - }) // { - package-description-override = "cabal-version: 1.12\nname: base16-bytestring\nversion: 1.0.2.0\nsynopsis: RFC 4648-compliant Base16 encodings for ByteStrings\ndescription:\n This package provides support for encoding and decoding binary data according\n to @base16@ (see also ) for\n strict (see \"Data.ByteString.Base16\") and lazy @ByteString@s (see \"Data.ByteString.Base16.Lazy\").\n .\n See the package which provides superior encoding and decoding performance as well as support for lazy, short, and strict variants of 'Text' and 'ByteString' values. Additionally, see the package which\n provides an uniform API providing conversion paths between more binary and textual types.\n\nhomepage: http://github.com/haskell/base16-bytestring\nbug-reports: http://github.com/haskell/base16-bytestring/issues\nlicense: BSD3\nlicense-file: LICENSE\ncopyright:\n Copyright 2011 MailRank, Inc.;\n Copyright 2010-2020 Bryan O'Sullivan et al.\n\nauthor: Bryan O'Sullivan \nmaintainer:\n Herbert Valerio Riedel ,\n Mikhail Glushenkov ,\n Emily Pillmore \n\ncategory: Data\nbuild-type: Simple\nextra-source-files:\n README.md\n CHANGELOG.md\n\ntested-with:\n GHC ==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.1\n\nsource-repository head\n type: git\n location: http://github.com/haskell/base16-bytestring\n\nlibrary\n other-modules: Data.ByteString.Base16.Internal\n exposed-modules:\n Data.ByteString.Base16\n Data.ByteString.Base16.Lazy\n\n build-depends:\n base >=4.9 && <5\n , bytestring >=0.9 && <0.12\n\n ghc-options: -Wall -funbox-strict-fields\n default-language: Haskell2010\n\ntest-suite test\n type: exitcode-stdio-1.0\n hs-source-dirs: tests\n main-is: Tests.hs\n build-depends:\n base\n , base16-bytestring\n , bytestring\n , HUnit\n , QuickCheck\n , test-framework\n , test-framework-hunit\n , test-framework-quickcheck2\n\n default-language: Haskell2010\n\nbenchmark bench\n type: exitcode-stdio-1.0\n hs-source-dirs: benchmarks\n main-is: Benchmarks.hs\n build-depends:\n base >=4 && <5\n , base16-bytestring\n , bytestring\n , criterion\n , deepseq\n\n default-language: Haskell2010\n"; - } \ No newline at end of file diff --git a/materialized/ghc928/hadrian-ghc99/hadrian/cabal-files/clock.nix b/materialized/ghc928/hadrian-ghc99/hadrian/cabal-files/clock.nix deleted file mode 100644 index de66c1339a..0000000000 --- a/materialized/ghc928/hadrian-ghc99/hadrian/cabal-files/clock.nix +++ /dev/null @@ -1,59 +0,0 @@ -{ system - , compiler - , flags - , pkgs - , hsPkgs - , pkgconfPkgs - , errorHandler - , config - , ... }: - ({ - flags = { llvm = false; }; - package = { - specVersion = "1.10"; - identifier = { name = "clock"; version = "0.8.3"; }; - license = "BSD-3-Clause"; - copyright = "Copyright © Cetin Sert 2009-2016, 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 , Corsis Research"; - author = "Cetin Sert , Corsis Research"; - 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.3.tar.gz"; - sha256 = "845ce5db4c98cefd517323e005f87effceff886987305e421c4ef616dc0505d1"; - }); - }) // { - package-description-override = "cabal-version: >= 1.10\nname: clock\nversion: 0.8.3\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-2016, 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 , Corsis Research\nmaintainer: Cetin Sert , Corsis Research\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.2.1\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: git://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/ghc928/hadrian-ghc99/hadrian/cabal-files/cryptohash-sha256.nix b/materialized/ghc928/hadrian-ghc99/hadrian/cabal-files/cryptohash-sha256.nix deleted file mode 100644 index 5d4a3157f0..0000000000 --- a/materialized/ghc928/hadrian-ghc99/hadrian/cabal-files/cryptohash-sha256.nix +++ /dev/null @@ -1,84 +0,0 @@ -{ system - , compiler - , flags - , pkgs - , hsPkgs - , pkgconfPkgs - , errorHandler - , config - , ... }: - ({ - flags = { exe = false; use-cbits = true; }; - package = { - specVersion = "2.0"; - identifier = { name = "cryptohash-sha256"; version = "0.11.102.1"; }; - license = "BSD-3-Clause"; - copyright = "Vincent Hanquez, Herbert Valerio Riedel"; - maintainer = "Herbert Valerio Riedel "; - author = ""; - homepage = "https://github.com/hvr/cryptohash-sha256"; - url = ""; - synopsis = "Fast, pure and practical SHA-256 implementation"; - description = "A practical incremental and one-pass, pure API to\nthe [SHA-256 cryptographic hash algorithm](https://en.wikipedia.org/wiki/SHA-2) according\nto [FIPS 180-4](http://dx.doi.org/10.6028/NIST.FIPS.180-4)\nwith performance close to the fastest implementations available in other languages.\n\nThe core SHA-256 algorithm is implemented in C and is thus expected\nto be as fast as the standard [sha256sum(1) tool](https://linux.die.net/man/1/sha256sum);\nfor instance, on an /Intel Core i7-3770/ at 3.40GHz this implementation can\ncompute a SHA-256 hash over 230 MiB of data in under one second.\n(If, instead, you require a pure Haskell implementation and performance is secondary, please refer to the [SHA package](https://hackage.haskell.org/package/SHA).)\n\n\nAdditionally, this package provides support for\n\n- HMAC-SHA-256: SHA-256-based [Hashed Message Authentication Codes](https://en.wikipedia.org/wiki/HMAC) (HMAC)\n- HKDF-SHA-256: [HMAC-SHA-256-based Key Derivation Function](https://en.wikipedia.org/wiki/HKDF) (HKDF)\n\nconforming to [RFC6234](https://tools.ietf.org/html/rfc6234), [RFC4231](https://tools.ietf.org/html/rfc4231), [RFC5869](https://tools.ietf.org/html/rfc5869), et al..\n\n=== Relationship to the @cryptohash@ package and its API\n\nThis package has been originally a fork of @cryptohash-0.11.7@ because the @cryptohash@\npackage had been deprecated and so this package continues to satisfy the need for a\nlightweight package providing the SHA-256 hash algorithm without any dependencies on packages\nother than @base@ and @bytestring@. The API exposed by @cryptohash-sha256-0.11.*@'s\n\"Crypto.Hash.SHA256\" module is guaranteed to remain a compatible superset of the API provided\nby the @cryptohash-0.11.7@'s module of the same name.\n\nConsequently, this package is designed to be used as a drop-in replacement for @cryptohash-0.11.7@'s\n\"Crypto.Hash.SHA256\" module, though with\na [clearly smaller footprint by almost 3 orders of magnitude](https://www.reddit.com/r/haskell/comments/5lxv75/psa_please_use_unique_module_names_when_uploading/dbzegx3/)."; - buildType = "Simple"; - }; - components = { - "library" = { - depends = [ - (hsPkgs."base" or (errorHandler.buildDepError "base")) - ] ++ (if flags.use-cbits - then [ - (hsPkgs."bytestring" or (errorHandler.buildDepError "bytestring")) - ] - else [ - (hsPkgs."cryptohash-sha256-pure" or (errorHandler.buildDepError "cryptohash-sha256-pure")) - ]); - buildable = true; - }; - exes = { - "sha256sum" = { - depends = (pkgs.lib).optionals (flags.exe) [ - (hsPkgs."cryptohash-sha256" or (errorHandler.buildDepError "cryptohash-sha256")) - (hsPkgs."base" or (errorHandler.buildDepError "base")) - (hsPkgs."bytestring" or (errorHandler.buildDepError "bytestring")) - (hsPkgs."base16-bytestring" or (errorHandler.buildDepError "base16-bytestring")) - ]; - buildable = if flags.exe then true else false; - }; - }; - tests = { - "test-sha256" = { - depends = [ - (hsPkgs."cryptohash-sha256" or (errorHandler.buildDepError "cryptohash-sha256")) - (hsPkgs."base" or (errorHandler.buildDepError "base")) - (hsPkgs."bytestring" or (errorHandler.buildDepError "bytestring")) - (hsPkgs."base16-bytestring" or (errorHandler.buildDepError "base16-bytestring")) - (hsPkgs."SHA" or (errorHandler.buildDepError "SHA")) - (hsPkgs."tasty" or (errorHandler.buildDepError "tasty")) - (hsPkgs."tasty-quickcheck" or (errorHandler.buildDepError "tasty-quickcheck")) - (hsPkgs."tasty-hunit" or (errorHandler.buildDepError "tasty-hunit")) - ]; - buildable = true; - }; - }; - benchmarks = { - "bench-sha256" = { - depends = [ - (hsPkgs."cryptohash-sha256" or (errorHandler.buildDepError "cryptohash-sha256")) - (hsPkgs."SHA" or (errorHandler.buildDepError "SHA")) - (hsPkgs."base" or (errorHandler.buildDepError "base")) - (hsPkgs."bytestring" or (errorHandler.buildDepError "bytestring")) - (hsPkgs."criterion" or (errorHandler.buildDepError "criterion")) - ]; - buildable = true; - }; - }; - }; - } // { - src = (pkgs.lib).mkDefault (pkgs.fetchurl { - url = "http://hackage.haskell.org/package/cryptohash-sha256-0.11.102.1.tar.gz"; - sha256 = "73a7dc7163871a80837495039a099967b11f5c4fe70a118277842f7a713c6bf6"; - }); - }) // { - package-description-override = "cabal-version: 2.0\nname: cryptohash-sha256\nversion: 0.11.102.1\nx-revision: 2\n\nsynopsis: Fast, pure and practical SHA-256 implementation\ndescription: {\n\nA practical incremental and one-pass, pure API to\nthe [SHA-256 cryptographic hash algorithm](https://en.wikipedia.org/wiki/SHA-2) according\nto [FIPS 180-4](http://dx.doi.org/10.6028/NIST.FIPS.180-4)\nwith performance close to the fastest implementations available in other languages.\n.\nThe core SHA-256 algorithm is implemented in C and is thus expected\nto be as fast as the standard [sha256sum(1) tool](https://linux.die.net/man/1/sha256sum);\nfor instance, on an /Intel Core i7-3770/ at 3.40GHz this implementation can\ncompute a SHA-256 hash over 230 MiB of data in under one second.\n(If, instead, you require a pure Haskell implementation and performance is secondary, please refer to the [SHA package](https://hackage.haskell.org/package/SHA).)\n.\n\n.\nAdditionally, this package provides support for\n.\n- HMAC-SHA-256: SHA-256-based [Hashed Message Authentication Codes](https://en.wikipedia.org/wiki/HMAC) (HMAC)\n- HKDF-SHA-256: [HMAC-SHA-256-based Key Derivation Function](https://en.wikipedia.org/wiki/HKDF) (HKDF)\n.\nconforming to [RFC6234](https://tools.ietf.org/html/rfc6234), [RFC4231](https://tools.ietf.org/html/rfc4231), [RFC5869](https://tools.ietf.org/html/rfc5869), et al..\n.\n=== Relationship to the @cryptohash@ package and its API\n.\nThis package has been originally a fork of @cryptohash-0.11.7@ because the @cryptohash@\npackage had been deprecated and so this package continues to satisfy the need for a\nlightweight package providing the SHA-256 hash algorithm without any dependencies on packages\nother than @base@ and @bytestring@. The API exposed by @cryptohash-sha256-0.11.*@'s\n\"Crypto.Hash.SHA256\" module is guaranteed to remain a compatible superset of the API provided\nby the @cryptohash-0.11.7@'s module of the same name.\n.\nConsequently, this package is designed to be used as a drop-in replacement for @cryptohash-0.11.7@'s\n\"Crypto.Hash.SHA256\" module, though with\na [clearly smaller footprint by almost 3 orders of magnitude](https://www.reddit.com/r/haskell/comments/5lxv75/psa_please_use_unique_module_names_when_uploading/dbzegx3/).\n\n}\n\nlicense: BSD3\nlicense-file: LICENSE\ncopyright: Vincent Hanquez, Herbert Valerio Riedel\nmaintainer: Herbert Valerio Riedel \nhomepage: https://github.com/hvr/cryptohash-sha256\nbug-reports: https://github.com/hvr/cryptohash-sha256/issues\ncategory: Data, Cryptography\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 GHC == 7.6.3\n GHC == 7.4.2\n\nextra-source-files: cbits/hs_sha256.h\n changelog.md\n\nsource-repository head\n type: git\n location: https://github.com/hvr/cryptohash-sha256.git\n\nflag exe\n description: Enable building @sha256sum@ executable\n manual: True\n default: False\n\nflag use-cbits\n description: Use fast optimized C routines via FFI; if flag is disabled falls back to non-FFI Haskell optimized implementation.\n manual: True\n default: True\n\nlibrary\n default-language: Haskell2010\n\n ghc-options: -Wall\n\n build-depends: base >= 4.5 && < 4.19\n\n exposed-modules: Crypto.Hash.SHA256\n\n if flag(use-cbits)\n build-depends: bytestring ^>= 0.9.2 || ^>= 0.10.0 || ^>= 0.11.0\n\n other-extensions: BangPatterns\n CApiFFI\n CPP\n Trustworthy\n Unsafe\n\n hs-source-dirs: src\n other-modules: Crypto.Hash.SHA256.FFI\n Compat\n include-dirs: cbits\n else\n hs-source-dirs: src-pure\n build-depends: cryptohash-sha256-pure ^>= 0.1.0\n\nexecutable sha256sum\n default-language: Haskell2010\n hs-source-dirs: src-exe\n main-is: sha256sum.hs\n ghc-options: -Wall -threaded\n if flag(exe)\n other-extensions: RecordWildCards\n build-depends: cryptohash-sha256\n , base\n , bytestring\n\n , base16-bytestring ^>= 0.1.1 || ^>= 1.0.0\n else\n buildable: False\n\ntest-suite test-sha256\n default-language: Haskell2010\n other-extensions: OverloadedStrings\n type: exitcode-stdio-1.0\n hs-source-dirs: src-tests\n main-is: test-sha256.hs\n ghc-options: -Wall -threaded\n build-depends: cryptohash-sha256\n , base\n , bytestring\n\n , base16-bytestring ^>= 0.1.1 || ^>= 1.0.0\n , SHA ^>= 1.6.4\n , tasty ^>= 1.4\n , tasty-quickcheck ^>= 0.10\n , tasty-hunit ^>= 0.10\n\nbenchmark bench-sha256\n default-language: Haskell2010\n other-extensions: BangPatterns\n type: exitcode-stdio-1.0\n main-is: bench-sha256.hs\n hs-source-dirs: src-bench\n build-depends: cryptohash-sha256\n , SHA ^>= 1.6.4\n , base\n , bytestring\n , criterion ^>= 1.5 || ^>=1.6\n\n -- not yet public\n -- build-depends: cryptohash-sha256-pure ^>= 0.1.0\n"; - } \ No newline at end of file diff --git a/materialized/ghc928/hadrian-ghc99/hadrian/cabal-files/data-array-byte.nix b/materialized/ghc928/hadrian-ghc99/hadrian/cabal-files/data-array-byte.nix deleted file mode 100644 index c0d9745691..0000000000 --- a/materialized/ghc928/hadrian-ghc99/hadrian/cabal-files/data-array-byte.nix +++ /dev/null @@ -1,55 +0,0 @@ -{ system - , compiler - , flags - , pkgs - , hsPkgs - , pkgconfPkgs - , errorHandler - , config - , ... }: - ({ - flags = {}; - package = { - specVersion = "1.10"; - identifier = { name = "data-array-byte"; version = "0.1.0.1"; }; - license = "BSD-3-Clause"; - copyright = "(c) Roman Leshchinskiy 2009-2012"; - maintainer = "andrew.lelechenko@gmail.com"; - author = "Roman Leshchinskiy "; - homepage = "https://github.com/Bodigrim/data-array-byte"; - url = ""; - synopsis = "Compatibility layer for Data.Array.Byte"; - description = "Compatibility layer for [Data.Array.Byte](https://hackage.haskell.org/package/base/docs/Data-Array-Byte.html), providing boxed wrappers for @ByteArray#@ and @MutableByteArray#@ and relevant instances for GHC < 9.4. Include it into your Cabal file:\n\n> build-depends: base\n> if impl(ghc < 9.4)\n> build-depends: data-array-byte\n\nand then @import Data.Array.Byte@ unconditionally."; - buildType = "Simple"; - }; - components = { - "library" = { - depends = [ - (hsPkgs."base" or (errorHandler.buildDepError "base")) - (hsPkgs."deepseq" or (errorHandler.buildDepError "deepseq")) - (hsPkgs."template-haskell" or (errorHandler.buildDepError "template-haskell")) - ]; - buildable = true; - }; - tests = { - "data-array-byte-tests" = { - depends = [ - (hsPkgs."base" or (errorHandler.buildDepError "base")) - (hsPkgs."data-array-byte" or (errorHandler.buildDepError "data-array-byte")) - (hsPkgs."quickcheck-classes-base" or (errorHandler.buildDepError "quickcheck-classes-base")) - (hsPkgs."tasty" or (errorHandler.buildDepError "tasty")) - (hsPkgs."tasty-quickcheck" or (errorHandler.buildDepError "tasty-quickcheck")) - (hsPkgs."template-haskell" or (errorHandler.buildDepError "template-haskell")) - ]; - buildable = true; - }; - }; - }; - } // { - src = (pkgs.lib).mkDefault (pkgs.fetchurl { - url = "http://hackage.haskell.org/package/data-array-byte-0.1.0.1.tar.gz"; - sha256 = "1bb6eca0b3e02d057fe7f4e14c81ef395216f421ab30fdaa1b18017c9c025600"; - }); - }) // { - package-description-override = "cabal-version: >=1.10\r\nname: data-array-byte\r\nversion: 0.1.0.1\r\nx-revision: 1\r\nlicense: BSD3\r\nlicense-file: LICENSE\r\ncopyright: (c) Roman Leshchinskiy 2009-2012\r\nmaintainer: andrew.lelechenko@gmail.com\r\nauthor: Roman Leshchinskiy \r\ntested-with:\r\n ghc ==8.0.2 ghc ==8.2.2 ghc ==8.4.4 ghc ==8.6.5 ghc ==8.8.4\r\n ghc ==8.10.7 ghc ==9.0.2 ghc ==9.2.4 ghc ==9.4.2\r\n\r\nhomepage: https://github.com/Bodigrim/data-array-byte\r\nbug-reports: https://github.com/Bodigrim/data-array-byte/issues\r\nsynopsis: Compatibility layer for Data.Array.Byte\r\ndescription:\r\n Compatibility layer for [Data.Array.Byte](https://hackage.haskell.org/package/base/docs/Data-Array-Byte.html), providing boxed wrappers for @ByteArray#@ and @MutableByteArray#@ and relevant instances for GHC < 9.4. Include it into your Cabal file:\r\n .\r\n > build-depends: base\r\n > if impl(ghc < 9.4)\r\n > build-depends: data-array-byte\r\n .\r\n and then @import Data.Array.Byte@ unconditionally.\r\n\r\ncategory: Compatibility\r\nbuild-type: Simple\r\nextra-source-files:\r\n changelog.md\r\n README.md\r\n\r\nsource-repository head\r\n type: git\r\n location: https://github.com/Bodigrim/data-array-byte\r\n\r\nlibrary\r\n default-language: Haskell2010\r\n ghc-options: -Wall\r\n build-depends:\r\n base >=4.9 && <4.19,\r\n deepseq >=1.4 && <1.5,\r\n template-haskell >=2.11 && <2.21\r\n\r\n if impl(ghc <9.4)\r\n exposed-modules: Data.Array.Byte\r\n\r\ntest-suite data-array-byte-tests\r\n type: exitcode-stdio-1.0\r\n main-is: Main.hs\r\n hs-source-dirs: test\r\n default-language: Haskell2010\r\n ghc-options: -Wall\r\n build-depends:\r\n base,\r\n data-array-byte,\r\n quickcheck-classes-base >=0.6 && <0.7,\r\n tasty >=1.4 && <1.5,\r\n tasty-quickcheck >=0.10 && <0.11,\r\n template-haskell\r\n"; - } \ No newline at end of file diff --git a/materialized/ghc928/hadrian-ghc99/hadrian/cabal-files/extra.nix b/materialized/ghc928/hadrian-ghc99/hadrian/cabal-files/extra.nix deleted file mode 100644 index 450be82c4b..0000000000 --- a/materialized/ghc928/hadrian-ghc99/hadrian/cabal-files/extra.nix +++ /dev/null @@ -1,58 +0,0 @@ -{ 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/ghc928/hadrian-ghc99/hadrian/cabal-files/filepattern.nix b/materialized/ghc928/hadrian-ghc99/hadrian/cabal-files/filepattern.nix deleted file mode 100644 index 13bbd09e88..0000000000 --- a/materialized/ghc928/hadrian-ghc99/hadrian/cabal-files/filepattern.nix +++ /dev/null @@ -1,56 +0,0 @@ -{ 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/ghc928/hadrian-ghc99/hadrian/cabal-files/hashable.nix b/materialized/ghc928/hadrian-ghc99/hadrian/cabal-files/hashable.nix deleted file mode 100644 index 288fdf7407..0000000000 --- a/materialized/ghc928/hadrian-ghc99/hadrian/cabal-files/hashable.nix +++ /dev/null @@ -1,82 +0,0 @@ -{ 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.2.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."; - 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.2.0.tar.gz"; - sha256 = "1b4000ea82b81f69d46d0af4152c10c6303873510738e24cfc4767760d30e3f8"; - }); - }) // { - package-description-override = "cabal-version: 1.12\nname: hashable\nversion: 1.4.2.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\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.5\n || ==9.4.4\n || ==9.6.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.19\n , bytestring >=0.10.8.2 && <0.12\n , containers >=0.5.10.2 && <0.7\n , deepseq >=1.4.3.0 && <1.5\n , filepath >=1.4.1.2 && <1.5\n , ghc-prim\n , text >=1.2.3.0 && <1.3 || >=2.0 && <2.1\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/ghc928/hadrian-ghc99/hadrian/cabal-files/heaps.nix b/materialized/ghc928/hadrian-ghc99/hadrian/cabal-files/heaps.nix deleted file mode 100644 index dc77aed1f4..0000000000 --- a/materialized/ghc928/hadrian-ghc99/hadrian/cabal-files/heaps.nix +++ /dev/null @@ -1,38 +0,0 @@ -{ 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/ghc928/hadrian-ghc99/hadrian/cabal-files/js-dgtable.nix b/materialized/ghc928/hadrian-ghc99/hadrian/cabal-files/js-dgtable.nix deleted file mode 100644 index 0237404c41..0000000000 --- a/materialized/ghc928/hadrian-ghc99/hadrian/cabal-files/js-dgtable.nix +++ /dev/null @@ -1,47 +0,0 @@ -{ 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/ghc928/hadrian-ghc99/hadrian/cabal-files/js-flot.nix b/materialized/ghc928/hadrian-ghc99/hadrian/cabal-files/js-flot.nix deleted file mode 100644 index ba292fc8b2..0000000000 --- a/materialized/ghc928/hadrian-ghc99/hadrian/cabal-files/js-flot.nix +++ /dev/null @@ -1,47 +0,0 @@ -{ 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/ghc928/hadrian-ghc99/hadrian/cabal-files/js-jquery.nix b/materialized/ghc928/hadrian-ghc99/hadrian/cabal-files/js-jquery.nix deleted file mode 100644 index 9ecdc931ed..0000000000 --- a/materialized/ghc928/hadrian-ghc99/hadrian/cabal-files/js-jquery.nix +++ /dev/null @@ -1,48 +0,0 @@ -{ 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/ghc928/hadrian-ghc99/hadrian/cabal-files/primitive.nix b/materialized/ghc928/hadrian-ghc99/hadrian/cabal-files/primitive.nix deleted file mode 100644 index bbc2dd58da..0000000000 --- a/materialized/ghc928/hadrian-ghc99/hadrian/cabal-files/primitive.nix +++ /dev/null @@ -1,73 +0,0 @@ -{ system - , compiler - , flags - , pkgs - , hsPkgs - , pkgconfPkgs - , errorHandler - , config - , ... }: - ({ - flags = {}; - package = { - specVersion = "2.0"; - identifier = { name = "primitive"; version = "0.8.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.8.0.0.tar.gz"; - sha256 = "5553c21b4a789f9b591eed69e598cc58484c274af29250e517b5a8bcc62b995f"; - }); - }) // { - package-description-override = "Cabal-Version: 2.0\nName: primitive\nVersion: 0.8.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\n Build-Depends: base >= 4.9 && < 4.19\n , deepseq >= 1.1 && < 1.5\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/ghc928/hadrian-ghc99/hadrian/cabal-files/random.nix b/materialized/ghc928/hadrian-ghc99/hadrian/cabal-files/random.nix deleted file mode 100644 index c2f8f753b4..0000000000 --- a/materialized/ghc928/hadrian-ghc99/hadrian/cabal-files/random.nix +++ /dev/null @@ -1,113 +0,0 @@ -{ 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\nname: random\nversion: 1.2.1.1\nlicense: BSD3\nlicense-file: LICENSE\nmaintainer: core-libraries-committee@haskell.org\nbug-reports: https://github.com/haskell/random/issues\nsynopsis: Pseudo-random number generation\ndescription:\n This package provides basic pseudo-random number generation, including the\n ability to split random number generators.\n .\n == \"System.Random\": pure pseudo-random number interface\n .\n In pure code, use 'System.Random.uniform' and 'System.Random.uniformR' from\n \"System.Random\" to generate pseudo-random numbers with a pure pseudo-random\n number generator like 'System.Random.StdGen'.\n .\n As 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 .\n See \"System.Random\" for more details.\n .\n == \"System.Random.Stateful\": monadic pseudo-random number interface\n .\n In monadic code, use 'System.Random.Stateful.uniformM' and\n 'System.Random.Stateful.uniformRM' from \"System.Random.Stateful\" to generate\n pseudo-random numbers with a monadic pseudo-random number generator, or\n using a monadic adapter.\n .\n As 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 .\n The monadic adapter 'System.Random.Stateful.runStateGen_' is used here to lift\n the pure pseudo-random number generator @pureGen@ into the\n 'System.Random.Stateful.StatefulGen' context.\n .\n The monadic interface can also be used with existing monadic pseudo-random\n number 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 .\n See \"System.Random.Stateful\" for more details.\n\ncategory: System\nbuild-type: Simple\nextra-source-files:\n README.md\n CHANGELOG.md\ntested-with: GHC == 7.10.2\n , GHC == 7.10.3\n , GHC == 8.0.2\n , GHC == 8.2.2\n , GHC == 8.4.3\n , GHC == 8.4.4\n , GHC == 8.6.3\n , GHC == 8.6.4\n , GHC == 8.6.5\n , GHC == 8.8.1\n , GHC == 8.8.2\n , GHC == 8.10.1\n\nsource-repository head\n type: git\n location: https://github.com/haskell/random.git\n\n\nlibrary\n exposed-modules:\n System.Random\n System.Random.Internal\n System.Random.Stateful\n other-modules:\n System.Random.GFinite\n\n hs-source-dirs: src\n default-language: Haskell2010\n ghc-options:\n -Wall\n if impl(ghc >= 8.0)\n ghc-options:\n -Wincomplete-record-updates -Wincomplete-uni-patterns\n\n build-depends:\n base >=4.8 && <5,\n bytestring >=0.10.4 && <0.12,\n deepseq >=1.1 && <2,\n mtl >=2.2 && <2.4,\n splitmix >=0.1 && <0.2\n if impl(ghc < 8.0)\n build-depends:\n transformers\n\ntest-suite legacy-test\n type: exitcode-stdio-1.0\n main-is: Legacy.hs\n hs-source-dirs: test-legacy\n other-modules:\n T7936\n TestRandomIOs\n TestRandomRs\n Random1283\n RangeTest\n\n default-language: Haskell2010\n ghc-options: -with-rtsopts=-M8M\n if impl(ghc >= 8.0)\n ghc-options:\n -Wno-deprecations\n build-depends:\n base,\n containers >=0.5 && <0.7,\n random\n\ntest-suite doctests\n type: exitcode-stdio-1.0\n main-is: doctests.hs\n hs-source-dirs: test\n default-language: Haskell2010\n build-depends:\n base,\n doctest >=0.15 && <0.21\n if impl(ghc >= 8.2) && impl(ghc < 8.10)\n build-depends:\n mwc-random >=0.13 && <0.16,\n primitive >=0.6 && <0.8,\n random,\n stm,\n unliftio >=0.2 && <0.3,\n vector >= 0.10 && <0.14\n\ntest-suite spec\n type: exitcode-stdio-1.0\n main-is: Spec.hs\n hs-source-dirs: test\n other-modules:\n Spec.Range\n Spec.Run\n Spec.Stateful\n\n default-language: Haskell2010\n ghc-options: -Wall\n build-depends:\n base,\n bytestring,\n random,\n smallcheck >=1.2 && <1.3,\n stm,\n tasty >=1.0 && <1.5,\n tasty-smallcheck >=0.8 && <0.9,\n tasty-hunit >=0.10 && <0.11,\n transformers\n\n-- Note. Fails when compiled with coverage:\n-- https://github.com/haskell/random/issues/107\ntest-suite spec-inspection\n type: exitcode-stdio-1.0\n main-is: Spec.hs\n hs-source-dirs: test-inspection\n build-depends:\n\n default-language: Haskell2010\n ghc-options: -Wall\n build-depends:\n base,\n random,\n tasty >=1.0 && <1.5\n if impl(ghc >= 8.0)\n build-depends:\n tasty-inspection-testing\n other-modules:\n Spec.Inspection\n\nbenchmark legacy-bench\n type: exitcode-stdio-1.0\n main-is: SimpleRNGBench.hs\n hs-source-dirs: bench-legacy\n other-modules: BinSearch\n default-language: Haskell2010\n ghc-options:\n -Wall -O2 -threaded -rtsopts -with-rtsopts=-N\n if impl(ghc >= 8.0)\n ghc-options:\n -Wno-deprecations\n\n build-depends:\n base,\n random,\n rdtsc,\n split >=0.2 && <0.3,\n time >=1.4 && <1.13\n\nbenchmark bench\n type: exitcode-stdio-1.0\n main-is: Main.hs\n hs-source-dirs: bench\n default-language: Haskell2010\n ghc-options: -Wall -O2\n build-depends:\n base,\n mtl,\n primitive >= 0.7.1,\n random,\n splitmix >=0.1 && <0.2,\n tasty-bench\n"; - } \ No newline at end of file diff --git a/materialized/ghc928/hadrian-ghc99/hadrian/cabal-files/shake.nix b/materialized/ghc928/hadrian-ghc99/hadrian/cabal-files/shake.nix deleted file mode 100644 index e7eb5c6647..0000000000 --- a/materialized/ghc928/hadrian-ghc99/hadrian/cabal-files/shake.nix +++ /dev/null @@ -1,132 +0,0 @@ -{ 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/ghc928/hadrian-ghc99/hadrian/cabal-files/splitmix.nix b/materialized/ghc928/hadrian-ghc99/hadrian/cabal-files/splitmix.nix deleted file mode 100644 index 7918d356b1..0000000000 --- a/materialized/ghc928/hadrian-ghc99/hadrian/cabal-files/splitmix.nix +++ /dev/null @@ -1,140 +0,0 @@ -{ system - , compiler - , flags - , pkgs - , hsPkgs - , pkgconfPkgs - , errorHandler - , config - , ... }: - ({ - flags = { optimised-mixer = false; }; - package = { - specVersion = "1.10"; - identifier = { name = "splitmix"; version = "0.1.0.4"; }; - 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."clock" or (errorHandler.buildDepError "clock")) - (hsPkgs."random" or (errorHandler.buildDepError "random")) - (hsPkgs."splitmix" or (errorHandler.buildDepError "splitmix")) - ]; - buildable = true; - }; - }; - }; - } // { - src = (pkgs.lib).mkDefault (pkgs.fetchurl { - url = "http://hackage.haskell.org/package/splitmix-0.1.0.4.tar.gz"; - sha256 = "6d065402394e7a9117093dbb4530a21342c9b1e2ec509516c8a8d0ffed98ecaa"; - }); - }) // { - package-description-override = "cabal-version: >=1.10\nname: splitmix\nversion: 0.1.0.4\nx-revision: 2\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.5\n || ==9.4.4\n || ==9.6.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.19\n , deepseq >=1.3.0.0 && <1.5\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.6\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 , clock >=0.8 && <0.9\n , random\n , splitmix\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.13\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.13\n , bytestring >=0.9.1.8 && <0.12\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.13\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.13\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/ghc928/hadrian-ghc99/hadrian/cabal-files/unordered-containers.nix b/materialized/ghc928/hadrian-ghc99/hadrian/cabal-files/unordered-containers.nix deleted file mode 100644 index ab6a9d8c44..0000000000 --- a/materialized/ghc928/hadrian-ghc99/hadrian/cabal-files/unordered-containers.nix +++ /dev/null @@ -1,78 +0,0 @@ -{ 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\r\nversion: 0.2.19.1\r\nx-revision: 2\r\nsynopsis: Efficient hashing-based container types\r\ndescription:\r\n Efficient hashing-based container types. The containers have been\r\n optimized for performance critical use, both in terms of large data\r\n quantities and high speed.\r\n .\r\n The declared cost of each operation is either worst-case or\r\n amortized, but remains valid even if structures are shared.\r\n .\r\n /Security/\r\n .\r\n This package currently provides no defenses against hash collision attacks\r\n such as HashDoS.\r\n Users who need to store input from untrusted sources are advised to use\r\n @Data.Map@ or @Data.Set@ from the @containers@ package instead.\r\nlicense: BSD3\r\nlicense-file: LICENSE\r\nauthor: Johan Tibell\r\nmaintainer: simon.jakobi@gmail.com, David.Feuer@gmail.com\r\nHomepage: https://github.com/haskell-unordered-containers/unordered-containers\r\nbug-reports: https://github.com/haskell-unordered-containers/unordered-containers/issues\r\ncopyright: 2010-2014 Johan Tibell\r\n 2010 Edward Z. Yang\r\ncategory: Data\r\nbuild-type: Simple\r\ncabal-version: >=1.10\r\nextra-source-files: CHANGES.md\r\n\r\ntested-with:\r\n GHC ==9.6.1\r\n || ==9.4.4\r\n || ==9.2.7\r\n || ==9.0.2\r\n || ==8.10.7\r\n || ==8.8.4\r\n || ==8.6.5\r\n || ==8.4.4\r\n || ==8.2.2\r\n\r\nflag debug\r\n description: Enable debug support\r\n default: False\r\n\r\nlibrary\r\n exposed-modules:\r\n Data.HashMap.Internal\r\n Data.HashMap.Internal.Array\r\n Data.HashMap.Internal.List\r\n Data.HashMap.Internal.Strict\r\n Data.HashMap.Lazy\r\n Data.HashMap.Strict\r\n Data.HashSet\r\n Data.HashSet.Internal\r\n\r\n build-depends:\r\n base >= 4.10 && < 5,\r\n deepseq >= 1.4.3,\r\n hashable >= 1.2.5 && < 1.5,\r\n template-haskell < 2.21\r\n\r\n default-language: Haskell2010\r\n\r\n other-extensions:\r\n RoleAnnotations,\r\n UnboxedTuples,\r\n ScopedTypeVariables,\r\n MagicHash,\r\n BangPatterns\r\n\r\n ghc-options: -Wall -O2 -fwarn-tabs -ferror-spans\r\n\r\n -- For dumping the generated code:\r\n -- ghc-options: -ddump-simpl -ddump-stg-final -ddump-cmm -ddump-asm -ddump-to-file\r\n -- ghc-options: -dsuppress-coercions -dsuppress-unfoldings -dsuppress-module-prefixes\r\n -- ghc-options: -dsuppress-uniques -dsuppress-timestamps\r\n\r\n if flag(debug)\r\n cpp-options: -DASSERTS\r\n\r\ntest-suite unordered-containers-tests\r\n hs-source-dirs: tests\r\n main-is: Main.hs\r\n type: exitcode-stdio-1.0\r\n other-modules:\r\n Regressions\r\n Properties\r\n Properties.HashMapLazy\r\n Properties.HashMapStrict\r\n Properties.HashSet\r\n Properties.List\r\n Strictness\r\n\r\n build-depends:\r\n base,\r\n ChasingBottoms,\r\n containers >= 0.5.8,\r\n hashable,\r\n HUnit,\r\n QuickCheck >= 2.4.0.1,\r\n random,\r\n tasty >= 1.4.0.3,\r\n tasty-hunit >= 0.10.0.3,\r\n tasty-quickcheck >= 0.10.1.2,\r\n unordered-containers\r\n\r\n if impl(ghc >= 8.6)\r\n build-depends:\r\n nothunks >= 0.1.3\r\n\r\n default-language: Haskell2010\r\n ghc-options: -Wall\r\n cpp-options: -DASSERTS\r\n\r\nbenchmark benchmarks\r\n hs-source-dirs: benchmarks\r\n main-is: Benchmarks.hs\r\n type: exitcode-stdio-1.0\r\n\r\n other-modules:\r\n Util.ByteString\r\n Util.String\r\n Util.Int\r\n\r\n build-depends:\r\n base,\r\n bytestring >= 0.10.0.0,\r\n containers,\r\n deepseq,\r\n hashable,\r\n hashmap,\r\n mtl,\r\n random,\r\n tasty-bench >= 0.3.1,\r\n unordered-containers\r\n\r\n default-language: Haskell2010\r\n ghc-options: -Wall -O2 -rtsopts -with-rtsopts=-A32m\r\n if impl(ghc >= 8.10)\r\n ghc-options: \"-with-rtsopts=-A32m --nonmoving-gc\"\r\n -- cpp-options: -DBENCH_containers_Map -DBENCH_containers_IntMap -DBENCH_hashmap_Map\r\n\r\nsource-repository head\r\n type: git\r\n location: https://github.com/haskell-unordered-containers/unordered-containers.git\r\n"; - } \ No newline at end of file diff --git a/materialized/ghc928/hadrian-ghc99/hadrian/cabal-files/utf8-string.nix b/materialized/ghc928/hadrian-ghc99/hadrian/cabal-files/utf8-string.nix deleted file mode 100644 index ac9bde4057..0000000000 --- a/materialized/ghc928/hadrian-ghc99/hadrian/cabal-files/utf8-string.nix +++ /dev/null @@ -1,51 +0,0 @@ -{ 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/ghc928/hadrian-ghc99/hadrian/default.nix b/materialized/ghc928/hadrian-ghc99/hadrian/default.nix deleted file mode 100644 index 2d53fa9e1a..0000000000 --- a/materialized/ghc928/hadrian-ghc99/hadrian/default.nix +++ /dev/null @@ -1,159 +0,0 @@ -{ - pkgs = hackage: - { - packages = { - bytestring.revision = (((hackage.bytestring)."0.11.4.0").revisions).default; - directory.revision = (((hackage.directory)."1.3.6.2").revisions).default; - filepath.revision = (((hackage.filepath)."1.4.2.2").revisions).default; - mtl.revision = (((hackage.mtl)."2.2.2").revisions).default; - ghc-bignum.revision = (((hackage.ghc-bignum)."1.2").revisions).default; - ghc-prim.revision = (((hackage.ghc-prim)."0.8.0").revisions).default; - base16-bytestring.revision = import ./cabal-files/base16-bytestring.nix; - parsec.revision = (((hackage.parsec)."3.1.15.0").revisions).default; - js-flot.revision = import ./cabal-files/js-flot.nix; - utf8-string.revision = import ./cabal-files/utf8-string.nix; - Cabal.revision = (((hackage.Cabal)."3.6.3.0").revisions).default; - splitmix.revision = import ./cabal-files/splitmix.nix; - splitmix.flags.optimised-mixer = false; - containers.revision = (((hackage.containers)."0.6.5.1").revisions).default; - clock.revision = import ./cabal-files/clock.nix; - clock.flags.llvm = false; - heaps.revision = import ./cabal-files/heaps.nix; - base.revision = (((hackage.base)."4.16.4.0").revisions).default; - time.revision = (((hackage.time)."1.11.1.1").revisions).default; - random.revision = import ./cabal-files/random.nix; - primitive.revision = import ./cabal-files/primitive.nix; - deepseq.revision = (((hackage.deepseq)."1.4.6.1").revisions).default; - js-jquery.revision = import ./cabal-files/js-jquery.nix; - js-dgtable.revision = import ./cabal-files/js-dgtable.nix; - rts.revision = (((hackage.rts)."1.0.2").revisions).default; - template-haskell.revision = (((hackage.template-haskell)."2.18.0.0").revisions).default; - binary.revision = (((hackage.binary)."0.8.9.0").revisions).default; - shake.revision = import ./cabal-files/shake.nix; - shake.flags.portable = false; - shake.flags.cloud = false; - shake.flags.embed-files = false; - process.revision = (((hackage.process)."1.6.16.0").revisions).default; - unix.revision = (((hackage.unix)."2.7.2.2").revisions).default; - data-array-byte.revision = import ./cabal-files/data-array-byte.nix; - transformers.revision = (((hackage.transformers)."0.5.6.2").revisions).default; - unordered-containers.revision = import ./cabal-files/unordered-containers.nix; - unordered-containers.flags.debug = false; - QuickCheck.revision = import ./cabal-files/QuickCheck.nix; - QuickCheck.flags.old-random = false; - QuickCheck.flags.templatehaskell = true; - extra.revision = import ./cabal-files/extra.nix; - text.revision = (((hackage.text)."1.2.5.0").revisions).default; - array.revision = (((hackage.array)."0.5.4.0").revisions).default; - ghc-boot-th.revision = (((hackage.ghc-boot-th)."9.2.8").revisions).default; - filepattern.revision = import ./cabal-files/filepattern.nix; - 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; - cryptohash-sha256.revision = import ./cabal-files/cryptohash-sha256.nix; - cryptohash-sha256.flags.exe = false; - cryptohash-sha256.flags.use-cbits = true; - }; - compiler = { - version = "9.2.8"; - nix-name = "ghc928"; - packages = { - "pretty" = "1.1.3.6"; - "text" = "1.2.5.0"; - "array" = "0.5.4.0"; - "Cabal" = "3.6.3.0"; - "mtl" = "2.2.2"; - "parsec" = "3.1.15.0"; - "bytestring" = "0.11.4.0"; - "filepath" = "1.4.2.2"; - "ghc-prim" = "0.8.0"; - "ghc-boot-th" = "9.2.8"; - "base" = "4.16.4.0"; - "time" = "1.11.1.1"; - "process" = "1.6.16.0"; - "ghc-bignum" = "1.2"; - "directory" = "1.3.6.2"; - "rts" = "1.0.2"; - "transformers" = "0.5.6.2"; - "template-haskell" = "2.18.0.0"; - "deepseq" = "1.4.6.1"; - "unix" = "2.7.2.2"; - "binary" = "0.8.9.0"; - "containers" = "0.6.5.1"; - }; - }; - }; - extras = hackage: - { - packages = { - hadrian = ./.plan.nix/hadrian.nix; - ghc-platform = ./.plan.nix/ghc-platform.nix; - ghc-toolchain = ./.plan.nix/ghc-toolchain.nix; - }; - }; - modules = [ - ({ lib, ... }: - { - packages = { - "hadrian" = { - flags = { - "threaded" = lib.mkOverride 900 true; - "selftest" = lib.mkOverride 900 true; - }; - }; - "ghc-platform" = { flags = {}; }; - "ghc-toolchain" = { flags = {}; }; - }; - }) - ({ lib, ... }: - { - packages = { - "shake".components.library.planned = lib.mkOverride 900 true; - "base16-bytestring".components.library.planned = lib.mkOverride 900 true; - "heaps".components.library.planned = lib.mkOverride 900 true; - "extra".components.library.planned = lib.mkOverride 900 true; - "filepath".components.library.planned = lib.mkOverride 900 true; - "pretty".components.library.planned = lib.mkOverride 900 true; - "utf8-string".components.library.planned = lib.mkOverride 900 true; - "Cabal".components.library.planned = lib.mkOverride 900 true; - "bytestring".components.library.planned = lib.mkOverride 900 true; - "cryptohash-sha256".components.library.planned = lib.mkOverride 900 true; - "ghc-platform".components.library.planned = lib.mkOverride 900 true; - "ghc-prim".components.library.planned = lib.mkOverride 900 true; - "array".components.library.planned = lib.mkOverride 900 true; - "binary".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; - "ghc-toolchain".components.library.planned = lib.mkOverride 900 true; - "splitmix".components.library.planned = lib.mkOverride 900 true; - "rts".components.library.planned = lib.mkOverride 900 true; - "unix".components.library.planned = lib.mkOverride 900 true; - "shake".components.exes."shake".planned = lib.mkOverride 900 true; - "directory".components.library.planned = lib.mkOverride 900 true; - "time".components.library.planned = lib.mkOverride 900 true; - "js-flot".components.library.planned = lib.mkOverride 900 true; - "ghc-bignum".components.library.planned = lib.mkOverride 900 true; - "data-array-byte".components.library.planned = lib.mkOverride 900 true; - "process".components.library.planned = lib.mkOverride 900 true; - "clock".components.library.planned = lib.mkOverride 900 true; - "template-haskell".components.library.planned = lib.mkOverride 900 true; - "hadrian".components.exes."hadrian".planned = lib.mkOverride 900 true; - "QuickCheck".components.library.planned = lib.mkOverride 900 true; - "mtl".components.library.planned = lib.mkOverride 900 true; - "transformers".components.library.planned = lib.mkOverride 900 true; - "parsec".components.library.planned = lib.mkOverride 900 true; - "deepseq".components.library.planned = lib.mkOverride 900 true; - "primitive".components.library.planned = lib.mkOverride 900 true; - "js-jquery".components.library.planned = lib.mkOverride 900 true; - "text".components.library.planned = lib.mkOverride 900 true; - "unordered-containers".components.library.planned = lib.mkOverride 900 true; - "random".components.library.planned = lib.mkOverride 900 true; - "base".components.library.planned = lib.mkOverride 900 true; - "containers".components.library.planned = lib.mkOverride 900 true; - "js-dgtable".components.library.planned = lib.mkOverride 900 true; - "hashable".components.library.planned = lib.mkOverride 900 true; - }; - }) - ]; - } \ No newline at end of file diff --git a/materialized/ghc962/hadrian-ghc910/hadrian/.plan.nix/ghc-platform.nix b/materialized/ghc962/hadrian-ghc910/hadrian/.plan.nix/ghc-platform.nix deleted file mode 100644 index 1e74a19dde..0000000000 --- a/materialized/ghc962/hadrian-ghc910/hadrian/.plan.nix/ghc-platform.nix +++ /dev/null @@ -1,41 +0,0 @@ -{ system - , compiler - , flags - , pkgs - , hsPkgs - , pkgconfPkgs - , errorHandler - , config - , ... }: - { - flags = {}; - package = { - specVersion = "3.0"; - identifier = { name = "ghc-platform"; version = "0.1.0.0"; }; - license = "BSD-3-Clause"; - copyright = ""; - maintainer = "ghc-devs@haskell.org"; - author = "Rodrigo Mesquita"; - homepage = ""; - url = ""; - synopsis = "Platform information used by GHC and friends"; - description = ""; - buildType = "Simple"; - isLocal = true; - detailLevel = "FullDetails"; - licenseFiles = [ "LICENSE" ]; - dataDir = "."; - dataFiles = []; - extraSrcFiles = []; - extraTmpFiles = []; - extraDocFiles = [ "CHANGELOG.md" ]; - }; - components = { - "library" = { - depends = [ (hsPkgs."base" or (errorHandler.buildDepError "base")) ]; - buildable = true; - modules = [ "GHC/Platform/ArchOS" ]; - hsSourceDirs = [ "src" ]; - }; - }; - } // rec { src = pkgs.lib.mkDefault ../../libraries/ghc-platform; } \ No newline at end of file diff --git a/materialized/ghc962/hadrian-ghc910/hadrian/.plan.nix/ghc-toolchain.nix b/materialized/ghc962/hadrian-ghc910/hadrian/.plan.nix/ghc-toolchain.nix deleted file mode 100644 index bcae793058..0000000000 --- a/materialized/ghc962/hadrian-ghc910/hadrian/.plan.nix/ghc-toolchain.nix +++ /dev/null @@ -1,70 +0,0 @@ -{ system - , compiler - , flags - , pkgs - , hsPkgs - , pkgconfPkgs - , errorHandler - , config - , ... }: - { - flags = {}; - package = { - specVersion = "2.4"; - identifier = { name = "ghc-toolchain"; version = "0.1.0.0"; }; - license = "NONE"; - copyright = "(c) The GHC Developers"; - maintainer = "ben@well-typed.com"; - author = "Ben Gamari"; - homepage = ""; - url = ""; - synopsis = "Utility for managing GHC target toolchains"; - description = ""; - buildType = "Simple"; - isLocal = true; - detailLevel = "FullDetails"; - licenseFiles = []; - dataDir = "."; - dataFiles = []; - extraSrcFiles = []; - extraTmpFiles = []; - extraDocFiles = []; - }; - 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."transformers" or (errorHandler.buildDepError "transformers")) - (hsPkgs."text" or (errorHandler.buildDepError "text")) - (hsPkgs."ghc-platform" or (errorHandler.buildDepError "ghc-platform")) - ]; - buildable = true; - modules = [ - "GHC/Toolchain" - "GHC/Toolchain/Lens" - "GHC/Toolchain/Monad" - "GHC/Toolchain/PlatformDetails" - "GHC/Toolchain/Prelude" - "GHC/Toolchain/Program" - "GHC/Toolchain/ParseTriple" - "GHC/Toolchain/NormaliseTriple" - "GHC/Toolchain/CheckArm" - "GHC/Toolchain/Target" - "GHC/Toolchain/Tools/Ar" - "GHC/Toolchain/Tools/Cc" - "GHC/Toolchain/Tools/Cxx" - "GHC/Toolchain/Tools/Cpp" - "GHC/Toolchain/Tools/Link" - "GHC/Toolchain/Tools/Nm" - "GHC/Toolchain/Tools/Ranlib" - "GHC/Toolchain/Tools/Readelf" - "GHC/Toolchain/Tools/MergeObjs" - "GHC/Toolchain/Utils" - ]; - hsSourceDirs = [ "src" ]; - }; - }; - } // rec { src = pkgs.lib.mkDefault ../../utils/ghc-toolchain; } \ No newline at end of file diff --git a/materialized/ghc962/hadrian-ghc910/hadrian/.plan.nix/hadrian.nix b/materialized/ghc962/hadrian-ghc910/hadrian/.plan.nix/hadrian.nix deleted file mode 100644 index 1ae09779ab..0000000000 --- a/materialized/ghc962/hadrian-ghc910/hadrian/.plan.nix/hadrian.nix +++ /dev/null @@ -1,169 +0,0 @@ -{ 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")) - (hsPkgs."cryptohash-sha256" or (errorHandler.buildDepError "cryptohash-sha256")) - (hsPkgs."base16-bytestring" or (errorHandler.buildDepError "base16-bytestring")) - (hsPkgs."ghc-platform" or (errorHandler.buildDepError "ghc-platform")) - (hsPkgs."ghc-toolchain" or (errorHandler.buildDepError "ghc-toolchain")) - ] ++ 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/Hash" - "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/Codes" - "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/GenApply" - "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/ghc962/hadrian-ghc910/hadrian/cabal-files/QuickCheck.nix b/materialized/ghc962/hadrian-ghc910/hadrian/cabal-files/QuickCheck.nix deleted file mode 100644 index 62e36aa8b6..0000000000 --- a/materialized/ghc962/hadrian-ghc910/hadrian/cabal-files/QuickCheck.nix +++ /dev/null @@ -1,119 +0,0 @@ -{ 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/ghc962/hadrian-ghc910/hadrian/cabal-files/base16-bytestring.nix b/materialized/ghc962/hadrian-ghc910/hadrian/cabal-files/base16-bytestring.nix deleted file mode 100644 index c3d272500b..0000000000 --- a/materialized/ghc962/hadrian-ghc910/hadrian/cabal-files/base16-bytestring.nix +++ /dev/null @@ -1,68 +0,0 @@ -{ system - , compiler - , flags - , pkgs - , hsPkgs - , pkgconfPkgs - , errorHandler - , config - , ... }: - ({ - flags = {}; - package = { - specVersion = "1.12"; - identifier = { name = "base16-bytestring"; version = "1.0.2.0"; }; - license = "BSD-3-Clause"; - copyright = "Copyright 2011 MailRank, Inc.;\nCopyright 2010-2020 Bryan O'Sullivan et al."; - maintainer = "Herbert Valerio Riedel ,\nMikhail Glushenkov ,\nEmily Pillmore "; - author = "Bryan O'Sullivan "; - homepage = "http://github.com/haskell/base16-bytestring"; - url = ""; - synopsis = "RFC 4648-compliant Base16 encodings for ByteStrings"; - description = "This package provides support for encoding and decoding binary data according\nto @base16@ (see also ) for\nstrict (see \"Data.ByteString.Base16\") and lazy @ByteString@s (see \"Data.ByteString.Base16.Lazy\").\n\nSee the package which provides superior encoding and decoding performance as well as support for lazy, short, and strict variants of 'Text' and 'ByteString' values. Additionally, see the package which\nprovides an uniform API providing conversion paths between more binary and textual types."; - buildType = "Simple"; - }; - components = { - "library" = { - depends = [ - (hsPkgs."base" or (errorHandler.buildDepError "base")) - (hsPkgs."bytestring" or (errorHandler.buildDepError "bytestring")) - ]; - buildable = true; - }; - tests = { - "test" = { - depends = [ - (hsPkgs."base" or (errorHandler.buildDepError "base")) - (hsPkgs."base16-bytestring" or (errorHandler.buildDepError "base16-bytestring")) - (hsPkgs."bytestring" or (errorHandler.buildDepError "bytestring")) - (hsPkgs."HUnit" or (errorHandler.buildDepError "HUnit")) - (hsPkgs."QuickCheck" or (errorHandler.buildDepError "QuickCheck")) - (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")) - ]; - buildable = true; - }; - }; - benchmarks = { - "bench" = { - depends = [ - (hsPkgs."base" or (errorHandler.buildDepError "base")) - (hsPkgs."base16-bytestring" or (errorHandler.buildDepError "base16-bytestring")) - (hsPkgs."bytestring" or (errorHandler.buildDepError "bytestring")) - (hsPkgs."criterion" or (errorHandler.buildDepError "criterion")) - (hsPkgs."deepseq" or (errorHandler.buildDepError "deepseq")) - ]; - buildable = true; - }; - }; - }; - } // { - src = pkgs.lib.mkDefault (pkgs.fetchurl { - url = "http://hackage.haskell.org/package/base16-bytestring-1.0.2.0.tar.gz"; - sha256 = "1d5a91143ef0e22157536093ec8e59d226a68220ec89378d5dcaeea86472c784"; - }); - }) // { - package-description-override = "cabal-version: 1.12\nname: base16-bytestring\nversion: 1.0.2.0\nx-revision: 1\nsynopsis: RFC 4648-compliant Base16 encodings for ByteStrings\ndescription:\n This package provides support for encoding and decoding binary data according\n to @base16@ (see also ) for\n strict (see \"Data.ByteString.Base16\") and lazy @ByteString@s (see \"Data.ByteString.Base16.Lazy\").\n .\n See the package which provides superior encoding and decoding performance as well as support for lazy, short, and strict variants of 'Text' and 'ByteString' values. Additionally, see the package which\n provides an uniform API providing conversion paths between more binary and textual types.\n\nhomepage: http://github.com/haskell/base16-bytestring\nbug-reports: http://github.com/haskell/base16-bytestring/issues\nlicense: BSD3\nlicense-file: LICENSE\ncopyright:\n Copyright 2011 MailRank, Inc.;\n Copyright 2010-2020 Bryan O'Sullivan et al.\n\nauthor: Bryan O'Sullivan \nmaintainer:\n Herbert Valerio Riedel ,\n Mikhail Glushenkov ,\n Emily Pillmore \n\ncategory: Data\nbuild-type: Simple\nextra-source-files:\n README.md\n CHANGELOG.md\n\ntested-with:\n GHC == 9.8.0\n GHC == 9.6.3\n GHC == 9.4.7\n GHC == 9.2.8\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\nsource-repository head\n type: git\n location: http://github.com/haskell/base16-bytestring\n\nlibrary\n other-modules: Data.ByteString.Base16.Internal\n exposed-modules:\n Data.ByteString.Base16\n Data.ByteString.Base16.Lazy\n\n build-depends:\n base >=4.9 && <5\n , bytestring >=0.9 && <0.13\n\n ghc-options: -Wall -funbox-strict-fields\n default-language: Haskell2010\n\ntest-suite test\n type: exitcode-stdio-1.0\n hs-source-dirs: tests\n main-is: Tests.hs\n build-depends:\n base\n , base16-bytestring\n , bytestring\n , HUnit\n , QuickCheck\n , test-framework\n , test-framework-hunit\n , test-framework-quickcheck2\n\n default-language: Haskell2010\n\nbenchmark bench\n type: exitcode-stdio-1.0\n hs-source-dirs: benchmarks\n main-is: Benchmarks.hs\n build-depends:\n base >=4 && <5\n , base16-bytestring\n , bytestring\n , criterion\n , deepseq\n\n default-language: Haskell2010\n"; - } \ No newline at end of file diff --git a/materialized/ghc962/hadrian-ghc910/hadrian/cabal-files/clock.nix b/materialized/ghc962/hadrian-ghc910/hadrian/cabal-files/clock.nix deleted file mode 100644 index 1db6e2d90d..0000000000 --- a/materialized/ghc962/hadrian-ghc910/hadrian/cabal-files/clock.nix +++ /dev/null @@ -1,59 +0,0 @@ -{ 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/ghc962/hadrian-ghc910/hadrian/cabal-files/cryptohash-sha256.nix b/materialized/ghc962/hadrian-ghc910/hadrian/cabal-files/cryptohash-sha256.nix deleted file mode 100644 index 7fe8a112a9..0000000000 --- a/materialized/ghc962/hadrian-ghc910/hadrian/cabal-files/cryptohash-sha256.nix +++ /dev/null @@ -1,84 +0,0 @@ -{ system - , compiler - , flags - , pkgs - , hsPkgs - , pkgconfPkgs - , errorHandler - , config - , ... }: - ({ - flags = { exe = false; use-cbits = true; }; - package = { - specVersion = "2.0"; - identifier = { name = "cryptohash-sha256"; version = "0.11.102.1"; }; - license = "BSD-3-Clause"; - copyright = "Vincent Hanquez, Herbert Valerio Riedel"; - maintainer = "Herbert Valerio Riedel "; - author = ""; - homepage = "https://github.com/hvr/cryptohash-sha256"; - url = ""; - synopsis = "Fast, pure and practical SHA-256 implementation"; - description = "A practical incremental and one-pass, pure API to\nthe [SHA-256 cryptographic hash algorithm](https://en.wikipedia.org/wiki/SHA-2) according\nto [FIPS 180-4](http://dx.doi.org/10.6028/NIST.FIPS.180-4)\nwith performance close to the fastest implementations available in other languages.\n\nThe core SHA-256 algorithm is implemented in C and is thus expected\nto be as fast as the standard [sha256sum(1) tool](https://linux.die.net/man/1/sha256sum);\nfor instance, on an /Intel Core i7-3770/ at 3.40GHz this implementation can\ncompute a SHA-256 hash over 230 MiB of data in under one second.\n(If, instead, you require a pure Haskell implementation and performance is secondary, please refer to the [SHA package](https://hackage.haskell.org/package/SHA).)\n\n\nAdditionally, this package provides support for\n\n- HMAC-SHA-256: SHA-256-based [Hashed Message Authentication Codes](https://en.wikipedia.org/wiki/HMAC) (HMAC)\n- HKDF-SHA-256: [HMAC-SHA-256-based Key Derivation Function](https://en.wikipedia.org/wiki/HKDF) (HKDF)\n\nconforming to [RFC6234](https://tools.ietf.org/html/rfc6234), [RFC4231](https://tools.ietf.org/html/rfc4231), [RFC5869](https://tools.ietf.org/html/rfc5869), et al..\n\n=== Relationship to the @cryptohash@ package and its API\n\nThis package has been originally a fork of @cryptohash-0.11.7@ because the @cryptohash@\npackage had been deprecated and so this package continues to satisfy the need for a\nlightweight package providing the SHA-256 hash algorithm without any dependencies on packages\nother than @base@ and @bytestring@. The API exposed by @cryptohash-sha256-0.11.*@'s\n\"Crypto.Hash.SHA256\" module is guaranteed to remain a compatible superset of the API provided\nby the @cryptohash-0.11.7@'s module of the same name.\n\nConsequently, this package is designed to be used as a drop-in replacement for @cryptohash-0.11.7@'s\n\"Crypto.Hash.SHA256\" module, though with\na [clearly smaller footprint by almost 3 orders of magnitude](https://www.reddit.com/r/haskell/comments/5lxv75/psa_please_use_unique_module_names_when_uploading/dbzegx3/)."; - buildType = "Simple"; - }; - components = { - "library" = { - depends = [ - (hsPkgs."base" or (errorHandler.buildDepError "base")) - ] ++ (if flags.use-cbits - then [ - (hsPkgs."bytestring" or (errorHandler.buildDepError "bytestring")) - ] - else [ - (hsPkgs."cryptohash-sha256-pure" or (errorHandler.buildDepError "cryptohash-sha256-pure")) - ]); - buildable = true; - }; - exes = { - "sha256sum" = { - depends = pkgs.lib.optionals (flags.exe) [ - (hsPkgs."cryptohash-sha256" or (errorHandler.buildDepError "cryptohash-sha256")) - (hsPkgs."base" or (errorHandler.buildDepError "base")) - (hsPkgs."bytestring" or (errorHandler.buildDepError "bytestring")) - (hsPkgs."base16-bytestring" or (errorHandler.buildDepError "base16-bytestring")) - ]; - buildable = if flags.exe then true else false; - }; - }; - tests = { - "test-sha256" = { - depends = [ - (hsPkgs."cryptohash-sha256" or (errorHandler.buildDepError "cryptohash-sha256")) - (hsPkgs."base" or (errorHandler.buildDepError "base")) - (hsPkgs."bytestring" or (errorHandler.buildDepError "bytestring")) - (hsPkgs."base16-bytestring" or (errorHandler.buildDepError "base16-bytestring")) - (hsPkgs."SHA" or (errorHandler.buildDepError "SHA")) - (hsPkgs."tasty" or (errorHandler.buildDepError "tasty")) - (hsPkgs."tasty-quickcheck" or (errorHandler.buildDepError "tasty-quickcheck")) - (hsPkgs."tasty-hunit" or (errorHandler.buildDepError "tasty-hunit")) - ]; - buildable = true; - }; - }; - benchmarks = { - "bench-sha256" = { - depends = [ - (hsPkgs."cryptohash-sha256" or (errorHandler.buildDepError "cryptohash-sha256")) - (hsPkgs."SHA" or (errorHandler.buildDepError "SHA")) - (hsPkgs."base" or (errorHandler.buildDepError "base")) - (hsPkgs."bytestring" or (errorHandler.buildDepError "bytestring")) - (hsPkgs."criterion" or (errorHandler.buildDepError "criterion")) - ]; - buildable = true; - }; - }; - }; - } // { - src = pkgs.lib.mkDefault (pkgs.fetchurl { - url = "http://hackage.haskell.org/package/cryptohash-sha256-0.11.102.1.tar.gz"; - sha256 = "73a7dc7163871a80837495039a099967b11f5c4fe70a118277842f7a713c6bf6"; - }); - }) // { - package-description-override = "cabal-version: 2.0\nname: cryptohash-sha256\nversion: 0.11.102.1\nx-revision: 3\n\nsynopsis: Fast, pure and practical SHA-256 implementation\ndescription: {\n\nA practical incremental and one-pass, pure API to\nthe [SHA-256 cryptographic hash algorithm](https://en.wikipedia.org/wiki/SHA-2) according\nto [FIPS 180-4](http://dx.doi.org/10.6028/NIST.FIPS.180-4)\nwith performance close to the fastest implementations available in other languages.\n.\nThe core SHA-256 algorithm is implemented in C and is thus expected\nto be as fast as the standard [sha256sum(1) tool](https://linux.die.net/man/1/sha256sum);\nfor instance, on an /Intel Core i7-3770/ at 3.40GHz this implementation can\ncompute a SHA-256 hash over 230 MiB of data in under one second.\n(If, instead, you require a pure Haskell implementation and performance is secondary, please refer to the [SHA package](https://hackage.haskell.org/package/SHA).)\n.\n\n.\nAdditionally, this package provides support for\n.\n- HMAC-SHA-256: SHA-256-based [Hashed Message Authentication Codes](https://en.wikipedia.org/wiki/HMAC) (HMAC)\n- HKDF-SHA-256: [HMAC-SHA-256-based Key Derivation Function](https://en.wikipedia.org/wiki/HKDF) (HKDF)\n.\nconforming to [RFC6234](https://tools.ietf.org/html/rfc6234), [RFC4231](https://tools.ietf.org/html/rfc4231), [RFC5869](https://tools.ietf.org/html/rfc5869), et al..\n.\n=== Relationship to the @cryptohash@ package and its API\n.\nThis package has been originally a fork of @cryptohash-0.11.7@ because the @cryptohash@\npackage had been deprecated and so this package continues to satisfy the need for a\nlightweight package providing the SHA-256 hash algorithm without any dependencies on packages\nother than @base@ and @bytestring@. The API exposed by @cryptohash-sha256-0.11.*@'s\n\"Crypto.Hash.SHA256\" module is guaranteed to remain a compatible superset of the API provided\nby the @cryptohash-0.11.7@'s module of the same name.\n.\nConsequently, this package is designed to be used as a drop-in replacement for @cryptohash-0.11.7@'s\n\"Crypto.Hash.SHA256\" module, though with\na [clearly smaller footprint by almost 3 orders of magnitude](https://www.reddit.com/r/haskell/comments/5lxv75/psa_please_use_unique_module_names_when_uploading/dbzegx3/).\n\n}\n\nlicense: BSD3\nlicense-file: LICENSE\ncopyright: Vincent Hanquez, Herbert Valerio Riedel\nmaintainer: Herbert Valerio Riedel \nhomepage: https://github.com/hvr/cryptohash-sha256\nbug-reports: https://github.com/hvr/cryptohash-sha256/issues\ncategory: Data, Cryptography\nbuild-type: Simple\n\ntested-with:\n GHC == 9.8.0\n GHC == 9.6.2\n GHC == 9.4.7\n GHC == 9.2.8\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\nextra-source-files: cbits/hs_sha256.h\n changelog.md\n\nsource-repository head\n type: git\n location: https://github.com/hvr/cryptohash-sha256.git\n\nflag exe\n description: Enable building @sha256sum@ executable\n manual: True\n default: False\n\nflag use-cbits\n description: Use fast optimized C routines via FFI; if flag is disabled falls back to non-FFI Haskell optimized implementation.\n manual: True\n default: True\n\nlibrary\n default-language: Haskell2010\n\n ghc-options: -Wall\n\n build-depends: base >= 4.5 && < 4.20\n\n exposed-modules: Crypto.Hash.SHA256\n\n if flag(use-cbits)\n build-depends: bytestring ^>= 0.9.2.0 || ^>= 0.10.0.0 || ^>= 0.11.0.0 || ^>= 0.12.0.2\n\n other-extensions: BangPatterns\n CApiFFI\n CPP\n Trustworthy\n Unsafe\n\n hs-source-dirs: src\n other-modules: Crypto.Hash.SHA256.FFI\n Compat\n include-dirs: cbits\n else\n hs-source-dirs: src-pure\n build-depends: cryptohash-sha256-pure ^>= 0.1.0\n\nexecutable sha256sum\n default-language: Haskell2010\n hs-source-dirs: src-exe\n main-is: sha256sum.hs\n ghc-options: -Wall -threaded\n if flag(exe)\n other-extensions: RecordWildCards\n build-depends: cryptohash-sha256\n , base\n , bytestring\n\n , base16-bytestring ^>= 0.1.1 || ^>= 1.0.0\n else\n buildable: False\n\ntest-suite test-sha256\n default-language: Haskell2010\n other-extensions: OverloadedStrings\n type: exitcode-stdio-1.0\n hs-source-dirs: src-tests\n main-is: test-sha256.hs\n ghc-options: -Wall -threaded\n build-depends: cryptohash-sha256\n , base\n , bytestring\n\n , base16-bytestring ^>= 0.1.1 || ^>= 1.0.0\n , SHA ^>= 1.6.4\n , tasty ^>= 1.4 || ^>= 1.5\n , tasty-quickcheck ^>= 0.10\n , tasty-hunit ^>= 0.10\n\nbenchmark bench-sha256\n default-language: Haskell2010\n other-extensions: BangPatterns\n type: exitcode-stdio-1.0\n main-is: bench-sha256.hs\n hs-source-dirs: src-bench\n build-depends: cryptohash-sha256\n , SHA ^>= 1.6.4\n , base\n , bytestring\n , criterion ^>= 1.5 || ^>=1.6\n\n -- not yet public\n -- build-depends: cryptohash-sha256-pure ^>= 0.1.0\n"; - } \ No newline at end of file diff --git a/materialized/ghc962/hadrian-ghc910/hadrian/cabal-files/extra.nix b/materialized/ghc962/hadrian-ghc910/hadrian/cabal-files/extra.nix deleted file mode 100644 index 41668cf6bc..0000000000 --- a/materialized/ghc962/hadrian-ghc910/hadrian/cabal-files/extra.nix +++ /dev/null @@ -1,58 +0,0 @@ -{ 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/ghc962/hadrian-ghc910/hadrian/cabal-files/filepattern.nix b/materialized/ghc962/hadrian-ghc910/hadrian/cabal-files/filepattern.nix deleted file mode 100644 index 385c502003..0000000000 --- a/materialized/ghc962/hadrian-ghc910/hadrian/cabal-files/filepattern.nix +++ /dev/null @@ -1,56 +0,0 @@ -{ 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/ghc962/hadrian-ghc910/hadrian/cabal-files/hashable.nix b/materialized/ghc962/hadrian-ghc910/hadrian/cabal-files/hashable.nix deleted file mode 100644 index 4b125fa0bc..0000000000 --- a/materialized/ghc962/hadrian-ghc910/hadrian/cabal-files/hashable.nix +++ /dev/null @@ -1,82 +0,0 @@ -{ 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/ghc962/hadrian-ghc910/hadrian/cabal-files/heaps.nix b/materialized/ghc962/hadrian-ghc910/hadrian/cabal-files/heaps.nix deleted file mode 100644 index e759e305bf..0000000000 --- a/materialized/ghc962/hadrian-ghc910/hadrian/cabal-files/heaps.nix +++ /dev/null @@ -1,38 +0,0 @@ -{ 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/ghc962/hadrian-ghc910/hadrian/cabal-files/js-dgtable.nix b/materialized/ghc962/hadrian-ghc910/hadrian/cabal-files/js-dgtable.nix deleted file mode 100644 index 40ea1148c6..0000000000 --- a/materialized/ghc962/hadrian-ghc910/hadrian/cabal-files/js-dgtable.nix +++ /dev/null @@ -1,47 +0,0 @@ -{ 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/ghc962/hadrian-ghc910/hadrian/cabal-files/js-flot.nix b/materialized/ghc962/hadrian-ghc910/hadrian/cabal-files/js-flot.nix deleted file mode 100644 index 67980dd7ba..0000000000 --- a/materialized/ghc962/hadrian-ghc910/hadrian/cabal-files/js-flot.nix +++ /dev/null @@ -1,47 +0,0 @@ -{ 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/ghc962/hadrian-ghc910/hadrian/cabal-files/js-jquery.nix b/materialized/ghc962/hadrian-ghc910/hadrian/cabal-files/js-jquery.nix deleted file mode 100644 index 05e54a25ab..0000000000 --- a/materialized/ghc962/hadrian-ghc910/hadrian/cabal-files/js-jquery.nix +++ /dev/null @@ -1,48 +0,0 @@ -{ 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/ghc962/hadrian-ghc910/hadrian/cabal-files/primitive.nix b/materialized/ghc962/hadrian-ghc910/hadrian/cabal-files/primitive.nix deleted file mode 100644 index b5683f2c83..0000000000 --- a/materialized/ghc962/hadrian-ghc910/hadrian/cabal-files/primitive.nix +++ /dev/null @@ -1,73 +0,0 @@ -{ 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/ghc962/hadrian-ghc910/hadrian/cabal-files/random.nix b/materialized/ghc962/hadrian-ghc910/hadrian/cabal-files/random.nix deleted file mode 100644 index 0dbaf8b099..0000000000 --- a/materialized/ghc962/hadrian-ghc910/hadrian/cabal-files/random.nix +++ /dev/null @@ -1,113 +0,0 @@ -{ 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/ghc962/hadrian-ghc910/hadrian/cabal-files/shake.nix b/materialized/ghc962/hadrian-ghc910/hadrian/cabal-files/shake.nix deleted file mode 100644 index d40c2a8bbc..0000000000 --- a/materialized/ghc962/hadrian-ghc910/hadrian/cabal-files/shake.nix +++ /dev/null @@ -1,132 +0,0 @@ -{ 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/ghc962/hadrian-ghc910/hadrian/cabal-files/splitmix.nix b/materialized/ghc962/hadrian-ghc910/hadrian/cabal-files/splitmix.nix deleted file mode 100644 index aa0dd88d31..0000000000 --- a/materialized/ghc962/hadrian-ghc910/hadrian/cabal-files/splitmix.nix +++ /dev/null @@ -1,139 +0,0 @@ -{ 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/ghc962/hadrian-ghc910/hadrian/cabal-files/unordered-containers.nix b/materialized/ghc962/hadrian-ghc910/hadrian/cabal-files/unordered-containers.nix deleted file mode 100644 index 0aeaccb277..0000000000 --- a/materialized/ghc962/hadrian-ghc910/hadrian/cabal-files/unordered-containers.nix +++ /dev/null @@ -1,78 +0,0 @@ -{ 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/ghc962/hadrian-ghc910/hadrian/cabal-files/utf8-string.nix b/materialized/ghc962/hadrian-ghc910/hadrian/cabal-files/utf8-string.nix deleted file mode 100644 index a5ee5272da..0000000000 --- a/materialized/ghc962/hadrian-ghc910/hadrian/cabal-files/utf8-string.nix +++ /dev/null @@ -1,51 +0,0 @@ -{ 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/ghc962/hadrian-ghc910/hadrian/default.nix b/materialized/ghc962/hadrian-ghc910/hadrian/default.nix deleted file mode 100644 index a5970273ce..0000000000 --- a/materialized/ghc962/hadrian-ghc910/hadrian/default.nix +++ /dev/null @@ -1,195 +0,0 @@ -{ - 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.0.0".revisions.default; - splitmix.revision = import ./cabal-files/splitmix.nix; - splitmix.flags.optimised-mixer = false; - unix.revision = hackage.unix."2.8.1.0".revisions.default; - filepattern.revision = import ./cabal-files/filepattern.nix; - ghc-boot-th.revision = hackage.ghc-boot-th."9.6.2".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 = hackage.Cabal-syntax."3.10.1.0".revisions.default; - 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; - base16-bytestring.revision = import ./cabal-files/base16-bytestring.nix; - 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.5.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.4.0".revisions.default; - Cabal.revision = hackage.Cabal."3.10.1.0".revisions.default; - directory.revision = hackage.directory."1.3.8.1".revisions.default; - js-flot.revision = import ./cabal-files/js-flot.nix; - cryptohash-sha256.revision = import ./cabal-files/cryptohash-sha256.nix; - cryptohash-sha256.flags.exe = false; - cryptohash-sha256.flags.use-cbits = true; - 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.100.1".revisions.default; - js-dgtable.revision = import ./cabal-files/js-dgtable.nix; - extra.revision = import ./cabal-files/extra.nix; - }; - compiler = { - version = "9.6.2"; - nix-name = "ghc962"; - packages = { - "unix" = "2.8.1.0"; - "filepath" = "1.4.100.1"; - "transformers" = "0.6.1.0"; - "parsec" = "3.1.16.1"; - "bytestring" = "0.11.4.0"; - "containers" = "0.6.7"; - "ghc-prim" = "0.10.0"; - "mtl" = "2.3.1"; - "Cabal" = "3.10.1.0"; - "ghc-boot-th" = "9.6.2"; - "base" = "4.18.0.0"; - "time" = "1.12.2"; - "stm" = "2.5.1.0"; - "Cabal-syntax" = "3.10.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.5.0"; - "exceptions" = "0.10.7"; - }; - }; - }; - extras = hackage: - { - packages = { - ghc-toolchain = ./.plan.nix/ghc-toolchain.nix; - ghc-platform = ./.plan.nix/ghc-platform.nix; - hadrian = ./.plan.nix/hadrian.nix; - }; - }; - modules = [ - { - preExistingPkgs = [ - "ghc-prim" - "transformers" - "time" - "base" - "unix" - "ghc-boot-th" - "mtl" - "pretty" - "Cabal-syntax" - "process" - "stm" - "template-haskell" - "exceptions" - "parsec" - "system-cxx-std-lib" - "deepseq" - "text" - "containers" - "array" - "bytestring" - "Cabal" - "directory" - "ghc-bignum" - "binary" - "filepath" - ]; - } - ({ lib, ... }: - { - packages = { - "ghc-toolchain" = { flags = {}; }; - "ghc-platform" = { flags = {}; }; - "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; - "base16-bytestring".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; - "ghc-toolchain".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; - "ghc-platform".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; - "cryptohash-sha256".components.library.planned = lib.mkOverride 900 true; - "unix".components.library.planned = lib.mkOverride 900 true; - }; - }) - ]; -} \ No newline at end of file diff --git a/materialized/ghc962/hadrian-ghc94/hadrian/.plan.nix/hadrian.nix b/materialized/ghc962/hadrian-ghc94/hadrian/.plan.nix/hadrian.nix deleted file mode 100644 index 6a031230a6..0000000000 --- a/materialized/ghc962/hadrian-ghc94/hadrian/.plan.nix/hadrian.nix +++ /dev/null @@ -1,161 +0,0 @@ -{ 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."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/ghc962/hadrian-ghc94/hadrian/cabal-files/Cabal-syntax.nix b/materialized/ghc962/hadrian-ghc94/hadrian/cabal-files/Cabal-syntax.nix deleted file mode 100644 index dabbcbdee8..0000000000 --- a/materialized/ghc962/hadrian-ghc94/hadrian/cabal-files/Cabal-syntax.nix +++ /dev/null @@ -1,55 +0,0 @@ -{ 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/ghc962/hadrian-ghc94/hadrian/cabal-files/Cabal.nix b/materialized/ghc962/hadrian-ghc94/hadrian/cabal-files/Cabal.nix deleted file mode 100644 index be0b5019d9..0000000000 --- a/materialized/ghc962/hadrian-ghc94/hadrian/cabal-files/Cabal.nix +++ /dev/null @@ -1,56 +0,0 @@ -{ 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/ghc962/hadrian-ghc94/hadrian/cabal-files/QuickCheck.nix b/materialized/ghc962/hadrian-ghc94/hadrian/cabal-files/QuickCheck.nix deleted file mode 100644 index 62e36aa8b6..0000000000 --- a/materialized/ghc962/hadrian-ghc94/hadrian/cabal-files/QuickCheck.nix +++ /dev/null @@ -1,119 +0,0 @@ -{ 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/ghc962/hadrian-ghc94/hadrian/cabal-files/clock.nix b/materialized/ghc962/hadrian-ghc94/hadrian/cabal-files/clock.nix deleted file mode 100644 index 1db6e2d90d..0000000000 --- a/materialized/ghc962/hadrian-ghc94/hadrian/cabal-files/clock.nix +++ /dev/null @@ -1,59 +0,0 @@ -{ 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/ghc962/hadrian-ghc94/hadrian/cabal-files/directory.nix b/materialized/ghc962/hadrian-ghc94/hadrian/cabal-files/directory.nix deleted file mode 100644 index a93c7eb928..0000000000 --- a/materialized/ghc962/hadrian-ghc94/hadrian/cabal-files/directory.nix +++ /dev/null @@ -1,57 +0,0 @@ -{ system - , compiler - , flags - , pkgs - , hsPkgs - , pkgconfPkgs - , errorHandler - , config - , ... }: - ({ - flags = {}; - package = { - specVersion = "2.2"; - identifier = { name = "directory"; version = "1.3.8.1"; }; - license = "BSD-3-Clause"; - copyright = ""; - maintainer = "libraries@haskell.org"; - author = ""; - homepage = ""; - url = ""; - synopsis = "Platform-agnostic library for filesystem operations"; - description = "This library provides a basic set of operations for manipulating files and\ndirectories in a portable way."; - buildType = "Configure"; - }; - components = { - "library" = { - depends = [ - (hsPkgs."base" or (errorHandler.buildDepError "base")) - (hsPkgs."time" or (errorHandler.buildDepError "time")) - (hsPkgs."filepath" or (errorHandler.buildDepError "filepath")) - ] ++ (if system.isWindows - then [ (hsPkgs."Win32" or (errorHandler.buildDepError "Win32")) ] - else [ (hsPkgs."unix" or (errorHandler.buildDepError "unix")) ]); - buildable = true; - }; - tests = { - "test" = { - depends = [ - (hsPkgs."base" or (errorHandler.buildDepError "base")) - (hsPkgs."directory" or (errorHandler.buildDepError "directory")) - (hsPkgs."filepath" or (errorHandler.buildDepError "filepath")) - (hsPkgs."time" or (errorHandler.buildDepError "time")) - ] ++ (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/directory-1.3.8.1.tar.gz"; - sha256 = "bd8253197587d32d4553070d2de89d3817176860932b0e9ab7bb7ba3759d8e9c"; - }); - }) // { - package-description-override = "cabal-version: 2.2\r\nname: directory\r\nversion: 1.3.8.1\r\nx-revision: 1\r\nlicense: BSD-3-Clause\r\nlicense-file: LICENSE\r\nmaintainer: libraries@haskell.org\r\nbug-reports: https://github.com/haskell/directory/issues\r\nsynopsis: Platform-agnostic library for filesystem operations\r\ndescription:\r\n This library provides a basic set of operations for manipulating files and\r\n directories in a portable way.\r\ncategory: System\r\nbuild-type: Configure\r\ntested-with: GHC == 8.6.5 || == 8.10.7 || == 9.0.2 || == 9.2.4 || == 9.4.3\r\n\r\nextra-tmp-files:\r\n autom4te.cache\r\n config.log\r\n config.status\r\n HsDirectoryConfig.h\r\n\r\nextra-source-files:\r\n HsDirectoryConfig.h.in\r\n README.md\r\n System/Directory/Internal/*.h\r\n changelog.md\r\n configure\r\n configure.ac\r\n directory.buildinfo\r\n tests/*.hs\r\n tests/util.inl\r\n\r\nsource-repository head\r\n type: git\r\n location: https://github.com/haskell/directory\r\n\r\nLibrary\r\n default-language: Haskell2010\r\n other-extensions: CApiFFI, CPP\r\n\r\n exposed-modules:\r\n System.Directory\r\n System.Directory.OsPath\r\n System.Directory.Internal\r\n System.Directory.Internal.Prelude\r\n other-modules:\r\n System.Directory.Internal.C_utimensat\r\n System.Directory.Internal.Common\r\n System.Directory.Internal.Config\r\n System.Directory.Internal.Posix\r\n System.Directory.Internal.Windows\r\n\r\n include-dirs: .\r\n\r\n build-depends:\r\n base >= 4.11.0 && < 4.20,\r\n time >= 1.8.0 && < 1.13,\r\n filepath >= 1.4.100 && < 1.5\r\n if os(windows)\r\n build-depends: Win32 >= 2.13.3 && < 2.14\r\n else\r\n build-depends: unix >= 2.8.0 && < 2.9\r\n\r\n ghc-options: -Wall\r\n\r\ntest-suite test\r\n default-language: Haskell2010\r\n other-extensions: BangPatterns, CPP\r\n default-extensions: OverloadedStrings\r\n ghc-options: -Wall\r\n hs-source-dirs: tests\r\n main-is: Main.hs\r\n type: exitcode-stdio-1.0\r\n build-depends: base, directory, filepath, time\r\n if os(windows)\r\n build-depends: Win32\r\n else\r\n build-depends: unix\r\n other-modules:\r\n TestUtils\r\n Util\r\n -- test-modules-begin\r\n CanonicalizePath\r\n CopyFile001\r\n CopyFile002\r\n CopyFileWithMetadata\r\n CreateDirectory001\r\n CreateDirectoryIfMissing001\r\n CurrentDirectory001\r\n Directory001\r\n DoesDirectoryExist001\r\n DoesPathExist\r\n FileTime\r\n FindFile001\r\n GetDirContents001\r\n GetDirContents002\r\n GetFileSize\r\n GetHomeDirectory001\r\n GetHomeDirectory002\r\n GetPermissions001\r\n LongPaths\r\n MakeAbsolute\r\n MinimizeNameConflicts\r\n PathIsSymbolicLink\r\n RemoveDirectoryRecursive001\r\n RemovePathForcibly\r\n RenameDirectory\r\n RenameFile001\r\n RenamePath\r\n Simplify\r\n T8482\r\n WithCurrentDirectory\r\n Xdg\r\n -- test-modules-end\r\n"; - } \ No newline at end of file diff --git a/materialized/ghc962/hadrian-ghc94/hadrian/cabal-files/exceptions.nix b/materialized/ghc962/hadrian-ghc94/hadrian/cabal-files/exceptions.nix deleted file mode 100644 index 6c5da3df95..0000000000 --- a/materialized/ghc962/hadrian-ghc94/hadrian/cabal-files/exceptions.nix +++ /dev/null @@ -1,73 +0,0 @@ -{ system - , compiler - , flags - , pkgs - , hsPkgs - , pkgconfPkgs - , errorHandler - , config - , ... }: - ({ - flags = { transformers-0-4 = true; }; - package = { - specVersion = "1.10"; - identifier = { name = "exceptions"; version = "0.10.7"; }; - license = "BSD-3-Clause"; - copyright = "Copyright (C) 2013-2015 Edward A. Kmett\nCopyright (C) 2012 Google Inc."; - maintainer = "Edward A. Kmett "; - author = "Edward A. Kmett"; - homepage = "http://github.com/ekmett/exceptions/"; - url = ""; - synopsis = "Extensible optionally-pure exceptions"; - description = "Extensible optionally-pure exceptions."; - buildType = "Simple"; - }; - components = { - "library" = { - depends = ([ - (hsPkgs."base" or (errorHandler.buildDepError "base")) - (hsPkgs."stm" or (errorHandler.buildDepError "stm")) - (hsPkgs."template-haskell" or (errorHandler.buildDepError "template-haskell")) - (hsPkgs."mtl" or (errorHandler.buildDepError "mtl")) - ] ++ pkgs.lib.optional (!(compiler.isGhc && compiler.version.ge "8.0")) (hsPkgs."fail" or (errorHandler.buildDepError "fail"))) ++ (if flags.transformers-0-4 - then [ - (hsPkgs."transformers" or (errorHandler.buildDepError "transformers")) - ] - else [ - (hsPkgs."transformers" or (errorHandler.buildDepError "transformers")) - (hsPkgs."transformers-compat" or (errorHandler.buildDepError "transformers-compat")) - ]); - buildable = true; - }; - tests = { - "exceptions-tests" = { - depends = [ - (hsPkgs."base" or (errorHandler.buildDepError "base")) - (hsPkgs."exceptions" or (errorHandler.buildDepError "exceptions")) - (hsPkgs."stm" or (errorHandler.buildDepError "stm")) - (hsPkgs."template-haskell" or (errorHandler.buildDepError "template-haskell")) - (hsPkgs."mtl" or (errorHandler.buildDepError "mtl")) - (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."QuickCheck" or (errorHandler.buildDepError "QuickCheck")) - ] ++ (if flags.transformers-0-4 - then [ - (hsPkgs."transformers" or (errorHandler.buildDepError "transformers")) - ] - else [ - (hsPkgs."transformers" or (errorHandler.buildDepError "transformers")) - (hsPkgs."transformers-compat" or (errorHandler.buildDepError "transformers-compat")) - ]); - buildable = true; - }; - }; - }; - } // { - src = pkgs.lib.mkDefault (pkgs.fetchurl { - url = "http://hackage.haskell.org/package/exceptions-0.10.7.tar.gz"; - sha256 = "9a42ade4c8b53d8da5350e8e0e2929f4ef128c4b8591b120656455310b546049"; - }); - }) // { - package-description-override = "name: exceptions\r\ncategory: Control, Exceptions, Monad\r\nversion: 0.10.7\r\nx-revision: 1\r\ncabal-version: >= 1.10\r\nlicense: BSD3\r\nlicense-file: LICENSE\r\nauthor: Edward A. Kmett\r\nmaintainer: Edward A. Kmett \r\nstability: provisional\r\nhomepage: http://github.com/ekmett/exceptions/\r\nbug-reports: http://github.com/ekmett/exceptions/issues\r\ncopyright: Copyright (C) 2013-2015 Edward A. Kmett\r\n Copyright (C) 2012 Google Inc.\r\nbuild-type: Simple\r\ntested-with: GHC == 7.4.2\r\n , GHC == 7.6.3\r\n , GHC == 7.8.4\r\n , GHC == 7.10.3\r\n , GHC == 8.0.2\r\n , GHC == 8.2.2\r\n , GHC == 8.4.4\r\n , GHC == 8.6.5\r\n , GHC == 8.8.4\r\n , GHC == 8.10.7\r\n , GHC == 9.0.2\r\n , GHC == 9.2.2\r\nsynopsis: Extensible optionally-pure exceptions\r\ndescription: Extensible optionally-pure exceptions.\r\n\r\nextra-source-files:\r\n .ghci\r\n .gitignore\r\n .vim.custom\r\n AUTHORS.markdown\r\n README.markdown\r\n CHANGELOG.markdown\r\n\r\nsource-repository head\r\n type: git\r\n location: git://github.com/ekmett/exceptions.git\r\n\r\nflag transformers-0-4\r\n description: Use @transformers-0.4@ or later.\r\n default: True\r\n\r\nlibrary\r\n build-depends:\r\n base >= 4.5 && < 5,\r\n stm >= 2.2 && < 3,\r\n template-haskell >= 2.7 && < 2.21,\r\n mtl >= 2.0 && < 2.4\r\n\r\n if !impl(ghc >= 8.0)\r\n build-depends: fail == 4.9.*\r\n\r\n if flag(transformers-0-4)\r\n build-depends:\r\n transformers >= 0.4 && < 0.7\r\n else\r\n build-depends:\r\n transformers >= 0.2 && < 0.4,\r\n transformers-compat >= 0.3 && < 0.8\r\n\r\n exposed-modules:\r\n Control.Monad.Catch\r\n Control.Monad.Catch.Pure\r\n\r\n ghc-options: -Wall -fwarn-tabs -O2\r\n hs-source-dirs: src\r\n default-language: Haskell2010\r\n\r\ntest-suite exceptions-tests\r\n main-is: Tests.hs\r\n other-modules: Control.Monad.Catch.Tests\r\n hs-source-dirs: tests\r\n ghc-options: -Wall -fwarn-tabs\r\n default-language: Haskell2010\r\n type: exitcode-stdio-1.0\r\n build-depends:\r\n base,\r\n exceptions,\r\n stm,\r\n template-haskell,\r\n mtl >= 2.0,\r\n test-framework >= 0.8 && < 0.9,\r\n test-framework-hunit >= 0.3 && < 0.4,\r\n test-framework-quickcheck2 >= 0.3 && < 0.4,\r\n QuickCheck >= 2.5 && < 2.15\r\n\r\n if flag(transformers-0-4)\r\n build-depends:\r\n transformers >= 0.4 && < 0.7\r\n else\r\n build-depends:\r\n transformers >= 0.2 && < 0.4,\r\n transformers-compat >= 0.3 && < 0.8\r\n"; - } \ No newline at end of file diff --git a/materialized/ghc962/hadrian-ghc94/hadrian/cabal-files/extra.nix b/materialized/ghc962/hadrian-ghc94/hadrian/cabal-files/extra.nix deleted file mode 100644 index 41668cf6bc..0000000000 --- a/materialized/ghc962/hadrian-ghc94/hadrian/cabal-files/extra.nix +++ /dev/null @@ -1,58 +0,0 @@ -{ 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/ghc962/hadrian-ghc94/hadrian/cabal-files/filepath.nix b/materialized/ghc962/hadrian-ghc94/hadrian/cabal-files/filepath.nix deleted file mode 100644 index 3ca4d59414..0000000000 --- a/materialized/ghc962/hadrian-ghc94/hadrian/cabal-files/filepath.nix +++ /dev/null @@ -1,97 +0,0 @@ -{ system - , compiler - , flags - , pkgs - , hsPkgs - , pkgconfPkgs - , errorHandler - , config - , ... }: - ({ - flags = { cpphs = false; }; - package = { - specVersion = "2.2"; - identifier = { name = "filepath"; version = "1.4.100.4"; }; - license = "BSD-3-Clause"; - copyright = "Neil Mitchell 2005-2020, Julain Ospald 2021-2022"; - maintainer = "Julian Ospald "; - author = "Neil Mitchell "; - homepage = "https://github.com/haskell/filepath/blob/master/README.md"; - url = ""; - synopsis = "Library for manipulating FilePaths in a cross platform way."; - description = "This package provides functionality for manipulating @FilePath@ values, and is shipped with . It provides two variants for filepaths:\n\n1. legacy filepaths: @type FilePath = String@\n\n2. operating system abstracted filepaths (@OsPath@): internally unpinned @ShortByteString@ (platform-dependent encoding)\n\nIt is recommended to use @OsPath@ when possible, because it is more correct.\n\nFor each variant there are three main modules:\n\n* \"System.FilePath.Posix\" / \"System.OsPath.Posix\" manipulates POSIX\\/Linux style @FilePath@ values (with @\\/@ as the path separator).\n\n* \"System.FilePath.Windows\" / \"System.OsPath.Windows\" manipulates Windows style @FilePath@ values (with either @\\\\@ or @\\/@ as the path separator, and deals with drives).\n\n* \"System.FilePath\" / \"System.OsPath\" for dealing with current platform-specific filepaths\n\n\"System.OsString\" is like \"System.OsPath\", but more general purpose. Refer to the documentation of\nthose modules for more information.\n\nAn introduction into the new API can be found in this\n.\nCode examples for the new API can be found ."; - buildType = "Simple"; - }; - components = { - "library" = { - depends = [ - (hsPkgs."base" or (errorHandler.buildDepError "base")) - (hsPkgs."bytestring" or (errorHandler.buildDepError "bytestring")) - (hsPkgs."deepseq" or (errorHandler.buildDepError "deepseq")) - (hsPkgs."exceptions" or (errorHandler.buildDepError "exceptions")) - (hsPkgs."template-haskell" or (errorHandler.buildDepError "template-haskell")) - ]; - build-tools = pkgs.lib.optional (flags.cpphs) (hsPkgs.pkgsBuildBuild.cpphs.components.exes.cpphs or (pkgs.pkgsBuildBuild.cpphs or (errorHandler.buildToolDepError "cpphs:cpphs"))); - buildable = true; - }; - tests = { - "filepath-tests" = { - depends = [ - (hsPkgs."base" or (errorHandler.buildDepError "base")) - (hsPkgs."bytestring" or (errorHandler.buildDepError "bytestring")) - (hsPkgs."filepath" or (errorHandler.buildDepError "filepath")) - (hsPkgs."QuickCheck" or (errorHandler.buildDepError "QuickCheck")) - ]; - buildable = true; - }; - "filepath-equivalent-tests" = { - depends = [ - (hsPkgs."base" or (errorHandler.buildDepError "base")) - (hsPkgs."bytestring" or (errorHandler.buildDepError "bytestring")) - (hsPkgs."filepath" or (errorHandler.buildDepError "filepath")) - (hsPkgs."QuickCheck" or (errorHandler.buildDepError "QuickCheck")) - ]; - buildable = true; - }; - "bytestring-tests" = { - depends = [ - (hsPkgs."base" or (errorHandler.buildDepError "base")) - (hsPkgs."bytestring" or (errorHandler.buildDepError "bytestring")) - (hsPkgs."filepath" or (errorHandler.buildDepError "filepath")) - (hsPkgs."QuickCheck" or (errorHandler.buildDepError "QuickCheck")) - ]; - buildable = true; - }; - "abstract-filepath" = { - depends = [ - (hsPkgs."base" or (errorHandler.buildDepError "base")) - (hsPkgs."bytestring" or (errorHandler.buildDepError "bytestring")) - (hsPkgs."deepseq" or (errorHandler.buildDepError "deepseq")) - (hsPkgs."filepath" or (errorHandler.buildDepError "filepath")) - (hsPkgs."QuickCheck" or (errorHandler.buildDepError "QuickCheck")) - (hsPkgs."quickcheck-classes-base" or (errorHandler.buildDepError "quickcheck-classes-base")) - ]; - buildable = true; - }; - }; - benchmarks = { - "bench-filepath" = { - depends = [ - (hsPkgs."base" or (errorHandler.buildDepError "base")) - (hsPkgs."bytestring" or (errorHandler.buildDepError "bytestring")) - (hsPkgs."deepseq" or (errorHandler.buildDepError "deepseq")) - (hsPkgs."filepath" or (errorHandler.buildDepError "filepath")) - (hsPkgs."tasty-bench" or (errorHandler.buildDepError "tasty-bench")) - ]; - buildable = true; - }; - }; - }; - } // { - src = pkgs.lib.mkDefault (pkgs.fetchurl { - url = "http://hackage.haskell.org/package/filepath-1.4.100.4.tar.gz"; - sha256 = "82876250347c2fdf0f9de5448ce44f02539f37951b671d9a30719a6c4f96e9ad"; - }); - }) // { - package-description-override = "cabal-version: 2.2\nname: filepath\nversion: 1.4.100.4\n\n-- NOTE: Don't forget to update ./changelog.md\nlicense: BSD-3-Clause\nlicense-file: LICENSE\nauthor: Neil Mitchell \nmaintainer: Julian Ospald \ncopyright: Neil Mitchell 2005-2020, Julain Ospald 2021-2022\nbug-reports: https://github.com/haskell/filepath/issues\nhomepage:\n https://github.com/haskell/filepath/blob/master/README.md\n\ncategory: System\nbuild-type: Simple\nsynopsis: Library for manipulating FilePaths in a cross platform way.\ntested-with:\n GHC ==8.0.2\n || ==8.2.2\n || ==8.4.4\n || ==8.6.5\n || ==8.8.4\n || ==8.10.7\n || ==9.0.2\n || ==9.2.3\n\ndescription:\n This package provides functionality for manipulating @FilePath@ values, and is shipped with . It provides two variants for filepaths:\n .\n 1. legacy filepaths: @type FilePath = String@\n .\n 2. operating system abstracted filepaths (@OsPath@): internally unpinned @ShortByteString@ (platform-dependent encoding)\n .\n It is recommended to use @OsPath@ when possible, because it is more correct.\n .\n For each variant there are three main modules:\n .\n * \"System.FilePath.Posix\" / \"System.OsPath.Posix\" manipulates POSIX\\/Linux style @FilePath@ values (with @\\/@ as the path separator).\n .\n * \"System.FilePath.Windows\" / \"System.OsPath.Windows\" manipulates Windows style @FilePath@ values (with either @\\\\@ or @\\/@ as the path separator, and deals with drives).\n .\n * \"System.FilePath\" / \"System.OsPath\" for dealing with current platform-specific filepaths\n .\n \"System.OsString\" is like \"System.OsPath\", but more general purpose. Refer to the documentation of\n those modules for more information.\n .\n An introduction into the new API can be found in this\n .\n Code examples for the new API can be found .\n\nextra-source-files:\n Generate.hs\n Makefile\n System/FilePath/Internal.hs\n System/OsPath/Common.hs\n System/OsString/Common.hs\n tests/bytestring-tests/Properties/Common.hs\n\nextra-doc-files:\n changelog.md\n HACKING.md\n README.md\n\nflag cpphs\n description: Use cpphs (fixes haddock source links)\n default: False\n manual: True\n\nsource-repository head\n type: git\n location: https://github.com/haskell/filepath\n\nlibrary\n exposed-modules:\n System.FilePath\n System.FilePath.Posix\n System.FilePath.Windows\n System.OsPath\n System.OsPath.Data.ByteString.Short\n System.OsPath.Data.ByteString.Short.Internal\n System.OsPath.Data.ByteString.Short.Word16\n System.OsPath.Encoding\n System.OsPath.Encoding.Internal\n System.OsPath.Internal\n System.OsPath.Posix\n System.OsPath.Posix.Internal\n System.OsPath.Types\n System.OsPath.Windows\n System.OsPath.Windows.Internal\n System.OsString\n System.OsString.Internal\n System.OsString.Internal.Types\n System.OsString.Posix\n System.OsString.Windows\n\n other-extensions:\n CPP\n PatternGuards\n\n if impl(ghc >=7.2)\n other-extensions: Safe\n\n default-language: Haskell2010\n build-depends:\n , base >=4.9 && <4.20\n , bytestring >=0.11.3.0\n , deepseq\n , exceptions\n , template-haskell\n\n ghc-options: -Wall\n\n if flag(cpphs)\n ghc-options: -pgmPcpphs -optP--cpp\n build-tool-depends: cpphs:cpphs -any\n\ntest-suite filepath-tests\n type: exitcode-stdio-1.0\n main-is: Test.hs\n hs-source-dirs: tests tests/filepath-tests\n other-modules:\n TestGen\n TestUtil\n\n build-depends:\n , base\n , bytestring >=0.11.3.0\n , filepath\n , QuickCheck >=2.7 && <2.15\n\n default-language: Haskell2010\n ghc-options: -Wall\n\ntest-suite filepath-equivalent-tests\n default-language: Haskell2010\n ghc-options: -Wall\n type: exitcode-stdio-1.0\n main-is: TestEquiv.hs\n hs-source-dirs: tests tests/filepath-equivalent-tests\n other-modules:\n Legacy.System.FilePath\n Legacy.System.FilePath.Posix\n Legacy.System.FilePath.Windows\n TestUtil\n\n build-depends:\n , base\n , bytestring >=0.11.3.0\n , filepath\n , QuickCheck >=2.7 && <2.15\n\ntest-suite bytestring-tests\n default-language: Haskell2010\n ghc-options: -Wall\n type: exitcode-stdio-1.0\n main-is: Main.hs\n hs-source-dirs: tests tests/bytestring-tests\n other-modules:\n Properties.ShortByteString\n Properties.ShortByteString.Word16\n TestUtil\n\n build-depends:\n , base\n , bytestring >=0.11.3.0\n , filepath\n , QuickCheck >=2.7 && <2.15\n\ntest-suite abstract-filepath\n default-language: Haskell2010\n ghc-options: -Wall\n type: exitcode-stdio-1.0\n main-is: Test.hs\n hs-source-dirs: tests tests/abstract-filepath\n other-modules:\n Arbitrary\n EncodingSpec\n OsPathSpec\n TestUtil\n\n build-depends:\n , base\n , bytestring >=0.11.3.0\n , deepseq\n , filepath\n , QuickCheck >=2.7 && <2.15\n , quickcheck-classes-base ^>=0.6.2\n\nbenchmark bench-filepath\n default-language: Haskell2010\n ghc-options: -Wall\n type: exitcode-stdio-1.0\n main-is: BenchFilePath.hs\n hs-source-dirs: bench\n build-depends:\n , base\n , bytestring >=0.11.3.0\n , deepseq\n , filepath\n , tasty-bench\n\n ghc-options: -with-rtsopts=-A32m\n"; - } \ No newline at end of file diff --git a/materialized/ghc962/hadrian-ghc94/hadrian/cabal-files/filepattern.nix b/materialized/ghc962/hadrian-ghc94/hadrian/cabal-files/filepattern.nix deleted file mode 100644 index 385c502003..0000000000 --- a/materialized/ghc962/hadrian-ghc94/hadrian/cabal-files/filepattern.nix +++ /dev/null @@ -1,56 +0,0 @@ -{ 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/ghc962/hadrian-ghc94/hadrian/cabal-files/hashable.nix b/materialized/ghc962/hadrian-ghc94/hadrian/cabal-files/hashable.nix deleted file mode 100644 index 4b125fa0bc..0000000000 --- a/materialized/ghc962/hadrian-ghc94/hadrian/cabal-files/hashable.nix +++ /dev/null @@ -1,82 +0,0 @@ -{ 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/ghc962/hadrian-ghc94/hadrian/cabal-files/heaps.nix b/materialized/ghc962/hadrian-ghc94/hadrian/cabal-files/heaps.nix deleted file mode 100644 index e759e305bf..0000000000 --- a/materialized/ghc962/hadrian-ghc94/hadrian/cabal-files/heaps.nix +++ /dev/null @@ -1,38 +0,0 @@ -{ 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/ghc962/hadrian-ghc94/hadrian/cabal-files/js-dgtable.nix b/materialized/ghc962/hadrian-ghc94/hadrian/cabal-files/js-dgtable.nix deleted file mode 100644 index 40ea1148c6..0000000000 --- a/materialized/ghc962/hadrian-ghc94/hadrian/cabal-files/js-dgtable.nix +++ /dev/null @@ -1,47 +0,0 @@ -{ 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/ghc962/hadrian-ghc94/hadrian/cabal-files/js-flot.nix b/materialized/ghc962/hadrian-ghc94/hadrian/cabal-files/js-flot.nix deleted file mode 100644 index 67980dd7ba..0000000000 --- a/materialized/ghc962/hadrian-ghc94/hadrian/cabal-files/js-flot.nix +++ /dev/null @@ -1,47 +0,0 @@ -{ 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/ghc962/hadrian-ghc94/hadrian/cabal-files/js-jquery.nix b/materialized/ghc962/hadrian-ghc94/hadrian/cabal-files/js-jquery.nix deleted file mode 100644 index 05e54a25ab..0000000000 --- a/materialized/ghc962/hadrian-ghc94/hadrian/cabal-files/js-jquery.nix +++ /dev/null @@ -1,48 +0,0 @@ -{ 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/ghc962/hadrian-ghc94/hadrian/cabal-files/parsec.nix b/materialized/ghc962/hadrian-ghc94/hadrian/cabal-files/parsec.nix deleted file mode 100644 index d3ce074a87..0000000000 --- a/materialized/ghc962/hadrian-ghc94/hadrian/cabal-files/parsec.nix +++ /dev/null @@ -1,84 +0,0 @@ -{ system - , compiler - , flags - , pkgs - , hsPkgs - , pkgconfPkgs - , errorHandler - , config - , ... }: - ({ - flags = {}; - package = { - specVersion = "1.12"; - identifier = { name = "parsec"; version = "3.1.17.0"; }; - license = "BSD-2-Clause"; - copyright = ""; - maintainer = "Oleg Grenrus , Herbert Valerio Riedel "; - author = "Daan Leijen , Paolo Martini , Antoine Latter "; - homepage = "https://github.com/haskell/parsec"; - url = ""; - synopsis = "Monadic parser combinators"; - description = "Parsec is designed from scratch as an industrial-strength parser\nlibrary. It is simple, safe, well documented (on the package\nhomepage), has extensive libraries, good error messages,\nand is fast. It is defined as a monad transformer that can be\nstacked on arbitrary monads, and it is also parametric in the\ninput stream type.\n\nThe main entry point is the \"Text.Parsec\" module which provides\ndefaults for parsing 'Char'acter data.\n\nThe \"Text.ParserCombinators.Parsec\" module hierarchy contains\nthe legacy @parsec-2@ API and may be removed at some point in\nthe future."; - buildType = "Simple"; - }; - components = { - "library" = { - depends = [ - (hsPkgs."base" or (errorHandler.buildDepError "base")) - (hsPkgs."mtl" or (errorHandler.buildDepError "mtl")) - (hsPkgs."bytestring" or (errorHandler.buildDepError "bytestring")) - (hsPkgs."text" or (errorHandler.buildDepError "text")) - ] ++ pkgs.lib.optionals (!(compiler.isGhc && compiler.version.ge "8.0")) [ - (hsPkgs."fail" or (errorHandler.buildDepError "fail")) - (hsPkgs."semigroups" or (errorHandler.buildDepError "semigroups")) - ]; - buildable = true; - }; - tests = { - "parsec-tests" = { - depends = [ - (hsPkgs."base" or (errorHandler.buildDepError "base")) - (hsPkgs."mtl" or (errorHandler.buildDepError "mtl")) - (hsPkgs."parsec" or (errorHandler.buildDepError "parsec")) - (hsPkgs."tasty" or (errorHandler.buildDepError "tasty")) - (hsPkgs."tasty-hunit" or (errorHandler.buildDepError "tasty-hunit")) - ] ++ pkgs.lib.optional (!(compiler.isGhc && compiler.version.ge "8.0")) (hsPkgs."semigroups" or (errorHandler.buildDepError "semigroups")); - buildable = true; - }; - "parsec-issue127" = { - depends = [ - (hsPkgs."base" or (errorHandler.buildDepError "base")) - (hsPkgs."parsec" or (errorHandler.buildDepError "parsec")) - ]; - buildable = true; - }; - "parsec-issue171" = { - depends = [ - (hsPkgs."base" or (errorHandler.buildDepError "base")) - (hsPkgs."tasty" or (errorHandler.buildDepError "tasty")) - (hsPkgs."tasty-hunit" or (errorHandler.buildDepError "tasty-hunit")) - (hsPkgs."deepseq" or (errorHandler.buildDepError "deepseq")) - (hsPkgs."parsec" or (errorHandler.buildDepError "parsec")) - ]; - buildable = true; - }; - "parsec-issue175" = { - depends = [ - (hsPkgs."base" or (errorHandler.buildDepError "base")) - (hsPkgs."tasty" or (errorHandler.buildDepError "tasty")) - (hsPkgs."tasty-hunit" or (errorHandler.buildDepError "tasty-hunit")) - (hsPkgs."parsec" or (errorHandler.buildDepError "parsec")) - ]; - buildable = true; - }; - }; - }; - } // { - src = pkgs.lib.mkDefault (pkgs.fetchurl { - url = "http://hackage.haskell.org/package/parsec-3.1.17.0.tar.gz"; - sha256 = "58c500bec1ec3c849c8243ddfd675a5983b17a8e5da55acea6adade5ae179d36"; - }); - }) // { - package-description-override = "cabal-version: 1.12\nname: parsec\nversion: 3.1.17.0\n\nsynopsis: Monadic parser combinators\ndescription: Parsec is designed from scratch as an industrial-strength parser\n library. It is simple, safe, well documented (on the package\n homepage), has extensive libraries, good error messages,\n and is fast. It is defined as a monad transformer that can be\n stacked on arbitrary monads, and it is also parametric in the\n input stream type.\n .\n The main entry point is the \"Text.Parsec\" module which provides\n defaults for parsing 'Char'acter data.\n .\n The \"Text.ParserCombinators.Parsec\" module hierarchy contains\n the legacy @parsec-2@ API and may be removed at some point in\n the future.\n\nlicense: BSD2\nlicense-file: LICENSE\nauthor: Daan Leijen , Paolo Martini , Antoine Latter \nmaintainer: Oleg Grenrus , Herbert Valerio Riedel \nhomepage: https://github.com/haskell/parsec\nbug-reports: https://github.com/haskell/parsec/issues\ncategory: Parsing\n\nbuild-type: Simple\ntested-with: GHC ==9.8.1 || ==9.6.2 || ==9.4.7 || ==9.2.8 || ==9.0.2 || ==8.10.7 || ==8.8.4 || ==8.6.5 || ==8.4.4 || ==8.2.2 || ==8.0.2 || ==7.10.3 || ==7.8.4 || ==7.6.3 || ==7.4.2\n\nextra-source-files: ChangeLog.md, README.md\n\nsource-repository head\n type: git\n location: https://github.com/haskell/parsec\n\nlibrary\n hs-source-dirs: src\n exposed-modules:\n Text.Parsec\n Text.Parsec.String\n Text.Parsec.ByteString\n Text.Parsec.ByteString.Lazy\n Text.Parsec.Text\n Text.Parsec.Text.Lazy\n Text.Parsec.Pos\n Text.Parsec.Error\n Text.Parsec.Prim\n Text.Parsec.Char\n Text.Parsec.Combinator\n Text.Parsec.Token\n Text.Parsec.Expr\n Text.Parsec.Language\n Text.Parsec.Perm\n Text.ParserCombinators.Parsec\n Text.ParserCombinators.Parsec.Char\n Text.ParserCombinators.Parsec.Combinator\n Text.ParserCombinators.Parsec.Error\n Text.ParserCombinators.Parsec.Expr\n Text.ParserCombinators.Parsec.Language\n Text.ParserCombinators.Parsec.Perm\n Text.ParserCombinators.Parsec.Pos\n Text.ParserCombinators.Parsec.Prim\n Text.ParserCombinators.Parsec.Token\n\n build-depends:\n base >= 4.5.1.0 && < 4.20,\n mtl >= 2.1.3.1 && < 2.4,\n bytestring >= 0.9.2.1 && < 0.13,\n text (>= 1.2.3.0 && < 1.3)\n || (>= 2.0 && < 2.2)\n\n default-language: Haskell2010\n other-extensions:\n CPP\n DeriveDataTypeable\n ExistentialQuantification\n FlexibleContexts\n FlexibleInstances\n FunctionalDependencies\n MultiParamTypeClasses\n PolymorphicComponents\n StandaloneDeriving\n Safe\n Trustworthy\n UndecidableInstances\n\n ghc-options: -Wall\n if impl(ghc >= 8.0)\n ghc-options: -Wcompat -Wnoncanonical-monad-instances -Wno-trustworthy-safe\n if impl(ghc < 8.8)\n ghc-options: -Wnoncanonical-monadfail-instances\n else\n -- provide/emulate `Control.Monad.Fail` and `Semigroup` API for pre-GHC8\n build-depends: fail == 4.9.*, semigroups >= 0.18 && < 0.21\n\n if impl(ghc >= 7.10)\n ghc-options: -fno-warn-trustworthy-safe\n\n -- these flags may abort compilation with GHC-8.10\n -- https://gitlab.haskell.org/ghc/ghc/-/merge_requests/3295\n -- https://gitlab.haskell.org/ghc/ghc/-/issues/22728\n -- if impl(ghc >= 9.0)\n -- -- ghc-options: -Winferred-safe-imports -Wmissing-safe-haskell-mode\n\ntest-suite parsec-tests\n type: exitcode-stdio-1.0\n\n hs-source-dirs: test\n main-is: Main.hs\n other-modules:\n Bugs\n Bugs.Bug2\n Bugs.Bug6\n Bugs.Bug9\n Bugs.Bug35\n Features\n Features.Feature80\n Features.Feature150\n Util\n\n build-depends:\n base,\n mtl,\n parsec,\n -- dependencies whose version bounds are not inherited via lib:parsec\n tasty >= 1.4 && < 1.6,\n tasty-hunit >= 0.10 && < 0.11\n\n default-language: Haskell2010\n\n ghc-options: -Wall\n if impl(ghc >= 8.0)\n ghc-options: -Wcompat -Wnoncanonical-monad-instances -Wnoncanonical-monadfail-instances\n else\n build-depends: semigroups\n\ntest-suite parsec-issue127\n default-language: Haskell2010\n type: exitcode-stdio-1.0\n main-is: issue127.hs\n hs-source-dirs: test\n build-depends: base, parsec\n\ntest-suite parsec-issue171\n default-language: Haskell2010\n type: exitcode-stdio-1.0\n main-is: issue171.hs\n hs-source-dirs: test\n build-depends: base, tasty, tasty-hunit, deepseq, parsec\n\ntest-suite parsec-issue175\n default-language: Haskell2010\n type: exitcode-stdio-1.0\n main-is: issue175.hs\n hs-source-dirs: test\n build-depends: base, tasty, tasty-hunit, parsec\n"; - } \ No newline at end of file diff --git a/materialized/ghc962/hadrian-ghc94/hadrian/cabal-files/primitive.nix b/materialized/ghc962/hadrian-ghc94/hadrian/cabal-files/primitive.nix deleted file mode 100644 index b5683f2c83..0000000000 --- a/materialized/ghc962/hadrian-ghc94/hadrian/cabal-files/primitive.nix +++ /dev/null @@ -1,73 +0,0 @@ -{ 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/ghc962/hadrian-ghc94/hadrian/cabal-files/process.nix b/materialized/ghc962/hadrian-ghc94/hadrian/cabal-files/process.nix deleted file mode 100644 index 0c615b19be..0000000000 --- a/materialized/ghc962/hadrian-ghc94/hadrian/cabal-files/process.nix +++ /dev/null @@ -1,61 +0,0 @@ -{ system - , compiler - , flags - , pkgs - , hsPkgs - , pkgconfPkgs - , errorHandler - , config - , ... }: - ({ - flags = {}; - package = { - specVersion = "1.10"; - identifier = { name = "process"; version = "1.6.18.0"; }; - license = "BSD-3-Clause"; - copyright = ""; - maintainer = "libraries@haskell.org"; - author = ""; - homepage = ""; - url = ""; - synopsis = "Process libraries"; - description = "This package contains libraries for dealing with system processes.\n\nThe typed-process package is a more recent take on a process API,\nwhich uses this package internally. It features better binary\nsupport, easier concurrency, and a more composable API. You can\nread more about it at\n."; - buildType = "Configure"; - }; - components = { - "library" = { - depends = [ - (hsPkgs."base" or (errorHandler.buildDepError "base")) - (hsPkgs."directory" or (errorHandler.buildDepError "directory")) - (hsPkgs."filepath" or (errorHandler.buildDepError "filepath")) - (hsPkgs."deepseq" or (errorHandler.buildDepError "deepseq")) - ] ++ (if system.isWindows - then [ (hsPkgs."Win32" or (errorHandler.buildDepError "Win32")) ] - else pkgs.lib.optional (!system.isJavaScript) (hsPkgs."unix" or (errorHandler.buildDepError "unix"))); - libs = pkgs.lib.optionals (system.isWindows) [ - (pkgs."kernel32" or (errorHandler.sysDepError "kernel32")) - (pkgs."ole32" or (errorHandler.sysDepError "ole32")) - (pkgs."rpcrt4" or (errorHandler.sysDepError "rpcrt4")) - ]; - buildable = true; - }; - tests = { - "test" = { - depends = [ - (hsPkgs."base" or (errorHandler.buildDepError "base")) - (hsPkgs."bytestring" or (errorHandler.buildDepError "bytestring")) - (hsPkgs."directory" or (errorHandler.buildDepError "directory")) - (hsPkgs."process" or (errorHandler.buildDepError "process")) - ]; - buildable = true; - }; - }; - }; - } // { - src = pkgs.lib.mkDefault (pkgs.fetchurl { - url = "http://hackage.haskell.org/package/process-1.6.18.0.tar.gz"; - sha256 = "aa5f4c4fe4974f89f5ab998c7509daa4bda3926cfb06daacd5eba892aad8a37e"; - }); - }) // { - package-description-override = "name: process\nversion: 1.6.18.0\n-- NOTE: Don't forget to update ./changelog.md\nlicense: BSD3\nlicense-file: LICENSE\nmaintainer: libraries@haskell.org\nbug-reports: https://github.com/haskell/process/issues\nsynopsis: Process libraries\ncategory: System\nbuild-type: Configure\ncabal-version: >=1.10\ndescription:\n This package contains libraries for dealing with system processes.\n .\n The typed-process package is a more recent take on a process API,\n which uses this package internally. It features better binary\n support, easier concurrency, and a more composable API. You can\n read more about it at\n .\n\nextra-source-files:\n aclocal.m4\n changelog.md\n configure\n configure.ac\n include/HsProcessConfig.h.in\n process.buildinfo\n exes/echo.bat\n exes/subdir/echo.bat\n cbits/posix/common.h\n\nextra-tmp-files:\n autom4te.cache\n config.log\n config.status\n include/HsProcessConfig.h\n\nsource-repository head\n type: git\n location: https://github.com/haskell/process.git\n\nlibrary\n default-language: Haskell2010\n other-extensions:\n BangPatterns\n CPP\n InterruptibleFFI\n RecordWildCards\n Trustworthy\n Safe\n\n exposed-modules:\n System.Cmd\n System.Process\n System.Process.Internals\n other-modules: System.Process.Common\n if os(windows)\n c-sources:\n cbits/win32/runProcess.c\n other-modules: System.Process.Windows\n build-depends: Win32 >=2.4 && < 2.14\n -- ole32 and rpcrt4 are needed to create GUIDs for unique named pipes\n -- for process.\n extra-libraries: kernel32, ole32, rpcrt4\n cpp-options: -DWINDOWS\n else\n if arch(javascript)\n js-sources:\n jsbits/process.js\n other-modules: System.Process.JavaScript\n else\n c-sources:\n cbits/posix/runProcess.c\n cbits/posix/fork_exec.c\n cbits/posix/posix_spawn.c\n cbits/posix/find_executable.c\n other-modules: System.Process.Posix\n build-depends: unix >= 2.5 && < 2.9\n\n include-dirs: include\n includes:\n runProcess.h\n install-includes:\n runProcess.h\n processFlags.h\n\n ghc-options: -Wall\n\n build-depends: base >= 4.10 && < 4.20,\n directory >= 1.1 && < 1.4,\n filepath >= 1.2 && < 1.5,\n deepseq >= 1.1 && < 1.6\n\ntest-suite test\n default-language: Haskell2010\n hs-source-dirs: test\n main-is: main.hs\n type: exitcode-stdio-1.0\n -- Add otherwise redundant bounds on base since GHC's build system runs\n -- `cabal check`, which mandates bounds on base.\n build-depends: base >= 4 && < 5\n , bytestring\n , directory\n , process\n ghc-options: -threaded\n -with-rtsopts \"-N\"\n if os(windows)\n cpp-options: -DWINDOWS\n"; - } \ No newline at end of file diff --git a/materialized/ghc962/hadrian-ghc94/hadrian/cabal-files/random.nix b/materialized/ghc962/hadrian-ghc94/hadrian/cabal-files/random.nix deleted file mode 100644 index 0dbaf8b099..0000000000 --- a/materialized/ghc962/hadrian-ghc94/hadrian/cabal-files/random.nix +++ /dev/null @@ -1,113 +0,0 @@ -{ 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/ghc962/hadrian-ghc94/hadrian/cabal-files/shake.nix b/materialized/ghc962/hadrian-ghc94/hadrian/cabal-files/shake.nix deleted file mode 100644 index d40c2a8bbc..0000000000 --- a/materialized/ghc962/hadrian-ghc94/hadrian/cabal-files/shake.nix +++ /dev/null @@ -1,132 +0,0 @@ -{ 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/ghc962/hadrian-ghc94/hadrian/cabal-files/splitmix.nix b/materialized/ghc962/hadrian-ghc94/hadrian/cabal-files/splitmix.nix deleted file mode 100644 index aa0dd88d31..0000000000 --- a/materialized/ghc962/hadrian-ghc94/hadrian/cabal-files/splitmix.nix +++ /dev/null @@ -1,139 +0,0 @@ -{ 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/ghc962/hadrian-ghc94/hadrian/cabal-files/unix.nix b/materialized/ghc962/hadrian-ghc94/hadrian/cabal-files/unix.nix deleted file mode 100644 index 33c865d08a..0000000000 --- a/materialized/ghc962/hadrian-ghc94/hadrian/cabal-files/unix.nix +++ /dev/null @@ -1,168 +0,0 @@ -{ system - , compiler - , flags - , pkgs - , hsPkgs - , pkgconfPkgs - , errorHandler - , config - , ... }: - ({ - flags = {}; - package = { - specVersion = "1.12"; - identifier = { name = "unix"; version = "2.8.3.0"; }; - license = "BSD-3-Clause"; - copyright = ""; - maintainer = "Julian Ospald , Viktor Dukhovni , Andrew Lelechenko "; - author = ""; - homepage = "https://github.com/haskell/unix"; - url = ""; - synopsis = "POSIX functionality"; - description = "This package gives you access to the set of operating system\nservices standardised by\n\n(or the IEEE Portable Operating System Interface for Computing\nEnvironments - IEEE Std. 1003.1).\n\nThe package is not supported under Windows."; - buildType = "Configure"; - }; - components = { - "library" = { - depends = [ - (hsPkgs."base" or (errorHandler.buildDepError "base")) - (hsPkgs."bytestring" or (errorHandler.buildDepError "bytestring")) - (hsPkgs."filepath" or (errorHandler.buildDepError "filepath")) - (hsPkgs."time" or (errorHandler.buildDepError "time")) - ] ++ pkgs.lib.optional (system.isWindows) (hsPkgs."unbuildable" or (errorHandler.buildDepError "unbuildable")); - buildable = if system.isWindows then false else true; - }; - tests = { - "unix-tests" = { - depends = [ - (hsPkgs."base" or (errorHandler.buildDepError "base")) - (hsPkgs."bytestring" or (errorHandler.buildDepError "bytestring")) - (hsPkgs."filepath" or (errorHandler.buildDepError "filepath")) - (hsPkgs."tasty" or (errorHandler.buildDepError "tasty")) - (hsPkgs."tasty-hunit" or (errorHandler.buildDepError "tasty-hunit")) - (hsPkgs."tasty-quickcheck" or (errorHandler.buildDepError "tasty-quickcheck")) - (hsPkgs."unix" or (errorHandler.buildDepError "unix")) - ]; - buildable = true; - }; - "FdReadBuf001" = { - depends = [ - (hsPkgs."base" or (errorHandler.buildDepError "base")) - (hsPkgs."unix" or (errorHandler.buildDepError "unix")) - ] ++ pkgs.lib.optional (system.isJavaScript) (hsPkgs."unbuildable" or (errorHandler.buildDepError "unbuildable")); - buildable = if system.isJavaScript then false else true; - }; - "ForkProcess01" = { - depends = [ - (hsPkgs."base" or (errorHandler.buildDepError "base")) - (hsPkgs."unix" or (errorHandler.buildDepError "unix")) - ] ++ pkgs.lib.optional (system.isJavaScript) (hsPkgs."unbuildable" or (errorHandler.buildDepError "unbuildable")); - buildable = if system.isJavaScript then false else true; - }; - "Signals002" = { - depends = [ - (hsPkgs."base" or (errorHandler.buildDepError "base")) - (hsPkgs."unix" or (errorHandler.buildDepError "unix")) - ] ++ pkgs.lib.optional (system.isJavaScript) (hsPkgs."unbuildable" or (errorHandler.buildDepError "unbuildable")); - buildable = if system.isJavaScript then false else true; - }; - "Signals004" = { - depends = [ - (hsPkgs."base" or (errorHandler.buildDepError "base")) - (hsPkgs."unix" or (errorHandler.buildDepError "unix")) - ] ++ pkgs.lib.optional (system.isJavaScript) (hsPkgs."unbuildable" or (errorHandler.buildDepError "unbuildable")); - buildable = if system.isJavaScript then false else true; - }; - "Posix004" = { - depends = [ - (hsPkgs."base" or (errorHandler.buildDepError "base")) - (hsPkgs."unix" or (errorHandler.buildDepError "unix")) - ] ++ pkgs.lib.optional (system.isJavaScript) (hsPkgs."unbuildable" or (errorHandler.buildDepError "unbuildable")); - buildable = if system.isJavaScript then false else true; - }; - "Posix009" = { - depends = [ - (hsPkgs."base" or (errorHandler.buildDepError "base")) - (hsPkgs."unix" or (errorHandler.buildDepError "unix")) - ] ++ pkgs.lib.optional (system.isJavaScript) (hsPkgs."unbuildable" or (errorHandler.buildDepError "unbuildable")); - buildable = if system.isJavaScript then false else true; - }; - "Posix014" = { - depends = [ - (hsPkgs."base" or (errorHandler.buildDepError "base")) - (hsPkgs."unix" or (errorHandler.buildDepError "unix")) - ] ++ pkgs.lib.optional (system.isJavaScript) (hsPkgs."unbuildable" or (errorHandler.buildDepError "unbuildable")); - buildable = if system.isJavaScript then false else true; - }; - "T8108" = { - depends = [ - (hsPkgs."base" or (errorHandler.buildDepError "base")) - (hsPkgs."unix" or (errorHandler.buildDepError "unix")) - ] ++ pkgs.lib.optional (system.isJavaScript) (hsPkgs."unbuildable" or (errorHandler.buildDepError "unbuildable")); - buildable = if system.isJavaScript then false else true; - }; - "ResourceLimit" = { - depends = [ - (hsPkgs."base" or (errorHandler.buildDepError "base")) - (hsPkgs."unix" or (errorHandler.buildDepError "unix")) - (hsPkgs."tasty-hunit" or (errorHandler.buildDepError "tasty-hunit")) - ] ++ pkgs.lib.optional (system.isJavaScript) (hsPkgs."unbuildable" or (errorHandler.buildDepError "unbuildable")); - buildable = if system.isJavaScript then false else true; - }; - "Terminal" = { - depends = [ - (hsPkgs."base" or (errorHandler.buildDepError "base")) - (hsPkgs."unix" or (errorHandler.buildDepError "unix")) - (hsPkgs."tasty-hunit" or (errorHandler.buildDepError "tasty-hunit")) - ] ++ pkgs.lib.optional (system.isJavaScript) (hsPkgs."unbuildable" or (errorHandler.buildDepError "unbuildable")); - buildable = if system.isJavaScript then false else true; - }; - "PutEnv001" = { - depends = [ - (hsPkgs."base" or (errorHandler.buildDepError "base")) - (hsPkgs."unix" or (errorHandler.buildDepError "unix")) - (hsPkgs."tasty" or (errorHandler.buildDepError "tasty")) - (hsPkgs."tasty-hunit" or (errorHandler.buildDepError "tasty-hunit")) - ] ++ pkgs.lib.optional (system.isJavaScript) (hsPkgs."unbuildable" or (errorHandler.buildDepError "unbuildable")); - buildable = if system.isJavaScript then false else true; - }; - "Semaphore001" = { - depends = [ - (hsPkgs."base" or (errorHandler.buildDepError "base")) - (hsPkgs."unix" or (errorHandler.buildDepError "unix")) - ] ++ pkgs.lib.optional (system.isJavaScript) (hsPkgs."unbuildable" or (errorHandler.buildDepError "unbuildable")); - buildable = if system.isJavaScript then false else true; - }; - "Semaphore002" = { - depends = [ - (hsPkgs."base" or (errorHandler.buildDepError "base")) - (hsPkgs."unix" or (errorHandler.buildDepError "unix")) - ] ++ pkgs.lib.optional (system.isJavaScript) (hsPkgs."unbuildable" or (errorHandler.buildDepError "unbuildable")); - buildable = if system.isJavaScript then false else true; - }; - "SemaphoreInterrupt" = { - depends = [ - (hsPkgs."base" or (errorHandler.buildDepError "base")) - (hsPkgs."unix" or (errorHandler.buildDepError "unix")) - ] ++ pkgs.lib.optional (system.isJavaScript) (hsPkgs."unbuildable" or (errorHandler.buildDepError "unbuildable")); - buildable = if system.isJavaScript then false else true; - }; - "T13660" = { - depends = [ - (hsPkgs."base" or (errorHandler.buildDepError "base")) - (hsPkgs."unix" or (errorHandler.buildDepError "unix")) - (hsPkgs."filepath" or (errorHandler.buildDepError "filepath")) - (hsPkgs."bytestring" or (errorHandler.buildDepError "bytestring")) - ]; - buildable = true; - }; - }; - }; - } // { - src = pkgs.lib.mkDefault (pkgs.fetchurl { - url = "http://hackage.haskell.org/package/unix-2.8.3.0.tar.gz"; - sha256 = "a9dc7868d42ec10e38c4d785eaec7f98d401590d4ebfd8f17ef59da3f18a5dab"; - }); - }) // { - package-description-override = "cabal-version: 1.12\nname: unix\nversion: 2.8.3.0\n-- NOTE: Don't forget to update ./changelog.md\n\nlicense: BSD3\nlicense-file: LICENSE\nmaintainer: Julian Ospald , Viktor Dukhovni , Andrew Lelechenko \nhomepage: https://github.com/haskell/unix\nbug-reports: https://github.com/haskell/unix/issues\nsynopsis: POSIX functionality\ncategory: System\nbuild-type: Configure\ntested-with: GHC==9.6.2,\n GHC==9.4.7,\n GHC==9.2.8,\n GHC==9.0.2,\n GHC==8.10.7,\n GHC==8.8.4,\n GHC==8.6.5\ndescription:\n This package gives you access to the set of operating system\n services standardised by\n \n (or the IEEE Portable Operating System Interface for Computing\n Environments - IEEE Std. 1003.1).\n .\n The package is not supported under Windows.\n\nextra-source-files:\n changelog.md\n config.guess\n config.sub\n configure\n configure.ac\n include/HsUnix.h\n include/HsUnixConfig.h.in\n install-sh\n unix.buildinfo.in\n\nextra-tmp-files:\n autom4te.cache\n config.log\n config.status\n include/HsUnixConfig.h\n unix.buildinfo\n\nsource-repository head\n type: git\n location: https://github.com/haskell/unix.git\n\nlibrary\n default-language: Haskell2010\n other-extensions:\n CApiFFI\n CPP\n DeriveDataTypeable\n InterruptibleFFI\n NondecreasingIndentation\n RankNTypes\n RecordWildCards\n Safe\n Trustworthy\n\n if os(windows)\n -- This package currently supports neither Cygwin nor MinGW,\n -- therefore os(windows) is effectively not supported.\n build-depends: unbuildable<0\n buildable: False\n\n build-depends:\n base >= 4.12.0.0 && < 4.20,\n bytestring >= 0.9.2 && < 0.13,\n filepath >= 1.4.100.0 && < 1.5,\n time >= 1.9.1 && < 1.13\n\n exposed-modules:\n System.Posix\n System.Posix.ByteString\n System.Posix.PosixString\n\n System.Posix.Error\n System.Posix.Resource\n System.Posix.Time\n System.Posix.Unistd\n System.Posix.Signals\n System.Posix.Signals.Exts\n System.Posix.Semaphore\n System.Posix.SharedMem\n\n System.Posix.User\n System.Posix.User.ByteString\n\n System.Posix.ByteString.FilePath\n System.Posix.PosixPath.FilePath\n\n System.Posix.Directory\n System.Posix.Directory.Internals\n System.Posix.Directory.Fd\n System.Posix.Directory.ByteString\n System.Posix.Directory.PosixPath\n\n System.Posix.DynamicLinker.Module\n System.Posix.DynamicLinker.Module.ByteString\n System.Posix.DynamicLinker.Prim\n System.Posix.DynamicLinker.ByteString\n System.Posix.DynamicLinker\n\n System.Posix.Files\n System.Posix.Files.ByteString\n System.Posix.Files.PosixString\n\n System.Posix.IO\n System.Posix.IO.ByteString\n System.Posix.IO.PosixString\n\n System.Posix.Env\n System.Posix.Env.ByteString\n System.Posix.Env.PosixString\n\n System.Posix.Fcntl\n\n System.Posix.Process\n System.Posix.Process.Internals\n System.Posix.Process.ByteString\n System.Posix.Process.PosixString\n\n System.Posix.Temp\n System.Posix.Temp.ByteString\n System.Posix.Temp.PosixString\n\n System.Posix.Terminal\n System.Posix.Terminal.ByteString\n System.Posix.Terminal.PosixString\n\n other-modules:\n System.Posix.Directory.Common\n System.Posix.DynamicLinker.Common\n System.Posix.Files.Common\n System.Posix.IO.Common\n System.Posix.Process.Common\n System.Posix.Terminal.Common\n System.Posix.User.Common\n System.Posix.Env.Internal\n\n ghc-options: -Wall\n\n include-dirs: include\n includes:\n HsUnix.h\n execvpe.h\n install-includes:\n HsUnix.h\n execvpe.h\n\n if !arch(javascript)\n c-sources:\n cbits/HsUnix.c\n cbits/execvpe.c\n\n if arch(javascript)\n js-sources:\n jsbits/time.js\n\ntest-suite unix-tests\n hs-source-dirs: tests\n main-is: Test.hs\n other-modules:\n FileStatus\n FileExtendedStatus\n FileStatusByteString\n Signals001\n type: exitcode-stdio-1.0\n default-language: Haskell2010\n build-depends: base, bytestring, filepath, tasty, tasty-hunit, tasty-quickcheck, unix\n ghc-options: -Wall -with-rtsopts=-V0\n\ntest-suite FdReadBuf001\n -- JS: missing \"pipe\"\n if arch(javascript)\n build-depends: unbuildable<0\n buildable: False\n\n hs-source-dirs: tests\n main-is: FdReadBuf001.hs\n type: exitcode-stdio-1.0\n default-language: Haskell2010\n build-depends: base, unix\n ghc-options: -Wall -threaded\n\ntest-suite ForkProcess01\n -- JS: missing \"forkProcess\"\n if arch(javascript)\n build-depends: unbuildable<0\n buildable: False\n\n hs-source-dirs: tests\n main-is: ForkProcess01.hs\n type: exitcode-stdio-1.0\n default-language: Haskell2010\n build-depends: base, unix\n ghc-options: -Wall\n\ntest-suite Signals002\n -- JS: missing \"raise\"\n if arch(javascript)\n build-depends: unbuildable<0\n buildable: False\n\n hs-source-dirs: tests\n main-is: Signals002.hs\n type: exitcode-stdio-1.0\n default-language: Haskell2010\n build-depends: base, unix\n ghc-options: -Wall\n\ntest-suite Signals004\n -- JS: missing \"raise\"\n if arch(javascript)\n build-depends: unbuildable<0\n buildable: False\n\n hs-source-dirs: tests\n main-is: Signals004.hs\n type: exitcode-stdio-1.0\n default-language: Haskell2010\n build-depends: base, unix\n ghc-options: -Wall\n\ntest-suite Posix004\n -- JS: missing \"forkProcess\"\n if arch(javascript)\n build-depends: unbuildable<0\n buildable: False\n\n hs-source-dirs: tests\n main-is: Posix004.hs\n type: exitcode-stdio-1.0\n default-language: Haskell2010\n build-depends: base, unix\n ghc-options: -Wall\n\ntest-suite Posix009\n -- JS: missing \"rtsTimerSignal\"\n if arch(javascript)\n build-depends: unbuildable<0\n buildable: False\n\n hs-source-dirs: tests\n main-is: Posix009.hs\n type: exitcode-stdio-1.0\n default-language: Haskell2010\n build-depends: base, unix\n ghc-options: -Wall -with-rtsopts=-V0\n\ntest-suite Posix014\n -- JS: missing \"pipe\"\n if arch(javascript)\n build-depends: unbuildable<0\n buildable: False\n\n hs-source-dirs: tests\n main-is: Posix014.hs\n type: exitcode-stdio-1.0\n default-language: Haskell2010\n build-depends: base, unix\n ghc-options: -Wall\n\ntest-suite T8108\n -- JS: missing \"sysconf\"\n if arch(javascript)\n build-depends: unbuildable<0\n buildable: False\n\n hs-source-dirs: tests\n main-is: T8108.hs\n type: exitcode-stdio-1.0\n default-language: Haskell2010\n build-depends: base, unix\n ghc-options: -Wall\n\ntest-suite ResourceLimit\n -- JS: missing \"setrlimit\"\n if arch(javascript)\n build-depends: unbuildable<0\n buildable: False\n\n hs-source-dirs: tests\n main-is: ResourceLimit.hs\n type: exitcode-stdio-1.0\n default-language: Haskell2010\n build-depends: base, unix, tasty-hunit\n ghc-options: -Wall\n\ntest-suite Terminal\n -- JS: missing \"openpty\"\n if arch(javascript)\n build-depends: unbuildable<0\n buildable: False\n\n hs-source-dirs: tests\n main-is: Terminal.hs\n type: exitcode-stdio-1.0\n default-language: Haskell2010\n build-depends: base, unix, tasty-hunit\n ghc-options: -Wall\n\ntest-suite PutEnv001\n -- JS: missing \"performGC\"\n if arch(javascript)\n build-depends: unbuildable<0\n buildable: False\n\n hs-source-dirs: tests\n main-is: PutEnv001.hs\n type: exitcode-stdio-1.0\n default-language: Haskell2010\n build-depends: base, unix, tasty, tasty-hunit\n ghc-options: -Wall -with-rtsopts=-V0 -O0\n\ntest-suite Semaphore001\n -- JS: missing \"sem_open\"\n if arch(javascript)\n build-depends: unbuildable<0\n buildable: False\n\n hs-source-dirs: tests\n main-is: Semaphore001.hs\n type: exitcode-stdio-1.0\n default-language: Haskell2010\n build-depends: base, unix\n ghc-options: -Wall\n\ntest-suite Semaphore002\n -- JS: missing \"sem_open\"\n if arch(javascript)\n build-depends: unbuildable<0\n buildable: False\n\n hs-source-dirs: tests\n main-is: Semaphore002.hs\n type: exitcode-stdio-1.0\n default-language: Haskell2010\n build-depends: base, unix\n ghc-options: -Wall -threaded\n\ntest-suite SemaphoreInterrupt\n -- JS: missing \"sem_open\"\n if arch(javascript)\n build-depends: unbuildable<0\n buildable: False\n\n hs-source-dirs: tests\n main-is: SemaphoreInterrupt.hs\n type: exitcode-stdio-1.0\n default-language: Haskell2010\n build-depends: base, unix\n ghc-options: -Wall -threaded\n\ntest-suite T13660\n hs-source-dirs: tests\n main-is: T13660.hs\n type: exitcode-stdio-1.0\n default-language: Haskell2010\n build-depends: base, unix, filepath >= 1.4.100.0 && < 1.5, bytestring\n ghc-options: -Wall\n"; - } \ No newline at end of file diff --git a/materialized/ghc962/hadrian-ghc94/hadrian/cabal-files/unordered-containers.nix b/materialized/ghc962/hadrian-ghc94/hadrian/cabal-files/unordered-containers.nix deleted file mode 100644 index 0aeaccb277..0000000000 --- a/materialized/ghc962/hadrian-ghc94/hadrian/cabal-files/unordered-containers.nix +++ /dev/null @@ -1,78 +0,0 @@ -{ 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/ghc962/hadrian-ghc94/hadrian/cabal-files/utf8-string.nix b/materialized/ghc962/hadrian-ghc94/hadrian/cabal-files/utf8-string.nix deleted file mode 100644 index a5ee5272da..0000000000 --- a/materialized/ghc962/hadrian-ghc94/hadrian/cabal-files/utf8-string.nix +++ /dev/null @@ -1,51 +0,0 @@ -{ 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/ghc962/hadrian-ghc94/hadrian/default.nix b/materialized/ghc962/hadrian-ghc94/hadrian/default.nix deleted file mode 100644 index fdbd75cc87..0000000000 --- a/materialized/ghc962/hadrian-ghc94/hadrian/default.nix +++ /dev/null @@ -1,161 +0,0 @@ -{ - 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 = import ./cabal-files/transformers.nix; - time.revision = hackage.time."1.12.2".revisions.default; - base.revision = hackage.base."4.18.0.0".revisions.default; - splitmix.revision = import ./cabal-files/splitmix.nix; - splitmix.flags.optimised-mixer = false; - unix.revision = import ./cabal-files/unix.nix; - filepattern.revision = import ./cabal-files/filepattern.nix; - ghc-boot-th.revision = hackage.ghc-boot-th."9.6.2".revisions.default; - mtl.revision = import ./cabal-files/mtl.nix; - 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 = import ./cabal-files/process.nix; - 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 = import ./cabal-files/exceptions.nix; - exceptions.flags.transformers-0-4 = true; - parsec.revision = import ./cabal-files/parsec.nix; - 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.5.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.4.0".revisions.default; - Cabal.revision = import ./cabal-files/Cabal.nix; - directory.revision = import ./cabal-files/directory.nix; - 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 = import ./cabal-files/filepath.nix; - filepath.flags.cpphs = false; - js-dgtable.revision = import ./cabal-files/js-dgtable.nix; - extra.revision = import ./cabal-files/extra.nix; - }; - compiler = { - version = "9.6.2"; - nix-name = "ghc962"; - packages = { - "bytestring" = "0.11.4.0"; - "containers" = "0.6.7"; - "ghc-prim" = "0.10.0"; - "ghc-boot-th" = "9.6.2"; - "base" = "4.18.0.0"; - "time" = "1.12.2"; - "stm" = "2.5.1.0"; - "ghc-bignum" = "1.3"; - "template-haskell" = "2.20.0.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.5.0"; - }; - }; - }; - extras = hackage: - { packages = { hadrian = ./.plan.nix/hadrian.nix; }; }; - modules = [ - { - preExistingPkgs = [ - "ghc-prim" - "time" - "base" - "ghc-boot-th" - "pretty" - "stm" - "template-haskell" - "system-cxx-std-lib" - "deepseq" - "text" - "containers" - "array" - "bytestring" - "ghc-bignum" - "binary" - ]; - } - ({ 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 diff --git a/materialized/ghc962/hadrian-ghc947/hadrian/.plan.nix/hadrian.nix b/materialized/ghc962/hadrian-ghc947/hadrian/.plan.nix/hadrian.nix deleted file mode 100644 index bbc57e2054..0000000000 --- a/materialized/ghc962/hadrian-ghc947/hadrian/.plan.nix/hadrian.nix +++ /dev/null @@ -1,160 +0,0 @@ -{ 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."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/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/ghc962/hadrian-ghc947/hadrian/cabal-files/Cabal-syntax.nix b/materialized/ghc962/hadrian-ghc947/hadrian/cabal-files/Cabal-syntax.nix deleted file mode 100644 index dabbcbdee8..0000000000 --- a/materialized/ghc962/hadrian-ghc947/hadrian/cabal-files/Cabal-syntax.nix +++ /dev/null @@ -1,55 +0,0 @@ -{ 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/ghc962/hadrian-ghc947/hadrian/cabal-files/Cabal.nix b/materialized/ghc962/hadrian-ghc947/hadrian/cabal-files/Cabal.nix deleted file mode 100644 index be0b5019d9..0000000000 --- a/materialized/ghc962/hadrian-ghc947/hadrian/cabal-files/Cabal.nix +++ /dev/null @@ -1,56 +0,0 @@ -{ 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/ghc962/hadrian-ghc947/hadrian/cabal-files/QuickCheck.nix b/materialized/ghc962/hadrian-ghc947/hadrian/cabal-files/QuickCheck.nix deleted file mode 100644 index 62e36aa8b6..0000000000 --- a/materialized/ghc962/hadrian-ghc947/hadrian/cabal-files/QuickCheck.nix +++ /dev/null @@ -1,119 +0,0 @@ -{ 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/ghc962/hadrian-ghc947/hadrian/cabal-files/clock.nix b/materialized/ghc962/hadrian-ghc947/hadrian/cabal-files/clock.nix deleted file mode 100644 index 1db6e2d90d..0000000000 --- a/materialized/ghc962/hadrian-ghc947/hadrian/cabal-files/clock.nix +++ /dev/null @@ -1,59 +0,0 @@ -{ 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/ghc962/hadrian-ghc947/hadrian/cabal-files/directory.nix b/materialized/ghc962/hadrian-ghc947/hadrian/cabal-files/directory.nix deleted file mode 100644 index a93c7eb928..0000000000 --- a/materialized/ghc962/hadrian-ghc947/hadrian/cabal-files/directory.nix +++ /dev/null @@ -1,57 +0,0 @@ -{ system - , compiler - , flags - , pkgs - , hsPkgs - , pkgconfPkgs - , errorHandler - , config - , ... }: - ({ - flags = {}; - package = { - specVersion = "2.2"; - identifier = { name = "directory"; version = "1.3.8.1"; }; - license = "BSD-3-Clause"; - copyright = ""; - maintainer = "libraries@haskell.org"; - author = ""; - homepage = ""; - url = ""; - synopsis = "Platform-agnostic library for filesystem operations"; - description = "This library provides a basic set of operations for manipulating files and\ndirectories in a portable way."; - buildType = "Configure"; - }; - components = { - "library" = { - depends = [ - (hsPkgs."base" or (errorHandler.buildDepError "base")) - (hsPkgs."time" or (errorHandler.buildDepError "time")) - (hsPkgs."filepath" or (errorHandler.buildDepError "filepath")) - ] ++ (if system.isWindows - then [ (hsPkgs."Win32" or (errorHandler.buildDepError "Win32")) ] - else [ (hsPkgs."unix" or (errorHandler.buildDepError "unix")) ]); - buildable = true; - }; - tests = { - "test" = { - depends = [ - (hsPkgs."base" or (errorHandler.buildDepError "base")) - (hsPkgs."directory" or (errorHandler.buildDepError "directory")) - (hsPkgs."filepath" or (errorHandler.buildDepError "filepath")) - (hsPkgs."time" or (errorHandler.buildDepError "time")) - ] ++ (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/directory-1.3.8.1.tar.gz"; - sha256 = "bd8253197587d32d4553070d2de89d3817176860932b0e9ab7bb7ba3759d8e9c"; - }); - }) // { - package-description-override = "cabal-version: 2.2\r\nname: directory\r\nversion: 1.3.8.1\r\nx-revision: 1\r\nlicense: BSD-3-Clause\r\nlicense-file: LICENSE\r\nmaintainer: libraries@haskell.org\r\nbug-reports: https://github.com/haskell/directory/issues\r\nsynopsis: Platform-agnostic library for filesystem operations\r\ndescription:\r\n This library provides a basic set of operations for manipulating files and\r\n directories in a portable way.\r\ncategory: System\r\nbuild-type: Configure\r\ntested-with: GHC == 8.6.5 || == 8.10.7 || == 9.0.2 || == 9.2.4 || == 9.4.3\r\n\r\nextra-tmp-files:\r\n autom4te.cache\r\n config.log\r\n config.status\r\n HsDirectoryConfig.h\r\n\r\nextra-source-files:\r\n HsDirectoryConfig.h.in\r\n README.md\r\n System/Directory/Internal/*.h\r\n changelog.md\r\n configure\r\n configure.ac\r\n directory.buildinfo\r\n tests/*.hs\r\n tests/util.inl\r\n\r\nsource-repository head\r\n type: git\r\n location: https://github.com/haskell/directory\r\n\r\nLibrary\r\n default-language: Haskell2010\r\n other-extensions: CApiFFI, CPP\r\n\r\n exposed-modules:\r\n System.Directory\r\n System.Directory.OsPath\r\n System.Directory.Internal\r\n System.Directory.Internal.Prelude\r\n other-modules:\r\n System.Directory.Internal.C_utimensat\r\n System.Directory.Internal.Common\r\n System.Directory.Internal.Config\r\n System.Directory.Internal.Posix\r\n System.Directory.Internal.Windows\r\n\r\n include-dirs: .\r\n\r\n build-depends:\r\n base >= 4.11.0 && < 4.20,\r\n time >= 1.8.0 && < 1.13,\r\n filepath >= 1.4.100 && < 1.5\r\n if os(windows)\r\n build-depends: Win32 >= 2.13.3 && < 2.14\r\n else\r\n build-depends: unix >= 2.8.0 && < 2.9\r\n\r\n ghc-options: -Wall\r\n\r\ntest-suite test\r\n default-language: Haskell2010\r\n other-extensions: BangPatterns, CPP\r\n default-extensions: OverloadedStrings\r\n ghc-options: -Wall\r\n hs-source-dirs: tests\r\n main-is: Main.hs\r\n type: exitcode-stdio-1.0\r\n build-depends: base, directory, filepath, time\r\n if os(windows)\r\n build-depends: Win32\r\n else\r\n build-depends: unix\r\n other-modules:\r\n TestUtils\r\n Util\r\n -- test-modules-begin\r\n CanonicalizePath\r\n CopyFile001\r\n CopyFile002\r\n CopyFileWithMetadata\r\n CreateDirectory001\r\n CreateDirectoryIfMissing001\r\n CurrentDirectory001\r\n Directory001\r\n DoesDirectoryExist001\r\n DoesPathExist\r\n FileTime\r\n FindFile001\r\n GetDirContents001\r\n GetDirContents002\r\n GetFileSize\r\n GetHomeDirectory001\r\n GetHomeDirectory002\r\n GetPermissions001\r\n LongPaths\r\n MakeAbsolute\r\n MinimizeNameConflicts\r\n PathIsSymbolicLink\r\n RemoveDirectoryRecursive001\r\n RemovePathForcibly\r\n RenameDirectory\r\n RenameFile001\r\n RenamePath\r\n Simplify\r\n T8482\r\n WithCurrentDirectory\r\n Xdg\r\n -- test-modules-end\r\n"; - } \ No newline at end of file diff --git a/materialized/ghc962/hadrian-ghc947/hadrian/cabal-files/exceptions.nix b/materialized/ghc962/hadrian-ghc947/hadrian/cabal-files/exceptions.nix deleted file mode 100644 index 6c5da3df95..0000000000 --- a/materialized/ghc962/hadrian-ghc947/hadrian/cabal-files/exceptions.nix +++ /dev/null @@ -1,73 +0,0 @@ -{ system - , compiler - , flags - , pkgs - , hsPkgs - , pkgconfPkgs - , errorHandler - , config - , ... }: - ({ - flags = { transformers-0-4 = true; }; - package = { - specVersion = "1.10"; - identifier = { name = "exceptions"; version = "0.10.7"; }; - license = "BSD-3-Clause"; - copyright = "Copyright (C) 2013-2015 Edward A. Kmett\nCopyright (C) 2012 Google Inc."; - maintainer = "Edward A. Kmett "; - author = "Edward A. Kmett"; - homepage = "http://github.com/ekmett/exceptions/"; - url = ""; - synopsis = "Extensible optionally-pure exceptions"; - description = "Extensible optionally-pure exceptions."; - buildType = "Simple"; - }; - components = { - "library" = { - depends = ([ - (hsPkgs."base" or (errorHandler.buildDepError "base")) - (hsPkgs."stm" or (errorHandler.buildDepError "stm")) - (hsPkgs."template-haskell" or (errorHandler.buildDepError "template-haskell")) - (hsPkgs."mtl" or (errorHandler.buildDepError "mtl")) - ] ++ pkgs.lib.optional (!(compiler.isGhc && compiler.version.ge "8.0")) (hsPkgs."fail" or (errorHandler.buildDepError "fail"))) ++ (if flags.transformers-0-4 - then [ - (hsPkgs."transformers" or (errorHandler.buildDepError "transformers")) - ] - else [ - (hsPkgs."transformers" or (errorHandler.buildDepError "transformers")) - (hsPkgs."transformers-compat" or (errorHandler.buildDepError "transformers-compat")) - ]); - buildable = true; - }; - tests = { - "exceptions-tests" = { - depends = [ - (hsPkgs."base" or (errorHandler.buildDepError "base")) - (hsPkgs."exceptions" or (errorHandler.buildDepError "exceptions")) - (hsPkgs."stm" or (errorHandler.buildDepError "stm")) - (hsPkgs."template-haskell" or (errorHandler.buildDepError "template-haskell")) - (hsPkgs."mtl" or (errorHandler.buildDepError "mtl")) - (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."QuickCheck" or (errorHandler.buildDepError "QuickCheck")) - ] ++ (if flags.transformers-0-4 - then [ - (hsPkgs."transformers" or (errorHandler.buildDepError "transformers")) - ] - else [ - (hsPkgs."transformers" or (errorHandler.buildDepError "transformers")) - (hsPkgs."transformers-compat" or (errorHandler.buildDepError "transformers-compat")) - ]); - buildable = true; - }; - }; - }; - } // { - src = pkgs.lib.mkDefault (pkgs.fetchurl { - url = "http://hackage.haskell.org/package/exceptions-0.10.7.tar.gz"; - sha256 = "9a42ade4c8b53d8da5350e8e0e2929f4ef128c4b8591b120656455310b546049"; - }); - }) // { - package-description-override = "name: exceptions\r\ncategory: Control, Exceptions, Monad\r\nversion: 0.10.7\r\nx-revision: 1\r\ncabal-version: >= 1.10\r\nlicense: BSD3\r\nlicense-file: LICENSE\r\nauthor: Edward A. Kmett\r\nmaintainer: Edward A. Kmett \r\nstability: provisional\r\nhomepage: http://github.com/ekmett/exceptions/\r\nbug-reports: http://github.com/ekmett/exceptions/issues\r\ncopyright: Copyright (C) 2013-2015 Edward A. Kmett\r\n Copyright (C) 2012 Google Inc.\r\nbuild-type: Simple\r\ntested-with: GHC == 7.4.2\r\n , GHC == 7.6.3\r\n , GHC == 7.8.4\r\n , GHC == 7.10.3\r\n , GHC == 8.0.2\r\n , GHC == 8.2.2\r\n , GHC == 8.4.4\r\n , GHC == 8.6.5\r\n , GHC == 8.8.4\r\n , GHC == 8.10.7\r\n , GHC == 9.0.2\r\n , GHC == 9.2.2\r\nsynopsis: Extensible optionally-pure exceptions\r\ndescription: Extensible optionally-pure exceptions.\r\n\r\nextra-source-files:\r\n .ghci\r\n .gitignore\r\n .vim.custom\r\n AUTHORS.markdown\r\n README.markdown\r\n CHANGELOG.markdown\r\n\r\nsource-repository head\r\n type: git\r\n location: git://github.com/ekmett/exceptions.git\r\n\r\nflag transformers-0-4\r\n description: Use @transformers-0.4@ or later.\r\n default: True\r\n\r\nlibrary\r\n build-depends:\r\n base >= 4.5 && < 5,\r\n stm >= 2.2 && < 3,\r\n template-haskell >= 2.7 && < 2.21,\r\n mtl >= 2.0 && < 2.4\r\n\r\n if !impl(ghc >= 8.0)\r\n build-depends: fail == 4.9.*\r\n\r\n if flag(transformers-0-4)\r\n build-depends:\r\n transformers >= 0.4 && < 0.7\r\n else\r\n build-depends:\r\n transformers >= 0.2 && < 0.4,\r\n transformers-compat >= 0.3 && < 0.8\r\n\r\n exposed-modules:\r\n Control.Monad.Catch\r\n Control.Monad.Catch.Pure\r\n\r\n ghc-options: -Wall -fwarn-tabs -O2\r\n hs-source-dirs: src\r\n default-language: Haskell2010\r\n\r\ntest-suite exceptions-tests\r\n main-is: Tests.hs\r\n other-modules: Control.Monad.Catch.Tests\r\n hs-source-dirs: tests\r\n ghc-options: -Wall -fwarn-tabs\r\n default-language: Haskell2010\r\n type: exitcode-stdio-1.0\r\n build-depends:\r\n base,\r\n exceptions,\r\n stm,\r\n template-haskell,\r\n mtl >= 2.0,\r\n test-framework >= 0.8 && < 0.9,\r\n test-framework-hunit >= 0.3 && < 0.4,\r\n test-framework-quickcheck2 >= 0.3 && < 0.4,\r\n QuickCheck >= 2.5 && < 2.15\r\n\r\n if flag(transformers-0-4)\r\n build-depends:\r\n transformers >= 0.4 && < 0.7\r\n else\r\n build-depends:\r\n transformers >= 0.2 && < 0.4,\r\n transformers-compat >= 0.3 && < 0.8\r\n"; - } \ No newline at end of file diff --git a/materialized/ghc962/hadrian-ghc947/hadrian/cabal-files/extra.nix b/materialized/ghc962/hadrian-ghc947/hadrian/cabal-files/extra.nix deleted file mode 100644 index 41668cf6bc..0000000000 --- a/materialized/ghc962/hadrian-ghc947/hadrian/cabal-files/extra.nix +++ /dev/null @@ -1,58 +0,0 @@ -{ 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/ghc962/hadrian-ghc947/hadrian/cabal-files/filepath.nix b/materialized/ghc962/hadrian-ghc947/hadrian/cabal-files/filepath.nix deleted file mode 100644 index 3ca4d59414..0000000000 --- a/materialized/ghc962/hadrian-ghc947/hadrian/cabal-files/filepath.nix +++ /dev/null @@ -1,97 +0,0 @@ -{ system - , compiler - , flags - , pkgs - , hsPkgs - , pkgconfPkgs - , errorHandler - , config - , ... }: - ({ - flags = { cpphs = false; }; - package = { - specVersion = "2.2"; - identifier = { name = "filepath"; version = "1.4.100.4"; }; - license = "BSD-3-Clause"; - copyright = "Neil Mitchell 2005-2020, Julain Ospald 2021-2022"; - maintainer = "Julian Ospald "; - author = "Neil Mitchell "; - homepage = "https://github.com/haskell/filepath/blob/master/README.md"; - url = ""; - synopsis = "Library for manipulating FilePaths in a cross platform way."; - description = "This package provides functionality for manipulating @FilePath@ values, and is shipped with . It provides two variants for filepaths:\n\n1. legacy filepaths: @type FilePath = String@\n\n2. operating system abstracted filepaths (@OsPath@): internally unpinned @ShortByteString@ (platform-dependent encoding)\n\nIt is recommended to use @OsPath@ when possible, because it is more correct.\n\nFor each variant there are three main modules:\n\n* \"System.FilePath.Posix\" / \"System.OsPath.Posix\" manipulates POSIX\\/Linux style @FilePath@ values (with @\\/@ as the path separator).\n\n* \"System.FilePath.Windows\" / \"System.OsPath.Windows\" manipulates Windows style @FilePath@ values (with either @\\\\@ or @\\/@ as the path separator, and deals with drives).\n\n* \"System.FilePath\" / \"System.OsPath\" for dealing with current platform-specific filepaths\n\n\"System.OsString\" is like \"System.OsPath\", but more general purpose. Refer to the documentation of\nthose modules for more information.\n\nAn introduction into the new API can be found in this\n.\nCode examples for the new API can be found ."; - buildType = "Simple"; - }; - components = { - "library" = { - depends = [ - (hsPkgs."base" or (errorHandler.buildDepError "base")) - (hsPkgs."bytestring" or (errorHandler.buildDepError "bytestring")) - (hsPkgs."deepseq" or (errorHandler.buildDepError "deepseq")) - (hsPkgs."exceptions" or (errorHandler.buildDepError "exceptions")) - (hsPkgs."template-haskell" or (errorHandler.buildDepError "template-haskell")) - ]; - build-tools = pkgs.lib.optional (flags.cpphs) (hsPkgs.pkgsBuildBuild.cpphs.components.exes.cpphs or (pkgs.pkgsBuildBuild.cpphs or (errorHandler.buildToolDepError "cpphs:cpphs"))); - buildable = true; - }; - tests = { - "filepath-tests" = { - depends = [ - (hsPkgs."base" or (errorHandler.buildDepError "base")) - (hsPkgs."bytestring" or (errorHandler.buildDepError "bytestring")) - (hsPkgs."filepath" or (errorHandler.buildDepError "filepath")) - (hsPkgs."QuickCheck" or (errorHandler.buildDepError "QuickCheck")) - ]; - buildable = true; - }; - "filepath-equivalent-tests" = { - depends = [ - (hsPkgs."base" or (errorHandler.buildDepError "base")) - (hsPkgs."bytestring" or (errorHandler.buildDepError "bytestring")) - (hsPkgs."filepath" or (errorHandler.buildDepError "filepath")) - (hsPkgs."QuickCheck" or (errorHandler.buildDepError "QuickCheck")) - ]; - buildable = true; - }; - "bytestring-tests" = { - depends = [ - (hsPkgs."base" or (errorHandler.buildDepError "base")) - (hsPkgs."bytestring" or (errorHandler.buildDepError "bytestring")) - (hsPkgs."filepath" or (errorHandler.buildDepError "filepath")) - (hsPkgs."QuickCheck" or (errorHandler.buildDepError "QuickCheck")) - ]; - buildable = true; - }; - "abstract-filepath" = { - depends = [ - (hsPkgs."base" or (errorHandler.buildDepError "base")) - (hsPkgs."bytestring" or (errorHandler.buildDepError "bytestring")) - (hsPkgs."deepseq" or (errorHandler.buildDepError "deepseq")) - (hsPkgs."filepath" or (errorHandler.buildDepError "filepath")) - (hsPkgs."QuickCheck" or (errorHandler.buildDepError "QuickCheck")) - (hsPkgs."quickcheck-classes-base" or (errorHandler.buildDepError "quickcheck-classes-base")) - ]; - buildable = true; - }; - }; - benchmarks = { - "bench-filepath" = { - depends = [ - (hsPkgs."base" or (errorHandler.buildDepError "base")) - (hsPkgs."bytestring" or (errorHandler.buildDepError "bytestring")) - (hsPkgs."deepseq" or (errorHandler.buildDepError "deepseq")) - (hsPkgs."filepath" or (errorHandler.buildDepError "filepath")) - (hsPkgs."tasty-bench" or (errorHandler.buildDepError "tasty-bench")) - ]; - buildable = true; - }; - }; - }; - } // { - src = pkgs.lib.mkDefault (pkgs.fetchurl { - url = "http://hackage.haskell.org/package/filepath-1.4.100.4.tar.gz"; - sha256 = "82876250347c2fdf0f9de5448ce44f02539f37951b671d9a30719a6c4f96e9ad"; - }); - }) // { - package-description-override = "cabal-version: 2.2\nname: filepath\nversion: 1.4.100.4\n\n-- NOTE: Don't forget to update ./changelog.md\nlicense: BSD-3-Clause\nlicense-file: LICENSE\nauthor: Neil Mitchell \nmaintainer: Julian Ospald \ncopyright: Neil Mitchell 2005-2020, Julain Ospald 2021-2022\nbug-reports: https://github.com/haskell/filepath/issues\nhomepage:\n https://github.com/haskell/filepath/blob/master/README.md\n\ncategory: System\nbuild-type: Simple\nsynopsis: Library for manipulating FilePaths in a cross platform way.\ntested-with:\n GHC ==8.0.2\n || ==8.2.2\n || ==8.4.4\n || ==8.6.5\n || ==8.8.4\n || ==8.10.7\n || ==9.0.2\n || ==9.2.3\n\ndescription:\n This package provides functionality for manipulating @FilePath@ values, and is shipped with . It provides two variants for filepaths:\n .\n 1. legacy filepaths: @type FilePath = String@\n .\n 2. operating system abstracted filepaths (@OsPath@): internally unpinned @ShortByteString@ (platform-dependent encoding)\n .\n It is recommended to use @OsPath@ when possible, because it is more correct.\n .\n For each variant there are three main modules:\n .\n * \"System.FilePath.Posix\" / \"System.OsPath.Posix\" manipulates POSIX\\/Linux style @FilePath@ values (with @\\/@ as the path separator).\n .\n * \"System.FilePath.Windows\" / \"System.OsPath.Windows\" manipulates Windows style @FilePath@ values (with either @\\\\@ or @\\/@ as the path separator, and deals with drives).\n .\n * \"System.FilePath\" / \"System.OsPath\" for dealing with current platform-specific filepaths\n .\n \"System.OsString\" is like \"System.OsPath\", but more general purpose. Refer to the documentation of\n those modules for more information.\n .\n An introduction into the new API can be found in this\n .\n Code examples for the new API can be found .\n\nextra-source-files:\n Generate.hs\n Makefile\n System/FilePath/Internal.hs\n System/OsPath/Common.hs\n System/OsString/Common.hs\n tests/bytestring-tests/Properties/Common.hs\n\nextra-doc-files:\n changelog.md\n HACKING.md\n README.md\n\nflag cpphs\n description: Use cpphs (fixes haddock source links)\n default: False\n manual: True\n\nsource-repository head\n type: git\n location: https://github.com/haskell/filepath\n\nlibrary\n exposed-modules:\n System.FilePath\n System.FilePath.Posix\n System.FilePath.Windows\n System.OsPath\n System.OsPath.Data.ByteString.Short\n System.OsPath.Data.ByteString.Short.Internal\n System.OsPath.Data.ByteString.Short.Word16\n System.OsPath.Encoding\n System.OsPath.Encoding.Internal\n System.OsPath.Internal\n System.OsPath.Posix\n System.OsPath.Posix.Internal\n System.OsPath.Types\n System.OsPath.Windows\n System.OsPath.Windows.Internal\n System.OsString\n System.OsString.Internal\n System.OsString.Internal.Types\n System.OsString.Posix\n System.OsString.Windows\n\n other-extensions:\n CPP\n PatternGuards\n\n if impl(ghc >=7.2)\n other-extensions: Safe\n\n default-language: Haskell2010\n build-depends:\n , base >=4.9 && <4.20\n , bytestring >=0.11.3.0\n , deepseq\n , exceptions\n , template-haskell\n\n ghc-options: -Wall\n\n if flag(cpphs)\n ghc-options: -pgmPcpphs -optP--cpp\n build-tool-depends: cpphs:cpphs -any\n\ntest-suite filepath-tests\n type: exitcode-stdio-1.0\n main-is: Test.hs\n hs-source-dirs: tests tests/filepath-tests\n other-modules:\n TestGen\n TestUtil\n\n build-depends:\n , base\n , bytestring >=0.11.3.0\n , filepath\n , QuickCheck >=2.7 && <2.15\n\n default-language: Haskell2010\n ghc-options: -Wall\n\ntest-suite filepath-equivalent-tests\n default-language: Haskell2010\n ghc-options: -Wall\n type: exitcode-stdio-1.0\n main-is: TestEquiv.hs\n hs-source-dirs: tests tests/filepath-equivalent-tests\n other-modules:\n Legacy.System.FilePath\n Legacy.System.FilePath.Posix\n Legacy.System.FilePath.Windows\n TestUtil\n\n build-depends:\n , base\n , bytestring >=0.11.3.0\n , filepath\n , QuickCheck >=2.7 && <2.15\n\ntest-suite bytestring-tests\n default-language: Haskell2010\n ghc-options: -Wall\n type: exitcode-stdio-1.0\n main-is: Main.hs\n hs-source-dirs: tests tests/bytestring-tests\n other-modules:\n Properties.ShortByteString\n Properties.ShortByteString.Word16\n TestUtil\n\n build-depends:\n , base\n , bytestring >=0.11.3.0\n , filepath\n , QuickCheck >=2.7 && <2.15\n\ntest-suite abstract-filepath\n default-language: Haskell2010\n ghc-options: -Wall\n type: exitcode-stdio-1.0\n main-is: Test.hs\n hs-source-dirs: tests tests/abstract-filepath\n other-modules:\n Arbitrary\n EncodingSpec\n OsPathSpec\n TestUtil\n\n build-depends:\n , base\n , bytestring >=0.11.3.0\n , deepseq\n , filepath\n , QuickCheck >=2.7 && <2.15\n , quickcheck-classes-base ^>=0.6.2\n\nbenchmark bench-filepath\n default-language: Haskell2010\n ghc-options: -Wall\n type: exitcode-stdio-1.0\n main-is: BenchFilePath.hs\n hs-source-dirs: bench\n build-depends:\n , base\n , bytestring >=0.11.3.0\n , deepseq\n , filepath\n , tasty-bench\n\n ghc-options: -with-rtsopts=-A32m\n"; - } \ No newline at end of file diff --git a/materialized/ghc962/hadrian-ghc947/hadrian/cabal-files/filepattern.nix b/materialized/ghc962/hadrian-ghc947/hadrian/cabal-files/filepattern.nix deleted file mode 100644 index 385c502003..0000000000 --- a/materialized/ghc962/hadrian-ghc947/hadrian/cabal-files/filepattern.nix +++ /dev/null @@ -1,56 +0,0 @@ -{ 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/ghc962/hadrian-ghc947/hadrian/cabal-files/hashable.nix b/materialized/ghc962/hadrian-ghc947/hadrian/cabal-files/hashable.nix deleted file mode 100644 index 4b125fa0bc..0000000000 --- a/materialized/ghc962/hadrian-ghc947/hadrian/cabal-files/hashable.nix +++ /dev/null @@ -1,82 +0,0 @@ -{ 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/ghc962/hadrian-ghc947/hadrian/cabal-files/heaps.nix b/materialized/ghc962/hadrian-ghc947/hadrian/cabal-files/heaps.nix deleted file mode 100644 index e759e305bf..0000000000 --- a/materialized/ghc962/hadrian-ghc947/hadrian/cabal-files/heaps.nix +++ /dev/null @@ -1,38 +0,0 @@ -{ 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/ghc962/hadrian-ghc947/hadrian/cabal-files/js-dgtable.nix b/materialized/ghc962/hadrian-ghc947/hadrian/cabal-files/js-dgtable.nix deleted file mode 100644 index 40ea1148c6..0000000000 --- a/materialized/ghc962/hadrian-ghc947/hadrian/cabal-files/js-dgtable.nix +++ /dev/null @@ -1,47 +0,0 @@ -{ 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/ghc962/hadrian-ghc947/hadrian/cabal-files/js-flot.nix b/materialized/ghc962/hadrian-ghc947/hadrian/cabal-files/js-flot.nix deleted file mode 100644 index 67980dd7ba..0000000000 --- a/materialized/ghc962/hadrian-ghc947/hadrian/cabal-files/js-flot.nix +++ /dev/null @@ -1,47 +0,0 @@ -{ 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/ghc962/hadrian-ghc947/hadrian/cabal-files/js-jquery.nix b/materialized/ghc962/hadrian-ghc947/hadrian/cabal-files/js-jquery.nix deleted file mode 100644 index 05e54a25ab..0000000000 --- a/materialized/ghc962/hadrian-ghc947/hadrian/cabal-files/js-jquery.nix +++ /dev/null @@ -1,48 +0,0 @@ -{ 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/ghc962/hadrian-ghc947/hadrian/cabal-files/parsec.nix b/materialized/ghc962/hadrian-ghc947/hadrian/cabal-files/parsec.nix deleted file mode 100644 index d3ce074a87..0000000000 --- a/materialized/ghc962/hadrian-ghc947/hadrian/cabal-files/parsec.nix +++ /dev/null @@ -1,84 +0,0 @@ -{ system - , compiler - , flags - , pkgs - , hsPkgs - , pkgconfPkgs - , errorHandler - , config - , ... }: - ({ - flags = {}; - package = { - specVersion = "1.12"; - identifier = { name = "parsec"; version = "3.1.17.0"; }; - license = "BSD-2-Clause"; - copyright = ""; - maintainer = "Oleg Grenrus , Herbert Valerio Riedel "; - author = "Daan Leijen , Paolo Martini , Antoine Latter "; - homepage = "https://github.com/haskell/parsec"; - url = ""; - synopsis = "Monadic parser combinators"; - description = "Parsec is designed from scratch as an industrial-strength parser\nlibrary. It is simple, safe, well documented (on the package\nhomepage), has extensive libraries, good error messages,\nand is fast. It is defined as a monad transformer that can be\nstacked on arbitrary monads, and it is also parametric in the\ninput stream type.\n\nThe main entry point is the \"Text.Parsec\" module which provides\ndefaults for parsing 'Char'acter data.\n\nThe \"Text.ParserCombinators.Parsec\" module hierarchy contains\nthe legacy @parsec-2@ API and may be removed at some point in\nthe future."; - buildType = "Simple"; - }; - components = { - "library" = { - depends = [ - (hsPkgs."base" or (errorHandler.buildDepError "base")) - (hsPkgs."mtl" or (errorHandler.buildDepError "mtl")) - (hsPkgs."bytestring" or (errorHandler.buildDepError "bytestring")) - (hsPkgs."text" or (errorHandler.buildDepError "text")) - ] ++ pkgs.lib.optionals (!(compiler.isGhc && compiler.version.ge "8.0")) [ - (hsPkgs."fail" or (errorHandler.buildDepError "fail")) - (hsPkgs."semigroups" or (errorHandler.buildDepError "semigroups")) - ]; - buildable = true; - }; - tests = { - "parsec-tests" = { - depends = [ - (hsPkgs."base" or (errorHandler.buildDepError "base")) - (hsPkgs."mtl" or (errorHandler.buildDepError "mtl")) - (hsPkgs."parsec" or (errorHandler.buildDepError "parsec")) - (hsPkgs."tasty" or (errorHandler.buildDepError "tasty")) - (hsPkgs."tasty-hunit" or (errorHandler.buildDepError "tasty-hunit")) - ] ++ pkgs.lib.optional (!(compiler.isGhc && compiler.version.ge "8.0")) (hsPkgs."semigroups" or (errorHandler.buildDepError "semigroups")); - buildable = true; - }; - "parsec-issue127" = { - depends = [ - (hsPkgs."base" or (errorHandler.buildDepError "base")) - (hsPkgs."parsec" or (errorHandler.buildDepError "parsec")) - ]; - buildable = true; - }; - "parsec-issue171" = { - depends = [ - (hsPkgs."base" or (errorHandler.buildDepError "base")) - (hsPkgs."tasty" or (errorHandler.buildDepError "tasty")) - (hsPkgs."tasty-hunit" or (errorHandler.buildDepError "tasty-hunit")) - (hsPkgs."deepseq" or (errorHandler.buildDepError "deepseq")) - (hsPkgs."parsec" or (errorHandler.buildDepError "parsec")) - ]; - buildable = true; - }; - "parsec-issue175" = { - depends = [ - (hsPkgs."base" or (errorHandler.buildDepError "base")) - (hsPkgs."tasty" or (errorHandler.buildDepError "tasty")) - (hsPkgs."tasty-hunit" or (errorHandler.buildDepError "tasty-hunit")) - (hsPkgs."parsec" or (errorHandler.buildDepError "parsec")) - ]; - buildable = true; - }; - }; - }; - } // { - src = pkgs.lib.mkDefault (pkgs.fetchurl { - url = "http://hackage.haskell.org/package/parsec-3.1.17.0.tar.gz"; - sha256 = "58c500bec1ec3c849c8243ddfd675a5983b17a8e5da55acea6adade5ae179d36"; - }); - }) // { - package-description-override = "cabal-version: 1.12\nname: parsec\nversion: 3.1.17.0\n\nsynopsis: Monadic parser combinators\ndescription: Parsec is designed from scratch as an industrial-strength parser\n library. It is simple, safe, well documented (on the package\n homepage), has extensive libraries, good error messages,\n and is fast. It is defined as a monad transformer that can be\n stacked on arbitrary monads, and it is also parametric in the\n input stream type.\n .\n The main entry point is the \"Text.Parsec\" module which provides\n defaults for parsing 'Char'acter data.\n .\n The \"Text.ParserCombinators.Parsec\" module hierarchy contains\n the legacy @parsec-2@ API and may be removed at some point in\n the future.\n\nlicense: BSD2\nlicense-file: LICENSE\nauthor: Daan Leijen , Paolo Martini , Antoine Latter \nmaintainer: Oleg Grenrus , Herbert Valerio Riedel \nhomepage: https://github.com/haskell/parsec\nbug-reports: https://github.com/haskell/parsec/issues\ncategory: Parsing\n\nbuild-type: Simple\ntested-with: GHC ==9.8.1 || ==9.6.2 || ==9.4.7 || ==9.2.8 || ==9.0.2 || ==8.10.7 || ==8.8.4 || ==8.6.5 || ==8.4.4 || ==8.2.2 || ==8.0.2 || ==7.10.3 || ==7.8.4 || ==7.6.3 || ==7.4.2\n\nextra-source-files: ChangeLog.md, README.md\n\nsource-repository head\n type: git\n location: https://github.com/haskell/parsec\n\nlibrary\n hs-source-dirs: src\n exposed-modules:\n Text.Parsec\n Text.Parsec.String\n Text.Parsec.ByteString\n Text.Parsec.ByteString.Lazy\n Text.Parsec.Text\n Text.Parsec.Text.Lazy\n Text.Parsec.Pos\n Text.Parsec.Error\n Text.Parsec.Prim\n Text.Parsec.Char\n Text.Parsec.Combinator\n Text.Parsec.Token\n Text.Parsec.Expr\n Text.Parsec.Language\n Text.Parsec.Perm\n Text.ParserCombinators.Parsec\n Text.ParserCombinators.Parsec.Char\n Text.ParserCombinators.Parsec.Combinator\n Text.ParserCombinators.Parsec.Error\n Text.ParserCombinators.Parsec.Expr\n Text.ParserCombinators.Parsec.Language\n Text.ParserCombinators.Parsec.Perm\n Text.ParserCombinators.Parsec.Pos\n Text.ParserCombinators.Parsec.Prim\n Text.ParserCombinators.Parsec.Token\n\n build-depends:\n base >= 4.5.1.0 && < 4.20,\n mtl >= 2.1.3.1 && < 2.4,\n bytestring >= 0.9.2.1 && < 0.13,\n text (>= 1.2.3.0 && < 1.3)\n || (>= 2.0 && < 2.2)\n\n default-language: Haskell2010\n other-extensions:\n CPP\n DeriveDataTypeable\n ExistentialQuantification\n FlexibleContexts\n FlexibleInstances\n FunctionalDependencies\n MultiParamTypeClasses\n PolymorphicComponents\n StandaloneDeriving\n Safe\n Trustworthy\n UndecidableInstances\n\n ghc-options: -Wall\n if impl(ghc >= 8.0)\n ghc-options: -Wcompat -Wnoncanonical-monad-instances -Wno-trustworthy-safe\n if impl(ghc < 8.8)\n ghc-options: -Wnoncanonical-monadfail-instances\n else\n -- provide/emulate `Control.Monad.Fail` and `Semigroup` API for pre-GHC8\n build-depends: fail == 4.9.*, semigroups >= 0.18 && < 0.21\n\n if impl(ghc >= 7.10)\n ghc-options: -fno-warn-trustworthy-safe\n\n -- these flags may abort compilation with GHC-8.10\n -- https://gitlab.haskell.org/ghc/ghc/-/merge_requests/3295\n -- https://gitlab.haskell.org/ghc/ghc/-/issues/22728\n -- if impl(ghc >= 9.0)\n -- -- ghc-options: -Winferred-safe-imports -Wmissing-safe-haskell-mode\n\ntest-suite parsec-tests\n type: exitcode-stdio-1.0\n\n hs-source-dirs: test\n main-is: Main.hs\n other-modules:\n Bugs\n Bugs.Bug2\n Bugs.Bug6\n Bugs.Bug9\n Bugs.Bug35\n Features\n Features.Feature80\n Features.Feature150\n Util\n\n build-depends:\n base,\n mtl,\n parsec,\n -- dependencies whose version bounds are not inherited via lib:parsec\n tasty >= 1.4 && < 1.6,\n tasty-hunit >= 0.10 && < 0.11\n\n default-language: Haskell2010\n\n ghc-options: -Wall\n if impl(ghc >= 8.0)\n ghc-options: -Wcompat -Wnoncanonical-monad-instances -Wnoncanonical-monadfail-instances\n else\n build-depends: semigroups\n\ntest-suite parsec-issue127\n default-language: Haskell2010\n type: exitcode-stdio-1.0\n main-is: issue127.hs\n hs-source-dirs: test\n build-depends: base, parsec\n\ntest-suite parsec-issue171\n default-language: Haskell2010\n type: exitcode-stdio-1.0\n main-is: issue171.hs\n hs-source-dirs: test\n build-depends: base, tasty, tasty-hunit, deepseq, parsec\n\ntest-suite parsec-issue175\n default-language: Haskell2010\n type: exitcode-stdio-1.0\n main-is: issue175.hs\n hs-source-dirs: test\n build-depends: base, tasty, tasty-hunit, parsec\n"; - } \ No newline at end of file diff --git a/materialized/ghc962/hadrian-ghc947/hadrian/cabal-files/primitive.nix b/materialized/ghc962/hadrian-ghc947/hadrian/cabal-files/primitive.nix deleted file mode 100644 index b5683f2c83..0000000000 --- a/materialized/ghc962/hadrian-ghc947/hadrian/cabal-files/primitive.nix +++ /dev/null @@ -1,73 +0,0 @@ -{ 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/ghc962/hadrian-ghc947/hadrian/cabal-files/process.nix b/materialized/ghc962/hadrian-ghc947/hadrian/cabal-files/process.nix deleted file mode 100644 index 0c615b19be..0000000000 --- a/materialized/ghc962/hadrian-ghc947/hadrian/cabal-files/process.nix +++ /dev/null @@ -1,61 +0,0 @@ -{ system - , compiler - , flags - , pkgs - , hsPkgs - , pkgconfPkgs - , errorHandler - , config - , ... }: - ({ - flags = {}; - package = { - specVersion = "1.10"; - identifier = { name = "process"; version = "1.6.18.0"; }; - license = "BSD-3-Clause"; - copyright = ""; - maintainer = "libraries@haskell.org"; - author = ""; - homepage = ""; - url = ""; - synopsis = "Process libraries"; - description = "This package contains libraries for dealing with system processes.\n\nThe typed-process package is a more recent take on a process API,\nwhich uses this package internally. It features better binary\nsupport, easier concurrency, and a more composable API. You can\nread more about it at\n."; - buildType = "Configure"; - }; - components = { - "library" = { - depends = [ - (hsPkgs."base" or (errorHandler.buildDepError "base")) - (hsPkgs."directory" or (errorHandler.buildDepError "directory")) - (hsPkgs."filepath" or (errorHandler.buildDepError "filepath")) - (hsPkgs."deepseq" or (errorHandler.buildDepError "deepseq")) - ] ++ (if system.isWindows - then [ (hsPkgs."Win32" or (errorHandler.buildDepError "Win32")) ] - else pkgs.lib.optional (!system.isJavaScript) (hsPkgs."unix" or (errorHandler.buildDepError "unix"))); - libs = pkgs.lib.optionals (system.isWindows) [ - (pkgs."kernel32" or (errorHandler.sysDepError "kernel32")) - (pkgs."ole32" or (errorHandler.sysDepError "ole32")) - (pkgs."rpcrt4" or (errorHandler.sysDepError "rpcrt4")) - ]; - buildable = true; - }; - tests = { - "test" = { - depends = [ - (hsPkgs."base" or (errorHandler.buildDepError "base")) - (hsPkgs."bytestring" or (errorHandler.buildDepError "bytestring")) - (hsPkgs."directory" or (errorHandler.buildDepError "directory")) - (hsPkgs."process" or (errorHandler.buildDepError "process")) - ]; - buildable = true; - }; - }; - }; - } // { - src = pkgs.lib.mkDefault (pkgs.fetchurl { - url = "http://hackage.haskell.org/package/process-1.6.18.0.tar.gz"; - sha256 = "aa5f4c4fe4974f89f5ab998c7509daa4bda3926cfb06daacd5eba892aad8a37e"; - }); - }) // { - package-description-override = "name: process\nversion: 1.6.18.0\n-- NOTE: Don't forget to update ./changelog.md\nlicense: BSD3\nlicense-file: LICENSE\nmaintainer: libraries@haskell.org\nbug-reports: https://github.com/haskell/process/issues\nsynopsis: Process libraries\ncategory: System\nbuild-type: Configure\ncabal-version: >=1.10\ndescription:\n This package contains libraries for dealing with system processes.\n .\n The typed-process package is a more recent take on a process API,\n which uses this package internally. It features better binary\n support, easier concurrency, and a more composable API. You can\n read more about it at\n .\n\nextra-source-files:\n aclocal.m4\n changelog.md\n configure\n configure.ac\n include/HsProcessConfig.h.in\n process.buildinfo\n exes/echo.bat\n exes/subdir/echo.bat\n cbits/posix/common.h\n\nextra-tmp-files:\n autom4te.cache\n config.log\n config.status\n include/HsProcessConfig.h\n\nsource-repository head\n type: git\n location: https://github.com/haskell/process.git\n\nlibrary\n default-language: Haskell2010\n other-extensions:\n BangPatterns\n CPP\n InterruptibleFFI\n RecordWildCards\n Trustworthy\n Safe\n\n exposed-modules:\n System.Cmd\n System.Process\n System.Process.Internals\n other-modules: System.Process.Common\n if os(windows)\n c-sources:\n cbits/win32/runProcess.c\n other-modules: System.Process.Windows\n build-depends: Win32 >=2.4 && < 2.14\n -- ole32 and rpcrt4 are needed to create GUIDs for unique named pipes\n -- for process.\n extra-libraries: kernel32, ole32, rpcrt4\n cpp-options: -DWINDOWS\n else\n if arch(javascript)\n js-sources:\n jsbits/process.js\n other-modules: System.Process.JavaScript\n else\n c-sources:\n cbits/posix/runProcess.c\n cbits/posix/fork_exec.c\n cbits/posix/posix_spawn.c\n cbits/posix/find_executable.c\n other-modules: System.Process.Posix\n build-depends: unix >= 2.5 && < 2.9\n\n include-dirs: include\n includes:\n runProcess.h\n install-includes:\n runProcess.h\n processFlags.h\n\n ghc-options: -Wall\n\n build-depends: base >= 4.10 && < 4.20,\n directory >= 1.1 && < 1.4,\n filepath >= 1.2 && < 1.5,\n deepseq >= 1.1 && < 1.6\n\ntest-suite test\n default-language: Haskell2010\n hs-source-dirs: test\n main-is: main.hs\n type: exitcode-stdio-1.0\n -- Add otherwise redundant bounds on base since GHC's build system runs\n -- `cabal check`, which mandates bounds on base.\n build-depends: base >= 4 && < 5\n , bytestring\n , directory\n , process\n ghc-options: -threaded\n -with-rtsopts \"-N\"\n if os(windows)\n cpp-options: -DWINDOWS\n"; - } \ No newline at end of file diff --git a/materialized/ghc962/hadrian-ghc947/hadrian/cabal-files/random.nix b/materialized/ghc962/hadrian-ghc947/hadrian/cabal-files/random.nix deleted file mode 100644 index 0dbaf8b099..0000000000 --- a/materialized/ghc962/hadrian-ghc947/hadrian/cabal-files/random.nix +++ /dev/null @@ -1,113 +0,0 @@ -{ 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/ghc962/hadrian-ghc947/hadrian/cabal-files/shake.nix b/materialized/ghc962/hadrian-ghc947/hadrian/cabal-files/shake.nix deleted file mode 100644 index d40c2a8bbc..0000000000 --- a/materialized/ghc962/hadrian-ghc947/hadrian/cabal-files/shake.nix +++ /dev/null @@ -1,132 +0,0 @@ -{ 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/ghc962/hadrian-ghc947/hadrian/cabal-files/splitmix.nix b/materialized/ghc962/hadrian-ghc947/hadrian/cabal-files/splitmix.nix deleted file mode 100644 index aa0dd88d31..0000000000 --- a/materialized/ghc962/hadrian-ghc947/hadrian/cabal-files/splitmix.nix +++ /dev/null @@ -1,139 +0,0 @@ -{ 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/ghc962/hadrian-ghc947/hadrian/cabal-files/unix.nix b/materialized/ghc962/hadrian-ghc947/hadrian/cabal-files/unix.nix deleted file mode 100644 index 33c865d08a..0000000000 --- a/materialized/ghc962/hadrian-ghc947/hadrian/cabal-files/unix.nix +++ /dev/null @@ -1,168 +0,0 @@ -{ system - , compiler - , flags - , pkgs - , hsPkgs - , pkgconfPkgs - , errorHandler - , config - , ... }: - ({ - flags = {}; - package = { - specVersion = "1.12"; - identifier = { name = "unix"; version = "2.8.3.0"; }; - license = "BSD-3-Clause"; - copyright = ""; - maintainer = "Julian Ospald , Viktor Dukhovni , Andrew Lelechenko "; - author = ""; - homepage = "https://github.com/haskell/unix"; - url = ""; - synopsis = "POSIX functionality"; - description = "This package gives you access to the set of operating system\nservices standardised by\n\n(or the IEEE Portable Operating System Interface for Computing\nEnvironments - IEEE Std. 1003.1).\n\nThe package is not supported under Windows."; - buildType = "Configure"; - }; - components = { - "library" = { - depends = [ - (hsPkgs."base" or (errorHandler.buildDepError "base")) - (hsPkgs."bytestring" or (errorHandler.buildDepError "bytestring")) - (hsPkgs."filepath" or (errorHandler.buildDepError "filepath")) - (hsPkgs."time" or (errorHandler.buildDepError "time")) - ] ++ pkgs.lib.optional (system.isWindows) (hsPkgs."unbuildable" or (errorHandler.buildDepError "unbuildable")); - buildable = if system.isWindows then false else true; - }; - tests = { - "unix-tests" = { - depends = [ - (hsPkgs."base" or (errorHandler.buildDepError "base")) - (hsPkgs."bytestring" or (errorHandler.buildDepError "bytestring")) - (hsPkgs."filepath" or (errorHandler.buildDepError "filepath")) - (hsPkgs."tasty" or (errorHandler.buildDepError "tasty")) - (hsPkgs."tasty-hunit" or (errorHandler.buildDepError "tasty-hunit")) - (hsPkgs."tasty-quickcheck" or (errorHandler.buildDepError "tasty-quickcheck")) - (hsPkgs."unix" or (errorHandler.buildDepError "unix")) - ]; - buildable = true; - }; - "FdReadBuf001" = { - depends = [ - (hsPkgs."base" or (errorHandler.buildDepError "base")) - (hsPkgs."unix" or (errorHandler.buildDepError "unix")) - ] ++ pkgs.lib.optional (system.isJavaScript) (hsPkgs."unbuildable" or (errorHandler.buildDepError "unbuildable")); - buildable = if system.isJavaScript then false else true; - }; - "ForkProcess01" = { - depends = [ - (hsPkgs."base" or (errorHandler.buildDepError "base")) - (hsPkgs."unix" or (errorHandler.buildDepError "unix")) - ] ++ pkgs.lib.optional (system.isJavaScript) (hsPkgs."unbuildable" or (errorHandler.buildDepError "unbuildable")); - buildable = if system.isJavaScript then false else true; - }; - "Signals002" = { - depends = [ - (hsPkgs."base" or (errorHandler.buildDepError "base")) - (hsPkgs."unix" or (errorHandler.buildDepError "unix")) - ] ++ pkgs.lib.optional (system.isJavaScript) (hsPkgs."unbuildable" or (errorHandler.buildDepError "unbuildable")); - buildable = if system.isJavaScript then false else true; - }; - "Signals004" = { - depends = [ - (hsPkgs."base" or (errorHandler.buildDepError "base")) - (hsPkgs."unix" or (errorHandler.buildDepError "unix")) - ] ++ pkgs.lib.optional (system.isJavaScript) (hsPkgs."unbuildable" or (errorHandler.buildDepError "unbuildable")); - buildable = if system.isJavaScript then false else true; - }; - "Posix004" = { - depends = [ - (hsPkgs."base" or (errorHandler.buildDepError "base")) - (hsPkgs."unix" or (errorHandler.buildDepError "unix")) - ] ++ pkgs.lib.optional (system.isJavaScript) (hsPkgs."unbuildable" or (errorHandler.buildDepError "unbuildable")); - buildable = if system.isJavaScript then false else true; - }; - "Posix009" = { - depends = [ - (hsPkgs."base" or (errorHandler.buildDepError "base")) - (hsPkgs."unix" or (errorHandler.buildDepError "unix")) - ] ++ pkgs.lib.optional (system.isJavaScript) (hsPkgs."unbuildable" or (errorHandler.buildDepError "unbuildable")); - buildable = if system.isJavaScript then false else true; - }; - "Posix014" = { - depends = [ - (hsPkgs."base" or (errorHandler.buildDepError "base")) - (hsPkgs."unix" or (errorHandler.buildDepError "unix")) - ] ++ pkgs.lib.optional (system.isJavaScript) (hsPkgs."unbuildable" or (errorHandler.buildDepError "unbuildable")); - buildable = if system.isJavaScript then false else true; - }; - "T8108" = { - depends = [ - (hsPkgs."base" or (errorHandler.buildDepError "base")) - (hsPkgs."unix" or (errorHandler.buildDepError "unix")) - ] ++ pkgs.lib.optional (system.isJavaScript) (hsPkgs."unbuildable" or (errorHandler.buildDepError "unbuildable")); - buildable = if system.isJavaScript then false else true; - }; - "ResourceLimit" = { - depends = [ - (hsPkgs."base" or (errorHandler.buildDepError "base")) - (hsPkgs."unix" or (errorHandler.buildDepError "unix")) - (hsPkgs."tasty-hunit" or (errorHandler.buildDepError "tasty-hunit")) - ] ++ pkgs.lib.optional (system.isJavaScript) (hsPkgs."unbuildable" or (errorHandler.buildDepError "unbuildable")); - buildable = if system.isJavaScript then false else true; - }; - "Terminal" = { - depends = [ - (hsPkgs."base" or (errorHandler.buildDepError "base")) - (hsPkgs."unix" or (errorHandler.buildDepError "unix")) - (hsPkgs."tasty-hunit" or (errorHandler.buildDepError "tasty-hunit")) - ] ++ pkgs.lib.optional (system.isJavaScript) (hsPkgs."unbuildable" or (errorHandler.buildDepError "unbuildable")); - buildable = if system.isJavaScript then false else true; - }; - "PutEnv001" = { - depends = [ - (hsPkgs."base" or (errorHandler.buildDepError "base")) - (hsPkgs."unix" or (errorHandler.buildDepError "unix")) - (hsPkgs."tasty" or (errorHandler.buildDepError "tasty")) - (hsPkgs."tasty-hunit" or (errorHandler.buildDepError "tasty-hunit")) - ] ++ pkgs.lib.optional (system.isJavaScript) (hsPkgs."unbuildable" or (errorHandler.buildDepError "unbuildable")); - buildable = if system.isJavaScript then false else true; - }; - "Semaphore001" = { - depends = [ - (hsPkgs."base" or (errorHandler.buildDepError "base")) - (hsPkgs."unix" or (errorHandler.buildDepError "unix")) - ] ++ pkgs.lib.optional (system.isJavaScript) (hsPkgs."unbuildable" or (errorHandler.buildDepError "unbuildable")); - buildable = if system.isJavaScript then false else true; - }; - "Semaphore002" = { - depends = [ - (hsPkgs."base" or (errorHandler.buildDepError "base")) - (hsPkgs."unix" or (errorHandler.buildDepError "unix")) - ] ++ pkgs.lib.optional (system.isJavaScript) (hsPkgs."unbuildable" or (errorHandler.buildDepError "unbuildable")); - buildable = if system.isJavaScript then false else true; - }; - "SemaphoreInterrupt" = { - depends = [ - (hsPkgs."base" or (errorHandler.buildDepError "base")) - (hsPkgs."unix" or (errorHandler.buildDepError "unix")) - ] ++ pkgs.lib.optional (system.isJavaScript) (hsPkgs."unbuildable" or (errorHandler.buildDepError "unbuildable")); - buildable = if system.isJavaScript then false else true; - }; - "T13660" = { - depends = [ - (hsPkgs."base" or (errorHandler.buildDepError "base")) - (hsPkgs."unix" or (errorHandler.buildDepError "unix")) - (hsPkgs."filepath" or (errorHandler.buildDepError "filepath")) - (hsPkgs."bytestring" or (errorHandler.buildDepError "bytestring")) - ]; - buildable = true; - }; - }; - }; - } // { - src = pkgs.lib.mkDefault (pkgs.fetchurl { - url = "http://hackage.haskell.org/package/unix-2.8.3.0.tar.gz"; - sha256 = "a9dc7868d42ec10e38c4d785eaec7f98d401590d4ebfd8f17ef59da3f18a5dab"; - }); - }) // { - package-description-override = "cabal-version: 1.12\nname: unix\nversion: 2.8.3.0\n-- NOTE: Don't forget to update ./changelog.md\n\nlicense: BSD3\nlicense-file: LICENSE\nmaintainer: Julian Ospald , Viktor Dukhovni , Andrew Lelechenko \nhomepage: https://github.com/haskell/unix\nbug-reports: https://github.com/haskell/unix/issues\nsynopsis: POSIX functionality\ncategory: System\nbuild-type: Configure\ntested-with: GHC==9.6.2,\n GHC==9.4.7,\n GHC==9.2.8,\n GHC==9.0.2,\n GHC==8.10.7,\n GHC==8.8.4,\n GHC==8.6.5\ndescription:\n This package gives you access to the set of operating system\n services standardised by\n \n (or the IEEE Portable Operating System Interface for Computing\n Environments - IEEE Std. 1003.1).\n .\n The package is not supported under Windows.\n\nextra-source-files:\n changelog.md\n config.guess\n config.sub\n configure\n configure.ac\n include/HsUnix.h\n include/HsUnixConfig.h.in\n install-sh\n unix.buildinfo.in\n\nextra-tmp-files:\n autom4te.cache\n config.log\n config.status\n include/HsUnixConfig.h\n unix.buildinfo\n\nsource-repository head\n type: git\n location: https://github.com/haskell/unix.git\n\nlibrary\n default-language: Haskell2010\n other-extensions:\n CApiFFI\n CPP\n DeriveDataTypeable\n InterruptibleFFI\n NondecreasingIndentation\n RankNTypes\n RecordWildCards\n Safe\n Trustworthy\n\n if os(windows)\n -- This package currently supports neither Cygwin nor MinGW,\n -- therefore os(windows) is effectively not supported.\n build-depends: unbuildable<0\n buildable: False\n\n build-depends:\n base >= 4.12.0.0 && < 4.20,\n bytestring >= 0.9.2 && < 0.13,\n filepath >= 1.4.100.0 && < 1.5,\n time >= 1.9.1 && < 1.13\n\n exposed-modules:\n System.Posix\n System.Posix.ByteString\n System.Posix.PosixString\n\n System.Posix.Error\n System.Posix.Resource\n System.Posix.Time\n System.Posix.Unistd\n System.Posix.Signals\n System.Posix.Signals.Exts\n System.Posix.Semaphore\n System.Posix.SharedMem\n\n System.Posix.User\n System.Posix.User.ByteString\n\n System.Posix.ByteString.FilePath\n System.Posix.PosixPath.FilePath\n\n System.Posix.Directory\n System.Posix.Directory.Internals\n System.Posix.Directory.Fd\n System.Posix.Directory.ByteString\n System.Posix.Directory.PosixPath\n\n System.Posix.DynamicLinker.Module\n System.Posix.DynamicLinker.Module.ByteString\n System.Posix.DynamicLinker.Prim\n System.Posix.DynamicLinker.ByteString\n System.Posix.DynamicLinker\n\n System.Posix.Files\n System.Posix.Files.ByteString\n System.Posix.Files.PosixString\n\n System.Posix.IO\n System.Posix.IO.ByteString\n System.Posix.IO.PosixString\n\n System.Posix.Env\n System.Posix.Env.ByteString\n System.Posix.Env.PosixString\n\n System.Posix.Fcntl\n\n System.Posix.Process\n System.Posix.Process.Internals\n System.Posix.Process.ByteString\n System.Posix.Process.PosixString\n\n System.Posix.Temp\n System.Posix.Temp.ByteString\n System.Posix.Temp.PosixString\n\n System.Posix.Terminal\n System.Posix.Terminal.ByteString\n System.Posix.Terminal.PosixString\n\n other-modules:\n System.Posix.Directory.Common\n System.Posix.DynamicLinker.Common\n System.Posix.Files.Common\n System.Posix.IO.Common\n System.Posix.Process.Common\n System.Posix.Terminal.Common\n System.Posix.User.Common\n System.Posix.Env.Internal\n\n ghc-options: -Wall\n\n include-dirs: include\n includes:\n HsUnix.h\n execvpe.h\n install-includes:\n HsUnix.h\n execvpe.h\n\n if !arch(javascript)\n c-sources:\n cbits/HsUnix.c\n cbits/execvpe.c\n\n if arch(javascript)\n js-sources:\n jsbits/time.js\n\ntest-suite unix-tests\n hs-source-dirs: tests\n main-is: Test.hs\n other-modules:\n FileStatus\n FileExtendedStatus\n FileStatusByteString\n Signals001\n type: exitcode-stdio-1.0\n default-language: Haskell2010\n build-depends: base, bytestring, filepath, tasty, tasty-hunit, tasty-quickcheck, unix\n ghc-options: -Wall -with-rtsopts=-V0\n\ntest-suite FdReadBuf001\n -- JS: missing \"pipe\"\n if arch(javascript)\n build-depends: unbuildable<0\n buildable: False\n\n hs-source-dirs: tests\n main-is: FdReadBuf001.hs\n type: exitcode-stdio-1.0\n default-language: Haskell2010\n build-depends: base, unix\n ghc-options: -Wall -threaded\n\ntest-suite ForkProcess01\n -- JS: missing \"forkProcess\"\n if arch(javascript)\n build-depends: unbuildable<0\n buildable: False\n\n hs-source-dirs: tests\n main-is: ForkProcess01.hs\n type: exitcode-stdio-1.0\n default-language: Haskell2010\n build-depends: base, unix\n ghc-options: -Wall\n\ntest-suite Signals002\n -- JS: missing \"raise\"\n if arch(javascript)\n build-depends: unbuildable<0\n buildable: False\n\n hs-source-dirs: tests\n main-is: Signals002.hs\n type: exitcode-stdio-1.0\n default-language: Haskell2010\n build-depends: base, unix\n ghc-options: -Wall\n\ntest-suite Signals004\n -- JS: missing \"raise\"\n if arch(javascript)\n build-depends: unbuildable<0\n buildable: False\n\n hs-source-dirs: tests\n main-is: Signals004.hs\n type: exitcode-stdio-1.0\n default-language: Haskell2010\n build-depends: base, unix\n ghc-options: -Wall\n\ntest-suite Posix004\n -- JS: missing \"forkProcess\"\n if arch(javascript)\n build-depends: unbuildable<0\n buildable: False\n\n hs-source-dirs: tests\n main-is: Posix004.hs\n type: exitcode-stdio-1.0\n default-language: Haskell2010\n build-depends: base, unix\n ghc-options: -Wall\n\ntest-suite Posix009\n -- JS: missing \"rtsTimerSignal\"\n if arch(javascript)\n build-depends: unbuildable<0\n buildable: False\n\n hs-source-dirs: tests\n main-is: Posix009.hs\n type: exitcode-stdio-1.0\n default-language: Haskell2010\n build-depends: base, unix\n ghc-options: -Wall -with-rtsopts=-V0\n\ntest-suite Posix014\n -- JS: missing \"pipe\"\n if arch(javascript)\n build-depends: unbuildable<0\n buildable: False\n\n hs-source-dirs: tests\n main-is: Posix014.hs\n type: exitcode-stdio-1.0\n default-language: Haskell2010\n build-depends: base, unix\n ghc-options: -Wall\n\ntest-suite T8108\n -- JS: missing \"sysconf\"\n if arch(javascript)\n build-depends: unbuildable<0\n buildable: False\n\n hs-source-dirs: tests\n main-is: T8108.hs\n type: exitcode-stdio-1.0\n default-language: Haskell2010\n build-depends: base, unix\n ghc-options: -Wall\n\ntest-suite ResourceLimit\n -- JS: missing \"setrlimit\"\n if arch(javascript)\n build-depends: unbuildable<0\n buildable: False\n\n hs-source-dirs: tests\n main-is: ResourceLimit.hs\n type: exitcode-stdio-1.0\n default-language: Haskell2010\n build-depends: base, unix, tasty-hunit\n ghc-options: -Wall\n\ntest-suite Terminal\n -- JS: missing \"openpty\"\n if arch(javascript)\n build-depends: unbuildable<0\n buildable: False\n\n hs-source-dirs: tests\n main-is: Terminal.hs\n type: exitcode-stdio-1.0\n default-language: Haskell2010\n build-depends: base, unix, tasty-hunit\n ghc-options: -Wall\n\ntest-suite PutEnv001\n -- JS: missing \"performGC\"\n if arch(javascript)\n build-depends: unbuildable<0\n buildable: False\n\n hs-source-dirs: tests\n main-is: PutEnv001.hs\n type: exitcode-stdio-1.0\n default-language: Haskell2010\n build-depends: base, unix, tasty, tasty-hunit\n ghc-options: -Wall -with-rtsopts=-V0 -O0\n\ntest-suite Semaphore001\n -- JS: missing \"sem_open\"\n if arch(javascript)\n build-depends: unbuildable<0\n buildable: False\n\n hs-source-dirs: tests\n main-is: Semaphore001.hs\n type: exitcode-stdio-1.0\n default-language: Haskell2010\n build-depends: base, unix\n ghc-options: -Wall\n\ntest-suite Semaphore002\n -- JS: missing \"sem_open\"\n if arch(javascript)\n build-depends: unbuildable<0\n buildable: False\n\n hs-source-dirs: tests\n main-is: Semaphore002.hs\n type: exitcode-stdio-1.0\n default-language: Haskell2010\n build-depends: base, unix\n ghc-options: -Wall -threaded\n\ntest-suite SemaphoreInterrupt\n -- JS: missing \"sem_open\"\n if arch(javascript)\n build-depends: unbuildable<0\n buildable: False\n\n hs-source-dirs: tests\n main-is: SemaphoreInterrupt.hs\n type: exitcode-stdio-1.0\n default-language: Haskell2010\n build-depends: base, unix\n ghc-options: -Wall -threaded\n\ntest-suite T13660\n hs-source-dirs: tests\n main-is: T13660.hs\n type: exitcode-stdio-1.0\n default-language: Haskell2010\n build-depends: base, unix, filepath >= 1.4.100.0 && < 1.5, bytestring\n ghc-options: -Wall\n"; - } \ No newline at end of file diff --git a/materialized/ghc962/hadrian-ghc947/hadrian/cabal-files/unordered-containers.nix b/materialized/ghc962/hadrian-ghc947/hadrian/cabal-files/unordered-containers.nix deleted file mode 100644 index 0aeaccb277..0000000000 --- a/materialized/ghc962/hadrian-ghc947/hadrian/cabal-files/unordered-containers.nix +++ /dev/null @@ -1,78 +0,0 @@ -{ 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/ghc962/hadrian-ghc947/hadrian/cabal-files/utf8-string.nix b/materialized/ghc962/hadrian-ghc947/hadrian/cabal-files/utf8-string.nix deleted file mode 100644 index a5ee5272da..0000000000 --- a/materialized/ghc962/hadrian-ghc947/hadrian/cabal-files/utf8-string.nix +++ /dev/null @@ -1,51 +0,0 @@ -{ 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/ghc962/hadrian-ghc947/hadrian/default.nix b/materialized/ghc962/hadrian-ghc947/hadrian/default.nix deleted file mode 100644 index fdbd75cc87..0000000000 --- a/materialized/ghc962/hadrian-ghc947/hadrian/default.nix +++ /dev/null @@ -1,161 +0,0 @@ -{ - 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 = import ./cabal-files/transformers.nix; - time.revision = hackage.time."1.12.2".revisions.default; - base.revision = hackage.base."4.18.0.0".revisions.default; - splitmix.revision = import ./cabal-files/splitmix.nix; - splitmix.flags.optimised-mixer = false; - unix.revision = import ./cabal-files/unix.nix; - filepattern.revision = import ./cabal-files/filepattern.nix; - ghc-boot-th.revision = hackage.ghc-boot-th."9.6.2".revisions.default; - mtl.revision = import ./cabal-files/mtl.nix; - 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 = import ./cabal-files/process.nix; - 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 = import ./cabal-files/exceptions.nix; - exceptions.flags.transformers-0-4 = true; - parsec.revision = import ./cabal-files/parsec.nix; - 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.5.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.4.0".revisions.default; - Cabal.revision = import ./cabal-files/Cabal.nix; - directory.revision = import ./cabal-files/directory.nix; - 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 = import ./cabal-files/filepath.nix; - filepath.flags.cpphs = false; - js-dgtable.revision = import ./cabal-files/js-dgtable.nix; - extra.revision = import ./cabal-files/extra.nix; - }; - compiler = { - version = "9.6.2"; - nix-name = "ghc962"; - packages = { - "bytestring" = "0.11.4.0"; - "containers" = "0.6.7"; - "ghc-prim" = "0.10.0"; - "ghc-boot-th" = "9.6.2"; - "base" = "4.18.0.0"; - "time" = "1.12.2"; - "stm" = "2.5.1.0"; - "ghc-bignum" = "1.3"; - "template-haskell" = "2.20.0.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.5.0"; - }; - }; - }; - extras = hackage: - { packages = { hadrian = ./.plan.nix/hadrian.nix; }; }; - modules = [ - { - preExistingPkgs = [ - "ghc-prim" - "time" - "base" - "ghc-boot-th" - "pretty" - "stm" - "template-haskell" - "system-cxx-std-lib" - "deepseq" - "text" - "containers" - "array" - "bytestring" - "ghc-bignum" - "binary" - ]; - } - ({ 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 diff --git a/materialized/ghc962/hadrian-ghc96/hadrian/.plan.nix/hadrian.nix b/materialized/ghc962/hadrian-ghc96/hadrian/.plan.nix/hadrian.nix deleted file mode 100644 index a3d788196f..0000000000 --- a/materialized/ghc962/hadrian-ghc96/hadrian/.plan.nix/hadrian.nix +++ /dev/null @@ -1,163 +0,0 @@ -{ 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/GenApply" - "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/ghc962/hadrian-ghc96/hadrian/cabal-files/Cabal-syntax.nix b/materialized/ghc962/hadrian-ghc96/hadrian/cabal-files/Cabal-syntax.nix deleted file mode 100644 index dabbcbdee8..0000000000 --- a/materialized/ghc962/hadrian-ghc96/hadrian/cabal-files/Cabal-syntax.nix +++ /dev/null @@ -1,55 +0,0 @@ -{ 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/ghc962/hadrian-ghc96/hadrian/cabal-files/Cabal.nix b/materialized/ghc962/hadrian-ghc96/hadrian/cabal-files/Cabal.nix deleted file mode 100644 index be0b5019d9..0000000000 --- a/materialized/ghc962/hadrian-ghc96/hadrian/cabal-files/Cabal.nix +++ /dev/null @@ -1,56 +0,0 @@ -{ 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/ghc962/hadrian-ghc96/hadrian/cabal-files/QuickCheck.nix b/materialized/ghc962/hadrian-ghc96/hadrian/cabal-files/QuickCheck.nix deleted file mode 100644 index 62e36aa8b6..0000000000 --- a/materialized/ghc962/hadrian-ghc96/hadrian/cabal-files/QuickCheck.nix +++ /dev/null @@ -1,119 +0,0 @@ -{ 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/ghc962/hadrian-ghc96/hadrian/cabal-files/clock.nix b/materialized/ghc962/hadrian-ghc96/hadrian/cabal-files/clock.nix deleted file mode 100644 index 1db6e2d90d..0000000000 --- a/materialized/ghc962/hadrian-ghc96/hadrian/cabal-files/clock.nix +++ /dev/null @@ -1,59 +0,0 @@ -{ 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/ghc962/hadrian-ghc96/hadrian/cabal-files/extra.nix b/materialized/ghc962/hadrian-ghc96/hadrian/cabal-files/extra.nix deleted file mode 100644 index 41668cf6bc..0000000000 --- a/materialized/ghc962/hadrian-ghc96/hadrian/cabal-files/extra.nix +++ /dev/null @@ -1,58 +0,0 @@ -{ 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/ghc962/hadrian-ghc96/hadrian/cabal-files/filepattern.nix b/materialized/ghc962/hadrian-ghc96/hadrian/cabal-files/filepattern.nix deleted file mode 100644 index 385c502003..0000000000 --- a/materialized/ghc962/hadrian-ghc96/hadrian/cabal-files/filepattern.nix +++ /dev/null @@ -1,56 +0,0 @@ -{ 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/ghc962/hadrian-ghc96/hadrian/cabal-files/hashable.nix b/materialized/ghc962/hadrian-ghc96/hadrian/cabal-files/hashable.nix deleted file mode 100644 index 4b125fa0bc..0000000000 --- a/materialized/ghc962/hadrian-ghc96/hadrian/cabal-files/hashable.nix +++ /dev/null @@ -1,82 +0,0 @@ -{ 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/ghc962/hadrian-ghc96/hadrian/cabal-files/heaps.nix b/materialized/ghc962/hadrian-ghc96/hadrian/cabal-files/heaps.nix deleted file mode 100644 index e759e305bf..0000000000 --- a/materialized/ghc962/hadrian-ghc96/hadrian/cabal-files/heaps.nix +++ /dev/null @@ -1,38 +0,0 @@ -{ 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/ghc962/hadrian-ghc96/hadrian/cabal-files/js-dgtable.nix b/materialized/ghc962/hadrian-ghc96/hadrian/cabal-files/js-dgtable.nix deleted file mode 100644 index 40ea1148c6..0000000000 --- a/materialized/ghc962/hadrian-ghc96/hadrian/cabal-files/js-dgtable.nix +++ /dev/null @@ -1,47 +0,0 @@ -{ 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/ghc962/hadrian-ghc96/hadrian/cabal-files/js-flot.nix b/materialized/ghc962/hadrian-ghc96/hadrian/cabal-files/js-flot.nix deleted file mode 100644 index 67980dd7ba..0000000000 --- a/materialized/ghc962/hadrian-ghc96/hadrian/cabal-files/js-flot.nix +++ /dev/null @@ -1,47 +0,0 @@ -{ 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/ghc962/hadrian-ghc96/hadrian/cabal-files/js-jquery.nix b/materialized/ghc962/hadrian-ghc96/hadrian/cabal-files/js-jquery.nix deleted file mode 100644 index 05e54a25ab..0000000000 --- a/materialized/ghc962/hadrian-ghc96/hadrian/cabal-files/js-jquery.nix +++ /dev/null @@ -1,48 +0,0 @@ -{ 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/ghc962/hadrian-ghc96/hadrian/cabal-files/primitive.nix b/materialized/ghc962/hadrian-ghc96/hadrian/cabal-files/primitive.nix deleted file mode 100644 index b5683f2c83..0000000000 --- a/materialized/ghc962/hadrian-ghc96/hadrian/cabal-files/primitive.nix +++ /dev/null @@ -1,73 +0,0 @@ -{ 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/ghc962/hadrian-ghc96/hadrian/cabal-files/random.nix b/materialized/ghc962/hadrian-ghc96/hadrian/cabal-files/random.nix deleted file mode 100644 index 0dbaf8b099..0000000000 --- a/materialized/ghc962/hadrian-ghc96/hadrian/cabal-files/random.nix +++ /dev/null @@ -1,113 +0,0 @@ -{ 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/ghc962/hadrian-ghc96/hadrian/cabal-files/shake.nix b/materialized/ghc962/hadrian-ghc96/hadrian/cabal-files/shake.nix deleted file mode 100644 index d40c2a8bbc..0000000000 --- a/materialized/ghc962/hadrian-ghc96/hadrian/cabal-files/shake.nix +++ /dev/null @@ -1,132 +0,0 @@ -{ 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/ghc962/hadrian-ghc96/hadrian/cabal-files/splitmix.nix b/materialized/ghc962/hadrian-ghc96/hadrian/cabal-files/splitmix.nix deleted file mode 100644 index aa0dd88d31..0000000000 --- a/materialized/ghc962/hadrian-ghc96/hadrian/cabal-files/splitmix.nix +++ /dev/null @@ -1,139 +0,0 @@ -{ 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/ghc962/hadrian-ghc96/hadrian/cabal-files/unordered-containers.nix b/materialized/ghc962/hadrian-ghc96/hadrian/cabal-files/unordered-containers.nix deleted file mode 100644 index 0aeaccb277..0000000000 --- a/materialized/ghc962/hadrian-ghc96/hadrian/cabal-files/unordered-containers.nix +++ /dev/null @@ -1,78 +0,0 @@ -{ 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/ghc962/hadrian-ghc96/hadrian/cabal-files/utf8-string.nix b/materialized/ghc962/hadrian-ghc96/hadrian/cabal-files/utf8-string.nix deleted file mode 100644 index a5ee5272da..0000000000 --- a/materialized/ghc962/hadrian-ghc96/hadrian/cabal-files/utf8-string.nix +++ /dev/null @@ -1,51 +0,0 @@ -{ 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/ghc962/hadrian-ghc96/hadrian/default.nix b/materialized/ghc962/hadrian-ghc96/hadrian/default.nix deleted file mode 100644 index 8ec79596d0..0000000000 --- a/materialized/ghc962/hadrian-ghc96/hadrian/default.nix +++ /dev/null @@ -1,175 +0,0 @@ -{ - 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.0.0".revisions.default; - splitmix.revision = import ./cabal-files/splitmix.nix; - splitmix.flags.optimised-mixer = false; - unix.revision = hackage.unix."2.8.1.0".revisions.default; - filepattern.revision = import ./cabal-files/filepattern.nix; - ghc-boot-th.revision = hackage.ghc-boot-th."9.6.2".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.5.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.4.0".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.100.1".revisions.default; - js-dgtable.revision = import ./cabal-files/js-dgtable.nix; - extra.revision = import ./cabal-files/extra.nix; - }; - compiler = { - version = "9.6.2"; - nix-name = "ghc962"; - packages = { - "unix" = "2.8.1.0"; - "filepath" = "1.4.100.1"; - "transformers" = "0.6.1.0"; - "parsec" = "3.1.16.1"; - "bytestring" = "0.11.4.0"; - "containers" = "0.6.7"; - "ghc-prim" = "0.10.0"; - "mtl" = "2.3.1"; - "ghc-boot-th" = "9.6.2"; - "base" = "4.18.0.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.5.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 diff --git a/materialized/ghc962/hadrian-ghc964/hadrian/.plan.nix/hadrian.nix b/materialized/ghc962/hadrian-ghc964/hadrian/.plan.nix/hadrian.nix deleted file mode 100644 index 5fd22b23ad..0000000000 --- a/materialized/ghc962/hadrian-ghc964/hadrian/.plan.nix/hadrian.nix +++ /dev/null @@ -1,162 +0,0 @@ -{ 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/ghc962/hadrian-ghc964/hadrian/cabal-files/Cabal-syntax.nix b/materialized/ghc962/hadrian-ghc964/hadrian/cabal-files/Cabal-syntax.nix deleted file mode 100644 index dabbcbdee8..0000000000 --- a/materialized/ghc962/hadrian-ghc964/hadrian/cabal-files/Cabal-syntax.nix +++ /dev/null @@ -1,55 +0,0 @@ -{ 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/ghc962/hadrian-ghc964/hadrian/cabal-files/Cabal.nix b/materialized/ghc962/hadrian-ghc964/hadrian/cabal-files/Cabal.nix deleted file mode 100644 index be0b5019d9..0000000000 --- a/materialized/ghc962/hadrian-ghc964/hadrian/cabal-files/Cabal.nix +++ /dev/null @@ -1,56 +0,0 @@ -{ 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/ghc962/hadrian-ghc964/hadrian/cabal-files/QuickCheck.nix b/materialized/ghc962/hadrian-ghc964/hadrian/cabal-files/QuickCheck.nix deleted file mode 100644 index 62e36aa8b6..0000000000 --- a/materialized/ghc962/hadrian-ghc964/hadrian/cabal-files/QuickCheck.nix +++ /dev/null @@ -1,119 +0,0 @@ -{ 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/ghc962/hadrian-ghc964/hadrian/cabal-files/clock.nix b/materialized/ghc962/hadrian-ghc964/hadrian/cabal-files/clock.nix deleted file mode 100644 index 1db6e2d90d..0000000000 --- a/materialized/ghc962/hadrian-ghc964/hadrian/cabal-files/clock.nix +++ /dev/null @@ -1,59 +0,0 @@ -{ 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/ghc962/hadrian-ghc964/hadrian/cabal-files/extra.nix b/materialized/ghc962/hadrian-ghc964/hadrian/cabal-files/extra.nix deleted file mode 100644 index 41668cf6bc..0000000000 --- a/materialized/ghc962/hadrian-ghc964/hadrian/cabal-files/extra.nix +++ /dev/null @@ -1,58 +0,0 @@ -{ 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/ghc962/hadrian-ghc964/hadrian/cabal-files/filepattern.nix b/materialized/ghc962/hadrian-ghc964/hadrian/cabal-files/filepattern.nix deleted file mode 100644 index 385c502003..0000000000 --- a/materialized/ghc962/hadrian-ghc964/hadrian/cabal-files/filepattern.nix +++ /dev/null @@ -1,56 +0,0 @@ -{ 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/ghc962/hadrian-ghc964/hadrian/cabal-files/hashable.nix b/materialized/ghc962/hadrian-ghc964/hadrian/cabal-files/hashable.nix deleted file mode 100644 index 4b125fa0bc..0000000000 --- a/materialized/ghc962/hadrian-ghc964/hadrian/cabal-files/hashable.nix +++ /dev/null @@ -1,82 +0,0 @@ -{ 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/ghc962/hadrian-ghc964/hadrian/cabal-files/heaps.nix b/materialized/ghc962/hadrian-ghc964/hadrian/cabal-files/heaps.nix deleted file mode 100644 index e759e305bf..0000000000 --- a/materialized/ghc962/hadrian-ghc964/hadrian/cabal-files/heaps.nix +++ /dev/null @@ -1,38 +0,0 @@ -{ 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/ghc962/hadrian-ghc964/hadrian/cabal-files/js-dgtable.nix b/materialized/ghc962/hadrian-ghc964/hadrian/cabal-files/js-dgtable.nix deleted file mode 100644 index 40ea1148c6..0000000000 --- a/materialized/ghc962/hadrian-ghc964/hadrian/cabal-files/js-dgtable.nix +++ /dev/null @@ -1,47 +0,0 @@ -{ 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/ghc962/hadrian-ghc964/hadrian/cabal-files/js-flot.nix b/materialized/ghc962/hadrian-ghc964/hadrian/cabal-files/js-flot.nix deleted file mode 100644 index 67980dd7ba..0000000000 --- a/materialized/ghc962/hadrian-ghc964/hadrian/cabal-files/js-flot.nix +++ /dev/null @@ -1,47 +0,0 @@ -{ 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/ghc962/hadrian-ghc964/hadrian/cabal-files/js-jquery.nix b/materialized/ghc962/hadrian-ghc964/hadrian/cabal-files/js-jquery.nix deleted file mode 100644 index 05e54a25ab..0000000000 --- a/materialized/ghc962/hadrian-ghc964/hadrian/cabal-files/js-jquery.nix +++ /dev/null @@ -1,48 +0,0 @@ -{ 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/ghc962/hadrian-ghc964/hadrian/cabal-files/primitive.nix b/materialized/ghc962/hadrian-ghc964/hadrian/cabal-files/primitive.nix deleted file mode 100644 index b5683f2c83..0000000000 --- a/materialized/ghc962/hadrian-ghc964/hadrian/cabal-files/primitive.nix +++ /dev/null @@ -1,73 +0,0 @@ -{ 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/ghc962/hadrian-ghc964/hadrian/cabal-files/random.nix b/materialized/ghc962/hadrian-ghc964/hadrian/cabal-files/random.nix deleted file mode 100644 index 0dbaf8b099..0000000000 --- a/materialized/ghc962/hadrian-ghc964/hadrian/cabal-files/random.nix +++ /dev/null @@ -1,113 +0,0 @@ -{ 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/ghc962/hadrian-ghc964/hadrian/cabal-files/shake.nix b/materialized/ghc962/hadrian-ghc964/hadrian/cabal-files/shake.nix deleted file mode 100644 index d40c2a8bbc..0000000000 --- a/materialized/ghc962/hadrian-ghc964/hadrian/cabal-files/shake.nix +++ /dev/null @@ -1,132 +0,0 @@ -{ 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/ghc962/hadrian-ghc964/hadrian/cabal-files/splitmix.nix b/materialized/ghc962/hadrian-ghc964/hadrian/cabal-files/splitmix.nix deleted file mode 100644 index aa0dd88d31..0000000000 --- a/materialized/ghc962/hadrian-ghc964/hadrian/cabal-files/splitmix.nix +++ /dev/null @@ -1,139 +0,0 @@ -{ 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/ghc962/hadrian-ghc964/hadrian/cabal-files/unordered-containers.nix b/materialized/ghc962/hadrian-ghc964/hadrian/cabal-files/unordered-containers.nix deleted file mode 100644 index 0aeaccb277..0000000000 --- a/materialized/ghc962/hadrian-ghc964/hadrian/cabal-files/unordered-containers.nix +++ /dev/null @@ -1,78 +0,0 @@ -{ 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/ghc962/hadrian-ghc964/hadrian/cabal-files/utf8-string.nix b/materialized/ghc962/hadrian-ghc964/hadrian/cabal-files/utf8-string.nix deleted file mode 100644 index a5ee5272da..0000000000 --- a/materialized/ghc962/hadrian-ghc964/hadrian/cabal-files/utf8-string.nix +++ /dev/null @@ -1,51 +0,0 @@ -{ 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/ghc962/hadrian-ghc964/hadrian/default.nix b/materialized/ghc962/hadrian-ghc964/hadrian/default.nix deleted file mode 100644 index 8ec79596d0..0000000000 --- a/materialized/ghc962/hadrian-ghc964/hadrian/default.nix +++ /dev/null @@ -1,175 +0,0 @@ -{ - 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.0.0".revisions.default; - splitmix.revision = import ./cabal-files/splitmix.nix; - splitmix.flags.optimised-mixer = false; - unix.revision = hackage.unix."2.8.1.0".revisions.default; - filepattern.revision = import ./cabal-files/filepattern.nix; - ghc-boot-th.revision = hackage.ghc-boot-th."9.6.2".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.5.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.4.0".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.100.1".revisions.default; - js-dgtable.revision = import ./cabal-files/js-dgtable.nix; - extra.revision = import ./cabal-files/extra.nix; - }; - compiler = { - version = "9.6.2"; - nix-name = "ghc962"; - packages = { - "unix" = "2.8.1.0"; - "filepath" = "1.4.100.1"; - "transformers" = "0.6.1.0"; - "parsec" = "3.1.16.1"; - "bytestring" = "0.11.4.0"; - "containers" = "0.6.7"; - "ghc-prim" = "0.10.0"; - "mtl" = "2.3.1"; - "ghc-boot-th" = "9.6.2"; - "base" = "4.18.0.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.5.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 diff --git a/materialized/ghc962/hadrian-ghc98/hadrian/.plan.nix/hadrian.nix b/materialized/ghc962/hadrian-ghc98/hadrian/.plan.nix/hadrian.nix deleted file mode 100644 index 45a80469a3..0000000000 --- a/materialized/ghc962/hadrian-ghc98/hadrian/.plan.nix/hadrian.nix +++ /dev/null @@ -1,166 +0,0 @@ -{ 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")) - (hsPkgs."cryptohash-sha256" or (errorHandler.buildDepError "cryptohash-sha256")) - (hsPkgs."base16-bytestring" or (errorHandler.buildDepError "base16-bytestring")) - ] ++ 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/Hash" - "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/GenApply" - "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/ghc962/hadrian-ghc98/hadrian/cabal-files/Cabal-syntax.nix b/materialized/ghc962/hadrian-ghc98/hadrian/cabal-files/Cabal-syntax.nix deleted file mode 100644 index dabbcbdee8..0000000000 --- a/materialized/ghc962/hadrian-ghc98/hadrian/cabal-files/Cabal-syntax.nix +++ /dev/null @@ -1,55 +0,0 @@ -{ 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/ghc962/hadrian-ghc98/hadrian/cabal-files/Cabal.nix b/materialized/ghc962/hadrian-ghc98/hadrian/cabal-files/Cabal.nix deleted file mode 100644 index be0b5019d9..0000000000 --- a/materialized/ghc962/hadrian-ghc98/hadrian/cabal-files/Cabal.nix +++ /dev/null @@ -1,56 +0,0 @@ -{ 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/ghc962/hadrian-ghc98/hadrian/cabal-files/QuickCheck.nix b/materialized/ghc962/hadrian-ghc98/hadrian/cabal-files/QuickCheck.nix deleted file mode 100644 index 62e36aa8b6..0000000000 --- a/materialized/ghc962/hadrian-ghc98/hadrian/cabal-files/QuickCheck.nix +++ /dev/null @@ -1,119 +0,0 @@ -{ 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/ghc962/hadrian-ghc98/hadrian/cabal-files/base16-bytestring.nix b/materialized/ghc962/hadrian-ghc98/hadrian/cabal-files/base16-bytestring.nix deleted file mode 100644 index c3d272500b..0000000000 --- a/materialized/ghc962/hadrian-ghc98/hadrian/cabal-files/base16-bytestring.nix +++ /dev/null @@ -1,68 +0,0 @@ -{ system - , compiler - , flags - , pkgs - , hsPkgs - , pkgconfPkgs - , errorHandler - , config - , ... }: - ({ - flags = {}; - package = { - specVersion = "1.12"; - identifier = { name = "base16-bytestring"; version = "1.0.2.0"; }; - license = "BSD-3-Clause"; - copyright = "Copyright 2011 MailRank, Inc.;\nCopyright 2010-2020 Bryan O'Sullivan et al."; - maintainer = "Herbert Valerio Riedel ,\nMikhail Glushenkov ,\nEmily Pillmore "; - author = "Bryan O'Sullivan "; - homepage = "http://github.com/haskell/base16-bytestring"; - url = ""; - synopsis = "RFC 4648-compliant Base16 encodings for ByteStrings"; - description = "This package provides support for encoding and decoding binary data according\nto @base16@ (see also ) for\nstrict (see \"Data.ByteString.Base16\") and lazy @ByteString@s (see \"Data.ByteString.Base16.Lazy\").\n\nSee the package which provides superior encoding and decoding performance as well as support for lazy, short, and strict variants of 'Text' and 'ByteString' values. Additionally, see the package which\nprovides an uniform API providing conversion paths between more binary and textual types."; - buildType = "Simple"; - }; - components = { - "library" = { - depends = [ - (hsPkgs."base" or (errorHandler.buildDepError "base")) - (hsPkgs."bytestring" or (errorHandler.buildDepError "bytestring")) - ]; - buildable = true; - }; - tests = { - "test" = { - depends = [ - (hsPkgs."base" or (errorHandler.buildDepError "base")) - (hsPkgs."base16-bytestring" or (errorHandler.buildDepError "base16-bytestring")) - (hsPkgs."bytestring" or (errorHandler.buildDepError "bytestring")) - (hsPkgs."HUnit" or (errorHandler.buildDepError "HUnit")) - (hsPkgs."QuickCheck" or (errorHandler.buildDepError "QuickCheck")) - (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")) - ]; - buildable = true; - }; - }; - benchmarks = { - "bench" = { - depends = [ - (hsPkgs."base" or (errorHandler.buildDepError "base")) - (hsPkgs."base16-bytestring" or (errorHandler.buildDepError "base16-bytestring")) - (hsPkgs."bytestring" or (errorHandler.buildDepError "bytestring")) - (hsPkgs."criterion" or (errorHandler.buildDepError "criterion")) - (hsPkgs."deepseq" or (errorHandler.buildDepError "deepseq")) - ]; - buildable = true; - }; - }; - }; - } // { - src = pkgs.lib.mkDefault (pkgs.fetchurl { - url = "http://hackage.haskell.org/package/base16-bytestring-1.0.2.0.tar.gz"; - sha256 = "1d5a91143ef0e22157536093ec8e59d226a68220ec89378d5dcaeea86472c784"; - }); - }) // { - package-description-override = "cabal-version: 1.12\nname: base16-bytestring\nversion: 1.0.2.0\nx-revision: 1\nsynopsis: RFC 4648-compliant Base16 encodings for ByteStrings\ndescription:\n This package provides support for encoding and decoding binary data according\n to @base16@ (see also ) for\n strict (see \"Data.ByteString.Base16\") and lazy @ByteString@s (see \"Data.ByteString.Base16.Lazy\").\n .\n See the package which provides superior encoding and decoding performance as well as support for lazy, short, and strict variants of 'Text' and 'ByteString' values. Additionally, see the package which\n provides an uniform API providing conversion paths between more binary and textual types.\n\nhomepage: http://github.com/haskell/base16-bytestring\nbug-reports: http://github.com/haskell/base16-bytestring/issues\nlicense: BSD3\nlicense-file: LICENSE\ncopyright:\n Copyright 2011 MailRank, Inc.;\n Copyright 2010-2020 Bryan O'Sullivan et al.\n\nauthor: Bryan O'Sullivan \nmaintainer:\n Herbert Valerio Riedel ,\n Mikhail Glushenkov ,\n Emily Pillmore \n\ncategory: Data\nbuild-type: Simple\nextra-source-files:\n README.md\n CHANGELOG.md\n\ntested-with:\n GHC == 9.8.0\n GHC == 9.6.3\n GHC == 9.4.7\n GHC == 9.2.8\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\nsource-repository head\n type: git\n location: http://github.com/haskell/base16-bytestring\n\nlibrary\n other-modules: Data.ByteString.Base16.Internal\n exposed-modules:\n Data.ByteString.Base16\n Data.ByteString.Base16.Lazy\n\n build-depends:\n base >=4.9 && <5\n , bytestring >=0.9 && <0.13\n\n ghc-options: -Wall -funbox-strict-fields\n default-language: Haskell2010\n\ntest-suite test\n type: exitcode-stdio-1.0\n hs-source-dirs: tests\n main-is: Tests.hs\n build-depends:\n base\n , base16-bytestring\n , bytestring\n , HUnit\n , QuickCheck\n , test-framework\n , test-framework-hunit\n , test-framework-quickcheck2\n\n default-language: Haskell2010\n\nbenchmark bench\n type: exitcode-stdio-1.0\n hs-source-dirs: benchmarks\n main-is: Benchmarks.hs\n build-depends:\n base >=4 && <5\n , base16-bytestring\n , bytestring\n , criterion\n , deepseq\n\n default-language: Haskell2010\n"; - } \ No newline at end of file diff --git a/materialized/ghc962/hadrian-ghc98/hadrian/cabal-files/clock.nix b/materialized/ghc962/hadrian-ghc98/hadrian/cabal-files/clock.nix deleted file mode 100644 index 1db6e2d90d..0000000000 --- a/materialized/ghc962/hadrian-ghc98/hadrian/cabal-files/clock.nix +++ /dev/null @@ -1,59 +0,0 @@ -{ 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/ghc962/hadrian-ghc98/hadrian/cabal-files/cryptohash-sha256.nix b/materialized/ghc962/hadrian-ghc98/hadrian/cabal-files/cryptohash-sha256.nix deleted file mode 100644 index 7fe8a112a9..0000000000 --- a/materialized/ghc962/hadrian-ghc98/hadrian/cabal-files/cryptohash-sha256.nix +++ /dev/null @@ -1,84 +0,0 @@ -{ system - , compiler - , flags - , pkgs - , hsPkgs - , pkgconfPkgs - , errorHandler - , config - , ... }: - ({ - flags = { exe = false; use-cbits = true; }; - package = { - specVersion = "2.0"; - identifier = { name = "cryptohash-sha256"; version = "0.11.102.1"; }; - license = "BSD-3-Clause"; - copyright = "Vincent Hanquez, Herbert Valerio Riedel"; - maintainer = "Herbert Valerio Riedel "; - author = ""; - homepage = "https://github.com/hvr/cryptohash-sha256"; - url = ""; - synopsis = "Fast, pure and practical SHA-256 implementation"; - description = "A practical incremental and one-pass, pure API to\nthe [SHA-256 cryptographic hash algorithm](https://en.wikipedia.org/wiki/SHA-2) according\nto [FIPS 180-4](http://dx.doi.org/10.6028/NIST.FIPS.180-4)\nwith performance close to the fastest implementations available in other languages.\n\nThe core SHA-256 algorithm is implemented in C and is thus expected\nto be as fast as the standard [sha256sum(1) tool](https://linux.die.net/man/1/sha256sum);\nfor instance, on an /Intel Core i7-3770/ at 3.40GHz this implementation can\ncompute a SHA-256 hash over 230 MiB of data in under one second.\n(If, instead, you require a pure Haskell implementation and performance is secondary, please refer to the [SHA package](https://hackage.haskell.org/package/SHA).)\n\n\nAdditionally, this package provides support for\n\n- HMAC-SHA-256: SHA-256-based [Hashed Message Authentication Codes](https://en.wikipedia.org/wiki/HMAC) (HMAC)\n- HKDF-SHA-256: [HMAC-SHA-256-based Key Derivation Function](https://en.wikipedia.org/wiki/HKDF) (HKDF)\n\nconforming to [RFC6234](https://tools.ietf.org/html/rfc6234), [RFC4231](https://tools.ietf.org/html/rfc4231), [RFC5869](https://tools.ietf.org/html/rfc5869), et al..\n\n=== Relationship to the @cryptohash@ package and its API\n\nThis package has been originally a fork of @cryptohash-0.11.7@ because the @cryptohash@\npackage had been deprecated and so this package continues to satisfy the need for a\nlightweight package providing the SHA-256 hash algorithm without any dependencies on packages\nother than @base@ and @bytestring@. The API exposed by @cryptohash-sha256-0.11.*@'s\n\"Crypto.Hash.SHA256\" module is guaranteed to remain a compatible superset of the API provided\nby the @cryptohash-0.11.7@'s module of the same name.\n\nConsequently, this package is designed to be used as a drop-in replacement for @cryptohash-0.11.7@'s\n\"Crypto.Hash.SHA256\" module, though with\na [clearly smaller footprint by almost 3 orders of magnitude](https://www.reddit.com/r/haskell/comments/5lxv75/psa_please_use_unique_module_names_when_uploading/dbzegx3/)."; - buildType = "Simple"; - }; - components = { - "library" = { - depends = [ - (hsPkgs."base" or (errorHandler.buildDepError "base")) - ] ++ (if flags.use-cbits - then [ - (hsPkgs."bytestring" or (errorHandler.buildDepError "bytestring")) - ] - else [ - (hsPkgs."cryptohash-sha256-pure" or (errorHandler.buildDepError "cryptohash-sha256-pure")) - ]); - buildable = true; - }; - exes = { - "sha256sum" = { - depends = pkgs.lib.optionals (flags.exe) [ - (hsPkgs."cryptohash-sha256" or (errorHandler.buildDepError "cryptohash-sha256")) - (hsPkgs."base" or (errorHandler.buildDepError "base")) - (hsPkgs."bytestring" or (errorHandler.buildDepError "bytestring")) - (hsPkgs."base16-bytestring" or (errorHandler.buildDepError "base16-bytestring")) - ]; - buildable = if flags.exe then true else false; - }; - }; - tests = { - "test-sha256" = { - depends = [ - (hsPkgs."cryptohash-sha256" or (errorHandler.buildDepError "cryptohash-sha256")) - (hsPkgs."base" or (errorHandler.buildDepError "base")) - (hsPkgs."bytestring" or (errorHandler.buildDepError "bytestring")) - (hsPkgs."base16-bytestring" or (errorHandler.buildDepError "base16-bytestring")) - (hsPkgs."SHA" or (errorHandler.buildDepError "SHA")) - (hsPkgs."tasty" or (errorHandler.buildDepError "tasty")) - (hsPkgs."tasty-quickcheck" or (errorHandler.buildDepError "tasty-quickcheck")) - (hsPkgs."tasty-hunit" or (errorHandler.buildDepError "tasty-hunit")) - ]; - buildable = true; - }; - }; - benchmarks = { - "bench-sha256" = { - depends = [ - (hsPkgs."cryptohash-sha256" or (errorHandler.buildDepError "cryptohash-sha256")) - (hsPkgs."SHA" or (errorHandler.buildDepError "SHA")) - (hsPkgs."base" or (errorHandler.buildDepError "base")) - (hsPkgs."bytestring" or (errorHandler.buildDepError "bytestring")) - (hsPkgs."criterion" or (errorHandler.buildDepError "criterion")) - ]; - buildable = true; - }; - }; - }; - } // { - src = pkgs.lib.mkDefault (pkgs.fetchurl { - url = "http://hackage.haskell.org/package/cryptohash-sha256-0.11.102.1.tar.gz"; - sha256 = "73a7dc7163871a80837495039a099967b11f5c4fe70a118277842f7a713c6bf6"; - }); - }) // { - package-description-override = "cabal-version: 2.0\nname: cryptohash-sha256\nversion: 0.11.102.1\nx-revision: 3\n\nsynopsis: Fast, pure and practical SHA-256 implementation\ndescription: {\n\nA practical incremental and one-pass, pure API to\nthe [SHA-256 cryptographic hash algorithm](https://en.wikipedia.org/wiki/SHA-2) according\nto [FIPS 180-4](http://dx.doi.org/10.6028/NIST.FIPS.180-4)\nwith performance close to the fastest implementations available in other languages.\n.\nThe core SHA-256 algorithm is implemented in C and is thus expected\nto be as fast as the standard [sha256sum(1) tool](https://linux.die.net/man/1/sha256sum);\nfor instance, on an /Intel Core i7-3770/ at 3.40GHz this implementation can\ncompute a SHA-256 hash over 230 MiB of data in under one second.\n(If, instead, you require a pure Haskell implementation and performance is secondary, please refer to the [SHA package](https://hackage.haskell.org/package/SHA).)\n.\n\n.\nAdditionally, this package provides support for\n.\n- HMAC-SHA-256: SHA-256-based [Hashed Message Authentication Codes](https://en.wikipedia.org/wiki/HMAC) (HMAC)\n- HKDF-SHA-256: [HMAC-SHA-256-based Key Derivation Function](https://en.wikipedia.org/wiki/HKDF) (HKDF)\n.\nconforming to [RFC6234](https://tools.ietf.org/html/rfc6234), [RFC4231](https://tools.ietf.org/html/rfc4231), [RFC5869](https://tools.ietf.org/html/rfc5869), et al..\n.\n=== Relationship to the @cryptohash@ package and its API\n.\nThis package has been originally a fork of @cryptohash-0.11.7@ because the @cryptohash@\npackage had been deprecated and so this package continues to satisfy the need for a\nlightweight package providing the SHA-256 hash algorithm without any dependencies on packages\nother than @base@ and @bytestring@. The API exposed by @cryptohash-sha256-0.11.*@'s\n\"Crypto.Hash.SHA256\" module is guaranteed to remain a compatible superset of the API provided\nby the @cryptohash-0.11.7@'s module of the same name.\n.\nConsequently, this package is designed to be used as a drop-in replacement for @cryptohash-0.11.7@'s\n\"Crypto.Hash.SHA256\" module, though with\na [clearly smaller footprint by almost 3 orders of magnitude](https://www.reddit.com/r/haskell/comments/5lxv75/psa_please_use_unique_module_names_when_uploading/dbzegx3/).\n\n}\n\nlicense: BSD3\nlicense-file: LICENSE\ncopyright: Vincent Hanquez, Herbert Valerio Riedel\nmaintainer: Herbert Valerio Riedel \nhomepage: https://github.com/hvr/cryptohash-sha256\nbug-reports: https://github.com/hvr/cryptohash-sha256/issues\ncategory: Data, Cryptography\nbuild-type: Simple\n\ntested-with:\n GHC == 9.8.0\n GHC == 9.6.2\n GHC == 9.4.7\n GHC == 9.2.8\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\nextra-source-files: cbits/hs_sha256.h\n changelog.md\n\nsource-repository head\n type: git\n location: https://github.com/hvr/cryptohash-sha256.git\n\nflag exe\n description: Enable building @sha256sum@ executable\n manual: True\n default: False\n\nflag use-cbits\n description: Use fast optimized C routines via FFI; if flag is disabled falls back to non-FFI Haskell optimized implementation.\n manual: True\n default: True\n\nlibrary\n default-language: Haskell2010\n\n ghc-options: -Wall\n\n build-depends: base >= 4.5 && < 4.20\n\n exposed-modules: Crypto.Hash.SHA256\n\n if flag(use-cbits)\n build-depends: bytestring ^>= 0.9.2.0 || ^>= 0.10.0.0 || ^>= 0.11.0.0 || ^>= 0.12.0.2\n\n other-extensions: BangPatterns\n CApiFFI\n CPP\n Trustworthy\n Unsafe\n\n hs-source-dirs: src\n other-modules: Crypto.Hash.SHA256.FFI\n Compat\n include-dirs: cbits\n else\n hs-source-dirs: src-pure\n build-depends: cryptohash-sha256-pure ^>= 0.1.0\n\nexecutable sha256sum\n default-language: Haskell2010\n hs-source-dirs: src-exe\n main-is: sha256sum.hs\n ghc-options: -Wall -threaded\n if flag(exe)\n other-extensions: RecordWildCards\n build-depends: cryptohash-sha256\n , base\n , bytestring\n\n , base16-bytestring ^>= 0.1.1 || ^>= 1.0.0\n else\n buildable: False\n\ntest-suite test-sha256\n default-language: Haskell2010\n other-extensions: OverloadedStrings\n type: exitcode-stdio-1.0\n hs-source-dirs: src-tests\n main-is: test-sha256.hs\n ghc-options: -Wall -threaded\n build-depends: cryptohash-sha256\n , base\n , bytestring\n\n , base16-bytestring ^>= 0.1.1 || ^>= 1.0.0\n , SHA ^>= 1.6.4\n , tasty ^>= 1.4 || ^>= 1.5\n , tasty-quickcheck ^>= 0.10\n , tasty-hunit ^>= 0.10\n\nbenchmark bench-sha256\n default-language: Haskell2010\n other-extensions: BangPatterns\n type: exitcode-stdio-1.0\n main-is: bench-sha256.hs\n hs-source-dirs: src-bench\n build-depends: cryptohash-sha256\n , SHA ^>= 1.6.4\n , base\n , bytestring\n , criterion ^>= 1.5 || ^>=1.6\n\n -- not yet public\n -- build-depends: cryptohash-sha256-pure ^>= 0.1.0\n"; - } \ No newline at end of file diff --git a/materialized/ghc962/hadrian-ghc98/hadrian/cabal-files/extra.nix b/materialized/ghc962/hadrian-ghc98/hadrian/cabal-files/extra.nix deleted file mode 100644 index 41668cf6bc..0000000000 --- a/materialized/ghc962/hadrian-ghc98/hadrian/cabal-files/extra.nix +++ /dev/null @@ -1,58 +0,0 @@ -{ 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/ghc962/hadrian-ghc98/hadrian/cabal-files/filepattern.nix b/materialized/ghc962/hadrian-ghc98/hadrian/cabal-files/filepattern.nix deleted file mode 100644 index 385c502003..0000000000 --- a/materialized/ghc962/hadrian-ghc98/hadrian/cabal-files/filepattern.nix +++ /dev/null @@ -1,56 +0,0 @@ -{ 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/ghc962/hadrian-ghc98/hadrian/cabal-files/hashable.nix b/materialized/ghc962/hadrian-ghc98/hadrian/cabal-files/hashable.nix deleted file mode 100644 index 4b125fa0bc..0000000000 --- a/materialized/ghc962/hadrian-ghc98/hadrian/cabal-files/hashable.nix +++ /dev/null @@ -1,82 +0,0 @@ -{ 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/ghc962/hadrian-ghc98/hadrian/cabal-files/heaps.nix b/materialized/ghc962/hadrian-ghc98/hadrian/cabal-files/heaps.nix deleted file mode 100644 index e759e305bf..0000000000 --- a/materialized/ghc962/hadrian-ghc98/hadrian/cabal-files/heaps.nix +++ /dev/null @@ -1,38 +0,0 @@ -{ 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/ghc962/hadrian-ghc98/hadrian/cabal-files/js-dgtable.nix b/materialized/ghc962/hadrian-ghc98/hadrian/cabal-files/js-dgtable.nix deleted file mode 100644 index 40ea1148c6..0000000000 --- a/materialized/ghc962/hadrian-ghc98/hadrian/cabal-files/js-dgtable.nix +++ /dev/null @@ -1,47 +0,0 @@ -{ 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/ghc962/hadrian-ghc98/hadrian/cabal-files/js-flot.nix b/materialized/ghc962/hadrian-ghc98/hadrian/cabal-files/js-flot.nix deleted file mode 100644 index 67980dd7ba..0000000000 --- a/materialized/ghc962/hadrian-ghc98/hadrian/cabal-files/js-flot.nix +++ /dev/null @@ -1,47 +0,0 @@ -{ 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/ghc962/hadrian-ghc98/hadrian/cabal-files/js-jquery.nix b/materialized/ghc962/hadrian-ghc98/hadrian/cabal-files/js-jquery.nix deleted file mode 100644 index 05e54a25ab..0000000000 --- a/materialized/ghc962/hadrian-ghc98/hadrian/cabal-files/js-jquery.nix +++ /dev/null @@ -1,48 +0,0 @@ -{ 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/ghc962/hadrian-ghc98/hadrian/cabal-files/primitive.nix b/materialized/ghc962/hadrian-ghc98/hadrian/cabal-files/primitive.nix deleted file mode 100644 index b5683f2c83..0000000000 --- a/materialized/ghc962/hadrian-ghc98/hadrian/cabal-files/primitive.nix +++ /dev/null @@ -1,73 +0,0 @@ -{ 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/ghc962/hadrian-ghc98/hadrian/cabal-files/random.nix b/materialized/ghc962/hadrian-ghc98/hadrian/cabal-files/random.nix deleted file mode 100644 index 0dbaf8b099..0000000000 --- a/materialized/ghc962/hadrian-ghc98/hadrian/cabal-files/random.nix +++ /dev/null @@ -1,113 +0,0 @@ -{ 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/ghc962/hadrian-ghc98/hadrian/cabal-files/shake.nix b/materialized/ghc962/hadrian-ghc98/hadrian/cabal-files/shake.nix deleted file mode 100644 index d40c2a8bbc..0000000000 --- a/materialized/ghc962/hadrian-ghc98/hadrian/cabal-files/shake.nix +++ /dev/null @@ -1,132 +0,0 @@ -{ 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/ghc962/hadrian-ghc98/hadrian/cabal-files/splitmix.nix b/materialized/ghc962/hadrian-ghc98/hadrian/cabal-files/splitmix.nix deleted file mode 100644 index aa0dd88d31..0000000000 --- a/materialized/ghc962/hadrian-ghc98/hadrian/cabal-files/splitmix.nix +++ /dev/null @@ -1,139 +0,0 @@ -{ 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/ghc962/hadrian-ghc98/hadrian/cabal-files/unordered-containers.nix b/materialized/ghc962/hadrian-ghc98/hadrian/cabal-files/unordered-containers.nix deleted file mode 100644 index 0aeaccb277..0000000000 --- a/materialized/ghc962/hadrian-ghc98/hadrian/cabal-files/unordered-containers.nix +++ /dev/null @@ -1,78 +0,0 @@ -{ 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/ghc962/hadrian-ghc98/hadrian/cabal-files/utf8-string.nix b/materialized/ghc962/hadrian-ghc98/hadrian/cabal-files/utf8-string.nix deleted file mode 100644 index a5ee5272da..0000000000 --- a/materialized/ghc962/hadrian-ghc98/hadrian/cabal-files/utf8-string.nix +++ /dev/null @@ -1,51 +0,0 @@ -{ 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/ghc962/hadrian-ghc98/hadrian/default.nix b/materialized/ghc962/hadrian-ghc98/hadrian/default.nix deleted file mode 100644 index 7386e15554..0000000000 --- a/materialized/ghc962/hadrian-ghc98/hadrian/default.nix +++ /dev/null @@ -1,181 +0,0 @@ -{ - 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.0.0".revisions.default; - splitmix.revision = import ./cabal-files/splitmix.nix; - splitmix.flags.optimised-mixer = false; - unix.revision = hackage.unix."2.8.1.0".revisions.default; - filepattern.revision = import ./cabal-files/filepattern.nix; - ghc-boot-th.revision = hackage.ghc-boot-th."9.6.2".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; - base16-bytestring.revision = import ./cabal-files/base16-bytestring.nix; - 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.5.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.4.0".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; - cryptohash-sha256.revision = import ./cabal-files/cryptohash-sha256.nix; - cryptohash-sha256.flags.exe = false; - cryptohash-sha256.flags.use-cbits = true; - 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.100.1".revisions.default; - js-dgtable.revision = import ./cabal-files/js-dgtable.nix; - extra.revision = import ./cabal-files/extra.nix; - }; - compiler = { - version = "9.6.2"; - nix-name = "ghc962"; - packages = { - "unix" = "2.8.1.0"; - "filepath" = "1.4.100.1"; - "transformers" = "0.6.1.0"; - "parsec" = "3.1.16.1"; - "bytestring" = "0.11.4.0"; - "containers" = "0.6.7"; - "ghc-prim" = "0.10.0"; - "mtl" = "2.3.1"; - "ghc-boot-th" = "9.6.2"; - "base" = "4.18.0.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.5.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; - "base16-bytestring".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; - "cryptohash-sha256".components.library.planned = lib.mkOverride 900 true; - "unix".components.library.planned = lib.mkOverride 900 true; - }; - }) - ]; -} \ No newline at end of file diff --git a/materialized/ghc962/hadrian-ghc981/hadrian/.plan.nix/hadrian.nix b/materialized/ghc962/hadrian-ghc981/hadrian/.plan.nix/hadrian.nix deleted file mode 100644 index 740e91ec89..0000000000 --- a/materialized/ghc962/hadrian-ghc981/hadrian/.plan.nix/hadrian.nix +++ /dev/null @@ -1,165 +0,0 @@ -{ 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")) - (hsPkgs."cryptohash-sha256" or (errorHandler.buildDepError "cryptohash-sha256")) - (hsPkgs."base16-bytestring" or (errorHandler.buildDepError "base16-bytestring")) - ] ++ 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/Hash" - "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/ghc962/hadrian-ghc981/hadrian/cabal-files/Cabal-syntax.nix b/materialized/ghc962/hadrian-ghc981/hadrian/cabal-files/Cabal-syntax.nix deleted file mode 100644 index dabbcbdee8..0000000000 --- a/materialized/ghc962/hadrian-ghc981/hadrian/cabal-files/Cabal-syntax.nix +++ /dev/null @@ -1,55 +0,0 @@ -{ 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/ghc962/hadrian-ghc981/hadrian/cabal-files/Cabal.nix b/materialized/ghc962/hadrian-ghc981/hadrian/cabal-files/Cabal.nix deleted file mode 100644 index be0b5019d9..0000000000 --- a/materialized/ghc962/hadrian-ghc981/hadrian/cabal-files/Cabal.nix +++ /dev/null @@ -1,56 +0,0 @@ -{ 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/ghc962/hadrian-ghc981/hadrian/cabal-files/QuickCheck.nix b/materialized/ghc962/hadrian-ghc981/hadrian/cabal-files/QuickCheck.nix deleted file mode 100644 index 62e36aa8b6..0000000000 --- a/materialized/ghc962/hadrian-ghc981/hadrian/cabal-files/QuickCheck.nix +++ /dev/null @@ -1,119 +0,0 @@ -{ 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/ghc962/hadrian-ghc981/hadrian/cabal-files/base16-bytestring.nix b/materialized/ghc962/hadrian-ghc981/hadrian/cabal-files/base16-bytestring.nix deleted file mode 100644 index c3d272500b..0000000000 --- a/materialized/ghc962/hadrian-ghc981/hadrian/cabal-files/base16-bytestring.nix +++ /dev/null @@ -1,68 +0,0 @@ -{ system - , compiler - , flags - , pkgs - , hsPkgs - , pkgconfPkgs - , errorHandler - , config - , ... }: - ({ - flags = {}; - package = { - specVersion = "1.12"; - identifier = { name = "base16-bytestring"; version = "1.0.2.0"; }; - license = "BSD-3-Clause"; - copyright = "Copyright 2011 MailRank, Inc.;\nCopyright 2010-2020 Bryan O'Sullivan et al."; - maintainer = "Herbert Valerio Riedel ,\nMikhail Glushenkov ,\nEmily Pillmore "; - author = "Bryan O'Sullivan "; - homepage = "http://github.com/haskell/base16-bytestring"; - url = ""; - synopsis = "RFC 4648-compliant Base16 encodings for ByteStrings"; - description = "This package provides support for encoding and decoding binary data according\nto @base16@ (see also ) for\nstrict (see \"Data.ByteString.Base16\") and lazy @ByteString@s (see \"Data.ByteString.Base16.Lazy\").\n\nSee the package which provides superior encoding and decoding performance as well as support for lazy, short, and strict variants of 'Text' and 'ByteString' values. Additionally, see the package which\nprovides an uniform API providing conversion paths between more binary and textual types."; - buildType = "Simple"; - }; - components = { - "library" = { - depends = [ - (hsPkgs."base" or (errorHandler.buildDepError "base")) - (hsPkgs."bytestring" or (errorHandler.buildDepError "bytestring")) - ]; - buildable = true; - }; - tests = { - "test" = { - depends = [ - (hsPkgs."base" or (errorHandler.buildDepError "base")) - (hsPkgs."base16-bytestring" or (errorHandler.buildDepError "base16-bytestring")) - (hsPkgs."bytestring" or (errorHandler.buildDepError "bytestring")) - (hsPkgs."HUnit" or (errorHandler.buildDepError "HUnit")) - (hsPkgs."QuickCheck" or (errorHandler.buildDepError "QuickCheck")) - (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")) - ]; - buildable = true; - }; - }; - benchmarks = { - "bench" = { - depends = [ - (hsPkgs."base" or (errorHandler.buildDepError "base")) - (hsPkgs."base16-bytestring" or (errorHandler.buildDepError "base16-bytestring")) - (hsPkgs."bytestring" or (errorHandler.buildDepError "bytestring")) - (hsPkgs."criterion" or (errorHandler.buildDepError "criterion")) - (hsPkgs."deepseq" or (errorHandler.buildDepError "deepseq")) - ]; - buildable = true; - }; - }; - }; - } // { - src = pkgs.lib.mkDefault (pkgs.fetchurl { - url = "http://hackage.haskell.org/package/base16-bytestring-1.0.2.0.tar.gz"; - sha256 = "1d5a91143ef0e22157536093ec8e59d226a68220ec89378d5dcaeea86472c784"; - }); - }) // { - package-description-override = "cabal-version: 1.12\nname: base16-bytestring\nversion: 1.0.2.0\nx-revision: 1\nsynopsis: RFC 4648-compliant Base16 encodings for ByteStrings\ndescription:\n This package provides support for encoding and decoding binary data according\n to @base16@ (see also ) for\n strict (see \"Data.ByteString.Base16\") and lazy @ByteString@s (see \"Data.ByteString.Base16.Lazy\").\n .\n See the package which provides superior encoding and decoding performance as well as support for lazy, short, and strict variants of 'Text' and 'ByteString' values. Additionally, see the package which\n provides an uniform API providing conversion paths between more binary and textual types.\n\nhomepage: http://github.com/haskell/base16-bytestring\nbug-reports: http://github.com/haskell/base16-bytestring/issues\nlicense: BSD3\nlicense-file: LICENSE\ncopyright:\n Copyright 2011 MailRank, Inc.;\n Copyright 2010-2020 Bryan O'Sullivan et al.\n\nauthor: Bryan O'Sullivan \nmaintainer:\n Herbert Valerio Riedel ,\n Mikhail Glushenkov ,\n Emily Pillmore \n\ncategory: Data\nbuild-type: Simple\nextra-source-files:\n README.md\n CHANGELOG.md\n\ntested-with:\n GHC == 9.8.0\n GHC == 9.6.3\n GHC == 9.4.7\n GHC == 9.2.8\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\nsource-repository head\n type: git\n location: http://github.com/haskell/base16-bytestring\n\nlibrary\n other-modules: Data.ByteString.Base16.Internal\n exposed-modules:\n Data.ByteString.Base16\n Data.ByteString.Base16.Lazy\n\n build-depends:\n base >=4.9 && <5\n , bytestring >=0.9 && <0.13\n\n ghc-options: -Wall -funbox-strict-fields\n default-language: Haskell2010\n\ntest-suite test\n type: exitcode-stdio-1.0\n hs-source-dirs: tests\n main-is: Tests.hs\n build-depends:\n base\n , base16-bytestring\n , bytestring\n , HUnit\n , QuickCheck\n , test-framework\n , test-framework-hunit\n , test-framework-quickcheck2\n\n default-language: Haskell2010\n\nbenchmark bench\n type: exitcode-stdio-1.0\n hs-source-dirs: benchmarks\n main-is: Benchmarks.hs\n build-depends:\n base >=4 && <5\n , base16-bytestring\n , bytestring\n , criterion\n , deepseq\n\n default-language: Haskell2010\n"; - } \ No newline at end of file diff --git a/materialized/ghc962/hadrian-ghc981/hadrian/cabal-files/clock.nix b/materialized/ghc962/hadrian-ghc981/hadrian/cabal-files/clock.nix deleted file mode 100644 index 1db6e2d90d..0000000000 --- a/materialized/ghc962/hadrian-ghc981/hadrian/cabal-files/clock.nix +++ /dev/null @@ -1,59 +0,0 @@ -{ 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/ghc962/hadrian-ghc981/hadrian/cabal-files/cryptohash-sha256.nix b/materialized/ghc962/hadrian-ghc981/hadrian/cabal-files/cryptohash-sha256.nix deleted file mode 100644 index 7fe8a112a9..0000000000 --- a/materialized/ghc962/hadrian-ghc981/hadrian/cabal-files/cryptohash-sha256.nix +++ /dev/null @@ -1,84 +0,0 @@ -{ system - , compiler - , flags - , pkgs - , hsPkgs - , pkgconfPkgs - , errorHandler - , config - , ... }: - ({ - flags = { exe = false; use-cbits = true; }; - package = { - specVersion = "2.0"; - identifier = { name = "cryptohash-sha256"; version = "0.11.102.1"; }; - license = "BSD-3-Clause"; - copyright = "Vincent Hanquez, Herbert Valerio Riedel"; - maintainer = "Herbert Valerio Riedel "; - author = ""; - homepage = "https://github.com/hvr/cryptohash-sha256"; - url = ""; - synopsis = "Fast, pure and practical SHA-256 implementation"; - description = "A practical incremental and one-pass, pure API to\nthe [SHA-256 cryptographic hash algorithm](https://en.wikipedia.org/wiki/SHA-2) according\nto [FIPS 180-4](http://dx.doi.org/10.6028/NIST.FIPS.180-4)\nwith performance close to the fastest implementations available in other languages.\n\nThe core SHA-256 algorithm is implemented in C and is thus expected\nto be as fast as the standard [sha256sum(1) tool](https://linux.die.net/man/1/sha256sum);\nfor instance, on an /Intel Core i7-3770/ at 3.40GHz this implementation can\ncompute a SHA-256 hash over 230 MiB of data in under one second.\n(If, instead, you require a pure Haskell implementation and performance is secondary, please refer to the [SHA package](https://hackage.haskell.org/package/SHA).)\n\n\nAdditionally, this package provides support for\n\n- HMAC-SHA-256: SHA-256-based [Hashed Message Authentication Codes](https://en.wikipedia.org/wiki/HMAC) (HMAC)\n- HKDF-SHA-256: [HMAC-SHA-256-based Key Derivation Function](https://en.wikipedia.org/wiki/HKDF) (HKDF)\n\nconforming to [RFC6234](https://tools.ietf.org/html/rfc6234), [RFC4231](https://tools.ietf.org/html/rfc4231), [RFC5869](https://tools.ietf.org/html/rfc5869), et al..\n\n=== Relationship to the @cryptohash@ package and its API\n\nThis package has been originally a fork of @cryptohash-0.11.7@ because the @cryptohash@\npackage had been deprecated and so this package continues to satisfy the need for a\nlightweight package providing the SHA-256 hash algorithm without any dependencies on packages\nother than @base@ and @bytestring@. The API exposed by @cryptohash-sha256-0.11.*@'s\n\"Crypto.Hash.SHA256\" module is guaranteed to remain a compatible superset of the API provided\nby the @cryptohash-0.11.7@'s module of the same name.\n\nConsequently, this package is designed to be used as a drop-in replacement for @cryptohash-0.11.7@'s\n\"Crypto.Hash.SHA256\" module, though with\na [clearly smaller footprint by almost 3 orders of magnitude](https://www.reddit.com/r/haskell/comments/5lxv75/psa_please_use_unique_module_names_when_uploading/dbzegx3/)."; - buildType = "Simple"; - }; - components = { - "library" = { - depends = [ - (hsPkgs."base" or (errorHandler.buildDepError "base")) - ] ++ (if flags.use-cbits - then [ - (hsPkgs."bytestring" or (errorHandler.buildDepError "bytestring")) - ] - else [ - (hsPkgs."cryptohash-sha256-pure" or (errorHandler.buildDepError "cryptohash-sha256-pure")) - ]); - buildable = true; - }; - exes = { - "sha256sum" = { - depends = pkgs.lib.optionals (flags.exe) [ - (hsPkgs."cryptohash-sha256" or (errorHandler.buildDepError "cryptohash-sha256")) - (hsPkgs."base" or (errorHandler.buildDepError "base")) - (hsPkgs."bytestring" or (errorHandler.buildDepError "bytestring")) - (hsPkgs."base16-bytestring" or (errorHandler.buildDepError "base16-bytestring")) - ]; - buildable = if flags.exe then true else false; - }; - }; - tests = { - "test-sha256" = { - depends = [ - (hsPkgs."cryptohash-sha256" or (errorHandler.buildDepError "cryptohash-sha256")) - (hsPkgs."base" or (errorHandler.buildDepError "base")) - (hsPkgs."bytestring" or (errorHandler.buildDepError "bytestring")) - (hsPkgs."base16-bytestring" or (errorHandler.buildDepError "base16-bytestring")) - (hsPkgs."SHA" or (errorHandler.buildDepError "SHA")) - (hsPkgs."tasty" or (errorHandler.buildDepError "tasty")) - (hsPkgs."tasty-quickcheck" or (errorHandler.buildDepError "tasty-quickcheck")) - (hsPkgs."tasty-hunit" or (errorHandler.buildDepError "tasty-hunit")) - ]; - buildable = true; - }; - }; - benchmarks = { - "bench-sha256" = { - depends = [ - (hsPkgs."cryptohash-sha256" or (errorHandler.buildDepError "cryptohash-sha256")) - (hsPkgs."SHA" or (errorHandler.buildDepError "SHA")) - (hsPkgs."base" or (errorHandler.buildDepError "base")) - (hsPkgs."bytestring" or (errorHandler.buildDepError "bytestring")) - (hsPkgs."criterion" or (errorHandler.buildDepError "criterion")) - ]; - buildable = true; - }; - }; - }; - } // { - src = pkgs.lib.mkDefault (pkgs.fetchurl { - url = "http://hackage.haskell.org/package/cryptohash-sha256-0.11.102.1.tar.gz"; - sha256 = "73a7dc7163871a80837495039a099967b11f5c4fe70a118277842f7a713c6bf6"; - }); - }) // { - package-description-override = "cabal-version: 2.0\nname: cryptohash-sha256\nversion: 0.11.102.1\nx-revision: 3\n\nsynopsis: Fast, pure and practical SHA-256 implementation\ndescription: {\n\nA practical incremental and one-pass, pure API to\nthe [SHA-256 cryptographic hash algorithm](https://en.wikipedia.org/wiki/SHA-2) according\nto [FIPS 180-4](http://dx.doi.org/10.6028/NIST.FIPS.180-4)\nwith performance close to the fastest implementations available in other languages.\n.\nThe core SHA-256 algorithm is implemented in C and is thus expected\nto be as fast as the standard [sha256sum(1) tool](https://linux.die.net/man/1/sha256sum);\nfor instance, on an /Intel Core i7-3770/ at 3.40GHz this implementation can\ncompute a SHA-256 hash over 230 MiB of data in under one second.\n(If, instead, you require a pure Haskell implementation and performance is secondary, please refer to the [SHA package](https://hackage.haskell.org/package/SHA).)\n.\n\n.\nAdditionally, this package provides support for\n.\n- HMAC-SHA-256: SHA-256-based [Hashed Message Authentication Codes](https://en.wikipedia.org/wiki/HMAC) (HMAC)\n- HKDF-SHA-256: [HMAC-SHA-256-based Key Derivation Function](https://en.wikipedia.org/wiki/HKDF) (HKDF)\n.\nconforming to [RFC6234](https://tools.ietf.org/html/rfc6234), [RFC4231](https://tools.ietf.org/html/rfc4231), [RFC5869](https://tools.ietf.org/html/rfc5869), et al..\n.\n=== Relationship to the @cryptohash@ package and its API\n.\nThis package has been originally a fork of @cryptohash-0.11.7@ because the @cryptohash@\npackage had been deprecated and so this package continues to satisfy the need for a\nlightweight package providing the SHA-256 hash algorithm without any dependencies on packages\nother than @base@ and @bytestring@. The API exposed by @cryptohash-sha256-0.11.*@'s\n\"Crypto.Hash.SHA256\" module is guaranteed to remain a compatible superset of the API provided\nby the @cryptohash-0.11.7@'s module of the same name.\n.\nConsequently, this package is designed to be used as a drop-in replacement for @cryptohash-0.11.7@'s\n\"Crypto.Hash.SHA256\" module, though with\na [clearly smaller footprint by almost 3 orders of magnitude](https://www.reddit.com/r/haskell/comments/5lxv75/psa_please_use_unique_module_names_when_uploading/dbzegx3/).\n\n}\n\nlicense: BSD3\nlicense-file: LICENSE\ncopyright: Vincent Hanquez, Herbert Valerio Riedel\nmaintainer: Herbert Valerio Riedel \nhomepage: https://github.com/hvr/cryptohash-sha256\nbug-reports: https://github.com/hvr/cryptohash-sha256/issues\ncategory: Data, Cryptography\nbuild-type: Simple\n\ntested-with:\n GHC == 9.8.0\n GHC == 9.6.2\n GHC == 9.4.7\n GHC == 9.2.8\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\nextra-source-files: cbits/hs_sha256.h\n changelog.md\n\nsource-repository head\n type: git\n location: https://github.com/hvr/cryptohash-sha256.git\n\nflag exe\n description: Enable building @sha256sum@ executable\n manual: True\n default: False\n\nflag use-cbits\n description: Use fast optimized C routines via FFI; if flag is disabled falls back to non-FFI Haskell optimized implementation.\n manual: True\n default: True\n\nlibrary\n default-language: Haskell2010\n\n ghc-options: -Wall\n\n build-depends: base >= 4.5 && < 4.20\n\n exposed-modules: Crypto.Hash.SHA256\n\n if flag(use-cbits)\n build-depends: bytestring ^>= 0.9.2.0 || ^>= 0.10.0.0 || ^>= 0.11.0.0 || ^>= 0.12.0.2\n\n other-extensions: BangPatterns\n CApiFFI\n CPP\n Trustworthy\n Unsafe\n\n hs-source-dirs: src\n other-modules: Crypto.Hash.SHA256.FFI\n Compat\n include-dirs: cbits\n else\n hs-source-dirs: src-pure\n build-depends: cryptohash-sha256-pure ^>= 0.1.0\n\nexecutable sha256sum\n default-language: Haskell2010\n hs-source-dirs: src-exe\n main-is: sha256sum.hs\n ghc-options: -Wall -threaded\n if flag(exe)\n other-extensions: RecordWildCards\n build-depends: cryptohash-sha256\n , base\n , bytestring\n\n , base16-bytestring ^>= 0.1.1 || ^>= 1.0.0\n else\n buildable: False\n\ntest-suite test-sha256\n default-language: Haskell2010\n other-extensions: OverloadedStrings\n type: exitcode-stdio-1.0\n hs-source-dirs: src-tests\n main-is: test-sha256.hs\n ghc-options: -Wall -threaded\n build-depends: cryptohash-sha256\n , base\n , bytestring\n\n , base16-bytestring ^>= 0.1.1 || ^>= 1.0.0\n , SHA ^>= 1.6.4\n , tasty ^>= 1.4 || ^>= 1.5\n , tasty-quickcheck ^>= 0.10\n , tasty-hunit ^>= 0.10\n\nbenchmark bench-sha256\n default-language: Haskell2010\n other-extensions: BangPatterns\n type: exitcode-stdio-1.0\n main-is: bench-sha256.hs\n hs-source-dirs: src-bench\n build-depends: cryptohash-sha256\n , SHA ^>= 1.6.4\n , base\n , bytestring\n , criterion ^>= 1.5 || ^>=1.6\n\n -- not yet public\n -- build-depends: cryptohash-sha256-pure ^>= 0.1.0\n"; - } \ No newline at end of file diff --git a/materialized/ghc962/hadrian-ghc981/hadrian/cabal-files/extra.nix b/materialized/ghc962/hadrian-ghc981/hadrian/cabal-files/extra.nix deleted file mode 100644 index 41668cf6bc..0000000000 --- a/materialized/ghc962/hadrian-ghc981/hadrian/cabal-files/extra.nix +++ /dev/null @@ -1,58 +0,0 @@ -{ 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/ghc962/hadrian-ghc981/hadrian/cabal-files/filepattern.nix b/materialized/ghc962/hadrian-ghc981/hadrian/cabal-files/filepattern.nix deleted file mode 100644 index 385c502003..0000000000 --- a/materialized/ghc962/hadrian-ghc981/hadrian/cabal-files/filepattern.nix +++ /dev/null @@ -1,56 +0,0 @@ -{ 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/ghc962/hadrian-ghc981/hadrian/cabal-files/hashable.nix b/materialized/ghc962/hadrian-ghc981/hadrian/cabal-files/hashable.nix deleted file mode 100644 index 4b125fa0bc..0000000000 --- a/materialized/ghc962/hadrian-ghc981/hadrian/cabal-files/hashable.nix +++ /dev/null @@ -1,82 +0,0 @@ -{ 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/ghc962/hadrian-ghc981/hadrian/cabal-files/heaps.nix b/materialized/ghc962/hadrian-ghc981/hadrian/cabal-files/heaps.nix deleted file mode 100644 index e759e305bf..0000000000 --- a/materialized/ghc962/hadrian-ghc981/hadrian/cabal-files/heaps.nix +++ /dev/null @@ -1,38 +0,0 @@ -{ 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/ghc962/hadrian-ghc981/hadrian/cabal-files/js-dgtable.nix b/materialized/ghc962/hadrian-ghc981/hadrian/cabal-files/js-dgtable.nix deleted file mode 100644 index 40ea1148c6..0000000000 --- a/materialized/ghc962/hadrian-ghc981/hadrian/cabal-files/js-dgtable.nix +++ /dev/null @@ -1,47 +0,0 @@ -{ 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/ghc962/hadrian-ghc981/hadrian/cabal-files/js-flot.nix b/materialized/ghc962/hadrian-ghc981/hadrian/cabal-files/js-flot.nix deleted file mode 100644 index 67980dd7ba..0000000000 --- a/materialized/ghc962/hadrian-ghc981/hadrian/cabal-files/js-flot.nix +++ /dev/null @@ -1,47 +0,0 @@ -{ 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/ghc962/hadrian-ghc981/hadrian/cabal-files/js-jquery.nix b/materialized/ghc962/hadrian-ghc981/hadrian/cabal-files/js-jquery.nix deleted file mode 100644 index 05e54a25ab..0000000000 --- a/materialized/ghc962/hadrian-ghc981/hadrian/cabal-files/js-jquery.nix +++ /dev/null @@ -1,48 +0,0 @@ -{ 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/ghc962/hadrian-ghc981/hadrian/cabal-files/primitive.nix b/materialized/ghc962/hadrian-ghc981/hadrian/cabal-files/primitive.nix deleted file mode 100644 index b5683f2c83..0000000000 --- a/materialized/ghc962/hadrian-ghc981/hadrian/cabal-files/primitive.nix +++ /dev/null @@ -1,73 +0,0 @@ -{ 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/ghc962/hadrian-ghc981/hadrian/cabal-files/random.nix b/materialized/ghc962/hadrian-ghc981/hadrian/cabal-files/random.nix deleted file mode 100644 index 0dbaf8b099..0000000000 --- a/materialized/ghc962/hadrian-ghc981/hadrian/cabal-files/random.nix +++ /dev/null @@ -1,113 +0,0 @@ -{ 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/ghc962/hadrian-ghc981/hadrian/cabal-files/shake.nix b/materialized/ghc962/hadrian-ghc981/hadrian/cabal-files/shake.nix deleted file mode 100644 index d40c2a8bbc..0000000000 --- a/materialized/ghc962/hadrian-ghc981/hadrian/cabal-files/shake.nix +++ /dev/null @@ -1,132 +0,0 @@ -{ 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/ghc962/hadrian-ghc981/hadrian/cabal-files/splitmix.nix b/materialized/ghc962/hadrian-ghc981/hadrian/cabal-files/splitmix.nix deleted file mode 100644 index aa0dd88d31..0000000000 --- a/materialized/ghc962/hadrian-ghc981/hadrian/cabal-files/splitmix.nix +++ /dev/null @@ -1,139 +0,0 @@ -{ 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/ghc962/hadrian-ghc981/hadrian/cabal-files/unordered-containers.nix b/materialized/ghc962/hadrian-ghc981/hadrian/cabal-files/unordered-containers.nix deleted file mode 100644 index 0aeaccb277..0000000000 --- a/materialized/ghc962/hadrian-ghc981/hadrian/cabal-files/unordered-containers.nix +++ /dev/null @@ -1,78 +0,0 @@ -{ 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/ghc962/hadrian-ghc981/hadrian/cabal-files/utf8-string.nix b/materialized/ghc962/hadrian-ghc981/hadrian/cabal-files/utf8-string.nix deleted file mode 100644 index a5ee5272da..0000000000 --- a/materialized/ghc962/hadrian-ghc981/hadrian/cabal-files/utf8-string.nix +++ /dev/null @@ -1,51 +0,0 @@ -{ 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/ghc962/hadrian-ghc981/hadrian/default.nix b/materialized/ghc962/hadrian-ghc981/hadrian/default.nix deleted file mode 100644 index 7386e15554..0000000000 --- a/materialized/ghc962/hadrian-ghc981/hadrian/default.nix +++ /dev/null @@ -1,181 +0,0 @@ -{ - 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.0.0".revisions.default; - splitmix.revision = import ./cabal-files/splitmix.nix; - splitmix.flags.optimised-mixer = false; - unix.revision = hackage.unix."2.8.1.0".revisions.default; - filepattern.revision = import ./cabal-files/filepattern.nix; - ghc-boot-th.revision = hackage.ghc-boot-th."9.6.2".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; - base16-bytestring.revision = import ./cabal-files/base16-bytestring.nix; - 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.5.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.4.0".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; - cryptohash-sha256.revision = import ./cabal-files/cryptohash-sha256.nix; - cryptohash-sha256.flags.exe = false; - cryptohash-sha256.flags.use-cbits = true; - 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.100.1".revisions.default; - js-dgtable.revision = import ./cabal-files/js-dgtable.nix; - extra.revision = import ./cabal-files/extra.nix; - }; - compiler = { - version = "9.6.2"; - nix-name = "ghc962"; - packages = { - "unix" = "2.8.1.0"; - "filepath" = "1.4.100.1"; - "transformers" = "0.6.1.0"; - "parsec" = "3.1.16.1"; - "bytestring" = "0.11.4.0"; - "containers" = "0.6.7"; - "ghc-prim" = "0.10.0"; - "mtl" = "2.3.1"; - "ghc-boot-th" = "9.6.2"; - "base" = "4.18.0.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.5.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; - "base16-bytestring".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; - "cryptohash-sha256".components.library.planned = lib.mkOverride 900 true; - "unix".components.library.planned = lib.mkOverride 900 true; - }; - }) - ]; -} \ No newline at end of file diff --git a/materialized/ghc964/hadrian-ghc910/hadrian/.plan.nix/ghc-platform.nix b/materialized/ghc964/hadrian-ghc910/hadrian/.plan.nix/ghc-platform.nix deleted file mode 100644 index 1e74a19dde..0000000000 --- a/materialized/ghc964/hadrian-ghc910/hadrian/.plan.nix/ghc-platform.nix +++ /dev/null @@ -1,41 +0,0 @@ -{ system - , compiler - , flags - , pkgs - , hsPkgs - , pkgconfPkgs - , errorHandler - , config - , ... }: - { - flags = {}; - package = { - specVersion = "3.0"; - identifier = { name = "ghc-platform"; version = "0.1.0.0"; }; - license = "BSD-3-Clause"; - copyright = ""; - maintainer = "ghc-devs@haskell.org"; - author = "Rodrigo Mesquita"; - homepage = ""; - url = ""; - synopsis = "Platform information used by GHC and friends"; - description = ""; - buildType = "Simple"; - isLocal = true; - detailLevel = "FullDetails"; - licenseFiles = [ "LICENSE" ]; - dataDir = "."; - dataFiles = []; - extraSrcFiles = []; - extraTmpFiles = []; - extraDocFiles = [ "CHANGELOG.md" ]; - }; - components = { - "library" = { - depends = [ (hsPkgs."base" or (errorHandler.buildDepError "base")) ]; - buildable = true; - modules = [ "GHC/Platform/ArchOS" ]; - hsSourceDirs = [ "src" ]; - }; - }; - } // rec { src = pkgs.lib.mkDefault ../../libraries/ghc-platform; } \ No newline at end of file diff --git a/materialized/ghc964/hadrian-ghc910/hadrian/.plan.nix/ghc-toolchain.nix b/materialized/ghc964/hadrian-ghc910/hadrian/.plan.nix/ghc-toolchain.nix deleted file mode 100644 index bcae793058..0000000000 --- a/materialized/ghc964/hadrian-ghc910/hadrian/.plan.nix/ghc-toolchain.nix +++ /dev/null @@ -1,70 +0,0 @@ -{ system - , compiler - , flags - , pkgs - , hsPkgs - , pkgconfPkgs - , errorHandler - , config - , ... }: - { - flags = {}; - package = { - specVersion = "2.4"; - identifier = { name = "ghc-toolchain"; version = "0.1.0.0"; }; - license = "NONE"; - copyright = "(c) The GHC Developers"; - maintainer = "ben@well-typed.com"; - author = "Ben Gamari"; - homepage = ""; - url = ""; - synopsis = "Utility for managing GHC target toolchains"; - description = ""; - buildType = "Simple"; - isLocal = true; - detailLevel = "FullDetails"; - licenseFiles = []; - dataDir = "."; - dataFiles = []; - extraSrcFiles = []; - extraTmpFiles = []; - extraDocFiles = []; - }; - 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."transformers" or (errorHandler.buildDepError "transformers")) - (hsPkgs."text" or (errorHandler.buildDepError "text")) - (hsPkgs."ghc-platform" or (errorHandler.buildDepError "ghc-platform")) - ]; - buildable = true; - modules = [ - "GHC/Toolchain" - "GHC/Toolchain/Lens" - "GHC/Toolchain/Monad" - "GHC/Toolchain/PlatformDetails" - "GHC/Toolchain/Prelude" - "GHC/Toolchain/Program" - "GHC/Toolchain/ParseTriple" - "GHC/Toolchain/NormaliseTriple" - "GHC/Toolchain/CheckArm" - "GHC/Toolchain/Target" - "GHC/Toolchain/Tools/Ar" - "GHC/Toolchain/Tools/Cc" - "GHC/Toolchain/Tools/Cxx" - "GHC/Toolchain/Tools/Cpp" - "GHC/Toolchain/Tools/Link" - "GHC/Toolchain/Tools/Nm" - "GHC/Toolchain/Tools/Ranlib" - "GHC/Toolchain/Tools/Readelf" - "GHC/Toolchain/Tools/MergeObjs" - "GHC/Toolchain/Utils" - ]; - hsSourceDirs = [ "src" ]; - }; - }; - } // rec { src = pkgs.lib.mkDefault ../../utils/ghc-toolchain; } \ No newline at end of file diff --git a/materialized/ghc964/hadrian-ghc910/hadrian/.plan.nix/hadrian.nix b/materialized/ghc964/hadrian-ghc910/hadrian/.plan.nix/hadrian.nix deleted file mode 100644 index 1ae09779ab..0000000000 --- a/materialized/ghc964/hadrian-ghc910/hadrian/.plan.nix/hadrian.nix +++ /dev/null @@ -1,169 +0,0 @@ -{ 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")) - (hsPkgs."cryptohash-sha256" or (errorHandler.buildDepError "cryptohash-sha256")) - (hsPkgs."base16-bytestring" or (errorHandler.buildDepError "base16-bytestring")) - (hsPkgs."ghc-platform" or (errorHandler.buildDepError "ghc-platform")) - (hsPkgs."ghc-toolchain" or (errorHandler.buildDepError "ghc-toolchain")) - ] ++ 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/Hash" - "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/Codes" - "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/GenApply" - "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-ghc910/hadrian/cabal-files/QuickCheck.nix b/materialized/ghc964/hadrian-ghc910/hadrian/cabal-files/QuickCheck.nix deleted file mode 100644 index 62e36aa8b6..0000000000 --- a/materialized/ghc964/hadrian-ghc910/hadrian/cabal-files/QuickCheck.nix +++ /dev/null @@ -1,119 +0,0 @@ -{ 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-ghc910/hadrian/cabal-files/base16-bytestring.nix b/materialized/ghc964/hadrian-ghc910/hadrian/cabal-files/base16-bytestring.nix deleted file mode 100644 index c3d272500b..0000000000 --- a/materialized/ghc964/hadrian-ghc910/hadrian/cabal-files/base16-bytestring.nix +++ /dev/null @@ -1,68 +0,0 @@ -{ system - , compiler - , flags - , pkgs - , hsPkgs - , pkgconfPkgs - , errorHandler - , config - , ... }: - ({ - flags = {}; - package = { - specVersion = "1.12"; - identifier = { name = "base16-bytestring"; version = "1.0.2.0"; }; - license = "BSD-3-Clause"; - copyright = "Copyright 2011 MailRank, Inc.;\nCopyright 2010-2020 Bryan O'Sullivan et al."; - maintainer = "Herbert Valerio Riedel ,\nMikhail Glushenkov ,\nEmily Pillmore "; - author = "Bryan O'Sullivan "; - homepage = "http://github.com/haskell/base16-bytestring"; - url = ""; - synopsis = "RFC 4648-compliant Base16 encodings for ByteStrings"; - description = "This package provides support for encoding and decoding binary data according\nto @base16@ (see also ) for\nstrict (see \"Data.ByteString.Base16\") and lazy @ByteString@s (see \"Data.ByteString.Base16.Lazy\").\n\nSee the package which provides superior encoding and decoding performance as well as support for lazy, short, and strict variants of 'Text' and 'ByteString' values. Additionally, see the package which\nprovides an uniform API providing conversion paths between more binary and textual types."; - buildType = "Simple"; - }; - components = { - "library" = { - depends = [ - (hsPkgs."base" or (errorHandler.buildDepError "base")) - (hsPkgs."bytestring" or (errorHandler.buildDepError "bytestring")) - ]; - buildable = true; - }; - tests = { - "test" = { - depends = [ - (hsPkgs."base" or (errorHandler.buildDepError "base")) - (hsPkgs."base16-bytestring" or (errorHandler.buildDepError "base16-bytestring")) - (hsPkgs."bytestring" or (errorHandler.buildDepError "bytestring")) - (hsPkgs."HUnit" or (errorHandler.buildDepError "HUnit")) - (hsPkgs."QuickCheck" or (errorHandler.buildDepError "QuickCheck")) - (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")) - ]; - buildable = true; - }; - }; - benchmarks = { - "bench" = { - depends = [ - (hsPkgs."base" or (errorHandler.buildDepError "base")) - (hsPkgs."base16-bytestring" or (errorHandler.buildDepError "base16-bytestring")) - (hsPkgs."bytestring" or (errorHandler.buildDepError "bytestring")) - (hsPkgs."criterion" or (errorHandler.buildDepError "criterion")) - (hsPkgs."deepseq" or (errorHandler.buildDepError "deepseq")) - ]; - buildable = true; - }; - }; - }; - } // { - src = pkgs.lib.mkDefault (pkgs.fetchurl { - url = "http://hackage.haskell.org/package/base16-bytestring-1.0.2.0.tar.gz"; - sha256 = "1d5a91143ef0e22157536093ec8e59d226a68220ec89378d5dcaeea86472c784"; - }); - }) // { - package-description-override = "cabal-version: 1.12\nname: base16-bytestring\nversion: 1.0.2.0\nx-revision: 1\nsynopsis: RFC 4648-compliant Base16 encodings for ByteStrings\ndescription:\n This package provides support for encoding and decoding binary data according\n to @base16@ (see also ) for\n strict (see \"Data.ByteString.Base16\") and lazy @ByteString@s (see \"Data.ByteString.Base16.Lazy\").\n .\n See the package which provides superior encoding and decoding performance as well as support for lazy, short, and strict variants of 'Text' and 'ByteString' values. Additionally, see the package which\n provides an uniform API providing conversion paths between more binary and textual types.\n\nhomepage: http://github.com/haskell/base16-bytestring\nbug-reports: http://github.com/haskell/base16-bytestring/issues\nlicense: BSD3\nlicense-file: LICENSE\ncopyright:\n Copyright 2011 MailRank, Inc.;\n Copyright 2010-2020 Bryan O'Sullivan et al.\n\nauthor: Bryan O'Sullivan \nmaintainer:\n Herbert Valerio Riedel ,\n Mikhail Glushenkov ,\n Emily Pillmore \n\ncategory: Data\nbuild-type: Simple\nextra-source-files:\n README.md\n CHANGELOG.md\n\ntested-with:\n GHC == 9.8.0\n GHC == 9.6.3\n GHC == 9.4.7\n GHC == 9.2.8\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\nsource-repository head\n type: git\n location: http://github.com/haskell/base16-bytestring\n\nlibrary\n other-modules: Data.ByteString.Base16.Internal\n exposed-modules:\n Data.ByteString.Base16\n Data.ByteString.Base16.Lazy\n\n build-depends:\n base >=4.9 && <5\n , bytestring >=0.9 && <0.13\n\n ghc-options: -Wall -funbox-strict-fields\n default-language: Haskell2010\n\ntest-suite test\n type: exitcode-stdio-1.0\n hs-source-dirs: tests\n main-is: Tests.hs\n build-depends:\n base\n , base16-bytestring\n , bytestring\n , HUnit\n , QuickCheck\n , test-framework\n , test-framework-hunit\n , test-framework-quickcheck2\n\n default-language: Haskell2010\n\nbenchmark bench\n type: exitcode-stdio-1.0\n hs-source-dirs: benchmarks\n main-is: Benchmarks.hs\n build-depends:\n base >=4 && <5\n , base16-bytestring\n , bytestring\n , criterion\n , deepseq\n\n default-language: Haskell2010\n"; - } \ No newline at end of file diff --git a/materialized/ghc964/hadrian-ghc910/hadrian/cabal-files/clock.nix b/materialized/ghc964/hadrian-ghc910/hadrian/cabal-files/clock.nix deleted file mode 100644 index 1db6e2d90d..0000000000 --- a/materialized/ghc964/hadrian-ghc910/hadrian/cabal-files/clock.nix +++ /dev/null @@ -1,59 +0,0 @@ -{ 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-ghc910/hadrian/cabal-files/cryptohash-sha256.nix b/materialized/ghc964/hadrian-ghc910/hadrian/cabal-files/cryptohash-sha256.nix deleted file mode 100644 index 7fe8a112a9..0000000000 --- a/materialized/ghc964/hadrian-ghc910/hadrian/cabal-files/cryptohash-sha256.nix +++ /dev/null @@ -1,84 +0,0 @@ -{ system - , compiler - , flags - , pkgs - , hsPkgs - , pkgconfPkgs - , errorHandler - , config - , ... }: - ({ - flags = { exe = false; use-cbits = true; }; - package = { - specVersion = "2.0"; - identifier = { name = "cryptohash-sha256"; version = "0.11.102.1"; }; - license = "BSD-3-Clause"; - copyright = "Vincent Hanquez, Herbert Valerio Riedel"; - maintainer = "Herbert Valerio Riedel "; - author = ""; - homepage = "https://github.com/hvr/cryptohash-sha256"; - url = ""; - synopsis = "Fast, pure and practical SHA-256 implementation"; - description = "A practical incremental and one-pass, pure API to\nthe [SHA-256 cryptographic hash algorithm](https://en.wikipedia.org/wiki/SHA-2) according\nto [FIPS 180-4](http://dx.doi.org/10.6028/NIST.FIPS.180-4)\nwith performance close to the fastest implementations available in other languages.\n\nThe core SHA-256 algorithm is implemented in C and is thus expected\nto be as fast as the standard [sha256sum(1) tool](https://linux.die.net/man/1/sha256sum);\nfor instance, on an /Intel Core i7-3770/ at 3.40GHz this implementation can\ncompute a SHA-256 hash over 230 MiB of data in under one second.\n(If, instead, you require a pure Haskell implementation and performance is secondary, please refer to the [SHA package](https://hackage.haskell.org/package/SHA).)\n\n\nAdditionally, this package provides support for\n\n- HMAC-SHA-256: SHA-256-based [Hashed Message Authentication Codes](https://en.wikipedia.org/wiki/HMAC) (HMAC)\n- HKDF-SHA-256: [HMAC-SHA-256-based Key Derivation Function](https://en.wikipedia.org/wiki/HKDF) (HKDF)\n\nconforming to [RFC6234](https://tools.ietf.org/html/rfc6234), [RFC4231](https://tools.ietf.org/html/rfc4231), [RFC5869](https://tools.ietf.org/html/rfc5869), et al..\n\n=== Relationship to the @cryptohash@ package and its API\n\nThis package has been originally a fork of @cryptohash-0.11.7@ because the @cryptohash@\npackage had been deprecated and so this package continues to satisfy the need for a\nlightweight package providing the SHA-256 hash algorithm without any dependencies on packages\nother than @base@ and @bytestring@. The API exposed by @cryptohash-sha256-0.11.*@'s\n\"Crypto.Hash.SHA256\" module is guaranteed to remain a compatible superset of the API provided\nby the @cryptohash-0.11.7@'s module of the same name.\n\nConsequently, this package is designed to be used as a drop-in replacement for @cryptohash-0.11.7@'s\n\"Crypto.Hash.SHA256\" module, though with\na [clearly smaller footprint by almost 3 orders of magnitude](https://www.reddit.com/r/haskell/comments/5lxv75/psa_please_use_unique_module_names_when_uploading/dbzegx3/)."; - buildType = "Simple"; - }; - components = { - "library" = { - depends = [ - (hsPkgs."base" or (errorHandler.buildDepError "base")) - ] ++ (if flags.use-cbits - then [ - (hsPkgs."bytestring" or (errorHandler.buildDepError "bytestring")) - ] - else [ - (hsPkgs."cryptohash-sha256-pure" or (errorHandler.buildDepError "cryptohash-sha256-pure")) - ]); - buildable = true; - }; - exes = { - "sha256sum" = { - depends = pkgs.lib.optionals (flags.exe) [ - (hsPkgs."cryptohash-sha256" or (errorHandler.buildDepError "cryptohash-sha256")) - (hsPkgs."base" or (errorHandler.buildDepError "base")) - (hsPkgs."bytestring" or (errorHandler.buildDepError "bytestring")) - (hsPkgs."base16-bytestring" or (errorHandler.buildDepError "base16-bytestring")) - ]; - buildable = if flags.exe then true else false; - }; - }; - tests = { - "test-sha256" = { - depends = [ - (hsPkgs."cryptohash-sha256" or (errorHandler.buildDepError "cryptohash-sha256")) - (hsPkgs."base" or (errorHandler.buildDepError "base")) - (hsPkgs."bytestring" or (errorHandler.buildDepError "bytestring")) - (hsPkgs."base16-bytestring" or (errorHandler.buildDepError "base16-bytestring")) - (hsPkgs."SHA" or (errorHandler.buildDepError "SHA")) - (hsPkgs."tasty" or (errorHandler.buildDepError "tasty")) - (hsPkgs."tasty-quickcheck" or (errorHandler.buildDepError "tasty-quickcheck")) - (hsPkgs."tasty-hunit" or (errorHandler.buildDepError "tasty-hunit")) - ]; - buildable = true; - }; - }; - benchmarks = { - "bench-sha256" = { - depends = [ - (hsPkgs."cryptohash-sha256" or (errorHandler.buildDepError "cryptohash-sha256")) - (hsPkgs."SHA" or (errorHandler.buildDepError "SHA")) - (hsPkgs."base" or (errorHandler.buildDepError "base")) - (hsPkgs."bytestring" or (errorHandler.buildDepError "bytestring")) - (hsPkgs."criterion" or (errorHandler.buildDepError "criterion")) - ]; - buildable = true; - }; - }; - }; - } // { - src = pkgs.lib.mkDefault (pkgs.fetchurl { - url = "http://hackage.haskell.org/package/cryptohash-sha256-0.11.102.1.tar.gz"; - sha256 = "73a7dc7163871a80837495039a099967b11f5c4fe70a118277842f7a713c6bf6"; - }); - }) // { - package-description-override = "cabal-version: 2.0\nname: cryptohash-sha256\nversion: 0.11.102.1\nx-revision: 3\n\nsynopsis: Fast, pure and practical SHA-256 implementation\ndescription: {\n\nA practical incremental and one-pass, pure API to\nthe [SHA-256 cryptographic hash algorithm](https://en.wikipedia.org/wiki/SHA-2) according\nto [FIPS 180-4](http://dx.doi.org/10.6028/NIST.FIPS.180-4)\nwith performance close to the fastest implementations available in other languages.\n.\nThe core SHA-256 algorithm is implemented in C and is thus expected\nto be as fast as the standard [sha256sum(1) tool](https://linux.die.net/man/1/sha256sum);\nfor instance, on an /Intel Core i7-3770/ at 3.40GHz this implementation can\ncompute a SHA-256 hash over 230 MiB of data in under one second.\n(If, instead, you require a pure Haskell implementation and performance is secondary, please refer to the [SHA package](https://hackage.haskell.org/package/SHA).)\n.\n\n.\nAdditionally, this package provides support for\n.\n- HMAC-SHA-256: SHA-256-based [Hashed Message Authentication Codes](https://en.wikipedia.org/wiki/HMAC) (HMAC)\n- HKDF-SHA-256: [HMAC-SHA-256-based Key Derivation Function](https://en.wikipedia.org/wiki/HKDF) (HKDF)\n.\nconforming to [RFC6234](https://tools.ietf.org/html/rfc6234), [RFC4231](https://tools.ietf.org/html/rfc4231), [RFC5869](https://tools.ietf.org/html/rfc5869), et al..\n.\n=== Relationship to the @cryptohash@ package and its API\n.\nThis package has been originally a fork of @cryptohash-0.11.7@ because the @cryptohash@\npackage had been deprecated and so this package continues to satisfy the need for a\nlightweight package providing the SHA-256 hash algorithm without any dependencies on packages\nother than @base@ and @bytestring@. The API exposed by @cryptohash-sha256-0.11.*@'s\n\"Crypto.Hash.SHA256\" module is guaranteed to remain a compatible superset of the API provided\nby the @cryptohash-0.11.7@'s module of the same name.\n.\nConsequently, this package is designed to be used as a drop-in replacement for @cryptohash-0.11.7@'s\n\"Crypto.Hash.SHA256\" module, though with\na [clearly smaller footprint by almost 3 orders of magnitude](https://www.reddit.com/r/haskell/comments/5lxv75/psa_please_use_unique_module_names_when_uploading/dbzegx3/).\n\n}\n\nlicense: BSD3\nlicense-file: LICENSE\ncopyright: Vincent Hanquez, Herbert Valerio Riedel\nmaintainer: Herbert Valerio Riedel \nhomepage: https://github.com/hvr/cryptohash-sha256\nbug-reports: https://github.com/hvr/cryptohash-sha256/issues\ncategory: Data, Cryptography\nbuild-type: Simple\n\ntested-with:\n GHC == 9.8.0\n GHC == 9.6.2\n GHC == 9.4.7\n GHC == 9.2.8\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\nextra-source-files: cbits/hs_sha256.h\n changelog.md\n\nsource-repository head\n type: git\n location: https://github.com/hvr/cryptohash-sha256.git\n\nflag exe\n description: Enable building @sha256sum@ executable\n manual: True\n default: False\n\nflag use-cbits\n description: Use fast optimized C routines via FFI; if flag is disabled falls back to non-FFI Haskell optimized implementation.\n manual: True\n default: True\n\nlibrary\n default-language: Haskell2010\n\n ghc-options: -Wall\n\n build-depends: base >= 4.5 && < 4.20\n\n exposed-modules: Crypto.Hash.SHA256\n\n if flag(use-cbits)\n build-depends: bytestring ^>= 0.9.2.0 || ^>= 0.10.0.0 || ^>= 0.11.0.0 || ^>= 0.12.0.2\n\n other-extensions: BangPatterns\n CApiFFI\n CPP\n Trustworthy\n Unsafe\n\n hs-source-dirs: src\n other-modules: Crypto.Hash.SHA256.FFI\n Compat\n include-dirs: cbits\n else\n hs-source-dirs: src-pure\n build-depends: cryptohash-sha256-pure ^>= 0.1.0\n\nexecutable sha256sum\n default-language: Haskell2010\n hs-source-dirs: src-exe\n main-is: sha256sum.hs\n ghc-options: -Wall -threaded\n if flag(exe)\n other-extensions: RecordWildCards\n build-depends: cryptohash-sha256\n , base\n , bytestring\n\n , base16-bytestring ^>= 0.1.1 || ^>= 1.0.0\n else\n buildable: False\n\ntest-suite test-sha256\n default-language: Haskell2010\n other-extensions: OverloadedStrings\n type: exitcode-stdio-1.0\n hs-source-dirs: src-tests\n main-is: test-sha256.hs\n ghc-options: -Wall -threaded\n build-depends: cryptohash-sha256\n , base\n , bytestring\n\n , base16-bytestring ^>= 0.1.1 || ^>= 1.0.0\n , SHA ^>= 1.6.4\n , tasty ^>= 1.4 || ^>= 1.5\n , tasty-quickcheck ^>= 0.10\n , tasty-hunit ^>= 0.10\n\nbenchmark bench-sha256\n default-language: Haskell2010\n other-extensions: BangPatterns\n type: exitcode-stdio-1.0\n main-is: bench-sha256.hs\n hs-source-dirs: src-bench\n build-depends: cryptohash-sha256\n , SHA ^>= 1.6.4\n , base\n , bytestring\n , criterion ^>= 1.5 || ^>=1.6\n\n -- not yet public\n -- build-depends: cryptohash-sha256-pure ^>= 0.1.0\n"; - } \ No newline at end of file diff --git a/materialized/ghc964/hadrian-ghc910/hadrian/cabal-files/extra.nix b/materialized/ghc964/hadrian-ghc910/hadrian/cabal-files/extra.nix deleted file mode 100644 index 41668cf6bc..0000000000 --- a/materialized/ghc964/hadrian-ghc910/hadrian/cabal-files/extra.nix +++ /dev/null @@ -1,58 +0,0 @@ -{ 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-ghc910/hadrian/cabal-files/filepattern.nix b/materialized/ghc964/hadrian-ghc910/hadrian/cabal-files/filepattern.nix deleted file mode 100644 index 385c502003..0000000000 --- a/materialized/ghc964/hadrian-ghc910/hadrian/cabal-files/filepattern.nix +++ /dev/null @@ -1,56 +0,0 @@ -{ 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-ghc910/hadrian/cabal-files/hashable.nix b/materialized/ghc964/hadrian-ghc910/hadrian/cabal-files/hashable.nix deleted file mode 100644 index 4b125fa0bc..0000000000 --- a/materialized/ghc964/hadrian-ghc910/hadrian/cabal-files/hashable.nix +++ /dev/null @@ -1,82 +0,0 @@ -{ 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-ghc910/hadrian/cabal-files/heaps.nix b/materialized/ghc964/hadrian-ghc910/hadrian/cabal-files/heaps.nix deleted file mode 100644 index e759e305bf..0000000000 --- a/materialized/ghc964/hadrian-ghc910/hadrian/cabal-files/heaps.nix +++ /dev/null @@ -1,38 +0,0 @@ -{ 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-ghc910/hadrian/cabal-files/js-dgtable.nix b/materialized/ghc964/hadrian-ghc910/hadrian/cabal-files/js-dgtable.nix deleted file mode 100644 index 40ea1148c6..0000000000 --- a/materialized/ghc964/hadrian-ghc910/hadrian/cabal-files/js-dgtable.nix +++ /dev/null @@ -1,47 +0,0 @@ -{ 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-ghc910/hadrian/cabal-files/js-flot.nix b/materialized/ghc964/hadrian-ghc910/hadrian/cabal-files/js-flot.nix deleted file mode 100644 index 67980dd7ba..0000000000 --- a/materialized/ghc964/hadrian-ghc910/hadrian/cabal-files/js-flot.nix +++ /dev/null @@ -1,47 +0,0 @@ -{ 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-ghc910/hadrian/cabal-files/js-jquery.nix b/materialized/ghc964/hadrian-ghc910/hadrian/cabal-files/js-jquery.nix deleted file mode 100644 index 05e54a25ab..0000000000 --- a/materialized/ghc964/hadrian-ghc910/hadrian/cabal-files/js-jquery.nix +++ /dev/null @@ -1,48 +0,0 @@ -{ 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-ghc910/hadrian/cabal-files/primitive.nix b/materialized/ghc964/hadrian-ghc910/hadrian/cabal-files/primitive.nix deleted file mode 100644 index b5683f2c83..0000000000 --- a/materialized/ghc964/hadrian-ghc910/hadrian/cabal-files/primitive.nix +++ /dev/null @@ -1,73 +0,0 @@ -{ 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-ghc910/hadrian/cabal-files/random.nix b/materialized/ghc964/hadrian-ghc910/hadrian/cabal-files/random.nix deleted file mode 100644 index 0dbaf8b099..0000000000 --- a/materialized/ghc964/hadrian-ghc910/hadrian/cabal-files/random.nix +++ /dev/null @@ -1,113 +0,0 @@ -{ 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-ghc910/hadrian/cabal-files/shake.nix b/materialized/ghc964/hadrian-ghc910/hadrian/cabal-files/shake.nix deleted file mode 100644 index d40c2a8bbc..0000000000 --- a/materialized/ghc964/hadrian-ghc910/hadrian/cabal-files/shake.nix +++ /dev/null @@ -1,132 +0,0 @@ -{ 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-ghc910/hadrian/cabal-files/splitmix.nix b/materialized/ghc964/hadrian-ghc910/hadrian/cabal-files/splitmix.nix deleted file mode 100644 index aa0dd88d31..0000000000 --- a/materialized/ghc964/hadrian-ghc910/hadrian/cabal-files/splitmix.nix +++ /dev/null @@ -1,139 +0,0 @@ -{ 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-ghc910/hadrian/cabal-files/unordered-containers.nix b/materialized/ghc964/hadrian-ghc910/hadrian/cabal-files/unordered-containers.nix deleted file mode 100644 index 0aeaccb277..0000000000 --- a/materialized/ghc964/hadrian-ghc910/hadrian/cabal-files/unordered-containers.nix +++ /dev/null @@ -1,78 +0,0 @@ -{ 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-ghc910/hadrian/cabal-files/utf8-string.nix b/materialized/ghc964/hadrian-ghc910/hadrian/cabal-files/utf8-string.nix deleted file mode 100644 index a5ee5272da..0000000000 --- a/materialized/ghc964/hadrian-ghc910/hadrian/cabal-files/utf8-string.nix +++ /dev/null @@ -1,51 +0,0 @@ -{ 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-ghc910/hadrian/default.nix b/materialized/ghc964/hadrian-ghc910/hadrian/default.nix deleted file mode 100644 index 3a9d912802..0000000000 --- a/materialized/ghc964/hadrian-ghc910/hadrian/default.nix +++ /dev/null @@ -1,195 +0,0 @@ -{ - 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 = hackage.Cabal-syntax."3.10.1.0".revisions.default; - 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; - base16-bytestring.revision = import ./cabal-files/base16-bytestring.nix; - 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 = hackage.Cabal."3.10.1.0".revisions.default; - directory.revision = hackage.directory."1.3.8.1".revisions.default; - js-flot.revision = import ./cabal-files/js-flot.nix; - cryptohash-sha256.revision = import ./cabal-files/cryptohash-sha256.nix; - cryptohash-sha256.flags.exe = false; - cryptohash-sha256.flags.use-cbits = true; - 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"; - "Cabal" = "3.10.1.0"; - "ghc-boot-th" = "9.6.4"; - "base" = "4.18.2.0"; - "time" = "1.12.2"; - "stm" = "2.5.1.0"; - "Cabal-syntax" = "3.10.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 = { - ghc-toolchain = ./.plan.nix/ghc-toolchain.nix; - ghc-platform = ./.plan.nix/ghc-platform.nix; - hadrian = ./.plan.nix/hadrian.nix; - }; - }; - modules = [ - { - preExistingPkgs = [ - "ghc-prim" - "transformers" - "time" - "base" - "unix" - "ghc-boot-th" - "mtl" - "pretty" - "Cabal-syntax" - "process" - "stm" - "template-haskell" - "exceptions" - "parsec" - "system-cxx-std-lib" - "deepseq" - "text" - "containers" - "array" - "bytestring" - "Cabal" - "directory" - "ghc-bignum" - "binary" - "filepath" - ]; - } - ({ lib, ... }: - { - packages = { - "ghc-toolchain" = { flags = {}; }; - "ghc-platform" = { flags = {}; }; - "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; - "base16-bytestring".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; - "ghc-toolchain".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; - "ghc-platform".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; - "cryptohash-sha256".components.library.planned = lib.mkOverride 900 true; - "unix".components.library.planned = lib.mkOverride 900 true; - }; - }) - ]; -} \ No newline at end of file diff --git a/materialized/ghc964/hadrian-ghc910/plan.json b/materialized/ghc964/hadrian-ghc910/plan.json deleted file mode 100644 index d620fb747b..0000000000 --- a/materialized/ghc964/hadrian-ghc910/plan.json +++ /dev/null @@ -1 +0,0 @@ -{"cabal-version":"3.10.3.0","cabal-lib-version":"3.10.3.0","compiler-id":"ghc-9.6.4","os":"linux","arch":"x86_64","install-plan":[{"type":"pre-existing","id":"Cabal-3.10.1.0","pkg-name":"Cabal","pkg-version":"3.10.1.0","depends":["Cabal-syntax-3.10.1.0","array-0.5.6.0","base-4.18.2.0","bytestring-0.11.5.3","containers-0.6.7","deepseq-1.4.8.1","directory-1.3.8.1","filepath-1.4.200.1","mtl-2.3.1","parsec-3.1.16.1","pretty-1.1.3.6","process-1.6.17.0","text-2.0.2","time-1.12.2","transformers-0.6.1.0","unix-2.8.4.0"]},{"type":"pre-existing","id":"Cabal-syntax-3.10.1.0","pkg-name":"Cabal-syntax","pkg-version":"3.10.1.0","depends":["array-0.5.6.0","base-4.18.2.0","binary-0.8.9.1","bytestring-0.11.5.3","containers-0.6.7","deepseq-1.4.8.1","directory-1.3.8.1","filepath-1.4.200.1","mtl-2.3.1","parsec-3.1.16.1","pretty-1.1.3.6","text-2.0.2","time-1.12.2","transformers-0.6.1.0","unix-2.8.4.0"]},{"type":"configured","id":"QuickCheck-2.14.3-116702925e70e233df64507a5cae969ff9c69efe35b3cc35e56c87d47168ff11","pkg-name":"QuickCheck","pkg-version":"2.14.3","flags":{"old-random":false,"templatehaskell":true},"style":"global","pkg-src":{"type":"repo-tar","repo":{"type":"secure-repo","uri":"http://hackage.haskell.org/"}},"pkg-cabal-sha256":"f03d2f404d5ba465453d0fbc1944832789a759fe7c4f9bf8616bc1378a02fde4","pkg-src-sha256":"5c0f22b36b28a1a8fa110b3819818d3f29494a3b0dedbae299f064123ca70501","depends":["base-4.18.2.0","containers-0.6.7","deepseq-1.4.8.1","random-1.2.1.1-e2b8c23c50d3a2e2d7c30c46d2a3344a9c2a38bf319885311c62efb7342cb80b","splitmix-0.1.0.5-232d2b1a4ce5cacd620dd2472d411c8d63e777af17182b5d56b631942f729187","template-haskell-2.20.0.0","transformers-0.6.1.0"],"exe-depends":[],"component-name":"lib"},{"type":"pre-existing","id":"array-0.5.6.0","pkg-name":"array","pkg-version":"0.5.6.0","depends":["base-4.18.2.0"]},{"type":"pre-existing","id":"base-4.18.2.0","pkg-name":"base","pkg-version":"4.18.2.0","depends":["ghc-bignum-1.3","ghc-prim-0.10.0"]},{"type":"configured","id":"base16-bytestring-1.0.2.0-48e234cd9d2674d718111ce6f52d0142cc28a3c5a0493618f8fb6a8b7f7dd1f7","pkg-name":"base16-bytestring","pkg-version":"1.0.2.0","flags":{},"style":"global","pkg-src":{"type":"repo-tar","repo":{"type":"secure-repo","uri":"http://hackage.haskell.org/"}},"pkg-cabal-sha256":"a694e88f9ec9fc79f0b03f233d3fea592b68f70a34aac2ddb5bcaecb6562e2fd","pkg-src-sha256":"1d5a91143ef0e22157536093ec8e59d226a68220ec89378d5dcaeea86472c784","depends":["base-4.18.2.0","bytestring-0.11.5.3"],"exe-depends":[],"component-name":"lib"},{"type":"pre-existing","id":"binary-0.8.9.1","pkg-name":"binary","pkg-version":"0.8.9.1","depends":["array-0.5.6.0","base-4.18.2.0","bytestring-0.11.5.3","containers-0.6.7","ghc-prim-0.10.0"]},{"type":"pre-existing","id":"bytestring-0.11.5.3","pkg-name":"bytestring","pkg-version":"0.11.5.3","depends":["base-4.18.2.0","deepseq-1.4.8.1","ghc-prim-0.10.0","template-haskell-2.20.0.0"]},{"type":"configured","id":"clock-0.8.4-b6af39fafa1fb93e9520050c562fc2d9803a08bc83cda5d8b8d907beefe150aa","pkg-name":"clock","pkg-version":"0.8.4","flags":{"llvm":false},"style":"global","pkg-src":{"type":"repo-tar","repo":{"type":"secure-repo","uri":"http://hackage.haskell.org/"}},"pkg-cabal-sha256":"b938655b00cf204ce69abfff946021bed111d2609a9f7a9c22e28a1a202e9115","pkg-src-sha256":"6ae9898afe788a5e334cd5fad5d18a3c2e8e59fa09aaf7b957dbb38a4767df2e","depends":["base-4.18.2.0"],"exe-depends":[],"component-name":"lib"},{"type":"pre-existing","id":"containers-0.6.7","pkg-name":"containers","pkg-version":"0.6.7","depends":["array-0.5.6.0","base-4.18.2.0","deepseq-1.4.8.1","template-haskell-2.20.0.0"]},{"type":"configured","id":"cryptohash-sha256-0.11.102.1-898616048405d66a1ac2538c4878965bc94c2902780e27b3e48e171cdfe34cf8","pkg-name":"cryptohash-sha256","pkg-version":"0.11.102.1","flags":{"exe":false,"use-cbits":true},"style":"global","pkg-src":{"type":"repo-tar","repo":{"type":"secure-repo","uri":"http://hackage.haskell.org/"}},"pkg-cabal-sha256":"03db065161987f614a3a2bbcd16264f78e47efe231fb5bd161be2043eaf20488","pkg-src-sha256":"73a7dc7163871a80837495039a099967b11f5c4fe70a118277842f7a713c6bf6","depends":["base-4.18.2.0","bytestring-0.11.5.3"],"exe-depends":[],"component-name":"lib"},{"type":"pre-existing","id":"deepseq-1.4.8.1","pkg-name":"deepseq","pkg-version":"1.4.8.1","depends":["array-0.5.6.0","base-4.18.2.0","ghc-prim-0.10.0"]},{"type":"pre-existing","id":"directory-1.3.8.1","pkg-name":"directory","pkg-version":"1.3.8.1","depends":["base-4.18.2.0","filepath-1.4.200.1","time-1.12.2","unix-2.8.4.0"]},{"type":"pre-existing","id":"exceptions-0.10.7","pkg-name":"exceptions","pkg-version":"0.10.7","depends":["base-4.18.2.0","mtl-2.3.1","stm-2.5.1.0","template-haskell-2.20.0.0","transformers-0.6.1.0"]},{"type":"configured","id":"extra-1.7.14-5b3875febb50e86e1fd0471cb61fc83c08afae84f74dd82e3fe23bdc226bd3c9","pkg-name":"extra","pkg-version":"1.7.14","flags":{},"style":"global","pkg-src":{"type":"repo-tar","repo":{"type":"secure-repo","uri":"http://hackage.haskell.org/"}},"pkg-cabal-sha256":"e3d3ce1dc7746b1132930e48c59fb5e8c51a09e92e0c031316be031067a273fb","pkg-src-sha256":"b6a909f8f0e4b8076a1653b4d34815a782f0a8c1e83d5267f4d00496471ef567","depends":["base-4.18.2.0","clock-0.8.4-b6af39fafa1fb93e9520050c562fc2d9803a08bc83cda5d8b8d907beefe150aa","directory-1.3.8.1","filepath-1.4.200.1","process-1.6.17.0","time-1.12.2","unix-2.8.4.0"],"exe-depends":[],"component-name":"lib"},{"type":"pre-existing","id":"filepath-1.4.200.1","pkg-name":"filepath","pkg-version":"1.4.200.1","depends":["base-4.18.2.0","bytestring-0.11.5.3","deepseq-1.4.8.1","exceptions-0.10.7","template-haskell-2.20.0.0"]},{"type":"configured","id":"filepattern-0.1.3-e0b05225cb586afea88cbd5fba3b81dbc7d8925b44e8dd467cfd9ed208da351b","pkg-name":"filepattern","pkg-version":"0.1.3","flags":{},"style":"global","pkg-src":{"type":"repo-tar","repo":{"type":"secure-repo","uri":"http://hackage.haskell.org/"}},"pkg-cabal-sha256":"372c1733d83b90045eb29da9f010fed79bfef8771ce65eb126a1d83ecc54a9a2","pkg-src-sha256":"cc445d439ea2f65cac7604d3578aa2c3a62e5a91dc989f4ce5b3390db9e59636","depends":["base-4.18.2.0","directory-1.3.8.1","extra-1.7.14-5b3875febb50e86e1fd0471cb61fc83c08afae84f74dd82e3fe23bdc226bd3c9","filepath-1.4.200.1"],"exe-depends":[],"component-name":"lib"},{"type":"pre-existing","id":"ghc-bignum-1.3","pkg-name":"ghc-bignum","pkg-version":"1.3","depends":["ghc-prim-0.10.0"]},{"type":"pre-existing","id":"ghc-boot-th-9.6.4","pkg-name":"ghc-boot-th","pkg-version":"9.6.4","depends":["base-4.18.2.0"]},{"type":"configured","id":"ghc-platform-0.1.0.0-inplace","pkg-name":"ghc-platform","pkg-version":"0.1.0.0","flags":{},"style":"local","pkg-src":{"type":"local","path":"./hadrian/../libraries/ghc-platform"},"dist-dir":"./hadrian/dist-newstyle/build/x86_64-linux/ghc-9.6.4/ghc-platform-0.1.0.0","build-info":"./hadrian/dist-newstyle/build/x86_64-linux/ghc-9.6.4/ghc-platform-0.1.0.0/build-info.json","depends":["base-4.18.2.0"],"exe-depends":[],"component-name":"lib"},{"type":"pre-existing","id":"ghc-prim-0.10.0","pkg-name":"ghc-prim","pkg-version":"0.10.0","depends":[]},{"type":"configured","id":"ghc-toolchain-0.1.0.0-inplace","pkg-name":"ghc-toolchain","pkg-version":"0.1.0.0","flags":{},"style":"local","pkg-src":{"type":"local","path":"./hadrian/../utils/ghc-toolchain"},"dist-dir":"./hadrian/dist-newstyle/build/x86_64-linux/ghc-9.6.4/ghc-toolchain-0.1.0.0","build-info":"./hadrian/dist-newstyle/build/x86_64-linux/ghc-9.6.4/ghc-toolchain-0.1.0.0/build-info.json","depends":["base-4.18.2.0","directory-1.3.8.1","filepath-1.4.200.1","ghc-platform-0.1.0.0-inplace","process-1.6.17.0","text-2.0.2","transformers-0.6.1.0"],"exe-depends":[],"component-name":"lib"},{"type":"configured","id":"hadrian-0.1.0.0-inplace-hadrian","pkg-name":"hadrian","pkg-version":"0.1.0.0","flags":{"selftest":true,"threaded":true},"style":"local","pkg-src":{"type":"local","path":"./hadrian/."},"dist-dir":"./hadrian/dist-newstyle/build/x86_64-linux/ghc-9.6.4/hadrian-0.1.0.0/x/hadrian","build-info":"./hadrian/dist-newstyle/build/x86_64-linux/ghc-9.6.4/hadrian-0.1.0.0/x/hadrian/build-info.json","depends":["Cabal-3.10.1.0","QuickCheck-2.14.3-116702925e70e233df64507a5cae969ff9c69efe35b3cc35e56c87d47168ff11","base-4.18.2.0","base16-bytestring-1.0.2.0-48e234cd9d2674d718111ce6f52d0142cc28a3c5a0493618f8fb6a8b7f7dd1f7","bytestring-0.11.5.3","containers-0.6.7","cryptohash-sha256-0.11.102.1-898616048405d66a1ac2538c4878965bc94c2902780e27b3e48e171cdfe34cf8","directory-1.3.8.1","extra-1.7.14-5b3875febb50e86e1fd0471cb61fc83c08afae84f74dd82e3fe23bdc226bd3c9","filepath-1.4.200.1","ghc-platform-0.1.0.0-inplace","ghc-toolchain-0.1.0.0-inplace","mtl-2.3.1","parsec-3.1.16.1","shake-0.19.7-9369313762a66f683383a6b11b819b9aafcd8f0d518c176b2cb1f5a198ccf8cd","text-2.0.2","time-1.12.2","transformers-0.6.1.0","unordered-containers-0.2.19.1-0eb0d95c2f270578763e7cbc938fd7d57fa65a8f3c10aa64b616bc79bbf6b993"],"exe-depends":[],"component-name":"exe:hadrian","bin-file":"./hadrian/dist-newstyle/build/x86_64-linux/ghc-9.6.4/hadrian-0.1.0.0/x/hadrian/build/hadrian/hadrian"},{"type":"configured","id":"hashable-1.4.3.0-cf03199beb9180bbbb9b383e3088c03deb3be32037dd08933c3d3ba08171d03e","pkg-name":"hashable","pkg-version":"1.4.3.0","flags":{"integer-gmp":true,"random-initial-seed":false},"style":"global","pkg-src":{"type":"repo-tar","repo":{"type":"secure-repo","uri":"http://hackage.haskell.org/"}},"pkg-cabal-sha256":"f3bf68acfa0df7a064a378ef2cdcfeb55e6fb96100675f4c593556dcbf3d7194","pkg-src-sha256":"32efb16c2891786209b7cbe5c39df9b3a9ae51e836f1a54f646bc4602b7ab0f5","depends":["base-4.18.2.0","bytestring-0.11.5.3","containers-0.6.7","deepseq-1.4.8.1","filepath-1.4.200.1","ghc-bignum-1.3","ghc-prim-0.10.0","text-2.0.2"],"exe-depends":[],"component-name":"lib"},{"type":"configured","id":"heaps-0.4-582bc0f356369f4ac6a9badb439391d1ff82a6d0d7a4a55fe3db91d6d1a32875","pkg-name":"heaps","pkg-version":"0.4","flags":{},"style":"global","pkg-src":{"type":"repo-tar","repo":{"type":"secure-repo","uri":"http://hackage.haskell.org/"}},"pkg-cabal-sha256":"66b19fcd813b0e4db3e0bac541bd46606c3b13d3d081d9f9666f4be0f5ff14b8","pkg-src-sha256":"89329df8b95ae99ef272e41e7a2d0fe2f1bb7eacfcc34bc01664414b33067cfd","depends":["base-4.18.2.0"],"exe-depends":[],"component-name":"lib"},{"type":"configured","id":"js-dgtable-0.5.2-40721bc9982faf5e0f71e3119e01102f429fefca9219230921535f5382e177f7","pkg-name":"js-dgtable","pkg-version":"0.5.2","flags":{},"style":"global","pkg-src":{"type":"repo-tar","repo":{"type":"secure-repo","uri":"http://hackage.haskell.org/"}},"pkg-cabal-sha256":"f75cb4fa53c88c65794becdd48eb0d3b2b8abd89a3d5c19e87af91f5225c15e4","pkg-src-sha256":"e28dd65bee8083b17210134e22e01c6349dc33c3b7bd17705973cd014e9f20ac","depends":["base-4.18.2.0"],"exe-depends":[],"component-name":"lib"},{"type":"configured","id":"js-flot-0.8.3-fadd4ccb467ede662552cdc382e02fb02027d8181620f296bae75d1f76774b0b","pkg-name":"js-flot","pkg-version":"0.8.3","flags":{},"style":"global","pkg-src":{"type":"repo-tar","repo":{"type":"secure-repo","uri":"http://hackage.haskell.org/"}},"pkg-cabal-sha256":"4c1c447a9a2fba0adba6d30678302a30c32b9dfde9e7aa9e9156483e1545096d","pkg-src-sha256":"1ba2f2a6b8d85da76c41f526c98903cbb107f8642e506c072c1e7e3c20fe5e7a","depends":["base-4.18.2.0"],"exe-depends":[],"component-name":"lib"},{"type":"configured","id":"js-jquery-3.3.1-6a8cc1e84fc203e099644c71b32217b6615b055459038eb73f1b008db4b2f236","pkg-name":"js-jquery","pkg-version":"3.3.1","flags":{},"style":"global","pkg-src":{"type":"repo-tar","repo":{"type":"secure-repo","uri":"http://hackage.haskell.org/"}},"pkg-cabal-sha256":"59ab6c79159549ef94b584abce8e6d3b336014c2cce1337b59a8f637e2856df5","pkg-src-sha256":"e0e0681f0da1130ede4e03a051630ea439c458cb97216cdb01771ebdbe44069b","depends":["base-4.18.2.0"],"exe-depends":[],"component-name":"lib"},{"type":"pre-existing","id":"mtl-2.3.1","pkg-name":"mtl","pkg-version":"2.3.1","depends":["base-4.18.2.0","transformers-0.6.1.0"]},{"type":"pre-existing","id":"parsec-3.1.16.1","pkg-name":"parsec","pkg-version":"3.1.16.1","depends":["base-4.18.2.0","bytestring-0.11.5.3","mtl-2.3.1","text-2.0.2"]},{"type":"pre-existing","id":"pretty-1.1.3.6","pkg-name":"pretty","pkg-version":"1.1.3.6","depends":["base-4.18.2.0","deepseq-1.4.8.1","ghc-prim-0.10.0"]},{"type":"configured","id":"primitive-0.9.0.0-b327a6c8ea4577ea7938607770d363048048a528efdff4bc67a582b5feac66fc","pkg-name":"primitive","pkg-version":"0.9.0.0","flags":{},"style":"global","pkg-src":{"type":"repo-tar","repo":{"type":"secure-repo","uri":"http://hackage.haskell.org/"}},"pkg-cabal-sha256":"1ceb39f67c0e614180f2992a6d30f26603ab2cd23c4f8e25b30213f98807f6f1","pkg-src-sha256":"696d4bd291c94d736142d6182117dca4258d3ef28bfefdb649ac8b5ecd0999c7","depends":["base-4.18.2.0","deepseq-1.4.8.1","template-haskell-2.20.0.0","transformers-0.6.1.0"],"exe-depends":[],"component-name":"lib"},{"type":"pre-existing","id":"process-1.6.17.0","pkg-name":"process","pkg-version":"1.6.17.0","depends":["base-4.18.2.0","deepseq-1.4.8.1","directory-1.3.8.1","filepath-1.4.200.1","unix-2.8.4.0"]},{"type":"configured","id":"random-1.2.1.1-e2b8c23c50d3a2e2d7c30c46d2a3344a9c2a38bf319885311c62efb7342cb80b","pkg-name":"random","pkg-version":"1.2.1.1","flags":{},"style":"global","pkg-src":{"type":"repo-tar","repo":{"type":"secure-repo","uri":"http://hackage.haskell.org/"}},"pkg-cabal-sha256":"e7c1f881159d5cc788619c9ee8b8f340ba2ff0db571cdf3d1a1968ebc5108789","pkg-src-sha256":"3e1272f7ed6a4d7bd1712b90143ec326fee9b225789222379fea20a9c90c9b76","depends":["base-4.18.2.0","bytestring-0.11.5.3","deepseq-1.4.8.1","mtl-2.3.1","splitmix-0.1.0.5-232d2b1a4ce5cacd620dd2472d411c8d63e777af17182b5d56b631942f729187"],"exe-depends":[],"component-name":"lib"},{"type":"configured","id":"shake-0.19.7-9369313762a66f683383a6b11b819b9aafcd8f0d518c176b2cb1f5a198ccf8cd","pkg-name":"shake","pkg-version":"0.19.7","flags":{"cloud":false,"embed-files":false,"portable":false},"style":"global","pkg-src":{"type":"repo-tar","repo":{"type":"secure-repo","uri":"http://hackage.haskell.org/"}},"pkg-cabal-sha256":"3cb5814cce210b9756fa9246ff1b2a1e1b86be46fdc4c5e2baacdc5bf83ce5c3","pkg-src-sha256":"352a56af12f70b50d564dcb61131555577281957ee196f1702a3723c0a3699d1","depends":["base-4.18.2.0","binary-0.8.9.1","bytestring-0.11.5.3","deepseq-1.4.8.1","directory-1.3.8.1","extra-1.7.14-5b3875febb50e86e1fd0471cb61fc83c08afae84f74dd82e3fe23bdc226bd3c9","filepath-1.4.200.1","filepattern-0.1.3-e0b05225cb586afea88cbd5fba3b81dbc7d8925b44e8dd467cfd9ed208da351b","hashable-1.4.3.0-cf03199beb9180bbbb9b383e3088c03deb3be32037dd08933c3d3ba08171d03e","heaps-0.4-582bc0f356369f4ac6a9badb439391d1ff82a6d0d7a4a55fe3db91d6d1a32875","js-dgtable-0.5.2-40721bc9982faf5e0f71e3119e01102f429fefca9219230921535f5382e177f7","js-flot-0.8.3-fadd4ccb467ede662552cdc382e02fb02027d8181620f296bae75d1f76774b0b","js-jquery-3.3.1-6a8cc1e84fc203e099644c71b32217b6615b055459038eb73f1b008db4b2f236","primitive-0.9.0.0-b327a6c8ea4577ea7938607770d363048048a528efdff4bc67a582b5feac66fc","process-1.6.17.0","random-1.2.1.1-e2b8c23c50d3a2e2d7c30c46d2a3344a9c2a38bf319885311c62efb7342cb80b","time-1.12.2","transformers-0.6.1.0","unix-2.8.4.0","unordered-containers-0.2.19.1-0eb0d95c2f270578763e7cbc938fd7d57fa65a8f3c10aa64b616bc79bbf6b993","utf8-string-1.0.2-134849f72bdb35a6754bed838d5c0f0412c3ca2863338b599b4cd9b0af070e05"],"exe-depends":[],"component-name":"lib"},{"type":"configured","id":"shake-0.19.7-e-shake-74d898c5705f61c05a8a7aee14d32e6ef38e5584b58da7af7f06efe4c3c36716","pkg-name":"shake","pkg-version":"0.19.7","flags":{"cloud":false,"embed-files":false,"portable":false},"style":"global","pkg-src":{"type":"repo-tar","repo":{"type":"secure-repo","uri":"http://hackage.haskell.org/"}},"pkg-cabal-sha256":"3cb5814cce210b9756fa9246ff1b2a1e1b86be46fdc4c5e2baacdc5bf83ce5c3","pkg-src-sha256":"352a56af12f70b50d564dcb61131555577281957ee196f1702a3723c0a3699d1","depends":["base-4.18.2.0","binary-0.8.9.1","bytestring-0.11.5.3","deepseq-1.4.8.1","directory-1.3.8.1","extra-1.7.14-5b3875febb50e86e1fd0471cb61fc83c08afae84f74dd82e3fe23bdc226bd3c9","filepath-1.4.200.1","filepattern-0.1.3-e0b05225cb586afea88cbd5fba3b81dbc7d8925b44e8dd467cfd9ed208da351b","hashable-1.4.3.0-cf03199beb9180bbbb9b383e3088c03deb3be32037dd08933c3d3ba08171d03e","heaps-0.4-582bc0f356369f4ac6a9badb439391d1ff82a6d0d7a4a55fe3db91d6d1a32875","js-dgtable-0.5.2-40721bc9982faf5e0f71e3119e01102f429fefca9219230921535f5382e177f7","js-flot-0.8.3-fadd4ccb467ede662552cdc382e02fb02027d8181620f296bae75d1f76774b0b","js-jquery-3.3.1-6a8cc1e84fc203e099644c71b32217b6615b055459038eb73f1b008db4b2f236","primitive-0.9.0.0-b327a6c8ea4577ea7938607770d363048048a528efdff4bc67a582b5feac66fc","process-1.6.17.0","random-1.2.1.1-e2b8c23c50d3a2e2d7c30c46d2a3344a9c2a38bf319885311c62efb7342cb80b","time-1.12.2","transformers-0.6.1.0","unix-2.8.4.0","unordered-containers-0.2.19.1-0eb0d95c2f270578763e7cbc938fd7d57fa65a8f3c10aa64b616bc79bbf6b993","utf8-string-1.0.2-134849f72bdb35a6754bed838d5c0f0412c3ca2863338b599b4cd9b0af070e05"],"exe-depends":[],"component-name":"exe:shake","bin-file":"/store/ghc-9.6.4/shake-0.19.7-e-shake-74d898c5705f61c05a8a7aee14d32e6ef38e5584b58da7af7f06efe4c3c36716/bin/shake"},{"type":"configured","id":"splitmix-0.1.0.5-232d2b1a4ce5cacd620dd2472d411c8d63e777af17182b5d56b631942f729187","pkg-name":"splitmix","pkg-version":"0.1.0.5","flags":{"optimised-mixer":false},"style":"global","pkg-src":{"type":"repo-tar","repo":{"type":"secure-repo","uri":"http://hackage.haskell.org/"}},"pkg-cabal-sha256":"bac0ae8d46a04e410666b0c8081cff63f060f29157983b569ca86ddb6e6e0dc6","pkg-src-sha256":"9df07a9611ef45f1b1258a0b412f4d02c920248f69d2e2ce8ccda328f7e13002","depends":["base-4.18.2.0","deepseq-1.4.8.1"],"exe-depends":[],"component-name":"lib"},{"type":"pre-existing","id":"stm-2.5.1.0","pkg-name":"stm","pkg-version":"2.5.1.0","depends":["array-0.5.6.0","base-4.18.2.0"]},{"type":"pre-existing","id":"system-cxx-std-lib-1.0","pkg-name":"system-cxx-std-lib","pkg-version":"1.0","depends":[]},{"type":"pre-existing","id":"template-haskell-2.20.0.0","pkg-name":"template-haskell","pkg-version":"2.20.0.0","depends":["base-4.18.2.0","ghc-boot-th-9.6.4","ghc-prim-0.10.0","pretty-1.1.3.6"]},{"type":"pre-existing","id":"text-2.0.2","pkg-name":"text","pkg-version":"2.0.2","depends":["array-0.5.6.0","base-4.18.2.0","binary-0.8.9.1","bytestring-0.11.5.3","deepseq-1.4.8.1","ghc-prim-0.10.0","system-cxx-std-lib-1.0","template-haskell-2.20.0.0"]},{"type":"pre-existing","id":"time-1.12.2","pkg-name":"time","pkg-version":"1.12.2","depends":["base-4.18.2.0","deepseq-1.4.8.1"]},{"type":"pre-existing","id":"transformers-0.6.1.0","pkg-name":"transformers","pkg-version":"0.6.1.0","depends":["base-4.18.2.0","ghc-prim-0.10.0"]},{"type":"pre-existing","id":"unix-2.8.4.0","pkg-name":"unix","pkg-version":"2.8.4.0","depends":["base-4.18.2.0","bytestring-0.11.5.3","filepath-1.4.200.1","time-1.12.2"]},{"type":"configured","id":"unordered-containers-0.2.19.1-0eb0d95c2f270578763e7cbc938fd7d57fa65a8f3c10aa64b616bc79bbf6b993","pkg-name":"unordered-containers","pkg-version":"0.2.19.1","flags":{"debug":false},"style":"global","pkg-src":{"type":"repo-tar","repo":{"type":"secure-repo","uri":"http://hackage.haskell.org/"}},"pkg-cabal-sha256":"1c28ca429e3960de0330908579a427ccacddd700cb84ec1969e2bbe576152add","pkg-src-sha256":"1b27bec5e0d522b27a6029ebf4c4a6d40acbc083c787008e32fb55c4b1d128d2","depends":["base-4.18.2.0","deepseq-1.4.8.1","hashable-1.4.3.0-cf03199beb9180bbbb9b383e3088c03deb3be32037dd08933c3d3ba08171d03e","template-haskell-2.20.0.0"],"exe-depends":[],"component-name":"lib"},{"type":"configured","id":"utf8-string-1.0.2-134849f72bdb35a6754bed838d5c0f0412c3ca2863338b599b4cd9b0af070e05","pkg-name":"utf8-string","pkg-version":"1.0.2","flags":{},"style":"global","pkg-src":{"type":"repo-tar","repo":{"type":"secure-repo","uri":"http://hackage.haskell.org/"}},"pkg-cabal-sha256":"79416292186feeaf1f60e49ac5a1ffae9bf1b120e040a74bf0e81ca7f1d31d3f","pkg-src-sha256":"ee48deada7600370728c4156cb002441de770d0121ae33a68139a9ed9c19b09a","depends":["base-4.18.2.0","bytestring-0.11.5.3"],"exe-depends":[],"component-name":"lib"}],"targets":[{"pkg-name":"Cabal","pkg-version":"3.10.1.0","component-name":"lib","available":[{"id":"Cabal-3.10.1.0","component-name":"lib","build-by-default":true}]},{"pkg-name":"Cabal-syntax","pkg-version":"3.10.1.0","component-name":"lib","available":[{"id":"Cabal-syntax-3.10.1.0","component-name":"lib","build-by-default":true}]},{"pkg-name":"QuickCheck","pkg-version":"2.14.3","component-name":"lib","available":[{"id":"QuickCheck-2.14.3-116702925e70e233df64507a5cae969ff9c69efe35b3cc35e56c87d47168ff11","component-name":"lib","build-by-default":true}]},{"pkg-name":"QuickCheck","pkg-version":"2.14.3","component-name":"test:test-quickcheck","available":["TargetNotLocal"]},{"pkg-name":"QuickCheck","pkg-version":"2.14.3","component-name":"test:test-quickcheck-gcoarbitrary","available":["TargetNotLocal"]},{"pkg-name":"QuickCheck","pkg-version":"2.14.3","component-name":"test:test-quickcheck-generators","available":["TargetNotLocal"]},{"pkg-name":"QuickCheck","pkg-version":"2.14.3","component-name":"test:test-quickcheck-gshrink","available":["TargetNotLocal"]},{"pkg-name":"QuickCheck","pkg-version":"2.14.3","component-name":"test:test-quickcheck-misc","available":["TargetNotLocal"]},{"pkg-name":"QuickCheck","pkg-version":"2.14.3","component-name":"test:test-quickcheck-monadfix","available":["TargetNotLocal"]},{"pkg-name":"QuickCheck","pkg-version":"2.14.3","component-name":"test:test-quickcheck-split","available":["TargetNotLocal"]},{"pkg-name":"QuickCheck","pkg-version":"2.14.3","component-name":"test:test-quickcheck-terminal","available":["TargetNotLocal"]},{"pkg-name":"array","pkg-version":"0.5.6.0","component-name":"lib","available":[{"id":"array-0.5.6.0","component-name":"lib","build-by-default":true}]},{"pkg-name":"base","pkg-version":"4.18.2.0","component-name":"lib","available":[{"id":"base-4.18.2.0","component-name":"lib","build-by-default":true}]},{"pkg-name":"base16-bytestring","pkg-version":"1.0.2.0","component-name":"lib","available":[{"id":"base16-bytestring-1.0.2.0-48e234cd9d2674d718111ce6f52d0142cc28a3c5a0493618f8fb6a8b7f7dd1f7","component-name":"lib","build-by-default":true}]},{"pkg-name":"base16-bytestring","pkg-version":"1.0.2.0","component-name":"test:test","available":["TargetNotLocal"]},{"pkg-name":"base16-bytestring","pkg-version":"1.0.2.0","component-name":"bench:bench","available":["TargetNotLocal"]},{"pkg-name":"binary","pkg-version":"0.8.9.1","component-name":"lib","available":[{"id":"binary-0.8.9.1","component-name":"lib","build-by-default":true}]},{"pkg-name":"bytestring","pkg-version":"0.11.5.3","component-name":"lib","available":[{"id":"bytestring-0.11.5.3","component-name":"lib","build-by-default":true}]},{"pkg-name":"clock","pkg-version":"0.8.4","component-name":"lib","available":[{"id":"clock-0.8.4-b6af39fafa1fb93e9520050c562fc2d9803a08bc83cda5d8b8d907beefe150aa","component-name":"lib","build-by-default":true}]},{"pkg-name":"clock","pkg-version":"0.8.4","component-name":"test:test","available":["TargetNotLocal"]},{"pkg-name":"clock","pkg-version":"0.8.4","component-name":"bench:benchmarks","available":["TargetNotLocal"]},{"pkg-name":"containers","pkg-version":"0.6.7","component-name":"lib","available":[{"id":"containers-0.6.7","component-name":"lib","build-by-default":true}]},{"pkg-name":"cryptohash-sha256","pkg-version":"0.11.102.1","component-name":"lib","available":[{"id":"cryptohash-sha256-0.11.102.1-898616048405d66a1ac2538c4878965bc94c2902780e27b3e48e171cdfe34cf8","component-name":"lib","build-by-default":true}]},{"pkg-name":"cryptohash-sha256","pkg-version":"0.11.102.1","component-name":"exe:sha256sum","available":["TargetNotBuildable"]},{"pkg-name":"cryptohash-sha256","pkg-version":"0.11.102.1","component-name":"test:test-sha256","available":["TargetNotLocal"]},{"pkg-name":"cryptohash-sha256","pkg-version":"0.11.102.1","component-name":"bench:bench-sha256","available":["TargetNotLocal"]},{"pkg-name":"deepseq","pkg-version":"1.4.8.1","component-name":"lib","available":[{"id":"deepseq-1.4.8.1","component-name":"lib","build-by-default":true}]},{"pkg-name":"directory","pkg-version":"1.3.8.1","component-name":"lib","available":[{"id":"directory-1.3.8.1","component-name":"lib","build-by-default":true}]},{"pkg-name":"exceptions","pkg-version":"0.10.7","component-name":"lib","available":[{"id":"exceptions-0.10.7","component-name":"lib","build-by-default":true}]},{"pkg-name":"extra","pkg-version":"1.7.14","component-name":"lib","available":[{"id":"extra-1.7.14-5b3875febb50e86e1fd0471cb61fc83c08afae84f74dd82e3fe23bdc226bd3c9","component-name":"lib","build-by-default":true}]},{"pkg-name":"extra","pkg-version":"1.7.14","component-name":"test:extra-test","available":["TargetNotLocal"]},{"pkg-name":"filepath","pkg-version":"1.4.200.1","component-name":"lib","available":[{"id":"filepath-1.4.200.1","component-name":"lib","build-by-default":true}]},{"pkg-name":"filepattern","pkg-version":"0.1.3","component-name":"lib","available":[{"id":"filepattern-0.1.3-e0b05225cb586afea88cbd5fba3b81dbc7d8925b44e8dd467cfd9ed208da351b","component-name":"lib","build-by-default":true}]},{"pkg-name":"filepattern","pkg-version":"0.1.3","component-name":"test:filepattern-test","available":["TargetNotLocal"]},{"pkg-name":"ghc-bignum","pkg-version":"1.3","component-name":"lib","available":[{"id":"ghc-bignum-1.3","component-name":"lib","build-by-default":true}]},{"pkg-name":"ghc-boot-th","pkg-version":"9.6.4","component-name":"lib","available":[{"id":"ghc-boot-th-9.6.4","component-name":"lib","build-by-default":true}]},{"pkg-name":"ghc-platform","pkg-version":"0.1.0.0","component-name":"lib","available":[{"id":"ghc-platform-0.1.0.0-inplace","component-name":"lib","build-by-default":true}]},{"pkg-name":"ghc-prim","pkg-version":"0.10.0","component-name":"lib","available":[{"id":"ghc-prim-0.10.0","component-name":"lib","build-by-default":true}]},{"pkg-name":"ghc-toolchain","pkg-version":"0.1.0.0","component-name":"lib","available":[{"id":"ghc-toolchain-0.1.0.0-inplace","component-name":"lib","build-by-default":true}]},{"pkg-name":"hadrian","pkg-version":"0.1.0.0","component-name":"exe:hadrian","available":[{"id":"hadrian-0.1.0.0-inplace-hadrian","component-name":"exe:hadrian","build-by-default":true}]},{"pkg-name":"hashable","pkg-version":"1.4.3.0","component-name":"lib","available":[{"id":"hashable-1.4.3.0-cf03199beb9180bbbb9b383e3088c03deb3be32037dd08933c3d3ba08171d03e","component-name":"lib","build-by-default":true}]},{"pkg-name":"hashable","pkg-version":"1.4.3.0","component-name":"test:hashable-examples","available":["TargetNotLocal"]},{"pkg-name":"hashable","pkg-version":"1.4.3.0","component-name":"test:hashable-tests","available":["TargetNotLocal"]},{"pkg-name":"heaps","pkg-version":"0.4","component-name":"lib","available":[{"id":"heaps-0.4-582bc0f356369f4ac6a9badb439391d1ff82a6d0d7a4a55fe3db91d6d1a32875","component-name":"lib","build-by-default":true}]},{"pkg-name":"js-dgtable","pkg-version":"0.5.2","component-name":"lib","available":[{"id":"js-dgtable-0.5.2-40721bc9982faf5e0f71e3119e01102f429fefca9219230921535f5382e177f7","component-name":"lib","build-by-default":true}]},{"pkg-name":"js-dgtable","pkg-version":"0.5.2","component-name":"test:js-dgtable-test","available":["TargetNotLocal"]},{"pkg-name":"js-flot","pkg-version":"0.8.3","component-name":"lib","available":[{"id":"js-flot-0.8.3-fadd4ccb467ede662552cdc382e02fb02027d8181620f296bae75d1f76774b0b","component-name":"lib","build-by-default":true}]},{"pkg-name":"js-flot","pkg-version":"0.8.3","component-name":"test:js-flot-test","available":["TargetNotLocal"]},{"pkg-name":"js-jquery","pkg-version":"3.3.1","component-name":"lib","available":[{"id":"js-jquery-3.3.1-6a8cc1e84fc203e099644c71b32217b6615b055459038eb73f1b008db4b2f236","component-name":"lib","build-by-default":true}]},{"pkg-name":"js-jquery","pkg-version":"3.3.1","component-name":"test:js-jquery-test","available":["TargetNotLocal"]},{"pkg-name":"mtl","pkg-version":"2.3.1","component-name":"lib","available":[{"id":"mtl-2.3.1","component-name":"lib","build-by-default":true}]},{"pkg-name":"parsec","pkg-version":"3.1.16.1","component-name":"lib","available":[{"id":"parsec-3.1.16.1","component-name":"lib","build-by-default":true}]},{"pkg-name":"pretty","pkg-version":"1.1.3.6","component-name":"lib","available":[{"id":"pretty-1.1.3.6","component-name":"lib","build-by-default":true}]},{"pkg-name":"primitive","pkg-version":"0.9.0.0","component-name":"lib","available":[{"id":"primitive-0.9.0.0-b327a6c8ea4577ea7938607770d363048048a528efdff4bc67a582b5feac66fc","component-name":"lib","build-by-default":true}]},{"pkg-name":"primitive","pkg-version":"0.9.0.0","component-name":"test:test-qc","available":["TargetNotLocal"]},{"pkg-name":"primitive","pkg-version":"0.9.0.0","component-name":"bench:bench","available":["TargetNotLocal"]},{"pkg-name":"process","pkg-version":"1.6.17.0","component-name":"lib","available":[{"id":"process-1.6.17.0","component-name":"lib","build-by-default":true}]},{"pkg-name":"random","pkg-version":"1.2.1.1","component-name":"lib","available":[{"id":"random-1.2.1.1-e2b8c23c50d3a2e2d7c30c46d2a3344a9c2a38bf319885311c62efb7342cb80b","component-name":"lib","build-by-default":true}]},{"pkg-name":"random","pkg-version":"1.2.1.1","component-name":"test:doctests","available":["TargetNotLocal"]},{"pkg-name":"random","pkg-version":"1.2.1.1","component-name":"test:legacy-test","available":["TargetNotLocal"]},{"pkg-name":"random","pkg-version":"1.2.1.1","component-name":"test:spec","available":["TargetNotLocal"]},{"pkg-name":"random","pkg-version":"1.2.1.1","component-name":"test:spec-inspection","available":["TargetNotLocal"]},{"pkg-name":"random","pkg-version":"1.2.1.1","component-name":"bench:bench","available":["TargetNotLocal"]},{"pkg-name":"random","pkg-version":"1.2.1.1","component-name":"bench:legacy-bench","available":["TargetNotLocal"]},{"pkg-name":"shake","pkg-version":"0.19.7","component-name":"lib","available":[{"id":"shake-0.19.7-9369313762a66f683383a6b11b819b9aafcd8f0d518c176b2cb1f5a198ccf8cd","component-name":"lib","build-by-default":true}]},{"pkg-name":"shake","pkg-version":"0.19.7","component-name":"exe:shake","available":[{"id":"shake-0.19.7-e-shake-74d898c5705f61c05a8a7aee14d32e6ef38e5584b58da7af7f06efe4c3c36716","component-name":"exe:shake","build-by-default":true}]},{"pkg-name":"shake","pkg-version":"0.19.7","component-name":"test:shake-test","available":["TargetNotLocal"]},{"pkg-name":"splitmix","pkg-version":"0.1.0.5","component-name":"lib","available":[{"id":"splitmix-0.1.0.5-232d2b1a4ce5cacd620dd2472d411c8d63e777af17182b5d56b631942f729187","component-name":"lib","build-by-default":true}]},{"pkg-name":"splitmix","pkg-version":"0.1.0.5","component-name":"test:examples","available":["TargetNotLocal"]},{"pkg-name":"splitmix","pkg-version":"0.1.0.5","component-name":"test:initialization","available":["TargetNotLocal"]},{"pkg-name":"splitmix","pkg-version":"0.1.0.5","component-name":"test:montecarlo-pi","available":["TargetNotLocal"]},{"pkg-name":"splitmix","pkg-version":"0.1.0.5","component-name":"test:montecarlo-pi-32","available":["TargetNotLocal"]},{"pkg-name":"splitmix","pkg-version":"0.1.0.5","component-name":"test:splitmix-dieharder","available":["TargetNotLocal"]},{"pkg-name":"splitmix","pkg-version":"0.1.0.5","component-name":"test:splitmix-tests","available":["TargetNotLocal"]},{"pkg-name":"splitmix","pkg-version":"0.1.0.5","component-name":"test:splitmix-testu01","available":["TargetNotLocal"]},{"pkg-name":"splitmix","pkg-version":"0.1.0.5","component-name":"bench:comparison","available":["TargetNotLocal"]},{"pkg-name":"splitmix","pkg-version":"0.1.0.5","component-name":"bench:range","available":["TargetNotLocal"]},{"pkg-name":"splitmix","pkg-version":"0.1.0.5","component-name":"bench:simple-sum","available":["TargetNotLocal"]},{"pkg-name":"stm","pkg-version":"2.5.1.0","component-name":"lib","available":[{"id":"stm-2.5.1.0","component-name":"lib","build-by-default":true}]},{"pkg-name":"system-cxx-std-lib","pkg-version":"1.0","component-name":"lib","available":[{"id":"system-cxx-std-lib-1.0","component-name":"lib","build-by-default":true}]},{"pkg-name":"template-haskell","pkg-version":"2.20.0.0","component-name":"lib","available":[{"id":"template-haskell-2.20.0.0","component-name":"lib","build-by-default":true}]},{"pkg-name":"text","pkg-version":"2.0.2","component-name":"lib","available":[{"id":"text-2.0.2","component-name":"lib","build-by-default":true}]},{"pkg-name":"time","pkg-version":"1.12.2","component-name":"lib","available":[{"id":"time-1.12.2","component-name":"lib","build-by-default":true}]},{"pkg-name":"transformers","pkg-version":"0.6.1.0","component-name":"lib","available":[{"id":"transformers-0.6.1.0","component-name":"lib","build-by-default":true}]},{"pkg-name":"unix","pkg-version":"2.8.4.0","component-name":"lib","available":[{"id":"unix-2.8.4.0","component-name":"lib","build-by-default":true}]},{"pkg-name":"unordered-containers","pkg-version":"0.2.19.1","component-name":"lib","available":[{"id":"unordered-containers-0.2.19.1-0eb0d95c2f270578763e7cbc938fd7d57fa65a8f3c10aa64b616bc79bbf6b993","component-name":"lib","build-by-default":true}]},{"pkg-name":"unordered-containers","pkg-version":"0.2.19.1","component-name":"test:unordered-containers-tests","available":["TargetNotLocal"]},{"pkg-name":"unordered-containers","pkg-version":"0.2.19.1","component-name":"bench:benchmarks","available":["TargetNotLocal"]},{"pkg-name":"utf8-string","pkg-version":"1.0.2","component-name":"lib","available":[{"id":"utf8-string-1.0.2-134849f72bdb35a6754bed838d5c0f0412c3ca2863338b599b4cd9b0af070e05","component-name":"lib","build-by-default":true}]},{"pkg-name":"utf8-string","pkg-version":"1.0.2","component-name":"test:unit-tests","available":["TargetNotLocal"]}]} \ No newline at end of file diff --git a/materialized/ghc964/hadrian-ghc94/hadrian/.plan.nix/hadrian.nix b/materialized/ghc964/hadrian-ghc94/hadrian/.plan.nix/hadrian.nix deleted file mode 100644 index 6a031230a6..0000000000 --- a/materialized/ghc964/hadrian-ghc94/hadrian/.plan.nix/hadrian.nix +++ /dev/null @@ -1,161 +0,0 @@ -{ 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."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-ghc94/hadrian/cabal-files/Cabal-syntax.nix b/materialized/ghc964/hadrian-ghc94/hadrian/cabal-files/Cabal-syntax.nix deleted file mode 100644 index dabbcbdee8..0000000000 --- a/materialized/ghc964/hadrian-ghc94/hadrian/cabal-files/Cabal-syntax.nix +++ /dev/null @@ -1,55 +0,0 @@ -{ 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-ghc94/hadrian/cabal-files/Cabal.nix b/materialized/ghc964/hadrian-ghc94/hadrian/cabal-files/Cabal.nix deleted file mode 100644 index be0b5019d9..0000000000 --- a/materialized/ghc964/hadrian-ghc94/hadrian/cabal-files/Cabal.nix +++ /dev/null @@ -1,56 +0,0 @@ -{ 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-ghc94/hadrian/cabal-files/QuickCheck.nix b/materialized/ghc964/hadrian-ghc94/hadrian/cabal-files/QuickCheck.nix deleted file mode 100644 index 62e36aa8b6..0000000000 --- a/materialized/ghc964/hadrian-ghc94/hadrian/cabal-files/QuickCheck.nix +++ /dev/null @@ -1,119 +0,0 @@ -{ 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-ghc94/hadrian/cabal-files/clock.nix b/materialized/ghc964/hadrian-ghc94/hadrian/cabal-files/clock.nix deleted file mode 100644 index 1db6e2d90d..0000000000 --- a/materialized/ghc964/hadrian-ghc94/hadrian/cabal-files/clock.nix +++ /dev/null @@ -1,59 +0,0 @@ -{ 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-ghc94/hadrian/cabal-files/directory.nix b/materialized/ghc964/hadrian-ghc94/hadrian/cabal-files/directory.nix deleted file mode 100644 index a93c7eb928..0000000000 --- a/materialized/ghc964/hadrian-ghc94/hadrian/cabal-files/directory.nix +++ /dev/null @@ -1,57 +0,0 @@ -{ system - , compiler - , flags - , pkgs - , hsPkgs - , pkgconfPkgs - , errorHandler - , config - , ... }: - ({ - flags = {}; - package = { - specVersion = "2.2"; - identifier = { name = "directory"; version = "1.3.8.1"; }; - license = "BSD-3-Clause"; - copyright = ""; - maintainer = "libraries@haskell.org"; - author = ""; - homepage = ""; - url = ""; - synopsis = "Platform-agnostic library for filesystem operations"; - description = "This library provides a basic set of operations for manipulating files and\ndirectories in a portable way."; - buildType = "Configure"; - }; - components = { - "library" = { - depends = [ - (hsPkgs."base" or (errorHandler.buildDepError "base")) - (hsPkgs."time" or (errorHandler.buildDepError "time")) - (hsPkgs."filepath" or (errorHandler.buildDepError "filepath")) - ] ++ (if system.isWindows - then [ (hsPkgs."Win32" or (errorHandler.buildDepError "Win32")) ] - else [ (hsPkgs."unix" or (errorHandler.buildDepError "unix")) ]); - buildable = true; - }; - tests = { - "test" = { - depends = [ - (hsPkgs."base" or (errorHandler.buildDepError "base")) - (hsPkgs."directory" or (errorHandler.buildDepError "directory")) - (hsPkgs."filepath" or (errorHandler.buildDepError "filepath")) - (hsPkgs."time" or (errorHandler.buildDepError "time")) - ] ++ (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/directory-1.3.8.1.tar.gz"; - sha256 = "bd8253197587d32d4553070d2de89d3817176860932b0e9ab7bb7ba3759d8e9c"; - }); - }) // { - package-description-override = "cabal-version: 2.2\r\nname: directory\r\nversion: 1.3.8.1\r\nx-revision: 1\r\nlicense: BSD-3-Clause\r\nlicense-file: LICENSE\r\nmaintainer: libraries@haskell.org\r\nbug-reports: https://github.com/haskell/directory/issues\r\nsynopsis: Platform-agnostic library for filesystem operations\r\ndescription:\r\n This library provides a basic set of operations for manipulating files and\r\n directories in a portable way.\r\ncategory: System\r\nbuild-type: Configure\r\ntested-with: GHC == 8.6.5 || == 8.10.7 || == 9.0.2 || == 9.2.4 || == 9.4.3\r\n\r\nextra-tmp-files:\r\n autom4te.cache\r\n config.log\r\n config.status\r\n HsDirectoryConfig.h\r\n\r\nextra-source-files:\r\n HsDirectoryConfig.h.in\r\n README.md\r\n System/Directory/Internal/*.h\r\n changelog.md\r\n configure\r\n configure.ac\r\n directory.buildinfo\r\n tests/*.hs\r\n tests/util.inl\r\n\r\nsource-repository head\r\n type: git\r\n location: https://github.com/haskell/directory\r\n\r\nLibrary\r\n default-language: Haskell2010\r\n other-extensions: CApiFFI, CPP\r\n\r\n exposed-modules:\r\n System.Directory\r\n System.Directory.OsPath\r\n System.Directory.Internal\r\n System.Directory.Internal.Prelude\r\n other-modules:\r\n System.Directory.Internal.C_utimensat\r\n System.Directory.Internal.Common\r\n System.Directory.Internal.Config\r\n System.Directory.Internal.Posix\r\n System.Directory.Internal.Windows\r\n\r\n include-dirs: .\r\n\r\n build-depends:\r\n base >= 4.11.0 && < 4.20,\r\n time >= 1.8.0 && < 1.13,\r\n filepath >= 1.4.100 && < 1.5\r\n if os(windows)\r\n build-depends: Win32 >= 2.13.3 && < 2.14\r\n else\r\n build-depends: unix >= 2.8.0 && < 2.9\r\n\r\n ghc-options: -Wall\r\n\r\ntest-suite test\r\n default-language: Haskell2010\r\n other-extensions: BangPatterns, CPP\r\n default-extensions: OverloadedStrings\r\n ghc-options: -Wall\r\n hs-source-dirs: tests\r\n main-is: Main.hs\r\n type: exitcode-stdio-1.0\r\n build-depends: base, directory, filepath, time\r\n if os(windows)\r\n build-depends: Win32\r\n else\r\n build-depends: unix\r\n other-modules:\r\n TestUtils\r\n Util\r\n -- test-modules-begin\r\n CanonicalizePath\r\n CopyFile001\r\n CopyFile002\r\n CopyFileWithMetadata\r\n CreateDirectory001\r\n CreateDirectoryIfMissing001\r\n CurrentDirectory001\r\n Directory001\r\n DoesDirectoryExist001\r\n DoesPathExist\r\n FileTime\r\n FindFile001\r\n GetDirContents001\r\n GetDirContents002\r\n GetFileSize\r\n GetHomeDirectory001\r\n GetHomeDirectory002\r\n GetPermissions001\r\n LongPaths\r\n MakeAbsolute\r\n MinimizeNameConflicts\r\n PathIsSymbolicLink\r\n RemoveDirectoryRecursive001\r\n RemovePathForcibly\r\n RenameDirectory\r\n RenameFile001\r\n RenamePath\r\n Simplify\r\n T8482\r\n WithCurrentDirectory\r\n Xdg\r\n -- test-modules-end\r\n"; - } \ No newline at end of file diff --git a/materialized/ghc964/hadrian-ghc94/hadrian/cabal-files/exceptions.nix b/materialized/ghc964/hadrian-ghc94/hadrian/cabal-files/exceptions.nix deleted file mode 100644 index 6c5da3df95..0000000000 --- a/materialized/ghc964/hadrian-ghc94/hadrian/cabal-files/exceptions.nix +++ /dev/null @@ -1,73 +0,0 @@ -{ system - , compiler - , flags - , pkgs - , hsPkgs - , pkgconfPkgs - , errorHandler - , config - , ... }: - ({ - flags = { transformers-0-4 = true; }; - package = { - specVersion = "1.10"; - identifier = { name = "exceptions"; version = "0.10.7"; }; - license = "BSD-3-Clause"; - copyright = "Copyright (C) 2013-2015 Edward A. Kmett\nCopyright (C) 2012 Google Inc."; - maintainer = "Edward A. Kmett "; - author = "Edward A. Kmett"; - homepage = "http://github.com/ekmett/exceptions/"; - url = ""; - synopsis = "Extensible optionally-pure exceptions"; - description = "Extensible optionally-pure exceptions."; - buildType = "Simple"; - }; - components = { - "library" = { - depends = ([ - (hsPkgs."base" or (errorHandler.buildDepError "base")) - (hsPkgs."stm" or (errorHandler.buildDepError "stm")) - (hsPkgs."template-haskell" or (errorHandler.buildDepError "template-haskell")) - (hsPkgs."mtl" or (errorHandler.buildDepError "mtl")) - ] ++ pkgs.lib.optional (!(compiler.isGhc && compiler.version.ge "8.0")) (hsPkgs."fail" or (errorHandler.buildDepError "fail"))) ++ (if flags.transformers-0-4 - then [ - (hsPkgs."transformers" or (errorHandler.buildDepError "transformers")) - ] - else [ - (hsPkgs."transformers" or (errorHandler.buildDepError "transformers")) - (hsPkgs."transformers-compat" or (errorHandler.buildDepError "transformers-compat")) - ]); - buildable = true; - }; - tests = { - "exceptions-tests" = { - depends = [ - (hsPkgs."base" or (errorHandler.buildDepError "base")) - (hsPkgs."exceptions" or (errorHandler.buildDepError "exceptions")) - (hsPkgs."stm" or (errorHandler.buildDepError "stm")) - (hsPkgs."template-haskell" or (errorHandler.buildDepError "template-haskell")) - (hsPkgs."mtl" or (errorHandler.buildDepError "mtl")) - (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."QuickCheck" or (errorHandler.buildDepError "QuickCheck")) - ] ++ (if flags.transformers-0-4 - then [ - (hsPkgs."transformers" or (errorHandler.buildDepError "transformers")) - ] - else [ - (hsPkgs."transformers" or (errorHandler.buildDepError "transformers")) - (hsPkgs."transformers-compat" or (errorHandler.buildDepError "transformers-compat")) - ]); - buildable = true; - }; - }; - }; - } // { - src = pkgs.lib.mkDefault (pkgs.fetchurl { - url = "http://hackage.haskell.org/package/exceptions-0.10.7.tar.gz"; - sha256 = "9a42ade4c8b53d8da5350e8e0e2929f4ef128c4b8591b120656455310b546049"; - }); - }) // { - package-description-override = "name: exceptions\r\ncategory: Control, Exceptions, Monad\r\nversion: 0.10.7\r\nx-revision: 1\r\ncabal-version: >= 1.10\r\nlicense: BSD3\r\nlicense-file: LICENSE\r\nauthor: Edward A. Kmett\r\nmaintainer: Edward A. Kmett \r\nstability: provisional\r\nhomepage: http://github.com/ekmett/exceptions/\r\nbug-reports: http://github.com/ekmett/exceptions/issues\r\ncopyright: Copyright (C) 2013-2015 Edward A. Kmett\r\n Copyright (C) 2012 Google Inc.\r\nbuild-type: Simple\r\ntested-with: GHC == 7.4.2\r\n , GHC == 7.6.3\r\n , GHC == 7.8.4\r\n , GHC == 7.10.3\r\n , GHC == 8.0.2\r\n , GHC == 8.2.2\r\n , GHC == 8.4.4\r\n , GHC == 8.6.5\r\n , GHC == 8.8.4\r\n , GHC == 8.10.7\r\n , GHC == 9.0.2\r\n , GHC == 9.2.2\r\nsynopsis: Extensible optionally-pure exceptions\r\ndescription: Extensible optionally-pure exceptions.\r\n\r\nextra-source-files:\r\n .ghci\r\n .gitignore\r\n .vim.custom\r\n AUTHORS.markdown\r\n README.markdown\r\n CHANGELOG.markdown\r\n\r\nsource-repository head\r\n type: git\r\n location: git://github.com/ekmett/exceptions.git\r\n\r\nflag transformers-0-4\r\n description: Use @transformers-0.4@ or later.\r\n default: True\r\n\r\nlibrary\r\n build-depends:\r\n base >= 4.5 && < 5,\r\n stm >= 2.2 && < 3,\r\n template-haskell >= 2.7 && < 2.21,\r\n mtl >= 2.0 && < 2.4\r\n\r\n if !impl(ghc >= 8.0)\r\n build-depends: fail == 4.9.*\r\n\r\n if flag(transformers-0-4)\r\n build-depends:\r\n transformers >= 0.4 && < 0.7\r\n else\r\n build-depends:\r\n transformers >= 0.2 && < 0.4,\r\n transformers-compat >= 0.3 && < 0.8\r\n\r\n exposed-modules:\r\n Control.Monad.Catch\r\n Control.Monad.Catch.Pure\r\n\r\n ghc-options: -Wall -fwarn-tabs -O2\r\n hs-source-dirs: src\r\n default-language: Haskell2010\r\n\r\ntest-suite exceptions-tests\r\n main-is: Tests.hs\r\n other-modules: Control.Monad.Catch.Tests\r\n hs-source-dirs: tests\r\n ghc-options: -Wall -fwarn-tabs\r\n default-language: Haskell2010\r\n type: exitcode-stdio-1.0\r\n build-depends:\r\n base,\r\n exceptions,\r\n stm,\r\n template-haskell,\r\n mtl >= 2.0,\r\n test-framework >= 0.8 && < 0.9,\r\n test-framework-hunit >= 0.3 && < 0.4,\r\n test-framework-quickcheck2 >= 0.3 && < 0.4,\r\n QuickCheck >= 2.5 && < 2.15\r\n\r\n if flag(transformers-0-4)\r\n build-depends:\r\n transformers >= 0.4 && < 0.7\r\n else\r\n build-depends:\r\n transformers >= 0.2 && < 0.4,\r\n transformers-compat >= 0.3 && < 0.8\r\n"; - } \ No newline at end of file diff --git a/materialized/ghc964/hadrian-ghc94/hadrian/cabal-files/extra.nix b/materialized/ghc964/hadrian-ghc94/hadrian/cabal-files/extra.nix deleted file mode 100644 index 41668cf6bc..0000000000 --- a/materialized/ghc964/hadrian-ghc94/hadrian/cabal-files/extra.nix +++ /dev/null @@ -1,58 +0,0 @@ -{ 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-ghc94/hadrian/cabal-files/filepath.nix b/materialized/ghc964/hadrian-ghc94/hadrian/cabal-files/filepath.nix deleted file mode 100644 index 3ca4d59414..0000000000 --- a/materialized/ghc964/hadrian-ghc94/hadrian/cabal-files/filepath.nix +++ /dev/null @@ -1,97 +0,0 @@ -{ system - , compiler - , flags - , pkgs - , hsPkgs - , pkgconfPkgs - , errorHandler - , config - , ... }: - ({ - flags = { cpphs = false; }; - package = { - specVersion = "2.2"; - identifier = { name = "filepath"; version = "1.4.100.4"; }; - license = "BSD-3-Clause"; - copyright = "Neil Mitchell 2005-2020, Julain Ospald 2021-2022"; - maintainer = "Julian Ospald "; - author = "Neil Mitchell "; - homepage = "https://github.com/haskell/filepath/blob/master/README.md"; - url = ""; - synopsis = "Library for manipulating FilePaths in a cross platform way."; - description = "This package provides functionality for manipulating @FilePath@ values, and is shipped with . It provides two variants for filepaths:\n\n1. legacy filepaths: @type FilePath = String@\n\n2. operating system abstracted filepaths (@OsPath@): internally unpinned @ShortByteString@ (platform-dependent encoding)\n\nIt is recommended to use @OsPath@ when possible, because it is more correct.\n\nFor each variant there are three main modules:\n\n* \"System.FilePath.Posix\" / \"System.OsPath.Posix\" manipulates POSIX\\/Linux style @FilePath@ values (with @\\/@ as the path separator).\n\n* \"System.FilePath.Windows\" / \"System.OsPath.Windows\" manipulates Windows style @FilePath@ values (with either @\\\\@ or @\\/@ as the path separator, and deals with drives).\n\n* \"System.FilePath\" / \"System.OsPath\" for dealing with current platform-specific filepaths\n\n\"System.OsString\" is like \"System.OsPath\", but more general purpose. Refer to the documentation of\nthose modules for more information.\n\nAn introduction into the new API can be found in this\n.\nCode examples for the new API can be found ."; - buildType = "Simple"; - }; - components = { - "library" = { - depends = [ - (hsPkgs."base" or (errorHandler.buildDepError "base")) - (hsPkgs."bytestring" or (errorHandler.buildDepError "bytestring")) - (hsPkgs."deepseq" or (errorHandler.buildDepError "deepseq")) - (hsPkgs."exceptions" or (errorHandler.buildDepError "exceptions")) - (hsPkgs."template-haskell" or (errorHandler.buildDepError "template-haskell")) - ]; - build-tools = pkgs.lib.optional (flags.cpphs) (hsPkgs.pkgsBuildBuild.cpphs.components.exes.cpphs or (pkgs.pkgsBuildBuild.cpphs or (errorHandler.buildToolDepError "cpphs:cpphs"))); - buildable = true; - }; - tests = { - "filepath-tests" = { - depends = [ - (hsPkgs."base" or (errorHandler.buildDepError "base")) - (hsPkgs."bytestring" or (errorHandler.buildDepError "bytestring")) - (hsPkgs."filepath" or (errorHandler.buildDepError "filepath")) - (hsPkgs."QuickCheck" or (errorHandler.buildDepError "QuickCheck")) - ]; - buildable = true; - }; - "filepath-equivalent-tests" = { - depends = [ - (hsPkgs."base" or (errorHandler.buildDepError "base")) - (hsPkgs."bytestring" or (errorHandler.buildDepError "bytestring")) - (hsPkgs."filepath" or (errorHandler.buildDepError "filepath")) - (hsPkgs."QuickCheck" or (errorHandler.buildDepError "QuickCheck")) - ]; - buildable = true; - }; - "bytestring-tests" = { - depends = [ - (hsPkgs."base" or (errorHandler.buildDepError "base")) - (hsPkgs."bytestring" or (errorHandler.buildDepError "bytestring")) - (hsPkgs."filepath" or (errorHandler.buildDepError "filepath")) - (hsPkgs."QuickCheck" or (errorHandler.buildDepError "QuickCheck")) - ]; - buildable = true; - }; - "abstract-filepath" = { - depends = [ - (hsPkgs."base" or (errorHandler.buildDepError "base")) - (hsPkgs."bytestring" or (errorHandler.buildDepError "bytestring")) - (hsPkgs."deepseq" or (errorHandler.buildDepError "deepseq")) - (hsPkgs."filepath" or (errorHandler.buildDepError "filepath")) - (hsPkgs."QuickCheck" or (errorHandler.buildDepError "QuickCheck")) - (hsPkgs."quickcheck-classes-base" or (errorHandler.buildDepError "quickcheck-classes-base")) - ]; - buildable = true; - }; - }; - benchmarks = { - "bench-filepath" = { - depends = [ - (hsPkgs."base" or (errorHandler.buildDepError "base")) - (hsPkgs."bytestring" or (errorHandler.buildDepError "bytestring")) - (hsPkgs."deepseq" or (errorHandler.buildDepError "deepseq")) - (hsPkgs."filepath" or (errorHandler.buildDepError "filepath")) - (hsPkgs."tasty-bench" or (errorHandler.buildDepError "tasty-bench")) - ]; - buildable = true; - }; - }; - }; - } // { - src = pkgs.lib.mkDefault (pkgs.fetchurl { - url = "http://hackage.haskell.org/package/filepath-1.4.100.4.tar.gz"; - sha256 = "82876250347c2fdf0f9de5448ce44f02539f37951b671d9a30719a6c4f96e9ad"; - }); - }) // { - package-description-override = "cabal-version: 2.2\nname: filepath\nversion: 1.4.100.4\n\n-- NOTE: Don't forget to update ./changelog.md\nlicense: BSD-3-Clause\nlicense-file: LICENSE\nauthor: Neil Mitchell \nmaintainer: Julian Ospald \ncopyright: Neil Mitchell 2005-2020, Julain Ospald 2021-2022\nbug-reports: https://github.com/haskell/filepath/issues\nhomepage:\n https://github.com/haskell/filepath/blob/master/README.md\n\ncategory: System\nbuild-type: Simple\nsynopsis: Library for manipulating FilePaths in a cross platform way.\ntested-with:\n GHC ==8.0.2\n || ==8.2.2\n || ==8.4.4\n || ==8.6.5\n || ==8.8.4\n || ==8.10.7\n || ==9.0.2\n || ==9.2.3\n\ndescription:\n This package provides functionality for manipulating @FilePath@ values, and is shipped with . It provides two variants for filepaths:\n .\n 1. legacy filepaths: @type FilePath = String@\n .\n 2. operating system abstracted filepaths (@OsPath@): internally unpinned @ShortByteString@ (platform-dependent encoding)\n .\n It is recommended to use @OsPath@ when possible, because it is more correct.\n .\n For each variant there are three main modules:\n .\n * \"System.FilePath.Posix\" / \"System.OsPath.Posix\" manipulates POSIX\\/Linux style @FilePath@ values (with @\\/@ as the path separator).\n .\n * \"System.FilePath.Windows\" / \"System.OsPath.Windows\" manipulates Windows style @FilePath@ values (with either @\\\\@ or @\\/@ as the path separator, and deals with drives).\n .\n * \"System.FilePath\" / \"System.OsPath\" for dealing with current platform-specific filepaths\n .\n \"System.OsString\" is like \"System.OsPath\", but more general purpose. Refer to the documentation of\n those modules for more information.\n .\n An introduction into the new API can be found in this\n .\n Code examples for the new API can be found .\n\nextra-source-files:\n Generate.hs\n Makefile\n System/FilePath/Internal.hs\n System/OsPath/Common.hs\n System/OsString/Common.hs\n tests/bytestring-tests/Properties/Common.hs\n\nextra-doc-files:\n changelog.md\n HACKING.md\n README.md\n\nflag cpphs\n description: Use cpphs (fixes haddock source links)\n default: False\n manual: True\n\nsource-repository head\n type: git\n location: https://github.com/haskell/filepath\n\nlibrary\n exposed-modules:\n System.FilePath\n System.FilePath.Posix\n System.FilePath.Windows\n System.OsPath\n System.OsPath.Data.ByteString.Short\n System.OsPath.Data.ByteString.Short.Internal\n System.OsPath.Data.ByteString.Short.Word16\n System.OsPath.Encoding\n System.OsPath.Encoding.Internal\n System.OsPath.Internal\n System.OsPath.Posix\n System.OsPath.Posix.Internal\n System.OsPath.Types\n System.OsPath.Windows\n System.OsPath.Windows.Internal\n System.OsString\n System.OsString.Internal\n System.OsString.Internal.Types\n System.OsString.Posix\n System.OsString.Windows\n\n other-extensions:\n CPP\n PatternGuards\n\n if impl(ghc >=7.2)\n other-extensions: Safe\n\n default-language: Haskell2010\n build-depends:\n , base >=4.9 && <4.20\n , bytestring >=0.11.3.0\n , deepseq\n , exceptions\n , template-haskell\n\n ghc-options: -Wall\n\n if flag(cpphs)\n ghc-options: -pgmPcpphs -optP--cpp\n build-tool-depends: cpphs:cpphs -any\n\ntest-suite filepath-tests\n type: exitcode-stdio-1.0\n main-is: Test.hs\n hs-source-dirs: tests tests/filepath-tests\n other-modules:\n TestGen\n TestUtil\n\n build-depends:\n , base\n , bytestring >=0.11.3.0\n , filepath\n , QuickCheck >=2.7 && <2.15\n\n default-language: Haskell2010\n ghc-options: -Wall\n\ntest-suite filepath-equivalent-tests\n default-language: Haskell2010\n ghc-options: -Wall\n type: exitcode-stdio-1.0\n main-is: TestEquiv.hs\n hs-source-dirs: tests tests/filepath-equivalent-tests\n other-modules:\n Legacy.System.FilePath\n Legacy.System.FilePath.Posix\n Legacy.System.FilePath.Windows\n TestUtil\n\n build-depends:\n , base\n , bytestring >=0.11.3.0\n , filepath\n , QuickCheck >=2.7 && <2.15\n\ntest-suite bytestring-tests\n default-language: Haskell2010\n ghc-options: -Wall\n type: exitcode-stdio-1.0\n main-is: Main.hs\n hs-source-dirs: tests tests/bytestring-tests\n other-modules:\n Properties.ShortByteString\n Properties.ShortByteString.Word16\n TestUtil\n\n build-depends:\n , base\n , bytestring >=0.11.3.0\n , filepath\n , QuickCheck >=2.7 && <2.15\n\ntest-suite abstract-filepath\n default-language: Haskell2010\n ghc-options: -Wall\n type: exitcode-stdio-1.0\n main-is: Test.hs\n hs-source-dirs: tests tests/abstract-filepath\n other-modules:\n Arbitrary\n EncodingSpec\n OsPathSpec\n TestUtil\n\n build-depends:\n , base\n , bytestring >=0.11.3.0\n , deepseq\n , filepath\n , QuickCheck >=2.7 && <2.15\n , quickcheck-classes-base ^>=0.6.2\n\nbenchmark bench-filepath\n default-language: Haskell2010\n ghc-options: -Wall\n type: exitcode-stdio-1.0\n main-is: BenchFilePath.hs\n hs-source-dirs: bench\n build-depends:\n , base\n , bytestring >=0.11.3.0\n , deepseq\n , filepath\n , tasty-bench\n\n ghc-options: -with-rtsopts=-A32m\n"; - } \ No newline at end of file diff --git a/materialized/ghc964/hadrian-ghc94/hadrian/cabal-files/filepattern.nix b/materialized/ghc964/hadrian-ghc94/hadrian/cabal-files/filepattern.nix deleted file mode 100644 index 385c502003..0000000000 --- a/materialized/ghc964/hadrian-ghc94/hadrian/cabal-files/filepattern.nix +++ /dev/null @@ -1,56 +0,0 @@ -{ 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-ghc94/hadrian/cabal-files/hashable.nix b/materialized/ghc964/hadrian-ghc94/hadrian/cabal-files/hashable.nix deleted file mode 100644 index 4b125fa0bc..0000000000 --- a/materialized/ghc964/hadrian-ghc94/hadrian/cabal-files/hashable.nix +++ /dev/null @@ -1,82 +0,0 @@ -{ 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-ghc94/hadrian/cabal-files/heaps.nix b/materialized/ghc964/hadrian-ghc94/hadrian/cabal-files/heaps.nix deleted file mode 100644 index e759e305bf..0000000000 --- a/materialized/ghc964/hadrian-ghc94/hadrian/cabal-files/heaps.nix +++ /dev/null @@ -1,38 +0,0 @@ -{ 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-ghc94/hadrian/cabal-files/js-dgtable.nix b/materialized/ghc964/hadrian-ghc94/hadrian/cabal-files/js-dgtable.nix deleted file mode 100644 index 40ea1148c6..0000000000 --- a/materialized/ghc964/hadrian-ghc94/hadrian/cabal-files/js-dgtable.nix +++ /dev/null @@ -1,47 +0,0 @@ -{ 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-ghc94/hadrian/cabal-files/js-flot.nix b/materialized/ghc964/hadrian-ghc94/hadrian/cabal-files/js-flot.nix deleted file mode 100644 index 67980dd7ba..0000000000 --- a/materialized/ghc964/hadrian-ghc94/hadrian/cabal-files/js-flot.nix +++ /dev/null @@ -1,47 +0,0 @@ -{ 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-ghc94/hadrian/cabal-files/js-jquery.nix b/materialized/ghc964/hadrian-ghc94/hadrian/cabal-files/js-jquery.nix deleted file mode 100644 index 05e54a25ab..0000000000 --- a/materialized/ghc964/hadrian-ghc94/hadrian/cabal-files/js-jquery.nix +++ /dev/null @@ -1,48 +0,0 @@ -{ 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-ghc94/hadrian/cabal-files/mtl.nix b/materialized/ghc964/hadrian-ghc94/hadrian/cabal-files/mtl.nix deleted file mode 100644 index 36fa049c2d..0000000000 --- a/materialized/ghc964/hadrian-ghc94/hadrian/cabal-files/mtl.nix +++ /dev/null @@ -1,41 +0,0 @@ -{ system - , compiler - , flags - , pkgs - , hsPkgs - , pkgconfPkgs - , errorHandler - , config - , ... }: - ({ - flags = {}; - package = { - specVersion = "1.10"; - identifier = { name = "mtl"; version = "2.2.2"; }; - license = "BSD-3-Clause"; - copyright = ""; - maintainer = "Edward Kmett "; - author = "Andy Gill"; - homepage = "http://github.com/haskell/mtl"; - url = ""; - synopsis = "Monad classes, using functional dependencies"; - description = "Monad classes using functional dependencies, with instances\nfor various monad transformers, inspired by the paper\n/Functional Programming with Overloading and Higher-Order Polymorphism/,\nby Mark P Jones, in /Advanced School of Functional Programming/, 1995\n()."; - buildType = "Simple"; - }; - components = { - "library" = { - depends = [ - (hsPkgs."base" or (errorHandler.buildDepError "base")) - (hsPkgs."transformers" or (errorHandler.buildDepError "transformers")) - ]; - buildable = true; - }; - }; - } // { - src = pkgs.lib.mkDefault (pkgs.fetchurl { - url = "http://hackage.haskell.org/package/mtl-2.2.2.tar.gz"; - sha256 = "8803f48a8ed33296c3a3272f448198737a287ec31baa901af09e2118c829bef6"; - }); - }) // { - package-description-override = "name: mtl\nversion: 2.2.2\ncabal-version: >= 1.10\nlicense: BSD3\nlicense-file: LICENSE\nauthor: Andy Gill\nmaintainer: Edward Kmett \ncategory: Control\nsynopsis: Monad classes, using functional dependencies\nhomepage: http://github.com/haskell/mtl\nbug-reports: http://github.com/haskell/mtl/issues\ndescription:\n Monad classes using functional dependencies, with instances\n for various monad transformers, inspired by the paper\n /Functional Programming with Overloading and Higher-Order Polymorphism/,\n by Mark P Jones, in /Advanced School of Functional Programming/, 1995\n ().\nbuild-type: Simple\nextra-source-files: CHANGELOG.markdown, README.markdown\ntested-with:\n 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.1\n\nsource-repository head\n type: git\n location: https://github.com/haskell/mtl.git\n\nLibrary\n exposed-modules:\n Control.Monad.Cont\n Control.Monad.Cont.Class\n Control.Monad.Error\n Control.Monad.Error.Class\n Control.Monad.Except\n Control.Monad.Identity\n Control.Monad.List\n Control.Monad.RWS\n Control.Monad.RWS.Class\n Control.Monad.RWS.Lazy\n Control.Monad.RWS.Strict\n Control.Monad.Reader\n Control.Monad.Reader.Class\n Control.Monad.State\n Control.Monad.State.Class\n Control.Monad.State.Lazy\n Control.Monad.State.Strict\n Control.Monad.Trans\n Control.Monad.Writer\n Control.Monad.Writer.Class\n Control.Monad.Writer.Lazy\n Control.Monad.Writer.Strict\n build-depends: base < 5, transformers >= 0.4 && <0.6\n\n default-language: Haskell2010\n other-extensions:\n CPP\n MultiParamTypeClasses\n FunctionalDependencies\n FlexibleInstances\n UndecidableInstances\n\n -- This is a SafeHaskell safeguard (pun intended) to explicitly declare the API contract of `mtl`\n -- GHC versions before 7.4 were hopelessly broken or incapable of SafeHaskell\n if impl(ghc >= 7.4)\n default-extensions: Safe\n\n ghc-options: -Wall -fno-warn-unused-imports -fno-warn-warnings-deprecations\n\n if impl(ghc >= 8.0)\n ghc-options: -Wcompat -Wnoncanonical-monad-instances -Wnoncanonical-monadfail-instances\n"; - } \ No newline at end of file diff --git a/materialized/ghc964/hadrian-ghc94/hadrian/cabal-files/parsec.nix b/materialized/ghc964/hadrian-ghc94/hadrian/cabal-files/parsec.nix deleted file mode 100644 index d3ce074a87..0000000000 --- a/materialized/ghc964/hadrian-ghc94/hadrian/cabal-files/parsec.nix +++ /dev/null @@ -1,84 +0,0 @@ -{ system - , compiler - , flags - , pkgs - , hsPkgs - , pkgconfPkgs - , errorHandler - , config - , ... }: - ({ - flags = {}; - package = { - specVersion = "1.12"; - identifier = { name = "parsec"; version = "3.1.17.0"; }; - license = "BSD-2-Clause"; - copyright = ""; - maintainer = "Oleg Grenrus , Herbert Valerio Riedel "; - author = "Daan Leijen , Paolo Martini , Antoine Latter "; - homepage = "https://github.com/haskell/parsec"; - url = ""; - synopsis = "Monadic parser combinators"; - description = "Parsec is designed from scratch as an industrial-strength parser\nlibrary. It is simple, safe, well documented (on the package\nhomepage), has extensive libraries, good error messages,\nand is fast. It is defined as a monad transformer that can be\nstacked on arbitrary monads, and it is also parametric in the\ninput stream type.\n\nThe main entry point is the \"Text.Parsec\" module which provides\ndefaults for parsing 'Char'acter data.\n\nThe \"Text.ParserCombinators.Parsec\" module hierarchy contains\nthe legacy @parsec-2@ API and may be removed at some point in\nthe future."; - buildType = "Simple"; - }; - components = { - "library" = { - depends = [ - (hsPkgs."base" or (errorHandler.buildDepError "base")) - (hsPkgs."mtl" or (errorHandler.buildDepError "mtl")) - (hsPkgs."bytestring" or (errorHandler.buildDepError "bytestring")) - (hsPkgs."text" or (errorHandler.buildDepError "text")) - ] ++ pkgs.lib.optionals (!(compiler.isGhc && compiler.version.ge "8.0")) [ - (hsPkgs."fail" or (errorHandler.buildDepError "fail")) - (hsPkgs."semigroups" or (errorHandler.buildDepError "semigroups")) - ]; - buildable = true; - }; - tests = { - "parsec-tests" = { - depends = [ - (hsPkgs."base" or (errorHandler.buildDepError "base")) - (hsPkgs."mtl" or (errorHandler.buildDepError "mtl")) - (hsPkgs."parsec" or (errorHandler.buildDepError "parsec")) - (hsPkgs."tasty" or (errorHandler.buildDepError "tasty")) - (hsPkgs."tasty-hunit" or (errorHandler.buildDepError "tasty-hunit")) - ] ++ pkgs.lib.optional (!(compiler.isGhc && compiler.version.ge "8.0")) (hsPkgs."semigroups" or (errorHandler.buildDepError "semigroups")); - buildable = true; - }; - "parsec-issue127" = { - depends = [ - (hsPkgs."base" or (errorHandler.buildDepError "base")) - (hsPkgs."parsec" or (errorHandler.buildDepError "parsec")) - ]; - buildable = true; - }; - "parsec-issue171" = { - depends = [ - (hsPkgs."base" or (errorHandler.buildDepError "base")) - (hsPkgs."tasty" or (errorHandler.buildDepError "tasty")) - (hsPkgs."tasty-hunit" or (errorHandler.buildDepError "tasty-hunit")) - (hsPkgs."deepseq" or (errorHandler.buildDepError "deepseq")) - (hsPkgs."parsec" or (errorHandler.buildDepError "parsec")) - ]; - buildable = true; - }; - "parsec-issue175" = { - depends = [ - (hsPkgs."base" or (errorHandler.buildDepError "base")) - (hsPkgs."tasty" or (errorHandler.buildDepError "tasty")) - (hsPkgs."tasty-hunit" or (errorHandler.buildDepError "tasty-hunit")) - (hsPkgs."parsec" or (errorHandler.buildDepError "parsec")) - ]; - buildable = true; - }; - }; - }; - } // { - src = pkgs.lib.mkDefault (pkgs.fetchurl { - url = "http://hackage.haskell.org/package/parsec-3.1.17.0.tar.gz"; - sha256 = "58c500bec1ec3c849c8243ddfd675a5983b17a8e5da55acea6adade5ae179d36"; - }); - }) // { - package-description-override = "cabal-version: 1.12\nname: parsec\nversion: 3.1.17.0\n\nsynopsis: Monadic parser combinators\ndescription: Parsec is designed from scratch as an industrial-strength parser\n library. It is simple, safe, well documented (on the package\n homepage), has extensive libraries, good error messages,\n and is fast. It is defined as a monad transformer that can be\n stacked on arbitrary monads, and it is also parametric in the\n input stream type.\n .\n The main entry point is the \"Text.Parsec\" module which provides\n defaults for parsing 'Char'acter data.\n .\n The \"Text.ParserCombinators.Parsec\" module hierarchy contains\n the legacy @parsec-2@ API and may be removed at some point in\n the future.\n\nlicense: BSD2\nlicense-file: LICENSE\nauthor: Daan Leijen , Paolo Martini , Antoine Latter \nmaintainer: Oleg Grenrus , Herbert Valerio Riedel \nhomepage: https://github.com/haskell/parsec\nbug-reports: https://github.com/haskell/parsec/issues\ncategory: Parsing\n\nbuild-type: Simple\ntested-with: GHC ==9.8.1 || ==9.6.2 || ==9.4.7 || ==9.2.8 || ==9.0.2 || ==8.10.7 || ==8.8.4 || ==8.6.5 || ==8.4.4 || ==8.2.2 || ==8.0.2 || ==7.10.3 || ==7.8.4 || ==7.6.3 || ==7.4.2\n\nextra-source-files: ChangeLog.md, README.md\n\nsource-repository head\n type: git\n location: https://github.com/haskell/parsec\n\nlibrary\n hs-source-dirs: src\n exposed-modules:\n Text.Parsec\n Text.Parsec.String\n Text.Parsec.ByteString\n Text.Parsec.ByteString.Lazy\n Text.Parsec.Text\n Text.Parsec.Text.Lazy\n Text.Parsec.Pos\n Text.Parsec.Error\n Text.Parsec.Prim\n Text.Parsec.Char\n Text.Parsec.Combinator\n Text.Parsec.Token\n Text.Parsec.Expr\n Text.Parsec.Language\n Text.Parsec.Perm\n Text.ParserCombinators.Parsec\n Text.ParserCombinators.Parsec.Char\n Text.ParserCombinators.Parsec.Combinator\n Text.ParserCombinators.Parsec.Error\n Text.ParserCombinators.Parsec.Expr\n Text.ParserCombinators.Parsec.Language\n Text.ParserCombinators.Parsec.Perm\n Text.ParserCombinators.Parsec.Pos\n Text.ParserCombinators.Parsec.Prim\n Text.ParserCombinators.Parsec.Token\n\n build-depends:\n base >= 4.5.1.0 && < 4.20,\n mtl >= 2.1.3.1 && < 2.4,\n bytestring >= 0.9.2.1 && < 0.13,\n text (>= 1.2.3.0 && < 1.3)\n || (>= 2.0 && < 2.2)\n\n default-language: Haskell2010\n other-extensions:\n CPP\n DeriveDataTypeable\n ExistentialQuantification\n FlexibleContexts\n FlexibleInstances\n FunctionalDependencies\n MultiParamTypeClasses\n PolymorphicComponents\n StandaloneDeriving\n Safe\n Trustworthy\n UndecidableInstances\n\n ghc-options: -Wall\n if impl(ghc >= 8.0)\n ghc-options: -Wcompat -Wnoncanonical-monad-instances -Wno-trustworthy-safe\n if impl(ghc < 8.8)\n ghc-options: -Wnoncanonical-monadfail-instances\n else\n -- provide/emulate `Control.Monad.Fail` and `Semigroup` API for pre-GHC8\n build-depends: fail == 4.9.*, semigroups >= 0.18 && < 0.21\n\n if impl(ghc >= 7.10)\n ghc-options: -fno-warn-trustworthy-safe\n\n -- these flags may abort compilation with GHC-8.10\n -- https://gitlab.haskell.org/ghc/ghc/-/merge_requests/3295\n -- https://gitlab.haskell.org/ghc/ghc/-/issues/22728\n -- if impl(ghc >= 9.0)\n -- -- ghc-options: -Winferred-safe-imports -Wmissing-safe-haskell-mode\n\ntest-suite parsec-tests\n type: exitcode-stdio-1.0\n\n hs-source-dirs: test\n main-is: Main.hs\n other-modules:\n Bugs\n Bugs.Bug2\n Bugs.Bug6\n Bugs.Bug9\n Bugs.Bug35\n Features\n Features.Feature80\n Features.Feature150\n Util\n\n build-depends:\n base,\n mtl,\n parsec,\n -- dependencies whose version bounds are not inherited via lib:parsec\n tasty >= 1.4 && < 1.6,\n tasty-hunit >= 0.10 && < 0.11\n\n default-language: Haskell2010\n\n ghc-options: -Wall\n if impl(ghc >= 8.0)\n ghc-options: -Wcompat -Wnoncanonical-monad-instances -Wnoncanonical-monadfail-instances\n else\n build-depends: semigroups\n\ntest-suite parsec-issue127\n default-language: Haskell2010\n type: exitcode-stdio-1.0\n main-is: issue127.hs\n hs-source-dirs: test\n build-depends: base, parsec\n\ntest-suite parsec-issue171\n default-language: Haskell2010\n type: exitcode-stdio-1.0\n main-is: issue171.hs\n hs-source-dirs: test\n build-depends: base, tasty, tasty-hunit, deepseq, parsec\n\ntest-suite parsec-issue175\n default-language: Haskell2010\n type: exitcode-stdio-1.0\n main-is: issue175.hs\n hs-source-dirs: test\n build-depends: base, tasty, tasty-hunit, parsec\n"; - } \ No newline at end of file diff --git a/materialized/ghc964/hadrian-ghc94/hadrian/cabal-files/primitive.nix b/materialized/ghc964/hadrian-ghc94/hadrian/cabal-files/primitive.nix deleted file mode 100644 index b5683f2c83..0000000000 --- a/materialized/ghc964/hadrian-ghc94/hadrian/cabal-files/primitive.nix +++ /dev/null @@ -1,73 +0,0 @@ -{ 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-ghc94/hadrian/cabal-files/process.nix b/materialized/ghc964/hadrian-ghc94/hadrian/cabal-files/process.nix deleted file mode 100644 index 0c615b19be..0000000000 --- a/materialized/ghc964/hadrian-ghc94/hadrian/cabal-files/process.nix +++ /dev/null @@ -1,61 +0,0 @@ -{ system - , compiler - , flags - , pkgs - , hsPkgs - , pkgconfPkgs - , errorHandler - , config - , ... }: - ({ - flags = {}; - package = { - specVersion = "1.10"; - identifier = { name = "process"; version = "1.6.18.0"; }; - license = "BSD-3-Clause"; - copyright = ""; - maintainer = "libraries@haskell.org"; - author = ""; - homepage = ""; - url = ""; - synopsis = "Process libraries"; - description = "This package contains libraries for dealing with system processes.\n\nThe typed-process package is a more recent take on a process API,\nwhich uses this package internally. It features better binary\nsupport, easier concurrency, and a more composable API. You can\nread more about it at\n."; - buildType = "Configure"; - }; - components = { - "library" = { - depends = [ - (hsPkgs."base" or (errorHandler.buildDepError "base")) - (hsPkgs."directory" or (errorHandler.buildDepError "directory")) - (hsPkgs."filepath" or (errorHandler.buildDepError "filepath")) - (hsPkgs."deepseq" or (errorHandler.buildDepError "deepseq")) - ] ++ (if system.isWindows - then [ (hsPkgs."Win32" or (errorHandler.buildDepError "Win32")) ] - else pkgs.lib.optional (!system.isJavaScript) (hsPkgs."unix" or (errorHandler.buildDepError "unix"))); - libs = pkgs.lib.optionals (system.isWindows) [ - (pkgs."kernel32" or (errorHandler.sysDepError "kernel32")) - (pkgs."ole32" or (errorHandler.sysDepError "ole32")) - (pkgs."rpcrt4" or (errorHandler.sysDepError "rpcrt4")) - ]; - buildable = true; - }; - tests = { - "test" = { - depends = [ - (hsPkgs."base" or (errorHandler.buildDepError "base")) - (hsPkgs."bytestring" or (errorHandler.buildDepError "bytestring")) - (hsPkgs."directory" or (errorHandler.buildDepError "directory")) - (hsPkgs."process" or (errorHandler.buildDepError "process")) - ]; - buildable = true; - }; - }; - }; - } // { - src = pkgs.lib.mkDefault (pkgs.fetchurl { - url = "http://hackage.haskell.org/package/process-1.6.18.0.tar.gz"; - sha256 = "aa5f4c4fe4974f89f5ab998c7509daa4bda3926cfb06daacd5eba892aad8a37e"; - }); - }) // { - package-description-override = "name: process\nversion: 1.6.18.0\n-- NOTE: Don't forget to update ./changelog.md\nlicense: BSD3\nlicense-file: LICENSE\nmaintainer: libraries@haskell.org\nbug-reports: https://github.com/haskell/process/issues\nsynopsis: Process libraries\ncategory: System\nbuild-type: Configure\ncabal-version: >=1.10\ndescription:\n This package contains libraries for dealing with system processes.\n .\n The typed-process package is a more recent take on a process API,\n which uses this package internally. It features better binary\n support, easier concurrency, and a more composable API. You can\n read more about it at\n .\n\nextra-source-files:\n aclocal.m4\n changelog.md\n configure\n configure.ac\n include/HsProcessConfig.h.in\n process.buildinfo\n exes/echo.bat\n exes/subdir/echo.bat\n cbits/posix/common.h\n\nextra-tmp-files:\n autom4te.cache\n config.log\n config.status\n include/HsProcessConfig.h\n\nsource-repository head\n type: git\n location: https://github.com/haskell/process.git\n\nlibrary\n default-language: Haskell2010\n other-extensions:\n BangPatterns\n CPP\n InterruptibleFFI\n RecordWildCards\n Trustworthy\n Safe\n\n exposed-modules:\n System.Cmd\n System.Process\n System.Process.Internals\n other-modules: System.Process.Common\n if os(windows)\n c-sources:\n cbits/win32/runProcess.c\n other-modules: System.Process.Windows\n build-depends: Win32 >=2.4 && < 2.14\n -- ole32 and rpcrt4 are needed to create GUIDs for unique named pipes\n -- for process.\n extra-libraries: kernel32, ole32, rpcrt4\n cpp-options: -DWINDOWS\n else\n if arch(javascript)\n js-sources:\n jsbits/process.js\n other-modules: System.Process.JavaScript\n else\n c-sources:\n cbits/posix/runProcess.c\n cbits/posix/fork_exec.c\n cbits/posix/posix_spawn.c\n cbits/posix/find_executable.c\n other-modules: System.Process.Posix\n build-depends: unix >= 2.5 && < 2.9\n\n include-dirs: include\n includes:\n runProcess.h\n install-includes:\n runProcess.h\n processFlags.h\n\n ghc-options: -Wall\n\n build-depends: base >= 4.10 && < 4.20,\n directory >= 1.1 && < 1.4,\n filepath >= 1.2 && < 1.5,\n deepseq >= 1.1 && < 1.6\n\ntest-suite test\n default-language: Haskell2010\n hs-source-dirs: test\n main-is: main.hs\n type: exitcode-stdio-1.0\n -- Add otherwise redundant bounds on base since GHC's build system runs\n -- `cabal check`, which mandates bounds on base.\n build-depends: base >= 4 && < 5\n , bytestring\n , directory\n , process\n ghc-options: -threaded\n -with-rtsopts \"-N\"\n if os(windows)\n cpp-options: -DWINDOWS\n"; - } \ No newline at end of file diff --git a/materialized/ghc964/hadrian-ghc94/hadrian/cabal-files/random.nix b/materialized/ghc964/hadrian-ghc94/hadrian/cabal-files/random.nix deleted file mode 100644 index 0dbaf8b099..0000000000 --- a/materialized/ghc964/hadrian-ghc94/hadrian/cabal-files/random.nix +++ /dev/null @@ -1,113 +0,0 @@ -{ 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-ghc94/hadrian/cabal-files/shake.nix b/materialized/ghc964/hadrian-ghc94/hadrian/cabal-files/shake.nix deleted file mode 100644 index d40c2a8bbc..0000000000 --- a/materialized/ghc964/hadrian-ghc94/hadrian/cabal-files/shake.nix +++ /dev/null @@ -1,132 +0,0 @@ -{ 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-ghc94/hadrian/cabal-files/splitmix.nix b/materialized/ghc964/hadrian-ghc94/hadrian/cabal-files/splitmix.nix deleted file mode 100644 index aa0dd88d31..0000000000 --- a/materialized/ghc964/hadrian-ghc94/hadrian/cabal-files/splitmix.nix +++ /dev/null @@ -1,139 +0,0 @@ -{ 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-ghc94/hadrian/cabal-files/transformers.nix b/materialized/ghc964/hadrian-ghc94/hadrian/cabal-files/transformers.nix deleted file mode 100644 index 288d680c82..0000000000 --- a/materialized/ghc964/hadrian-ghc94/hadrian/cabal-files/transformers.nix +++ /dev/null @@ -1,40 +0,0 @@ -{ system - , compiler - , flags - , pkgs - , hsPkgs - , pkgconfPkgs - , errorHandler - , config - , ... }: - ({ - flags = {}; - package = { - specVersion = "1.6"; - identifier = { name = "transformers"; version = "0.5.6.2"; }; - license = "BSD-3-Clause"; - copyright = ""; - maintainer = "Ross Paterson "; - author = "Andy Gill, Ross Paterson"; - homepage = ""; - url = ""; - synopsis = "Concrete functor and monad transformers"; - description = "A portable library of functor and monad transformers, inspired by\nthe paper\n\n* \\\"Functional Programming with Overloading and Higher-Order\nPolymorphism\\\", by Mark P Jones,\nin /Advanced School of Functional Programming/, 1995\n().\n\nThis package contains:\n\n* the monad transformer class (in \"Control.Monad.Trans.Class\")\n\n* concrete functor and monad transformers, each with associated\noperations and functions to lift operations associated with other\ntransformers.\n\nThe package can be used on its own in portable Haskell code, in\nwhich case operations need to be manually lifted through transformer\nstacks (see \"Control.Monad.Trans.Class\" for some examples).\nAlternatively, it can be used with the non-portable monad classes in\nthe @mtl@ or @monads-tf@ packages, which automatically lift operations\nintroduced by monad transformers through other transformers."; - buildType = "Simple"; - }; - components = { - "library" = { - depends = [ - (hsPkgs."base" or (errorHandler.buildDepError "base")) - ] ++ pkgs.lib.optional (compiler.isGhc && (compiler.version.ge "7.2" && compiler.version.lt "7.5")) (hsPkgs."ghc-prim" or (errorHandler.buildDepError "ghc-prim")); - buildable = true; - }; - }; - } // { - src = pkgs.lib.mkDefault (pkgs.fetchurl { - url = "http://hackage.haskell.org/package/transformers-0.5.6.2.tar.gz"; - sha256 = "b668795d600297e4c8a7fd55a107b9827b2c52c0bc14c5ea0d65e20e6691c66c"; - }); - }) // { - package-description-override = "name: transformers\nversion: 0.5.6.2\nlicense: BSD3\nlicense-file: LICENSE\nauthor: Andy Gill, Ross Paterson\nmaintainer: Ross Paterson \nbug-reports: http://hub.darcs.net/ross/transformers/issues\ncategory: Control\nsynopsis: Concrete functor and monad transformers\ndescription:\n A portable library of functor and monad transformers, inspired by\n the paper\n .\n * \\\"Functional Programming with Overloading and Higher-Order\n Polymorphism\\\", by Mark P Jones,\n in /Advanced School of Functional Programming/, 1995\n ().\n .\n This package contains:\n .\n * the monad transformer class (in \"Control.Monad.Trans.Class\")\n .\n * concrete functor and monad transformers, each with associated\n operations and functions to lift operations associated with other\n transformers.\n .\n The package can be used on its own in portable Haskell code, in\n which case operations need to be manually lifted through transformer\n stacks (see \"Control.Monad.Trans.Class\" for some examples).\n Alternatively, it can be used with the non-portable monad classes in\n the @mtl@ or @monads-tf@ packages, which automatically lift operations\n introduced by monad transformers through other transformers.\nbuild-type: Simple\nextra-source-files:\n changelog\ncabal-version: >= 1.6\n\nsource-repository head\n type: darcs\n location: http://hub.darcs.net/ross/transformers\n\nlibrary\n build-depends: base >= 2 && < 6\n hs-source-dirs: .\n if !impl(ghc>=7.9)\n -- Data.Functor.Identity was moved into base-4.8.0.0 (GHC 7.10)\n -- see also https://ghc.haskell.org/trac/ghc/ticket/9664\n -- NB: using impl(ghc>=7.9) instead of fragile Cabal flags\n hs-source-dirs: legacy/pre709\n exposed-modules: Data.Functor.Identity\n if !impl(ghc>=7.11)\n -- modules moved into base-4.9.0 (GHC 8.0)\n -- see https://ghc.haskell.org/trac/ghc/ticket/10773\n -- see https://ghc.haskell.org/trac/ghc/ticket/11135\n hs-source-dirs: legacy/pre711\n exposed-modules:\n Control.Monad.IO.Class\n Data.Functor.Classes\n Data.Functor.Compose\n Data.Functor.Product\n Data.Functor.Sum\n if impl(ghc>=7.2 && <7.5)\n -- Prior to GHC 7.5, GHC.Generics lived in ghc-prim\n build-depends: ghc-prim\n exposed-modules:\n Control.Applicative.Backwards\n Control.Applicative.Lift\n Control.Monad.Signatures\n Control.Monad.Trans.Accum\n Control.Monad.Trans.Class\n Control.Monad.Trans.Cont\n Control.Monad.Trans.Except\n Control.Monad.Trans.Error\n Control.Monad.Trans.Identity\n Control.Monad.Trans.List\n Control.Monad.Trans.Maybe\n Control.Monad.Trans.Reader\n Control.Monad.Trans.RWS\n Control.Monad.Trans.RWS.CPS\n Control.Monad.Trans.RWS.Lazy\n Control.Monad.Trans.RWS.Strict\n Control.Monad.Trans.Select\n Control.Monad.Trans.State\n Control.Monad.Trans.State.Lazy\n Control.Monad.Trans.State.Strict\n Control.Monad.Trans.Writer\n Control.Monad.Trans.Writer.CPS\n Control.Monad.Trans.Writer.Lazy\n Control.Monad.Trans.Writer.Strict\n Data.Functor.Constant\n Data.Functor.Reverse\n"; - } \ No newline at end of file diff --git a/materialized/ghc964/hadrian-ghc94/hadrian/cabal-files/unix.nix b/materialized/ghc964/hadrian-ghc94/hadrian/cabal-files/unix.nix deleted file mode 100644 index 33c865d08a..0000000000 --- a/materialized/ghc964/hadrian-ghc94/hadrian/cabal-files/unix.nix +++ /dev/null @@ -1,168 +0,0 @@ -{ system - , compiler - , flags - , pkgs - , hsPkgs - , pkgconfPkgs - , errorHandler - , config - , ... }: - ({ - flags = {}; - package = { - specVersion = "1.12"; - identifier = { name = "unix"; version = "2.8.3.0"; }; - license = "BSD-3-Clause"; - copyright = ""; - maintainer = "Julian Ospald , Viktor Dukhovni , Andrew Lelechenko "; - author = ""; - homepage = "https://github.com/haskell/unix"; - url = ""; - synopsis = "POSIX functionality"; - description = "This package gives you access to the set of operating system\nservices standardised by\n\n(or the IEEE Portable Operating System Interface for Computing\nEnvironments - IEEE Std. 1003.1).\n\nThe package is not supported under Windows."; - buildType = "Configure"; - }; - components = { - "library" = { - depends = [ - (hsPkgs."base" or (errorHandler.buildDepError "base")) - (hsPkgs."bytestring" or (errorHandler.buildDepError "bytestring")) - (hsPkgs."filepath" or (errorHandler.buildDepError "filepath")) - (hsPkgs."time" or (errorHandler.buildDepError "time")) - ] ++ pkgs.lib.optional (system.isWindows) (hsPkgs."unbuildable" or (errorHandler.buildDepError "unbuildable")); - buildable = if system.isWindows then false else true; - }; - tests = { - "unix-tests" = { - depends = [ - (hsPkgs."base" or (errorHandler.buildDepError "base")) - (hsPkgs."bytestring" or (errorHandler.buildDepError "bytestring")) - (hsPkgs."filepath" or (errorHandler.buildDepError "filepath")) - (hsPkgs."tasty" or (errorHandler.buildDepError "tasty")) - (hsPkgs."tasty-hunit" or (errorHandler.buildDepError "tasty-hunit")) - (hsPkgs."tasty-quickcheck" or (errorHandler.buildDepError "tasty-quickcheck")) - (hsPkgs."unix" or (errorHandler.buildDepError "unix")) - ]; - buildable = true; - }; - "FdReadBuf001" = { - depends = [ - (hsPkgs."base" or (errorHandler.buildDepError "base")) - (hsPkgs."unix" or (errorHandler.buildDepError "unix")) - ] ++ pkgs.lib.optional (system.isJavaScript) (hsPkgs."unbuildable" or (errorHandler.buildDepError "unbuildable")); - buildable = if system.isJavaScript then false else true; - }; - "ForkProcess01" = { - depends = [ - (hsPkgs."base" or (errorHandler.buildDepError "base")) - (hsPkgs."unix" or (errorHandler.buildDepError "unix")) - ] ++ pkgs.lib.optional (system.isJavaScript) (hsPkgs."unbuildable" or (errorHandler.buildDepError "unbuildable")); - buildable = if system.isJavaScript then false else true; - }; - "Signals002" = { - depends = [ - (hsPkgs."base" or (errorHandler.buildDepError "base")) - (hsPkgs."unix" or (errorHandler.buildDepError "unix")) - ] ++ pkgs.lib.optional (system.isJavaScript) (hsPkgs."unbuildable" or (errorHandler.buildDepError "unbuildable")); - buildable = if system.isJavaScript then false else true; - }; - "Signals004" = { - depends = [ - (hsPkgs."base" or (errorHandler.buildDepError "base")) - (hsPkgs."unix" or (errorHandler.buildDepError "unix")) - ] ++ pkgs.lib.optional (system.isJavaScript) (hsPkgs."unbuildable" or (errorHandler.buildDepError "unbuildable")); - buildable = if system.isJavaScript then false else true; - }; - "Posix004" = { - depends = [ - (hsPkgs."base" or (errorHandler.buildDepError "base")) - (hsPkgs."unix" or (errorHandler.buildDepError "unix")) - ] ++ pkgs.lib.optional (system.isJavaScript) (hsPkgs."unbuildable" or (errorHandler.buildDepError "unbuildable")); - buildable = if system.isJavaScript then false else true; - }; - "Posix009" = { - depends = [ - (hsPkgs."base" or (errorHandler.buildDepError "base")) - (hsPkgs."unix" or (errorHandler.buildDepError "unix")) - ] ++ pkgs.lib.optional (system.isJavaScript) (hsPkgs."unbuildable" or (errorHandler.buildDepError "unbuildable")); - buildable = if system.isJavaScript then false else true; - }; - "Posix014" = { - depends = [ - (hsPkgs."base" or (errorHandler.buildDepError "base")) - (hsPkgs."unix" or (errorHandler.buildDepError "unix")) - ] ++ pkgs.lib.optional (system.isJavaScript) (hsPkgs."unbuildable" or (errorHandler.buildDepError "unbuildable")); - buildable = if system.isJavaScript then false else true; - }; - "T8108" = { - depends = [ - (hsPkgs."base" or (errorHandler.buildDepError "base")) - (hsPkgs."unix" or (errorHandler.buildDepError "unix")) - ] ++ pkgs.lib.optional (system.isJavaScript) (hsPkgs."unbuildable" or (errorHandler.buildDepError "unbuildable")); - buildable = if system.isJavaScript then false else true; - }; - "ResourceLimit" = { - depends = [ - (hsPkgs."base" or (errorHandler.buildDepError "base")) - (hsPkgs."unix" or (errorHandler.buildDepError "unix")) - (hsPkgs."tasty-hunit" or (errorHandler.buildDepError "tasty-hunit")) - ] ++ pkgs.lib.optional (system.isJavaScript) (hsPkgs."unbuildable" or (errorHandler.buildDepError "unbuildable")); - buildable = if system.isJavaScript then false else true; - }; - "Terminal" = { - depends = [ - (hsPkgs."base" or (errorHandler.buildDepError "base")) - (hsPkgs."unix" or (errorHandler.buildDepError "unix")) - (hsPkgs."tasty-hunit" or (errorHandler.buildDepError "tasty-hunit")) - ] ++ pkgs.lib.optional (system.isJavaScript) (hsPkgs."unbuildable" or (errorHandler.buildDepError "unbuildable")); - buildable = if system.isJavaScript then false else true; - }; - "PutEnv001" = { - depends = [ - (hsPkgs."base" or (errorHandler.buildDepError "base")) - (hsPkgs."unix" or (errorHandler.buildDepError "unix")) - (hsPkgs."tasty" or (errorHandler.buildDepError "tasty")) - (hsPkgs."tasty-hunit" or (errorHandler.buildDepError "tasty-hunit")) - ] ++ pkgs.lib.optional (system.isJavaScript) (hsPkgs."unbuildable" or (errorHandler.buildDepError "unbuildable")); - buildable = if system.isJavaScript then false else true; - }; - "Semaphore001" = { - depends = [ - (hsPkgs."base" or (errorHandler.buildDepError "base")) - (hsPkgs."unix" or (errorHandler.buildDepError "unix")) - ] ++ pkgs.lib.optional (system.isJavaScript) (hsPkgs."unbuildable" or (errorHandler.buildDepError "unbuildable")); - buildable = if system.isJavaScript then false else true; - }; - "Semaphore002" = { - depends = [ - (hsPkgs."base" or (errorHandler.buildDepError "base")) - (hsPkgs."unix" or (errorHandler.buildDepError "unix")) - ] ++ pkgs.lib.optional (system.isJavaScript) (hsPkgs."unbuildable" or (errorHandler.buildDepError "unbuildable")); - buildable = if system.isJavaScript then false else true; - }; - "SemaphoreInterrupt" = { - depends = [ - (hsPkgs."base" or (errorHandler.buildDepError "base")) - (hsPkgs."unix" or (errorHandler.buildDepError "unix")) - ] ++ pkgs.lib.optional (system.isJavaScript) (hsPkgs."unbuildable" or (errorHandler.buildDepError "unbuildable")); - buildable = if system.isJavaScript then false else true; - }; - "T13660" = { - depends = [ - (hsPkgs."base" or (errorHandler.buildDepError "base")) - (hsPkgs."unix" or (errorHandler.buildDepError "unix")) - (hsPkgs."filepath" or (errorHandler.buildDepError "filepath")) - (hsPkgs."bytestring" or (errorHandler.buildDepError "bytestring")) - ]; - buildable = true; - }; - }; - }; - } // { - src = pkgs.lib.mkDefault (pkgs.fetchurl { - url = "http://hackage.haskell.org/package/unix-2.8.3.0.tar.gz"; - sha256 = "a9dc7868d42ec10e38c4d785eaec7f98d401590d4ebfd8f17ef59da3f18a5dab"; - }); - }) // { - package-description-override = "cabal-version: 1.12\nname: unix\nversion: 2.8.3.0\n-- NOTE: Don't forget to update ./changelog.md\n\nlicense: BSD3\nlicense-file: LICENSE\nmaintainer: Julian Ospald , Viktor Dukhovni , Andrew Lelechenko \nhomepage: https://github.com/haskell/unix\nbug-reports: https://github.com/haskell/unix/issues\nsynopsis: POSIX functionality\ncategory: System\nbuild-type: Configure\ntested-with: GHC==9.6.2,\n GHC==9.4.7,\n GHC==9.2.8,\n GHC==9.0.2,\n GHC==8.10.7,\n GHC==8.8.4,\n GHC==8.6.5\ndescription:\n This package gives you access to the set of operating system\n services standardised by\n \n (or the IEEE Portable Operating System Interface for Computing\n Environments - IEEE Std. 1003.1).\n .\n The package is not supported under Windows.\n\nextra-source-files:\n changelog.md\n config.guess\n config.sub\n configure\n configure.ac\n include/HsUnix.h\n include/HsUnixConfig.h.in\n install-sh\n unix.buildinfo.in\n\nextra-tmp-files:\n autom4te.cache\n config.log\n config.status\n include/HsUnixConfig.h\n unix.buildinfo\n\nsource-repository head\n type: git\n location: https://github.com/haskell/unix.git\n\nlibrary\n default-language: Haskell2010\n other-extensions:\n CApiFFI\n CPP\n DeriveDataTypeable\n InterruptibleFFI\n NondecreasingIndentation\n RankNTypes\n RecordWildCards\n Safe\n Trustworthy\n\n if os(windows)\n -- This package currently supports neither Cygwin nor MinGW,\n -- therefore os(windows) is effectively not supported.\n build-depends: unbuildable<0\n buildable: False\n\n build-depends:\n base >= 4.12.0.0 && < 4.20,\n bytestring >= 0.9.2 && < 0.13,\n filepath >= 1.4.100.0 && < 1.5,\n time >= 1.9.1 && < 1.13\n\n exposed-modules:\n System.Posix\n System.Posix.ByteString\n System.Posix.PosixString\n\n System.Posix.Error\n System.Posix.Resource\n System.Posix.Time\n System.Posix.Unistd\n System.Posix.Signals\n System.Posix.Signals.Exts\n System.Posix.Semaphore\n System.Posix.SharedMem\n\n System.Posix.User\n System.Posix.User.ByteString\n\n System.Posix.ByteString.FilePath\n System.Posix.PosixPath.FilePath\n\n System.Posix.Directory\n System.Posix.Directory.Internals\n System.Posix.Directory.Fd\n System.Posix.Directory.ByteString\n System.Posix.Directory.PosixPath\n\n System.Posix.DynamicLinker.Module\n System.Posix.DynamicLinker.Module.ByteString\n System.Posix.DynamicLinker.Prim\n System.Posix.DynamicLinker.ByteString\n System.Posix.DynamicLinker\n\n System.Posix.Files\n System.Posix.Files.ByteString\n System.Posix.Files.PosixString\n\n System.Posix.IO\n System.Posix.IO.ByteString\n System.Posix.IO.PosixString\n\n System.Posix.Env\n System.Posix.Env.ByteString\n System.Posix.Env.PosixString\n\n System.Posix.Fcntl\n\n System.Posix.Process\n System.Posix.Process.Internals\n System.Posix.Process.ByteString\n System.Posix.Process.PosixString\n\n System.Posix.Temp\n System.Posix.Temp.ByteString\n System.Posix.Temp.PosixString\n\n System.Posix.Terminal\n System.Posix.Terminal.ByteString\n System.Posix.Terminal.PosixString\n\n other-modules:\n System.Posix.Directory.Common\n System.Posix.DynamicLinker.Common\n System.Posix.Files.Common\n System.Posix.IO.Common\n System.Posix.Process.Common\n System.Posix.Terminal.Common\n System.Posix.User.Common\n System.Posix.Env.Internal\n\n ghc-options: -Wall\n\n include-dirs: include\n includes:\n HsUnix.h\n execvpe.h\n install-includes:\n HsUnix.h\n execvpe.h\n\n if !arch(javascript)\n c-sources:\n cbits/HsUnix.c\n cbits/execvpe.c\n\n if arch(javascript)\n js-sources:\n jsbits/time.js\n\ntest-suite unix-tests\n hs-source-dirs: tests\n main-is: Test.hs\n other-modules:\n FileStatus\n FileExtendedStatus\n FileStatusByteString\n Signals001\n type: exitcode-stdio-1.0\n default-language: Haskell2010\n build-depends: base, bytestring, filepath, tasty, tasty-hunit, tasty-quickcheck, unix\n ghc-options: -Wall -with-rtsopts=-V0\n\ntest-suite FdReadBuf001\n -- JS: missing \"pipe\"\n if arch(javascript)\n build-depends: unbuildable<0\n buildable: False\n\n hs-source-dirs: tests\n main-is: FdReadBuf001.hs\n type: exitcode-stdio-1.0\n default-language: Haskell2010\n build-depends: base, unix\n ghc-options: -Wall -threaded\n\ntest-suite ForkProcess01\n -- JS: missing \"forkProcess\"\n if arch(javascript)\n build-depends: unbuildable<0\n buildable: False\n\n hs-source-dirs: tests\n main-is: ForkProcess01.hs\n type: exitcode-stdio-1.0\n default-language: Haskell2010\n build-depends: base, unix\n ghc-options: -Wall\n\ntest-suite Signals002\n -- JS: missing \"raise\"\n if arch(javascript)\n build-depends: unbuildable<0\n buildable: False\n\n hs-source-dirs: tests\n main-is: Signals002.hs\n type: exitcode-stdio-1.0\n default-language: Haskell2010\n build-depends: base, unix\n ghc-options: -Wall\n\ntest-suite Signals004\n -- JS: missing \"raise\"\n if arch(javascript)\n build-depends: unbuildable<0\n buildable: False\n\n hs-source-dirs: tests\n main-is: Signals004.hs\n type: exitcode-stdio-1.0\n default-language: Haskell2010\n build-depends: base, unix\n ghc-options: -Wall\n\ntest-suite Posix004\n -- JS: missing \"forkProcess\"\n if arch(javascript)\n build-depends: unbuildable<0\n buildable: False\n\n hs-source-dirs: tests\n main-is: Posix004.hs\n type: exitcode-stdio-1.0\n default-language: Haskell2010\n build-depends: base, unix\n ghc-options: -Wall\n\ntest-suite Posix009\n -- JS: missing \"rtsTimerSignal\"\n if arch(javascript)\n build-depends: unbuildable<0\n buildable: False\n\n hs-source-dirs: tests\n main-is: Posix009.hs\n type: exitcode-stdio-1.0\n default-language: Haskell2010\n build-depends: base, unix\n ghc-options: -Wall -with-rtsopts=-V0\n\ntest-suite Posix014\n -- JS: missing \"pipe\"\n if arch(javascript)\n build-depends: unbuildable<0\n buildable: False\n\n hs-source-dirs: tests\n main-is: Posix014.hs\n type: exitcode-stdio-1.0\n default-language: Haskell2010\n build-depends: base, unix\n ghc-options: -Wall\n\ntest-suite T8108\n -- JS: missing \"sysconf\"\n if arch(javascript)\n build-depends: unbuildable<0\n buildable: False\n\n hs-source-dirs: tests\n main-is: T8108.hs\n type: exitcode-stdio-1.0\n default-language: Haskell2010\n build-depends: base, unix\n ghc-options: -Wall\n\ntest-suite ResourceLimit\n -- JS: missing \"setrlimit\"\n if arch(javascript)\n build-depends: unbuildable<0\n buildable: False\n\n hs-source-dirs: tests\n main-is: ResourceLimit.hs\n type: exitcode-stdio-1.0\n default-language: Haskell2010\n build-depends: base, unix, tasty-hunit\n ghc-options: -Wall\n\ntest-suite Terminal\n -- JS: missing \"openpty\"\n if arch(javascript)\n build-depends: unbuildable<0\n buildable: False\n\n hs-source-dirs: tests\n main-is: Terminal.hs\n type: exitcode-stdio-1.0\n default-language: Haskell2010\n build-depends: base, unix, tasty-hunit\n ghc-options: -Wall\n\ntest-suite PutEnv001\n -- JS: missing \"performGC\"\n if arch(javascript)\n build-depends: unbuildable<0\n buildable: False\n\n hs-source-dirs: tests\n main-is: PutEnv001.hs\n type: exitcode-stdio-1.0\n default-language: Haskell2010\n build-depends: base, unix, tasty, tasty-hunit\n ghc-options: -Wall -with-rtsopts=-V0 -O0\n\ntest-suite Semaphore001\n -- JS: missing \"sem_open\"\n if arch(javascript)\n build-depends: unbuildable<0\n buildable: False\n\n hs-source-dirs: tests\n main-is: Semaphore001.hs\n type: exitcode-stdio-1.0\n default-language: Haskell2010\n build-depends: base, unix\n ghc-options: -Wall\n\ntest-suite Semaphore002\n -- JS: missing \"sem_open\"\n if arch(javascript)\n build-depends: unbuildable<0\n buildable: False\n\n hs-source-dirs: tests\n main-is: Semaphore002.hs\n type: exitcode-stdio-1.0\n default-language: Haskell2010\n build-depends: base, unix\n ghc-options: -Wall -threaded\n\ntest-suite SemaphoreInterrupt\n -- JS: missing \"sem_open\"\n if arch(javascript)\n build-depends: unbuildable<0\n buildable: False\n\n hs-source-dirs: tests\n main-is: SemaphoreInterrupt.hs\n type: exitcode-stdio-1.0\n default-language: Haskell2010\n build-depends: base, unix\n ghc-options: -Wall -threaded\n\ntest-suite T13660\n hs-source-dirs: tests\n main-is: T13660.hs\n type: exitcode-stdio-1.0\n default-language: Haskell2010\n build-depends: base, unix, filepath >= 1.4.100.0 && < 1.5, bytestring\n ghc-options: -Wall\n"; - } \ No newline at end of file diff --git a/materialized/ghc964/hadrian-ghc94/hadrian/cabal-files/unordered-containers.nix b/materialized/ghc964/hadrian-ghc94/hadrian/cabal-files/unordered-containers.nix deleted file mode 100644 index 0aeaccb277..0000000000 --- a/materialized/ghc964/hadrian-ghc94/hadrian/cabal-files/unordered-containers.nix +++ /dev/null @@ -1,78 +0,0 @@ -{ 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-ghc94/hadrian/cabal-files/utf8-string.nix b/materialized/ghc964/hadrian-ghc94/hadrian/cabal-files/utf8-string.nix deleted file mode 100644 index a5ee5272da..0000000000 --- a/materialized/ghc964/hadrian-ghc94/hadrian/cabal-files/utf8-string.nix +++ /dev/null @@ -1,51 +0,0 @@ -{ 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-ghc94/hadrian/default.nix b/materialized/ghc964/hadrian-ghc94/hadrian/default.nix deleted file mode 100644 index 6b8e6fd8cb..0000000000 --- a/materialized/ghc964/hadrian-ghc94/hadrian/default.nix +++ /dev/null @@ -1,161 +0,0 @@ -{ - 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 = import ./cabal-files/transformers.nix; - 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 = import ./cabal-files/unix.nix; - filepattern.revision = import ./cabal-files/filepattern.nix; - ghc-boot-th.revision = hackage.ghc-boot-th."9.6.4".revisions.default; - mtl.revision = import ./cabal-files/mtl.nix; - 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 = import ./cabal-files/process.nix; - 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 = import ./cabal-files/exceptions.nix; - exceptions.flags.transformers-0-4 = true; - parsec.revision = import ./cabal-files/parsec.nix; - 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 = import ./cabal-files/directory.nix; - 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 = import ./cabal-files/filepath.nix; - filepath.flags.cpphs = false; - 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 = { - "bytestring" = "0.11.5.3"; - "containers" = "0.6.7"; - "ghc-prim" = "0.10.0"; - "ghc-boot-th" = "9.6.4"; - "base" = "4.18.2.0"; - "time" = "1.12.2"; - "stm" = "2.5.1.0"; - "ghc-bignum" = "1.3"; - "template-haskell" = "2.20.0.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"; - }; - }; - }; - extras = hackage: - { packages = { hadrian = ./.plan.nix/hadrian.nix; }; }; - modules = [ - { - preExistingPkgs = [ - "ghc-prim" - "time" - "base" - "ghc-boot-th" - "pretty" - "stm" - "template-haskell" - "system-cxx-std-lib" - "deepseq" - "text" - "containers" - "array" - "bytestring" - "ghc-bignum" - "binary" - ]; - } - ({ 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 diff --git a/materialized/ghc964/hadrian-ghc94/plan.json b/materialized/ghc964/hadrian-ghc94/plan.json deleted file mode 100644 index f6763a901b..0000000000 --- a/materialized/ghc964/hadrian-ghc94/plan.json +++ /dev/null @@ -1 +0,0 @@ -{"cabal-version":"3.10.3.0","cabal-lib-version":"3.10.3.0","compiler-id":"ghc-9.6.4","os":"linux","arch":"x86_64","install-plan":[{"type":"configured","id":"Cabal-3.8.1.0-b9660a1d59e5e89ca97a8504aaf0b5d036a399fd65d690e89579547c13736faa","pkg-name":"Cabal","pkg-version":"3.8.1.0","flags":{},"style":"global","pkg-src":{"type":"repo-tar","repo":{"type":"secure-repo","uri":"http://hackage.haskell.org/"}},"pkg-cabal-sha256":"77121d8e1aff14a0fd95684b751599db78a7dd26d55862d9fcef27c88b193e9d","pkg-src-sha256":"7464cbe6c2f3d7e5d0232023a1a7330621f8b24853cb259fc89a2af85b736608","depends":["Cabal-syntax-3.8.1.0-5335b17974246b150c558793880dbd690d9bb5cd3cb93a0f312cfdcb518a619b","array-0.5.6.0","base-4.18.2.0","bytestring-0.11.5.3","containers-0.6.7","deepseq-1.4.8.1","directory-1.3.8.1-dce2490f9b9b46eb5ca4c6855ae28c4f4cbc258ebd96c8c85c5b8c1604de0c9e","filepath-1.4.100.4-684dc9cfc41e6368b175870d3cc6e6636e80f309833f43b294d93519fd277673","mtl-2.2.2-bd3261ad8b9db841cd32623ed041dba3290ad7e9eab162b0b2519de5890f36c5","parsec-3.1.17.0-86f3f3d7362b3b6cd0625242923e563af47ae07a1954b0930fa2e1add151b4f2","pretty-1.1.3.6","process-1.6.18.0-24593d14b1461232a4223b7d859f951d62fafb7c2e4fe9543b43a1f4976414d0","text-2.0.2","time-1.12.2","transformers-0.5.6.2-55e06373e9f8b851d660815c23b29c4aedf2edf520a16438a77576432b6b7e88","unix-2.8.3.0-de12b755bfc83ca9f83e1597ece1b920bd874728bf4c6fbe1cfc8e169d17e1af"],"exe-depends":[],"component-name":"lib"},{"type":"configured","id":"Cabal-syntax-3.8.1.0-5335b17974246b150c558793880dbd690d9bb5cd3cb93a0f312cfdcb518a619b","pkg-name":"Cabal-syntax","pkg-version":"3.8.1.0","flags":{},"style":"global","pkg-src":{"type":"repo-tar","repo":{"type":"secure-repo","uri":"http://hackage.haskell.org/"}},"pkg-cabal-sha256":"ed2d937ba6c6a20b75850349eedd41374885fc42369ef152d69e2ba70f44f593","pkg-src-sha256":"07e8ddb19fe01781485f1522b6afc22aba680b0ab28ebe6bbfb84a2dd698ce0f","depends":["array-0.5.6.0","base-4.18.2.0","binary-0.8.9.1","bytestring-0.11.5.3","containers-0.6.7","deepseq-1.4.8.1","directory-1.3.8.1-dce2490f9b9b46eb5ca4c6855ae28c4f4cbc258ebd96c8c85c5b8c1604de0c9e","filepath-1.4.100.4-684dc9cfc41e6368b175870d3cc6e6636e80f309833f43b294d93519fd277673","mtl-2.2.2-bd3261ad8b9db841cd32623ed041dba3290ad7e9eab162b0b2519de5890f36c5","parsec-3.1.17.0-86f3f3d7362b3b6cd0625242923e563af47ae07a1954b0930fa2e1add151b4f2","pretty-1.1.3.6","text-2.0.2","time-1.12.2","transformers-0.5.6.2-55e06373e9f8b851d660815c23b29c4aedf2edf520a16438a77576432b6b7e88","unix-2.8.3.0-de12b755bfc83ca9f83e1597ece1b920bd874728bf4c6fbe1cfc8e169d17e1af"],"exe-depends":[],"component-name":"lib"},{"type":"configured","id":"QuickCheck-2.14.3-e273f27661514201f089ac7929c1cf7842cd4d7d11880d3975d02132d9646641","pkg-name":"QuickCheck","pkg-version":"2.14.3","flags":{"old-random":false,"templatehaskell":true},"style":"global","pkg-src":{"type":"repo-tar","repo":{"type":"secure-repo","uri":"http://hackage.haskell.org/"}},"pkg-cabal-sha256":"f03d2f404d5ba465453d0fbc1944832789a759fe7c4f9bf8616bc1378a02fde4","pkg-src-sha256":"5c0f22b36b28a1a8fa110b3819818d3f29494a3b0dedbae299f064123ca70501","depends":["base-4.18.2.0","containers-0.6.7","deepseq-1.4.8.1","random-1.2.1.1-e5b5a07d910cd04b47ccdff1ca05127c7c7b47a7444f9ac083587e927aabf24d","splitmix-0.1.0.5-232d2b1a4ce5cacd620dd2472d411c8d63e777af17182b5d56b631942f729187","template-haskell-2.20.0.0","transformers-0.5.6.2-55e06373e9f8b851d660815c23b29c4aedf2edf520a16438a77576432b6b7e88"],"exe-depends":[],"component-name":"lib"},{"type":"pre-existing","id":"array-0.5.6.0","pkg-name":"array","pkg-version":"0.5.6.0","depends":["base-4.18.2.0"]},{"type":"pre-existing","id":"base-4.18.2.0","pkg-name":"base","pkg-version":"4.18.2.0","depends":["ghc-bignum-1.3","ghc-prim-0.10.0"]},{"type":"pre-existing","id":"binary-0.8.9.1","pkg-name":"binary","pkg-version":"0.8.9.1","depends":["array-0.5.6.0","base-4.18.2.0","bytestring-0.11.5.3","containers-0.6.7","ghc-prim-0.10.0"]},{"type":"pre-existing","id":"bytestring-0.11.5.3","pkg-name":"bytestring","pkg-version":"0.11.5.3","depends":["base-4.18.2.0","deepseq-1.4.8.1","ghc-prim-0.10.0","template-haskell-2.20.0.0"]},{"type":"configured","id":"clock-0.8.4-b6af39fafa1fb93e9520050c562fc2d9803a08bc83cda5d8b8d907beefe150aa","pkg-name":"clock","pkg-version":"0.8.4","flags":{"llvm":false},"style":"global","pkg-src":{"type":"repo-tar","repo":{"type":"secure-repo","uri":"http://hackage.haskell.org/"}},"pkg-cabal-sha256":"b938655b00cf204ce69abfff946021bed111d2609a9f7a9c22e28a1a202e9115","pkg-src-sha256":"6ae9898afe788a5e334cd5fad5d18a3c2e8e59fa09aaf7b957dbb38a4767df2e","depends":["base-4.18.2.0"],"exe-depends":[],"component-name":"lib"},{"type":"pre-existing","id":"containers-0.6.7","pkg-name":"containers","pkg-version":"0.6.7","depends":["array-0.5.6.0","base-4.18.2.0","deepseq-1.4.8.1","template-haskell-2.20.0.0"]},{"type":"pre-existing","id":"deepseq-1.4.8.1","pkg-name":"deepseq","pkg-version":"1.4.8.1","depends":["array-0.5.6.0","base-4.18.2.0","ghc-prim-0.10.0"]},{"type":"configured","id":"directory-1.3.8.1-dce2490f9b9b46eb5ca4c6855ae28c4f4cbc258ebd96c8c85c5b8c1604de0c9e","pkg-name":"directory","pkg-version":"1.3.8.1","flags":{},"style":"global","pkg-src":{"type":"repo-tar","repo":{"type":"secure-repo","uri":"http://hackage.haskell.org/"}},"pkg-cabal-sha256":"bd3b0a0947a365d2da80b9f4a960a864d42ffa7a46577fdc7a0611703486a7f9","pkg-src-sha256":"bd8253197587d32d4553070d2de89d3817176860932b0e9ab7bb7ba3759d8e9c","components":{"lib":{"depends":["base-4.18.2.0","filepath-1.4.100.4-684dc9cfc41e6368b175870d3cc6e6636e80f309833f43b294d93519fd277673","time-1.12.2","unix-2.8.3.0-de12b755bfc83ca9f83e1597ece1b920bd874728bf4c6fbe1cfc8e169d17e1af"],"exe-depends":[]}}},{"type":"configured","id":"exceptions-0.10.7-d8e618fd9c29202aabe4fde627f648fe39ae30a4d2131b11be06ec962080d69f","pkg-name":"exceptions","pkg-version":"0.10.7","flags":{"transformers-0-4":true},"style":"global","pkg-src":{"type":"repo-tar","repo":{"type":"secure-repo","uri":"http://hackage.haskell.org/"}},"pkg-cabal-sha256":"60ccc2277f8fa98a1a03c42afd9c589ba33ce208eaaef7d69bfbb42ce09d1816","pkg-src-sha256":"9a42ade4c8b53d8da5350e8e0e2929f4ef128c4b8591b120656455310b546049","depends":["base-4.18.2.0","mtl-2.2.2-bd3261ad8b9db841cd32623ed041dba3290ad7e9eab162b0b2519de5890f36c5","stm-2.5.1.0","template-haskell-2.20.0.0","transformers-0.5.6.2-55e06373e9f8b851d660815c23b29c4aedf2edf520a16438a77576432b6b7e88"],"exe-depends":[],"component-name":"lib"},{"type":"configured","id":"extra-1.7.14-042f04d0cdbffd8f46e0a9c52040823d92cf8a258316fb3b900251bbd230abfb","pkg-name":"extra","pkg-version":"1.7.14","flags":{},"style":"global","pkg-src":{"type":"repo-tar","repo":{"type":"secure-repo","uri":"http://hackage.haskell.org/"}},"pkg-cabal-sha256":"e3d3ce1dc7746b1132930e48c59fb5e8c51a09e92e0c031316be031067a273fb","pkg-src-sha256":"b6a909f8f0e4b8076a1653b4d34815a782f0a8c1e83d5267f4d00496471ef567","depends":["base-4.18.2.0","clock-0.8.4-b6af39fafa1fb93e9520050c562fc2d9803a08bc83cda5d8b8d907beefe150aa","directory-1.3.8.1-dce2490f9b9b46eb5ca4c6855ae28c4f4cbc258ebd96c8c85c5b8c1604de0c9e","filepath-1.4.100.4-684dc9cfc41e6368b175870d3cc6e6636e80f309833f43b294d93519fd277673","process-1.6.18.0-24593d14b1461232a4223b7d859f951d62fafb7c2e4fe9543b43a1f4976414d0","time-1.12.2","unix-2.8.3.0-de12b755bfc83ca9f83e1597ece1b920bd874728bf4c6fbe1cfc8e169d17e1af"],"exe-depends":[],"component-name":"lib"},{"type":"configured","id":"filepath-1.4.100.4-684dc9cfc41e6368b175870d3cc6e6636e80f309833f43b294d93519fd277673","pkg-name":"filepath","pkg-version":"1.4.100.4","flags":{"cpphs":false},"style":"global","pkg-src":{"type":"repo-tar","repo":{"type":"secure-repo","uri":"http://hackage.haskell.org/"}},"pkg-cabal-sha256":"2de84756d3907308230e34fcc7c1917a73f218f6d53838618b7d5b95dd33e2c3","pkg-src-sha256":"82876250347c2fdf0f9de5448ce44f02539f37951b671d9a30719a6c4f96e9ad","depends":["base-4.18.2.0","bytestring-0.11.5.3","deepseq-1.4.8.1","exceptions-0.10.7-d8e618fd9c29202aabe4fde627f648fe39ae30a4d2131b11be06ec962080d69f","template-haskell-2.20.0.0"],"exe-depends":[],"component-name":"lib"},{"type":"configured","id":"filepattern-0.1.3-96a0576cb8a211fdb1da735eaa691994aec2506470939db5f5459e1488b8d590","pkg-name":"filepattern","pkg-version":"0.1.3","flags":{},"style":"global","pkg-src":{"type":"repo-tar","repo":{"type":"secure-repo","uri":"http://hackage.haskell.org/"}},"pkg-cabal-sha256":"372c1733d83b90045eb29da9f010fed79bfef8771ce65eb126a1d83ecc54a9a2","pkg-src-sha256":"cc445d439ea2f65cac7604d3578aa2c3a62e5a91dc989f4ce5b3390db9e59636","depends":["base-4.18.2.0","directory-1.3.8.1-dce2490f9b9b46eb5ca4c6855ae28c4f4cbc258ebd96c8c85c5b8c1604de0c9e","extra-1.7.14-042f04d0cdbffd8f46e0a9c52040823d92cf8a258316fb3b900251bbd230abfb","filepath-1.4.100.4-684dc9cfc41e6368b175870d3cc6e6636e80f309833f43b294d93519fd277673"],"exe-depends":[],"component-name":"lib"},{"type":"pre-existing","id":"ghc-bignum-1.3","pkg-name":"ghc-bignum","pkg-version":"1.3","depends":["ghc-prim-0.10.0"]},{"type":"pre-existing","id":"ghc-boot-th-9.6.4","pkg-name":"ghc-boot-th","pkg-version":"9.6.4","depends":["base-4.18.2.0"]},{"type":"pre-existing","id":"ghc-prim-0.10.0","pkg-name":"ghc-prim","pkg-version":"0.10.0","depends":[]},{"type":"configured","id":"hadrian-0.1.0.0-inplace-hadrian","pkg-name":"hadrian","pkg-version":"0.1.0.0","flags":{"selftest":true,"threaded":true},"style":"local","pkg-src":{"type":"local","path":"./hadrian/."},"dist-dir":"./hadrian/dist-newstyle/build/x86_64-linux/ghc-9.6.4/hadrian-0.1.0.0/x/hadrian","build-info":"./hadrian/dist-newstyle/build/x86_64-linux/ghc-9.6.4/hadrian-0.1.0.0/x/hadrian/build-info.json","depends":["Cabal-3.8.1.0-b9660a1d59e5e89ca97a8504aaf0b5d036a399fd65d690e89579547c13736faa","QuickCheck-2.14.3-e273f27661514201f089ac7929c1cf7842cd4d7d11880d3975d02132d9646641","base-4.18.2.0","bytestring-0.11.5.3","containers-0.6.7","directory-1.3.8.1-dce2490f9b9b46eb5ca4c6855ae28c4f4cbc258ebd96c8c85c5b8c1604de0c9e","extra-1.7.14-042f04d0cdbffd8f46e0a9c52040823d92cf8a258316fb3b900251bbd230abfb","filepath-1.4.100.4-684dc9cfc41e6368b175870d3cc6e6636e80f309833f43b294d93519fd277673","mtl-2.2.2-bd3261ad8b9db841cd32623ed041dba3290ad7e9eab162b0b2519de5890f36c5","parsec-3.1.17.0-86f3f3d7362b3b6cd0625242923e563af47ae07a1954b0930fa2e1add151b4f2","shake-0.19.7-5bd388776e9de85134fb9a1252dbec6017b43c187e99a683dabfc71239bc1d74","text-2.0.2","transformers-0.5.6.2-55e06373e9f8b851d660815c23b29c4aedf2edf520a16438a77576432b6b7e88","unordered-containers-0.2.19.1-5c3a294a1debe70632d1827ee63ece6b68e15cfddbd6c14f409180c3fbc50ebd"],"exe-depends":[],"component-name":"exe:hadrian","bin-file":"./hadrian/dist-newstyle/build/x86_64-linux/ghc-9.6.4/hadrian-0.1.0.0/x/hadrian/build/hadrian/hadrian"},{"type":"configured","id":"hashable-1.4.3.0-590ef3d2265671c3b40e6e564000da8fa428936fcefe2a71f270d0ace1487860","pkg-name":"hashable","pkg-version":"1.4.3.0","flags":{"integer-gmp":true,"random-initial-seed":false},"style":"global","pkg-src":{"type":"repo-tar","repo":{"type":"secure-repo","uri":"http://hackage.haskell.org/"}},"pkg-cabal-sha256":"f3bf68acfa0df7a064a378ef2cdcfeb55e6fb96100675f4c593556dcbf3d7194","pkg-src-sha256":"32efb16c2891786209b7cbe5c39df9b3a9ae51e836f1a54f646bc4602b7ab0f5","depends":["base-4.18.2.0","bytestring-0.11.5.3","containers-0.6.7","deepseq-1.4.8.1","filepath-1.4.100.4-684dc9cfc41e6368b175870d3cc6e6636e80f309833f43b294d93519fd277673","ghc-bignum-1.3","ghc-prim-0.10.0","text-2.0.2"],"exe-depends":[],"component-name":"lib"},{"type":"configured","id":"heaps-0.4-582bc0f356369f4ac6a9badb439391d1ff82a6d0d7a4a55fe3db91d6d1a32875","pkg-name":"heaps","pkg-version":"0.4","flags":{},"style":"global","pkg-src":{"type":"repo-tar","repo":{"type":"secure-repo","uri":"http://hackage.haskell.org/"}},"pkg-cabal-sha256":"66b19fcd813b0e4db3e0bac541bd46606c3b13d3d081d9f9666f4be0f5ff14b8","pkg-src-sha256":"89329df8b95ae99ef272e41e7a2d0fe2f1bb7eacfcc34bc01664414b33067cfd","depends":["base-4.18.2.0"],"exe-depends":[],"component-name":"lib"},{"type":"configured","id":"js-dgtable-0.5.2-40721bc9982faf5e0f71e3119e01102f429fefca9219230921535f5382e177f7","pkg-name":"js-dgtable","pkg-version":"0.5.2","flags":{},"style":"global","pkg-src":{"type":"repo-tar","repo":{"type":"secure-repo","uri":"http://hackage.haskell.org/"}},"pkg-cabal-sha256":"f75cb4fa53c88c65794becdd48eb0d3b2b8abd89a3d5c19e87af91f5225c15e4","pkg-src-sha256":"e28dd65bee8083b17210134e22e01c6349dc33c3b7bd17705973cd014e9f20ac","depends":["base-4.18.2.0"],"exe-depends":[],"component-name":"lib"},{"type":"configured","id":"js-flot-0.8.3-fadd4ccb467ede662552cdc382e02fb02027d8181620f296bae75d1f76774b0b","pkg-name":"js-flot","pkg-version":"0.8.3","flags":{},"style":"global","pkg-src":{"type":"repo-tar","repo":{"type":"secure-repo","uri":"http://hackage.haskell.org/"}},"pkg-cabal-sha256":"4c1c447a9a2fba0adba6d30678302a30c32b9dfde9e7aa9e9156483e1545096d","pkg-src-sha256":"1ba2f2a6b8d85da76c41f526c98903cbb107f8642e506c072c1e7e3c20fe5e7a","depends":["base-4.18.2.0"],"exe-depends":[],"component-name":"lib"},{"type":"configured","id":"js-jquery-3.3.1-6a8cc1e84fc203e099644c71b32217b6615b055459038eb73f1b008db4b2f236","pkg-name":"js-jquery","pkg-version":"3.3.1","flags":{},"style":"global","pkg-src":{"type":"repo-tar","repo":{"type":"secure-repo","uri":"http://hackage.haskell.org/"}},"pkg-cabal-sha256":"59ab6c79159549ef94b584abce8e6d3b336014c2cce1337b59a8f637e2856df5","pkg-src-sha256":"e0e0681f0da1130ede4e03a051630ea439c458cb97216cdb01771ebdbe44069b","depends":["base-4.18.2.0"],"exe-depends":[],"component-name":"lib"},{"type":"configured","id":"mtl-2.2.2-bd3261ad8b9db841cd32623ed041dba3290ad7e9eab162b0b2519de5890f36c5","pkg-name":"mtl","pkg-version":"2.2.2","flags":{},"style":"global","pkg-src":{"type":"repo-tar","repo":{"type":"secure-repo","uri":"http://hackage.haskell.org/"}},"pkg-cabal-sha256":"1050fb71acd9f5d67da7d992583f5bd0eb14407b9dc7acc122af1b738b706ca3","pkg-src-sha256":"8803f48a8ed33296c3a3272f448198737a287ec31baa901af09e2118c829bef6","depends":["base-4.18.2.0","transformers-0.5.6.2-55e06373e9f8b851d660815c23b29c4aedf2edf520a16438a77576432b6b7e88"],"exe-depends":[],"component-name":"lib"},{"type":"configured","id":"parsec-3.1.17.0-86f3f3d7362b3b6cd0625242923e563af47ae07a1954b0930fa2e1add151b4f2","pkg-name":"parsec","pkg-version":"3.1.17.0","flags":{},"style":"global","pkg-src":{"type":"repo-tar","repo":{"type":"secure-repo","uri":"http://hackage.haskell.org/"}},"pkg-cabal-sha256":"6cf18e59d9f1c5b40385457b82ab679dc18d3c5bd3c2c67b2f94e1e8732e6624","pkg-src-sha256":"58c500bec1ec3c849c8243ddfd675a5983b17a8e5da55acea6adade5ae179d36","depends":["base-4.18.2.0","bytestring-0.11.5.3","mtl-2.2.2-bd3261ad8b9db841cd32623ed041dba3290ad7e9eab162b0b2519de5890f36c5","text-2.0.2"],"exe-depends":[],"component-name":"lib"},{"type":"pre-existing","id":"pretty-1.1.3.6","pkg-name":"pretty","pkg-version":"1.1.3.6","depends":["base-4.18.2.0","deepseq-1.4.8.1","ghc-prim-0.10.0"]},{"type":"configured","id":"primitive-0.9.0.0-70ec9a6b87334899fd5e7d03687290ac2d4d46d3abfc44b5ec78067ea85f53e0","pkg-name":"primitive","pkg-version":"0.9.0.0","flags":{},"style":"global","pkg-src":{"type":"repo-tar","repo":{"type":"secure-repo","uri":"http://hackage.haskell.org/"}},"pkg-cabal-sha256":"1ceb39f67c0e614180f2992a6d30f26603ab2cd23c4f8e25b30213f98807f6f1","pkg-src-sha256":"696d4bd291c94d736142d6182117dca4258d3ef28bfefdb649ac8b5ecd0999c7","depends":["base-4.18.2.0","deepseq-1.4.8.1","template-haskell-2.20.0.0","transformers-0.5.6.2-55e06373e9f8b851d660815c23b29c4aedf2edf520a16438a77576432b6b7e88"],"exe-depends":[],"component-name":"lib"},{"type":"configured","id":"process-1.6.18.0-24593d14b1461232a4223b7d859f951d62fafb7c2e4fe9543b43a1f4976414d0","pkg-name":"process","pkg-version":"1.6.18.0","flags":{},"style":"global","pkg-src":{"type":"repo-tar","repo":{"type":"secure-repo","uri":"http://hackage.haskell.org/"}},"pkg-cabal-sha256":"cd0a3e0376b5a8525983d3131a31e52f9ffefc278ce635eec45a9d3987b8be3e","pkg-src-sha256":"aa5f4c4fe4974f89f5ab998c7509daa4bda3926cfb06daacd5eba892aad8a37e","components":{"lib":{"depends":["base-4.18.2.0","deepseq-1.4.8.1","directory-1.3.8.1-dce2490f9b9b46eb5ca4c6855ae28c4f4cbc258ebd96c8c85c5b8c1604de0c9e","filepath-1.4.100.4-684dc9cfc41e6368b175870d3cc6e6636e80f309833f43b294d93519fd277673","unix-2.8.3.0-de12b755bfc83ca9f83e1597ece1b920bd874728bf4c6fbe1cfc8e169d17e1af"],"exe-depends":[]}}},{"type":"configured","id":"random-1.2.1.1-e5b5a07d910cd04b47ccdff1ca05127c7c7b47a7444f9ac083587e927aabf24d","pkg-name":"random","pkg-version":"1.2.1.1","flags":{},"style":"global","pkg-src":{"type":"repo-tar","repo":{"type":"secure-repo","uri":"http://hackage.haskell.org/"}},"pkg-cabal-sha256":"e7c1f881159d5cc788619c9ee8b8f340ba2ff0db571cdf3d1a1968ebc5108789","pkg-src-sha256":"3e1272f7ed6a4d7bd1712b90143ec326fee9b225789222379fea20a9c90c9b76","depends":["base-4.18.2.0","bytestring-0.11.5.3","deepseq-1.4.8.1","mtl-2.2.2-bd3261ad8b9db841cd32623ed041dba3290ad7e9eab162b0b2519de5890f36c5","splitmix-0.1.0.5-232d2b1a4ce5cacd620dd2472d411c8d63e777af17182b5d56b631942f729187"],"exe-depends":[],"component-name":"lib"},{"type":"configured","id":"shake-0.19.7-5bd388776e9de85134fb9a1252dbec6017b43c187e99a683dabfc71239bc1d74","pkg-name":"shake","pkg-version":"0.19.7","flags":{"cloud":false,"embed-files":false,"portable":false},"style":"global","pkg-src":{"type":"repo-tar","repo":{"type":"secure-repo","uri":"http://hackage.haskell.org/"}},"pkg-cabal-sha256":"3cb5814cce210b9756fa9246ff1b2a1e1b86be46fdc4c5e2baacdc5bf83ce5c3","pkg-src-sha256":"352a56af12f70b50d564dcb61131555577281957ee196f1702a3723c0a3699d1","depends":["base-4.18.2.0","binary-0.8.9.1","bytestring-0.11.5.3","deepseq-1.4.8.1","directory-1.3.8.1-dce2490f9b9b46eb5ca4c6855ae28c4f4cbc258ebd96c8c85c5b8c1604de0c9e","extra-1.7.14-042f04d0cdbffd8f46e0a9c52040823d92cf8a258316fb3b900251bbd230abfb","filepath-1.4.100.4-684dc9cfc41e6368b175870d3cc6e6636e80f309833f43b294d93519fd277673","filepattern-0.1.3-96a0576cb8a211fdb1da735eaa691994aec2506470939db5f5459e1488b8d590","hashable-1.4.3.0-590ef3d2265671c3b40e6e564000da8fa428936fcefe2a71f270d0ace1487860","heaps-0.4-582bc0f356369f4ac6a9badb439391d1ff82a6d0d7a4a55fe3db91d6d1a32875","js-dgtable-0.5.2-40721bc9982faf5e0f71e3119e01102f429fefca9219230921535f5382e177f7","js-flot-0.8.3-fadd4ccb467ede662552cdc382e02fb02027d8181620f296bae75d1f76774b0b","js-jquery-3.3.1-6a8cc1e84fc203e099644c71b32217b6615b055459038eb73f1b008db4b2f236","primitive-0.9.0.0-70ec9a6b87334899fd5e7d03687290ac2d4d46d3abfc44b5ec78067ea85f53e0","process-1.6.18.0-24593d14b1461232a4223b7d859f951d62fafb7c2e4fe9543b43a1f4976414d0","random-1.2.1.1-e5b5a07d910cd04b47ccdff1ca05127c7c7b47a7444f9ac083587e927aabf24d","time-1.12.2","transformers-0.5.6.2-55e06373e9f8b851d660815c23b29c4aedf2edf520a16438a77576432b6b7e88","unix-2.8.3.0-de12b755bfc83ca9f83e1597ece1b920bd874728bf4c6fbe1cfc8e169d17e1af","unordered-containers-0.2.19.1-5c3a294a1debe70632d1827ee63ece6b68e15cfddbd6c14f409180c3fbc50ebd","utf8-string-1.0.2-134849f72bdb35a6754bed838d5c0f0412c3ca2863338b599b4cd9b0af070e05"],"exe-depends":[],"component-name":"lib"},{"type":"configured","id":"shake-0.19.7-e-shake-d498dbb71d46a4db538efddd7403181735fc0702c3e509999695c166ef8cf28c","pkg-name":"shake","pkg-version":"0.19.7","flags":{"cloud":false,"embed-files":false,"portable":false},"style":"global","pkg-src":{"type":"repo-tar","repo":{"type":"secure-repo","uri":"http://hackage.haskell.org/"}},"pkg-cabal-sha256":"3cb5814cce210b9756fa9246ff1b2a1e1b86be46fdc4c5e2baacdc5bf83ce5c3","pkg-src-sha256":"352a56af12f70b50d564dcb61131555577281957ee196f1702a3723c0a3699d1","depends":["base-4.18.2.0","binary-0.8.9.1","bytestring-0.11.5.3","deepseq-1.4.8.1","directory-1.3.8.1-dce2490f9b9b46eb5ca4c6855ae28c4f4cbc258ebd96c8c85c5b8c1604de0c9e","extra-1.7.14-042f04d0cdbffd8f46e0a9c52040823d92cf8a258316fb3b900251bbd230abfb","filepath-1.4.100.4-684dc9cfc41e6368b175870d3cc6e6636e80f309833f43b294d93519fd277673","filepattern-0.1.3-96a0576cb8a211fdb1da735eaa691994aec2506470939db5f5459e1488b8d590","hashable-1.4.3.0-590ef3d2265671c3b40e6e564000da8fa428936fcefe2a71f270d0ace1487860","heaps-0.4-582bc0f356369f4ac6a9badb439391d1ff82a6d0d7a4a55fe3db91d6d1a32875","js-dgtable-0.5.2-40721bc9982faf5e0f71e3119e01102f429fefca9219230921535f5382e177f7","js-flot-0.8.3-fadd4ccb467ede662552cdc382e02fb02027d8181620f296bae75d1f76774b0b","js-jquery-3.3.1-6a8cc1e84fc203e099644c71b32217b6615b055459038eb73f1b008db4b2f236","primitive-0.9.0.0-70ec9a6b87334899fd5e7d03687290ac2d4d46d3abfc44b5ec78067ea85f53e0","process-1.6.18.0-24593d14b1461232a4223b7d859f951d62fafb7c2e4fe9543b43a1f4976414d0","random-1.2.1.1-e5b5a07d910cd04b47ccdff1ca05127c7c7b47a7444f9ac083587e927aabf24d","time-1.12.2","transformers-0.5.6.2-55e06373e9f8b851d660815c23b29c4aedf2edf520a16438a77576432b6b7e88","unix-2.8.3.0-de12b755bfc83ca9f83e1597ece1b920bd874728bf4c6fbe1cfc8e169d17e1af","unordered-containers-0.2.19.1-5c3a294a1debe70632d1827ee63ece6b68e15cfddbd6c14f409180c3fbc50ebd","utf8-string-1.0.2-134849f72bdb35a6754bed838d5c0f0412c3ca2863338b599b4cd9b0af070e05"],"exe-depends":[],"component-name":"exe:shake","bin-file":"/store/ghc-9.6.4/shake-0.19.7-e-shake-d498dbb71d46a4db538efddd7403181735fc0702c3e509999695c166ef8cf28c/bin/shake"},{"type":"configured","id":"splitmix-0.1.0.5-232d2b1a4ce5cacd620dd2472d411c8d63e777af17182b5d56b631942f729187","pkg-name":"splitmix","pkg-version":"0.1.0.5","flags":{"optimised-mixer":false},"style":"global","pkg-src":{"type":"repo-tar","repo":{"type":"secure-repo","uri":"http://hackage.haskell.org/"}},"pkg-cabal-sha256":"bac0ae8d46a04e410666b0c8081cff63f060f29157983b569ca86ddb6e6e0dc6","pkg-src-sha256":"9df07a9611ef45f1b1258a0b412f4d02c920248f69d2e2ce8ccda328f7e13002","depends":["base-4.18.2.0","deepseq-1.4.8.1"],"exe-depends":[],"component-name":"lib"},{"type":"pre-existing","id":"stm-2.5.1.0","pkg-name":"stm","pkg-version":"2.5.1.0","depends":["array-0.5.6.0","base-4.18.2.0"]},{"type":"pre-existing","id":"system-cxx-std-lib-1.0","pkg-name":"system-cxx-std-lib","pkg-version":"1.0","depends":[]},{"type":"pre-existing","id":"template-haskell-2.20.0.0","pkg-name":"template-haskell","pkg-version":"2.20.0.0","depends":["base-4.18.2.0","ghc-boot-th-9.6.4","ghc-prim-0.10.0","pretty-1.1.3.6"]},{"type":"pre-existing","id":"text-2.0.2","pkg-name":"text","pkg-version":"2.0.2","depends":["array-0.5.6.0","base-4.18.2.0","binary-0.8.9.1","bytestring-0.11.5.3","deepseq-1.4.8.1","ghc-prim-0.10.0","system-cxx-std-lib-1.0","template-haskell-2.20.0.0"]},{"type":"pre-existing","id":"time-1.12.2","pkg-name":"time","pkg-version":"1.12.2","depends":["base-4.18.2.0","deepseq-1.4.8.1"]},{"type":"configured","id":"transformers-0.5.6.2-55e06373e9f8b851d660815c23b29c4aedf2edf520a16438a77576432b6b7e88","pkg-name":"transformers","pkg-version":"0.5.6.2","flags":{},"style":"global","pkg-src":{"type":"repo-tar","repo":{"type":"secure-repo","uri":"http://hackage.haskell.org/"}},"pkg-cabal-sha256":"6c959d14430f4deffb99579ba019de07c3d852a2122b6f449344386c7d75ff1d","pkg-src-sha256":"b668795d600297e4c8a7fd55a107b9827b2c52c0bc14c5ea0d65e20e6691c66c","components":{"lib":{"depends":["base-4.18.2.0"],"exe-depends":[]}}},{"type":"configured","id":"unix-2.8.3.0-de12b755bfc83ca9f83e1597ece1b920bd874728bf4c6fbe1cfc8e169d17e1af","pkg-name":"unix","pkg-version":"2.8.3.0","flags":{},"style":"global","pkg-src":{"type":"repo-tar","repo":{"type":"secure-repo","uri":"http://hackage.haskell.org/"}},"pkg-cabal-sha256":"6dfdbb57fcfe5b0b6ecdaf633bc1cceb98a87800a22544f42354375016c6e66c","pkg-src-sha256":"a9dc7868d42ec10e38c4d785eaec7f98d401590d4ebfd8f17ef59da3f18a5dab","components":{"lib":{"depends":["base-4.18.2.0","bytestring-0.11.5.3","filepath-1.4.100.4-684dc9cfc41e6368b175870d3cc6e6636e80f309833f43b294d93519fd277673","time-1.12.2"],"exe-depends":[]}}},{"type":"configured","id":"unordered-containers-0.2.19.1-5c3a294a1debe70632d1827ee63ece6b68e15cfddbd6c14f409180c3fbc50ebd","pkg-name":"unordered-containers","pkg-version":"0.2.19.1","flags":{"debug":false},"style":"global","pkg-src":{"type":"repo-tar","repo":{"type":"secure-repo","uri":"http://hackage.haskell.org/"}},"pkg-cabal-sha256":"1c28ca429e3960de0330908579a427ccacddd700cb84ec1969e2bbe576152add","pkg-src-sha256":"1b27bec5e0d522b27a6029ebf4c4a6d40acbc083c787008e32fb55c4b1d128d2","depends":["base-4.18.2.0","deepseq-1.4.8.1","hashable-1.4.3.0-590ef3d2265671c3b40e6e564000da8fa428936fcefe2a71f270d0ace1487860","template-haskell-2.20.0.0"],"exe-depends":[],"component-name":"lib"},{"type":"configured","id":"utf8-string-1.0.2-134849f72bdb35a6754bed838d5c0f0412c3ca2863338b599b4cd9b0af070e05","pkg-name":"utf8-string","pkg-version":"1.0.2","flags":{},"style":"global","pkg-src":{"type":"repo-tar","repo":{"type":"secure-repo","uri":"http://hackage.haskell.org/"}},"pkg-cabal-sha256":"79416292186feeaf1f60e49ac5a1ffae9bf1b120e040a74bf0e81ca7f1d31d3f","pkg-src-sha256":"ee48deada7600370728c4156cb002441de770d0121ae33a68139a9ed9c19b09a","depends":["base-4.18.2.0","bytestring-0.11.5.3"],"exe-depends":[],"component-name":"lib"}],"targets":[{"pkg-name":"Cabal","pkg-version":"3.8.1.0","component-name":"lib","available":[{"id":"Cabal-3.8.1.0-b9660a1d59e5e89ca97a8504aaf0b5d036a399fd65d690e89579547c13736faa","component-name":"lib","build-by-default":true}]},{"pkg-name":"Cabal-syntax","pkg-version":"3.8.1.0","component-name":"lib","available":[{"id":"Cabal-syntax-3.8.1.0-5335b17974246b150c558793880dbd690d9bb5cd3cb93a0f312cfdcb518a619b","component-name":"lib","build-by-default":true}]},{"pkg-name":"QuickCheck","pkg-version":"2.14.3","component-name":"lib","available":[{"id":"QuickCheck-2.14.3-e273f27661514201f089ac7929c1cf7842cd4d7d11880d3975d02132d9646641","component-name":"lib","build-by-default":true}]},{"pkg-name":"QuickCheck","pkg-version":"2.14.3","component-name":"test:test-quickcheck","available":["TargetNotLocal"]},{"pkg-name":"QuickCheck","pkg-version":"2.14.3","component-name":"test:test-quickcheck-gcoarbitrary","available":["TargetNotLocal"]},{"pkg-name":"QuickCheck","pkg-version":"2.14.3","component-name":"test:test-quickcheck-generators","available":["TargetNotLocal"]},{"pkg-name":"QuickCheck","pkg-version":"2.14.3","component-name":"test:test-quickcheck-gshrink","available":["TargetNotLocal"]},{"pkg-name":"QuickCheck","pkg-version":"2.14.3","component-name":"test:test-quickcheck-misc","available":["TargetNotLocal"]},{"pkg-name":"QuickCheck","pkg-version":"2.14.3","component-name":"test:test-quickcheck-monadfix","available":["TargetNotLocal"]},{"pkg-name":"QuickCheck","pkg-version":"2.14.3","component-name":"test:test-quickcheck-split","available":["TargetNotLocal"]},{"pkg-name":"QuickCheck","pkg-version":"2.14.3","component-name":"test:test-quickcheck-terminal","available":["TargetNotLocal"]},{"pkg-name":"array","pkg-version":"0.5.6.0","component-name":"lib","available":[{"id":"array-0.5.6.0","component-name":"lib","build-by-default":true}]},{"pkg-name":"base","pkg-version":"4.18.2.0","component-name":"lib","available":[{"id":"base-4.18.2.0","component-name":"lib","build-by-default":true}]},{"pkg-name":"binary","pkg-version":"0.8.9.1","component-name":"lib","available":[{"id":"binary-0.8.9.1","component-name":"lib","build-by-default":true}]},{"pkg-name":"bytestring","pkg-version":"0.11.5.3","component-name":"lib","available":[{"id":"bytestring-0.11.5.3","component-name":"lib","build-by-default":true}]},{"pkg-name":"clock","pkg-version":"0.8.4","component-name":"lib","available":[{"id":"clock-0.8.4-b6af39fafa1fb93e9520050c562fc2d9803a08bc83cda5d8b8d907beefe150aa","component-name":"lib","build-by-default":true}]},{"pkg-name":"clock","pkg-version":"0.8.4","component-name":"test:test","available":["TargetNotLocal"]},{"pkg-name":"clock","pkg-version":"0.8.4","component-name":"bench:benchmarks","available":["TargetNotLocal"]},{"pkg-name":"containers","pkg-version":"0.6.7","component-name":"lib","available":[{"id":"containers-0.6.7","component-name":"lib","build-by-default":true}]},{"pkg-name":"deepseq","pkg-version":"1.4.8.1","component-name":"lib","available":[{"id":"deepseq-1.4.8.1","component-name":"lib","build-by-default":true}]},{"pkg-name":"directory","pkg-version":"1.3.8.1","component-name":"lib","available":[{"id":"directory-1.3.8.1-dce2490f9b9b46eb5ca4c6855ae28c4f4cbc258ebd96c8c85c5b8c1604de0c9e","component-name":"lib","build-by-default":true}]},{"pkg-name":"directory","pkg-version":"1.3.8.1","component-name":"test:test","available":["TargetNotLocal"]},{"pkg-name":"exceptions","pkg-version":"0.10.7","component-name":"lib","available":[{"id":"exceptions-0.10.7-d8e618fd9c29202aabe4fde627f648fe39ae30a4d2131b11be06ec962080d69f","component-name":"lib","build-by-default":true}]},{"pkg-name":"exceptions","pkg-version":"0.10.7","component-name":"test:exceptions-tests","available":["TargetNotLocal"]},{"pkg-name":"extra","pkg-version":"1.7.14","component-name":"lib","available":[{"id":"extra-1.7.14-042f04d0cdbffd8f46e0a9c52040823d92cf8a258316fb3b900251bbd230abfb","component-name":"lib","build-by-default":true}]},{"pkg-name":"extra","pkg-version":"1.7.14","component-name":"test:extra-test","available":["TargetNotLocal"]},{"pkg-name":"filepath","pkg-version":"1.4.100.4","component-name":"lib","available":[{"id":"filepath-1.4.100.4-684dc9cfc41e6368b175870d3cc6e6636e80f309833f43b294d93519fd277673","component-name":"lib","build-by-default":true}]},{"pkg-name":"filepath","pkg-version":"1.4.100.4","component-name":"test:abstract-filepath","available":["TargetNotLocal"]},{"pkg-name":"filepath","pkg-version":"1.4.100.4","component-name":"test:bytestring-tests","available":["TargetNotLocal"]},{"pkg-name":"filepath","pkg-version":"1.4.100.4","component-name":"test:filepath-equivalent-tests","available":["TargetNotLocal"]},{"pkg-name":"filepath","pkg-version":"1.4.100.4","component-name":"test:filepath-tests","available":["TargetNotLocal"]},{"pkg-name":"filepath","pkg-version":"1.4.100.4","component-name":"bench:bench-filepath","available":["TargetNotLocal"]},{"pkg-name":"filepattern","pkg-version":"0.1.3","component-name":"lib","available":[{"id":"filepattern-0.1.3-96a0576cb8a211fdb1da735eaa691994aec2506470939db5f5459e1488b8d590","component-name":"lib","build-by-default":true}]},{"pkg-name":"filepattern","pkg-version":"0.1.3","component-name":"test:filepattern-test","available":["TargetNotLocal"]},{"pkg-name":"ghc-bignum","pkg-version":"1.3","component-name":"lib","available":[{"id":"ghc-bignum-1.3","component-name":"lib","build-by-default":true}]},{"pkg-name":"ghc-boot-th","pkg-version":"9.6.4","component-name":"lib","available":[{"id":"ghc-boot-th-9.6.4","component-name":"lib","build-by-default":true}]},{"pkg-name":"ghc-prim","pkg-version":"0.10.0","component-name":"lib","available":[{"id":"ghc-prim-0.10.0","component-name":"lib","build-by-default":true}]},{"pkg-name":"hadrian","pkg-version":"0.1.0.0","component-name":"exe:hadrian","available":[{"id":"hadrian-0.1.0.0-inplace-hadrian","component-name":"exe:hadrian","build-by-default":true}]},{"pkg-name":"hashable","pkg-version":"1.4.3.0","component-name":"lib","available":[{"id":"hashable-1.4.3.0-590ef3d2265671c3b40e6e564000da8fa428936fcefe2a71f270d0ace1487860","component-name":"lib","build-by-default":true}]},{"pkg-name":"hashable","pkg-version":"1.4.3.0","component-name":"test:hashable-examples","available":["TargetNotLocal"]},{"pkg-name":"hashable","pkg-version":"1.4.3.0","component-name":"test:hashable-tests","available":["TargetNotLocal"]},{"pkg-name":"heaps","pkg-version":"0.4","component-name":"lib","available":[{"id":"heaps-0.4-582bc0f356369f4ac6a9badb439391d1ff82a6d0d7a4a55fe3db91d6d1a32875","component-name":"lib","build-by-default":true}]},{"pkg-name":"js-dgtable","pkg-version":"0.5.2","component-name":"lib","available":[{"id":"js-dgtable-0.5.2-40721bc9982faf5e0f71e3119e01102f429fefca9219230921535f5382e177f7","component-name":"lib","build-by-default":true}]},{"pkg-name":"js-dgtable","pkg-version":"0.5.2","component-name":"test:js-dgtable-test","available":["TargetNotLocal"]},{"pkg-name":"js-flot","pkg-version":"0.8.3","component-name":"lib","available":[{"id":"js-flot-0.8.3-fadd4ccb467ede662552cdc382e02fb02027d8181620f296bae75d1f76774b0b","component-name":"lib","build-by-default":true}]},{"pkg-name":"js-flot","pkg-version":"0.8.3","component-name":"test:js-flot-test","available":["TargetNotLocal"]},{"pkg-name":"js-jquery","pkg-version":"3.3.1","component-name":"lib","available":[{"id":"js-jquery-3.3.1-6a8cc1e84fc203e099644c71b32217b6615b055459038eb73f1b008db4b2f236","component-name":"lib","build-by-default":true}]},{"pkg-name":"js-jquery","pkg-version":"3.3.1","component-name":"test:js-jquery-test","available":["TargetNotLocal"]},{"pkg-name":"mtl","pkg-version":"2.2.2","component-name":"lib","available":[{"id":"mtl-2.2.2-bd3261ad8b9db841cd32623ed041dba3290ad7e9eab162b0b2519de5890f36c5","component-name":"lib","build-by-default":true}]},{"pkg-name":"parsec","pkg-version":"3.1.17.0","component-name":"lib","available":[{"id":"parsec-3.1.17.0-86f3f3d7362b3b6cd0625242923e563af47ae07a1954b0930fa2e1add151b4f2","component-name":"lib","build-by-default":true}]},{"pkg-name":"parsec","pkg-version":"3.1.17.0","component-name":"test:parsec-issue127","available":["TargetNotLocal"]},{"pkg-name":"parsec","pkg-version":"3.1.17.0","component-name":"test:parsec-issue171","available":["TargetNotLocal"]},{"pkg-name":"parsec","pkg-version":"3.1.17.0","component-name":"test:parsec-issue175","available":["TargetNotLocal"]},{"pkg-name":"parsec","pkg-version":"3.1.17.0","component-name":"test:parsec-tests","available":["TargetNotLocal"]},{"pkg-name":"pretty","pkg-version":"1.1.3.6","component-name":"lib","available":[{"id":"pretty-1.1.3.6","component-name":"lib","build-by-default":true}]},{"pkg-name":"primitive","pkg-version":"0.9.0.0","component-name":"lib","available":[{"id":"primitive-0.9.0.0-70ec9a6b87334899fd5e7d03687290ac2d4d46d3abfc44b5ec78067ea85f53e0","component-name":"lib","build-by-default":true}]},{"pkg-name":"primitive","pkg-version":"0.9.0.0","component-name":"test:test-qc","available":["TargetNotLocal"]},{"pkg-name":"primitive","pkg-version":"0.9.0.0","component-name":"bench:bench","available":["TargetNotLocal"]},{"pkg-name":"process","pkg-version":"1.6.18.0","component-name":"lib","available":[{"id":"process-1.6.18.0-24593d14b1461232a4223b7d859f951d62fafb7c2e4fe9543b43a1f4976414d0","component-name":"lib","build-by-default":true}]},{"pkg-name":"process","pkg-version":"1.6.18.0","component-name":"test:test","available":["TargetNotLocal"]},{"pkg-name":"random","pkg-version":"1.2.1.1","component-name":"lib","available":[{"id":"random-1.2.1.1-e5b5a07d910cd04b47ccdff1ca05127c7c7b47a7444f9ac083587e927aabf24d","component-name":"lib","build-by-default":true}]},{"pkg-name":"random","pkg-version":"1.2.1.1","component-name":"test:doctests","available":["TargetNotLocal"]},{"pkg-name":"random","pkg-version":"1.2.1.1","component-name":"test:legacy-test","available":["TargetNotLocal"]},{"pkg-name":"random","pkg-version":"1.2.1.1","component-name":"test:spec","available":["TargetNotLocal"]},{"pkg-name":"random","pkg-version":"1.2.1.1","component-name":"test:spec-inspection","available":["TargetNotLocal"]},{"pkg-name":"random","pkg-version":"1.2.1.1","component-name":"bench:bench","available":["TargetNotLocal"]},{"pkg-name":"random","pkg-version":"1.2.1.1","component-name":"bench:legacy-bench","available":["TargetNotLocal"]},{"pkg-name":"shake","pkg-version":"0.19.7","component-name":"lib","available":[{"id":"shake-0.19.7-5bd388776e9de85134fb9a1252dbec6017b43c187e99a683dabfc71239bc1d74","component-name":"lib","build-by-default":true}]},{"pkg-name":"shake","pkg-version":"0.19.7","component-name":"exe:shake","available":[{"id":"shake-0.19.7-e-shake-d498dbb71d46a4db538efddd7403181735fc0702c3e509999695c166ef8cf28c","component-name":"exe:shake","build-by-default":true}]},{"pkg-name":"shake","pkg-version":"0.19.7","component-name":"test:shake-test","available":["TargetNotLocal"]},{"pkg-name":"splitmix","pkg-version":"0.1.0.5","component-name":"lib","available":[{"id":"splitmix-0.1.0.5-232d2b1a4ce5cacd620dd2472d411c8d63e777af17182b5d56b631942f729187","component-name":"lib","build-by-default":true}]},{"pkg-name":"splitmix","pkg-version":"0.1.0.5","component-name":"test:examples","available":["TargetNotLocal"]},{"pkg-name":"splitmix","pkg-version":"0.1.0.5","component-name":"test:initialization","available":["TargetNotLocal"]},{"pkg-name":"splitmix","pkg-version":"0.1.0.5","component-name":"test:montecarlo-pi","available":["TargetNotLocal"]},{"pkg-name":"splitmix","pkg-version":"0.1.0.5","component-name":"test:montecarlo-pi-32","available":["TargetNotLocal"]},{"pkg-name":"splitmix","pkg-version":"0.1.0.5","component-name":"test:splitmix-dieharder","available":["TargetNotLocal"]},{"pkg-name":"splitmix","pkg-version":"0.1.0.5","component-name":"test:splitmix-tests","available":["TargetNotLocal"]},{"pkg-name":"splitmix","pkg-version":"0.1.0.5","component-name":"test:splitmix-testu01","available":["TargetNotLocal"]},{"pkg-name":"splitmix","pkg-version":"0.1.0.5","component-name":"bench:comparison","available":["TargetNotLocal"]},{"pkg-name":"splitmix","pkg-version":"0.1.0.5","component-name":"bench:range","available":["TargetNotLocal"]},{"pkg-name":"splitmix","pkg-version":"0.1.0.5","component-name":"bench:simple-sum","available":["TargetNotLocal"]},{"pkg-name":"stm","pkg-version":"2.5.1.0","component-name":"lib","available":[{"id":"stm-2.5.1.0","component-name":"lib","build-by-default":true}]},{"pkg-name":"system-cxx-std-lib","pkg-version":"1.0","component-name":"lib","available":[{"id":"system-cxx-std-lib-1.0","component-name":"lib","build-by-default":true}]},{"pkg-name":"template-haskell","pkg-version":"2.20.0.0","component-name":"lib","available":[{"id":"template-haskell-2.20.0.0","component-name":"lib","build-by-default":true}]},{"pkg-name":"text","pkg-version":"2.0.2","component-name":"lib","available":[{"id":"text-2.0.2","component-name":"lib","build-by-default":true}]},{"pkg-name":"time","pkg-version":"1.12.2","component-name":"lib","available":[{"id":"time-1.12.2","component-name":"lib","build-by-default":true}]},{"pkg-name":"transformers","pkg-version":"0.5.6.2","component-name":"lib","available":[{"id":"transformers-0.5.6.2-55e06373e9f8b851d660815c23b29c4aedf2edf520a16438a77576432b6b7e88","component-name":"lib","build-by-default":true}]},{"pkg-name":"unix","pkg-version":"2.8.3.0","component-name":"lib","available":[{"id":"unix-2.8.3.0-de12b755bfc83ca9f83e1597ece1b920bd874728bf4c6fbe1cfc8e169d17e1af","component-name":"lib","build-by-default":true}]},{"pkg-name":"unix","pkg-version":"2.8.3.0","component-name":"test:FdReadBuf001","available":["TargetNotLocal"]},{"pkg-name":"unix","pkg-version":"2.8.3.0","component-name":"test:ForkProcess01","available":["TargetNotLocal"]},{"pkg-name":"unix","pkg-version":"2.8.3.0","component-name":"test:Posix004","available":["TargetNotLocal"]},{"pkg-name":"unix","pkg-version":"2.8.3.0","component-name":"test:Posix009","available":["TargetNotLocal"]},{"pkg-name":"unix","pkg-version":"2.8.3.0","component-name":"test:Posix014","available":["TargetNotLocal"]},{"pkg-name":"unix","pkg-version":"2.8.3.0","component-name":"test:PutEnv001","available":["TargetNotLocal"]},{"pkg-name":"unix","pkg-version":"2.8.3.0","component-name":"test:ResourceLimit","available":["TargetNotLocal"]},{"pkg-name":"unix","pkg-version":"2.8.3.0","component-name":"test:Semaphore001","available":["TargetNotLocal"]},{"pkg-name":"unix","pkg-version":"2.8.3.0","component-name":"test:Semaphore002","available":["TargetNotLocal"]},{"pkg-name":"unix","pkg-version":"2.8.3.0","component-name":"test:SemaphoreInterrupt","available":["TargetNotLocal"]},{"pkg-name":"unix","pkg-version":"2.8.3.0","component-name":"test:Signals002","available":["TargetNotLocal"]},{"pkg-name":"unix","pkg-version":"2.8.3.0","component-name":"test:Signals004","available":["TargetNotLocal"]},{"pkg-name":"unix","pkg-version":"2.8.3.0","component-name":"test:T13660","available":["TargetNotLocal"]},{"pkg-name":"unix","pkg-version":"2.8.3.0","component-name":"test:T8108","available":["TargetNotLocal"]},{"pkg-name":"unix","pkg-version":"2.8.3.0","component-name":"test:Terminal","available":["TargetNotLocal"]},{"pkg-name":"unix","pkg-version":"2.8.3.0","component-name":"test:unix-tests","available":["TargetNotLocal"]},{"pkg-name":"unordered-containers","pkg-version":"0.2.19.1","component-name":"lib","available":[{"id":"unordered-containers-0.2.19.1-5c3a294a1debe70632d1827ee63ece6b68e15cfddbd6c14f409180c3fbc50ebd","component-name":"lib","build-by-default":true}]},{"pkg-name":"unordered-containers","pkg-version":"0.2.19.1","component-name":"test:unordered-containers-tests","available":["TargetNotLocal"]},{"pkg-name":"unordered-containers","pkg-version":"0.2.19.1","component-name":"bench:benchmarks","available":["TargetNotLocal"]},{"pkg-name":"utf8-string","pkg-version":"1.0.2","component-name":"lib","available":[{"id":"utf8-string-1.0.2-134849f72bdb35a6754bed838d5c0f0412c3ca2863338b599b4cd9b0af070e05","component-name":"lib","build-by-default":true}]},{"pkg-name":"utf8-string","pkg-version":"1.0.2","component-name":"test:unit-tests","available":["TargetNotLocal"]}]} \ No newline at end of file diff --git a/materialized/ghc964/hadrian-ghc96/hadrian/.plan.nix/hadrian.nix b/materialized/ghc964/hadrian-ghc96/hadrian/.plan.nix/hadrian.nix deleted file mode 100644 index a3d788196f..0000000000 --- a/materialized/ghc964/hadrian-ghc96/hadrian/.plan.nix/hadrian.nix +++ /dev/null @@ -1,163 +0,0 @@ -{ 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/GenApply" - "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-ghc96/hadrian/cabal-files/Cabal-syntax.nix b/materialized/ghc964/hadrian-ghc96/hadrian/cabal-files/Cabal-syntax.nix deleted file mode 100644 index dabbcbdee8..0000000000 --- a/materialized/ghc964/hadrian-ghc96/hadrian/cabal-files/Cabal-syntax.nix +++ /dev/null @@ -1,55 +0,0 @@ -{ 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-ghc96/hadrian/cabal-files/Cabal.nix b/materialized/ghc964/hadrian-ghc96/hadrian/cabal-files/Cabal.nix deleted file mode 100644 index be0b5019d9..0000000000 --- a/materialized/ghc964/hadrian-ghc96/hadrian/cabal-files/Cabal.nix +++ /dev/null @@ -1,56 +0,0 @@ -{ 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-ghc96/hadrian/cabal-files/QuickCheck.nix b/materialized/ghc964/hadrian-ghc96/hadrian/cabal-files/QuickCheck.nix deleted file mode 100644 index 62e36aa8b6..0000000000 --- a/materialized/ghc964/hadrian-ghc96/hadrian/cabal-files/QuickCheck.nix +++ /dev/null @@ -1,119 +0,0 @@ -{ 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-ghc96/hadrian/cabal-files/clock.nix b/materialized/ghc964/hadrian-ghc96/hadrian/cabal-files/clock.nix deleted file mode 100644 index 1db6e2d90d..0000000000 --- a/materialized/ghc964/hadrian-ghc96/hadrian/cabal-files/clock.nix +++ /dev/null @@ -1,59 +0,0 @@ -{ 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-ghc96/hadrian/cabal-files/extra.nix b/materialized/ghc964/hadrian-ghc96/hadrian/cabal-files/extra.nix deleted file mode 100644 index 41668cf6bc..0000000000 --- a/materialized/ghc964/hadrian-ghc96/hadrian/cabal-files/extra.nix +++ /dev/null @@ -1,58 +0,0 @@ -{ 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-ghc96/hadrian/cabal-files/filepattern.nix b/materialized/ghc964/hadrian-ghc96/hadrian/cabal-files/filepattern.nix deleted file mode 100644 index 385c502003..0000000000 --- a/materialized/ghc964/hadrian-ghc96/hadrian/cabal-files/filepattern.nix +++ /dev/null @@ -1,56 +0,0 @@ -{ 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-ghc96/hadrian/cabal-files/hashable.nix b/materialized/ghc964/hadrian-ghc96/hadrian/cabal-files/hashable.nix deleted file mode 100644 index 4b125fa0bc..0000000000 --- a/materialized/ghc964/hadrian-ghc96/hadrian/cabal-files/hashable.nix +++ /dev/null @@ -1,82 +0,0 @@ -{ 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-ghc96/hadrian/cabal-files/heaps.nix b/materialized/ghc964/hadrian-ghc96/hadrian/cabal-files/heaps.nix deleted file mode 100644 index e759e305bf..0000000000 --- a/materialized/ghc964/hadrian-ghc96/hadrian/cabal-files/heaps.nix +++ /dev/null @@ -1,38 +0,0 @@ -{ 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-ghc96/hadrian/cabal-files/js-dgtable.nix b/materialized/ghc964/hadrian-ghc96/hadrian/cabal-files/js-dgtable.nix deleted file mode 100644 index 40ea1148c6..0000000000 --- a/materialized/ghc964/hadrian-ghc96/hadrian/cabal-files/js-dgtable.nix +++ /dev/null @@ -1,47 +0,0 @@ -{ 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-ghc96/hadrian/cabal-files/js-flot.nix b/materialized/ghc964/hadrian-ghc96/hadrian/cabal-files/js-flot.nix deleted file mode 100644 index 67980dd7ba..0000000000 --- a/materialized/ghc964/hadrian-ghc96/hadrian/cabal-files/js-flot.nix +++ /dev/null @@ -1,47 +0,0 @@ -{ 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-ghc96/hadrian/cabal-files/js-jquery.nix b/materialized/ghc964/hadrian-ghc96/hadrian/cabal-files/js-jquery.nix deleted file mode 100644 index 05e54a25ab..0000000000 --- a/materialized/ghc964/hadrian-ghc96/hadrian/cabal-files/js-jquery.nix +++ /dev/null @@ -1,48 +0,0 @@ -{ 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-ghc96/hadrian/cabal-files/primitive.nix b/materialized/ghc964/hadrian-ghc96/hadrian/cabal-files/primitive.nix deleted file mode 100644 index b5683f2c83..0000000000 --- a/materialized/ghc964/hadrian-ghc96/hadrian/cabal-files/primitive.nix +++ /dev/null @@ -1,73 +0,0 @@ -{ 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-ghc96/hadrian/cabal-files/random.nix b/materialized/ghc964/hadrian-ghc96/hadrian/cabal-files/random.nix deleted file mode 100644 index 0dbaf8b099..0000000000 --- a/materialized/ghc964/hadrian-ghc96/hadrian/cabal-files/random.nix +++ /dev/null @@ -1,113 +0,0 @@ -{ 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-ghc96/hadrian/cabal-files/shake.nix b/materialized/ghc964/hadrian-ghc96/hadrian/cabal-files/shake.nix deleted file mode 100644 index d40c2a8bbc..0000000000 --- a/materialized/ghc964/hadrian-ghc96/hadrian/cabal-files/shake.nix +++ /dev/null @@ -1,132 +0,0 @@ -{ 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-ghc96/hadrian/cabal-files/splitmix.nix b/materialized/ghc964/hadrian-ghc96/hadrian/cabal-files/splitmix.nix deleted file mode 100644 index aa0dd88d31..0000000000 --- a/materialized/ghc964/hadrian-ghc96/hadrian/cabal-files/splitmix.nix +++ /dev/null @@ -1,139 +0,0 @@ -{ 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-ghc96/hadrian/cabal-files/unordered-containers.nix b/materialized/ghc964/hadrian-ghc96/hadrian/cabal-files/unordered-containers.nix deleted file mode 100644 index 0aeaccb277..0000000000 --- a/materialized/ghc964/hadrian-ghc96/hadrian/cabal-files/unordered-containers.nix +++ /dev/null @@ -1,78 +0,0 @@ -{ 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-ghc96/hadrian/cabal-files/utf8-string.nix b/materialized/ghc964/hadrian-ghc96/hadrian/cabal-files/utf8-string.nix deleted file mode 100644 index a5ee5272da..0000000000 --- a/materialized/ghc964/hadrian-ghc96/hadrian/cabal-files/utf8-string.nix +++ /dev/null @@ -1,51 +0,0 @@ -{ 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-ghc96/hadrian/default.nix b/materialized/ghc964/hadrian-ghc96/hadrian/default.nix deleted file mode 100644 index ca057a5d6b..0000000000 --- a/materialized/ghc964/hadrian-ghc96/hadrian/default.nix +++ /dev/null @@ -1,175 +0,0 @@ -{ - 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 diff --git a/materialized/ghc964/hadrian-ghc96/plan.json b/materialized/ghc964/hadrian-ghc96/plan.json deleted file mode 100644 index 7610e57826..0000000000 --- a/materialized/ghc964/hadrian-ghc96/plan.json +++ /dev/null @@ -1 +0,0 @@ -{"cabal-version":"3.10.3.0","cabal-lib-version":"3.10.3.0","compiler-id":"ghc-9.6.4","os":"linux","arch":"x86_64","install-plan":[{"type":"configured","id":"Cabal-3.8.1.0-c668f818769193b477ca1a8b87e802e56126adbc7bed962d76bde34a01e8c306","pkg-name":"Cabal","pkg-version":"3.8.1.0","flags":{},"style":"global","pkg-src":{"type":"repo-tar","repo":{"type":"secure-repo","uri":"http://hackage.haskell.org/"}},"pkg-cabal-sha256":"77121d8e1aff14a0fd95684b751599db78a7dd26d55862d9fcef27c88b193e9d","pkg-src-sha256":"7464cbe6c2f3d7e5d0232023a1a7330621f8b24853cb259fc89a2af85b736608","depends":["Cabal-syntax-3.8.1.0-b99db30153f1d2c83dc6d34e637d577dc69cabe5825778a1e3462bcf8317b588","array-0.5.6.0","base-4.18.2.0","bytestring-0.11.5.3","containers-0.6.7","deepseq-1.4.8.1","directory-1.3.8.1","filepath-1.4.200.1","mtl-2.3.1","parsec-3.1.16.1","pretty-1.1.3.6","process-1.6.17.0","text-2.0.2","time-1.12.2","transformers-0.6.1.0","unix-2.8.4.0"],"exe-depends":[],"component-name":"lib"},{"type":"configured","id":"Cabal-syntax-3.8.1.0-b99db30153f1d2c83dc6d34e637d577dc69cabe5825778a1e3462bcf8317b588","pkg-name":"Cabal-syntax","pkg-version":"3.8.1.0","flags":{},"style":"global","pkg-src":{"type":"repo-tar","repo":{"type":"secure-repo","uri":"http://hackage.haskell.org/"}},"pkg-cabal-sha256":"ed2d937ba6c6a20b75850349eedd41374885fc42369ef152d69e2ba70f44f593","pkg-src-sha256":"07e8ddb19fe01781485f1522b6afc22aba680b0ab28ebe6bbfb84a2dd698ce0f","depends":["array-0.5.6.0","base-4.18.2.0","binary-0.8.9.1","bytestring-0.11.5.3","containers-0.6.7","deepseq-1.4.8.1","directory-1.3.8.1","filepath-1.4.200.1","mtl-2.3.1","parsec-3.1.16.1","pretty-1.1.3.6","text-2.0.2","time-1.12.2","transformers-0.6.1.0","unix-2.8.4.0"],"exe-depends":[],"component-name":"lib"},{"type":"configured","id":"QuickCheck-2.14.3-116702925e70e233df64507a5cae969ff9c69efe35b3cc35e56c87d47168ff11","pkg-name":"QuickCheck","pkg-version":"2.14.3","flags":{"old-random":false,"templatehaskell":true},"style":"global","pkg-src":{"type":"repo-tar","repo":{"type":"secure-repo","uri":"http://hackage.haskell.org/"}},"pkg-cabal-sha256":"f03d2f404d5ba465453d0fbc1944832789a759fe7c4f9bf8616bc1378a02fde4","pkg-src-sha256":"5c0f22b36b28a1a8fa110b3819818d3f29494a3b0dedbae299f064123ca70501","depends":["base-4.18.2.0","containers-0.6.7","deepseq-1.4.8.1","random-1.2.1.1-e2b8c23c50d3a2e2d7c30c46d2a3344a9c2a38bf319885311c62efb7342cb80b","splitmix-0.1.0.5-232d2b1a4ce5cacd620dd2472d411c8d63e777af17182b5d56b631942f729187","template-haskell-2.20.0.0","transformers-0.6.1.0"],"exe-depends":[],"component-name":"lib"},{"type":"pre-existing","id":"array-0.5.6.0","pkg-name":"array","pkg-version":"0.5.6.0","depends":["base-4.18.2.0"]},{"type":"pre-existing","id":"base-4.18.2.0","pkg-name":"base","pkg-version":"4.18.2.0","depends":["ghc-bignum-1.3","ghc-prim-0.10.0"]},{"type":"pre-existing","id":"binary-0.8.9.1","pkg-name":"binary","pkg-version":"0.8.9.1","depends":["array-0.5.6.0","base-4.18.2.0","bytestring-0.11.5.3","containers-0.6.7","ghc-prim-0.10.0"]},{"type":"pre-existing","id":"bytestring-0.11.5.3","pkg-name":"bytestring","pkg-version":"0.11.5.3","depends":["base-4.18.2.0","deepseq-1.4.8.1","ghc-prim-0.10.0","template-haskell-2.20.0.0"]},{"type":"configured","id":"clock-0.8.4-b6af39fafa1fb93e9520050c562fc2d9803a08bc83cda5d8b8d907beefe150aa","pkg-name":"clock","pkg-version":"0.8.4","flags":{"llvm":false},"style":"global","pkg-src":{"type":"repo-tar","repo":{"type":"secure-repo","uri":"http://hackage.haskell.org/"}},"pkg-cabal-sha256":"b938655b00cf204ce69abfff946021bed111d2609a9f7a9c22e28a1a202e9115","pkg-src-sha256":"6ae9898afe788a5e334cd5fad5d18a3c2e8e59fa09aaf7b957dbb38a4767df2e","depends":["base-4.18.2.0"],"exe-depends":[],"component-name":"lib"},{"type":"pre-existing","id":"containers-0.6.7","pkg-name":"containers","pkg-version":"0.6.7","depends":["array-0.5.6.0","base-4.18.2.0","deepseq-1.4.8.1","template-haskell-2.20.0.0"]},{"type":"pre-existing","id":"deepseq-1.4.8.1","pkg-name":"deepseq","pkg-version":"1.4.8.1","depends":["array-0.5.6.0","base-4.18.2.0","ghc-prim-0.10.0"]},{"type":"pre-existing","id":"directory-1.3.8.1","pkg-name":"directory","pkg-version":"1.3.8.1","depends":["base-4.18.2.0","filepath-1.4.200.1","time-1.12.2","unix-2.8.4.0"]},{"type":"pre-existing","id":"exceptions-0.10.7","pkg-name":"exceptions","pkg-version":"0.10.7","depends":["base-4.18.2.0","mtl-2.3.1","stm-2.5.1.0","template-haskell-2.20.0.0","transformers-0.6.1.0"]},{"type":"configured","id":"extra-1.7.14-5b3875febb50e86e1fd0471cb61fc83c08afae84f74dd82e3fe23bdc226bd3c9","pkg-name":"extra","pkg-version":"1.7.14","flags":{},"style":"global","pkg-src":{"type":"repo-tar","repo":{"type":"secure-repo","uri":"http://hackage.haskell.org/"}},"pkg-cabal-sha256":"e3d3ce1dc7746b1132930e48c59fb5e8c51a09e92e0c031316be031067a273fb","pkg-src-sha256":"b6a909f8f0e4b8076a1653b4d34815a782f0a8c1e83d5267f4d00496471ef567","depends":["base-4.18.2.0","clock-0.8.4-b6af39fafa1fb93e9520050c562fc2d9803a08bc83cda5d8b8d907beefe150aa","directory-1.3.8.1","filepath-1.4.200.1","process-1.6.17.0","time-1.12.2","unix-2.8.4.0"],"exe-depends":[],"component-name":"lib"},{"type":"pre-existing","id":"filepath-1.4.200.1","pkg-name":"filepath","pkg-version":"1.4.200.1","depends":["base-4.18.2.0","bytestring-0.11.5.3","deepseq-1.4.8.1","exceptions-0.10.7","template-haskell-2.20.0.0"]},{"type":"configured","id":"filepattern-0.1.3-e0b05225cb586afea88cbd5fba3b81dbc7d8925b44e8dd467cfd9ed208da351b","pkg-name":"filepattern","pkg-version":"0.1.3","flags":{},"style":"global","pkg-src":{"type":"repo-tar","repo":{"type":"secure-repo","uri":"http://hackage.haskell.org/"}},"pkg-cabal-sha256":"372c1733d83b90045eb29da9f010fed79bfef8771ce65eb126a1d83ecc54a9a2","pkg-src-sha256":"cc445d439ea2f65cac7604d3578aa2c3a62e5a91dc989f4ce5b3390db9e59636","depends":["base-4.18.2.0","directory-1.3.8.1","extra-1.7.14-5b3875febb50e86e1fd0471cb61fc83c08afae84f74dd82e3fe23bdc226bd3c9","filepath-1.4.200.1"],"exe-depends":[],"component-name":"lib"},{"type":"pre-existing","id":"ghc-bignum-1.3","pkg-name":"ghc-bignum","pkg-version":"1.3","depends":["ghc-prim-0.10.0"]},{"type":"pre-existing","id":"ghc-boot-th-9.6.4","pkg-name":"ghc-boot-th","pkg-version":"9.6.4","depends":["base-4.18.2.0"]},{"type":"pre-existing","id":"ghc-prim-0.10.0","pkg-name":"ghc-prim","pkg-version":"0.10.0","depends":[]},{"type":"configured","id":"hadrian-0.1.0.0-inplace-hadrian","pkg-name":"hadrian","pkg-version":"0.1.0.0","flags":{"selftest":true,"threaded":true},"style":"local","pkg-src":{"type":"local","path":"./hadrian/."},"dist-dir":"./hadrian/dist-newstyle/build/x86_64-linux/ghc-9.6.4/hadrian-0.1.0.0/x/hadrian","build-info":"./hadrian/dist-newstyle/build/x86_64-linux/ghc-9.6.4/hadrian-0.1.0.0/x/hadrian/build-info.json","depends":["Cabal-3.8.1.0-c668f818769193b477ca1a8b87e802e56126adbc7bed962d76bde34a01e8c306","QuickCheck-2.14.3-116702925e70e233df64507a5cae969ff9c69efe35b3cc35e56c87d47168ff11","base-4.18.2.0","bytestring-0.11.5.3","containers-0.6.7","directory-1.3.8.1","extra-1.7.14-5b3875febb50e86e1fd0471cb61fc83c08afae84f74dd82e3fe23bdc226bd3c9","filepath-1.4.200.1","mtl-2.3.1","parsec-3.1.16.1","shake-0.19.7-9369313762a66f683383a6b11b819b9aafcd8f0d518c176b2cb1f5a198ccf8cd","text-2.0.2","time-1.12.2","transformers-0.6.1.0","unordered-containers-0.2.19.1-0eb0d95c2f270578763e7cbc938fd7d57fa65a8f3c10aa64b616bc79bbf6b993"],"exe-depends":[],"component-name":"exe:hadrian","bin-file":"./hadrian/dist-newstyle/build/x86_64-linux/ghc-9.6.4/hadrian-0.1.0.0/x/hadrian/build/hadrian/hadrian"},{"type":"configured","id":"hashable-1.4.3.0-cf03199beb9180bbbb9b383e3088c03deb3be32037dd08933c3d3ba08171d03e","pkg-name":"hashable","pkg-version":"1.4.3.0","flags":{"integer-gmp":true,"random-initial-seed":false},"style":"global","pkg-src":{"type":"repo-tar","repo":{"type":"secure-repo","uri":"http://hackage.haskell.org/"}},"pkg-cabal-sha256":"f3bf68acfa0df7a064a378ef2cdcfeb55e6fb96100675f4c593556dcbf3d7194","pkg-src-sha256":"32efb16c2891786209b7cbe5c39df9b3a9ae51e836f1a54f646bc4602b7ab0f5","depends":["base-4.18.2.0","bytestring-0.11.5.3","containers-0.6.7","deepseq-1.4.8.1","filepath-1.4.200.1","ghc-bignum-1.3","ghc-prim-0.10.0","text-2.0.2"],"exe-depends":[],"component-name":"lib"},{"type":"configured","id":"heaps-0.4-582bc0f356369f4ac6a9badb439391d1ff82a6d0d7a4a55fe3db91d6d1a32875","pkg-name":"heaps","pkg-version":"0.4","flags":{},"style":"global","pkg-src":{"type":"repo-tar","repo":{"type":"secure-repo","uri":"http://hackage.haskell.org/"}},"pkg-cabal-sha256":"66b19fcd813b0e4db3e0bac541bd46606c3b13d3d081d9f9666f4be0f5ff14b8","pkg-src-sha256":"89329df8b95ae99ef272e41e7a2d0fe2f1bb7eacfcc34bc01664414b33067cfd","depends":["base-4.18.2.0"],"exe-depends":[],"component-name":"lib"},{"type":"configured","id":"js-dgtable-0.5.2-40721bc9982faf5e0f71e3119e01102f429fefca9219230921535f5382e177f7","pkg-name":"js-dgtable","pkg-version":"0.5.2","flags":{},"style":"global","pkg-src":{"type":"repo-tar","repo":{"type":"secure-repo","uri":"http://hackage.haskell.org/"}},"pkg-cabal-sha256":"f75cb4fa53c88c65794becdd48eb0d3b2b8abd89a3d5c19e87af91f5225c15e4","pkg-src-sha256":"e28dd65bee8083b17210134e22e01c6349dc33c3b7bd17705973cd014e9f20ac","depends":["base-4.18.2.0"],"exe-depends":[],"component-name":"lib"},{"type":"configured","id":"js-flot-0.8.3-fadd4ccb467ede662552cdc382e02fb02027d8181620f296bae75d1f76774b0b","pkg-name":"js-flot","pkg-version":"0.8.3","flags":{},"style":"global","pkg-src":{"type":"repo-tar","repo":{"type":"secure-repo","uri":"http://hackage.haskell.org/"}},"pkg-cabal-sha256":"4c1c447a9a2fba0adba6d30678302a30c32b9dfde9e7aa9e9156483e1545096d","pkg-src-sha256":"1ba2f2a6b8d85da76c41f526c98903cbb107f8642e506c072c1e7e3c20fe5e7a","depends":["base-4.18.2.0"],"exe-depends":[],"component-name":"lib"},{"type":"configured","id":"js-jquery-3.3.1-6a8cc1e84fc203e099644c71b32217b6615b055459038eb73f1b008db4b2f236","pkg-name":"js-jquery","pkg-version":"3.3.1","flags":{},"style":"global","pkg-src":{"type":"repo-tar","repo":{"type":"secure-repo","uri":"http://hackage.haskell.org/"}},"pkg-cabal-sha256":"59ab6c79159549ef94b584abce8e6d3b336014c2cce1337b59a8f637e2856df5","pkg-src-sha256":"e0e0681f0da1130ede4e03a051630ea439c458cb97216cdb01771ebdbe44069b","depends":["base-4.18.2.0"],"exe-depends":[],"component-name":"lib"},{"type":"pre-existing","id":"mtl-2.3.1","pkg-name":"mtl","pkg-version":"2.3.1","depends":["base-4.18.2.0","transformers-0.6.1.0"]},{"type":"pre-existing","id":"parsec-3.1.16.1","pkg-name":"parsec","pkg-version":"3.1.16.1","depends":["base-4.18.2.0","bytestring-0.11.5.3","mtl-2.3.1","text-2.0.2"]},{"type":"pre-existing","id":"pretty-1.1.3.6","pkg-name":"pretty","pkg-version":"1.1.3.6","depends":["base-4.18.2.0","deepseq-1.4.8.1","ghc-prim-0.10.0"]},{"type":"configured","id":"primitive-0.9.0.0-b327a6c8ea4577ea7938607770d363048048a528efdff4bc67a582b5feac66fc","pkg-name":"primitive","pkg-version":"0.9.0.0","flags":{},"style":"global","pkg-src":{"type":"repo-tar","repo":{"type":"secure-repo","uri":"http://hackage.haskell.org/"}},"pkg-cabal-sha256":"1ceb39f67c0e614180f2992a6d30f26603ab2cd23c4f8e25b30213f98807f6f1","pkg-src-sha256":"696d4bd291c94d736142d6182117dca4258d3ef28bfefdb649ac8b5ecd0999c7","depends":["base-4.18.2.0","deepseq-1.4.8.1","template-haskell-2.20.0.0","transformers-0.6.1.0"],"exe-depends":[],"component-name":"lib"},{"type":"pre-existing","id":"process-1.6.17.0","pkg-name":"process","pkg-version":"1.6.17.0","depends":["base-4.18.2.0","deepseq-1.4.8.1","directory-1.3.8.1","filepath-1.4.200.1","unix-2.8.4.0"]},{"type":"configured","id":"random-1.2.1.1-e2b8c23c50d3a2e2d7c30c46d2a3344a9c2a38bf319885311c62efb7342cb80b","pkg-name":"random","pkg-version":"1.2.1.1","flags":{},"style":"global","pkg-src":{"type":"repo-tar","repo":{"type":"secure-repo","uri":"http://hackage.haskell.org/"}},"pkg-cabal-sha256":"e7c1f881159d5cc788619c9ee8b8f340ba2ff0db571cdf3d1a1968ebc5108789","pkg-src-sha256":"3e1272f7ed6a4d7bd1712b90143ec326fee9b225789222379fea20a9c90c9b76","depends":["base-4.18.2.0","bytestring-0.11.5.3","deepseq-1.4.8.1","mtl-2.3.1","splitmix-0.1.0.5-232d2b1a4ce5cacd620dd2472d411c8d63e777af17182b5d56b631942f729187"],"exe-depends":[],"component-name":"lib"},{"type":"configured","id":"shake-0.19.7-9369313762a66f683383a6b11b819b9aafcd8f0d518c176b2cb1f5a198ccf8cd","pkg-name":"shake","pkg-version":"0.19.7","flags":{"cloud":false,"embed-files":false,"portable":false},"style":"global","pkg-src":{"type":"repo-tar","repo":{"type":"secure-repo","uri":"http://hackage.haskell.org/"}},"pkg-cabal-sha256":"3cb5814cce210b9756fa9246ff1b2a1e1b86be46fdc4c5e2baacdc5bf83ce5c3","pkg-src-sha256":"352a56af12f70b50d564dcb61131555577281957ee196f1702a3723c0a3699d1","depends":["base-4.18.2.0","binary-0.8.9.1","bytestring-0.11.5.3","deepseq-1.4.8.1","directory-1.3.8.1","extra-1.7.14-5b3875febb50e86e1fd0471cb61fc83c08afae84f74dd82e3fe23bdc226bd3c9","filepath-1.4.200.1","filepattern-0.1.3-e0b05225cb586afea88cbd5fba3b81dbc7d8925b44e8dd467cfd9ed208da351b","hashable-1.4.3.0-cf03199beb9180bbbb9b383e3088c03deb3be32037dd08933c3d3ba08171d03e","heaps-0.4-582bc0f356369f4ac6a9badb439391d1ff82a6d0d7a4a55fe3db91d6d1a32875","js-dgtable-0.5.2-40721bc9982faf5e0f71e3119e01102f429fefca9219230921535f5382e177f7","js-flot-0.8.3-fadd4ccb467ede662552cdc382e02fb02027d8181620f296bae75d1f76774b0b","js-jquery-3.3.1-6a8cc1e84fc203e099644c71b32217b6615b055459038eb73f1b008db4b2f236","primitive-0.9.0.0-b327a6c8ea4577ea7938607770d363048048a528efdff4bc67a582b5feac66fc","process-1.6.17.0","random-1.2.1.1-e2b8c23c50d3a2e2d7c30c46d2a3344a9c2a38bf319885311c62efb7342cb80b","time-1.12.2","transformers-0.6.1.0","unix-2.8.4.0","unordered-containers-0.2.19.1-0eb0d95c2f270578763e7cbc938fd7d57fa65a8f3c10aa64b616bc79bbf6b993","utf8-string-1.0.2-134849f72bdb35a6754bed838d5c0f0412c3ca2863338b599b4cd9b0af070e05"],"exe-depends":[],"component-name":"lib"},{"type":"configured","id":"shake-0.19.7-e-shake-74d898c5705f61c05a8a7aee14d32e6ef38e5584b58da7af7f06efe4c3c36716","pkg-name":"shake","pkg-version":"0.19.7","flags":{"cloud":false,"embed-files":false,"portable":false},"style":"global","pkg-src":{"type":"repo-tar","repo":{"type":"secure-repo","uri":"http://hackage.haskell.org/"}},"pkg-cabal-sha256":"3cb5814cce210b9756fa9246ff1b2a1e1b86be46fdc4c5e2baacdc5bf83ce5c3","pkg-src-sha256":"352a56af12f70b50d564dcb61131555577281957ee196f1702a3723c0a3699d1","depends":["base-4.18.2.0","binary-0.8.9.1","bytestring-0.11.5.3","deepseq-1.4.8.1","directory-1.3.8.1","extra-1.7.14-5b3875febb50e86e1fd0471cb61fc83c08afae84f74dd82e3fe23bdc226bd3c9","filepath-1.4.200.1","filepattern-0.1.3-e0b05225cb586afea88cbd5fba3b81dbc7d8925b44e8dd467cfd9ed208da351b","hashable-1.4.3.0-cf03199beb9180bbbb9b383e3088c03deb3be32037dd08933c3d3ba08171d03e","heaps-0.4-582bc0f356369f4ac6a9badb439391d1ff82a6d0d7a4a55fe3db91d6d1a32875","js-dgtable-0.5.2-40721bc9982faf5e0f71e3119e01102f429fefca9219230921535f5382e177f7","js-flot-0.8.3-fadd4ccb467ede662552cdc382e02fb02027d8181620f296bae75d1f76774b0b","js-jquery-3.3.1-6a8cc1e84fc203e099644c71b32217b6615b055459038eb73f1b008db4b2f236","primitive-0.9.0.0-b327a6c8ea4577ea7938607770d363048048a528efdff4bc67a582b5feac66fc","process-1.6.17.0","random-1.2.1.1-e2b8c23c50d3a2e2d7c30c46d2a3344a9c2a38bf319885311c62efb7342cb80b","time-1.12.2","transformers-0.6.1.0","unix-2.8.4.0","unordered-containers-0.2.19.1-0eb0d95c2f270578763e7cbc938fd7d57fa65a8f3c10aa64b616bc79bbf6b993","utf8-string-1.0.2-134849f72bdb35a6754bed838d5c0f0412c3ca2863338b599b4cd9b0af070e05"],"exe-depends":[],"component-name":"exe:shake","bin-file":"/store/ghc-9.6.4/shake-0.19.7-e-shake-74d898c5705f61c05a8a7aee14d32e6ef38e5584b58da7af7f06efe4c3c36716/bin/shake"},{"type":"configured","id":"splitmix-0.1.0.5-232d2b1a4ce5cacd620dd2472d411c8d63e777af17182b5d56b631942f729187","pkg-name":"splitmix","pkg-version":"0.1.0.5","flags":{"optimised-mixer":false},"style":"global","pkg-src":{"type":"repo-tar","repo":{"type":"secure-repo","uri":"http://hackage.haskell.org/"}},"pkg-cabal-sha256":"bac0ae8d46a04e410666b0c8081cff63f060f29157983b569ca86ddb6e6e0dc6","pkg-src-sha256":"9df07a9611ef45f1b1258a0b412f4d02c920248f69d2e2ce8ccda328f7e13002","depends":["base-4.18.2.0","deepseq-1.4.8.1"],"exe-depends":[],"component-name":"lib"},{"type":"pre-existing","id":"stm-2.5.1.0","pkg-name":"stm","pkg-version":"2.5.1.0","depends":["array-0.5.6.0","base-4.18.2.0"]},{"type":"pre-existing","id":"system-cxx-std-lib-1.0","pkg-name":"system-cxx-std-lib","pkg-version":"1.0","depends":[]},{"type":"pre-existing","id":"template-haskell-2.20.0.0","pkg-name":"template-haskell","pkg-version":"2.20.0.0","depends":["base-4.18.2.0","ghc-boot-th-9.6.4","ghc-prim-0.10.0","pretty-1.1.3.6"]},{"type":"pre-existing","id":"text-2.0.2","pkg-name":"text","pkg-version":"2.0.2","depends":["array-0.5.6.0","base-4.18.2.0","binary-0.8.9.1","bytestring-0.11.5.3","deepseq-1.4.8.1","ghc-prim-0.10.0","system-cxx-std-lib-1.0","template-haskell-2.20.0.0"]},{"type":"pre-existing","id":"time-1.12.2","pkg-name":"time","pkg-version":"1.12.2","depends":["base-4.18.2.0","deepseq-1.4.8.1"]},{"type":"pre-existing","id":"transformers-0.6.1.0","pkg-name":"transformers","pkg-version":"0.6.1.0","depends":["base-4.18.2.0","ghc-prim-0.10.0"]},{"type":"pre-existing","id":"unix-2.8.4.0","pkg-name":"unix","pkg-version":"2.8.4.0","depends":["base-4.18.2.0","bytestring-0.11.5.3","filepath-1.4.200.1","time-1.12.2"]},{"type":"configured","id":"unordered-containers-0.2.19.1-0eb0d95c2f270578763e7cbc938fd7d57fa65a8f3c10aa64b616bc79bbf6b993","pkg-name":"unordered-containers","pkg-version":"0.2.19.1","flags":{"debug":false},"style":"global","pkg-src":{"type":"repo-tar","repo":{"type":"secure-repo","uri":"http://hackage.haskell.org/"}},"pkg-cabal-sha256":"1c28ca429e3960de0330908579a427ccacddd700cb84ec1969e2bbe576152add","pkg-src-sha256":"1b27bec5e0d522b27a6029ebf4c4a6d40acbc083c787008e32fb55c4b1d128d2","depends":["base-4.18.2.0","deepseq-1.4.8.1","hashable-1.4.3.0-cf03199beb9180bbbb9b383e3088c03deb3be32037dd08933c3d3ba08171d03e","template-haskell-2.20.0.0"],"exe-depends":[],"component-name":"lib"},{"type":"configured","id":"utf8-string-1.0.2-134849f72bdb35a6754bed838d5c0f0412c3ca2863338b599b4cd9b0af070e05","pkg-name":"utf8-string","pkg-version":"1.0.2","flags":{},"style":"global","pkg-src":{"type":"repo-tar","repo":{"type":"secure-repo","uri":"http://hackage.haskell.org/"}},"pkg-cabal-sha256":"79416292186feeaf1f60e49ac5a1ffae9bf1b120e040a74bf0e81ca7f1d31d3f","pkg-src-sha256":"ee48deada7600370728c4156cb002441de770d0121ae33a68139a9ed9c19b09a","depends":["base-4.18.2.0","bytestring-0.11.5.3"],"exe-depends":[],"component-name":"lib"}],"targets":[{"pkg-name":"Cabal","pkg-version":"3.8.1.0","component-name":"lib","available":[{"id":"Cabal-3.8.1.0-c668f818769193b477ca1a8b87e802e56126adbc7bed962d76bde34a01e8c306","component-name":"lib","build-by-default":true}]},{"pkg-name":"Cabal-syntax","pkg-version":"3.8.1.0","component-name":"lib","available":[{"id":"Cabal-syntax-3.8.1.0-b99db30153f1d2c83dc6d34e637d577dc69cabe5825778a1e3462bcf8317b588","component-name":"lib","build-by-default":true}]},{"pkg-name":"QuickCheck","pkg-version":"2.14.3","component-name":"lib","available":[{"id":"QuickCheck-2.14.3-116702925e70e233df64507a5cae969ff9c69efe35b3cc35e56c87d47168ff11","component-name":"lib","build-by-default":true}]},{"pkg-name":"QuickCheck","pkg-version":"2.14.3","component-name":"test:test-quickcheck","available":["TargetNotLocal"]},{"pkg-name":"QuickCheck","pkg-version":"2.14.3","component-name":"test:test-quickcheck-gcoarbitrary","available":["TargetNotLocal"]},{"pkg-name":"QuickCheck","pkg-version":"2.14.3","component-name":"test:test-quickcheck-generators","available":["TargetNotLocal"]},{"pkg-name":"QuickCheck","pkg-version":"2.14.3","component-name":"test:test-quickcheck-gshrink","available":["TargetNotLocal"]},{"pkg-name":"QuickCheck","pkg-version":"2.14.3","component-name":"test:test-quickcheck-misc","available":["TargetNotLocal"]},{"pkg-name":"QuickCheck","pkg-version":"2.14.3","component-name":"test:test-quickcheck-monadfix","available":["TargetNotLocal"]},{"pkg-name":"QuickCheck","pkg-version":"2.14.3","component-name":"test:test-quickcheck-split","available":["TargetNotLocal"]},{"pkg-name":"QuickCheck","pkg-version":"2.14.3","component-name":"test:test-quickcheck-terminal","available":["TargetNotLocal"]},{"pkg-name":"array","pkg-version":"0.5.6.0","component-name":"lib","available":[{"id":"array-0.5.6.0","component-name":"lib","build-by-default":true}]},{"pkg-name":"base","pkg-version":"4.18.2.0","component-name":"lib","available":[{"id":"base-4.18.2.0","component-name":"lib","build-by-default":true}]},{"pkg-name":"binary","pkg-version":"0.8.9.1","component-name":"lib","available":[{"id":"binary-0.8.9.1","component-name":"lib","build-by-default":true}]},{"pkg-name":"bytestring","pkg-version":"0.11.5.3","component-name":"lib","available":[{"id":"bytestring-0.11.5.3","component-name":"lib","build-by-default":true}]},{"pkg-name":"clock","pkg-version":"0.8.4","component-name":"lib","available":[{"id":"clock-0.8.4-b6af39fafa1fb93e9520050c562fc2d9803a08bc83cda5d8b8d907beefe150aa","component-name":"lib","build-by-default":true}]},{"pkg-name":"clock","pkg-version":"0.8.4","component-name":"test:test","available":["TargetNotLocal"]},{"pkg-name":"clock","pkg-version":"0.8.4","component-name":"bench:benchmarks","available":["TargetNotLocal"]},{"pkg-name":"containers","pkg-version":"0.6.7","component-name":"lib","available":[{"id":"containers-0.6.7","component-name":"lib","build-by-default":true}]},{"pkg-name":"deepseq","pkg-version":"1.4.8.1","component-name":"lib","available":[{"id":"deepseq-1.4.8.1","component-name":"lib","build-by-default":true}]},{"pkg-name":"directory","pkg-version":"1.3.8.1","component-name":"lib","available":[{"id":"directory-1.3.8.1","component-name":"lib","build-by-default":true}]},{"pkg-name":"exceptions","pkg-version":"0.10.7","component-name":"lib","available":[{"id":"exceptions-0.10.7","component-name":"lib","build-by-default":true}]},{"pkg-name":"extra","pkg-version":"1.7.14","component-name":"lib","available":[{"id":"extra-1.7.14-5b3875febb50e86e1fd0471cb61fc83c08afae84f74dd82e3fe23bdc226bd3c9","component-name":"lib","build-by-default":true}]},{"pkg-name":"extra","pkg-version":"1.7.14","component-name":"test:extra-test","available":["TargetNotLocal"]},{"pkg-name":"filepath","pkg-version":"1.4.200.1","component-name":"lib","available":[{"id":"filepath-1.4.200.1","component-name":"lib","build-by-default":true}]},{"pkg-name":"filepattern","pkg-version":"0.1.3","component-name":"lib","available":[{"id":"filepattern-0.1.3-e0b05225cb586afea88cbd5fba3b81dbc7d8925b44e8dd467cfd9ed208da351b","component-name":"lib","build-by-default":true}]},{"pkg-name":"filepattern","pkg-version":"0.1.3","component-name":"test:filepattern-test","available":["TargetNotLocal"]},{"pkg-name":"ghc-bignum","pkg-version":"1.3","component-name":"lib","available":[{"id":"ghc-bignum-1.3","component-name":"lib","build-by-default":true}]},{"pkg-name":"ghc-boot-th","pkg-version":"9.6.4","component-name":"lib","available":[{"id":"ghc-boot-th-9.6.4","component-name":"lib","build-by-default":true}]},{"pkg-name":"ghc-prim","pkg-version":"0.10.0","component-name":"lib","available":[{"id":"ghc-prim-0.10.0","component-name":"lib","build-by-default":true}]},{"pkg-name":"hadrian","pkg-version":"0.1.0.0","component-name":"exe:hadrian","available":[{"id":"hadrian-0.1.0.0-inplace-hadrian","component-name":"exe:hadrian","build-by-default":true}]},{"pkg-name":"hashable","pkg-version":"1.4.3.0","component-name":"lib","available":[{"id":"hashable-1.4.3.0-cf03199beb9180bbbb9b383e3088c03deb3be32037dd08933c3d3ba08171d03e","component-name":"lib","build-by-default":true}]},{"pkg-name":"hashable","pkg-version":"1.4.3.0","component-name":"test:hashable-examples","available":["TargetNotLocal"]},{"pkg-name":"hashable","pkg-version":"1.4.3.0","component-name":"test:hashable-tests","available":["TargetNotLocal"]},{"pkg-name":"heaps","pkg-version":"0.4","component-name":"lib","available":[{"id":"heaps-0.4-582bc0f356369f4ac6a9badb439391d1ff82a6d0d7a4a55fe3db91d6d1a32875","component-name":"lib","build-by-default":true}]},{"pkg-name":"js-dgtable","pkg-version":"0.5.2","component-name":"lib","available":[{"id":"js-dgtable-0.5.2-40721bc9982faf5e0f71e3119e01102f429fefca9219230921535f5382e177f7","component-name":"lib","build-by-default":true}]},{"pkg-name":"js-dgtable","pkg-version":"0.5.2","component-name":"test:js-dgtable-test","available":["TargetNotLocal"]},{"pkg-name":"js-flot","pkg-version":"0.8.3","component-name":"lib","available":[{"id":"js-flot-0.8.3-fadd4ccb467ede662552cdc382e02fb02027d8181620f296bae75d1f76774b0b","component-name":"lib","build-by-default":true}]},{"pkg-name":"js-flot","pkg-version":"0.8.3","component-name":"test:js-flot-test","available":["TargetNotLocal"]},{"pkg-name":"js-jquery","pkg-version":"3.3.1","component-name":"lib","available":[{"id":"js-jquery-3.3.1-6a8cc1e84fc203e099644c71b32217b6615b055459038eb73f1b008db4b2f236","component-name":"lib","build-by-default":true}]},{"pkg-name":"js-jquery","pkg-version":"3.3.1","component-name":"test:js-jquery-test","available":["TargetNotLocal"]},{"pkg-name":"mtl","pkg-version":"2.3.1","component-name":"lib","available":[{"id":"mtl-2.3.1","component-name":"lib","build-by-default":true}]},{"pkg-name":"parsec","pkg-version":"3.1.16.1","component-name":"lib","available":[{"id":"parsec-3.1.16.1","component-name":"lib","build-by-default":true}]},{"pkg-name":"pretty","pkg-version":"1.1.3.6","component-name":"lib","available":[{"id":"pretty-1.1.3.6","component-name":"lib","build-by-default":true}]},{"pkg-name":"primitive","pkg-version":"0.9.0.0","component-name":"lib","available":[{"id":"primitive-0.9.0.0-b327a6c8ea4577ea7938607770d363048048a528efdff4bc67a582b5feac66fc","component-name":"lib","build-by-default":true}]},{"pkg-name":"primitive","pkg-version":"0.9.0.0","component-name":"test:test-qc","available":["TargetNotLocal"]},{"pkg-name":"primitive","pkg-version":"0.9.0.0","component-name":"bench:bench","available":["TargetNotLocal"]},{"pkg-name":"process","pkg-version":"1.6.17.0","component-name":"lib","available":[{"id":"process-1.6.17.0","component-name":"lib","build-by-default":true}]},{"pkg-name":"random","pkg-version":"1.2.1.1","component-name":"lib","available":[{"id":"random-1.2.1.1-e2b8c23c50d3a2e2d7c30c46d2a3344a9c2a38bf319885311c62efb7342cb80b","component-name":"lib","build-by-default":true}]},{"pkg-name":"random","pkg-version":"1.2.1.1","component-name":"test:doctests","available":["TargetNotLocal"]},{"pkg-name":"random","pkg-version":"1.2.1.1","component-name":"test:legacy-test","available":["TargetNotLocal"]},{"pkg-name":"random","pkg-version":"1.2.1.1","component-name":"test:spec","available":["TargetNotLocal"]},{"pkg-name":"random","pkg-version":"1.2.1.1","component-name":"test:spec-inspection","available":["TargetNotLocal"]},{"pkg-name":"random","pkg-version":"1.2.1.1","component-name":"bench:bench","available":["TargetNotLocal"]},{"pkg-name":"random","pkg-version":"1.2.1.1","component-name":"bench:legacy-bench","available":["TargetNotLocal"]},{"pkg-name":"shake","pkg-version":"0.19.7","component-name":"lib","available":[{"id":"shake-0.19.7-9369313762a66f683383a6b11b819b9aafcd8f0d518c176b2cb1f5a198ccf8cd","component-name":"lib","build-by-default":true}]},{"pkg-name":"shake","pkg-version":"0.19.7","component-name":"exe:shake","available":[{"id":"shake-0.19.7-e-shake-74d898c5705f61c05a8a7aee14d32e6ef38e5584b58da7af7f06efe4c3c36716","component-name":"exe:shake","build-by-default":true}]},{"pkg-name":"shake","pkg-version":"0.19.7","component-name":"test:shake-test","available":["TargetNotLocal"]},{"pkg-name":"splitmix","pkg-version":"0.1.0.5","component-name":"lib","available":[{"id":"splitmix-0.1.0.5-232d2b1a4ce5cacd620dd2472d411c8d63e777af17182b5d56b631942f729187","component-name":"lib","build-by-default":true}]},{"pkg-name":"splitmix","pkg-version":"0.1.0.5","component-name":"test:examples","available":["TargetNotLocal"]},{"pkg-name":"splitmix","pkg-version":"0.1.0.5","component-name":"test:initialization","available":["TargetNotLocal"]},{"pkg-name":"splitmix","pkg-version":"0.1.0.5","component-name":"test:montecarlo-pi","available":["TargetNotLocal"]},{"pkg-name":"splitmix","pkg-version":"0.1.0.5","component-name":"test:montecarlo-pi-32","available":["TargetNotLocal"]},{"pkg-name":"splitmix","pkg-version":"0.1.0.5","component-name":"test:splitmix-dieharder","available":["TargetNotLocal"]},{"pkg-name":"splitmix","pkg-version":"0.1.0.5","component-name":"test:splitmix-tests","available":["TargetNotLocal"]},{"pkg-name":"splitmix","pkg-version":"0.1.0.5","component-name":"test:splitmix-testu01","available":["TargetNotLocal"]},{"pkg-name":"splitmix","pkg-version":"0.1.0.5","component-name":"bench:comparison","available":["TargetNotLocal"]},{"pkg-name":"splitmix","pkg-version":"0.1.0.5","component-name":"bench:range","available":["TargetNotLocal"]},{"pkg-name":"splitmix","pkg-version":"0.1.0.5","component-name":"bench:simple-sum","available":["TargetNotLocal"]},{"pkg-name":"stm","pkg-version":"2.5.1.0","component-name":"lib","available":[{"id":"stm-2.5.1.0","component-name":"lib","build-by-default":true}]},{"pkg-name":"system-cxx-std-lib","pkg-version":"1.0","component-name":"lib","available":[{"id":"system-cxx-std-lib-1.0","component-name":"lib","build-by-default":true}]},{"pkg-name":"template-haskell","pkg-version":"2.20.0.0","component-name":"lib","available":[{"id":"template-haskell-2.20.0.0","component-name":"lib","build-by-default":true}]},{"pkg-name":"text","pkg-version":"2.0.2","component-name":"lib","available":[{"id":"text-2.0.2","component-name":"lib","build-by-default":true}]},{"pkg-name":"time","pkg-version":"1.12.2","component-name":"lib","available":[{"id":"time-1.12.2","component-name":"lib","build-by-default":true}]},{"pkg-name":"transformers","pkg-version":"0.6.1.0","component-name":"lib","available":[{"id":"transformers-0.6.1.0","component-name":"lib","build-by-default":true}]},{"pkg-name":"unix","pkg-version":"2.8.4.0","component-name":"lib","available":[{"id":"unix-2.8.4.0","component-name":"lib","build-by-default":true}]},{"pkg-name":"unordered-containers","pkg-version":"0.2.19.1","component-name":"lib","available":[{"id":"unordered-containers-0.2.19.1-0eb0d95c2f270578763e7cbc938fd7d57fa65a8f3c10aa64b616bc79bbf6b993","component-name":"lib","build-by-default":true}]},{"pkg-name":"unordered-containers","pkg-version":"0.2.19.1","component-name":"test:unordered-containers-tests","available":["TargetNotLocal"]},{"pkg-name":"unordered-containers","pkg-version":"0.2.19.1","component-name":"bench:benchmarks","available":["TargetNotLocal"]},{"pkg-name":"utf8-string","pkg-version":"1.0.2","component-name":"lib","available":[{"id":"utf8-string-1.0.2-134849f72bdb35a6754bed838d5c0f0412c3ca2863338b599b4cd9b0af070e05","component-name":"lib","build-by-default":true}]},{"pkg-name":"utf8-string","pkg-version":"1.0.2","component-name":"test:unit-tests","available":["TargetNotLocal"]}]} \ No newline at end of file diff --git a/materialized/ghc964/hadrian-ghc98/hadrian/.plan.nix/hadrian.nix b/materialized/ghc964/hadrian-ghc98/hadrian/.plan.nix/hadrian.nix deleted file mode 100644 index 45a80469a3..0000000000 --- a/materialized/ghc964/hadrian-ghc98/hadrian/.plan.nix/hadrian.nix +++ /dev/null @@ -1,166 +0,0 @@ -{ 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")) - (hsPkgs."cryptohash-sha256" or (errorHandler.buildDepError "cryptohash-sha256")) - (hsPkgs."base16-bytestring" or (errorHandler.buildDepError "base16-bytestring")) - ] ++ 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/Hash" - "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/GenApply" - "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-ghc98/hadrian/cabal-files/Cabal-syntax.nix b/materialized/ghc964/hadrian-ghc98/hadrian/cabal-files/Cabal-syntax.nix deleted file mode 100644 index dabbcbdee8..0000000000 --- a/materialized/ghc964/hadrian-ghc98/hadrian/cabal-files/Cabal-syntax.nix +++ /dev/null @@ -1,55 +0,0 @@ -{ 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-ghc98/hadrian/cabal-files/Cabal.nix b/materialized/ghc964/hadrian-ghc98/hadrian/cabal-files/Cabal.nix deleted file mode 100644 index be0b5019d9..0000000000 --- a/materialized/ghc964/hadrian-ghc98/hadrian/cabal-files/Cabal.nix +++ /dev/null @@ -1,56 +0,0 @@ -{ 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-ghc98/hadrian/cabal-files/QuickCheck.nix b/materialized/ghc964/hadrian-ghc98/hadrian/cabal-files/QuickCheck.nix deleted file mode 100644 index 62e36aa8b6..0000000000 --- a/materialized/ghc964/hadrian-ghc98/hadrian/cabal-files/QuickCheck.nix +++ /dev/null @@ -1,119 +0,0 @@ -{ 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-ghc98/hadrian/cabal-files/base16-bytestring.nix b/materialized/ghc964/hadrian-ghc98/hadrian/cabal-files/base16-bytestring.nix deleted file mode 100644 index c3d272500b..0000000000 --- a/materialized/ghc964/hadrian-ghc98/hadrian/cabal-files/base16-bytestring.nix +++ /dev/null @@ -1,68 +0,0 @@ -{ system - , compiler - , flags - , pkgs - , hsPkgs - , pkgconfPkgs - , errorHandler - , config - , ... }: - ({ - flags = {}; - package = { - specVersion = "1.12"; - identifier = { name = "base16-bytestring"; version = "1.0.2.0"; }; - license = "BSD-3-Clause"; - copyright = "Copyright 2011 MailRank, Inc.;\nCopyright 2010-2020 Bryan O'Sullivan et al."; - maintainer = "Herbert Valerio Riedel ,\nMikhail Glushenkov ,\nEmily Pillmore "; - author = "Bryan O'Sullivan "; - homepage = "http://github.com/haskell/base16-bytestring"; - url = ""; - synopsis = "RFC 4648-compliant Base16 encodings for ByteStrings"; - description = "This package provides support for encoding and decoding binary data according\nto @base16@ (see also ) for\nstrict (see \"Data.ByteString.Base16\") and lazy @ByteString@s (see \"Data.ByteString.Base16.Lazy\").\n\nSee the package which provides superior encoding and decoding performance as well as support for lazy, short, and strict variants of 'Text' and 'ByteString' values. Additionally, see the package which\nprovides an uniform API providing conversion paths between more binary and textual types."; - buildType = "Simple"; - }; - components = { - "library" = { - depends = [ - (hsPkgs."base" or (errorHandler.buildDepError "base")) - (hsPkgs."bytestring" or (errorHandler.buildDepError "bytestring")) - ]; - buildable = true; - }; - tests = { - "test" = { - depends = [ - (hsPkgs."base" or (errorHandler.buildDepError "base")) - (hsPkgs."base16-bytestring" or (errorHandler.buildDepError "base16-bytestring")) - (hsPkgs."bytestring" or (errorHandler.buildDepError "bytestring")) - (hsPkgs."HUnit" or (errorHandler.buildDepError "HUnit")) - (hsPkgs."QuickCheck" or (errorHandler.buildDepError "QuickCheck")) - (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")) - ]; - buildable = true; - }; - }; - benchmarks = { - "bench" = { - depends = [ - (hsPkgs."base" or (errorHandler.buildDepError "base")) - (hsPkgs."base16-bytestring" or (errorHandler.buildDepError "base16-bytestring")) - (hsPkgs."bytestring" or (errorHandler.buildDepError "bytestring")) - (hsPkgs."criterion" or (errorHandler.buildDepError "criterion")) - (hsPkgs."deepseq" or (errorHandler.buildDepError "deepseq")) - ]; - buildable = true; - }; - }; - }; - } // { - src = pkgs.lib.mkDefault (pkgs.fetchurl { - url = "http://hackage.haskell.org/package/base16-bytestring-1.0.2.0.tar.gz"; - sha256 = "1d5a91143ef0e22157536093ec8e59d226a68220ec89378d5dcaeea86472c784"; - }); - }) // { - package-description-override = "cabal-version: 1.12\nname: base16-bytestring\nversion: 1.0.2.0\nx-revision: 1\nsynopsis: RFC 4648-compliant Base16 encodings for ByteStrings\ndescription:\n This package provides support for encoding and decoding binary data according\n to @base16@ (see also ) for\n strict (see \"Data.ByteString.Base16\") and lazy @ByteString@s (see \"Data.ByteString.Base16.Lazy\").\n .\n See the package which provides superior encoding and decoding performance as well as support for lazy, short, and strict variants of 'Text' and 'ByteString' values. Additionally, see the package which\n provides an uniform API providing conversion paths between more binary and textual types.\n\nhomepage: http://github.com/haskell/base16-bytestring\nbug-reports: http://github.com/haskell/base16-bytestring/issues\nlicense: BSD3\nlicense-file: LICENSE\ncopyright:\n Copyright 2011 MailRank, Inc.;\n Copyright 2010-2020 Bryan O'Sullivan et al.\n\nauthor: Bryan O'Sullivan \nmaintainer:\n Herbert Valerio Riedel ,\n Mikhail Glushenkov ,\n Emily Pillmore \n\ncategory: Data\nbuild-type: Simple\nextra-source-files:\n README.md\n CHANGELOG.md\n\ntested-with:\n GHC == 9.8.0\n GHC == 9.6.3\n GHC == 9.4.7\n GHC == 9.2.8\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\nsource-repository head\n type: git\n location: http://github.com/haskell/base16-bytestring\n\nlibrary\n other-modules: Data.ByteString.Base16.Internal\n exposed-modules:\n Data.ByteString.Base16\n Data.ByteString.Base16.Lazy\n\n build-depends:\n base >=4.9 && <5\n , bytestring >=0.9 && <0.13\n\n ghc-options: -Wall -funbox-strict-fields\n default-language: Haskell2010\n\ntest-suite test\n type: exitcode-stdio-1.0\n hs-source-dirs: tests\n main-is: Tests.hs\n build-depends:\n base\n , base16-bytestring\n , bytestring\n , HUnit\n , QuickCheck\n , test-framework\n , test-framework-hunit\n , test-framework-quickcheck2\n\n default-language: Haskell2010\n\nbenchmark bench\n type: exitcode-stdio-1.0\n hs-source-dirs: benchmarks\n main-is: Benchmarks.hs\n build-depends:\n base >=4 && <5\n , base16-bytestring\n , bytestring\n , criterion\n , deepseq\n\n default-language: Haskell2010\n"; - } \ No newline at end of file diff --git a/materialized/ghc964/hadrian-ghc98/hadrian/cabal-files/clock.nix b/materialized/ghc964/hadrian-ghc98/hadrian/cabal-files/clock.nix deleted file mode 100644 index 1db6e2d90d..0000000000 --- a/materialized/ghc964/hadrian-ghc98/hadrian/cabal-files/clock.nix +++ /dev/null @@ -1,59 +0,0 @@ -{ 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-ghc98/hadrian/cabal-files/cryptohash-sha256.nix b/materialized/ghc964/hadrian-ghc98/hadrian/cabal-files/cryptohash-sha256.nix deleted file mode 100644 index 7fe8a112a9..0000000000 --- a/materialized/ghc964/hadrian-ghc98/hadrian/cabal-files/cryptohash-sha256.nix +++ /dev/null @@ -1,84 +0,0 @@ -{ system - , compiler - , flags - , pkgs - , hsPkgs - , pkgconfPkgs - , errorHandler - , config - , ... }: - ({ - flags = { exe = false; use-cbits = true; }; - package = { - specVersion = "2.0"; - identifier = { name = "cryptohash-sha256"; version = "0.11.102.1"; }; - license = "BSD-3-Clause"; - copyright = "Vincent Hanquez, Herbert Valerio Riedel"; - maintainer = "Herbert Valerio Riedel "; - author = ""; - homepage = "https://github.com/hvr/cryptohash-sha256"; - url = ""; - synopsis = "Fast, pure and practical SHA-256 implementation"; - description = "A practical incremental and one-pass, pure API to\nthe [SHA-256 cryptographic hash algorithm](https://en.wikipedia.org/wiki/SHA-2) according\nto [FIPS 180-4](http://dx.doi.org/10.6028/NIST.FIPS.180-4)\nwith performance close to the fastest implementations available in other languages.\n\nThe core SHA-256 algorithm is implemented in C and is thus expected\nto be as fast as the standard [sha256sum(1) tool](https://linux.die.net/man/1/sha256sum);\nfor instance, on an /Intel Core i7-3770/ at 3.40GHz this implementation can\ncompute a SHA-256 hash over 230 MiB of data in under one second.\n(If, instead, you require a pure Haskell implementation and performance is secondary, please refer to the [SHA package](https://hackage.haskell.org/package/SHA).)\n\n\nAdditionally, this package provides support for\n\n- HMAC-SHA-256: SHA-256-based [Hashed Message Authentication Codes](https://en.wikipedia.org/wiki/HMAC) (HMAC)\n- HKDF-SHA-256: [HMAC-SHA-256-based Key Derivation Function](https://en.wikipedia.org/wiki/HKDF) (HKDF)\n\nconforming to [RFC6234](https://tools.ietf.org/html/rfc6234), [RFC4231](https://tools.ietf.org/html/rfc4231), [RFC5869](https://tools.ietf.org/html/rfc5869), et al..\n\n=== Relationship to the @cryptohash@ package and its API\n\nThis package has been originally a fork of @cryptohash-0.11.7@ because the @cryptohash@\npackage had been deprecated and so this package continues to satisfy the need for a\nlightweight package providing the SHA-256 hash algorithm without any dependencies on packages\nother than @base@ and @bytestring@. The API exposed by @cryptohash-sha256-0.11.*@'s\n\"Crypto.Hash.SHA256\" module is guaranteed to remain a compatible superset of the API provided\nby the @cryptohash-0.11.7@'s module of the same name.\n\nConsequently, this package is designed to be used as a drop-in replacement for @cryptohash-0.11.7@'s\n\"Crypto.Hash.SHA256\" module, though with\na [clearly smaller footprint by almost 3 orders of magnitude](https://www.reddit.com/r/haskell/comments/5lxv75/psa_please_use_unique_module_names_when_uploading/dbzegx3/)."; - buildType = "Simple"; - }; - components = { - "library" = { - depends = [ - (hsPkgs."base" or (errorHandler.buildDepError "base")) - ] ++ (if flags.use-cbits - then [ - (hsPkgs."bytestring" or (errorHandler.buildDepError "bytestring")) - ] - else [ - (hsPkgs."cryptohash-sha256-pure" or (errorHandler.buildDepError "cryptohash-sha256-pure")) - ]); - buildable = true; - }; - exes = { - "sha256sum" = { - depends = pkgs.lib.optionals (flags.exe) [ - (hsPkgs."cryptohash-sha256" or (errorHandler.buildDepError "cryptohash-sha256")) - (hsPkgs."base" or (errorHandler.buildDepError "base")) - (hsPkgs."bytestring" or (errorHandler.buildDepError "bytestring")) - (hsPkgs."base16-bytestring" or (errorHandler.buildDepError "base16-bytestring")) - ]; - buildable = if flags.exe then true else false; - }; - }; - tests = { - "test-sha256" = { - depends = [ - (hsPkgs."cryptohash-sha256" or (errorHandler.buildDepError "cryptohash-sha256")) - (hsPkgs."base" or (errorHandler.buildDepError "base")) - (hsPkgs."bytestring" or (errorHandler.buildDepError "bytestring")) - (hsPkgs."base16-bytestring" or (errorHandler.buildDepError "base16-bytestring")) - (hsPkgs."SHA" or (errorHandler.buildDepError "SHA")) - (hsPkgs."tasty" or (errorHandler.buildDepError "tasty")) - (hsPkgs."tasty-quickcheck" or (errorHandler.buildDepError "tasty-quickcheck")) - (hsPkgs."tasty-hunit" or (errorHandler.buildDepError "tasty-hunit")) - ]; - buildable = true; - }; - }; - benchmarks = { - "bench-sha256" = { - depends = [ - (hsPkgs."cryptohash-sha256" or (errorHandler.buildDepError "cryptohash-sha256")) - (hsPkgs."SHA" or (errorHandler.buildDepError "SHA")) - (hsPkgs."base" or (errorHandler.buildDepError "base")) - (hsPkgs."bytestring" or (errorHandler.buildDepError "bytestring")) - (hsPkgs."criterion" or (errorHandler.buildDepError "criterion")) - ]; - buildable = true; - }; - }; - }; - } // { - src = pkgs.lib.mkDefault (pkgs.fetchurl { - url = "http://hackage.haskell.org/package/cryptohash-sha256-0.11.102.1.tar.gz"; - sha256 = "73a7dc7163871a80837495039a099967b11f5c4fe70a118277842f7a713c6bf6"; - }); - }) // { - package-description-override = "cabal-version: 2.0\nname: cryptohash-sha256\nversion: 0.11.102.1\nx-revision: 3\n\nsynopsis: Fast, pure and practical SHA-256 implementation\ndescription: {\n\nA practical incremental and one-pass, pure API to\nthe [SHA-256 cryptographic hash algorithm](https://en.wikipedia.org/wiki/SHA-2) according\nto [FIPS 180-4](http://dx.doi.org/10.6028/NIST.FIPS.180-4)\nwith performance close to the fastest implementations available in other languages.\n.\nThe core SHA-256 algorithm is implemented in C and is thus expected\nto be as fast as the standard [sha256sum(1) tool](https://linux.die.net/man/1/sha256sum);\nfor instance, on an /Intel Core i7-3770/ at 3.40GHz this implementation can\ncompute a SHA-256 hash over 230 MiB of data in under one second.\n(If, instead, you require a pure Haskell implementation and performance is secondary, please refer to the [SHA package](https://hackage.haskell.org/package/SHA).)\n.\n\n.\nAdditionally, this package provides support for\n.\n- HMAC-SHA-256: SHA-256-based [Hashed Message Authentication Codes](https://en.wikipedia.org/wiki/HMAC) (HMAC)\n- HKDF-SHA-256: [HMAC-SHA-256-based Key Derivation Function](https://en.wikipedia.org/wiki/HKDF) (HKDF)\n.\nconforming to [RFC6234](https://tools.ietf.org/html/rfc6234), [RFC4231](https://tools.ietf.org/html/rfc4231), [RFC5869](https://tools.ietf.org/html/rfc5869), et al..\n.\n=== Relationship to the @cryptohash@ package and its API\n.\nThis package has been originally a fork of @cryptohash-0.11.7@ because the @cryptohash@\npackage had been deprecated and so this package continues to satisfy the need for a\nlightweight package providing the SHA-256 hash algorithm without any dependencies on packages\nother than @base@ and @bytestring@. The API exposed by @cryptohash-sha256-0.11.*@'s\n\"Crypto.Hash.SHA256\" module is guaranteed to remain a compatible superset of the API provided\nby the @cryptohash-0.11.7@'s module of the same name.\n.\nConsequently, this package is designed to be used as a drop-in replacement for @cryptohash-0.11.7@'s\n\"Crypto.Hash.SHA256\" module, though with\na [clearly smaller footprint by almost 3 orders of magnitude](https://www.reddit.com/r/haskell/comments/5lxv75/psa_please_use_unique_module_names_when_uploading/dbzegx3/).\n\n}\n\nlicense: BSD3\nlicense-file: LICENSE\ncopyright: Vincent Hanquez, Herbert Valerio Riedel\nmaintainer: Herbert Valerio Riedel \nhomepage: https://github.com/hvr/cryptohash-sha256\nbug-reports: https://github.com/hvr/cryptohash-sha256/issues\ncategory: Data, Cryptography\nbuild-type: Simple\n\ntested-with:\n GHC == 9.8.0\n GHC == 9.6.2\n GHC == 9.4.7\n GHC == 9.2.8\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\nextra-source-files: cbits/hs_sha256.h\n changelog.md\n\nsource-repository head\n type: git\n location: https://github.com/hvr/cryptohash-sha256.git\n\nflag exe\n description: Enable building @sha256sum@ executable\n manual: True\n default: False\n\nflag use-cbits\n description: Use fast optimized C routines via FFI; if flag is disabled falls back to non-FFI Haskell optimized implementation.\n manual: True\n default: True\n\nlibrary\n default-language: Haskell2010\n\n ghc-options: -Wall\n\n build-depends: base >= 4.5 && < 4.20\n\n exposed-modules: Crypto.Hash.SHA256\n\n if flag(use-cbits)\n build-depends: bytestring ^>= 0.9.2.0 || ^>= 0.10.0.0 || ^>= 0.11.0.0 || ^>= 0.12.0.2\n\n other-extensions: BangPatterns\n CApiFFI\n CPP\n Trustworthy\n Unsafe\n\n hs-source-dirs: src\n other-modules: Crypto.Hash.SHA256.FFI\n Compat\n include-dirs: cbits\n else\n hs-source-dirs: src-pure\n build-depends: cryptohash-sha256-pure ^>= 0.1.0\n\nexecutable sha256sum\n default-language: Haskell2010\n hs-source-dirs: src-exe\n main-is: sha256sum.hs\n ghc-options: -Wall -threaded\n if flag(exe)\n other-extensions: RecordWildCards\n build-depends: cryptohash-sha256\n , base\n , bytestring\n\n , base16-bytestring ^>= 0.1.1 || ^>= 1.0.0\n else\n buildable: False\n\ntest-suite test-sha256\n default-language: Haskell2010\n other-extensions: OverloadedStrings\n type: exitcode-stdio-1.0\n hs-source-dirs: src-tests\n main-is: test-sha256.hs\n ghc-options: -Wall -threaded\n build-depends: cryptohash-sha256\n , base\n , bytestring\n\n , base16-bytestring ^>= 0.1.1 || ^>= 1.0.0\n , SHA ^>= 1.6.4\n , tasty ^>= 1.4 || ^>= 1.5\n , tasty-quickcheck ^>= 0.10\n , tasty-hunit ^>= 0.10\n\nbenchmark bench-sha256\n default-language: Haskell2010\n other-extensions: BangPatterns\n type: exitcode-stdio-1.0\n main-is: bench-sha256.hs\n hs-source-dirs: src-bench\n build-depends: cryptohash-sha256\n , SHA ^>= 1.6.4\n , base\n , bytestring\n , criterion ^>= 1.5 || ^>=1.6\n\n -- not yet public\n -- build-depends: cryptohash-sha256-pure ^>= 0.1.0\n"; - } \ No newline at end of file diff --git a/materialized/ghc964/hadrian-ghc98/hadrian/cabal-files/extra.nix b/materialized/ghc964/hadrian-ghc98/hadrian/cabal-files/extra.nix deleted file mode 100644 index 41668cf6bc..0000000000 --- a/materialized/ghc964/hadrian-ghc98/hadrian/cabal-files/extra.nix +++ /dev/null @@ -1,58 +0,0 @@ -{ 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-ghc98/hadrian/cabal-files/filepattern.nix b/materialized/ghc964/hadrian-ghc98/hadrian/cabal-files/filepattern.nix deleted file mode 100644 index 385c502003..0000000000 --- a/materialized/ghc964/hadrian-ghc98/hadrian/cabal-files/filepattern.nix +++ /dev/null @@ -1,56 +0,0 @@ -{ 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-ghc98/hadrian/cabal-files/hashable.nix b/materialized/ghc964/hadrian-ghc98/hadrian/cabal-files/hashable.nix deleted file mode 100644 index 4b125fa0bc..0000000000 --- a/materialized/ghc964/hadrian-ghc98/hadrian/cabal-files/hashable.nix +++ /dev/null @@ -1,82 +0,0 @@ -{ 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-ghc98/hadrian/cabal-files/heaps.nix b/materialized/ghc964/hadrian-ghc98/hadrian/cabal-files/heaps.nix deleted file mode 100644 index e759e305bf..0000000000 --- a/materialized/ghc964/hadrian-ghc98/hadrian/cabal-files/heaps.nix +++ /dev/null @@ -1,38 +0,0 @@ -{ 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-ghc98/hadrian/cabal-files/js-dgtable.nix b/materialized/ghc964/hadrian-ghc98/hadrian/cabal-files/js-dgtable.nix deleted file mode 100644 index 40ea1148c6..0000000000 --- a/materialized/ghc964/hadrian-ghc98/hadrian/cabal-files/js-dgtable.nix +++ /dev/null @@ -1,47 +0,0 @@ -{ 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-ghc98/hadrian/cabal-files/js-flot.nix b/materialized/ghc964/hadrian-ghc98/hadrian/cabal-files/js-flot.nix deleted file mode 100644 index 67980dd7ba..0000000000 --- a/materialized/ghc964/hadrian-ghc98/hadrian/cabal-files/js-flot.nix +++ /dev/null @@ -1,47 +0,0 @@ -{ 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-ghc98/hadrian/cabal-files/js-jquery.nix b/materialized/ghc964/hadrian-ghc98/hadrian/cabal-files/js-jquery.nix deleted file mode 100644 index 05e54a25ab..0000000000 --- a/materialized/ghc964/hadrian-ghc98/hadrian/cabal-files/js-jquery.nix +++ /dev/null @@ -1,48 +0,0 @@ -{ 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-ghc98/hadrian/cabal-files/primitive.nix b/materialized/ghc964/hadrian-ghc98/hadrian/cabal-files/primitive.nix deleted file mode 100644 index b5683f2c83..0000000000 --- a/materialized/ghc964/hadrian-ghc98/hadrian/cabal-files/primitive.nix +++ /dev/null @@ -1,73 +0,0 @@ -{ 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-ghc98/hadrian/cabal-files/random.nix b/materialized/ghc964/hadrian-ghc98/hadrian/cabal-files/random.nix deleted file mode 100644 index 0dbaf8b099..0000000000 --- a/materialized/ghc964/hadrian-ghc98/hadrian/cabal-files/random.nix +++ /dev/null @@ -1,113 +0,0 @@ -{ 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-ghc98/hadrian/cabal-files/shake.nix b/materialized/ghc964/hadrian-ghc98/hadrian/cabal-files/shake.nix deleted file mode 100644 index d40c2a8bbc..0000000000 --- a/materialized/ghc964/hadrian-ghc98/hadrian/cabal-files/shake.nix +++ /dev/null @@ -1,132 +0,0 @@ -{ 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-ghc98/hadrian/cabal-files/splitmix.nix b/materialized/ghc964/hadrian-ghc98/hadrian/cabal-files/splitmix.nix deleted file mode 100644 index aa0dd88d31..0000000000 --- a/materialized/ghc964/hadrian-ghc98/hadrian/cabal-files/splitmix.nix +++ /dev/null @@ -1,139 +0,0 @@ -{ 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-ghc98/hadrian/cabal-files/unordered-containers.nix b/materialized/ghc964/hadrian-ghc98/hadrian/cabal-files/unordered-containers.nix deleted file mode 100644 index 0aeaccb277..0000000000 --- a/materialized/ghc964/hadrian-ghc98/hadrian/cabal-files/unordered-containers.nix +++ /dev/null @@ -1,78 +0,0 @@ -{ 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-ghc98/hadrian/cabal-files/utf8-string.nix b/materialized/ghc964/hadrian-ghc98/hadrian/cabal-files/utf8-string.nix deleted file mode 100644 index a5ee5272da..0000000000 --- a/materialized/ghc964/hadrian-ghc98/hadrian/cabal-files/utf8-string.nix +++ /dev/null @@ -1,51 +0,0 @@ -{ 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-ghc98/hadrian/default.nix b/materialized/ghc964/hadrian-ghc98/hadrian/default.nix deleted file mode 100644 index 08f0ef6f72..0000000000 --- a/materialized/ghc964/hadrian-ghc98/hadrian/default.nix +++ /dev/null @@ -1,181 +0,0 @@ -{ - 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; - base16-bytestring.revision = import ./cabal-files/base16-bytestring.nix; - 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; - cryptohash-sha256.revision = import ./cabal-files/cryptohash-sha256.nix; - cryptohash-sha256.flags.exe = false; - cryptohash-sha256.flags.use-cbits = true; - 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; - "base16-bytestring".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; - "cryptohash-sha256".components.library.planned = lib.mkOverride 900 true; - "unix".components.library.planned = lib.mkOverride 900 true; - }; - }) - ]; -} \ No newline at end of file diff --git a/materialized/ghc964/hadrian-ghc98/plan.json b/materialized/ghc964/hadrian-ghc98/plan.json deleted file mode 100644 index eb5633aa5f..0000000000 --- a/materialized/ghc964/hadrian-ghc98/plan.json +++ /dev/null @@ -1 +0,0 @@ -{"cabal-version":"3.10.3.0","cabal-lib-version":"3.10.3.0","compiler-id":"ghc-9.6.4","os":"linux","arch":"x86_64","install-plan":[{"type":"configured","id":"Cabal-3.8.1.0-c668f818769193b477ca1a8b87e802e56126adbc7bed962d76bde34a01e8c306","pkg-name":"Cabal","pkg-version":"3.8.1.0","flags":{},"style":"global","pkg-src":{"type":"repo-tar","repo":{"type":"secure-repo","uri":"http://hackage.haskell.org/"}},"pkg-cabal-sha256":"77121d8e1aff14a0fd95684b751599db78a7dd26d55862d9fcef27c88b193e9d","pkg-src-sha256":"7464cbe6c2f3d7e5d0232023a1a7330621f8b24853cb259fc89a2af85b736608","depends":["Cabal-syntax-3.8.1.0-b99db30153f1d2c83dc6d34e637d577dc69cabe5825778a1e3462bcf8317b588","array-0.5.6.0","base-4.18.2.0","bytestring-0.11.5.3","containers-0.6.7","deepseq-1.4.8.1","directory-1.3.8.1","filepath-1.4.200.1","mtl-2.3.1","parsec-3.1.16.1","pretty-1.1.3.6","process-1.6.17.0","text-2.0.2","time-1.12.2","transformers-0.6.1.0","unix-2.8.4.0"],"exe-depends":[],"component-name":"lib"},{"type":"configured","id":"Cabal-syntax-3.8.1.0-b99db30153f1d2c83dc6d34e637d577dc69cabe5825778a1e3462bcf8317b588","pkg-name":"Cabal-syntax","pkg-version":"3.8.1.0","flags":{},"style":"global","pkg-src":{"type":"repo-tar","repo":{"type":"secure-repo","uri":"http://hackage.haskell.org/"}},"pkg-cabal-sha256":"ed2d937ba6c6a20b75850349eedd41374885fc42369ef152d69e2ba70f44f593","pkg-src-sha256":"07e8ddb19fe01781485f1522b6afc22aba680b0ab28ebe6bbfb84a2dd698ce0f","depends":["array-0.5.6.0","base-4.18.2.0","binary-0.8.9.1","bytestring-0.11.5.3","containers-0.6.7","deepseq-1.4.8.1","directory-1.3.8.1","filepath-1.4.200.1","mtl-2.3.1","parsec-3.1.16.1","pretty-1.1.3.6","text-2.0.2","time-1.12.2","transformers-0.6.1.0","unix-2.8.4.0"],"exe-depends":[],"component-name":"lib"},{"type":"configured","id":"QuickCheck-2.14.3-116702925e70e233df64507a5cae969ff9c69efe35b3cc35e56c87d47168ff11","pkg-name":"QuickCheck","pkg-version":"2.14.3","flags":{"old-random":false,"templatehaskell":true},"style":"global","pkg-src":{"type":"repo-tar","repo":{"type":"secure-repo","uri":"http://hackage.haskell.org/"}},"pkg-cabal-sha256":"f03d2f404d5ba465453d0fbc1944832789a759fe7c4f9bf8616bc1378a02fde4","pkg-src-sha256":"5c0f22b36b28a1a8fa110b3819818d3f29494a3b0dedbae299f064123ca70501","depends":["base-4.18.2.0","containers-0.6.7","deepseq-1.4.8.1","random-1.2.1.1-e2b8c23c50d3a2e2d7c30c46d2a3344a9c2a38bf319885311c62efb7342cb80b","splitmix-0.1.0.5-232d2b1a4ce5cacd620dd2472d411c8d63e777af17182b5d56b631942f729187","template-haskell-2.20.0.0","transformers-0.6.1.0"],"exe-depends":[],"component-name":"lib"},{"type":"pre-existing","id":"array-0.5.6.0","pkg-name":"array","pkg-version":"0.5.6.0","depends":["base-4.18.2.0"]},{"type":"pre-existing","id":"base-4.18.2.0","pkg-name":"base","pkg-version":"4.18.2.0","depends":["ghc-bignum-1.3","ghc-prim-0.10.0"]},{"type":"configured","id":"base16-bytestring-1.0.2.0-48e234cd9d2674d718111ce6f52d0142cc28a3c5a0493618f8fb6a8b7f7dd1f7","pkg-name":"base16-bytestring","pkg-version":"1.0.2.0","flags":{},"style":"global","pkg-src":{"type":"repo-tar","repo":{"type":"secure-repo","uri":"http://hackage.haskell.org/"}},"pkg-cabal-sha256":"a694e88f9ec9fc79f0b03f233d3fea592b68f70a34aac2ddb5bcaecb6562e2fd","pkg-src-sha256":"1d5a91143ef0e22157536093ec8e59d226a68220ec89378d5dcaeea86472c784","depends":["base-4.18.2.0","bytestring-0.11.5.3"],"exe-depends":[],"component-name":"lib"},{"type":"pre-existing","id":"binary-0.8.9.1","pkg-name":"binary","pkg-version":"0.8.9.1","depends":["array-0.5.6.0","base-4.18.2.0","bytestring-0.11.5.3","containers-0.6.7","ghc-prim-0.10.0"]},{"type":"pre-existing","id":"bytestring-0.11.5.3","pkg-name":"bytestring","pkg-version":"0.11.5.3","depends":["base-4.18.2.0","deepseq-1.4.8.1","ghc-prim-0.10.0","template-haskell-2.20.0.0"]},{"type":"configured","id":"clock-0.8.4-b6af39fafa1fb93e9520050c562fc2d9803a08bc83cda5d8b8d907beefe150aa","pkg-name":"clock","pkg-version":"0.8.4","flags":{"llvm":false},"style":"global","pkg-src":{"type":"repo-tar","repo":{"type":"secure-repo","uri":"http://hackage.haskell.org/"}},"pkg-cabal-sha256":"b938655b00cf204ce69abfff946021bed111d2609a9f7a9c22e28a1a202e9115","pkg-src-sha256":"6ae9898afe788a5e334cd5fad5d18a3c2e8e59fa09aaf7b957dbb38a4767df2e","depends":["base-4.18.2.0"],"exe-depends":[],"component-name":"lib"},{"type":"pre-existing","id":"containers-0.6.7","pkg-name":"containers","pkg-version":"0.6.7","depends":["array-0.5.6.0","base-4.18.2.0","deepseq-1.4.8.1","template-haskell-2.20.0.0"]},{"type":"configured","id":"cryptohash-sha256-0.11.102.1-898616048405d66a1ac2538c4878965bc94c2902780e27b3e48e171cdfe34cf8","pkg-name":"cryptohash-sha256","pkg-version":"0.11.102.1","flags":{"exe":false,"use-cbits":true},"style":"global","pkg-src":{"type":"repo-tar","repo":{"type":"secure-repo","uri":"http://hackage.haskell.org/"}},"pkg-cabal-sha256":"03db065161987f614a3a2bbcd16264f78e47efe231fb5bd161be2043eaf20488","pkg-src-sha256":"73a7dc7163871a80837495039a099967b11f5c4fe70a118277842f7a713c6bf6","depends":["base-4.18.2.0","bytestring-0.11.5.3"],"exe-depends":[],"component-name":"lib"},{"type":"pre-existing","id":"deepseq-1.4.8.1","pkg-name":"deepseq","pkg-version":"1.4.8.1","depends":["array-0.5.6.0","base-4.18.2.0","ghc-prim-0.10.0"]},{"type":"pre-existing","id":"directory-1.3.8.1","pkg-name":"directory","pkg-version":"1.3.8.1","depends":["base-4.18.2.0","filepath-1.4.200.1","time-1.12.2","unix-2.8.4.0"]},{"type":"pre-existing","id":"exceptions-0.10.7","pkg-name":"exceptions","pkg-version":"0.10.7","depends":["base-4.18.2.0","mtl-2.3.1","stm-2.5.1.0","template-haskell-2.20.0.0","transformers-0.6.1.0"]},{"type":"configured","id":"extra-1.7.14-5b3875febb50e86e1fd0471cb61fc83c08afae84f74dd82e3fe23bdc226bd3c9","pkg-name":"extra","pkg-version":"1.7.14","flags":{},"style":"global","pkg-src":{"type":"repo-tar","repo":{"type":"secure-repo","uri":"http://hackage.haskell.org/"}},"pkg-cabal-sha256":"e3d3ce1dc7746b1132930e48c59fb5e8c51a09e92e0c031316be031067a273fb","pkg-src-sha256":"b6a909f8f0e4b8076a1653b4d34815a782f0a8c1e83d5267f4d00496471ef567","depends":["base-4.18.2.0","clock-0.8.4-b6af39fafa1fb93e9520050c562fc2d9803a08bc83cda5d8b8d907beefe150aa","directory-1.3.8.1","filepath-1.4.200.1","process-1.6.17.0","time-1.12.2","unix-2.8.4.0"],"exe-depends":[],"component-name":"lib"},{"type":"pre-existing","id":"filepath-1.4.200.1","pkg-name":"filepath","pkg-version":"1.4.200.1","depends":["base-4.18.2.0","bytestring-0.11.5.3","deepseq-1.4.8.1","exceptions-0.10.7","template-haskell-2.20.0.0"]},{"type":"configured","id":"filepattern-0.1.3-e0b05225cb586afea88cbd5fba3b81dbc7d8925b44e8dd467cfd9ed208da351b","pkg-name":"filepattern","pkg-version":"0.1.3","flags":{},"style":"global","pkg-src":{"type":"repo-tar","repo":{"type":"secure-repo","uri":"http://hackage.haskell.org/"}},"pkg-cabal-sha256":"372c1733d83b90045eb29da9f010fed79bfef8771ce65eb126a1d83ecc54a9a2","pkg-src-sha256":"cc445d439ea2f65cac7604d3578aa2c3a62e5a91dc989f4ce5b3390db9e59636","depends":["base-4.18.2.0","directory-1.3.8.1","extra-1.7.14-5b3875febb50e86e1fd0471cb61fc83c08afae84f74dd82e3fe23bdc226bd3c9","filepath-1.4.200.1"],"exe-depends":[],"component-name":"lib"},{"type":"pre-existing","id":"ghc-bignum-1.3","pkg-name":"ghc-bignum","pkg-version":"1.3","depends":["ghc-prim-0.10.0"]},{"type":"pre-existing","id":"ghc-boot-th-9.6.4","pkg-name":"ghc-boot-th","pkg-version":"9.6.4","depends":["base-4.18.2.0"]},{"type":"pre-existing","id":"ghc-prim-0.10.0","pkg-name":"ghc-prim","pkg-version":"0.10.0","depends":[]},{"type":"configured","id":"hadrian-0.1.0.0-inplace-hadrian","pkg-name":"hadrian","pkg-version":"0.1.0.0","flags":{"selftest":true,"threaded":true},"style":"local","pkg-src":{"type":"local","path":"./hadrian/."},"dist-dir":"./hadrian/dist-newstyle/build/x86_64-linux/ghc-9.6.4/hadrian-0.1.0.0/x/hadrian","build-info":"./hadrian/dist-newstyle/build/x86_64-linux/ghc-9.6.4/hadrian-0.1.0.0/x/hadrian/build-info.json","depends":["Cabal-3.8.1.0-c668f818769193b477ca1a8b87e802e56126adbc7bed962d76bde34a01e8c306","QuickCheck-2.14.3-116702925e70e233df64507a5cae969ff9c69efe35b3cc35e56c87d47168ff11","base-4.18.2.0","base16-bytestring-1.0.2.0-48e234cd9d2674d718111ce6f52d0142cc28a3c5a0493618f8fb6a8b7f7dd1f7","bytestring-0.11.5.3","containers-0.6.7","cryptohash-sha256-0.11.102.1-898616048405d66a1ac2538c4878965bc94c2902780e27b3e48e171cdfe34cf8","directory-1.3.8.1","extra-1.7.14-5b3875febb50e86e1fd0471cb61fc83c08afae84f74dd82e3fe23bdc226bd3c9","filepath-1.4.200.1","mtl-2.3.1","parsec-3.1.16.1","shake-0.19.7-9369313762a66f683383a6b11b819b9aafcd8f0d518c176b2cb1f5a198ccf8cd","text-2.0.2","time-1.12.2","transformers-0.6.1.0","unordered-containers-0.2.19.1-0eb0d95c2f270578763e7cbc938fd7d57fa65a8f3c10aa64b616bc79bbf6b993"],"exe-depends":[],"component-name":"exe:hadrian","bin-file":"./hadrian/dist-newstyle/build/x86_64-linux/ghc-9.6.4/hadrian-0.1.0.0/x/hadrian/build/hadrian/hadrian"},{"type":"configured","id":"hashable-1.4.3.0-cf03199beb9180bbbb9b383e3088c03deb3be32037dd08933c3d3ba08171d03e","pkg-name":"hashable","pkg-version":"1.4.3.0","flags":{"integer-gmp":true,"random-initial-seed":false},"style":"global","pkg-src":{"type":"repo-tar","repo":{"type":"secure-repo","uri":"http://hackage.haskell.org/"}},"pkg-cabal-sha256":"f3bf68acfa0df7a064a378ef2cdcfeb55e6fb96100675f4c593556dcbf3d7194","pkg-src-sha256":"32efb16c2891786209b7cbe5c39df9b3a9ae51e836f1a54f646bc4602b7ab0f5","depends":["base-4.18.2.0","bytestring-0.11.5.3","containers-0.6.7","deepseq-1.4.8.1","filepath-1.4.200.1","ghc-bignum-1.3","ghc-prim-0.10.0","text-2.0.2"],"exe-depends":[],"component-name":"lib"},{"type":"configured","id":"heaps-0.4-582bc0f356369f4ac6a9badb439391d1ff82a6d0d7a4a55fe3db91d6d1a32875","pkg-name":"heaps","pkg-version":"0.4","flags":{},"style":"global","pkg-src":{"type":"repo-tar","repo":{"type":"secure-repo","uri":"http://hackage.haskell.org/"}},"pkg-cabal-sha256":"66b19fcd813b0e4db3e0bac541bd46606c3b13d3d081d9f9666f4be0f5ff14b8","pkg-src-sha256":"89329df8b95ae99ef272e41e7a2d0fe2f1bb7eacfcc34bc01664414b33067cfd","depends":["base-4.18.2.0"],"exe-depends":[],"component-name":"lib"},{"type":"configured","id":"js-dgtable-0.5.2-40721bc9982faf5e0f71e3119e01102f429fefca9219230921535f5382e177f7","pkg-name":"js-dgtable","pkg-version":"0.5.2","flags":{},"style":"global","pkg-src":{"type":"repo-tar","repo":{"type":"secure-repo","uri":"http://hackage.haskell.org/"}},"pkg-cabal-sha256":"f75cb4fa53c88c65794becdd48eb0d3b2b8abd89a3d5c19e87af91f5225c15e4","pkg-src-sha256":"e28dd65bee8083b17210134e22e01c6349dc33c3b7bd17705973cd014e9f20ac","depends":["base-4.18.2.0"],"exe-depends":[],"component-name":"lib"},{"type":"configured","id":"js-flot-0.8.3-fadd4ccb467ede662552cdc382e02fb02027d8181620f296bae75d1f76774b0b","pkg-name":"js-flot","pkg-version":"0.8.3","flags":{},"style":"global","pkg-src":{"type":"repo-tar","repo":{"type":"secure-repo","uri":"http://hackage.haskell.org/"}},"pkg-cabal-sha256":"4c1c447a9a2fba0adba6d30678302a30c32b9dfde9e7aa9e9156483e1545096d","pkg-src-sha256":"1ba2f2a6b8d85da76c41f526c98903cbb107f8642e506c072c1e7e3c20fe5e7a","depends":["base-4.18.2.0"],"exe-depends":[],"component-name":"lib"},{"type":"configured","id":"js-jquery-3.3.1-6a8cc1e84fc203e099644c71b32217b6615b055459038eb73f1b008db4b2f236","pkg-name":"js-jquery","pkg-version":"3.3.1","flags":{},"style":"global","pkg-src":{"type":"repo-tar","repo":{"type":"secure-repo","uri":"http://hackage.haskell.org/"}},"pkg-cabal-sha256":"59ab6c79159549ef94b584abce8e6d3b336014c2cce1337b59a8f637e2856df5","pkg-src-sha256":"e0e0681f0da1130ede4e03a051630ea439c458cb97216cdb01771ebdbe44069b","depends":["base-4.18.2.0"],"exe-depends":[],"component-name":"lib"},{"type":"pre-existing","id":"mtl-2.3.1","pkg-name":"mtl","pkg-version":"2.3.1","depends":["base-4.18.2.0","transformers-0.6.1.0"]},{"type":"pre-existing","id":"parsec-3.1.16.1","pkg-name":"parsec","pkg-version":"3.1.16.1","depends":["base-4.18.2.0","bytestring-0.11.5.3","mtl-2.3.1","text-2.0.2"]},{"type":"pre-existing","id":"pretty-1.1.3.6","pkg-name":"pretty","pkg-version":"1.1.3.6","depends":["base-4.18.2.0","deepseq-1.4.8.1","ghc-prim-0.10.0"]},{"type":"configured","id":"primitive-0.9.0.0-b327a6c8ea4577ea7938607770d363048048a528efdff4bc67a582b5feac66fc","pkg-name":"primitive","pkg-version":"0.9.0.0","flags":{},"style":"global","pkg-src":{"type":"repo-tar","repo":{"type":"secure-repo","uri":"http://hackage.haskell.org/"}},"pkg-cabal-sha256":"1ceb39f67c0e614180f2992a6d30f26603ab2cd23c4f8e25b30213f98807f6f1","pkg-src-sha256":"696d4bd291c94d736142d6182117dca4258d3ef28bfefdb649ac8b5ecd0999c7","depends":["base-4.18.2.0","deepseq-1.4.8.1","template-haskell-2.20.0.0","transformers-0.6.1.0"],"exe-depends":[],"component-name":"lib"},{"type":"pre-existing","id":"process-1.6.17.0","pkg-name":"process","pkg-version":"1.6.17.0","depends":["base-4.18.2.0","deepseq-1.4.8.1","directory-1.3.8.1","filepath-1.4.200.1","unix-2.8.4.0"]},{"type":"configured","id":"random-1.2.1.1-e2b8c23c50d3a2e2d7c30c46d2a3344a9c2a38bf319885311c62efb7342cb80b","pkg-name":"random","pkg-version":"1.2.1.1","flags":{},"style":"global","pkg-src":{"type":"repo-tar","repo":{"type":"secure-repo","uri":"http://hackage.haskell.org/"}},"pkg-cabal-sha256":"e7c1f881159d5cc788619c9ee8b8f340ba2ff0db571cdf3d1a1968ebc5108789","pkg-src-sha256":"3e1272f7ed6a4d7bd1712b90143ec326fee9b225789222379fea20a9c90c9b76","depends":["base-4.18.2.0","bytestring-0.11.5.3","deepseq-1.4.8.1","mtl-2.3.1","splitmix-0.1.0.5-232d2b1a4ce5cacd620dd2472d411c8d63e777af17182b5d56b631942f729187"],"exe-depends":[],"component-name":"lib"},{"type":"configured","id":"shake-0.19.7-9369313762a66f683383a6b11b819b9aafcd8f0d518c176b2cb1f5a198ccf8cd","pkg-name":"shake","pkg-version":"0.19.7","flags":{"cloud":false,"embed-files":false,"portable":false},"style":"global","pkg-src":{"type":"repo-tar","repo":{"type":"secure-repo","uri":"http://hackage.haskell.org/"}},"pkg-cabal-sha256":"3cb5814cce210b9756fa9246ff1b2a1e1b86be46fdc4c5e2baacdc5bf83ce5c3","pkg-src-sha256":"352a56af12f70b50d564dcb61131555577281957ee196f1702a3723c0a3699d1","depends":["base-4.18.2.0","binary-0.8.9.1","bytestring-0.11.5.3","deepseq-1.4.8.1","directory-1.3.8.1","extra-1.7.14-5b3875febb50e86e1fd0471cb61fc83c08afae84f74dd82e3fe23bdc226bd3c9","filepath-1.4.200.1","filepattern-0.1.3-e0b05225cb586afea88cbd5fba3b81dbc7d8925b44e8dd467cfd9ed208da351b","hashable-1.4.3.0-cf03199beb9180bbbb9b383e3088c03deb3be32037dd08933c3d3ba08171d03e","heaps-0.4-582bc0f356369f4ac6a9badb439391d1ff82a6d0d7a4a55fe3db91d6d1a32875","js-dgtable-0.5.2-40721bc9982faf5e0f71e3119e01102f429fefca9219230921535f5382e177f7","js-flot-0.8.3-fadd4ccb467ede662552cdc382e02fb02027d8181620f296bae75d1f76774b0b","js-jquery-3.3.1-6a8cc1e84fc203e099644c71b32217b6615b055459038eb73f1b008db4b2f236","primitive-0.9.0.0-b327a6c8ea4577ea7938607770d363048048a528efdff4bc67a582b5feac66fc","process-1.6.17.0","random-1.2.1.1-e2b8c23c50d3a2e2d7c30c46d2a3344a9c2a38bf319885311c62efb7342cb80b","time-1.12.2","transformers-0.6.1.0","unix-2.8.4.0","unordered-containers-0.2.19.1-0eb0d95c2f270578763e7cbc938fd7d57fa65a8f3c10aa64b616bc79bbf6b993","utf8-string-1.0.2-134849f72bdb35a6754bed838d5c0f0412c3ca2863338b599b4cd9b0af070e05"],"exe-depends":[],"component-name":"lib"},{"type":"configured","id":"shake-0.19.7-e-shake-74d898c5705f61c05a8a7aee14d32e6ef38e5584b58da7af7f06efe4c3c36716","pkg-name":"shake","pkg-version":"0.19.7","flags":{"cloud":false,"embed-files":false,"portable":false},"style":"global","pkg-src":{"type":"repo-tar","repo":{"type":"secure-repo","uri":"http://hackage.haskell.org/"}},"pkg-cabal-sha256":"3cb5814cce210b9756fa9246ff1b2a1e1b86be46fdc4c5e2baacdc5bf83ce5c3","pkg-src-sha256":"352a56af12f70b50d564dcb61131555577281957ee196f1702a3723c0a3699d1","depends":["base-4.18.2.0","binary-0.8.9.1","bytestring-0.11.5.3","deepseq-1.4.8.1","directory-1.3.8.1","extra-1.7.14-5b3875febb50e86e1fd0471cb61fc83c08afae84f74dd82e3fe23bdc226bd3c9","filepath-1.4.200.1","filepattern-0.1.3-e0b05225cb586afea88cbd5fba3b81dbc7d8925b44e8dd467cfd9ed208da351b","hashable-1.4.3.0-cf03199beb9180bbbb9b383e3088c03deb3be32037dd08933c3d3ba08171d03e","heaps-0.4-582bc0f356369f4ac6a9badb439391d1ff82a6d0d7a4a55fe3db91d6d1a32875","js-dgtable-0.5.2-40721bc9982faf5e0f71e3119e01102f429fefca9219230921535f5382e177f7","js-flot-0.8.3-fadd4ccb467ede662552cdc382e02fb02027d8181620f296bae75d1f76774b0b","js-jquery-3.3.1-6a8cc1e84fc203e099644c71b32217b6615b055459038eb73f1b008db4b2f236","primitive-0.9.0.0-b327a6c8ea4577ea7938607770d363048048a528efdff4bc67a582b5feac66fc","process-1.6.17.0","random-1.2.1.1-e2b8c23c50d3a2e2d7c30c46d2a3344a9c2a38bf319885311c62efb7342cb80b","time-1.12.2","transformers-0.6.1.0","unix-2.8.4.0","unordered-containers-0.2.19.1-0eb0d95c2f270578763e7cbc938fd7d57fa65a8f3c10aa64b616bc79bbf6b993","utf8-string-1.0.2-134849f72bdb35a6754bed838d5c0f0412c3ca2863338b599b4cd9b0af070e05"],"exe-depends":[],"component-name":"exe:shake","bin-file":"/store/ghc-9.6.4/shake-0.19.7-e-shake-74d898c5705f61c05a8a7aee14d32e6ef38e5584b58da7af7f06efe4c3c36716/bin/shake"},{"type":"configured","id":"splitmix-0.1.0.5-232d2b1a4ce5cacd620dd2472d411c8d63e777af17182b5d56b631942f729187","pkg-name":"splitmix","pkg-version":"0.1.0.5","flags":{"optimised-mixer":false},"style":"global","pkg-src":{"type":"repo-tar","repo":{"type":"secure-repo","uri":"http://hackage.haskell.org/"}},"pkg-cabal-sha256":"bac0ae8d46a04e410666b0c8081cff63f060f29157983b569ca86ddb6e6e0dc6","pkg-src-sha256":"9df07a9611ef45f1b1258a0b412f4d02c920248f69d2e2ce8ccda328f7e13002","depends":["base-4.18.2.0","deepseq-1.4.8.1"],"exe-depends":[],"component-name":"lib"},{"type":"pre-existing","id":"stm-2.5.1.0","pkg-name":"stm","pkg-version":"2.5.1.0","depends":["array-0.5.6.0","base-4.18.2.0"]},{"type":"pre-existing","id":"system-cxx-std-lib-1.0","pkg-name":"system-cxx-std-lib","pkg-version":"1.0","depends":[]},{"type":"pre-existing","id":"template-haskell-2.20.0.0","pkg-name":"template-haskell","pkg-version":"2.20.0.0","depends":["base-4.18.2.0","ghc-boot-th-9.6.4","ghc-prim-0.10.0","pretty-1.1.3.6"]},{"type":"pre-existing","id":"text-2.0.2","pkg-name":"text","pkg-version":"2.0.2","depends":["array-0.5.6.0","base-4.18.2.0","binary-0.8.9.1","bytestring-0.11.5.3","deepseq-1.4.8.1","ghc-prim-0.10.0","system-cxx-std-lib-1.0","template-haskell-2.20.0.0"]},{"type":"pre-existing","id":"time-1.12.2","pkg-name":"time","pkg-version":"1.12.2","depends":["base-4.18.2.0","deepseq-1.4.8.1"]},{"type":"pre-existing","id":"transformers-0.6.1.0","pkg-name":"transformers","pkg-version":"0.6.1.0","depends":["base-4.18.2.0","ghc-prim-0.10.0"]},{"type":"pre-existing","id":"unix-2.8.4.0","pkg-name":"unix","pkg-version":"2.8.4.0","depends":["base-4.18.2.0","bytestring-0.11.5.3","filepath-1.4.200.1","time-1.12.2"]},{"type":"configured","id":"unordered-containers-0.2.19.1-0eb0d95c2f270578763e7cbc938fd7d57fa65a8f3c10aa64b616bc79bbf6b993","pkg-name":"unordered-containers","pkg-version":"0.2.19.1","flags":{"debug":false},"style":"global","pkg-src":{"type":"repo-tar","repo":{"type":"secure-repo","uri":"http://hackage.haskell.org/"}},"pkg-cabal-sha256":"1c28ca429e3960de0330908579a427ccacddd700cb84ec1969e2bbe576152add","pkg-src-sha256":"1b27bec5e0d522b27a6029ebf4c4a6d40acbc083c787008e32fb55c4b1d128d2","depends":["base-4.18.2.0","deepseq-1.4.8.1","hashable-1.4.3.0-cf03199beb9180bbbb9b383e3088c03deb3be32037dd08933c3d3ba08171d03e","template-haskell-2.20.0.0"],"exe-depends":[],"component-name":"lib"},{"type":"configured","id":"utf8-string-1.0.2-134849f72bdb35a6754bed838d5c0f0412c3ca2863338b599b4cd9b0af070e05","pkg-name":"utf8-string","pkg-version":"1.0.2","flags":{},"style":"global","pkg-src":{"type":"repo-tar","repo":{"type":"secure-repo","uri":"http://hackage.haskell.org/"}},"pkg-cabal-sha256":"79416292186feeaf1f60e49ac5a1ffae9bf1b120e040a74bf0e81ca7f1d31d3f","pkg-src-sha256":"ee48deada7600370728c4156cb002441de770d0121ae33a68139a9ed9c19b09a","depends":["base-4.18.2.0","bytestring-0.11.5.3"],"exe-depends":[],"component-name":"lib"}],"targets":[{"pkg-name":"Cabal","pkg-version":"3.8.1.0","component-name":"lib","available":[{"id":"Cabal-3.8.1.0-c668f818769193b477ca1a8b87e802e56126adbc7bed962d76bde34a01e8c306","component-name":"lib","build-by-default":true}]},{"pkg-name":"Cabal-syntax","pkg-version":"3.8.1.0","component-name":"lib","available":[{"id":"Cabal-syntax-3.8.1.0-b99db30153f1d2c83dc6d34e637d577dc69cabe5825778a1e3462bcf8317b588","component-name":"lib","build-by-default":true}]},{"pkg-name":"QuickCheck","pkg-version":"2.14.3","component-name":"lib","available":[{"id":"QuickCheck-2.14.3-116702925e70e233df64507a5cae969ff9c69efe35b3cc35e56c87d47168ff11","component-name":"lib","build-by-default":true}]},{"pkg-name":"QuickCheck","pkg-version":"2.14.3","component-name":"test:test-quickcheck","available":["TargetNotLocal"]},{"pkg-name":"QuickCheck","pkg-version":"2.14.3","component-name":"test:test-quickcheck-gcoarbitrary","available":["TargetNotLocal"]},{"pkg-name":"QuickCheck","pkg-version":"2.14.3","component-name":"test:test-quickcheck-generators","available":["TargetNotLocal"]},{"pkg-name":"QuickCheck","pkg-version":"2.14.3","component-name":"test:test-quickcheck-gshrink","available":["TargetNotLocal"]},{"pkg-name":"QuickCheck","pkg-version":"2.14.3","component-name":"test:test-quickcheck-misc","available":["TargetNotLocal"]},{"pkg-name":"QuickCheck","pkg-version":"2.14.3","component-name":"test:test-quickcheck-monadfix","available":["TargetNotLocal"]},{"pkg-name":"QuickCheck","pkg-version":"2.14.3","component-name":"test:test-quickcheck-split","available":["TargetNotLocal"]},{"pkg-name":"QuickCheck","pkg-version":"2.14.3","component-name":"test:test-quickcheck-terminal","available":["TargetNotLocal"]},{"pkg-name":"array","pkg-version":"0.5.6.0","component-name":"lib","available":[{"id":"array-0.5.6.0","component-name":"lib","build-by-default":true}]},{"pkg-name":"base","pkg-version":"4.18.2.0","component-name":"lib","available":[{"id":"base-4.18.2.0","component-name":"lib","build-by-default":true}]},{"pkg-name":"base16-bytestring","pkg-version":"1.0.2.0","component-name":"lib","available":[{"id":"base16-bytestring-1.0.2.0-48e234cd9d2674d718111ce6f52d0142cc28a3c5a0493618f8fb6a8b7f7dd1f7","component-name":"lib","build-by-default":true}]},{"pkg-name":"base16-bytestring","pkg-version":"1.0.2.0","component-name":"test:test","available":["TargetNotLocal"]},{"pkg-name":"base16-bytestring","pkg-version":"1.0.2.0","component-name":"bench:bench","available":["TargetNotLocal"]},{"pkg-name":"binary","pkg-version":"0.8.9.1","component-name":"lib","available":[{"id":"binary-0.8.9.1","component-name":"lib","build-by-default":true}]},{"pkg-name":"bytestring","pkg-version":"0.11.5.3","component-name":"lib","available":[{"id":"bytestring-0.11.5.3","component-name":"lib","build-by-default":true}]},{"pkg-name":"clock","pkg-version":"0.8.4","component-name":"lib","available":[{"id":"clock-0.8.4-b6af39fafa1fb93e9520050c562fc2d9803a08bc83cda5d8b8d907beefe150aa","component-name":"lib","build-by-default":true}]},{"pkg-name":"clock","pkg-version":"0.8.4","component-name":"test:test","available":["TargetNotLocal"]},{"pkg-name":"clock","pkg-version":"0.8.4","component-name":"bench:benchmarks","available":["TargetNotLocal"]},{"pkg-name":"containers","pkg-version":"0.6.7","component-name":"lib","available":[{"id":"containers-0.6.7","component-name":"lib","build-by-default":true}]},{"pkg-name":"cryptohash-sha256","pkg-version":"0.11.102.1","component-name":"lib","available":[{"id":"cryptohash-sha256-0.11.102.1-898616048405d66a1ac2538c4878965bc94c2902780e27b3e48e171cdfe34cf8","component-name":"lib","build-by-default":true}]},{"pkg-name":"cryptohash-sha256","pkg-version":"0.11.102.1","component-name":"exe:sha256sum","available":["TargetNotBuildable"]},{"pkg-name":"cryptohash-sha256","pkg-version":"0.11.102.1","component-name":"test:test-sha256","available":["TargetNotLocal"]},{"pkg-name":"cryptohash-sha256","pkg-version":"0.11.102.1","component-name":"bench:bench-sha256","available":["TargetNotLocal"]},{"pkg-name":"deepseq","pkg-version":"1.4.8.1","component-name":"lib","available":[{"id":"deepseq-1.4.8.1","component-name":"lib","build-by-default":true}]},{"pkg-name":"directory","pkg-version":"1.3.8.1","component-name":"lib","available":[{"id":"directory-1.3.8.1","component-name":"lib","build-by-default":true}]},{"pkg-name":"exceptions","pkg-version":"0.10.7","component-name":"lib","available":[{"id":"exceptions-0.10.7","component-name":"lib","build-by-default":true}]},{"pkg-name":"extra","pkg-version":"1.7.14","component-name":"lib","available":[{"id":"extra-1.7.14-5b3875febb50e86e1fd0471cb61fc83c08afae84f74dd82e3fe23bdc226bd3c9","component-name":"lib","build-by-default":true}]},{"pkg-name":"extra","pkg-version":"1.7.14","component-name":"test:extra-test","available":["TargetNotLocal"]},{"pkg-name":"filepath","pkg-version":"1.4.200.1","component-name":"lib","available":[{"id":"filepath-1.4.200.1","component-name":"lib","build-by-default":true}]},{"pkg-name":"filepattern","pkg-version":"0.1.3","component-name":"lib","available":[{"id":"filepattern-0.1.3-e0b05225cb586afea88cbd5fba3b81dbc7d8925b44e8dd467cfd9ed208da351b","component-name":"lib","build-by-default":true}]},{"pkg-name":"filepattern","pkg-version":"0.1.3","component-name":"test:filepattern-test","available":["TargetNotLocal"]},{"pkg-name":"ghc-bignum","pkg-version":"1.3","component-name":"lib","available":[{"id":"ghc-bignum-1.3","component-name":"lib","build-by-default":true}]},{"pkg-name":"ghc-boot-th","pkg-version":"9.6.4","component-name":"lib","available":[{"id":"ghc-boot-th-9.6.4","component-name":"lib","build-by-default":true}]},{"pkg-name":"ghc-prim","pkg-version":"0.10.0","component-name":"lib","available":[{"id":"ghc-prim-0.10.0","component-name":"lib","build-by-default":true}]},{"pkg-name":"hadrian","pkg-version":"0.1.0.0","component-name":"exe:hadrian","available":[{"id":"hadrian-0.1.0.0-inplace-hadrian","component-name":"exe:hadrian","build-by-default":true}]},{"pkg-name":"hashable","pkg-version":"1.4.3.0","component-name":"lib","available":[{"id":"hashable-1.4.3.0-cf03199beb9180bbbb9b383e3088c03deb3be32037dd08933c3d3ba08171d03e","component-name":"lib","build-by-default":true}]},{"pkg-name":"hashable","pkg-version":"1.4.3.0","component-name":"test:hashable-examples","available":["TargetNotLocal"]},{"pkg-name":"hashable","pkg-version":"1.4.3.0","component-name":"test:hashable-tests","available":["TargetNotLocal"]},{"pkg-name":"heaps","pkg-version":"0.4","component-name":"lib","available":[{"id":"heaps-0.4-582bc0f356369f4ac6a9badb439391d1ff82a6d0d7a4a55fe3db91d6d1a32875","component-name":"lib","build-by-default":true}]},{"pkg-name":"js-dgtable","pkg-version":"0.5.2","component-name":"lib","available":[{"id":"js-dgtable-0.5.2-40721bc9982faf5e0f71e3119e01102f429fefca9219230921535f5382e177f7","component-name":"lib","build-by-default":true}]},{"pkg-name":"js-dgtable","pkg-version":"0.5.2","component-name":"test:js-dgtable-test","available":["TargetNotLocal"]},{"pkg-name":"js-flot","pkg-version":"0.8.3","component-name":"lib","available":[{"id":"js-flot-0.8.3-fadd4ccb467ede662552cdc382e02fb02027d8181620f296bae75d1f76774b0b","component-name":"lib","build-by-default":true}]},{"pkg-name":"js-flot","pkg-version":"0.8.3","component-name":"test:js-flot-test","available":["TargetNotLocal"]},{"pkg-name":"js-jquery","pkg-version":"3.3.1","component-name":"lib","available":[{"id":"js-jquery-3.3.1-6a8cc1e84fc203e099644c71b32217b6615b055459038eb73f1b008db4b2f236","component-name":"lib","build-by-default":true}]},{"pkg-name":"js-jquery","pkg-version":"3.3.1","component-name":"test:js-jquery-test","available":["TargetNotLocal"]},{"pkg-name":"mtl","pkg-version":"2.3.1","component-name":"lib","available":[{"id":"mtl-2.3.1","component-name":"lib","build-by-default":true}]},{"pkg-name":"parsec","pkg-version":"3.1.16.1","component-name":"lib","available":[{"id":"parsec-3.1.16.1","component-name":"lib","build-by-default":true}]},{"pkg-name":"pretty","pkg-version":"1.1.3.6","component-name":"lib","available":[{"id":"pretty-1.1.3.6","component-name":"lib","build-by-default":true}]},{"pkg-name":"primitive","pkg-version":"0.9.0.0","component-name":"lib","available":[{"id":"primitive-0.9.0.0-b327a6c8ea4577ea7938607770d363048048a528efdff4bc67a582b5feac66fc","component-name":"lib","build-by-default":true}]},{"pkg-name":"primitive","pkg-version":"0.9.0.0","component-name":"test:test-qc","available":["TargetNotLocal"]},{"pkg-name":"primitive","pkg-version":"0.9.0.0","component-name":"bench:bench","available":["TargetNotLocal"]},{"pkg-name":"process","pkg-version":"1.6.17.0","component-name":"lib","available":[{"id":"process-1.6.17.0","component-name":"lib","build-by-default":true}]},{"pkg-name":"random","pkg-version":"1.2.1.1","component-name":"lib","available":[{"id":"random-1.2.1.1-e2b8c23c50d3a2e2d7c30c46d2a3344a9c2a38bf319885311c62efb7342cb80b","component-name":"lib","build-by-default":true}]},{"pkg-name":"random","pkg-version":"1.2.1.1","component-name":"test:doctests","available":["TargetNotLocal"]},{"pkg-name":"random","pkg-version":"1.2.1.1","component-name":"test:legacy-test","available":["TargetNotLocal"]},{"pkg-name":"random","pkg-version":"1.2.1.1","component-name":"test:spec","available":["TargetNotLocal"]},{"pkg-name":"random","pkg-version":"1.2.1.1","component-name":"test:spec-inspection","available":["TargetNotLocal"]},{"pkg-name":"random","pkg-version":"1.2.1.1","component-name":"bench:bench","available":["TargetNotLocal"]},{"pkg-name":"random","pkg-version":"1.2.1.1","component-name":"bench:legacy-bench","available":["TargetNotLocal"]},{"pkg-name":"shake","pkg-version":"0.19.7","component-name":"lib","available":[{"id":"shake-0.19.7-9369313762a66f683383a6b11b819b9aafcd8f0d518c176b2cb1f5a198ccf8cd","component-name":"lib","build-by-default":true}]},{"pkg-name":"shake","pkg-version":"0.19.7","component-name":"exe:shake","available":[{"id":"shake-0.19.7-e-shake-74d898c5705f61c05a8a7aee14d32e6ef38e5584b58da7af7f06efe4c3c36716","component-name":"exe:shake","build-by-default":true}]},{"pkg-name":"shake","pkg-version":"0.19.7","component-name":"test:shake-test","available":["TargetNotLocal"]},{"pkg-name":"splitmix","pkg-version":"0.1.0.5","component-name":"lib","available":[{"id":"splitmix-0.1.0.5-232d2b1a4ce5cacd620dd2472d411c8d63e777af17182b5d56b631942f729187","component-name":"lib","build-by-default":true}]},{"pkg-name":"splitmix","pkg-version":"0.1.0.5","component-name":"test:examples","available":["TargetNotLocal"]},{"pkg-name":"splitmix","pkg-version":"0.1.0.5","component-name":"test:initialization","available":["TargetNotLocal"]},{"pkg-name":"splitmix","pkg-version":"0.1.0.5","component-name":"test:montecarlo-pi","available":["TargetNotLocal"]},{"pkg-name":"splitmix","pkg-version":"0.1.0.5","component-name":"test:montecarlo-pi-32","available":["TargetNotLocal"]},{"pkg-name":"splitmix","pkg-version":"0.1.0.5","component-name":"test:splitmix-dieharder","available":["TargetNotLocal"]},{"pkg-name":"splitmix","pkg-version":"0.1.0.5","component-name":"test:splitmix-tests","available":["TargetNotLocal"]},{"pkg-name":"splitmix","pkg-version":"0.1.0.5","component-name":"test:splitmix-testu01","available":["TargetNotLocal"]},{"pkg-name":"splitmix","pkg-version":"0.1.0.5","component-name":"bench:comparison","available":["TargetNotLocal"]},{"pkg-name":"splitmix","pkg-version":"0.1.0.5","component-name":"bench:range","available":["TargetNotLocal"]},{"pkg-name":"splitmix","pkg-version":"0.1.0.5","component-name":"bench:simple-sum","available":["TargetNotLocal"]},{"pkg-name":"stm","pkg-version":"2.5.1.0","component-name":"lib","available":[{"id":"stm-2.5.1.0","component-name":"lib","build-by-default":true}]},{"pkg-name":"system-cxx-std-lib","pkg-version":"1.0","component-name":"lib","available":[{"id":"system-cxx-std-lib-1.0","component-name":"lib","build-by-default":true}]},{"pkg-name":"template-haskell","pkg-version":"2.20.0.0","component-name":"lib","available":[{"id":"template-haskell-2.20.0.0","component-name":"lib","build-by-default":true}]},{"pkg-name":"text","pkg-version":"2.0.2","component-name":"lib","available":[{"id":"text-2.0.2","component-name":"lib","build-by-default":true}]},{"pkg-name":"time","pkg-version":"1.12.2","component-name":"lib","available":[{"id":"time-1.12.2","component-name":"lib","build-by-default":true}]},{"pkg-name":"transformers","pkg-version":"0.6.1.0","component-name":"lib","available":[{"id":"transformers-0.6.1.0","component-name":"lib","build-by-default":true}]},{"pkg-name":"unix","pkg-version":"2.8.4.0","component-name":"lib","available":[{"id":"unix-2.8.4.0","component-name":"lib","build-by-default":true}]},{"pkg-name":"unordered-containers","pkg-version":"0.2.19.1","component-name":"lib","available":[{"id":"unordered-containers-0.2.19.1-0eb0d95c2f270578763e7cbc938fd7d57fa65a8f3c10aa64b616bc79bbf6b993","component-name":"lib","build-by-default":true}]},{"pkg-name":"unordered-containers","pkg-version":"0.2.19.1","component-name":"test:unordered-containers-tests","available":["TargetNotLocal"]},{"pkg-name":"unordered-containers","pkg-version":"0.2.19.1","component-name":"bench:benchmarks","available":["TargetNotLocal"]},{"pkg-name":"utf8-string","pkg-version":"1.0.2","component-name":"lib","available":[{"id":"utf8-string-1.0.2-134849f72bdb35a6754bed838d5c0f0412c3ca2863338b599b4cd9b0af070e05","component-name":"lib","build-by-default":true}]},{"pkg-name":"utf8-string","pkg-version":"1.0.2","component-name":"test:unit-tests","available":["TargetNotLocal"]}]} \ No newline at end of file diff --git a/materialized/ghcjs/alex/ghc8105/.plan.nix/alex.nix b/materialized/ghcjs/alex/ghc8105/.plan.nix/alex.nix deleted file mode 100644 index aeec92446a..0000000000 --- a/materialized/ghcjs/alex/ghc8105/.plan.nix/alex.nix +++ /dev/null @@ -1,160 +0,0 @@ -{ system - , compiler - , flags - , pkgs - , hsPkgs - , pkgconfPkgs - , errorHandler - , config - , ... }: - { - flags = { small_base = true; }; - package = { - specVersion = "1.8"; - identifier = { name = "alex"; version = "3.2.5"; }; - license = "BSD-3-Clause"; - copyright = "(c) Chis Dornan, Simon Marlow"; - maintainer = "Simon Marlow "; - author = "Chris Dornan and Simon Marlow"; - homepage = "http://www.haskell.org/alex/"; - url = ""; - synopsis = "Alex is a tool for generating lexical analysers in Haskell"; - description = "Alex is a tool for generating lexical analysers in Haskell.\nIt takes a description of tokens based on regular\nexpressions and generates a Haskell module containing code\nfor scanning text efficiently. It is similar to the tool\nlex or flex for C/C++."; - buildType = "Simple"; - isLocal = true; - detailLevel = "FullDetails"; - licenseFiles = [ "LICENSE" ]; - dataDir = "data/"; - dataFiles = [ - "AlexTemplate" - "AlexTemplate-ghc" - "AlexTemplate-ghc-nopred" - "AlexTemplate-ghc-debug" - "AlexTemplate-debug" - "AlexWrapper-basic" - "AlexWrapper-basic-bytestring" - "AlexWrapper-strict-bytestring" - "AlexWrapper-posn" - "AlexWrapper-posn-bytestring" - "AlexWrapper-monad" - "AlexWrapper-monad-bytestring" - "AlexWrapper-monadUserState" - "AlexWrapper-monadUserState-bytestring" - "AlexWrapper-gscan" - ]; - extraSrcFiles = [ - "CHANGELOG.md" - "README.md" - "TODO" - "alex.spec" - "doc/Makefile" - "doc/aclocal.m4" - "doc/alex.1.in" - "doc/alex.xml" - "doc/config.mk.in" - "doc/configure.ac" - "doc/docbook-xml.mk" - "doc/fptools.css" - "examples/Makefile" - "examples/Tokens.x" - "examples/Tokens_gscan.x" - "examples/Tokens_posn.x" - "examples/examples.x" - "examples/haskell.x" - "examples/lit.x" - "examples/pp.x" - "examples/state.x" - "examples/tiny.y" - "examples/words.x" - "examples/words_monad.x" - "examples/words_posn.x" - "src/Parser.y.boot" - "src/Scan.x.boot" - "src/ghc_hooks.c" - "templates/GenericTemplate.hs" - "templates/wrappers.hs" - "tests/Makefile" - "tests/simple.x" - "tests/null.x" - "tests/tokens.x" - "tests/tokens_gscan.x" - "tests/tokens_posn.x" - "tests/tokens_bytestring.x" - "tests/tokens_posn_bytestring.x" - "tests/tokens_scan_user.x" - "tests/tokens_strict_bytestring.x" - "tests/tokens_monad_bytestring.x" - "tests/tokens_monadUserState_bytestring.x" - "tests/tokens_bytestring_unicode.x" - "tests/basic_typeclass.x" - "tests/basic_typeclass_bytestring.x" - "tests/default_typeclass.x" - "tests/gscan_typeclass.x" - "tests/posn_typeclass.x" - "tests/monad_typeclass.x" - "tests/monad_typeclass_bytestring.x" - "tests/monadUserState_typeclass.x" - "tests/monadUserState_typeclass_bytestring.x" - "tests/posn_typeclass_bytestring.x" - "tests/strict_typeclass.x" - "tests/unicode.x" - ]; - extraTmpFiles = []; - extraDocFiles = []; - }; - components = { - exes = { - "alex" = { - depends = [ - (hsPkgs."base" or (errorHandler.buildDepError "base")) - ] ++ (if flags.small_base - then [ - (hsPkgs."base" or (errorHandler.buildDepError "base")) - (hsPkgs."array" or (errorHandler.buildDepError "array")) - (hsPkgs."containers" or (errorHandler.buildDepError "containers")) - (hsPkgs."directory" or (errorHandler.buildDepError "directory")) - ] - else [ (hsPkgs."base" or (errorHandler.buildDepError "base")) ]); - buildable = true; - modules = [ - "AbsSyn" - "CharSet" - "DFA" - "DFAMin" - "DFS" - "Info" - "Map" - "NFA" - "Output" - "Paths_alex" - "Parser" - "ParseMonad" - "Scan" - "Set" - "Sort" - "Util" - "UTF8" - "Data/Ranged" - "Data/Ranged/Boundaries" - "Data/Ranged/RangedSet" - "Data/Ranged/Ranges" - ]; - hsSourceDirs = [ "src" ]; - mainPath = [ "Main.hs" ] ++ [ "" ]; - }; - }; - tests = { - "tests" = { - depends = [ - (hsPkgs."base" or (errorHandler.buildDepError "base")) - (hsPkgs."process" or (errorHandler.buildDepError "process")) - ]; - build-tools = [ - (hsPkgs.pkgsBuildBuild.alex.components.exes.alex or (pkgs.pkgsBuildBuild.alex or (errorHandler.buildToolDepError "alex:alex"))) - ]; - buildable = true; - mainPath = [ "test.hs" ]; - }; - }; - }; - } // rec { src = (pkgs.lib).mkDefault ../.; } \ No newline at end of file diff --git a/materialized/ghcjs/alex/ghc8105/default.nix b/materialized/ghcjs/alex/ghc8105/default.nix deleted file mode 100644 index c602eba191..0000000000 --- a/materialized/ghcjs/alex/ghc8105/default.nix +++ /dev/null @@ -1,65 +0,0 @@ -{ - pkgs = hackage: - { - packages = { - bytestring.revision = (((hackage.bytestring)."0.10.12.0").revisions).default; - directory.revision = (((hackage.directory)."1.3.6.0").revisions).default; - filepath.revision = (((hackage.filepath)."1.4.2.1").revisions).default; - ghc-prim.revision = (((hackage.ghc-prim)."0.6.1").revisions).default; - containers.revision = (((hackage.containers)."0.6.4.1").revisions).default; - base.revision = (((hackage.base)."4.14.2.0").revisions).default; - time.revision = (((hackage.time)."1.9.3").revisions).default; - deepseq.revision = (((hackage.deepseq)."1.4.4.0").revisions).default; - rts.revision = (((hackage.rts)."1.0.1").revisions).default; - integer-gmp.revision = (((hackage.integer-gmp)."1.0.3.0").revisions).default; - unix.revision = (((hackage.unix)."2.7.2.2").revisions).default; - array.revision = (((hackage.array)."0.5.4.0").revisions).default; - }; - compiler = { - version = "8.10.5"; - nix-name = "ghc8105"; - packages = { - "array" = "0.5.4.0"; - "bytestring" = "0.10.12.0"; - "filepath" = "1.4.2.1"; - "ghc-prim" = "0.6.1"; - "base" = "4.14.2.0"; - "time" = "1.9.3"; - "directory" = "1.3.6.0"; - "rts" = "1.0.1"; - "deepseq" = "1.4.4.0"; - "unix" = "2.7.2.2"; - "integer-gmp" = "1.0.3.0"; - "containers" = "0.6.4.1"; - }; - }; - }; - extras = hackage: - { packages = { alex = ./.plan.nix/alex.nix; }; }; - modules = [ - ({ lib, ... }: - { - packages = { - "alex" = { flags = { "small_base" = lib.mkOverride 900 true; }; }; - }; - }) - ({ lib, ... }: - { - packages = { - "filepath".components.library.planned = lib.mkOverride 900 true; - "bytestring".components.library.planned = lib.mkOverride 900 true; - "ghc-prim".components.library.planned = lib.mkOverride 900 true; - "array".components.library.planned = lib.mkOverride 900 true; - "rts".components.library.planned = lib.mkOverride 900 true; - "unix".components.library.planned = lib.mkOverride 900 true; - "directory".components.library.planned = lib.mkOverride 900 true; - "time".components.library.planned = lib.mkOverride 900 true; - "alex".components.exes."alex".planned = lib.mkOverride 900 true; - "deepseq".components.library.planned = lib.mkOverride 900 true; - "base".components.library.planned = lib.mkOverride 900 true; - "integer-gmp".components.library.planned = lib.mkOverride 900 true; - "containers".components.library.planned = lib.mkOverride 900 true; - }; - }) - ]; - } \ No newline at end of file diff --git a/materialized/ghcjs/alex/ghc8106/.plan.nix/alex.nix b/materialized/ghcjs/alex/ghc8106/.plan.nix/alex.nix deleted file mode 100644 index aeec92446a..0000000000 --- a/materialized/ghcjs/alex/ghc8106/.plan.nix/alex.nix +++ /dev/null @@ -1,160 +0,0 @@ -{ system - , compiler - , flags - , pkgs - , hsPkgs - , pkgconfPkgs - , errorHandler - , config - , ... }: - { - flags = { small_base = true; }; - package = { - specVersion = "1.8"; - identifier = { name = "alex"; version = "3.2.5"; }; - license = "BSD-3-Clause"; - copyright = "(c) Chis Dornan, Simon Marlow"; - maintainer = "Simon Marlow "; - author = "Chris Dornan and Simon Marlow"; - homepage = "http://www.haskell.org/alex/"; - url = ""; - synopsis = "Alex is a tool for generating lexical analysers in Haskell"; - description = "Alex is a tool for generating lexical analysers in Haskell.\nIt takes a description of tokens based on regular\nexpressions and generates a Haskell module containing code\nfor scanning text efficiently. It is similar to the tool\nlex or flex for C/C++."; - buildType = "Simple"; - isLocal = true; - detailLevel = "FullDetails"; - licenseFiles = [ "LICENSE" ]; - dataDir = "data/"; - dataFiles = [ - "AlexTemplate" - "AlexTemplate-ghc" - "AlexTemplate-ghc-nopred" - "AlexTemplate-ghc-debug" - "AlexTemplate-debug" - "AlexWrapper-basic" - "AlexWrapper-basic-bytestring" - "AlexWrapper-strict-bytestring" - "AlexWrapper-posn" - "AlexWrapper-posn-bytestring" - "AlexWrapper-monad" - "AlexWrapper-monad-bytestring" - "AlexWrapper-monadUserState" - "AlexWrapper-monadUserState-bytestring" - "AlexWrapper-gscan" - ]; - extraSrcFiles = [ - "CHANGELOG.md" - "README.md" - "TODO" - "alex.spec" - "doc/Makefile" - "doc/aclocal.m4" - "doc/alex.1.in" - "doc/alex.xml" - "doc/config.mk.in" - "doc/configure.ac" - "doc/docbook-xml.mk" - "doc/fptools.css" - "examples/Makefile" - "examples/Tokens.x" - "examples/Tokens_gscan.x" - "examples/Tokens_posn.x" - "examples/examples.x" - "examples/haskell.x" - "examples/lit.x" - "examples/pp.x" - "examples/state.x" - "examples/tiny.y" - "examples/words.x" - "examples/words_monad.x" - "examples/words_posn.x" - "src/Parser.y.boot" - "src/Scan.x.boot" - "src/ghc_hooks.c" - "templates/GenericTemplate.hs" - "templates/wrappers.hs" - "tests/Makefile" - "tests/simple.x" - "tests/null.x" - "tests/tokens.x" - "tests/tokens_gscan.x" - "tests/tokens_posn.x" - "tests/tokens_bytestring.x" - "tests/tokens_posn_bytestring.x" - "tests/tokens_scan_user.x" - "tests/tokens_strict_bytestring.x" - "tests/tokens_monad_bytestring.x" - "tests/tokens_monadUserState_bytestring.x" - "tests/tokens_bytestring_unicode.x" - "tests/basic_typeclass.x" - "tests/basic_typeclass_bytestring.x" - "tests/default_typeclass.x" - "tests/gscan_typeclass.x" - "tests/posn_typeclass.x" - "tests/monad_typeclass.x" - "tests/monad_typeclass_bytestring.x" - "tests/monadUserState_typeclass.x" - "tests/monadUserState_typeclass_bytestring.x" - "tests/posn_typeclass_bytestring.x" - "tests/strict_typeclass.x" - "tests/unicode.x" - ]; - extraTmpFiles = []; - extraDocFiles = []; - }; - components = { - exes = { - "alex" = { - depends = [ - (hsPkgs."base" or (errorHandler.buildDepError "base")) - ] ++ (if flags.small_base - then [ - (hsPkgs."base" or (errorHandler.buildDepError "base")) - (hsPkgs."array" or (errorHandler.buildDepError "array")) - (hsPkgs."containers" or (errorHandler.buildDepError "containers")) - (hsPkgs."directory" or (errorHandler.buildDepError "directory")) - ] - else [ (hsPkgs."base" or (errorHandler.buildDepError "base")) ]); - buildable = true; - modules = [ - "AbsSyn" - "CharSet" - "DFA" - "DFAMin" - "DFS" - "Info" - "Map" - "NFA" - "Output" - "Paths_alex" - "Parser" - "ParseMonad" - "Scan" - "Set" - "Sort" - "Util" - "UTF8" - "Data/Ranged" - "Data/Ranged/Boundaries" - "Data/Ranged/RangedSet" - "Data/Ranged/Ranges" - ]; - hsSourceDirs = [ "src" ]; - mainPath = [ "Main.hs" ] ++ [ "" ]; - }; - }; - tests = { - "tests" = { - depends = [ - (hsPkgs."base" or (errorHandler.buildDepError "base")) - (hsPkgs."process" or (errorHandler.buildDepError "process")) - ]; - build-tools = [ - (hsPkgs.pkgsBuildBuild.alex.components.exes.alex or (pkgs.pkgsBuildBuild.alex or (errorHandler.buildToolDepError "alex:alex"))) - ]; - buildable = true; - mainPath = [ "test.hs" ]; - }; - }; - }; - } // rec { src = (pkgs.lib).mkDefault ../.; } \ No newline at end of file diff --git a/materialized/ghcjs/alex/ghc8106/default.nix b/materialized/ghcjs/alex/ghc8106/default.nix deleted file mode 100644 index 13d93006a1..0000000000 --- a/materialized/ghcjs/alex/ghc8106/default.nix +++ /dev/null @@ -1,65 +0,0 @@ -{ - pkgs = hackage: - { - packages = { - bytestring.revision = (((hackage.bytestring)."0.10.12.0").revisions).default; - directory.revision = (((hackage.directory)."1.3.6.0").revisions).default; - filepath.revision = (((hackage.filepath)."1.4.2.1").revisions).default; - ghc-prim.revision = (((hackage.ghc-prim)."0.6.1").revisions).default; - containers.revision = (((hackage.containers)."0.6.5.1").revisions).default; - base.revision = (((hackage.base)."4.14.3.0").revisions).default; - time.revision = (((hackage.time)."1.9.3").revisions).default; - deepseq.revision = (((hackage.deepseq)."1.4.4.0").revisions).default; - rts.revision = (((hackage.rts)."1.0.1").revisions).default; - integer-gmp.revision = (((hackage.integer-gmp)."1.0.3.0").revisions).default; - unix.revision = (((hackage.unix)."2.7.2.2").revisions).default; - array.revision = (((hackage.array)."0.5.4.0").revisions).default; - }; - compiler = { - version = "8.10.6"; - nix-name = "ghc8106"; - packages = { - "array" = "0.5.4.0"; - "bytestring" = "0.10.12.0"; - "filepath" = "1.4.2.1"; - "ghc-prim" = "0.6.1"; - "base" = "4.14.3.0"; - "time" = "1.9.3"; - "directory" = "1.3.6.0"; - "rts" = "1.0.1"; - "deepseq" = "1.4.4.0"; - "unix" = "2.7.2.2"; - "integer-gmp" = "1.0.3.0"; - "containers" = "0.6.5.1"; - }; - }; - }; - extras = hackage: - { packages = { alex = ./.plan.nix/alex.nix; }; }; - modules = [ - ({ lib, ... }: - { - packages = { - "alex" = { flags = { "small_base" = lib.mkOverride 900 true; }; }; - }; - }) - ({ lib, ... }: - { - packages = { - "filepath".components.library.planned = lib.mkOverride 900 true; - "bytestring".components.library.planned = lib.mkOverride 900 true; - "ghc-prim".components.library.planned = lib.mkOverride 900 true; - "array".components.library.planned = lib.mkOverride 900 true; - "rts".components.library.planned = lib.mkOverride 900 true; - "unix".components.library.planned = lib.mkOverride 900 true; - "directory".components.library.planned = lib.mkOverride 900 true; - "time".components.library.planned = lib.mkOverride 900 true; - "alex".components.exes."alex".planned = lib.mkOverride 900 true; - "deepseq".components.library.planned = lib.mkOverride 900 true; - "base".components.library.planned = lib.mkOverride 900 true; - "integer-gmp".components.library.planned = lib.mkOverride 900 true; - "containers".components.library.planned = lib.mkOverride 900 true; - }; - }) - ]; - } \ No newline at end of file diff --git a/materialized/ghcjs/alex/ghc8107/.plan.nix/alex.nix b/materialized/ghcjs/alex/ghc8107/.plan.nix/alex.nix deleted file mode 100644 index 81fe6b908f..0000000000 --- a/materialized/ghcjs/alex/ghc8107/.plan.nix/alex.nix +++ /dev/null @@ -1,160 +0,0 @@ -{ system - , compiler - , flags - , pkgs - , hsPkgs - , pkgconfPkgs - , errorHandler - , config - , ... }: - { - flags = { small_base = true; }; - package = { - specVersion = "1.8"; - identifier = { name = "alex"; version = "3.2.5"; }; - license = "BSD-3-Clause"; - copyright = "(c) Chis Dornan, Simon Marlow"; - maintainer = "Simon Marlow "; - author = "Chris Dornan and Simon Marlow"; - homepage = "http://www.haskell.org/alex/"; - url = ""; - synopsis = "Alex is a tool for generating lexical analysers in Haskell"; - description = "Alex is a tool for generating lexical analysers in Haskell.\nIt takes a description of tokens based on regular\nexpressions and generates a Haskell module containing code\nfor scanning text efficiently. It is similar to the tool\nlex or flex for C/C++."; - buildType = "Simple"; - isLocal = true; - detailLevel = "FullDetails"; - licenseFiles = [ "LICENSE" ]; - dataDir = "data/"; - dataFiles = [ - "AlexTemplate" - "AlexTemplate-ghc" - "AlexTemplate-ghc-nopred" - "AlexTemplate-ghc-debug" - "AlexTemplate-debug" - "AlexWrapper-basic" - "AlexWrapper-basic-bytestring" - "AlexWrapper-strict-bytestring" - "AlexWrapper-posn" - "AlexWrapper-posn-bytestring" - "AlexWrapper-monad" - "AlexWrapper-monad-bytestring" - "AlexWrapper-monadUserState" - "AlexWrapper-monadUserState-bytestring" - "AlexWrapper-gscan" - ]; - extraSrcFiles = [ - "CHANGELOG.md" - "README.md" - "TODO" - "alex.spec" - "doc/Makefile" - "doc/aclocal.m4" - "doc/alex.1.in" - "doc/alex.xml" - "doc/config.mk.in" - "doc/configure.ac" - "doc/docbook-xml.mk" - "doc/fptools.css" - "examples/Makefile" - "examples/Tokens.x" - "examples/Tokens_gscan.x" - "examples/Tokens_posn.x" - "examples/examples.x" - "examples/haskell.x" - "examples/lit.x" - "examples/pp.x" - "examples/state.x" - "examples/tiny.y" - "examples/words.x" - "examples/words_monad.x" - "examples/words_posn.x" - "src/Parser.y.boot" - "src/Scan.x.boot" - "src/ghc_hooks.c" - "templates/GenericTemplate.hs" - "templates/wrappers.hs" - "tests/Makefile" - "tests/simple.x" - "tests/null.x" - "tests/tokens.x" - "tests/tokens_gscan.x" - "tests/tokens_posn.x" - "tests/tokens_bytestring.x" - "tests/tokens_posn_bytestring.x" - "tests/tokens_scan_user.x" - "tests/tokens_strict_bytestring.x" - "tests/tokens_monad_bytestring.x" - "tests/tokens_monadUserState_bytestring.x" - "tests/tokens_bytestring_unicode.x" - "tests/basic_typeclass.x" - "tests/basic_typeclass_bytestring.x" - "tests/default_typeclass.x" - "tests/gscan_typeclass.x" - "tests/posn_typeclass.x" - "tests/monad_typeclass.x" - "tests/monad_typeclass_bytestring.x" - "tests/monadUserState_typeclass.x" - "tests/monadUserState_typeclass_bytestring.x" - "tests/posn_typeclass_bytestring.x" - "tests/strict_typeclass.x" - "tests/unicode.x" - ]; - extraTmpFiles = []; - extraDocFiles = []; - }; - components = { - exes = { - "alex" = { - depends = [ - (hsPkgs."base" or (errorHandler.buildDepError "base")) - ] ++ (if flags.small_base - then [ - (hsPkgs."base" or (errorHandler.buildDepError "base")) - (hsPkgs."array" or (errorHandler.buildDepError "array")) - (hsPkgs."containers" or (errorHandler.buildDepError "containers")) - (hsPkgs."directory" or (errorHandler.buildDepError "directory")) - ] - else [ (hsPkgs."base" or (errorHandler.buildDepError "base")) ]); - buildable = true; - modules = [ - "AbsSyn" - "CharSet" - "DFA" - "DFAMin" - "DFS" - "Info" - "Map" - "NFA" - "Output" - "Paths_alex" - "Parser" - "ParseMonad" - "Scan" - "Set" - "Sort" - "Util" - "UTF8" - "Data/Ranged" - "Data/Ranged/Boundaries" - "Data/Ranged/RangedSet" - "Data/Ranged/Ranges" - ]; - hsSourceDirs = [ "src" ]; - mainPath = [ "Main.hs" ] ++ [ "" ]; - }; - }; - tests = { - "tests" = { - depends = [ - (hsPkgs."base" or (errorHandler.buildDepError "base")) - (hsPkgs."process" or (errorHandler.buildDepError "process")) - ]; - build-tools = [ - (hsPkgs.pkgsBuildBuild.alex.components.exes.alex or (pkgs.pkgsBuildBuild.alex or (errorHandler.buildToolDepError "alex:alex"))) - ]; - buildable = true; - mainPath = [ "test.hs" ]; - }; - }; - }; - } // rec { src = pkgs.lib.mkDefault ../.; } \ No newline at end of file diff --git a/materialized/ghcjs/alex/ghc8107/cabal-files/alex.nix b/materialized/ghcjs/alex/ghc8107/cabal-files/alex.nix new file mode 100644 index 0000000000..aff49feaff --- /dev/null +++ b/materialized/ghcjs/alex/ghc8107/cabal-files/alex.nix @@ -0,0 +1,61 @@ +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: + ({ + flags = { small_base = true; }; + package = { + specVersion = "1.8"; + identifier = { name = "alex"; version = "3.2.5"; }; + license = "BSD-3-Clause"; + copyright = "(c) Chis Dornan, Simon Marlow"; + maintainer = "Simon Marlow "; + author = "Chris Dornan and Simon Marlow"; + homepage = "http://www.haskell.org/alex/"; + url = ""; + synopsis = "Alex is a tool for generating lexical analysers in Haskell"; + description = "Alex is a tool for generating lexical analysers in Haskell.\nIt takes a description of tokens based on regular\nexpressions and generates a Haskell module containing code\nfor scanning text efficiently. It is similar to the tool\nlex or flex for C/C++."; + buildType = "Simple"; + }; + components = { + exes = { + "alex" = { + depends = [ + (hsPkgs."base" or (errorHandler.buildDepError "base")) + ] ++ (if flags.small_base + then [ + (hsPkgs."base" or (errorHandler.buildDepError "base")) + (hsPkgs."array" or (errorHandler.buildDepError "array")) + (hsPkgs."containers" or (errorHandler.buildDepError "containers")) + (hsPkgs."directory" or (errorHandler.buildDepError "directory")) + ] + else [ (hsPkgs."base" or (errorHandler.buildDepError "base")) ]); + buildable = true; + }; + }; + tests = { + "tests" = { + depends = [ + (hsPkgs."base" or (errorHandler.buildDepError "base")) + (hsPkgs."process" or (errorHandler.buildDepError "process")) + ]; + build-tools = [ + (hsPkgs.pkgsBuildBuild.alex.components.exes.alex or (pkgs.pkgsBuildBuild.alex or (errorHandler.buildToolDepError "alex:alex"))) + ]; + buildable = true; + }; + }; + }; + } // { + src = pkgs.lib.mkDefault (pkgs.fetchurl { + url = "http://hackage.haskell.org/package/alex-3.2.5.tar.gz"; + sha256 = "b77c8a1270767c64e2adb21a6e91ee7cd904ba17edae17bc20fd03da5256e0e3"; + }); + }) // { + package-description-override = "cabal-version: >= 1.8\r\nname: alex\r\nversion: 3.2.5\r\nx-revision: 1\r\n-- don't forget updating changelog.md!\r\nlicense: BSD3\r\nlicense-file: LICENSE\r\ncopyright: (c) Chis Dornan, Simon Marlow\r\nauthor: Chris Dornan and Simon Marlow\r\nmaintainer: Simon Marlow \r\nbug-reports: https://github.com/simonmar/alex/issues\r\nstability: stable\r\nhomepage: http://www.haskell.org/alex/\r\nsynopsis: Alex is a tool for generating lexical analysers in Haskell\r\ndescription:\r\n Alex is a tool for generating lexical analysers in Haskell.\r\n It takes a description of tokens based on regular\r\n expressions and generates a Haskell module containing code\r\n for scanning text efficiently. It is similar to the tool\r\n lex or flex for C/C++.\r\n\r\ncategory: Development\r\nbuild-type: Simple\r\n\r\ndata-dir: data/\r\n\r\ndata-files:\r\n AlexTemplate\r\n AlexTemplate-ghc\r\n AlexTemplate-ghc-nopred\r\n AlexTemplate-ghc-debug\r\n AlexTemplate-debug\r\n AlexWrapper-basic\r\n AlexWrapper-basic-bytestring\r\n AlexWrapper-strict-bytestring\r\n AlexWrapper-posn\r\n AlexWrapper-posn-bytestring\r\n AlexWrapper-monad\r\n AlexWrapper-monad-bytestring\r\n AlexWrapper-monadUserState\r\n AlexWrapper-monadUserState-bytestring\r\n AlexWrapper-gscan\r\n\r\nextra-source-files:\r\n CHANGELOG.md\r\n README.md\r\n TODO\r\n alex.spec\r\n doc/Makefile\r\n doc/aclocal.m4\r\n doc/alex.1.in\r\n doc/alex.xml\r\n doc/config.mk.in\r\n doc/configure.ac\r\n doc/docbook-xml.mk\r\n doc/fptools.css\r\n examples/Makefile\r\n examples/Tokens.x\r\n examples/Tokens_gscan.x\r\n examples/Tokens_posn.x\r\n examples/examples.x\r\n examples/haskell.x\r\n examples/lit.x\r\n examples/pp.x\r\n examples/state.x\r\n examples/tiny.y\r\n examples/words.x\r\n examples/words_monad.x\r\n examples/words_posn.x\r\n src/Parser.y.boot\r\n src/Scan.x.boot\r\n src/ghc_hooks.c\r\n templates/GenericTemplate.hs\r\n templates/wrappers.hs\r\n tests/Makefile\r\n tests/simple.x\r\n tests/null.x\r\n tests/tokens.x\r\n tests/tokens_gscan.x\r\n tests/tokens_posn.x\r\n tests/tokens_bytestring.x\r\n tests/tokens_posn_bytestring.x\r\n tests/tokens_scan_user.x\r\n tests/tokens_strict_bytestring.x\r\n tests/tokens_monad_bytestring.x\r\n tests/tokens_monadUserState_bytestring.x\r\n tests/tokens_bytestring_unicode.x\r\n tests/basic_typeclass.x\r\n tests/basic_typeclass_bytestring.x\r\n tests/default_typeclass.x\r\n tests/gscan_typeclass.x\r\n tests/posn_typeclass.x\r\n tests/monad_typeclass.x\r\n tests/monad_typeclass_bytestring.x\r\n tests/monadUserState_typeclass.x\r\n tests/monadUserState_typeclass_bytestring.x\r\n tests/posn_typeclass_bytestring.x\r\n tests/strict_typeclass.x\r\n tests/unicode.x\r\n\r\nsource-repository head\r\n type: git\r\n location: https://github.com/simonmar/alex.git\r\n\r\nflag small_base\r\n description: Choose the new smaller, split-up base package.\r\n\r\nexecutable alex\r\n hs-source-dirs: src\r\n main-is: Main.hs\r\n\r\n if flag(small_base)\r\n build-depends: base >= 2.1, array, containers, directory\r\n else\r\n build-depends: base >= 1.0\r\n\r\n build-depends: base < 4.15.0.0\r\n\r\n extensions: CPP\r\n ghc-options: -Wall -rtsopts\r\n other-modules:\r\n AbsSyn\r\n CharSet\r\n DFA\r\n DFAMin\r\n DFS\r\n Info\r\n Map\r\n NFA\r\n Output\r\n Paths_alex\r\n Parser\r\n ParseMonad\r\n Scan\r\n Set\r\n Sort\r\n Util\r\n UTF8\r\n Data.Ranged\r\n Data.Ranged.Boundaries\r\n Data.Ranged.RangedSet\r\n Data.Ranged.Ranges\r\n\r\ntest-suite tests\r\n type: exitcode-stdio-1.0\r\n main-is: test.hs\r\n -- This line is important as it ensures that the local `exe:alex` component declared above is built before the test-suite component is invoked, as well as making sure that `alex` is made available on $PATH and `$alex_datadir` is set accordingly before invoking `test.hs`\r\n build-tools: alex\r\n\r\n build-depends: base, process\r\n"; + } \ No newline at end of file diff --git a/materialized/ghcjs/alex/ghc8107/default.nix b/materialized/ghcjs/alex/ghc8107/default.nix index 358d0e1ec0..4976444502 100644 --- a/materialized/ghcjs/alex/ghc8107/default.nix +++ b/materialized/ghcjs/alex/ghc8107/default.nix @@ -3,6 +3,8 @@ { packages = { ghc-prim.revision = hackage.ghc-prim."0.6.1".revisions.default; + alex.revision = import ./cabal-files/alex.nix; + alex.flags.small_base = true; time.revision = hackage.time."1.9.3".revisions.default; base.revision = hackage.base."4.14.3.0".revisions.default; unix.revision = hackage.unix."2.7.2.2".revisions.default; @@ -33,7 +35,7 @@ }; }; extras = hackage: - { packages = { alex = ./.plan.nix/alex.nix; }; }; + { packages = {}; }; modules = [ { preExistingPkgs = [ @@ -51,11 +53,7 @@ ]; } ({ lib, ... }: - { - packages = { - "alex" = { flags = { "small_base" = lib.mkOverride 900 true; }; }; - }; - }) + { packages = {}; }) ({ lib, ... }: { packages = { diff --git a/materialized/ghcjs/alex/ghc8107/plan.json b/materialized/ghcjs/alex/ghc8107/plan.json index 699dfef194..f7876f8c17 100644 --- a/materialized/ghcjs/alex/ghc8107/plan.json +++ b/materialized/ghcjs/alex/ghc8107/plan.json @@ -1 +1 @@ -{"cabal-version":"3.10.3.0","cabal-lib-version":"3.10.3.0","compiler-id":"ghc-8.10.7","os":"linux","arch":"x86_64","install-plan":[{"type":"configured","id":"alex-3.2.5-inplace-alex","pkg-name":"alex","pkg-version":"3.2.5","flags":{"small_base":true},"style":"local","pkg-src":{"type":"local","path":"./."},"dist-dir":"./dist-newstyle/build/x86_64-linux/ghc-8.10.7/alex-3.2.5/x/alex","build-info":"./dist-newstyle/build/x86_64-linux/ghc-8.10.7/alex-3.2.5/x/alex/build-info.json","depends":["array-0.5.4.0","base-4.14.3.0","containers-0.6.5.1","directory-1.3.6.0"],"exe-depends":[],"component-name":"exe:alex","bin-file":"./dist-newstyle/build/x86_64-linux/ghc-8.10.7/alex-3.2.5/x/alex/build/alex/alex"},{"type":"pre-existing","id":"array-0.5.4.0","pkg-name":"array","pkg-version":"0.5.4.0","depends":["base-4.14.3.0"]},{"type":"pre-existing","id":"base-4.14.3.0","pkg-name":"base","pkg-version":"4.14.3.0","depends":["ghc-prim-0.6.1","integer-gmp-1.0.3.0"]},{"type":"pre-existing","id":"bytestring-0.10.12.0","pkg-name":"bytestring","pkg-version":"0.10.12.0","depends":["base-4.14.3.0","deepseq-1.4.4.0","ghc-prim-0.6.1","integer-gmp-1.0.3.0"]},{"type":"pre-existing","id":"containers-0.6.5.1","pkg-name":"containers","pkg-version":"0.6.5.1","depends":["array-0.5.4.0","base-4.14.3.0","deepseq-1.4.4.0"]},{"type":"pre-existing","id":"deepseq-1.4.4.0","pkg-name":"deepseq","pkg-version":"1.4.4.0","depends":["array-0.5.4.0","base-4.14.3.0","ghc-prim-0.6.1"]},{"type":"pre-existing","id":"directory-1.3.6.0","pkg-name":"directory","pkg-version":"1.3.6.0","depends":["base-4.14.3.0","filepath-1.4.2.1","time-1.9.3","unix-2.7.2.2"]},{"type":"pre-existing","id":"filepath-1.4.2.1","pkg-name":"filepath","pkg-version":"1.4.2.1","depends":["base-4.14.3.0"]},{"type":"pre-existing","id":"ghc-prim-0.6.1","pkg-name":"ghc-prim","pkg-version":"0.6.1","depends":[]},{"type":"pre-existing","id":"integer-gmp-1.0.3.0","pkg-name":"integer-gmp","pkg-version":"1.0.3.0","depends":["ghc-prim-0.6.1"]},{"type":"pre-existing","id":"time-1.9.3","pkg-name":"time","pkg-version":"1.9.3","depends":["base-4.14.3.0","deepseq-1.4.4.0"]},{"type":"pre-existing","id":"unix-2.7.2.2","pkg-name":"unix","pkg-version":"2.7.2.2","depends":["base-4.14.3.0","bytestring-0.10.12.0","time-1.9.3"]}],"targets":[{"pkg-name":"alex","pkg-version":"3.2.5","component-name":"exe:alex","available":[{"id":"alex-3.2.5-inplace-alex","component-name":"exe:alex","build-by-default":true}]},{"pkg-name":"alex","pkg-version":"3.2.5","component-name":"test:tests","available":["TargetDisabledByUser"]},{"pkg-name":"array","pkg-version":"0.5.4.0","component-name":"lib","available":[{"id":"array-0.5.4.0","component-name":"lib","build-by-default":true}]},{"pkg-name":"base","pkg-version":"4.14.3.0","component-name":"lib","available":[{"id":"base-4.14.3.0","component-name":"lib","build-by-default":true}]},{"pkg-name":"bytestring","pkg-version":"0.10.12.0","component-name":"lib","available":[{"id":"bytestring-0.10.12.0","component-name":"lib","build-by-default":true}]},{"pkg-name":"containers","pkg-version":"0.6.5.1","component-name":"lib","available":[{"id":"containers-0.6.5.1","component-name":"lib","build-by-default":true}]},{"pkg-name":"deepseq","pkg-version":"1.4.4.0","component-name":"lib","available":[{"id":"deepseq-1.4.4.0","component-name":"lib","build-by-default":true}]},{"pkg-name":"directory","pkg-version":"1.3.6.0","component-name":"lib","available":[{"id":"directory-1.3.6.0","component-name":"lib","build-by-default":true}]},{"pkg-name":"filepath","pkg-version":"1.4.2.1","component-name":"lib","available":[{"id":"filepath-1.4.2.1","component-name":"lib","build-by-default":true}]},{"pkg-name":"ghc-prim","pkg-version":"0.6.1","component-name":"lib","available":[{"id":"ghc-prim-0.6.1","component-name":"lib","build-by-default":true}]},{"pkg-name":"integer-gmp","pkg-version":"1.0.3.0","component-name":"lib","available":[{"id":"integer-gmp-1.0.3.0","component-name":"lib","build-by-default":true}]},{"pkg-name":"time","pkg-version":"1.9.3","component-name":"lib","available":[{"id":"time-1.9.3","component-name":"lib","build-by-default":true}]},{"pkg-name":"unix","pkg-version":"2.7.2.2","component-name":"lib","available":[{"id":"unix-2.7.2.2","component-name":"lib","build-by-default":true}]}]} \ No newline at end of file +{"cabal-version":"3.10.3.0","cabal-lib-version":"3.10.3.0","compiler-id":"ghc-8.10.7","os":"linux","arch":"x86_64","install-plan":[{"type":"configured","id":"alex-3.2.5-e-alex-aeddb9fe37ef828092cde1d3eeaecd7bcd01427ec8970c4a58437f6f26f5d626","pkg-name":"alex","pkg-version":"3.2.5","flags":{"small_base":true},"style":"global","pkg-src":{"type":"repo-tar","repo":{"type":"secure-repo","uri":"http://hackage.haskell.org/"}},"pkg-cabal-sha256":"dae09bfcac2fe2ac7e967c0e565fd0bc1b5b3ed5e0ca450a004b9497e9d44d17","pkg-src-sha256":"b77c8a1270767c64e2adb21a6e91ee7cd904ba17edae17bc20fd03da5256e0e3","depends":["array-0.5.4.0","base-4.14.3.0","containers-0.6.5.1","directory-1.3.6.0"],"exe-depends":[],"component-name":"exe:alex","bin-file":"/store/ghc-8.10.7/alex-3.2.5-e-alex-aeddb9fe37ef828092cde1d3eeaecd7bcd01427ec8970c4a58437f6f26f5d626/bin/alex"},{"type":"pre-existing","id":"array-0.5.4.0","pkg-name":"array","pkg-version":"0.5.4.0","depends":["base-4.14.3.0"]},{"type":"pre-existing","id":"base-4.14.3.0","pkg-name":"base","pkg-version":"4.14.3.0","depends":["ghc-prim-0.6.1","integer-gmp-1.0.3.0"]},{"type":"pre-existing","id":"bytestring-0.10.12.0","pkg-name":"bytestring","pkg-version":"0.10.12.0","depends":["base-4.14.3.0","deepseq-1.4.4.0","ghc-prim-0.6.1","integer-gmp-1.0.3.0"]},{"type":"pre-existing","id":"containers-0.6.5.1","pkg-name":"containers","pkg-version":"0.6.5.1","depends":["array-0.5.4.0","base-4.14.3.0","deepseq-1.4.4.0"]},{"type":"pre-existing","id":"deepseq-1.4.4.0","pkg-name":"deepseq","pkg-version":"1.4.4.0","depends":["array-0.5.4.0","base-4.14.3.0","ghc-prim-0.6.1"]},{"type":"pre-existing","id":"directory-1.3.6.0","pkg-name":"directory","pkg-version":"1.3.6.0","depends":["base-4.14.3.0","filepath-1.4.2.1","time-1.9.3","unix-2.7.2.2"]},{"type":"pre-existing","id":"filepath-1.4.2.1","pkg-name":"filepath","pkg-version":"1.4.2.1","depends":["base-4.14.3.0"]},{"type":"pre-existing","id":"ghc-prim-0.6.1","pkg-name":"ghc-prim","pkg-version":"0.6.1","depends":[]},{"type":"pre-existing","id":"integer-gmp-1.0.3.0","pkg-name":"integer-gmp","pkg-version":"1.0.3.0","depends":["ghc-prim-0.6.1"]},{"type":"pre-existing","id":"time-1.9.3","pkg-name":"time","pkg-version":"1.9.3","depends":["base-4.14.3.0","deepseq-1.4.4.0"]},{"type":"pre-existing","id":"unix-2.7.2.2","pkg-name":"unix","pkg-version":"2.7.2.2","depends":["base-4.14.3.0","bytestring-0.10.12.0","time-1.9.3"]}],"targets":[{"pkg-name":"alex","pkg-version":"3.2.5","component-name":"exe:alex","available":[{"id":"alex-3.2.5-e-alex-aeddb9fe37ef828092cde1d3eeaecd7bcd01427ec8970c4a58437f6f26f5d626","component-name":"exe:alex","build-by-default":true}]},{"pkg-name":"alex","pkg-version":"3.2.5","component-name":"test:tests","available":["TargetNotLocal"]},{"pkg-name":"array","pkg-version":"0.5.4.0","component-name":"lib","available":[{"id":"array-0.5.4.0","component-name":"lib","build-by-default":true}]},{"pkg-name":"base","pkg-version":"4.14.3.0","component-name":"lib","available":[{"id":"base-4.14.3.0","component-name":"lib","build-by-default":true}]},{"pkg-name":"bytestring","pkg-version":"0.10.12.0","component-name":"lib","available":[{"id":"bytestring-0.10.12.0","component-name":"lib","build-by-default":true}]},{"pkg-name":"containers","pkg-version":"0.6.5.1","component-name":"lib","available":[{"id":"containers-0.6.5.1","component-name":"lib","build-by-default":true}]},{"pkg-name":"deepseq","pkg-version":"1.4.4.0","component-name":"lib","available":[{"id":"deepseq-1.4.4.0","component-name":"lib","build-by-default":true}]},{"pkg-name":"directory","pkg-version":"1.3.6.0","component-name":"lib","available":[{"id":"directory-1.3.6.0","component-name":"lib","build-by-default":true}]},{"pkg-name":"filepath","pkg-version":"1.4.2.1","component-name":"lib","available":[{"id":"filepath-1.4.2.1","component-name":"lib","build-by-default":true}]},{"pkg-name":"ghc-prim","pkg-version":"0.6.1","component-name":"lib","available":[{"id":"ghc-prim-0.6.1","component-name":"lib","build-by-default":true}]},{"pkg-name":"integer-gmp","pkg-version":"1.0.3.0","component-name":"lib","available":[{"id":"integer-gmp-1.0.3.0","component-name":"lib","build-by-default":true}]},{"pkg-name":"time","pkg-version":"1.9.3","component-name":"lib","available":[{"id":"time-1.9.3","component-name":"lib","build-by-default":true}]},{"pkg-name":"unix","pkg-version":"2.7.2.2","component-name":"lib","available":[{"id":"unix-2.7.2.2","component-name":"lib","build-by-default":true}]}]} \ No newline at end of file diff --git a/materialized/ghcjs/alex/ghc865/.plan.nix/alex.nix b/materialized/ghcjs/alex/ghc865/.plan.nix/alex.nix deleted file mode 100644 index aeec92446a..0000000000 --- a/materialized/ghcjs/alex/ghc865/.plan.nix/alex.nix +++ /dev/null @@ -1,160 +0,0 @@ -{ system - , compiler - , flags - , pkgs - , hsPkgs - , pkgconfPkgs - , errorHandler - , config - , ... }: - { - flags = { small_base = true; }; - package = { - specVersion = "1.8"; - identifier = { name = "alex"; version = "3.2.5"; }; - license = "BSD-3-Clause"; - copyright = "(c) Chis Dornan, Simon Marlow"; - maintainer = "Simon Marlow "; - author = "Chris Dornan and Simon Marlow"; - homepage = "http://www.haskell.org/alex/"; - url = ""; - synopsis = "Alex is a tool for generating lexical analysers in Haskell"; - description = "Alex is a tool for generating lexical analysers in Haskell.\nIt takes a description of tokens based on regular\nexpressions and generates a Haskell module containing code\nfor scanning text efficiently. It is similar to the tool\nlex or flex for C/C++."; - buildType = "Simple"; - isLocal = true; - detailLevel = "FullDetails"; - licenseFiles = [ "LICENSE" ]; - dataDir = "data/"; - dataFiles = [ - "AlexTemplate" - "AlexTemplate-ghc" - "AlexTemplate-ghc-nopred" - "AlexTemplate-ghc-debug" - "AlexTemplate-debug" - "AlexWrapper-basic" - "AlexWrapper-basic-bytestring" - "AlexWrapper-strict-bytestring" - "AlexWrapper-posn" - "AlexWrapper-posn-bytestring" - "AlexWrapper-monad" - "AlexWrapper-monad-bytestring" - "AlexWrapper-monadUserState" - "AlexWrapper-monadUserState-bytestring" - "AlexWrapper-gscan" - ]; - extraSrcFiles = [ - "CHANGELOG.md" - "README.md" - "TODO" - "alex.spec" - "doc/Makefile" - "doc/aclocal.m4" - "doc/alex.1.in" - "doc/alex.xml" - "doc/config.mk.in" - "doc/configure.ac" - "doc/docbook-xml.mk" - "doc/fptools.css" - "examples/Makefile" - "examples/Tokens.x" - "examples/Tokens_gscan.x" - "examples/Tokens_posn.x" - "examples/examples.x" - "examples/haskell.x" - "examples/lit.x" - "examples/pp.x" - "examples/state.x" - "examples/tiny.y" - "examples/words.x" - "examples/words_monad.x" - "examples/words_posn.x" - "src/Parser.y.boot" - "src/Scan.x.boot" - "src/ghc_hooks.c" - "templates/GenericTemplate.hs" - "templates/wrappers.hs" - "tests/Makefile" - "tests/simple.x" - "tests/null.x" - "tests/tokens.x" - "tests/tokens_gscan.x" - "tests/tokens_posn.x" - "tests/tokens_bytestring.x" - "tests/tokens_posn_bytestring.x" - "tests/tokens_scan_user.x" - "tests/tokens_strict_bytestring.x" - "tests/tokens_monad_bytestring.x" - "tests/tokens_monadUserState_bytestring.x" - "tests/tokens_bytestring_unicode.x" - "tests/basic_typeclass.x" - "tests/basic_typeclass_bytestring.x" - "tests/default_typeclass.x" - "tests/gscan_typeclass.x" - "tests/posn_typeclass.x" - "tests/monad_typeclass.x" - "tests/monad_typeclass_bytestring.x" - "tests/monadUserState_typeclass.x" - "tests/monadUserState_typeclass_bytestring.x" - "tests/posn_typeclass_bytestring.x" - "tests/strict_typeclass.x" - "tests/unicode.x" - ]; - extraTmpFiles = []; - extraDocFiles = []; - }; - components = { - exes = { - "alex" = { - depends = [ - (hsPkgs."base" or (errorHandler.buildDepError "base")) - ] ++ (if flags.small_base - then [ - (hsPkgs."base" or (errorHandler.buildDepError "base")) - (hsPkgs."array" or (errorHandler.buildDepError "array")) - (hsPkgs."containers" or (errorHandler.buildDepError "containers")) - (hsPkgs."directory" or (errorHandler.buildDepError "directory")) - ] - else [ (hsPkgs."base" or (errorHandler.buildDepError "base")) ]); - buildable = true; - modules = [ - "AbsSyn" - "CharSet" - "DFA" - "DFAMin" - "DFS" - "Info" - "Map" - "NFA" - "Output" - "Paths_alex" - "Parser" - "ParseMonad" - "Scan" - "Set" - "Sort" - "Util" - "UTF8" - "Data/Ranged" - "Data/Ranged/Boundaries" - "Data/Ranged/RangedSet" - "Data/Ranged/Ranges" - ]; - hsSourceDirs = [ "src" ]; - mainPath = [ "Main.hs" ] ++ [ "" ]; - }; - }; - tests = { - "tests" = { - depends = [ - (hsPkgs."base" or (errorHandler.buildDepError "base")) - (hsPkgs."process" or (errorHandler.buildDepError "process")) - ]; - build-tools = [ - (hsPkgs.pkgsBuildBuild.alex.components.exes.alex or (pkgs.pkgsBuildBuild.alex or (errorHandler.buildToolDepError "alex:alex"))) - ]; - buildable = true; - mainPath = [ "test.hs" ]; - }; - }; - }; - } // rec { src = (pkgs.lib).mkDefault ../.; } \ No newline at end of file diff --git a/materialized/ghcjs/alex/ghc865/default.nix b/materialized/ghcjs/alex/ghc865/default.nix deleted file mode 100644 index 9560616692..0000000000 --- a/materialized/ghcjs/alex/ghc865/default.nix +++ /dev/null @@ -1,65 +0,0 @@ -{ - pkgs = hackage: - { - packages = { - bytestring.revision = (((hackage.bytestring)."0.10.8.2").revisions).default; - directory.revision = (((hackage.directory)."1.3.3.0").revisions).default; - filepath.revision = (((hackage.filepath)."1.4.2.1").revisions).default; - ghc-prim.revision = (((hackage.ghc-prim)."0.5.3").revisions).default; - containers.revision = (((hackage.containers)."0.6.0.1").revisions).default; - base.revision = (((hackage.base)."4.12.0.0").revisions).default; - time.revision = (((hackage.time)."1.8.0.2").revisions).default; - deepseq.revision = (((hackage.deepseq)."1.4.4.0").revisions).default; - rts.revision = (((hackage.rts)."1.0").revisions).default; - integer-gmp.revision = (((hackage.integer-gmp)."1.0.2.0").revisions).default; - unix.revision = (((hackage.unix)."2.7.2.2").revisions).default; - array.revision = (((hackage.array)."0.5.3.0").revisions).default; - }; - compiler = { - version = "8.6.5"; - nix-name = "ghc865"; - packages = { - "array" = "0.5.3.0"; - "bytestring" = "0.10.8.2"; - "filepath" = "1.4.2.1"; - "ghc-prim" = "0.5.3"; - "base" = "4.12.0.0"; - "time" = "1.8.0.2"; - "directory" = "1.3.3.0"; - "rts" = "1.0"; - "deepseq" = "1.4.4.0"; - "unix" = "2.7.2.2"; - "integer-gmp" = "1.0.2.0"; - "containers" = "0.6.0.1"; - }; - }; - }; - extras = hackage: - { packages = { alex = ./.plan.nix/alex.nix; }; }; - modules = [ - ({ lib, ... }: - { - packages = { - "alex" = { flags = { "small_base" = lib.mkOverride 900 true; }; }; - }; - }) - ({ lib, ... }: - { - packages = { - "filepath".components.library.planned = lib.mkOverride 900 true; - "bytestring".components.library.planned = lib.mkOverride 900 true; - "ghc-prim".components.library.planned = lib.mkOverride 900 true; - "array".components.library.planned = lib.mkOverride 900 true; - "rts".components.library.planned = lib.mkOverride 900 true; - "unix".components.library.planned = lib.mkOverride 900 true; - "directory".components.library.planned = lib.mkOverride 900 true; - "time".components.library.planned = lib.mkOverride 900 true; - "alex".components.exes."alex".planned = lib.mkOverride 900 true; - "deepseq".components.library.planned = lib.mkOverride 900 true; - "base".components.library.planned = lib.mkOverride 900 true; - "integer-gmp".components.library.planned = lib.mkOverride 900 true; - "containers".components.library.planned = lib.mkOverride 900 true; - }; - }) - ]; - } \ No newline at end of file diff --git a/materialized/ghcjs/alex/ghc884/.plan.nix/alex.nix b/materialized/ghcjs/alex/ghc884/.plan.nix/alex.nix deleted file mode 100644 index aeec92446a..0000000000 --- a/materialized/ghcjs/alex/ghc884/.plan.nix/alex.nix +++ /dev/null @@ -1,160 +0,0 @@ -{ system - , compiler - , flags - , pkgs - , hsPkgs - , pkgconfPkgs - , errorHandler - , config - , ... }: - { - flags = { small_base = true; }; - package = { - specVersion = "1.8"; - identifier = { name = "alex"; version = "3.2.5"; }; - license = "BSD-3-Clause"; - copyright = "(c) Chis Dornan, Simon Marlow"; - maintainer = "Simon Marlow "; - author = "Chris Dornan and Simon Marlow"; - homepage = "http://www.haskell.org/alex/"; - url = ""; - synopsis = "Alex is a tool for generating lexical analysers in Haskell"; - description = "Alex is a tool for generating lexical analysers in Haskell.\nIt takes a description of tokens based on regular\nexpressions and generates a Haskell module containing code\nfor scanning text efficiently. It is similar to the tool\nlex or flex for C/C++."; - buildType = "Simple"; - isLocal = true; - detailLevel = "FullDetails"; - licenseFiles = [ "LICENSE" ]; - dataDir = "data/"; - dataFiles = [ - "AlexTemplate" - "AlexTemplate-ghc" - "AlexTemplate-ghc-nopred" - "AlexTemplate-ghc-debug" - "AlexTemplate-debug" - "AlexWrapper-basic" - "AlexWrapper-basic-bytestring" - "AlexWrapper-strict-bytestring" - "AlexWrapper-posn" - "AlexWrapper-posn-bytestring" - "AlexWrapper-monad" - "AlexWrapper-monad-bytestring" - "AlexWrapper-monadUserState" - "AlexWrapper-monadUserState-bytestring" - "AlexWrapper-gscan" - ]; - extraSrcFiles = [ - "CHANGELOG.md" - "README.md" - "TODO" - "alex.spec" - "doc/Makefile" - "doc/aclocal.m4" - "doc/alex.1.in" - "doc/alex.xml" - "doc/config.mk.in" - "doc/configure.ac" - "doc/docbook-xml.mk" - "doc/fptools.css" - "examples/Makefile" - "examples/Tokens.x" - "examples/Tokens_gscan.x" - "examples/Tokens_posn.x" - "examples/examples.x" - "examples/haskell.x" - "examples/lit.x" - "examples/pp.x" - "examples/state.x" - "examples/tiny.y" - "examples/words.x" - "examples/words_monad.x" - "examples/words_posn.x" - "src/Parser.y.boot" - "src/Scan.x.boot" - "src/ghc_hooks.c" - "templates/GenericTemplate.hs" - "templates/wrappers.hs" - "tests/Makefile" - "tests/simple.x" - "tests/null.x" - "tests/tokens.x" - "tests/tokens_gscan.x" - "tests/tokens_posn.x" - "tests/tokens_bytestring.x" - "tests/tokens_posn_bytestring.x" - "tests/tokens_scan_user.x" - "tests/tokens_strict_bytestring.x" - "tests/tokens_monad_bytestring.x" - "tests/tokens_monadUserState_bytestring.x" - "tests/tokens_bytestring_unicode.x" - "tests/basic_typeclass.x" - "tests/basic_typeclass_bytestring.x" - "tests/default_typeclass.x" - "tests/gscan_typeclass.x" - "tests/posn_typeclass.x" - "tests/monad_typeclass.x" - "tests/monad_typeclass_bytestring.x" - "tests/monadUserState_typeclass.x" - "tests/monadUserState_typeclass_bytestring.x" - "tests/posn_typeclass_bytestring.x" - "tests/strict_typeclass.x" - "tests/unicode.x" - ]; - extraTmpFiles = []; - extraDocFiles = []; - }; - components = { - exes = { - "alex" = { - depends = [ - (hsPkgs."base" or (errorHandler.buildDepError "base")) - ] ++ (if flags.small_base - then [ - (hsPkgs."base" or (errorHandler.buildDepError "base")) - (hsPkgs."array" or (errorHandler.buildDepError "array")) - (hsPkgs."containers" or (errorHandler.buildDepError "containers")) - (hsPkgs."directory" or (errorHandler.buildDepError "directory")) - ] - else [ (hsPkgs."base" or (errorHandler.buildDepError "base")) ]); - buildable = true; - modules = [ - "AbsSyn" - "CharSet" - "DFA" - "DFAMin" - "DFS" - "Info" - "Map" - "NFA" - "Output" - "Paths_alex" - "Parser" - "ParseMonad" - "Scan" - "Set" - "Sort" - "Util" - "UTF8" - "Data/Ranged" - "Data/Ranged/Boundaries" - "Data/Ranged/RangedSet" - "Data/Ranged/Ranges" - ]; - hsSourceDirs = [ "src" ]; - mainPath = [ "Main.hs" ] ++ [ "" ]; - }; - }; - tests = { - "tests" = { - depends = [ - (hsPkgs."base" or (errorHandler.buildDepError "base")) - (hsPkgs."process" or (errorHandler.buildDepError "process")) - ]; - build-tools = [ - (hsPkgs.pkgsBuildBuild.alex.components.exes.alex or (pkgs.pkgsBuildBuild.alex or (errorHandler.buildToolDepError "alex:alex"))) - ]; - buildable = true; - mainPath = [ "test.hs" ]; - }; - }; - }; - } // rec { src = (pkgs.lib).mkDefault ../.; } \ No newline at end of file diff --git a/materialized/ghcjs/alex/ghc884/default.nix b/materialized/ghcjs/alex/ghc884/default.nix deleted file mode 100644 index 364bc3ef06..0000000000 --- a/materialized/ghcjs/alex/ghc884/default.nix +++ /dev/null @@ -1,65 +0,0 @@ -{ - pkgs = hackage: - { - packages = { - bytestring.revision = (((hackage.bytestring)."0.10.10.1").revisions).default; - directory.revision = (((hackage.directory)."1.3.6.0").revisions).default; - filepath.revision = (((hackage.filepath)."1.4.2.1").revisions).default; - ghc-prim.revision = (((hackage.ghc-prim)."0.5.3").revisions).default; - containers.revision = (((hackage.containers)."0.6.2.1").revisions).default; - base.revision = (((hackage.base)."4.13.0.0").revisions).default; - time.revision = (((hackage.time)."1.9.3").revisions).default; - deepseq.revision = (((hackage.deepseq)."1.4.4.0").revisions).default; - rts.revision = (((hackage.rts)."1.0").revisions).default; - integer-gmp.revision = (((hackage.integer-gmp)."1.0.2.0").revisions).default; - unix.revision = (((hackage.unix)."2.7.2.2").revisions).default; - array.revision = (((hackage.array)."0.5.4.0").revisions).default; - }; - compiler = { - version = "8.8.4"; - nix-name = "ghc884"; - packages = { - "array" = "0.5.4.0"; - "bytestring" = "0.10.10.1"; - "filepath" = "1.4.2.1"; - "ghc-prim" = "0.5.3"; - "base" = "4.13.0.0"; - "time" = "1.9.3"; - "directory" = "1.3.6.0"; - "rts" = "1.0"; - "deepseq" = "1.4.4.0"; - "unix" = "2.7.2.2"; - "integer-gmp" = "1.0.2.0"; - "containers" = "0.6.2.1"; - }; - }; - }; - extras = hackage: - { packages = { alex = ./.plan.nix/alex.nix; }; }; - modules = [ - ({ lib, ... }: - { - packages = { - "alex" = { flags = { "small_base" = lib.mkOverride 900 true; }; }; - }; - }) - ({ lib, ... }: - { - packages = { - "filepath".components.library.planned = lib.mkOverride 900 true; - "bytestring".components.library.planned = lib.mkOverride 900 true; - "ghc-prim".components.library.planned = lib.mkOverride 900 true; - "array".components.library.planned = lib.mkOverride 900 true; - "rts".components.library.planned = lib.mkOverride 900 true; - "unix".components.library.planned = lib.mkOverride 900 true; - "directory".components.library.planned = lib.mkOverride 900 true; - "time".components.library.planned = lib.mkOverride 900 true; - "alex".components.exes."alex".planned = lib.mkOverride 900 true; - "deepseq".components.library.planned = lib.mkOverride 900 true; - "base".components.library.planned = lib.mkOverride 900 true; - "integer-gmp".components.library.planned = lib.mkOverride 900 true; - "containers".components.library.planned = lib.mkOverride 900 true; - }; - }) - ]; - } \ No newline at end of file diff --git a/materialized/ghcjs/cabal/ghc8107/.plan.nix/cabal-install.nix b/materialized/ghcjs/cabal/ghc8107/.plan.nix/cabal-install.nix deleted file mode 100644 index bb0d89cd33..0000000000 --- a/materialized/ghcjs/cabal/ghc8107/.plan.nix/cabal-install.nix +++ /dev/null @@ -1,385 +0,0 @@ -{ system - , compiler - , flags - , pkgs - , hsPkgs - , pkgconfPkgs - , errorHandler - , config - , ... }: - { - flags = { native-dns = true; lukko = true; }; - package = { - specVersion = "2.2"; - identifier = { name = "cabal-install"; version = "3.8.1.0"; }; - license = "BSD-3-Clause"; - copyright = "2003-2022, Cabal Development Team"; - maintainer = "Cabal Development Team "; - author = "Cabal Development Team (see AUTHORS file)"; - homepage = "http://www.haskell.org/cabal/"; - url = ""; - synopsis = "The command-line interface for Cabal and Hackage."; - description = "The \\'cabal\\' command-line program simplifies the process of managing\nHaskell software by automating the fetching, configuration, compilation\nand installation of Haskell libraries and programs."; - buildType = "Simple"; - isLocal = true; - detailLevel = "FullDetails"; - licenseFiles = [ "LICENSE" ]; - dataDir = "."; - dataFiles = []; - extraSrcFiles = [ "README.md" "bash-completion/cabal" "changelog" ]; - extraTmpFiles = []; - extraDocFiles = []; - }; - components = { - "library" = { - depends = (([ - (hsPkgs."base" or (errorHandler.buildDepError "base")) - (hsPkgs."Cabal" or (errorHandler.buildDepError "Cabal")) - (hsPkgs."Cabal-syntax" or (errorHandler.buildDepError "Cabal-syntax")) - (hsPkgs."cabal-install-solver" or (errorHandler.buildDepError "cabal-install-solver")) - (hsPkgs."async" or (errorHandler.buildDepError "async")) - (hsPkgs."array" or (errorHandler.buildDepError "array")) - (hsPkgs."base16-bytestring" or (errorHandler.buildDepError "base16-bytestring")) - (hsPkgs."binary" or (errorHandler.buildDepError "binary")) - (hsPkgs."bytestring" or (errorHandler.buildDepError "bytestring")) - (hsPkgs."containers" or (errorHandler.buildDepError "containers")) - (hsPkgs."cryptohash-sha256" or (errorHandler.buildDepError "cryptohash-sha256")) - (hsPkgs."directory" or (errorHandler.buildDepError "directory")) - (hsPkgs."echo" or (errorHandler.buildDepError "echo")) - (hsPkgs."edit-distance" or (errorHandler.buildDepError "edit-distance")) - (hsPkgs."exceptions" or (errorHandler.buildDepError "exceptions")) - (hsPkgs."filepath" or (errorHandler.buildDepError "filepath")) - (hsPkgs."hashable" or (errorHandler.buildDepError "hashable")) - (hsPkgs."HTTP" or (errorHandler.buildDepError "HTTP")) - (hsPkgs."mtl" or (errorHandler.buildDepError "mtl")) - (hsPkgs."network-uri" or (errorHandler.buildDepError "network-uri")) - (hsPkgs."pretty" or (errorHandler.buildDepError "pretty")) - (hsPkgs."process" or (errorHandler.buildDepError "process")) - (hsPkgs."random" or (errorHandler.buildDepError "random")) - (hsPkgs."stm" or (errorHandler.buildDepError "stm")) - (hsPkgs."tar" or (errorHandler.buildDepError "tar")) - (hsPkgs."time" or (errorHandler.buildDepError "time")) - (hsPkgs."zlib" or (errorHandler.buildDepError "zlib")) - (hsPkgs."hackage-security" or (errorHandler.buildDepError "hackage-security")) - (hsPkgs."text" or (errorHandler.buildDepError "text")) - (hsPkgs."parsec" or (errorHandler.buildDepError "parsec")) - (hsPkgs."regex-base" or (errorHandler.buildDepError "regex-base")) - (hsPkgs."regex-posix" or (errorHandler.buildDepError "regex-posix")) - (hsPkgs."safe-exceptions" or (errorHandler.buildDepError "safe-exceptions")) - ] ++ pkgs.lib.optionals (flags.native-dns) (if system.isWindows - then [ (hsPkgs."windns" or (errorHandler.buildDepError "windns")) ] - else [ - (hsPkgs."resolv" or (errorHandler.buildDepError "resolv")) - ])) ++ (if system.isWindows - then [ - (hsPkgs."Win32" or (errorHandler.buildDepError "Win32")) - (hsPkgs."directory" or (errorHandler.buildDepError "directory")) - ] - else [ - (hsPkgs."unix" or (errorHandler.buildDepError "unix")) - ])) ++ pkgs.lib.optional (flags.lukko) (hsPkgs."lukko" or (errorHandler.buildDepError "lukko")); - buildable = true; - modules = [ - "Distribution/Deprecated/ParseUtils" - "Distribution/Deprecated/ReadP" - "Distribution/Deprecated/ViewAsFieldDescr" - "Distribution/Client/BuildReports/Anonymous" - "Distribution/Client/BuildReports/Lens" - "Distribution/Client/BuildReports/Storage" - "Distribution/Client/BuildReports/Types" - "Distribution/Client/BuildReports/Upload" - "Distribution/Client/Check" - "Distribution/Client/CmdBench" - "Distribution/Client/CmdBuild" - "Distribution/Client/CmdClean" - "Distribution/Client/CmdConfigure" - "Distribution/Client/CmdErrorMessages" - "Distribution/Client/CmdExec" - "Distribution/Client/CmdFreeze" - "Distribution/Client/CmdHaddock" - "Distribution/Client/CmdInstall" - "Distribution/Client/CmdInstall/ClientInstallFlags" - "Distribution/Client/CmdInstall/ClientInstallTargetSelector" - "Distribution/Client/CmdLegacy" - "Distribution/Client/CmdListBin" - "Distribution/Client/CmdOutdated" - "Distribution/Client/CmdRepl" - "Distribution/Client/CmdRun" - "Distribution/Client/CmdSdist" - "Distribution/Client/CmdTest" - "Distribution/Client/CmdUpdate" - "Distribution/Client/Compat/Directory" - "Distribution/Client/Compat/ExecutablePath" - "Distribution/Client/Compat/Orphans" - "Distribution/Client/Compat/Prelude" - "Distribution/Client/Compat/Process" - "Distribution/Client/Compat/Semaphore" - "Distribution/Client/Config" - "Distribution/Client/Configure" - "Distribution/Client/Dependency" - "Distribution/Client/Dependency/Types" - "Distribution/Client/DistDirLayout" - "Distribution/Client/Fetch" - "Distribution/Client/FetchUtils" - "Distribution/Client/FileMonitor" - "Distribution/Client/Freeze" - "Distribution/Client/GZipUtils" - "Distribution/Client/GenBounds" - "Distribution/Client/Get" - "Distribution/Client/Glob" - "Distribution/Client/GlobalFlags" - "Distribution/Client/Haddock" - "Distribution/Client/HashValue" - "Distribution/Client/HttpUtils" - "Distribution/Client/IndexUtils" - "Distribution/Client/IndexUtils/ActiveRepos" - "Distribution/Client/IndexUtils/IndexState" - "Distribution/Client/IndexUtils/Timestamp" - "Distribution/Client/Init" - "Distribution/Client/Init/Defaults" - "Distribution/Client/Init/FileCreators" - "Distribution/Client/Init/FlagExtractors" - "Distribution/Client/Init/Format" - "Distribution/Client/Init/Interactive/Command" - "Distribution/Client/Init/NonInteractive/Command" - "Distribution/Client/Init/NonInteractive/Heuristics" - "Distribution/Client/Init/Licenses" - "Distribution/Client/Init/Prompt" - "Distribution/Client/Init/Simple" - "Distribution/Client/Init/Types" - "Distribution/Client/Init/Utils" - "Distribution/Client/Install" - "Distribution/Client/InstallPlan" - "Distribution/Client/InstallSymlink" - "Distribution/Client/JobControl" - "Distribution/Client/List" - "Distribution/Client/Manpage" - "Distribution/Client/ManpageFlags" - "Distribution/Client/Nix" - "Distribution/Client/NixStyleOptions" - "Distribution/Client/PackageHash" - "Distribution/Client/ParseUtils" - "Distribution/Client/ProjectBuilding" - "Distribution/Client/ProjectBuilding/Types" - "Distribution/Client/ProjectConfig" - "Distribution/Client/ProjectConfig/Legacy" - "Distribution/Client/ProjectConfig/Types" - "Distribution/Client/ProjectFlags" - "Distribution/Client/ProjectOrchestration" - "Distribution/Client/ProjectPlanOutput" - "Distribution/Client/ProjectPlanning" - "Distribution/Client/ProjectPlanning/Types" - "Distribution/Client/RebuildMonad" - "Distribution/Client/Reconfigure" - "Distribution/Client/Run" - "Distribution/Client/Sandbox" - "Distribution/Client/Sandbox/PackageEnvironment" - "Distribution/Client/SavedFlags" - "Distribution/Client/ScriptUtils" - "Distribution/Client/Security/DNS" - "Distribution/Client/Security/HTTP" - "Distribution/Client/Setup" - "Distribution/Client/SetupWrapper" - "Distribution/Client/SolverInstallPlan" - "Distribution/Client/SourceFiles" - "Distribution/Client/SrcDist" - "Distribution/Client/Store" - "Distribution/Client/Tar" - "Distribution/Client/TargetProblem" - "Distribution/Client/TargetSelector" - "Distribution/Client/Targets" - "Distribution/Client/Types" - "Distribution/Client/Types/AllowNewer" - "Distribution/Client/Types/BuildResults" - "Distribution/Client/Types/ConfiguredId" - "Distribution/Client/Types/ConfiguredPackage" - "Distribution/Client/Types/Credentials" - "Distribution/Client/Types/InstallMethod" - "Distribution/Client/Types/OverwritePolicy" - "Distribution/Client/Types/PackageLocation" - "Distribution/Client/Types/PackageSpecifier" - "Distribution/Client/Types/ReadyPackage" - "Distribution/Client/Types/Repo" - "Distribution/Client/Types/RepoName" - "Distribution/Client/Types/SourcePackageDb" - "Distribution/Client/Types/SourceRepo" - "Distribution/Client/Types/WriteGhcEnvironmentFilesPolicy" - "Distribution/Client/Upload" - "Distribution/Client/Utils" - "Distribution/Client/Utils/Json" - "Distribution/Client/Utils/Parsec" - "Distribution/Client/VCS" - "Distribution/Client/Version" - "Distribution/Client/Win32SelfUpgrade" - ]; - hsSourceDirs = [ "src" ]; - }; - exes = { - "cabal" = { - depends = [ - (hsPkgs."base" or (errorHandler.buildDepError "base")) - (hsPkgs."Cabal" or (errorHandler.buildDepError "Cabal")) - (hsPkgs."Cabal-syntax" or (errorHandler.buildDepError "Cabal-syntax")) - (hsPkgs."cabal-install" or (errorHandler.buildDepError "cabal-install")) - (hsPkgs."directory" or (errorHandler.buildDepError "directory")) - (hsPkgs."filepath" or (errorHandler.buildDepError "filepath")) - ]; - libs = pkgs.lib.optional (system.isAix) (pkgs."bsd" or (errorHandler.sysDepError "bsd")); - buildable = true; - hsSourceDirs = [ "main" ]; - mainPath = (([ - "Main.hs" - ] ++ pkgs.lib.optional (compiler.isGhc && compiler.version.lt "8.8") "") ++ pkgs.lib.optional (compiler.isGhc && compiler.version.ge "8.10") "") ++ pkgs.lib.optional (system.isAix) ""; - }; - }; - tests = { - "unit-tests" = { - depends = [ - (hsPkgs."base" or (errorHandler.buildDepError "base")) - (hsPkgs."Cabal" or (errorHandler.buildDepError "Cabal")) - (hsPkgs."Cabal-syntax" or (errorHandler.buildDepError "Cabal-syntax")) - (hsPkgs."cabal-install-solver" or (errorHandler.buildDepError "cabal-install-solver")) - (hsPkgs."array" or (errorHandler.buildDepError "array")) - (hsPkgs."bytestring" or (errorHandler.buildDepError "bytestring")) - (hsPkgs."cabal-install" or (errorHandler.buildDepError "cabal-install")) - (hsPkgs."Cabal-tree-diff" or (errorHandler.buildDepError "Cabal-tree-diff")) - (hsPkgs."Cabal-QuickCheck" or (errorHandler.buildDepError "Cabal-QuickCheck")) - (hsPkgs."containers" or (errorHandler.buildDepError "containers")) - (hsPkgs."directory" or (errorHandler.buildDepError "directory")) - (hsPkgs."filepath" or (errorHandler.buildDepError "filepath")) - (hsPkgs."mtl" or (errorHandler.buildDepError "mtl")) - (hsPkgs."network-uri" or (errorHandler.buildDepError "network-uri")) - (hsPkgs."random" or (errorHandler.buildDepError "random")) - (hsPkgs."tar" or (errorHandler.buildDepError "tar")) - (hsPkgs."time" or (errorHandler.buildDepError "time")) - (hsPkgs."zlib" or (errorHandler.buildDepError "zlib")) - (hsPkgs."tasty" or (errorHandler.buildDepError "tasty")) - (hsPkgs."tasty-golden" or (errorHandler.buildDepError "tasty-golden")) - (hsPkgs."tasty-quickcheck" or (errorHandler.buildDepError "tasty-quickcheck")) - (hsPkgs."tasty-hunit" or (errorHandler.buildDepError "tasty-hunit")) - (hsPkgs."tree-diff" or (errorHandler.buildDepError "tree-diff")) - (hsPkgs."QuickCheck" or (errorHandler.buildDepError "QuickCheck")) - ]; - buildable = true; - modules = [ - "UnitTests/Distribution/Client/ArbitraryInstances" - "UnitTests/Distribution/Client/BuildReport" - "UnitTests/Distribution/Client/Configure" - "UnitTests/Distribution/Client/FetchUtils" - "UnitTests/Distribution/Client/Get" - "UnitTests/Distribution/Client/Glob" - "UnitTests/Distribution/Client/GZipUtils" - "UnitTests/Distribution/Client/IndexUtils" - "UnitTests/Distribution/Client/IndexUtils/Timestamp" - "UnitTests/Distribution/Client/Init" - "UnitTests/Distribution/Client/Init/Golden" - "UnitTests/Distribution/Client/Init/Interactive" - "UnitTests/Distribution/Client/Init/NonInteractive" - "UnitTests/Distribution/Client/Init/Simple" - "UnitTests/Distribution/Client/Init/Utils" - "UnitTests/Distribution/Client/Init/FileCreators" - "UnitTests/Distribution/Client/InstallPlan" - "UnitTests/Distribution/Client/JobControl" - "UnitTests/Distribution/Client/ProjectConfig" - "UnitTests/Distribution/Client/ProjectPlanning" - "UnitTests/Distribution/Client/Store" - "UnitTests/Distribution/Client/Tar" - "UnitTests/Distribution/Client/Targets" - "UnitTests/Distribution/Client/TreeDiffInstances" - "UnitTests/Distribution/Client/UserConfig" - "UnitTests/Distribution/Solver/Modular/Builder" - "UnitTests/Distribution/Solver/Modular/RetryLog" - "UnitTests/Distribution/Solver/Modular/Solver" - "UnitTests/Distribution/Solver/Modular/DSL" - "UnitTests/Distribution/Solver/Modular/DSL/TestCaseUtils" - "UnitTests/Distribution/Solver/Modular/WeightedPSQ" - "UnitTests/Distribution/Solver/Types/OptionalStanza" - "UnitTests/Options" - "UnitTests/TempTestDir" - ]; - hsSourceDirs = [ "tests" ]; - mainPath = [ "UnitTests.hs" ]; - }; - "mem-use-tests" = { - depends = [ - (hsPkgs."base" or (errorHandler.buildDepError "base")) - (hsPkgs."Cabal" or (errorHandler.buildDepError "Cabal")) - (hsPkgs."Cabal-syntax" or (errorHandler.buildDepError "Cabal-syntax")) - (hsPkgs."cabal-install-solver" or (errorHandler.buildDepError "cabal-install-solver")) - (hsPkgs."cabal-install" or (errorHandler.buildDepError "cabal-install")) - (hsPkgs."containers" or (errorHandler.buildDepError "containers")) - (hsPkgs."tasty" or (errorHandler.buildDepError "tasty")) - (hsPkgs."tasty-hunit" or (errorHandler.buildDepError "tasty-hunit")) - ]; - buildable = true; - modules = [ - "UnitTests/Distribution/Solver/Modular/DSL" - "UnitTests/Distribution/Solver/Modular/DSL/TestCaseUtils" - "UnitTests/Distribution/Solver/Modular/MemoryUsage" - "UnitTests/Options" - ]; - hsSourceDirs = [ "tests" ]; - mainPath = [ "MemoryUsageTests.hs" ]; - }; - "integration-tests2" = { - depends = [ - (hsPkgs."base" or (errorHandler.buildDepError "base")) - (hsPkgs."Cabal" or (errorHandler.buildDepError "Cabal")) - (hsPkgs."Cabal-syntax" or (errorHandler.buildDepError "Cabal-syntax")) - (hsPkgs."cabal-install-solver" or (errorHandler.buildDepError "cabal-install-solver")) - (hsPkgs."bytestring" or (errorHandler.buildDepError "bytestring")) - (hsPkgs."cabal-install" or (errorHandler.buildDepError "cabal-install")) - (hsPkgs."containers" or (errorHandler.buildDepError "containers")) - (hsPkgs."directory" or (errorHandler.buildDepError "directory")) - (hsPkgs."filepath" or (errorHandler.buildDepError "filepath")) - (hsPkgs."tasty" or (errorHandler.buildDepError "tasty")) - (hsPkgs."tasty-hunit" or (errorHandler.buildDepError "tasty-hunit")) - (hsPkgs."tagged" or (errorHandler.buildDepError "tagged")) - ]; - buildable = true; - hsSourceDirs = [ "tests" ]; - mainPath = [ "IntegrationTests2.hs" ]; - }; - "long-tests" = { - depends = [ - (hsPkgs."base" or (errorHandler.buildDepError "base")) - (hsPkgs."Cabal" or (errorHandler.buildDepError "Cabal")) - (hsPkgs."Cabal-syntax" or (errorHandler.buildDepError "Cabal-syntax")) - (hsPkgs."cabal-install-solver" or (errorHandler.buildDepError "cabal-install-solver")) - (hsPkgs."Cabal-QuickCheck" or (errorHandler.buildDepError "Cabal-QuickCheck")) - (hsPkgs."Cabal-described" or (errorHandler.buildDepError "Cabal-described")) - (hsPkgs."cabal-install" or (errorHandler.buildDepError "cabal-install")) - (hsPkgs."containers" or (errorHandler.buildDepError "containers")) - (hsPkgs."directory" or (errorHandler.buildDepError "directory")) - (hsPkgs."filepath" or (errorHandler.buildDepError "filepath")) - (hsPkgs."hashable" or (errorHandler.buildDepError "hashable")) - (hsPkgs."mtl" or (errorHandler.buildDepError "mtl")) - (hsPkgs."network-uri" or (errorHandler.buildDepError "network-uri")) - (hsPkgs."random" or (errorHandler.buildDepError "random")) - (hsPkgs."tagged" or (errorHandler.buildDepError "tagged")) - (hsPkgs."tasty" or (errorHandler.buildDepError "tasty")) - (hsPkgs."tasty-expected-failure" or (errorHandler.buildDepError "tasty-expected-failure")) - (hsPkgs."tasty-hunit" or (errorHandler.buildDepError "tasty-hunit")) - (hsPkgs."tasty-quickcheck" or (errorHandler.buildDepError "tasty-quickcheck")) - (hsPkgs."QuickCheck" or (errorHandler.buildDepError "QuickCheck")) - (hsPkgs."pretty-show" or (errorHandler.buildDepError "pretty-show")) - ]; - buildable = true; - modules = [ - "UnitTests/Distribution/Client/ArbitraryInstances" - "UnitTests/Distribution/Client/Described" - "UnitTests/Distribution/Client/DescribedInstances" - "UnitTests/Distribution/Client/FileMonitor" - "UnitTests/Distribution/Client/VCS" - "UnitTests/Distribution/Solver/Modular/DSL" - "UnitTests/Distribution/Solver/Modular/QuickCheck" - "UnitTests/Distribution/Solver/Modular/QuickCheck/Utils" - "UnitTests/Options" - "UnitTests/TempTestDir" - ]; - hsSourceDirs = [ "tests" ]; - mainPath = [ "LongTests.hs" ]; - }; - }; - }; - } // rec { src = pkgs.lib.mkDefault ../.; } \ No newline at end of file diff --git a/materialized/ghcjs/cabal/ghc8107/cabal-files/HTTP.nix b/materialized/ghcjs/cabal/ghc8107/cabal-files/HTTP.nix index 23ca2a3b76..5139e7eac0 100644 --- a/materialized/ghcjs/cabal/ghc8107/cabal-files/HTTP.nix +++ b/materialized/ghcjs/cabal/ghc8107/cabal-files/HTTP.nix @@ -94,5 +94,5 @@ sha256 = "df31d8efec775124dab856d7177ddcba31be9f9e0836ebdab03d94392f2dd453"; }); }) // { - package-description-override = "Cabal-Version: >= 1.10\nName: HTTP\nVersion: 4000.4.1\nx-revision: 3\nBuild-type: Simple\nLicense: BSD3\nLicense-file: LICENSE\nAuthor: Warrick Gray \nMaintainer: Ganesh Sittampalam \nHomepage: https://github.com/haskell/HTTP\nCategory: Network\nSynopsis: A library for client-side HTTP\nDescription:\n\n The HTTP package supports client-side web programming in Haskell. It lets you set up\n HTTP connections, transmitting requests and processing the responses coming back, all\n from within the comforts of Haskell. It's dependent on the network package to operate,\n but other than that, the implementation is all written in Haskell.\n .\n A basic API for issuing single HTTP requests + receiving responses is provided. On top\n of that, a session-level abstraction is also on offer (the @BrowserAction@ monad);\n it taking care of handling the management of persistent connections, proxies,\n state (cookies) and authentication credentials required to handle multi-step\n interactions with a web server.\n .\n The representation of the bytes flowing across is extensible via the use of a type class,\n letting you pick the representation of requests and responses that best fits your use.\n Some pre-packaged, common instances are provided for you (@ByteString@, @String@).\n .\n Here's an example use:\n .\n >\n > do\n > rsp <- Network.HTTP.simpleHTTP (getRequest \"http://www.haskell.org//")\n > -- fetch document and return it (as a 'String'.)\n > fmap (take 100) (getResponseBody rsp)\n >\n > do\n > (_, rsp)\n > <- Network.Browser.browse $ do\n > setAllowRedirects True -- handle HTTP redirects\n > request $ getRequest \"http://www.haskell.org//"\n > return (take 100 (rspBody rsp))\n .\n __Note:__ This package does not support HTTPS connections.\n If you need HTTPS, take a look at the following packages:\n .\n * \n .\n * (in combination with\n )\n .\n * \n .\n * \n .\n\nExtra-Source-Files: CHANGES\n\ntested-with:\n GHC == 9.8.0\n GHC == 9.6.3\n GHC == 9.4.7\n GHC == 9.2.8\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 -- 2023-10-04: Dropping GHC < 7.10 from CI\n -- because they need the ubuntu-18.04 image incompatible with latest 'node'\n -- GHC == 7.8.4\n -- GHC == 7.6.3\n\nSource-Repository head\n type: git\n location: https://github.com/haskell/HTTP.git\n\nFlag warn-as-error\n default: False\n description: Build with warnings-as-errors\n manual: True\n\nFlag conduit10\n description: Use version 1.0.x or below of the conduit package (for the test suite)\n default: False\n\nFlag warp-tests\n description: Test against warp\n default: False\n manual: True\n\nflag network-uri\n description: Get Network.URI from the network-uri package\n default: True\n\nLibrary\n Exposed-modules:\n Network.BufferType,\n Network.Stream,\n Network.StreamDebugger,\n Network.StreamSocket,\n Network.TCP,\n Network.HTTP,\n Network.HTTP.Headers,\n Network.HTTP.Base,\n Network.HTTP.Stream,\n Network.HTTP.Auth,\n Network.HTTP.Cookie,\n Network.HTTP.Proxy,\n Network.HTTP.HandleStream,\n Network.Browser\n Other-modules:\n Network.HTTP.Base64,\n Network.HTTP.MD5Aux,\n Network.HTTP.Utils\n Paths_HTTP\n GHC-options: -fwarn-missing-signatures -Wall\n\n -- note the test harness constraints should be kept in sync with these\n -- where dependencies are shared\n build-depends:\n base >= 4.6.0.0 && < 4.20\n , array >= 0.3.0.2 && < 0.6\n , bytestring >= 0.9.1.5 && < 0.13\n , parsec >= 2.0 && < 3.2\n , time >= 1.1.2.3 && < 1.13\n , transformers >= 0.2.0.0 && < 0.7\n -- transformers-0.2.0.0 is the first to have Control.Monad.IO.Class\n -- The following dependencies are refined by flags, but they should\n -- still be mentioned here on the top-level.\n , mtl >= 2.0.0.0 && < 2.4\n , network >= 2.4 && < 3.2\n\n default-language: Haskell98\n default-extensions: FlexibleInstances\n\n if flag(network-uri)\n Build-depends: network-uri == 2.6.*, network >= 2.6\n else\n Build-depends: network < 2.6\n\n if flag(warn-as-error)\n ghc-options: -Werror\n\n if os(windows)\n Build-depends: Win32 >= 2.2.0.0 && < 2.14\n\nTest-Suite test\n type: exitcode-stdio-1.0\n\n default-language: Haskell98\n hs-source-dirs: test\n main-is: httpTests.hs\n\n other-modules:\n Httpd\n UnitTests\n\n ghc-options: -Wall\n\n build-depends:\n HTTP\n -- constraints inherited from HTTP\n , base\n , bytestring\n , mtl\n , network\n -- extra dependencies\n , deepseq >= 1.3.0.0 && < 1.6\n , httpd-shed >= 0.4 && < 0.5\n , HUnit >= 1.2.0.1 && < 1.7\n , pureMD5 >= 0.2.4 && < 2.2\n , split >= 0.1.3 && < 0.3\n , test-framework >= 0.2.0 && < 0.9\n , test-framework-hunit >= 0.3.0 && < 0.4\n\n if flag(network-uri)\n Build-depends: network-uri == 2.6.*, network >= 2.6\n else\n Build-depends: network < 2.6\n\n if flag(warp-tests)\n CPP-Options: -DWARP_TESTS\n build-depends:\n case-insensitive >= 0.4.0.1 && < 1.3\n , conduit >= 1.0.8 && < 1.4\n , http-types >= 0.8.0 && < 1.0\n , wai >= 2.1.0 && < 3.3\n , warp >= 2.1.0 && < 3.4\n\n if flag(conduit10)\n build-depends: conduit < 1.1\n else\n build-depends: conduit >= 1.1, conduit-extra >= 1.1 && < 1.4\n"; + package-description-override = "Cabal-Version: >= 1.10\nName: HTTP\nVersion: 4000.4.1\nx-revision: 4\nBuild-type: Simple\nLicense: BSD3\nLicense-file: LICENSE\nAuthor: Warrick Gray \nMaintainer: Ganesh Sittampalam \nHomepage: https://github.com/haskell/HTTP\nCategory: Network\nSynopsis: A library for client-side HTTP\nDescription:\n\n The HTTP package supports client-side web programming in Haskell. It lets you set up\n HTTP connections, transmitting requests and processing the responses coming back, all\n from within the comforts of Haskell. It's dependent on the network package to operate,\n but other than that, the implementation is all written in Haskell.\n .\n A basic API for issuing single HTTP requests + receiving responses is provided. On top\n of that, a session-level abstraction is also on offer (the @BrowserAction@ monad);\n it taking care of handling the management of persistent connections, proxies,\n state (cookies) and authentication credentials required to handle multi-step\n interactions with a web server.\n .\n The representation of the bytes flowing across is extensible via the use of a type class,\n letting you pick the representation of requests and responses that best fits your use.\n Some pre-packaged, common instances are provided for you (@ByteString@, @String@).\n .\n Here's an example use:\n .\n >\n > do\n > rsp <- Network.HTTP.simpleHTTP (getRequest \"http://www.haskell.org//")\n > -- fetch document and return it (as a 'String'.)\n > fmap (take 100) (getResponseBody rsp)\n >\n > do\n > (_, rsp)\n > <- Network.Browser.browse $ do\n > setAllowRedirects True -- handle HTTP redirects\n > request $ getRequest \"http://www.haskell.org//"\n > return (take 100 (rspBody rsp))\n .\n __Note:__ This package does not support HTTPS connections.\n If you need HTTPS, take a look at the following packages:\n .\n * \n .\n * (in combination with\n )\n .\n * \n .\n * \n .\n\nExtra-Source-Files: CHANGES\n\ntested-with:\n GHC == 9.10.0\n GHC == 9.8.2\n GHC == 9.6.4\n GHC == 9.4.8\n GHC == 9.2.8\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 -- 2024-04-15: Dropping GHC 7.10 from CI because it does not install with ghcup on ubuntu-22.04\n -- GHC == 7.10.3\n -- 2023-10-04: Dropping GHC < 7.10 from CI\n -- because they need the ubuntu-18.04 image incompatible with latest 'node'\n -- GHC == 7.8.4\n -- GHC == 7.6.3\n\nSource-Repository head\n type: git\n location: https://github.com/haskell/HTTP.git\n\nFlag warn-as-error\n default: False\n description: Build with warnings-as-errors\n manual: True\n\nFlag conduit10\n description: Use version 1.0.x or below of the conduit package (for the test suite)\n default: False\n\nFlag warp-tests\n description: Test against warp\n default: False\n manual: True\n\nflag network-uri\n description: Get Network.URI from the network-uri package\n default: True\n\nLibrary\n Exposed-modules:\n Network.BufferType,\n Network.Stream,\n Network.StreamDebugger,\n Network.StreamSocket,\n Network.TCP,\n Network.HTTP,\n Network.HTTP.Headers,\n Network.HTTP.Base,\n Network.HTTP.Stream,\n Network.HTTP.Auth,\n Network.HTTP.Cookie,\n Network.HTTP.Proxy,\n Network.HTTP.HandleStream,\n Network.Browser\n Other-modules:\n Network.HTTP.Base64,\n Network.HTTP.MD5Aux,\n Network.HTTP.Utils\n Paths_HTTP\n GHC-options: -fwarn-missing-signatures -Wall\n\n -- note the test harness constraints should be kept in sync with these\n -- where dependencies are shared\n build-depends:\n base >= 4.6.0.0 && < 4.21\n , array >= 0.3.0.2 && < 0.6\n , bytestring >= 0.9.1.5 && < 0.13\n , parsec >= 2.0 && < 3.2\n , time >= 1.1.2.3 && < 1.15\n , transformers >= 0.2.0.0 && < 0.7\n -- transformers-0.2.0.0 is the first to have Control.Monad.IO.Class\n -- The following dependencies are refined by flags, but they should\n -- still be mentioned here on the top-level.\n , mtl >= 2.0.0.0 && < 2.4\n , network >= 2.4 && < 3.3\n\n default-language: Haskell98\n default-extensions: FlexibleInstances\n\n if flag(network-uri)\n Build-depends: network-uri == 2.6.*, network >= 2.6\n else\n Build-depends: network < 2.6\n\n if flag(warn-as-error)\n ghc-options: -Werror\n\n if os(windows)\n Build-depends: Win32 >= 2.2.0.0 && < 2.14\n\nTest-Suite test\n type: exitcode-stdio-1.0\n\n default-language: Haskell98\n hs-source-dirs: test\n main-is: httpTests.hs\n\n other-modules:\n Httpd\n UnitTests\n\n ghc-options: -Wall\n\n build-depends:\n HTTP\n -- constraints inherited from HTTP\n , base\n , bytestring\n , mtl\n , network\n -- extra dependencies\n , deepseq >= 1.3.0.0 && < 1.6\n , httpd-shed >= 0.4 && < 0.5\n , HUnit >= 1.2.0.1 && < 1.7\n , pureMD5 >= 0.2.4 && < 2.2\n , split >= 0.1.3 && < 0.3\n , test-framework >= 0.2.0 && < 0.9\n , test-framework-hunit >= 0.3.0 && < 0.4\n\n if flag(network-uri)\n Build-depends: network-uri == 2.6.*, network >= 2.6\n else\n Build-depends: network < 2.6\n\n if flag(warp-tests)\n CPP-Options: -DWARP_TESTS\n build-depends:\n case-insensitive >= 0.4.0.1 && < 1.3\n , conduit >= 1.0.8 && < 1.4\n , http-types >= 0.8.0 && < 1.0\n , wai >= 2.1.0 && < 3.3\n , warp >= 2.1.0 && < 3.4\n\n if flag(conduit10)\n build-depends: conduit < 1.1\n else\n build-depends: conduit >= 1.1, conduit-extra >= 1.1 && < 1.4\n"; } \ No newline at end of file diff --git a/materialized/ghcjs/cabal/ghc8107/cabal-files/async.nix b/materialized/ghcjs/cabal/ghc8107/cabal-files/async.nix index 11e99451cb..5f92147959 100644 --- a/materialized/ghcjs/cabal/ghc8107/cabal-files/async.nix +++ b/materialized/ghcjs/cabal/ghc8107/cabal-files/async.nix @@ -11,7 +11,7 @@ flags = { bench = false; }; package = { specVersion = "1.10"; - identifier = { name = "async"; version = "2.2.4"; }; + identifier = { name = "async"; version = "2.2.5"; }; license = "BSD-3-Clause"; copyright = "(c) Simon Marlow 2012"; maintainer = "Simon Marlow "; @@ -73,9 +73,9 @@ }; } // { src = pkgs.lib.mkDefault (pkgs.fetchurl { - url = "http://hackage.haskell.org/package/async-2.2.4.tar.gz"; - sha256 = "484df85be0e76c4fed9376451e48e1d0c6e97952ce79735b72d54297e7e0a725"; + url = "http://hackage.haskell.org/package/async-2.2.5.tar.gz"; + sha256 = "1818473ebab9212afad2ed76297aefde5fae8b5d4404daf36939aece6a8f16f7"; }); }) // { - package-description-override = "name: async\nversion: 2.2.4\nx-revision: 4\n-- don't forget to update ./changelog.md!\nsynopsis: Run IO operations asynchronously and wait for their results\n\ndescription:\n This package provides a higher-level interface over\n threads, in which an @Async a@ is a concurrent\n thread that will eventually deliver a value of\n type @a@. The package provides ways to create\n @Async@ computations, wait for their results, and\n cancel them.\n .\n Using @Async@ is safer than using threads in two\n ways:\n .\n * When waiting for a thread to return a result,\n if the thread dies with an exception then the\n caller must either re-throw the exception\n ('wait') or handle it ('waitCatch'); the\n exception cannot be ignored.\n .\n * The API makes it possible to build a tree of\n threads that are automatically killed when\n their parent dies (see 'withAsync').\n\nlicense: BSD3\nlicense-file: LICENSE\nauthor: Simon Marlow\nmaintainer: Simon Marlow \ncopyright: (c) Simon Marlow 2012\ncategory: Concurrency\nbuild-type: Simple\ncabal-version: >=1.10\nhomepage: https://github.com/simonmar/async\nbug-reports: https://github.com/simonmar/async/issues\ntested-with:\n GHC == 9.8.1\n GHC == 9.6.3\n GHC == 9.4.7\n GHC == 9.2.8\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 -- Drop GHC < 7.10 to be able to use the ubuntu-20.04 buildpack\n -- GHC == 7.8.4\n -- GHC == 7.6.3\n -- GHC == 7.4.2\n -- GHC == 7.2.2\n -- GHC == 7.0.4\n\nextra-source-files:\n changelog.md\n bench/race.hs\n\nsource-repository head\n type: git\n location: https://github.com/simonmar/async.git\n\nlibrary\n default-language: Haskell2010\n other-extensions: CPP, MagicHash, RankNTypes, UnboxedTuples\n if impl(ghc>=7.1)\n other-extensions: Trustworthy\n exposed-modules: Control.Concurrent.Async\n build-depends: base >= 4.3 && < 4.20,\n hashable >= 1.1.2.0 && < 1.5,\n stm >= 2.2 && < 2.6\n\ntest-suite test-async\n default-language: Haskell2010\n type: exitcode-stdio-1.0\n hs-source-dirs: test\n main-is: test-async.hs\n build-depends: base,\n async,\n stm,\n test-framework,\n test-framework-hunit,\n HUnit\n\nflag bench\n default: False\n\nexecutable concasync\n if !flag(bench)\n buildable: False\n default-language: Haskell2010\n hs-source-dirs: bench\n main-is: concasync.hs\n build-depends: base, async, stm\n ghc-options: -O2\n\nexecutable conccancel\n if !flag(bench)\n buildable: False\n default-language: Haskell2010\n hs-source-dirs: bench\n main-is: conccancel.hs\n build-depends: base, async, stm\n ghc-options: -O2 -threaded\n\nexecutable race\n if !flag(bench)\n buildable: False\n default-language: Haskell2010\n hs-source-dirs: bench\n main-is: race.hs\n build-depends: base, async, stm\n ghc-options: -O2 -threaded\n"; + package-description-override = "name: async\nversion: 2.2.5\nx-revision: 2\n-- don't forget to update ./changelog.md!\nsynopsis: Run IO operations asynchronously and wait for their results\n\ndescription:\n This package provides a higher-level interface over\n threads, in which an @Async a@ is a concurrent\n thread that will eventually deliver a value of\n type @a@. The package provides ways to create\n @Async@ computations, wait for their results, and\n cancel them.\n .\n Using @Async@ is safer than using threads in two\n ways:\n .\n * When waiting for a thread to return a result,\n if the thread dies with an exception then the\n caller must either re-throw the exception\n ('wait') or handle it ('waitCatch'); the\n exception cannot be ignored.\n .\n * The API makes it possible to build a tree of\n threads that are automatically killed when\n their parent dies (see 'withAsync').\n\nlicense: BSD3\nlicense-file: LICENSE\nauthor: Simon Marlow\nmaintainer: Simon Marlow \ncopyright: (c) Simon Marlow 2012\ncategory: Concurrency\nbuild-type: Simple\ncabal-version: >=1.10\nhomepage: https://github.com/simonmar/async\nbug-reports: https://github.com/simonmar/async/issues\ntested-with:\n GHC == 9.10.1\n GHC == 9.8.2\n GHC == 9.6.6\n GHC == 9.4.8\n GHC == 9.2.8\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 -- CI does not support GHC 7\n -- GHC == 7.10.3\n -- GHC == 7.8.4\n -- GHC == 7.6.3\n -- GHC == 7.4.2\n -- GHC == 7.2.2\n -- GHC == 7.0.4\n\nextra-source-files:\n changelog.md\n bench/race.hs\n\nsource-repository head\n type: git\n location: https://github.com/simonmar/async.git\n\nlibrary\n default-language: Haskell2010\n other-extensions: CPP, MagicHash, RankNTypes, UnboxedTuples\n if impl(ghc>=7.1)\n other-extensions: Trustworthy\n exposed-modules: Control.Concurrent.Async\n Control.Concurrent.Async.Internal\n build-depends: base >= 4.3 && < 4.21,\n hashable >= 1.1.2.0 && < 1.6,\n stm >= 2.2 && < 2.6\n\ntest-suite test-async\n default-language: Haskell2010\n type: exitcode-stdio-1.0\n hs-source-dirs: test\n main-is: test-async.hs\n build-depends: base,\n async,\n stm,\n test-framework,\n test-framework-hunit,\n HUnit\n\nflag bench\n default: False\n\nexecutable concasync\n if !flag(bench)\n buildable: False\n default-language: Haskell2010\n hs-source-dirs: bench\n main-is: concasync.hs\n build-depends: base, async, stm\n ghc-options: -O2\n\nexecutable conccancel\n if !flag(bench)\n buildable: False\n default-language: Haskell2010\n hs-source-dirs: bench\n main-is: conccancel.hs\n build-depends: base, async, stm\n ghc-options: -O2 -threaded\n\nexecutable race\n if !flag(bench)\n buildable: False\n default-language: Haskell2010\n hs-source-dirs: bench\n main-is: race.hs\n build-depends: base, async, stm\n ghc-options: -O2 -threaded\n"; } \ No newline at end of file diff --git a/materialized/ghcjs/cabal/ghc8107/cabal-files/base-orphans.nix b/materialized/ghcjs/cabal/ghc8107/cabal-files/base-orphans.nix index fcc4684e31..2747e6ee1c 100644 --- a/materialized/ghcjs/cabal/ghc8107/cabal-files/base-orphans.nix +++ b/materialized/ghcjs/cabal/ghc8107/cabal-files/base-orphans.nix @@ -11,7 +11,7 @@ flags = {}; package = { specVersion = "1.12"; - identifier = { name = "base-orphans"; version = "0.9.1"; }; + identifier = { name = "base-orphans"; version = "0.9.2"; }; license = "MIT"; copyright = "(c) 2012-2017 Simon Hengel,\n(c) 2014-2017 João Cristóvão,\n(c) 2015-2017 Ryan Scott"; maintainer = "Simon Hengel ,\nJoão Cristóvão ,\nRyan Scott "; @@ -47,9 +47,9 @@ }; } // { src = pkgs.lib.mkDefault (pkgs.fetchurl { - url = "http://hackage.haskell.org/package/base-orphans-0.9.1.tar.gz"; - sha256 = "5bbf2da382c5b212d6a8be2f8c49edee0eba30f272a15fd32c13e6e4091ef172"; + url = "http://hackage.haskell.org/package/base-orphans-0.9.2.tar.gz"; + sha256 = "6211900916955b84687c61b5e4fa98ce110e511a96086b7a93f06dd63c97ba93"; }); }) // { - package-description-override = "cabal-version: 1.12\n\n-- This file has been generated from package.yaml by hpack version 0.35.4.\n--\n-- see: https://github.com/sol/hpack\n--\n-- hash: 4e4482d938177240bd3d33937246a570b07764edf79c92c1609492b56b35944b\n\nname: base-orphans\nversion: 0.9.1\nsynopsis: Backwards-compatible orphan instances for base\ndescription: @base-orphans@ defines orphan instances that mimic instances available in\n later versions of @base@ to a wider (older) range of compilers.\n @base-orphans@ does not export anything except the orphan instances\n themselves and complements @@.\n .\n See the README for what instances are covered:\n .\n See also the\n \n section.\ncategory: Compatibility\nhomepage: https://github.com/haskell-compat/base-orphans#readme\nbug-reports: https://github.com/haskell-compat/base-orphans/issues\nauthor: Simon Hengel ,\n João Cristóvão ,\n Ryan Scott \nmaintainer: Simon Hengel ,\n João Cristóvão ,\n Ryan Scott \ncopyright: (c) 2012-2017 Simon Hengel,\n (c) 2014-2017 João Cristóvão,\n (c) 2015-2017 Ryan Scott\nlicense: MIT\nlicense-file: LICENSE\nbuild-type: Simple\ntested-with:\n GHC == 7.0.4 , GHC == 7.2.2 , GHC == 7.4.2 , GHC == 7.6.3 , GHC == 7.8.4 , GHC == 7.10.3 , GHC == 8.0.2 , GHC == 8.2.2 , GHC == 8.4.4 , GHC == 8.6.5 , GHC == 8.8.4 , GHC == 8.10.7 , GHC == 9.0.2 , GHC == 9.2.8 , GHC == 9.4.5 , GHC == 9.6.2 , GHC == 9.8.1\nextra-source-files:\n CHANGES.markdown\n README.markdown\n\nsource-repository head\n type: git\n location: https://github.com/haskell-compat/base-orphans\n\nlibrary\n hs-source-dirs:\n src\n ghc-options: -Wall\n build-depends:\n base >=4.3 && <5\n , ghc-prim\n exposed-modules:\n Data.Orphans\n other-modules:\n Data.Orphans.Prelude\n default-language: Haskell2010\n\ntest-suite spec\n type: exitcode-stdio-1.0\n main-is: Spec.hs\n hs-source-dirs:\n test\n ghc-options: -Wall\n build-depends:\n QuickCheck\n , base >=4.3 && <5\n , base-orphans\n , hspec ==2.*\n build-tool-depends: hspec-discover:hspec-discover == 2.*\n other-modules:\n Control.Applicative.OrphansSpec\n Control.Exception.OrphansSpec\n Data.Bits.OrphansSpec\n Data.Foldable.OrphansSpec\n Data.Monoid.OrphansSpec\n Data.Traversable.OrphansSpec\n Data.Version.OrphansSpec\n Foreign.Storable.OrphansSpec\n GHC.Fingerprint.OrphansSpec\n System.Posix.Types.IntWord\n System.Posix.Types.OrphansSpec\n Paths_base_orphans\n default-language: Haskell2010\n"; + package-description-override = "cabal-version: 1.12\n\n-- This file has been generated from package.yaml by hpack version 0.36.0.\n--\n-- see: https://github.com/sol/hpack\n--\n-- hash: 0c23e2cb85ef24758da1fa779ef857dc3889dfc4238a4057841a071b38ce3e96\n\nname: base-orphans\nversion: 0.9.2\nsynopsis: Backwards-compatible orphan instances for base\ndescription: @base-orphans@ defines orphan instances that mimic instances available in\n later versions of @base@ to a wider (older) range of compilers.\n @base-orphans@ does not export anything except the orphan instances\n themselves and complements @@.\n .\n See the README for what instances are covered:\n .\n See also the\n \n section.\ncategory: Compatibility\nhomepage: https://github.com/haskell-compat/base-orphans#readme\nbug-reports: https://github.com/haskell-compat/base-orphans/issues\nauthor: Simon Hengel ,\n João Cristóvão ,\n Ryan Scott \nmaintainer: Simon Hengel ,\n João Cristóvão ,\n Ryan Scott \ncopyright: (c) 2012-2017 Simon Hengel,\n (c) 2014-2017 João Cristóvão,\n (c) 2015-2017 Ryan Scott\nlicense: MIT\nlicense-file: LICENSE\nbuild-type: Simple\ntested-with:\n GHC == 7.0.4 , GHC == 7.2.2 , GHC == 7.4.2 , GHC == 7.6.3 , GHC == 7.8.4 , GHC == 7.10.3 , GHC == 8.0.2 , GHC == 8.2.2 , GHC == 8.4.4 , GHC == 8.6.5 , GHC == 8.8.4 , GHC == 8.10.7 , GHC == 9.0.2 , GHC == 9.2.8 , GHC == 9.4.8 , GHC == 9.6.5 , GHC == 9.8.2 , GHC == 9.10.1\nextra-source-files:\n CHANGES.markdown\n README.markdown\n\nsource-repository head\n type: git\n location: https://github.com/haskell-compat/base-orphans\n\nlibrary\n hs-source-dirs:\n src\n ghc-options: -Wall\n build-depends:\n base >=4.3 && <5\n , ghc-prim\n exposed-modules:\n Data.Orphans\n other-modules:\n Data.Orphans.Prelude\n default-language: Haskell2010\n\ntest-suite spec\n type: exitcode-stdio-1.0\n main-is: Spec.hs\n hs-source-dirs:\n test\n ghc-options: -Wall\n build-depends:\n QuickCheck\n , base >=4.3 && <5\n , base-orphans\n , hspec ==2.*\n build-tool-depends: hspec-discover:hspec-discover == 2.*\n other-modules:\n Control.Applicative.OrphansSpec\n Control.Exception.OrphansSpec\n Data.Bits.OrphansSpec\n Data.Foldable.OrphansSpec\n Data.Monoid.OrphansSpec\n Data.Traversable.OrphansSpec\n Data.Version.OrphansSpec\n Foreign.Storable.OrphansSpec\n GHC.Fingerprint.OrphansSpec\n System.Posix.Types.IntWord\n System.Posix.Types.OrphansSpec\n Paths_base_orphans\n default-language: Haskell2010\n"; } \ No newline at end of file diff --git a/materialized/ghcjs/cabal/ghc8107/cabal-files/cabal-install.nix b/materialized/ghcjs/cabal/ghc8107/cabal-files/cabal-install.nix new file mode 100644 index 0000000000..95e79f9cf6 --- /dev/null +++ b/materialized/ghcjs/cabal/ghc8107/cabal-files/cabal-install.nix @@ -0,0 +1,184 @@ +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: + ({ + flags = { native-dns = true; lukko = true; }; + package = { + specVersion = "2.2"; + identifier = { name = "cabal-install"; version = "3.8.1.0"; }; + license = "BSD-3-Clause"; + copyright = "2003-2022, Cabal Development Team"; + maintainer = "Cabal Development Team "; + author = "Cabal Development Team (see AUTHORS file)"; + homepage = "http://www.haskell.org/cabal/"; + url = ""; + synopsis = "The command-line interface for Cabal and Hackage."; + description = "The \\'cabal\\' command-line program simplifies the process of managing\nHaskell software by automating the fetching, configuration, compilation\nand installation of Haskell libraries and programs."; + buildType = "Simple"; + }; + components = { + "library" = { + depends = (([ + (hsPkgs."base" or (errorHandler.buildDepError "base")) + (hsPkgs."Cabal" or (errorHandler.buildDepError "Cabal")) + (hsPkgs."Cabal-syntax" or (errorHandler.buildDepError "Cabal-syntax")) + (hsPkgs."cabal-install-solver" or (errorHandler.buildDepError "cabal-install-solver")) + (hsPkgs."async" or (errorHandler.buildDepError "async")) + (hsPkgs."array" or (errorHandler.buildDepError "array")) + (hsPkgs."base16-bytestring" or (errorHandler.buildDepError "base16-bytestring")) + (hsPkgs."binary" or (errorHandler.buildDepError "binary")) + (hsPkgs."bytestring" or (errorHandler.buildDepError "bytestring")) + (hsPkgs."containers" or (errorHandler.buildDepError "containers")) + (hsPkgs."cryptohash-sha256" or (errorHandler.buildDepError "cryptohash-sha256")) + (hsPkgs."directory" or (errorHandler.buildDepError "directory")) + (hsPkgs."echo" or (errorHandler.buildDepError "echo")) + (hsPkgs."edit-distance" or (errorHandler.buildDepError "edit-distance")) + (hsPkgs."exceptions" or (errorHandler.buildDepError "exceptions")) + (hsPkgs."filepath" or (errorHandler.buildDepError "filepath")) + (hsPkgs."hashable" or (errorHandler.buildDepError "hashable")) + (hsPkgs."HTTP" or (errorHandler.buildDepError "HTTP")) + (hsPkgs."mtl" or (errorHandler.buildDepError "mtl")) + (hsPkgs."network-uri" or (errorHandler.buildDepError "network-uri")) + (hsPkgs."pretty" or (errorHandler.buildDepError "pretty")) + (hsPkgs."process" or (errorHandler.buildDepError "process")) + (hsPkgs."random" or (errorHandler.buildDepError "random")) + (hsPkgs."stm" or (errorHandler.buildDepError "stm")) + (hsPkgs."tar" or (errorHandler.buildDepError "tar")) + (hsPkgs."time" or (errorHandler.buildDepError "time")) + (hsPkgs."zlib" or (errorHandler.buildDepError "zlib")) + (hsPkgs."hackage-security" or (errorHandler.buildDepError "hackage-security")) + (hsPkgs."text" or (errorHandler.buildDepError "text")) + (hsPkgs."parsec" or (errorHandler.buildDepError "parsec")) + (hsPkgs."regex-base" or (errorHandler.buildDepError "regex-base")) + (hsPkgs."regex-posix" or (errorHandler.buildDepError "regex-posix")) + (hsPkgs."safe-exceptions" or (errorHandler.buildDepError "safe-exceptions")) + ] ++ pkgs.lib.optionals (flags.native-dns) (if system.isWindows + then [ (hsPkgs."windns" or (errorHandler.buildDepError "windns")) ] + else [ + (hsPkgs."resolv" or (errorHandler.buildDepError "resolv")) + ])) ++ (if system.isWindows + then [ + (hsPkgs."Win32" or (errorHandler.buildDepError "Win32")) + (hsPkgs."directory" or (errorHandler.buildDepError "directory")) + ] + else [ + (hsPkgs."unix" or (errorHandler.buildDepError "unix")) + ])) ++ pkgs.lib.optional (flags.lukko) (hsPkgs."lukko" or (errorHandler.buildDepError "lukko")); + buildable = true; + }; + exes = { + "cabal" = { + depends = [ + (hsPkgs."base" or (errorHandler.buildDepError "base")) + (hsPkgs."Cabal" or (errorHandler.buildDepError "Cabal")) + (hsPkgs."Cabal-syntax" or (errorHandler.buildDepError "Cabal-syntax")) + (hsPkgs."cabal-install" or (errorHandler.buildDepError "cabal-install")) + (hsPkgs."directory" or (errorHandler.buildDepError "directory")) + (hsPkgs."filepath" or (errorHandler.buildDepError "filepath")) + ]; + libs = pkgs.lib.optional (system.isAix) (pkgs."bsd" or (errorHandler.sysDepError "bsd")); + buildable = true; + }; + }; + tests = { + "unit-tests" = { + depends = [ + (hsPkgs."base" or (errorHandler.buildDepError "base")) + (hsPkgs."Cabal" or (errorHandler.buildDepError "Cabal")) + (hsPkgs."Cabal-syntax" or (errorHandler.buildDepError "Cabal-syntax")) + (hsPkgs."cabal-install-solver" or (errorHandler.buildDepError "cabal-install-solver")) + (hsPkgs."array" or (errorHandler.buildDepError "array")) + (hsPkgs."bytestring" or (errorHandler.buildDepError "bytestring")) + (hsPkgs."cabal-install" or (errorHandler.buildDepError "cabal-install")) + (hsPkgs."Cabal-tree-diff" or (errorHandler.buildDepError "Cabal-tree-diff")) + (hsPkgs."Cabal-QuickCheck" or (errorHandler.buildDepError "Cabal-QuickCheck")) + (hsPkgs."containers" or (errorHandler.buildDepError "containers")) + (hsPkgs."directory" or (errorHandler.buildDepError "directory")) + (hsPkgs."filepath" or (errorHandler.buildDepError "filepath")) + (hsPkgs."mtl" or (errorHandler.buildDepError "mtl")) + (hsPkgs."network-uri" or (errorHandler.buildDepError "network-uri")) + (hsPkgs."random" or (errorHandler.buildDepError "random")) + (hsPkgs."tar" or (errorHandler.buildDepError "tar")) + (hsPkgs."time" or (errorHandler.buildDepError "time")) + (hsPkgs."zlib" or (errorHandler.buildDepError "zlib")) + (hsPkgs."tasty" or (errorHandler.buildDepError "tasty")) + (hsPkgs."tasty-golden" or (errorHandler.buildDepError "tasty-golden")) + (hsPkgs."tasty-quickcheck" or (errorHandler.buildDepError "tasty-quickcheck")) + (hsPkgs."tasty-hunit" or (errorHandler.buildDepError "tasty-hunit")) + (hsPkgs."tree-diff" or (errorHandler.buildDepError "tree-diff")) + (hsPkgs."QuickCheck" or (errorHandler.buildDepError "QuickCheck")) + ]; + buildable = true; + }; + "mem-use-tests" = { + depends = [ + (hsPkgs."base" or (errorHandler.buildDepError "base")) + (hsPkgs."Cabal" or (errorHandler.buildDepError "Cabal")) + (hsPkgs."Cabal-syntax" or (errorHandler.buildDepError "Cabal-syntax")) + (hsPkgs."cabal-install-solver" or (errorHandler.buildDepError "cabal-install-solver")) + (hsPkgs."cabal-install" or (errorHandler.buildDepError "cabal-install")) + (hsPkgs."containers" or (errorHandler.buildDepError "containers")) + (hsPkgs."tasty" or (errorHandler.buildDepError "tasty")) + (hsPkgs."tasty-hunit" or (errorHandler.buildDepError "tasty-hunit")) + ]; + buildable = true; + }; + "integration-tests2" = { + depends = [ + (hsPkgs."base" or (errorHandler.buildDepError "base")) + (hsPkgs."Cabal" or (errorHandler.buildDepError "Cabal")) + (hsPkgs."Cabal-syntax" or (errorHandler.buildDepError "Cabal-syntax")) + (hsPkgs."cabal-install-solver" or (errorHandler.buildDepError "cabal-install-solver")) + (hsPkgs."bytestring" or (errorHandler.buildDepError "bytestring")) + (hsPkgs."cabal-install" or (errorHandler.buildDepError "cabal-install")) + (hsPkgs."containers" or (errorHandler.buildDepError "containers")) + (hsPkgs."directory" or (errorHandler.buildDepError "directory")) + (hsPkgs."filepath" or (errorHandler.buildDepError "filepath")) + (hsPkgs."tasty" or (errorHandler.buildDepError "tasty")) + (hsPkgs."tasty-hunit" or (errorHandler.buildDepError "tasty-hunit")) + (hsPkgs."tagged" or (errorHandler.buildDepError "tagged")) + ]; + buildable = true; + }; + "long-tests" = { + depends = [ + (hsPkgs."base" or (errorHandler.buildDepError "base")) + (hsPkgs."Cabal" or (errorHandler.buildDepError "Cabal")) + (hsPkgs."Cabal-syntax" or (errorHandler.buildDepError "Cabal-syntax")) + (hsPkgs."cabal-install-solver" or (errorHandler.buildDepError "cabal-install-solver")) + (hsPkgs."Cabal-QuickCheck" or (errorHandler.buildDepError "Cabal-QuickCheck")) + (hsPkgs."Cabal-described" or (errorHandler.buildDepError "Cabal-described")) + (hsPkgs."cabal-install" or (errorHandler.buildDepError "cabal-install")) + (hsPkgs."containers" or (errorHandler.buildDepError "containers")) + (hsPkgs."directory" or (errorHandler.buildDepError "directory")) + (hsPkgs."filepath" or (errorHandler.buildDepError "filepath")) + (hsPkgs."hashable" or (errorHandler.buildDepError "hashable")) + (hsPkgs."mtl" or (errorHandler.buildDepError "mtl")) + (hsPkgs."network-uri" or (errorHandler.buildDepError "network-uri")) + (hsPkgs."random" or (errorHandler.buildDepError "random")) + (hsPkgs."tagged" or (errorHandler.buildDepError "tagged")) + (hsPkgs."tasty" or (errorHandler.buildDepError "tasty")) + (hsPkgs."tasty-expected-failure" or (errorHandler.buildDepError "tasty-expected-failure")) + (hsPkgs."tasty-hunit" or (errorHandler.buildDepError "tasty-hunit")) + (hsPkgs."tasty-quickcheck" or (errorHandler.buildDepError "tasty-quickcheck")) + (hsPkgs."QuickCheck" or (errorHandler.buildDepError "QuickCheck")) + (hsPkgs."pretty-show" or (errorHandler.buildDepError "pretty-show")) + ]; + buildable = true; + }; + }; + }; + } // { + src = pkgs.lib.mkDefault (pkgs.fetchurl { + url = "http://hackage.haskell.org/package/cabal-install-3.8.1.0.tar.gz"; + sha256 = "61ce436f2e14e12bf07ea1c81402362f46275014cd841a76566f0766d0ea67e6"; + }); + }) // { + package-description-override = "Cabal-Version: 2.2\r\n\r\nName: cabal-install\r\nVersion: 3.8.1.0\r\nx-revision: 4\r\nSynopsis: The command-line interface for Cabal and Hackage.\r\nDescription:\r\n The \\'cabal\\' command-line program simplifies the process of managing\r\n Haskell software by automating the fetching, configuration, compilation\r\n and installation of Haskell libraries and programs.\r\nhomepage: http://www.haskell.org/cabal/\r\nbug-reports: https://github.com/haskell/cabal/issues\r\nLicense: BSD-3-Clause\r\nLicense-File: LICENSE\r\nAuthor: Cabal Development Team (see AUTHORS file)\r\nMaintainer: Cabal Development Team \r\nCopyright: 2003-2022, Cabal Development Team\r\nCategory: Distribution\r\nBuild-type: Simple\r\nExtra-Source-Files:\r\n README.md\r\n bash-completion/cabal\r\n changelog\r\n\r\nsource-repository head\r\n type: git\r\n location: https://github.com/haskell/cabal/\r\n subdir: cabal-install\r\n\r\nFlag native-dns\r\n description:\r\n Enable use of the [resolv](https://hackage.haskell.org/package/resolv)\r\n & [windns](https://hackage.haskell.org/package/windns) packages for performing DNS lookups\r\n default: True\r\n manual: True\r\n\r\nFlag lukko\r\n description: Use @lukko@ for file-locking\r\n default: True\r\n manual: True\r\n\r\ncommon warnings\r\n ghc-options: -Wall -Wcompat -Wnoncanonical-monad-instances -Wincomplete-uni-patterns -Wincomplete-record-updates\r\n if impl(ghc < 8.8)\r\n ghc-options: -Wnoncanonical-monadfail-instances\r\n if impl(ghc >=8.10)\r\n ghc-options: -Wunused-packages\r\n\r\ncommon base-dep\r\n build-depends: base >=4.10 && <4.18\r\n\r\ncommon cabal-dep\r\n build-depends: Cabal ^>=3.8\r\n\r\ncommon cabal-syntax-dep\r\n build-depends: Cabal-syntax ^>=3.8\r\n\r\ncommon cabal-install-solver-dep\r\n build-depends: cabal-install-solver ^>=3.8\r\n\r\nlibrary\r\n import: warnings, base-dep, cabal-dep, cabal-syntax-dep, cabal-install-solver-dep\r\n default-language: Haskell2010\r\n\r\n hs-source-dirs: src\r\n exposed-modules:\r\n -- this modules are moved from Cabal\r\n -- they are needed for as long until cabal-install moves to parsec parser\r\n Distribution.Deprecated.ParseUtils\r\n Distribution.Deprecated.ReadP\r\n Distribution.Deprecated.ViewAsFieldDescr\r\n\r\n Distribution.Client.BuildReports.Anonymous\r\n Distribution.Client.BuildReports.Lens\r\n Distribution.Client.BuildReports.Storage\r\n Distribution.Client.BuildReports.Types\r\n Distribution.Client.BuildReports.Upload\r\n Distribution.Client.Check\r\n Distribution.Client.CmdBench\r\n Distribution.Client.CmdBuild\r\n Distribution.Client.CmdClean\r\n Distribution.Client.CmdConfigure\r\n Distribution.Client.CmdErrorMessages\r\n Distribution.Client.CmdExec\r\n Distribution.Client.CmdFreeze\r\n Distribution.Client.CmdHaddock\r\n Distribution.Client.CmdInstall\r\n Distribution.Client.CmdInstall.ClientInstallFlags\r\n Distribution.Client.CmdInstall.ClientInstallTargetSelector\r\n Distribution.Client.CmdLegacy\r\n Distribution.Client.CmdListBin\r\n Distribution.Client.CmdOutdated\r\n Distribution.Client.CmdRepl\r\n Distribution.Client.CmdRun\r\n Distribution.Client.CmdSdist\r\n Distribution.Client.CmdTest\r\n Distribution.Client.CmdUpdate\r\n Distribution.Client.Compat.Directory\r\n Distribution.Client.Compat.ExecutablePath\r\n Distribution.Client.Compat.Orphans\r\n Distribution.Client.Compat.Prelude\r\n Distribution.Client.Compat.Process\r\n Distribution.Client.Compat.Semaphore\r\n Distribution.Client.Config\r\n Distribution.Client.Configure\r\n Distribution.Client.Dependency\r\n Distribution.Client.Dependency.Types\r\n Distribution.Client.DistDirLayout\r\n Distribution.Client.Fetch\r\n Distribution.Client.FetchUtils\r\n Distribution.Client.FileMonitor\r\n Distribution.Client.Freeze\r\n Distribution.Client.GZipUtils\r\n Distribution.Client.GenBounds\r\n Distribution.Client.Get\r\n Distribution.Client.Glob\r\n Distribution.Client.GlobalFlags\r\n Distribution.Client.Haddock\r\n Distribution.Client.HashValue\r\n Distribution.Client.HttpUtils\r\n Distribution.Client.IndexUtils\r\n Distribution.Client.IndexUtils.ActiveRepos\r\n Distribution.Client.IndexUtils.IndexState\r\n Distribution.Client.IndexUtils.Timestamp\r\n Distribution.Client.Init\r\n Distribution.Client.Init.Defaults\r\n Distribution.Client.Init.FileCreators\r\n Distribution.Client.Init.FlagExtractors\r\n Distribution.Client.Init.Format\r\n Distribution.Client.Init.Interactive.Command\r\n Distribution.Client.Init.NonInteractive.Command\r\n Distribution.Client.Init.NonInteractive.Heuristics\r\n Distribution.Client.Init.Licenses\r\n Distribution.Client.Init.Prompt\r\n Distribution.Client.Init.Simple\r\n Distribution.Client.Init.Types\r\n Distribution.Client.Init.Utils\r\n Distribution.Client.Install\r\n Distribution.Client.InstallPlan\r\n Distribution.Client.InstallSymlink\r\n Distribution.Client.JobControl\r\n Distribution.Client.List\r\n Distribution.Client.Manpage\r\n Distribution.Client.ManpageFlags\r\n Distribution.Client.Nix\r\n Distribution.Client.NixStyleOptions\r\n Distribution.Client.PackageHash\r\n Distribution.Client.ParseUtils\r\n Distribution.Client.ProjectBuilding\r\n Distribution.Client.ProjectBuilding.Types\r\n Distribution.Client.ProjectConfig\r\n Distribution.Client.ProjectConfig.Legacy\r\n Distribution.Client.ProjectConfig.Types\r\n Distribution.Client.ProjectFlags\r\n Distribution.Client.ProjectOrchestration\r\n Distribution.Client.ProjectPlanOutput\r\n Distribution.Client.ProjectPlanning\r\n Distribution.Client.ProjectPlanning.Types\r\n Distribution.Client.RebuildMonad\r\n Distribution.Client.Reconfigure\r\n Distribution.Client.Run\r\n Distribution.Client.Sandbox\r\n Distribution.Client.Sandbox.PackageEnvironment\r\n Distribution.Client.SavedFlags\r\n Distribution.Client.ScriptUtils\r\n Distribution.Client.Security.DNS\r\n Distribution.Client.Security.HTTP\r\n Distribution.Client.Setup\r\n Distribution.Client.SetupWrapper\r\n Distribution.Client.SolverInstallPlan\r\n Distribution.Client.SourceFiles\r\n Distribution.Client.SrcDist\r\n Distribution.Client.Store\r\n Distribution.Client.Tar\r\n Distribution.Client.TargetProblem\r\n Distribution.Client.TargetSelector\r\n Distribution.Client.Targets\r\n Distribution.Client.Types\r\n Distribution.Client.Types.AllowNewer\r\n Distribution.Client.Types.BuildResults\r\n Distribution.Client.Types.ConfiguredId\r\n Distribution.Client.Types.ConfiguredPackage\r\n Distribution.Client.Types.Credentials\r\n Distribution.Client.Types.InstallMethod\r\n Distribution.Client.Types.OverwritePolicy\r\n Distribution.Client.Types.PackageLocation\r\n Distribution.Client.Types.PackageSpecifier\r\n Distribution.Client.Types.ReadyPackage\r\n Distribution.Client.Types.Repo\r\n Distribution.Client.Types.RepoName\r\n Distribution.Client.Types.SourcePackageDb\r\n Distribution.Client.Types.SourceRepo\r\n Distribution.Client.Types.WriteGhcEnvironmentFilesPolicy\r\n Distribution.Client.Upload\r\n Distribution.Client.Utils\r\n Distribution.Client.Utils.Json\r\n Distribution.Client.Utils.Parsec\r\n Distribution.Client.VCS\r\n Distribution.Client.Version\r\n Distribution.Client.Win32SelfUpgrade\r\n\r\n build-depends:\r\n async >= 2.0 && < 2.3,\r\n array >= 0.4 && < 0.6,\r\n base16-bytestring >= 0.1.1 && < 1.1.0.0,\r\n binary >= 0.7.3 && < 0.9,\r\n bytestring >= 0.10.6.0 && < 0.12,\r\n containers >= 0.5.6.2 && < 0.7,\r\n cryptohash-sha256 >= 0.11 && < 0.12,\r\n directory >= 1.2.2.0 && < 1.4,\r\n echo >= 0.1.3 && < 0.2,\r\n edit-distance >= 0.2.2 && < 0.3,\r\n exceptions >= 0.10.4 && < 0.11,\r\n filepath >= 1.4.0.0 && < 1.5,\r\n hashable >= 1.0 && < 1.5,\r\n HTTP >= 4000.1.5 && < 4000.5,\r\n mtl >= 2.0 && < 2.3,\r\n network-uri >= 2.6.0.2 && < 2.7,\r\n pretty >= 1.1 && < 1.2,\r\n -- PR #8802: process lower bound moved here from Cabal package\r\n process >= 1.6.15.0 && < 1.7,\r\n random >= 1.2 && < 1.3,\r\n stm >= 2.0 && < 2.6,\r\n tar >= 0.5.0.3 && < 0.6,\r\n time >= 1.5.0.1 && < 1.13,\r\n zlib >= 0.5.3 && < 0.7,\r\n hackage-security >= 0.6.2.0 && < 0.7,\r\n text >= 1.2.3 && < 1.3 || >= 2.0 && < 2.1,\r\n parsec >= 3.1.13.0 && < 3.2,\r\n regex-base >= 0.94.0.0 && <0.95,\r\n regex-posix >= 0.96.0.0 && <0.97,\r\n safe-exceptions >= 0.1.7.0 && < 0.2\r\n\r\n if flag(native-dns)\r\n if os(windows)\r\n build-depends: windns >= 0.1.0 && < 0.2\r\n else\r\n build-depends: resolv >= 0.1.1 && < 0.3\r\n\r\n if os(windows)\r\n -- newer directory for symlinks\r\n build-depends: Win32 >= 2.8 && < 3, directory >=1.3.1.0\r\n else\r\n build-depends: unix >= 2.5 && < 2.9\r\n\r\n if flag(lukko)\r\n build-depends: lukko >= 0.1 && <0.2\r\n\r\n\r\nexecutable cabal\r\n import: warnings, base-dep, cabal-dep, cabal-syntax-dep\r\n main-is: Main.hs\r\n hs-source-dirs: main\r\n default-language: Haskell2010\r\n\r\n ghc-options: -rtsopts -threaded\r\n\r\n -- On AIX, some legacy BSD operations such as flock(2) are provided by libbsd.a\r\n if os(aix)\r\n extra-libraries: bsd\r\n\r\n build-depends:\r\n cabal-install,\r\n directory,\r\n filepath\r\n\r\n-- Small, fast running tests.\r\n--\r\ntest-suite unit-tests\r\n import: warnings, base-dep, cabal-dep, cabal-syntax-dep, cabal-install-solver-dep\r\n default-language: Haskell2010\r\n ghc-options: -rtsopts -threaded\r\n\r\n type: exitcode-stdio-1.0\r\n main-is: UnitTests.hs\r\n hs-source-dirs: tests\r\n other-modules:\r\n UnitTests.Distribution.Client.ArbitraryInstances\r\n UnitTests.Distribution.Client.BuildReport\r\n UnitTests.Distribution.Client.Configure\r\n UnitTests.Distribution.Client.FetchUtils\r\n UnitTests.Distribution.Client.Get\r\n UnitTests.Distribution.Client.Glob\r\n UnitTests.Distribution.Client.GZipUtils\r\n UnitTests.Distribution.Client.IndexUtils\r\n UnitTests.Distribution.Client.IndexUtils.Timestamp\r\n UnitTests.Distribution.Client.Init\r\n UnitTests.Distribution.Client.Init.Golden\r\n UnitTests.Distribution.Client.Init.Interactive\r\n UnitTests.Distribution.Client.Init.NonInteractive\r\n UnitTests.Distribution.Client.Init.Simple\r\n UnitTests.Distribution.Client.Init.Utils\r\n UnitTests.Distribution.Client.Init.FileCreators\r\n UnitTests.Distribution.Client.InstallPlan\r\n UnitTests.Distribution.Client.JobControl\r\n UnitTests.Distribution.Client.ProjectConfig\r\n UnitTests.Distribution.Client.ProjectPlanning\r\n UnitTests.Distribution.Client.Store\r\n UnitTests.Distribution.Client.Tar\r\n UnitTests.Distribution.Client.Targets\r\n UnitTests.Distribution.Client.TreeDiffInstances\r\n UnitTests.Distribution.Client.UserConfig\r\n UnitTests.Distribution.Solver.Modular.Builder\r\n UnitTests.Distribution.Solver.Modular.RetryLog\r\n UnitTests.Distribution.Solver.Modular.Solver\r\n UnitTests.Distribution.Solver.Modular.DSL\r\n UnitTests.Distribution.Solver.Modular.DSL.TestCaseUtils\r\n UnitTests.Distribution.Solver.Modular.WeightedPSQ\r\n UnitTests.Distribution.Solver.Types.OptionalStanza\r\n UnitTests.Options\r\n UnitTests.TempTestDir\r\n\r\n build-depends:\r\n array,\r\n bytestring,\r\n cabal-install,\r\n Cabal-tree-diff,\r\n Cabal-QuickCheck,\r\n containers,\r\n directory,\r\n filepath,\r\n mtl,\r\n network-uri >= 2.6.2.0 && <2.7,\r\n random,\r\n tar,\r\n time,\r\n zlib,\r\n tasty >= 1.2.3 && <1.5,\r\n tasty-golden >=2.3.1.1 && <2.4,\r\n tasty-quickcheck,\r\n tasty-hunit >= 0.10,\r\n tree-diff,\r\n QuickCheck >= 2.14 && <2.15\r\n\r\n\r\n-- Tests to run with a limited stack and heap size\r\n-- The test suite name must be keep short cause a longer one\r\n-- could make the build generating paths which exceeds the windows\r\n-- max path limit (still a problem for some ghc versions)\r\ntest-suite mem-use-tests\r\n import: warnings, base-dep, cabal-dep, cabal-syntax-dep, cabal-install-solver-dep\r\n type: exitcode-stdio-1.0\r\n main-is: MemoryUsageTests.hs\r\n hs-source-dirs: tests\r\n default-language: Haskell2010\r\n\r\n ghc-options: -threaded -rtsopts \"-with-rtsopts=-M16M -K1K\"\r\n\r\n other-modules:\r\n UnitTests.Distribution.Solver.Modular.DSL\r\n UnitTests.Distribution.Solver.Modular.DSL.TestCaseUtils\r\n UnitTests.Distribution.Solver.Modular.MemoryUsage\r\n UnitTests.Options\r\n\r\n build-depends:\r\n cabal-install,\r\n containers,\r\n tasty >= 1.2.3 && <1.5,\r\n tasty-hunit >= 0.10\r\n\r\n\r\n-- Integration tests that use the cabal-install code directly\r\n-- but still build whole projects\r\ntest-suite integration-tests2\r\n import: warnings, base-dep, cabal-dep, cabal-syntax-dep, cabal-install-solver-dep\r\n ghc-options: -rtsopts -threaded\r\n type: exitcode-stdio-1.0\r\n main-is: IntegrationTests2.hs\r\n hs-source-dirs: tests\r\n default-language: Haskell2010\r\n\r\n build-depends:\r\n bytestring,\r\n cabal-install,\r\n containers,\r\n directory,\r\n filepath,\r\n tasty >= 1.2.3 && <1.5,\r\n tasty-hunit >= 0.10,\r\n tagged\r\n\r\ntest-suite long-tests\r\n import: warnings, base-dep, cabal-dep, cabal-syntax-dep, cabal-install-solver-dep\r\n ghc-options: -rtsopts -threaded\r\n type: exitcode-stdio-1.0\r\n hs-source-dirs: tests\r\n main-is: LongTests.hs\r\n default-language: Haskell2010\r\n\r\n other-modules:\r\n UnitTests.Distribution.Client.ArbitraryInstances\r\n UnitTests.Distribution.Client.Described\r\n UnitTests.Distribution.Client.DescribedInstances\r\n UnitTests.Distribution.Client.FileMonitor\r\n UnitTests.Distribution.Client.VCS\r\n UnitTests.Distribution.Solver.Modular.DSL\r\n UnitTests.Distribution.Solver.Modular.QuickCheck\r\n UnitTests.Distribution.Solver.Modular.QuickCheck.Utils\r\n UnitTests.Options\r\n UnitTests.TempTestDir\r\n\r\n build-depends:\r\n Cabal-QuickCheck,\r\n Cabal-described,\r\n cabal-install,\r\n containers,\r\n directory,\r\n filepath,\r\n hashable,\r\n mtl,\r\n network-uri >= 2.6.2.0 && <2.7,\r\n random,\r\n tagged,\r\n tasty >= 1.2.3 && <1.5,\r\n tasty-expected-failure,\r\n tasty-hunit >= 0.10,\r\n tasty-quickcheck,\r\n QuickCheck >= 2.14 && <2.15,\r\n pretty-show >= 1.6.15\r\n"; + } \ No newline at end of file diff --git a/materialized/ghcjs/cabal/ghc8107/cabal-files/cryptohash-sha256.nix b/materialized/ghcjs/cabal/ghc8107/cabal-files/cryptohash-sha256.nix index 7fe8a112a9..e7efd5f428 100644 --- a/materialized/ghcjs/cabal/ghc8107/cabal-files/cryptohash-sha256.nix +++ b/materialized/ghcjs/cabal/ghc8107/cabal-files/cryptohash-sha256.nix @@ -16,7 +16,7 @@ copyright = "Vincent Hanquez, Herbert Valerio Riedel"; maintainer = "Herbert Valerio Riedel "; author = ""; - homepage = "https://github.com/hvr/cryptohash-sha256"; + homepage = "https://github.com/haskell-hvr/cryptohash-sha256"; url = ""; synopsis = "Fast, pure and practical SHA-256 implementation"; description = "A practical incremental and one-pass, pure API to\nthe [SHA-256 cryptographic hash algorithm](https://en.wikipedia.org/wiki/SHA-2) according\nto [FIPS 180-4](http://dx.doi.org/10.6028/NIST.FIPS.180-4)\nwith performance close to the fastest implementations available in other languages.\n\nThe core SHA-256 algorithm is implemented in C and is thus expected\nto be as fast as the standard [sha256sum(1) tool](https://linux.die.net/man/1/sha256sum);\nfor instance, on an /Intel Core i7-3770/ at 3.40GHz this implementation can\ncompute a SHA-256 hash over 230 MiB of data in under one second.\n(If, instead, you require a pure Haskell implementation and performance is secondary, please refer to the [SHA package](https://hackage.haskell.org/package/SHA).)\n\n\nAdditionally, this package provides support for\n\n- HMAC-SHA-256: SHA-256-based [Hashed Message Authentication Codes](https://en.wikipedia.org/wiki/HMAC) (HMAC)\n- HKDF-SHA-256: [HMAC-SHA-256-based Key Derivation Function](https://en.wikipedia.org/wiki/HKDF) (HKDF)\n\nconforming to [RFC6234](https://tools.ietf.org/html/rfc6234), [RFC4231](https://tools.ietf.org/html/rfc4231), [RFC5869](https://tools.ietf.org/html/rfc5869), et al..\n\n=== Relationship to the @cryptohash@ package and its API\n\nThis package has been originally a fork of @cryptohash-0.11.7@ because the @cryptohash@\npackage had been deprecated and so this package continues to satisfy the need for a\nlightweight package providing the SHA-256 hash algorithm without any dependencies on packages\nother than @base@ and @bytestring@. The API exposed by @cryptohash-sha256-0.11.*@'s\n\"Crypto.Hash.SHA256\" module is guaranteed to remain a compatible superset of the API provided\nby the @cryptohash-0.11.7@'s module of the same name.\n\nConsequently, this package is designed to be used as a drop-in replacement for @cryptohash-0.11.7@'s\n\"Crypto.Hash.SHA256\" module, though with\na [clearly smaller footprint by almost 3 orders of magnitude](https://www.reddit.com/r/haskell/comments/5lxv75/psa_please_use_unique_module_names_when_uploading/dbzegx3/)."; @@ -80,5 +80,5 @@ sha256 = "73a7dc7163871a80837495039a099967b11f5c4fe70a118277842f7a713c6bf6"; }); }) // { - package-description-override = "cabal-version: 2.0\nname: cryptohash-sha256\nversion: 0.11.102.1\nx-revision: 3\n\nsynopsis: Fast, pure and practical SHA-256 implementation\ndescription: {\n\nA practical incremental and one-pass, pure API to\nthe [SHA-256 cryptographic hash algorithm](https://en.wikipedia.org/wiki/SHA-2) according\nto [FIPS 180-4](http://dx.doi.org/10.6028/NIST.FIPS.180-4)\nwith performance close to the fastest implementations available in other languages.\n.\nThe core SHA-256 algorithm is implemented in C and is thus expected\nto be as fast as the standard [sha256sum(1) tool](https://linux.die.net/man/1/sha256sum);\nfor instance, on an /Intel Core i7-3770/ at 3.40GHz this implementation can\ncompute a SHA-256 hash over 230 MiB of data in under one second.\n(If, instead, you require a pure Haskell implementation and performance is secondary, please refer to the [SHA package](https://hackage.haskell.org/package/SHA).)\n.\n\n.\nAdditionally, this package provides support for\n.\n- HMAC-SHA-256: SHA-256-based [Hashed Message Authentication Codes](https://en.wikipedia.org/wiki/HMAC) (HMAC)\n- HKDF-SHA-256: [HMAC-SHA-256-based Key Derivation Function](https://en.wikipedia.org/wiki/HKDF) (HKDF)\n.\nconforming to [RFC6234](https://tools.ietf.org/html/rfc6234), [RFC4231](https://tools.ietf.org/html/rfc4231), [RFC5869](https://tools.ietf.org/html/rfc5869), et al..\n.\n=== Relationship to the @cryptohash@ package and its API\n.\nThis package has been originally a fork of @cryptohash-0.11.7@ because the @cryptohash@\npackage had been deprecated and so this package continues to satisfy the need for a\nlightweight package providing the SHA-256 hash algorithm without any dependencies on packages\nother than @base@ and @bytestring@. The API exposed by @cryptohash-sha256-0.11.*@'s\n\"Crypto.Hash.SHA256\" module is guaranteed to remain a compatible superset of the API provided\nby the @cryptohash-0.11.7@'s module of the same name.\n.\nConsequently, this package is designed to be used as a drop-in replacement for @cryptohash-0.11.7@'s\n\"Crypto.Hash.SHA256\" module, though with\na [clearly smaller footprint by almost 3 orders of magnitude](https://www.reddit.com/r/haskell/comments/5lxv75/psa_please_use_unique_module_names_when_uploading/dbzegx3/).\n\n}\n\nlicense: BSD3\nlicense-file: LICENSE\ncopyright: Vincent Hanquez, Herbert Valerio Riedel\nmaintainer: Herbert Valerio Riedel \nhomepage: https://github.com/hvr/cryptohash-sha256\nbug-reports: https://github.com/hvr/cryptohash-sha256/issues\ncategory: Data, Cryptography\nbuild-type: Simple\n\ntested-with:\n GHC == 9.8.0\n GHC == 9.6.2\n GHC == 9.4.7\n GHC == 9.2.8\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\nextra-source-files: cbits/hs_sha256.h\n changelog.md\n\nsource-repository head\n type: git\n location: https://github.com/hvr/cryptohash-sha256.git\n\nflag exe\n description: Enable building @sha256sum@ executable\n manual: True\n default: False\n\nflag use-cbits\n description: Use fast optimized C routines via FFI; if flag is disabled falls back to non-FFI Haskell optimized implementation.\n manual: True\n default: True\n\nlibrary\n default-language: Haskell2010\n\n ghc-options: -Wall\n\n build-depends: base >= 4.5 && < 4.20\n\n exposed-modules: Crypto.Hash.SHA256\n\n if flag(use-cbits)\n build-depends: bytestring ^>= 0.9.2.0 || ^>= 0.10.0.0 || ^>= 0.11.0.0 || ^>= 0.12.0.2\n\n other-extensions: BangPatterns\n CApiFFI\n CPP\n Trustworthy\n Unsafe\n\n hs-source-dirs: src\n other-modules: Crypto.Hash.SHA256.FFI\n Compat\n include-dirs: cbits\n else\n hs-source-dirs: src-pure\n build-depends: cryptohash-sha256-pure ^>= 0.1.0\n\nexecutable sha256sum\n default-language: Haskell2010\n hs-source-dirs: src-exe\n main-is: sha256sum.hs\n ghc-options: -Wall -threaded\n if flag(exe)\n other-extensions: RecordWildCards\n build-depends: cryptohash-sha256\n , base\n , bytestring\n\n , base16-bytestring ^>= 0.1.1 || ^>= 1.0.0\n else\n buildable: False\n\ntest-suite test-sha256\n default-language: Haskell2010\n other-extensions: OverloadedStrings\n type: exitcode-stdio-1.0\n hs-source-dirs: src-tests\n main-is: test-sha256.hs\n ghc-options: -Wall -threaded\n build-depends: cryptohash-sha256\n , base\n , bytestring\n\n , base16-bytestring ^>= 0.1.1 || ^>= 1.0.0\n , SHA ^>= 1.6.4\n , tasty ^>= 1.4 || ^>= 1.5\n , tasty-quickcheck ^>= 0.10\n , tasty-hunit ^>= 0.10\n\nbenchmark bench-sha256\n default-language: Haskell2010\n other-extensions: BangPatterns\n type: exitcode-stdio-1.0\n main-is: bench-sha256.hs\n hs-source-dirs: src-bench\n build-depends: cryptohash-sha256\n , SHA ^>= 1.6.4\n , base\n , bytestring\n , criterion ^>= 1.5 || ^>=1.6\n\n -- not yet public\n -- build-depends: cryptohash-sha256-pure ^>= 0.1.0\n"; + package-description-override = "cabal-version: 2.0\nname: cryptohash-sha256\nversion: 0.11.102.1\nx-revision: 5\n\nsynopsis: Fast, pure and practical SHA-256 implementation\ndescription: {\n\nA practical incremental and one-pass, pure API to\nthe [SHA-256 cryptographic hash algorithm](https://en.wikipedia.org/wiki/SHA-2) according\nto [FIPS 180-4](http://dx.doi.org/10.6028/NIST.FIPS.180-4)\nwith performance close to the fastest implementations available in other languages.\n.\nThe core SHA-256 algorithm is implemented in C and is thus expected\nto be as fast as the standard [sha256sum(1) tool](https://linux.die.net/man/1/sha256sum);\nfor instance, on an /Intel Core i7-3770/ at 3.40GHz this implementation can\ncompute a SHA-256 hash over 230 MiB of data in under one second.\n(If, instead, you require a pure Haskell implementation and performance is secondary, please refer to the [SHA package](https://hackage.haskell.org/package/SHA).)\n.\n\n.\nAdditionally, this package provides support for\n.\n- HMAC-SHA-256: SHA-256-based [Hashed Message Authentication Codes](https://en.wikipedia.org/wiki/HMAC) (HMAC)\n- HKDF-SHA-256: [HMAC-SHA-256-based Key Derivation Function](https://en.wikipedia.org/wiki/HKDF) (HKDF)\n.\nconforming to [RFC6234](https://tools.ietf.org/html/rfc6234), [RFC4231](https://tools.ietf.org/html/rfc4231), [RFC5869](https://tools.ietf.org/html/rfc5869), et al..\n.\n=== Relationship to the @cryptohash@ package and its API\n.\nThis package has been originally a fork of @cryptohash-0.11.7@ because the @cryptohash@\npackage had been deprecated and so this package continues to satisfy the need for a\nlightweight package providing the SHA-256 hash algorithm without any dependencies on packages\nother than @base@ and @bytestring@. The API exposed by @cryptohash-sha256-0.11.*@'s\n\"Crypto.Hash.SHA256\" module is guaranteed to remain a compatible superset of the API provided\nby the @cryptohash-0.11.7@'s module of the same name.\n.\nConsequently, this package is designed to be used as a drop-in replacement for @cryptohash-0.11.7@'s\n\"Crypto.Hash.SHA256\" module, though with\na [clearly smaller footprint by almost 3 orders of magnitude](https://www.reddit.com/r/haskell/comments/5lxv75/psa_please_use_unique_module_names_when_uploading/dbzegx3/).\n\n}\n\nlicense: BSD3\nlicense-file: LICENSE\ncopyright: Vincent Hanquez, Herbert Valerio Riedel\nmaintainer: Herbert Valerio Riedel \nhomepage: https://github.com/haskell-hvr/cryptohash-sha256\nbug-reports: https://github.com/haskell-hvr/cryptohash-sha256/issues\ncategory: Data, Cryptography\nbuild-type: Simple\n\ntested-with:\n GHC == 9.10.1\n GHC == 9.8.2\n GHC == 9.6.5\n GHC == 9.4.8\n GHC == 9.2.8\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\nextra-source-files: cbits/hs_sha256.h\n changelog.md\n\nsource-repository head\n type: git\n location: https://github.com/haskell-hvr/cryptohash-sha256.git\n\nflag exe\n description: Enable building @sha256sum@ executable\n manual: True\n default: False\n\nflag use-cbits\n description: Use fast optimized C routines via FFI; if flag is disabled falls back to non-FFI Haskell optimized implementation.\n manual: True\n default: True\n\nlibrary\n default-language: Haskell2010\n\n ghc-options: -Wall\n\n build-depends: base >= 4.5 && < 4.21\n\n exposed-modules: Crypto.Hash.SHA256\n\n if flag(use-cbits)\n build-depends: bytestring ^>= 0.9.2.0 || ^>= 0.10.0.0 || ^>= 0.11.0.0 || ^>= 0.12.0.2\n\n other-extensions: BangPatterns\n CApiFFI\n CPP\n Trustworthy\n Unsafe\n\n hs-source-dirs: src\n other-modules: Crypto.Hash.SHA256.FFI\n Compat\n include-dirs: cbits\n else\n hs-source-dirs: src-pure\n build-depends: cryptohash-sha256-pure ^>= 0.1.0\n\nexecutable sha256sum\n default-language: Haskell2010\n hs-source-dirs: src-exe\n main-is: sha256sum.hs\n ghc-options: -Wall -threaded\n if flag(exe)\n other-extensions: RecordWildCards\n build-depends: cryptohash-sha256\n , base\n , bytestring\n\n , base16-bytestring ^>= 0.1.1 || ^>= 1.0.0\n else\n buildable: False\n\ntest-suite test-sha256\n default-language: Haskell2010\n other-extensions: OverloadedStrings\n type: exitcode-stdio-1.0\n hs-source-dirs: src-tests\n main-is: test-sha256.hs\n ghc-options: -Wall -threaded\n build-depends: cryptohash-sha256\n , base\n , bytestring\n\n , base16-bytestring ^>= 0.1.1 || ^>= 1.0.0\n , SHA ^>= 1.6.4\n , tasty ^>= 1.4 || ^>= 1.5\n , tasty-quickcheck >= 0.10 && < 1\n , tasty-hunit ^>= 0.10\n\nbenchmark bench-sha256\n default-language: Haskell2010\n other-extensions: BangPatterns\n type: exitcode-stdio-1.0\n main-is: bench-sha256.hs\n hs-source-dirs: src-bench\n build-depends: cryptohash-sha256\n , SHA ^>= 1.6.4\n , base\n , bytestring\n , criterion ^>= 1.5 || ^>=1.6\n\n -- not yet public\n -- build-depends: cryptohash-sha256-pure ^>= 0.1.0\n"; } \ No newline at end of file diff --git a/materialized/ghcjs/cabal/ghc8107/cabal-files/data-array-byte.nix b/materialized/ghcjs/cabal/ghc8107/cabal-files/data-array-byte.nix index b8e7d4015b..579688b73c 100644 --- a/materialized/ghcjs/cabal/ghc8107/cabal-files/data-array-byte.nix +++ b/materialized/ghcjs/cabal/ghc8107/cabal-files/data-array-byte.nix @@ -51,5 +51,5 @@ sha256 = "1bb6eca0b3e02d057fe7f4e14c81ef395216f421ab30fdaa1b18017c9c025600"; }); }) // { - package-description-override = "cabal-version: >=1.10\r\nname: data-array-byte\r\nversion: 0.1.0.1\r\nx-revision: 2\r\nlicense: BSD3\r\nlicense-file: LICENSE\r\ncopyright: (c) Roman Leshchinskiy 2009-2012\r\nmaintainer: andrew.lelechenko@gmail.com\r\nauthor: Roman Leshchinskiy \r\ntested-with:\r\n ghc ==8.0.2 ghc ==8.2.2 ghc ==8.4.4 ghc ==8.6.5 ghc ==8.8.4\r\n ghc ==8.10.7 ghc ==9.0.2 ghc ==9.2.4 ghc ==9.4.2\r\n\r\nhomepage: https://github.com/Bodigrim/data-array-byte\r\nbug-reports: https://github.com/Bodigrim/data-array-byte/issues\r\nsynopsis: Compatibility layer for Data.Array.Byte\r\ndescription:\r\n Compatibility layer for [Data.Array.Byte](https://hackage.haskell.org/package/base/docs/Data-Array-Byte.html), providing boxed wrappers for @ByteArray#@ and @MutableByteArray#@ and relevant instances for GHC < 9.4. Include it into your Cabal file:\r\n .\r\n > build-depends: base\r\n > if impl(ghc < 9.4)\r\n > build-depends: data-array-byte\r\n .\r\n and then @import Data.Array.Byte@ unconditionally.\r\n\r\ncategory: Compatibility\r\nbuild-type: Simple\r\nextra-source-files:\r\n changelog.md\r\n README.md\r\n\r\nsource-repository head\r\n type: git\r\n location: https://github.com/Bodigrim/data-array-byte\r\n\r\nlibrary\r\n default-language: Haskell2010\r\n ghc-options: -Wall\r\n build-depends:\r\n base >=4.9 && <4.20,\r\n deepseq >=1.4 && <1.6,\r\n template-haskell >=2.11 && <2.22\r\n\r\n if impl(ghc <9.4)\r\n exposed-modules: Data.Array.Byte\r\n\r\ntest-suite data-array-byte-tests\r\n type: exitcode-stdio-1.0\r\n main-is: Main.hs\r\n hs-source-dirs: test\r\n default-language: Haskell2010\r\n ghc-options: -Wall\r\n build-depends:\r\n base,\r\n data-array-byte,\r\n quickcheck-classes-base >=0.6 && <0.7,\r\n tasty >=1.4 && <1.6,\r\n tasty-quickcheck >=0.10 && <0.11,\r\n template-haskell\r\n"; + package-description-override = "cabal-version: >=1.10\r\nname: data-array-byte\r\nversion: 0.1.0.1\r\nx-revision: 3\r\nlicense: BSD3\r\nlicense-file: LICENSE\r\ncopyright: (c) Roman Leshchinskiy 2009-2012\r\nmaintainer: andrew.lelechenko@gmail.com\r\nauthor: Roman Leshchinskiy \r\ntested-with:\r\n ghc ==8.0.2 ghc ==8.2.2 ghc ==8.4.4 ghc ==8.6.5 ghc ==8.8.4\r\n ghc ==8.10.7 ghc ==9.0.2 ghc ==9.2.4 ghc ==9.4.2\r\n\r\nhomepage: https://github.com/Bodigrim/data-array-byte\r\nbug-reports: https://github.com/Bodigrim/data-array-byte/issues\r\nsynopsis: Compatibility layer for Data.Array.Byte\r\ndescription:\r\n Compatibility layer for [Data.Array.Byte](https://hackage.haskell.org/package/base/docs/Data-Array-Byte.html), providing boxed wrappers for @ByteArray#@ and @MutableByteArray#@ and relevant instances for GHC < 9.4. Include it into your Cabal file:\r\n .\r\n > build-depends: base\r\n > if impl(ghc < 9.4)\r\n > build-depends: data-array-byte\r\n .\r\n and then @import Data.Array.Byte@ unconditionally.\r\n\r\ncategory: Compatibility\r\nbuild-type: Simple\r\nextra-source-files:\r\n changelog.md\r\n README.md\r\n\r\nsource-repository head\r\n type: git\r\n location: https://github.com/Bodigrim/data-array-byte\r\n\r\nlibrary\r\n default-language: Haskell2010\r\n ghc-options: -Wall\r\n build-depends:\r\n base >=4.9 && <4.21,\r\n deepseq >=1.4 && <1.6,\r\n template-haskell >=2.11 && <2.23\r\n\r\n if impl(ghc <9.4)\r\n exposed-modules: Data.Array.Byte\r\n\r\ntest-suite data-array-byte-tests\r\n type: exitcode-stdio-1.0\r\n main-is: Main.hs\r\n hs-source-dirs: test\r\n default-language: Haskell2010\r\n ghc-options: -Wall\r\n build-depends:\r\n base,\r\n data-array-byte,\r\n quickcheck-classes-base >=0.6 && <0.7,\r\n tasty >=1.4 && <1.6,\r\n tasty-quickcheck >=0.10 && <0.11,\r\n template-haskell\r\n"; } \ No newline at end of file diff --git a/materialized/ghcjs/cabal/ghc8107/cabal-files/hackage-security.nix b/materialized/ghcjs/cabal/ghc8107/cabal-files/hackage-security.nix index db0442e673..d98079c640 100644 --- a/materialized/ghcjs/cabal/ghc8107/cabal-files/hackage-security.nix +++ b/materialized/ghcjs/cabal/ghc8107/cabal-files/hackage-security.nix @@ -8,17 +8,10 @@ , config , ... }: ({ - flags = { - base48 = true; - use-network-uri = true; - cabal-syntax = false; - old-directory = false; - mtl21 = false; - lukko = true; - }; + flags = { cabal-syntax = false; lukko = true; }; package = { specVersion = "1.12"; - identifier = { name = "hackage-security"; version = "0.6.2.3"; }; + identifier = { name = "hackage-security"; version = "0.6.2.6"; }; license = "BSD-3-Clause"; copyright = "Copyright 2015-2022 Well-Typed LLP"; maintainer = "cabal-devel@haskell.org"; @@ -31,60 +24,38 @@ }; components = { "library" = { - depends = ((((([ + depends = ([ (hsPkgs."base" or (errorHandler.buildDepError "base")) (hsPkgs."base16-bytestring" or (errorHandler.buildDepError "base16-bytestring")) (hsPkgs."base64-bytestring" or (errorHandler.buildDepError "base64-bytestring")) (hsPkgs."bytestring" or (errorHandler.buildDepError "bytestring")) (hsPkgs."containers" or (errorHandler.buildDepError "containers")) + (hsPkgs."cryptohash-sha256" or (errorHandler.buildDepError "cryptohash-sha256")) + (hsPkgs."directory" or (errorHandler.buildDepError "directory")) (hsPkgs."ed25519" or (errorHandler.buildDepError "ed25519")) (hsPkgs."filepath" or (errorHandler.buildDepError "filepath")) + (hsPkgs."mtl" or (errorHandler.buildDepError "mtl")) + (hsPkgs."network-uri" or (errorHandler.buildDepError "network-uri")) + (hsPkgs."network" or (errorHandler.buildDepError "network")) (hsPkgs."parsec" or (errorHandler.buildDepError "parsec")) (hsPkgs."pretty" or (errorHandler.buildDepError "pretty")) - (hsPkgs."cryptohash-sha256" or (errorHandler.buildDepError "cryptohash-sha256")) (hsPkgs."tar" or (errorHandler.buildDepError "tar")) (hsPkgs."template-haskell" or (errorHandler.buildDepError "template-haskell")) (hsPkgs."time" or (errorHandler.buildDepError "time")) (hsPkgs."transformers" or (errorHandler.buildDepError "transformers")) (hsPkgs."zlib" or (errorHandler.buildDepError "zlib")) (hsPkgs."ghc-prim" or (errorHandler.buildDepError "ghc-prim")) - ] ++ (if flags.old-directory - then [ - (hsPkgs."directory" or (errorHandler.buildDepError "directory")) - (hsPkgs."old-time" or (errorHandler.buildDepError "old-time")) - ] - else [ - (hsPkgs."directory" or (errorHandler.buildDepError "directory")) - ])) ++ (if flags.mtl21 - then [ - (hsPkgs."mtl" or (errorHandler.buildDepError "mtl")) - (hsPkgs."mtl-compat" or (errorHandler.buildDepError "mtl-compat")) - ] - else [ - (hsPkgs."mtl" or (errorHandler.buildDepError "mtl")) - ])) ++ (if flags.lukko + ] ++ (if flags.lukko then [ (hsPkgs."lukko" or (errorHandler.buildDepError "lukko")) ] else [ (hsPkgs."base" or (errorHandler.buildDepError "base")) - ])) ++ (if flags.cabal-syntax && (compiler.isGhc && compiler.version.ge "8.2") + ])) ++ (if flags.cabal-syntax then [ (hsPkgs."Cabal-syntax" or (errorHandler.buildDepError "Cabal-syntax")) ] else [ (hsPkgs."Cabal" or (errorHandler.buildDepError "Cabal")) (hsPkgs."Cabal-syntax" or (errorHandler.buildDepError "Cabal-syntax")) - ])) ++ (if flags.base48 - then [ (hsPkgs."base" or (errorHandler.buildDepError "base")) ] - else [ - (hsPkgs."base" or (errorHandler.buildDepError "base")) - (hsPkgs."old-locale" or (errorHandler.buildDepError "old-locale")) - ])) ++ (if flags.use-network-uri - then [ - (hsPkgs."network-uri" or (errorHandler.buildDepError "network-uri")) - (hsPkgs."network" or (errorHandler.buildDepError "network")) - ] - else [ - (hsPkgs."network" or (errorHandler.buildDepError "network")) ]); buildable = true; }; @@ -118,9 +89,9 @@ }; } // { src = pkgs.lib.mkDefault (pkgs.fetchurl { - url = "http://hackage.haskell.org/package/hackage-security-0.6.2.3.tar.gz"; - sha256 = "52ee0576971955571d846b8e6c09638f89f4f7881f4a95173e44ccc0d856a066"; + url = "http://hackage.haskell.org/package/hackage-security-0.6.2.6.tar.gz"; + sha256 = "2e4261576b3e11b9f5175392947f56a638cc1a3584b8acbb962b809d7c69db69"; }); }) // { - package-description-override = "cabal-version: 1.12\nname: hackage-security\nversion: 0.6.2.3\nx-revision: 8\n\nsynopsis: Hackage security library\ndescription: The hackage security library provides both server and\n client utilities for securing the Hackage package server\n (). It is based on The Update\n Framework (), a set of\n recommendations developed by security researchers at\n various universities in the US as well as developers on the\n Tor project ().\n .\n The current implementation supports only index signing,\n thereby enabling untrusted mirrors. It does not yet provide\n facilities for author package signing.\n .\n The library has two main entry points:\n \"Hackage.Security.Client\" is the main entry point for\n clients (the typical example being @cabal@), and\n \"Hackage.Security.Server\" is the main entry point for\n servers (the typical example being @hackage-server@).\nlicense: BSD3\nlicense-file: LICENSE\nauthor: Edsko de Vries\nmaintainer: cabal-devel@haskell.org\ncopyright: Copyright 2015-2022 Well-Typed LLP\ncategory: Distribution\nhomepage: https://github.com/haskell/hackage-security\nbug-reports: https://github.com/haskell/hackage-security/issues\nbuild-type: Simple\n\ntested-with:\n GHC == 9.8.1\n GHC == 9.6.3\n GHC == 9.4.7\n GHC == 9.2.8\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\nextra-source-files:\n ChangeLog.md\n\nsource-repository head\n type: git\n location: https://github.com/haskell/hackage-security.git\n\nflag base48\n description: Are we using @base@ 4.8 or later?\n manual: False\n\nflag use-network-uri\n description: Are we using @network-uri@?\n manual: False\n\nflag Cabal-syntax\n description: Are we using Cabal-syntax?\n manual: False\n default: False\n\nflag old-directory\n description: Use @directory@ < 1.2 and @old-time@\n manual: False\n default: False\n\nflag mtl21\n description: Use @mtl@ < 2.2 and @mtl-compat@\n manual: False\n default: False\n\nflag lukko\n description: Use @lukko@ for file-locking, otherwise use @GHC.IO.Handle.Lock@\n manual: True\n default: True\n\nlibrary\n -- Most functionality is exported through the top-level entry points .Client\n -- and .Server; the other exported modules are intended for qualified imports.\n exposed-modules: Hackage.Security.Client\n Hackage.Security.Client.Formats\n Hackage.Security.Client.Repository\n Hackage.Security.Client.Repository.Cache\n Hackage.Security.Client.Repository.Local\n Hackage.Security.Client.Repository.Remote\n Hackage.Security.Client.Repository.HttpLib\n Hackage.Security.Client.Verify\n Hackage.Security.JSON\n Hackage.Security.Key.Env\n Hackage.Security.Server\n Hackage.Security.Trusted\n Hackage.Security.TUF.FileMap\n Hackage.Security.Util.Checked\n Hackage.Security.Util.Path\n Hackage.Security.Util.Pretty\n Hackage.Security.Util.Some\n Text.JSON.Canonical\n other-modules: Hackage.Security.Key\n Hackage.Security.Trusted.TCB\n Hackage.Security.TUF\n Hackage.Security.TUF.Common\n Hackage.Security.TUF.FileInfo\n Hackage.Security.TUF.Header\n Hackage.Security.TUF.Layout.Cache\n Hackage.Security.TUF.Layout.Index\n Hackage.Security.TUF.Layout.Repo\n Hackage.Security.TUF.Mirrors\n Hackage.Security.TUF.Paths\n Hackage.Security.TUF.Patterns\n Hackage.Security.TUF.Root\n Hackage.Security.TUF.Signed\n Hackage.Security.TUF.Snapshot\n Hackage.Security.TUF.Targets\n Hackage.Security.TUF.Timestamp\n Hackage.Security.Util.Base64\n Hackage.Security.Util.Exit\n Hackage.Security.Util.IO\n Hackage.Security.Util.JSON\n Hackage.Security.Util.Lens\n Hackage.Security.Util.Stack\n Hackage.Security.Util.TypedEmbedded\n MyPrelude\n -- We support ghc 7.4 (bundled with Cabal 1.14) and up\n build-depends: base >= 4.5 && < 4.20,\n base16-bytestring >= 0.1.1 && < 1.1,\n base64-bytestring >= 1.0 && < 1.3,\n bytestring >= 0.9 && < 0.13,\n containers >= 0.4 && < 0.8,\n ed25519 >= 0.0 && < 0.1,\n filepath >= 1.2 && < 1.5,\n parsec >= 3.1 && < 3.2,\n pretty >= 1.0 && < 1.2,\n cryptohash-sha256 >= 0.11 && < 0.12,\n -- 0.4.2 introduces TarIndex, 0.4.4 introduces more\n -- functionality, 0.5.0 changes type of serialise\n tar >= 0.5 && < 0.6,\n template-haskell >= 2.7 && < 2.22,\n time >= 1.2 && < 1.13,\n transformers >= 0.3 && < 0.7,\n zlib >= 0.5 && < 0.7,\n -- whatever versions are bundled with ghc:\n ghc-prim\n if flag(old-directory)\n build-depends: directory >= 1.1.0.2 && < 1.2,\n old-time >= 1 && < 1.2\n else\n build-depends: directory >= 1.2 && < 1.4\n\n if flag(mtl21)\n build-depends: mtl >= 2.1 && < 2.2,\n mtl-compat >= 0.2 && < 0.3\n else\n build-depends: mtl >= 2.2 && < 2.4\n\n if flag(lukko)\n build-depends: lukko >= 0.1 && < 0.2\n else\n build-depends: base >= 4.10\n\n if flag(Cabal-syntax) && impl(ghc >= 8.2)\n build-depends: Cabal-syntax >= 3.7 && < 3.12\n else\n build-depends: Cabal >= 1.14 && < 1.26\n || >= 2.0 && < 2.6\n || >= 3.0 && < 3.7,\n Cabal-syntax < 3.7\n\n hs-source-dirs: src\n default-language: Haskell2010\n default-extensions: DefaultSignatures\n DeriveDataTypeable\n DeriveFunctor\n FlexibleContexts\n FlexibleInstances\n GADTs\n GeneralizedNewtypeDeriving\n KindSignatures\n MultiParamTypeClasses\n NamedFieldPuns\n NoImplicitPrelude\n NoMonomorphismRestriction\n RankNTypes\n RecordWildCards\n ScopedTypeVariables\n StandaloneDeriving\n TupleSections\n TypeFamilies\n TypeOperators\n ViewPatterns\n other-extensions: BangPatterns\n CPP\n OverlappingInstances\n PackageImports\n UndecidableInstances\n\n -- use the new stage1/cross-compile-friendly DeriveLift extension for GHC 8.0+\n if impl(ghc >= 8.0)\n other-extensions: DeriveLift\n else\n other-extensions: TemplateHaskell\n\n ghc-options: -Wall\n\n if flag(base48)\n build-depends: base >= 4.8\n else\n build-depends: base < 4.8, old-locale == 1.0.*\n\n -- The URI type got split out off the network package after version 2.5, and\n -- moved to a separate network-uri package. Since we don't need the rest of\n -- network here, it would suffice to rely only on network-uri:\n --\n -- > if flag(use-network-uri)\n -- > build-depends: network-uri >= 2.6 && < 2.7\n -- > else\n -- > build-depends: network >= 2.5 && < 2.6\n --\n -- However, if we did the same in hackage-security-HTTP, Cabal would consider\n -- those two flag choices (hackage-security:use-network-uri and\n -- hackage-security-HTTP:use-network-uri) to be completely independent; but\n -- they aren't: if it links hackage-security against network-uri and\n -- hackage-security-HTTP against network, we will get type errors when\n -- hackage-security-HTTP tries to pass a URI to hackage-security.\n --\n -- It might seem we can solve this problem by re-exporting the URI type in\n -- hackage-security and avoid the dependency in hackage-security-HTTP\n -- altogether. However, this merely shifts the problem: hackage-security-HTTP\n -- relies on the HTTP library which--surprise!--makes the same choice between\n -- depending on network or network-uri. Cabal will not notice that we cannot\n -- build hackage-security and hackage-security-HTTP against network-uri but\n -- HTTP against network.\n --\n -- We solve the problem by explicitly relying on network-2.6 when choosing\n -- network-uri. This dependency is redundant, strictly speaking. However, it\n -- serves as a proxy for forcing flag choices: since all packages in a\n -- solution must be linked against the same version of network, having one\n -- version of network in one branch of the conditional and another version of\n -- network in the other branch forces the choice to be consistent throughout.\n -- (Note that the HTTP library does the same thing, though in this case the\n -- dependency in network is not redundant.)\n if flag(use-network-uri)\n build-depends: network-uri >= 2.6 && < 2.7,\n network >= 2.6 && < 2.9\n || >= 3.0 && < 3.2\n else\n build-depends: network >= 2.5 && < 2.6\n\n if impl(ghc >= 7.8)\n other-extensions: RoleAnnotations\n\n if impl(ghc >= 7.10)\n other-extensions: AllowAmbiguousTypes\n StaticPointers\n\ntest-suite TestSuite\n type: exitcode-stdio-1.0\n main-is: TestSuite.hs\n other-modules: TestSuite.HttpMem\n TestSuite.InMemCache\n TestSuite.InMemRepo\n TestSuite.InMemRepository\n TestSuite.JSON\n TestSuite.PrivateKeys\n TestSuite.Util.StrictMVar\n\n -- inherited constraints from lib:hackage-security component\n build-depends: hackage-security,\n base,\n containers,\n bytestring,\n network-uri,\n tar,\n text,\n time,\n zlib\n\n if flag(Cabal-syntax) && impl(ghc >= 8.2)\n build-depends: Cabal >= 3.7 && < 3.12,\n Cabal-syntax >= 3.7 && < 3.12\n else\n build-depends: Cabal >= 1.14 && < 1.26\n || >= 2.0 && < 2.6\n || >= 3.0 && < 3.7,\n Cabal-syntax < 3.7\n\n -- dependencies exclusive to test-suite\n build-depends: tasty >= 1.2 && < 1.6,\n tasty-hunit == 0.10.*,\n tasty-quickcheck == 0.10.*,\n QuickCheck >= 2.11 && <2.15,\n aeson >= 1.4 && < 1.6 || >= 2.0 && < 2.3,\n vector >= 0.12 && <0.14,\n unordered-containers >=0.2.8.0 && <0.3,\n temporary >= 1.2 && < 1.4\n\n hs-source-dirs: tests\n default-language: Haskell2010\n default-extensions: FlexibleContexts\n GADTs\n KindSignatures\n RankNTypes\n RecordWildCards\n ScopedTypeVariables\n ghc-options: -Wall\n"; + package-description-override = "cabal-version: 1.12\r\nname: hackage-security\r\nversion: 0.6.2.6\r\nx-revision: 4\r\n\r\nsynopsis: Hackage security library\r\ndescription: The hackage security library provides both server and\r\n client utilities for securing the Hackage package server\r\n (). It is based on The Update\r\n Framework (), a set of\r\n recommendations developed by security researchers at\r\n various universities in the US as well as developers on the\r\n Tor project ().\r\n .\r\n The current implementation supports only index signing,\r\n thereby enabling untrusted mirrors. It does not yet provide\r\n facilities for author package signing.\r\n .\r\n The library has two main entry points:\r\n \"Hackage.Security.Client\" is the main entry point for\r\n clients (the typical example being @cabal@), and\r\n \"Hackage.Security.Server\" is the main entry point for\r\n servers (the typical example being @hackage-server@).\r\nlicense: BSD3\r\nlicense-file: LICENSE\r\nauthor: Edsko de Vries\r\nmaintainer: cabal-devel@haskell.org\r\ncopyright: Copyright 2015-2022 Well-Typed LLP\r\ncategory: Distribution\r\nhomepage: https://github.com/haskell/hackage-security\r\nbug-reports: https://github.com/haskell/hackage-security/issues\r\nbuild-type: Simple\r\n\r\ntested-with:\r\n GHC == 9.10.1\r\n GHC == 9.8.2\r\n GHC == 9.6.5\r\n GHC == 9.4.8\r\n GHC == 9.2.8\r\n GHC == 9.0.2\r\n GHC == 8.10.7\r\n GHC == 8.8.4\r\n GHC == 8.6.5\r\n GHC == 8.4.4\r\n\r\nextra-source-files:\r\n ChangeLog.md\r\n\r\nsource-repository head\r\n type: git\r\n location: https://github.com/haskell/hackage-security.git\r\n\r\nflag Cabal-syntax\r\n description: Are we using Cabal-syntax?\r\n manual: False\r\n default: False\r\n\r\nflag lukko\r\n description: Use @lukko@ for file-locking, otherwise use @GHC.IO.Handle.Lock@\r\n manual: True\r\n default: True\r\n\r\nlibrary\r\n -- Most functionality is exported through the top-level entry points .Client\r\n -- and .Server; the other exported modules are intended for qualified imports.\r\n exposed-modules: Hackage.Security.Client\r\n Hackage.Security.Client.Formats\r\n Hackage.Security.Client.Repository\r\n Hackage.Security.Client.Repository.Cache\r\n Hackage.Security.Client.Repository.Local\r\n Hackage.Security.Client.Repository.Remote\r\n Hackage.Security.Client.Repository.HttpLib\r\n Hackage.Security.Client.Verify\r\n Hackage.Security.JSON\r\n Hackage.Security.Key.Env\r\n Hackage.Security.Server\r\n Hackage.Security.Trusted\r\n Hackage.Security.TUF.FileMap\r\n Hackage.Security.Util.Checked\r\n Hackage.Security.Util.Path\r\n Hackage.Security.Util.Pretty\r\n Hackage.Security.Util.Some\r\n Text.JSON.Canonical\r\n other-modules: Hackage.Security.Key\r\n Hackage.Security.Trusted.TCB\r\n Hackage.Security.TUF\r\n Hackage.Security.TUF.Common\r\n Hackage.Security.TUF.FileInfo\r\n Hackage.Security.TUF.Header\r\n Hackage.Security.TUF.Layout.Cache\r\n Hackage.Security.TUF.Layout.Index\r\n Hackage.Security.TUF.Layout.Repo\r\n Hackage.Security.TUF.Mirrors\r\n Hackage.Security.TUF.Paths\r\n Hackage.Security.TUF.Patterns\r\n Hackage.Security.TUF.Root\r\n Hackage.Security.TUF.Signed\r\n Hackage.Security.TUF.Snapshot\r\n Hackage.Security.TUF.Targets\r\n Hackage.Security.TUF.Timestamp\r\n Hackage.Security.Util.Base64\r\n Hackage.Security.Util.Exit\r\n Hackage.Security.Util.IO\r\n Hackage.Security.Util.JSON\r\n Hackage.Security.Util.Lens\r\n Hackage.Security.Util.Stack\r\n Hackage.Security.Util.TypedEmbedded\r\n\r\n build-depends: base >= 4.11 && < 4.21,\r\n base16-bytestring >= 0.1.1 && < 1.1,\r\n base64-bytestring >= 1.0 && < 1.3,\r\n bytestring >= 0.10.8.2 && < 0.13,\r\n containers >= 0.5.11 && < 0.8,\r\n cryptohash-sha256 >= 0.11 && < 0.12,\r\n directory >= 1.3.1.5 && < 1.4,\r\n ed25519 >= 0.0 && < 0.1,\r\n filepath >= 1.4.2 && < 1.6,\r\n mtl >= 2.2.2 && < 2.4,\r\n network-uri >= 2.6 && < 2.7,\r\n network >= 2.6 && < 3.3,\r\n parsec >= 3.1.13 && < 3.2,\r\n pretty >= 1.0 && < 1.2,\r\n -- 0.4.2 introduces TarIndex, 0.4.4 introduces more\r\n -- functionality, 0.5.0 changes type of serialise\r\n tar >= 0.5 && < 0.7,\r\n template-haskell >= 2.13 && < 2.23,\r\n time >= 1.8.0.2 && < 1.15,\r\n transformers >= 0.3 && < 0.7,\r\n zlib >= 0.5 && < 0.8,\r\n -- whatever versions are bundled with ghc:\r\n ghc-prim >= 0.5.2 && < 0.12\r\n\r\n if flag(lukko)\r\n build-depends: lukko >= 0.1 && < 0.2\r\n else\r\n build-depends: base >= 4.11\r\n\r\n if flag(Cabal-syntax)\r\n build-depends: Cabal-syntax >= 3.7 && < 3.16\r\n else\r\n build-depends: Cabal >= 2.2.0.1 && < 2.6\r\n || >= 3.0 && < 3.7,\r\n Cabal-syntax < 3.7\r\n\r\n hs-source-dirs: src\r\n default-language: Haskell2010\r\n default-extensions: DefaultSignatures\r\n DeriveDataTypeable\r\n DeriveFunctor\r\n FlexibleContexts\r\n FlexibleInstances\r\n GADTs\r\n GeneralizedNewtypeDeriving\r\n KindSignatures\r\n MultiParamTypeClasses\r\n NamedFieldPuns\r\n NoImplicitPrelude\r\n NoMonomorphismRestriction\r\n PatternSynonyms\r\n RankNTypes\r\n RecordWildCards\r\n ScopedTypeVariables\r\n StandaloneDeriving\r\n TupleSections\r\n TypeFamilies\r\n TypeOperators\r\n ViewPatterns\r\n other-extensions:\r\n AllowAmbiguousTypes\r\n BangPatterns\r\n CPP\r\n DeriveLift\r\n OverlappingInstances\r\n PackageImports\r\n RoleAnnotations\r\n StaticPointers\r\n UndecidableInstances\r\n\r\n ghc-options: -Wall\r\n\r\ntest-suite TestSuite\r\n type: exitcode-stdio-1.0\r\n main-is: TestSuite.hs\r\n other-modules: TestSuite.HttpMem\r\n TestSuite.InMemCache\r\n TestSuite.InMemRepo\r\n TestSuite.InMemRepository\r\n TestSuite.JSON\r\n TestSuite.PrivateKeys\r\n TestSuite.Util.StrictMVar\r\n\r\n -- inherited constraints from lib:hackage-security component\r\n build-depends: hackage-security,\r\n base,\r\n containers,\r\n bytestring,\r\n network-uri,\r\n tar,\r\n text,\r\n time,\r\n zlib\r\n\r\n if flag(Cabal-syntax)\r\n build-depends: Cabal >= 3.7 && < 3.16,\r\n Cabal-syntax >= 3.7 && < 3.16\r\n else\r\n build-depends: Cabal >= 2.2.0.1 && < 2.6\r\n || >= 3.0 && < 3.7,\r\n Cabal-syntax < 3.7\r\n\r\n -- dependencies exclusive to test-suite\r\n build-depends: tasty >= 1.1.0.4 && < 1.6,\r\n -- tasty-1.1.0.4 is the version in Stackage LTS 12.26 (GHC 8.4)\r\n tasty-hunit == 0.10.*,\r\n tasty-quickcheck >= 0.10 && < 1,\r\n QuickCheck >= 2.11 && < 2.16,\r\n aeson >= 1.4 && < 1.6 || >= 2.0 && < 2.3,\r\n vector >= 0.12 && < 0.14,\r\n unordered-containers >= 0.2.8.0 && < 0.3,\r\n temporary >= 1.2 && < 1.4\r\n\r\n hs-source-dirs: tests\r\n default-language: Haskell2010\r\n default-extensions: FlexibleContexts\r\n GADTs\r\n KindSignatures\r\n RankNTypes\r\n RecordWildCards\r\n ScopedTypeVariables\r\n ghc-options: -Wall\r\n"; } \ No newline at end of file diff --git a/materialized/ghcjs/cabal/ghc8107/cabal-files/hashable.nix b/materialized/ghcjs/cabal/ghc8107/cabal-files/hashable.nix index 4b125fa0bc..69166ed876 100644 --- a/materialized/ghcjs/cabal/ghc8107/cabal-files/hashable.nix +++ b/materialized/ghcjs/cabal/ghc8107/cabal-files/hashable.nix @@ -8,10 +8,14 @@ , config , ... }: ({ - flags = { integer-gmp = true; random-initial-seed = false; }; + flags = { + integer-gmp = true; + arch-native = false; + random-initial-seed = false; + }; package = { - specVersion = "1.12"; - identifier = { name = "hashable"; version = "1.4.3.0"; }; + specVersion = "2.2"; + identifier = { name = "hashable"; version = "1.4.7.0"; }; license = "BSD-3-Clause"; copyright = ""; maintainer = "Oleg Grenrus "; @@ -19,20 +23,26 @@ 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."; + description = "This package defines a class, 'Hashable', for types that can be converted to a hash value.\nThis class exists for the benefit of hashing-based data structures.\nThe package provides instances for basic types and a way to combine hash values.\n\n'Hashable' is intended exclusively for use in in-memory data structures.\n\n'Hashable' does /not/ have a fixed standard.\nThis allows it to improve over time.\n\nBecause it does not have a fixed standard, different computers or computers on different versions of the code will observe different hash values.\nAs such, 'hashable' is not recommended for use other than in-memory datastructures.\nSpecifically, 'hashable' is not intended for network use or in applications which persist hashed values.\nFor stable hashing use named hashes: sha256, crc32, xxhash etc."; buildType = "Simple"; }; components = { "library" = { - depends = (([ + 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" + ] ++ (if compiler.isGhc && compiler.version.ge "9.2" + then [ + (hsPkgs."os-string" or (errorHandler.buildDepError "os-string")) + (hsPkgs."filepath" or (errorHandler.buildDepError "filepath")) + ] + else [ + (hsPkgs."filepath" or (errorHandler.buildDepError "filepath")) + ])) ++ 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")) @@ -47,19 +57,31 @@ }; tests = { "hashable-tests" = { - depends = [ + depends = ([ (hsPkgs."base" or (errorHandler.buildDepError "base")) (hsPkgs."bytestring" or (errorHandler.buildDepError "bytestring")) + (hsPkgs."filepath" or (errorHandler.buildDepError "filepath")) (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."tasty" or (errorHandler.buildDepError "tasty")) + (hsPkgs."tasty-hunit" or (errorHandler.buildDepError "tasty-hunit")) + (hsPkgs."tasty-quickcheck" or (errorHandler.buildDepError "tasty-quickcheck")) (hsPkgs."text" or (errorHandler.buildDepError "text")) - ] ++ pkgs.lib.optional (!system.isWindows) (hsPkgs."unix" or (errorHandler.buildDepError "unix")); + ] ++ pkgs.lib.optional (compiler.isGhc && compiler.version.ge "9.2") (hsPkgs."os-string" or (errorHandler.buildDepError "os-string"))) ++ pkgs.lib.optional (!system.isWindows) (hsPkgs."unix" or (errorHandler.buildDepError "unix")); + buildable = true; + }; + "xxhash-tests" = { + depends = [ + (hsPkgs."base" or (errorHandler.buildDepError "base")) + (hsPkgs."bytestring" or (errorHandler.buildDepError "bytestring")) + (hsPkgs."primitive" or (errorHandler.buildDepError "primitive")) + (hsPkgs."tasty" or (errorHandler.buildDepError "tasty")) + (hsPkgs."tasty-hunit" or (errorHandler.buildDepError "tasty-hunit")) + (hsPkgs."tasty-quickcheck" or (errorHandler.buildDepError "tasty-quickcheck")) + ] ++ pkgs.lib.optional (!(compiler.isGhc && compiler.version.ge "9.4")) (hsPkgs."data-array-byte" or (errorHandler.buildDepError "data-array-byte")); buildable = true; }; "hashable-examples" = { @@ -74,9 +96,9 @@ }; } // { src = pkgs.lib.mkDefault (pkgs.fetchurl { - url = "http://hackage.haskell.org/package/hashable-1.4.3.0.tar.gz"; - sha256 = "32efb16c2891786209b7cbe5c39df9b3a9ae51e836f1a54f646bc4602b7ab0f5"; + url = "http://hackage.haskell.org/package/hashable-1.4.7.0.tar.gz"; + sha256 = "3baee4c9027a08830d148ec524cbc0471de645e1e8426d46780ef2758df0e8da"; }); }) // { - 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"; + package-description-override = "cabal-version: 2.2\nname: hashable\nversion: 1.4.7.0\nsynopsis: A class for types that can be converted to a hash value\ndescription:\n This package defines a class, 'Hashable', for types that can be converted to a hash value.\n This class exists for the benefit of hashing-based data structures.\n The package provides instances for basic types and a way to combine hash values.\n .\n 'Hashable' is intended exclusively for use in in-memory data structures.\n .\n 'Hashable' does /not/ have a fixed standard.\n This allows it to improve over time.\n .\n Because it does not have a fixed standard, different computers or computers on different versions of the code will observe different hash values.\n As such, 'hashable' is not recommended for use other than in-memory datastructures.\n Specifically, 'hashable' is not intended for network use or in applications which persist hashed values.\n For stable hashing use named hashes: sha256, crc32, xxhash etc.\n\nhomepage: http://github.com/haskell-unordered-containers/hashable\nlicense: BSD-3-Clause\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.6.5\n || ==8.8.4\n || ==8.10.4\n || ==8.10.7\n || ==9.0.1\n || ==9.0.2\n || ==9.2.8\n || ==9.4.8\n || ==9.6.4\n || ==9.8.2\n || ==9.10.1\n\nextra-source-files:\n CHANGES.md\n include/HsHashable.h\n include/HsXXHash.h\n README.md\n xxHash-0.8.2/xxhash.h\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 arch-native\n description:\n Use @-march=native@ when compiling C sources.\n Portable implementation is 15-50% slower.\n Consider enabling this flag if hashing performance is important.\n\n manual: True\n default: False\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.FFI\n Data.Hashable.Generic.Instances\n Data.Hashable.Imports\n Data.Hashable.LowLevel\n Data.Hashable.Mix\n Data.Hashable.XXH3\n\n include-dirs: include xxHash-0.8.2\n includes:\n HsHashable.h\n HsXXHash.h\n xxhash.h\n\n hs-source-dirs: src\n build-depends:\n , base >=4.12.0.0 && <4.21\n , bytestring >=0.10.8.2 && <0.13\n , containers >=0.6.0.1 && <0.8\n , deepseq >=1.4.4.0 && <1.6\n , ghc-prim\n , text >=1.2.3.0 && <1.3 || >=2.0 && <2.2\n\n if impl(ghc >=9.2)\n -- depend on os-string on newer GHCs only.\n -- os-string has tight lower bound on bytestring, which prevents\n -- using bundled version on older GHCs.\n build-depends: os-string >=2.0.2\n\n -- we also ensure that we can get filepath-1.5 only with GHC-9.2\n -- therefore there is else-branch with stricter upper bound.\n build-depends: filepath >=1.4.1.2 && <1.6\n\n else\n build-depends: filepath >=1.4.1.2 && <1.5\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\n\n if flag(arch-native)\n -- Cabal doesn't pass cc-options to \"ordinary\" Haskell source compilation\n -- https://github.com/haskell/cabal/issues/9801\n ghc-options: -optc=-march=native -optc-mtune=native\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 , filepath\n , ghc-prim\n , hashable\n , HUnit\n , QuickCheck >=2.4.0.1\n , random >=1.0 && <1.3\n , tasty ^>=1.5\n , tasty-hunit ^>=0.10.1\n , tasty-quickcheck ^>=0.10.3\n , text >=0.11.0.5\n\n if impl(ghc >=9.2)\n build-depends: os-string\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 xxhash-tests\n type: exitcode-stdio-1.0\n hs-source-dirs: tests src\n main-is: xxhash-tests.hs\n other-modules:\n Data.Hashable.FFI\n Data.Hashable.XXH3\n\n default-language: Haskell2010\n build-depends:\n , base\n , bytestring\n , primitive ^>=0.9.0.0\n , tasty ^>=1.5\n , tasty-hunit ^>=0.10.1\n , tasty-quickcheck ^>=0.10.3\n\n include-dirs: include xxHash-0.8.2\n includes:\n HsXXHash.h\n xxhash.h\n\n if !impl(ghc >=9.4)\n build-depends: data-array-byte >=0.1.0.1 && <0.2\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/ghcjs/cabal/ghc8107/cabal-files/hsc2hs.nix b/materialized/ghcjs/cabal/ghc8107/cabal-files/hsc2hs.nix index 0fef1bd61d..00b0a9603a 100644 --- a/materialized/ghcjs/cabal/ghc8107/cabal-files/hsc2hs.nix +++ b/materialized/ghcjs/cabal/ghc8107/cabal-files/hsc2hs.nix @@ -53,5 +53,5 @@ sha256 = "6f4e34d788fe2ca7091ee0a10307ee8a7c060a1ba890f2bffad16a7d4d5cef76"; }); }) // { - package-description-override = "cabal-version: >=1.10\nName: hsc2hs\nVersion: 0.68.10\nx-revision: 1\n\nCopyright: 2000, Marcin Kowalczyk\nLicense: BSD3\nLicense-File: LICENSE\nAuthor: Marcin Kowalczyk \nMaintainer: ghc-devs@haskell.org\nSynopsis: A preprocessor that helps with writing Haskell bindings to C code\nBug-Reports: https://github.com/haskell/hsc2hs/issues\nDescription:\n The hsc2hs program can be used to automate some parts of the\n process of writing Haskell bindings to C code. It reads an\n almost-Haskell source file with embedded special constructs, and\n outputs a real Haskell file with these constructs processed, based\n on information taken from some C headers. The extra constructs\n provide Haskell counterparts of C types, values of C constants,\n including sizes of C types, and access to fields of C structs.\n .\n For more details, see the\n \n in the GHC User's Guide.\nCategory: Development\nData-Dir: data/\nData-Files: template-hsc.h\nbuild-type: Simple\n\ntested-with:\n GHC == 9.8.0\n GHC == 9.6.3\n GHC == 9.4.7\n GHC == 9.2.8\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 -- GHC == 7.6.3\n -- GHC == 7.4.2\n -- GHC == 7.2.2\n -- GHC == 7.0.4\n\nextra-source-files:\n changelog.md\n test/asm/*.s\n\nflag in-ghc-tree\n description: Are we in a GHC tree?\n default: False\n manual: True\n\nsource-repository head\n Type: git\n Location: https://github.com/haskell/hsc2hs.git\n\nExecutable hsc2hs\n Default-Language: Haskell2010\n Main-Is: Main.hs\n Hs-Source-Dirs: src/\n Other-Modules:\n C\n Common\n CrossCodegen\n DirectCodegen\n Flags\n HSCParser\n ATTParser\n UtilsCodegen\n Compat.ResponseFile\n Compat.TempFile\n Paths_hsc2hs\n\n c-sources:\n cbits/utils.c\n\n Other-Extensions: CPP, NoMonomorphismRestriction\n\n Build-Depends: base >= 4.3.0 && < 4.20,\n containers >= 0.4.0 && < 0.8,\n directory >= 1.1.0 && < 1.4,\n filepath >= 1.2.0 && < 1.5,\n process >= 1.1.0 && < 1.7\n\n if os(windows)\n -- N.B. Job object support was irreparably broken prior to 1.6.8.\n -- See https://github.com/haskell/process/issues/167.\n Build-Depends: process >= 1.6.8 && < 1.7\n\n ghc-options: -Wall\n if flag(in-ghc-tree)\n cpp-options: -DIN_GHC_TREE\n\ntest-suite spec\n main-is: Spec.hs\n hs-source-dirs: src/ test/\n other-modules: ATTParser Flags BDD\n ghc-options: -Wall -threaded\n type: exitcode-stdio-1.0\n build-depends: base,\n test-framework >=0.8.2.0 && <0.9,\n test-framework-hunit >=0.3.0.2 && <0.4,\n HUnit >=1.3.1.2 && <1.4 || >=1.6.0.0 && <1.7\n\n default-language: Haskell2010\n"; + package-description-override = "cabal-version: >=1.10\nName: hsc2hs\nVersion: 0.68.10\nx-revision: 2\n\nCopyright: 2000, Marcin Kowalczyk\nLicense: BSD3\nLicense-File: LICENSE\nAuthor: Marcin Kowalczyk \nMaintainer: ghc-devs@haskell.org\nSynopsis: A preprocessor that helps with writing Haskell bindings to C code\nBug-Reports: https://github.com/haskell/hsc2hs/issues\nDescription:\n The hsc2hs program can be used to automate some parts of the\n process of writing Haskell bindings to C code. It reads an\n almost-Haskell source file with embedded special constructs, and\n outputs a real Haskell file with these constructs processed, based\n on information taken from some C headers. The extra constructs\n provide Haskell counterparts of C types, values of C constants,\n including sizes of C types, and access to fields of C structs.\n .\n For more details, see the\n \n in the GHC User's Guide.\nCategory: Development\nData-Dir: data/\nData-Files: template-hsc.h\nbuild-type: Simple\n\ntested-with:\n GHC == 9.10.0\n GHC == 9.8.2\n GHC == 9.6.4\n GHC == 9.4.8\n GHC == 9.2.8\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 -- GHC == 7.6.3\n -- GHC == 7.4.2\n -- GHC == 7.2.2\n -- GHC == 7.0.4\n\nextra-source-files:\n changelog.md\n test/asm/*.s\n\nflag in-ghc-tree\n description: Are we in a GHC tree?\n default: False\n manual: True\n\nsource-repository head\n Type: git\n Location: https://github.com/haskell/hsc2hs.git\n\nExecutable hsc2hs\n Default-Language: Haskell2010\n Main-Is: Main.hs\n Hs-Source-Dirs: src/\n Other-Modules:\n C\n Common\n CrossCodegen\n DirectCodegen\n Flags\n HSCParser\n ATTParser\n UtilsCodegen\n Compat.ResponseFile\n Compat.TempFile\n Paths_hsc2hs\n\n c-sources:\n cbits/utils.c\n\n Other-Extensions: CPP, NoMonomorphismRestriction\n\n Build-Depends: base >= 4.3.0 && < 4.21,\n containers >= 0.4.0 && < 0.8,\n directory >= 1.1.0 && < 1.4,\n filepath >= 1.2.0 && < 1.6,\n process >= 1.1.0 && < 1.7\n\n if os(windows)\n -- N.B. Job object support was irreparably broken prior to 1.6.8.\n -- See https://github.com/haskell/process/issues/167.\n Build-Depends: process >= 1.6.8 && < 1.7\n\n ghc-options: -Wall\n if flag(in-ghc-tree)\n cpp-options: -DIN_GHC_TREE\n\ntest-suite spec\n main-is: Spec.hs\n hs-source-dirs: src/ test/\n other-modules: ATTParser Flags BDD\n ghc-options: -Wall -threaded\n type: exitcode-stdio-1.0\n build-depends: base,\n test-framework >=0.8.2.0 && <0.9,\n test-framework-hunit >=0.3.0.2 && <0.4,\n HUnit >=1.3.1.2 && <1.4 || >=1.6.0.0 && <1.7\n\n default-language: Haskell2010\n"; } \ No newline at end of file diff --git a/materialized/ghcjs/cabal/ghc8107/cabal-files/lukko.nix b/materialized/ghcjs/cabal/ghc8107/cabal-files/lukko.nix index ee63e091be..ae4cc88947 100644 --- a/materialized/ghcjs/cabal/ghc8107/cabal-files/lukko.nix +++ b/materialized/ghcjs/cabal/ghc8107/cabal-files/lukko.nix @@ -11,7 +11,7 @@ flags = { ofd-locking = true; }; package = { specVersion = "2.2"; - identifier = { name = "lukko"; version = "0.1.1.3"; }; + identifier = { name = "lukko"; version = "0.1.2"; }; license = "GPL-2.0-or-later AND BSD-3-Clause"; copyright = ""; maintainer = "Oleg Grenrus "; @@ -42,7 +42,7 @@ (hsPkgs."tasty-expected-failure" or (errorHandler.buildDepError "tasty-expected-failure")) (hsPkgs."tasty-hunit" or (errorHandler.buildDepError "tasty-hunit")) (hsPkgs."temporary" or (errorHandler.buildDepError "temporary")) - ] ++ pkgs.lib.optional (!(compiler.isGhc && compiler.version.ge "7.8")) (hsPkgs."tagged" or (errorHandler.buildDepError "tagged")); + ]; buildable = true; }; "test-process" = { @@ -57,9 +57,9 @@ }; } // { src = pkgs.lib.mkDefault (pkgs.fetchurl { - url = "http://hackage.haskell.org/package/lukko-0.1.1.3.tar.gz"; - sha256 = "a80efb60cfa3dae18682c01980d76d5f7e413e191cd186992e1bf7388d48ab1f"; + url = "http://hackage.haskell.org/package/lukko-0.1.2.tar.gz"; + sha256 = "72d86f8aa625b461f4397f737346f78a1700a7ffbff55cf6375c5e18916e986d"; }); }) // { - package-description-override = "cabal-version: 2.2\nname: lukko\nversion: 0.1.1.3\nx-revision: 5\nsynopsis: File locking\ncategory: System, Concurrency\ndescription:\n This package provides access to platform dependent file locking APIs:\n .\n * on Linux (\"Lukko.OFD\")\n * BSD-style @flock(2)@ locks on UNIX platforms (\"Lukko.FLock\")\n * Windows locking via (\"Lukko.Windows\")\n * No-op locking, which throws exceptions (\"Lukko.NoOp\")\n * \"Lukko\" module exports the best option for the target platform with uniform API.\n .\n There are alternative file locking packages:\n .\n * \"GHC.IO.Handle.Lock\" in @base >= 4.10@ is good enough for most use cases.\n However, uses only 'Handle's so these locks cannot be used for intra-process locking.\n (You should use e.g. 'MVar' in addition).\n .\n * doesn't support OFD locking.\n .\n /Lukko/ means lock in Finnish.\n .\n Submodules \"Lukko.OFD\", \"Lukko.Windows\" etc are available based on following conditions.\n .\n @\n if os(windows)\n \\ cpp-options: -DHAS_WINDOWS_LOCK\n .\n elif (os(linux) && flag(ofd-locking))\n \\ cpp-options: -DHAS_OFD_LOCKING\n \\ cpp-options: -DHAS_FLOCK\n .\n elif !(os(solaris) || os(aix))\n \\ cpp-options: -DHAS_FLOCK\n @\n .\n \"Lukko.FLock\" is available on not (Windows or Solaris or AIX).\n \"Lukko.NoOp\" is always available.\n\nmaintainer: Oleg Grenrus \nlicense: GPL-2.0-or-later AND BSD-3-Clause\nlicense-files:\n LICENSE\n LICENSE.GPLv2\n LICENSE.GPLv3\n\nbuild-type: Simple\nextra-source-files: CHANGELOG.md\ntested-with:\n GHC ==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.7\n || ==9.0.2\n || ==9.2.8\n || ==9.4.7\n || ==9.6.3\n || ==9.8.1\n\nsource-repository head\n type: git\n location: https://github.com/haskellari/lukko/\n\nflag ofd-locking\n default: True\n manual: True\n description:\n Enable open file descriptor locking. Available on Linux (kernel 3.15, released Jun 8, 2014).\n\nlibrary\n default-language: Haskell2010\n hs-source-dirs: src\n build-depends: base >=4.5 && <4.20\n build-tool-depends: hsc2hs:hsc2hs >=0.67 && <0.69\n\n -- Main library module\n exposed-modules:\n Lukko\n Lukko.NoOp\n\n if os(windows)\n hs-source-dirs: src-windows\n cpp-options: -DUSE_WINDOWS_LOCK\n exposed-modules: Lukko.Windows\n c-sources: cbits/windows.c\n\n elif (os(linux) && flag(ofd-locking))\n hs-source-dirs: src-ofd\n hs-source-dirs: src-flock\n hs-source-dirs: src-unix\n cpp-options: -DUSE_OFD_LOCKING\n exposed-modules: Lukko.OFD\n\n elif !(os(solaris) || os(aix))\n hs-source-dirs: src-flock\n hs-source-dirs: src-unix\n cpp-options: -DUSE_FLOCK\n\n else\n hs-source-dirs: src-unix\n cpp-options: -DUSE_NOOP\n\n -- Cabal check is silly\n if (!os(windows) && !(os(solaris) || os(aix)))\n exposed-modules: Lukko.FLock\n\n other-modules:\n Lukko.Internal.FD\n Lukko.Internal.FillBytes\n Lukko.Internal.HandleToFD\n Lukko.Internal.Types\n\ntest-suite test-thread\n default-language: Haskell2010\n type: exitcode-stdio-1.0\n hs-source-dirs: test\n main-is: Tests.hs\n ghc-options: -threaded\n build-depends:\n , async ^>=2.2.2\n , base\n , filepath ^>=1.3.0.0 || ^>=1.4.0.0\n , lukko\n , singleton-bool ^>=0.1.5\n , tasty >=1.4.0.1 && <1.5 || ^>=1.5\n , tasty-expected-failure ^>=0.11.1.2 || ^>=0.12.2\n , tasty-hunit ^>=0.10.0.2\n , temporary ^>=1.3\n\n if !impl(ghc >=7.8)\n build-depends: tagged ^>=0.8.5\n\n if os(windows)\n cpp-options: -DHAS_WINDOWS_LOCK\n\n elif (os(linux) && flag(ofd-locking))\n cpp-options: -DHAS_OFD_LOCKING\n cpp-options: -DHAS_FLOCK\n\n elif !(os(solaris) || os(aix))\n cpp-options: -DHAS_FLOCK\n\ntest-suite test-process\n default-language: Haskell2010\n type: exitcode-stdio-1.0\n hs-source-dirs: test\n main-is: TestProcess.hs\n ghc-options: -threaded\n build-depends:\n , base\n , bytestring >=0.9.2.1 && <0.13\n , lukko\n\n if os(windows)\n cpp-options: -DHAS_WINDOWS_LOCK\n\n elif (os(linux) && flag(ofd-locking))\n cpp-options: -DHAS_OFD_LOCKING\n cpp-options: -DHAS_FLOCK\n\n elif !(os(solaris) || os(aix))\n cpp-options: -DHAS_FLOCK\n"; + package-description-override = "cabal-version: 2.2\nname: lukko\nversion: 0.1.2\nsynopsis: File locking\ncategory: System, Concurrency\ndescription:\n This package provides access to platform dependent file locking APIs:\n .\n * on Linux (\"Lukko.OFD\")\n * BSD-style @flock(2)@ locks on UNIX platforms (\"Lukko.FLock\")\n * Windows locking via (\"Lukko.Windows\")\n * No-op locking, which throws exceptions (\"Lukko.NoOp\")\n * \"Lukko\" module exports the best option for the target platform with uniform API.\n .\n There are alternative file locking packages:\n .\n * \"GHC.IO.Handle.Lock\" in @base >= 4.10@ is good enough for most use cases.\n However, uses only 'Handle's so these locks cannot be used for intra-process locking.\n (You should use e.g. 'MVar' in addition).\n .\n * doesn't support OFD locking.\n .\n /Lukko/ means lock in Finnish.\n .\n Submodules \"Lukko.OFD\", \"Lukko.Windows\" etc are available based on following conditions.\n .\n @\n if os(windows)\n \\ cpp-options: -DHAS_WINDOWS_LOCK\n .\n elif (os(linux) && flag(ofd-locking))\n \\ cpp-options: -DHAS_OFD_LOCKING\n \\ cpp-options: -DHAS_FLOCK\n .\n elif !(os(solaris) || os(aix))\n \\ cpp-options: -DHAS_FLOCK\n @\n .\n \"Lukko.FLock\" is available on not (Windows or Solaris or AIX).\n \"Lukko.NoOp\" is always available.\n\nmaintainer: Oleg Grenrus \nlicense: GPL-2.0-or-later AND BSD-3-Clause\nlicense-files:\n LICENSE\n LICENSE.GPLv2\n LICENSE.GPLv3\n\nbuild-type: Simple\nextra-source-files: CHANGELOG.md\ntested-with:\n GHC ==8.6.5\n || ==8.8.4\n || ==8.10.7\n || ==9.0.2\n || ==9.2.8\n || ==9.4.8\n || ==9.6.5\n || ==9.8.2\n || ==9.10.1\n\nsource-repository head\n type: git\n location: https://github.com/haskellari/lukko/\n\nflag ofd-locking\n default: True\n manual: True\n description:\n Enable open file descriptor locking. Available on Linux (kernel 3.15, released Jun 8, 2014).\n\nlibrary\n default-language: Haskell2010\n hs-source-dirs: src\n build-depends: base >=4.12.0.0 && <4.21\n build-tool-depends: hsc2hs:hsc2hs >=0.68.5 && <0.69\n\n -- Main library module\n exposed-modules:\n Lukko\n Lukko.NoOp\n\n if os(windows)\n hs-source-dirs: src-windows\n cpp-options: -DUSE_WINDOWS_LOCK\n exposed-modules: Lukko.Windows\n c-sources: cbits/windows.c\n\n elif (os(linux) && flag(ofd-locking))\n hs-source-dirs: src-ofd\n hs-source-dirs: src-flock\n hs-source-dirs: src-unix\n cpp-options: -DUSE_OFD_LOCKING\n exposed-modules: Lukko.OFD\n\n elif !(os(solaris) || os(aix))\n hs-source-dirs: src-flock\n hs-source-dirs: src-unix\n cpp-options: -DUSE_FLOCK\n\n else\n hs-source-dirs: src-unix\n cpp-options: -DUSE_NOOP\n\n -- Cabal check is silly\n if (!os(windows) && !(os(solaris) || os(aix)))\n exposed-modules: Lukko.FLock\n\n other-modules:\n Lukko.Internal.FD\n Lukko.Internal.FillBytes\n Lukko.Internal.HandleToFD\n Lukko.Internal.Types\n\ntest-suite test-thread\n default-language: Haskell2010\n type: exitcode-stdio-1.0\n hs-source-dirs: test\n main-is: Tests.hs\n ghc-options: -threaded\n build-depends:\n , async ^>=2.2.2\n , base\n , filepath ^>=1.4.2.1 || ^>=1.5.2.0\n , lukko\n , singleton-bool ^>=0.1.8\n , tasty ^>=1.5\n , tasty-expected-failure ^>=0.12.3\n , tasty-hunit ^>=0.10.0.2\n , temporary ^>=1.3\n\n if os(windows)\n cpp-options: -DHAS_WINDOWS_LOCK\n\n elif (os(linux) && flag(ofd-locking))\n cpp-options: -DHAS_OFD_LOCKING\n cpp-options: -DHAS_FLOCK\n\n elif !(os(solaris) || os(aix))\n cpp-options: -DHAS_FLOCK\n\ntest-suite test-process\n default-language: Haskell2010\n type: exitcode-stdio-1.0\n hs-source-dirs: test\n main-is: TestProcess.hs\n ghc-options: -threaded\n build-depends:\n , base\n , bytestring >=0.10.8.2 && <0.13\n , lukko\n\n if os(windows)\n cpp-options: -DHAS_WINDOWS_LOCK\n\n elif (os(linux) && flag(ofd-locking))\n cpp-options: -DHAS_OFD_LOCKING\n cpp-options: -DHAS_FLOCK\n\n elif !(os(solaris) || os(aix))\n cpp-options: -DHAS_FLOCK\n"; } \ No newline at end of file diff --git a/materialized/ghcjs/cabal/ghc8107/cabal-files/network.nix b/materialized/ghcjs/cabal/ghc8107/cabal-files/network.nix index 2f2f631c46..781d3182b3 100644 --- a/materialized/ghcjs/cabal/ghc8107/cabal-files/network.nix +++ b/materialized/ghcjs/cabal/ghc8107/cabal-files/network.nix @@ -11,10 +11,10 @@ flags = { devel = false; }; package = { specVersion = "1.18"; - identifier = { name = "network"; version = "3.1.4.0"; }; + identifier = { name = "network"; version = "3.2.4.0"; }; license = "BSD-3-Clause"; copyright = ""; - maintainer = "Kazu Yamamoto, Evan Borden"; + maintainer = "Kazu Yamamoto, Tamar Christina"; author = ""; homepage = "https://github.com/haskell/network"; url = ""; @@ -29,6 +29,7 @@ (hsPkgs."bytestring" or (errorHandler.buildDepError "bytestring")) (hsPkgs."deepseq" or (errorHandler.buildDepError "deepseq")) (hsPkgs."directory" or (errorHandler.buildDepError "directory")) + (hsPkgs."stm" or (errorHandler.buildDepError "stm")) ] ++ pkgs.lib.optional (system.isWindows) (hsPkgs."temporary" or (errorHandler.buildDepError "temporary")); libs = pkgs.lib.optionals (system.isSolaris) [ (pkgs."nsl" or (errorHandler.sysDepError "nsl")) @@ -64,9 +65,9 @@ }; } // { src = pkgs.lib.mkDefault (pkgs.fetchurl { - url = "http://hackage.haskell.org/package/network-3.1.4.0.tar.gz"; - sha256 = "b452a2afac95d9207357eb3820c719c7c7d27871ef4b6ed7bfcd03a036b9158e"; + url = "http://hackage.haskell.org/package/network-3.2.4.0.tar.gz"; + sha256 = "2c7077d0826727c1156ee03c30069e19c0ac8aeb65f8a54ed642cc71999cb79b"; }); }) // { - package-description-override = "cabal-version: 1.18\nname: network\nversion: 3.1.4.0\nx-revision: 1\nlicense: BSD3\nlicense-file: LICENSE\nmaintainer: Kazu Yamamoto, Evan Borden\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\nhomepage: https://github.com/haskell/network\nbug-reports: https://github.com/haskell/network/issues\nsynopsis: Low-level networking interface\ndescription:\n This package provides a low-level networking interface.\n .\n === High-Level Packages\n Other packages provide higher level interfaces:\n .\n * connection\n * hookup\n * network-simple\n .\n === Extended Packages\n @network@ seeks to provide a cross-platform core for networking. As such some\n APIs live in extended libraries. Packages in the @network@ ecosystem are\n often prefixed with @network-@.\n .\n ==== @network-bsd@\n In @network-3.0.0.0@ the @Network.BSD@ module was split off into its own\n package, @network-bsd-3.0.0.0@.\n .\n ==== @network-uri@\n In @network-2.6@ the @Network.URI@ module was split off into its own package,\n @network-uri-2.6@. If you're using the @Network.URI@ module you can\n automatically get it from the right package by adding this to your @.cabal@\n file:\n .\n > library\n > build-depends: network-uri-flag\n\ncategory: Network\nbuild-type: Configure\n\nextra-doc-files:\n README.md\n CHANGELOG.md\n\nextra-source-files:\n examples/*.hs\n tests/*.hs\n config.guess\n config.sub\n install-sh\n configure.ac\n configure\n include/HsNetworkConfig.h.in\n include/HsNet.h\n include/HsNetDef.h\n include/afunix_compat.h\n cbits/asyncAccept.c\n cbits/initWinSock.c\n cbits/winSockErr.c\n cbits/cmsg.c\n\nextra-tmp-files:\n config.log\n config.status\n autom4te.cache\n network.buildinfo\n include/HsNetworkConfig.h\n\nsource-repository head\n type: git\n location: https://github.com/haskell/network.git\n\nflag devel\n description: using tests for developers\n default: False\n\nlibrary\n exposed-modules:\n Network.Socket\n Network.Socket.Address\n Network.Socket.ByteString\n Network.Socket.ByteString.Lazy\n Network.Socket.Internal\n\n build-tools: hsc2hs >=0\n c-sources:\n cbits/HsNet.c\n cbits/cmsg.c\n\n other-modules:\n Network.Socket.Buffer\n Network.Socket.ByteString.IO\n Network.Socket.ByteString.Internal\n Network.Socket.Cbits\n Network.Socket.Fcntl\n Network.Socket.Flag\n Network.Socket.Handle\n Network.Socket.If\n Network.Socket.Imports\n Network.Socket.Info\n Network.Socket.Name\n Network.Socket.Options\n Network.Socket.ReadShow\n Network.Socket.Shutdown\n Network.Socket.SockAddr\n Network.Socket.Syscall\n Network.Socket.Types\n Network.Socket.Unix\n\n default-language: Haskell2010\n include-dirs: include\n includes: HsNet.h HsNetDef.h alignment.h win32defs.h\n install-includes: HsNet.h HsNetDef.h alignment.h win32defs.h\n if os(windows)\n includes: afunix_compat.h\n install-includes: afunix_compat.h\n\n ghc-options: -Wall -fwarn-tabs\n build-depends:\n base >=4.9 && <5,\n bytestring >=0.10 && <0.13,\n deepseq,\n directory\n\n if !os(windows)\n other-modules:\n Network.Socket.ByteString.Lazy.Posix\n Network.Socket.Posix.Cmsg\n Network.Socket.Posix.CmsgHdr\n Network.Socket.Posix.IOVec\n Network.Socket.Posix.MsgHdr\n\n if os(solaris)\n cpp-options: -D__EXTENSIONS__ -D_XOPEN_SOURCE=500\n cc-options: -D__EXTENSIONS__ -D_XOPEN_SOURCE=500\n extra-libraries:\n nsl\n socket\n\n if os(windows)\n c-sources:\n cbits/initWinSock.c\n cbits/winSockErr.c\n cbits/asyncAccept.c\n\n other-modules:\n Network.Socket.ByteString.Lazy.Windows\n Network.Socket.Win32.Cmsg\n Network.Socket.Win32.CmsgHdr\n Network.Socket.Win32.WSABuf\n Network.Socket.Win32.MsgHdr\n\n extra-libraries:\n ws2_32\n iphlpapi\n mswsock\n\n if impl(ghc >=7.10)\n cpp-options: -D_WIN32_WINNT=0x0600\n cc-options: -D_WIN32_WINNT=0x0600\n\n build-depends:\n temporary\n\ntest-suite spec\n type: exitcode-stdio-1.0\n main-is: Spec.hs\n build-tools: hspec-discover >=2.6\n hs-source-dirs: tests\n other-modules:\n Network.Test.Common\n Network.SocketSpec\n Network.Socket.ByteStringSpec\n Network.Socket.ByteString.LazySpec\n\n default-language: Haskell2010\n ghc-options: -Wall -threaded\n build-depends:\n base >=4.9 && <5,\n bytestring,\n directory,\n HUnit,\n network,\n temporary,\n hspec >=2.6,\n QuickCheck\n\n if flag(devel)\n cpp-options: -DDEVELOPMENT\n"; + package-description-override = "cabal-version: 1.18\nname: network\nversion: 3.2.4.0\nlicense: BSD3\nlicense-file: LICENSE\nmaintainer: Kazu Yamamoto, Tamar Christina\n\ntested-with:\n GHC == 9.8.2\n GHC == 9.6.4\n GHC == 9.4.8\n GHC == 9.2.8\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\nhomepage: https://github.com/haskell/network\nbug-reports: https://github.com/haskell/network/issues\nsynopsis: Low-level networking interface\ndescription:\n This package provides a low-level networking interface.\n .\n === High-Level Packages\n Other packages provide higher level interfaces:\n .\n * connection\n * hookup\n * network-simple\n .\n === Extended Packages\n @network@ seeks to provide a cross-platform core for networking. As such some\n APIs live in extended libraries. Packages in the @network@ ecosystem are\n often prefixed with @network-@.\n .\n ==== @network-bsd@\n In @network-3.0.0.0@ the @Network.BSD@ module was split off into its own\n package, @network-bsd-3.0.0.0@.\n .\n ==== @network-uri@\n In @network-2.6@ the @Network.URI@ module was split off into its own package,\n @network-uri-2.6@. If you're using the @Network.URI@ module you can\n automatically get it from the right package by adding this to your @.cabal@\n file:\n .\n > library\n > build-depends: network-uri-flag\n\ncategory: Network\nbuild-type: Configure\n\nextra-doc-files:\n README.md\n CHANGELOG.md\n\nextra-source-files:\n examples/*.hs\n tests/*.hs\n config.guess\n config.sub\n install-sh\n configure.ac\n configure\n include/HsNetworkConfig.h.in\n include/HsNet.h\n include/HsNetDef.h\n include/afunix_compat.h\n cbits/asyncAccept.c\n cbits/initWinSock.c\n cbits/winSockErr.c\n cbits/cmsg.c\n\nextra-tmp-files:\n config.log\n config.status\n autom4te.cache\n network.buildinfo\n include/HsNetworkConfig.h\n\nsource-repository head\n type: git\n location: https://github.com/haskell/network.git\n\nflag devel\n description: using tests for developers\n default: False\n\nlibrary\n exposed-modules:\n Network.Socket\n Network.Socket.Address\n Network.Socket.ByteString\n Network.Socket.ByteString.Lazy\n Network.Socket.Internal\n\n build-tools: hsc2hs >=0\n c-sources:\n cbits/HsNet.c\n cbits/cmsg.c\n\n other-modules:\n Network.Socket.Buffer\n Network.Socket.ByteString.IO\n Network.Socket.ByteString.Internal\n Network.Socket.Cbits\n Network.Socket.Fcntl\n Network.Socket.Flag\n Network.Socket.Handle\n Network.Socket.If\n Network.Socket.Imports\n Network.Socket.Info\n Network.Socket.Name\n Network.Socket.Options\n Network.Socket.ReadShow\n Network.Socket.STM\n Network.Socket.Shutdown\n Network.Socket.SockAddr\n Network.Socket.Syscall\n Network.Socket.Types\n Network.Socket.Unix\n\n default-language: Haskell2010\n include-dirs: include\n install-includes: HsNet.h HsNetDef.h alignment.h win32defs.h\n if os(windows)\n install-includes: afunix_compat.h\n\n ghc-options: -Wall -fwarn-tabs\n build-depends:\n base >=4.9 && <5,\n bytestring >=0.10,\n deepseq,\n directory,\n stm\n\n if !os(windows)\n other-modules:\n Network.Socket.ByteString.Lazy.Posix\n Network.Socket.Posix.Cmsg\n Network.Socket.Posix.CmsgHdr\n Network.Socket.Posix.IOVec\n Network.Socket.Posix.MsgHdr\n\n if os(solaris)\n cpp-options: -D__EXTENSIONS__ -D_XOPEN_SOURCE=500\n cc-options: -D__EXTENSIONS__ -D_XOPEN_SOURCE=500\n extra-libraries:\n nsl\n socket\n\n if os(windows)\n c-sources:\n cbits/initWinSock.c\n cbits/winSockErr.c\n cbits/asyncAccept.c\n\n other-modules:\n Network.Socket.ByteString.Lazy.Windows\n Network.Socket.Win32.Cmsg\n Network.Socket.Win32.CmsgHdr\n Network.Socket.Win32.WSABuf\n Network.Socket.Win32.MsgHdr\n\n extra-libraries:\n ws2_32\n iphlpapi\n mswsock\n\n if impl(ghc >=7.10)\n cpp-options: -D_WIN32_WINNT=0x0600\n cc-options: -D_WIN32_WINNT=0x0600\n\n build-depends:\n temporary\n\n if impl(ghc >=8)\n default-extensions: Strict StrictData\n\ntest-suite spec\n type: exitcode-stdio-1.0\n main-is: Spec.hs\n build-tools: hspec-discover >=2.6\n hs-source-dirs: tests\n other-modules:\n Network.Test.Common\n Network.SocketSpec\n Network.Socket.ByteStringSpec\n Network.Socket.ByteString.LazySpec\n\n default-language: Haskell2010\n ghc-options: -Wall -threaded\n build-depends:\n base,\n bytestring,\n directory,\n HUnit,\n network,\n temporary,\n hspec >=2.6,\n QuickCheck\n\n if flag(devel)\n cpp-options: -DDEVELOPMENT\n\n if impl(ghc >=8)\n default-extensions: Strict StrictData\n\n if os(windows)\n cpp-options: -D_WIN32\n"; } \ No newline at end of file diff --git a/materialized/ghcjs/cabal/ghc8107/cabal-files/process.nix b/materialized/ghcjs/cabal/ghc8107/cabal-files/process.nix index 0c615b19be..22b3c4b10e 100644 --- a/materialized/ghcjs/cabal/ghc8107/cabal-files/process.nix +++ b/materialized/ghcjs/cabal/ghc8107/cabal-files/process.nix @@ -10,8 +10,8 @@ ({ flags = {}; package = { - specVersion = "1.10"; - identifier = { name = "process"; version = "1.6.18.0"; }; + specVersion = "2.4"; + identifier = { name = "process"; version = "1.6.25.0"; }; license = "BSD-3-Clause"; copyright = ""; maintainer = "libraries@haskell.org"; @@ -31,7 +31,7 @@ (hsPkgs."deepseq" or (errorHandler.buildDepError "deepseq")) ] ++ (if system.isWindows then [ (hsPkgs."Win32" or (errorHandler.buildDepError "Win32")) ] - else pkgs.lib.optional (!system.isJavaScript) (hsPkgs."unix" or (errorHandler.buildDepError "unix"))); + else [ (hsPkgs."unix" or (errorHandler.buildDepError "unix")) ]); libs = pkgs.lib.optionals (system.isWindows) [ (pkgs."kernel32" or (errorHandler.sysDepError "kernel32")) (pkgs."ole32" or (errorHandler.sysDepError "ole32")) @@ -39,23 +39,12 @@ ]; buildable = true; }; - tests = { - "test" = { - depends = [ - (hsPkgs."base" or (errorHandler.buildDepError "base")) - (hsPkgs."bytestring" or (errorHandler.buildDepError "bytestring")) - (hsPkgs."directory" or (errorHandler.buildDepError "directory")) - (hsPkgs."process" or (errorHandler.buildDepError "process")) - ]; - buildable = true; - }; - }; }; } // { src = pkgs.lib.mkDefault (pkgs.fetchurl { - url = "http://hackage.haskell.org/package/process-1.6.18.0.tar.gz"; - sha256 = "aa5f4c4fe4974f89f5ab998c7509daa4bda3926cfb06daacd5eba892aad8a37e"; + url = "http://hackage.haskell.org/package/process-1.6.25.0.tar.gz"; + sha256 = "496fe0566c3915b112e9772ac9c967dfeb8d5ca04895e54ae0160522bee76e65"; }); }) // { - package-description-override = "name: process\nversion: 1.6.18.0\n-- NOTE: Don't forget to update ./changelog.md\nlicense: BSD3\nlicense-file: LICENSE\nmaintainer: libraries@haskell.org\nbug-reports: https://github.com/haskell/process/issues\nsynopsis: Process libraries\ncategory: System\nbuild-type: Configure\ncabal-version: >=1.10\ndescription:\n This package contains libraries for dealing with system processes.\n .\n The typed-process package is a more recent take on a process API,\n which uses this package internally. It features better binary\n support, easier concurrency, and a more composable API. You can\n read more about it at\n .\n\nextra-source-files:\n aclocal.m4\n changelog.md\n configure\n configure.ac\n include/HsProcessConfig.h.in\n process.buildinfo\n exes/echo.bat\n exes/subdir/echo.bat\n cbits/posix/common.h\n\nextra-tmp-files:\n autom4te.cache\n config.log\n config.status\n include/HsProcessConfig.h\n\nsource-repository head\n type: git\n location: https://github.com/haskell/process.git\n\nlibrary\n default-language: Haskell2010\n other-extensions:\n BangPatterns\n CPP\n InterruptibleFFI\n RecordWildCards\n Trustworthy\n Safe\n\n exposed-modules:\n System.Cmd\n System.Process\n System.Process.Internals\n other-modules: System.Process.Common\n if os(windows)\n c-sources:\n cbits/win32/runProcess.c\n other-modules: System.Process.Windows\n build-depends: Win32 >=2.4 && < 2.14\n -- ole32 and rpcrt4 are needed to create GUIDs for unique named pipes\n -- for process.\n extra-libraries: kernel32, ole32, rpcrt4\n cpp-options: -DWINDOWS\n else\n if arch(javascript)\n js-sources:\n jsbits/process.js\n other-modules: System.Process.JavaScript\n else\n c-sources:\n cbits/posix/runProcess.c\n cbits/posix/fork_exec.c\n cbits/posix/posix_spawn.c\n cbits/posix/find_executable.c\n other-modules: System.Process.Posix\n build-depends: unix >= 2.5 && < 2.9\n\n include-dirs: include\n includes:\n runProcess.h\n install-includes:\n runProcess.h\n processFlags.h\n\n ghc-options: -Wall\n\n build-depends: base >= 4.10 && < 4.20,\n directory >= 1.1 && < 1.4,\n filepath >= 1.2 && < 1.5,\n deepseq >= 1.1 && < 1.6\n\ntest-suite test\n default-language: Haskell2010\n hs-source-dirs: test\n main-is: main.hs\n type: exitcode-stdio-1.0\n -- Add otherwise redundant bounds on base since GHC's build system runs\n -- `cabal check`, which mandates bounds on base.\n build-depends: base >= 4 && < 5\n , bytestring\n , directory\n , process\n ghc-options: -threaded\n -with-rtsopts \"-N\"\n if os(windows)\n cpp-options: -DWINDOWS\n"; + package-description-override = "cabal-version: 2.4\nname: process\nversion: 1.6.25.0\n-- NOTE: Don't forget to update ./changelog.md\nlicense: BSD-3-Clause\nlicense-file: LICENSE\nmaintainer: libraries@haskell.org\nbug-reports: https://github.com/haskell/process/issues\nsynopsis: Process libraries\ncategory: System\nbuild-type: Configure\ndescription:\n This package contains libraries for dealing with system processes.\n .\n The typed-process package is a more recent take on a process API,\n which uses this package internally. It features better binary\n support, easier concurrency, and a more composable API. You can\n read more about it at\n .\n\nextra-doc-files:\n changelog.md\n\nextra-source-files:\n aclocal.m4\n configure\n configure.ac\n include/HsProcessConfig.h.in\n process.buildinfo\n exes/echo.bat\n exes/subdir/echo.bat\n cbits/posix/common.h\n\nextra-tmp-files:\n autom4te.cache\n config.log\n config.status\n include/HsProcessConfig.h\n\nsource-repository head\n type: git\n location: https://github.com/haskell/process.git\n\nlibrary\n default-language: Haskell2010\n other-extensions:\n BangPatterns\n CPP\n InterruptibleFFI\n RecordWildCards\n Trustworthy\n Safe\n\n exposed-modules:\n System.Cmd\n System.Process\n System.Process.CommunicationHandle\n System.Process.CommunicationHandle.Internal\n System.Process.Internals\n other-modules: System.Process.Common\n if os(windows)\n c-sources:\n cbits/win32/runProcess.c\n other-modules: System.Process.Windows\n build-depends: Win32 >=2.4 && < 2.15\n -- ole32 and rpcrt4 are needed to create GUIDs for unique named pipes\n -- for process.\n extra-libraries: kernel32, ole32, rpcrt4\n cpp-options: -DWINDOWS\n else\n build-depends: unix >= 2.5 && < 2.9\n if arch(javascript)\n js-sources:\n jsbits/process.js\n other-modules: System.Process.JavaScript\n else\n c-sources:\n cbits/posix/runProcess.c\n cbits/posix/fork_exec.c\n cbits/posix/posix_spawn.c\n cbits/posix/find_executable.c\n other-modules: System.Process.Posix\n\n include-dirs: include\n install-includes:\n runProcess.h\n processFlags.h\n\n ghc-options: -Wall\n\n build-depends: base >= 4.10 && < 4.21,\n directory >= 1.1 && < 1.4,\n filepath >= 1.2 && < 1.6,\n deepseq >= 1.1 && < 1.6\n"; } \ No newline at end of file diff --git a/materialized/ghcjs/cabal/ghc8107/cabal-files/random.nix b/materialized/ghcjs/cabal/ghc8107/cabal-files/random.nix index 0dbaf8b099..2d04734f5b 100644 --- a/materialized/ghcjs/cabal/ghc8107/cabal-files/random.nix +++ b/materialized/ghcjs/cabal/ghc8107/cabal-files/random.nix @@ -11,7 +11,7 @@ flags = {}; package = { specVersion = "1.10"; - identifier = { name = "random"; version = "1.2.1.1"; }; + identifier = { name = "random"; version = "1.2.1.2"; }; license = "BSD-3-Clause"; copyright = ""; maintainer = "core-libraries-committee@haskell.org"; @@ -105,9 +105,9 @@ }; } // { src = pkgs.lib.mkDefault (pkgs.fetchurl { - url = "http://hackage.haskell.org/package/random-1.2.1.1.tar.gz"; - sha256 = "3e1272f7ed6a4d7bd1712b90143ec326fee9b225789222379fea20a9c90c9b76"; + url = "http://hackage.haskell.org/package/random-1.2.1.2.tar.gz"; + sha256 = "790f4dc2d2327c453ff6aac7bf15399fd123d55e927935f68f84b5df42d9a4b4"; }); }) // { - 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"; + package-description-override = "cabal-version: >=1.10\nname: random\nversion: 1.2.1.2\nlicense: BSD3\nlicense-file: LICENSE\nmaintainer: core-libraries-committee@haskell.org\nbug-reports: https://github.com/haskell/random/issues\nsynopsis: Pseudo-random number generation\ndescription:\n This package provides basic pseudo-random number generation, including the\n ability to split random number generators.\n .\n == \"System.Random\": pure pseudo-random number interface\n .\n In pure code, use 'System.Random.uniform' and 'System.Random.uniformR' from\n \"System.Random\" to generate pseudo-random numbers with a pure pseudo-random\n number generator like 'System.Random.StdGen'.\n .\n As 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 .\n See \"System.Random\" for more details.\n .\n == \"System.Random.Stateful\": monadic pseudo-random number interface\n .\n In monadic code, use 'System.Random.Stateful.uniformM' and\n 'System.Random.Stateful.uniformRM' from \"System.Random.Stateful\" to generate\n pseudo-random numbers with a monadic pseudo-random number generator, or\n using a monadic adapter.\n .\n As 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 .\n The monadic adapter 'System.Random.Stateful.runStateGen_' is used here to lift\n the pure pseudo-random number generator @pureGen@ into the\n 'System.Random.Stateful.StatefulGen' context.\n .\n The monadic interface can also be used with existing monadic pseudo-random\n number 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 .\n See \"System.Random.Stateful\" for more details.\n\ncategory: System\nbuild-type: Simple\nextra-source-files:\n README.md\n CHANGELOG.md\ntested-with: GHC == 8.0.2\n , GHC == 8.2.2\n , GHC == 8.4.3\n , GHC == 8.4.4\n , GHC == 8.6.3\n , GHC == 8.6.4\n , GHC == 8.6.5\n , GHC == 8.8.1\n , GHC == 8.8.2\n , GHC == 8.10.1\n\nsource-repository head\n type: git\n location: https://github.com/haskell/random.git\n\n\nlibrary\n exposed-modules:\n System.Random\n System.Random.Internal\n System.Random.Stateful\n other-modules:\n System.Random.GFinite\n\n hs-source-dirs: src\n default-language: Haskell2010\n ghc-options:\n -Wall\n if impl(ghc >= 8.0)\n ghc-options:\n -Wincomplete-record-updates -Wincomplete-uni-patterns\n\n build-depends:\n base >=4.8 && <5,\n bytestring >=0.10.4 && <0.13,\n deepseq >=1.1 && <2,\n mtl >=2.2 && <2.4,\n splitmix >=0.1 && <0.2\n if impl(ghc < 8.0)\n build-depends:\n transformers\n\ntest-suite legacy-test\n type: exitcode-stdio-1.0\n main-is: Legacy.hs\n hs-source-dirs: test-legacy\n other-modules:\n T7936\n TestRandomIOs\n TestRandomRs\n Random1283\n RangeTest\n\n default-language: Haskell2010\n ghc-options: -rtsopts -with-rtsopts=-M9M\n if impl(ghc >= 8.0)\n ghc-options:\n -Wno-deprecations\n build-depends:\n base,\n containers >=0.5 && <0.7,\n random\n\ntest-suite doctests\n type: exitcode-stdio-1.0\n main-is: doctests.hs\n hs-source-dirs: test\n default-language: Haskell2010\n build-depends:\n base,\n doctest >=0.15 && <0.23\n if impl(ghc >= 8.2) && impl(ghc < 8.10)\n build-depends:\n mwc-random >=0.13 && <0.16,\n primitive >=0.6 && <0.8,\n random,\n stm,\n unliftio >=0.2 && <0.3,\n vector >= 0.10 && <0.14\n\ntest-suite spec\n type: exitcode-stdio-1.0\n main-is: Spec.hs\n hs-source-dirs: test\n other-modules:\n Spec.Range\n Spec.Run\n Spec.Stateful\n\n default-language: Haskell2010\n ghc-options: -Wall\n build-depends:\n base,\n bytestring,\n random,\n smallcheck >=1.2 && <1.3,\n stm,\n tasty >=1.0 && <1.6,\n tasty-smallcheck >=0.8 && <0.9,\n tasty-hunit >=0.10 && <0.11,\n transformers\n\n-- Note. Fails when compiled with coverage:\n-- https://github.com/haskell/random/issues/107\ntest-suite spec-inspection\n type: exitcode-stdio-1.0\n main-is: Spec.hs\n hs-source-dirs: test-inspection\n default-language: Haskell2010\n ghc-options: -Wall\n build-depends:\n base,\n random,\n tasty >=1.0 && <1.6\n if impl(ghc >= 8.0)\n build-depends:\n tasty-inspection-testing\n other-modules:\n Spec.Inspection\n\nbenchmark legacy-bench\n type: exitcode-stdio-1.0\n main-is: SimpleRNGBench.hs\n hs-source-dirs: bench-legacy\n other-modules: BinSearch\n default-language: Haskell2010\n ghc-options:\n -Wall -O2 -threaded -rtsopts -with-rtsopts=-N\n if impl(ghc >= 8.0)\n ghc-options:\n -Wno-deprecations\n\n build-depends:\n base,\n random,\n rdtsc,\n split >=0.2 && <0.3,\n time >=1.4 && <1.13\n\nbenchmark bench\n type: exitcode-stdio-1.0\n main-is: Main.hs\n hs-source-dirs: bench\n default-language: Haskell2010\n ghc-options: -Wall -O2\n build-depends:\n base,\n mtl,\n primitive >= 0.7.1,\n random,\n splitmix >=0.1 && <0.2,\n tasty-bench\n"; } \ No newline at end of file diff --git a/materialized/ghcjs/cabal/ghc8107/cabal-files/splitmix.nix b/materialized/ghcjs/cabal/ghc8107/cabal-files/splitmix.nix index aa0dd88d31..633d8e112a 100644 --- a/materialized/ghcjs/cabal/ghc8107/cabal-files/splitmix.nix +++ b/materialized/ghcjs/cabal/ghc8107/cabal-files/splitmix.nix @@ -135,5 +135,5 @@ 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"; + package-description-override = "cabal-version: >=1.10\nname: splitmix\nversion: 0.1.0.5\nx-revision: 1\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.8\n || ==9.6.4\n || ==9.8.2\n || ==9.10.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.21\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.8\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.8\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/ghcjs/cabal/ghc8107/cabal-files/tar.nix b/materialized/ghcjs/cabal/ghc8107/cabal-files/tar.nix index 133c93a101..df8527f8a8 100644 --- a/materialized/ghcjs/cabal/ghc8107/cabal-files/tar.nix +++ b/materialized/ghcjs/cabal/ghc8107/cabal-files/tar.nix @@ -102,5 +102,5 @@ sha256 = "b384449f62b2b0aa3e6d2cb1004b8060b01f21ec93e7b63e7af6d8fad8a9f1de"; }); }) // { - package-description-override = "cabal-version: 1.12\r\nname: tar\r\nversion: 0.5.1.1\r\nx-revision: 9\r\n\r\nlicense: BSD3\r\nlicense-file: LICENSE\r\nauthor: Duncan Coutts \r\n Bjorn Bringert \r\nmaintainer: Duncan Coutts \r\nbug-reports: https://github.com/haskell/tar/issues\r\ncopyright: 2007 Bjorn Bringert \r\n 2008-2016 Duncan Coutts \r\ncategory: Codec\r\nsynopsis: Reading, writing and manipulating \".tar\" archive files.\r\ndescription: This library is for working with \\\"@.tar@\\\" archive files. It\r\n can read and write a range of common variations of archive\r\n format including V7, POSIX USTAR and GNU formats.\r\n .\r\n It provides support for packing and unpacking portable\r\n archives. This makes it suitable for distribution but not\r\n backup because details like file ownership and exact\r\n permissions are not preserved.\r\n .\r\n It also provides features for random access to archive\r\n content using an index.\r\nbuild-type: Simple\r\nextra-source-files: changelog.md\r\ntested-with: GHC==7.0.4, GHC==7.2.2, GHC==7.4.2, GHC==7.6.3,\r\n GHC==7.8.4, GHC==7.10.3, GHC==8.0.2, GHC==8.2.2, GHC==8.4.4,\r\n GHC==8.6.5, GHC==8.8.3, GHC==8.10.4, GHC==9.0.1\r\n\r\nsource-repository head\r\n type: git\r\n location: https://github.com/haskell/tar.git\r\n\r\nflag old-time\r\n default: False\r\n\r\nflag old-bytestring\r\n default: False\r\n\r\nlibrary\r\n\r\n build-depends: base >= 4 && < 4.20,\r\n filepath < 1.5,\r\n array < 0.6,\r\n containers >= 0.2 && < 0.8,\r\n deepseq >= 1.1 && < 1.6\r\n\r\n if flag(old-time)\r\n build-depends: directory < 1.2, old-time < 1.2\r\n else\r\n build-depends: directory >= 1.2 && < 1.4, time < 1.13\r\n\r\n if flag(old-bytestring)\r\n build-depends: bytestring-builder >= 0.10.4.0.2 && < 0.11, bytestring == 0.9.*\r\n else\r\n build-depends: bytestring >= 0.10 && < 0.13\r\n\r\n if !impl(ghc >= 8.0)\r\n build-depends: semigroups >= 0.18 && < 0.20\r\n\r\n exposed-modules:\r\n Codec.Archive.Tar\r\n Codec.Archive.Tar.Entry\r\n Codec.Archive.Tar.Check\r\n Codec.Archive.Tar.Index\r\n\r\n other-modules:\r\n Codec.Archive.Tar.Types\r\n Codec.Archive.Tar.Read\r\n Codec.Archive.Tar.Write\r\n Codec.Archive.Tar.Pack\r\n Codec.Archive.Tar.Unpack\r\n Codec.Archive.Tar.Index.StringTable\r\n Codec.Archive.Tar.Index.IntTrie\r\n\r\n default-language: Haskell2010\r\n -- Previously, the package used GHC's default Haskell mode which implies\r\n -- NDI; so we keep it transitionally enabled here until we've reviewed the\r\n -- code to make sure there isn't any code relies on NDI and keeps compiling\r\n -- albeit with different semantics even without NDI\r\n default-extensions: NondecreasingIndentation\r\n\r\n other-extensions:\r\n BangPatterns\r\n CPP\r\n DeriveDataTypeable\r\n GeneralizedNewtypeDeriving\r\n PatternGuards\r\n ScopedTypeVariables\r\n\r\n\r\n ghc-options: -Wall -fno-warn-unused-imports\r\n\r\ntest-suite properties\r\n type: exitcode-stdio-1.0\r\n build-depends: base,\r\n filepath,\r\n array,\r\n containers,\r\n deepseq,\r\n bytestring-handle,\r\n QuickCheck == 2.*,\r\n tasty >= 0.10 && <1.6,\r\n tasty-quickcheck >= 0.8 && <0.11\r\n\r\n if flag(old-time)\r\n build-depends: directory < 1.2, old-time\r\n else\r\n build-depends: directory >= 1.2, time\r\n\r\n if flag(old-bytestring)\r\n build-depends: bytestring-builder, bytestring >= 0.9 && <0.10\r\n else\r\n build-depends: bytestring >= 0.10\r\n\r\n if !impl(ghc >= 8.0)\r\n build-depends: semigroups >= 0.18 && <0.20\r\n\r\n default-language: Haskell2010\r\n\r\n hs-source-dirs: . test\r\n\r\n main-is: test/Properties.hs\r\n cpp-options: -DTESTS\r\n\r\n other-modules:\r\n Codec.Archive.Tar.Index\r\n Codec.Archive.Tar.Index.StringTable\r\n Codec.Archive.Tar.Index.IntTrie\r\n\r\n -- shared w/ lib:tar component\r\n other-modules:\r\n Codec.Archive.Tar\r\n Codec.Archive.Tar.Check\r\n Codec.Archive.Tar.Pack\r\n Codec.Archive.Tar.Read\r\n Codec.Archive.Tar.Types\r\n Codec.Archive.Tar.Unpack\r\n Codec.Archive.Tar.Write\r\n\r\n other-extensions:\r\n CPP\r\n BangPatterns,\r\n DeriveDataTypeable\r\n ScopedTypeVariables\r\n\r\n ghc-options: -fno-ignore-asserts\r\n\r\nbenchmark bench\r\n type: exitcode-stdio-1.0\r\n hs-source-dirs: . bench\r\n main-is: bench/Main.hs\r\n build-depends: base,\r\n bytestring >= 0.10,\r\n filepath,\r\n directory >= 1.2,\r\n array,\r\n containers,\r\n deepseq,\r\n time,\r\n criterion >= 1.0\r\n\r\n if !impl(ghc >= 8.0)\r\n build-depends: semigroups >= 0.18 && <0.20\r\n\r\n default-language: Haskell2010\r\n\r\n -- shared w/ lib:tar component\r\n other-modules:\r\n Codec.Archive.Tar\r\n Codec.Archive.Tar.Check\r\n Codec.Archive.Tar.Index\r\n Codec.Archive.Tar.Index.IntTrie\r\n Codec.Archive.Tar.Index.StringTable\r\n Codec.Archive.Tar.Pack\r\n Codec.Archive.Tar.Read\r\n Codec.Archive.Tar.Types\r\n Codec.Archive.Tar.Unpack\r\n Codec.Archive.Tar.Write\r\n"; + package-description-override = "cabal-version: 1.12\r\nname: tar\r\nversion: 0.5.1.1\r\nx-revision: 10\r\n\r\nlicense: BSD3\r\nlicense-file: LICENSE\r\nauthor: Duncan Coutts \r\n Bjorn Bringert \r\nmaintainer: Duncan Coutts \r\nbug-reports: https://github.com/haskell/tar/issues\r\ncopyright: 2007 Bjorn Bringert \r\n 2008-2016 Duncan Coutts \r\ncategory: Codec\r\nsynopsis: Reading, writing and manipulating \".tar\" archive files.\r\ndescription: This library is for working with \\\"@.tar@\\\" archive files. It\r\n can read and write a range of common variations of archive\r\n format including V7, POSIX USTAR and GNU formats.\r\n .\r\n It provides support for packing and unpacking portable\r\n archives. This makes it suitable for distribution but not\r\n backup because details like file ownership and exact\r\n permissions are not preserved.\r\n .\r\n It also provides features for random access to archive\r\n content using an index.\r\nbuild-type: Simple\r\nextra-source-files: changelog.md\r\ntested-with: GHC==7.0.4, GHC==7.2.2, GHC==7.4.2, GHC==7.6.3,\r\n GHC==7.8.4, GHC==7.10.3, GHC==8.0.2, GHC==8.2.2, GHC==8.4.4,\r\n GHC==8.6.5, GHC==8.8.3, GHC==8.10.4, GHC==9.0.1\r\n\r\nsource-repository head\r\n type: git\r\n location: https://github.com/haskell/tar.git\r\n\r\nflag old-time\r\n default: False\r\n\r\nflag old-bytestring\r\n default: False\r\n\r\nlibrary\r\n\r\n build-depends: base >= 4 && < 4.20,\r\n filepath < 1.6,\r\n array < 0.6,\r\n containers >= 0.2 && < 0.8,\r\n deepseq >= 1.1 && < 1.6\r\n\r\n if flag(old-time)\r\n build-depends: directory < 1.2, old-time < 1.2\r\n else\r\n build-depends: directory >= 1.2 && < 1.4, time < 1.13\r\n\r\n if flag(old-bytestring)\r\n build-depends: bytestring-builder >= 0.10.4.0.2 && < 0.11, bytestring == 0.9.*\r\n else\r\n build-depends: bytestring >= 0.10 && < 0.13\r\n\r\n if !impl(ghc >= 8.0)\r\n build-depends: semigroups >= 0.18 && < 0.20\r\n\r\n exposed-modules:\r\n Codec.Archive.Tar\r\n Codec.Archive.Tar.Entry\r\n Codec.Archive.Tar.Check\r\n Codec.Archive.Tar.Index\r\n\r\n other-modules:\r\n Codec.Archive.Tar.Types\r\n Codec.Archive.Tar.Read\r\n Codec.Archive.Tar.Write\r\n Codec.Archive.Tar.Pack\r\n Codec.Archive.Tar.Unpack\r\n Codec.Archive.Tar.Index.StringTable\r\n Codec.Archive.Tar.Index.IntTrie\r\n\r\n default-language: Haskell2010\r\n -- Previously, the package used GHC's default Haskell mode which implies\r\n -- NDI; so we keep it transitionally enabled here until we've reviewed the\r\n -- code to make sure there isn't any code relies on NDI and keeps compiling\r\n -- albeit with different semantics even without NDI\r\n default-extensions: NondecreasingIndentation\r\n\r\n other-extensions:\r\n BangPatterns\r\n CPP\r\n DeriveDataTypeable\r\n GeneralizedNewtypeDeriving\r\n PatternGuards\r\n ScopedTypeVariables\r\n\r\n\r\n ghc-options: -Wall -fno-warn-unused-imports\r\n\r\ntest-suite properties\r\n type: exitcode-stdio-1.0\r\n build-depends: base,\r\n filepath,\r\n array,\r\n containers,\r\n deepseq,\r\n bytestring-handle,\r\n QuickCheck == 2.*,\r\n tasty >= 0.10 && <1.6,\r\n tasty-quickcheck >= 0.8 && <0.11\r\n\r\n if flag(old-time)\r\n build-depends: directory < 1.2, old-time\r\n else\r\n build-depends: directory >= 1.2, time\r\n\r\n if flag(old-bytestring)\r\n build-depends: bytestring-builder, bytestring >= 0.9 && <0.10\r\n else\r\n build-depends: bytestring >= 0.10\r\n\r\n if !impl(ghc >= 8.0)\r\n build-depends: semigroups >= 0.18 && <0.20\r\n\r\n default-language: Haskell2010\r\n\r\n hs-source-dirs: . test\r\n\r\n main-is: test/Properties.hs\r\n cpp-options: -DTESTS\r\n\r\n other-modules:\r\n Codec.Archive.Tar.Index\r\n Codec.Archive.Tar.Index.StringTable\r\n Codec.Archive.Tar.Index.IntTrie\r\n\r\n -- shared w/ lib:tar component\r\n other-modules:\r\n Codec.Archive.Tar\r\n Codec.Archive.Tar.Check\r\n Codec.Archive.Tar.Pack\r\n Codec.Archive.Tar.Read\r\n Codec.Archive.Tar.Types\r\n Codec.Archive.Tar.Unpack\r\n Codec.Archive.Tar.Write\r\n\r\n other-extensions:\r\n CPP\r\n BangPatterns,\r\n DeriveDataTypeable\r\n ScopedTypeVariables\r\n\r\n ghc-options: -fno-ignore-asserts\r\n\r\nbenchmark bench\r\n type: exitcode-stdio-1.0\r\n hs-source-dirs: . bench\r\n main-is: bench/Main.hs\r\n build-depends: base,\r\n bytestring >= 0.10,\r\n filepath,\r\n directory >= 1.2,\r\n array,\r\n containers,\r\n deepseq,\r\n time,\r\n criterion >= 1.0\r\n\r\n if !impl(ghc >= 8.0)\r\n build-depends: semigroups >= 0.18 && <0.20\r\n\r\n default-language: Haskell2010\r\n\r\n -- shared w/ lib:tar component\r\n other-modules:\r\n Codec.Archive.Tar\r\n Codec.Archive.Tar.Check\r\n Codec.Archive.Tar.Index\r\n Codec.Archive.Tar.Index.IntTrie\r\n Codec.Archive.Tar.Index.StringTable\r\n Codec.Archive.Tar.Pack\r\n Codec.Archive.Tar.Read\r\n Codec.Archive.Tar.Types\r\n Codec.Archive.Tar.Unpack\r\n Codec.Archive.Tar.Write\r\n"; } \ No newline at end of file diff --git a/materialized/ghcjs/cabal/ghc8107/cabal-files/th-compat.nix b/materialized/ghcjs/cabal/ghc8107/cabal-files/th-compat.nix index 35dca97162..ad4a20b27a 100644 --- a/materialized/ghcjs/cabal/ghc8107/cabal-files/th-compat.nix +++ b/materialized/ghcjs/cabal/ghc8107/cabal-files/th-compat.nix @@ -11,7 +11,7 @@ flags = {}; package = { specVersion = "1.10"; - identifier = { name = "th-compat"; version = "0.1.4"; }; + identifier = { name = "th-compat"; version = "0.1.5"; }; license = "BSD-3-Clause"; copyright = "(C) 2020 Ryan Scott"; maintainer = "Ryan Scott "; @@ -55,9 +55,9 @@ }; } // { src = pkgs.lib.mkDefault (pkgs.fetchurl { - url = "http://hackage.haskell.org/package/th-compat-0.1.4.tar.gz"; - sha256 = "d8f97ac14ab47b6b8a7b0fdb4ff95426322ec56badd01652ac15da4a44d4bab8"; + url = "http://hackage.haskell.org/package/th-compat-0.1.5.tar.gz"; + sha256 = "81f55fafc7afad7763c09cb8b7b4165ca3765edcf70ffa42c7393043a1382a1e"; }); }) // { - package-description-override = "cabal-version: >=1.10\r\nname: th-compat\r\nversion: 0.1.4\r\nx-revision: 3\r\nsynopsis: Backward- (and forward-)compatible Quote and Code types\r\ndescription: This package defines a \"Language.Haskell.TH.Syntax.Compat\"\r\n module, which backports the @Quote@ and @Code@ types to\r\n work across a wide range of @template-haskell@ versions.\r\n The @makeRelativeToProject@ utility is also backported.\r\n On recent versions of @template-haskell@ (2.17.0.0 or\r\n later), this module simply reexports definitions\r\n from \"Language.Haskell.TH.Syntax\". Refer to the Haddocks\r\n for \"Language.Haskell.TH.Syntax.Compat\" for examples of\r\n how to use this module.\r\nhomepage: https://github.com/haskell-compat/th-compat\r\nbug-reports: https://github.com/haskell-compat/th-compat/issues\r\nlicense: BSD3\r\nlicense-file: LICENSE\r\nauthor: Ryan Scott\r\nmaintainer: Ryan Scott \r\ncopyright: (C) 2020 Ryan Scott\r\ncategory: Text\r\nbuild-type: Simple\r\ntested-with: GHC == 7.0.4\r\n , GHC == 7.2.2\r\n , GHC == 7.4.2\r\n , GHC == 7.6.3\r\n , GHC == 7.8.4\r\n , GHC == 7.10.3\r\n , GHC == 8.0.2\r\n , GHC == 8.2.2\r\n , GHC == 8.4.4\r\n , GHC == 8.6.5\r\n , GHC == 8.8.4\r\n , GHC == 8.10.7\r\n , GHC == 9.0.2\r\n , GHC == 9.2.3\r\n , GHC == 9.4.1\r\nextra-source-files: CHANGELOG.md, README.md\r\n\r\nsource-repository head\r\n type: git\r\n location: https://github.com/haskell-compat/th-compat\r\n\r\nlibrary\r\n exposed-modules: Language.Haskell.TH.Syntax.Compat\r\n build-depends: base >= 4.3 && < 5\r\n , template-haskell >= 2.5 && < 2.22\r\n if !impl(ghc >= 8.0)\r\n build-depends: fail == 4.9.*\r\n , transformers >= 0.2 && < 0.7\r\n if !impl(ghc >= 9.4)\r\n build-depends: filepath >= 1.2.0.0 && < 1.5\r\n , directory >= 1.1.0.0 && < 1.4\r\n hs-source-dirs: src\r\n default-language: Haskell2010\r\n ghc-options: -Wall\r\n if impl(ghc >= 8.6)\r\n ghc-options: -Wno-star-is-type\r\n\r\ntest-suite spec\r\n type: exitcode-stdio-1.0\r\n main-is: Spec.hs\r\n other-modules: Language.Haskell.TH.Syntax.CompatSpec\r\n Types\r\n build-depends: base >= 4.3 && < 5\r\n , base-compat >= 0.6 && < 0.14\r\n , hspec >= 2 && < 3\r\n , mtl >= 2.1 && < 2.4\r\n , template-haskell >= 2.5 && < 2.22\r\n , th-compat\r\n build-tool-depends: hspec-discover:hspec-discover >= 2\r\n hs-source-dirs: tests\r\n default-language: Haskell2010\r\n ghc-options: -Wall -threaded -rtsopts\r\n"; + package-description-override = "cabal-version: >=1.10\r\nname: th-compat\r\nversion: 0.1.5\r\nx-revision: 2\r\nsynopsis: Backward- (and forward-)compatible Quote and Code types\r\ndescription: This package defines a \"Language.Haskell.TH.Syntax.Compat\"\r\n module, which backports the @Quote@ and @Code@ types to\r\n work across a wide range of @template-haskell@ versions.\r\n The @makeRelativeToProject@ utility is also backported.\r\n On recent versions of @template-haskell@ (2.17.0.0 or\r\n later), this module simply reexports definitions\r\n from \"Language.Haskell.TH.Syntax\". Refer to the Haddocks\r\n for \"Language.Haskell.TH.Syntax.Compat\" for examples of\r\n how to use this module.\r\nhomepage: https://github.com/haskell-compat/th-compat\r\nbug-reports: https://github.com/haskell-compat/th-compat/issues\r\nlicense: BSD3\r\nlicense-file: LICENSE\r\nauthor: Ryan Scott\r\nmaintainer: Ryan Scott \r\ncopyright: (C) 2020 Ryan Scott\r\ncategory: Text\r\nbuild-type: Simple\r\ntested-with: GHC == 7.0.4\r\n , GHC == 7.2.2\r\n , GHC == 7.4.2\r\n , GHC == 7.6.3\r\n , GHC == 7.8.4\r\n , GHC == 7.10.3\r\n , GHC == 8.0.2\r\n , GHC == 8.2.2\r\n , GHC == 8.4.4\r\n , GHC == 8.6.5\r\n , GHC == 8.8.4\r\n , GHC == 8.10.7\r\n , GHC == 9.0.2\r\n , GHC == 9.2.8\r\n , GHC == 9.4.8\r\n , GHC == 9.6.4\r\n , GHC == 9.8.2\r\n , GHC == 9.10.1\r\nextra-source-files: CHANGELOG.md, README.md\r\n\r\nsource-repository head\r\n type: git\r\n location: https://github.com/haskell-compat/th-compat\r\n\r\nlibrary\r\n exposed-modules: Language.Haskell.TH.Syntax.Compat\r\n build-depends: base >= 4.3 && < 5\r\n , template-haskell >= 2.5 && < 2.23\r\n if !impl(ghc >= 8.0)\r\n build-depends: fail == 4.9.*\r\n , transformers >= 0.2 && < 0.7\r\n if !impl(ghc >= 9.4)\r\n build-depends: filepath >= 1.2.0.0 && < 1.6\r\n , directory >= 1.1.0.0 && < 1.4\r\n hs-source-dirs: src\r\n default-language: Haskell2010\r\n ghc-options: -Wall\r\n if impl(ghc >= 8.6)\r\n ghc-options: -Wno-star-is-type\r\n\r\ntest-suite spec\r\n type: exitcode-stdio-1.0\r\n main-is: Spec.hs\r\n other-modules: Language.Haskell.TH.Syntax.CompatSpec\r\n Types\r\n build-depends: base >= 4.3 && < 5\r\n , base-compat >= 0.6 && < 0.15\r\n , hspec >= 2 && < 3\r\n , mtl >= 2.1 && < 2.4\r\n , template-haskell >= 2.5 && < 2.23\r\n , th-compat\r\n build-tool-depends: hspec-discover:hspec-discover >= 2\r\n hs-source-dirs: tests\r\n default-language: Haskell2010\r\n ghc-options: -Wall -threaded -rtsopts\r\n"; } \ No newline at end of file diff --git a/materialized/ghcjs/cabal/ghc8107/cabal-files/zlib.nix b/materialized/ghcjs/cabal/ghc8107/cabal-files/zlib.nix index 8ffd4472ae..ef7d979bb8 100644 --- a/materialized/ghcjs/cabal/ghc8107/cabal-files/zlib.nix +++ b/materialized/ghcjs/cabal/ghc8107/cabal-files/zlib.nix @@ -56,5 +56,5 @@ sha256 = "9eaa989ad4534438b5beb51c1d3a4c8f6a088fdff0b259a5394fbf39aaee04da"; }); }) // { - package-description-override = "cabal-version: >= 1.10\nname: zlib\nversion: 0.6.3.0\nx-revision: 4\n\ncopyright: (c) 2006-2016 Duncan Coutts\nlicense: BSD3\nlicense-file: LICENSE\nauthor: Duncan Coutts \nmaintainer: Duncan Coutts , Andrew Lelechenko , Emily Pillmore , Herbert Valerio Riedel \nbug-reports: https://github.com/haskell/zlib/issues\ncategory: Codec\nsynopsis: Compression and decompression in the gzip and zlib formats\ndescription: This package provides a pure interface for compressing and\n decompressing streams of data represented as lazy\n 'ByteString's. It uses the\n \n so it has high performance. It supports the \\\"zlib\\\",\n \\\"gzip\\\" and \\\"raw\\\" compression formats.\n .\n It provides a convenient high level API suitable for most\n tasks and for the few cases where more control is needed it\n provides access to the full zlib feature set.\nbuild-type: Simple\n\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.4\n , GHC == 8.10.7\n , GHC == 9.0.2\n , GHC == 9.2.8\n , GHC == 9.4.7\n , GHC == 9.6.3\n , GHC == 9.8.1\n\nextra-source-files: changelog\n README.md\n -- zlib C sources (for Windows)\n cbits/crc32.h cbits/inffast.h cbits/inflate.h\n cbits/trees.h cbits/deflate.h cbits/inffixed.h\n cbits/inftrees.h cbits/zutil.h cbits/gzguts.h\n -- test data files\n test/data/bad-crc.gz test/data/custom-dict.zlib\n test/data/custom-dict.zlib-dict test/data/hello.gz\n test/data/not-gzip test/data/two-files.gz\n -- demo programs:\n examples/gzip.hs examples/gunzip.hs\n\nsource-repository head\n type: git\n location: https://github.com/haskell/zlib.git\n\nflag non-blocking-ffi\n default: False\n manual: True\n description: The (de)compression calls can sometimes take a long time, which\n prevents other Haskell threads running. Enabling this flag\n avoids this unfairness, but with greater overall cost.\n\nflag pkg-config\n default: False\n manual: True\n description: Use @pkg-config(1)@ to locate foreign @zlib@ library.\n\nflag bundled-c-zlib\n default: False\n manual: True\n description: Use the bundled zlib C sources. Requires pkg-config to be False.\n For windows, this is the default.\n\n\nlibrary\n exposed-modules: Codec.Compression.GZip,\n Codec.Compression.Zlib,\n Codec.Compression.Zlib.Raw,\n Codec.Compression.Zlib.Internal\n other-modules: Codec.Compression.Zlib.Stream,\n Codec.Compression.Zlib.ByteStringCompat\n\n if impl(ghc < 7)\n default-language: Haskell98\n default-extensions: PatternGuards\n else\n default-language: Haskell2010\n\n other-extensions: CPP, ForeignFunctionInterface, RankNTypes, BangPatterns,\n DeriveDataTypeable\n if impl(ghc >= 7.2)\n other-extensions: DeriveGeneric\n if impl(ghc >= 7.6)\n other-extensions: CApiFFI\n\n build-depends: base >= 4 && < 4.20,\n bytestring >= 0.9 && < 0.13\n if impl(ghc >= 7.0 && < 8.0.3)\n build-depends: ghc-prim\n\n includes: zlib.h\n ghc-options: -Wall -fwarn-tabs\n if flag(non-blocking-ffi)\n cpp-options: -DNON_BLOCKING_FFI\n if flag(pkg-config) && !impl(ghcjs) && !os(ghcjs)\n -- NB: pkg-config is available on windows as well when using msys2\n pkgconfig-depends: zlib\n else\n -- don't use pkg-config\n if !os(windows) && !flag(bundled-c-zlib) && !impl(ghcjs) && !os(ghcjs)\n -- Normally we use the the standard system zlib.\n extra-libraries: z\n else\n -- However for the benefit of users of Windows (which does not have zlib\n -- by default) we bundle a complete copy of the C sources of zlib-1.2.11\n c-sources: cbits/adler32.c cbits/compress.c cbits/crc32.c\n cbits/deflate.c cbits/infback.c\n cbits/inffast.c cbits/inflate.c cbits/inftrees.c\n cbits/trees.c cbits/uncompr.c cbits/zutil.c\n include-dirs: cbits\n install-includes: zlib.h zconf.h\n\ntest-suite tests\n type: exitcode-stdio-1.0\n main-is: Test.hs\n other-modules: Utils,\n Test.Codec.Compression.Zlib.Internal,\n Test.Codec.Compression.Zlib.Stream\n hs-source-dirs: test\n default-language: Haskell2010\n build-depends: base, bytestring, zlib,\n QuickCheck == 2.*,\n tasty >= 0.8 && < 1.6,\n tasty-quickcheck >= 0.8 && < 0.11\n ghc-options: -Wall\n"; + package-description-override = "cabal-version: >= 1.10\r\nname: zlib\r\nversion: 0.6.3.0\r\nx-revision: 5\r\n\r\ncopyright: (c) 2006-2016 Duncan Coutts\r\nlicense: BSD3\r\nlicense-file: LICENSE\r\nauthor: Duncan Coutts \r\nmaintainer: Duncan Coutts , Andrew Lelechenko , Emily Pillmore , Herbert Valerio Riedel \r\nbug-reports: https://github.com/haskell/zlib/issues\r\ncategory: Codec\r\nsynopsis: Compression and decompression in the gzip and zlib formats\r\ndescription: This package provides a pure interface for compressing and\r\n decompressing streams of data represented as lazy\r\n 'ByteString's. It uses the\r\n \r\n so it has high performance. It supports the \\\"zlib\\\",\r\n \\\"gzip\\\" and \\\"raw\\\" compression formats.\r\n .\r\n It provides a convenient high level API suitable for most\r\n tasks and for the few cases where more control is needed it\r\n provides access to the full zlib feature set.\r\nbuild-type: Simple\r\n\r\ntested-with: GHC == 7.0.4\r\n , GHC == 7.2.2\r\n , GHC == 7.4.2\r\n , GHC == 7.6.3\r\n , GHC == 7.8.4\r\n , GHC == 7.10.3\r\n , GHC == 8.0.2\r\n , GHC == 8.2.2\r\n , GHC == 8.4.4\r\n , GHC == 8.6.5\r\n , GHC == 8.8.4\r\n , GHC == 8.10.7\r\n , GHC == 9.0.2\r\n , GHC == 9.2.8\r\n , GHC == 9.4.7\r\n , GHC == 9.6.3\r\n , GHC == 9.8.1\r\n\r\nextra-source-files: changelog\r\n README.md\r\n -- zlib C sources (for Windows)\r\n cbits/crc32.h cbits/inffast.h cbits/inflate.h\r\n cbits/trees.h cbits/deflate.h cbits/inffixed.h\r\n cbits/inftrees.h cbits/zutil.h cbits/gzguts.h\r\n -- test data files\r\n test/data/bad-crc.gz test/data/custom-dict.zlib\r\n test/data/custom-dict.zlib-dict test/data/hello.gz\r\n test/data/not-gzip test/data/two-files.gz\r\n -- demo programs:\r\n examples/gzip.hs examples/gunzip.hs\r\n\r\nsource-repository head\r\n type: git\r\n location: https://github.com/haskell/zlib.git\r\n\r\nflag non-blocking-ffi\r\n default: False\r\n manual: True\r\n description: The (de)compression calls can sometimes take a long time, which\r\n prevents other Haskell threads running. Enabling this flag\r\n avoids this unfairness, but with greater overall cost.\r\n\r\nflag pkg-config\r\n default: False\r\n manual: True\r\n description: Use @pkg-config(1)@ to locate foreign @zlib@ library.\r\n\r\nflag bundled-c-zlib\r\n default: False\r\n manual: True\r\n description: Use the bundled zlib C sources. Requires pkg-config to be False.\r\n For windows, this is the default.\r\n\r\n\r\nlibrary\r\n exposed-modules: Codec.Compression.GZip,\r\n Codec.Compression.Zlib,\r\n Codec.Compression.Zlib.Raw,\r\n Codec.Compression.Zlib.Internal\r\n other-modules: Codec.Compression.Zlib.Stream,\r\n Codec.Compression.Zlib.ByteStringCompat\r\n\r\n if impl(ghc < 7)\r\n default-language: Haskell98\r\n default-extensions: PatternGuards\r\n else\r\n default-language: Haskell2010\r\n\r\n other-extensions: CPP, ForeignFunctionInterface, RankNTypes, BangPatterns,\r\n DeriveDataTypeable\r\n if impl(ghc >= 7.2)\r\n other-extensions: DeriveGeneric\r\n if impl(ghc >= 7.6)\r\n other-extensions: CApiFFI\r\n\r\n build-depends: base >= 4 && < 4.21,\r\n bytestring >= 0.9 && < 0.13\r\n if impl(ghc >= 7.0 && < 8.0.3)\r\n build-depends: ghc-prim\r\n\r\n includes: zlib.h\r\n ghc-options: -Wall -fwarn-tabs\r\n if flag(non-blocking-ffi)\r\n cpp-options: -DNON_BLOCKING_FFI\r\n if flag(pkg-config) && !impl(ghcjs) && !os(ghcjs)\r\n -- NB: pkg-config is available on windows as well when using msys2\r\n pkgconfig-depends: zlib\r\n else\r\n -- don't use pkg-config\r\n if !os(windows) && !flag(bundled-c-zlib) && !impl(ghcjs) && !os(ghcjs)\r\n -- Normally we use the the standard system zlib.\r\n extra-libraries: z\r\n else\r\n -- However for the benefit of users of Windows (which does not have zlib\r\n -- by default) we bundle a complete copy of the C sources of zlib-1.2.11\r\n c-sources: cbits/adler32.c cbits/compress.c cbits/crc32.c\r\n cbits/deflate.c cbits/infback.c\r\n cbits/inffast.c cbits/inflate.c cbits/inftrees.c\r\n cbits/trees.c cbits/uncompr.c cbits/zutil.c\r\n include-dirs: cbits\r\n install-includes: zlib.h zconf.h\r\n\r\ntest-suite tests\r\n type: exitcode-stdio-1.0\r\n main-is: Test.hs\r\n other-modules: Utils,\r\n Test.Codec.Compression.Zlib.Internal,\r\n Test.Codec.Compression.Zlib.Stream\r\n hs-source-dirs: test\r\n default-language: Haskell2010\r\n build-depends: base, bytestring, zlib,\r\n QuickCheck == 2.*,\r\n tasty >= 0.8 && < 1.6,\r\n tasty-quickcheck >= 0.8 && < 0.12\r\n ghc-options: -Wall\r\n"; } \ No newline at end of file diff --git a/materialized/ghcjs/cabal/ghc8107/default.nix b/materialized/ghcjs/cabal/ghc8107/default.nix index f4373b8412..56b0525aad 100644 --- a/materialized/ghcjs/cabal/ghc8107/default.nix +++ b/materialized/ghcjs/cabal/ghc8107/default.nix @@ -7,12 +7,8 @@ transformers.revision = hackage.transformers."0.5.6.2".revisions.default; time.revision = hackage.time."1.9.3".revisions.default; hackage-security.revision = import ./cabal-files/hackage-security.nix; - hackage-security.flags.base48 = true; - hackage-security.flags.mtl21 = false; hackage-security.flags.cabal-syntax = true; hackage-security.flags.lukko = true; - hackage-security.flags.old-directory = false; - hackage-security.flags.use-network-uri = true; base.revision = hackage.base."4.14.3.0".revisions.default; base64-bytestring.revision = import ./cabal-files/base64-bytestring.nix; splitmix.revision = import ./cabal-files/splitmix.nix; @@ -24,6 +20,7 @@ hashable.revision = import ./cabal-files/hashable.nix; hashable.flags.random-initial-seed = false; hashable.flags.integer-gmp = true; + hashable.flags.arch-native = false; Cabal-syntax.revision = import ./cabal-files/Cabal-syntax.nix; data-array-byte.revision = import ./cabal-files/data-array-byte.nix; process.revision = import ./cabal-files/process.nix; @@ -45,6 +42,9 @@ lukko.revision = import ./cabal-files/lukko.nix; lukko.flags.ofd-locking = true; containers.revision = hackage.containers."0.6.5.1".revisions.default; + cabal-install.revision = import ./cabal-files/cabal-install.nix; + cabal-install.flags.lukko = true; + cabal-install.flags.native-dns = true; array.revision = hackage.array."0.5.4.0".revisions.default; echo.revision = import ./cabal-files/echo.nix; echo.flags.example = false; @@ -115,7 +115,7 @@ }; }; extras = hackage: - { packages = { cabal-install = ./.plan.nix/cabal-install.nix; }; }; + { packages = {}; }; modules = [ { preExistingPkgs = [ @@ -143,16 +143,7 @@ ]; } ({ lib, ... }: - { - packages = { - "cabal-install" = { - flags = { - "lukko" = lib.mkOverride 900 true; - "native-dns" = lib.mkOverride 900 true; - }; - }; - }; - }) + { packages = {}; }) ({ lib, ... }: { packages = { diff --git a/materialized/ghcjs/cabal/ghc8107/plan.json b/materialized/ghcjs/cabal/ghc8107/plan.json index 705277e3da..88a81d91c5 100644 --- a/materialized/ghcjs/cabal/ghc8107/plan.json +++ b/materialized/ghcjs/cabal/ghc8107/plan.json @@ -1 +1 @@ -{"cabal-version":"3.10.3.0","cabal-lib-version":"3.10.3.0","compiler-id":"ghc-8.10.7","os":"linux","arch":"x86_64","install-plan":[{"type":"configured","id":"Cabal-3.8.1.0-254ed15bf5c8a3507521ed173962e284f55d5b289da364545928a13d0408b8e4","pkg-name":"Cabal","pkg-version":"3.8.1.0","flags":{},"style":"global","pkg-src":{"type":"repo-tar","repo":{"type":"secure-repo","uri":"http://hackage.haskell.org/"}},"pkg-cabal-sha256":"77121d8e1aff14a0fd95684b751599db78a7dd26d55862d9fcef27c88b193e9d","pkg-src-sha256":"7464cbe6c2f3d7e5d0232023a1a7330621f8b24853cb259fc89a2af85b736608","depends":["Cabal-syntax-3.8.1.0-b915cfc5b689dcee3ff0da5b8645eb84bdc2e94162e5401107d4d2a109ae6373","array-0.5.4.0","base-4.14.3.0","bytestring-0.10.12.0","containers-0.6.5.1","deepseq-1.4.4.0","directory-1.3.6.0","filepath-1.4.2.1","mtl-2.2.2","parsec-3.1.14.0","pretty-1.1.3.6","process-1.6.18.0-28f4084bc816db0935a003bd3b4728b865df3c3b7ad5f4bf5b50a396aff656cf","text-1.2.4.1","time-1.9.3","transformers-0.5.6.2","unix-2.7.2.2"],"exe-depends":[],"component-name":"lib"},{"type":"configured","id":"Cabal-syntax-3.8.1.0-b915cfc5b689dcee3ff0da5b8645eb84bdc2e94162e5401107d4d2a109ae6373","pkg-name":"Cabal-syntax","pkg-version":"3.8.1.0","flags":{},"style":"global","pkg-src":{"type":"repo-tar","repo":{"type":"secure-repo","uri":"http://hackage.haskell.org/"}},"pkg-cabal-sha256":"ed2d937ba6c6a20b75850349eedd41374885fc42369ef152d69e2ba70f44f593","pkg-src-sha256":"07e8ddb19fe01781485f1522b6afc22aba680b0ab28ebe6bbfb84a2dd698ce0f","depends":["array-0.5.4.0","base-4.14.3.0","binary-0.8.8.0","bytestring-0.10.12.0","containers-0.6.5.1","deepseq-1.4.4.0","directory-1.3.6.0","filepath-1.4.2.1","mtl-2.2.2","parsec-3.1.14.0","pretty-1.1.3.6","text-1.2.4.1","time-1.9.3","transformers-0.5.6.2","unix-2.7.2.2"],"exe-depends":[],"component-name":"lib"},{"type":"configured","id":"HTTP-4000.4.1-75090b1b9f3cc3003a55f795457e6ac8bd0a05b1dd347188fb0cee06b7543689","pkg-name":"HTTP","pkg-version":"4000.4.1","flags":{"conduit10":false,"network-uri":true,"warn-as-error":false,"warp-tests":false},"style":"global","pkg-src":{"type":"repo-tar","repo":{"type":"secure-repo","uri":"http://hackage.haskell.org/"}},"pkg-cabal-sha256":"0e37572590743e49d7a610f472e1618a594dc861410846f64d9f2347923c4f5b","pkg-src-sha256":"df31d8efec775124dab856d7177ddcba31be9f9e0836ebdab03d94392f2dd453","depends":["array-0.5.4.0","base-4.14.3.0","bytestring-0.10.12.0","mtl-2.2.2","network-3.1.4.0-31810b3941ba7a39c57ad4465a156d9552feb0b0dc9374aa6db4b73509c135e0","network-uri-2.6.4.2-512664775d014e86058cdfe34db9c888ac621c84b2dc250f655809aaf578be46","parsec-3.1.14.0","time-1.9.3","transformers-0.5.6.2"],"exe-depends":[],"component-name":"lib"},{"type":"pre-existing","id":"array-0.5.4.0","pkg-name":"array","pkg-version":"0.5.4.0","depends":["base-4.14.3.0"]},{"type":"configured","id":"async-2.2.4-76ad0185450ead1eb319be2b17f5d4929d4a2036dd6daf6b7e1d375f94098f27","pkg-name":"async","pkg-version":"2.2.4","flags":{"bench":false},"style":"global","pkg-src":{"type":"repo-tar","repo":{"type":"secure-repo","uri":"http://hackage.haskell.org/"}},"pkg-cabal-sha256":"9b8ceefce014e490f9e1335fa5f511161309926c55d01cec795016f4363b5d2d","pkg-src-sha256":"484df85be0e76c4fed9376451e48e1d0c6e97952ce79735b72d54297e7e0a725","depends":["base-4.14.3.0","hashable-1.4.3.0-0b38c3308404686982e5e2b43e60fe1ab5f9c32b8c8e799c52c8caf95a469cd1","stm-2.5.0.1"],"exe-depends":[],"component-name":"lib"},{"type":"pre-existing","id":"base-4.14.3.0","pkg-name":"base","pkg-version":"4.14.3.0","depends":["ghc-prim-0.6.1","integer-gmp-1.0.3.0"]},{"type":"configured","id":"base-orphans-0.9.1-5afa3fad682fdc56445f2fff83348e814c91c11da808225c081be9f5ba3bbd42","pkg-name":"base-orphans","pkg-version":"0.9.1","flags":{},"style":"global","pkg-src":{"type":"repo-tar","repo":{"type":"secure-repo","uri":"http://hackage.haskell.org/"}},"pkg-cabal-sha256":"c4733d09f798fc4304e936924a1a7d9fc2425aefad6c46ad4592035254b46051","pkg-src-sha256":"5bbf2da382c5b212d6a8be2f8c49edee0eba30f272a15fd32c13e6e4091ef172","depends":["base-4.14.3.0","ghc-prim-0.6.1"],"exe-depends":[],"component-name":"lib"},{"type":"configured","id":"base16-bytestring-1.0.2.0-733bc7ff54d4d1205255b2131fae86a7fe07229cb5ada4f2260950334d026547","pkg-name":"base16-bytestring","pkg-version":"1.0.2.0","flags":{},"style":"global","pkg-src":{"type":"repo-tar","repo":{"type":"secure-repo","uri":"http://hackage.haskell.org/"}},"pkg-cabal-sha256":"a694e88f9ec9fc79f0b03f233d3fea592b68f70a34aac2ddb5bcaecb6562e2fd","pkg-src-sha256":"1d5a91143ef0e22157536093ec8e59d226a68220ec89378d5dcaeea86472c784","depends":["base-4.14.3.0","bytestring-0.10.12.0"],"exe-depends":[],"component-name":"lib"},{"type":"configured","id":"base64-bytestring-1.2.1.0-1ceca88b1d8a588ade6eab7e0148751072964f9ea42862f670ae020beee1532b","pkg-name":"base64-bytestring","pkg-version":"1.2.1.0","flags":{},"style":"global","pkg-src":{"type":"repo-tar","repo":{"type":"secure-repo","uri":"http://hackage.haskell.org/"}},"pkg-cabal-sha256":"45305ccf8914c66d385b518721472c7b8c858f1986945377f74f85c1e0d49803","pkg-src-sha256":"fbf8ed30edde271eb605352021431d8f1b055f95a56af31fe2eacf6bdfdc49c9","depends":["base-4.14.3.0","bytestring-0.10.12.0"],"exe-depends":[],"component-name":"lib"},{"type":"pre-existing","id":"binary-0.8.8.0","pkg-name":"binary","pkg-version":"0.8.8.0","depends":["array-0.5.4.0","base-4.14.3.0","bytestring-0.10.12.0","containers-0.6.5.1","ghc-prim-0.6.1"]},{"type":"pre-existing","id":"bytestring-0.10.12.0","pkg-name":"bytestring","pkg-version":"0.10.12.0","depends":["base-4.14.3.0","deepseq-1.4.4.0","ghc-prim-0.6.1","integer-gmp-1.0.3.0"]},{"type":"configured","id":"cabal-install-3.8.1.0-inplace","pkg-name":"cabal-install","pkg-version":"3.8.1.0","flags":{"lukko":true,"native-dns":true},"style":"local","pkg-src":{"type":"local","path":"./."},"dist-dir":"./dist-newstyle/build/x86_64-linux/ghc-8.10.7/cabal-install-3.8.1.0","build-info":"./dist-newstyle/build/x86_64-linux/ghc-8.10.7/cabal-install-3.8.1.0/build-info.json","depends":["Cabal-3.8.1.0-254ed15bf5c8a3507521ed173962e284f55d5b289da364545928a13d0408b8e4","Cabal-syntax-3.8.1.0-b915cfc5b689dcee3ff0da5b8645eb84bdc2e94162e5401107d4d2a109ae6373","HTTP-4000.4.1-75090b1b9f3cc3003a55f795457e6ac8bd0a05b1dd347188fb0cee06b7543689","array-0.5.4.0","async-2.2.4-76ad0185450ead1eb319be2b17f5d4929d4a2036dd6daf6b7e1d375f94098f27","base-4.14.3.0","base16-bytestring-1.0.2.0-733bc7ff54d4d1205255b2131fae86a7fe07229cb5ada4f2260950334d026547","binary-0.8.8.0","bytestring-0.10.12.0","cabal-install-solver-3.8.1.0-0330e22ac010fe5032765c3fa31d1f807a4db2c832ec8dcbe30dce8aeae51255","containers-0.6.5.1","cryptohash-sha256-0.11.102.1-2a240aba380ab68e1884623d77ed4a88ed685ddb9615cc2d3da0054e00f826b2","directory-1.3.6.0","echo-0.1.4-f017006d03acda071f87eb81ed298118d192419036421744381a3e83d0d50f48","edit-distance-0.2.2.1-080b99643aaa59dbaf9bd405d7ff53f3915fe0496490f9875fea3bd375290254","exceptions-0.10.4","filepath-1.4.2.1","hackage-security-0.6.2.3-2a59930aa81f942708ad4f1d9aad08e3c17b71808f509c5fe8cfae3e29beb48b","hashable-1.4.3.0-0b38c3308404686982e5e2b43e60fe1ab5f9c32b8c8e799c52c8caf95a469cd1","lukko-0.1.1.3-175058dba6e76fc42a1227b8a998ec3630fc5a044650ccb155baad5fea2291ff","mtl-2.2.2","network-uri-2.6.4.2-512664775d014e86058cdfe34db9c888ac621c84b2dc250f655809aaf578be46","parsec-3.1.14.0","pretty-1.1.3.6","process-1.6.18.0-28f4084bc816db0935a003bd3b4728b865df3c3b7ad5f4bf5b50a396aff656cf","random-1.2.1.1-b872f3388deff3e63fa8625e4b64db91c39eb1fa6bb7eb2a71f43ff049f2830c","regex-base-0.94.0.2-fe2b37ccad4ad4d57b72ea59bd44841e9fe48b41f3925a58e7776dec1132252a","regex-posix-0.96.0.1-2b78e133dfdc85cf98c18d126955d5e323319db0e0cd2c02535ee368e1e3adde","resolv-0.2.0.2-bdb32c7f655d10427844dcf40badfe6c12e39ba818147e78f9a1e973e41f6e78","safe-exceptions-0.1.7.4-1db4b3cf1327cbd19559cac8a1522c8f793394f62c3dab6432f6d8666974d3d6","stm-2.5.0.1","tar-0.5.1.1-643c87cd04d43966ba086abf693a99a6c8e6a74b2250a8c6db6f078672b95893","text-1.2.4.1","time-1.9.3","unix-2.7.2.2","zlib-0.6.3.0-74d9ec99f546b67df23ff9fcfa69fbf35a9bddd9a5cf16da9466177d8b057ac5"],"exe-depends":[],"component-name":"lib"},{"type":"configured","id":"cabal-install-3.8.1.0-inplace-cabal","pkg-name":"cabal-install","pkg-version":"3.8.1.0","flags":{"lukko":true,"native-dns":true},"style":"local","pkg-src":{"type":"local","path":"./."},"dist-dir":"./dist-newstyle/build/x86_64-linux/ghc-8.10.7/cabal-install-3.8.1.0/x/cabal","build-info":"./dist-newstyle/build/x86_64-linux/ghc-8.10.7/cabal-install-3.8.1.0/x/cabal/build-info.json","depends":["Cabal-3.8.1.0-254ed15bf5c8a3507521ed173962e284f55d5b289da364545928a13d0408b8e4","Cabal-syntax-3.8.1.0-b915cfc5b689dcee3ff0da5b8645eb84bdc2e94162e5401107d4d2a109ae6373","base-4.14.3.0","cabal-install-3.8.1.0-inplace","directory-1.3.6.0","filepath-1.4.2.1"],"exe-depends":[],"component-name":"exe:cabal","bin-file":"./dist-newstyle/build/x86_64-linux/ghc-8.10.7/cabal-install-3.8.1.0/x/cabal/build/cabal/cabal"},{"type":"configured","id":"cabal-install-solver-3.8.1.0-0330e22ac010fe5032765c3fa31d1f807a4db2c832ec8dcbe30dce8aeae51255","pkg-name":"cabal-install-solver","pkg-version":"3.8.1.0","flags":{"debug-conflict-sets":false,"debug-expensive-assertions":false,"debug-tracetree":false},"style":"global","pkg-src":{"type":"repo-tar","repo":{"type":"secure-repo","uri":"http://hackage.haskell.org/"}},"pkg-cabal-sha256":"95f75217c3f6f7231576d73dd9275303f271360a0a2a0f02bb03c80b843c88bc","pkg-src-sha256":"df2369f6c37517a3b2625bc19057d9e206bbb40386bcb607f17dc7d2e588ffe7","depends":["Cabal-3.8.1.0-254ed15bf5c8a3507521ed173962e284f55d5b289da364545928a13d0408b8e4","Cabal-syntax-3.8.1.0-b915cfc5b689dcee3ff0da5b8645eb84bdc2e94162e5401107d4d2a109ae6373","array-0.5.4.0","base-4.14.3.0","bytestring-0.10.12.0","containers-0.6.5.1","edit-distance-0.2.2.1-080b99643aaa59dbaf9bd405d7ff53f3915fe0496490f9875fea3bd375290254","filepath-1.4.2.1","mtl-2.2.2","pretty-1.1.3.6","transformers-0.5.6.2"],"exe-depends":[],"component-name":"lib"},{"type":"pre-existing","id":"containers-0.6.5.1","pkg-name":"containers","pkg-version":"0.6.5.1","depends":["array-0.5.4.0","base-4.14.3.0","deepseq-1.4.4.0"]},{"type":"configured","id":"cryptohash-sha256-0.11.102.1-2a240aba380ab68e1884623d77ed4a88ed685ddb9615cc2d3da0054e00f826b2","pkg-name":"cryptohash-sha256","pkg-version":"0.11.102.1","flags":{"exe":false,"use-cbits":true},"style":"global","pkg-src":{"type":"repo-tar","repo":{"type":"secure-repo","uri":"http://hackage.haskell.org/"}},"pkg-cabal-sha256":"03db065161987f614a3a2bbcd16264f78e47efe231fb5bd161be2043eaf20488","pkg-src-sha256":"73a7dc7163871a80837495039a099967b11f5c4fe70a118277842f7a713c6bf6","depends":["base-4.14.3.0","bytestring-0.10.12.0"],"exe-depends":[],"component-name":"lib"},{"type":"configured","id":"data-array-byte-0.1.0.1-d9dda83e05cdc02ac88cc22a3ba90d50910d002ea0597977e3b36db50cb97a49","pkg-name":"data-array-byte","pkg-version":"0.1.0.1","flags":{},"style":"global","pkg-src":{"type":"repo-tar","repo":{"type":"secure-repo","uri":"http://hackage.haskell.org/"}},"pkg-cabal-sha256":"ad89e28b2b046175698fbf542af2ce43e5d2af50aae9f48d12566b1bb3de1d3c","pkg-src-sha256":"1bb6eca0b3e02d057fe7f4e14c81ef395216f421ab30fdaa1b18017c9c025600","depends":["base-4.14.3.0","deepseq-1.4.4.0","template-haskell-2.16.0.0"],"exe-depends":[],"component-name":"lib"},{"type":"pre-existing","id":"deepseq-1.4.4.0","pkg-name":"deepseq","pkg-version":"1.4.4.0","depends":["array-0.5.4.0","base-4.14.3.0","ghc-prim-0.6.1"]},{"type":"pre-existing","id":"directory-1.3.6.0","pkg-name":"directory","pkg-version":"1.3.6.0","depends":["base-4.14.3.0","filepath-1.4.2.1","time-1.9.3","unix-2.7.2.2"]},{"type":"configured","id":"echo-0.1.4-f017006d03acda071f87eb81ed298118d192419036421744381a3e83d0d50f48","pkg-name":"echo","pkg-version":"0.1.4","flags":{"example":false},"style":"global","pkg-src":{"type":"repo-tar","repo":{"type":"secure-repo","uri":"http://hackage.haskell.org/"}},"pkg-cabal-sha256":"ccce771562c49a2b29a52046ca68c62179e97e8fbeacdae32ca84a85445e8f42","pkg-src-sha256":"c9fe1bf2904825a65b667251ec644f197b71dc5c209d2d254be5de3d496b0e43","depends":["base-4.14.3.0","process-1.6.18.0-28f4084bc816db0935a003bd3b4728b865df3c3b7ad5f4bf5b50a396aff656cf"],"exe-depends":[],"component-name":"lib"},{"type":"configured","id":"ed25519-0.0.5.0-4102d940d669a56b216c5ca3e7ba3153a26cdd1810b38c4c08f49740ff9de4ad","pkg-name":"ed25519","pkg-version":"0.0.5.0","flags":{"no-donna":true,"test-doctests":true,"test-hlint":true,"test-properties":true},"style":"global","pkg-src":{"type":"repo-tar","repo":{"type":"secure-repo","uri":"http://hackage.haskell.org/"}},"pkg-cabal-sha256":"48383789821af5cc624498f3ee1d0939a070cda9468c0bfe63c951736be81c75","pkg-src-sha256":"d8a5958ebfa9309790efade64275dc5c441b568645c45ceed1b0c6ff36d6156d","depends":["base-4.14.3.0","bytestring-0.10.12.0","ghc-prim-0.6.1"],"exe-depends":[],"component-name":"lib"},{"type":"configured","id":"edit-distance-0.2.2.1-080b99643aaa59dbaf9bd405d7ff53f3915fe0496490f9875fea3bd375290254","pkg-name":"edit-distance","pkg-version":"0.2.2.1","flags":{},"style":"global","pkg-src":{"type":"repo-tar","repo":{"type":"secure-repo","uri":"http://hackage.haskell.org/"}},"pkg-cabal-sha256":"4d33a49cd383d50af090f1b888642d10116e43809f9da6023d9fc6f67d2656ee","pkg-src-sha256":"3e8885ee2f56ad4da940f043ae8f981ee2fe336b5e8e4ba3f7436cff4f526c4a","depends":["array-0.5.4.0","base-4.14.3.0","containers-0.6.5.1","random-1.2.1.1-b872f3388deff3e63fa8625e4b64db91c39eb1fa6bb7eb2a71f43ff049f2830c"],"exe-depends":[],"component-name":"lib"},{"type":"pre-existing","id":"exceptions-0.10.4","pkg-name":"exceptions","pkg-version":"0.10.4","depends":["base-4.14.3.0","mtl-2.2.2","stm-2.5.0.1","template-haskell-2.16.0.0","transformers-0.5.6.2"]},{"type":"pre-existing","id":"filepath-1.4.2.1","pkg-name":"filepath","pkg-version":"1.4.2.1","depends":["base-4.14.3.0"]},{"type":"pre-existing","id":"ghc-boot-th-8.10.7","pkg-name":"ghc-boot-th","pkg-version":"8.10.7","depends":["base-4.14.3.0"]},{"type":"pre-existing","id":"ghc-prim-0.6.1","pkg-name":"ghc-prim","pkg-version":"0.6.1","depends":[]},{"type":"configured","id":"hackage-security-0.6.2.3-2a59930aa81f942708ad4f1d9aad08e3c17b71808f509c5fe8cfae3e29beb48b","pkg-name":"hackage-security","pkg-version":"0.6.2.3","flags":{"base48":true,"cabal-syntax":true,"lukko":true,"mtl21":false,"old-directory":false,"use-network-uri":true},"style":"global","pkg-src":{"type":"repo-tar","repo":{"type":"secure-repo","uri":"http://hackage.haskell.org/"}},"pkg-cabal-sha256":"2b2e560ac449e49f86a10d79957b2409da5be4b77edabd7425696780334cf3bf","pkg-src-sha256":"52ee0576971955571d846b8e6c09638f89f4f7881f4a95173e44ccc0d856a066","depends":["Cabal-syntax-3.8.1.0-b915cfc5b689dcee3ff0da5b8645eb84bdc2e94162e5401107d4d2a109ae6373","base-4.14.3.0","base16-bytestring-1.0.2.0-733bc7ff54d4d1205255b2131fae86a7fe07229cb5ada4f2260950334d026547","base64-bytestring-1.2.1.0-1ceca88b1d8a588ade6eab7e0148751072964f9ea42862f670ae020beee1532b","bytestring-0.10.12.0","containers-0.6.5.1","cryptohash-sha256-0.11.102.1-2a240aba380ab68e1884623d77ed4a88ed685ddb9615cc2d3da0054e00f826b2","directory-1.3.6.0","ed25519-0.0.5.0-4102d940d669a56b216c5ca3e7ba3153a26cdd1810b38c4c08f49740ff9de4ad","filepath-1.4.2.1","ghc-prim-0.6.1","lukko-0.1.1.3-175058dba6e76fc42a1227b8a998ec3630fc5a044650ccb155baad5fea2291ff","mtl-2.2.2","network-3.1.4.0-31810b3941ba7a39c57ad4465a156d9552feb0b0dc9374aa6db4b73509c135e0","network-uri-2.6.4.2-512664775d014e86058cdfe34db9c888ac621c84b2dc250f655809aaf578be46","parsec-3.1.14.0","pretty-1.1.3.6","tar-0.5.1.1-643c87cd04d43966ba086abf693a99a6c8e6a74b2250a8c6db6f078672b95893","template-haskell-2.16.0.0","time-1.9.3","transformers-0.5.6.2","zlib-0.6.3.0-74d9ec99f546b67df23ff9fcfa69fbf35a9bddd9a5cf16da9466177d8b057ac5"],"exe-depends":[],"component-name":"lib"},{"type":"configured","id":"hashable-1.4.3.0-0b38c3308404686982e5e2b43e60fe1ab5f9c32b8c8e799c52c8caf95a469cd1","pkg-name":"hashable","pkg-version":"1.4.3.0","flags":{"integer-gmp":true,"random-initial-seed":false},"style":"global","pkg-src":{"type":"repo-tar","repo":{"type":"secure-repo","uri":"http://hackage.haskell.org/"}},"pkg-cabal-sha256":"f3bf68acfa0df7a064a378ef2cdcfeb55e6fb96100675f4c593556dcbf3d7194","pkg-src-sha256":"32efb16c2891786209b7cbe5c39df9b3a9ae51e836f1a54f646bc4602b7ab0f5","depends":["base-4.14.3.0","base-orphans-0.9.1-5afa3fad682fdc56445f2fff83348e814c91c11da808225c081be9f5ba3bbd42","bytestring-0.10.12.0","containers-0.6.5.1","data-array-byte-0.1.0.1-d9dda83e05cdc02ac88cc22a3ba90d50910d002ea0597977e3b36db50cb97a49","deepseq-1.4.4.0","filepath-1.4.2.1","ghc-prim-0.6.1","integer-gmp-1.0.3.0","text-1.2.4.1"],"exe-depends":[],"component-name":"lib"},{"type":"configured","id":"hsc2hs-0.68.10-e-hsc2hs-667757714a750c154bd4047351c7d1c5379d9b47952d3c07a836f326a045cf4e","pkg-name":"hsc2hs","pkg-version":"0.68.10","flags":{"in-ghc-tree":false},"style":"global","pkg-src":{"type":"repo-tar","repo":{"type":"secure-repo","uri":"http://hackage.haskell.org/"}},"pkg-cabal-sha256":"488cca2a179a5141da8f35a3a7e6699a0ef690f834f589d6b152c4947aa8fe2d","pkg-src-sha256":"6f4e34d788fe2ca7091ee0a10307ee8a7c060a1ba890f2bffad16a7d4d5cef76","depends":["base-4.14.3.0","containers-0.6.5.1","directory-1.3.6.0","filepath-1.4.2.1","process-1.6.18.0-28f4084bc816db0935a003bd3b4728b865df3c3b7ad5f4bf5b50a396aff656cf"],"exe-depends":[],"component-name":"exe:hsc2hs","bin-file":"/store/ghc-8.10.7/hsc2hs-0.68.10-e-hsc2hs-667757714a750c154bd4047351c7d1c5379d9b47952d3c07a836f326a045cf4e/bin/hsc2hs"},{"type":"pre-existing","id":"integer-gmp-1.0.3.0","pkg-name":"integer-gmp","pkg-version":"1.0.3.0","depends":["ghc-prim-0.6.1"]},{"type":"configured","id":"lukko-0.1.1.3-175058dba6e76fc42a1227b8a998ec3630fc5a044650ccb155baad5fea2291ff","pkg-name":"lukko","pkg-version":"0.1.1.3","flags":{"ofd-locking":true},"style":"global","pkg-src":{"type":"repo-tar","repo":{"type":"secure-repo","uri":"http://hackage.haskell.org/"}},"pkg-cabal-sha256":"17786545dce60c4d5783ba6125c0a6499a1abddd3d7417b15500ccd767c35f07","pkg-src-sha256":"a80efb60cfa3dae18682c01980d76d5f7e413e191cd186992e1bf7388d48ab1f","depends":["base-4.14.3.0"],"exe-depends":["hsc2hs-0.68.10-e-hsc2hs-667757714a750c154bd4047351c7d1c5379d9b47952d3c07a836f326a045cf4e"],"component-name":"lib"},{"type":"pre-existing","id":"mtl-2.2.2","pkg-name":"mtl","pkg-version":"2.2.2","depends":["base-4.14.3.0","transformers-0.5.6.2"]},{"type":"configured","id":"network-3.1.4.0-31810b3941ba7a39c57ad4465a156d9552feb0b0dc9374aa6db4b73509c135e0","pkg-name":"network","pkg-version":"3.1.4.0","flags":{"devel":false},"style":"global","pkg-src":{"type":"repo-tar","repo":{"type":"secure-repo","uri":"http://hackage.haskell.org/"}},"pkg-cabal-sha256":"e152cdb03243afb52bbc740cfbe96905ca298a6f6342f0c47b3f2e227ff19def","pkg-src-sha256":"b452a2afac95d9207357eb3820c719c7c7d27871ef4b6ed7bfcd03a036b9158e","components":{"lib":{"depends":["base-4.14.3.0","bytestring-0.10.12.0","deepseq-1.4.4.0","directory-1.3.6.0"],"exe-depends":["hsc2hs-0.68.10-e-hsc2hs-667757714a750c154bd4047351c7d1c5379d9b47952d3c07a836f326a045cf4e"]}}},{"type":"configured","id":"network-uri-2.6.4.2-512664775d014e86058cdfe34db9c888ac621c84b2dc250f655809aaf578be46","pkg-name":"network-uri","pkg-version":"2.6.4.2","flags":{},"style":"global","pkg-src":{"type":"repo-tar","repo":{"type":"secure-repo","uri":"http://hackage.haskell.org/"}},"pkg-cabal-sha256":"6fffb57373962b5651a2db8b0af732098b3bf029a7ced76a9855615de2026588","pkg-src-sha256":"9c188973126e893250b881f20e8811dca06c223c23402b06f7a1f2e995797228","depends":["base-4.14.3.0","deepseq-1.4.4.0","parsec-3.1.14.0","template-haskell-2.16.0.0","th-compat-0.1.4-e68b2813868be10a140f1cc31b5113ed69a77034f00f4aa43752fe73e721811b"],"exe-depends":[],"component-name":"lib"},{"type":"pre-existing","id":"parsec-3.1.14.0","pkg-name":"parsec","pkg-version":"3.1.14.0","depends":["base-4.14.3.0","bytestring-0.10.12.0","mtl-2.2.2","text-1.2.4.1"]},{"type":"pre-existing","id":"pretty-1.1.3.6","pkg-name":"pretty","pkg-version":"1.1.3.6","depends":["base-4.14.3.0","deepseq-1.4.4.0","ghc-prim-0.6.1"]},{"type":"configured","id":"process-1.6.18.0-28f4084bc816db0935a003bd3b4728b865df3c3b7ad5f4bf5b50a396aff656cf","pkg-name":"process","pkg-version":"1.6.18.0","flags":{},"style":"global","pkg-src":{"type":"repo-tar","repo":{"type":"secure-repo","uri":"http://hackage.haskell.org/"}},"pkg-cabal-sha256":"cd0a3e0376b5a8525983d3131a31e52f9ffefc278ce635eec45a9d3987b8be3e","pkg-src-sha256":"aa5f4c4fe4974f89f5ab998c7509daa4bda3926cfb06daacd5eba892aad8a37e","components":{"lib":{"depends":["base-4.14.3.0","deepseq-1.4.4.0","directory-1.3.6.0","filepath-1.4.2.1","unix-2.7.2.2"],"exe-depends":[]}}},{"type":"configured","id":"random-1.2.1.1-b872f3388deff3e63fa8625e4b64db91c39eb1fa6bb7eb2a71f43ff049f2830c","pkg-name":"random","pkg-version":"1.2.1.1","flags":{},"style":"global","pkg-src":{"type":"repo-tar","repo":{"type":"secure-repo","uri":"http://hackage.haskell.org/"}},"pkg-cabal-sha256":"e7c1f881159d5cc788619c9ee8b8f340ba2ff0db571cdf3d1a1968ebc5108789","pkg-src-sha256":"3e1272f7ed6a4d7bd1712b90143ec326fee9b225789222379fea20a9c90c9b76","depends":["base-4.14.3.0","bytestring-0.10.12.0","deepseq-1.4.4.0","mtl-2.2.2","splitmix-0.1.0.5-0e6e46cae31ddf8c25afcce5ef25132ee5a5e94d2cc31382c000a371f20a176e"],"exe-depends":[],"component-name":"lib"},{"type":"configured","id":"regex-base-0.94.0.2-fe2b37ccad4ad4d57b72ea59bd44841e9fe48b41f3925a58e7776dec1132252a","pkg-name":"regex-base","pkg-version":"0.94.0.2","flags":{},"style":"global","pkg-src":{"type":"repo-tar","repo":{"type":"secure-repo","uri":"http://hackage.haskell.org/"}},"pkg-cabal-sha256":"0322b2fcd1358f3355e0c8608efa60d27b14d1c9d476451dbcb9181363bd8b27","pkg-src-sha256":"7b99408f580f5bb67a1c413e0bc735886608251331ad36322020f2169aea2ef1","depends":["array-0.5.4.0","base-4.14.3.0","bytestring-0.10.12.0","containers-0.6.5.1","text-1.2.4.1"],"exe-depends":[],"component-name":"lib"},{"type":"configured","id":"regex-posix-0.96.0.1-2b78e133dfdc85cf98c18d126955d5e323319db0e0cd2c02535ee368e1e3adde","pkg-name":"regex-posix","pkg-version":"0.96.0.1","flags":{"_regex-posix-clib":false},"style":"global","pkg-src":{"type":"repo-tar","repo":{"type":"secure-repo","uri":"http://hackage.haskell.org/"}},"pkg-cabal-sha256":"816d6acc560cb86672f347a7bef8129578dde26ed760f9e79b4976ed9bd7b9fd","pkg-src-sha256":"c7827c391919227711e1cff0a762b1678fd8739f9c902fc183041ff34f59259c","depends":["array-0.5.4.0","base-4.14.3.0","bytestring-0.10.12.0","containers-0.6.5.1","regex-base-0.94.0.2-fe2b37ccad4ad4d57b72ea59bd44841e9fe48b41f3925a58e7776dec1132252a"],"exe-depends":[],"component-name":"lib"},{"type":"configured","id":"resolv-0.2.0.2-bdb32c7f655d10427844dcf40badfe6c12e39ba818147e78f9a1e973e41f6e78","pkg-name":"resolv","pkg-version":"0.2.0.2","flags":{},"style":"global","pkg-src":{"type":"repo-tar","repo":{"type":"secure-repo","uri":"http://hackage.haskell.org/"}},"pkg-cabal-sha256":"4868265ab5760d2fdeb96625b138c8df25d41b9ee2651fa299ed019a69403045","pkg-src-sha256":"880d283df9132a7375fa28670f71e86480a4f49972256dc2a204c648274ae74b","components":{"lib":{"depends":["base-4.14.3.0","base16-bytestring-1.0.2.0-733bc7ff54d4d1205255b2131fae86a7fe07229cb5ada4f2260950334d026547","binary-0.8.8.0","bytestring-0.10.12.0","containers-0.6.5.1"],"exe-depends":[]}}},{"type":"configured","id":"safe-exceptions-0.1.7.4-1db4b3cf1327cbd19559cac8a1522c8f793394f62c3dab6432f6d8666974d3d6","pkg-name":"safe-exceptions","pkg-version":"0.1.7.4","flags":{},"style":"global","pkg-src":{"type":"repo-tar","repo":{"type":"secure-repo","uri":"http://hackage.haskell.org/"}},"pkg-cabal-sha256":"8bb7261bd54bd58acfcb154be6a161fb6d0d31a1852aadc8e927d2ad2d7651d1","pkg-src-sha256":"3c51d8d50c9b60ff8bf94f942fd92e3bea9e62c5afa778dfc9f707b79da41ef6","depends":["base-4.14.3.0","deepseq-1.4.4.0","exceptions-0.10.4","transformers-0.5.6.2"],"exe-depends":[],"component-name":"lib"},{"type":"configured","id":"splitmix-0.1.0.5-0e6e46cae31ddf8c25afcce5ef25132ee5a5e94d2cc31382c000a371f20a176e","pkg-name":"splitmix","pkg-version":"0.1.0.5","flags":{"optimised-mixer":false},"style":"global","pkg-src":{"type":"repo-tar","repo":{"type":"secure-repo","uri":"http://hackage.haskell.org/"}},"pkg-cabal-sha256":"bac0ae8d46a04e410666b0c8081cff63f060f29157983b569ca86ddb6e6e0dc6","pkg-src-sha256":"9df07a9611ef45f1b1258a0b412f4d02c920248f69d2e2ce8ccda328f7e13002","depends":["base-4.14.3.0","deepseq-1.4.4.0"],"exe-depends":[],"component-name":"lib"},{"type":"pre-existing","id":"stm-2.5.0.1","pkg-name":"stm","pkg-version":"2.5.0.1","depends":["array-0.5.4.0","base-4.14.3.0"]},{"type":"configured","id":"tar-0.5.1.1-643c87cd04d43966ba086abf693a99a6c8e6a74b2250a8c6db6f078672b95893","pkg-name":"tar","pkg-version":"0.5.1.1","flags":{"old-bytestring":false,"old-time":false},"style":"global","pkg-src":{"type":"repo-tar","repo":{"type":"secure-repo","uri":"http://hackage.haskell.org/"}},"pkg-cabal-sha256":"3bbccd643018c7bf53d27740a66d7d5c856923acee960412e6dadff207c5e2ae","pkg-src-sha256":"b384449f62b2b0aa3e6d2cb1004b8060b01f21ec93e7b63e7af6d8fad8a9f1de","depends":["array-0.5.4.0","base-4.14.3.0","bytestring-0.10.12.0","containers-0.6.5.1","deepseq-1.4.4.0","directory-1.3.6.0","filepath-1.4.2.1","time-1.9.3"],"exe-depends":[],"component-name":"lib"},{"type":"pre-existing","id":"template-haskell-2.16.0.0","pkg-name":"template-haskell","pkg-version":"2.16.0.0","depends":["base-4.14.3.0","ghc-boot-th-8.10.7","ghc-prim-0.6.1","pretty-1.1.3.6"]},{"type":"pre-existing","id":"text-1.2.4.1","pkg-name":"text","pkg-version":"1.2.4.1","depends":["array-0.5.4.0","base-4.14.3.0","binary-0.8.8.0","bytestring-0.10.12.0","deepseq-1.4.4.0","ghc-prim-0.6.1","integer-gmp-1.0.3.0","template-haskell-2.16.0.0"]},{"type":"configured","id":"th-compat-0.1.4-e68b2813868be10a140f1cc31b5113ed69a77034f00f4aa43752fe73e721811b","pkg-name":"th-compat","pkg-version":"0.1.4","flags":{},"style":"global","pkg-src":{"type":"repo-tar","repo":{"type":"secure-repo","uri":"http://hackage.haskell.org/"}},"pkg-cabal-sha256":"3e7d1b8f9c72cab04c8dfdfd26589dd7f31e015ad640a207aca3b654577532ff","pkg-src-sha256":"d8f97ac14ab47b6b8a7b0fdb4ff95426322ec56badd01652ac15da4a44d4bab8","depends":["base-4.14.3.0","directory-1.3.6.0","filepath-1.4.2.1","template-haskell-2.16.0.0"],"exe-depends":[],"component-name":"lib"},{"type":"pre-existing","id":"time-1.9.3","pkg-name":"time","pkg-version":"1.9.3","depends":["base-4.14.3.0","deepseq-1.4.4.0"]},{"type":"pre-existing","id":"transformers-0.5.6.2","pkg-name":"transformers","pkg-version":"0.5.6.2","depends":["base-4.14.3.0","ghc-prim-0.6.1"]},{"type":"pre-existing","id":"unix-2.7.2.2","pkg-name":"unix","pkg-version":"2.7.2.2","depends":["base-4.14.3.0","bytestring-0.10.12.0","time-1.9.3"]},{"type":"configured","id":"zlib-0.6.3.0-74d9ec99f546b67df23ff9fcfa69fbf35a9bddd9a5cf16da9466177d8b057ac5","pkg-name":"zlib","pkg-version":"0.6.3.0","flags":{"bundled-c-zlib":false,"non-blocking-ffi":false,"pkg-config":false},"style":"global","pkg-src":{"type":"repo-tar","repo":{"type":"secure-repo","uri":"http://hackage.haskell.org/"}},"pkg-cabal-sha256":"19eb7759af71957811d5ec10ddb1e2f4c98700ddb9c0da6860c0441d811f0e6d","pkg-src-sha256":"9eaa989ad4534438b5beb51c1d3a4c8f6a088fdff0b259a5394fbf39aaee04da","depends":["base-4.14.3.0","bytestring-0.10.12.0"],"exe-depends":[],"component-name":"lib"}],"targets":[{"pkg-name":"Cabal","pkg-version":"3.8.1.0","component-name":"lib","available":[{"id":"Cabal-3.8.1.0-254ed15bf5c8a3507521ed173962e284f55d5b289da364545928a13d0408b8e4","component-name":"lib","build-by-default":true}]},{"pkg-name":"Cabal-syntax","pkg-version":"3.8.1.0","component-name":"lib","available":[{"id":"Cabal-syntax-3.8.1.0-b915cfc5b689dcee3ff0da5b8645eb84bdc2e94162e5401107d4d2a109ae6373","component-name":"lib","build-by-default":true}]},{"pkg-name":"HTTP","pkg-version":"4000.4.1","component-name":"lib","available":[{"id":"HTTP-4000.4.1-75090b1b9f3cc3003a55f795457e6ac8bd0a05b1dd347188fb0cee06b7543689","component-name":"lib","build-by-default":true}]},{"pkg-name":"HTTP","pkg-version":"4000.4.1","component-name":"test:test","available":["TargetNotLocal"]},{"pkg-name":"array","pkg-version":"0.5.4.0","component-name":"lib","available":[{"id":"array-0.5.4.0","component-name":"lib","build-by-default":true}]},{"pkg-name":"async","pkg-version":"2.2.4","component-name":"lib","available":[{"id":"async-2.2.4-76ad0185450ead1eb319be2b17f5d4929d4a2036dd6daf6b7e1d375f94098f27","component-name":"lib","build-by-default":true}]},{"pkg-name":"async","pkg-version":"2.2.4","component-name":"exe:concasync","available":["TargetNotBuildable"]},{"pkg-name":"async","pkg-version":"2.2.4","component-name":"exe:conccancel","available":["TargetNotBuildable"]},{"pkg-name":"async","pkg-version":"2.2.4","component-name":"exe:race","available":["TargetNotBuildable"]},{"pkg-name":"async","pkg-version":"2.2.4","component-name":"test:test-async","available":["TargetNotLocal"]},{"pkg-name":"base","pkg-version":"4.14.3.0","component-name":"lib","available":[{"id":"base-4.14.3.0","component-name":"lib","build-by-default":true}]},{"pkg-name":"base-orphans","pkg-version":"0.9.1","component-name":"lib","available":[{"id":"base-orphans-0.9.1-5afa3fad682fdc56445f2fff83348e814c91c11da808225c081be9f5ba3bbd42","component-name":"lib","build-by-default":true}]},{"pkg-name":"base-orphans","pkg-version":"0.9.1","component-name":"test:spec","available":["TargetNotLocal"]},{"pkg-name":"base16-bytestring","pkg-version":"1.0.2.0","component-name":"lib","available":[{"id":"base16-bytestring-1.0.2.0-733bc7ff54d4d1205255b2131fae86a7fe07229cb5ada4f2260950334d026547","component-name":"lib","build-by-default":true}]},{"pkg-name":"base16-bytestring","pkg-version":"1.0.2.0","component-name":"test:test","available":["TargetNotLocal"]},{"pkg-name":"base16-bytestring","pkg-version":"1.0.2.0","component-name":"bench:bench","available":["TargetNotLocal"]},{"pkg-name":"base64-bytestring","pkg-version":"1.2.1.0","component-name":"lib","available":[{"id":"base64-bytestring-1.2.1.0-1ceca88b1d8a588ade6eab7e0148751072964f9ea42862f670ae020beee1532b","component-name":"lib","build-by-default":true}]},{"pkg-name":"base64-bytestring","pkg-version":"1.2.1.0","component-name":"test:test","available":["TargetNotLocal"]},{"pkg-name":"base64-bytestring","pkg-version":"1.2.1.0","component-name":"bench:benchmarks","available":["TargetNotLocal"]},{"pkg-name":"binary","pkg-version":"0.8.8.0","component-name":"lib","available":[{"id":"binary-0.8.8.0","component-name":"lib","build-by-default":true}]},{"pkg-name":"bytestring","pkg-version":"0.10.12.0","component-name":"lib","available":[{"id":"bytestring-0.10.12.0","component-name":"lib","build-by-default":true}]},{"pkg-name":"cabal-install","pkg-version":"3.8.1.0","component-name":"lib","available":[{"id":"cabal-install-3.8.1.0-inplace","component-name":"lib","build-by-default":true}]},{"pkg-name":"cabal-install","pkg-version":"3.8.1.0","component-name":"exe:cabal","available":[{"id":"cabal-install-3.8.1.0-inplace-cabal","component-name":"exe:cabal","build-by-default":true}]},{"pkg-name":"cabal-install","pkg-version":"3.8.1.0","component-name":"test:integration-tests2","available":["TargetDisabledByUser"]},{"pkg-name":"cabal-install","pkg-version":"3.8.1.0","component-name":"test:long-tests","available":["TargetDisabledByUser"]},{"pkg-name":"cabal-install","pkg-version":"3.8.1.0","component-name":"test:mem-use-tests","available":["TargetDisabledByUser"]},{"pkg-name":"cabal-install","pkg-version":"3.8.1.0","component-name":"test:unit-tests","available":["TargetDisabledByUser"]},{"pkg-name":"cabal-install-solver","pkg-version":"3.8.1.0","component-name":"lib","available":[{"id":"cabal-install-solver-3.8.1.0-0330e22ac010fe5032765c3fa31d1f807a4db2c832ec8dcbe30dce8aeae51255","component-name":"lib","build-by-default":true}]},{"pkg-name":"cabal-install-solver","pkg-version":"3.8.1.0","component-name":"test:unit-tests","available":["TargetNotLocal"]},{"pkg-name":"containers","pkg-version":"0.6.5.1","component-name":"lib","available":[{"id":"containers-0.6.5.1","component-name":"lib","build-by-default":true}]},{"pkg-name":"cryptohash-sha256","pkg-version":"0.11.102.1","component-name":"lib","available":[{"id":"cryptohash-sha256-0.11.102.1-2a240aba380ab68e1884623d77ed4a88ed685ddb9615cc2d3da0054e00f826b2","component-name":"lib","build-by-default":true}]},{"pkg-name":"cryptohash-sha256","pkg-version":"0.11.102.1","component-name":"exe:sha256sum","available":["TargetNotBuildable"]},{"pkg-name":"cryptohash-sha256","pkg-version":"0.11.102.1","component-name":"test:test-sha256","available":["TargetNotLocal"]},{"pkg-name":"cryptohash-sha256","pkg-version":"0.11.102.1","component-name":"bench:bench-sha256","available":["TargetNotLocal"]},{"pkg-name":"data-array-byte","pkg-version":"0.1.0.1","component-name":"lib","available":[{"id":"data-array-byte-0.1.0.1-d9dda83e05cdc02ac88cc22a3ba90d50910d002ea0597977e3b36db50cb97a49","component-name":"lib","build-by-default":true}]},{"pkg-name":"data-array-byte","pkg-version":"0.1.0.1","component-name":"test:data-array-byte-tests","available":["TargetNotLocal"]},{"pkg-name":"deepseq","pkg-version":"1.4.4.0","component-name":"lib","available":[{"id":"deepseq-1.4.4.0","component-name":"lib","build-by-default":true}]},{"pkg-name":"directory","pkg-version":"1.3.6.0","component-name":"lib","available":[{"id":"directory-1.3.6.0","component-name":"lib","build-by-default":true}]},{"pkg-name":"echo","pkg-version":"0.1.4","component-name":"lib","available":[{"id":"echo-0.1.4-f017006d03acda071f87eb81ed298118d192419036421744381a3e83d0d50f48","component-name":"lib","build-by-default":true}]},{"pkg-name":"echo","pkg-version":"0.1.4","component-name":"exe:password","available":["TargetNotBuildable"]},{"pkg-name":"ed25519","pkg-version":"0.0.5.0","component-name":"lib","available":[{"id":"ed25519-0.0.5.0-4102d940d669a56b216c5ca3e7ba3153a26cdd1810b38c4c08f49740ff9de4ad","component-name":"lib","build-by-default":true}]},{"pkg-name":"ed25519","pkg-version":"0.0.5.0","component-name":"test:doctests","available":["TargetNotLocal"]},{"pkg-name":"ed25519","pkg-version":"0.0.5.0","component-name":"test:hlint","available":["TargetNotLocal"]},{"pkg-name":"ed25519","pkg-version":"0.0.5.0","component-name":"test:properties","available":["TargetNotLocal"]},{"pkg-name":"ed25519","pkg-version":"0.0.5.0","component-name":"bench:bench","available":["TargetNotLocal"]},{"pkg-name":"edit-distance","pkg-version":"0.2.2.1","component-name":"lib","available":[{"id":"edit-distance-0.2.2.1-080b99643aaa59dbaf9bd405d7ff53f3915fe0496490f9875fea3bd375290254","component-name":"lib","build-by-default":true}]},{"pkg-name":"edit-distance","pkg-version":"0.2.2.1","component-name":"test:edit-distance-tests","available":["TargetNotLocal"]},{"pkg-name":"edit-distance","pkg-version":"0.2.2.1","component-name":"bench:edit-distance-benchmark","available":["TargetNotLocal"]},{"pkg-name":"exceptions","pkg-version":"0.10.4","component-name":"lib","available":[{"id":"exceptions-0.10.4","component-name":"lib","build-by-default":true}]},{"pkg-name":"filepath","pkg-version":"1.4.2.1","component-name":"lib","available":[{"id":"filepath-1.4.2.1","component-name":"lib","build-by-default":true}]},{"pkg-name":"ghc-boot-th","pkg-version":"8.10.7","component-name":"lib","available":[{"id":"ghc-boot-th-8.10.7","component-name":"lib","build-by-default":true}]},{"pkg-name":"ghc-prim","pkg-version":"0.6.1","component-name":"lib","available":[{"id":"ghc-prim-0.6.1","component-name":"lib","build-by-default":true}]},{"pkg-name":"hackage-security","pkg-version":"0.6.2.3","component-name":"lib","available":[{"id":"hackage-security-0.6.2.3-2a59930aa81f942708ad4f1d9aad08e3c17b71808f509c5fe8cfae3e29beb48b","component-name":"lib","build-by-default":true}]},{"pkg-name":"hackage-security","pkg-version":"0.6.2.3","component-name":"test:TestSuite","available":["TargetNotLocal"]},{"pkg-name":"hashable","pkg-version":"1.4.3.0","component-name":"lib","available":[{"id":"hashable-1.4.3.0-0b38c3308404686982e5e2b43e60fe1ab5f9c32b8c8e799c52c8caf95a469cd1","component-name":"lib","build-by-default":true}]},{"pkg-name":"hashable","pkg-version":"1.4.3.0","component-name":"test:hashable-examples","available":["TargetNotLocal"]},{"pkg-name":"hashable","pkg-version":"1.4.3.0","component-name":"test:hashable-tests","available":["TargetNotLocal"]},{"pkg-name":"hsc2hs","pkg-version":"0.68.10","component-name":"exe:hsc2hs","available":[{"id":"hsc2hs-0.68.10-e-hsc2hs-667757714a750c154bd4047351c7d1c5379d9b47952d3c07a836f326a045cf4e","component-name":"exe:hsc2hs","build-by-default":true}]},{"pkg-name":"hsc2hs","pkg-version":"0.68.10","component-name":"test:spec","available":["TargetNotLocal"]},{"pkg-name":"integer-gmp","pkg-version":"1.0.3.0","component-name":"lib","available":[{"id":"integer-gmp-1.0.3.0","component-name":"lib","build-by-default":true}]},{"pkg-name":"lukko","pkg-version":"0.1.1.3","component-name":"lib","available":[{"id":"lukko-0.1.1.3-175058dba6e76fc42a1227b8a998ec3630fc5a044650ccb155baad5fea2291ff","component-name":"lib","build-by-default":true}]},{"pkg-name":"lukko","pkg-version":"0.1.1.3","component-name":"test:test-process","available":["TargetNotLocal"]},{"pkg-name":"lukko","pkg-version":"0.1.1.3","component-name":"test:test-thread","available":["TargetNotLocal"]},{"pkg-name":"mtl","pkg-version":"2.2.2","component-name":"lib","available":[{"id":"mtl-2.2.2","component-name":"lib","build-by-default":true}]},{"pkg-name":"network","pkg-version":"3.1.4.0","component-name":"lib","available":[{"id":"network-3.1.4.0-31810b3941ba7a39c57ad4465a156d9552feb0b0dc9374aa6db4b73509c135e0","component-name":"lib","build-by-default":true}]},{"pkg-name":"network","pkg-version":"3.1.4.0","component-name":"test:spec","available":["TargetNotLocal"]},{"pkg-name":"network-uri","pkg-version":"2.6.4.2","component-name":"lib","available":[{"id":"network-uri-2.6.4.2-512664775d014e86058cdfe34db9c888ac621c84b2dc250f655809aaf578be46","component-name":"lib","build-by-default":true}]},{"pkg-name":"network-uri","pkg-version":"2.6.4.2","component-name":"test:uri","available":["TargetNotLocal"]},{"pkg-name":"network-uri","pkg-version":"2.6.4.2","component-name":"bench:uri-bench","available":["TargetNotLocal"]},{"pkg-name":"parsec","pkg-version":"3.1.14.0","component-name":"lib","available":[{"id":"parsec-3.1.14.0","component-name":"lib","build-by-default":true}]},{"pkg-name":"pretty","pkg-version":"1.1.3.6","component-name":"lib","available":[{"id":"pretty-1.1.3.6","component-name":"lib","build-by-default":true}]},{"pkg-name":"process","pkg-version":"1.6.18.0","component-name":"lib","available":[{"id":"process-1.6.18.0-28f4084bc816db0935a003bd3b4728b865df3c3b7ad5f4bf5b50a396aff656cf","component-name":"lib","build-by-default":true}]},{"pkg-name":"process","pkg-version":"1.6.18.0","component-name":"test:test","available":["TargetNotLocal"]},{"pkg-name":"random","pkg-version":"1.2.1.1","component-name":"lib","available":[{"id":"random-1.2.1.1-b872f3388deff3e63fa8625e4b64db91c39eb1fa6bb7eb2a71f43ff049f2830c","component-name":"lib","build-by-default":true}]},{"pkg-name":"random","pkg-version":"1.2.1.1","component-name":"test:doctests","available":["TargetNotLocal"]},{"pkg-name":"random","pkg-version":"1.2.1.1","component-name":"test:legacy-test","available":["TargetNotLocal"]},{"pkg-name":"random","pkg-version":"1.2.1.1","component-name":"test:spec","available":["TargetNotLocal"]},{"pkg-name":"random","pkg-version":"1.2.1.1","component-name":"test:spec-inspection","available":["TargetNotLocal"]},{"pkg-name":"random","pkg-version":"1.2.1.1","component-name":"bench:bench","available":["TargetNotLocal"]},{"pkg-name":"random","pkg-version":"1.2.1.1","component-name":"bench:legacy-bench","available":["TargetNotLocal"]},{"pkg-name":"regex-base","pkg-version":"0.94.0.2","component-name":"lib","available":[{"id":"regex-base-0.94.0.2-fe2b37ccad4ad4d57b72ea59bd44841e9fe48b41f3925a58e7776dec1132252a","component-name":"lib","build-by-default":true}]},{"pkg-name":"regex-posix","pkg-version":"0.96.0.1","component-name":"lib","available":[{"id":"regex-posix-0.96.0.1-2b78e133dfdc85cf98c18d126955d5e323319db0e0cd2c02535ee368e1e3adde","component-name":"lib","build-by-default":true}]},{"pkg-name":"resolv","pkg-version":"0.2.0.2","component-name":"lib","available":[{"id":"resolv-0.2.0.2-bdb32c7f655d10427844dcf40badfe6c12e39ba818147e78f9a1e973e41f6e78","component-name":"lib","build-by-default":true}]},{"pkg-name":"resolv","pkg-version":"0.2.0.2","component-name":"test:resolv.","available":["TargetNotLocal"]},{"pkg-name":"safe-exceptions","pkg-version":"0.1.7.4","component-name":"lib","available":[{"id":"safe-exceptions-0.1.7.4-1db4b3cf1327cbd19559cac8a1522c8f793394f62c3dab6432f6d8666974d3d6","component-name":"lib","build-by-default":true}]},{"pkg-name":"safe-exceptions","pkg-version":"0.1.7.4","component-name":"test:safe-exceptions-test","available":["TargetNotLocal"]},{"pkg-name":"splitmix","pkg-version":"0.1.0.5","component-name":"lib","available":[{"id":"splitmix-0.1.0.5-0e6e46cae31ddf8c25afcce5ef25132ee5a5e94d2cc31382c000a371f20a176e","component-name":"lib","build-by-default":true}]},{"pkg-name":"splitmix","pkg-version":"0.1.0.5","component-name":"test:examples","available":["TargetNotLocal"]},{"pkg-name":"splitmix","pkg-version":"0.1.0.5","component-name":"test:initialization","available":["TargetNotLocal"]},{"pkg-name":"splitmix","pkg-version":"0.1.0.5","component-name":"test:montecarlo-pi","available":["TargetNotLocal"]},{"pkg-name":"splitmix","pkg-version":"0.1.0.5","component-name":"test:montecarlo-pi-32","available":["TargetNotLocal"]},{"pkg-name":"splitmix","pkg-version":"0.1.0.5","component-name":"test:splitmix-dieharder","available":["TargetNotLocal"]},{"pkg-name":"splitmix","pkg-version":"0.1.0.5","component-name":"test:splitmix-tests","available":["TargetNotLocal"]},{"pkg-name":"splitmix","pkg-version":"0.1.0.5","component-name":"test:splitmix-testu01","available":["TargetNotLocal"]},{"pkg-name":"splitmix","pkg-version":"0.1.0.5","component-name":"bench:comparison","available":["TargetNotLocal"]},{"pkg-name":"splitmix","pkg-version":"0.1.0.5","component-name":"bench:range","available":["TargetNotLocal"]},{"pkg-name":"splitmix","pkg-version":"0.1.0.5","component-name":"bench:simple-sum","available":["TargetNotLocal"]},{"pkg-name":"stm","pkg-version":"2.5.0.1","component-name":"lib","available":[{"id":"stm-2.5.0.1","component-name":"lib","build-by-default":true}]},{"pkg-name":"tar","pkg-version":"0.5.1.1","component-name":"lib","available":[{"id":"tar-0.5.1.1-643c87cd04d43966ba086abf693a99a6c8e6a74b2250a8c6db6f078672b95893","component-name":"lib","build-by-default":true}]},{"pkg-name":"tar","pkg-version":"0.5.1.1","component-name":"test:properties","available":["TargetNotLocal"]},{"pkg-name":"tar","pkg-version":"0.5.1.1","component-name":"bench:bench","available":["TargetNotLocal"]},{"pkg-name":"template-haskell","pkg-version":"2.16.0.0","component-name":"lib","available":[{"id":"template-haskell-2.16.0.0","component-name":"lib","build-by-default":true}]},{"pkg-name":"text","pkg-version":"1.2.4.1","component-name":"lib","available":[{"id":"text-1.2.4.1","component-name":"lib","build-by-default":true}]},{"pkg-name":"th-compat","pkg-version":"0.1.4","component-name":"lib","available":[{"id":"th-compat-0.1.4-e68b2813868be10a140f1cc31b5113ed69a77034f00f4aa43752fe73e721811b","component-name":"lib","build-by-default":true}]},{"pkg-name":"th-compat","pkg-version":"0.1.4","component-name":"test:spec","available":["TargetNotLocal"]},{"pkg-name":"time","pkg-version":"1.9.3","component-name":"lib","available":[{"id":"time-1.9.3","component-name":"lib","build-by-default":true}]},{"pkg-name":"transformers","pkg-version":"0.5.6.2","component-name":"lib","available":[{"id":"transformers-0.5.6.2","component-name":"lib","build-by-default":true}]},{"pkg-name":"unix","pkg-version":"2.7.2.2","component-name":"lib","available":[{"id":"unix-2.7.2.2","component-name":"lib","build-by-default":true}]},{"pkg-name":"zlib","pkg-version":"0.6.3.0","component-name":"lib","available":[{"id":"zlib-0.6.3.0-74d9ec99f546b67df23ff9fcfa69fbf35a9bddd9a5cf16da9466177d8b057ac5","component-name":"lib","build-by-default":true}]},{"pkg-name":"zlib","pkg-version":"0.6.3.0","component-name":"test:tests","available":["TargetNotLocal"]}]} \ No newline at end of file +{"cabal-version":"3.10.3.0","cabal-lib-version":"3.10.3.0","compiler-id":"ghc-8.10.7","os":"linux","arch":"x86_64","install-plan":[{"type":"configured","id":"Cabal-3.8.1.0-9707630d5b87b5255535dd1cdc5c1388011a6e2378bacace935b353e563ce39c","pkg-name":"Cabal","pkg-version":"3.8.1.0","flags":{},"style":"global","pkg-src":{"type":"repo-tar","repo":{"type":"secure-repo","uri":"http://hackage.haskell.org/"}},"pkg-cabal-sha256":"77121d8e1aff14a0fd95684b751599db78a7dd26d55862d9fcef27c88b193e9d","pkg-src-sha256":"7464cbe6c2f3d7e5d0232023a1a7330621f8b24853cb259fc89a2af85b736608","depends":["Cabal-syntax-3.8.1.0-b915cfc5b689dcee3ff0da5b8645eb84bdc2e94162e5401107d4d2a109ae6373","array-0.5.4.0","base-4.14.3.0","bytestring-0.10.12.0","containers-0.6.5.1","deepseq-1.4.4.0","directory-1.3.6.0","filepath-1.4.2.1","mtl-2.2.2","parsec-3.1.14.0","pretty-1.1.3.6","process-1.6.25.0-7c2db3e3976eadbd4c45464fc016576d68f49449ecbfe19bbd65074e9d2ced68","text-1.2.4.1","time-1.9.3","transformers-0.5.6.2","unix-2.7.2.2"],"exe-depends":[],"component-name":"lib"},{"type":"configured","id":"Cabal-syntax-3.8.1.0-b915cfc5b689dcee3ff0da5b8645eb84bdc2e94162e5401107d4d2a109ae6373","pkg-name":"Cabal-syntax","pkg-version":"3.8.1.0","flags":{},"style":"global","pkg-src":{"type":"repo-tar","repo":{"type":"secure-repo","uri":"http://hackage.haskell.org/"}},"pkg-cabal-sha256":"ed2d937ba6c6a20b75850349eedd41374885fc42369ef152d69e2ba70f44f593","pkg-src-sha256":"07e8ddb19fe01781485f1522b6afc22aba680b0ab28ebe6bbfb84a2dd698ce0f","depends":["array-0.5.4.0","base-4.14.3.0","binary-0.8.8.0","bytestring-0.10.12.0","containers-0.6.5.1","deepseq-1.4.4.0","directory-1.3.6.0","filepath-1.4.2.1","mtl-2.2.2","parsec-3.1.14.0","pretty-1.1.3.6","text-1.2.4.1","time-1.9.3","transformers-0.5.6.2","unix-2.7.2.2"],"exe-depends":[],"component-name":"lib"},{"type":"configured","id":"HTTP-4000.4.1-6dc1f9432ad0ab7d16fccfeb14add1938d6f39b09945276192b7523c92d13453","pkg-name":"HTTP","pkg-version":"4000.4.1","flags":{"conduit10":false,"network-uri":true,"warn-as-error":false,"warp-tests":false},"style":"global","pkg-src":{"type":"repo-tar","repo":{"type":"secure-repo","uri":"http://hackage.haskell.org/"}},"pkg-cabal-sha256":"b90ce97917703f6613ed5a8cfe1a51525b990244f5610509baa15c8499eadca3","pkg-src-sha256":"df31d8efec775124dab856d7177ddcba31be9f9e0836ebdab03d94392f2dd453","depends":["array-0.5.4.0","base-4.14.3.0","bytestring-0.10.12.0","mtl-2.2.2","network-3.2.4.0-2ba28449b417f9ca68080de999f5b83c25dbe680beb39e110fdcda8027ff2c7e","network-uri-2.6.4.2-041d40ac65e58a034205c5d6eaecac3dc5e5c701f871a30955fe5cb46227b32e","parsec-3.1.14.0","time-1.9.3","transformers-0.5.6.2"],"exe-depends":[],"component-name":"lib"},{"type":"pre-existing","id":"array-0.5.4.0","pkg-name":"array","pkg-version":"0.5.4.0","depends":["base-4.14.3.0"]},{"type":"configured","id":"async-2.2.5-74ec8acb9f354f707cc2356fc0099d4a1cddb661c90dcdd1642fb6585cebfef7","pkg-name":"async","pkg-version":"2.2.5","flags":{"bench":false},"style":"global","pkg-src":{"type":"repo-tar","repo":{"type":"secure-repo","uri":"http://hackage.haskell.org/"}},"pkg-cabal-sha256":"cf9e6afba8e01830ca0d32a12b98d481cf389688762c80d1870a1db2061ebf35","pkg-src-sha256":"1818473ebab9212afad2ed76297aefde5fae8b5d4404daf36939aece6a8f16f7","depends":["base-4.14.3.0","hashable-1.4.7.0-10c43296d361f1ffe75584e263fd1be68e8dc0688c992793ac1a3b9b3d0f2ea5","stm-2.5.0.1"],"exe-depends":[],"component-name":"lib"},{"type":"pre-existing","id":"base-4.14.3.0","pkg-name":"base","pkg-version":"4.14.3.0","depends":["ghc-prim-0.6.1","integer-gmp-1.0.3.0"]},{"type":"configured","id":"base-orphans-0.9.2-9e3b780944b02cce28a472cb955bf94112c5a9010ab77eaa1eb84cb5e96af03d","pkg-name":"base-orphans","pkg-version":"0.9.2","flags":{},"style":"global","pkg-src":{"type":"repo-tar","repo":{"type":"secure-repo","uri":"http://hackage.haskell.org/"}},"pkg-cabal-sha256":"455d863c96cf4b1804772c630a235f535fdb52ca9137a4150967b521ee4734ab","pkg-src-sha256":"6211900916955b84687c61b5e4fa98ce110e511a96086b7a93f06dd63c97ba93","depends":["base-4.14.3.0","ghc-prim-0.6.1"],"exe-depends":[],"component-name":"lib"},{"type":"configured","id":"base16-bytestring-1.0.2.0-733bc7ff54d4d1205255b2131fae86a7fe07229cb5ada4f2260950334d026547","pkg-name":"base16-bytestring","pkg-version":"1.0.2.0","flags":{},"style":"global","pkg-src":{"type":"repo-tar","repo":{"type":"secure-repo","uri":"http://hackage.haskell.org/"}},"pkg-cabal-sha256":"a694e88f9ec9fc79f0b03f233d3fea592b68f70a34aac2ddb5bcaecb6562e2fd","pkg-src-sha256":"1d5a91143ef0e22157536093ec8e59d226a68220ec89378d5dcaeea86472c784","depends":["base-4.14.3.0","bytestring-0.10.12.0"],"exe-depends":[],"component-name":"lib"},{"type":"configured","id":"base64-bytestring-1.2.1.0-1ceca88b1d8a588ade6eab7e0148751072964f9ea42862f670ae020beee1532b","pkg-name":"base64-bytestring","pkg-version":"1.2.1.0","flags":{},"style":"global","pkg-src":{"type":"repo-tar","repo":{"type":"secure-repo","uri":"http://hackage.haskell.org/"}},"pkg-cabal-sha256":"45305ccf8914c66d385b518721472c7b8c858f1986945377f74f85c1e0d49803","pkg-src-sha256":"fbf8ed30edde271eb605352021431d8f1b055f95a56af31fe2eacf6bdfdc49c9","depends":["base-4.14.3.0","bytestring-0.10.12.0"],"exe-depends":[],"component-name":"lib"},{"type":"pre-existing","id":"binary-0.8.8.0","pkg-name":"binary","pkg-version":"0.8.8.0","depends":["array-0.5.4.0","base-4.14.3.0","bytestring-0.10.12.0","containers-0.6.5.1","ghc-prim-0.6.1"]},{"type":"pre-existing","id":"bytestring-0.10.12.0","pkg-name":"bytestring","pkg-version":"0.10.12.0","depends":["base-4.14.3.0","deepseq-1.4.4.0","ghc-prim-0.6.1","integer-gmp-1.0.3.0"]},{"type":"configured","id":"cabal-install-3.8.1.0-6cc443961b93827816dccc57bc55ab15a4051a0723ddfa769ac05a73cf4076b3","pkg-name":"cabal-install","pkg-version":"3.8.1.0","flags":{"lukko":true,"native-dns":true},"style":"global","pkg-src":{"type":"repo-tar","repo":{"type":"secure-repo","uri":"http://hackage.haskell.org/"}},"pkg-cabal-sha256":"f5c75a0d51384ef8f314a2f37cbc812bde694f871678503e2a08bb27c69f5429","pkg-src-sha256":"61ce436f2e14e12bf07ea1c81402362f46275014cd841a76566f0766d0ea67e6","depends":["Cabal-3.8.1.0-9707630d5b87b5255535dd1cdc5c1388011a6e2378bacace935b353e563ce39c","Cabal-syntax-3.8.1.0-b915cfc5b689dcee3ff0da5b8645eb84bdc2e94162e5401107d4d2a109ae6373","HTTP-4000.4.1-6dc1f9432ad0ab7d16fccfeb14add1938d6f39b09945276192b7523c92d13453","array-0.5.4.0","async-2.2.5-74ec8acb9f354f707cc2356fc0099d4a1cddb661c90dcdd1642fb6585cebfef7","base-4.14.3.0","base16-bytestring-1.0.2.0-733bc7ff54d4d1205255b2131fae86a7fe07229cb5ada4f2260950334d026547","binary-0.8.8.0","bytestring-0.10.12.0","cabal-install-solver-3.8.1.0-4f279eaaf871f082f97d63d7ec51aa2a74782962a65037426262b99ff3005009","containers-0.6.5.1","cryptohash-sha256-0.11.102.1-2a240aba380ab68e1884623d77ed4a88ed685ddb9615cc2d3da0054e00f826b2","directory-1.3.6.0","echo-0.1.4-d72e102fa3a0d369133791e19c9277466eef4afbdd788e8f239a57200a1305b6","edit-distance-0.2.2.1-bb84b089c56b44431b92cc99c2438094229d3fba509a93fd3b0f2b920e4f233d","exceptions-0.10.4","filepath-1.4.2.1","hackage-security-0.6.2.6-4422fec988802e096a64239a848ef359da2a6c29ebb4c37e62f501917fdf1c07","hashable-1.4.7.0-10c43296d361f1ffe75584e263fd1be68e8dc0688c992793ac1a3b9b3d0f2ea5","lukko-0.1.2-225bb8308ee8a36401e4004373ca5973e98402b8727aedb5f70a65fd5dcb5469","mtl-2.2.2","network-uri-2.6.4.2-041d40ac65e58a034205c5d6eaecac3dc5e5c701f871a30955fe5cb46227b32e","parsec-3.1.14.0","pretty-1.1.3.6","process-1.6.25.0-7c2db3e3976eadbd4c45464fc016576d68f49449ecbfe19bbd65074e9d2ced68","random-1.2.1.2-07a4a7983afad9a08a709a8fe936f4c30419f4aaf48209070b43d3796b0fdbec","regex-base-0.94.0.2-fe2b37ccad4ad4d57b72ea59bd44841e9fe48b41f3925a58e7776dec1132252a","regex-posix-0.96.0.1-2b78e133dfdc85cf98c18d126955d5e323319db0e0cd2c02535ee368e1e3adde","resolv-0.2.0.2-bdb32c7f655d10427844dcf40badfe6c12e39ba818147e78f9a1e973e41f6e78","safe-exceptions-0.1.7.4-1db4b3cf1327cbd19559cac8a1522c8f793394f62c3dab6432f6d8666974d3d6","stm-2.5.0.1","tar-0.5.1.1-643c87cd04d43966ba086abf693a99a6c8e6a74b2250a8c6db6f078672b95893","text-1.2.4.1","time-1.9.3","unix-2.7.2.2","zlib-0.6.3.0-74d9ec99f546b67df23ff9fcfa69fbf35a9bddd9a5cf16da9466177d8b057ac5"],"exe-depends":[],"component-name":"lib"},{"type":"configured","id":"cabal-install-3.8.1.0-e-cabal-a698df4bc5c8f71e315b3a3ed5ff544f849b978b64f805804a69af98f6dfb11d","pkg-name":"cabal-install","pkg-version":"3.8.1.0","flags":{"lukko":true,"native-dns":true},"style":"global","pkg-src":{"type":"repo-tar","repo":{"type":"secure-repo","uri":"http://hackage.haskell.org/"}},"pkg-cabal-sha256":"f5c75a0d51384ef8f314a2f37cbc812bde694f871678503e2a08bb27c69f5429","pkg-src-sha256":"61ce436f2e14e12bf07ea1c81402362f46275014cd841a76566f0766d0ea67e6","depends":["Cabal-3.8.1.0-9707630d5b87b5255535dd1cdc5c1388011a6e2378bacace935b353e563ce39c","Cabal-syntax-3.8.1.0-b915cfc5b689dcee3ff0da5b8645eb84bdc2e94162e5401107d4d2a109ae6373","base-4.14.3.0","cabal-install-3.8.1.0-6cc443961b93827816dccc57bc55ab15a4051a0723ddfa769ac05a73cf4076b3","directory-1.3.6.0","filepath-1.4.2.1"],"exe-depends":[],"component-name":"exe:cabal","bin-file":"/store/ghc-8.10.7/cabal-install-3.8.1.0-e-cabal-a698df4bc5c8f71e315b3a3ed5ff544f849b978b64f805804a69af98f6dfb11d/bin/cabal"},{"type":"configured","id":"cabal-install-solver-3.8.1.0-4f279eaaf871f082f97d63d7ec51aa2a74782962a65037426262b99ff3005009","pkg-name":"cabal-install-solver","pkg-version":"3.8.1.0","flags":{"debug-conflict-sets":false,"debug-expensive-assertions":false,"debug-tracetree":false},"style":"global","pkg-src":{"type":"repo-tar","repo":{"type":"secure-repo","uri":"http://hackage.haskell.org/"}},"pkg-cabal-sha256":"95f75217c3f6f7231576d73dd9275303f271360a0a2a0f02bb03c80b843c88bc","pkg-src-sha256":"df2369f6c37517a3b2625bc19057d9e206bbb40386bcb607f17dc7d2e588ffe7","depends":["Cabal-3.8.1.0-9707630d5b87b5255535dd1cdc5c1388011a6e2378bacace935b353e563ce39c","Cabal-syntax-3.8.1.0-b915cfc5b689dcee3ff0da5b8645eb84bdc2e94162e5401107d4d2a109ae6373","array-0.5.4.0","base-4.14.3.0","bytestring-0.10.12.0","containers-0.6.5.1","edit-distance-0.2.2.1-bb84b089c56b44431b92cc99c2438094229d3fba509a93fd3b0f2b920e4f233d","filepath-1.4.2.1","mtl-2.2.2","pretty-1.1.3.6","transformers-0.5.6.2"],"exe-depends":[],"component-name":"lib"},{"type":"pre-existing","id":"containers-0.6.5.1","pkg-name":"containers","pkg-version":"0.6.5.1","depends":["array-0.5.4.0","base-4.14.3.0","deepseq-1.4.4.0"]},{"type":"configured","id":"cryptohash-sha256-0.11.102.1-2a240aba380ab68e1884623d77ed4a88ed685ddb9615cc2d3da0054e00f826b2","pkg-name":"cryptohash-sha256","pkg-version":"0.11.102.1","flags":{"exe":false,"use-cbits":true},"style":"global","pkg-src":{"type":"repo-tar","repo":{"type":"secure-repo","uri":"http://hackage.haskell.org/"}},"pkg-cabal-sha256":"acb64f2af52d81b0bb92c266f11d43def726a7a7b74a2c23d219e160b54edec7","pkg-src-sha256":"73a7dc7163871a80837495039a099967b11f5c4fe70a118277842f7a713c6bf6","depends":["base-4.14.3.0","bytestring-0.10.12.0"],"exe-depends":[],"component-name":"lib"},{"type":"configured","id":"data-array-byte-0.1.0.1-d9dda83e05cdc02ac88cc22a3ba90d50910d002ea0597977e3b36db50cb97a49","pkg-name":"data-array-byte","pkg-version":"0.1.0.1","flags":{},"style":"global","pkg-src":{"type":"repo-tar","repo":{"type":"secure-repo","uri":"http://hackage.haskell.org/"}},"pkg-cabal-sha256":"a4a1975fde77e289b605c45a3ef78d731d8c1834e4cef311152d910a1e94d98c","pkg-src-sha256":"1bb6eca0b3e02d057fe7f4e14c81ef395216f421ab30fdaa1b18017c9c025600","depends":["base-4.14.3.0","deepseq-1.4.4.0","template-haskell-2.16.0.0"],"exe-depends":[],"component-name":"lib"},{"type":"pre-existing","id":"deepseq-1.4.4.0","pkg-name":"deepseq","pkg-version":"1.4.4.0","depends":["array-0.5.4.0","base-4.14.3.0","ghc-prim-0.6.1"]},{"type":"pre-existing","id":"directory-1.3.6.0","pkg-name":"directory","pkg-version":"1.3.6.0","depends":["base-4.14.3.0","filepath-1.4.2.1","time-1.9.3","unix-2.7.2.2"]},{"type":"configured","id":"echo-0.1.4-d72e102fa3a0d369133791e19c9277466eef4afbdd788e8f239a57200a1305b6","pkg-name":"echo","pkg-version":"0.1.4","flags":{"example":false},"style":"global","pkg-src":{"type":"repo-tar","repo":{"type":"secure-repo","uri":"http://hackage.haskell.org/"}},"pkg-cabal-sha256":"ccce771562c49a2b29a52046ca68c62179e97e8fbeacdae32ca84a85445e8f42","pkg-src-sha256":"c9fe1bf2904825a65b667251ec644f197b71dc5c209d2d254be5de3d496b0e43","depends":["base-4.14.3.0","process-1.6.25.0-7c2db3e3976eadbd4c45464fc016576d68f49449ecbfe19bbd65074e9d2ced68"],"exe-depends":[],"component-name":"lib"},{"type":"configured","id":"ed25519-0.0.5.0-4102d940d669a56b216c5ca3e7ba3153a26cdd1810b38c4c08f49740ff9de4ad","pkg-name":"ed25519","pkg-version":"0.0.5.0","flags":{"no-donna":true,"test-doctests":true,"test-hlint":true,"test-properties":true},"style":"global","pkg-src":{"type":"repo-tar","repo":{"type":"secure-repo","uri":"http://hackage.haskell.org/"}},"pkg-cabal-sha256":"48383789821af5cc624498f3ee1d0939a070cda9468c0bfe63c951736be81c75","pkg-src-sha256":"d8a5958ebfa9309790efade64275dc5c441b568645c45ceed1b0c6ff36d6156d","depends":["base-4.14.3.0","bytestring-0.10.12.0","ghc-prim-0.6.1"],"exe-depends":[],"component-name":"lib"},{"type":"configured","id":"edit-distance-0.2.2.1-bb84b089c56b44431b92cc99c2438094229d3fba509a93fd3b0f2b920e4f233d","pkg-name":"edit-distance","pkg-version":"0.2.2.1","flags":{},"style":"global","pkg-src":{"type":"repo-tar","repo":{"type":"secure-repo","uri":"http://hackage.haskell.org/"}},"pkg-cabal-sha256":"4d33a49cd383d50af090f1b888642d10116e43809f9da6023d9fc6f67d2656ee","pkg-src-sha256":"3e8885ee2f56ad4da940f043ae8f981ee2fe336b5e8e4ba3f7436cff4f526c4a","depends":["array-0.5.4.0","base-4.14.3.0","containers-0.6.5.1","random-1.2.1.2-07a4a7983afad9a08a709a8fe936f4c30419f4aaf48209070b43d3796b0fdbec"],"exe-depends":[],"component-name":"lib"},{"type":"pre-existing","id":"exceptions-0.10.4","pkg-name":"exceptions","pkg-version":"0.10.4","depends":["base-4.14.3.0","mtl-2.2.2","stm-2.5.0.1","template-haskell-2.16.0.0","transformers-0.5.6.2"]},{"type":"pre-existing","id":"filepath-1.4.2.1","pkg-name":"filepath","pkg-version":"1.4.2.1","depends":["base-4.14.3.0"]},{"type":"pre-existing","id":"ghc-boot-th-8.10.7","pkg-name":"ghc-boot-th","pkg-version":"8.10.7","depends":["base-4.14.3.0"]},{"type":"pre-existing","id":"ghc-prim-0.6.1","pkg-name":"ghc-prim","pkg-version":"0.6.1","depends":[]},{"type":"configured","id":"hackage-security-0.6.2.6-4422fec988802e096a64239a848ef359da2a6c29ebb4c37e62f501917fdf1c07","pkg-name":"hackage-security","pkg-version":"0.6.2.6","flags":{"cabal-syntax":true,"lukko":true},"style":"global","pkg-src":{"type":"repo-tar","repo":{"type":"secure-repo","uri":"http://hackage.haskell.org/"}},"pkg-cabal-sha256":"a7311a70ce2cc820ee430c389f57f82a082f148230b37526c34eac72b7b3ff34","pkg-src-sha256":"2e4261576b3e11b9f5175392947f56a638cc1a3584b8acbb962b809d7c69db69","depends":["Cabal-syntax-3.8.1.0-b915cfc5b689dcee3ff0da5b8645eb84bdc2e94162e5401107d4d2a109ae6373","base-4.14.3.0","base16-bytestring-1.0.2.0-733bc7ff54d4d1205255b2131fae86a7fe07229cb5ada4f2260950334d026547","base64-bytestring-1.2.1.0-1ceca88b1d8a588ade6eab7e0148751072964f9ea42862f670ae020beee1532b","bytestring-0.10.12.0","containers-0.6.5.1","cryptohash-sha256-0.11.102.1-2a240aba380ab68e1884623d77ed4a88ed685ddb9615cc2d3da0054e00f826b2","directory-1.3.6.0","ed25519-0.0.5.0-4102d940d669a56b216c5ca3e7ba3153a26cdd1810b38c4c08f49740ff9de4ad","filepath-1.4.2.1","ghc-prim-0.6.1","lukko-0.1.2-225bb8308ee8a36401e4004373ca5973e98402b8727aedb5f70a65fd5dcb5469","mtl-2.2.2","network-3.2.4.0-2ba28449b417f9ca68080de999f5b83c25dbe680beb39e110fdcda8027ff2c7e","network-uri-2.6.4.2-041d40ac65e58a034205c5d6eaecac3dc5e5c701f871a30955fe5cb46227b32e","parsec-3.1.14.0","pretty-1.1.3.6","tar-0.5.1.1-643c87cd04d43966ba086abf693a99a6c8e6a74b2250a8c6db6f078672b95893","template-haskell-2.16.0.0","time-1.9.3","transformers-0.5.6.2","zlib-0.6.3.0-74d9ec99f546b67df23ff9fcfa69fbf35a9bddd9a5cf16da9466177d8b057ac5"],"exe-depends":[],"component-name":"lib"},{"type":"configured","id":"hashable-1.4.7.0-10c43296d361f1ffe75584e263fd1be68e8dc0688c992793ac1a3b9b3d0f2ea5","pkg-name":"hashable","pkg-version":"1.4.7.0","flags":{"arch-native":false,"integer-gmp":true,"random-initial-seed":false},"style":"global","pkg-src":{"type":"repo-tar","repo":{"type":"secure-repo","uri":"http://hackage.haskell.org/"}},"pkg-cabal-sha256":"573f3ab242f75465a0d67ce9d84202650a1606575e6dbd6d31ffcf4767a9a379","pkg-src-sha256":"3baee4c9027a08830d148ec524cbc0471de645e1e8426d46780ef2758df0e8da","depends":["base-4.14.3.0","base-orphans-0.9.2-9e3b780944b02cce28a472cb955bf94112c5a9010ab77eaa1eb84cb5e96af03d","bytestring-0.10.12.0","containers-0.6.5.1","data-array-byte-0.1.0.1-d9dda83e05cdc02ac88cc22a3ba90d50910d002ea0597977e3b36db50cb97a49","deepseq-1.4.4.0","filepath-1.4.2.1","ghc-prim-0.6.1","integer-gmp-1.0.3.0","text-1.2.4.1"],"exe-depends":[],"component-name":"lib"},{"type":"configured","id":"hsc2hs-0.68.10-e-hsc2hs-228c193507c306fd338d7ee19174e67d13ef43a63b83b2aed7149c3e425bed11","pkg-name":"hsc2hs","pkg-version":"0.68.10","flags":{"in-ghc-tree":false},"style":"global","pkg-src":{"type":"repo-tar","repo":{"type":"secure-repo","uri":"http://hackage.haskell.org/"}},"pkg-cabal-sha256":"60e78b6c60dc32a77ce6c37ed5ca4e838fc5f76f02836ef64d93cd21cc002325","pkg-src-sha256":"6f4e34d788fe2ca7091ee0a10307ee8a7c060a1ba890f2bffad16a7d4d5cef76","depends":["base-4.14.3.0","containers-0.6.5.1","directory-1.3.6.0","filepath-1.4.2.1","process-1.6.25.0-7c2db3e3976eadbd4c45464fc016576d68f49449ecbfe19bbd65074e9d2ced68"],"exe-depends":[],"component-name":"exe:hsc2hs","bin-file":"/store/ghc-8.10.7/hsc2hs-0.68.10-e-hsc2hs-228c193507c306fd338d7ee19174e67d13ef43a63b83b2aed7149c3e425bed11/bin/hsc2hs"},{"type":"pre-existing","id":"integer-gmp-1.0.3.0","pkg-name":"integer-gmp","pkg-version":"1.0.3.0","depends":["ghc-prim-0.6.1"]},{"type":"configured","id":"lukko-0.1.2-225bb8308ee8a36401e4004373ca5973e98402b8727aedb5f70a65fd5dcb5469","pkg-name":"lukko","pkg-version":"0.1.2","flags":{"ofd-locking":true},"style":"global","pkg-src":{"type":"repo-tar","repo":{"type":"secure-repo","uri":"http://hackage.haskell.org/"}},"pkg-cabal-sha256":"8a3004c2de2a0b5ef0634d3da6eae62ba8d8a734bab9ed8c6cfd749e7ca08997","pkg-src-sha256":"72d86f8aa625b461f4397f737346f78a1700a7ffbff55cf6375c5e18916e986d","depends":["base-4.14.3.0"],"exe-depends":["hsc2hs-0.68.10-e-hsc2hs-228c193507c306fd338d7ee19174e67d13ef43a63b83b2aed7149c3e425bed11"],"component-name":"lib"},{"type":"pre-existing","id":"mtl-2.2.2","pkg-name":"mtl","pkg-version":"2.2.2","depends":["base-4.14.3.0","transformers-0.5.6.2"]},{"type":"configured","id":"network-3.2.4.0-2ba28449b417f9ca68080de999f5b83c25dbe680beb39e110fdcda8027ff2c7e","pkg-name":"network","pkg-version":"3.2.4.0","flags":{"devel":false},"style":"global","pkg-src":{"type":"repo-tar","repo":{"type":"secure-repo","uri":"http://hackage.haskell.org/"}},"pkg-cabal-sha256":"762a8da8ee4ba4a28a669882dd43b6bf77ab84371843c4a16fc8692941b9ef72","pkg-src-sha256":"2c7077d0826727c1156ee03c30069e19c0ac8aeb65f8a54ed642cc71999cb79b","components":{"lib":{"depends":["base-4.14.3.0","bytestring-0.10.12.0","deepseq-1.4.4.0","directory-1.3.6.0","stm-2.5.0.1"],"exe-depends":["hsc2hs-0.68.10-e-hsc2hs-228c193507c306fd338d7ee19174e67d13ef43a63b83b2aed7149c3e425bed11"]}}},{"type":"configured","id":"network-uri-2.6.4.2-041d40ac65e58a034205c5d6eaecac3dc5e5c701f871a30955fe5cb46227b32e","pkg-name":"network-uri","pkg-version":"2.6.4.2","flags":{},"style":"global","pkg-src":{"type":"repo-tar","repo":{"type":"secure-repo","uri":"http://hackage.haskell.org/"}},"pkg-cabal-sha256":"6fffb57373962b5651a2db8b0af732098b3bf029a7ced76a9855615de2026588","pkg-src-sha256":"9c188973126e893250b881f20e8811dca06c223c23402b06f7a1f2e995797228","depends":["base-4.14.3.0","deepseq-1.4.4.0","parsec-3.1.14.0","template-haskell-2.16.0.0","th-compat-0.1.5-98d17bb2cb65215a101a4825cd1ffa9d6357aebd7d06a840f0449977bf9ef15c"],"exe-depends":[],"component-name":"lib"},{"type":"pre-existing","id":"parsec-3.1.14.0","pkg-name":"parsec","pkg-version":"3.1.14.0","depends":["base-4.14.3.0","bytestring-0.10.12.0","mtl-2.2.2","text-1.2.4.1"]},{"type":"pre-existing","id":"pretty-1.1.3.6","pkg-name":"pretty","pkg-version":"1.1.3.6","depends":["base-4.14.3.0","deepseq-1.4.4.0","ghc-prim-0.6.1"]},{"type":"configured","id":"process-1.6.25.0-7c2db3e3976eadbd4c45464fc016576d68f49449ecbfe19bbd65074e9d2ced68","pkg-name":"process","pkg-version":"1.6.25.0","flags":{},"style":"global","pkg-src":{"type":"repo-tar","repo":{"type":"secure-repo","uri":"http://hackage.haskell.org/"}},"pkg-cabal-sha256":"9a0b2ef8096517fa0e0c7a5e9a5c2ae5744ed824c3331005f9408245810df345","pkg-src-sha256":"496fe0566c3915b112e9772ac9c967dfeb8d5ca04895e54ae0160522bee76e65","components":{"lib":{"depends":["base-4.14.3.0","deepseq-1.4.4.0","directory-1.3.6.0","filepath-1.4.2.1","unix-2.7.2.2"],"exe-depends":[]}}},{"type":"configured","id":"random-1.2.1.2-07a4a7983afad9a08a709a8fe936f4c30419f4aaf48209070b43d3796b0fdbec","pkg-name":"random","pkg-version":"1.2.1.2","flags":{},"style":"global","pkg-src":{"type":"repo-tar","repo":{"type":"secure-repo","uri":"http://hackage.haskell.org/"}},"pkg-cabal-sha256":"32397de181e20ccaacf806ec70de9308cf044f089a2be37c936f3f8967bde867","pkg-src-sha256":"790f4dc2d2327c453ff6aac7bf15399fd123d55e927935f68f84b5df42d9a4b4","depends":["base-4.14.3.0","bytestring-0.10.12.0","deepseq-1.4.4.0","mtl-2.2.2","splitmix-0.1.0.5-0e6e46cae31ddf8c25afcce5ef25132ee5a5e94d2cc31382c000a371f20a176e"],"exe-depends":[],"component-name":"lib"},{"type":"configured","id":"regex-base-0.94.0.2-fe2b37ccad4ad4d57b72ea59bd44841e9fe48b41f3925a58e7776dec1132252a","pkg-name":"regex-base","pkg-version":"0.94.0.2","flags":{},"style":"global","pkg-src":{"type":"repo-tar","repo":{"type":"secure-repo","uri":"http://hackage.haskell.org/"}},"pkg-cabal-sha256":"0322b2fcd1358f3355e0c8608efa60d27b14d1c9d476451dbcb9181363bd8b27","pkg-src-sha256":"7b99408f580f5bb67a1c413e0bc735886608251331ad36322020f2169aea2ef1","depends":["array-0.5.4.0","base-4.14.3.0","bytestring-0.10.12.0","containers-0.6.5.1","text-1.2.4.1"],"exe-depends":[],"component-name":"lib"},{"type":"configured","id":"regex-posix-0.96.0.1-2b78e133dfdc85cf98c18d126955d5e323319db0e0cd2c02535ee368e1e3adde","pkg-name":"regex-posix","pkg-version":"0.96.0.1","flags":{"_regex-posix-clib":false},"style":"global","pkg-src":{"type":"repo-tar","repo":{"type":"secure-repo","uri":"http://hackage.haskell.org/"}},"pkg-cabal-sha256":"816d6acc560cb86672f347a7bef8129578dde26ed760f9e79b4976ed9bd7b9fd","pkg-src-sha256":"c7827c391919227711e1cff0a762b1678fd8739f9c902fc183041ff34f59259c","depends":["array-0.5.4.0","base-4.14.3.0","bytestring-0.10.12.0","containers-0.6.5.1","regex-base-0.94.0.2-fe2b37ccad4ad4d57b72ea59bd44841e9fe48b41f3925a58e7776dec1132252a"],"exe-depends":[],"component-name":"lib"},{"type":"configured","id":"resolv-0.2.0.2-bdb32c7f655d10427844dcf40badfe6c12e39ba818147e78f9a1e973e41f6e78","pkg-name":"resolv","pkg-version":"0.2.0.2","flags":{},"style":"global","pkg-src":{"type":"repo-tar","repo":{"type":"secure-repo","uri":"http://hackage.haskell.org/"}},"pkg-cabal-sha256":"4868265ab5760d2fdeb96625b138c8df25d41b9ee2651fa299ed019a69403045","pkg-src-sha256":"880d283df9132a7375fa28670f71e86480a4f49972256dc2a204c648274ae74b","components":{"lib":{"depends":["base-4.14.3.0","base16-bytestring-1.0.2.0-733bc7ff54d4d1205255b2131fae86a7fe07229cb5ada4f2260950334d026547","binary-0.8.8.0","bytestring-0.10.12.0","containers-0.6.5.1"],"exe-depends":[]}}},{"type":"configured","id":"safe-exceptions-0.1.7.4-1db4b3cf1327cbd19559cac8a1522c8f793394f62c3dab6432f6d8666974d3d6","pkg-name":"safe-exceptions","pkg-version":"0.1.7.4","flags":{},"style":"global","pkg-src":{"type":"repo-tar","repo":{"type":"secure-repo","uri":"http://hackage.haskell.org/"}},"pkg-cabal-sha256":"8bb7261bd54bd58acfcb154be6a161fb6d0d31a1852aadc8e927d2ad2d7651d1","pkg-src-sha256":"3c51d8d50c9b60ff8bf94f942fd92e3bea9e62c5afa778dfc9f707b79da41ef6","depends":["base-4.14.3.0","deepseq-1.4.4.0","exceptions-0.10.4","transformers-0.5.6.2"],"exe-depends":[],"component-name":"lib"},{"type":"configured","id":"splitmix-0.1.0.5-0e6e46cae31ddf8c25afcce5ef25132ee5a5e94d2cc31382c000a371f20a176e","pkg-name":"splitmix","pkg-version":"0.1.0.5","flags":{"optimised-mixer":false},"style":"global","pkg-src":{"type":"repo-tar","repo":{"type":"secure-repo","uri":"http://hackage.haskell.org/"}},"pkg-cabal-sha256":"caa9b4a92abf1496c7f6a3c0f4e357426a54880077cb9f04e260a8bfa034b77b","pkg-src-sha256":"9df07a9611ef45f1b1258a0b412f4d02c920248f69d2e2ce8ccda328f7e13002","depends":["base-4.14.3.0","deepseq-1.4.4.0"],"exe-depends":[],"component-name":"lib"},{"type":"pre-existing","id":"stm-2.5.0.1","pkg-name":"stm","pkg-version":"2.5.0.1","depends":["array-0.5.4.0","base-4.14.3.0"]},{"type":"configured","id":"tar-0.5.1.1-643c87cd04d43966ba086abf693a99a6c8e6a74b2250a8c6db6f078672b95893","pkg-name":"tar","pkg-version":"0.5.1.1","flags":{"old-bytestring":false,"old-time":false},"style":"global","pkg-src":{"type":"repo-tar","repo":{"type":"secure-repo","uri":"http://hackage.haskell.org/"}},"pkg-cabal-sha256":"aaf5dd3ef327aaf203b1cb199760efd463fac2256453dd0e05d5cd707cdbd6e1","pkg-src-sha256":"b384449f62b2b0aa3e6d2cb1004b8060b01f21ec93e7b63e7af6d8fad8a9f1de","depends":["array-0.5.4.0","base-4.14.3.0","bytestring-0.10.12.0","containers-0.6.5.1","deepseq-1.4.4.0","directory-1.3.6.0","filepath-1.4.2.1","time-1.9.3"],"exe-depends":[],"component-name":"lib"},{"type":"pre-existing","id":"template-haskell-2.16.0.0","pkg-name":"template-haskell","pkg-version":"2.16.0.0","depends":["base-4.14.3.0","ghc-boot-th-8.10.7","ghc-prim-0.6.1","pretty-1.1.3.6"]},{"type":"pre-existing","id":"text-1.2.4.1","pkg-name":"text","pkg-version":"1.2.4.1","depends":["array-0.5.4.0","base-4.14.3.0","binary-0.8.8.0","bytestring-0.10.12.0","deepseq-1.4.4.0","ghc-prim-0.6.1","integer-gmp-1.0.3.0","template-haskell-2.16.0.0"]},{"type":"configured","id":"th-compat-0.1.5-98d17bb2cb65215a101a4825cd1ffa9d6357aebd7d06a840f0449977bf9ef15c","pkg-name":"th-compat","pkg-version":"0.1.5","flags":{},"style":"global","pkg-src":{"type":"repo-tar","repo":{"type":"secure-repo","uri":"http://hackage.haskell.org/"}},"pkg-cabal-sha256":"129a59ba3ccfcd06192fd6da899e2711ae276a466915a047bd6727e4a0321d2e","pkg-src-sha256":"81f55fafc7afad7763c09cb8b7b4165ca3765edcf70ffa42c7393043a1382a1e","depends":["base-4.14.3.0","directory-1.3.6.0","filepath-1.4.2.1","template-haskell-2.16.0.0"],"exe-depends":[],"component-name":"lib"},{"type":"pre-existing","id":"time-1.9.3","pkg-name":"time","pkg-version":"1.9.3","depends":["base-4.14.3.0","deepseq-1.4.4.0"]},{"type":"pre-existing","id":"transformers-0.5.6.2","pkg-name":"transformers","pkg-version":"0.5.6.2","depends":["base-4.14.3.0","ghc-prim-0.6.1"]},{"type":"pre-existing","id":"unix-2.7.2.2","pkg-name":"unix","pkg-version":"2.7.2.2","depends":["base-4.14.3.0","bytestring-0.10.12.0","time-1.9.3"]},{"type":"configured","id":"zlib-0.6.3.0-74d9ec99f546b67df23ff9fcfa69fbf35a9bddd9a5cf16da9466177d8b057ac5","pkg-name":"zlib","pkg-version":"0.6.3.0","flags":{"bundled-c-zlib":false,"non-blocking-ffi":false,"pkg-config":false},"style":"global","pkg-src":{"type":"repo-tar","repo":{"type":"secure-repo","uri":"http://hackage.haskell.org/"}},"pkg-cabal-sha256":"96d388c95a98d6db94b74053130c00aea3c8c8ee041b5594bbe09242f1714356","pkg-src-sha256":"9eaa989ad4534438b5beb51c1d3a4c8f6a088fdff0b259a5394fbf39aaee04da","depends":["base-4.14.3.0","bytestring-0.10.12.0"],"exe-depends":[],"component-name":"lib"}],"targets":[{"pkg-name":"Cabal","pkg-version":"3.8.1.0","component-name":"lib","available":[{"id":"Cabal-3.8.1.0-9707630d5b87b5255535dd1cdc5c1388011a6e2378bacace935b353e563ce39c","component-name":"lib","build-by-default":true}]},{"pkg-name":"Cabal-syntax","pkg-version":"3.8.1.0","component-name":"lib","available":[{"id":"Cabal-syntax-3.8.1.0-b915cfc5b689dcee3ff0da5b8645eb84bdc2e94162e5401107d4d2a109ae6373","component-name":"lib","build-by-default":true}]},{"pkg-name":"HTTP","pkg-version":"4000.4.1","component-name":"lib","available":[{"id":"HTTP-4000.4.1-6dc1f9432ad0ab7d16fccfeb14add1938d6f39b09945276192b7523c92d13453","component-name":"lib","build-by-default":true}]},{"pkg-name":"HTTP","pkg-version":"4000.4.1","component-name":"test:test","available":["TargetNotLocal"]},{"pkg-name":"array","pkg-version":"0.5.4.0","component-name":"lib","available":[{"id":"array-0.5.4.0","component-name":"lib","build-by-default":true}]},{"pkg-name":"async","pkg-version":"2.2.5","component-name":"lib","available":[{"id":"async-2.2.5-74ec8acb9f354f707cc2356fc0099d4a1cddb661c90dcdd1642fb6585cebfef7","component-name":"lib","build-by-default":true}]},{"pkg-name":"async","pkg-version":"2.2.5","component-name":"exe:concasync","available":["TargetNotBuildable"]},{"pkg-name":"async","pkg-version":"2.2.5","component-name":"exe:conccancel","available":["TargetNotBuildable"]},{"pkg-name":"async","pkg-version":"2.2.5","component-name":"exe:race","available":["TargetNotBuildable"]},{"pkg-name":"async","pkg-version":"2.2.5","component-name":"test:test-async","available":["TargetNotLocal"]},{"pkg-name":"base","pkg-version":"4.14.3.0","component-name":"lib","available":[{"id":"base-4.14.3.0","component-name":"lib","build-by-default":true}]},{"pkg-name":"base-orphans","pkg-version":"0.9.2","component-name":"lib","available":[{"id":"base-orphans-0.9.2-9e3b780944b02cce28a472cb955bf94112c5a9010ab77eaa1eb84cb5e96af03d","component-name":"lib","build-by-default":true}]},{"pkg-name":"base-orphans","pkg-version":"0.9.2","component-name":"test:spec","available":["TargetNotLocal"]},{"pkg-name":"base16-bytestring","pkg-version":"1.0.2.0","component-name":"lib","available":[{"id":"base16-bytestring-1.0.2.0-733bc7ff54d4d1205255b2131fae86a7fe07229cb5ada4f2260950334d026547","component-name":"lib","build-by-default":true}]},{"pkg-name":"base16-bytestring","pkg-version":"1.0.2.0","component-name":"test:test","available":["TargetNotLocal"]},{"pkg-name":"base16-bytestring","pkg-version":"1.0.2.0","component-name":"bench:bench","available":["TargetNotLocal"]},{"pkg-name":"base64-bytestring","pkg-version":"1.2.1.0","component-name":"lib","available":[{"id":"base64-bytestring-1.2.1.0-1ceca88b1d8a588ade6eab7e0148751072964f9ea42862f670ae020beee1532b","component-name":"lib","build-by-default":true}]},{"pkg-name":"base64-bytestring","pkg-version":"1.2.1.0","component-name":"test:test","available":["TargetNotLocal"]},{"pkg-name":"base64-bytestring","pkg-version":"1.2.1.0","component-name":"bench:benchmarks","available":["TargetNotLocal"]},{"pkg-name":"binary","pkg-version":"0.8.8.0","component-name":"lib","available":[{"id":"binary-0.8.8.0","component-name":"lib","build-by-default":true}]},{"pkg-name":"bytestring","pkg-version":"0.10.12.0","component-name":"lib","available":[{"id":"bytestring-0.10.12.0","component-name":"lib","build-by-default":true}]},{"pkg-name":"cabal-install","pkg-version":"3.8.1.0","component-name":"lib","available":[{"id":"cabal-install-3.8.1.0-6cc443961b93827816dccc57bc55ab15a4051a0723ddfa769ac05a73cf4076b3","component-name":"lib","build-by-default":true}]},{"pkg-name":"cabal-install","pkg-version":"3.8.1.0","component-name":"exe:cabal","available":[{"id":"cabal-install-3.8.1.0-e-cabal-a698df4bc5c8f71e315b3a3ed5ff544f849b978b64f805804a69af98f6dfb11d","component-name":"exe:cabal","build-by-default":true}]},{"pkg-name":"cabal-install","pkg-version":"3.8.1.0","component-name":"test:integration-tests2","available":["TargetNotLocal"]},{"pkg-name":"cabal-install","pkg-version":"3.8.1.0","component-name":"test:long-tests","available":["TargetNotLocal"]},{"pkg-name":"cabal-install","pkg-version":"3.8.1.0","component-name":"test:mem-use-tests","available":["TargetNotLocal"]},{"pkg-name":"cabal-install","pkg-version":"3.8.1.0","component-name":"test:unit-tests","available":["TargetNotLocal"]},{"pkg-name":"cabal-install-solver","pkg-version":"3.8.1.0","component-name":"lib","available":[{"id":"cabal-install-solver-3.8.1.0-4f279eaaf871f082f97d63d7ec51aa2a74782962a65037426262b99ff3005009","component-name":"lib","build-by-default":true}]},{"pkg-name":"cabal-install-solver","pkg-version":"3.8.1.0","component-name":"test:unit-tests","available":["TargetNotLocal"]},{"pkg-name":"containers","pkg-version":"0.6.5.1","component-name":"lib","available":[{"id":"containers-0.6.5.1","component-name":"lib","build-by-default":true}]},{"pkg-name":"cryptohash-sha256","pkg-version":"0.11.102.1","component-name":"lib","available":[{"id":"cryptohash-sha256-0.11.102.1-2a240aba380ab68e1884623d77ed4a88ed685ddb9615cc2d3da0054e00f826b2","component-name":"lib","build-by-default":true}]},{"pkg-name":"cryptohash-sha256","pkg-version":"0.11.102.1","component-name":"exe:sha256sum","available":["TargetNotBuildable"]},{"pkg-name":"cryptohash-sha256","pkg-version":"0.11.102.1","component-name":"test:test-sha256","available":["TargetNotLocal"]},{"pkg-name":"cryptohash-sha256","pkg-version":"0.11.102.1","component-name":"bench:bench-sha256","available":["TargetNotLocal"]},{"pkg-name":"data-array-byte","pkg-version":"0.1.0.1","component-name":"lib","available":[{"id":"data-array-byte-0.1.0.1-d9dda83e05cdc02ac88cc22a3ba90d50910d002ea0597977e3b36db50cb97a49","component-name":"lib","build-by-default":true}]},{"pkg-name":"data-array-byte","pkg-version":"0.1.0.1","component-name":"test:data-array-byte-tests","available":["TargetNotLocal"]},{"pkg-name":"deepseq","pkg-version":"1.4.4.0","component-name":"lib","available":[{"id":"deepseq-1.4.4.0","component-name":"lib","build-by-default":true}]},{"pkg-name":"directory","pkg-version":"1.3.6.0","component-name":"lib","available":[{"id":"directory-1.3.6.0","component-name":"lib","build-by-default":true}]},{"pkg-name":"echo","pkg-version":"0.1.4","component-name":"lib","available":[{"id":"echo-0.1.4-d72e102fa3a0d369133791e19c9277466eef4afbdd788e8f239a57200a1305b6","component-name":"lib","build-by-default":true}]},{"pkg-name":"echo","pkg-version":"0.1.4","component-name":"exe:password","available":["TargetNotBuildable"]},{"pkg-name":"ed25519","pkg-version":"0.0.5.0","component-name":"lib","available":[{"id":"ed25519-0.0.5.0-4102d940d669a56b216c5ca3e7ba3153a26cdd1810b38c4c08f49740ff9de4ad","component-name":"lib","build-by-default":true}]},{"pkg-name":"ed25519","pkg-version":"0.0.5.0","component-name":"test:doctests","available":["TargetNotLocal"]},{"pkg-name":"ed25519","pkg-version":"0.0.5.0","component-name":"test:hlint","available":["TargetNotLocal"]},{"pkg-name":"ed25519","pkg-version":"0.0.5.0","component-name":"test:properties","available":["TargetNotLocal"]},{"pkg-name":"ed25519","pkg-version":"0.0.5.0","component-name":"bench:bench","available":["TargetNotLocal"]},{"pkg-name":"edit-distance","pkg-version":"0.2.2.1","component-name":"lib","available":[{"id":"edit-distance-0.2.2.1-bb84b089c56b44431b92cc99c2438094229d3fba509a93fd3b0f2b920e4f233d","component-name":"lib","build-by-default":true}]},{"pkg-name":"edit-distance","pkg-version":"0.2.2.1","component-name":"test:edit-distance-tests","available":["TargetNotLocal"]},{"pkg-name":"edit-distance","pkg-version":"0.2.2.1","component-name":"bench:edit-distance-benchmark","available":["TargetNotLocal"]},{"pkg-name":"exceptions","pkg-version":"0.10.4","component-name":"lib","available":[{"id":"exceptions-0.10.4","component-name":"lib","build-by-default":true}]},{"pkg-name":"filepath","pkg-version":"1.4.2.1","component-name":"lib","available":[{"id":"filepath-1.4.2.1","component-name":"lib","build-by-default":true}]},{"pkg-name":"ghc-boot-th","pkg-version":"8.10.7","component-name":"lib","available":[{"id":"ghc-boot-th-8.10.7","component-name":"lib","build-by-default":true}]},{"pkg-name":"ghc-prim","pkg-version":"0.6.1","component-name":"lib","available":[{"id":"ghc-prim-0.6.1","component-name":"lib","build-by-default":true}]},{"pkg-name":"hackage-security","pkg-version":"0.6.2.6","component-name":"lib","available":[{"id":"hackage-security-0.6.2.6-4422fec988802e096a64239a848ef359da2a6c29ebb4c37e62f501917fdf1c07","component-name":"lib","build-by-default":true}]},{"pkg-name":"hackage-security","pkg-version":"0.6.2.6","component-name":"test:TestSuite","available":["TargetNotLocal"]},{"pkg-name":"hashable","pkg-version":"1.4.7.0","component-name":"lib","available":[{"id":"hashable-1.4.7.0-10c43296d361f1ffe75584e263fd1be68e8dc0688c992793ac1a3b9b3d0f2ea5","component-name":"lib","build-by-default":true}]},{"pkg-name":"hashable","pkg-version":"1.4.7.0","component-name":"test:hashable-examples","available":["TargetNotLocal"]},{"pkg-name":"hashable","pkg-version":"1.4.7.0","component-name":"test:hashable-tests","available":["TargetNotLocal"]},{"pkg-name":"hashable","pkg-version":"1.4.7.0","component-name":"test:xxhash-tests","available":["TargetNotLocal"]},{"pkg-name":"hsc2hs","pkg-version":"0.68.10","component-name":"exe:hsc2hs","available":[{"id":"hsc2hs-0.68.10-e-hsc2hs-228c193507c306fd338d7ee19174e67d13ef43a63b83b2aed7149c3e425bed11","component-name":"exe:hsc2hs","build-by-default":true}]},{"pkg-name":"hsc2hs","pkg-version":"0.68.10","component-name":"test:spec","available":["TargetNotLocal"]},{"pkg-name":"integer-gmp","pkg-version":"1.0.3.0","component-name":"lib","available":[{"id":"integer-gmp-1.0.3.0","component-name":"lib","build-by-default":true}]},{"pkg-name":"lukko","pkg-version":"0.1.2","component-name":"lib","available":[{"id":"lukko-0.1.2-225bb8308ee8a36401e4004373ca5973e98402b8727aedb5f70a65fd5dcb5469","component-name":"lib","build-by-default":true}]},{"pkg-name":"lukko","pkg-version":"0.1.2","component-name":"test:test-process","available":["TargetNotLocal"]},{"pkg-name":"lukko","pkg-version":"0.1.2","component-name":"test:test-thread","available":["TargetNotLocal"]},{"pkg-name":"mtl","pkg-version":"2.2.2","component-name":"lib","available":[{"id":"mtl-2.2.2","component-name":"lib","build-by-default":true}]},{"pkg-name":"network","pkg-version":"3.2.4.0","component-name":"lib","available":[{"id":"network-3.2.4.0-2ba28449b417f9ca68080de999f5b83c25dbe680beb39e110fdcda8027ff2c7e","component-name":"lib","build-by-default":true}]},{"pkg-name":"network","pkg-version":"3.2.4.0","component-name":"test:spec","available":["TargetNotLocal"]},{"pkg-name":"network-uri","pkg-version":"2.6.4.2","component-name":"lib","available":[{"id":"network-uri-2.6.4.2-041d40ac65e58a034205c5d6eaecac3dc5e5c701f871a30955fe5cb46227b32e","component-name":"lib","build-by-default":true}]},{"pkg-name":"network-uri","pkg-version":"2.6.4.2","component-name":"test:uri","available":["TargetNotLocal"]},{"pkg-name":"network-uri","pkg-version":"2.6.4.2","component-name":"bench:uri-bench","available":["TargetNotLocal"]},{"pkg-name":"parsec","pkg-version":"3.1.14.0","component-name":"lib","available":[{"id":"parsec-3.1.14.0","component-name":"lib","build-by-default":true}]},{"pkg-name":"pretty","pkg-version":"1.1.3.6","component-name":"lib","available":[{"id":"pretty-1.1.3.6","component-name":"lib","build-by-default":true}]},{"pkg-name":"process","pkg-version":"1.6.25.0","component-name":"lib","available":[{"id":"process-1.6.25.0-7c2db3e3976eadbd4c45464fc016576d68f49449ecbfe19bbd65074e9d2ced68","component-name":"lib","build-by-default":true}]},{"pkg-name":"random","pkg-version":"1.2.1.2","component-name":"lib","available":[{"id":"random-1.2.1.2-07a4a7983afad9a08a709a8fe936f4c30419f4aaf48209070b43d3796b0fdbec","component-name":"lib","build-by-default":true}]},{"pkg-name":"random","pkg-version":"1.2.1.2","component-name":"test:doctests","available":["TargetNotLocal"]},{"pkg-name":"random","pkg-version":"1.2.1.2","component-name":"test:legacy-test","available":["TargetNotLocal"]},{"pkg-name":"random","pkg-version":"1.2.1.2","component-name":"test:spec","available":["TargetNotLocal"]},{"pkg-name":"random","pkg-version":"1.2.1.2","component-name":"test:spec-inspection","available":["TargetNotLocal"]},{"pkg-name":"random","pkg-version":"1.2.1.2","component-name":"bench:bench","available":["TargetNotLocal"]},{"pkg-name":"random","pkg-version":"1.2.1.2","component-name":"bench:legacy-bench","available":["TargetNotLocal"]},{"pkg-name":"regex-base","pkg-version":"0.94.0.2","component-name":"lib","available":[{"id":"regex-base-0.94.0.2-fe2b37ccad4ad4d57b72ea59bd44841e9fe48b41f3925a58e7776dec1132252a","component-name":"lib","build-by-default":true}]},{"pkg-name":"regex-posix","pkg-version":"0.96.0.1","component-name":"lib","available":[{"id":"regex-posix-0.96.0.1-2b78e133dfdc85cf98c18d126955d5e323319db0e0cd2c02535ee368e1e3adde","component-name":"lib","build-by-default":true}]},{"pkg-name":"resolv","pkg-version":"0.2.0.2","component-name":"lib","available":[{"id":"resolv-0.2.0.2-bdb32c7f655d10427844dcf40badfe6c12e39ba818147e78f9a1e973e41f6e78","component-name":"lib","build-by-default":true}]},{"pkg-name":"resolv","pkg-version":"0.2.0.2","component-name":"test:resolv.","available":["TargetNotLocal"]},{"pkg-name":"safe-exceptions","pkg-version":"0.1.7.4","component-name":"lib","available":[{"id":"safe-exceptions-0.1.7.4-1db4b3cf1327cbd19559cac8a1522c8f793394f62c3dab6432f6d8666974d3d6","component-name":"lib","build-by-default":true}]},{"pkg-name":"safe-exceptions","pkg-version":"0.1.7.4","component-name":"test:safe-exceptions-test","available":["TargetNotLocal"]},{"pkg-name":"splitmix","pkg-version":"0.1.0.5","component-name":"lib","available":[{"id":"splitmix-0.1.0.5-0e6e46cae31ddf8c25afcce5ef25132ee5a5e94d2cc31382c000a371f20a176e","component-name":"lib","build-by-default":true}]},{"pkg-name":"splitmix","pkg-version":"0.1.0.5","component-name":"test:examples","available":["TargetNotLocal"]},{"pkg-name":"splitmix","pkg-version":"0.1.0.5","component-name":"test:initialization","available":["TargetNotLocal"]},{"pkg-name":"splitmix","pkg-version":"0.1.0.5","component-name":"test:montecarlo-pi","available":["TargetNotLocal"]},{"pkg-name":"splitmix","pkg-version":"0.1.0.5","component-name":"test:montecarlo-pi-32","available":["TargetNotLocal"]},{"pkg-name":"splitmix","pkg-version":"0.1.0.5","component-name":"test:splitmix-dieharder","available":["TargetNotLocal"]},{"pkg-name":"splitmix","pkg-version":"0.1.0.5","component-name":"test:splitmix-tests","available":["TargetNotLocal"]},{"pkg-name":"splitmix","pkg-version":"0.1.0.5","component-name":"test:splitmix-testu01","available":["TargetNotLocal"]},{"pkg-name":"splitmix","pkg-version":"0.1.0.5","component-name":"bench:comparison","available":["TargetNotLocal"]},{"pkg-name":"splitmix","pkg-version":"0.1.0.5","component-name":"bench:range","available":["TargetNotLocal"]},{"pkg-name":"splitmix","pkg-version":"0.1.0.5","component-name":"bench:simple-sum","available":["TargetNotLocal"]},{"pkg-name":"stm","pkg-version":"2.5.0.1","component-name":"lib","available":[{"id":"stm-2.5.0.1","component-name":"lib","build-by-default":true}]},{"pkg-name":"tar","pkg-version":"0.5.1.1","component-name":"lib","available":[{"id":"tar-0.5.1.1-643c87cd04d43966ba086abf693a99a6c8e6a74b2250a8c6db6f078672b95893","component-name":"lib","build-by-default":true}]},{"pkg-name":"tar","pkg-version":"0.5.1.1","component-name":"test:properties","available":["TargetNotLocal"]},{"pkg-name":"tar","pkg-version":"0.5.1.1","component-name":"bench:bench","available":["TargetNotLocal"]},{"pkg-name":"template-haskell","pkg-version":"2.16.0.0","component-name":"lib","available":[{"id":"template-haskell-2.16.0.0","component-name":"lib","build-by-default":true}]},{"pkg-name":"text","pkg-version":"1.2.4.1","component-name":"lib","available":[{"id":"text-1.2.4.1","component-name":"lib","build-by-default":true}]},{"pkg-name":"th-compat","pkg-version":"0.1.5","component-name":"lib","available":[{"id":"th-compat-0.1.5-98d17bb2cb65215a101a4825cd1ffa9d6357aebd7d06a840f0449977bf9ef15c","component-name":"lib","build-by-default":true}]},{"pkg-name":"th-compat","pkg-version":"0.1.5","component-name":"test:spec","available":["TargetNotLocal"]},{"pkg-name":"time","pkg-version":"1.9.3","component-name":"lib","available":[{"id":"time-1.9.3","component-name":"lib","build-by-default":true}]},{"pkg-name":"transformers","pkg-version":"0.5.6.2","component-name":"lib","available":[{"id":"transformers-0.5.6.2","component-name":"lib","build-by-default":true}]},{"pkg-name":"unix","pkg-version":"2.7.2.2","component-name":"lib","available":[{"id":"unix-2.7.2.2","component-name":"lib","build-by-default":true}]},{"pkg-name":"zlib","pkg-version":"0.6.3.0","component-name":"lib","available":[{"id":"zlib-0.6.3.0-74d9ec99f546b67df23ff9fcfa69fbf35a9bddd9a5cf16da9466177d8b057ac5","component-name":"lib","build-by-default":true}]},{"pkg-name":"zlib","pkg-version":"0.6.3.0","component-name":"test:tests","available":["TargetNotLocal"]}]} \ No newline at end of file diff --git a/materialized/ghcjs/happy/ghc8105/.plan.nix/happy.nix b/materialized/ghcjs/happy/ghc8105/.plan.nix/happy.nix deleted file mode 100644 index 8a9ace8483..0000000000 --- a/materialized/ghcjs/happy/ghc8105/.plan.nix/happy.nix +++ /dev/null @@ -1,200 +0,0 @@ -{ system - , compiler - , flags - , pkgs - , hsPkgs - , pkgconfPkgs - , errorHandler - , config - , ... }: - { - flags = { small_base = true; }; - package = { - specVersion = "1.8"; - identifier = { name = "happy"; version = "1.19.12"; }; - license = "BSD-2-Clause"; - copyright = "(c) Andy Gill, Simon Marlow"; - maintainer = "Simon Marlow "; - author = "Andy Gill and Simon Marlow"; - homepage = "https://www.haskell.org/happy/"; - url = ""; - synopsis = "Happy is a parser generator for Haskell"; - description = "Happy is a parser generator for Haskell. Given a grammar\nspecification in BNF, Happy generates Haskell code to parse the\ngrammar. Happy works in a similar way to the @yacc@ tool for C."; - buildType = "Simple"; - isLocal = true; - detailLevel = "FullDetails"; - licenseFiles = [ "LICENSE" ]; - dataDir = "data/"; - dataFiles = [ - "HappyTemplate" - "HappyTemplate-arrays" - "HappyTemplate-arrays-coerce" - "HappyTemplate-arrays-coerce-debug" - "HappyTemplate-arrays-debug" - "HappyTemplate-arrays-ghc" - "HappyTemplate-arrays-ghc-debug" - "HappyTemplate-coerce" - "HappyTemplate-ghc" - "GLR_Base" - "GLR_Lib" - "GLR_Lib-ghc" - "GLR_Lib-ghc-debug" - ]; - extraSrcFiles = [ - "ANNOUNCE" - "CHANGES" - "Makefile" - "README.md" - "TODO" - "doc/Makefile" - "doc/aclocal.m4" - "doc/config.mk.in" - "doc/configure.ac" - "doc/docbook-xml.mk" - "doc/fptools.css" - "doc/happy.1.in" - "doc/happy.xml" - "examples/glr/nlp/Main.lhs" - "examples/glr/nlp/Makefile" - "examples/glr/nlp/README" - "examples/glr/nlp/English.y" - "examples/glr/nlp/Hugs.lhs" - "examples/glr/Makefile" - "examples/glr/Makefile.defs" - "examples/glr/expr-eval/Main.lhs" - "examples/glr/expr-eval/Makefile" - "examples/glr/expr-eval/Expr.y" - "examples/glr/expr-eval/README" - "examples/glr/expr-eval/Hugs.lhs" - "examples/glr/expr-tree/Main.lhs" - "examples/glr/expr-tree/Makefile" - "examples/glr/expr-tree/Expr.y" - "examples/glr/expr-tree/README" - "examples/glr/expr-tree/Tree.lhs" - "examples/glr/expr-tree/Hugs.lhs" - "examples/glr/highly-ambiguous/Main.lhs" - "examples/glr/highly-ambiguous/Makefile" - "examples/glr/highly-ambiguous/Expr.y" - "examples/glr/highly-ambiguous/README" - "examples/glr/highly-ambiguous/Hugs.lhs" - "examples/glr/hidden-leftrec/Main.lhs" - "examples/glr/hidden-leftrec/Makefile" - "examples/glr/hidden-leftrec/Expr.y" - "examples/glr/hidden-leftrec/README" - "examples/glr/hidden-leftrec/Hugs.lhs" - "examples/glr/expr-monad/Main.lhs" - "examples/glr/expr-monad/Makefile" - "examples/glr/expr-monad/Expr.y" - "examples/glr/expr-monad/README" - "examples/glr/expr-monad/Hugs.lhs" - "examples/glr/bio-eg/Main.lhs" - "examples/glr/bio-eg/Makefile" - "examples/glr/bio-eg/Bio.y" - "examples/glr/bio-eg/README" - "examples/glr/bio-eg/1-1200.dna" - "examples/glr/bio-eg/1-600.dna" - "examples/glr/common/DV_lhs" - "examples/glr/common/DaVinciTypes.hs" - "examples/glr/packing/Main.lhs" - "examples/glr/packing/Makefile" - "examples/glr/packing/Expr.y" - "examples/glr/packing/README" - "examples/glr/packing/Hugs.lhs" - "examples/PgnParser.ly" - "examples/MonadTest.ly" - "examples/igloo/ParserM.hs" - "examples/igloo/Makefile" - "examples/igloo/Parser.y" - "examples/igloo/Foo.hs" - "examples/igloo/README" - "examples/igloo/Lexer.x" - "examples/README" - "examples/Calc.ly" - "examples/DavesExample.ly" - "examples/ErrorTest.ly" - "examples/ErlParser.ly" - "examples/SimonsExample.ly" - "examples/LexerTest.ly" - "happy.spec" - "src/ARRAY-NOTES" - "tests/AttrGrammar001.y" - "tests/AttrGrammar002.y" - "tests/Makefile" - "tests/Partial.ly" - "tests/Test.ly" - "tests/TestMulti.ly" - "tests/TestPrecedence.ly" - "tests/bogus-token.y" - "tests/bug001.ly" - "tests/bug002.y" - "tests/error001.stderr" - "tests/error001.stdout" - "tests/error001.y" - "tests/monad001.y" - "tests/monad002.ly" - "tests/monaderror.y" - "tests/precedence001.ly" - "tests/precedence002.y" - "tests/test_rules.y" - "tests/issue91.y" - "tests/issue93.y" - "tests/issue94.y" - "tests/issue95.y" - "tests/monaderror-explist.y" - "tests/typeclass_monad001.y" - "tests/typeclass_monad002.ly" - "tests/typeclass_monad_lexer.y" - "tests/rank2.y" - ]; - extraTmpFiles = []; - extraDocFiles = []; - }; - components = { - exes = { - "happy" = { - depends = [ - (hsPkgs."base" or (errorHandler.buildDepError "base")) - (hsPkgs."array" or (errorHandler.buildDepError "array")) - (hsPkgs."containers" or (errorHandler.buildDepError "containers")) - (hsPkgs."mtl" or (errorHandler.buildDepError "mtl")) - ]; - buildable = true; - modules = [ - "Paths_happy" - "AbsSyn" - "First" - "GenUtils" - "Grammar" - "Info" - "LALR" - "Lexer" - "ParseMonad" - "Parser" - "ProduceCode" - "ProduceGLRCode" - "NameSet" - "Target" - "AttrGrammar" - "AttrGrammarParser" - "ParamRules" - "PrettyGrammar" - ]; - hsSourceDirs = [ "src" ]; - mainPath = [ "Main.lhs" ]; - }; - }; - tests = { - "tests" = { - depends = [ - (hsPkgs."base" or (errorHandler.buildDepError "base")) - (hsPkgs."process" or (errorHandler.buildDepError "process")) - ]; - build-tools = [ - (hsPkgs.pkgsBuildBuild.happy.components.exes.happy or (pkgs.pkgsBuildBuild.happy or (errorHandler.buildToolDepError "happy:happy"))) - ]; - buildable = true; - mainPath = [ "test.hs" ]; - }; - }; - }; - } // rec { src = (pkgs.lib).mkDefault ../.; } \ No newline at end of file diff --git a/materialized/ghcjs/happy/ghc8105/default.nix b/materialized/ghcjs/happy/ghc8105/default.nix deleted file mode 100644 index 1b0a6d75eb..0000000000 --- a/materialized/ghcjs/happy/ghc8105/default.nix +++ /dev/null @@ -1,56 +0,0 @@ -{ - pkgs = hackage: - { - packages = { - mtl.revision = (((hackage.mtl)."2.2.2").revisions).default; - ghc-prim.revision = (((hackage.ghc-prim)."0.6.1").revisions).default; - containers.revision = (((hackage.containers)."0.6.4.1").revisions).default; - base.revision = (((hackage.base)."4.14.2.0").revisions).default; - deepseq.revision = (((hackage.deepseq)."1.4.4.0").revisions).default; - rts.revision = (((hackage.rts)."1.0.1").revisions).default; - integer-gmp.revision = (((hackage.integer-gmp)."1.0.3.0").revisions).default; - transformers.revision = (((hackage.transformers)."0.5.6.2").revisions).default; - array.revision = (((hackage.array)."0.5.4.0").revisions).default; - }; - compiler = { - version = "8.10.5"; - nix-name = "ghc8105"; - packages = { - "array" = "0.5.4.0"; - "mtl" = "2.2.2"; - "ghc-prim" = "0.6.1"; - "base" = "4.14.2.0"; - "rts" = "1.0.1"; - "transformers" = "0.5.6.2"; - "deepseq" = "1.4.4.0"; - "integer-gmp" = "1.0.3.0"; - "containers" = "0.6.4.1"; - }; - }; - }; - extras = hackage: - { packages = { happy = ./.plan.nix/happy.nix; }; }; - modules = [ - ({ lib, ... }: - { - packages = { - "happy" = { flags = { "small_base" = lib.mkOverride 900 true; }; }; - }; - }) - ({ lib, ... }: - { - packages = { - "ghc-prim".components.library.planned = lib.mkOverride 900 true; - "array".components.library.planned = lib.mkOverride 900 true; - "rts".components.library.planned = lib.mkOverride 900 true; - "happy".components.exes."happy".planned = lib.mkOverride 900 true; - "mtl".components.library.planned = lib.mkOverride 900 true; - "transformers".components.library.planned = lib.mkOverride 900 true; - "deepseq".components.library.planned = lib.mkOverride 900 true; - "base".components.library.planned = lib.mkOverride 900 true; - "integer-gmp".components.library.planned = lib.mkOverride 900 true; - "containers".components.library.planned = lib.mkOverride 900 true; - }; - }) - ]; - } \ No newline at end of file diff --git a/materialized/ghcjs/happy/ghc8106/.plan.nix/happy.nix b/materialized/ghcjs/happy/ghc8106/.plan.nix/happy.nix deleted file mode 100644 index 8a9ace8483..0000000000 --- a/materialized/ghcjs/happy/ghc8106/.plan.nix/happy.nix +++ /dev/null @@ -1,200 +0,0 @@ -{ system - , compiler - , flags - , pkgs - , hsPkgs - , pkgconfPkgs - , errorHandler - , config - , ... }: - { - flags = { small_base = true; }; - package = { - specVersion = "1.8"; - identifier = { name = "happy"; version = "1.19.12"; }; - license = "BSD-2-Clause"; - copyright = "(c) Andy Gill, Simon Marlow"; - maintainer = "Simon Marlow "; - author = "Andy Gill and Simon Marlow"; - homepage = "https://www.haskell.org/happy/"; - url = ""; - synopsis = "Happy is a parser generator for Haskell"; - description = "Happy is a parser generator for Haskell. Given a grammar\nspecification in BNF, Happy generates Haskell code to parse the\ngrammar. Happy works in a similar way to the @yacc@ tool for C."; - buildType = "Simple"; - isLocal = true; - detailLevel = "FullDetails"; - licenseFiles = [ "LICENSE" ]; - dataDir = "data/"; - dataFiles = [ - "HappyTemplate" - "HappyTemplate-arrays" - "HappyTemplate-arrays-coerce" - "HappyTemplate-arrays-coerce-debug" - "HappyTemplate-arrays-debug" - "HappyTemplate-arrays-ghc" - "HappyTemplate-arrays-ghc-debug" - "HappyTemplate-coerce" - "HappyTemplate-ghc" - "GLR_Base" - "GLR_Lib" - "GLR_Lib-ghc" - "GLR_Lib-ghc-debug" - ]; - extraSrcFiles = [ - "ANNOUNCE" - "CHANGES" - "Makefile" - "README.md" - "TODO" - "doc/Makefile" - "doc/aclocal.m4" - "doc/config.mk.in" - "doc/configure.ac" - "doc/docbook-xml.mk" - "doc/fptools.css" - "doc/happy.1.in" - "doc/happy.xml" - "examples/glr/nlp/Main.lhs" - "examples/glr/nlp/Makefile" - "examples/glr/nlp/README" - "examples/glr/nlp/English.y" - "examples/glr/nlp/Hugs.lhs" - "examples/glr/Makefile" - "examples/glr/Makefile.defs" - "examples/glr/expr-eval/Main.lhs" - "examples/glr/expr-eval/Makefile" - "examples/glr/expr-eval/Expr.y" - "examples/glr/expr-eval/README" - "examples/glr/expr-eval/Hugs.lhs" - "examples/glr/expr-tree/Main.lhs" - "examples/glr/expr-tree/Makefile" - "examples/glr/expr-tree/Expr.y" - "examples/glr/expr-tree/README" - "examples/glr/expr-tree/Tree.lhs" - "examples/glr/expr-tree/Hugs.lhs" - "examples/glr/highly-ambiguous/Main.lhs" - "examples/glr/highly-ambiguous/Makefile" - "examples/glr/highly-ambiguous/Expr.y" - "examples/glr/highly-ambiguous/README" - "examples/glr/highly-ambiguous/Hugs.lhs" - "examples/glr/hidden-leftrec/Main.lhs" - "examples/glr/hidden-leftrec/Makefile" - "examples/glr/hidden-leftrec/Expr.y" - "examples/glr/hidden-leftrec/README" - "examples/glr/hidden-leftrec/Hugs.lhs" - "examples/glr/expr-monad/Main.lhs" - "examples/glr/expr-monad/Makefile" - "examples/glr/expr-monad/Expr.y" - "examples/glr/expr-monad/README" - "examples/glr/expr-monad/Hugs.lhs" - "examples/glr/bio-eg/Main.lhs" - "examples/glr/bio-eg/Makefile" - "examples/glr/bio-eg/Bio.y" - "examples/glr/bio-eg/README" - "examples/glr/bio-eg/1-1200.dna" - "examples/glr/bio-eg/1-600.dna" - "examples/glr/common/DV_lhs" - "examples/glr/common/DaVinciTypes.hs" - "examples/glr/packing/Main.lhs" - "examples/glr/packing/Makefile" - "examples/glr/packing/Expr.y" - "examples/glr/packing/README" - "examples/glr/packing/Hugs.lhs" - "examples/PgnParser.ly" - "examples/MonadTest.ly" - "examples/igloo/ParserM.hs" - "examples/igloo/Makefile" - "examples/igloo/Parser.y" - "examples/igloo/Foo.hs" - "examples/igloo/README" - "examples/igloo/Lexer.x" - "examples/README" - "examples/Calc.ly" - "examples/DavesExample.ly" - "examples/ErrorTest.ly" - "examples/ErlParser.ly" - "examples/SimonsExample.ly" - "examples/LexerTest.ly" - "happy.spec" - "src/ARRAY-NOTES" - "tests/AttrGrammar001.y" - "tests/AttrGrammar002.y" - "tests/Makefile" - "tests/Partial.ly" - "tests/Test.ly" - "tests/TestMulti.ly" - "tests/TestPrecedence.ly" - "tests/bogus-token.y" - "tests/bug001.ly" - "tests/bug002.y" - "tests/error001.stderr" - "tests/error001.stdout" - "tests/error001.y" - "tests/monad001.y" - "tests/monad002.ly" - "tests/monaderror.y" - "tests/precedence001.ly" - "tests/precedence002.y" - "tests/test_rules.y" - "tests/issue91.y" - "tests/issue93.y" - "tests/issue94.y" - "tests/issue95.y" - "tests/monaderror-explist.y" - "tests/typeclass_monad001.y" - "tests/typeclass_monad002.ly" - "tests/typeclass_monad_lexer.y" - "tests/rank2.y" - ]; - extraTmpFiles = []; - extraDocFiles = []; - }; - components = { - exes = { - "happy" = { - depends = [ - (hsPkgs."base" or (errorHandler.buildDepError "base")) - (hsPkgs."array" or (errorHandler.buildDepError "array")) - (hsPkgs."containers" or (errorHandler.buildDepError "containers")) - (hsPkgs."mtl" or (errorHandler.buildDepError "mtl")) - ]; - buildable = true; - modules = [ - "Paths_happy" - "AbsSyn" - "First" - "GenUtils" - "Grammar" - "Info" - "LALR" - "Lexer" - "ParseMonad" - "Parser" - "ProduceCode" - "ProduceGLRCode" - "NameSet" - "Target" - "AttrGrammar" - "AttrGrammarParser" - "ParamRules" - "PrettyGrammar" - ]; - hsSourceDirs = [ "src" ]; - mainPath = [ "Main.lhs" ]; - }; - }; - tests = { - "tests" = { - depends = [ - (hsPkgs."base" or (errorHandler.buildDepError "base")) - (hsPkgs."process" or (errorHandler.buildDepError "process")) - ]; - build-tools = [ - (hsPkgs.pkgsBuildBuild.happy.components.exes.happy or (pkgs.pkgsBuildBuild.happy or (errorHandler.buildToolDepError "happy:happy"))) - ]; - buildable = true; - mainPath = [ "test.hs" ]; - }; - }; - }; - } // rec { src = (pkgs.lib).mkDefault ../.; } \ No newline at end of file diff --git a/materialized/ghcjs/happy/ghc8106/default.nix b/materialized/ghcjs/happy/ghc8106/default.nix deleted file mode 100644 index e20aa0bf9b..0000000000 --- a/materialized/ghcjs/happy/ghc8106/default.nix +++ /dev/null @@ -1,56 +0,0 @@ -{ - pkgs = hackage: - { - packages = { - mtl.revision = (((hackage.mtl)."2.2.2").revisions).default; - ghc-prim.revision = (((hackage.ghc-prim)."0.6.1").revisions).default; - containers.revision = (((hackage.containers)."0.6.5.1").revisions).default; - base.revision = (((hackage.base)."4.14.3.0").revisions).default; - deepseq.revision = (((hackage.deepseq)."1.4.4.0").revisions).default; - rts.revision = (((hackage.rts)."1.0.1").revisions).default; - integer-gmp.revision = (((hackage.integer-gmp)."1.0.3.0").revisions).default; - transformers.revision = (((hackage.transformers)."0.5.6.2").revisions).default; - array.revision = (((hackage.array)."0.5.4.0").revisions).default; - }; - compiler = { - version = "8.10.6"; - nix-name = "ghc8106"; - packages = { - "array" = "0.5.4.0"; - "mtl" = "2.2.2"; - "ghc-prim" = "0.6.1"; - "base" = "4.14.3.0"; - "rts" = "1.0.1"; - "transformers" = "0.5.6.2"; - "deepseq" = "1.4.4.0"; - "integer-gmp" = "1.0.3.0"; - "containers" = "0.6.5.1"; - }; - }; - }; - extras = hackage: - { packages = { happy = ./.plan.nix/happy.nix; }; }; - modules = [ - ({ lib, ... }: - { - packages = { - "happy" = { flags = { "small_base" = lib.mkOverride 900 true; }; }; - }; - }) - ({ lib, ... }: - { - packages = { - "ghc-prim".components.library.planned = lib.mkOverride 900 true; - "array".components.library.planned = lib.mkOverride 900 true; - "rts".components.library.planned = lib.mkOverride 900 true; - "happy".components.exes."happy".planned = lib.mkOverride 900 true; - "mtl".components.library.planned = lib.mkOverride 900 true; - "transformers".components.library.planned = lib.mkOverride 900 true; - "deepseq".components.library.planned = lib.mkOverride 900 true; - "base".components.library.planned = lib.mkOverride 900 true; - "integer-gmp".components.library.planned = lib.mkOverride 900 true; - "containers".components.library.planned = lib.mkOverride 900 true; - }; - }) - ]; - } \ No newline at end of file diff --git a/materialized/ghcjs/happy/ghc8107/.plan.nix/happy.nix b/materialized/ghcjs/happy/ghc8107/.plan.nix/happy.nix deleted file mode 100644 index 8c2e732857..0000000000 --- a/materialized/ghcjs/happy/ghc8107/.plan.nix/happy.nix +++ /dev/null @@ -1,200 +0,0 @@ -{ system - , compiler - , flags - , pkgs - , hsPkgs - , pkgconfPkgs - , errorHandler - , config - , ... }: - { - flags = { small_base = true; }; - package = { - specVersion = "1.8"; - identifier = { name = "happy"; version = "1.19.12"; }; - license = "BSD-2-Clause"; - copyright = "(c) Andy Gill, Simon Marlow"; - maintainer = "Simon Marlow "; - author = "Andy Gill and Simon Marlow"; - homepage = "https://www.haskell.org/happy/"; - url = ""; - synopsis = "Happy is a parser generator for Haskell"; - description = "Happy is a parser generator for Haskell. Given a grammar\nspecification in BNF, Happy generates Haskell code to parse the\ngrammar. Happy works in a similar way to the @yacc@ tool for C."; - buildType = "Simple"; - isLocal = true; - detailLevel = "FullDetails"; - licenseFiles = [ "LICENSE" ]; - dataDir = "data/"; - dataFiles = [ - "HappyTemplate" - "HappyTemplate-arrays" - "HappyTemplate-arrays-coerce" - "HappyTemplate-arrays-coerce-debug" - "HappyTemplate-arrays-debug" - "HappyTemplate-arrays-ghc" - "HappyTemplate-arrays-ghc-debug" - "HappyTemplate-coerce" - "HappyTemplate-ghc" - "GLR_Base" - "GLR_Lib" - "GLR_Lib-ghc" - "GLR_Lib-ghc-debug" - ]; - extraSrcFiles = [ - "ANNOUNCE" - "CHANGES" - "Makefile" - "README.md" - "TODO" - "doc/Makefile" - "doc/aclocal.m4" - "doc/config.mk.in" - "doc/configure.ac" - "doc/docbook-xml.mk" - "doc/fptools.css" - "doc/happy.1.in" - "doc/happy.xml" - "examples/glr/nlp/Main.lhs" - "examples/glr/nlp/Makefile" - "examples/glr/nlp/README" - "examples/glr/nlp/English.y" - "examples/glr/nlp/Hugs.lhs" - "examples/glr/Makefile" - "examples/glr/Makefile.defs" - "examples/glr/expr-eval/Main.lhs" - "examples/glr/expr-eval/Makefile" - "examples/glr/expr-eval/Expr.y" - "examples/glr/expr-eval/README" - "examples/glr/expr-eval/Hugs.lhs" - "examples/glr/expr-tree/Main.lhs" - "examples/glr/expr-tree/Makefile" - "examples/glr/expr-tree/Expr.y" - "examples/glr/expr-tree/README" - "examples/glr/expr-tree/Tree.lhs" - "examples/glr/expr-tree/Hugs.lhs" - "examples/glr/highly-ambiguous/Main.lhs" - "examples/glr/highly-ambiguous/Makefile" - "examples/glr/highly-ambiguous/Expr.y" - "examples/glr/highly-ambiguous/README" - "examples/glr/highly-ambiguous/Hugs.lhs" - "examples/glr/hidden-leftrec/Main.lhs" - "examples/glr/hidden-leftrec/Makefile" - "examples/glr/hidden-leftrec/Expr.y" - "examples/glr/hidden-leftrec/README" - "examples/glr/hidden-leftrec/Hugs.lhs" - "examples/glr/expr-monad/Main.lhs" - "examples/glr/expr-monad/Makefile" - "examples/glr/expr-monad/Expr.y" - "examples/glr/expr-monad/README" - "examples/glr/expr-monad/Hugs.lhs" - "examples/glr/bio-eg/Main.lhs" - "examples/glr/bio-eg/Makefile" - "examples/glr/bio-eg/Bio.y" - "examples/glr/bio-eg/README" - "examples/glr/bio-eg/1-1200.dna" - "examples/glr/bio-eg/1-600.dna" - "examples/glr/common/DV_lhs" - "examples/glr/common/DaVinciTypes.hs" - "examples/glr/packing/Main.lhs" - "examples/glr/packing/Makefile" - "examples/glr/packing/Expr.y" - "examples/glr/packing/README" - "examples/glr/packing/Hugs.lhs" - "examples/PgnParser.ly" - "examples/MonadTest.ly" - "examples/igloo/ParserM.hs" - "examples/igloo/Makefile" - "examples/igloo/Parser.y" - "examples/igloo/Foo.hs" - "examples/igloo/README" - "examples/igloo/Lexer.x" - "examples/README" - "examples/Calc.ly" - "examples/DavesExample.ly" - "examples/ErrorTest.ly" - "examples/ErlParser.ly" - "examples/SimonsExample.ly" - "examples/LexerTest.ly" - "happy.spec" - "src/ARRAY-NOTES" - "tests/AttrGrammar001.y" - "tests/AttrGrammar002.y" - "tests/Makefile" - "tests/Partial.ly" - "tests/Test.ly" - "tests/TestMulti.ly" - "tests/TestPrecedence.ly" - "tests/bogus-token.y" - "tests/bug001.ly" - "tests/bug002.y" - "tests/error001.stderr" - "tests/error001.stdout" - "tests/error001.y" - "tests/monad001.y" - "tests/monad002.ly" - "tests/monaderror.y" - "tests/precedence001.ly" - "tests/precedence002.y" - "tests/test_rules.y" - "tests/issue91.y" - "tests/issue93.y" - "tests/issue94.y" - "tests/issue95.y" - "tests/monaderror-explist.y" - "tests/typeclass_monad001.y" - "tests/typeclass_monad002.ly" - "tests/typeclass_monad_lexer.y" - "tests/rank2.y" - ]; - extraTmpFiles = []; - extraDocFiles = []; - }; - components = { - exes = { - "happy" = { - depends = [ - (hsPkgs."base" or (errorHandler.buildDepError "base")) - (hsPkgs."array" or (errorHandler.buildDepError "array")) - (hsPkgs."containers" or (errorHandler.buildDepError "containers")) - (hsPkgs."mtl" or (errorHandler.buildDepError "mtl")) - ]; - buildable = true; - modules = [ - "Paths_happy" - "AbsSyn" - "First" - "GenUtils" - "Grammar" - "Info" - "LALR" - "Lexer" - "ParseMonad" - "Parser" - "ProduceCode" - "ProduceGLRCode" - "NameSet" - "Target" - "AttrGrammar" - "AttrGrammarParser" - "ParamRules" - "PrettyGrammar" - ]; - hsSourceDirs = [ "src" ]; - mainPath = [ "Main.lhs" ]; - }; - }; - tests = { - "tests" = { - depends = [ - (hsPkgs."base" or (errorHandler.buildDepError "base")) - (hsPkgs."process" or (errorHandler.buildDepError "process")) - ]; - build-tools = [ - (hsPkgs.pkgsBuildBuild.happy.components.exes.happy or (pkgs.pkgsBuildBuild.happy or (errorHandler.buildToolDepError "happy:happy"))) - ]; - buildable = true; - mainPath = [ "test.hs" ]; - }; - }; - }; - } // rec { src = pkgs.lib.mkDefault ../.; } \ No newline at end of file diff --git a/materialized/ghcjs/happy/ghc8107/cabal-files/happy.nix b/materialized/ghcjs/happy/ghc8107/cabal-files/happy.nix new file mode 100644 index 0000000000..e3c0d0b40d --- /dev/null +++ b/materialized/ghcjs/happy/ghc8107/cabal-files/happy.nix @@ -0,0 +1,57 @@ +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: + ({ + flags = { small_base = true; }; + package = { + specVersion = "1.8"; + identifier = { name = "happy"; version = "1.19.12"; }; + license = "BSD-2-Clause"; + copyright = "(c) Andy Gill, Simon Marlow"; + maintainer = "Simon Marlow "; + author = "Andy Gill and Simon Marlow"; + homepage = "https://www.haskell.org/happy/"; + url = ""; + synopsis = "Happy is a parser generator for Haskell"; + description = "Happy is a parser generator for Haskell. Given a grammar\nspecification in BNF, Happy generates Haskell code to parse the\ngrammar. Happy works in a similar way to the @yacc@ tool for C."; + buildType = "Simple"; + }; + components = { + exes = { + "happy" = { + depends = [ + (hsPkgs."base" or (errorHandler.buildDepError "base")) + (hsPkgs."array" or (errorHandler.buildDepError "array")) + (hsPkgs."containers" or (errorHandler.buildDepError "containers")) + (hsPkgs."mtl" or (errorHandler.buildDepError "mtl")) + ]; + buildable = true; + }; + }; + tests = { + "tests" = { + depends = [ + (hsPkgs."base" or (errorHandler.buildDepError "base")) + (hsPkgs."process" or (errorHandler.buildDepError "process")) + ]; + build-tools = [ + (hsPkgs.pkgsBuildBuild.happy.components.exes.happy or (pkgs.pkgsBuildBuild.happy or (errorHandler.buildToolDepError "happy:happy"))) + ]; + buildable = true; + }; + }; + }; + } // { + src = pkgs.lib.mkDefault (pkgs.fetchurl { + url = "http://hackage.haskell.org/package/happy-1.19.12.tar.gz"; + sha256 = "fb9a23e41401711a3b288f93cf0a66db9f97da1ce32ec4fffea4b78a0daeb40f"; + }); + }) // { + package-description-override = "name: happy\nversion: 1.19.12\nx-revision: 1\nlicense: BSD2\nlicense-file: LICENSE\ncopyright: (c) Andy Gill, Simon Marlow\nauthor: Andy Gill and Simon Marlow\nmaintainer: Simon Marlow \nbug-reports: https://github.com/simonmar/happy/issues\nstability: stable\nhomepage: https://www.haskell.org/happy/\nsynopsis: Happy is a parser generator for Haskell\ncategory: Development\ncabal-version: >= 1.8\nbuild-type: Simple\n\nDescription:\n Happy is a parser generator for Haskell. Given a grammar\n specification in BNF, Happy generates Haskell code to parse the\n grammar. Happy works in a similar way to the @yacc@ tool for C.\n\ntested-with:\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.1\n\ndata-dir: data/\n\ndata-files: \n HappyTemplate\n HappyTemplate-arrays\n HappyTemplate-arrays-coerce\n HappyTemplate-arrays-coerce-debug\n HappyTemplate-arrays-debug\n HappyTemplate-arrays-ghc\n HappyTemplate-arrays-ghc-debug\n HappyTemplate-coerce\n HappyTemplate-ghc\n GLR_Base\n GLR_Lib\n GLR_Lib-ghc\n GLR_Lib-ghc-debug\n\nextra-source-files:\n ANNOUNCE\n CHANGES\n Makefile\n README.md\n TODO\n doc/Makefile\n doc/aclocal.m4\n doc/config.mk.in\n doc/configure.ac\n doc/docbook-xml.mk\n doc/fptools.css\n doc/happy.1.in\n doc/happy.xml\n examples/glr/nlp/Main.lhs\n examples/glr/nlp/Makefile\n examples/glr/nlp/README\n examples/glr/nlp/English.y\n examples/glr/nlp/Hugs.lhs\n examples/glr/Makefile\n examples/glr/Makefile.defs\n examples/glr/expr-eval/Main.lhs\n examples/glr/expr-eval/Makefile\n examples/glr/expr-eval/Expr.y\n examples/glr/expr-eval/README\n examples/glr/expr-eval/Hugs.lhs\n examples/glr/expr-tree/Main.lhs\n examples/glr/expr-tree/Makefile\n examples/glr/expr-tree/Expr.y\n examples/glr/expr-tree/README\n examples/glr/expr-tree/Tree.lhs\n examples/glr/expr-tree/Hugs.lhs\n examples/glr/highly-ambiguous/Main.lhs\n examples/glr/highly-ambiguous/Makefile\n examples/glr/highly-ambiguous/Expr.y\n examples/glr/highly-ambiguous/README\n examples/glr/highly-ambiguous/Hugs.lhs\n examples/glr/hidden-leftrec/Main.lhs\n examples/glr/hidden-leftrec/Makefile\n examples/glr/hidden-leftrec/Expr.y\n examples/glr/hidden-leftrec/README\n examples/glr/hidden-leftrec/Hugs.lhs\n examples/glr/expr-monad/Main.lhs\n examples/glr/expr-monad/Makefile\n examples/glr/expr-monad/Expr.y\n examples/glr/expr-monad/README\n examples/glr/expr-monad/Hugs.lhs\n examples/glr/bio-eg/Main.lhs\n examples/glr/bio-eg/Makefile\n examples/glr/bio-eg/Bio.y\n examples/glr/bio-eg/README\n examples/glr/bio-eg/1-1200.dna\n examples/glr/bio-eg/1-600.dna\n examples/glr/common/DV_lhs\n examples/glr/common/DaVinciTypes.hs\n examples/glr/packing/Main.lhs\n examples/glr/packing/Makefile\n examples/glr/packing/Expr.y\n examples/glr/packing/README\n examples/glr/packing/Hugs.lhs\n examples/PgnParser.ly\n examples/MonadTest.ly\n examples/igloo/ParserM.hs\n examples/igloo/Makefile\n examples/igloo/Parser.y\n examples/igloo/Foo.hs\n examples/igloo/README\n examples/igloo/Lexer.x\n examples/README\n examples/Calc.ly\n examples/DavesExample.ly\n examples/ErrorTest.ly\n examples/ErlParser.ly\n examples/SimonsExample.ly\n examples/LexerTest.ly\n happy.spec\n src/ARRAY-NOTES\n tests/AttrGrammar001.y\n tests/AttrGrammar002.y\n tests/Makefile\n tests/Partial.ly\n tests/Test.ly\n tests/TestMulti.ly\n tests/TestPrecedence.ly\n tests/bogus-token.y\n tests/bug001.ly\n tests/bug002.y\n tests/error001.stderr\n tests/error001.stdout\n tests/error001.y\n tests/monad001.y\n tests/monad002.ly\n tests/monaderror.y\n tests/precedence001.ly\n tests/precedence002.y\n tests/test_rules.y\n tests/issue91.y\n tests/issue93.y\n tests/issue94.y\n tests/issue95.y\n tests/monaderror-explist.y\n tests/typeclass_monad001.y\n tests/typeclass_monad002.ly\n tests/typeclass_monad_lexer.y\n tests/rank2.y\n\nsource-repository head\n type: git\n location: https://github.com/simonmar/happy.git\n\nflag small_base\n description: Deprecated. Does nothing.\n manual: True\n\nexecutable happy\n hs-source-dirs: src\n main-is: Main.lhs\n\n build-depends: base < 5,\n array,\n containers >= 0.4.2,\n mtl >= 2.2.1 && < 2.3\n -- mtl-2.2.1 added Control.Monad.Except\n\n extensions: CPP, MagicHash, FlexibleContexts\n ghc-options: -Wall\n other-modules:\n Paths_happy\n AbsSyn\n First\n GenUtils\n Grammar\n Info\n LALR\n Lexer\n ParseMonad\n Parser\n ProduceCode\n ProduceGLRCode\n NameSet\n Target\n AttrGrammar\n AttrGrammarParser\n ParamRules\n PrettyGrammar\n\ntest-suite tests\n type: exitcode-stdio-1.0\n main-is: test.hs\n -- This line is important as it ensures that the local `exe:happy` component declared above is built before the test-suite component is invoked, as well as making sure that `happy` is made available on $PATH and `$happy_datadir` is set accordingly before invoking `test.hs`\n build-tools: happy\n\n build-depends: base, process\n\n"; + } \ No newline at end of file diff --git a/materialized/ghcjs/happy/ghc8107/default.nix b/materialized/ghcjs/happy/ghc8107/default.nix index f4fa58e413..e32e39640f 100644 --- a/materialized/ghcjs/happy/ghc8107/default.nix +++ b/materialized/ghcjs/happy/ghc8107/default.nix @@ -10,6 +10,8 @@ integer-gmp.revision = hackage.integer-gmp."1.0.3.0".revisions.default; containers.revision = hackage.containers."0.6.5.1".revisions.default; array.revision = hackage.array."0.5.4.0".revisions.default; + happy.revision = import ./cabal-files/happy.nix; + happy.flags.small_base = true; }; compiler = { version = "8.10.7"; @@ -27,7 +29,7 @@ }; }; extras = hackage: - { packages = { happy = ./.plan.nix/happy.nix; }; }; + { packages = {}; }; modules = [ { preExistingPkgs = [ @@ -42,11 +44,7 @@ ]; } ({ lib, ... }: - { - packages = { - "happy" = { flags = { "small_base" = lib.mkOverride 900 true; }; }; - }; - }) + { packages = {}; }) ({ lib, ... }: { packages = { diff --git a/materialized/ghcjs/happy/ghc8107/plan.json b/materialized/ghcjs/happy/ghc8107/plan.json index aeb0dba3c1..039d4008d4 100644 --- a/materialized/ghcjs/happy/ghc8107/plan.json +++ b/materialized/ghcjs/happy/ghc8107/plan.json @@ -1 +1 @@ -{"cabal-version":"3.10.3.0","cabal-lib-version":"3.10.3.0","compiler-id":"ghc-8.10.7","os":"linux","arch":"x86_64","install-plan":[{"type":"pre-existing","id":"array-0.5.4.0","pkg-name":"array","pkg-version":"0.5.4.0","depends":["base-4.14.3.0"]},{"type":"pre-existing","id":"base-4.14.3.0","pkg-name":"base","pkg-version":"4.14.3.0","depends":["ghc-prim-0.6.1","integer-gmp-1.0.3.0"]},{"type":"pre-existing","id":"containers-0.6.5.1","pkg-name":"containers","pkg-version":"0.6.5.1","depends":["array-0.5.4.0","base-4.14.3.0","deepseq-1.4.4.0"]},{"type":"pre-existing","id":"deepseq-1.4.4.0","pkg-name":"deepseq","pkg-version":"1.4.4.0","depends":["array-0.5.4.0","base-4.14.3.0","ghc-prim-0.6.1"]},{"type":"pre-existing","id":"ghc-prim-0.6.1","pkg-name":"ghc-prim","pkg-version":"0.6.1","depends":[]},{"type":"configured","id":"happy-1.19.12-inplace-happy","pkg-name":"happy","pkg-version":"1.19.12","flags":{"small_base":true},"style":"local","pkg-src":{"type":"local","path":"./."},"dist-dir":"./dist-newstyle/build/x86_64-linux/ghc-8.10.7/happy-1.19.12/x/happy","build-info":"./dist-newstyle/build/x86_64-linux/ghc-8.10.7/happy-1.19.12/x/happy/build-info.json","depends":["array-0.5.4.0","base-4.14.3.0","containers-0.6.5.1","mtl-2.2.2"],"exe-depends":[],"component-name":"exe:happy","bin-file":"./dist-newstyle/build/x86_64-linux/ghc-8.10.7/happy-1.19.12/x/happy/build/happy/happy"},{"type":"pre-existing","id":"integer-gmp-1.0.3.0","pkg-name":"integer-gmp","pkg-version":"1.0.3.0","depends":["ghc-prim-0.6.1"]},{"type":"pre-existing","id":"mtl-2.2.2","pkg-name":"mtl","pkg-version":"2.2.2","depends":["base-4.14.3.0","transformers-0.5.6.2"]},{"type":"pre-existing","id":"transformers-0.5.6.2","pkg-name":"transformers","pkg-version":"0.5.6.2","depends":["base-4.14.3.0","ghc-prim-0.6.1"]}],"targets":[{"pkg-name":"array","pkg-version":"0.5.4.0","component-name":"lib","available":[{"id":"array-0.5.4.0","component-name":"lib","build-by-default":true}]},{"pkg-name":"base","pkg-version":"4.14.3.0","component-name":"lib","available":[{"id":"base-4.14.3.0","component-name":"lib","build-by-default":true}]},{"pkg-name":"containers","pkg-version":"0.6.5.1","component-name":"lib","available":[{"id":"containers-0.6.5.1","component-name":"lib","build-by-default":true}]},{"pkg-name":"deepseq","pkg-version":"1.4.4.0","component-name":"lib","available":[{"id":"deepseq-1.4.4.0","component-name":"lib","build-by-default":true}]},{"pkg-name":"ghc-prim","pkg-version":"0.6.1","component-name":"lib","available":[{"id":"ghc-prim-0.6.1","component-name":"lib","build-by-default":true}]},{"pkg-name":"happy","pkg-version":"1.19.12","component-name":"exe:happy","available":[{"id":"happy-1.19.12-inplace-happy","component-name":"exe:happy","build-by-default":true}]},{"pkg-name":"happy","pkg-version":"1.19.12","component-name":"test:tests","available":["TargetDisabledByUser"]},{"pkg-name":"integer-gmp","pkg-version":"1.0.3.0","component-name":"lib","available":[{"id":"integer-gmp-1.0.3.0","component-name":"lib","build-by-default":true}]},{"pkg-name":"mtl","pkg-version":"2.2.2","component-name":"lib","available":[{"id":"mtl-2.2.2","component-name":"lib","build-by-default":true}]},{"pkg-name":"transformers","pkg-version":"0.5.6.2","component-name":"lib","available":[{"id":"transformers-0.5.6.2","component-name":"lib","build-by-default":true}]}]} \ No newline at end of file +{"cabal-version":"3.10.3.0","cabal-lib-version":"3.10.3.0","compiler-id":"ghc-8.10.7","os":"linux","arch":"x86_64","install-plan":[{"type":"pre-existing","id":"array-0.5.4.0","pkg-name":"array","pkg-version":"0.5.4.0","depends":["base-4.14.3.0"]},{"type":"pre-existing","id":"base-4.14.3.0","pkg-name":"base","pkg-version":"4.14.3.0","depends":["ghc-prim-0.6.1","integer-gmp-1.0.3.0"]},{"type":"pre-existing","id":"containers-0.6.5.1","pkg-name":"containers","pkg-version":"0.6.5.1","depends":["array-0.5.4.0","base-4.14.3.0","deepseq-1.4.4.0"]},{"type":"pre-existing","id":"deepseq-1.4.4.0","pkg-name":"deepseq","pkg-version":"1.4.4.0","depends":["array-0.5.4.0","base-4.14.3.0","ghc-prim-0.6.1"]},{"type":"pre-existing","id":"ghc-prim-0.6.1","pkg-name":"ghc-prim","pkg-version":"0.6.1","depends":[]},{"type":"configured","id":"happy-1.19.12-e-happy-6ca6ca4956cdf37f852a5e7b87bc539d416f258fb7af22df9f6544135715641f","pkg-name":"happy","pkg-version":"1.19.12","flags":{"small_base":true},"style":"global","pkg-src":{"type":"repo-tar","repo":{"type":"secure-repo","uri":"http://hackage.haskell.org/"}},"pkg-cabal-sha256":"96c64e5616354c8c05412ad8cf1f4c919502c9947d0f9313253eb75a036f9e8f","pkg-src-sha256":"fb9a23e41401711a3b288f93cf0a66db9f97da1ce32ec4fffea4b78a0daeb40f","depends":["array-0.5.4.0","base-4.14.3.0","containers-0.6.5.1","mtl-2.2.2"],"exe-depends":[],"component-name":"exe:happy","bin-file":"/store/ghc-8.10.7/happy-1.19.12-e-happy-6ca6ca4956cdf37f852a5e7b87bc539d416f258fb7af22df9f6544135715641f/bin/happy"},{"type":"pre-existing","id":"integer-gmp-1.0.3.0","pkg-name":"integer-gmp","pkg-version":"1.0.3.0","depends":["ghc-prim-0.6.1"]},{"type":"pre-existing","id":"mtl-2.2.2","pkg-name":"mtl","pkg-version":"2.2.2","depends":["base-4.14.3.0","transformers-0.5.6.2"]},{"type":"pre-existing","id":"transformers-0.5.6.2","pkg-name":"transformers","pkg-version":"0.5.6.2","depends":["base-4.14.3.0","ghc-prim-0.6.1"]}],"targets":[{"pkg-name":"array","pkg-version":"0.5.4.0","component-name":"lib","available":[{"id":"array-0.5.4.0","component-name":"lib","build-by-default":true}]},{"pkg-name":"base","pkg-version":"4.14.3.0","component-name":"lib","available":[{"id":"base-4.14.3.0","component-name":"lib","build-by-default":true}]},{"pkg-name":"containers","pkg-version":"0.6.5.1","component-name":"lib","available":[{"id":"containers-0.6.5.1","component-name":"lib","build-by-default":true}]},{"pkg-name":"deepseq","pkg-version":"1.4.4.0","component-name":"lib","available":[{"id":"deepseq-1.4.4.0","component-name":"lib","build-by-default":true}]},{"pkg-name":"ghc-prim","pkg-version":"0.6.1","component-name":"lib","available":[{"id":"ghc-prim-0.6.1","component-name":"lib","build-by-default":true}]},{"pkg-name":"happy","pkg-version":"1.19.12","component-name":"exe:happy","available":[{"id":"happy-1.19.12-e-happy-6ca6ca4956cdf37f852a5e7b87bc539d416f258fb7af22df9f6544135715641f","component-name":"exe:happy","build-by-default":true}]},{"pkg-name":"happy","pkg-version":"1.19.12","component-name":"test:tests","available":["TargetNotLocal"]},{"pkg-name":"integer-gmp","pkg-version":"1.0.3.0","component-name":"lib","available":[{"id":"integer-gmp-1.0.3.0","component-name":"lib","build-by-default":true}]},{"pkg-name":"mtl","pkg-version":"2.2.2","component-name":"lib","available":[{"id":"mtl-2.2.2","component-name":"lib","build-by-default":true}]},{"pkg-name":"transformers","pkg-version":"0.5.6.2","component-name":"lib","available":[{"id":"transformers-0.5.6.2","component-name":"lib","build-by-default":true}]}]} \ No newline at end of file diff --git a/materialized/ghcjs/happy/ghc865/.plan.nix/happy.nix b/materialized/ghcjs/happy/ghc865/.plan.nix/happy.nix deleted file mode 100644 index 8a9ace8483..0000000000 --- a/materialized/ghcjs/happy/ghc865/.plan.nix/happy.nix +++ /dev/null @@ -1,200 +0,0 @@ -{ system - , compiler - , flags - , pkgs - , hsPkgs - , pkgconfPkgs - , errorHandler - , config - , ... }: - { - flags = { small_base = true; }; - package = { - specVersion = "1.8"; - identifier = { name = "happy"; version = "1.19.12"; }; - license = "BSD-2-Clause"; - copyright = "(c) Andy Gill, Simon Marlow"; - maintainer = "Simon Marlow "; - author = "Andy Gill and Simon Marlow"; - homepage = "https://www.haskell.org/happy/"; - url = ""; - synopsis = "Happy is a parser generator for Haskell"; - description = "Happy is a parser generator for Haskell. Given a grammar\nspecification in BNF, Happy generates Haskell code to parse the\ngrammar. Happy works in a similar way to the @yacc@ tool for C."; - buildType = "Simple"; - isLocal = true; - detailLevel = "FullDetails"; - licenseFiles = [ "LICENSE" ]; - dataDir = "data/"; - dataFiles = [ - "HappyTemplate" - "HappyTemplate-arrays" - "HappyTemplate-arrays-coerce" - "HappyTemplate-arrays-coerce-debug" - "HappyTemplate-arrays-debug" - "HappyTemplate-arrays-ghc" - "HappyTemplate-arrays-ghc-debug" - "HappyTemplate-coerce" - "HappyTemplate-ghc" - "GLR_Base" - "GLR_Lib" - "GLR_Lib-ghc" - "GLR_Lib-ghc-debug" - ]; - extraSrcFiles = [ - "ANNOUNCE" - "CHANGES" - "Makefile" - "README.md" - "TODO" - "doc/Makefile" - "doc/aclocal.m4" - "doc/config.mk.in" - "doc/configure.ac" - "doc/docbook-xml.mk" - "doc/fptools.css" - "doc/happy.1.in" - "doc/happy.xml" - "examples/glr/nlp/Main.lhs" - "examples/glr/nlp/Makefile" - "examples/glr/nlp/README" - "examples/glr/nlp/English.y" - "examples/glr/nlp/Hugs.lhs" - "examples/glr/Makefile" - "examples/glr/Makefile.defs" - "examples/glr/expr-eval/Main.lhs" - "examples/glr/expr-eval/Makefile" - "examples/glr/expr-eval/Expr.y" - "examples/glr/expr-eval/README" - "examples/glr/expr-eval/Hugs.lhs" - "examples/glr/expr-tree/Main.lhs" - "examples/glr/expr-tree/Makefile" - "examples/glr/expr-tree/Expr.y" - "examples/glr/expr-tree/README" - "examples/glr/expr-tree/Tree.lhs" - "examples/glr/expr-tree/Hugs.lhs" - "examples/glr/highly-ambiguous/Main.lhs" - "examples/glr/highly-ambiguous/Makefile" - "examples/glr/highly-ambiguous/Expr.y" - "examples/glr/highly-ambiguous/README" - "examples/glr/highly-ambiguous/Hugs.lhs" - "examples/glr/hidden-leftrec/Main.lhs" - "examples/glr/hidden-leftrec/Makefile" - "examples/glr/hidden-leftrec/Expr.y" - "examples/glr/hidden-leftrec/README" - "examples/glr/hidden-leftrec/Hugs.lhs" - "examples/glr/expr-monad/Main.lhs" - "examples/glr/expr-monad/Makefile" - "examples/glr/expr-monad/Expr.y" - "examples/glr/expr-monad/README" - "examples/glr/expr-monad/Hugs.lhs" - "examples/glr/bio-eg/Main.lhs" - "examples/glr/bio-eg/Makefile" - "examples/glr/bio-eg/Bio.y" - "examples/glr/bio-eg/README" - "examples/glr/bio-eg/1-1200.dna" - "examples/glr/bio-eg/1-600.dna" - "examples/glr/common/DV_lhs" - "examples/glr/common/DaVinciTypes.hs" - "examples/glr/packing/Main.lhs" - "examples/glr/packing/Makefile" - "examples/glr/packing/Expr.y" - "examples/glr/packing/README" - "examples/glr/packing/Hugs.lhs" - "examples/PgnParser.ly" - "examples/MonadTest.ly" - "examples/igloo/ParserM.hs" - "examples/igloo/Makefile" - "examples/igloo/Parser.y" - "examples/igloo/Foo.hs" - "examples/igloo/README" - "examples/igloo/Lexer.x" - "examples/README" - "examples/Calc.ly" - "examples/DavesExample.ly" - "examples/ErrorTest.ly" - "examples/ErlParser.ly" - "examples/SimonsExample.ly" - "examples/LexerTest.ly" - "happy.spec" - "src/ARRAY-NOTES" - "tests/AttrGrammar001.y" - "tests/AttrGrammar002.y" - "tests/Makefile" - "tests/Partial.ly" - "tests/Test.ly" - "tests/TestMulti.ly" - "tests/TestPrecedence.ly" - "tests/bogus-token.y" - "tests/bug001.ly" - "tests/bug002.y" - "tests/error001.stderr" - "tests/error001.stdout" - "tests/error001.y" - "tests/monad001.y" - "tests/monad002.ly" - "tests/monaderror.y" - "tests/precedence001.ly" - "tests/precedence002.y" - "tests/test_rules.y" - "tests/issue91.y" - "tests/issue93.y" - "tests/issue94.y" - "tests/issue95.y" - "tests/monaderror-explist.y" - "tests/typeclass_monad001.y" - "tests/typeclass_monad002.ly" - "tests/typeclass_monad_lexer.y" - "tests/rank2.y" - ]; - extraTmpFiles = []; - extraDocFiles = []; - }; - components = { - exes = { - "happy" = { - depends = [ - (hsPkgs."base" or (errorHandler.buildDepError "base")) - (hsPkgs."array" or (errorHandler.buildDepError "array")) - (hsPkgs."containers" or (errorHandler.buildDepError "containers")) - (hsPkgs."mtl" or (errorHandler.buildDepError "mtl")) - ]; - buildable = true; - modules = [ - "Paths_happy" - "AbsSyn" - "First" - "GenUtils" - "Grammar" - "Info" - "LALR" - "Lexer" - "ParseMonad" - "Parser" - "ProduceCode" - "ProduceGLRCode" - "NameSet" - "Target" - "AttrGrammar" - "AttrGrammarParser" - "ParamRules" - "PrettyGrammar" - ]; - hsSourceDirs = [ "src" ]; - mainPath = [ "Main.lhs" ]; - }; - }; - tests = { - "tests" = { - depends = [ - (hsPkgs."base" or (errorHandler.buildDepError "base")) - (hsPkgs."process" or (errorHandler.buildDepError "process")) - ]; - build-tools = [ - (hsPkgs.pkgsBuildBuild.happy.components.exes.happy or (pkgs.pkgsBuildBuild.happy or (errorHandler.buildToolDepError "happy:happy"))) - ]; - buildable = true; - mainPath = [ "test.hs" ]; - }; - }; - }; - } // rec { src = (pkgs.lib).mkDefault ../.; } \ No newline at end of file diff --git a/materialized/ghcjs/happy/ghc865/default.nix b/materialized/ghcjs/happy/ghc865/default.nix deleted file mode 100644 index ff3aeb261d..0000000000 --- a/materialized/ghcjs/happy/ghc865/default.nix +++ /dev/null @@ -1,56 +0,0 @@ -{ - pkgs = hackage: - { - packages = { - mtl.revision = (((hackage.mtl)."2.2.2").revisions).default; - ghc-prim.revision = (((hackage.ghc-prim)."0.5.3").revisions).default; - containers.revision = (((hackage.containers)."0.6.0.1").revisions).default; - base.revision = (((hackage.base)."4.12.0.0").revisions).default; - deepseq.revision = (((hackage.deepseq)."1.4.4.0").revisions).default; - rts.revision = (((hackage.rts)."1.0").revisions).default; - integer-gmp.revision = (((hackage.integer-gmp)."1.0.2.0").revisions).default; - transformers.revision = (((hackage.transformers)."0.5.6.2").revisions).default; - array.revision = (((hackage.array)."0.5.3.0").revisions).default; - }; - compiler = { - version = "8.6.5"; - nix-name = "ghc865"; - packages = { - "array" = "0.5.3.0"; - "mtl" = "2.2.2"; - "ghc-prim" = "0.5.3"; - "base" = "4.12.0.0"; - "rts" = "1.0"; - "transformers" = "0.5.6.2"; - "deepseq" = "1.4.4.0"; - "integer-gmp" = "1.0.2.0"; - "containers" = "0.6.0.1"; - }; - }; - }; - extras = hackage: - { packages = { happy = ./.plan.nix/happy.nix; }; }; - modules = [ - ({ lib, ... }: - { - packages = { - "happy" = { flags = { "small_base" = lib.mkOverride 900 true; }; }; - }; - }) - ({ lib, ... }: - { - packages = { - "ghc-prim".components.library.planned = lib.mkOverride 900 true; - "array".components.library.planned = lib.mkOverride 900 true; - "rts".components.library.planned = lib.mkOverride 900 true; - "happy".components.exes."happy".planned = lib.mkOverride 900 true; - "mtl".components.library.planned = lib.mkOverride 900 true; - "transformers".components.library.planned = lib.mkOverride 900 true; - "deepseq".components.library.planned = lib.mkOverride 900 true; - "base".components.library.planned = lib.mkOverride 900 true; - "integer-gmp".components.library.planned = lib.mkOverride 900 true; - "containers".components.library.planned = lib.mkOverride 900 true; - }; - }) - ]; - } \ No newline at end of file diff --git a/materialized/ghcjs/happy/ghc884/.plan.nix/happy.nix b/materialized/ghcjs/happy/ghc884/.plan.nix/happy.nix deleted file mode 100644 index 8a9ace8483..0000000000 --- a/materialized/ghcjs/happy/ghc884/.plan.nix/happy.nix +++ /dev/null @@ -1,200 +0,0 @@ -{ system - , compiler - , flags - , pkgs - , hsPkgs - , pkgconfPkgs - , errorHandler - , config - , ... }: - { - flags = { small_base = true; }; - package = { - specVersion = "1.8"; - identifier = { name = "happy"; version = "1.19.12"; }; - license = "BSD-2-Clause"; - copyright = "(c) Andy Gill, Simon Marlow"; - maintainer = "Simon Marlow "; - author = "Andy Gill and Simon Marlow"; - homepage = "https://www.haskell.org/happy/"; - url = ""; - synopsis = "Happy is a parser generator for Haskell"; - description = "Happy is a parser generator for Haskell. Given a grammar\nspecification in BNF, Happy generates Haskell code to parse the\ngrammar. Happy works in a similar way to the @yacc@ tool for C."; - buildType = "Simple"; - isLocal = true; - detailLevel = "FullDetails"; - licenseFiles = [ "LICENSE" ]; - dataDir = "data/"; - dataFiles = [ - "HappyTemplate" - "HappyTemplate-arrays" - "HappyTemplate-arrays-coerce" - "HappyTemplate-arrays-coerce-debug" - "HappyTemplate-arrays-debug" - "HappyTemplate-arrays-ghc" - "HappyTemplate-arrays-ghc-debug" - "HappyTemplate-coerce" - "HappyTemplate-ghc" - "GLR_Base" - "GLR_Lib" - "GLR_Lib-ghc" - "GLR_Lib-ghc-debug" - ]; - extraSrcFiles = [ - "ANNOUNCE" - "CHANGES" - "Makefile" - "README.md" - "TODO" - "doc/Makefile" - "doc/aclocal.m4" - "doc/config.mk.in" - "doc/configure.ac" - "doc/docbook-xml.mk" - "doc/fptools.css" - "doc/happy.1.in" - "doc/happy.xml" - "examples/glr/nlp/Main.lhs" - "examples/glr/nlp/Makefile" - "examples/glr/nlp/README" - "examples/glr/nlp/English.y" - "examples/glr/nlp/Hugs.lhs" - "examples/glr/Makefile" - "examples/glr/Makefile.defs" - "examples/glr/expr-eval/Main.lhs" - "examples/glr/expr-eval/Makefile" - "examples/glr/expr-eval/Expr.y" - "examples/glr/expr-eval/README" - "examples/glr/expr-eval/Hugs.lhs" - "examples/glr/expr-tree/Main.lhs" - "examples/glr/expr-tree/Makefile" - "examples/glr/expr-tree/Expr.y" - "examples/glr/expr-tree/README" - "examples/glr/expr-tree/Tree.lhs" - "examples/glr/expr-tree/Hugs.lhs" - "examples/glr/highly-ambiguous/Main.lhs" - "examples/glr/highly-ambiguous/Makefile" - "examples/glr/highly-ambiguous/Expr.y" - "examples/glr/highly-ambiguous/README" - "examples/glr/highly-ambiguous/Hugs.lhs" - "examples/glr/hidden-leftrec/Main.lhs" - "examples/glr/hidden-leftrec/Makefile" - "examples/glr/hidden-leftrec/Expr.y" - "examples/glr/hidden-leftrec/README" - "examples/glr/hidden-leftrec/Hugs.lhs" - "examples/glr/expr-monad/Main.lhs" - "examples/glr/expr-monad/Makefile" - "examples/glr/expr-monad/Expr.y" - "examples/glr/expr-monad/README" - "examples/glr/expr-monad/Hugs.lhs" - "examples/glr/bio-eg/Main.lhs" - "examples/glr/bio-eg/Makefile" - "examples/glr/bio-eg/Bio.y" - "examples/glr/bio-eg/README" - "examples/glr/bio-eg/1-1200.dna" - "examples/glr/bio-eg/1-600.dna" - "examples/glr/common/DV_lhs" - "examples/glr/common/DaVinciTypes.hs" - "examples/glr/packing/Main.lhs" - "examples/glr/packing/Makefile" - "examples/glr/packing/Expr.y" - "examples/glr/packing/README" - "examples/glr/packing/Hugs.lhs" - "examples/PgnParser.ly" - "examples/MonadTest.ly" - "examples/igloo/ParserM.hs" - "examples/igloo/Makefile" - "examples/igloo/Parser.y" - "examples/igloo/Foo.hs" - "examples/igloo/README" - "examples/igloo/Lexer.x" - "examples/README" - "examples/Calc.ly" - "examples/DavesExample.ly" - "examples/ErrorTest.ly" - "examples/ErlParser.ly" - "examples/SimonsExample.ly" - "examples/LexerTest.ly" - "happy.spec" - "src/ARRAY-NOTES" - "tests/AttrGrammar001.y" - "tests/AttrGrammar002.y" - "tests/Makefile" - "tests/Partial.ly" - "tests/Test.ly" - "tests/TestMulti.ly" - "tests/TestPrecedence.ly" - "tests/bogus-token.y" - "tests/bug001.ly" - "tests/bug002.y" - "tests/error001.stderr" - "tests/error001.stdout" - "tests/error001.y" - "tests/monad001.y" - "tests/monad002.ly" - "tests/monaderror.y" - "tests/precedence001.ly" - "tests/precedence002.y" - "tests/test_rules.y" - "tests/issue91.y" - "tests/issue93.y" - "tests/issue94.y" - "tests/issue95.y" - "tests/monaderror-explist.y" - "tests/typeclass_monad001.y" - "tests/typeclass_monad002.ly" - "tests/typeclass_monad_lexer.y" - "tests/rank2.y" - ]; - extraTmpFiles = []; - extraDocFiles = []; - }; - components = { - exes = { - "happy" = { - depends = [ - (hsPkgs."base" or (errorHandler.buildDepError "base")) - (hsPkgs."array" or (errorHandler.buildDepError "array")) - (hsPkgs."containers" or (errorHandler.buildDepError "containers")) - (hsPkgs."mtl" or (errorHandler.buildDepError "mtl")) - ]; - buildable = true; - modules = [ - "Paths_happy" - "AbsSyn" - "First" - "GenUtils" - "Grammar" - "Info" - "LALR" - "Lexer" - "ParseMonad" - "Parser" - "ProduceCode" - "ProduceGLRCode" - "NameSet" - "Target" - "AttrGrammar" - "AttrGrammarParser" - "ParamRules" - "PrettyGrammar" - ]; - hsSourceDirs = [ "src" ]; - mainPath = [ "Main.lhs" ]; - }; - }; - tests = { - "tests" = { - depends = [ - (hsPkgs."base" or (errorHandler.buildDepError "base")) - (hsPkgs."process" or (errorHandler.buildDepError "process")) - ]; - build-tools = [ - (hsPkgs.pkgsBuildBuild.happy.components.exes.happy or (pkgs.pkgsBuildBuild.happy or (errorHandler.buildToolDepError "happy:happy"))) - ]; - buildable = true; - mainPath = [ "test.hs" ]; - }; - }; - }; - } // rec { src = (pkgs.lib).mkDefault ../.; } \ No newline at end of file diff --git a/materialized/ghcjs/happy/ghc884/default.nix b/materialized/ghcjs/happy/ghc884/default.nix deleted file mode 100644 index e068f26e27..0000000000 --- a/materialized/ghcjs/happy/ghc884/default.nix +++ /dev/null @@ -1,56 +0,0 @@ -{ - pkgs = hackage: - { - packages = { - mtl.revision = (((hackage.mtl)."2.2.2").revisions).default; - ghc-prim.revision = (((hackage.ghc-prim)."0.5.3").revisions).default; - containers.revision = (((hackage.containers)."0.6.2.1").revisions).default; - base.revision = (((hackage.base)."4.13.0.0").revisions).default; - deepseq.revision = (((hackage.deepseq)."1.4.4.0").revisions).default; - rts.revision = (((hackage.rts)."1.0").revisions).default; - integer-gmp.revision = (((hackage.integer-gmp)."1.0.2.0").revisions).default; - transformers.revision = (((hackage.transformers)."0.5.6.2").revisions).default; - array.revision = (((hackage.array)."0.5.4.0").revisions).default; - }; - compiler = { - version = "8.8.4"; - nix-name = "ghc884"; - packages = { - "array" = "0.5.4.0"; - "mtl" = "2.2.2"; - "ghc-prim" = "0.5.3"; - "base" = "4.13.0.0"; - "rts" = "1.0"; - "transformers" = "0.5.6.2"; - "deepseq" = "1.4.4.0"; - "integer-gmp" = "1.0.2.0"; - "containers" = "0.6.2.1"; - }; - }; - }; - extras = hackage: - { packages = { happy = ./.plan.nix/happy.nix; }; }; - modules = [ - ({ lib, ... }: - { - packages = { - "happy" = { flags = { "small_base" = lib.mkOverride 900 true; }; }; - }; - }) - ({ lib, ... }: - { - packages = { - "ghc-prim".components.library.planned = lib.mkOverride 900 true; - "array".components.library.planned = lib.mkOverride 900 true; - "rts".components.library.planned = lib.mkOverride 900 true; - "happy".components.exes."happy".planned = lib.mkOverride 900 true; - "mtl".components.library.planned = lib.mkOverride 900 true; - "transformers".components.library.planned = lib.mkOverride 900 true; - "deepseq".components.library.planned = lib.mkOverride 900 true; - "base".components.library.planned = lib.mkOverride 900 true; - "integer-gmp".components.library.planned = lib.mkOverride 900 true; - "containers".components.library.planned = lib.mkOverride 900 true; - }; - }) - ]; - } \ No newline at end of file diff --git a/materialized/happy-1.20.0/.plan.nix/happy.nix b/materialized/happy-1.20.0/.plan.nix/happy.nix deleted file mode 100644 index 913958f32f..0000000000 --- a/materialized/happy-1.20.0/.plan.nix/happy.nix +++ /dev/null @@ -1,201 +0,0 @@ -{ system - , compiler - , flags - , pkgs - , hsPkgs - , pkgconfPkgs - , errorHandler - , config - , ... }: - { - flags = {}; - package = { - specVersion = "1.10"; - identifier = { name = "happy"; version = "1.20.0"; }; - license = "BSD-2-Clause"; - copyright = "(c) Andy Gill, Simon Marlow"; - maintainer = "Simon Marlow "; - author = "Andy Gill and Simon Marlow"; - homepage = "https://www.haskell.org/happy/"; - url = ""; - synopsis = "Happy is a parser generator for Haskell"; - description = "Happy is a parser generator for Haskell. Given a grammar\nspecification in BNF, Happy generates Haskell code to parse the\ngrammar. Happy works in a similar way to the @yacc@ tool for C."; - buildType = "Simple"; - isLocal = true; - detailLevel = "FullDetails"; - licenseFiles = [ "LICENSE" ]; - dataDir = "data/"; - dataFiles = [ - "HappyTemplate" - "HappyTemplate-arrays" - "HappyTemplate-arrays-coerce" - "HappyTemplate-arrays-coerce-debug" - "HappyTemplate-arrays-debug" - "HappyTemplate-arrays-ghc" - "HappyTemplate-arrays-ghc-debug" - "HappyTemplate-coerce" - "HappyTemplate-ghc" - "GLR_Base" - "GLR_Lib" - "GLR_Lib-ghc" - "GLR_Lib-ghc-debug" - ]; - extraSrcFiles = [ - "ANNOUNCE" - "CHANGES" - "Makefile" - "README.md" - "TODO" - "doc/Makefile" - "doc/aclocal.m4" - "doc/config.mk.in" - "doc/configure.ac" - "doc/docbook-xml.mk" - "doc/fptools.css" - "doc/happy.1.in" - "doc/happy.xml" - "examples/glr/nlp/Main.lhs" - "examples/glr/nlp/Makefile" - "examples/glr/nlp/README" - "examples/glr/nlp/English.y" - "examples/glr/nlp/Hugs.lhs" - "examples/glr/Makefile" - "examples/glr/Makefile.defs" - "examples/glr/expr-eval/Main.lhs" - "examples/glr/expr-eval/Makefile" - "examples/glr/expr-eval/Expr.y" - "examples/glr/expr-eval/README" - "examples/glr/expr-eval/Hugs.lhs" - "examples/glr/expr-tree/Main.lhs" - "examples/glr/expr-tree/Makefile" - "examples/glr/expr-tree/Expr.y" - "examples/glr/expr-tree/README" - "examples/glr/expr-tree/Tree.lhs" - "examples/glr/expr-tree/Hugs.lhs" - "examples/glr/highly-ambiguous/Main.lhs" - "examples/glr/highly-ambiguous/Makefile" - "examples/glr/highly-ambiguous/Expr.y" - "examples/glr/highly-ambiguous/README" - "examples/glr/highly-ambiguous/Hugs.lhs" - "examples/glr/hidden-leftrec/Main.lhs" - "examples/glr/hidden-leftrec/Makefile" - "examples/glr/hidden-leftrec/Expr.y" - "examples/glr/hidden-leftrec/README" - "examples/glr/hidden-leftrec/Hugs.lhs" - "examples/glr/expr-monad/Main.lhs" - "examples/glr/expr-monad/Makefile" - "examples/glr/expr-monad/Expr.y" - "examples/glr/expr-monad/README" - "examples/glr/expr-monad/Hugs.lhs" - "examples/glr/bio-eg/Main.lhs" - "examples/glr/bio-eg/Makefile" - "examples/glr/bio-eg/Bio.y" - "examples/glr/bio-eg/README" - "examples/glr/bio-eg/1-1200.dna" - "examples/glr/bio-eg/1-600.dna" - "examples/glr/common/DV_lhs" - "examples/glr/common/DaVinciTypes.hs" - "examples/glr/packing/Main.lhs" - "examples/glr/packing/Makefile" - "examples/glr/packing/Expr.y" - "examples/glr/packing/README" - "examples/glr/packing/Hugs.lhs" - "examples/PgnParser.ly" - "examples/MonadTest.ly" - "examples/igloo/ParserM.hs" - "examples/igloo/Makefile" - "examples/igloo/Parser.y" - "examples/igloo/Foo.hs" - "examples/igloo/README" - "examples/igloo/Lexer.x" - "examples/README" - "examples/Calc.ly" - "examples/DavesExample.ly" - "examples/ErrorTest.ly" - "examples/ErlParser.ly" - "examples/SimonsExample.ly" - "examples/LexerTest.ly" - "happy.spec" - "src/ARRAY-NOTES" - "tests/AttrGrammar001.y" - "tests/AttrGrammar002.y" - "tests/Makefile" - "tests/Partial.ly" - "tests/Test.ly" - "tests/TestMulti.ly" - "tests/TestPrecedence.ly" - "tests/bogus-token.y" - "tests/bug001.ly" - "tests/bug002.y" - "tests/error001.stderr" - "tests/error001.stdout" - "tests/error001.y" - "tests/monad001.y" - "tests/monad002.ly" - "tests/monaderror.y" - "tests/precedence001.ly" - "tests/precedence002.y" - "tests/test_rules.y" - "tests/issue91.y" - "tests/issue93.y" - "tests/issue94.y" - "tests/issue95.y" - "tests/monaderror-explist.y" - "tests/typeclass_monad001.y" - "tests/typeclass_monad002.ly" - "tests/typeclass_monad_lexer.y" - "tests/rank2.y" - "tests/shift01.y" - ]; - extraTmpFiles = []; - extraDocFiles = []; - }; - components = { - exes = { - "happy" = { - depends = [ - (hsPkgs."base" or (errorHandler.buildDepError "base")) - (hsPkgs."array" or (errorHandler.buildDepError "array")) - (hsPkgs."containers" or (errorHandler.buildDepError "containers")) - (hsPkgs."mtl" or (errorHandler.buildDepError "mtl")) - ]; - buildable = true; - modules = [ - "Paths_happy" - "AbsSyn" - "First" - "GenUtils" - "Grammar" - "Info" - "LALR" - "Lexer" - "ParseMonad" - "Parser" - "ProduceCode" - "ProduceGLRCode" - "NameSet" - "Target" - "AttrGrammar" - "AttrGrammarParser" - "ParamRules" - "PrettyGrammar" - ]; - hsSourceDirs = [ "src" ]; - mainPath = [ "Main.lhs" ]; - }; - }; - tests = { - "tests" = { - depends = [ - (hsPkgs."base" or (errorHandler.buildDepError "base")) - (hsPkgs."process" or (errorHandler.buildDepError "process")) - ]; - build-tools = [ - (hsPkgs.pkgsBuildBuild.happy.components.exes.happy or (pkgs.pkgsBuildBuild.happy or (errorHandler.buildToolDepError "happy:happy"))) - ]; - buildable = true; - mainPath = [ "test.hs" ]; - }; - }; - }; - } // rec { src = pkgs.lib.mkDefault ../.; } \ No newline at end of file diff --git a/materialized/happy-1.20.0/cabal-files/happy.nix b/materialized/happy-1.20.0/cabal-files/happy.nix new file mode 100644 index 0000000000..f4e54974aa --- /dev/null +++ b/materialized/happy-1.20.0/cabal-files/happy.nix @@ -0,0 +1,57 @@ +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: + ({ + flags = {}; + package = { + specVersion = "1.10"; + identifier = { name = "happy"; version = "1.20.0"; }; + license = "BSD-2-Clause"; + copyright = "(c) Andy Gill, Simon Marlow"; + maintainer = "Simon Marlow "; + author = "Andy Gill and Simon Marlow"; + homepage = "https://www.haskell.org/happy/"; + url = ""; + synopsis = "Happy is a parser generator for Haskell"; + description = "Happy is a parser generator for Haskell. Given a grammar\nspecification in BNF, Happy generates Haskell code to parse the\ngrammar. Happy works in a similar way to the @yacc@ tool for C."; + buildType = "Simple"; + }; + components = { + exes = { + "happy" = { + depends = [ + (hsPkgs."base" or (errorHandler.buildDepError "base")) + (hsPkgs."array" or (errorHandler.buildDepError "array")) + (hsPkgs."containers" or (errorHandler.buildDepError "containers")) + (hsPkgs."mtl" or (errorHandler.buildDepError "mtl")) + ]; + buildable = true; + }; + }; + tests = { + "tests" = { + depends = [ + (hsPkgs."base" or (errorHandler.buildDepError "base")) + (hsPkgs."process" or (errorHandler.buildDepError "process")) + ]; + build-tools = [ + (hsPkgs.pkgsBuildBuild.happy.components.exes.happy or (pkgs.pkgsBuildBuild.happy or (errorHandler.buildToolDepError "happy:happy"))) + ]; + buildable = true; + }; + }; + }; + } // { + src = pkgs.lib.mkDefault (pkgs.fetchurl { + url = "http://hackage.haskell.org/package/happy-1.20.0.tar.gz"; + sha256 = "3b1d3a8f93a2723b554d9f07b2cd136be1a7b2fcab1855b12b7aab5cbac8868c"; + }); + }) // { + package-description-override = "name: happy\nversion: 1.20.0\nx-revision: 1\nlicense: BSD2\nlicense-file: LICENSE\ncopyright: (c) Andy Gill, Simon Marlow\nauthor: Andy Gill and Simon Marlow\nmaintainer: Simon Marlow \nbug-reports: https://github.com/simonmar/happy/issues\nstability: stable\nhomepage: https://www.haskell.org/happy/\nsynopsis: Happy is a parser generator for Haskell\ncategory: Development\ncabal-version: >= 1.10\nbuild-type: Simple\n\nDescription:\n Happy is a parser generator for Haskell. Given a grammar\n specification in BNF, Happy generates Haskell code to parse the\n grammar. Happy works in a similar way to the @yacc@ tool for C.\n\ntested-with:\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.1\n\ndata-dir: data/\n\ndata-files:\n HappyTemplate\n HappyTemplate-arrays\n HappyTemplate-arrays-coerce\n HappyTemplate-arrays-coerce-debug\n HappyTemplate-arrays-debug\n HappyTemplate-arrays-ghc\n HappyTemplate-arrays-ghc-debug\n HappyTemplate-coerce\n HappyTemplate-ghc\n GLR_Base\n GLR_Lib\n GLR_Lib-ghc\n GLR_Lib-ghc-debug\n\nextra-source-files:\n ANNOUNCE\n CHANGES\n Makefile\n README.md\n TODO\n doc/Makefile\n doc/aclocal.m4\n doc/config.mk.in\n doc/configure.ac\n doc/docbook-xml.mk\n doc/fptools.css\n doc/happy.1.in\n doc/happy.xml\n examples/glr/nlp/Main.lhs\n examples/glr/nlp/Makefile\n examples/glr/nlp/README\n examples/glr/nlp/English.y\n examples/glr/nlp/Hugs.lhs\n examples/glr/Makefile\n examples/glr/Makefile.defs\n examples/glr/expr-eval/Main.lhs\n examples/glr/expr-eval/Makefile\n examples/glr/expr-eval/Expr.y\n examples/glr/expr-eval/README\n examples/glr/expr-eval/Hugs.lhs\n examples/glr/expr-tree/Main.lhs\n examples/glr/expr-tree/Makefile\n examples/glr/expr-tree/Expr.y\n examples/glr/expr-tree/README\n examples/glr/expr-tree/Tree.lhs\n examples/glr/expr-tree/Hugs.lhs\n examples/glr/highly-ambiguous/Main.lhs\n examples/glr/highly-ambiguous/Makefile\n examples/glr/highly-ambiguous/Expr.y\n examples/glr/highly-ambiguous/README\n examples/glr/highly-ambiguous/Hugs.lhs\n examples/glr/hidden-leftrec/Main.lhs\n examples/glr/hidden-leftrec/Makefile\n examples/glr/hidden-leftrec/Expr.y\n examples/glr/hidden-leftrec/README\n examples/glr/hidden-leftrec/Hugs.lhs\n examples/glr/expr-monad/Main.lhs\n examples/glr/expr-monad/Makefile\n examples/glr/expr-monad/Expr.y\n examples/glr/expr-monad/README\n examples/glr/expr-monad/Hugs.lhs\n examples/glr/bio-eg/Main.lhs\n examples/glr/bio-eg/Makefile\n examples/glr/bio-eg/Bio.y\n examples/glr/bio-eg/README\n examples/glr/bio-eg/1-1200.dna\n examples/glr/bio-eg/1-600.dna\n examples/glr/common/DV_lhs\n examples/glr/common/DaVinciTypes.hs\n examples/glr/packing/Main.lhs\n examples/glr/packing/Makefile\n examples/glr/packing/Expr.y\n examples/glr/packing/README\n examples/glr/packing/Hugs.lhs\n examples/PgnParser.ly\n examples/MonadTest.ly\n examples/igloo/ParserM.hs\n examples/igloo/Makefile\n examples/igloo/Parser.y\n examples/igloo/Foo.hs\n examples/igloo/README\n examples/igloo/Lexer.x\n examples/README\n examples/Calc.ly\n examples/DavesExample.ly\n examples/ErrorTest.ly\n examples/ErlParser.ly\n examples/SimonsExample.ly\n examples/LexerTest.ly\n happy.spec\n src/ARRAY-NOTES\n tests/AttrGrammar001.y\n tests/AttrGrammar002.y\n tests/Makefile\n tests/Partial.ly\n tests/Test.ly\n tests/TestMulti.ly\n tests/TestPrecedence.ly\n tests/bogus-token.y\n tests/bug001.ly\n tests/bug002.y\n tests/error001.stderr\n tests/error001.stdout\n tests/error001.y\n tests/monad001.y\n tests/monad002.ly\n tests/monaderror.y\n tests/precedence001.ly\n tests/precedence002.y\n tests/test_rules.y\n tests/issue91.y\n tests/issue93.y\n tests/issue94.y\n tests/issue95.y\n tests/monaderror-explist.y\n tests/typeclass_monad001.y\n tests/typeclass_monad002.ly\n tests/typeclass_monad_lexer.y\n tests/rank2.y\n tests/shift01.y\n\nsource-repository head\n type: git\n location: https://github.com/simonmar/happy.git\n\nexecutable happy\n hs-source-dirs: src\n main-is: Main.lhs\n\n build-depends: base < 5,\n array,\n containers >= 0.4.2,\n mtl >= 2.2.1 && < 2.3\n -- mtl-2.2.1 added Control.Monad.Except\n\n default-language: Haskell98\n default-extensions: CPP, MagicHash, FlexibleContexts\n ghc-options: -Wall\n other-modules:\n Paths_happy\n AbsSyn\n First\n GenUtils\n Grammar\n Info\n LALR\n Lexer\n ParseMonad\n Parser\n ProduceCode\n ProduceGLRCode\n NameSet\n Target\n AttrGrammar\n AttrGrammarParser\n ParamRules\n PrettyGrammar\n\ntest-suite tests\n type: exitcode-stdio-1.0\n main-is: test.hs\n -- This line is important as it ensures that the local `exe:happy` component declared above is built before the test-suite component is invoked, as well as making sure that `happy` is made available on $PATH and `$happy_datadir` is set accordingly before invoking `test.hs`\n build-tools: happy\n\n build-depends: base, process\n default-language: Haskell98\n\n"; + } \ No newline at end of file diff --git a/materialized/happy-1.20.0/default.nix b/materialized/happy-1.20.0/default.nix deleted file mode 100644 index e2d4ca5f26..0000000000 --- a/materialized/happy-1.20.0/default.nix +++ /dev/null @@ -1,61 +0,0 @@ -{ - pkgs = hackage: - { - packages = { - ghc-prim.revision = hackage.ghc-prim."0.7.0".revisions.default; - transformers.revision = hackage.transformers."0.5.6.2".revisions.default; - base.revision = hackage.base."4.15.1.0".revisions.default; - mtl.revision = hackage.mtl."2.2.2".revisions.default; - deepseq.revision = hackage.deepseq."1.4.5.0".revisions.default; - containers.revision = hackage.containers."0.6.4.1".revisions.default; - array.revision = hackage.array."0.5.4.0".revisions.default; - ghc-bignum.revision = hackage.ghc-bignum."1.1".revisions.default; - }; - compiler = { - version = "9.0.2"; - nix-name = "ghc902"; - packages = { - "transformers" = "0.5.6.2"; - "containers" = "0.6.4.1"; - "ghc-prim" = "0.7.0"; - "mtl" = "2.2.2"; - "base" = "4.15.1.0"; - "ghc-bignum" = "1.1"; - "deepseq" = "1.4.5.0"; - "array" = "0.5.4.0"; - }; - }; - }; - extras = hackage: - { packages = { happy = ./.plan.nix/happy.nix; }; }; - modules = [ - { - preExistingPkgs = [ - "ghc-prim" - "transformers" - "base" - "mtl" - "deepseq" - "containers" - "array" - "ghc-bignum" - ]; - } - ({ lib, ... }: - { packages = { "happy" = { flags = {}; }; }; }) - ({ lib, ... }: - { - packages = { - "deepseq".components.library.planned = lib.mkOverride 900 true; - "base".components.library.planned = lib.mkOverride 900 true; - "transformers".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; - "happy".components.exes."happy".planned = lib.mkOverride 900 true; - "ghc-bignum".components.library.planned = lib.mkOverride 900 true; - "array".components.library.planned = lib.mkOverride 900 true; - }; - }) - ]; -} \ No newline at end of file diff --git a/materialized/happy-1.20.0/ghc902/default.nix b/materialized/happy-1.20.0/ghc902/default.nix new file mode 100644 index 0000000000..730d0dcc44 --- /dev/null +++ b/materialized/happy-1.20.0/ghc902/default.nix @@ -0,0 +1,62 @@ +{ + pkgs = hackage: + { + packages = { + ghc-prim.revision = hackage.ghc-prim."0.7.0".revisions.default; + transformers.revision = hackage.transformers."0.5.6.2".revisions.default; + base.revision = hackage.base."4.15.1.0".revisions.default; + mtl.revision = hackage.mtl."2.2.2".revisions.default; + deepseq.revision = hackage.deepseq."1.4.5.0".revisions.default; + containers.revision = hackage.containers."0.6.4.1".revisions.default; + array.revision = hackage.array."0.5.4.0".revisions.default; + happy.revision = import ./cabal-files/happy.nix; + ghc-bignum.revision = hackage.ghc-bignum."1.1".revisions.default; + }; + compiler = { + version = "9.0.2"; + nix-name = "ghc902"; + packages = { + "transformers" = "0.5.6.2"; + "containers" = "0.6.4.1"; + "ghc-prim" = "0.7.0"; + "mtl" = "2.2.2"; + "base" = "4.15.1.0"; + "ghc-bignum" = "1.1"; + "deepseq" = "1.4.5.0"; + "array" = "0.5.4.0"; + }; + }; + }; + extras = hackage: + { packages = {}; }; + modules = [ + { + preExistingPkgs = [ + "ghc-prim" + "transformers" + "base" + "mtl" + "deepseq" + "containers" + "array" + "ghc-bignum" + ]; + } + ({ lib, ... }: + { packages = {}; }) + ({ lib, ... }: + { + packages = { + "deepseq".components.library.planned = lib.mkOverride 900 true; + "base".components.library.planned = lib.mkOverride 900 true; + "transformers".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; + "happy".components.exes."happy".planned = lib.mkOverride 900 true; + "ghc-bignum".components.library.planned = lib.mkOverride 900 true; + "array".components.library.planned = lib.mkOverride 900 true; + }; + }) + ]; +} \ No newline at end of file diff --git a/materialized/happy-1.20.0/ghc902/plan.json b/materialized/happy-1.20.0/ghc902/plan.json new file mode 100644 index 0000000000..8485cea6af --- /dev/null +++ b/materialized/happy-1.20.0/ghc902/plan.json @@ -0,0 +1 @@ +{"cabal-version":"3.10.3.0","cabal-lib-version":"3.10.3.0","compiler-id":"ghc-9.0.2","os":"linux","arch":"x86_64","install-plan":[{"type":"pre-existing","id":"array-0.5.4.0","pkg-name":"array","pkg-version":"0.5.4.0","depends":["base-4.15.1.0"]},{"type":"pre-existing","id":"base-4.15.1.0","pkg-name":"base","pkg-version":"4.15.1.0","depends":["ghc-bignum-1.1","ghc-prim-0.7.0"]},{"type":"pre-existing","id":"containers-0.6.4.1","pkg-name":"containers","pkg-version":"0.6.4.1","depends":["array-0.5.4.0","base-4.15.1.0","deepseq-1.4.5.0"]},{"type":"pre-existing","id":"deepseq-1.4.5.0","pkg-name":"deepseq","pkg-version":"1.4.5.0","depends":["array-0.5.4.0","base-4.15.1.0","ghc-prim-0.7.0"]},{"type":"pre-existing","id":"ghc-bignum-1.1","pkg-name":"ghc-bignum","pkg-version":"1.1","depends":["ghc-prim-0.7.0"]},{"type":"pre-existing","id":"ghc-prim-0.7.0","pkg-name":"ghc-prim","pkg-version":"0.7.0","depends":[]},{"type":"configured","id":"happy-1.20.0-e-happy-f65a325b09f328da9e25b3eb48b3518d6047c4a7b2ae795e29a9678f420a9656","pkg-name":"happy","pkg-version":"1.20.0","flags":{},"style":"global","pkg-src":{"type":"repo-tar","repo":{"type":"secure-repo","uri":"http://hackage.haskell.org/"}},"pkg-cabal-sha256":"5d47dc221a9fe964e36aaaa2e1ab7e8f085a225fd6528d6eff310b92360bbe99","pkg-src-sha256":"3b1d3a8f93a2723b554d9f07b2cd136be1a7b2fcab1855b12b7aab5cbac8868c","depends":["array-0.5.4.0","base-4.15.1.0","containers-0.6.4.1","mtl-2.2.2"],"exe-depends":[],"component-name":"exe:happy","bin-file":"/store/ghc-9.0.2/happy-1.20.0-e-happy-f65a325b09f328da9e25b3eb48b3518d6047c4a7b2ae795e29a9678f420a9656/bin/happy"},{"type":"pre-existing","id":"mtl-2.2.2","pkg-name":"mtl","pkg-version":"2.2.2","depends":["base-4.15.1.0","transformers-0.5.6.2"]},{"type":"pre-existing","id":"transformers-0.5.6.2","pkg-name":"transformers","pkg-version":"0.5.6.2","depends":["base-4.15.1.0","ghc-prim-0.7.0"]}],"targets":[{"pkg-name":"array","pkg-version":"0.5.4.0","component-name":"lib","available":[{"id":"array-0.5.4.0","component-name":"lib","build-by-default":true}]},{"pkg-name":"base","pkg-version":"4.15.1.0","component-name":"lib","available":[{"id":"base-4.15.1.0","component-name":"lib","build-by-default":true}]},{"pkg-name":"containers","pkg-version":"0.6.4.1","component-name":"lib","available":[{"id":"containers-0.6.4.1","component-name":"lib","build-by-default":true}]},{"pkg-name":"deepseq","pkg-version":"1.4.5.0","component-name":"lib","available":[{"id":"deepseq-1.4.5.0","component-name":"lib","build-by-default":true}]},{"pkg-name":"ghc-bignum","pkg-version":"1.1","component-name":"lib","available":[{"id":"ghc-bignum-1.1","component-name":"lib","build-by-default":true}]},{"pkg-name":"ghc-prim","pkg-version":"0.7.0","component-name":"lib","available":[{"id":"ghc-prim-0.7.0","component-name":"lib","build-by-default":true}]},{"pkg-name":"happy","pkg-version":"1.20.0","component-name":"exe:happy","available":[{"id":"happy-1.20.0-e-happy-f65a325b09f328da9e25b3eb48b3518d6047c4a7b2ae795e29a9678f420a9656","component-name":"exe:happy","build-by-default":true}]},{"pkg-name":"happy","pkg-version":"1.20.0","component-name":"test:tests","available":["TargetNotLocal"]},{"pkg-name":"mtl","pkg-version":"2.2.2","component-name":"lib","available":[{"id":"mtl-2.2.2","component-name":"lib","build-by-default":true}]},{"pkg-name":"transformers","pkg-version":"0.5.6.2","component-name":"lib","available":[{"id":"transformers-0.5.6.2","component-name":"lib","build-by-default":true}]}]} \ No newline at end of file diff --git a/materialized/happy-1.20.0/ghc964/cabal-files/happy.nix b/materialized/happy-1.20.0/ghc964/cabal-files/happy.nix new file mode 100644 index 0000000000..f4e54974aa --- /dev/null +++ b/materialized/happy-1.20.0/ghc964/cabal-files/happy.nix @@ -0,0 +1,57 @@ +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: + ({ + flags = {}; + package = { + specVersion = "1.10"; + identifier = { name = "happy"; version = "1.20.0"; }; + license = "BSD-2-Clause"; + copyright = "(c) Andy Gill, Simon Marlow"; + maintainer = "Simon Marlow "; + author = "Andy Gill and Simon Marlow"; + homepage = "https://www.haskell.org/happy/"; + url = ""; + synopsis = "Happy is a parser generator for Haskell"; + description = "Happy is a parser generator for Haskell. Given a grammar\nspecification in BNF, Happy generates Haskell code to parse the\ngrammar. Happy works in a similar way to the @yacc@ tool for C."; + buildType = "Simple"; + }; + components = { + exes = { + "happy" = { + depends = [ + (hsPkgs."base" or (errorHandler.buildDepError "base")) + (hsPkgs."array" or (errorHandler.buildDepError "array")) + (hsPkgs."containers" or (errorHandler.buildDepError "containers")) + (hsPkgs."mtl" or (errorHandler.buildDepError "mtl")) + ]; + buildable = true; + }; + }; + tests = { + "tests" = { + depends = [ + (hsPkgs."base" or (errorHandler.buildDepError "base")) + (hsPkgs."process" or (errorHandler.buildDepError "process")) + ]; + build-tools = [ + (hsPkgs.pkgsBuildBuild.happy.components.exes.happy or (pkgs.pkgsBuildBuild.happy or (errorHandler.buildToolDepError "happy:happy"))) + ]; + buildable = true; + }; + }; + }; + } // { + src = pkgs.lib.mkDefault (pkgs.fetchurl { + url = "http://hackage.haskell.org/package/happy-1.20.0.tar.gz"; + sha256 = "3b1d3a8f93a2723b554d9f07b2cd136be1a7b2fcab1855b12b7aab5cbac8868c"; + }); + }) // { + package-description-override = "name: happy\nversion: 1.20.0\nx-revision: 1\nlicense: BSD2\nlicense-file: LICENSE\ncopyright: (c) Andy Gill, Simon Marlow\nauthor: Andy Gill and Simon Marlow\nmaintainer: Simon Marlow \nbug-reports: https://github.com/simonmar/happy/issues\nstability: stable\nhomepage: https://www.haskell.org/happy/\nsynopsis: Happy is a parser generator for Haskell\ncategory: Development\ncabal-version: >= 1.10\nbuild-type: Simple\n\nDescription:\n Happy is a parser generator for Haskell. Given a grammar\n specification in BNF, Happy generates Haskell code to parse the\n grammar. Happy works in a similar way to the @yacc@ tool for C.\n\ntested-with:\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.1\n\ndata-dir: data/\n\ndata-files:\n HappyTemplate\n HappyTemplate-arrays\n HappyTemplate-arrays-coerce\n HappyTemplate-arrays-coerce-debug\n HappyTemplate-arrays-debug\n HappyTemplate-arrays-ghc\n HappyTemplate-arrays-ghc-debug\n HappyTemplate-coerce\n HappyTemplate-ghc\n GLR_Base\n GLR_Lib\n GLR_Lib-ghc\n GLR_Lib-ghc-debug\n\nextra-source-files:\n ANNOUNCE\n CHANGES\n Makefile\n README.md\n TODO\n doc/Makefile\n doc/aclocal.m4\n doc/config.mk.in\n doc/configure.ac\n doc/docbook-xml.mk\n doc/fptools.css\n doc/happy.1.in\n doc/happy.xml\n examples/glr/nlp/Main.lhs\n examples/glr/nlp/Makefile\n examples/glr/nlp/README\n examples/glr/nlp/English.y\n examples/glr/nlp/Hugs.lhs\n examples/glr/Makefile\n examples/glr/Makefile.defs\n examples/glr/expr-eval/Main.lhs\n examples/glr/expr-eval/Makefile\n examples/glr/expr-eval/Expr.y\n examples/glr/expr-eval/README\n examples/glr/expr-eval/Hugs.lhs\n examples/glr/expr-tree/Main.lhs\n examples/glr/expr-tree/Makefile\n examples/glr/expr-tree/Expr.y\n examples/glr/expr-tree/README\n examples/glr/expr-tree/Tree.lhs\n examples/glr/expr-tree/Hugs.lhs\n examples/glr/highly-ambiguous/Main.lhs\n examples/glr/highly-ambiguous/Makefile\n examples/glr/highly-ambiguous/Expr.y\n examples/glr/highly-ambiguous/README\n examples/glr/highly-ambiguous/Hugs.lhs\n examples/glr/hidden-leftrec/Main.lhs\n examples/glr/hidden-leftrec/Makefile\n examples/glr/hidden-leftrec/Expr.y\n examples/glr/hidden-leftrec/README\n examples/glr/hidden-leftrec/Hugs.lhs\n examples/glr/expr-monad/Main.lhs\n examples/glr/expr-monad/Makefile\n examples/glr/expr-monad/Expr.y\n examples/glr/expr-monad/README\n examples/glr/expr-monad/Hugs.lhs\n examples/glr/bio-eg/Main.lhs\n examples/glr/bio-eg/Makefile\n examples/glr/bio-eg/Bio.y\n examples/glr/bio-eg/README\n examples/glr/bio-eg/1-1200.dna\n examples/glr/bio-eg/1-600.dna\n examples/glr/common/DV_lhs\n examples/glr/common/DaVinciTypes.hs\n examples/glr/packing/Main.lhs\n examples/glr/packing/Makefile\n examples/glr/packing/Expr.y\n examples/glr/packing/README\n examples/glr/packing/Hugs.lhs\n examples/PgnParser.ly\n examples/MonadTest.ly\n examples/igloo/ParserM.hs\n examples/igloo/Makefile\n examples/igloo/Parser.y\n examples/igloo/Foo.hs\n examples/igloo/README\n examples/igloo/Lexer.x\n examples/README\n examples/Calc.ly\n examples/DavesExample.ly\n examples/ErrorTest.ly\n examples/ErlParser.ly\n examples/SimonsExample.ly\n examples/LexerTest.ly\n happy.spec\n src/ARRAY-NOTES\n tests/AttrGrammar001.y\n tests/AttrGrammar002.y\n tests/Makefile\n tests/Partial.ly\n tests/Test.ly\n tests/TestMulti.ly\n tests/TestPrecedence.ly\n tests/bogus-token.y\n tests/bug001.ly\n tests/bug002.y\n tests/error001.stderr\n tests/error001.stdout\n tests/error001.y\n tests/monad001.y\n tests/monad002.ly\n tests/monaderror.y\n tests/precedence001.ly\n tests/precedence002.y\n tests/test_rules.y\n tests/issue91.y\n tests/issue93.y\n tests/issue94.y\n tests/issue95.y\n tests/monaderror-explist.y\n tests/typeclass_monad001.y\n tests/typeclass_monad002.ly\n tests/typeclass_monad_lexer.y\n tests/rank2.y\n tests/shift01.y\n\nsource-repository head\n type: git\n location: https://github.com/simonmar/happy.git\n\nexecutable happy\n hs-source-dirs: src\n main-is: Main.lhs\n\n build-depends: base < 5,\n array,\n containers >= 0.4.2,\n mtl >= 2.2.1 && < 2.3\n -- mtl-2.2.1 added Control.Monad.Except\n\n default-language: Haskell98\n default-extensions: CPP, MagicHash, FlexibleContexts\n ghc-options: -Wall\n other-modules:\n Paths_happy\n AbsSyn\n First\n GenUtils\n Grammar\n Info\n LALR\n Lexer\n ParseMonad\n Parser\n ProduceCode\n ProduceGLRCode\n NameSet\n Target\n AttrGrammar\n AttrGrammarParser\n ParamRules\n PrettyGrammar\n\ntest-suite tests\n type: exitcode-stdio-1.0\n main-is: test.hs\n -- This line is important as it ensures that the local `exe:happy` component declared above is built before the test-suite component is invoked, as well as making sure that `happy` is made available on $PATH and `$happy_datadir` is set accordingly before invoking `test.hs`\n build-tools: happy\n\n build-depends: base, process\n default-language: Haskell98\n\n"; + } \ No newline at end of file diff --git a/materialized/ghc962/hadrian-ghc94/hadrian/cabal-files/mtl.nix b/materialized/happy-1.20.0/ghc964/cabal-files/mtl.nix similarity index 100% rename from materialized/ghc962/hadrian-ghc94/hadrian/cabal-files/mtl.nix rename to materialized/happy-1.20.0/ghc964/cabal-files/mtl.nix diff --git a/materialized/ghc962/hadrian-ghc94/hadrian/cabal-files/transformers.nix b/materialized/happy-1.20.0/ghc964/cabal-files/transformers.nix similarity index 100% rename from materialized/ghc962/hadrian-ghc94/hadrian/cabal-files/transformers.nix rename to materialized/happy-1.20.0/ghc964/cabal-files/transformers.nix diff --git a/materialized/happy-1.20.0/ghc964/default.nix b/materialized/happy-1.20.0/ghc964/default.nix new file mode 100644 index 0000000000..e71c7287db --- /dev/null +++ b/materialized/happy-1.20.0/ghc964/default.nix @@ -0,0 +1,70 @@ +{ + pkgs = hackage: + { + packages = { + ghc-prim.revision = hackage.ghc-prim."0.10.0".revisions.default; + transformers.revision = import ./cabal-files/transformers.nix; + base.revision = hackage.base."4.18.2.0".revisions.default; + ghc-boot-th.revision = hackage.ghc-boot-th."9.6.4".revisions.default; + mtl.revision = import ./cabal-files/mtl.nix; + pretty.revision = hackage.pretty."1.1.3.6".revisions.default; + template-haskell.revision = hackage.template-haskell."2.20.0.0".revisions.default; + deepseq.revision = hackage.deepseq."1.4.8.1".revisions.default; + containers.revision = hackage.containers."0.6.7".revisions.default; + array.revision = hackage.array."0.5.6.0".revisions.default; + happy.revision = import ./cabal-files/happy.nix; + ghc-bignum.revision = hackage.ghc-bignum."1.3".revisions.default; + }; + compiler = { + version = "9.6.4"; + nix-name = "ghc964"; + packages = { + "containers" = "0.6.7"; + "ghc-prim" = "0.10.0"; + "ghc-boot-th" = "9.6.4"; + "base" = "4.18.2.0"; + "ghc-bignum" = "1.3"; + "template-haskell" = "2.20.0.0"; + "pretty" = "1.1.3.6"; + "deepseq" = "1.4.8.1"; + "array" = "0.5.6.0"; + }; + }; + }; + extras = hackage: + { packages = {}; }; + modules = [ + { + preExistingPkgs = [ + "ghc-prim" + "base" + "ghc-boot-th" + "pretty" + "template-haskell" + "deepseq" + "containers" + "array" + "ghc-bignum" + ]; + } + ({ lib, ... }: + { packages = {}; }) + ({ lib, ... }: + { + packages = { + "deepseq".components.library.planned = lib.mkOverride 900 true; + "base".components.library.planned = lib.mkOverride 900 true; + "transformers".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; + "happy".components.exes."happy".planned = lib.mkOverride 900 true; + "template-haskell".components.library.planned = lib.mkOverride 900 true; + "ghc-bignum".components.library.planned = lib.mkOverride 900 true; + "array".components.library.planned = lib.mkOverride 900 true; + "ghc-boot-th".components.library.planned = lib.mkOverride 900 true; + }; + }) + ]; +} \ No newline at end of file diff --git a/materialized/happy-1.20.0/ghc964/plan.json b/materialized/happy-1.20.0/ghc964/plan.json new file mode 100644 index 0000000000..016362f4f1 --- /dev/null +++ b/materialized/happy-1.20.0/ghc964/plan.json @@ -0,0 +1 @@ +{"cabal-version":"3.10.3.0","cabal-lib-version":"3.10.3.0","compiler-id":"ghc-9.6.4","os":"linux","arch":"x86_64","install-plan":[{"type":"pre-existing","id":"array-0.5.6.0","pkg-name":"array","pkg-version":"0.5.6.0","depends":["base-4.18.2.0"]},{"type":"pre-existing","id":"base-4.18.2.0","pkg-name":"base","pkg-version":"4.18.2.0","depends":["ghc-bignum-1.3","ghc-prim-0.10.0"]},{"type":"pre-existing","id":"containers-0.6.7","pkg-name":"containers","pkg-version":"0.6.7","depends":["array-0.5.6.0","base-4.18.2.0","deepseq-1.4.8.1","template-haskell-2.20.0.0"]},{"type":"pre-existing","id":"deepseq-1.4.8.1","pkg-name":"deepseq","pkg-version":"1.4.8.1","depends":["array-0.5.6.0","base-4.18.2.0","ghc-prim-0.10.0"]},{"type":"pre-existing","id":"ghc-bignum-1.3","pkg-name":"ghc-bignum","pkg-version":"1.3","depends":["ghc-prim-0.10.0"]},{"type":"pre-existing","id":"ghc-boot-th-9.6.4","pkg-name":"ghc-boot-th","pkg-version":"9.6.4","depends":["base-4.18.2.0"]},{"type":"pre-existing","id":"ghc-prim-0.10.0","pkg-name":"ghc-prim","pkg-version":"0.10.0","depends":[]},{"type":"configured","id":"happy-1.20.0-e-happy-8d0124c13474e7e45ce88502055cdf0a4c2cd98c3b35b164b4b3900f606d2fed","pkg-name":"happy","pkg-version":"1.20.0","flags":{},"style":"global","pkg-src":{"type":"repo-tar","repo":{"type":"secure-repo","uri":"http://hackage.haskell.org/"}},"pkg-cabal-sha256":"5d47dc221a9fe964e36aaaa2e1ab7e8f085a225fd6528d6eff310b92360bbe99","pkg-src-sha256":"3b1d3a8f93a2723b554d9f07b2cd136be1a7b2fcab1855b12b7aab5cbac8868c","depends":["array-0.5.6.0","base-4.18.2.0","containers-0.6.7","mtl-2.2.2-bd3261ad8b9db841cd32623ed041dba3290ad7e9eab162b0b2519de5890f36c5"],"exe-depends":[],"component-name":"exe:happy","bin-file":"/store/ghc-9.6.4/happy-1.20.0-e-happy-8d0124c13474e7e45ce88502055cdf0a4c2cd98c3b35b164b4b3900f606d2fed/bin/happy"},{"type":"configured","id":"mtl-2.2.2-bd3261ad8b9db841cd32623ed041dba3290ad7e9eab162b0b2519de5890f36c5","pkg-name":"mtl","pkg-version":"2.2.2","flags":{},"style":"global","pkg-src":{"type":"repo-tar","repo":{"type":"secure-repo","uri":"http://hackage.haskell.org/"}},"pkg-cabal-sha256":"1050fb71acd9f5d67da7d992583f5bd0eb14407b9dc7acc122af1b738b706ca3","pkg-src-sha256":"8803f48a8ed33296c3a3272f448198737a287ec31baa901af09e2118c829bef6","depends":["base-4.18.2.0","transformers-0.5.6.2-55e06373e9f8b851d660815c23b29c4aedf2edf520a16438a77576432b6b7e88"],"exe-depends":[],"component-name":"lib"},{"type":"pre-existing","id":"pretty-1.1.3.6","pkg-name":"pretty","pkg-version":"1.1.3.6","depends":["base-4.18.2.0","deepseq-1.4.8.1","ghc-prim-0.10.0"]},{"type":"pre-existing","id":"template-haskell-2.20.0.0","pkg-name":"template-haskell","pkg-version":"2.20.0.0","depends":["base-4.18.2.0","ghc-boot-th-9.6.4","ghc-prim-0.10.0","pretty-1.1.3.6"]},{"type":"configured","id":"transformers-0.5.6.2-55e06373e9f8b851d660815c23b29c4aedf2edf520a16438a77576432b6b7e88","pkg-name":"transformers","pkg-version":"0.5.6.2","flags":{},"style":"global","pkg-src":{"type":"repo-tar","repo":{"type":"secure-repo","uri":"http://hackage.haskell.org/"}},"pkg-cabal-sha256":"6c959d14430f4deffb99579ba019de07c3d852a2122b6f449344386c7d75ff1d","pkg-src-sha256":"b668795d600297e4c8a7fd55a107b9827b2c52c0bc14c5ea0d65e20e6691c66c","components":{"lib":{"depends":["base-4.18.2.0"],"exe-depends":[]}}}],"targets":[{"pkg-name":"array","pkg-version":"0.5.6.0","component-name":"lib","available":[{"id":"array-0.5.6.0","component-name":"lib","build-by-default":true}]},{"pkg-name":"base","pkg-version":"4.18.2.0","component-name":"lib","available":[{"id":"base-4.18.2.0","component-name":"lib","build-by-default":true}]},{"pkg-name":"containers","pkg-version":"0.6.7","component-name":"lib","available":[{"id":"containers-0.6.7","component-name":"lib","build-by-default":true}]},{"pkg-name":"deepseq","pkg-version":"1.4.8.1","component-name":"lib","available":[{"id":"deepseq-1.4.8.1","component-name":"lib","build-by-default":true}]},{"pkg-name":"ghc-bignum","pkg-version":"1.3","component-name":"lib","available":[{"id":"ghc-bignum-1.3","component-name":"lib","build-by-default":true}]},{"pkg-name":"ghc-boot-th","pkg-version":"9.6.4","component-name":"lib","available":[{"id":"ghc-boot-th-9.6.4","component-name":"lib","build-by-default":true}]},{"pkg-name":"ghc-prim","pkg-version":"0.10.0","component-name":"lib","available":[{"id":"ghc-prim-0.10.0","component-name":"lib","build-by-default":true}]},{"pkg-name":"happy","pkg-version":"1.20.0","component-name":"exe:happy","available":[{"id":"happy-1.20.0-e-happy-8d0124c13474e7e45ce88502055cdf0a4c2cd98c3b35b164b4b3900f606d2fed","component-name":"exe:happy","build-by-default":true}]},{"pkg-name":"happy","pkg-version":"1.20.0","component-name":"test:tests","available":["TargetNotLocal"]},{"pkg-name":"mtl","pkg-version":"2.2.2","component-name":"lib","available":[{"id":"mtl-2.2.2-bd3261ad8b9db841cd32623ed041dba3290ad7e9eab162b0b2519de5890f36c5","component-name":"lib","build-by-default":true}]},{"pkg-name":"pretty","pkg-version":"1.1.3.6","component-name":"lib","available":[{"id":"pretty-1.1.3.6","component-name":"lib","build-by-default":true}]},{"pkg-name":"template-haskell","pkg-version":"2.20.0.0","component-name":"lib","available":[{"id":"template-haskell-2.20.0.0","component-name":"lib","build-by-default":true}]},{"pkg-name":"transformers","pkg-version":"0.5.6.2","component-name":"lib","available":[{"id":"transformers-0.5.6.2-55e06373e9f8b851d660815c23b29c4aedf2edf520a16438a77576432b6b7e88","component-name":"lib","build-by-default":true}]}]} \ No newline at end of file diff --git a/materialized/happy-1.20.0/ghc967/cabal-files/happy.nix b/materialized/happy-1.20.0/ghc967/cabal-files/happy.nix new file mode 100644 index 0000000000..f4e54974aa --- /dev/null +++ b/materialized/happy-1.20.0/ghc967/cabal-files/happy.nix @@ -0,0 +1,57 @@ +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: + ({ + flags = {}; + package = { + specVersion = "1.10"; + identifier = { name = "happy"; version = "1.20.0"; }; + license = "BSD-2-Clause"; + copyright = "(c) Andy Gill, Simon Marlow"; + maintainer = "Simon Marlow "; + author = "Andy Gill and Simon Marlow"; + homepage = "https://www.haskell.org/happy/"; + url = ""; + synopsis = "Happy is a parser generator for Haskell"; + description = "Happy is a parser generator for Haskell. Given a grammar\nspecification in BNF, Happy generates Haskell code to parse the\ngrammar. Happy works in a similar way to the @yacc@ tool for C."; + buildType = "Simple"; + }; + components = { + exes = { + "happy" = { + depends = [ + (hsPkgs."base" or (errorHandler.buildDepError "base")) + (hsPkgs."array" or (errorHandler.buildDepError "array")) + (hsPkgs."containers" or (errorHandler.buildDepError "containers")) + (hsPkgs."mtl" or (errorHandler.buildDepError "mtl")) + ]; + buildable = true; + }; + }; + tests = { + "tests" = { + depends = [ + (hsPkgs."base" or (errorHandler.buildDepError "base")) + (hsPkgs."process" or (errorHandler.buildDepError "process")) + ]; + build-tools = [ + (hsPkgs.pkgsBuildBuild.happy.components.exes.happy or (pkgs.pkgsBuildBuild.happy or (errorHandler.buildToolDepError "happy:happy"))) + ]; + buildable = true; + }; + }; + }; + } // { + src = pkgs.lib.mkDefault (pkgs.fetchurl { + url = "http://hackage.haskell.org/package/happy-1.20.0.tar.gz"; + sha256 = "3b1d3a8f93a2723b554d9f07b2cd136be1a7b2fcab1855b12b7aab5cbac8868c"; + }); + }) // { + package-description-override = "name: happy\nversion: 1.20.0\nx-revision: 1\nlicense: BSD2\nlicense-file: LICENSE\ncopyright: (c) Andy Gill, Simon Marlow\nauthor: Andy Gill and Simon Marlow\nmaintainer: Simon Marlow \nbug-reports: https://github.com/simonmar/happy/issues\nstability: stable\nhomepage: https://www.haskell.org/happy/\nsynopsis: Happy is a parser generator for Haskell\ncategory: Development\ncabal-version: >= 1.10\nbuild-type: Simple\n\nDescription:\n Happy is a parser generator for Haskell. Given a grammar\n specification in BNF, Happy generates Haskell code to parse the\n grammar. Happy works in a similar way to the @yacc@ tool for C.\n\ntested-with:\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.1\n\ndata-dir: data/\n\ndata-files:\n HappyTemplate\n HappyTemplate-arrays\n HappyTemplate-arrays-coerce\n HappyTemplate-arrays-coerce-debug\n HappyTemplate-arrays-debug\n HappyTemplate-arrays-ghc\n HappyTemplate-arrays-ghc-debug\n HappyTemplate-coerce\n HappyTemplate-ghc\n GLR_Base\n GLR_Lib\n GLR_Lib-ghc\n GLR_Lib-ghc-debug\n\nextra-source-files:\n ANNOUNCE\n CHANGES\n Makefile\n README.md\n TODO\n doc/Makefile\n doc/aclocal.m4\n doc/config.mk.in\n doc/configure.ac\n doc/docbook-xml.mk\n doc/fptools.css\n doc/happy.1.in\n doc/happy.xml\n examples/glr/nlp/Main.lhs\n examples/glr/nlp/Makefile\n examples/glr/nlp/README\n examples/glr/nlp/English.y\n examples/glr/nlp/Hugs.lhs\n examples/glr/Makefile\n examples/glr/Makefile.defs\n examples/glr/expr-eval/Main.lhs\n examples/glr/expr-eval/Makefile\n examples/glr/expr-eval/Expr.y\n examples/glr/expr-eval/README\n examples/glr/expr-eval/Hugs.lhs\n examples/glr/expr-tree/Main.lhs\n examples/glr/expr-tree/Makefile\n examples/glr/expr-tree/Expr.y\n examples/glr/expr-tree/README\n examples/glr/expr-tree/Tree.lhs\n examples/glr/expr-tree/Hugs.lhs\n examples/glr/highly-ambiguous/Main.lhs\n examples/glr/highly-ambiguous/Makefile\n examples/glr/highly-ambiguous/Expr.y\n examples/glr/highly-ambiguous/README\n examples/glr/highly-ambiguous/Hugs.lhs\n examples/glr/hidden-leftrec/Main.lhs\n examples/glr/hidden-leftrec/Makefile\n examples/glr/hidden-leftrec/Expr.y\n examples/glr/hidden-leftrec/README\n examples/glr/hidden-leftrec/Hugs.lhs\n examples/glr/expr-monad/Main.lhs\n examples/glr/expr-monad/Makefile\n examples/glr/expr-monad/Expr.y\n examples/glr/expr-monad/README\n examples/glr/expr-monad/Hugs.lhs\n examples/glr/bio-eg/Main.lhs\n examples/glr/bio-eg/Makefile\n examples/glr/bio-eg/Bio.y\n examples/glr/bio-eg/README\n examples/glr/bio-eg/1-1200.dna\n examples/glr/bio-eg/1-600.dna\n examples/glr/common/DV_lhs\n examples/glr/common/DaVinciTypes.hs\n examples/glr/packing/Main.lhs\n examples/glr/packing/Makefile\n examples/glr/packing/Expr.y\n examples/glr/packing/README\n examples/glr/packing/Hugs.lhs\n examples/PgnParser.ly\n examples/MonadTest.ly\n examples/igloo/ParserM.hs\n examples/igloo/Makefile\n examples/igloo/Parser.y\n examples/igloo/Foo.hs\n examples/igloo/README\n examples/igloo/Lexer.x\n examples/README\n examples/Calc.ly\n examples/DavesExample.ly\n examples/ErrorTest.ly\n examples/ErlParser.ly\n examples/SimonsExample.ly\n examples/LexerTest.ly\n happy.spec\n src/ARRAY-NOTES\n tests/AttrGrammar001.y\n tests/AttrGrammar002.y\n tests/Makefile\n tests/Partial.ly\n tests/Test.ly\n tests/TestMulti.ly\n tests/TestPrecedence.ly\n tests/bogus-token.y\n tests/bug001.ly\n tests/bug002.y\n tests/error001.stderr\n tests/error001.stdout\n tests/error001.y\n tests/monad001.y\n tests/monad002.ly\n tests/monaderror.y\n tests/precedence001.ly\n tests/precedence002.y\n tests/test_rules.y\n tests/issue91.y\n tests/issue93.y\n tests/issue94.y\n tests/issue95.y\n tests/monaderror-explist.y\n tests/typeclass_monad001.y\n tests/typeclass_monad002.ly\n tests/typeclass_monad_lexer.y\n tests/rank2.y\n tests/shift01.y\n\nsource-repository head\n type: git\n location: https://github.com/simonmar/happy.git\n\nexecutable happy\n hs-source-dirs: src\n main-is: Main.lhs\n\n build-depends: base < 5,\n array,\n containers >= 0.4.2,\n mtl >= 2.2.1 && < 2.3\n -- mtl-2.2.1 added Control.Monad.Except\n\n default-language: Haskell98\n default-extensions: CPP, MagicHash, FlexibleContexts\n ghc-options: -Wall\n other-modules:\n Paths_happy\n AbsSyn\n First\n GenUtils\n Grammar\n Info\n LALR\n Lexer\n ParseMonad\n Parser\n ProduceCode\n ProduceGLRCode\n NameSet\n Target\n AttrGrammar\n AttrGrammarParser\n ParamRules\n PrettyGrammar\n\ntest-suite tests\n type: exitcode-stdio-1.0\n main-is: test.hs\n -- This line is important as it ensures that the local `exe:happy` component declared above is built before the test-suite component is invoked, as well as making sure that `happy` is made available on $PATH and `$happy_datadir` is set accordingly before invoking `test.hs`\n build-tools: happy\n\n build-depends: base, process\n default-language: Haskell98\n\n"; + } \ No newline at end of file diff --git a/materialized/ghc962/hadrian-ghc947/hadrian/cabal-files/mtl.nix b/materialized/happy-1.20.0/ghc967/cabal-files/mtl.nix similarity index 100% rename from materialized/ghc962/hadrian-ghc947/hadrian/cabal-files/mtl.nix rename to materialized/happy-1.20.0/ghc967/cabal-files/mtl.nix diff --git a/materialized/ghc962/hadrian-ghc947/hadrian/cabal-files/transformers.nix b/materialized/happy-1.20.0/ghc967/cabal-files/transformers.nix similarity index 100% rename from materialized/ghc962/hadrian-ghc947/hadrian/cabal-files/transformers.nix rename to materialized/happy-1.20.0/ghc967/cabal-files/transformers.nix diff --git a/materialized/happy-1.20.0/ghc967/default.nix b/materialized/happy-1.20.0/ghc967/default.nix new file mode 100644 index 0000000000..9c6cffdd4f --- /dev/null +++ b/materialized/happy-1.20.0/ghc967/default.nix @@ -0,0 +1,70 @@ +{ + pkgs = hackage: + { + packages = { + ghc-bignum.revision = hackage.ghc-bignum."1.3".revisions.default; + transformers.revision = import ./cabal-files/transformers.nix; + deepseq.revision = hackage.deepseq."1.4.8.1".revisions.default; + mtl.revision = import ./cabal-files/mtl.nix; + base.revision = hackage.base."4.18.3.0".revisions.default; + array.revision = hackage.array."0.5.8.0".revisions.default; + happy.revision = import ./cabal-files/happy.nix; + template-haskell.revision = hackage.template-haskell."2.20.0.0".revisions.default; + ghc-boot-th.revision = hackage.ghc-boot-th."9.6.7".revisions.default; + ghc-prim.revision = hackage.ghc-prim."0.10.0".revisions.default; + pretty.revision = hackage.pretty."1.1.3.6".revisions.default; + containers.revision = hackage.containers."0.6.7".revisions.default; + }; + compiler = { + version = "9.6.7"; + nix-name = "ghc967"; + packages = { + "ghc-boot-th" = "9.6.7"; + "pretty" = "1.1.3.6"; + "array" = "0.5.8.0"; + "ghc-prim" = "0.10.0"; + "template-haskell" = "2.20.0.0"; + "ghc-bignum" = "1.3"; + "deepseq" = "1.4.8.1"; + "containers" = "0.6.7"; + "base" = "4.18.3.0"; + }; + }; + }; + extras = hackage: + { packages = {}; }; + modules = [ + { + preExistingPkgs = [ + "ghc-bignum" + "deepseq" + "base" + "array" + "template-haskell" + "ghc-boot-th" + "ghc-prim" + "pretty" + "containers" + ]; + } + ({ lib, ... }: + { packages = {}; }) + ({ lib, ... }: + { + packages = { + "template-haskell".components.library.planned = lib.mkOverride 900 true; + "transformers".components.library.planned = lib.mkOverride 900 true; + "array".components.library.planned = lib.mkOverride 900 true; + "containers".components.library.planned = lib.mkOverride 900 true; + "deepseq".components.library.planned = lib.mkOverride 900 true; + "happy".components.exes."happy".planned = lib.mkOverride 900 true; + "ghc-bignum".components.library.planned = lib.mkOverride 900 true; + "pretty".components.library.planned = lib.mkOverride 900 true; + "mtl".components.library.planned = lib.mkOverride 900 true; + "ghc-boot-th".components.library.planned = lib.mkOverride 900 true; + "base".components.library.planned = lib.mkOverride 900 true; + "ghc-prim".components.library.planned = lib.mkOverride 900 true; + }; + }) + ]; +} \ No newline at end of file diff --git a/materialized/happy-1.20.0/ghc967/plan.json b/materialized/happy-1.20.0/ghc967/plan.json new file mode 100644 index 0000000000..144853d115 --- /dev/null +++ b/materialized/happy-1.20.0/ghc967/plan.json @@ -0,0 +1 @@ +{"cabal-version":"3.14.2.0","cabal-lib-version":"3.14.2.0","compiler-id":"ghc-9.6.7","os":"osx","arch":"aarch64","install-plan":[{"type":"pre-existing","id":"array-0.5.8.0","pkg-name":"array","pkg-version":"0.5.8.0","depends":["base-4.18.3.0"]},{"type":"pre-existing","id":"base-4.18.3.0","pkg-name":"base","pkg-version":"4.18.3.0","depends":["ghc-prim-0.10.0","ghc-bignum-1.3"]},{"type":"pre-existing","id":"containers-0.6.7","pkg-name":"containers","pkg-version":"0.6.7","depends":["base-4.18.3.0","array-0.5.8.0","deepseq-1.4.8.1","template-haskell-2.20.0.0"]},{"type":"pre-existing","id":"deepseq-1.4.8.1","pkg-name":"deepseq","pkg-version":"1.4.8.1","depends":["base-4.18.3.0","array-0.5.8.0"]},{"type":"pre-existing","id":"ghc-bignum-1.3","pkg-name":"ghc-bignum","pkg-version":"1.3","depends":["ghc-prim-0.10.0"]},{"type":"pre-existing","id":"ghc-boot-th-9.6.7","pkg-name":"ghc-boot-th","pkg-version":"9.6.7","depends":["base-4.18.3.0"]},{"type":"pre-existing","id":"ghc-prim-0.10.0","pkg-name":"ghc-prim","pkg-version":"0.10.0","depends":[]},{"type":"configured","id":"hppy-1.20.0-22008d43","pkg-name":"happy","pkg-version":"1.20.0","flags":{},"style":"global","pkg-src":{"type":"repo-tar","repo":{"type":"secure-repo","uri":"http://hackage.haskell.org/"}},"pkg-cabal-sha256":"5d47dc221a9fe964e36aaaa2e1ab7e8f085a225fd6528d6eff310b92360bbe99","pkg-src-sha256":"3b1d3a8f93a2723b554d9f07b2cd136be1a7b2fcab1855b12b7aab5cbac8868c","depends":["array-0.5.8.0","base-4.18.3.0","containers-0.6.7","mtl-2.2.2-7c0d25be"],"exe-depends":[],"component-name":"exe:happy","bin-file":"/store/ghc-9.6.7/hppy-1.20.0-22008d43/bin/happy"},{"type":"configured","id":"mtl-2.2.2-7c0d25be","pkg-name":"mtl","pkg-version":"2.2.2","flags":{},"style":"global","pkg-src":{"type":"repo-tar","repo":{"type":"secure-repo","uri":"http://hackage.haskell.org/"}},"pkg-cabal-sha256":"1050fb71acd9f5d67da7d992583f5bd0eb14407b9dc7acc122af1b738b706ca3","pkg-src-sha256":"8803f48a8ed33296c3a3272f448198737a287ec31baa901af09e2118c829bef6","depends":["base-4.18.3.0","trnsfrmrs-0.5.6.2-842b1c0f"],"exe-depends":[],"component-name":"lib"},{"type":"pre-existing","id":"pretty-1.1.3.6","pkg-name":"pretty","pkg-version":"1.1.3.6","depends":["base-4.18.3.0","deepseq-1.4.8.1","ghc-prim-0.10.0"]},{"type":"pre-existing","id":"template-haskell-2.20.0.0","pkg-name":"template-haskell","pkg-version":"2.20.0.0","depends":["base-4.18.3.0","ghc-boot-th-9.6.7","ghc-prim-0.10.0","pretty-1.1.3.6"]},{"type":"configured","id":"trnsfrmrs-0.5.6.2-842b1c0f","pkg-name":"transformers","pkg-version":"0.5.6.2","flags":{},"style":"global","pkg-src":{"type":"repo-tar","repo":{"type":"secure-repo","uri":"http://hackage.haskell.org/"}},"pkg-cabal-sha256":"6c959d14430f4deffb99579ba019de07c3d852a2122b6f449344386c7d75ff1d","pkg-src-sha256":"b668795d600297e4c8a7fd55a107b9827b2c52c0bc14c5ea0d65e20e6691c66c","components":{"lib":{"depends":["base-4.18.3.0"],"exe-depends":[]}}}],"targets":[{"pkg-name":"array","pkg-version":"0.5.8.0","component-name":"lib","available":[{"id":"array-0.5.8.0","component-name":"lib","build-by-default":true}]},{"pkg-name":"base","pkg-version":"4.18.3.0","component-name":"lib","available":[{"id":"base-4.18.3.0","component-name":"lib","build-by-default":true}]},{"pkg-name":"containers","pkg-version":"0.6.7","component-name":"lib","available":[{"id":"containers-0.6.7","component-name":"lib","build-by-default":true}]},{"pkg-name":"deepseq","pkg-version":"1.4.8.1","component-name":"lib","available":[{"id":"deepseq-1.4.8.1","component-name":"lib","build-by-default":true}]},{"pkg-name":"ghc-bignum","pkg-version":"1.3","component-name":"lib","available":[{"id":"ghc-bignum-1.3","component-name":"lib","build-by-default":true}]},{"pkg-name":"ghc-boot-th","pkg-version":"9.6.7","component-name":"lib","available":[{"id":"ghc-boot-th-9.6.7","component-name":"lib","build-by-default":true}]},{"pkg-name":"ghc-prim","pkg-version":"0.10.0","component-name":"lib","available":[{"id":"ghc-prim-0.10.0","component-name":"lib","build-by-default":true}]},{"pkg-name":"happy","pkg-version":"1.20.0","component-name":"exe:happy","available":[{"id":"hppy-1.20.0-22008d43","component-name":"exe:happy","build-by-default":true}]},{"pkg-name":"happy","pkg-version":"1.20.0","component-name":"test:tests","available":["TargetNotLocal"]},{"pkg-name":"mtl","pkg-version":"2.2.2","component-name":"lib","available":[{"id":"mtl-2.2.2-7c0d25be","component-name":"lib","build-by-default":true}]},{"pkg-name":"pretty","pkg-version":"1.1.3.6","component-name":"lib","available":[{"id":"pretty-1.1.3.6","component-name":"lib","build-by-default":true}]},{"pkg-name":"template-haskell","pkg-version":"2.20.0.0","component-name":"lib","available":[{"id":"template-haskell-2.20.0.0","component-name":"lib","build-by-default":true}]},{"pkg-name":"transformers","pkg-version":"0.5.6.2","component-name":"lib","available":[{"id":"trnsfrmrs-0.5.6.2-842b1c0f","component-name":"lib","build-by-default":true}]}]} \ No newline at end of file diff --git a/materialized/happy-1.20.0/plan.json b/materialized/happy-1.20.0/plan.json deleted file mode 100644 index 20e629b835..0000000000 --- a/materialized/happy-1.20.0/plan.json +++ /dev/null @@ -1 +0,0 @@ -{"cabal-version":"3.10.3.0","cabal-lib-version":"3.10.3.0","compiler-id":"ghc-9.0.2","os":"linux","arch":"x86_64","install-plan":[{"type":"pre-existing","id":"array-0.5.4.0","pkg-name":"array","pkg-version":"0.5.4.0","depends":["base-4.15.1.0"]},{"type":"pre-existing","id":"base-4.15.1.0","pkg-name":"base","pkg-version":"4.15.1.0","depends":["ghc-bignum-1.1","ghc-prim-0.7.0"]},{"type":"pre-existing","id":"containers-0.6.4.1","pkg-name":"containers","pkg-version":"0.6.4.1","depends":["array-0.5.4.0","base-4.15.1.0","deepseq-1.4.5.0"]},{"type":"pre-existing","id":"deepseq-1.4.5.0","pkg-name":"deepseq","pkg-version":"1.4.5.0","depends":["array-0.5.4.0","base-4.15.1.0","ghc-prim-0.7.0"]},{"type":"pre-existing","id":"ghc-bignum-1.1","pkg-name":"ghc-bignum","pkg-version":"1.1","depends":["ghc-prim-0.7.0"]},{"type":"pre-existing","id":"ghc-prim-0.7.0","pkg-name":"ghc-prim","pkg-version":"0.7.0","depends":[]},{"type":"configured","id":"happy-1.20.0-inplace-happy","pkg-name":"happy","pkg-version":"1.20.0","flags":{},"style":"local","pkg-src":{"type":"local","path":"./."},"dist-dir":"./dist-newstyle/build/x86_64-linux/ghc-9.0.2/happy-1.20.0/x/happy","build-info":"./dist-newstyle/build/x86_64-linux/ghc-9.0.2/happy-1.20.0/x/happy/build-info.json","depends":["array-0.5.4.0","base-4.15.1.0","containers-0.6.4.1","mtl-2.2.2"],"exe-depends":[],"component-name":"exe:happy","bin-file":"./dist-newstyle/build/x86_64-linux/ghc-9.0.2/happy-1.20.0/x/happy/build/happy/happy"},{"type":"pre-existing","id":"mtl-2.2.2","pkg-name":"mtl","pkg-version":"2.2.2","depends":["base-4.15.1.0","transformers-0.5.6.2"]},{"type":"pre-existing","id":"transformers-0.5.6.2","pkg-name":"transformers","pkg-version":"0.5.6.2","depends":["base-4.15.1.0","ghc-prim-0.7.0"]}],"targets":[{"pkg-name":"array","pkg-version":"0.5.4.0","component-name":"lib","available":[{"id":"array-0.5.4.0","component-name":"lib","build-by-default":true}]},{"pkg-name":"base","pkg-version":"4.15.1.0","component-name":"lib","available":[{"id":"base-4.15.1.0","component-name":"lib","build-by-default":true}]},{"pkg-name":"containers","pkg-version":"0.6.4.1","component-name":"lib","available":[{"id":"containers-0.6.4.1","component-name":"lib","build-by-default":true}]},{"pkg-name":"deepseq","pkg-version":"1.4.5.0","component-name":"lib","available":[{"id":"deepseq-1.4.5.0","component-name":"lib","build-by-default":true}]},{"pkg-name":"ghc-bignum","pkg-version":"1.1","component-name":"lib","available":[{"id":"ghc-bignum-1.1","component-name":"lib","build-by-default":true}]},{"pkg-name":"ghc-prim","pkg-version":"0.7.0","component-name":"lib","available":[{"id":"ghc-prim-0.7.0","component-name":"lib","build-by-default":true}]},{"pkg-name":"happy","pkg-version":"1.20.0","component-name":"exe:happy","available":[{"id":"happy-1.20.0-inplace-happy","component-name":"exe:happy","build-by-default":true}]},{"pkg-name":"happy","pkg-version":"1.20.0","component-name":"test:tests","available":["TargetDisabledByUser"]},{"pkg-name":"mtl","pkg-version":"2.2.2","component-name":"lib","available":[{"id":"mtl-2.2.2","component-name":"lib","build-by-default":true}]},{"pkg-name":"transformers","pkg-version":"0.5.6.2","component-name":"lib","available":[{"id":"transformers-0.5.6.2","component-name":"lib","build-by-default":true}]}]} \ No newline at end of file diff --git a/materialized/spdx-3.26.0/licenses.json b/materialized/spdx-3.26.0/licenses.json new file mode 100644 index 0000000000..541444700e --- /dev/null +++ b/materialized/spdx-3.26.0/licenses.json @@ -0,0 +1,8533 @@ +{ + "licenseListVersion": "3.26.0", + "licenses": [ + { + "reference": "https://spdx.org/licenses/0BSD.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/0BSD.json", + "referenceNumber": 502, + "name": "BSD Zero Clause License", + "licenseId": "0BSD", + "seeAlso": [ + "http://landley.net/toybox/license.html", + "https://opensource.org/licenses/0BSD" + ], + "isOsiApproved": true + }, + { + "reference": "https://spdx.org/licenses/3D-Slicer-1.0.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/3D-Slicer-1.0.json", + "referenceNumber": 490, + "name": "3D Slicer License v1.0", + "licenseId": "3D-Slicer-1.0", + "seeAlso": [ + "https://slicer.org/LICENSE", + "https://github.com/Slicer/Slicer/blob/main/License.txt" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/AAL.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/AAL.json", + "referenceNumber": 136, + "name": "Attribution Assurance License", + "licenseId": "AAL", + "seeAlso": [ + "https://opensource.org/licenses/attribution" + ], + "isOsiApproved": true + }, + { + "reference": "https://spdx.org/licenses/Abstyles.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/Abstyles.json", + "referenceNumber": 641, + "name": "Abstyles License", + "licenseId": "Abstyles", + "seeAlso": [ + "https://fedoraproject.org/wiki/Licensing/Abstyles" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/AdaCore-doc.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/AdaCore-doc.json", + "referenceNumber": 403, + "name": "AdaCore Doc License", + "licenseId": "AdaCore-doc", + "seeAlso": [ + "https://github.com/AdaCore/xmlada/blob/master/docs/index.rst", + "https://github.com/AdaCore/gnatcoll-core/blob/master/docs/index.rst", + "https://github.com/AdaCore/gnatcoll-db/blob/master/docs/index.rst" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/Adobe-2006.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/Adobe-2006.json", + "referenceNumber": 131, + "name": "Adobe Systems Incorporated Source Code License Agreement", + "licenseId": "Adobe-2006", + "seeAlso": [ + "https://fedoraproject.org/wiki/Licensing/AdobeLicense" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/Adobe-Display-PostScript.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/Adobe-Display-PostScript.json", + "referenceNumber": 366, + "name": "Adobe Display PostScript License", + "licenseId": "Adobe-Display-PostScript", + "seeAlso": [ + "https://gitlab.freedesktop.org/xorg/xserver/-/blob/master/COPYING?ref_type\u003dheads#L752" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/Adobe-Glyph.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/Adobe-Glyph.json", + "referenceNumber": 510, + "name": "Adobe Glyph List License", + "licenseId": "Adobe-Glyph", + "seeAlso": [ + "https://fedoraproject.org/wiki/Licensing/MIT#AdobeGlyph" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/Adobe-Utopia.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/Adobe-Utopia.json", + "referenceNumber": 591, + "name": "Adobe Utopia Font License", + "licenseId": "Adobe-Utopia", + "seeAlso": [ + "https://gitlab.freedesktop.org/xorg/font/adobe-utopia-100dpi/-/blob/master/COPYING?ref_type\u003dheads" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/ADSL.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/ADSL.json", + "referenceNumber": 45, + "name": "Amazon Digital Services License", + "licenseId": "ADSL", + "seeAlso": [ + "https://fedoraproject.org/wiki/Licensing/AmazonDigitalServicesLicense" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/AFL-1.1.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/AFL-1.1.json", + "referenceNumber": 428, + "name": "Academic Free License v1.1", + "licenseId": "AFL-1.1", + "seeAlso": [ + "http://opensource.linux-mirror.org/licenses/afl-1.1.txt", + "http://wayback.archive.org/web/20021004124254/http://www.opensource.org/licenses/academic.php" + ], + "isOsiApproved": true, + "isFsfLibre": true + }, + { + "reference": "https://spdx.org/licenses/AFL-1.2.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/AFL-1.2.json", + "referenceNumber": 292, + "name": "Academic Free License v1.2", + "licenseId": "AFL-1.2", + "seeAlso": [ + "http://opensource.linux-mirror.org/licenses/afl-1.2.txt", + "http://wayback.archive.org/web/20021204204652/http://www.opensource.org/licenses/academic.php" + ], + "isOsiApproved": true, + "isFsfLibre": true + }, + { + "reference": "https://spdx.org/licenses/AFL-2.0.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/AFL-2.0.json", + "referenceNumber": 356, + "name": "Academic Free License v2.0", + "licenseId": "AFL-2.0", + "seeAlso": [ + "http://wayback.archive.org/web/20060924134533/http://www.opensource.org/licenses/afl-2.0.txt" + ], + "isOsiApproved": true, + "isFsfLibre": true + }, + { + "reference": "https://spdx.org/licenses/AFL-2.1.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/AFL-2.1.json", + "referenceNumber": 219, + "name": "Academic Free License v2.1", + "licenseId": "AFL-2.1", + "seeAlso": [ + "http://opensource.linux-mirror.org/licenses/afl-2.1.txt" + ], + "isOsiApproved": true, + "isFsfLibre": true + }, + { + "reference": "https://spdx.org/licenses/AFL-3.0.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/AFL-3.0.json", + "referenceNumber": 121, + "name": "Academic Free License v3.0", + "licenseId": "AFL-3.0", + "seeAlso": [ + "http://www.rosenlaw.com/AFL3.0.htm", + "https://opensource.org/licenses/afl-3.0" + ], + "isOsiApproved": true, + "isFsfLibre": true + }, + { + "reference": "https://spdx.org/licenses/Afmparse.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/Afmparse.json", + "referenceNumber": 328, + "name": "Afmparse License", + "licenseId": "Afmparse", + "seeAlso": [ + "https://fedoraproject.org/wiki/Licensing/Afmparse" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/AGPL-1.0.html", + "isDeprecatedLicenseId": true, + "detailsUrl": "https://spdx.org/licenses/AGPL-1.0.json", + "referenceNumber": 326, + "name": "Affero General Public License v1.0", + "licenseId": "AGPL-1.0", + "seeAlso": [ + "http://www.affero.org/oagpl.html" + ], + "isOsiApproved": false, + "isFsfLibre": true + }, + { + "reference": "https://spdx.org/licenses/AGPL-1.0-only.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/AGPL-1.0-only.json", + "referenceNumber": 404, + "name": "Affero General Public License v1.0 only", + "licenseId": "AGPL-1.0-only", + "seeAlso": [ + "http://www.affero.org/oagpl.html" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/AGPL-1.0-or-later.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/AGPL-1.0-or-later.json", + "referenceNumber": 444, + "name": "Affero General Public License v1.0 or later", + "licenseId": "AGPL-1.0-or-later", + "seeAlso": [ + "http://www.affero.org/oagpl.html" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/AGPL-3.0.html", + "isDeprecatedLicenseId": true, + "detailsUrl": "https://spdx.org/licenses/AGPL-3.0.json", + "referenceNumber": 517, + "name": "GNU Affero General Public License v3.0", + "licenseId": "AGPL-3.0", + "seeAlso": [ + "https://www.gnu.org/licenses/agpl.txt", + "https://opensource.org/licenses/AGPL-3.0" + ], + "isOsiApproved": true, + "isFsfLibre": true + }, + { + "reference": "https://spdx.org/licenses/AGPL-3.0-only.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/AGPL-3.0-only.json", + "referenceNumber": 180, + "name": "GNU Affero General Public License v3.0 only", + "licenseId": "AGPL-3.0-only", + "seeAlso": [ + "https://www.gnu.org/licenses/agpl.txt", + "https://opensource.org/licenses/AGPL-3.0" + ], + "isOsiApproved": true, + "isFsfLibre": true + }, + { + "reference": "https://spdx.org/licenses/AGPL-3.0-or-later.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/AGPL-3.0-or-later.json", + "referenceNumber": 543, + "name": "GNU Affero General Public License v3.0 or later", + "licenseId": "AGPL-3.0-or-later", + "seeAlso": [ + "https://www.gnu.org/licenses/agpl.txt", + "https://opensource.org/licenses/AGPL-3.0" + ], + "isOsiApproved": true, + "isFsfLibre": true + }, + { + "reference": "https://spdx.org/licenses/Aladdin.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/Aladdin.json", + "referenceNumber": 67, + "name": "Aladdin Free Public License", + "licenseId": "Aladdin", + "seeAlso": [ + "http://pages.cs.wisc.edu/~ghost/doc/AFPL/6.01/Public.htm" + ], + "isOsiApproved": false, + "isFsfLibre": false + }, + { + "reference": "https://spdx.org/licenses/AMD-newlib.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/AMD-newlib.json", + "referenceNumber": 413, + "name": "AMD newlib License", + "licenseId": "AMD-newlib", + "seeAlso": [ + "https://sourceware.org/git/?p\u003dnewlib-cygwin.git;a\u003dblob;f\u003dnewlib/libc/sys/a29khif/_close.S;h\u003d04f52ae00de1dafbd9055ad8d73c5c697a3aae7f;hb\u003dHEAD" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/AMDPLPA.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/AMDPLPA.json", + "referenceNumber": 529, + "name": "AMD\u0027s plpa_map.c License", + "licenseId": "AMDPLPA", + "seeAlso": [ + "https://fedoraproject.org/wiki/Licensing/AMD_plpa_map_License" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/AML.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/AML.json", + "referenceNumber": 553, + "name": "Apple MIT License", + "licenseId": "AML", + "seeAlso": [ + "https://fedoraproject.org/wiki/Licensing/Apple_MIT_License" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/AML-glslang.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/AML-glslang.json", + "referenceNumber": 27, + "name": "AML glslang variant License", + "licenseId": "AML-glslang", + "seeAlso": [ + "https://github.com/KhronosGroup/glslang/blob/main/LICENSE.txt#L949", + "https://docs.omniverse.nvidia.com/install-guide/latest/common/licenses.html" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/AMPAS.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/AMPAS.json", + "referenceNumber": 79, + "name": "Academy of Motion Picture Arts and Sciences BSD", + "licenseId": "AMPAS", + "seeAlso": [ + "https://fedoraproject.org/wiki/Licensing/BSD#AMPASBSD" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/ANTLR-PD.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/ANTLR-PD.json", + "referenceNumber": 454, + "name": "ANTLR Software Rights Notice", + "licenseId": "ANTLR-PD", + "seeAlso": [ + "http://www.antlr2.org/license.html" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/ANTLR-PD-fallback.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/ANTLR-PD-fallback.json", + "referenceNumber": 635, + "name": "ANTLR Software Rights Notice with license fallback", + "licenseId": "ANTLR-PD-fallback", + "seeAlso": [ + "http://www.antlr2.org/license.html" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/any-OSI.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/any-OSI.json", + "referenceNumber": 117, + "name": "Any OSI License", + "licenseId": "any-OSI", + "seeAlso": [ + "https://metacpan.org/pod/Exporter::Tidy#LICENSE" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/any-OSI-perl-modules.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/any-OSI-perl-modules.json", + "referenceNumber": 286, + "name": "Any OSI License - Perl Modules", + "licenseId": "any-OSI-perl-modules", + "seeAlso": [ + "https://metacpan.org/release/JUERD/Exporter-Tidy-0.09/view/Tidy.pm#LICENSE", + "https://metacpan.org/pod/Qmail::Deliverable::Client#LICENSE", + "https://metacpan.org/pod/Net::MQTT::Simple#LICENSE" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/Apache-1.0.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/Apache-1.0.json", + "referenceNumber": 347, + "name": "Apache License 1.0", + "licenseId": "Apache-1.0", + "seeAlso": [ + "http://www.apache.org/licenses/LICENSE-1.0" + ], + "isOsiApproved": false, + "isFsfLibre": true + }, + { + "reference": "https://spdx.org/licenses/Apache-1.1.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/Apache-1.1.json", + "referenceNumber": 628, + "name": "Apache License 1.1", + "licenseId": "Apache-1.1", + "seeAlso": [ + "http://apache.org/licenses/LICENSE-1.1", + "https://opensource.org/licenses/Apache-1.1" + ], + "isOsiApproved": true, + "isFsfLibre": true + }, + { + "reference": "https://spdx.org/licenses/Apache-2.0.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/Apache-2.0.json", + "referenceNumber": 418, + "name": "Apache License 2.0", + "licenseId": "Apache-2.0", + "seeAlso": [ + "https://www.apache.org/licenses/LICENSE-2.0", + "https://opensource.org/licenses/Apache-2.0" + ], + "isOsiApproved": true, + "isFsfLibre": true + }, + { + "reference": "https://spdx.org/licenses/APAFML.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/APAFML.json", + "referenceNumber": 575, + "name": "Adobe Postscript AFM License", + "licenseId": "APAFML", + "seeAlso": [ + "https://fedoraproject.org/wiki/Licensing/AdobePostscriptAFM" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/APL-1.0.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/APL-1.0.json", + "referenceNumber": 233, + "name": "Adaptive Public License 1.0", + "licenseId": "APL-1.0", + "seeAlso": [ + "https://opensource.org/licenses/APL-1.0" + ], + "isOsiApproved": true + }, + { + "reference": "https://spdx.org/licenses/App-s2p.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/App-s2p.json", + "referenceNumber": 612, + "name": "App::s2p License", + "licenseId": "App-s2p", + "seeAlso": [ + "https://fedoraproject.org/wiki/Licensing/App-s2p" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/APSL-1.0.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/APSL-1.0.json", + "referenceNumber": 263, + "name": "Apple Public Source License 1.0", + "licenseId": "APSL-1.0", + "seeAlso": [ + "https://fedoraproject.org/wiki/Licensing/Apple_Public_Source_License_1.0" + ], + "isOsiApproved": true, + "isFsfLibre": false + }, + { + "reference": "https://spdx.org/licenses/APSL-1.1.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/APSL-1.1.json", + "referenceNumber": 381, + "name": "Apple Public Source License 1.1", + "licenseId": "APSL-1.1", + "seeAlso": [ + "http://www.opensource.apple.com/source/IOSerialFamily/IOSerialFamily-7/APPLE_LICENSE" + ], + "isOsiApproved": true + }, + { + "reference": "https://spdx.org/licenses/APSL-1.2.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/APSL-1.2.json", + "referenceNumber": 262, + "name": "Apple Public Source License 1.2", + "licenseId": "APSL-1.2", + "seeAlso": [ + "http://www.samurajdata.se/opensource/mirror/licenses/apsl.php" + ], + "isOsiApproved": true + }, + { + "reference": "https://spdx.org/licenses/APSL-2.0.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/APSL-2.0.json", + "referenceNumber": 438, + "name": "Apple Public Source License 2.0", + "licenseId": "APSL-2.0", + "seeAlso": [ + "http://www.opensource.apple.com/license/apsl/" + ], + "isOsiApproved": true, + "isFsfLibre": true + }, + { + "reference": "https://spdx.org/licenses/Arphic-1999.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/Arphic-1999.json", + "referenceNumber": 122, + "name": "Arphic Public License", + "licenseId": "Arphic-1999", + "seeAlso": [ + "http://ftp.gnu.org/gnu/non-gnu/chinese-fonts-truetype/LICENSE" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/Artistic-1.0.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/Artistic-1.0.json", + "referenceNumber": 580, + "name": "Artistic License 1.0", + "licenseId": "Artistic-1.0", + "seeAlso": [ + "https://opensource.org/licenses/Artistic-1.0" + ], + "isOsiApproved": true, + "isFsfLibre": false + }, + { + "reference": "https://spdx.org/licenses/Artistic-1.0-cl8.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/Artistic-1.0-cl8.json", + "referenceNumber": 205, + "name": "Artistic License 1.0 w/clause 8", + "licenseId": "Artistic-1.0-cl8", + "seeAlso": [ + "https://opensource.org/licenses/Artistic-1.0" + ], + "isOsiApproved": true + }, + { + "reference": "https://spdx.org/licenses/Artistic-1.0-Perl.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/Artistic-1.0-Perl.json", + "referenceNumber": 183, + "name": "Artistic License 1.0 (Perl)", + "licenseId": "Artistic-1.0-Perl", + "seeAlso": [ + "http://dev.perl.org/licenses/artistic.html" + ], + "isOsiApproved": true + }, + { + "reference": "https://spdx.org/licenses/Artistic-2.0.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/Artistic-2.0.json", + "referenceNumber": 519, + "name": "Artistic License 2.0", + "licenseId": "Artistic-2.0", + "seeAlso": [ + "http://www.perlfoundation.org/artistic_license_2_0", + "https://www.perlfoundation.org/artistic-license-20.html", + "https://opensource.org/licenses/artistic-license-2.0" + ], + "isOsiApproved": true, + "isFsfLibre": true + }, + { + "reference": "https://spdx.org/licenses/ASWF-Digital-Assets-1.0.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/ASWF-Digital-Assets-1.0.json", + "referenceNumber": 380, + "name": "ASWF Digital Assets License version 1.0", + "licenseId": "ASWF-Digital-Assets-1.0", + "seeAlso": [ + "https://github.com/AcademySoftwareFoundation/foundation/blob/main/digital_assets/aswf_digital_assets_license_v1.0.txt" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/ASWF-Digital-Assets-1.1.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/ASWF-Digital-Assets-1.1.json", + "referenceNumber": 7, + "name": "ASWF Digital Assets License 1.1", + "licenseId": "ASWF-Digital-Assets-1.1", + "seeAlso": [ + "https://github.com/AcademySoftwareFoundation/foundation/blob/main/digital_assets/aswf_digital_assets_license_v1.1.txt" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/Baekmuk.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/Baekmuk.json", + "referenceNumber": 434, + "name": "Baekmuk License", + "licenseId": "Baekmuk", + "seeAlso": [ + "https://fedoraproject.org/wiki/Licensing:Baekmuk?rd\u003dLicensing/Baekmuk" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/Bahyph.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/Bahyph.json", + "referenceNumber": 312, + "name": "Bahyph License", + "licenseId": "Bahyph", + "seeAlso": [ + "https://fedoraproject.org/wiki/Licensing/Bahyph" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/Barr.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/Barr.json", + "referenceNumber": 93, + "name": "Barr License", + "licenseId": "Barr", + "seeAlso": [ + "https://fedoraproject.org/wiki/Licensing/Barr" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/bcrypt-Solar-Designer.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/bcrypt-Solar-Designer.json", + "referenceNumber": 624, + "name": "bcrypt Solar Designer License", + "licenseId": "bcrypt-Solar-Designer", + "seeAlso": [ + "https://github.com/bcrypt-ruby/bcrypt-ruby/blob/master/ext/mri/crypt_blowfish.c" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/Beerware.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/Beerware.json", + "referenceNumber": 429, + "name": "Beerware License", + "licenseId": "Beerware", + "seeAlso": [ + "https://fedoraproject.org/wiki/Licensing/Beerware", + "https://people.freebsd.org/~phk/" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/Bitstream-Charter.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/Bitstream-Charter.json", + "referenceNumber": 530, + "name": "Bitstream Charter Font License", + "licenseId": "Bitstream-Charter", + "seeAlso": [ + "https://fedoraproject.org/wiki/Licensing/Charter#License_Text", + "https://raw.githubusercontent.com/blackhole89/notekit/master/data/fonts/Charter%20license.txt" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/Bitstream-Vera.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/Bitstream-Vera.json", + "referenceNumber": 194, + "name": "Bitstream Vera Font License", + "licenseId": "Bitstream-Vera", + "seeAlso": [ + "https://web.archive.org/web/20080207013128/http://www.gnome.org/fonts/", + "https://docubrain.com/sites/default/files/licenses/bitstream-vera.html" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/BitTorrent-1.0.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/BitTorrent-1.0.json", + "referenceNumber": 669, + "name": "BitTorrent Open Source License v1.0", + "licenseId": "BitTorrent-1.0", + "seeAlso": [ + "http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/licenses/BitTorrent?r1\u003d1.1\u0026r2\u003d1.1.1.1\u0026diff_format\u003ds" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/BitTorrent-1.1.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/BitTorrent-1.1.json", + "referenceNumber": 583, + "name": "BitTorrent Open Source License v1.1", + "licenseId": "BitTorrent-1.1", + "seeAlso": [ + "http://directory.fsf.org/wiki/License:BitTorrentOSL1.1" + ], + "isOsiApproved": false, + "isFsfLibre": true + }, + { + "reference": "https://spdx.org/licenses/blessing.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/blessing.json", + "referenceNumber": 667, + "name": "SQLite Blessing", + "licenseId": "blessing", + "seeAlso": [ + "https://www.sqlite.org/src/artifact/e33a4df7e32d742a?ln\u003d4-9", + "https://sqlite.org/src/artifact/df5091916dbb40e6" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/BlueOak-1.0.0.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/BlueOak-1.0.0.json", + "referenceNumber": 191, + "name": "Blue Oak Model License 1.0.0", + "licenseId": "BlueOak-1.0.0", + "seeAlso": [ + "https://blueoakcouncil.org/license/1.0.0" + ], + "isOsiApproved": true + }, + { + "reference": "https://spdx.org/licenses/Boehm-GC.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/Boehm-GC.json", + "referenceNumber": 540, + "name": "Boehm-Demers-Weiser GC License", + "licenseId": "Boehm-GC", + "seeAlso": [ + "https://fedoraproject.org/wiki/Licensing:MIT#Another_Minimal_variant_(found_in_libatomic_ops)", + "https://github.com/uim/libgcroots/blob/master/COPYING", + "https://github.com/ivmai/libatomic_ops/blob/master/LICENSE" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/Boehm-GC-without-fee.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/Boehm-GC-without-fee.json", + "referenceNumber": 606, + "name": "Boehm-Demers-Weiser GC License (without fee)", + "licenseId": "Boehm-GC-without-fee", + "seeAlso": [ + "https://github.com/MariaDB/server/blob/11.6/libmysqld/lib_sql.cc" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/Borceux.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/Borceux.json", + "referenceNumber": 500, + "name": "Borceux license", + "licenseId": "Borceux", + "seeAlso": [ + "https://fedoraproject.org/wiki/Licensing/Borceux" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/Brian-Gladman-2-Clause.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/Brian-Gladman-2-Clause.json", + "referenceNumber": 582, + "name": "Brian Gladman 2-Clause License", + "licenseId": "Brian-Gladman-2-Clause", + "seeAlso": [ + "https://github.com/krb5/krb5/blob/krb5-1.21.2-final/NOTICE#L140-L156", + "https://web.mit.edu/kerberos/krb5-1.21/doc/mitK5license.html" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/Brian-Gladman-3-Clause.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/Brian-Gladman-3-Clause.json", + "referenceNumber": 360, + "name": "Brian Gladman 3-Clause License", + "licenseId": "Brian-Gladman-3-Clause", + "seeAlso": [ + "https://github.com/SWI-Prolog/packages-clib/blob/master/sha1/brg_endian.h" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/BSD-1-Clause.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/BSD-1-Clause.json", + "referenceNumber": 101, + "name": "BSD 1-Clause License", + "licenseId": "BSD-1-Clause", + "seeAlso": [ + "https://svnweb.freebsd.org/base/head/include/ifaddrs.h?revision\u003d326823" + ], + "isOsiApproved": true + }, + { + "reference": "https://spdx.org/licenses/BSD-2-Clause.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/BSD-2-Clause.json", + "referenceNumber": 61, + "name": "BSD 2-Clause \"Simplified\" License", + "licenseId": "BSD-2-Clause", + "seeAlso": [ + "https://opensource.org/licenses/BSD-2-Clause" + ], + "isOsiApproved": true, + "isFsfLibre": true + }, + { + "reference": "https://spdx.org/licenses/BSD-2-Clause-Darwin.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/BSD-2-Clause-Darwin.json", + "referenceNumber": 300, + "name": "BSD 2-Clause - Ian Darwin variant", + "licenseId": "BSD-2-Clause-Darwin", + "seeAlso": [ + "https://github.com/file/file/blob/master/COPYING" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/BSD-2-Clause-first-lines.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/BSD-2-Clause-first-lines.json", + "referenceNumber": 271, + "name": "BSD 2-Clause - first lines requirement", + "licenseId": "BSD-2-Clause-first-lines", + "seeAlso": [ + "https://github.com/krb5/krb5/blob/krb5-1.21.2-final/NOTICE#L664-L690", + "https://web.mit.edu/kerberos/krb5-1.21/doc/mitK5license.html" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/BSD-2-Clause-FreeBSD.html", + "isDeprecatedLicenseId": true, + "detailsUrl": "https://spdx.org/licenses/BSD-2-Clause-FreeBSD.json", + "referenceNumber": 388, + "name": "BSD 2-Clause FreeBSD License", + "licenseId": "BSD-2-Clause-FreeBSD", + "seeAlso": [ + "http://www.freebsd.org/copyright/freebsd-license.html" + ], + "isOsiApproved": false, + "isFsfLibre": true + }, + { + "reference": "https://spdx.org/licenses/BSD-2-Clause-NetBSD.html", + "isDeprecatedLicenseId": true, + "detailsUrl": "https://spdx.org/licenses/BSD-2-Clause-NetBSD.json", + "referenceNumber": 230, + "name": "BSD 2-Clause NetBSD License", + "licenseId": "BSD-2-Clause-NetBSD", + "seeAlso": [ + "http://www.netbsd.org/about/redistribution.html#default" + ], + "isOsiApproved": false, + "isFsfLibre": true + }, + { + "reference": "https://spdx.org/licenses/BSD-2-Clause-Patent.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/BSD-2-Clause-Patent.json", + "referenceNumber": 601, + "name": "BSD-2-Clause Plus Patent License", + "licenseId": "BSD-2-Clause-Patent", + "seeAlso": [ + "https://opensource.org/licenses/BSDplusPatent" + ], + "isOsiApproved": true + }, + { + "reference": "https://spdx.org/licenses/BSD-2-Clause-Views.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/BSD-2-Clause-Views.json", + "referenceNumber": 568, + "name": "BSD 2-Clause with views sentence", + "licenseId": "BSD-2-Clause-Views", + "seeAlso": [ + "http://www.freebsd.org/copyright/freebsd-license.html", + "https://people.freebsd.org/~ivoras/wine/patch-wine-nvidia.sh", + "https://github.com/protegeproject/protege/blob/master/license.txt" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/BSD-3-Clause.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/BSD-3-Clause.json", + "referenceNumber": 258, + "name": "BSD 3-Clause \"New\" or \"Revised\" License", + "licenseId": "BSD-3-Clause", + "seeAlso": [ + "https://opensource.org/licenses/BSD-3-Clause", + "https://www.eclipse.org/org/documents/edl-v10.php" + ], + "isOsiApproved": true, + "isFsfLibre": true + }, + { + "reference": "https://spdx.org/licenses/BSD-3-Clause-acpica.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/BSD-3-Clause-acpica.json", + "referenceNumber": 613, + "name": "BSD 3-Clause acpica variant", + "licenseId": "BSD-3-Clause-acpica", + "seeAlso": [ + "https://github.com/acpica/acpica/blob/master/source/common/acfileio.c#L119" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/BSD-3-Clause-Attribution.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/BSD-3-Clause-Attribution.json", + "referenceNumber": 511, + "name": "BSD with attribution", + "licenseId": "BSD-3-Clause-Attribution", + "seeAlso": [ + "https://fedoraproject.org/wiki/Licensing/BSD_with_Attribution" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/BSD-3-Clause-Clear.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/BSD-3-Clause-Clear.json", + "referenceNumber": 26, + "name": "BSD 3-Clause Clear License", + "licenseId": "BSD-3-Clause-Clear", + "seeAlso": [ + "http://labs.metacarta.com/license-explanation.html#license" + ], + "isOsiApproved": false, + "isFsfLibre": true + }, + { + "reference": "https://spdx.org/licenses/BSD-3-Clause-flex.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/BSD-3-Clause-flex.json", + "referenceNumber": 99, + "name": "BSD 3-Clause Flex variant", + "licenseId": "BSD-3-Clause-flex", + "seeAlso": [ + "https://github.com/westes/flex/blob/master/COPYING" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/BSD-3-Clause-HP.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/BSD-3-Clause-HP.json", + "referenceNumber": 346, + "name": "Hewlett-Packard BSD variant license", + "licenseId": "BSD-3-Clause-HP", + "seeAlso": [ + "https://github.com/zdohnal/hplip/blob/master/COPYING#L939" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/BSD-3-Clause-LBNL.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/BSD-3-Clause-LBNL.json", + "referenceNumber": 243, + "name": "Lawrence Berkeley National Labs BSD variant license", + "licenseId": "BSD-3-Clause-LBNL", + "seeAlso": [ + "https://fedoraproject.org/wiki/Licensing/LBNLBSD" + ], + "isOsiApproved": true + }, + { + "reference": "https://spdx.org/licenses/BSD-3-Clause-Modification.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/BSD-3-Clause-Modification.json", + "referenceNumber": 489, + "name": "BSD 3-Clause Modification", + "licenseId": "BSD-3-Clause-Modification", + "seeAlso": [ + "https://fedoraproject.org/wiki/Licensing:BSD#Modification_Variant" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/BSD-3-Clause-No-Military-License.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/BSD-3-Clause-No-Military-License.json", + "referenceNumber": 102, + "name": "BSD 3-Clause No Military License", + "licenseId": "BSD-3-Clause-No-Military-License", + "seeAlso": [ + "https://gitlab.syncad.com/hive/dhive/-/blob/master/LICENSE", + "https://github.com/greymass/swift-eosio/blob/master/LICENSE" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/BSD-3-Clause-No-Nuclear-License.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/BSD-3-Clause-No-Nuclear-License.json", + "referenceNumber": 545, + "name": "BSD 3-Clause No Nuclear License", + "licenseId": "BSD-3-Clause-No-Nuclear-License", + "seeAlso": [ + "http://download.oracle.com/otn-pub/java/licenses/bsd.txt" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/BSD-3-Clause-No-Nuclear-License-2014.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/BSD-3-Clause-No-Nuclear-License-2014.json", + "referenceNumber": 185, + "name": "BSD 3-Clause No Nuclear License 2014", + "licenseId": "BSD-3-Clause-No-Nuclear-License-2014", + "seeAlso": [ + "https://java.net/projects/javaeetutorial/pages/BerkeleyLicense" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/BSD-3-Clause-No-Nuclear-Warranty.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/BSD-3-Clause-No-Nuclear-Warranty.json", + "referenceNumber": 465, + "name": "BSD 3-Clause No Nuclear Warranty", + "licenseId": "BSD-3-Clause-No-Nuclear-Warranty", + "seeAlso": [ + "https://jogamp.org/git/?p\u003dgluegen.git;a\u003dblob_plain;f\u003dLICENSE.txt" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/BSD-3-Clause-Open-MPI.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/BSD-3-Clause-Open-MPI.json", + "referenceNumber": 108, + "name": "BSD 3-Clause Open MPI variant", + "licenseId": "BSD-3-Clause-Open-MPI", + "seeAlso": [ + "https://www.open-mpi.org/community/license.php", + "http://www.netlib.org/lapack/LICENSE.txt" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/BSD-3-Clause-Sun.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/BSD-3-Clause-Sun.json", + "referenceNumber": 496, + "name": "BSD 3-Clause Sun Microsystems", + "licenseId": "BSD-3-Clause-Sun", + "seeAlso": [ + "https://github.com/xmlark/msv/blob/b9316e2f2270bc1606952ea4939ec87fbba157f3/xsdlib/src/main/java/com/sun/msv/datatype/regexp/InternalImpl.java" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/BSD-4-Clause.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/BSD-4-Clause.json", + "referenceNumber": 416, + "name": "BSD 4-Clause \"Original\" or \"Old\" License", + "licenseId": "BSD-4-Clause", + "seeAlso": [ + "http://directory.fsf.org/wiki/License:BSD_4Clause" + ], + "isOsiApproved": false, + "isFsfLibre": true + }, + { + "reference": "https://spdx.org/licenses/BSD-4-Clause-Shortened.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/BSD-4-Clause-Shortened.json", + "referenceNumber": 387, + "name": "BSD 4 Clause Shortened", + "licenseId": "BSD-4-Clause-Shortened", + "seeAlso": [ + "https://metadata.ftp-master.debian.org/changelogs//main/a/arpwatch/arpwatch_2.1a15-7_copyright" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/BSD-4-Clause-UC.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/BSD-4-Clause-UC.json", + "referenceNumber": 123, + "name": "BSD-4-Clause (University of California-Specific)", + "licenseId": "BSD-4-Clause-UC", + "seeAlso": [ + "http://www.freebsd.org/copyright/license.html" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/BSD-4.3RENO.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/BSD-4.3RENO.json", + "referenceNumber": 373, + "name": "BSD 4.3 RENO License", + "licenseId": "BSD-4.3RENO", + "seeAlso": [ + "https://sourceware.org/git/?p\u003dbinutils-gdb.git;a\u003dblob;f\u003dlibiberty/strcasecmp.c;h\u003d131d81c2ce7881fa48c363dc5bf5fb302c61ce0b;hb\u003dHEAD", + "https://git.openldap.org/openldap/openldap/-/blob/master/COPYRIGHT#L55-63" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/BSD-4.3TAHOE.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/BSD-4.3TAHOE.json", + "referenceNumber": 355, + "name": "BSD 4.3 TAHOE License", + "licenseId": "BSD-4.3TAHOE", + "seeAlso": [ + "https://github.com/389ds/389-ds-base/blob/main/ldap/include/sysexits-compat.h#L15", + "https://git.savannah.gnu.org/cgit/indent.git/tree/doc/indent.texi?id\u003da74c6b4ee49397cf330b333da1042bffa60ed14f#n1788" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/BSD-Advertising-Acknowledgement.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/BSD-Advertising-Acknowledgement.json", + "referenceNumber": 488, + "name": "BSD Advertising Acknowledgement License", + "licenseId": "BSD-Advertising-Acknowledgement", + "seeAlso": [ + "https://github.com/python-excel/xlrd/blob/master/LICENSE#L33" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/BSD-Attribution-HPND-disclaimer.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/BSD-Attribution-HPND-disclaimer.json", + "referenceNumber": 69, + "name": "BSD with Attribution and HPND disclaimer", + "licenseId": "BSD-Attribution-HPND-disclaimer", + "seeAlso": [ + "https://github.com/cyrusimap/cyrus-sasl/blob/master/COPYING" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/BSD-Inferno-Nettverk.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/BSD-Inferno-Nettverk.json", + "referenceNumber": 197, + "name": "BSD-Inferno-Nettverk", + "licenseId": "BSD-Inferno-Nettverk", + "seeAlso": [ + "https://www.inet.no/dante/LICENSE" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/BSD-Protection.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/BSD-Protection.json", + "referenceNumber": 546, + "name": "BSD Protection License", + "licenseId": "BSD-Protection", + "seeAlso": [ + "https://fedoraproject.org/wiki/Licensing/BSD_Protection_License" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/BSD-Source-beginning-file.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/BSD-Source-beginning-file.json", + "referenceNumber": 421, + "name": "BSD Source Code Attribution - beginning of file variant", + "licenseId": "BSD-Source-beginning-file", + "seeAlso": [ + "https://github.com/lattera/freebsd/blob/master/sys/cam/cam.c#L4" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/BSD-Source-Code.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/BSD-Source-Code.json", + "referenceNumber": 214, + "name": "BSD Source Code Attribution", + "licenseId": "BSD-Source-Code", + "seeAlso": [ + "https://github.com/robbiehanson/CocoaHTTPServer/blob/master/LICENSE.txt" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/BSD-Systemics.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/BSD-Systemics.json", + "referenceNumber": 160, + "name": "Systemics BSD variant license", + "licenseId": "BSD-Systemics", + "seeAlso": [ + "https://metacpan.org/release/DPARIS/Crypt-DES-2.07/source/COPYRIGHT" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/BSD-Systemics-W3Works.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/BSD-Systemics-W3Works.json", + "referenceNumber": 652, + "name": "Systemics W3Works BSD variant license", + "licenseId": "BSD-Systemics-W3Works", + "seeAlso": [ + "https://metacpan.org/release/DPARIS/Crypt-Blowfish-2.14/source/COPYRIGHT#L7" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/BSL-1.0.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/BSL-1.0.json", + "referenceNumber": 272, + "name": "Boost Software License 1.0", + "licenseId": "BSL-1.0", + "seeAlso": [ + "http://www.boost.org/LICENSE_1_0.txt", + "https://opensource.org/licenses/BSL-1.0" + ], + "isOsiApproved": true, + "isFsfLibre": true + }, + { + "reference": "https://spdx.org/licenses/BUSL-1.1.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/BUSL-1.1.json", + "referenceNumber": 318, + "name": "Business Source License 1.1", + "licenseId": "BUSL-1.1", + "seeAlso": [ + "https://mariadb.com/bsl11/" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/bzip2-1.0.5.html", + "isDeprecatedLicenseId": true, + "detailsUrl": "https://spdx.org/licenses/bzip2-1.0.5.json", + "referenceNumber": 556, + "name": "bzip2 and libbzip2 License v1.0.5", + "licenseId": "bzip2-1.0.5", + "seeAlso": [ + "https://sourceware.org/bzip2/1.0.5/bzip2-manual-1.0.5.html", + "http://bzip.org/1.0.5/bzip2-manual-1.0.5.html" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/bzip2-1.0.6.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/bzip2-1.0.6.json", + "referenceNumber": 638, + "name": "bzip2 and libbzip2 License v1.0.6", + "licenseId": "bzip2-1.0.6", + "seeAlso": [ + "https://sourceware.org/git/?p\u003dbzip2.git;a\u003dblob;f\u003dLICENSE;hb\u003dbzip2-1.0.6", + "http://bzip.org/1.0.5/bzip2-manual-1.0.5.html", + "https://sourceware.org/cgit/valgrind/tree/mpi/libmpiwrap.c" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/C-UDA-1.0.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/C-UDA-1.0.json", + "referenceNumber": 345, + "name": "Computational Use of Data Agreement v1.0", + "licenseId": "C-UDA-1.0", + "seeAlso": [ + "https://github.com/microsoft/Computational-Use-of-Data-Agreement/blob/master/C-UDA-1.0.md", + "https://cdla.dev/computational-use-of-data-agreement-v1-0/" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/CAL-1.0.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/CAL-1.0.json", + "referenceNumber": 137, + "name": "Cryptographic Autonomy License 1.0", + "licenseId": "CAL-1.0", + "seeAlso": [ + "http://cryptographicautonomylicense.com/license-text.html", + "https://opensource.org/licenses/CAL-1.0" + ], + "isOsiApproved": true + }, + { + "reference": "https://spdx.org/licenses/CAL-1.0-Combined-Work-Exception.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/CAL-1.0-Combined-Work-Exception.json", + "referenceNumber": 660, + "name": "Cryptographic Autonomy License 1.0 (Combined Work Exception)", + "licenseId": "CAL-1.0-Combined-Work-Exception", + "seeAlso": [ + "http://cryptographicautonomylicense.com/license-text.html", + "https://opensource.org/licenses/CAL-1.0" + ], + "isOsiApproved": true + }, + { + "reference": "https://spdx.org/licenses/Caldera.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/Caldera.json", + "referenceNumber": 323, + "name": "Caldera License", + "licenseId": "Caldera", + "seeAlso": [ + "http://www.lemis.com/grog/UNIX/ancient-source-all.pdf" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/Caldera-no-preamble.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/Caldera-no-preamble.json", + "referenceNumber": 630, + "name": "Caldera License (without preamble)", + "licenseId": "Caldera-no-preamble", + "seeAlso": [ + "https://github.com/apache/apr/blob/trunk/LICENSE#L298C6-L298C29" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/Catharon.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/Catharon.json", + "referenceNumber": 397, + "name": "Catharon License", + "licenseId": "Catharon", + "seeAlso": [ + "https://github.com/scummvm/scummvm/blob/v2.8.0/LICENSES/CatharonLicense.txt" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/CATOSL-1.1.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/CATOSL-1.1.json", + "referenceNumber": 175, + "name": "Computer Associates Trusted Open Source License 1.1", + "licenseId": "CATOSL-1.1", + "seeAlso": [ + "https://opensource.org/licenses/CATOSL-1.1" + ], + "isOsiApproved": true + }, + { + "reference": "https://spdx.org/licenses/CC-BY-1.0.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/CC-BY-1.0.json", + "referenceNumber": 232, + "name": "Creative Commons Attribution 1.0 Generic", + "licenseId": "CC-BY-1.0", + "seeAlso": [ + "https://creativecommons.org/licenses/by/1.0/legalcode" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/CC-BY-2.0.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/CC-BY-2.0.json", + "referenceNumber": 473, + "name": "Creative Commons Attribution 2.0 Generic", + "licenseId": "CC-BY-2.0", + "seeAlso": [ + "https://creativecommons.org/licenses/by/2.0/legalcode" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/CC-BY-2.5.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/CC-BY-2.5.json", + "referenceNumber": 521, + "name": "Creative Commons Attribution 2.5 Generic", + "licenseId": "CC-BY-2.5", + "seeAlso": [ + "https://creativecommons.org/licenses/by/2.5/legalcode" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/CC-BY-2.5-AU.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/CC-BY-2.5-AU.json", + "referenceNumber": 459, + "name": "Creative Commons Attribution 2.5 Australia", + "licenseId": "CC-BY-2.5-AU", + "seeAlso": [ + "https://creativecommons.org/licenses/by/2.5/au/legalcode" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/CC-BY-3.0.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/CC-BY-3.0.json", + "referenceNumber": 107, + "name": "Creative Commons Attribution 3.0 Unported", + "licenseId": "CC-BY-3.0", + "seeAlso": [ + "https://creativecommons.org/licenses/by/3.0/legalcode" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/CC-BY-3.0-AT.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/CC-BY-3.0-AT.json", + "referenceNumber": 130, + "name": "Creative Commons Attribution 3.0 Austria", + "licenseId": "CC-BY-3.0-AT", + "seeAlso": [ + "https://creativecommons.org/licenses/by/3.0/at/legalcode" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/CC-BY-3.0-AU.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/CC-BY-3.0-AU.json", + "referenceNumber": 256, + "name": "Creative Commons Attribution 3.0 Australia", + "licenseId": "CC-BY-3.0-AU", + "seeAlso": [ + "https://creativecommons.org/licenses/by/3.0/au/legalcode" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/CC-BY-3.0-DE.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/CC-BY-3.0-DE.json", + "referenceNumber": 91, + "name": "Creative Commons Attribution 3.0 Germany", + "licenseId": "CC-BY-3.0-DE", + "seeAlso": [ + "https://creativecommons.org/licenses/by/3.0/de/legalcode" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/CC-BY-3.0-IGO.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/CC-BY-3.0-IGO.json", + "referenceNumber": 213, + "name": "Creative Commons Attribution 3.0 IGO", + "licenseId": "CC-BY-3.0-IGO", + "seeAlso": [ + "https://creativecommons.org/licenses/by/3.0/igo/legalcode" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/CC-BY-3.0-NL.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/CC-BY-3.0-NL.json", + "referenceNumber": 402, + "name": "Creative Commons Attribution 3.0 Netherlands", + "licenseId": "CC-BY-3.0-NL", + "seeAlso": [ + "https://creativecommons.org/licenses/by/3.0/nl/legalcode" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/CC-BY-3.0-US.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/CC-BY-3.0-US.json", + "referenceNumber": 275, + "name": "Creative Commons Attribution 3.0 United States", + "licenseId": "CC-BY-3.0-US", + "seeAlso": [ + "https://creativecommons.org/licenses/by/3.0/us/legalcode" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/CC-BY-4.0.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/CC-BY-4.0.json", + "referenceNumber": 494, + "name": "Creative Commons Attribution 4.0 International", + "licenseId": "CC-BY-4.0", + "seeAlso": [ + "https://creativecommons.org/licenses/by/4.0/legalcode" + ], + "isOsiApproved": false, + "isFsfLibre": true + }, + { + "reference": "https://spdx.org/licenses/CC-BY-NC-1.0.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/CC-BY-NC-1.0.json", + "referenceNumber": 414, + "name": "Creative Commons Attribution Non Commercial 1.0 Generic", + "licenseId": "CC-BY-NC-1.0", + "seeAlso": [ + "https://creativecommons.org/licenses/by-nc/1.0/legalcode" + ], + "isOsiApproved": false, + "isFsfLibre": false + }, + { + "reference": "https://spdx.org/licenses/CC-BY-NC-2.0.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/CC-BY-NC-2.0.json", + "referenceNumber": 57, + "name": "Creative Commons Attribution Non Commercial 2.0 Generic", + "licenseId": "CC-BY-NC-2.0", + "seeAlso": [ + "https://creativecommons.org/licenses/by-nc/2.0/legalcode" + ], + "isOsiApproved": false, + "isFsfLibre": false + }, + { + "reference": "https://spdx.org/licenses/CC-BY-NC-2.5.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/CC-BY-NC-2.5.json", + "referenceNumber": 332, + "name": "Creative Commons Attribution Non Commercial 2.5 Generic", + "licenseId": "CC-BY-NC-2.5", + "seeAlso": [ + "https://creativecommons.org/licenses/by-nc/2.5/legalcode" + ], + "isOsiApproved": false, + "isFsfLibre": false + }, + { + "reference": "https://spdx.org/licenses/CC-BY-NC-3.0.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/CC-BY-NC-3.0.json", + "referenceNumber": 226, + "name": "Creative Commons Attribution Non Commercial 3.0 Unported", + "licenseId": "CC-BY-NC-3.0", + "seeAlso": [ + "https://creativecommons.org/licenses/by-nc/3.0/legalcode" + ], + "isOsiApproved": false, + "isFsfLibre": false + }, + { + "reference": "https://spdx.org/licenses/CC-BY-NC-3.0-DE.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/CC-BY-NC-3.0-DE.json", + "referenceNumber": 204, + "name": "Creative Commons Attribution Non Commercial 3.0 Germany", + "licenseId": "CC-BY-NC-3.0-DE", + "seeAlso": [ + "https://creativecommons.org/licenses/by-nc/3.0/de/legalcode" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/CC-BY-NC-4.0.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/CC-BY-NC-4.0.json", + "referenceNumber": 464, + "name": "Creative Commons Attribution Non Commercial 4.0 International", + "licenseId": "CC-BY-NC-4.0", + "seeAlso": [ + "https://creativecommons.org/licenses/by-nc/4.0/legalcode" + ], + "isOsiApproved": false, + "isFsfLibre": false + }, + { + "reference": "https://spdx.org/licenses/CC-BY-NC-ND-1.0.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/CC-BY-NC-ND-1.0.json", + "referenceNumber": 190, + "name": "Creative Commons Attribution Non Commercial No Derivatives 1.0 Generic", + "licenseId": "CC-BY-NC-ND-1.0", + "seeAlso": [ + "https://creativecommons.org/licenses/by-nd-nc/1.0/legalcode" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/CC-BY-NC-ND-2.0.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/CC-BY-NC-ND-2.0.json", + "referenceNumber": 242, + "name": "Creative Commons Attribution Non Commercial No Derivatives 2.0 Generic", + "licenseId": "CC-BY-NC-ND-2.0", + "seeAlso": [ + "https://creativecommons.org/licenses/by-nc-nd/2.0/legalcode" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/CC-BY-NC-ND-2.5.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/CC-BY-NC-ND-2.5.json", + "referenceNumber": 358, + "name": "Creative Commons Attribution Non Commercial No Derivatives 2.5 Generic", + "licenseId": "CC-BY-NC-ND-2.5", + "seeAlso": [ + "https://creativecommons.org/licenses/by-nc-nd/2.5/legalcode" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/CC-BY-NC-ND-3.0.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/CC-BY-NC-ND-3.0.json", + "referenceNumber": 51, + "name": "Creative Commons Attribution Non Commercial No Derivatives 3.0 Unported", + "licenseId": "CC-BY-NC-ND-3.0", + "seeAlso": [ + "https://creativecommons.org/licenses/by-nc-nd/3.0/legalcode" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/CC-BY-NC-ND-3.0-DE.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/CC-BY-NC-ND-3.0-DE.json", + "referenceNumber": 676, + "name": "Creative Commons Attribution Non Commercial No Derivatives 3.0 Germany", + "licenseId": "CC-BY-NC-ND-3.0-DE", + "seeAlso": [ + "https://creativecommons.org/licenses/by-nc-nd/3.0/de/legalcode" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/CC-BY-NC-ND-3.0-IGO.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/CC-BY-NC-ND-3.0-IGO.json", + "referenceNumber": 109, + "name": "Creative Commons Attribution Non Commercial No Derivatives 3.0 IGO", + "licenseId": "CC-BY-NC-ND-3.0-IGO", + "seeAlso": [ + "https://creativecommons.org/licenses/by-nc-nd/3.0/igo/legalcode" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/CC-BY-NC-ND-4.0.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/CC-BY-NC-ND-4.0.json", + "referenceNumber": 184, + "name": "Creative Commons Attribution Non Commercial No Derivatives 4.0 International", + "licenseId": "CC-BY-NC-ND-4.0", + "seeAlso": [ + "https://creativecommons.org/licenses/by-nc-nd/4.0/legalcode" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/CC-BY-NC-SA-1.0.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/CC-BY-NC-SA-1.0.json", + "referenceNumber": 650, + "name": "Creative Commons Attribution Non Commercial Share Alike 1.0 Generic", + "licenseId": "CC-BY-NC-SA-1.0", + "seeAlso": [ + "https://creativecommons.org/licenses/by-nc-sa/1.0/legalcode" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/CC-BY-NC-SA-2.0.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/CC-BY-NC-SA-2.0.json", + "referenceNumber": 2, + "name": "Creative Commons Attribution Non Commercial Share Alike 2.0 Generic", + "licenseId": "CC-BY-NC-SA-2.0", + "seeAlso": [ + "https://creativecommons.org/licenses/by-nc-sa/2.0/legalcode" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/CC-BY-NC-SA-2.0-DE.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/CC-BY-NC-SA-2.0-DE.json", + "referenceNumber": 310, + "name": "Creative Commons Attribution Non Commercial Share Alike 2.0 Germany", + "licenseId": "CC-BY-NC-SA-2.0-DE", + "seeAlso": [ + "https://creativecommons.org/licenses/by-nc-sa/2.0/de/legalcode" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/CC-BY-NC-SA-2.0-FR.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/CC-BY-NC-SA-2.0-FR.json", + "referenceNumber": 264, + "name": "Creative Commons Attribution-NonCommercial-ShareAlike 2.0 France", + "licenseId": "CC-BY-NC-SA-2.0-FR", + "seeAlso": [ + "https://creativecommons.org/licenses/by-nc-sa/2.0/fr/legalcode" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/CC-BY-NC-SA-2.0-UK.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/CC-BY-NC-SA-2.0-UK.json", + "referenceNumber": 70, + "name": "Creative Commons Attribution Non Commercial Share Alike 2.0 England and Wales", + "licenseId": "CC-BY-NC-SA-2.0-UK", + "seeAlso": [ + "https://creativecommons.org/licenses/by-nc-sa/2.0/uk/legalcode" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/CC-BY-NC-SA-2.5.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/CC-BY-NC-SA-2.5.json", + "referenceNumber": 148, + "name": "Creative Commons Attribution Non Commercial Share Alike 2.5 Generic", + "licenseId": "CC-BY-NC-SA-2.5", + "seeAlso": [ + "https://creativecommons.org/licenses/by-nc-sa/2.5/legalcode" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/CC-BY-NC-SA-3.0.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/CC-BY-NC-SA-3.0.json", + "referenceNumber": 572, + "name": "Creative Commons Attribution Non Commercial Share Alike 3.0 Unported", + "licenseId": "CC-BY-NC-SA-3.0", + "seeAlso": [ + "https://creativecommons.org/licenses/by-nc-sa/3.0/legalcode" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/CC-BY-NC-SA-3.0-DE.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/CC-BY-NC-SA-3.0-DE.json", + "referenceNumber": 625, + "name": "Creative Commons Attribution Non Commercial Share Alike 3.0 Germany", + "licenseId": "CC-BY-NC-SA-3.0-DE", + "seeAlso": [ + "https://creativecommons.org/licenses/by-nc-sa/3.0/de/legalcode" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/CC-BY-NC-SA-3.0-IGO.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/CC-BY-NC-SA-3.0-IGO.json", + "referenceNumber": 239, + "name": "Creative Commons Attribution Non Commercial Share Alike 3.0 IGO", + "licenseId": "CC-BY-NC-SA-3.0-IGO", + "seeAlso": [ + "https://creativecommons.org/licenses/by-nc-sa/3.0/igo/legalcode" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/CC-BY-NC-SA-4.0.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/CC-BY-NC-SA-4.0.json", + "referenceNumber": 437, + "name": "Creative Commons Attribution Non Commercial Share Alike 4.0 International", + "licenseId": "CC-BY-NC-SA-4.0", + "seeAlso": [ + "https://creativecommons.org/licenses/by-nc-sa/4.0/legalcode" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/CC-BY-ND-1.0.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/CC-BY-ND-1.0.json", + "referenceNumber": 337, + "name": "Creative Commons Attribution No Derivatives 1.0 Generic", + "licenseId": "CC-BY-ND-1.0", + "seeAlso": [ + "https://creativecommons.org/licenses/by-nd/1.0/legalcode" + ], + "isOsiApproved": false, + "isFsfLibre": false + }, + { + "reference": "https://spdx.org/licenses/CC-BY-ND-2.0.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/CC-BY-ND-2.0.json", + "referenceNumber": 293, + "name": "Creative Commons Attribution No Derivatives 2.0 Generic", + "licenseId": "CC-BY-ND-2.0", + "seeAlso": [ + "https://creativecommons.org/licenses/by-nd/2.0/legalcode" + ], + "isOsiApproved": false, + "isFsfLibre": false + }, + { + "reference": "https://spdx.org/licenses/CC-BY-ND-2.5.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/CC-BY-ND-2.5.json", + "referenceNumber": 674, + "name": "Creative Commons Attribution No Derivatives 2.5 Generic", + "licenseId": "CC-BY-ND-2.5", + "seeAlso": [ + "https://creativecommons.org/licenses/by-nd/2.5/legalcode" + ], + "isOsiApproved": false, + "isFsfLibre": false + }, + { + "reference": "https://spdx.org/licenses/CC-BY-ND-3.0.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/CC-BY-ND-3.0.json", + "referenceNumber": 616, + "name": "Creative Commons Attribution No Derivatives 3.0 Unported", + "licenseId": "CC-BY-ND-3.0", + "seeAlso": [ + "https://creativecommons.org/licenses/by-nd/3.0/legalcode" + ], + "isOsiApproved": false, + "isFsfLibre": false + }, + { + "reference": "https://spdx.org/licenses/CC-BY-ND-3.0-DE.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/CC-BY-ND-3.0-DE.json", + "referenceNumber": 386, + "name": "Creative Commons Attribution No Derivatives 3.0 Germany", + "licenseId": "CC-BY-ND-3.0-DE", + "seeAlso": [ + "https://creativecommons.org/licenses/by-nd/3.0/de/legalcode" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/CC-BY-ND-4.0.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/CC-BY-ND-4.0.json", + "referenceNumber": 95, + "name": "Creative Commons Attribution No Derivatives 4.0 International", + "licenseId": "CC-BY-ND-4.0", + "seeAlso": [ + "https://creativecommons.org/licenses/by-nd/4.0/legalcode" + ], + "isOsiApproved": false, + "isFsfLibre": false + }, + { + "reference": "https://spdx.org/licenses/CC-BY-SA-1.0.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/CC-BY-SA-1.0.json", + "referenceNumber": 595, + "name": "Creative Commons Attribution Share Alike 1.0 Generic", + "licenseId": "CC-BY-SA-1.0", + "seeAlso": [ + "https://creativecommons.org/licenses/by-sa/1.0/legalcode" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/CC-BY-SA-2.0.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/CC-BY-SA-2.0.json", + "referenceNumber": 534, + "name": "Creative Commons Attribution Share Alike 2.0 Generic", + "licenseId": "CC-BY-SA-2.0", + "seeAlso": [ + "https://creativecommons.org/licenses/by-sa/2.0/legalcode" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/CC-BY-SA-2.0-UK.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/CC-BY-SA-2.0-UK.json", + "referenceNumber": 267, + "name": "Creative Commons Attribution Share Alike 2.0 England and Wales", + "licenseId": "CC-BY-SA-2.0-UK", + "seeAlso": [ + "https://creativecommons.org/licenses/by-sa/2.0/uk/legalcode" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/CC-BY-SA-2.1-JP.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/CC-BY-SA-2.1-JP.json", + "referenceNumber": 18, + "name": "Creative Commons Attribution Share Alike 2.1 Japan", + "licenseId": "CC-BY-SA-2.1-JP", + "seeAlso": [ + "https://creativecommons.org/licenses/by-sa/2.1/jp/legalcode" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/CC-BY-SA-2.5.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/CC-BY-SA-2.5.json", + "referenceNumber": 617, + "name": "Creative Commons Attribution Share Alike 2.5 Generic", + "licenseId": "CC-BY-SA-2.5", + "seeAlso": [ + "https://creativecommons.org/licenses/by-sa/2.5/legalcode" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/CC-BY-SA-3.0.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/CC-BY-SA-3.0.json", + "referenceNumber": 63, + "name": "Creative Commons Attribution Share Alike 3.0 Unported", + "licenseId": "CC-BY-SA-3.0", + "seeAlso": [ + "https://creativecommons.org/licenses/by-sa/3.0/legalcode" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/CC-BY-SA-3.0-AT.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/CC-BY-SA-3.0-AT.json", + "referenceNumber": 532, + "name": "Creative Commons Attribution Share Alike 3.0 Austria", + "licenseId": "CC-BY-SA-3.0-AT", + "seeAlso": [ + "https://creativecommons.org/licenses/by-sa/3.0/at/legalcode" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/CC-BY-SA-3.0-DE.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/CC-BY-SA-3.0-DE.json", + "referenceNumber": 182, + "name": "Creative Commons Attribution Share Alike 3.0 Germany", + "licenseId": "CC-BY-SA-3.0-DE", + "seeAlso": [ + "https://creativecommons.org/licenses/by-sa/3.0/de/legalcode" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/CC-BY-SA-3.0-IGO.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/CC-BY-SA-3.0-IGO.json", + "referenceNumber": 627, + "name": "Creative Commons Attribution-ShareAlike 3.0 IGO", + "licenseId": "CC-BY-SA-3.0-IGO", + "seeAlso": [ + "https://creativecommons.org/licenses/by-sa/3.0/igo/legalcode" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/CC-BY-SA-4.0.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/CC-BY-SA-4.0.json", + "referenceNumber": 44, + "name": "Creative Commons Attribution Share Alike 4.0 International", + "licenseId": "CC-BY-SA-4.0", + "seeAlso": [ + "https://creativecommons.org/licenses/by-sa/4.0/legalcode" + ], + "isOsiApproved": false, + "isFsfLibre": true + }, + { + "reference": "https://spdx.org/licenses/CC-PDDC.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/CC-PDDC.json", + "referenceNumber": 602, + "name": "Creative Commons Public Domain Dedication and Certification", + "licenseId": "CC-PDDC", + "seeAlso": [ + "https://creativecommons.org/licenses/publicdomain/" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/CC-PDM-1.0.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/CC-PDM-1.0.json", + "referenceNumber": 565, + "name": "Creative Commons Public Domain Mark 1.0 Universal", + "licenseId": "CC-PDM-1.0", + "seeAlso": [ + "https://creativecommons.org/publicdomain/mark/1.0/", + "https://creativecommons.org/share-your-work/cclicenses/" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/CC-SA-1.0.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/CC-SA-1.0.json", + "referenceNumber": 321, + "name": "Creative Commons Share Alike 1.0 Generic", + "licenseId": "CC-SA-1.0", + "seeAlso": [ + "https://creativecommons.org/licenses/sa/1.0/legalcode" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/CC0-1.0.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/CC0-1.0.json", + "referenceNumber": 111, + "name": "Creative Commons Zero v1.0 Universal", + "licenseId": "CC0-1.0", + "seeAlso": [ + "https://creativecommons.org/publicdomain/zero/1.0/legalcode" + ], + "isOsiApproved": false, + "isFsfLibre": true + }, + { + "reference": "https://spdx.org/licenses/CDDL-1.0.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/CDDL-1.0.json", + "referenceNumber": 284, + "name": "Common Development and Distribution License 1.0", + "licenseId": "CDDL-1.0", + "seeAlso": [ + "https://opensource.org/licenses/cddl1" + ], + "isOsiApproved": true, + "isFsfLibre": true + }, + { + "reference": "https://spdx.org/licenses/CDDL-1.1.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/CDDL-1.1.json", + "referenceNumber": 198, + "name": "Common Development and Distribution License 1.1", + "licenseId": "CDDL-1.1", + "seeAlso": [ + "http://glassfish.java.net/public/CDDL+GPL_1_1.html", + "https://javaee.github.io/glassfish/LICENSE" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/CDL-1.0.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/CDL-1.0.json", + "referenceNumber": 539, + "name": "Common Documentation License 1.0", + "licenseId": "CDL-1.0", + "seeAlso": [ + "http://www.opensource.apple.com/cdl/", + "https://fedoraproject.org/wiki/Licensing/Common_Documentation_License", + "https://www.gnu.org/licenses/license-list.html#ACDL" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/CDLA-Permissive-1.0.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/CDLA-Permissive-1.0.json", + "referenceNumber": 524, + "name": "Community Data License Agreement Permissive 1.0", + "licenseId": "CDLA-Permissive-1.0", + "seeAlso": [ + "https://cdla.io/permissive-1-0" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/CDLA-Permissive-2.0.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/CDLA-Permissive-2.0.json", + "referenceNumber": 636, + "name": "Community Data License Agreement Permissive 2.0", + "licenseId": "CDLA-Permissive-2.0", + "seeAlso": [ + "https://cdla.dev/permissive-2-0" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/CDLA-Sharing-1.0.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/CDLA-Sharing-1.0.json", + "referenceNumber": 161, + "name": "Community Data License Agreement Sharing 1.0", + "licenseId": "CDLA-Sharing-1.0", + "seeAlso": [ + "https://cdla.io/sharing-1-0" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/CECILL-1.0.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/CECILL-1.0.json", + "referenceNumber": 66, + "name": "CeCILL Free Software License Agreement v1.0", + "licenseId": "CECILL-1.0", + "seeAlso": [ + "http://www.cecill.info/licences/Licence_CeCILL_V1-fr.html" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/CECILL-1.1.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/CECILL-1.1.json", + "referenceNumber": 343, + "name": "CeCILL Free Software License Agreement v1.1", + "licenseId": "CECILL-1.1", + "seeAlso": [ + "http://www.cecill.info/licences/Licence_CeCILL_V1.1-US.html" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/CECILL-2.0.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/CECILL-2.0.json", + "referenceNumber": 113, + "name": "CeCILL Free Software License Agreement v2.0", + "licenseId": "CECILL-2.0", + "seeAlso": [ + "http://www.cecill.info/licences/Licence_CeCILL_V2-en.html" + ], + "isOsiApproved": false, + "isFsfLibre": true + }, + { + "reference": "https://spdx.org/licenses/CECILL-2.1.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/CECILL-2.1.json", + "referenceNumber": 154, + "name": "CeCILL Free Software License Agreement v2.1", + "licenseId": "CECILL-2.1", + "seeAlso": [ + "http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.html" + ], + "isOsiApproved": true + }, + { + "reference": "https://spdx.org/licenses/CECILL-B.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/CECILL-B.json", + "referenceNumber": 657, + "name": "CeCILL-B Free Software License Agreement", + "licenseId": "CECILL-B", + "seeAlso": [ + "http://www.cecill.info/licences/Licence_CeCILL-B_V1-en.html" + ], + "isOsiApproved": false, + "isFsfLibre": true + }, + { + "reference": "https://spdx.org/licenses/CECILL-C.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/CECILL-C.json", + "referenceNumber": 276, + "name": "CeCILL-C Free Software License Agreement", + "licenseId": "CECILL-C", + "seeAlso": [ + "http://www.cecill.info/licences/Licence_CeCILL-C_V1-en.html" + ], + "isOsiApproved": false, + "isFsfLibre": true + }, + { + "reference": "https://spdx.org/licenses/CERN-OHL-1.1.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/CERN-OHL-1.1.json", + "referenceNumber": 348, + "name": "CERN Open Hardware Licence v1.1", + "licenseId": "CERN-OHL-1.1", + "seeAlso": [ + "https://www.ohwr.org/project/licenses/wikis/cern-ohl-v1.1" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/CERN-OHL-1.2.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/CERN-OHL-1.2.json", + "referenceNumber": 143, + "name": "CERN Open Hardware Licence v1.2", + "licenseId": "CERN-OHL-1.2", + "seeAlso": [ + "https://www.ohwr.org/project/licenses/wikis/cern-ohl-v1.2" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/CERN-OHL-P-2.0.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/CERN-OHL-P-2.0.json", + "referenceNumber": 422, + "name": "CERN Open Hardware Licence Version 2 - Permissive", + "licenseId": "CERN-OHL-P-2.0", + "seeAlso": [ + "https://www.ohwr.org/project/cernohl/wikis/Documents/CERN-OHL-version-2" + ], + "isOsiApproved": true + }, + { + "reference": "https://spdx.org/licenses/CERN-OHL-S-2.0.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/CERN-OHL-S-2.0.json", + "referenceNumber": 306, + "name": "CERN Open Hardware Licence Version 2 - Strongly Reciprocal", + "licenseId": "CERN-OHL-S-2.0", + "seeAlso": [ + "https://www.ohwr.org/project/cernohl/wikis/Documents/CERN-OHL-version-2" + ], + "isOsiApproved": true + }, + { + "reference": "https://spdx.org/licenses/CERN-OHL-W-2.0.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/CERN-OHL-W-2.0.json", + "referenceNumber": 268, + "name": "CERN Open Hardware Licence Version 2 - Weakly Reciprocal", + "licenseId": "CERN-OHL-W-2.0", + "seeAlso": [ + "https://www.ohwr.org/project/cernohl/wikis/Documents/CERN-OHL-version-2" + ], + "isOsiApproved": true + }, + { + "reference": "https://spdx.org/licenses/CFITSIO.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/CFITSIO.json", + "referenceNumber": 598, + "name": "CFITSIO License", + "licenseId": "CFITSIO", + "seeAlso": [ + "https://heasarc.gsfc.nasa.gov/docs/software/fitsio/c/f_user/node9.html", + "https://heasarc.gsfc.nasa.gov/docs/software/ftools/fv/doc/license.html" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/check-cvs.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/check-cvs.json", + "referenceNumber": 411, + "name": "check-cvs License", + "licenseId": "check-cvs", + "seeAlso": [ + "http://cvs.savannah.gnu.org/viewvc/cvs/ccvs/contrib/check_cvs.in?revision\u003d1.1.4.3\u0026view\u003dmarkup\u0026pathrev\u003dcvs1-11-23#l2" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/checkmk.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/checkmk.json", + "referenceNumber": 13, + "name": "Checkmk License", + "licenseId": "checkmk", + "seeAlso": [ + "https://github.com/libcheck/check/blob/master/checkmk/checkmk.in" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/ClArtistic.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/ClArtistic.json", + "referenceNumber": 236, + "name": "Clarified Artistic License", + "licenseId": "ClArtistic", + "seeAlso": [ + "http://gianluca.dellavedova.org/2011/01/03/clarified-artistic-license/", + "http://www.ncftp.com/ncftp/doc/LICENSE.txt" + ], + "isOsiApproved": false, + "isFsfLibre": true + }, + { + "reference": "https://spdx.org/licenses/Clips.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/Clips.json", + "referenceNumber": 392, + "name": "Clips License", + "licenseId": "Clips", + "seeAlso": [ + "https://github.com/DrItanium/maya/blob/master/LICENSE.CLIPS" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/CMU-Mach.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/CMU-Mach.json", + "referenceNumber": 35, + "name": "CMU Mach License", + "licenseId": "CMU-Mach", + "seeAlso": [ + "https://www.cs.cmu.edu/~410/licenses.html" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/CMU-Mach-nodoc.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/CMU-Mach-nodoc.json", + "referenceNumber": 255, + "name": "CMU Mach - no notices-in-documentation variant", + "licenseId": "CMU-Mach-nodoc", + "seeAlso": [ + "https://github.com/krb5/krb5/blob/krb5-1.21.2-final/NOTICE#L718-L728", + "https://web.mit.edu/kerberos/krb5-1.21/doc/mitK5license.html" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/CNRI-Jython.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/CNRI-Jython.json", + "referenceNumber": 270, + "name": "CNRI Jython License", + "licenseId": "CNRI-Jython", + "seeAlso": [ + "http://www.jython.org/license.html" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/CNRI-Python.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/CNRI-Python.json", + "referenceNumber": 287, + "name": "CNRI Python License", + "licenseId": "CNRI-Python", + "seeAlso": [ + "https://opensource.org/licenses/CNRI-Python" + ], + "isOsiApproved": true + }, + { + "reference": "https://spdx.org/licenses/CNRI-Python-GPL-Compatible.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/CNRI-Python-GPL-Compatible.json", + "referenceNumber": 646, + "name": "CNRI Python Open Source GPL Compatible License Agreement", + "licenseId": "CNRI-Python-GPL-Compatible", + "seeAlso": [ + "http://www.python.org/download/releases/1.6.1/download_win/" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/COIL-1.0.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/COIL-1.0.json", + "referenceNumber": 193, + "name": "Copyfree Open Innovation License", + "licenseId": "COIL-1.0", + "seeAlso": [ + "https://coil.apotheon.org/plaintext/01.0.txt" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/Community-Spec-1.0.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/Community-Spec-1.0.json", + "referenceNumber": 29, + "name": "Community Specification License 1.0", + "licenseId": "Community-Spec-1.0", + "seeAlso": [ + "https://github.com/CommunitySpecification/1.0/blob/master/1._Community_Specification_License-v1.md" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/Condor-1.1.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/Condor-1.1.json", + "referenceNumber": 274, + "name": "Condor Public License v1.1", + "licenseId": "Condor-1.1", + "seeAlso": [ + "http://research.cs.wisc.edu/condor/license.html#condor", + "http://web.archive.org/web/20111123062036/http://research.cs.wisc.edu/condor/license.html#condor" + ], + "isOsiApproved": false, + "isFsfLibre": true + }, + { + "reference": "https://spdx.org/licenses/copyleft-next-0.3.0.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/copyleft-next-0.3.0.json", + "referenceNumber": 308, + "name": "copyleft-next 0.3.0", + "licenseId": "copyleft-next-0.3.0", + "seeAlso": [ + "https://github.com/copyleft-next/copyleft-next/blob/master/Releases/copyleft-next-0.3.0" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/copyleft-next-0.3.1.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/copyleft-next-0.3.1.json", + "referenceNumber": 302, + "name": "copyleft-next 0.3.1", + "licenseId": "copyleft-next-0.3.1", + "seeAlso": [ + "https://github.com/copyleft-next/copyleft-next/blob/master/Releases/copyleft-next-0.3.1" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/Cornell-Lossless-JPEG.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/Cornell-Lossless-JPEG.json", + "referenceNumber": 176, + "name": "Cornell Lossless JPEG License", + "licenseId": "Cornell-Lossless-JPEG", + "seeAlso": [ + "https://android.googlesource.com/platform/external/dng_sdk/+/refs/heads/master/source/dng_lossless_jpeg.cpp#16", + "https://www.mssl.ucl.ac.uk/~mcrw/src/20050920/proto.h", + "https://gitlab.freedesktop.org/libopenraw/libopenraw/blob/master/lib/ljpegdecompressor.cpp#L32" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/CPAL-1.0.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/CPAL-1.0.json", + "referenceNumber": 301, + "name": "Common Public Attribution License 1.0", + "licenseId": "CPAL-1.0", + "seeAlso": [ + "https://opensource.org/licenses/CPAL-1.0" + ], + "isOsiApproved": true, + "isFsfLibre": true + }, + { + "reference": "https://spdx.org/licenses/CPL-1.0.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/CPL-1.0.json", + "referenceNumber": 41, + "name": "Common Public License 1.0", + "licenseId": "CPL-1.0", + "seeAlso": [ + "https://opensource.org/licenses/CPL-1.0" + ], + "isOsiApproved": true, + "isFsfLibre": true + }, + { + "reference": "https://spdx.org/licenses/CPOL-1.02.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/CPOL-1.02.json", + "referenceNumber": 420, + "name": "Code Project Open License 1.02", + "licenseId": "CPOL-1.02", + "seeAlso": [ + "http://www.codeproject.com/info/cpol10.aspx" + ], + "isOsiApproved": false, + "isFsfLibre": false + }, + { + "reference": "https://spdx.org/licenses/Cronyx.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/Cronyx.json", + "referenceNumber": 335, + "name": "Cronyx License", + "licenseId": "Cronyx", + "seeAlso": [ + "https://gitlab.freedesktop.org/xorg/font/alias/-/blob/master/COPYING", + "https://gitlab.freedesktop.org/xorg/font/cronyx-cyrillic/-/blob/master/COPYING", + "https://gitlab.freedesktop.org/xorg/font/misc-cyrillic/-/blob/master/COPYING", + "https://gitlab.freedesktop.org/xorg/font/screen-cyrillic/-/blob/master/COPYING" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/Crossword.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/Crossword.json", + "referenceNumber": 344, + "name": "Crossword License", + "licenseId": "Crossword", + "seeAlso": [ + "https://fedoraproject.org/wiki/Licensing/Crossword" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/CrystalStacker.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/CrystalStacker.json", + "referenceNumber": 31, + "name": "CrystalStacker License", + "licenseId": "CrystalStacker", + "seeAlso": [ + "https://fedoraproject.org/wiki/Licensing:CrystalStacker?rd\u003dLicensing/CrystalStacker" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/CUA-OPL-1.0.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/CUA-OPL-1.0.json", + "referenceNumber": 151, + "name": "CUA Office Public License v1.0", + "licenseId": "CUA-OPL-1.0", + "seeAlso": [ + "https://opensource.org/licenses/CUA-OPL-1.0" + ], + "isOsiApproved": true + }, + { + "reference": "https://spdx.org/licenses/Cube.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/Cube.json", + "referenceNumber": 103, + "name": "Cube License", + "licenseId": "Cube", + "seeAlso": [ + "https://fedoraproject.org/wiki/Licensing/Cube" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/curl.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/curl.json", + "referenceNumber": 587, + "name": "curl License", + "licenseId": "curl", + "seeAlso": [ + "https://github.com/bagder/curl/blob/master/COPYING" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/cve-tou.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/cve-tou.json", + "referenceNumber": 15, + "name": "Common Vulnerability Enumeration ToU License", + "licenseId": "cve-tou", + "seeAlso": [ + "https://www.cve.org/Legal/TermsOfUse" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/D-FSL-1.0.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/D-FSL-1.0.json", + "referenceNumber": 265, + "name": "Deutsche Freie Software Lizenz", + "licenseId": "D-FSL-1.0", + "seeAlso": [ + "http://www.dipp.nrw.de/d-fsl/lizenzen/", + "http://www.dipp.nrw.de/d-fsl/index_html/lizenzen/de/D-FSL-1_0_de.txt", + "http://www.dipp.nrw.de/d-fsl/index_html/lizenzen/en/D-FSL-1_0_en.txt", + "https://www.hbz-nrw.de/produkte/open-access/lizenzen/dfsl", + "https://www.hbz-nrw.de/produkte/open-access/lizenzen/dfsl/deutsche-freie-software-lizenz", + "https://www.hbz-nrw.de/produkte/open-access/lizenzen/dfsl/german-free-software-license", + "https://www.hbz-nrw.de/produkte/open-access/lizenzen/dfsl/D-FSL-1_0_de.txt/at_download/file", + "https://www.hbz-nrw.de/produkte/open-access/lizenzen/dfsl/D-FSL-1_0_en.txt/at_download/file" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/DEC-3-Clause.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/DEC-3-Clause.json", + "referenceNumber": 460, + "name": "DEC 3-Clause License", + "licenseId": "DEC-3-Clause", + "seeAlso": [ + "https://gitlab.freedesktop.org/xorg/xserver/-/blob/master/COPYING?ref_type\u003dheads#L239" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/diffmark.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/diffmark.json", + "referenceNumber": 277, + "name": "diffmark license", + "licenseId": "diffmark", + "seeAlso": [ + "https://fedoraproject.org/wiki/Licensing/diffmark" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/DL-DE-BY-2.0.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/DL-DE-BY-2.0.json", + "referenceNumber": 141, + "name": "Data licence Germany – attribution – version 2.0", + "licenseId": "DL-DE-BY-2.0", + "seeAlso": [ + "https://www.govdata.de/dl-de/by-2-0" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/DL-DE-ZERO-2.0.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/DL-DE-ZERO-2.0.json", + "referenceNumber": 470, + "name": "Data licence Germany – zero – version 2.0", + "licenseId": "DL-DE-ZERO-2.0", + "seeAlso": [ + "https://www.govdata.de/dl-de/zero-2-0" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/DOC.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/DOC.json", + "referenceNumber": 177, + "name": "DOC License", + "licenseId": "DOC", + "seeAlso": [ + "http://www.cs.wustl.edu/~schmidt/ACE-copying.html", + "https://www.dre.vanderbilt.edu/~schmidt/ACE-copying.html" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/DocBook-Schema.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/DocBook-Schema.json", + "referenceNumber": 305, + "name": "DocBook Schema License", + "licenseId": "DocBook-Schema", + "seeAlso": [ + "https://github.com/docbook/xslt10-stylesheets/blob/efd62655c11cc8773708df7a843613fa1e932bf8/xsl/assembly/schema/docbook51b7.rnc" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/DocBook-Stylesheet.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/DocBook-Stylesheet.json", + "referenceNumber": 250, + "name": "DocBook Stylesheet License", + "licenseId": "DocBook-Stylesheet", + "seeAlso": [ + "http://www.docbook.org/xml/5.0/docbook-5.0.zip" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/DocBook-XML.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/DocBook-XML.json", + "referenceNumber": 221, + "name": "DocBook XML License", + "licenseId": "DocBook-XML", + "seeAlso": [ + "https://github.com/docbook/xslt10-stylesheets/blob/efd62655c11cc8773708df7a843613fa1e932bf8/xsl/COPYING#L27" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/Dotseqn.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/Dotseqn.json", + "referenceNumber": 456, + "name": "Dotseqn License", + "licenseId": "Dotseqn", + "seeAlso": [ + "https://fedoraproject.org/wiki/Licensing/Dotseqn" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/DRL-1.0.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/DRL-1.0.json", + "referenceNumber": 331, + "name": "Detection Rule License 1.0", + "licenseId": "DRL-1.0", + "seeAlso": [ + "https://github.com/Neo23x0/sigma/blob/master/LICENSE.Detection.Rules.md" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/DRL-1.1.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/DRL-1.1.json", + "referenceNumber": 632, + "name": "Detection Rule License 1.1", + "licenseId": "DRL-1.1", + "seeAlso": [ + "https://github.com/SigmaHQ/Detection-Rule-License/blob/6ec7fbde6101d101b5b5d1fcb8f9b69fbc76c04a/LICENSE.Detection.Rules.md" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/DSDP.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/DSDP.json", + "referenceNumber": 0, + "name": "DSDP License", + "licenseId": "DSDP", + "seeAlso": [ + "https://fedoraproject.org/wiki/Licensing/DSDP" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/dtoa.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/dtoa.json", + "referenceNumber": 124, + "name": "David M. Gay dtoa License", + "licenseId": "dtoa", + "seeAlso": [ + "https://github.com/SWI-Prolog/swipl-devel/blob/master/src/os/dtoa.c", + "https://sourceware.org/git/?p\u003dnewlib-cygwin.git;a\u003dblob;f\u003dnewlib/libc/stdlib/mprec.h;hb\u003dHEAD" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/dvipdfm.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/dvipdfm.json", + "referenceNumber": 299, + "name": "dvipdfm License", + "licenseId": "dvipdfm", + "seeAlso": [ + "https://fedoraproject.org/wiki/Licensing/dvipdfm" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/ECL-1.0.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/ECL-1.0.json", + "referenceNumber": 38, + "name": "Educational Community License v1.0", + "licenseId": "ECL-1.0", + "seeAlso": [ + "https://opensource.org/licenses/ECL-1.0" + ], + "isOsiApproved": true + }, + { + "reference": "https://spdx.org/licenses/ECL-2.0.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/ECL-2.0.json", + "referenceNumber": 174, + "name": "Educational Community License v2.0", + "licenseId": "ECL-2.0", + "seeAlso": [ + "https://opensource.org/licenses/ECL-2.0" + ], + "isOsiApproved": true, + "isFsfLibre": true + }, + { + "reference": "https://spdx.org/licenses/eCos-2.0.html", + "isDeprecatedLicenseId": true, + "detailsUrl": "https://spdx.org/licenses/eCos-2.0.json", + "referenceNumber": 8, + "name": "eCos license version 2.0", + "licenseId": "eCos-2.0", + "seeAlso": [ + "https://www.gnu.org/licenses/ecos-license.html" + ], + "isOsiApproved": false, + "isFsfLibre": true + }, + { + "reference": "https://spdx.org/licenses/EFL-1.0.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/EFL-1.0.json", + "referenceNumber": 201, + "name": "Eiffel Forum License v1.0", + "licenseId": "EFL-1.0", + "seeAlso": [ + "http://www.eiffel-nice.org/license/forum.txt", + "https://opensource.org/licenses/EFL-1.0" + ], + "isOsiApproved": true + }, + { + "reference": "https://spdx.org/licenses/EFL-2.0.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/EFL-2.0.json", + "referenceNumber": 525, + "name": "Eiffel Forum License v2.0", + "licenseId": "EFL-2.0", + "seeAlso": [ + "http://www.eiffel-nice.org/license/eiffel-forum-license-2.html", + "https://opensource.org/licenses/EFL-2.0" + ], + "isOsiApproved": true, + "isFsfLibre": true + }, + { + "reference": "https://spdx.org/licenses/eGenix.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/eGenix.json", + "referenceNumber": 134, + "name": "eGenix.com Public License 1.1.0", + "licenseId": "eGenix", + "seeAlso": [ + "http://www.egenix.com/products/eGenix.com-Public-License-1.1.0.pdf", + "https://fedoraproject.org/wiki/Licensing/eGenix.com_Public_License_1.1.0" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/Elastic-2.0.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/Elastic-2.0.json", + "referenceNumber": 40, + "name": "Elastic License 2.0", + "licenseId": "Elastic-2.0", + "seeAlso": [ + "https://www.elastic.co/licensing/elastic-license", + "https://github.com/elastic/elasticsearch/blob/master/licenses/ELASTIC-LICENSE-2.0.txt" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/Entessa.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/Entessa.json", + "referenceNumber": 202, + "name": "Entessa Public License v1.0", + "licenseId": "Entessa", + "seeAlso": [ + "https://opensource.org/licenses/Entessa" + ], + "isOsiApproved": true + }, + { + "reference": "https://spdx.org/licenses/EPICS.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/EPICS.json", + "referenceNumber": 165, + "name": "EPICS Open License", + "licenseId": "EPICS", + "seeAlso": [ + "https://epics.anl.gov/license/open.php" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/EPL-1.0.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/EPL-1.0.json", + "referenceNumber": 89, + "name": "Eclipse Public License 1.0", + "licenseId": "EPL-1.0", + "seeAlso": [ + "http://www.eclipse.org/legal/epl-v10.html", + "https://opensource.org/licenses/EPL-1.0" + ], + "isOsiApproved": true, + "isFsfLibre": true + }, + { + "reference": "https://spdx.org/licenses/EPL-2.0.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/EPL-2.0.json", + "referenceNumber": 378, + "name": "Eclipse Public License 2.0", + "licenseId": "EPL-2.0", + "seeAlso": [ + "https://www.eclipse.org/legal/epl-2.0", + "https://www.opensource.org/licenses/EPL-2.0" + ], + "isOsiApproved": true, + "isFsfLibre": true + }, + { + "reference": "https://spdx.org/licenses/ErlPL-1.1.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/ErlPL-1.1.json", + "referenceNumber": 590, + "name": "Erlang Public License v1.1", + "licenseId": "ErlPL-1.1", + "seeAlso": [ + "http://www.erlang.org/EPLICENSE" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/etalab-2.0.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/etalab-2.0.json", + "referenceNumber": 596, + "name": "Etalab Open License 2.0", + "licenseId": "etalab-2.0", + "seeAlso": [ + "https://github.com/DISIC/politique-de-contribution-open-source/blob/master/LICENSE.pdf", + "https://raw.githubusercontent.com/DISIC/politique-de-contribution-open-source/master/LICENSE" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/EUDatagrid.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/EUDatagrid.json", + "referenceNumber": 119, + "name": "EU DataGrid Software License", + "licenseId": "EUDatagrid", + "seeAlso": [ + "http://eu-datagrid.web.cern.ch/eu-datagrid/license.html", + "https://opensource.org/licenses/EUDatagrid" + ], + "isOsiApproved": true, + "isFsfLibre": true + }, + { + "reference": "https://spdx.org/licenses/EUPL-1.0.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/EUPL-1.0.json", + "referenceNumber": 187, + "name": "European Union Public License 1.0", + "licenseId": "EUPL-1.0", + "seeAlso": [ + "http://ec.europa.eu/idabc/en/document/7330.html", + "http://ec.europa.eu/idabc/servlets/Doc027f.pdf?id\u003d31096" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/EUPL-1.1.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/EUPL-1.1.json", + "referenceNumber": 474, + "name": "European Union Public License 1.1", + "licenseId": "EUPL-1.1", + "seeAlso": [ + "https://joinup.ec.europa.eu/software/page/eupl/licence-eupl", + "https://joinup.ec.europa.eu/sites/default/files/custom-page/attachment/eupl1.1.-licence-en_0.pdf", + "https://opensource.org/licenses/EUPL-1.1" + ], + "isOsiApproved": true, + "isFsfLibre": true + }, + { + "reference": "https://spdx.org/licenses/EUPL-1.2.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/EUPL-1.2.json", + "referenceNumber": 398, + "name": "European Union Public License 1.2", + "licenseId": "EUPL-1.2", + "seeAlso": [ + "https://joinup.ec.europa.eu/page/eupl-text-11-12", + "https://joinup.ec.europa.eu/sites/default/files/custom-page/attachment/eupl_v1.2_en.pdf", + "https://joinup.ec.europa.eu/sites/default/files/custom-page/attachment/2020-03/EUPL-1.2%20EN.txt", + "https://joinup.ec.europa.eu/sites/default/files/inline-files/EUPL%20v1_2%20EN(1).txt", + "http://eur-lex.europa.eu/legal-content/EN/TXT/HTML/?uri\u003dCELEX:32017D0863", + "https://opensource.org/licenses/EUPL-1.2" + ], + "isOsiApproved": true, + "isFsfLibre": true + }, + { + "reference": "https://spdx.org/licenses/Eurosym.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/Eurosym.json", + "referenceNumber": 319, + "name": "Eurosym License", + "licenseId": "Eurosym", + "seeAlso": [ + "https://fedoraproject.org/wiki/Licensing/Eurosym" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/Fair.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/Fair.json", + "referenceNumber": 245, + "name": "Fair License", + "licenseId": "Fair", + "seeAlso": [ + "https://web.archive.org/web/20150926120323/http://fairlicense.org/", + "https://opensource.org/licenses/Fair" + ], + "isOsiApproved": true + }, + { + "reference": "https://spdx.org/licenses/FBM.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/FBM.json", + "referenceNumber": 235, + "name": "Fuzzy Bitmap License", + "licenseId": "FBM", + "seeAlso": [ + "https://github.com/SWI-Prolog/packages-xpce/blob/161a40cd82004f731ba48024f9d30af388a7edf5/src/img/gifwrite.c#L21-L26" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/FDK-AAC.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/FDK-AAC.json", + "referenceNumber": 294, + "name": "Fraunhofer FDK AAC Codec Library", + "licenseId": "FDK-AAC", + "seeAlso": [ + "https://fedoraproject.org/wiki/Licensing/FDK-AAC", + "https://directory.fsf.org/wiki/License:Fdk" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/Ferguson-Twofish.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/Ferguson-Twofish.json", + "referenceNumber": 338, + "name": "Ferguson Twofish License", + "licenseId": "Ferguson-Twofish", + "seeAlso": [ + "https://github.com/wernerd/ZRTPCPP/blob/6b3cd8e6783642292bad0c21e3e5e5ce45ff3e03/cryptcommon/twofish.c#L113C3-L127" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/Frameworx-1.0.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/Frameworx-1.0.json", + "referenceNumber": 229, + "name": "Frameworx Open License 1.0", + "licenseId": "Frameworx-1.0", + "seeAlso": [ + "https://opensource.org/licenses/Frameworx-1.0" + ], + "isOsiApproved": true + }, + { + "reference": "https://spdx.org/licenses/FreeBSD-DOC.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/FreeBSD-DOC.json", + "referenceNumber": 254, + "name": "FreeBSD Documentation License", + "licenseId": "FreeBSD-DOC", + "seeAlso": [ + "https://www.freebsd.org/copyright/freebsd-doc-license/" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/FreeImage.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/FreeImage.json", + "referenceNumber": 260, + "name": "FreeImage Public License v1.0", + "licenseId": "FreeImage", + "seeAlso": [ + "http://freeimage.sourceforge.net/freeimage-license.txt" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/FSFAP.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/FSFAP.json", + "referenceNumber": 116, + "name": "FSF All Permissive License", + "licenseId": "FSFAP", + "seeAlso": [ + "https://www.gnu.org/prep/maintain/html_node/License-Notices-for-Other-Files.html" + ], + "isOsiApproved": false, + "isFsfLibre": true + }, + { + "reference": "https://spdx.org/licenses/FSFAP-no-warranty-disclaimer.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/FSFAP-no-warranty-disclaimer.json", + "referenceNumber": 579, + "name": "FSF All Permissive License (without Warranty)", + "licenseId": "FSFAP-no-warranty-disclaimer", + "seeAlso": [ + "https://git.savannah.gnu.org/cgit/wget.git/tree/util/trunc.c?h\u003dv1.21.3\u0026id\u003d40747a11e44ced5a8ac628a41f879ced3e2ebce9#n6" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/FSFUL.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/FSFUL.json", + "referenceNumber": 578, + "name": "FSF Unlimited License", + "licenseId": "FSFUL", + "seeAlso": [ + "https://fedoraproject.org/wiki/Licensing/FSF_Unlimited_License" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/FSFULLR.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/FSFULLR.json", + "referenceNumber": 52, + "name": "FSF Unlimited License (with License Retention)", + "licenseId": "FSFULLR", + "seeAlso": [ + "https://fedoraproject.org/wiki/Licensing/FSF_Unlimited_License#License_Retention_Variant" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/FSFULLRWD.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/FSFULLRWD.json", + "referenceNumber": 199, + "name": "FSF Unlimited License (With License Retention and Warranty Disclaimer)", + "licenseId": "FSFULLRWD", + "seeAlso": [ + "https://lists.gnu.org/archive/html/autoconf/2012-04/msg00061.html" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/FTL.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/FTL.json", + "referenceNumber": 304, + "name": "Freetype Project License", + "licenseId": "FTL", + "seeAlso": [ + "http://freetype.fis.uniroma2.it/FTL.TXT", + "http://git.savannah.gnu.org/cgit/freetype/freetype2.git/tree/docs/FTL.TXT", + "http://gitlab.freedesktop.org/freetype/freetype/-/raw/master/docs/FTL.TXT" + ], + "isOsiApproved": false, + "isFsfLibre": true + }, + { + "reference": "https://spdx.org/licenses/Furuseth.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/Furuseth.json", + "referenceNumber": 563, + "name": "Furuseth License", + "licenseId": "Furuseth", + "seeAlso": [ + "https://git.openldap.org/openldap/openldap/-/blob/master/COPYRIGHT?ref_type\u003dheads#L39-51" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/fwlw.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/fwlw.json", + "referenceNumber": 81, + "name": "fwlw License", + "licenseId": "fwlw", + "seeAlso": [ + "https://mirrors.nic.cz/tex-archive/macros/latex/contrib/fwlw/README" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/GCR-docs.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/GCR-docs.json", + "referenceNumber": 135, + "name": "Gnome GCR Documentation License", + "licenseId": "GCR-docs", + "seeAlso": [ + "https://github.com/GNOME/gcr/blob/master/docs/COPYING" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/GD.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/GD.json", + "referenceNumber": 333, + "name": "GD License", + "licenseId": "GD", + "seeAlso": [ + "https://libgd.github.io/manuals/2.3.0/files/license-txt.html" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/generic-xts.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/generic-xts.json", + "referenceNumber": 476, + "name": "Generic XTS License", + "licenseId": "generic-xts", + "seeAlso": [ + "https://github.com/mhogomchungu/zuluCrypt/blob/master/external_libraries/tcplay/generic_xts.c" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/GFDL-1.1.html", + "isDeprecatedLicenseId": true, + "detailsUrl": "https://spdx.org/licenses/GFDL-1.1.json", + "referenceNumber": 279, + "name": "GNU Free Documentation License v1.1", + "licenseId": "GFDL-1.1", + "seeAlso": [ + "https://www.gnu.org/licenses/old-licenses/fdl-1.1.txt" + ], + "isOsiApproved": false, + "isFsfLibre": true + }, + { + "reference": "https://spdx.org/licenses/GFDL-1.1-invariants-only.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/GFDL-1.1-invariants-only.json", + "referenceNumber": 452, + "name": "GNU Free Documentation License v1.1 only - invariants", + "licenseId": "GFDL-1.1-invariants-only", + "seeAlso": [ + "https://www.gnu.org/licenses/old-licenses/fdl-1.1.txt" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/GFDL-1.1-invariants-or-later.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/GFDL-1.1-invariants-or-later.json", + "referenceNumber": 153, + "name": "GNU Free Documentation License v1.1 or later - invariants", + "licenseId": "GFDL-1.1-invariants-or-later", + "seeAlso": [ + "https://www.gnu.org/licenses/old-licenses/fdl-1.1.txt" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/GFDL-1.1-no-invariants-only.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/GFDL-1.1-no-invariants-only.json", + "referenceNumber": 215, + "name": "GNU Free Documentation License v1.1 only - no invariants", + "licenseId": "GFDL-1.1-no-invariants-only", + "seeAlso": [ + "https://www.gnu.org/licenses/old-licenses/fdl-1.1.txt" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/GFDL-1.1-no-invariants-or-later.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/GFDL-1.1-no-invariants-or-later.json", + "referenceNumber": 626, + "name": "GNU Free Documentation License v1.1 or later - no invariants", + "licenseId": "GFDL-1.1-no-invariants-or-later", + "seeAlso": [ + "https://www.gnu.org/licenses/old-licenses/fdl-1.1.txt" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/GFDL-1.1-only.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/GFDL-1.1-only.json", + "referenceNumber": 610, + "name": "GNU Free Documentation License v1.1 only", + "licenseId": "GFDL-1.1-only", + "seeAlso": [ + "https://www.gnu.org/licenses/old-licenses/fdl-1.1.txt" + ], + "isOsiApproved": false, + "isFsfLibre": true + }, + { + "reference": "https://spdx.org/licenses/GFDL-1.1-or-later.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/GFDL-1.1-or-later.json", + "referenceNumber": 162, + "name": "GNU Free Documentation License v1.1 or later", + "licenseId": "GFDL-1.1-or-later", + "seeAlso": [ + "https://www.gnu.org/licenses/old-licenses/fdl-1.1.txt" + ], + "isOsiApproved": false, + "isFsfLibre": true + }, + { + "reference": "https://spdx.org/licenses/GFDL-1.2.html", + "isDeprecatedLicenseId": true, + "detailsUrl": "https://spdx.org/licenses/GFDL-1.2.json", + "referenceNumber": 643, + "name": "GNU Free Documentation License v1.2", + "licenseId": "GFDL-1.2", + "seeAlso": [ + "https://www.gnu.org/licenses/old-licenses/fdl-1.2.txt" + ], + "isOsiApproved": false, + "isFsfLibre": true + }, + { + "reference": "https://spdx.org/licenses/GFDL-1.2-invariants-only.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/GFDL-1.2-invariants-only.json", + "referenceNumber": 200, + "name": "GNU Free Documentation License v1.2 only - invariants", + "licenseId": "GFDL-1.2-invariants-only", + "seeAlso": [ + "https://www.gnu.org/licenses/old-licenses/fdl-1.2.txt" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/GFDL-1.2-invariants-or-later.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/GFDL-1.2-invariants-or-later.json", + "referenceNumber": 357, + "name": "GNU Free Documentation License v1.2 or later - invariants", + "licenseId": "GFDL-1.2-invariants-or-later", + "seeAlso": [ + "https://www.gnu.org/licenses/old-licenses/fdl-1.2.txt" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/GFDL-1.2-no-invariants-only.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/GFDL-1.2-no-invariants-only.json", + "referenceNumber": 42, + "name": "GNU Free Documentation License v1.2 only - no invariants", + "licenseId": "GFDL-1.2-no-invariants-only", + "seeAlso": [ + "https://www.gnu.org/licenses/old-licenses/fdl-1.2.txt" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/GFDL-1.2-no-invariants-or-later.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/GFDL-1.2-no-invariants-or-later.json", + "referenceNumber": 329, + "name": "GNU Free Documentation License v1.2 or later - no invariants", + "licenseId": "GFDL-1.2-no-invariants-or-later", + "seeAlso": [ + "https://www.gnu.org/licenses/old-licenses/fdl-1.2.txt" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/GFDL-1.2-only.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/GFDL-1.2-only.json", + "referenceNumber": 663, + "name": "GNU Free Documentation License v1.2 only", + "licenseId": "GFDL-1.2-only", + "seeAlso": [ + "https://www.gnu.org/licenses/old-licenses/fdl-1.2.txt" + ], + "isOsiApproved": false, + "isFsfLibre": true + }, + { + "reference": "https://spdx.org/licenses/GFDL-1.2-or-later.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/GFDL-1.2-or-later.json", + "referenceNumber": 436, + "name": "GNU Free Documentation License v1.2 or later", + "licenseId": "GFDL-1.2-or-later", + "seeAlso": [ + "https://www.gnu.org/licenses/old-licenses/fdl-1.2.txt" + ], + "isOsiApproved": false, + "isFsfLibre": true + }, + { + "reference": "https://spdx.org/licenses/GFDL-1.3.html", + "isDeprecatedLicenseId": true, + "detailsUrl": "https://spdx.org/licenses/GFDL-1.3.json", + "referenceNumber": 379, + "name": "GNU Free Documentation License v1.3", + "licenseId": "GFDL-1.3", + "seeAlso": [ + "https://www.gnu.org/licenses/fdl-1.3.txt" + ], + "isOsiApproved": false, + "isFsfLibre": true + }, + { + "reference": "https://spdx.org/licenses/GFDL-1.3-invariants-only.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/GFDL-1.3-invariants-only.json", + "referenceNumber": 555, + "name": "GNU Free Documentation License v1.3 only - invariants", + "licenseId": "GFDL-1.3-invariants-only", + "seeAlso": [ + "https://www.gnu.org/licenses/fdl-1.3.txt" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/GFDL-1.3-invariants-or-later.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/GFDL-1.3-invariants-or-later.json", + "referenceNumber": 504, + "name": "GNU Free Documentation License v1.3 or later - invariants", + "licenseId": "GFDL-1.3-invariants-or-later", + "seeAlso": [ + "https://www.gnu.org/licenses/fdl-1.3.txt" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/GFDL-1.3-no-invariants-only.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/GFDL-1.3-no-invariants-only.json", + "referenceNumber": 5, + "name": "GNU Free Documentation License v1.3 only - no invariants", + "licenseId": "GFDL-1.3-no-invariants-only", + "seeAlso": [ + "https://www.gnu.org/licenses/fdl-1.3.txt" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/GFDL-1.3-no-invariants-or-later.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/GFDL-1.3-no-invariants-or-later.json", + "referenceNumber": 528, + "name": "GNU Free Documentation License v1.3 or later - no invariants", + "licenseId": "GFDL-1.3-no-invariants-or-later", + "seeAlso": [ + "https://www.gnu.org/licenses/fdl-1.3.txt" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/GFDL-1.3-only.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/GFDL-1.3-only.json", + "referenceNumber": 311, + "name": "GNU Free Documentation License v1.3 only", + "licenseId": "GFDL-1.3-only", + "seeAlso": [ + "https://www.gnu.org/licenses/fdl-1.3.txt" + ], + "isOsiApproved": false, + "isFsfLibre": true + }, + { + "reference": "https://spdx.org/licenses/GFDL-1.3-or-later.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/GFDL-1.3-or-later.json", + "referenceNumber": 142, + "name": "GNU Free Documentation License v1.3 or later", + "licenseId": "GFDL-1.3-or-later", + "seeAlso": [ + "https://www.gnu.org/licenses/fdl-1.3.txt" + ], + "isOsiApproved": false, + "isFsfLibre": true + }, + { + "reference": "https://spdx.org/licenses/Giftware.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/Giftware.json", + "referenceNumber": 656, + "name": "Giftware License", + "licenseId": "Giftware", + "seeAlso": [ + "http://liballeg.org/license.html#allegro-4-the-giftware-license" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/GL2PS.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/GL2PS.json", + "referenceNumber": 639, + "name": "GL2PS License", + "licenseId": "GL2PS", + "seeAlso": [ + "http://www.geuz.org/gl2ps/COPYING.GL2PS" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/Glide.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/Glide.json", + "referenceNumber": 203, + "name": "3dfx Glide License", + "licenseId": "Glide", + "seeAlso": [ + "http://www.users.on.net/~triforce/glidexp/COPYING.txt" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/Glulxe.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/Glulxe.json", + "referenceNumber": 483, + "name": "Glulxe License", + "licenseId": "Glulxe", + "seeAlso": [ + "https://fedoraproject.org/wiki/Licensing/Glulxe" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/GLWTPL.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/GLWTPL.json", + "referenceNumber": 9, + "name": "Good Luck With That Public License", + "licenseId": "GLWTPL", + "seeAlso": [ + "https://github.com/me-shaon/GLWTPL/commit/da5f6bc734095efbacb442c0b31e33a65b9d6e85" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/gnuplot.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/gnuplot.json", + "referenceNumber": 389, + "name": "gnuplot License", + "licenseId": "gnuplot", + "seeAlso": [ + "https://fedoraproject.org/wiki/Licensing/Gnuplot" + ], + "isOsiApproved": false, + "isFsfLibre": true + }, + { + "reference": "https://spdx.org/licenses/GPL-1.0.html", + "isDeprecatedLicenseId": true, + "detailsUrl": "https://spdx.org/licenses/GPL-1.0.json", + "referenceNumber": 227, + "name": "GNU General Public License v1.0 only", + "licenseId": "GPL-1.0", + "seeAlso": [ + "https://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/GPL-1.0+.html", + "isDeprecatedLicenseId": true, + "detailsUrl": "https://spdx.org/licenses/GPL-1.0+.json", + "referenceNumber": 297, + "name": "GNU General Public License v1.0 or later", + "licenseId": "GPL-1.0+", + "seeAlso": [ + "https://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/GPL-1.0-only.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/GPL-1.0-only.json", + "referenceNumber": 353, + "name": "GNU General Public License v1.0 only", + "licenseId": "GPL-1.0-only", + "seeAlso": [ + "https://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/GPL-1.0-or-later.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/GPL-1.0-or-later.json", + "referenceNumber": 376, + "name": "GNU General Public License v1.0 or later", + "licenseId": "GPL-1.0-or-later", + "seeAlso": [ + "https://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/GPL-2.0.html", + "isDeprecatedLicenseId": true, + "detailsUrl": "https://spdx.org/licenses/GPL-2.0.json", + "referenceNumber": 188, + "name": "GNU General Public License v2.0 only", + "licenseId": "GPL-2.0", + "seeAlso": [ + "https://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", + "https://opensource.org/licenses/GPL-2.0" + ], + "isOsiApproved": true, + "isFsfLibre": true + }, + { + "reference": "https://spdx.org/licenses/GPL-2.0+.html", + "isDeprecatedLicenseId": true, + "detailsUrl": "https://spdx.org/licenses/GPL-2.0+.json", + "referenceNumber": 600, + "name": "GNU General Public License v2.0 or later", + "licenseId": "GPL-2.0+", + "seeAlso": [ + "https://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", + "https://opensource.org/licenses/GPL-2.0" + ], + "isOsiApproved": true, + "isFsfLibre": true + }, + { + "reference": "https://spdx.org/licenses/GPL-2.0-only.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/GPL-2.0-only.json", + "referenceNumber": 172, + "name": "GNU General Public License v2.0 only", + "licenseId": "GPL-2.0-only", + "seeAlso": [ + "https://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", + "https://www.gnu.org/licenses/old-licenses/gpl-2.0.txt", + "https://opensource.org/licenses/GPL-2.0" + ], + "isOsiApproved": true, + "isFsfLibre": true + }, + { + "reference": "https://spdx.org/licenses/GPL-2.0-or-later.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/GPL-2.0-or-later.json", + "referenceNumber": 424, + "name": "GNU General Public License v2.0 or later", + "licenseId": "GPL-2.0-or-later", + "seeAlso": [ + "https://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", + "https://opensource.org/licenses/GPL-2.0" + ], + "isOsiApproved": true, + "isFsfLibre": true + }, + { + "reference": "https://spdx.org/licenses/GPL-2.0-with-autoconf-exception.html", + "isDeprecatedLicenseId": true, + "detailsUrl": "https://spdx.org/licenses/GPL-2.0-with-autoconf-exception.json", + "referenceNumber": 629, + "name": "GNU General Public License v2.0 w/Autoconf exception", + "licenseId": "GPL-2.0-with-autoconf-exception", + "seeAlso": [ + "http://ac-archive.sourceforge.net/doc/copyright.html" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/GPL-2.0-with-bison-exception.html", + "isDeprecatedLicenseId": true, + "detailsUrl": "https://spdx.org/licenses/GPL-2.0-with-bison-exception.json", + "referenceNumber": 37, + "name": "GNU General Public License v2.0 w/Bison exception", + "licenseId": "GPL-2.0-with-bison-exception", + "seeAlso": [ + "http://git.savannah.gnu.org/cgit/bison.git/tree/data/yacc.c?id\u003d193d7c7054ba7197b0789e14965b739162319b5e#n141" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/GPL-2.0-with-classpath-exception.html", + "isDeprecatedLicenseId": true, + "detailsUrl": "https://spdx.org/licenses/GPL-2.0-with-classpath-exception.json", + "referenceNumber": 410, + "name": "GNU General Public License v2.0 w/Classpath exception", + "licenseId": "GPL-2.0-with-classpath-exception", + "seeAlso": [ + "https://www.gnu.org/software/classpath/license.html" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/GPL-2.0-with-font-exception.html", + "isDeprecatedLicenseId": true, + "detailsUrl": "https://spdx.org/licenses/GPL-2.0-with-font-exception.json", + "referenceNumber": 548, + "name": "GNU General Public License v2.0 w/Font exception", + "licenseId": "GPL-2.0-with-font-exception", + "seeAlso": [ + "https://www.gnu.org/licenses/gpl-faq.html#FontException" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/GPL-2.0-with-GCC-exception.html", + "isDeprecatedLicenseId": true, + "detailsUrl": "https://spdx.org/licenses/GPL-2.0-with-GCC-exception.json", + "referenceNumber": 492, + "name": "GNU General Public License v2.0 w/GCC Runtime Library exception", + "licenseId": "GPL-2.0-with-GCC-exception", + "seeAlso": [ + "https://gcc.gnu.org/git/?p\u003dgcc.git;a\u003dblob;f\u003dgcc/libgcc1.c;h\u003d762f5143fc6eed57b6797c82710f3538aa52b40b;hb\u003dcb143a3ce4fb417c68f5fa2691a1b1b1053dfba9#l10" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/GPL-3.0.html", + "isDeprecatedLicenseId": true, + "detailsUrl": "https://spdx.org/licenses/GPL-3.0.json", + "referenceNumber": 671, + "name": "GNU General Public License v3.0 only", + "licenseId": "GPL-3.0", + "seeAlso": [ + "https://www.gnu.org/licenses/gpl-3.0-standalone.html", + "https://opensource.org/licenses/GPL-3.0" + ], + "isOsiApproved": true, + "isFsfLibre": true + }, + { + "reference": "https://spdx.org/licenses/GPL-3.0+.html", + "isDeprecatedLicenseId": true, + "detailsUrl": "https://spdx.org/licenses/GPL-3.0+.json", + "referenceNumber": 501, + "name": "GNU General Public License v3.0 or later", + "licenseId": "GPL-3.0+", + "seeAlso": [ + "https://www.gnu.org/licenses/gpl-3.0-standalone.html", + "https://opensource.org/licenses/GPL-3.0" + ], + "isOsiApproved": true, + "isFsfLibre": true + }, + { + "reference": "https://spdx.org/licenses/GPL-3.0-only.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/GPL-3.0-only.json", + "referenceNumber": 584, + "name": "GNU General Public License v3.0 only", + "licenseId": "GPL-3.0-only", + "seeAlso": [ + "https://www.gnu.org/licenses/gpl-3.0-standalone.html", + "https://opensource.org/licenses/GPL-3.0" + ], + "isOsiApproved": true, + "isFsfLibre": true + }, + { + "reference": "https://spdx.org/licenses/GPL-3.0-or-later.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/GPL-3.0-or-later.json", + "referenceNumber": 448, + "name": "GNU General Public License v3.0 or later", + "licenseId": "GPL-3.0-or-later", + "seeAlso": [ + "https://www.gnu.org/licenses/gpl-3.0-standalone.html", + "https://opensource.org/licenses/GPL-3.0" + ], + "isOsiApproved": true, + "isFsfLibre": true + }, + { + "reference": "https://spdx.org/licenses/GPL-3.0-with-autoconf-exception.html", + "isDeprecatedLicenseId": true, + "detailsUrl": "https://spdx.org/licenses/GPL-3.0-with-autoconf-exception.json", + "referenceNumber": 659, + "name": "GNU General Public License v3.0 w/Autoconf exception", + "licenseId": "GPL-3.0-with-autoconf-exception", + "seeAlso": [ + "https://www.gnu.org/licenses/autoconf-exception-3.0.html" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/GPL-3.0-with-GCC-exception.html", + "isDeprecatedLicenseId": true, + "detailsUrl": "https://spdx.org/licenses/GPL-3.0-with-GCC-exception.json", + "referenceNumber": 173, + "name": "GNU General Public License v3.0 w/GCC Runtime Library exception", + "licenseId": "GPL-3.0-with-GCC-exception", + "seeAlso": [ + "https://www.gnu.org/licenses/gcc-exception-3.1.html" + ], + "isOsiApproved": true + }, + { + "reference": "https://spdx.org/licenses/Graphics-Gems.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/Graphics-Gems.json", + "referenceNumber": 55, + "name": "Graphics Gems License", + "licenseId": "Graphics-Gems", + "seeAlso": [ + "https://github.com/erich666/GraphicsGems/blob/master/LICENSE.md" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/gSOAP-1.3b.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/gSOAP-1.3b.json", + "referenceNumber": 315, + "name": "gSOAP Public License v1.3b", + "licenseId": "gSOAP-1.3b", + "seeAlso": [ + "http://www.cs.fsu.edu/~engelen/license.html" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/gtkbook.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/gtkbook.json", + "referenceNumber": 361, + "name": "gtkbook License", + "licenseId": "gtkbook", + "seeAlso": [ + "https://github.com/slogan621/gtkbook", + "https://github.com/oetiker/rrdtool-1.x/blob/master/src/plbasename.c#L8-L11" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/Gutmann.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/Gutmann.json", + "referenceNumber": 146, + "name": "Gutmann License", + "licenseId": "Gutmann", + "seeAlso": [ + "https://www.cs.auckland.ac.nz/~pgut001/dumpasn1.c" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/HaskellReport.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/HaskellReport.json", + "referenceNumber": 592, + "name": "Haskell Language Report License", + "licenseId": "HaskellReport", + "seeAlso": [ + "https://fedoraproject.org/wiki/Licensing/Haskell_Language_Report_License" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/hdparm.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/hdparm.json", + "referenceNumber": 139, + "name": "hdparm License", + "licenseId": "hdparm", + "seeAlso": [ + "https://github.com/Distrotech/hdparm/blob/4517550db29a91420fb2b020349523b1b4512df2/LICENSE.TXT" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/HIDAPI.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/HIDAPI.json", + "referenceNumber": 637, + "name": "HIDAPI License", + "licenseId": "HIDAPI", + "seeAlso": [ + "https://github.com/signal11/hidapi/blob/master/LICENSE-orig.txt" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/Hippocratic-2.1.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/Hippocratic-2.1.json", + "referenceNumber": 282, + "name": "Hippocratic License 2.1", + "licenseId": "Hippocratic-2.1", + "seeAlso": [ + "https://firstdonoharm.dev/version/2/1/license.html", + "https://github.com/EthicalSource/hippocratic-license/blob/58c0e646d64ff6fbee275bfe2b9492f914e3ab2a/LICENSE.txt" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/HP-1986.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/HP-1986.json", + "referenceNumber": 156, + "name": "Hewlett-Packard 1986 License", + "licenseId": "HP-1986", + "seeAlso": [ + "https://sourceware.org/git/?p\u003dnewlib-cygwin.git;a\u003dblob;f\u003dnewlib/libc/machine/hppa/memchr.S;h\u003d1cca3e5e8867aa4bffef1f75a5c1bba25c0c441e;hb\u003dHEAD#l2" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/HP-1989.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/HP-1989.json", + "referenceNumber": 210, + "name": "Hewlett-Packard 1989 License", + "licenseId": "HP-1989", + "seeAlso": [ + "https://github.com/bleargh45/Data-UUID/blob/master/LICENSE" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/HPND.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/HPND.json", + "referenceNumber": 382, + "name": "Historical Permission Notice and Disclaimer", + "licenseId": "HPND", + "seeAlso": [ + "https://opensource.org/licenses/HPND", + "http://lists.opensource.org/pipermail/license-discuss_lists.opensource.org/2002-November/006304.html" + ], + "isOsiApproved": true, + "isFsfLibre": true + }, + { + "reference": "https://spdx.org/licenses/HPND-DEC.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/HPND-DEC.json", + "referenceNumber": 457, + "name": "Historical Permission Notice and Disclaimer - DEC variant", + "licenseId": "HPND-DEC", + "seeAlso": [ + "https://gitlab.freedesktop.org/xorg/app/xkbcomp/-/blob/master/COPYING?ref_type\u003dheads#L69" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/HPND-doc.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/HPND-doc.json", + "referenceNumber": 441, + "name": "Historical Permission Notice and Disclaimer - documentation variant", + "licenseId": "HPND-doc", + "seeAlso": [ + "https://gitlab.freedesktop.org/xorg/lib/libxext/-/blob/master/COPYING?ref_type\u003dheads#L185-197", + "https://gitlab.freedesktop.org/xorg/lib/libxtst/-/blob/master/COPYING?ref_type\u003dheads#L70-77" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/HPND-doc-sell.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/HPND-doc-sell.json", + "referenceNumber": 679, + "name": "Historical Permission Notice and Disclaimer - documentation sell variant", + "licenseId": "HPND-doc-sell", + "seeAlso": [ + "https://gitlab.freedesktop.org/xorg/lib/libxtst/-/blob/master/COPYING?ref_type\u003dheads#L108-117", + "https://gitlab.freedesktop.org/xorg/lib/libxext/-/blob/master/COPYING?ref_type\u003dheads#L153-162" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/HPND-export-US.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/HPND-export-US.json", + "referenceNumber": 157, + "name": "HPND with US Government export control warning", + "licenseId": "HPND-export-US", + "seeAlso": [ + "https://www.kermitproject.org/ck90.html#source" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/HPND-export-US-acknowledgement.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/HPND-export-US-acknowledgement.json", + "referenceNumber": 56, + "name": "HPND with US Government export control warning and acknowledgment", + "licenseId": "HPND-export-US-acknowledgement", + "seeAlso": [ + "https://github.com/krb5/krb5/blob/krb5-1.21.2-final/NOTICE#L831-L852", + "https://web.mit.edu/kerberos/krb5-1.21/doc/mitK5license.html" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/HPND-export-US-modify.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/HPND-export-US-modify.json", + "referenceNumber": 475, + "name": "HPND with US Government export control warning and modification rqmt", + "licenseId": "HPND-export-US-modify", + "seeAlso": [ + "https://github.com/krb5/krb5/blob/krb5-1.21.2-final/NOTICE#L1157-L1182", + "https://github.com/pythongssapi/k5test/blob/v0.10.3/K5TEST-LICENSE.txt" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/HPND-export2-US.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/HPND-export2-US.json", + "referenceNumber": 621, + "name": "HPND with US Government export control and 2 disclaimers", + "licenseId": "HPND-export2-US", + "seeAlso": [ + "https://github.com/krb5/krb5/blob/krb5-1.21.2-final/NOTICE#L111-L133", + "https://web.mit.edu/kerberos/krb5-1.21/doc/mitK5license.html" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/HPND-Fenneberg-Livingston.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/HPND-Fenneberg-Livingston.json", + "referenceNumber": 407, + "name": "Historical Permission Notice and Disclaimer - Fenneberg-Livingston variant", + "licenseId": "HPND-Fenneberg-Livingston", + "seeAlso": [ + "https://github.com/FreeRADIUS/freeradius-client/blob/master/COPYRIGHT#L32", + "https://github.com/radcli/radcli/blob/master/COPYRIGHT#L34" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/HPND-INRIA-IMAG.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/HPND-INRIA-IMAG.json", + "referenceNumber": 611, + "name": "Historical Permission Notice and Disclaimer - INRIA-IMAG variant", + "licenseId": "HPND-INRIA-IMAG", + "seeAlso": [ + "https://github.com/ppp-project/ppp/blob/master/pppd/ipv6cp.c#L75-L83" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/HPND-Intel.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/HPND-Intel.json", + "referenceNumber": 86, + "name": "Historical Permission Notice and Disclaimer - Intel variant", + "licenseId": "HPND-Intel", + "seeAlso": [ + "https://sourceware.org/git/?p\u003dnewlib-cygwin.git;a\u003dblob;f\u003dnewlib/libc/machine/i960/memcpy.S;hb\u003dHEAD" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/HPND-Kevlin-Henney.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/HPND-Kevlin-Henney.json", + "referenceNumber": 278, + "name": "Historical Permission Notice and Disclaimer - Kevlin Henney variant", + "licenseId": "HPND-Kevlin-Henney", + "seeAlso": [ + "https://github.com/mruby/mruby/blob/83d12f8d52522cdb7c8cc46fad34821359f453e6/mrbgems/mruby-dir/src/Win/dirent.c#L127-L140" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/HPND-Markus-Kuhn.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/HPND-Markus-Kuhn.json", + "referenceNumber": 445, + "name": "Historical Permission Notice and Disclaimer - Markus Kuhn variant", + "licenseId": "HPND-Markus-Kuhn", + "seeAlso": [ + "https://www.cl.cam.ac.uk/~mgk25/ucs/wcwidth.c", + "https://sourceware.org/git/?p\u003dbinutils-gdb.git;a\u003dblob;f\u003dreadline/readline/support/wcwidth.c;h\u003d0f5ec995796f4813abbcf4972aec0378ab74722a;hb\u003dHEAD#l55" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/HPND-merchantability-variant.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/HPND-merchantability-variant.json", + "referenceNumber": 207, + "name": "Historical Permission Notice and Disclaimer - merchantability variant", + "licenseId": "HPND-merchantability-variant", + "seeAlso": [ + "https://sourceware.org/git/?p\u003dnewlib-cygwin.git;a\u003dblob;f\u003dnewlib/libc/misc/fini.c;hb\u003dHEAD" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/HPND-MIT-disclaimer.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/HPND-MIT-disclaimer.json", + "referenceNumber": 455, + "name": "Historical Permission Notice and Disclaimer with MIT disclaimer", + "licenseId": "HPND-MIT-disclaimer", + "seeAlso": [ + "https://metacpan.org/release/NLNETLABS/Net-DNS-SEC-1.22/source/LICENSE" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/HPND-Netrek.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/HPND-Netrek.json", + "referenceNumber": 608, + "name": "Historical Permission Notice and Disclaimer - Netrek variant", + "licenseId": "HPND-Netrek", + "seeAlso": [], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/HPND-Pbmplus.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/HPND-Pbmplus.json", + "referenceNumber": 675, + "name": "Historical Permission Notice and Disclaimer - Pbmplus variant", + "licenseId": "HPND-Pbmplus", + "seeAlso": [ + "https://sourceforge.net/p/netpbm/code/HEAD/tree/super_stable/netpbm.c#l8" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/HPND-sell-MIT-disclaimer-xserver.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/HPND-sell-MIT-disclaimer-xserver.json", + "referenceNumber": 649, + "name": "Historical Permission Notice and Disclaimer - sell xserver variant with MIT disclaimer", + "licenseId": "HPND-sell-MIT-disclaimer-xserver", + "seeAlso": [ + "https://gitlab.freedesktop.org/xorg/xserver/-/blob/master/COPYING?ref_type\u003dheads#L1781" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/HPND-sell-regexpr.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/HPND-sell-regexpr.json", + "referenceNumber": 527, + "name": "Historical Permission Notice and Disclaimer - sell regexpr variant", + "licenseId": "HPND-sell-regexpr", + "seeAlso": [ + "https://gitlab.com/bacula-org/bacula/-/blob/Branch-11.0/bacula/LICENSE-FOSS?ref_type\u003dheads#L245" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/HPND-sell-variant.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/HPND-sell-variant.json", + "referenceNumber": 231, + "name": "Historical Permission Notice and Disclaimer - sell variant", + "licenseId": "HPND-sell-variant", + "seeAlso": [ + "https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/net/sunrpc/auth_gss/gss_generic_token.c?h\u003dv4.19", + "https://github.com/kfish/xsel/blob/master/COPYING" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/HPND-sell-variant-MIT-disclaimer.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/HPND-sell-variant-MIT-disclaimer.json", + "referenceNumber": 75, + "name": "HPND sell variant with MIT disclaimer", + "licenseId": "HPND-sell-variant-MIT-disclaimer", + "seeAlso": [ + "https://github.com/sigmavirus24/x11-ssh-askpass/blob/master/README" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/HPND-sell-variant-MIT-disclaimer-rev.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/HPND-sell-variant-MIT-disclaimer-rev.json", + "referenceNumber": 661, + "name": "HPND sell variant with MIT disclaimer - reverse", + "licenseId": "HPND-sell-variant-MIT-disclaimer-rev", + "seeAlso": [ + "https://github.com/sigmavirus24/x11-ssh-askpass/blob/master/dynlist.c" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/HPND-UC.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/HPND-UC.json", + "referenceNumber": 466, + "name": "Historical Permission Notice and Disclaimer - University of California variant", + "licenseId": "HPND-UC", + "seeAlso": [ + "https://core.tcl-lang.org/tk/file?name\u003dcompat/unistd.h" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/HPND-UC-export-US.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/HPND-UC-export-US.json", + "referenceNumber": 90, + "name": "Historical Permission Notice and Disclaimer - University of California, US export warning", + "licenseId": "HPND-UC-export-US", + "seeAlso": [ + "https://github.com/RTimothyEdwards/magic/blob/master/LICENSE" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/HTMLTIDY.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/HTMLTIDY.json", + "referenceNumber": 78, + "name": "HTML Tidy License", + "licenseId": "HTMLTIDY", + "seeAlso": [ + "https://github.com/htacg/tidy-html5/blob/next/README/LICENSE.md" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/IBM-pibs.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/IBM-pibs.json", + "referenceNumber": 417, + "name": "IBM PowerPC Initialization and Boot Software", + "licenseId": "IBM-pibs", + "seeAlso": [ + "http://git.denx.de/?p\u003du-boot.git;a\u003dblob;f\u003darch/powerpc/cpu/ppc4xx/miiphy.c;h\u003d297155fdafa064b955e53e9832de93bfb0cfb85b;hb\u003d9fab4bf4cc077c21e43941866f3f2c196f28670d" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/ICU.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/ICU.json", + "referenceNumber": 520, + "name": "ICU License", + "licenseId": "ICU", + "seeAlso": [ + "http://source.icu-project.org/repos/icu/icu/trunk/license.html" + ], + "isOsiApproved": true + }, + { + "reference": "https://spdx.org/licenses/IEC-Code-Components-EULA.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/IEC-Code-Components-EULA.json", + "referenceNumber": 211, + "name": "IEC Code Components End-user licence agreement", + "licenseId": "IEC-Code-Components-EULA", + "seeAlso": [ + "https://www.iec.ch/webstore/custserv/pdf/CC-EULA.pdf", + "https://www.iec.ch/CCv1", + "https://www.iec.ch/copyright" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/IJG.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/IJG.json", + "referenceNumber": 672, + "name": "Independent JPEG Group License", + "licenseId": "IJG", + "seeAlso": [ + "http://dev.w3.org/cvsweb/Amaya/libjpeg/Attic/README?rev\u003d1.2" + ], + "isOsiApproved": false, + "isFsfLibre": true + }, + { + "reference": "https://spdx.org/licenses/IJG-short.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/IJG-short.json", + "referenceNumber": 493, + "name": "Independent JPEG Group License - short", + "licenseId": "IJG-short", + "seeAlso": [ + "https://sourceforge.net/p/xmedcon/code/ci/master/tree/libs/ljpg/" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/ImageMagick.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/ImageMagick.json", + "referenceNumber": 581, + "name": "ImageMagick License", + "licenseId": "ImageMagick", + "seeAlso": [ + "http://www.imagemagick.org/script/license.php" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/iMatix.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/iMatix.json", + "referenceNumber": 129, + "name": "iMatix Standard Function Library Agreement", + "licenseId": "iMatix", + "seeAlso": [ + "http://legacy.imatix.com/html/sfl/sfl4.htm#license" + ], + "isOsiApproved": false, + "isFsfLibre": true + }, + { + "reference": "https://spdx.org/licenses/Imlib2.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/Imlib2.json", + "referenceNumber": 365, + "name": "Imlib2 License", + "licenseId": "Imlib2", + "seeAlso": [ + "http://trac.enlightenment.org/e/browser/trunk/imlib2/COPYING", + "https://git.enlightenment.org/legacy/imlib2.git/tree/COPYING" + ], + "isOsiApproved": false, + "isFsfLibre": true + }, + { + "reference": "https://spdx.org/licenses/Info-ZIP.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/Info-ZIP.json", + "referenceNumber": 10, + "name": "Info-ZIP License", + "licenseId": "Info-ZIP", + "seeAlso": [ + "http://www.info-zip.org/license.html" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/Inner-Net-2.0.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/Inner-Net-2.0.json", + "referenceNumber": 352, + "name": "Inner Net License v2.0", + "licenseId": "Inner-Net-2.0", + "seeAlso": [ + "https://fedoraproject.org/wiki/Licensing/Inner_Net_License", + "https://sourceware.org/git/?p\u003dglibc.git;a\u003dblob;f\u003dLICENSES;h\u003d530893b1dc9ea00755603c68fb36bd4fc38a7be8;hb\u003dHEAD#l207" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/InnoSetup.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/InnoSetup.json", + "referenceNumber": 19, + "name": "Inno Setup License", + "licenseId": "InnoSetup", + "seeAlso": [ + "https://github.com/jrsoftware/issrc/blob/HEAD/license.txt" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/Intel.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/Intel.json", + "referenceNumber": 462, + "name": "Intel Open Source License", + "licenseId": "Intel", + "seeAlso": [ + "https://opensource.org/licenses/Intel" + ], + "isOsiApproved": true, + "isFsfLibre": true + }, + { + "reference": "https://spdx.org/licenses/Intel-ACPI.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/Intel-ACPI.json", + "referenceNumber": 509, + "name": "Intel ACPI Software License Agreement", + "licenseId": "Intel-ACPI", + "seeAlso": [ + "https://fedoraproject.org/wiki/Licensing/Intel_ACPI_Software_License_Agreement" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/Interbase-1.0.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/Interbase-1.0.json", + "referenceNumber": 569, + "name": "Interbase Public License v1.0", + "licenseId": "Interbase-1.0", + "seeAlso": [ + "https://web.archive.org/web/20060319014854/http://info.borland.com/devsupport/interbase/opensource/IPL.html" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/IPA.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/IPA.json", + "referenceNumber": 49, + "name": "IPA Font License", + "licenseId": "IPA", + "seeAlso": [ + "https://opensource.org/licenses/IPA" + ], + "isOsiApproved": true, + "isFsfLibre": true + }, + { + "reference": "https://spdx.org/licenses/IPL-1.0.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/IPL-1.0.json", + "referenceNumber": 20, + "name": "IBM Public License v1.0", + "licenseId": "IPL-1.0", + "seeAlso": [ + "https://opensource.org/licenses/IPL-1.0" + ], + "isOsiApproved": true, + "isFsfLibre": true + }, + { + "reference": "https://spdx.org/licenses/ISC.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/ISC.json", + "referenceNumber": 593, + "name": "ISC License", + "licenseId": "ISC", + "seeAlso": [ + "https://www.isc.org/licenses/", + "https://www.isc.org/downloads/software-support-policy/isc-license/", + "https://opensource.org/licenses/ISC" + ], + "isOsiApproved": true, + "isFsfLibre": true + }, + { + "reference": "https://spdx.org/licenses/ISC-Veillard.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/ISC-Veillard.json", + "referenceNumber": 401, + "name": "ISC Veillard variant", + "licenseId": "ISC-Veillard", + "seeAlso": [ + "https://raw.githubusercontent.com/GNOME/libxml2/4c2e7c651f6c2f0d1a74f350cbda95f7df3e7017/hash.c", + "https://github.com/GNOME/libxml2/blob/master/dict.c", + "https://sourceforge.net/p/ctrio/git/ci/master/tree/README" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/Jam.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/Jam.json", + "referenceNumber": 409, + "name": "Jam License", + "licenseId": "Jam", + "seeAlso": [ + "https://www.boost.org/doc/libs/1_35_0/doc/html/jam.html", + "https://web.archive.org/web/20160330173339/https://swarm.workshop.perforce.com/files/guest/perforce_software/jam/src/README" + ], + "isOsiApproved": true + }, + { + "reference": "https://spdx.org/licenses/JasPer-2.0.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/JasPer-2.0.json", + "referenceNumber": 316, + "name": "JasPer License", + "licenseId": "JasPer-2.0", + "seeAlso": [ + "http://www.ece.uvic.ca/~mdadams/jasper/LICENSE" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/JPL-image.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/JPL-image.json", + "referenceNumber": 195, + "name": "JPL Image Use Policy", + "licenseId": "JPL-image", + "seeAlso": [ + "https://www.jpl.nasa.gov/jpl-image-use-policy" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/JPNIC.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/JPNIC.json", + "referenceNumber": 22, + "name": "Japan Network Information Center License", + "licenseId": "JPNIC", + "seeAlso": [ + "https://gitlab.isc.org/isc-projects/bind9/blob/master/COPYRIGHT#L366" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/JSON.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/JSON.json", + "referenceNumber": 662, + "name": "JSON License", + "licenseId": "JSON", + "seeAlso": [ + "http://www.json.org/license.html" + ], + "isOsiApproved": false, + "isFsfLibre": false + }, + { + "reference": "https://spdx.org/licenses/Kastrup.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/Kastrup.json", + "referenceNumber": 468, + "name": "Kastrup License", + "licenseId": "Kastrup", + "seeAlso": [ + "https://ctan.math.utah.edu/ctan/tex-archive/macros/generic/kastrup/binhex.dtx" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/Kazlib.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/Kazlib.json", + "referenceNumber": 71, + "name": "Kazlib License", + "licenseId": "Kazlib", + "seeAlso": [ + "http://git.savannah.gnu.org/cgit/kazlib.git/tree/except.c?id\u003d0062df360c2d17d57f6af19b0e444c51feb99036" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/Knuth-CTAN.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/Knuth-CTAN.json", + "referenceNumber": 505, + "name": "Knuth CTAN License", + "licenseId": "Knuth-CTAN", + "seeAlso": [ + "https://ctan.org/license/knuth" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/LAL-1.2.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/LAL-1.2.json", + "referenceNumber": 484, + "name": "Licence Art Libre 1.2", + "licenseId": "LAL-1.2", + "seeAlso": [ + "http://artlibre.org/licence/lal/licence-art-libre-12/" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/LAL-1.3.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/LAL-1.3.json", + "referenceNumber": 363, + "name": "Licence Art Libre 1.3", + "licenseId": "LAL-1.3", + "seeAlso": [ + "https://artlibre.org/" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/Latex2e.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/Latex2e.json", + "referenceNumber": 83, + "name": "Latex2e License", + "licenseId": "Latex2e", + "seeAlso": [ + "https://fedoraproject.org/wiki/Licensing/Latex2e" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/Latex2e-translated-notice.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/Latex2e-translated-notice.json", + "referenceNumber": 48, + "name": "Latex2e with translated notice permission", + "licenseId": "Latex2e-translated-notice", + "seeAlso": [ + "https://git.savannah.gnu.org/cgit/indent.git/tree/doc/indent.texi?id\u003da74c6b4ee49397cf330b333da1042bffa60ed14f#n74" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/Leptonica.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/Leptonica.json", + "referenceNumber": 391, + "name": "Leptonica License", + "licenseId": "Leptonica", + "seeAlso": [ + "https://fedoraproject.org/wiki/Licensing/Leptonica" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/LGPL-2.0.html", + "isDeprecatedLicenseId": true, + "detailsUrl": "https://spdx.org/licenses/LGPL-2.0.json", + "referenceNumber": 570, + "name": "GNU Library General Public License v2 only", + "licenseId": "LGPL-2.0", + "seeAlso": [ + "https://www.gnu.org/licenses/old-licenses/lgpl-2.0-standalone.html" + ], + "isOsiApproved": true + }, + { + "reference": "https://spdx.org/licenses/LGPL-2.0+.html", + "isDeprecatedLicenseId": true, + "detailsUrl": "https://spdx.org/licenses/LGPL-2.0+.json", + "referenceNumber": 412, + "name": "GNU Library General Public License v2 or later", + "licenseId": "LGPL-2.0+", + "seeAlso": [ + "https://www.gnu.org/licenses/old-licenses/lgpl-2.0-standalone.html" + ], + "isOsiApproved": true + }, + { + "reference": "https://spdx.org/licenses/LGPL-2.0-only.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/LGPL-2.0-only.json", + "referenceNumber": 458, + "name": "GNU Library General Public License v2 only", + "licenseId": "LGPL-2.0-only", + "seeAlso": [ + "https://www.gnu.org/licenses/old-licenses/lgpl-2.0-standalone.html" + ], + "isOsiApproved": true + }, + { + "reference": "https://spdx.org/licenses/LGPL-2.0-or-later.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/LGPL-2.0-or-later.json", + "referenceNumber": 168, + "name": "GNU Library General Public License v2 or later", + "licenseId": "LGPL-2.0-or-later", + "seeAlso": [ + "https://www.gnu.org/licenses/old-licenses/lgpl-2.0-standalone.html" + ], + "isOsiApproved": true + }, + { + "reference": "https://spdx.org/licenses/LGPL-2.1.html", + "isDeprecatedLicenseId": true, + "detailsUrl": "https://spdx.org/licenses/LGPL-2.1.json", + "referenceNumber": 224, + "name": "GNU Lesser General Public License v2.1 only", + "licenseId": "LGPL-2.1", + "seeAlso": [ + "https://www.gnu.org/licenses/old-licenses/lgpl-2.1-standalone.html", + "https://opensource.org/licenses/LGPL-2.1" + ], + "isOsiApproved": true, + "isFsfLibre": true + }, + { + "reference": "https://spdx.org/licenses/LGPL-2.1+.html", + "isDeprecatedLicenseId": true, + "detailsUrl": "https://spdx.org/licenses/LGPL-2.1+.json", + "referenceNumber": 566, + "name": "GNU Lesser General Public License v2.1 or later", + "licenseId": "LGPL-2.1+", + "seeAlso": [ + "https://www.gnu.org/licenses/old-licenses/lgpl-2.1-standalone.html", + "https://opensource.org/licenses/LGPL-2.1" + ], + "isOsiApproved": true, + "isFsfLibre": true + }, + { + "reference": "https://spdx.org/licenses/LGPL-2.1-only.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/LGPL-2.1-only.json", + "referenceNumber": 59, + "name": "GNU Lesser General Public License v2.1 only", + "licenseId": "LGPL-2.1-only", + "seeAlso": [ + "https://www.gnu.org/licenses/old-licenses/lgpl-2.1-standalone.html", + "https://opensource.org/licenses/LGPL-2.1" + ], + "isOsiApproved": true, + "isFsfLibre": true + }, + { + "reference": "https://spdx.org/licenses/LGPL-2.1-or-later.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/LGPL-2.1-or-later.json", + "referenceNumber": 97, + "name": "GNU Lesser General Public License v2.1 or later", + "licenseId": "LGPL-2.1-or-later", + "seeAlso": [ + "https://www.gnu.org/licenses/old-licenses/lgpl-2.1-standalone.html", + "https://opensource.org/licenses/LGPL-2.1" + ], + "isOsiApproved": true, + "isFsfLibre": true + }, + { + "reference": "https://spdx.org/licenses/LGPL-3.0.html", + "isDeprecatedLicenseId": true, + "detailsUrl": "https://spdx.org/licenses/LGPL-3.0.json", + "referenceNumber": 372, + "name": "GNU Lesser General Public License v3.0 only", + "licenseId": "LGPL-3.0", + "seeAlso": [ + "https://www.gnu.org/licenses/lgpl-3.0-standalone.html", + "https://www.gnu.org/licenses/lgpl+gpl-3.0.txt", + "https://opensource.org/licenses/LGPL-3.0" + ], + "isOsiApproved": true, + "isFsfLibre": true + }, + { + "reference": "https://spdx.org/licenses/LGPL-3.0+.html", + "isDeprecatedLicenseId": true, + "detailsUrl": "https://spdx.org/licenses/LGPL-3.0+.json", + "referenceNumber": 405, + "name": "GNU Lesser General Public License v3.0 or later", + "licenseId": "LGPL-3.0+", + "seeAlso": [ + "https://www.gnu.org/licenses/lgpl-3.0-standalone.html", + "https://www.gnu.org/licenses/lgpl+gpl-3.0.txt", + "https://opensource.org/licenses/LGPL-3.0" + ], + "isOsiApproved": true, + "isFsfLibre": true + }, + { + "reference": "https://spdx.org/licenses/LGPL-3.0-only.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/LGPL-3.0-only.json", + "referenceNumber": 571, + "name": "GNU Lesser General Public License v3.0 only", + "licenseId": "LGPL-3.0-only", + "seeAlso": [ + "https://www.gnu.org/licenses/lgpl-3.0-standalone.html", + "https://www.gnu.org/licenses/lgpl+gpl-3.0.txt", + "https://opensource.org/licenses/LGPL-3.0" + ], + "isOsiApproved": true, + "isFsfLibre": true + }, + { + "reference": "https://spdx.org/licenses/LGPL-3.0-or-later.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/LGPL-3.0-or-later.json", + "referenceNumber": 313, + "name": "GNU Lesser General Public License v3.0 or later", + "licenseId": "LGPL-3.0-or-later", + "seeAlso": [ + "https://www.gnu.org/licenses/lgpl-3.0-standalone.html", + "https://www.gnu.org/licenses/lgpl+gpl-3.0.txt", + "https://opensource.org/licenses/LGPL-3.0" + ], + "isOsiApproved": true, + "isFsfLibre": true + }, + { + "reference": "https://spdx.org/licenses/LGPLLR.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/LGPLLR.json", + "referenceNumber": 76, + "name": "Lesser General Public License For Linguistic Resources", + "licenseId": "LGPLLR", + "seeAlso": [ + "http://www-igm.univ-mlv.fr/~unitex/lgpllr.html" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/Libpng.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/Libpng.json", + "referenceNumber": 648, + "name": "libpng License", + "licenseId": "Libpng", + "seeAlso": [ + "http://www.libpng.org/pub/png/src/libpng-LICENSE.txt" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/libpng-2.0.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/libpng-2.0.json", + "referenceNumber": 390, + "name": "PNG Reference Library version 2", + "licenseId": "libpng-2.0", + "seeAlso": [ + "http://www.libpng.org/pub/png/src/libpng-LICENSE.txt" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/libselinux-1.0.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/libselinux-1.0.json", + "referenceNumber": 406, + "name": "libselinux public domain notice", + "licenseId": "libselinux-1.0", + "seeAlso": [ + "https://github.com/SELinuxProject/selinux/blob/master/libselinux/LICENSE" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/libtiff.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/libtiff.json", + "referenceNumber": 589, + "name": "libtiff License", + "licenseId": "libtiff", + "seeAlso": [ + "https://fedoraproject.org/wiki/Licensing/libtiff" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/libutil-David-Nugent.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/libutil-David-Nugent.json", + "referenceNumber": 218, + "name": "libutil David Nugent License", + "licenseId": "libutil-David-Nugent", + "seeAlso": [ + "http://web.mit.edu/freebsd/head/lib/libutil/login_ok.3", + "https://cgit.freedesktop.org/libbsd/tree/man/setproctitle.3bsd" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/LiLiQ-P-1.1.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/LiLiQ-P-1.1.json", + "referenceNumber": 289, + "name": "Licence Libre du Québec – Permissive version 1.1", + "licenseId": "LiLiQ-P-1.1", + "seeAlso": [ + "https://forge.gouv.qc.ca/licence/fr/liliq-v1-1/", + "http://opensource.org/licenses/LiLiQ-P-1.1" + ], + "isOsiApproved": true + }, + { + "reference": "https://spdx.org/licenses/LiLiQ-R-1.1.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/LiLiQ-R-1.1.json", + "referenceNumber": 354, + "name": "Licence Libre du Québec – Réciprocité version 1.1", + "licenseId": "LiLiQ-R-1.1", + "seeAlso": [ + "https://www.forge.gouv.qc.ca/participez/licence-logicielle/licence-libre-du-quebec-liliq-en-francais/licence-libre-du-quebec-reciprocite-liliq-r-v1-1/", + "http://opensource.org/licenses/LiLiQ-R-1.1" + ], + "isOsiApproved": true + }, + { + "reference": "https://spdx.org/licenses/LiLiQ-Rplus-1.1.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/LiLiQ-Rplus-1.1.json", + "referenceNumber": 222, + "name": "Licence Libre du Québec – Réciprocité forte version 1.1", + "licenseId": "LiLiQ-Rplus-1.1", + "seeAlso": [ + "https://www.forge.gouv.qc.ca/participez/licence-logicielle/licence-libre-du-quebec-liliq-en-francais/licence-libre-du-quebec-reciprocite-forte-liliq-r-v1-1/", + "http://opensource.org/licenses/LiLiQ-Rplus-1.1" + ], + "isOsiApproved": true + }, + { + "reference": "https://spdx.org/licenses/Linux-man-pages-1-para.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/Linux-man-pages-1-para.json", + "referenceNumber": 419, + "name": "Linux man-pages - 1 paragraph", + "licenseId": "Linux-man-pages-1-para", + "seeAlso": [ + "https://git.kernel.org/pub/scm/docs/man-pages/man-pages.git/tree/man2/getcpu.2#n4" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/Linux-man-pages-copyleft.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/Linux-man-pages-copyleft.json", + "referenceNumber": 585, + "name": "Linux man-pages Copyleft", + "licenseId": "Linux-man-pages-copyleft", + "seeAlso": [ + "https://www.kernel.org/doc/man-pages/licenses.html" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/Linux-man-pages-copyleft-2-para.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/Linux-man-pages-copyleft-2-para.json", + "referenceNumber": 633, + "name": "Linux man-pages Copyleft - 2 paragraphs", + "licenseId": "Linux-man-pages-copyleft-2-para", + "seeAlso": [ + "https://git.kernel.org/pub/scm/docs/man-pages/man-pages.git/tree/man2/move_pages.2#n5", + "https://git.kernel.org/pub/scm/docs/man-pages/man-pages.git/tree/man2/migrate_pages.2#n8" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/Linux-man-pages-copyleft-var.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/Linux-man-pages-copyleft-var.json", + "referenceNumber": 480, + "name": "Linux man-pages Copyleft Variant", + "licenseId": "Linux-man-pages-copyleft-var", + "seeAlso": [ + "https://git.kernel.org/pub/scm/docs/man-pages/man-pages.git/tree/man2/set_mempolicy.2#n5" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/Linux-OpenIB.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/Linux-OpenIB.json", + "referenceNumber": 383, + "name": "Linux Kernel Variant of OpenIB.org license", + "licenseId": "Linux-OpenIB", + "seeAlso": [ + "https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/drivers/infiniband/core/sa.h" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/LOOP.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/LOOP.json", + "referenceNumber": 132, + "name": "Common Lisp LOOP License", + "licenseId": "LOOP", + "seeAlso": [ + "https://gitlab.com/embeddable-common-lisp/ecl/-/blob/develop/src/lsp/loop.lsp", + "http://git.savannah.gnu.org/cgit/gcl.git/tree/gcl/lsp/gcl_loop.lsp?h\u003dVersion_2_6_13pre", + "https://sourceforge.net/p/sbcl/sbcl/ci/master/tree/src/code/loop.lisp", + "https://github.com/cl-adams/adams/blob/master/LICENSE.md", + "https://github.com/blakemcbride/eclipse-lisp/blob/master/lisp/loop.lisp", + "https://gitlab.common-lisp.net/cmucl/cmucl/-/blob/master/src/code/loop.lisp" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/LPD-document.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/LPD-document.json", + "referenceNumber": 341, + "name": "LPD Documentation License", + "licenseId": "LPD-document", + "seeAlso": [ + "https://github.com/Cyan4973/xxHash/blob/dev/doc/xxhash_spec.md", + "https://www.ietf.org/rfc/rfc1952.txt" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/LPL-1.0.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/LPL-1.0.json", + "referenceNumber": 537, + "name": "Lucent Public License Version 1.0", + "licenseId": "LPL-1.0", + "seeAlso": [ + "https://opensource.org/licenses/LPL-1.0" + ], + "isOsiApproved": true + }, + { + "reference": "https://spdx.org/licenses/LPL-1.02.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/LPL-1.02.json", + "referenceNumber": 269, + "name": "Lucent Public License v1.02", + "licenseId": "LPL-1.02", + "seeAlso": [ + "http://plan9.bell-labs.com/plan9/license.html", + "https://opensource.org/licenses/LPL-1.02" + ], + "isOsiApproved": true, + "isFsfLibre": true + }, + { + "reference": "https://spdx.org/licenses/LPPL-1.0.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/LPPL-1.0.json", + "referenceNumber": 653, + "name": "LaTeX Project Public License v1.0", + "licenseId": "LPPL-1.0", + "seeAlso": [ + "http://www.latex-project.org/lppl/lppl-1-0.txt" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/LPPL-1.1.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/LPPL-1.1.json", + "referenceNumber": 538, + "name": "LaTeX Project Public License v1.1", + "licenseId": "LPPL-1.1", + "seeAlso": [ + "http://www.latex-project.org/lppl/lppl-1-1.txt" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/LPPL-1.2.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/LPPL-1.2.json", + "referenceNumber": 104, + "name": "LaTeX Project Public License v1.2", + "licenseId": "LPPL-1.2", + "seeAlso": [ + "http://www.latex-project.org/lppl/lppl-1-2.txt" + ], + "isOsiApproved": false, + "isFsfLibre": true + }, + { + "reference": "https://spdx.org/licenses/LPPL-1.3a.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/LPPL-1.3a.json", + "referenceNumber": 523, + "name": "LaTeX Project Public License v1.3a", + "licenseId": "LPPL-1.3a", + "seeAlso": [ + "http://www.latex-project.org/lppl/lppl-1-3a.txt" + ], + "isOsiApproved": false, + "isFsfLibre": true + }, + { + "reference": "https://spdx.org/licenses/LPPL-1.3c.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/LPPL-1.3c.json", + "referenceNumber": 11, + "name": "LaTeX Project Public License v1.3c", + "licenseId": "LPPL-1.3c", + "seeAlso": [ + "http://www.latex-project.org/lppl/lppl-1-3c.txt", + "https://opensource.org/licenses/LPPL-1.3c" + ], + "isOsiApproved": true + }, + { + "reference": "https://spdx.org/licenses/lsof.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/lsof.json", + "referenceNumber": 259, + "name": "lsof License", + "licenseId": "lsof", + "seeAlso": [ + "https://github.com/lsof-org/lsof/blob/master/COPYING" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/Lucida-Bitmap-Fonts.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/Lucida-Bitmap-Fonts.json", + "referenceNumber": 330, + "name": "Lucida Bitmap Fonts License", + "licenseId": "Lucida-Bitmap-Fonts", + "seeAlso": [ + "https://gitlab.freedesktop.org/xorg/font/bh-100dpi/-/blob/master/COPYING?ref_type\u003dheads" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/LZMA-SDK-9.11-to-9.20.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/LZMA-SDK-9.11-to-9.20.json", + "referenceNumber": 273, + "name": "LZMA SDK License (versions 9.11 to 9.20)", + "licenseId": "LZMA-SDK-9.11-to-9.20", + "seeAlso": [ + "https://www.7-zip.org/sdk.html", + "https://sourceforge.net/projects/sevenzip/files/LZMA%20SDK/" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/LZMA-SDK-9.22.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/LZMA-SDK-9.22.json", + "referenceNumber": 446, + "name": "LZMA SDK License (versions 9.22 and beyond)", + "licenseId": "LZMA-SDK-9.22", + "seeAlso": [ + "https://www.7-zip.org/sdk.html", + "https://sourceforge.net/projects/sevenzip/files/LZMA%20SDK/" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/Mackerras-3-Clause.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/Mackerras-3-Clause.json", + "referenceNumber": 503, + "name": "Mackerras 3-Clause License", + "licenseId": "Mackerras-3-Clause", + "seeAlso": [ + "https://github.com/ppp-project/ppp/blob/master/pppd/chap_ms.c#L6-L28" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/Mackerras-3-Clause-acknowledgment.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/Mackerras-3-Clause-acknowledgment.json", + "referenceNumber": 564, + "name": "Mackerras 3-Clause - acknowledgment variant", + "licenseId": "Mackerras-3-Clause-acknowledgment", + "seeAlso": [ + "https://github.com/ppp-project/ppp/blob/master/pppd/auth.c#L6-L28" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/magaz.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/magaz.json", + "referenceNumber": 217, + "name": "magaz License", + "licenseId": "magaz", + "seeAlso": [ + "https://mirrors.nic.cz/tex-archive/macros/latex/contrib/magaz/magaz.tex" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/mailprio.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/mailprio.json", + "referenceNumber": 62, + "name": "mailprio License", + "licenseId": "mailprio", + "seeAlso": [ + "https://fossies.org/linux/sendmail/contrib/mailprio" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/MakeIndex.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/MakeIndex.json", + "referenceNumber": 291, + "name": "MakeIndex License", + "licenseId": "MakeIndex", + "seeAlso": [ + "https://fedoraproject.org/wiki/Licensing/MakeIndex" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/Martin-Birgmeier.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/Martin-Birgmeier.json", + "referenceNumber": 186, + "name": "Martin Birgmeier License", + "licenseId": "Martin-Birgmeier", + "seeAlso": [ + "https://github.com/Perl/perl5/blob/blead/util.c#L6136" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/McPhee-slideshow.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/McPhee-slideshow.json", + "referenceNumber": 189, + "name": "McPhee Slideshow License", + "licenseId": "McPhee-slideshow", + "seeAlso": [ + "https://mirror.las.iastate.edu/tex-archive/graphics/metapost/contrib/macros/slideshow/slideshow.mp" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/metamail.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/metamail.json", + "referenceNumber": 512, + "name": "metamail License", + "licenseId": "metamail", + "seeAlso": [ + "https://github.com/Dual-Life/mime-base64/blob/master/Base64.xs#L12" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/Minpack.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/Minpack.json", + "referenceNumber": 609, + "name": "Minpack License", + "licenseId": "Minpack", + "seeAlso": [ + "http://www.netlib.org/minpack/disclaimer", + "https://gitlab.com/libeigen/eigen/-/blob/master/COPYING.MINPACK" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/MIPS.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/MIPS.json", + "referenceNumber": 550, + "name": "MIPS License", + "licenseId": "MIPS", + "seeAlso": [ + "https://sourceware.org/cgit/binutils-gdb/tree/include/coff/sym.h#n11" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/MirOS.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/MirOS.json", + "referenceNumber": 16, + "name": "The MirOS Licence", + "licenseId": "MirOS", + "seeAlso": [ + "https://opensource.org/licenses/MirOS" + ], + "isOsiApproved": true + }, + { + "reference": "https://spdx.org/licenses/MIT.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/MIT.json", + "referenceNumber": 144, + "name": "MIT License", + "licenseId": "MIT", + "seeAlso": [ + "https://opensource.org/license/mit/" + ], + "isOsiApproved": true, + "isFsfLibre": true + }, + { + "reference": "https://spdx.org/licenses/MIT-0.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/MIT-0.json", + "referenceNumber": 127, + "name": "MIT No Attribution", + "licenseId": "MIT-0", + "seeAlso": [ + "https://github.com/aws/mit-0", + "https://romanrm.net/mit-zero", + "https://github.com/awsdocs/aws-cloud9-user-guide/blob/master/LICENSE-SAMPLECODE" + ], + "isOsiApproved": true + }, + { + "reference": "https://spdx.org/licenses/MIT-advertising.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/MIT-advertising.json", + "referenceNumber": 246, + "name": "Enlightenment License (e16)", + "licenseId": "MIT-advertising", + "seeAlso": [ + "https://fedoraproject.org/wiki/Licensing/MIT_With_Advertising" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/MIT-Click.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/MIT-Click.json", + "referenceNumber": 374, + "name": "MIT Click License", + "licenseId": "MIT-Click", + "seeAlso": [ + "https://github.com/kohler/t1utils/blob/master/LICENSE" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/MIT-CMU.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/MIT-CMU.json", + "referenceNumber": 469, + "name": "CMU License", + "licenseId": "MIT-CMU", + "seeAlso": [ + "https://fedoraproject.org/wiki/Licensing:MIT?rd\u003dLicensing/MIT#CMU_Style", + "https://github.com/python-pillow/Pillow/blob/fffb426092c8db24a5f4b6df243a8a3c01fb63cd/LICENSE" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/MIT-enna.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/MIT-enna.json", + "referenceNumber": 196, + "name": "enna License", + "licenseId": "MIT-enna", + "seeAlso": [ + "https://fedoraproject.org/wiki/Licensing/MIT#enna" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/MIT-feh.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/MIT-feh.json", + "referenceNumber": 223, + "name": "feh License", + "licenseId": "MIT-feh", + "seeAlso": [ + "https://fedoraproject.org/wiki/Licensing/MIT#feh" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/MIT-Festival.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/MIT-Festival.json", + "referenceNumber": 167, + "name": "MIT Festival Variant", + "licenseId": "MIT-Festival", + "seeAlso": [ + "https://github.com/festvox/flite/blob/master/COPYING", + "https://github.com/festvox/speech_tools/blob/master/COPYING" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/MIT-Khronos-old.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/MIT-Khronos-old.json", + "referenceNumber": 340, + "name": "MIT Khronos - old variant", + "licenseId": "MIT-Khronos-old", + "seeAlso": [ + "https://github.com/KhronosGroup/SPIRV-Cross/blob/main/LICENSES/LicenseRef-KhronosFreeUse.txt" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/MIT-Modern-Variant.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/MIT-Modern-Variant.json", + "referenceNumber": 573, + "name": "MIT License Modern Variant", + "licenseId": "MIT-Modern-Variant", + "seeAlso": [ + "https://fedoraproject.org/wiki/Licensing:MIT#Modern_Variants", + "https://ptolemy.berkeley.edu/copyright.htm", + "https://pirlwww.lpl.arizona.edu/resources/guide/software/PerlTk/Tixlic.html" + ], + "isOsiApproved": true + }, + { + "reference": "https://spdx.org/licenses/MIT-open-group.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/MIT-open-group.json", + "referenceNumber": 552, + "name": "MIT Open Group variant", + "licenseId": "MIT-open-group", + "seeAlso": [ + "https://gitlab.freedesktop.org/xorg/app/iceauth/-/blob/master/COPYING", + "https://gitlab.freedesktop.org/xorg/app/xvinfo/-/blob/master/COPYING", + "https://gitlab.freedesktop.org/xorg/app/xsetroot/-/blob/master/COPYING", + "https://gitlab.freedesktop.org/xorg/app/xauth/-/blob/master/COPYING" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/MIT-testregex.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/MIT-testregex.json", + "referenceNumber": 133, + "name": "MIT testregex Variant", + "licenseId": "MIT-testregex", + "seeAlso": [ + "https://github.com/dotnet/runtime/blob/55e1ac7c07df62c4108d4acedf78f77574470ce5/src/libraries/System.Text.RegularExpressions/tests/FunctionalTests/AttRegexTests.cs#L12-L28" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/MIT-Wu.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/MIT-Wu.json", + "referenceNumber": 467, + "name": "MIT Tom Wu Variant", + "licenseId": "MIT-Wu", + "seeAlso": [ + "https://github.com/chromium/octane/blob/master/crypto.js" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/MITNFA.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/MITNFA.json", + "referenceNumber": 588, + "name": "MIT +no-false-attribs license", + "licenseId": "MITNFA", + "seeAlso": [ + "https://fedoraproject.org/wiki/Licensing/MITNFA" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/MMIXware.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/MMIXware.json", + "referenceNumber": 54, + "name": "MMIXware License", + "licenseId": "MMIXware", + "seeAlso": [ + "https://gitlab.lrz.de/mmix/mmixware/-/blob/master/boilerplate.w" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/Motosoto.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/Motosoto.json", + "referenceNumber": 208, + "name": "Motosoto License", + "licenseId": "Motosoto", + "seeAlso": [ + "https://opensource.org/licenses/Motosoto" + ], + "isOsiApproved": true + }, + { + "reference": "https://spdx.org/licenses/MPEG-SSG.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/MPEG-SSG.json", + "referenceNumber": 597, + "name": "MPEG Software Simulation", + "licenseId": "MPEG-SSG", + "seeAlso": [ + "https://sourceforge.net/p/netpbm/code/HEAD/tree/super_stable/converter/ppm/ppmtompeg/jrevdct.c#l1189" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/mpi-permissive.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/mpi-permissive.json", + "referenceNumber": 482, + "name": "mpi Permissive License", + "licenseId": "mpi-permissive", + "seeAlso": [ + "https://sources.debian.org/src/openmpi/4.1.0-10/ompi/debuggers/msgq_interface.h/?hl\u003d19#L19" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/mpich2.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/mpich2.json", + "referenceNumber": 118, + "name": "mpich2 License", + "licenseId": "mpich2", + "seeAlso": [ + "https://fedoraproject.org/wiki/Licensing/MIT" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/MPL-1.0.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/MPL-1.0.json", + "referenceNumber": 32, + "name": "Mozilla Public License 1.0", + "licenseId": "MPL-1.0", + "seeAlso": [ + "http://www.mozilla.org/MPL/MPL-1.0.html", + "https://opensource.org/licenses/MPL-1.0" + ], + "isOsiApproved": true + }, + { + "reference": "https://spdx.org/licenses/MPL-1.1.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/MPL-1.1.json", + "referenceNumber": 25, + "name": "Mozilla Public License 1.1", + "licenseId": "MPL-1.1", + "seeAlso": [ + "http://www.mozilla.org/MPL/MPL-1.1.html", + "https://opensource.org/licenses/MPL-1.1" + ], + "isOsiApproved": true, + "isFsfLibre": true + }, + { + "reference": "https://spdx.org/licenses/MPL-2.0.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/MPL-2.0.json", + "referenceNumber": 249, + "name": "Mozilla Public License 2.0", + "licenseId": "MPL-2.0", + "seeAlso": [ + "https://www.mozilla.org/MPL/2.0/", + "https://opensource.org/licenses/MPL-2.0" + ], + "isOsiApproved": true, + "isFsfLibre": true + }, + { + "reference": "https://spdx.org/licenses/MPL-2.0-no-copyleft-exception.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/MPL-2.0-no-copyleft-exception.json", + "referenceNumber": 350, + "name": "Mozilla Public License 2.0 (no copyleft exception)", + "licenseId": "MPL-2.0-no-copyleft-exception", + "seeAlso": [ + "https://www.mozilla.org/MPL/2.0/", + "https://opensource.org/licenses/MPL-2.0" + ], + "isOsiApproved": true + }, + { + "reference": "https://spdx.org/licenses/mplus.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/mplus.json", + "referenceNumber": 85, + "name": "mplus Font License", + "licenseId": "mplus", + "seeAlso": [ + "https://fedoraproject.org/wiki/Licensing:Mplus?rd\u003dLicensing/mplus" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/MS-LPL.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/MS-LPL.json", + "referenceNumber": 370, + "name": "Microsoft Limited Public License", + "licenseId": "MS-LPL", + "seeAlso": [ + "https://www.openhub.net/licenses/mslpl", + "https://github.com/gabegundy/atlserver/blob/master/License.txt", + "https://en.wikipedia.org/wiki/Shared_Source_Initiative#Microsoft_Limited_Public_License_(Ms-LPL)" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/MS-PL.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/MS-PL.json", + "referenceNumber": 430, + "name": "Microsoft Public License", + "licenseId": "MS-PL", + "seeAlso": [ + "http://www.microsoft.com/opensource/licenses.mspx", + "https://opensource.org/licenses/MS-PL" + ], + "isOsiApproved": true, + "isFsfLibre": true + }, + { + "reference": "https://spdx.org/licenses/MS-RL.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/MS-RL.json", + "referenceNumber": 285, + "name": "Microsoft Reciprocal License", + "licenseId": "MS-RL", + "seeAlso": [ + "http://www.microsoft.com/opensource/licenses.mspx", + "https://opensource.org/licenses/MS-RL" + ], + "isOsiApproved": true, + "isFsfLibre": true + }, + { + "reference": "https://spdx.org/licenses/MTLL.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/MTLL.json", + "referenceNumber": 620, + "name": "Matrix Template Library License", + "licenseId": "MTLL", + "seeAlso": [ + "https://fedoraproject.org/wiki/Licensing/Matrix_Template_Library_License" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/MulanPSL-1.0.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/MulanPSL-1.0.json", + "referenceNumber": 599, + "name": "Mulan Permissive Software License, Version 1", + "licenseId": "MulanPSL-1.0", + "seeAlso": [ + "https://license.coscl.org.cn/MulanPSL/", + "https://github.com/yuwenlong/longphp/blob/25dfb70cc2a466dc4bb55ba30901cbce08d164b5/LICENSE" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/MulanPSL-2.0.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/MulanPSL-2.0.json", + "referenceNumber": 327, + "name": "Mulan Permissive Software License, Version 2", + "licenseId": "MulanPSL-2.0", + "seeAlso": [ + "https://license.coscl.org.cn/MulanPSL2" + ], + "isOsiApproved": true + }, + { + "reference": "https://spdx.org/licenses/Multics.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/Multics.json", + "referenceNumber": 427, + "name": "Multics License", + "licenseId": "Multics", + "seeAlso": [ + "https://opensource.org/licenses/Multics" + ], + "isOsiApproved": true + }, + { + "reference": "https://spdx.org/licenses/Mup.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/Mup.json", + "referenceNumber": 371, + "name": "Mup License", + "licenseId": "Mup", + "seeAlso": [ + "https://fedoraproject.org/wiki/Licensing/Mup" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/NAIST-2003.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/NAIST-2003.json", + "referenceNumber": 220, + "name": "Nara Institute of Science and Technology License (2003)", + "licenseId": "NAIST-2003", + "seeAlso": [ + "https://enterprise.dejacode.com/licenses/public/naist-2003/#license-text", + "https://github.com/nodejs/node/blob/4a19cc8947b1bba2b2d27816ec3d0edf9b28e503/LICENSE#L343" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/NASA-1.3.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/NASA-1.3.json", + "referenceNumber": 486, + "name": "NASA Open Source Agreement 1.3", + "licenseId": "NASA-1.3", + "seeAlso": [ + "http://ti.arc.nasa.gov/opensource/nosa/", + "https://opensource.org/licenses/NASA-1.3" + ], + "isOsiApproved": true, + "isFsfLibre": false + }, + { + "reference": "https://spdx.org/licenses/Naumen.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/Naumen.json", + "referenceNumber": 594, + "name": "Naumen Public License", + "licenseId": "Naumen", + "seeAlso": [ + "https://opensource.org/licenses/Naumen" + ], + "isOsiApproved": true + }, + { + "reference": "https://spdx.org/licenses/NBPL-1.0.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/NBPL-1.0.json", + "referenceNumber": 240, + "name": "Net Boolean Public License v1", + "licenseId": "NBPL-1.0", + "seeAlso": [ + "http://www.openldap.org/devel/gitweb.cgi?p\u003dopenldap.git;a\u003dblob;f\u003dLICENSE;hb\u003d37b4b3f6cc4bf34e1d3dec61e69914b9819d8894" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/NCBI-PD.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/NCBI-PD.json", + "referenceNumber": 395, + "name": "NCBI Public Domain Notice", + "licenseId": "NCBI-PD", + "seeAlso": [ + "https://github.com/ncbi/sra-tools/blob/e8e5b6af4edc460156ad9ce5902d0779cffbf685/LICENSE", + "https://github.com/ncbi/datasets/blob/0ea4cd16b61e5b799d9cc55aecfa016d6c9bd2bf/LICENSE.md", + "https://github.com/ncbi/gprobe/blob/de64d30fee8b4c4013094d7d3139ea89b5dd1ace/LICENSE", + "https://github.com/ncbi/egapx/blob/08930b9dec0c69b2d1a05e5153c7b95ef0a3eb0f/LICENSE", + "https://github.com/ncbi/datasets/blob/master/LICENSE.md" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/NCGL-UK-2.0.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/NCGL-UK-2.0.json", + "referenceNumber": 212, + "name": "Non-Commercial Government Licence", + "licenseId": "NCGL-UK-2.0", + "seeAlso": [ + "http://www.nationalarchives.gov.uk/doc/non-commercial-government-licence/version/2/" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/NCL.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/NCL.json", + "referenceNumber": 152, + "name": "NCL Source Code License", + "licenseId": "NCL", + "seeAlso": [ + "https://gitlab.freedesktop.org/pipewire/pipewire/-/blob/master/src/modules/module-filter-chain/pffft.c?ref_type\u003dheads#L1-52" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/NCSA.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/NCSA.json", + "referenceNumber": 478, + "name": "University of Illinois/NCSA Open Source License", + "licenseId": "NCSA", + "seeAlso": [ + "http://otm.illinois.edu/uiuc_openSource", + "https://opensource.org/licenses/NCSA" + ], + "isOsiApproved": true, + "isFsfLibre": true + }, + { + "reference": "https://spdx.org/licenses/Net-SNMP.html", + "isDeprecatedLicenseId": true, + "detailsUrl": "https://spdx.org/licenses/Net-SNMP.json", + "referenceNumber": 440, + "name": "Net-SNMP License", + "licenseId": "Net-SNMP", + "seeAlso": [ + "http://net-snmp.sourceforge.net/about/license.html" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/NetCDF.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/NetCDF.json", + "referenceNumber": 303, + "name": "NetCDF license", + "licenseId": "NetCDF", + "seeAlso": [ + "http://www.unidata.ucar.edu/software/netcdf/copyright.html" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/Newsletr.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/Newsletr.json", + "referenceNumber": 163, + "name": "Newsletr License", + "licenseId": "Newsletr", + "seeAlso": [ + "https://fedoraproject.org/wiki/Licensing/Newsletr" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/NGPL.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/NGPL.json", + "referenceNumber": 115, + "name": "Nethack General Public License", + "licenseId": "NGPL", + "seeAlso": [ + "https://opensource.org/licenses/NGPL" + ], + "isOsiApproved": true + }, + { + "reference": "https://spdx.org/licenses/NICTA-1.0.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/NICTA-1.0.json", + "referenceNumber": 536, + "name": "NICTA Public Software License, Version 1.0", + "licenseId": "NICTA-1.0", + "seeAlso": [ + "https://opensource.apple.com/source/mDNSResponder/mDNSResponder-320.10/mDNSPosix/nss_ReadMe.txt" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/NIST-PD.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/NIST-PD.json", + "referenceNumber": 1, + "name": "NIST Public Domain Notice", + "licenseId": "NIST-PD", + "seeAlso": [ + "https://github.com/tcheneau/simpleRPL/blob/e645e69e38dd4e3ccfeceb2db8cba05b7c2e0cd3/LICENSE.txt", + "https://github.com/tcheneau/Routing/blob/f09f46fcfe636107f22f2c98348188a65a135d98/README.md" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/NIST-PD-fallback.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/NIST-PD-fallback.json", + "referenceNumber": 463, + "name": "NIST Public Domain Notice with license fallback", + "licenseId": "NIST-PD-fallback", + "seeAlso": [ + "https://github.com/usnistgov/jsip/blob/59700e6926cbe96c5cdae897d9a7d2656b42abe3/LICENSE", + "https://github.com/usnistgov/fipy/blob/86aaa5c2ba2c6f1be19593c5986071cf6568cc34/LICENSE.rst" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/NIST-Software.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/NIST-Software.json", + "referenceNumber": 471, + "name": "NIST Software License", + "licenseId": "NIST-Software", + "seeAlso": [ + "https://github.com/open-quantum-safe/liboqs/blob/40b01fdbb270f8614fde30e65d30e9da18c02393/src/common/rand/rand_nist.c#L1-L15" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/NLOD-1.0.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/NLOD-1.0.json", + "referenceNumber": 3, + "name": "Norwegian Licence for Open Government Data (NLOD) 1.0", + "licenseId": "NLOD-1.0", + "seeAlso": [ + "http://data.norge.no/nlod/en/1.0" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/NLOD-2.0.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/NLOD-2.0.json", + "referenceNumber": 60, + "name": "Norwegian Licence for Open Government Data (NLOD) 2.0", + "licenseId": "NLOD-2.0", + "seeAlso": [ + "http://data.norge.no/nlod/en/2.0" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/NLPL.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/NLPL.json", + "referenceNumber": 477, + "name": "No Limit Public License", + "licenseId": "NLPL", + "seeAlso": [ + "https://fedoraproject.org/wiki/Licensing/NLPL" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/Nokia.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/Nokia.json", + "referenceNumber": 678, + "name": "Nokia Open Source License", + "licenseId": "Nokia", + "seeAlso": [ + "https://opensource.org/licenses/nokia" + ], + "isOsiApproved": true, + "isFsfLibre": true + }, + { + "reference": "https://spdx.org/licenses/NOSL.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/NOSL.json", + "referenceNumber": 80, + "name": "Netizen Open Source License", + "licenseId": "NOSL", + "seeAlso": [ + "http://bits.netizen.com.au/licenses/NOSL/nosl.txt" + ], + "isOsiApproved": false, + "isFsfLibre": true + }, + { + "reference": "https://spdx.org/licenses/Noweb.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/Noweb.json", + "referenceNumber": 64, + "name": "Noweb License", + "licenseId": "Noweb", + "seeAlso": [ + "https://fedoraproject.org/wiki/Licensing/Noweb" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/NPL-1.0.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/NPL-1.0.json", + "referenceNumber": 112, + "name": "Netscape Public License v1.0", + "licenseId": "NPL-1.0", + "seeAlso": [ + "http://www.mozilla.org/MPL/NPL/1.0/" + ], + "isOsiApproved": false, + "isFsfLibre": true + }, + { + "reference": "https://spdx.org/licenses/NPL-1.1.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/NPL-1.1.json", + "referenceNumber": 491, + "name": "Netscape Public License v1.1", + "licenseId": "NPL-1.1", + "seeAlso": [ + "http://www.mozilla.org/MPL/NPL/1.1/" + ], + "isOsiApproved": false, + "isFsfLibre": true + }, + { + "reference": "https://spdx.org/licenses/NPOSL-3.0.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/NPOSL-3.0.json", + "referenceNumber": 507, + "name": "Non-Profit Open Software License 3.0", + "licenseId": "NPOSL-3.0", + "seeAlso": [ + "https://opensource.org/licenses/NOSL3.0" + ], + "isOsiApproved": true + }, + { + "reference": "https://spdx.org/licenses/NRL.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/NRL.json", + "referenceNumber": 442, + "name": "NRL License", + "licenseId": "NRL", + "seeAlso": [ + "http://web.mit.edu/network/isakmp/nrllicense.html" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/NTP.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/NTP.json", + "referenceNumber": 228, + "name": "NTP License", + "licenseId": "NTP", + "seeAlso": [ + "https://opensource.org/licenses/NTP" + ], + "isOsiApproved": true + }, + { + "reference": "https://spdx.org/licenses/NTP-0.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/NTP-0.json", + "referenceNumber": 586, + "name": "NTP No Attribution", + "licenseId": "NTP-0", + "seeAlso": [ + "https://github.com/tytso/e2fsprogs/blob/master/lib/et/et_name.c" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/Nunit.html", + "isDeprecatedLicenseId": true, + "detailsUrl": "https://spdx.org/licenses/Nunit.json", + "referenceNumber": 605, + "name": "Nunit License", + "licenseId": "Nunit", + "seeAlso": [ + "https://fedoraproject.org/wiki/Licensing/Nunit" + ], + "isOsiApproved": false, + "isFsfLibre": true + }, + { + "reference": "https://spdx.org/licenses/O-UDA-1.0.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/O-UDA-1.0.json", + "referenceNumber": 84, + "name": "Open Use of Data Agreement v1.0", + "licenseId": "O-UDA-1.0", + "seeAlso": [ + "https://github.com/microsoft/Open-Use-of-Data-Agreement/blob/v1.0/O-UDA-1.0.md", + "https://cdla.dev/open-use-of-data-agreement-v1-0/" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/OAR.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/OAR.json", + "referenceNumber": 77, + "name": "OAR License", + "licenseId": "OAR", + "seeAlso": [ + "https://sourceware.org/git/?p\u003dnewlib-cygwin.git;a\u003dblob;f\u003dnewlib/libc/string/strsignal.c;hb\u003dHEAD#l35" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/OCCT-PL.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/OCCT-PL.json", + "referenceNumber": 547, + "name": "Open CASCADE Technology Public License", + "licenseId": "OCCT-PL", + "seeAlso": [ + "http://www.opencascade.com/content/occt-public-license" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/OCLC-2.0.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/OCLC-2.0.json", + "referenceNumber": 179, + "name": "OCLC Research Public License 2.0", + "licenseId": "OCLC-2.0", + "seeAlso": [ + "http://www.oclc.org/research/activities/software/license/v2final.htm", + "https://opensource.org/licenses/OCLC-2.0" + ], + "isOsiApproved": true + }, + { + "reference": "https://spdx.org/licenses/ODbL-1.0.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/ODbL-1.0.json", + "referenceNumber": 615, + "name": "Open Data Commons Open Database License v1.0", + "licenseId": "ODbL-1.0", + "seeAlso": [ + "http://www.opendatacommons.org/licenses/odbl/1.0/", + "https://opendatacommons.org/licenses/odbl/1-0/" + ], + "isOsiApproved": false, + "isFsfLibre": true + }, + { + "reference": "https://spdx.org/licenses/ODC-By-1.0.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/ODC-By-1.0.json", + "referenceNumber": 192, + "name": "Open Data Commons Attribution License v1.0", + "licenseId": "ODC-By-1.0", + "seeAlso": [ + "https://opendatacommons.org/licenses/by/1.0/" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/OFFIS.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/OFFIS.json", + "referenceNumber": 423, + "name": "OFFIS License", + "licenseId": "OFFIS", + "seeAlso": [ + "https://sourceforge.net/p/xmedcon/code/ci/master/tree/libs/dicom/README" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/OFL-1.0.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/OFL-1.0.json", + "referenceNumber": 98, + "name": "SIL Open Font License 1.0", + "licenseId": "OFL-1.0", + "seeAlso": [ + "http://scripts.sil.org/cms/scripts/page.php?item_id\u003dOFL10_web" + ], + "isOsiApproved": false, + "isFsfLibre": true + }, + { + "reference": "https://spdx.org/licenses/OFL-1.0-no-RFN.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/OFL-1.0-no-RFN.json", + "referenceNumber": 362, + "name": "SIL Open Font License 1.0 with no Reserved Font Name", + "licenseId": "OFL-1.0-no-RFN", + "seeAlso": [ + "http://scripts.sil.org/cms/scripts/page.php?item_id\u003dOFL10_web" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/OFL-1.0-RFN.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/OFL-1.0-RFN.json", + "referenceNumber": 622, + "name": "SIL Open Font License 1.0 with Reserved Font Name", + "licenseId": "OFL-1.0-RFN", + "seeAlso": [ + "http://scripts.sil.org/cms/scripts/page.php?item_id\u003dOFL10_web" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/OFL-1.1.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/OFL-1.1.json", + "referenceNumber": 433, + "name": "SIL Open Font License 1.1", + "licenseId": "OFL-1.1", + "seeAlso": [ + "http://scripts.sil.org/cms/scripts/page.php?item_id\u003dOFL_web", + "https://opensource.org/licenses/OFL-1.1" + ], + "isOsiApproved": true, + "isFsfLibre": true + }, + { + "reference": "https://spdx.org/licenses/OFL-1.1-no-RFN.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/OFL-1.1-no-RFN.json", + "referenceNumber": 562, + "name": "SIL Open Font License 1.1 with no Reserved Font Name", + "licenseId": "OFL-1.1-no-RFN", + "seeAlso": [ + "http://scripts.sil.org/cms/scripts/page.php?item_id\u003dOFL_web", + "https://opensource.org/licenses/OFL-1.1" + ], + "isOsiApproved": true + }, + { + "reference": "https://spdx.org/licenses/OFL-1.1-RFN.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/OFL-1.1-RFN.json", + "referenceNumber": 88, + "name": "SIL Open Font License 1.1 with Reserved Font Name", + "licenseId": "OFL-1.1-RFN", + "seeAlso": [ + "http://scripts.sil.org/cms/scripts/page.php?item_id\u003dOFL_web", + "https://opensource.org/licenses/OFL-1.1" + ], + "isOsiApproved": true + }, + { + "reference": "https://spdx.org/licenses/OGC-1.0.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/OGC-1.0.json", + "referenceNumber": 533, + "name": "OGC Software License, Version 1.0", + "licenseId": "OGC-1.0", + "seeAlso": [ + "https://www.ogc.org/ogc/software/1.0" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/OGDL-Taiwan-1.0.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/OGDL-Taiwan-1.0.json", + "referenceNumber": 247, + "name": "Taiwan Open Government Data License, version 1.0", + "licenseId": "OGDL-Taiwan-1.0", + "seeAlso": [ + "https://data.gov.tw/license" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/OGL-Canada-2.0.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/OGL-Canada-2.0.json", + "referenceNumber": 673, + "name": "Open Government Licence - Canada", + "licenseId": "OGL-Canada-2.0", + "seeAlso": [ + "https://open.canada.ca/en/open-government-licence-canada" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/OGL-UK-1.0.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/OGL-UK-1.0.json", + "referenceNumber": 171, + "name": "Open Government Licence v1.0", + "licenseId": "OGL-UK-1.0", + "seeAlso": [ + "http://www.nationalarchives.gov.uk/doc/open-government-licence/version/1/" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/OGL-UK-2.0.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/OGL-UK-2.0.json", + "referenceNumber": 400, + "name": "Open Government Licence v2.0", + "licenseId": "OGL-UK-2.0", + "seeAlso": [ + "http://www.nationalarchives.gov.uk/doc/open-government-licence/version/2/" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/OGL-UK-3.0.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/OGL-UK-3.0.json", + "referenceNumber": 385, + "name": "Open Government Licence v3.0", + "licenseId": "OGL-UK-3.0", + "seeAlso": [ + "http://www.nationalarchives.gov.uk/doc/open-government-licence/version/3/" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/OGTSL.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/OGTSL.json", + "referenceNumber": 614, + "name": "Open Group Test Suite License", + "licenseId": "OGTSL", + "seeAlso": [ + "http://www.opengroup.org/testing/downloads/The_Open_Group_TSL.txt", + "https://opensource.org/licenses/OGTSL" + ], + "isOsiApproved": true + }, + { + "reference": "https://spdx.org/licenses/OLDAP-1.1.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/OLDAP-1.1.json", + "referenceNumber": 209, + "name": "Open LDAP Public License v1.1", + "licenseId": "OLDAP-1.1", + "seeAlso": [ + "http://www.openldap.org/devel/gitweb.cgi?p\u003dopenldap.git;a\u003dblob;f\u003dLICENSE;hb\u003d806557a5ad59804ef3a44d5abfbe91d706b0791f" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/OLDAP-1.2.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/OLDAP-1.2.json", + "referenceNumber": 33, + "name": "Open LDAP Public License v1.2", + "licenseId": "OLDAP-1.2", + "seeAlso": [ + "http://www.openldap.org/devel/gitweb.cgi?p\u003dopenldap.git;a\u003dblob;f\u003dLICENSE;hb\u003d42b0383c50c299977b5893ee695cf4e486fb0dc7" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/OLDAP-1.3.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/OLDAP-1.3.json", + "referenceNumber": 58, + "name": "Open LDAP Public License v1.3", + "licenseId": "OLDAP-1.3", + "seeAlso": [ + "http://www.openldap.org/devel/gitweb.cgi?p\u003dopenldap.git;a\u003dblob;f\u003dLICENSE;hb\u003de5f8117f0ce088d0bd7a8e18ddf37eaa40eb09b1" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/OLDAP-1.4.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/OLDAP-1.4.json", + "referenceNumber": 508, + "name": "Open LDAP Public License v1.4", + "licenseId": "OLDAP-1.4", + "seeAlso": [ + "http://www.openldap.org/devel/gitweb.cgi?p\u003dopenldap.git;a\u003dblob;f\u003dLICENSE;hb\u003dc9f95c2f3f2ffb5e0ae55fe7388af75547660941" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/OLDAP-2.0.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/OLDAP-2.0.json", + "referenceNumber": 261, + "name": "Open LDAP Public License v2.0 (or possibly 2.0A and 2.0B)", + "licenseId": "OLDAP-2.0", + "seeAlso": [ + "http://www.openldap.org/devel/gitweb.cgi?p\u003dopenldap.git;a\u003dblob;f\u003dLICENSE;hb\u003dcbf50f4e1185a21abd4c0a54d3f4341fe28f36ea" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/OLDAP-2.0.1.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/OLDAP-2.0.1.json", + "referenceNumber": 634, + "name": "Open LDAP Public License v2.0.1", + "licenseId": "OLDAP-2.0.1", + "seeAlso": [ + "http://www.openldap.org/devel/gitweb.cgi?p\u003dopenldap.git;a\u003dblob;f\u003dLICENSE;hb\u003db6d68acd14e51ca3aab4428bf26522aa74873f0e" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/OLDAP-2.1.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/OLDAP-2.1.json", + "referenceNumber": 94, + "name": "Open LDAP Public License v2.1", + "licenseId": "OLDAP-2.1", + "seeAlso": [ + "http://www.openldap.org/devel/gitweb.cgi?p\u003dopenldap.git;a\u003dblob;f\u003dLICENSE;hb\u003db0d176738e96a0d3b9f85cb51e140a86f21be715" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/OLDAP-2.2.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/OLDAP-2.2.json", + "referenceNumber": 369, + "name": "Open LDAP Public License v2.2", + "licenseId": "OLDAP-2.2", + "seeAlso": [ + "http://www.openldap.org/devel/gitweb.cgi?p\u003dopenldap.git;a\u003dblob;f\u003dLICENSE;hb\u003d470b0c18ec67621c85881b2733057fecf4a1acc3" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/OLDAP-2.2.1.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/OLDAP-2.2.1.json", + "referenceNumber": 542, + "name": "Open LDAP Public License v2.2.1", + "licenseId": "OLDAP-2.2.1", + "seeAlso": [ + "http://www.openldap.org/devel/gitweb.cgi?p\u003dopenldap.git;a\u003dblob;f\u003dLICENSE;hb\u003d4bc786f34b50aa301be6f5600f58a980070f481e" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/OLDAP-2.2.2.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/OLDAP-2.2.2.json", + "referenceNumber": 105, + "name": "Open LDAP Public License 2.2.2", + "licenseId": "OLDAP-2.2.2", + "seeAlso": [ + "http://www.openldap.org/devel/gitweb.cgi?p\u003dopenldap.git;a\u003dblob;f\u003dLICENSE;hb\u003ddf2cc1e21eb7c160695f5b7cffd6296c151ba188" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/OLDAP-2.3.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/OLDAP-2.3.json", + "referenceNumber": 288, + "name": "Open LDAP Public License v2.3", + "licenseId": "OLDAP-2.3", + "seeAlso": [ + "http://www.openldap.org/devel/gitweb.cgi?p\u003dopenldap.git;a\u003dblob;f\u003dLICENSE;hb\u003dd32cf54a32d581ab475d23c810b0a7fbaf8d63c3" + ], + "isOsiApproved": false, + "isFsfLibre": true + }, + { + "reference": "https://spdx.org/licenses/OLDAP-2.4.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/OLDAP-2.4.json", + "referenceNumber": 359, + "name": "Open LDAP Public License v2.4", + "licenseId": "OLDAP-2.4", + "seeAlso": [ + "http://www.openldap.org/devel/gitweb.cgi?p\u003dopenldap.git;a\u003dblob;f\u003dLICENSE;hb\u003dcd1284c4a91a8a380d904eee68d1583f989ed386" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/OLDAP-2.5.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/OLDAP-2.5.json", + "referenceNumber": 181, + "name": "Open LDAP Public License v2.5", + "licenseId": "OLDAP-2.5", + "seeAlso": [ + "http://www.openldap.org/devel/gitweb.cgi?p\u003dopenldap.git;a\u003dblob;f\u003dLICENSE;hb\u003d6852b9d90022e8593c98205413380536b1b5a7cf" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/OLDAP-2.6.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/OLDAP-2.6.json", + "referenceNumber": 544, + "name": "Open LDAP Public License v2.6", + "licenseId": "OLDAP-2.6", + "seeAlso": [ + "http://www.openldap.org/devel/gitweb.cgi?p\u003dopenldap.git;a\u003dblob;f\u003dLICENSE;hb\u003d1cae062821881f41b73012ba816434897abf4205" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/OLDAP-2.7.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/OLDAP-2.7.json", + "referenceNumber": 618, + "name": "Open LDAP Public License v2.7", + "licenseId": "OLDAP-2.7", + "seeAlso": [ + "http://www.openldap.org/devel/gitweb.cgi?p\u003dopenldap.git;a\u003dblob;f\u003dLICENSE;hb\u003d47c2415c1df81556eeb39be6cad458ef87c534a2" + ], + "isOsiApproved": false, + "isFsfLibre": true + }, + { + "reference": "https://spdx.org/licenses/OLDAP-2.8.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/OLDAP-2.8.json", + "referenceNumber": 14, + "name": "Open LDAP Public License v2.8", + "licenseId": "OLDAP-2.8", + "seeAlso": [ + "http://www.openldap.org/software/release/license.html" + ], + "isOsiApproved": true + }, + { + "reference": "https://spdx.org/licenses/OLFL-1.3.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/OLFL-1.3.json", + "referenceNumber": 351, + "name": "Open Logistics Foundation License Version 1.3", + "licenseId": "OLFL-1.3", + "seeAlso": [ + "https://openlogisticsfoundation.org/licenses/", + "https://opensource.org/license/olfl-1-3/" + ], + "isOsiApproved": true + }, + { + "reference": "https://spdx.org/licenses/OML.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/OML.json", + "referenceNumber": 453, + "name": "Open Market License", + "licenseId": "OML", + "seeAlso": [ + "https://fedoraproject.org/wiki/Licensing/Open_Market_License" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/OpenPBS-2.3.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/OpenPBS-2.3.json", + "referenceNumber": 140, + "name": "OpenPBS v2.3 Software License", + "licenseId": "OpenPBS-2.3", + "seeAlso": [ + "https://github.com/adaptivecomputing/torque/blob/master/PBS_License.txt", + "https://www.mcs.anl.gov/research/projects/openpbs/PBS_License.txt" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/OpenSSL.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/OpenSSL.json", + "referenceNumber": 393, + "name": "OpenSSL License", + "licenseId": "OpenSSL", + "seeAlso": [ + "http://www.openssl.org/source/license.html" + ], + "isOsiApproved": false, + "isFsfLibre": true + }, + { + "reference": "https://spdx.org/licenses/OpenSSL-standalone.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/OpenSSL-standalone.json", + "referenceNumber": 449, + "name": "OpenSSL License - standalone", + "licenseId": "OpenSSL-standalone", + "seeAlso": [ + "https://library.netapp.com/ecm/ecm_download_file/ECMP1196395", + "https://hstechdocs.helpsystems.com/manuals/globalscape/archive/cuteftp6/open_ssl_license_agreement.htm" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/OpenVision.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/OpenVision.json", + "referenceNumber": 23, + "name": "OpenVision License", + "licenseId": "OpenVision", + "seeAlso": [ + "https://github.com/krb5/krb5/blob/krb5-1.21.2-final/NOTICE#L66-L98", + "https://web.mit.edu/kerberos/krb5-1.21/doc/mitK5license.html", + "https://fedoraproject.org/wiki/Licensing:MIT#OpenVision_Variant" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/OPL-1.0.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/OPL-1.0.json", + "referenceNumber": 43, + "name": "Open Public License v1.0", + "licenseId": "OPL-1.0", + "seeAlso": [ + "http://old.koalateam.com/jackaroo/OPL_1_0.TXT", + "https://fedoraproject.org/wiki/Licensing/Open_Public_License" + ], + "isOsiApproved": false, + "isFsfLibre": false + }, + { + "reference": "https://spdx.org/licenses/OPL-UK-3.0.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/OPL-UK-3.0.json", + "referenceNumber": 248, + "name": "United Kingdom Open Parliament Licence v3.0", + "licenseId": "OPL-UK-3.0", + "seeAlso": [ + "https://www.parliament.uk/site-information/copyright-parliament/open-parliament-licence/" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/OPUBL-1.0.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/OPUBL-1.0.json", + "referenceNumber": 241, + "name": "Open Publication License v1.0", + "licenseId": "OPUBL-1.0", + "seeAlso": [ + "http://opencontent.org/openpub/", + "https://www.debian.org/opl", + "https://www.ctan.org/license/opl" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/OSET-PL-2.1.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/OSET-PL-2.1.json", + "referenceNumber": 658, + "name": "OSET Public License version 2.1", + "licenseId": "OSET-PL-2.1", + "seeAlso": [ + "http://www.osetfoundation.org/public-license", + "https://opensource.org/licenses/OPL-2.1" + ], + "isOsiApproved": true + }, + { + "reference": "https://spdx.org/licenses/OSL-1.0.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/OSL-1.0.json", + "referenceNumber": 554, + "name": "Open Software License 1.0", + "licenseId": "OSL-1.0", + "seeAlso": [ + "https://opensource.org/licenses/OSL-1.0" + ], + "isOsiApproved": true, + "isFsfLibre": true + }, + { + "reference": "https://spdx.org/licenses/OSL-1.1.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/OSL-1.1.json", + "referenceNumber": 481, + "name": "Open Software License 1.1", + "licenseId": "OSL-1.1", + "seeAlso": [ + "https://fedoraproject.org/wiki/Licensing/OSL1.1" + ], + "isOsiApproved": false, + "isFsfLibre": true + }, + { + "reference": "https://spdx.org/licenses/OSL-2.0.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/OSL-2.0.json", + "referenceNumber": 377, + "name": "Open Software License 2.0", + "licenseId": "OSL-2.0", + "seeAlso": [ + "http://web.archive.org/web/20041020171434/http://www.rosenlaw.com/osl2.0.html" + ], + "isOsiApproved": true, + "isFsfLibre": true + }, + { + "reference": "https://spdx.org/licenses/OSL-2.1.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/OSL-2.1.json", + "referenceNumber": 368, + "name": "Open Software License 2.1", + "licenseId": "OSL-2.1", + "seeAlso": [ + "http://web.archive.org/web/20050212003940/http://www.rosenlaw.com/osl21.htm", + "https://opensource.org/licenses/OSL-2.1" + ], + "isOsiApproved": true, + "isFsfLibre": true + }, + { + "reference": "https://spdx.org/licenses/OSL-3.0.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/OSL-3.0.json", + "referenceNumber": 30, + "name": "Open Software License 3.0", + "licenseId": "OSL-3.0", + "seeAlso": [ + "https://web.archive.org/web/20120101081418/http://rosenlaw.com:80/OSL3.0.htm", + "https://opensource.org/licenses/OSL-3.0" + ], + "isOsiApproved": true, + "isFsfLibre": true + }, + { + "reference": "https://spdx.org/licenses/PADL.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/PADL.json", + "referenceNumber": 535, + "name": "PADL License", + "licenseId": "PADL", + "seeAlso": [ + "https://git.openldap.org/openldap/openldap/-/blob/master/libraries/libldap/os-local.c?ref_type\u003dheads#L19-23" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/Parity-6.0.0.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/Parity-6.0.0.json", + "referenceNumber": 17, + "name": "The Parity Public License 6.0.0", + "licenseId": "Parity-6.0.0", + "seeAlso": [ + "https://paritylicense.com/versions/6.0.0.html" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/Parity-7.0.0.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/Parity-7.0.0.json", + "referenceNumber": 324, + "name": "The Parity Public License 7.0.0", + "licenseId": "Parity-7.0.0", + "seeAlso": [ + "https://paritylicense.com/versions/7.0.0.html" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/PDDL-1.0.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/PDDL-1.0.json", + "referenceNumber": 149, + "name": "Open Data Commons Public Domain Dedication \u0026 License 1.0", + "licenseId": "PDDL-1.0", + "seeAlso": [ + "http://opendatacommons.org/licenses/pddl/1.0/", + "https://opendatacommons.org/licenses/pddl/" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/PHP-3.0.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/PHP-3.0.json", + "referenceNumber": 138, + "name": "PHP License v3.0", + "licenseId": "PHP-3.0", + "seeAlso": [ + "http://www.php.net/license/3_0.txt", + "https://opensource.org/licenses/PHP-3.0" + ], + "isOsiApproved": true + }, + { + "reference": "https://spdx.org/licenses/PHP-3.01.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/PHP-3.01.json", + "referenceNumber": 666, + "name": "PHP License v3.01", + "licenseId": "PHP-3.01", + "seeAlso": [ + "http://www.php.net/license/3_01.txt" + ], + "isOsiApproved": true, + "isFsfLibre": true + }, + { + "reference": "https://spdx.org/licenses/Pixar.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/Pixar.json", + "referenceNumber": 607, + "name": "Pixar License", + "licenseId": "Pixar", + "seeAlso": [ + "https://github.com/PixarAnimationStudios/OpenSubdiv/raw/v3_5_0/LICENSE.txt", + "https://graphics.pixar.com/opensubdiv/docs/license.html", + "https://github.com/PixarAnimationStudios/OpenSubdiv/blob/v3_5_0/opensubdiv/version.cpp#L2-L22" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/pkgconf.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/pkgconf.json", + "referenceNumber": 664, + "name": "pkgconf License", + "licenseId": "pkgconf", + "seeAlso": [ + "https://github.com/pkgconf/pkgconf/blob/master/cli/main.c#L8" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/Plexus.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/Plexus.json", + "referenceNumber": 39, + "name": "Plexus Classworlds License", + "licenseId": "Plexus", + "seeAlso": [ + "https://fedoraproject.org/wiki/Licensing/Plexus_Classworlds_License" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/pnmstitch.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/pnmstitch.json", + "referenceNumber": 266, + "name": "pnmstitch License", + "licenseId": "pnmstitch", + "seeAlso": [ + "https://sourceforge.net/p/netpbm/code/HEAD/tree/super_stable/editor/pnmstitch.c#l2" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/PolyForm-Noncommercial-1.0.0.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/PolyForm-Noncommercial-1.0.0.json", + "referenceNumber": 561, + "name": "PolyForm Noncommercial License 1.0.0", + "licenseId": "PolyForm-Noncommercial-1.0.0", + "seeAlso": [ + "https://polyformproject.org/licenses/noncommercial/1.0.0" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/PolyForm-Small-Business-1.0.0.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/PolyForm-Small-Business-1.0.0.json", + "referenceNumber": 155, + "name": "PolyForm Small Business License 1.0.0", + "licenseId": "PolyForm-Small-Business-1.0.0", + "seeAlso": [ + "https://polyformproject.org/licenses/small-business/1.0.0" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/PostgreSQL.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/PostgreSQL.json", + "referenceNumber": 645, + "name": "PostgreSQL License", + "licenseId": "PostgreSQL", + "seeAlso": [ + "http://www.postgresql.org/about/licence", + "https://opensource.org/licenses/PostgreSQL" + ], + "isOsiApproved": true + }, + { + "reference": "https://spdx.org/licenses/PPL.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/PPL.json", + "referenceNumber": 87, + "name": "Peer Production License", + "licenseId": "PPL", + "seeAlso": [ + "https://wiki.p2pfoundation.net/Peer_Production_License", + "http://www.networkcultures.org/_uploads/%233notebook_telekommunist.pdf" + ], + "isOsiApproved": false, + "isFsfLibre": false + }, + { + "reference": "https://spdx.org/licenses/PSF-2.0.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/PSF-2.0.json", + "referenceNumber": 479, + "name": "Python Software Foundation License 2.0", + "licenseId": "PSF-2.0", + "seeAlso": [ + "https://opensource.org/licenses/Python-2.0", + "https://matplotlib.org/stable/project/license.html" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/psfrag.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/psfrag.json", + "referenceNumber": 100, + "name": "psfrag License", + "licenseId": "psfrag", + "seeAlso": [ + "https://fedoraproject.org/wiki/Licensing/psfrag" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/psutils.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/psutils.json", + "referenceNumber": 50, + "name": "psutils License", + "licenseId": "psutils", + "seeAlso": [ + "https://fedoraproject.org/wiki/Licensing/psutils" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/Python-2.0.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/Python-2.0.json", + "referenceNumber": 651, + "name": "Python License 2.0", + "licenseId": "Python-2.0", + "seeAlso": [ + "https://opensource.org/licenses/Python-2.0" + ], + "isOsiApproved": true, + "isFsfLibre": true + }, + { + "reference": "https://spdx.org/licenses/Python-2.0.1.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/Python-2.0.1.json", + "referenceNumber": 290, + "name": "Python License 2.0.1", + "licenseId": "Python-2.0.1", + "seeAlso": [ + "https://www.python.org/download/releases/2.0.1/license/", + "https://docs.python.org/3/license.html", + "https://github.com/python/cpython/blob/main/LICENSE" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/python-ldap.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/python-ldap.json", + "referenceNumber": 531, + "name": "Python ldap License", + "licenseId": "python-ldap", + "seeAlso": [ + "https://github.com/python-ldap/python-ldap/blob/main/LICENCE" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/Qhull.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/Qhull.json", + "referenceNumber": 435, + "name": "Qhull License", + "licenseId": "Qhull", + "seeAlso": [ + "https://fedoraproject.org/wiki/Licensing/Qhull" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/QPL-1.0.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/QPL-1.0.json", + "referenceNumber": 169, + "name": "Q Public License 1.0", + "licenseId": "QPL-1.0", + "seeAlso": [ + "http://doc.qt.nokia.com/3.3/license.html", + "https://opensource.org/licenses/QPL-1.0", + "https://doc.qt.io/archives/3.3/license.html" + ], + "isOsiApproved": true, + "isFsfLibre": true + }, + { + "reference": "https://spdx.org/licenses/QPL-1.0-INRIA-2004.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/QPL-1.0-INRIA-2004.json", + "referenceNumber": 461, + "name": "Q Public License 1.0 - INRIA 2004 variant", + "licenseId": "QPL-1.0-INRIA-2004", + "seeAlso": [ + "https://github.com/maranget/hevea/blob/master/LICENSE" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/radvd.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/radvd.json", + "referenceNumber": 425, + "name": "radvd License", + "licenseId": "radvd", + "seeAlso": [ + "https://github.com/radvd-project/radvd/blob/master/COPYRIGHT" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/Rdisc.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/Rdisc.json", + "referenceNumber": 74, + "name": "Rdisc License", + "licenseId": "Rdisc", + "seeAlso": [ + "https://fedoraproject.org/wiki/Licensing/Rdisc_License" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/RHeCos-1.1.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/RHeCos-1.1.json", + "referenceNumber": 4, + "name": "Red Hat eCos Public License v1.1", + "licenseId": "RHeCos-1.1", + "seeAlso": [ + "http://ecos.sourceware.org/old-license.html" + ], + "isOsiApproved": false, + "isFsfLibre": false + }, + { + "reference": "https://spdx.org/licenses/RPL-1.1.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/RPL-1.1.json", + "referenceNumber": 281, + "name": "Reciprocal Public License 1.1", + "licenseId": "RPL-1.1", + "seeAlso": [ + "https://opensource.org/licenses/RPL-1.1" + ], + "isOsiApproved": true + }, + { + "reference": "https://spdx.org/licenses/RPL-1.5.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/RPL-1.5.json", + "referenceNumber": 677, + "name": "Reciprocal Public License 1.5", + "licenseId": "RPL-1.5", + "seeAlso": [ + "https://opensource.org/licenses/RPL-1.5" + ], + "isOsiApproved": true + }, + { + "reference": "https://spdx.org/licenses/RPSL-1.0.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/RPSL-1.0.json", + "referenceNumber": 668, + "name": "RealNetworks Public Source License v1.0", + "licenseId": "RPSL-1.0", + "seeAlso": [ + "https://helixcommunity.org/content/rpsl", + "https://opensource.org/licenses/RPSL-1.0" + ], + "isOsiApproved": true, + "isFsfLibre": true + }, + { + "reference": "https://spdx.org/licenses/RSA-MD.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/RSA-MD.json", + "referenceNumber": 178, + "name": "RSA Message-Digest License", + "licenseId": "RSA-MD", + "seeAlso": [ + "http://www.faqs.org/rfcs/rfc1321.html" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/RSCPL.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/RSCPL.json", + "referenceNumber": 6, + "name": "Ricoh Source Code Public License", + "licenseId": "RSCPL", + "seeAlso": [ + "http://wayback.archive.org/web/20060715140826/http://www.risource.org/RPL/RPL-1.0A.shtml", + "https://opensource.org/licenses/RSCPL" + ], + "isOsiApproved": true + }, + { + "reference": "https://spdx.org/licenses/Ruby.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/Ruby.json", + "referenceNumber": 244, + "name": "Ruby License", + "licenseId": "Ruby", + "seeAlso": [ + "https://www.ruby-lang.org/en/about/license.txt" + ], + "isOsiApproved": false, + "isFsfLibre": true + }, + { + "reference": "https://spdx.org/licenses/Ruby-pty.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/Ruby-pty.json", + "referenceNumber": 558, + "name": "Ruby pty extension license", + "licenseId": "Ruby-pty", + "seeAlso": [ + "https://github.com/ruby/ruby/blob/9f6deaa6888a423720b4b127b5314f0ad26cc2e6/ext/pty/pty.c#L775-L786", + "https://github.com/ruby/ruby/commit/0a64817fb80016030c03518fb9459f63c11605ea#diff-ef5fa30838d6d0cecad9e675cc50b24628cfe2cb277c346053fafcc36c91c204", + "https://github.com/ruby/ruby/commit/0a64817fb80016030c03518fb9459f63c11605ea#diff-fedf217c1ce44bda01f0a678d3ff8b198bed478754d699c527a698ad933979a0" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/SAX-PD.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/SAX-PD.json", + "referenceNumber": 166, + "name": "Sax Public Domain Notice", + "licenseId": "SAX-PD", + "seeAlso": [ + "http://www.saxproject.org/copying.html" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/SAX-PD-2.0.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/SAX-PD-2.0.json", + "referenceNumber": 497, + "name": "Sax Public Domain Notice 2.0", + "licenseId": "SAX-PD-2.0", + "seeAlso": [ + "http://www.saxproject.org/copying.html" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/Saxpath.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/Saxpath.json", + "referenceNumber": 298, + "name": "Saxpath License", + "licenseId": "Saxpath", + "seeAlso": [ + "https://fedoraproject.org/wiki/Licensing/Saxpath_License" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/SCEA.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/SCEA.json", + "referenceNumber": 518, + "name": "SCEA Shared Source License", + "licenseId": "SCEA", + "seeAlso": [ + "http://research.scea.com/scea_shared_source_license.html" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/SchemeReport.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/SchemeReport.json", + "referenceNumber": 339, + "name": "Scheme Language Report License", + "licenseId": "SchemeReport", + "seeAlso": [], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/Sendmail.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/Sendmail.json", + "referenceNumber": 394, + "name": "Sendmail License", + "licenseId": "Sendmail", + "seeAlso": [ + "http://www.sendmail.com/pdfs/open_source/sendmail_license.pdf", + "https://web.archive.org/web/20160322142305/https://www.sendmail.com/pdfs/open_source/sendmail_license.pdf" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/Sendmail-8.23.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/Sendmail-8.23.json", + "referenceNumber": 34, + "name": "Sendmail License 8.23", + "licenseId": "Sendmail-8.23", + "seeAlso": [ + "https://www.proofpoint.com/sites/default/files/sendmail-license.pdf", + "https://web.archive.org/web/20181003101040/https://www.proofpoint.com/sites/default/files/sendmail-license.pdf" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/Sendmail-Open-Source-1.1.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/Sendmail-Open-Source-1.1.json", + "referenceNumber": 317, + "name": "Sendmail Open Source License v1.1", + "licenseId": "Sendmail-Open-Source-1.1", + "seeAlso": [ + "https://github.com/trusteddomainproject/OpenDMARC/blob/master/LICENSE.Sendmail" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/SGI-B-1.0.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/SGI-B-1.0.json", + "referenceNumber": 515, + "name": "SGI Free Software License B v1.0", + "licenseId": "SGI-B-1.0", + "seeAlso": [ + "http://oss.sgi.com/projects/FreeB/SGIFreeSWLicB.1.0.html" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/SGI-B-1.1.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/SGI-B-1.1.json", + "referenceNumber": 46, + "name": "SGI Free Software License B v1.1", + "licenseId": "SGI-B-1.1", + "seeAlso": [ + "http://oss.sgi.com/projects/FreeB/" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/SGI-B-2.0.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/SGI-B-2.0.json", + "referenceNumber": 551, + "name": "SGI Free Software License B v2.0", + "licenseId": "SGI-B-2.0", + "seeAlso": [ + "http://oss.sgi.com/projects/FreeB/SGIFreeSWLicB.2.0.pdf" + ], + "isOsiApproved": false, + "isFsfLibre": true + }, + { + "reference": "https://spdx.org/licenses/SGI-OpenGL.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/SGI-OpenGL.json", + "referenceNumber": 73, + "name": "SGI OpenGL License", + "licenseId": "SGI-OpenGL", + "seeAlso": [ + "https://gitlab.freedesktop.org/mesa/glw/-/blob/master/README?ref_type\u003dheads" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/SGP4.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/SGP4.json", + "referenceNumber": 24, + "name": "SGP4 Permission Notice", + "licenseId": "SGP4", + "seeAlso": [ + "https://celestrak.org/publications/AIAA/2006-6753/faq.php" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/SHL-0.5.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/SHL-0.5.json", + "referenceNumber": 159, + "name": "Solderpad Hardware License v0.5", + "licenseId": "SHL-0.5", + "seeAlso": [ + "https://solderpad.org/licenses/SHL-0.5/" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/SHL-0.51.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/SHL-0.51.json", + "referenceNumber": 522, + "name": "Solderpad Hardware License, Version 0.51", + "licenseId": "SHL-0.51", + "seeAlso": [ + "https://solderpad.org/licenses/SHL-0.51/" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/SimPL-2.0.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/SimPL-2.0.json", + "referenceNumber": 560, + "name": "Simple Public License 2.0", + "licenseId": "SimPL-2.0", + "seeAlso": [ + "https://opensource.org/licenses/SimPL-2.0" + ], + "isOsiApproved": true + }, + { + "reference": "https://spdx.org/licenses/SISSL.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/SISSL.json", + "referenceNumber": 349, + "name": "Sun Industry Standards Source License v1.1", + "licenseId": "SISSL", + "seeAlso": [ + "http://www.openoffice.org/licenses/sissl_license.html", + "https://opensource.org/licenses/SISSL" + ], + "isOsiApproved": true, + "isFsfLibre": true + }, + { + "reference": "https://spdx.org/licenses/SISSL-1.2.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/SISSL-1.2.json", + "referenceNumber": 670, + "name": "Sun Industry Standards Source License v1.2", + "licenseId": "SISSL-1.2", + "seeAlso": [ + "http://gridscheduler.sourceforge.net/Gridengine_SISSL_license.html" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/SL.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/SL.json", + "referenceNumber": 295, + "name": "SL License", + "licenseId": "SL", + "seeAlso": [ + "https://github.com/mtoyoda/sl/blob/master/LICENSE" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/Sleepycat.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/Sleepycat.json", + "referenceNumber": 120, + "name": "Sleepycat License", + "licenseId": "Sleepycat", + "seeAlso": [ + "https://opensource.org/licenses/Sleepycat" + ], + "isOsiApproved": true, + "isFsfLibre": true + }, + { + "reference": "https://spdx.org/licenses/SMAIL-GPL.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/SMAIL-GPL.json", + "referenceNumber": 485, + "name": "SMAIL General Public License", + "licenseId": "SMAIL-GPL", + "seeAlso": [ + "https://sources.debian.org/copyright/license/debianutils/4.11.2/" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/SMLNJ.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/SMLNJ.json", + "referenceNumber": 506, + "name": "Standard ML of New Jersey License", + "licenseId": "SMLNJ", + "seeAlso": [ + "https://www.smlnj.org/license.html" + ], + "isOsiApproved": false, + "isFsfLibre": true + }, + { + "reference": "https://spdx.org/licenses/SMPPL.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/SMPPL.json", + "referenceNumber": 325, + "name": "Secure Messaging Protocol Public License", + "licenseId": "SMPPL", + "seeAlso": [ + "https://github.com/dcblake/SMP/blob/master/Documentation/License.txt" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/SNIA.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/SNIA.json", + "referenceNumber": 92, + "name": "SNIA Public License 1.1", + "licenseId": "SNIA", + "seeAlso": [ + "https://fedoraproject.org/wiki/Licensing/SNIA_Public_License" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/snprintf.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/snprintf.json", + "referenceNumber": 604, + "name": "snprintf License", + "licenseId": "snprintf", + "seeAlso": [ + "https://github.com/openssh/openssh-portable/blob/master/openbsd-compat/bsd-snprintf.c#L2" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/softSurfer.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/softSurfer.json", + "referenceNumber": 96, + "name": "softSurfer License", + "licenseId": "softSurfer", + "seeAlso": [ + "https://github.com/mm2/Little-CMS/blob/master/src/cmssm.c#L207", + "https://fedoraproject.org/wiki/Licensing/softSurfer" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/Soundex.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/Soundex.json", + "referenceNumber": 65, + "name": "Soundex License", + "licenseId": "Soundex", + "seeAlso": [ + "https://metacpan.org/release/RJBS/Text-Soundex-3.05/source/Soundex.pm#L3-11" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/Spencer-86.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/Spencer-86.json", + "referenceNumber": 21, + "name": "Spencer License 86", + "licenseId": "Spencer-86", + "seeAlso": [ + "https://fedoraproject.org/wiki/Licensing/Henry_Spencer_Reg-Ex_Library_License" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/Spencer-94.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/Spencer-94.json", + "referenceNumber": 472, + "name": "Spencer License 94", + "licenseId": "Spencer-94", + "seeAlso": [ + "https://fedoraproject.org/wiki/Licensing/Henry_Spencer_Reg-Ex_Library_License", + "https://metacpan.org/release/KNOK/File-MMagic-1.30/source/COPYING#L28" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/Spencer-99.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/Spencer-99.json", + "referenceNumber": 432, + "name": "Spencer License 99", + "licenseId": "Spencer-99", + "seeAlso": [ + "http://www.opensource.apple.com/source/tcl/tcl-5/tcl/generic/regfronts.c" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/SPL-1.0.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/SPL-1.0.json", + "referenceNumber": 487, + "name": "Sun Public License v1.0", + "licenseId": "SPL-1.0", + "seeAlso": [ + "https://opensource.org/licenses/SPL-1.0" + ], + "isOsiApproved": true, + "isFsfLibre": true + }, + { + "reference": "https://spdx.org/licenses/ssh-keyscan.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/ssh-keyscan.json", + "referenceNumber": 431, + "name": "ssh-keyscan License", + "licenseId": "ssh-keyscan", + "seeAlso": [ + "https://github.com/openssh/openssh-portable/blob/master/LICENCE#L82" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/SSH-OpenSSH.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/SSH-OpenSSH.json", + "referenceNumber": 68, + "name": "SSH OpenSSH license", + "licenseId": "SSH-OpenSSH", + "seeAlso": [ + "https://github.com/openssh/openssh-portable/blob/1b11ea7c58cd5c59838b5fa574cd456d6047b2d4/LICENCE#L10" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/SSH-short.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/SSH-short.json", + "referenceNumber": 170, + "name": "SSH short notice", + "licenseId": "SSH-short", + "seeAlso": [ + "https://github.com/openssh/openssh-portable/blob/1b11ea7c58cd5c59838b5fa574cd456d6047b2d4/pathnames.h", + "http://web.mit.edu/kolya/.f/root/athena.mit.edu/sipb.mit.edu/project/openssh/OldFiles/src/openssh-2.9.9p2/ssh-add.1", + "https://joinup.ec.europa.eu/svn/lesoll/trunk/italc/lib/src/dsa_key.cpp" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/SSLeay-standalone.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/SSLeay-standalone.json", + "referenceNumber": 53, + "name": "SSLeay License - standalone", + "licenseId": "SSLeay-standalone", + "seeAlso": [ + "https://www.tq-group.com/filedownloads/files/software-license-conditions/OriginalSSLeay/OriginalSSLeay.pdf" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/SSPL-1.0.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/SSPL-1.0.json", + "referenceNumber": 631, + "name": "Server Side Public License, v 1", + "licenseId": "SSPL-1.0", + "seeAlso": [ + "https://www.mongodb.com/licensing/server-side-public-license" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/StandardML-NJ.html", + "isDeprecatedLicenseId": true, + "detailsUrl": "https://spdx.org/licenses/StandardML-NJ.json", + "referenceNumber": 280, + "name": "Standard ML of New Jersey License", + "licenseId": "StandardML-NJ", + "seeAlso": [ + "https://www.smlnj.org/license.html" + ], + "isOsiApproved": false, + "isFsfLibre": true + }, + { + "reference": "https://spdx.org/licenses/SugarCRM-1.1.3.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/SugarCRM-1.1.3.json", + "referenceNumber": 128, + "name": "SugarCRM Public License v1.1.3", + "licenseId": "SugarCRM-1.1.3", + "seeAlso": [ + "http://www.sugarcrm.com/crm/SPL" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/Sun-PPP.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/Sun-PPP.json", + "referenceNumber": 541, + "name": "Sun PPP License", + "licenseId": "Sun-PPP", + "seeAlso": [ + "https://github.com/ppp-project/ppp/blob/master/pppd/eap.c#L7-L16" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/Sun-PPP-2000.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/Sun-PPP-2000.json", + "referenceNumber": 514, + "name": "Sun PPP License (2000)", + "licenseId": "Sun-PPP-2000", + "seeAlso": [ + "https://github.com/ppp-project/ppp/blob/master/modules/ppp_ahdlc.c#L7-L19" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/SunPro.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/SunPro.json", + "referenceNumber": 237, + "name": "SunPro License", + "licenseId": "SunPro", + "seeAlso": [ + "https://github.com/freebsd/freebsd-src/blob/main/lib/msun/src/e_acosh.c", + "https://github.com/freebsd/freebsd-src/blob/main/lib/msun/src/e_lgammal.c" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/SWL.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/SWL.json", + "referenceNumber": 655, + "name": "Scheme Widget Library (SWL) Software License Agreement", + "licenseId": "SWL", + "seeAlso": [ + "https://fedoraproject.org/wiki/Licensing/SWL" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/swrule.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/swrule.json", + "referenceNumber": 283, + "name": "swrule License", + "licenseId": "swrule", + "seeAlso": [ + "https://ctan.math.utah.edu/ctan/tex-archive/macros/generic/misc/swrule.sty" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/Symlinks.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/Symlinks.json", + "referenceNumber": 557, + "name": "Symlinks License", + "licenseId": "Symlinks", + "seeAlso": [ + "https://www.mail-archive.com/debian-bugs-rc@lists.debian.org/msg11494.html" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/TAPR-OHL-1.0.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/TAPR-OHL-1.0.json", + "referenceNumber": 252, + "name": "TAPR Open Hardware License v1.0", + "licenseId": "TAPR-OHL-1.0", + "seeAlso": [ + "https://www.tapr.org/OHL" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/TCL.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/TCL.json", + "referenceNumber": 576, + "name": "TCL/TK License", + "licenseId": "TCL", + "seeAlso": [ + "http://www.tcl.tk/software/tcltk/license.html", + "https://fedoraproject.org/wiki/Licensing/TCL" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/TCP-wrappers.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/TCP-wrappers.json", + "referenceNumber": 126, + "name": "TCP Wrappers License", + "licenseId": "TCP-wrappers", + "seeAlso": [ + "http://rc.quest.com/topics/openssh/license.php#tcpwrappers" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/TermReadKey.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/TermReadKey.json", + "referenceNumber": 642, + "name": "TermReadKey License", + "licenseId": "TermReadKey", + "seeAlso": [ + "https://github.com/jonathanstowe/TermReadKey/blob/master/README#L9-L10" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/TGPPL-1.0.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/TGPPL-1.0.json", + "referenceNumber": 603, + "name": "Transitive Grace Period Public Licence 1.0", + "licenseId": "TGPPL-1.0", + "seeAlso": [ + "https://fedoraproject.org/wiki/Licensing/TGPPL", + "https://tahoe-lafs.org/trac/tahoe-lafs/browser/trunk/COPYING.TGPPL.rst" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/ThirdEye.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/ThirdEye.json", + "referenceNumber": 320, + "name": "ThirdEye License", + "licenseId": "ThirdEye", + "seeAlso": [ + "https://sourceware.org/cgit/binutils-gdb/tree/include/coff/symconst.h#n11" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/threeparttable.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/threeparttable.json", + "referenceNumber": 364, + "name": "threeparttable License", + "licenseId": "threeparttable", + "seeAlso": [ + "https://fedoraproject.org/wiki/Licensing/Threeparttable" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/TMate.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/TMate.json", + "referenceNumber": 164, + "name": "TMate Open Source License", + "licenseId": "TMate", + "seeAlso": [ + "http://svnkit.com/license.html" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/TORQUE-1.1.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/TORQUE-1.1.json", + "referenceNumber": 498, + "name": "TORQUE v2.5+ Software License v1.1", + "licenseId": "TORQUE-1.1", + "seeAlso": [ + "https://fedoraproject.org/wiki/Licensing/TORQUEv1.1" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/TOSL.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/TOSL.json", + "referenceNumber": 640, + "name": "Trusster Open Source License", + "licenseId": "TOSL", + "seeAlso": [ + "https://fedoraproject.org/wiki/Licensing/TOSL" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/TPDL.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/TPDL.json", + "referenceNumber": 443, + "name": "Time::ParseDate License", + "licenseId": "TPDL", + "seeAlso": [ + "https://metacpan.org/pod/Time::ParseDate#LICENSE" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/TPL-1.0.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/TPL-1.0.json", + "referenceNumber": 251, + "name": "THOR Public License 1.0", + "licenseId": "TPL-1.0", + "seeAlso": [ + "https://fedoraproject.org/wiki/Licensing:ThorPublicLicense" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/TrustedQSL.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/TrustedQSL.json", + "referenceNumber": 396, + "name": "TrustedQSL License", + "licenseId": "TrustedQSL", + "seeAlso": [ + "https://sourceforge.net/p/trustedqsl/tqsl/ci/master/tree/LICENSE.txt" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/TTWL.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/TTWL.json", + "referenceNumber": 106, + "name": "Text-Tabs+Wrap License", + "licenseId": "TTWL", + "seeAlso": [ + "https://fedoraproject.org/wiki/Licensing/TTWL", + "https://github.com/ap/Text-Tabs/blob/master/lib.modern/Text/Tabs.pm#L148" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/TTYP0.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/TTYP0.json", + "referenceNumber": 336, + "name": "TTYP0 License", + "licenseId": "TTYP0", + "seeAlso": [ + "https://people.mpi-inf.mpg.de/~uwe/misc/uw-ttyp0/" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/TU-Berlin-1.0.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/TU-Berlin-1.0.json", + "referenceNumber": 296, + "name": "Technische Universitaet Berlin License 1.0", + "licenseId": "TU-Berlin-1.0", + "seeAlso": [ + "https://github.com/swh/ladspa/blob/7bf6f3799fdba70fda297c2d8fd9f526803d9680/gsm/COPYRIGHT" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/TU-Berlin-2.0.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/TU-Berlin-2.0.json", + "referenceNumber": 499, + "name": "Technische Universitaet Berlin License 2.0", + "licenseId": "TU-Berlin-2.0", + "seeAlso": [ + "https://github.com/CorsixTH/deps/blob/fd339a9f526d1d9c9f01ccf39e438a015da50035/licences/libgsm.txt" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/Ubuntu-font-1.0.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/Ubuntu-font-1.0.json", + "referenceNumber": 72, + "name": "Ubuntu Font Licence v1.0", + "licenseId": "Ubuntu-font-1.0", + "seeAlso": [ + "https://ubuntu.com/legal/font-licence", + "https://assets.ubuntu.com/v1/81e5605d-ubuntu-font-licence-1.0.txt" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/UCAR.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/UCAR.json", + "referenceNumber": 559, + "name": "UCAR License", + "licenseId": "UCAR", + "seeAlso": [ + "https://github.com/Unidata/UDUNITS-2/blob/master/COPYRIGHT" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/UCL-1.0.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/UCL-1.0.json", + "referenceNumber": 619, + "name": "Upstream Compatibility License v1.0", + "licenseId": "UCL-1.0", + "seeAlso": [ + "https://opensource.org/licenses/UCL-1.0" + ], + "isOsiApproved": true + }, + { + "reference": "https://spdx.org/licenses/ulem.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/ulem.json", + "referenceNumber": 495, + "name": "ulem License", + "licenseId": "ulem", + "seeAlso": [ + "https://mirrors.ctan.org/macros/latex/contrib/ulem/README" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/UMich-Merit.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/UMich-Merit.json", + "referenceNumber": 225, + "name": "Michigan/Merit Networks License", + "licenseId": "UMich-Merit", + "seeAlso": [ + "https://github.com/radcli/radcli/blob/master/COPYRIGHT#L64" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/Unicode-3.0.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/Unicode-3.0.json", + "referenceNumber": 447, + "name": "Unicode License v3", + "licenseId": "Unicode-3.0", + "seeAlso": [ + "https://www.unicode.org/license.txt" + ], + "isOsiApproved": true + }, + { + "reference": "https://spdx.org/licenses/Unicode-DFS-2015.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/Unicode-DFS-2015.json", + "referenceNumber": 125, + "name": "Unicode License Agreement - Data Files and Software (2015)", + "licenseId": "Unicode-DFS-2015", + "seeAlso": [ + "https://web.archive.org/web/20151224134844/http://unicode.org/copyright.html" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/Unicode-DFS-2016.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/Unicode-DFS-2016.json", + "referenceNumber": 665, + "name": "Unicode License Agreement - Data Files and Software (2016)", + "licenseId": "Unicode-DFS-2016", + "seeAlso": [ + "https://www.unicode.org/license.txt", + "http://web.archive.org/web/20160823201924/http://www.unicode.org/copyright.html#License", + "http://www.unicode.org/copyright.html" + ], + "isOsiApproved": true + }, + { + "reference": "https://spdx.org/licenses/Unicode-TOU.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/Unicode-TOU.json", + "referenceNumber": 574, + "name": "Unicode Terms of Use", + "licenseId": "Unicode-TOU", + "seeAlso": [ + "http://web.archive.org/web/20140704074106/http://www.unicode.org/copyright.html", + "http://www.unicode.org/copyright.html" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/UnixCrypt.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/UnixCrypt.json", + "referenceNumber": 253, + "name": "UnixCrypt License", + "licenseId": "UnixCrypt", + "seeAlso": [ + "https://foss.heptapod.net/python-libs/passlib/-/blob/branch/stable/LICENSE#L70", + "https://opensource.apple.com/source/JBoss/JBoss-737/jboss-all/jetty/src/main/org/mortbay/util/UnixCrypt.java.auto.html", + "https://archive.eclipse.org/jetty/8.0.1.v20110908/xref/org/eclipse/jetty/http/security/UnixCrypt.html" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/Unlicense.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/Unlicense.json", + "referenceNumber": 150, + "name": "The Unlicense", + "licenseId": "Unlicense", + "seeAlso": [ + "https://unlicense.org/" + ], + "isOsiApproved": true, + "isFsfLibre": true + }, + { + "reference": "https://spdx.org/licenses/UPL-1.0.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/UPL-1.0.json", + "referenceNumber": 342, + "name": "Universal Permissive License v1.0", + "licenseId": "UPL-1.0", + "seeAlso": [ + "https://opensource.org/licenses/UPL" + ], + "isOsiApproved": true, + "isFsfLibre": true + }, + { + "reference": "https://spdx.org/licenses/URT-RLE.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/URT-RLE.json", + "referenceNumber": 526, + "name": "Utah Raster Toolkit Run Length Encoded License", + "licenseId": "URT-RLE", + "seeAlso": [ + "https://sourceforge.net/p/netpbm/code/HEAD/tree/super_stable/converter/other/pnmtorle.c", + "https://sourceforge.net/p/netpbm/code/HEAD/tree/super_stable/converter/other/rletopnm.c" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/Vim.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/Vim.json", + "referenceNumber": 28, + "name": "Vim License", + "licenseId": "Vim", + "seeAlso": [ + "http://vimdoc.sourceforge.net/htmldoc/uganda.html" + ], + "isOsiApproved": false, + "isFsfLibre": true + }, + { + "reference": "https://spdx.org/licenses/VOSTROM.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/VOSTROM.json", + "referenceNumber": 439, + "name": "VOSTROM Public License for Open Source", + "licenseId": "VOSTROM", + "seeAlso": [ + "https://fedoraproject.org/wiki/Licensing/VOSTROM" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/VSL-1.0.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/VSL-1.0.json", + "referenceNumber": 238, + "name": "Vovida Software License v1.0", + "licenseId": "VSL-1.0", + "seeAlso": [ + "https://opensource.org/licenses/VSL-1.0" + ], + "isOsiApproved": true + }, + { + "reference": "https://spdx.org/licenses/W3C.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/W3C.json", + "referenceNumber": 216, + "name": "W3C Software Notice and License (2002-12-31)", + "licenseId": "W3C", + "seeAlso": [ + "http://www.w3.org/Consortium/Legal/2002/copyright-software-20021231.html", + "https://opensource.org/licenses/W3C" + ], + "isOsiApproved": true, + "isFsfLibre": true + }, + { + "reference": "https://spdx.org/licenses/W3C-19980720.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/W3C-19980720.json", + "referenceNumber": 206, + "name": "W3C Software Notice and License (1998-07-20)", + "licenseId": "W3C-19980720", + "seeAlso": [ + "http://www.w3.org/Consortium/Legal/copyright-software-19980720.html" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/W3C-20150513.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/W3C-20150513.json", + "referenceNumber": 375, + "name": "W3C Software Notice and Document License (2015-05-13)", + "licenseId": "W3C-20150513", + "seeAlso": [ + "https://www.w3.org/Consortium/Legal/2015/copyright-software-and-document", + "https://www.w3.org/copyright/software-license-2015/", + "https://www.w3.org/copyright/software-license-2023/" + ], + "isOsiApproved": true + }, + { + "reference": "https://spdx.org/licenses/w3m.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/w3m.json", + "referenceNumber": 82, + "name": "w3m License", + "licenseId": "w3m", + "seeAlso": [ + "https://github.com/tats/w3m/blob/master/COPYING" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/Watcom-1.0.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/Watcom-1.0.json", + "referenceNumber": 322, + "name": "Sybase Open Watcom Public License 1.0", + "licenseId": "Watcom-1.0", + "seeAlso": [ + "https://opensource.org/licenses/Watcom-1.0" + ], + "isOsiApproved": true, + "isFsfLibre": false + }, + { + "reference": "https://spdx.org/licenses/Widget-Workshop.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/Widget-Workshop.json", + "referenceNumber": 647, + "name": "Widget Workshop License", + "licenseId": "Widget-Workshop", + "seeAlso": [ + "https://github.com/novnc/noVNC/blob/master/core/crypto/des.js#L24" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/Wsuipa.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/Wsuipa.json", + "referenceNumber": 399, + "name": "Wsuipa License", + "licenseId": "Wsuipa", + "seeAlso": [ + "https://fedoraproject.org/wiki/Licensing/Wsuipa" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/WTFPL.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/WTFPL.json", + "referenceNumber": 234, + "name": "Do What The F*ck You Want To Public License", + "licenseId": "WTFPL", + "seeAlso": [ + "http://www.wtfpl.net/about/", + "http://sam.zoy.org/wtfpl/COPYING" + ], + "isOsiApproved": false, + "isFsfLibre": true + }, + { + "reference": "https://spdx.org/licenses/wwl.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/wwl.json", + "referenceNumber": 114, + "name": "WWL License", + "licenseId": "wwl", + "seeAlso": [ + "http://www.db.net/downloads/wwl+db-1.3.tgz" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/wxWindows.html", + "isDeprecatedLicenseId": true, + "detailsUrl": "https://spdx.org/licenses/wxWindows.json", + "referenceNumber": 147, + "name": "wxWindows Library License", + "licenseId": "wxWindows", + "seeAlso": [ + "https://opensource.org/licenses/WXwindows" + ], + "isOsiApproved": true + }, + { + "reference": "https://spdx.org/licenses/X11.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/X11.json", + "referenceNumber": 309, + "name": "X11 License", + "licenseId": "X11", + "seeAlso": [ + "http://www.xfree86.org/3.3.6/COPYRIGHT2.html#3" + ], + "isOsiApproved": false, + "isFsfLibre": true + }, + { + "reference": "https://spdx.org/licenses/X11-distribute-modifications-variant.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/X11-distribute-modifications-variant.json", + "referenceNumber": 307, + "name": "X11 License Distribution Modification Variant", + "licenseId": "X11-distribute-modifications-variant", + "seeAlso": [ + "https://github.com/mirror/ncurses/blob/master/COPYING" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/X11-swapped.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/X11-swapped.json", + "referenceNumber": 158, + "name": "X11 swapped final paragraphs", + "licenseId": "X11-swapped", + "seeAlso": [ + "https://github.com/fedeinthemix/chez-srfi/blob/master/srfi/LICENSE" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/Xdebug-1.03.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/Xdebug-1.03.json", + "referenceNumber": 408, + "name": "Xdebug License v 1.03", + "licenseId": "Xdebug-1.03", + "seeAlso": [ + "https://github.com/xdebug/xdebug/blob/master/LICENSE" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/Xerox.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/Xerox.json", + "referenceNumber": 577, + "name": "Xerox License", + "licenseId": "Xerox", + "seeAlso": [ + "https://fedoraproject.org/wiki/Licensing/Xerox" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/Xfig.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/Xfig.json", + "referenceNumber": 426, + "name": "Xfig License", + "licenseId": "Xfig", + "seeAlso": [ + "https://github.com/Distrotech/transfig/blob/master/transfig/transfig.c", + "https://fedoraproject.org/wiki/Licensing:MIT#Xfig_Variant", + "https://sourceforge.net/p/mcj/xfig/ci/master/tree/src/Makefile.am" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/XFree86-1.1.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/XFree86-1.1.json", + "referenceNumber": 47, + "name": "XFree86 License 1.1", + "licenseId": "XFree86-1.1", + "seeAlso": [ + "http://www.xfree86.org/current/LICENSE4.html" + ], + "isOsiApproved": false, + "isFsfLibre": true + }, + { + "reference": "https://spdx.org/licenses/xinetd.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/xinetd.json", + "referenceNumber": 415, + "name": "xinetd License", + "licenseId": "xinetd", + "seeAlso": [ + "https://fedoraproject.org/wiki/Licensing/Xinetd_License" + ], + "isOsiApproved": false, + "isFsfLibre": true + }, + { + "reference": "https://spdx.org/licenses/xkeyboard-config-Zinoviev.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/xkeyboard-config-Zinoviev.json", + "referenceNumber": 451, + "name": "xkeyboard-config Zinoviev License", + "licenseId": "xkeyboard-config-Zinoviev", + "seeAlso": [ + "https://gitlab.freedesktop.org/xkeyboard-config/xkeyboard-config/-/blob/master/COPYING?ref_type\u003dheads#L178" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/xlock.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/xlock.json", + "referenceNumber": 516, + "name": "xlock License", + "licenseId": "xlock", + "seeAlso": [ + "https://fossies.org/linux/tiff/contrib/ras/ras2tif.c" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/Xnet.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/Xnet.json", + "referenceNumber": 367, + "name": "X.Net License", + "licenseId": "Xnet", + "seeAlso": [ + "https://opensource.org/licenses/Xnet" + ], + "isOsiApproved": true + }, + { + "reference": "https://spdx.org/licenses/xpp.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/xpp.json", + "referenceNumber": 36, + "name": "XPP License", + "licenseId": "xpp", + "seeAlso": [ + "https://fedoraproject.org/wiki/Licensing/xpp" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/XSkat.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/XSkat.json", + "referenceNumber": 145, + "name": "XSkat License", + "licenseId": "XSkat", + "seeAlso": [ + "https://fedoraproject.org/wiki/Licensing/XSkat_License" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/xzoom.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/xzoom.json", + "referenceNumber": 644, + "name": "xzoom License", + "licenseId": "xzoom", + "seeAlso": [ + "https://metadata.ftp-master.debian.org/changelogs//main/x/xzoom/xzoom_0.3-27_copyright" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/YPL-1.0.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/YPL-1.0.json", + "referenceNumber": 549, + "name": "Yahoo! Public License v1.0", + "licenseId": "YPL-1.0", + "seeAlso": [ + "http://www.zimbra.com/license/yahoo_public_license_1.0.html" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/YPL-1.1.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/YPL-1.1.json", + "referenceNumber": 654, + "name": "Yahoo! Public License v1.1", + "licenseId": "YPL-1.1", + "seeAlso": [ + "http://www.zimbra.com/license/yahoo_public_license_1.1.html" + ], + "isOsiApproved": false, + "isFsfLibre": true + }, + { + "reference": "https://spdx.org/licenses/Zed.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/Zed.json", + "referenceNumber": 513, + "name": "Zed License", + "licenseId": "Zed", + "seeAlso": [ + "https://fedoraproject.org/wiki/Licensing/Zed" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/Zeeff.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/Zeeff.json", + "referenceNumber": 384, + "name": "Zeeff License", + "licenseId": "Zeeff", + "seeAlso": [ + "ftp://ftp.tin.org/pub/news/utils/newsx/newsx-1.6.tar.gz" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/Zend-2.0.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/Zend-2.0.json", + "referenceNumber": 334, + "name": "Zend License v2.0", + "licenseId": "Zend-2.0", + "seeAlso": [ + "https://web.archive.org/web/20130517195954/http://www.zend.com/license/2_00.txt" + ], + "isOsiApproved": false, + "isFsfLibre": true + }, + { + "reference": "https://spdx.org/licenses/Zimbra-1.3.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/Zimbra-1.3.json", + "referenceNumber": 450, + "name": "Zimbra Public License v1.3", + "licenseId": "Zimbra-1.3", + "seeAlso": [ + "http://web.archive.org/web/20100302225219/http://www.zimbra.com/license/zimbra-public-license-1-3.html" + ], + "isOsiApproved": false, + "isFsfLibre": true + }, + { + "reference": "https://spdx.org/licenses/Zimbra-1.4.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/Zimbra-1.4.json", + "referenceNumber": 257, + "name": "Zimbra Public License v1.4", + "licenseId": "Zimbra-1.4", + "seeAlso": [ + "http://www.zimbra.com/legal/zimbra-public-license-1-4" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/Zlib.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/Zlib.json", + "referenceNumber": 567, + "name": "zlib License", + "licenseId": "Zlib", + "seeAlso": [ + "http://www.zlib.net/zlib_license.html", + "https://opensource.org/licenses/Zlib" + ], + "isOsiApproved": true, + "isFsfLibre": true + }, + { + "reference": "https://spdx.org/licenses/zlib-acknowledgement.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/zlib-acknowledgement.json", + "referenceNumber": 12, + "name": "zlib/libpng License with Acknowledgement", + "licenseId": "zlib-acknowledgement", + "seeAlso": [ + "https://fedoraproject.org/wiki/Licensing/ZlibWithAcknowledgement" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/ZPL-1.1.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/ZPL-1.1.json", + "referenceNumber": 314, + "name": "Zope Public License 1.1", + "licenseId": "ZPL-1.1", + "seeAlso": [ + "http://old.zope.org/Resources/License/ZPL-1.1" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/ZPL-2.0.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/ZPL-2.0.json", + "referenceNumber": 623, + "name": "Zope Public License 2.0", + "licenseId": "ZPL-2.0", + "seeAlso": [ + "http://old.zope.org/Resources/License/ZPL-2.0", + "https://opensource.org/licenses/ZPL-2.0" + ], + "isOsiApproved": true, + "isFsfLibre": true + }, + { + "reference": "https://spdx.org/licenses/ZPL-2.1.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/ZPL-2.1.json", + "referenceNumber": 110, + "name": "Zope Public License 2.1", + "licenseId": "ZPL-2.1", + "seeAlso": [ + "http://old.zope.org/Resources/ZPL/" + ], + "isOsiApproved": true, + "isFsfLibre": true + } + ], + "releaseDate": "2024-12-30T00:00:00Z" +} \ No newline at end of file diff --git a/materialized/spdx-3.27.0/licenses.json b/materialized/spdx-3.27.0/licenses.json new file mode 100644 index 0000000000..8970ea00c7 --- /dev/null +++ b/materialized/spdx-3.27.0/licenses.json @@ -0,0 +1,8771 @@ +{ + "licenseListVersion": "3.27.0", + "licenses": [ + { + "reference": "https://spdx.org/licenses/0BSD.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/0BSD.json", + "referenceNumber": 316, + "name": "BSD Zero Clause License", + "licenseId": "0BSD", + "seeAlso": [ + "http://landley.net/toybox/license.html", + "https://opensource.org/licenses/0BSD" + ], + "isOsiApproved": true + }, + { + "reference": "https://spdx.org/licenses/3D-Slicer-1.0.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/3D-Slicer-1.0.json", + "referenceNumber": 61, + "name": "3D Slicer License v1.0", + "licenseId": "3D-Slicer-1.0", + "seeAlso": [ + "https://slicer.org/LICENSE", + "https://github.com/Slicer/Slicer/blob/main/License.txt" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/AAL.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/AAL.json", + "referenceNumber": 424, + "name": "Attribution Assurance License", + "licenseId": "AAL", + "seeAlso": [ + "https://opensource.org/licenses/attribution" + ], + "isOsiApproved": true + }, + { + "reference": "https://spdx.org/licenses/Abstyles.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/Abstyles.json", + "referenceNumber": 252, + "name": "Abstyles License", + "licenseId": "Abstyles", + "seeAlso": [ + "https://fedoraproject.org/wiki/Licensing/Abstyles" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/AdaCore-doc.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/AdaCore-doc.json", + "referenceNumber": 315, + "name": "AdaCore Doc License", + "licenseId": "AdaCore-doc", + "seeAlso": [ + "https://github.com/AdaCore/xmlada/blob/master/docs/index.rst", + "https://github.com/AdaCore/gnatcoll-core/blob/master/docs/index.rst", + "https://github.com/AdaCore/gnatcoll-db/blob/master/docs/index.rst" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/Adobe-2006.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/Adobe-2006.json", + "referenceNumber": 658, + "name": "Adobe Systems Incorporated Source Code License Agreement", + "licenseId": "Adobe-2006", + "seeAlso": [ + "https://fedoraproject.org/wiki/Licensing/AdobeLicense" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/Adobe-Display-PostScript.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/Adobe-Display-PostScript.json", + "referenceNumber": 499, + "name": "Adobe Display PostScript License", + "licenseId": "Adobe-Display-PostScript", + "seeAlso": [ + "https://gitlab.freedesktop.org/xorg/xserver/-/blob/master/COPYING?ref_type\u003dheads#L752" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/Adobe-Glyph.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/Adobe-Glyph.json", + "referenceNumber": 492, + "name": "Adobe Glyph List License", + "licenseId": "Adobe-Glyph", + "seeAlso": [ + "https://fedoraproject.org/wiki/Licensing/MIT#AdobeGlyph" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/Adobe-Utopia.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/Adobe-Utopia.json", + "referenceNumber": 554, + "name": "Adobe Utopia Font License", + "licenseId": "Adobe-Utopia", + "seeAlso": [ + "https://gitlab.freedesktop.org/xorg/font/adobe-utopia-100dpi/-/blob/master/COPYING?ref_type\u003dheads" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/ADSL.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/ADSL.json", + "referenceNumber": 76, + "name": "Amazon Digital Services License", + "licenseId": "ADSL", + "seeAlso": [ + "https://fedoraproject.org/wiki/Licensing/AmazonDigitalServicesLicense" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/AFL-1.1.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/AFL-1.1.json", + "referenceNumber": 7, + "name": "Academic Free License v1.1", + "licenseId": "AFL-1.1", + "seeAlso": [ + "http://opensource.linux-mirror.org/licenses/afl-1.1.txt", + "http://wayback.archive.org/web/20021004124254/http://www.opensource.org/licenses/academic.php" + ], + "isOsiApproved": true, + "isFsfLibre": true + }, + { + "reference": "https://spdx.org/licenses/AFL-1.2.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/AFL-1.2.json", + "referenceNumber": 480, + "name": "Academic Free License v1.2", + "licenseId": "AFL-1.2", + "seeAlso": [ + "http://opensource.linux-mirror.org/licenses/afl-1.2.txt", + "http://wayback.archive.org/web/20021204204652/http://www.opensource.org/licenses/academic.php" + ], + "isOsiApproved": true, + "isFsfLibre": true + }, + { + "reference": "https://spdx.org/licenses/AFL-2.0.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/AFL-2.0.json", + "referenceNumber": 41, + "name": "Academic Free License v2.0", + "licenseId": "AFL-2.0", + "seeAlso": [ + "http://wayback.archive.org/web/20060924134533/http://www.opensource.org/licenses/afl-2.0.txt" + ], + "isOsiApproved": true, + "isFsfLibre": true + }, + { + "reference": "https://spdx.org/licenses/AFL-2.1.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/AFL-2.1.json", + "referenceNumber": 682, + "name": "Academic Free License v2.1", + "licenseId": "AFL-2.1", + "seeAlso": [ + "http://opensource.linux-mirror.org/licenses/afl-2.1.txt" + ], + "isOsiApproved": true, + "isFsfLibre": true + }, + { + "reference": "https://spdx.org/licenses/AFL-3.0.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/AFL-3.0.json", + "referenceNumber": 343, + "name": "Academic Free License v3.0", + "licenseId": "AFL-3.0", + "seeAlso": [ + "http://www.rosenlaw.com/AFL3.0.htm", + "https://opensource.org/licenses/afl-3.0" + ], + "isOsiApproved": true, + "isFsfLibre": true + }, + { + "reference": "https://spdx.org/licenses/Afmparse.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/Afmparse.json", + "referenceNumber": 84, + "name": "Afmparse License", + "licenseId": "Afmparse", + "seeAlso": [ + "https://fedoraproject.org/wiki/Licensing/Afmparse" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/AGPL-1.0.html", + "isDeprecatedLicenseId": true, + "detailsUrl": "https://spdx.org/licenses/AGPL-1.0.json", + "referenceNumber": 38, + "name": "Affero General Public License v1.0", + "licenseId": "AGPL-1.0", + "seeAlso": [ + "http://www.affero.org/oagpl.html" + ], + "isOsiApproved": false, + "isFsfLibre": true + }, + { + "reference": "https://spdx.org/licenses/AGPL-1.0-only.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/AGPL-1.0-only.json", + "referenceNumber": 415, + "name": "Affero General Public License v1.0 only", + "licenseId": "AGPL-1.0-only", + "seeAlso": [ + "http://www.affero.org/oagpl.html" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/AGPL-1.0-or-later.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/AGPL-1.0-or-later.json", + "referenceNumber": 24, + "name": "Affero General Public License v1.0 or later", + "licenseId": "AGPL-1.0-or-later", + "seeAlso": [ + "http://www.affero.org/oagpl.html" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/AGPL-3.0.html", + "isDeprecatedLicenseId": true, + "detailsUrl": "https://spdx.org/licenses/AGPL-3.0.json", + "referenceNumber": 427, + "name": "GNU Affero General Public License v3.0", + "licenseId": "AGPL-3.0", + "seeAlso": [ + "https://www.gnu.org/licenses/agpl.txt", + "https://opensource.org/licenses/AGPL-3.0" + ], + "isOsiApproved": true, + "isFsfLibre": true + }, + { + "reference": "https://spdx.org/licenses/AGPL-3.0-only.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/AGPL-3.0-only.json", + "referenceNumber": 191, + "name": "GNU Affero General Public License v3.0 only", + "licenseId": "AGPL-3.0-only", + "seeAlso": [ + "https://www.gnu.org/licenses/agpl.txt", + "https://opensource.org/licenses/AGPL-3.0" + ], + "isOsiApproved": true, + "isFsfLibre": true + }, + { + "reference": "https://spdx.org/licenses/AGPL-3.0-or-later.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/AGPL-3.0-or-later.json", + "referenceNumber": 469, + "name": "GNU Affero General Public License v3.0 or later", + "licenseId": "AGPL-3.0-or-later", + "seeAlso": [ + "https://www.gnu.org/licenses/agpl.txt", + "https://opensource.org/licenses/AGPL-3.0" + ], + "isOsiApproved": true, + "isFsfLibre": true + }, + { + "reference": "https://spdx.org/licenses/Aladdin.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/Aladdin.json", + "referenceNumber": 495, + "name": "Aladdin Free Public License", + "licenseId": "Aladdin", + "seeAlso": [ + "http://pages.cs.wisc.edu/~ghost/doc/AFPL/6.01/Public.htm" + ], + "isOsiApproved": false, + "isFsfLibre": false + }, + { + "reference": "https://spdx.org/licenses/AMD-newlib.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/AMD-newlib.json", + "referenceNumber": 437, + "name": "AMD newlib License", + "licenseId": "AMD-newlib", + "seeAlso": [ + "https://sourceware.org/git/?p\u003dnewlib-cygwin.git;a\u003dblob;f\u003dnewlib/libc/sys/a29khif/_close.S;h\u003d04f52ae00de1dafbd9055ad8d73c5c697a3aae7f;hb\u003dHEAD" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/AMDPLPA.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/AMDPLPA.json", + "referenceNumber": 194, + "name": "AMD\u0027s plpa_map.c License", + "licenseId": "AMDPLPA", + "seeAlso": [ + "https://fedoraproject.org/wiki/Licensing/AMD_plpa_map_License" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/AML.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/AML.json", + "referenceNumber": 644, + "name": "Apple MIT License", + "licenseId": "AML", + "seeAlso": [ + "https://fedoraproject.org/wiki/Licensing/Apple_MIT_License" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/AML-glslang.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/AML-glslang.json", + "referenceNumber": 439, + "name": "AML glslang variant License", + "licenseId": "AML-glslang", + "seeAlso": [ + "https://github.com/KhronosGroup/glslang/blob/main/LICENSE.txt#L949", + "https://docs.omniverse.nvidia.com/install-guide/latest/common/licenses.html" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/AMPAS.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/AMPAS.json", + "referenceNumber": 15, + "name": "Academy of Motion Picture Arts and Sciences BSD", + "licenseId": "AMPAS", + "seeAlso": [ + "https://fedoraproject.org/wiki/Licensing/BSD#AMPASBSD" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/ANTLR-PD.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/ANTLR-PD.json", + "referenceNumber": 25, + "name": "ANTLR Software Rights Notice", + "licenseId": "ANTLR-PD", + "seeAlso": [ + "http://www.antlr2.org/license.html" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/ANTLR-PD-fallback.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/ANTLR-PD-fallback.json", + "referenceNumber": 218, + "name": "ANTLR Software Rights Notice with license fallback", + "licenseId": "ANTLR-PD-fallback", + "seeAlso": [ + "http://www.antlr2.org/license.html" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/any-OSI.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/any-OSI.json", + "referenceNumber": 74, + "name": "Any OSI License", + "licenseId": "any-OSI", + "seeAlso": [ + "https://metacpan.org/pod/Exporter::Tidy#LICENSE" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/any-OSI-perl-modules.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/any-OSI-perl-modules.json", + "referenceNumber": 230, + "name": "Any OSI License - Perl Modules", + "licenseId": "any-OSI-perl-modules", + "seeAlso": [ + "https://metacpan.org/release/JUERD/Exporter-Tidy-0.09/view/Tidy.pm#LICENSE", + "https://metacpan.org/pod/Qmail::Deliverable::Client#LICENSE", + "https://metacpan.org/pod/Net::MQTT::Simple#LICENSE" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/Apache-1.0.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/Apache-1.0.json", + "referenceNumber": 379, + "name": "Apache License 1.0", + "licenseId": "Apache-1.0", + "seeAlso": [ + "http://www.apache.org/licenses/LICENSE-1.0" + ], + "isOsiApproved": false, + "isFsfLibre": true + }, + { + "reference": "https://spdx.org/licenses/Apache-1.1.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/Apache-1.1.json", + "referenceNumber": 111, + "name": "Apache License 1.1", + "licenseId": "Apache-1.1", + "seeAlso": [ + "http://apache.org/licenses/LICENSE-1.1", + "https://opensource.org/licenses/Apache-1.1" + ], + "isOsiApproved": true, + "isFsfLibre": true + }, + { + "reference": "https://spdx.org/licenses/Apache-2.0.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/Apache-2.0.json", + "referenceNumber": 162, + "name": "Apache License 2.0", + "licenseId": "Apache-2.0", + "seeAlso": [ + "https://www.apache.org/licenses/LICENSE-2.0", + "https://opensource.org/licenses/Apache-2.0", + "https://opensource.org/license/apache-2-0" + ], + "isOsiApproved": true, + "isFsfLibre": true + }, + { + "reference": "https://spdx.org/licenses/APAFML.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/APAFML.json", + "referenceNumber": 474, + "name": "Adobe Postscript AFM License", + "licenseId": "APAFML", + "seeAlso": [ + "https://fedoraproject.org/wiki/Licensing/AdobePostscriptAFM" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/APL-1.0.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/APL-1.0.json", + "referenceNumber": 127, + "name": "Adaptive Public License 1.0", + "licenseId": "APL-1.0", + "seeAlso": [ + "https://opensource.org/licenses/APL-1.0" + ], + "isOsiApproved": true + }, + { + "reference": "https://spdx.org/licenses/App-s2p.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/App-s2p.json", + "referenceNumber": 155, + "name": "App::s2p License", + "licenseId": "App-s2p", + "seeAlso": [ + "https://fedoraproject.org/wiki/Licensing/App-s2p" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/APSL-1.0.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/APSL-1.0.json", + "referenceNumber": 86, + "name": "Apple Public Source License 1.0", + "licenseId": "APSL-1.0", + "seeAlso": [ + "https://fedoraproject.org/wiki/Licensing/Apple_Public_Source_License_1.0" + ], + "isOsiApproved": true, + "isFsfLibre": false + }, + { + "reference": "https://spdx.org/licenses/APSL-1.1.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/APSL-1.1.json", + "referenceNumber": 23, + "name": "Apple Public Source License 1.1", + "licenseId": "APSL-1.1", + "seeAlso": [ + "http://www.opensource.apple.com/source/IOSerialFamily/IOSerialFamily-7/APPLE_LICENSE" + ], + "isOsiApproved": true + }, + { + "reference": "https://spdx.org/licenses/APSL-1.2.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/APSL-1.2.json", + "referenceNumber": 265, + "name": "Apple Public Source License 1.2", + "licenseId": "APSL-1.2", + "seeAlso": [ + "http://www.samurajdata.se/opensource/mirror/licenses/apsl.php" + ], + "isOsiApproved": true + }, + { + "reference": "https://spdx.org/licenses/APSL-2.0.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/APSL-2.0.json", + "referenceNumber": 568, + "name": "Apple Public Source License 2.0", + "licenseId": "APSL-2.0", + "seeAlso": [ + "http://www.opensource.apple.com/license/apsl/" + ], + "isOsiApproved": true, + "isFsfLibre": true + }, + { + "reference": "https://spdx.org/licenses/Arphic-1999.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/Arphic-1999.json", + "referenceNumber": 649, + "name": "Arphic Public License", + "licenseId": "Arphic-1999", + "seeAlso": [ + "http://ftp.gnu.org/gnu/non-gnu/chinese-fonts-truetype/LICENSE" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/Artistic-1.0.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/Artistic-1.0.json", + "referenceNumber": 388, + "name": "Artistic License 1.0", + "licenseId": "Artistic-1.0", + "seeAlso": [ + "https://opensource.org/licenses/Artistic-1.0" + ], + "isOsiApproved": true, + "isFsfLibre": false + }, + { + "reference": "https://spdx.org/licenses/Artistic-1.0-cl8.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/Artistic-1.0-cl8.json", + "referenceNumber": 291, + "name": "Artistic License 1.0 w/clause 8", + "licenseId": "Artistic-1.0-cl8", + "seeAlso": [ + "https://opensource.org/licenses/Artistic-1.0" + ], + "isOsiApproved": true + }, + { + "reference": "https://spdx.org/licenses/Artistic-1.0-Perl.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/Artistic-1.0-Perl.json", + "referenceNumber": 20, + "name": "Artistic License 1.0 (Perl)", + "licenseId": "Artistic-1.0-Perl", + "seeAlso": [ + "http://dev.perl.org/licenses/artistic.html" + ], + "isOsiApproved": true + }, + { + "reference": "https://spdx.org/licenses/Artistic-2.0.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/Artistic-2.0.json", + "referenceNumber": 217, + "name": "Artistic License 2.0", + "licenseId": "Artistic-2.0", + "seeAlso": [ + "http://www.perlfoundation.org/artistic_license_2_0", + "https://www.perlfoundation.org/artistic-license-20.html", + "https://opensource.org/licenses/artistic-license-2.0" + ], + "isOsiApproved": true, + "isFsfLibre": true + }, + { + "reference": "https://spdx.org/licenses/Artistic-dist.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/Artistic-dist.json", + "referenceNumber": 511, + "name": "Artistic License 1.0 (dist)", + "licenseId": "Artistic-dist", + "seeAlso": [ + "https://github.com/pexip/os-perl/blob/833cf4c86cc465ccfc627ff16db67e783156a248/debian/copyright#L2720-L2845" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/Aspell-RU.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/Aspell-RU.json", + "referenceNumber": 231, + "name": "Aspell Russian License", + "licenseId": "Aspell-RU", + "seeAlso": [ + "https://ftp.gnu.org/gnu/aspell/dict/ru/aspell6-ru-0.99f7-1.tar.bz2" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/ASWF-Digital-Assets-1.0.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/ASWF-Digital-Assets-1.0.json", + "referenceNumber": 340, + "name": "ASWF Digital Assets License version 1.0", + "licenseId": "ASWF-Digital-Assets-1.0", + "seeAlso": [ + "https://github.com/AcademySoftwareFoundation/foundation/blob/main/digital_assets/aswf_digital_assets_license_v1.0.txt" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/ASWF-Digital-Assets-1.1.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/ASWF-Digital-Assets-1.1.json", + "referenceNumber": 153, + "name": "ASWF Digital Assets License 1.1", + "licenseId": "ASWF-Digital-Assets-1.1", + "seeAlso": [ + "https://github.com/AcademySoftwareFoundation/foundation/blob/main/digital_assets/aswf_digital_assets_license_v1.1.txt" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/Baekmuk.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/Baekmuk.json", + "referenceNumber": 311, + "name": "Baekmuk License", + "licenseId": "Baekmuk", + "seeAlso": [ + "https://fedoraproject.org/wiki/Licensing:Baekmuk?rd\u003dLicensing/Baekmuk" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/Bahyph.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/Bahyph.json", + "referenceNumber": 505, + "name": "Bahyph License", + "licenseId": "Bahyph", + "seeAlso": [ + "https://fedoraproject.org/wiki/Licensing/Bahyph" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/Barr.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/Barr.json", + "referenceNumber": 420, + "name": "Barr License", + "licenseId": "Barr", + "seeAlso": [ + "https://fedoraproject.org/wiki/Licensing/Barr" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/bcrypt-Solar-Designer.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/bcrypt-Solar-Designer.json", + "referenceNumber": 167, + "name": "bcrypt Solar Designer License", + "licenseId": "bcrypt-Solar-Designer", + "seeAlso": [ + "https://github.com/bcrypt-ruby/bcrypt-ruby/blob/master/ext/mri/crypt_blowfish.c" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/Beerware.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/Beerware.json", + "referenceNumber": 556, + "name": "Beerware License", + "licenseId": "Beerware", + "seeAlso": [ + "https://fedoraproject.org/wiki/Licensing/Beerware", + "https://people.freebsd.org/~phk/" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/Bitstream-Charter.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/Bitstream-Charter.json", + "referenceNumber": 47, + "name": "Bitstream Charter Font License", + "licenseId": "Bitstream-Charter", + "seeAlso": [ + "https://fedoraproject.org/wiki/Licensing/Charter#License_Text", + "https://raw.githubusercontent.com/blackhole89/notekit/master/data/fonts/Charter%20license.txt" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/Bitstream-Vera.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/Bitstream-Vera.json", + "referenceNumber": 208, + "name": "Bitstream Vera Font License", + "licenseId": "Bitstream-Vera", + "seeAlso": [ + "https://web.archive.org/web/20080207013128/http://www.gnome.org/fonts/", + "https://docubrain.com/sites/default/files/licenses/bitstream-vera.html" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/BitTorrent-1.0.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/BitTorrent-1.0.json", + "referenceNumber": 156, + "name": "BitTorrent Open Source License v1.0", + "licenseId": "BitTorrent-1.0", + "seeAlso": [ + "http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/licenses/BitTorrent?r1\u003d1.1\u0026r2\u003d1.1.1.1\u0026diff_format\u003ds" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/BitTorrent-1.1.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/BitTorrent-1.1.json", + "referenceNumber": 325, + "name": "BitTorrent Open Source License v1.1", + "licenseId": "BitTorrent-1.1", + "seeAlso": [ + "http://directory.fsf.org/wiki/License:BitTorrentOSL1.1" + ], + "isOsiApproved": false, + "isFsfLibre": true + }, + { + "reference": "https://spdx.org/licenses/blessing.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/blessing.json", + "referenceNumber": 680, + "name": "SQLite Blessing", + "licenseId": "blessing", + "seeAlso": [ + "https://www.sqlite.org/src/artifact/e33a4df7e32d742a?ln\u003d4-9", + "https://sqlite.org/src/artifact/df5091916dbb40e6" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/BlueOak-1.0.0.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/BlueOak-1.0.0.json", + "referenceNumber": 51, + "name": "Blue Oak Model License 1.0.0", + "licenseId": "BlueOak-1.0.0", + "seeAlso": [ + "https://blueoakcouncil.org/license/1.0.0" + ], + "isOsiApproved": true + }, + { + "reference": "https://spdx.org/licenses/Boehm-GC.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/Boehm-GC.json", + "referenceNumber": 92, + "name": "Boehm-Demers-Weiser GC License", + "licenseId": "Boehm-GC", + "seeAlso": [ + "https://fedoraproject.org/wiki/Licensing:MIT#Another_Minimal_variant_(found_in_libatomic_ops)", + "https://github.com/uim/libgcroots/blob/master/COPYING", + "https://github.com/ivmai/libatomic_ops/blob/master/LICENSE" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/Boehm-GC-without-fee.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/Boehm-GC-without-fee.json", + "referenceNumber": 466, + "name": "Boehm-Demers-Weiser GC License (without fee)", + "licenseId": "Boehm-GC-without-fee", + "seeAlso": [ + "https://github.com/MariaDB/server/blob/11.6/libmysqld/lib_sql.cc" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/Borceux.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/Borceux.json", + "referenceNumber": 335, + "name": "Borceux license", + "licenseId": "Borceux", + "seeAlso": [ + "https://fedoraproject.org/wiki/Licensing/Borceux" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/Brian-Gladman-2-Clause.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/Brian-Gladman-2-Clause.json", + "referenceNumber": 198, + "name": "Brian Gladman 2-Clause License", + "licenseId": "Brian-Gladman-2-Clause", + "seeAlso": [ + "https://github.com/krb5/krb5/blob/krb5-1.21.2-final/NOTICE#L140-L156", + "https://web.mit.edu/kerberos/krb5-1.21/doc/mitK5license.html" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/Brian-Gladman-3-Clause.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/Brian-Gladman-3-Clause.json", + "referenceNumber": 675, + "name": "Brian Gladman 3-Clause License", + "licenseId": "Brian-Gladman-3-Clause", + "seeAlso": [ + "https://github.com/SWI-Prolog/packages-clib/blob/master/sha1/brg_endian.h" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/BSD-1-Clause.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/BSD-1-Clause.json", + "referenceNumber": 286, + "name": "BSD 1-Clause License", + "licenseId": "BSD-1-Clause", + "seeAlso": [ + "https://svnweb.freebsd.org/base/head/include/ifaddrs.h?revision\u003d326823" + ], + "isOsiApproved": true + }, + { + "reference": "https://spdx.org/licenses/BSD-2-Clause.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/BSD-2-Clause.json", + "referenceNumber": 430, + "name": "BSD 2-Clause \"Simplified\" License", + "licenseId": "BSD-2-Clause", + "seeAlso": [ + "https://opensource.org/licenses/BSD-2-Clause" + ], + "isOsiApproved": true, + "isFsfLibre": true + }, + { + "reference": "https://spdx.org/licenses/BSD-2-Clause-Darwin.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/BSD-2-Clause-Darwin.json", + "referenceNumber": 477, + "name": "BSD 2-Clause - Ian Darwin variant", + "licenseId": "BSD-2-Clause-Darwin", + "seeAlso": [ + "https://github.com/file/file/blob/master/COPYING" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/BSD-2-Clause-first-lines.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/BSD-2-Clause-first-lines.json", + "referenceNumber": 543, + "name": "BSD 2-Clause - first lines requirement", + "licenseId": "BSD-2-Clause-first-lines", + "seeAlso": [ + "https://github.com/krb5/krb5/blob/krb5-1.21.2-final/NOTICE#L664-L690", + "https://web.mit.edu/kerberos/krb5-1.21/doc/mitK5license.html" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/BSD-2-Clause-FreeBSD.html", + "isDeprecatedLicenseId": true, + "detailsUrl": "https://spdx.org/licenses/BSD-2-Clause-FreeBSD.json", + "referenceNumber": 622, + "name": "BSD 2-Clause FreeBSD License", + "licenseId": "BSD-2-Clause-FreeBSD", + "seeAlso": [ + "http://www.freebsd.org/copyright/freebsd-license.html" + ], + "isOsiApproved": false, + "isFsfLibre": true + }, + { + "reference": "https://spdx.org/licenses/BSD-2-Clause-NetBSD.html", + "isDeprecatedLicenseId": true, + "detailsUrl": "https://spdx.org/licenses/BSD-2-Clause-NetBSD.json", + "referenceNumber": 531, + "name": "BSD 2-Clause NetBSD License", + "licenseId": "BSD-2-Clause-NetBSD", + "seeAlso": [ + "http://www.netbsd.org/about/redistribution.html#default" + ], + "isOsiApproved": false, + "isFsfLibre": true + }, + { + "reference": "https://spdx.org/licenses/BSD-2-Clause-Patent.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/BSD-2-Clause-Patent.json", + "referenceNumber": 584, + "name": "BSD-2-Clause Plus Patent License", + "licenseId": "BSD-2-Clause-Patent", + "seeAlso": [ + "https://opensource.org/licenses/BSDplusPatent" + ], + "isOsiApproved": true + }, + { + "reference": "https://spdx.org/licenses/BSD-2-Clause-pkgconf-disclaimer.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/BSD-2-Clause-pkgconf-disclaimer.json", + "referenceNumber": 624, + "name": "BSD 2-Clause pkgconf disclaimer variant", + "licenseId": "BSD-2-Clause-pkgconf-disclaimer", + "seeAlso": [ + "https://github.com/audacious-media-player/audacious/blob/master/src/audacious/main.cc", + "https://github.com/audacious-media-player/audacious/blob/master/COPYING" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/BSD-2-Clause-Views.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/BSD-2-Clause-Views.json", + "referenceNumber": 536, + "name": "BSD 2-Clause with views sentence", + "licenseId": "BSD-2-Clause-Views", + "seeAlso": [ + "http://www.freebsd.org/copyright/freebsd-license.html", + "https://people.freebsd.org/~ivoras/wine/patch-wine-nvidia.sh", + "https://github.com/protegeproject/protege/blob/master/license.txt" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/BSD-3-Clause.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/BSD-3-Clause.json", + "referenceNumber": 567, + "name": "BSD 3-Clause \"New\" or \"Revised\" License", + "licenseId": "BSD-3-Clause", + "seeAlso": [ + "https://opensource.org/licenses/BSD-3-Clause", + "https://www.eclipse.org/org/documents/edl-v10.php" + ], + "isOsiApproved": true, + "isFsfLibre": true + }, + { + "reference": "https://spdx.org/licenses/BSD-3-Clause-acpica.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/BSD-3-Clause-acpica.json", + "referenceNumber": 277, + "name": "BSD 3-Clause acpica variant", + "licenseId": "BSD-3-Clause-acpica", + "seeAlso": [ + "https://github.com/acpica/acpica/blob/master/source/common/acfileio.c#L119" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/BSD-3-Clause-Attribution.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/BSD-3-Clause-Attribution.json", + "referenceNumber": 159, + "name": "BSD with attribution", + "licenseId": "BSD-3-Clause-Attribution", + "seeAlso": [ + "https://fedoraproject.org/wiki/Licensing/BSD_with_Attribution" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/BSD-3-Clause-Clear.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/BSD-3-Clause-Clear.json", + "referenceNumber": 259, + "name": "BSD 3-Clause Clear License", + "licenseId": "BSD-3-Clause-Clear", + "seeAlso": [ + "http://labs.metacarta.com/license-explanation.html#license" + ], + "isOsiApproved": false, + "isFsfLibre": true + }, + { + "reference": "https://spdx.org/licenses/BSD-3-Clause-flex.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/BSD-3-Clause-flex.json", + "referenceNumber": 205, + "name": "BSD 3-Clause Flex variant", + "licenseId": "BSD-3-Clause-flex", + "seeAlso": [ + "https://github.com/westes/flex/blob/master/COPYING" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/BSD-3-Clause-HP.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/BSD-3-Clause-HP.json", + "referenceNumber": 643, + "name": "Hewlett-Packard BSD variant license", + "licenseId": "BSD-3-Clause-HP", + "seeAlso": [ + "https://github.com/zdohnal/hplip/blob/master/COPYING#L939" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/BSD-3-Clause-LBNL.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/BSD-3-Clause-LBNL.json", + "referenceNumber": 6, + "name": "Lawrence Berkeley National Labs BSD variant license", + "licenseId": "BSD-3-Clause-LBNL", + "seeAlso": [ + "https://fedoraproject.org/wiki/Licensing/LBNLBSD" + ], + "isOsiApproved": true + }, + { + "reference": "https://spdx.org/licenses/BSD-3-Clause-Modification.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/BSD-3-Clause-Modification.json", + "referenceNumber": 497, + "name": "BSD 3-Clause Modification", + "licenseId": "BSD-3-Clause-Modification", + "seeAlso": [ + "https://fedoraproject.org/wiki/Licensing:BSD#Modification_Variant" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/BSD-3-Clause-No-Military-License.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/BSD-3-Clause-No-Military-License.json", + "referenceNumber": 498, + "name": "BSD 3-Clause No Military License", + "licenseId": "BSD-3-Clause-No-Military-License", + "seeAlso": [ + "https://gitlab.syncad.com/hive/dhive/-/blob/master/LICENSE", + "https://github.com/greymass/swift-eosio/blob/master/LICENSE" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/BSD-3-Clause-No-Nuclear-License.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/BSD-3-Clause-No-Nuclear-License.json", + "referenceNumber": 108, + "name": "BSD 3-Clause No Nuclear License", + "licenseId": "BSD-3-Clause-No-Nuclear-License", + "seeAlso": [ + "http://download.oracle.com/otn-pub/java/licenses/bsd.txt" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/BSD-3-Clause-No-Nuclear-License-2014.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/BSD-3-Clause-No-Nuclear-License-2014.json", + "referenceNumber": 239, + "name": "BSD 3-Clause No Nuclear License 2014", + "licenseId": "BSD-3-Clause-No-Nuclear-License-2014", + "seeAlso": [ + "https://java.net/projects/javaeetutorial/pages/BerkeleyLicense" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/BSD-3-Clause-No-Nuclear-Warranty.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/BSD-3-Clause-No-Nuclear-Warranty.json", + "referenceNumber": 606, + "name": "BSD 3-Clause No Nuclear Warranty", + "licenseId": "BSD-3-Clause-No-Nuclear-Warranty", + "seeAlso": [ + "https://jogamp.org/git/?p\u003dgluegen.git;a\u003dblob_plain;f\u003dLICENSE.txt" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/BSD-3-Clause-Open-MPI.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/BSD-3-Clause-Open-MPI.json", + "referenceNumber": 637, + "name": "BSD 3-Clause Open MPI variant", + "licenseId": "BSD-3-Clause-Open-MPI", + "seeAlso": [ + "https://www.open-mpi.org/community/license.php", + "http://www.netlib.org/lapack/LICENSE.txt" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/BSD-3-Clause-Sun.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/BSD-3-Clause-Sun.json", + "referenceNumber": 240, + "name": "BSD 3-Clause Sun Microsystems", + "licenseId": "BSD-3-Clause-Sun", + "seeAlso": [ + "https://github.com/xmlark/msv/blob/b9316e2f2270bc1606952ea4939ec87fbba157f3/xsdlib/src/main/java/com/sun/msv/datatype/regexp/InternalImpl.java" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/BSD-4-Clause.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/BSD-4-Clause.json", + "referenceNumber": 227, + "name": "BSD 4-Clause \"Original\" or \"Old\" License", + "licenseId": "BSD-4-Clause", + "seeAlso": [ + "http://directory.fsf.org/wiki/License:BSD_4Clause" + ], + "isOsiApproved": false, + "isFsfLibre": true + }, + { + "reference": "https://spdx.org/licenses/BSD-4-Clause-Shortened.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/BSD-4-Clause-Shortened.json", + "referenceNumber": 269, + "name": "BSD 4 Clause Shortened", + "licenseId": "BSD-4-Clause-Shortened", + "seeAlso": [ + "https://metadata.ftp-master.debian.org/changelogs//main/a/arpwatch/arpwatch_2.1a15-7_copyright" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/BSD-4-Clause-UC.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/BSD-4-Clause-UC.json", + "referenceNumber": 21, + "name": "BSD-4-Clause (University of California-Specific)", + "licenseId": "BSD-4-Clause-UC", + "seeAlso": [ + "http://www.freebsd.org/copyright/license.html" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/BSD-4.3RENO.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/BSD-4.3RENO.json", + "referenceNumber": 434, + "name": "BSD 4.3 RENO License", + "licenseId": "BSD-4.3RENO", + "seeAlso": [ + "https://sourceware.org/git/?p\u003dbinutils-gdb.git;a\u003dblob;f\u003dlibiberty/strcasecmp.c;h\u003d131d81c2ce7881fa48c363dc5bf5fb302c61ce0b;hb\u003dHEAD", + "https://git.openldap.org/openldap/openldap/-/blob/master/COPYRIGHT#L55-63" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/BSD-4.3TAHOE.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/BSD-4.3TAHOE.json", + "referenceNumber": 685, + "name": "BSD 4.3 TAHOE License", + "licenseId": "BSD-4.3TAHOE", + "seeAlso": [ + "https://github.com/389ds/389-ds-base/blob/main/ldap/include/sysexits-compat.h#L15", + "https://git.savannah.gnu.org/cgit/indent.git/tree/doc/indent.texi?id\u003da74c6b4ee49397cf330b333da1042bffa60ed14f#n1788" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/BSD-Advertising-Acknowledgement.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/BSD-Advertising-Acknowledgement.json", + "referenceNumber": 345, + "name": "BSD Advertising Acknowledgement License", + "licenseId": "BSD-Advertising-Acknowledgement", + "seeAlso": [ + "https://github.com/python-excel/xlrd/blob/master/LICENSE#L33" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/BSD-Attribution-HPND-disclaimer.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/BSD-Attribution-HPND-disclaimer.json", + "referenceNumber": 506, + "name": "BSD with Attribution and HPND disclaimer", + "licenseId": "BSD-Attribution-HPND-disclaimer", + "seeAlso": [ + "https://github.com/cyrusimap/cyrus-sasl/blob/master/COPYING" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/BSD-Inferno-Nettverk.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/BSD-Inferno-Nettverk.json", + "referenceNumber": 535, + "name": "BSD-Inferno-Nettverk", + "licenseId": "BSD-Inferno-Nettverk", + "seeAlso": [ + "https://www.inet.no/dante/LICENSE" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/BSD-Protection.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/BSD-Protection.json", + "referenceNumber": 163, + "name": "BSD Protection License", + "licenseId": "BSD-Protection", + "seeAlso": [ + "https://fedoraproject.org/wiki/Licensing/BSD_Protection_License" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/BSD-Source-beginning-file.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/BSD-Source-beginning-file.json", + "referenceNumber": 383, + "name": "BSD Source Code Attribution - beginning of file variant", + "licenseId": "BSD-Source-beginning-file", + "seeAlso": [ + "https://github.com/lattera/freebsd/blob/master/sys/cam/cam.c#L4" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/BSD-Source-Code.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/BSD-Source-Code.json", + "referenceNumber": 450, + "name": "BSD Source Code Attribution", + "licenseId": "BSD-Source-Code", + "seeAlso": [ + "https://github.com/robbiehanson/CocoaHTTPServer/blob/master/LICENSE.txt" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/BSD-Systemics.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/BSD-Systemics.json", + "referenceNumber": 602, + "name": "Systemics BSD variant license", + "licenseId": "BSD-Systemics", + "seeAlso": [ + "https://metacpan.org/release/DPARIS/Crypt-DES-2.07/source/COPYRIGHT" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/BSD-Systemics-W3Works.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/BSD-Systemics-W3Works.json", + "referenceNumber": 422, + "name": "Systemics W3Works BSD variant license", + "licenseId": "BSD-Systemics-W3Works", + "seeAlso": [ + "https://metacpan.org/release/DPARIS/Crypt-Blowfish-2.14/source/COPYRIGHT#L7" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/BSL-1.0.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/BSL-1.0.json", + "referenceNumber": 130, + "name": "Boost Software License 1.0", + "licenseId": "BSL-1.0", + "seeAlso": [ + "http://www.boost.org/LICENSE_1_0.txt", + "https://opensource.org/licenses/BSL-1.0" + ], + "isOsiApproved": true, + "isFsfLibre": true + }, + { + "reference": "https://spdx.org/licenses/BUSL-1.1.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/BUSL-1.1.json", + "referenceNumber": 234, + "name": "Business Source License 1.1", + "licenseId": "BUSL-1.1", + "seeAlso": [ + "https://mariadb.com/bsl11/" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/bzip2-1.0.5.html", + "isDeprecatedLicenseId": true, + "detailsUrl": "https://spdx.org/licenses/bzip2-1.0.5.json", + "referenceNumber": 412, + "name": "bzip2 and libbzip2 License v1.0.5", + "licenseId": "bzip2-1.0.5", + "seeAlso": [ + "https://sourceware.org/bzip2/1.0.5/bzip2-manual-1.0.5.html", + "http://bzip.org/1.0.5/bzip2-manual-1.0.5.html" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/bzip2-1.0.6.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/bzip2-1.0.6.json", + "referenceNumber": 243, + "name": "bzip2 and libbzip2 License v1.0.6", + "licenseId": "bzip2-1.0.6", + "seeAlso": [ + "https://sourceware.org/git/?p\u003dbzip2.git;a\u003dblob;f\u003dLICENSE;hb\u003dbzip2-1.0.6", + "http://bzip.org/1.0.5/bzip2-manual-1.0.5.html", + "https://sourceware.org/cgit/valgrind/tree/mpi/libmpiwrap.c" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/C-UDA-1.0.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/C-UDA-1.0.json", + "referenceNumber": 660, + "name": "Computational Use of Data Agreement v1.0", + "licenseId": "C-UDA-1.0", + "seeAlso": [ + "https://github.com/microsoft/Computational-Use-of-Data-Agreement/blob/master/C-UDA-1.0.md", + "https://cdla.dev/computational-use-of-data-agreement-v1-0/" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/CAL-1.0.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/CAL-1.0.json", + "referenceNumber": 305, + "name": "Cryptographic Autonomy License 1.0", + "licenseId": "CAL-1.0", + "seeAlso": [ + "http://cryptographicautonomylicense.com/license-text.html", + "https://opensource.org/licenses/CAL-1.0" + ], + "isOsiApproved": true + }, + { + "reference": "https://spdx.org/licenses/CAL-1.0-Combined-Work-Exception.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/CAL-1.0-Combined-Work-Exception.json", + "referenceNumber": 569, + "name": "Cryptographic Autonomy License 1.0 (Combined Work Exception)", + "licenseId": "CAL-1.0-Combined-Work-Exception", + "seeAlso": [ + "http://cryptographicautonomylicense.com/license-text.html", + "https://opensource.org/licenses/CAL-1.0" + ], + "isOsiApproved": true + }, + { + "reference": "https://spdx.org/licenses/Caldera.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/Caldera.json", + "referenceNumber": 483, + "name": "Caldera License", + "licenseId": "Caldera", + "seeAlso": [ + "http://www.lemis.com/grog/UNIX/ancient-source-all.pdf" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/Caldera-no-preamble.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/Caldera-no-preamble.json", + "referenceNumber": 401, + "name": "Caldera License (without preamble)", + "licenseId": "Caldera-no-preamble", + "seeAlso": [ + "https://github.com/apache/apr/blob/trunk/LICENSE#L298C6-L298C29" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/Catharon.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/Catharon.json", + "referenceNumber": 581, + "name": "Catharon License", + "licenseId": "Catharon", + "seeAlso": [ + "https://github.com/scummvm/scummvm/blob/v2.8.0/LICENSES/CatharonLicense.txt" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/CATOSL-1.1.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/CATOSL-1.1.json", + "referenceNumber": 97, + "name": "Computer Associates Trusted Open Source License 1.1", + "licenseId": "CATOSL-1.1", + "seeAlso": [ + "https://opensource.org/licenses/CATOSL-1.1" + ], + "isOsiApproved": true + }, + { + "reference": "https://spdx.org/licenses/CC-BY-1.0.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/CC-BY-1.0.json", + "referenceNumber": 559, + "name": "Creative Commons Attribution 1.0 Generic", + "licenseId": "CC-BY-1.0", + "seeAlso": [ + "https://creativecommons.org/licenses/by/1.0/legalcode" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/CC-BY-2.0.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/CC-BY-2.0.json", + "referenceNumber": 441, + "name": "Creative Commons Attribution 2.0 Generic", + "licenseId": "CC-BY-2.0", + "seeAlso": [ + "https://creativecommons.org/licenses/by/2.0/legalcode" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/CC-BY-2.5.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/CC-BY-2.5.json", + "referenceNumber": 292, + "name": "Creative Commons Attribution 2.5 Generic", + "licenseId": "CC-BY-2.5", + "seeAlso": [ + "https://creativecommons.org/licenses/by/2.5/legalcode" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/CC-BY-2.5-AU.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/CC-BY-2.5-AU.json", + "referenceNumber": 126, + "name": "Creative Commons Attribution 2.5 Australia", + "licenseId": "CC-BY-2.5-AU", + "seeAlso": [ + "https://creativecommons.org/licenses/by/2.5/au/legalcode" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/CC-BY-3.0.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/CC-BY-3.0.json", + "referenceNumber": 576, + "name": "Creative Commons Attribution 3.0 Unported", + "licenseId": "CC-BY-3.0", + "seeAlso": [ + "https://creativecommons.org/licenses/by/3.0/legalcode" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/CC-BY-3.0-AT.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/CC-BY-3.0-AT.json", + "referenceNumber": 107, + "name": "Creative Commons Attribution 3.0 Austria", + "licenseId": "CC-BY-3.0-AT", + "seeAlso": [ + "https://creativecommons.org/licenses/by/3.0/at/legalcode" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/CC-BY-3.0-AU.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/CC-BY-3.0-AU.json", + "referenceNumber": 648, + "name": "Creative Commons Attribution 3.0 Australia", + "licenseId": "CC-BY-3.0-AU", + "seeAlso": [ + "https://creativecommons.org/licenses/by/3.0/au/legalcode" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/CC-BY-3.0-DE.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/CC-BY-3.0-DE.json", + "referenceNumber": 458, + "name": "Creative Commons Attribution 3.0 Germany", + "licenseId": "CC-BY-3.0-DE", + "seeAlso": [ + "https://creativecommons.org/licenses/by/3.0/de/legalcode" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/CC-BY-3.0-IGO.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/CC-BY-3.0-IGO.json", + "referenceNumber": 410, + "name": "Creative Commons Attribution 3.0 IGO", + "licenseId": "CC-BY-3.0-IGO", + "seeAlso": [ + "https://creativecommons.org/licenses/by/3.0/igo/legalcode" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/CC-BY-3.0-NL.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/CC-BY-3.0-NL.json", + "referenceNumber": 436, + "name": "Creative Commons Attribution 3.0 Netherlands", + "licenseId": "CC-BY-3.0-NL", + "seeAlso": [ + "https://creativecommons.org/licenses/by/3.0/nl/legalcode" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/CC-BY-3.0-US.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/CC-BY-3.0-US.json", + "referenceNumber": 366, + "name": "Creative Commons Attribution 3.0 United States", + "licenseId": "CC-BY-3.0-US", + "seeAlso": [ + "https://creativecommons.org/licenses/by/3.0/us/legalcode" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/CC-BY-4.0.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/CC-BY-4.0.json", + "referenceNumber": 66, + "name": "Creative Commons Attribution 4.0 International", + "licenseId": "CC-BY-4.0", + "seeAlso": [ + "https://creativecommons.org/licenses/by/4.0/legalcode" + ], + "isOsiApproved": false, + "isFsfLibre": true + }, + { + "reference": "https://spdx.org/licenses/CC-BY-NC-1.0.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/CC-BY-NC-1.0.json", + "referenceNumber": 428, + "name": "Creative Commons Attribution Non Commercial 1.0 Generic", + "licenseId": "CC-BY-NC-1.0", + "seeAlso": [ + "https://creativecommons.org/licenses/by-nc/1.0/legalcode" + ], + "isOsiApproved": false, + "isFsfLibre": false + }, + { + "reference": "https://spdx.org/licenses/CC-BY-NC-2.0.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/CC-BY-NC-2.0.json", + "referenceNumber": 553, + "name": "Creative Commons Attribution Non Commercial 2.0 Generic", + "licenseId": "CC-BY-NC-2.0", + "seeAlso": [ + "https://creativecommons.org/licenses/by-nc/2.0/legalcode" + ], + "isOsiApproved": false, + "isFsfLibre": false + }, + { + "reference": "https://spdx.org/licenses/CC-BY-NC-2.5.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/CC-BY-NC-2.5.json", + "referenceNumber": 49, + "name": "Creative Commons Attribution Non Commercial 2.5 Generic", + "licenseId": "CC-BY-NC-2.5", + "seeAlso": [ + "https://creativecommons.org/licenses/by-nc/2.5/legalcode" + ], + "isOsiApproved": false, + "isFsfLibre": false + }, + { + "reference": "https://spdx.org/licenses/CC-BY-NC-3.0.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/CC-BY-NC-3.0.json", + "referenceNumber": 686, + "name": "Creative Commons Attribution Non Commercial 3.0 Unported", + "licenseId": "CC-BY-NC-3.0", + "seeAlso": [ + "https://creativecommons.org/licenses/by-nc/3.0/legalcode" + ], + "isOsiApproved": false, + "isFsfLibre": false + }, + { + "reference": "https://spdx.org/licenses/CC-BY-NC-3.0-DE.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/CC-BY-NC-3.0-DE.json", + "referenceNumber": 324, + "name": "Creative Commons Attribution Non Commercial 3.0 Germany", + "licenseId": "CC-BY-NC-3.0-DE", + "seeAlso": [ + "https://creativecommons.org/licenses/by-nc/3.0/de/legalcode" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/CC-BY-NC-4.0.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/CC-BY-NC-4.0.json", + "referenceNumber": 560, + "name": "Creative Commons Attribution Non Commercial 4.0 International", + "licenseId": "CC-BY-NC-4.0", + "seeAlso": [ + "https://creativecommons.org/licenses/by-nc/4.0/legalcode" + ], + "isOsiApproved": false, + "isFsfLibre": false + }, + { + "reference": "https://spdx.org/licenses/CC-BY-NC-ND-1.0.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/CC-BY-NC-ND-1.0.json", + "referenceNumber": 442, + "name": "Creative Commons Attribution Non Commercial No Derivatives 1.0 Generic", + "licenseId": "CC-BY-NC-ND-1.0", + "seeAlso": [ + "https://creativecommons.org/licenses/by-nd-nc/1.0/legalcode" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/CC-BY-NC-ND-2.0.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/CC-BY-NC-ND-2.0.json", + "referenceNumber": 334, + "name": "Creative Commons Attribution Non Commercial No Derivatives 2.0 Generic", + "licenseId": "CC-BY-NC-ND-2.0", + "seeAlso": [ + "https://creativecommons.org/licenses/by-nc-nd/2.0/legalcode" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/CC-BY-NC-ND-2.5.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/CC-BY-NC-ND-2.5.json", + "referenceNumber": 215, + "name": "Creative Commons Attribution Non Commercial No Derivatives 2.5 Generic", + "licenseId": "CC-BY-NC-ND-2.5", + "seeAlso": [ + "https://creativecommons.org/licenses/by-nc-nd/2.5/legalcode" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/CC-BY-NC-ND-3.0.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/CC-BY-NC-ND-3.0.json", + "referenceNumber": 94, + "name": "Creative Commons Attribution Non Commercial No Derivatives 3.0 Unported", + "licenseId": "CC-BY-NC-ND-3.0", + "seeAlso": [ + "https://creativecommons.org/licenses/by-nc-nd/3.0/legalcode" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/CC-BY-NC-ND-3.0-DE.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/CC-BY-NC-ND-3.0-DE.json", + "referenceNumber": 185, + "name": "Creative Commons Attribution Non Commercial No Derivatives 3.0 Germany", + "licenseId": "CC-BY-NC-ND-3.0-DE", + "seeAlso": [ + "https://creativecommons.org/licenses/by-nc-nd/3.0/de/legalcode" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/CC-BY-NC-ND-3.0-IGO.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/CC-BY-NC-ND-3.0-IGO.json", + "referenceNumber": 577, + "name": "Creative Commons Attribution Non Commercial No Derivatives 3.0 IGO", + "licenseId": "CC-BY-NC-ND-3.0-IGO", + "seeAlso": [ + "https://creativecommons.org/licenses/by-nc-nd/3.0/igo/legalcode" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/CC-BY-NC-ND-4.0.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/CC-BY-NC-ND-4.0.json", + "referenceNumber": 53, + "name": "Creative Commons Attribution Non Commercial No Derivatives 4.0 International", + "licenseId": "CC-BY-NC-ND-4.0", + "seeAlso": [ + "https://creativecommons.org/licenses/by-nc-nd/4.0/legalcode" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/CC-BY-NC-SA-1.0.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/CC-BY-NC-SA-1.0.json", + "referenceNumber": 510, + "name": "Creative Commons Attribution Non Commercial Share Alike 1.0 Generic", + "licenseId": "CC-BY-NC-SA-1.0", + "seeAlso": [ + "https://creativecommons.org/licenses/by-nc-sa/1.0/legalcode" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/CC-BY-NC-SA-2.0.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/CC-BY-NC-SA-2.0.json", + "referenceNumber": 199, + "name": "Creative Commons Attribution Non Commercial Share Alike 2.0 Generic", + "licenseId": "CC-BY-NC-SA-2.0", + "seeAlso": [ + "https://creativecommons.org/licenses/by-nc-sa/2.0/legalcode" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/CC-BY-NC-SA-2.0-DE.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/CC-BY-NC-SA-2.0-DE.json", + "referenceNumber": 356, + "name": "Creative Commons Attribution Non Commercial Share Alike 2.0 Germany", + "licenseId": "CC-BY-NC-SA-2.0-DE", + "seeAlso": [ + "https://creativecommons.org/licenses/by-nc-sa/2.0/de/legalcode" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/CC-BY-NC-SA-2.0-FR.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/CC-BY-NC-SA-2.0-FR.json", + "referenceNumber": 301, + "name": "Creative Commons Attribution-NonCommercial-ShareAlike 2.0 France", + "licenseId": "CC-BY-NC-SA-2.0-FR", + "seeAlso": [ + "https://creativecommons.org/licenses/by-nc-sa/2.0/fr/legalcode" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/CC-BY-NC-SA-2.0-UK.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/CC-BY-NC-SA-2.0-UK.json", + "referenceNumber": 671, + "name": "Creative Commons Attribution Non Commercial Share Alike 2.0 England and Wales", + "licenseId": "CC-BY-NC-SA-2.0-UK", + "seeAlso": [ + "https://creativecommons.org/licenses/by-nc-sa/2.0/uk/legalcode" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/CC-BY-NC-SA-2.5.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/CC-BY-NC-SA-2.5.json", + "referenceNumber": 659, + "name": "Creative Commons Attribution Non Commercial Share Alike 2.5 Generic", + "licenseId": "CC-BY-NC-SA-2.5", + "seeAlso": [ + "https://creativecommons.org/licenses/by-nc-sa/2.5/legalcode" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/CC-BY-NC-SA-3.0.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/CC-BY-NC-SA-3.0.json", + "referenceNumber": 359, + "name": "Creative Commons Attribution Non Commercial Share Alike 3.0 Unported", + "licenseId": "CC-BY-NC-SA-3.0", + "seeAlso": [ + "https://creativecommons.org/licenses/by-nc-sa/3.0/legalcode" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/CC-BY-NC-SA-3.0-DE.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/CC-BY-NC-SA-3.0-DE.json", + "referenceNumber": 279, + "name": "Creative Commons Attribution Non Commercial Share Alike 3.0 Germany", + "licenseId": "CC-BY-NC-SA-3.0-DE", + "seeAlso": [ + "https://creativecommons.org/licenses/by-nc-sa/3.0/de/legalcode" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/CC-BY-NC-SA-3.0-IGO.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/CC-BY-NC-SA-3.0-IGO.json", + "referenceNumber": 636, + "name": "Creative Commons Attribution Non Commercial Share Alike 3.0 IGO", + "licenseId": "CC-BY-NC-SA-3.0-IGO", + "seeAlso": [ + "https://creativecommons.org/licenses/by-nc-sa/3.0/igo/legalcode" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/CC-BY-NC-SA-4.0.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/CC-BY-NC-SA-4.0.json", + "referenceNumber": 89, + "name": "Creative Commons Attribution Non Commercial Share Alike 4.0 International", + "licenseId": "CC-BY-NC-SA-4.0", + "seeAlso": [ + "https://creativecommons.org/licenses/by-nc-sa/4.0/legalcode" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/CC-BY-ND-1.0.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/CC-BY-ND-1.0.json", + "referenceNumber": 118, + "name": "Creative Commons Attribution No Derivatives 1.0 Generic", + "licenseId": "CC-BY-ND-1.0", + "seeAlso": [ + "https://creativecommons.org/licenses/by-nd/1.0/legalcode" + ], + "isOsiApproved": false, + "isFsfLibre": false + }, + { + "reference": "https://spdx.org/licenses/CC-BY-ND-2.0.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/CC-BY-ND-2.0.json", + "referenceNumber": 587, + "name": "Creative Commons Attribution No Derivatives 2.0 Generic", + "licenseId": "CC-BY-ND-2.0", + "seeAlso": [ + "https://creativecommons.org/licenses/by-nd/2.0/legalcode" + ], + "isOsiApproved": false, + "isFsfLibre": false + }, + { + "reference": "https://spdx.org/licenses/CC-BY-ND-2.5.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/CC-BY-ND-2.5.json", + "referenceNumber": 394, + "name": "Creative Commons Attribution No Derivatives 2.5 Generic", + "licenseId": "CC-BY-ND-2.5", + "seeAlso": [ + "https://creativecommons.org/licenses/by-nd/2.5/legalcode" + ], + "isOsiApproved": false, + "isFsfLibre": false + }, + { + "reference": "https://spdx.org/licenses/CC-BY-ND-3.0.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/CC-BY-ND-3.0.json", + "referenceNumber": 457, + "name": "Creative Commons Attribution No Derivatives 3.0 Unported", + "licenseId": "CC-BY-ND-3.0", + "seeAlso": [ + "https://creativecommons.org/licenses/by-nd/3.0/legalcode" + ], + "isOsiApproved": false, + "isFsfLibre": false + }, + { + "reference": "https://spdx.org/licenses/CC-BY-ND-3.0-DE.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/CC-BY-ND-3.0-DE.json", + "referenceNumber": 610, + "name": "Creative Commons Attribution No Derivatives 3.0 Germany", + "licenseId": "CC-BY-ND-3.0-DE", + "seeAlso": [ + "https://creativecommons.org/licenses/by-nd/3.0/de/legalcode" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/CC-BY-ND-4.0.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/CC-BY-ND-4.0.json", + "referenceNumber": 11, + "name": "Creative Commons Attribution No Derivatives 4.0 International", + "licenseId": "CC-BY-ND-4.0", + "seeAlso": [ + "https://creativecommons.org/licenses/by-nd/4.0/legalcode" + ], + "isOsiApproved": false, + "isFsfLibre": false + }, + { + "reference": "https://spdx.org/licenses/CC-BY-SA-1.0.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/CC-BY-SA-1.0.json", + "referenceNumber": 384, + "name": "Creative Commons Attribution Share Alike 1.0 Generic", + "licenseId": "CC-BY-SA-1.0", + "seeAlso": [ + "https://creativecommons.org/licenses/by-sa/1.0/legalcode" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/CC-BY-SA-2.0.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/CC-BY-SA-2.0.json", + "referenceNumber": 260, + "name": "Creative Commons Attribution Share Alike 2.0 Generic", + "licenseId": "CC-BY-SA-2.0", + "seeAlso": [ + "https://creativecommons.org/licenses/by-sa/2.0/legalcode" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/CC-BY-SA-2.0-UK.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/CC-BY-SA-2.0-UK.json", + "referenceNumber": 197, + "name": "Creative Commons Attribution Share Alike 2.0 England and Wales", + "licenseId": "CC-BY-SA-2.0-UK", + "seeAlso": [ + "https://creativecommons.org/licenses/by-sa/2.0/uk/legalcode" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/CC-BY-SA-2.1-JP.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/CC-BY-SA-2.1-JP.json", + "referenceNumber": 149, + "name": "Creative Commons Attribution Share Alike 2.1 Japan", + "licenseId": "CC-BY-SA-2.1-JP", + "seeAlso": [ + "https://creativecommons.org/licenses/by-sa/2.1/jp/legalcode" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/CC-BY-SA-2.5.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/CC-BY-SA-2.5.json", + "referenceNumber": 631, + "name": "Creative Commons Attribution Share Alike 2.5 Generic", + "licenseId": "CC-BY-SA-2.5", + "seeAlso": [ + "https://creativecommons.org/licenses/by-sa/2.5/legalcode" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/CC-BY-SA-3.0.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/CC-BY-SA-3.0.json", + "referenceNumber": 79, + "name": "Creative Commons Attribution Share Alike 3.0 Unported", + "licenseId": "CC-BY-SA-3.0", + "seeAlso": [ + "https://creativecommons.org/licenses/by-sa/3.0/legalcode" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/CC-BY-SA-3.0-AT.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/CC-BY-SA-3.0-AT.json", + "referenceNumber": 493, + "name": "Creative Commons Attribution Share Alike 3.0 Austria", + "licenseId": "CC-BY-SA-3.0-AT", + "seeAlso": [ + "https://creativecommons.org/licenses/by-sa/3.0/at/legalcode" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/CC-BY-SA-3.0-DE.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/CC-BY-SA-3.0-DE.json", + "referenceNumber": 683, + "name": "Creative Commons Attribution Share Alike 3.0 Germany", + "licenseId": "CC-BY-SA-3.0-DE", + "seeAlso": [ + "https://creativecommons.org/licenses/by-sa/3.0/de/legalcode" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/CC-BY-SA-3.0-IGO.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/CC-BY-SA-3.0-IGO.json", + "referenceNumber": 571, + "name": "Creative Commons Attribution-ShareAlike 3.0 IGO", + "licenseId": "CC-BY-SA-3.0-IGO", + "seeAlso": [ + "https://creativecommons.org/licenses/by-sa/3.0/igo/legalcode" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/CC-BY-SA-4.0.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/CC-BY-SA-4.0.json", + "referenceNumber": 256, + "name": "Creative Commons Attribution Share Alike 4.0 International", + "licenseId": "CC-BY-SA-4.0", + "seeAlso": [ + "https://creativecommons.org/licenses/by-sa/4.0/legalcode" + ], + "isOsiApproved": false, + "isFsfLibre": true + }, + { + "reference": "https://spdx.org/licenses/CC-PDDC.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/CC-PDDC.json", + "referenceNumber": 273, + "name": "Creative Commons Public Domain Dedication and Certification", + "licenseId": "CC-PDDC", + "seeAlso": [ + "https://creativecommons.org/licenses/publicdomain/" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/CC-PDM-1.0.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/CC-PDM-1.0.json", + "referenceNumber": 547, + "name": "Creative Commons Public Domain Mark 1.0 Universal", + "licenseId": "CC-PDM-1.0", + "seeAlso": [ + "https://creativecommons.org/publicdomain/mark/1.0/", + "https://creativecommons.org/share-your-work/cclicenses/" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/CC-SA-1.0.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/CC-SA-1.0.json", + "referenceNumber": 85, + "name": "Creative Commons Share Alike 1.0 Generic", + "licenseId": "CC-SA-1.0", + "seeAlso": [ + "https://creativecommons.org/licenses/sa/1.0/legalcode" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/CC0-1.0.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/CC0-1.0.json", + "referenceNumber": 369, + "name": "Creative Commons Zero v1.0 Universal", + "licenseId": "CC0-1.0", + "seeAlso": [ + "https://creativecommons.org/publicdomain/zero/1.0/legalcode" + ], + "isOsiApproved": false, + "isFsfLibre": true + }, + { + "reference": "https://spdx.org/licenses/CDDL-1.0.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/CDDL-1.0.json", + "referenceNumber": 407, + "name": "Common Development and Distribution License 1.0", + "licenseId": "CDDL-1.0", + "seeAlso": [ + "https://opensource.org/licenses/cddl1" + ], + "isOsiApproved": true, + "isFsfLibre": true + }, + { + "reference": "https://spdx.org/licenses/CDDL-1.1.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/CDDL-1.1.json", + "referenceNumber": 124, + "name": "Common Development and Distribution License 1.1", + "licenseId": "CDDL-1.1", + "seeAlso": [ + "http://glassfish.java.net/public/CDDL+GPL_1_1.html", + "https://javaee.github.io/glassfish/LICENSE" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/CDL-1.0.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/CDL-1.0.json", + "referenceNumber": 385, + "name": "Common Documentation License 1.0", + "licenseId": "CDL-1.0", + "seeAlso": [ + "http://www.opensource.apple.com/cdl/", + "https://fedoraproject.org/wiki/Licensing/Common_Documentation_License", + "https://www.gnu.org/licenses/license-list.html#ACDL" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/CDLA-Permissive-1.0.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/CDLA-Permissive-1.0.json", + "referenceNumber": 454, + "name": "Community Data License Agreement Permissive 1.0", + "licenseId": "CDLA-Permissive-1.0", + "seeAlso": [ + "https://cdla.io/permissive-1-0" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/CDLA-Permissive-2.0.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/CDLA-Permissive-2.0.json", + "referenceNumber": 520, + "name": "Community Data License Agreement Permissive 2.0", + "licenseId": "CDLA-Permissive-2.0", + "seeAlso": [ + "https://cdla.dev/permissive-2-0" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/CDLA-Sharing-1.0.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/CDLA-Sharing-1.0.json", + "referenceNumber": 548, + "name": "Community Data License Agreement Sharing 1.0", + "licenseId": "CDLA-Sharing-1.0", + "seeAlso": [ + "https://cdla.io/sharing-1-0" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/CECILL-1.0.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/CECILL-1.0.json", + "referenceNumber": 468, + "name": "CeCILL Free Software License Agreement v1.0", + "licenseId": "CECILL-1.0", + "seeAlso": [ + "http://www.cecill.info/licences/Licence_CeCILL_V1-fr.html" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/CECILL-1.1.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/CECILL-1.1.json", + "referenceNumber": 100, + "name": "CeCILL Free Software License Agreement v1.1", + "licenseId": "CECILL-1.1", + "seeAlso": [ + "http://www.cecill.info/licences/Licence_CeCILL_V1.1-US.html" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/CECILL-2.0.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/CECILL-2.0.json", + "referenceNumber": 370, + "name": "CeCILL Free Software License Agreement v2.0", + "licenseId": "CECILL-2.0", + "seeAlso": [ + "http://www.cecill.info/licences/Licence_CeCILL_V2-en.html" + ], + "isOsiApproved": false, + "isFsfLibre": true + }, + { + "reference": "https://spdx.org/licenses/CECILL-2.1.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/CECILL-2.1.json", + "referenceNumber": 95, + "name": "CeCILL Free Software License Agreement v2.1", + "licenseId": "CECILL-2.1", + "seeAlso": [ + "http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.html" + ], + "isOsiApproved": true + }, + { + "reference": "https://spdx.org/licenses/CECILL-B.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/CECILL-B.json", + "referenceNumber": 425, + "name": "CeCILL-B Free Software License Agreement", + "licenseId": "CECILL-B", + "seeAlso": [ + "http://www.cecill.info/licences/Licence_CeCILL-B_V1-en.html" + ], + "isOsiApproved": false, + "isFsfLibre": true + }, + { + "reference": "https://spdx.org/licenses/CECILL-C.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/CECILL-C.json", + "referenceNumber": 45, + "name": "CeCILL-C Free Software License Agreement", + "licenseId": "CECILL-C", + "seeAlso": [ + "http://www.cecill.info/licences/Licence_CeCILL-C_V1-en.html" + ], + "isOsiApproved": false, + "isFsfLibre": true + }, + { + "reference": "https://spdx.org/licenses/CERN-OHL-1.1.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/CERN-OHL-1.1.json", + "referenceNumber": 398, + "name": "CERN Open Hardware Licence v1.1", + "licenseId": "CERN-OHL-1.1", + "seeAlso": [ + "https://www.ohwr.org/project/licenses/wikis/cern-ohl-v1.1" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/CERN-OHL-1.2.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/CERN-OHL-1.2.json", + "referenceNumber": 318, + "name": "CERN Open Hardware Licence v1.2", + "licenseId": "CERN-OHL-1.2", + "seeAlso": [ + "https://www.ohwr.org/project/licenses/wikis/cern-ohl-v1.2" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/CERN-OHL-P-2.0.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/CERN-OHL-P-2.0.json", + "referenceNumber": 200, + "name": "CERN Open Hardware Licence Version 2 - Permissive", + "licenseId": "CERN-OHL-P-2.0", + "seeAlso": [ + "https://www.ohwr.org/project/cernohl/wikis/Documents/CERN-OHL-version-2" + ], + "isOsiApproved": true + }, + { + "reference": "https://spdx.org/licenses/CERN-OHL-S-2.0.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/CERN-OHL-S-2.0.json", + "referenceNumber": 175, + "name": "CERN Open Hardware Licence Version 2 - Strongly Reciprocal", + "licenseId": "CERN-OHL-S-2.0", + "seeAlso": [ + "https://www.ohwr.org/project/cernohl/wikis/Documents/CERN-OHL-version-2" + ], + "isOsiApproved": true + }, + { + "reference": "https://spdx.org/licenses/CERN-OHL-W-2.0.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/CERN-OHL-W-2.0.json", + "referenceNumber": 219, + "name": "CERN Open Hardware Licence Version 2 - Weakly Reciprocal", + "licenseId": "CERN-OHL-W-2.0", + "seeAlso": [ + "https://www.ohwr.org/project/cernohl/wikis/Documents/CERN-OHL-version-2" + ], + "isOsiApproved": true + }, + { + "reference": "https://spdx.org/licenses/CFITSIO.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/CFITSIO.json", + "referenceNumber": 207, + "name": "CFITSIO License", + "licenseId": "CFITSIO", + "seeAlso": [ + "https://heasarc.gsfc.nasa.gov/docs/software/fitsio/c/f_user/node9.html", + "https://heasarc.gsfc.nasa.gov/docs/software/ftools/fv/doc/license.html" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/check-cvs.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/check-cvs.json", + "referenceNumber": 377, + "name": "check-cvs License", + "licenseId": "check-cvs", + "seeAlso": [ + "http://cvs.savannah.gnu.org/viewvc/cvs/ccvs/contrib/check_cvs.in?revision\u003d1.1.4.3\u0026view\u003dmarkup\u0026pathrev\u003dcvs1-11-23#l2" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/checkmk.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/checkmk.json", + "referenceNumber": 389, + "name": "Checkmk License", + "licenseId": "checkmk", + "seeAlso": [ + "https://github.com/libcheck/check/blob/master/checkmk/checkmk.in" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/ClArtistic.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/ClArtistic.json", + "referenceNumber": 690, + "name": "Clarified Artistic License", + "licenseId": "ClArtistic", + "seeAlso": [ + "http://gianluca.dellavedova.org/2011/01/03/clarified-artistic-license/", + "http://www.ncftp.com/ncftp/doc/LICENSE.txt" + ], + "isOsiApproved": false, + "isFsfLibre": true + }, + { + "reference": "https://spdx.org/licenses/Clips.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/Clips.json", + "referenceNumber": 65, + "name": "Clips License", + "licenseId": "Clips", + "seeAlso": [ + "https://github.com/DrItanium/maya/blob/master/LICENSE.CLIPS" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/CMU-Mach.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/CMU-Mach.json", + "referenceNumber": 178, + "name": "CMU Mach License", + "licenseId": "CMU-Mach", + "seeAlso": [ + "https://www.cs.cmu.edu/~410/licenses.html" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/CMU-Mach-nodoc.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/CMU-Mach-nodoc.json", + "referenceNumber": 391, + "name": "CMU Mach - no notices-in-documentation variant", + "licenseId": "CMU-Mach-nodoc", + "seeAlso": [ + "https://github.com/krb5/krb5/blob/krb5-1.21.2-final/NOTICE#L718-L728", + "https://web.mit.edu/kerberos/krb5-1.21/doc/mitK5license.html" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/CNRI-Jython.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/CNRI-Jython.json", + "referenceNumber": 138, + "name": "CNRI Jython License", + "licenseId": "CNRI-Jython", + "seeAlso": [ + "http://www.jython.org/license.html" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/CNRI-Python.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/CNRI-Python.json", + "referenceNumber": 352, + "name": "CNRI Python License", + "licenseId": "CNRI-Python", + "seeAlso": [ + "https://opensource.org/licenses/CNRI-Python" + ], + "isOsiApproved": true + }, + { + "reference": "https://spdx.org/licenses/CNRI-Python-GPL-Compatible.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/CNRI-Python-GPL-Compatible.json", + "referenceNumber": 673, + "name": "CNRI Python Open Source GPL Compatible License Agreement", + "licenseId": "CNRI-Python-GPL-Compatible", + "seeAlso": [ + "http://www.python.org/download/releases/1.6.1/download_win/" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/COIL-1.0.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/COIL-1.0.json", + "referenceNumber": 526, + "name": "Copyfree Open Innovation License", + "licenseId": "COIL-1.0", + "seeAlso": [ + "https://coil.apotheon.org/plaintext/01.0.txt" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/Community-Spec-1.0.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/Community-Spec-1.0.json", + "referenceNumber": 695, + "name": "Community Specification License 1.0", + "licenseId": "Community-Spec-1.0", + "seeAlso": [ + "https://github.com/CommunitySpecification/1.0/blob/master/1._Community_Specification_License-v1.md" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/Condor-1.1.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/Condor-1.1.json", + "referenceNumber": 114, + "name": "Condor Public License v1.1", + "licenseId": "Condor-1.1", + "seeAlso": [ + "http://research.cs.wisc.edu/condor/license.html#condor", + "http://web.archive.org/web/20111123062036/http://research.cs.wisc.edu/condor/license.html#condor" + ], + "isOsiApproved": false, + "isFsfLibre": true + }, + { + "reference": "https://spdx.org/licenses/copyleft-next-0.3.0.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/copyleft-next-0.3.0.json", + "referenceNumber": 122, + "name": "copyleft-next 0.3.0", + "licenseId": "copyleft-next-0.3.0", + "seeAlso": [ + "https://github.com/copyleft-next/copyleft-next/blob/master/Releases/copyleft-next-0.3.0" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/copyleft-next-0.3.1.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/copyleft-next-0.3.1.json", + "referenceNumber": 583, + "name": "copyleft-next 0.3.1", + "licenseId": "copyleft-next-0.3.1", + "seeAlso": [ + "https://github.com/copyleft-next/copyleft-next/blob/master/Releases/copyleft-next-0.3.1" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/Cornell-Lossless-JPEG.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/Cornell-Lossless-JPEG.json", + "referenceNumber": 331, + "name": "Cornell Lossless JPEG License", + "licenseId": "Cornell-Lossless-JPEG", + "seeAlso": [ + "https://android.googlesource.com/platform/external/dng_sdk/+/refs/heads/master/source/dng_lossless_jpeg.cpp#16", + "https://www.mssl.ucl.ac.uk/~mcrw/src/20050920/proto.h", + "https://gitlab.freedesktop.org/libopenraw/libopenraw/blob/master/lib/ljpegdecompressor.cpp#L32" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/CPAL-1.0.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/CPAL-1.0.json", + "referenceNumber": 147, + "name": "Common Public Attribution License 1.0", + "licenseId": "CPAL-1.0", + "seeAlso": [ + "https://opensource.org/licenses/CPAL-1.0" + ], + "isOsiApproved": true, + "isFsfLibre": true + }, + { + "reference": "https://spdx.org/licenses/CPL-1.0.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/CPL-1.0.json", + "referenceNumber": 367, + "name": "Common Public License 1.0", + "licenseId": "CPL-1.0", + "seeAlso": [ + "https://opensource.org/licenses/CPL-1.0" + ], + "isOsiApproved": true, + "isFsfLibre": true + }, + { + "reference": "https://spdx.org/licenses/CPOL-1.02.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/CPOL-1.02.json", + "referenceNumber": 250, + "name": "Code Project Open License 1.02", + "licenseId": "CPOL-1.02", + "seeAlso": [ + "http://www.codeproject.com/info/cpol10.aspx" + ], + "isOsiApproved": false, + "isFsfLibre": false + }, + { + "reference": "https://spdx.org/licenses/Cronyx.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/Cronyx.json", + "referenceNumber": 32, + "name": "Cronyx License", + "licenseId": "Cronyx", + "seeAlso": [ + "https://gitlab.freedesktop.org/xorg/font/alias/-/blob/master/COPYING", + "https://gitlab.freedesktop.org/xorg/font/cronyx-cyrillic/-/blob/master/COPYING", + "https://gitlab.freedesktop.org/xorg/font/misc-cyrillic/-/blob/master/COPYING", + "https://gitlab.freedesktop.org/xorg/font/screen-cyrillic/-/blob/master/COPYING" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/Crossword.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/Crossword.json", + "referenceNumber": 347, + "name": "Crossword License", + "licenseId": "Crossword", + "seeAlso": [ + "https://fedoraproject.org/wiki/Licensing/Crossword" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/CryptoSwift.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/CryptoSwift.json", + "referenceNumber": 323, + "name": "CryptoSwift License", + "licenseId": "CryptoSwift", + "seeAlso": [ + "https://github.com/krzyzanowskim/CryptoSwift/blob/main/LICENSE" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/CrystalStacker.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/CrystalStacker.json", + "referenceNumber": 449, + "name": "CrystalStacker License", + "licenseId": "CrystalStacker", + "seeAlso": [ + "https://fedoraproject.org/wiki/Licensing:CrystalStacker?rd\u003dLicensing/CrystalStacker" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/CUA-OPL-1.0.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/CUA-OPL-1.0.json", + "referenceNumber": 298, + "name": "CUA Office Public License v1.0", + "licenseId": "CUA-OPL-1.0", + "seeAlso": [ + "https://opensource.org/licenses/CUA-OPL-1.0" + ], + "isOsiApproved": true + }, + { + "reference": "https://spdx.org/licenses/Cube.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/Cube.json", + "referenceNumber": 140, + "name": "Cube License", + "licenseId": "Cube", + "seeAlso": [ + "https://fedoraproject.org/wiki/Licensing/Cube" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/curl.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/curl.json", + "referenceNumber": 160, + "name": "curl License", + "licenseId": "curl", + "seeAlso": [ + "https://github.com/bagder/curl/blob/master/COPYING" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/cve-tou.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/cve-tou.json", + "referenceNumber": 216, + "name": "Common Vulnerability Enumeration ToU License", + "licenseId": "cve-tou", + "seeAlso": [ + "https://www.cve.org/Legal/TermsOfUse" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/D-FSL-1.0.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/D-FSL-1.0.json", + "referenceNumber": 545, + "name": "Deutsche Freie Software Lizenz", + "licenseId": "D-FSL-1.0", + "seeAlso": [ + "http://www.dipp.nrw.de/d-fsl/lizenzen/", + "http://www.dipp.nrw.de/d-fsl/index_html/lizenzen/de/D-FSL-1_0_de.txt", + "http://www.dipp.nrw.de/d-fsl/index_html/lizenzen/en/D-FSL-1_0_en.txt", + "https://www.hbz-nrw.de/produkte/open-access/lizenzen/dfsl", + "https://www.hbz-nrw.de/produkte/open-access/lizenzen/dfsl/deutsche-freie-software-lizenz", + "https://www.hbz-nrw.de/produkte/open-access/lizenzen/dfsl/german-free-software-license", + "https://www.hbz-nrw.de/produkte/open-access/lizenzen/dfsl/D-FSL-1_0_de.txt/at_download/file", + "https://www.hbz-nrw.de/produkte/open-access/lizenzen/dfsl/D-FSL-1_0_en.txt/at_download/file" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/DEC-3-Clause.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/DEC-3-Clause.json", + "referenceNumber": 164, + "name": "DEC 3-Clause License", + "licenseId": "DEC-3-Clause", + "seeAlso": [ + "https://gitlab.freedesktop.org/xorg/xserver/-/blob/master/COPYING?ref_type\u003dheads#L239" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/diffmark.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/diffmark.json", + "referenceNumber": 50, + "name": "diffmark license", + "licenseId": "diffmark", + "seeAlso": [ + "https://fedoraproject.org/wiki/Licensing/diffmark" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/DL-DE-BY-2.0.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/DL-DE-BY-2.0.json", + "referenceNumber": 530, + "name": "Data licence Germany – attribution – version 2.0", + "licenseId": "DL-DE-BY-2.0", + "seeAlso": [ + "https://www.govdata.de/dl-de/by-2-0" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/DL-DE-ZERO-2.0.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/DL-DE-ZERO-2.0.json", + "referenceNumber": 139, + "name": "Data licence Germany – zero – version 2.0", + "licenseId": "DL-DE-ZERO-2.0", + "seeAlso": [ + "https://www.govdata.de/dl-de/zero-2-0" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/DOC.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/DOC.json", + "referenceNumber": 31, + "name": "DOC License", + "licenseId": "DOC", + "seeAlso": [ + "http://www.cs.wustl.edu/~schmidt/ACE-copying.html", + "https://www.dre.vanderbilt.edu/~schmidt/ACE-copying.html" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/DocBook-DTD.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/DocBook-DTD.json", + "referenceNumber": 603, + "name": "DocBook DTD License", + "licenseId": "DocBook-DTD", + "seeAlso": [ + "http://www.docbook.org/xml/simple/1.1/docbook-simple-1.1.zip" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/DocBook-Schema.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/DocBook-Schema.json", + "referenceNumber": 184, + "name": "DocBook Schema License", + "licenseId": "DocBook-Schema", + "seeAlso": [ + "https://github.com/docbook/xslt10-stylesheets/blob/efd62655c11cc8773708df7a843613fa1e932bf8/xsl/assembly/schema/docbook51b7.rnc" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/DocBook-Stylesheet.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/DocBook-Stylesheet.json", + "referenceNumber": 494, + "name": "DocBook Stylesheet License", + "licenseId": "DocBook-Stylesheet", + "seeAlso": [ + "http://www.docbook.org/xml/5.0/docbook-5.0.zip" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/DocBook-XML.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/DocBook-XML.json", + "referenceNumber": 672, + "name": "DocBook XML License", + "licenseId": "DocBook-XML", + "seeAlso": [ + "https://github.com/docbook/xslt10-stylesheets/blob/efd62655c11cc8773708df7a843613fa1e932bf8/xsl/COPYING#L27" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/Dotseqn.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/Dotseqn.json", + "referenceNumber": 257, + "name": "Dotseqn License", + "licenseId": "Dotseqn", + "seeAlso": [ + "https://fedoraproject.org/wiki/Licensing/Dotseqn" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/DRL-1.0.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/DRL-1.0.json", + "referenceNumber": 446, + "name": "Detection Rule License 1.0", + "licenseId": "DRL-1.0", + "seeAlso": [ + "https://github.com/Neo23x0/sigma/blob/master/LICENSE.Detection.Rules.md" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/DRL-1.1.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/DRL-1.1.json", + "referenceNumber": 135, + "name": "Detection Rule License 1.1", + "licenseId": "DRL-1.1", + "seeAlso": [ + "https://github.com/SigmaHQ/Detection-Rule-License/blob/6ec7fbde6101d101b5b5d1fcb8f9b69fbc76c04a/LICENSE.Detection.Rules.md" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/DSDP.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/DSDP.json", + "referenceNumber": 336, + "name": "DSDP License", + "licenseId": "DSDP", + "seeAlso": [ + "https://fedoraproject.org/wiki/Licensing/DSDP" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/dtoa.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/dtoa.json", + "referenceNumber": 578, + "name": "David M. Gay dtoa License", + "licenseId": "dtoa", + "seeAlso": [ + "https://github.com/SWI-Prolog/swipl-devel/blob/master/src/os/dtoa.c", + "https://sourceware.org/git/?p\u003dnewlib-cygwin.git;a\u003dblob;f\u003dnewlib/libc/stdlib/mprec.h;hb\u003dHEAD" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/dvipdfm.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/dvipdfm.json", + "referenceNumber": 319, + "name": "dvipdfm License", + "licenseId": "dvipdfm", + "seeAlso": [ + "https://fedoraproject.org/wiki/Licensing/dvipdfm" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/ECL-1.0.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/ECL-1.0.json", + "referenceNumber": 641, + "name": "Educational Community License v1.0", + "licenseId": "ECL-1.0", + "seeAlso": [ + "https://opensource.org/licenses/ECL-1.0" + ], + "isOsiApproved": true + }, + { + "reference": "https://spdx.org/licenses/ECL-2.0.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/ECL-2.0.json", + "referenceNumber": 338, + "name": "Educational Community License v2.0", + "licenseId": "ECL-2.0", + "seeAlso": [ + "https://opensource.org/licenses/ECL-2.0" + ], + "isOsiApproved": true, + "isFsfLibre": true + }, + { + "reference": "https://spdx.org/licenses/eCos-2.0.html", + "isDeprecatedLicenseId": true, + "detailsUrl": "https://spdx.org/licenses/eCos-2.0.json", + "referenceNumber": 647, + "name": "eCos license version 2.0", + "licenseId": "eCos-2.0", + "seeAlso": [ + "https://www.gnu.org/licenses/ecos-license.html" + ], + "isOsiApproved": false, + "isFsfLibre": true + }, + { + "reference": "https://spdx.org/licenses/EFL-1.0.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/EFL-1.0.json", + "referenceNumber": 145, + "name": "Eiffel Forum License v1.0", + "licenseId": "EFL-1.0", + "seeAlso": [ + "http://www.eiffel-nice.org/license/forum.txt", + "https://opensource.org/licenses/EFL-1.0" + ], + "isOsiApproved": true + }, + { + "reference": "https://spdx.org/licenses/EFL-2.0.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/EFL-2.0.json", + "referenceNumber": 604, + "name": "Eiffel Forum License v2.0", + "licenseId": "EFL-2.0", + "seeAlso": [ + "http://www.eiffel-nice.org/license/eiffel-forum-license-2.html", + "https://opensource.org/licenses/EFL-2.0" + ], + "isOsiApproved": true, + "isFsfLibre": true + }, + { + "reference": "https://spdx.org/licenses/eGenix.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/eGenix.json", + "referenceNumber": 613, + "name": "eGenix.com Public License 1.1.0", + "licenseId": "eGenix", + "seeAlso": [ + "http://www.egenix.com/products/eGenix.com-Public-License-1.1.0.pdf", + "https://fedoraproject.org/wiki/Licensing/eGenix.com_Public_License_1.1.0" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/Elastic-2.0.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/Elastic-2.0.json", + "referenceNumber": 396, + "name": "Elastic License 2.0", + "licenseId": "Elastic-2.0", + "seeAlso": [ + "https://www.elastic.co/licensing/elastic-license", + "https://github.com/elastic/elasticsearch/blob/master/licenses/ELASTIC-LICENSE-2.0.txt" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/Entessa.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/Entessa.json", + "referenceNumber": 40, + "name": "Entessa Public License v1.0", + "licenseId": "Entessa", + "seeAlso": [ + "https://opensource.org/licenses/Entessa" + ], + "isOsiApproved": true + }, + { + "reference": "https://spdx.org/licenses/EPICS.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/EPICS.json", + "referenceNumber": 158, + "name": "EPICS Open License", + "licenseId": "EPICS", + "seeAlso": [ + "https://epics.anl.gov/license/open.php" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/EPL-1.0.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/EPL-1.0.json", + "referenceNumber": 558, + "name": "Eclipse Public License 1.0", + "licenseId": "EPL-1.0", + "seeAlso": [ + "http://www.eclipse.org/legal/epl-v10.html", + "https://opensource.org/licenses/EPL-1.0" + ], + "isOsiApproved": true, + "isFsfLibre": true + }, + { + "reference": "https://spdx.org/licenses/EPL-2.0.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/EPL-2.0.json", + "referenceNumber": 326, + "name": "Eclipse Public License 2.0", + "licenseId": "EPL-2.0", + "seeAlso": [ + "https://www.eclipse.org/legal/epl-2.0", + "https://www.opensource.org/licenses/EPL-2.0", + "https://www.eclipse.org/legal/epl-v20.html", + "https://projects.eclipse.org/license/epl-2.0" + ], + "isOsiApproved": true, + "isFsfLibre": true + }, + { + "reference": "https://spdx.org/licenses/ErlPL-1.1.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/ErlPL-1.1.json", + "referenceNumber": 541, + "name": "Erlang Public License v1.1", + "licenseId": "ErlPL-1.1", + "seeAlso": [ + "http://www.erlang.org/EPLICENSE" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/etalab-2.0.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/etalab-2.0.json", + "referenceNumber": 363, + "name": "Etalab Open License 2.0", + "licenseId": "etalab-2.0", + "seeAlso": [ + "https://github.com/DISIC/politique-de-contribution-open-source/blob/master/LICENSE.pdf", + "https://raw.githubusercontent.com/DISIC/politique-de-contribution-open-source/master/LICENSE" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/EUDatagrid.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/EUDatagrid.json", + "referenceNumber": 262, + "name": "EU DataGrid Software License", + "licenseId": "EUDatagrid", + "seeAlso": [ + "http://eu-datagrid.web.cern.ch/eu-datagrid/license.html", + "https://opensource.org/licenses/EUDatagrid" + ], + "isOsiApproved": true, + "isFsfLibre": true + }, + { + "reference": "https://spdx.org/licenses/EUPL-1.0.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/EUPL-1.0.json", + "referenceNumber": 405, + "name": "European Union Public License 1.0", + "licenseId": "EUPL-1.0", + "seeAlso": [ + "http://ec.europa.eu/idabc/en/document/7330.html", + "http://ec.europa.eu/idabc/servlets/Doc027f.pdf?id\u003d31096" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/EUPL-1.1.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/EUPL-1.1.json", + "referenceNumber": 393, + "name": "European Union Public License 1.1", + "licenseId": "EUPL-1.1", + "seeAlso": [ + "https://joinup.ec.europa.eu/software/page/eupl/licence-eupl", + "https://joinup.ec.europa.eu/sites/default/files/custom-page/attachment/eupl1.1.-licence-en_0.pdf", + "https://opensource.org/licenses/EUPL-1.1" + ], + "isOsiApproved": true, + "isFsfLibre": true + }, + { + "reference": "https://spdx.org/licenses/EUPL-1.2.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/EUPL-1.2.json", + "referenceNumber": 596, + "name": "European Union Public License 1.2", + "licenseId": "EUPL-1.2", + "seeAlso": [ + "https://joinup.ec.europa.eu/page/eupl-text-11-12", + "https://joinup.ec.europa.eu/sites/default/files/custom-page/attachment/eupl_v1.2_en.pdf", + "https://joinup.ec.europa.eu/sites/default/files/custom-page/attachment/2020-03/EUPL-1.2%20EN.txt", + "https://joinup.ec.europa.eu/sites/default/files/inline-files/EUPL%20v1_2%20EN(1).txt", + "http://eur-lex.europa.eu/legal-content/EN/TXT/HTML/?uri\u003dCELEX:32017D0863", + "https://opensource.org/licenses/EUPL-1.2" + ], + "isOsiApproved": true, + "isFsfLibre": true + }, + { + "reference": "https://spdx.org/licenses/Eurosym.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/Eurosym.json", + "referenceNumber": 299, + "name": "Eurosym License", + "licenseId": "Eurosym", + "seeAlso": [ + "https://fedoraproject.org/wiki/Licensing/Eurosym" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/Fair.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/Fair.json", + "referenceNumber": 190, + "name": "Fair License", + "licenseId": "Fair", + "seeAlso": [ + "https://web.archive.org/web/20150926120323/http://fairlicense.org/", + "https://opensource.org/licenses/Fair" + ], + "isOsiApproved": true + }, + { + "reference": "https://spdx.org/licenses/FBM.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/FBM.json", + "referenceNumber": 476, + "name": "Fuzzy Bitmap License", + "licenseId": "FBM", + "seeAlso": [ + "https://github.com/SWI-Prolog/packages-xpce/blob/161a40cd82004f731ba48024f9d30af388a7edf5/src/img/gifwrite.c#L21-L26" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/FDK-AAC.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/FDK-AAC.json", + "referenceNumber": 44, + "name": "Fraunhofer FDK AAC Codec Library", + "licenseId": "FDK-AAC", + "seeAlso": [ + "https://fedoraproject.org/wiki/Licensing/FDK-AAC", + "https://directory.fsf.org/wiki/License:Fdk" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/Ferguson-Twofish.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/Ferguson-Twofish.json", + "referenceNumber": 662, + "name": "Ferguson Twofish License", + "licenseId": "Ferguson-Twofish", + "seeAlso": [ + "https://github.com/wernerd/ZRTPCPP/blob/6b3cd8e6783642292bad0c21e3e5e5ce45ff3e03/cryptcommon/twofish.c#L113C3-L127" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/Frameworx-1.0.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/Frameworx-1.0.json", + "referenceNumber": 376, + "name": "Frameworx Open License 1.0", + "licenseId": "Frameworx-1.0", + "seeAlso": [ + "https://opensource.org/licenses/Frameworx-1.0" + ], + "isOsiApproved": true + }, + { + "reference": "https://spdx.org/licenses/FreeBSD-DOC.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/FreeBSD-DOC.json", + "referenceNumber": 645, + "name": "FreeBSD Documentation License", + "licenseId": "FreeBSD-DOC", + "seeAlso": [ + "https://www.freebsd.org/copyright/freebsd-doc-license/" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/FreeImage.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/FreeImage.json", + "referenceNumber": 264, + "name": "FreeImage Public License v1.0", + "licenseId": "FreeImage", + "seeAlso": [ + "http://freeimage.sourceforge.net/freeimage-license.txt" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/FSFAP.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/FSFAP.json", + "referenceNumber": 561, + "name": "FSF All Permissive License", + "licenseId": "FSFAP", + "seeAlso": [ + "https://www.gnu.org/prep/maintain/html_node/License-Notices-for-Other-Files.html" + ], + "isOsiApproved": false, + "isFsfLibre": true + }, + { + "reference": "https://spdx.org/licenses/FSFAP-no-warranty-disclaimer.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/FSFAP-no-warranty-disclaimer.json", + "referenceNumber": 629, + "name": "FSF All Permissive License (without Warranty)", + "licenseId": "FSFAP-no-warranty-disclaimer", + "seeAlso": [ + "https://git.savannah.gnu.org/cgit/wget.git/tree/util/trunc.c?h\u003dv1.21.3\u0026id\u003d40747a11e44ced5a8ac628a41f879ced3e2ebce9#n6" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/FSFUL.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/FSFUL.json", + "referenceNumber": 59, + "name": "FSF Unlimited License", + "licenseId": "FSFUL", + "seeAlso": [ + "https://fedoraproject.org/wiki/Licensing/FSF_Unlimited_License" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/FSFULLR.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/FSFULLR.json", + "referenceNumber": 322, + "name": "FSF Unlimited License (with License Retention)", + "licenseId": "FSFULLR", + "seeAlso": [ + "https://fedoraproject.org/wiki/Licensing/FSF_Unlimited_License#License_Retention_Variant" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/FSFULLRSD.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/FSFULLRSD.json", + "referenceNumber": 300, + "name": "FSF Unlimited License (with License Retention and Short Disclaimer)", + "licenseId": "FSFULLRSD", + "seeAlso": [ + "https://git.savannah.gnu.org/cgit/gnulib.git/tree/modules/COPYING?id\u003d7b08932179d0d6b017f7df01a2ddf6e096b038e3" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/FSFULLRWD.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/FSFULLRWD.json", + "referenceNumber": 245, + "name": "FSF Unlimited License (With License Retention and Warranty Disclaimer)", + "licenseId": "FSFULLRWD", + "seeAlso": [ + "https://lists.gnu.org/archive/html/autoconf/2012-04/msg00061.html" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/FSL-1.1-ALv2.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/FSL-1.1-ALv2.json", + "referenceNumber": 585, + "name": "Functional Source License, Version 1.1, ALv2 Future License", + "licenseId": "FSL-1.1-ALv2", + "seeAlso": [ + "https://fsl.software/FSL-1.1-ALv2.template.md" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/FSL-1.1-MIT.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/FSL-1.1-MIT.json", + "referenceNumber": 639, + "name": "Functional Source License, Version 1.1, MIT Future License", + "licenseId": "FSL-1.1-MIT", + "seeAlso": [ + "https://fsl.software/FSL-1.1-MIT.template.md" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/FTL.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/FTL.json", + "referenceNumber": 417, + "name": "Freetype Project License", + "licenseId": "FTL", + "seeAlso": [ + "http://freetype.fis.uniroma2.it/FTL.TXT", + "http://git.savannah.gnu.org/cgit/freetype/freetype2.git/tree/docs/FTL.TXT", + "http://gitlab.freedesktop.org/freetype/freetype/-/raw/master/docs/FTL.TXT" + ], + "isOsiApproved": false, + "isFsfLibre": true + }, + { + "reference": "https://spdx.org/licenses/Furuseth.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/Furuseth.json", + "referenceNumber": 72, + "name": "Furuseth License", + "licenseId": "Furuseth", + "seeAlso": [ + "https://git.openldap.org/openldap/openldap/-/blob/master/COPYRIGHT?ref_type\u003dheads#L39-51" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/fwlw.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/fwlw.json", + "referenceNumber": 529, + "name": "fwlw License", + "licenseId": "fwlw", + "seeAlso": [ + "https://mirrors.nic.cz/tex-archive/macros/latex/contrib/fwlw/README" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/Game-Programming-Gems.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/Game-Programming-Gems.json", + "referenceNumber": 246, + "name": "Game Programming Gems License", + "licenseId": "Game-Programming-Gems", + "seeAlso": [ + "https://github.com/OGRECave/ogre/blob/master/OgreMain/include/OgreSingleton.h#L28C3-L35C46" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/GCR-docs.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/GCR-docs.json", + "referenceNumber": 270, + "name": "Gnome GCR Documentation License", + "licenseId": "GCR-docs", + "seeAlso": [ + "https://github.com/GNOME/gcr/blob/master/docs/COPYING" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/GD.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/GD.json", + "referenceNumber": 549, + "name": "GD License", + "licenseId": "GD", + "seeAlso": [ + "https://libgd.github.io/manuals/2.3.0/files/license-txt.html" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/generic-xts.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/generic-xts.json", + "referenceNumber": 132, + "name": "Generic XTS License", + "licenseId": "generic-xts", + "seeAlso": [ + "https://github.com/mhogomchungu/zuluCrypt/blob/master/external_libraries/tcplay/generic_xts.c" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/GFDL-1.1.html", + "isDeprecatedLicenseId": true, + "detailsUrl": "https://spdx.org/licenses/GFDL-1.1.json", + "referenceNumber": 533, + "name": "GNU Free Documentation License v1.1", + "licenseId": "GFDL-1.1", + "seeAlso": [ + "https://www.gnu.org/licenses/old-licenses/fdl-1.1.txt" + ], + "isOsiApproved": false, + "isFsfLibre": true + }, + { + "reference": "https://spdx.org/licenses/GFDL-1.1-invariants-only.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/GFDL-1.1-invariants-only.json", + "referenceNumber": 271, + "name": "GNU Free Documentation License v1.1 only - invariants", + "licenseId": "GFDL-1.1-invariants-only", + "seeAlso": [ + "https://www.gnu.org/licenses/old-licenses/fdl-1.1.txt" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/GFDL-1.1-invariants-or-later.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/GFDL-1.1-invariants-or-later.json", + "referenceNumber": 538, + "name": "GNU Free Documentation License v1.1 or later - invariants", + "licenseId": "GFDL-1.1-invariants-or-later", + "seeAlso": [ + "https://www.gnu.org/licenses/old-licenses/fdl-1.1.txt" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/GFDL-1.1-no-invariants-only.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/GFDL-1.1-no-invariants-only.json", + "referenceNumber": 609, + "name": "GNU Free Documentation License v1.1 only - no invariants", + "licenseId": "GFDL-1.1-no-invariants-only", + "seeAlso": [ + "https://www.gnu.org/licenses/old-licenses/fdl-1.1.txt" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/GFDL-1.1-no-invariants-or-later.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/GFDL-1.1-no-invariants-or-later.json", + "referenceNumber": 689, + "name": "GNU Free Documentation License v1.1 or later - no invariants", + "licenseId": "GFDL-1.1-no-invariants-or-later", + "seeAlso": [ + "https://www.gnu.org/licenses/old-licenses/fdl-1.1.txt" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/GFDL-1.1-only.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/GFDL-1.1-only.json", + "referenceNumber": 456, + "name": "GNU Free Documentation License v1.1 only", + "licenseId": "GFDL-1.1-only", + "seeAlso": [ + "https://www.gnu.org/licenses/old-licenses/fdl-1.1.txt" + ], + "isOsiApproved": false, + "isFsfLibre": true + }, + { + "reference": "https://spdx.org/licenses/GFDL-1.1-or-later.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/GFDL-1.1-or-later.json", + "referenceNumber": 67, + "name": "GNU Free Documentation License v1.1 or later", + "licenseId": "GFDL-1.1-or-later", + "seeAlso": [ + "https://www.gnu.org/licenses/old-licenses/fdl-1.1.txt" + ], + "isOsiApproved": false, + "isFsfLibre": true + }, + { + "reference": "https://spdx.org/licenses/GFDL-1.2.html", + "isDeprecatedLicenseId": true, + "detailsUrl": "https://spdx.org/licenses/GFDL-1.2.json", + "referenceNumber": 350, + "name": "GNU Free Documentation License v1.2", + "licenseId": "GFDL-1.2", + "seeAlso": [ + "https://www.gnu.org/licenses/old-licenses/fdl-1.2.txt" + ], + "isOsiApproved": false, + "isFsfLibre": true + }, + { + "reference": "https://spdx.org/licenses/GFDL-1.2-invariants-only.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/GFDL-1.2-invariants-only.json", + "referenceNumber": 192, + "name": "GNU Free Documentation License v1.2 only - invariants", + "licenseId": "GFDL-1.2-invariants-only", + "seeAlso": [ + "https://www.gnu.org/licenses/old-licenses/fdl-1.2.txt" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/GFDL-1.2-invariants-or-later.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/GFDL-1.2-invariants-or-later.json", + "referenceNumber": 261, + "name": "GNU Free Documentation License v1.2 or later - invariants", + "licenseId": "GFDL-1.2-invariants-or-later", + "seeAlso": [ + "https://www.gnu.org/licenses/old-licenses/fdl-1.2.txt" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/GFDL-1.2-no-invariants-only.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/GFDL-1.2-no-invariants-only.json", + "referenceNumber": 101, + "name": "GNU Free Documentation License v1.2 only - no invariants", + "licenseId": "GFDL-1.2-no-invariants-only", + "seeAlso": [ + "https://www.gnu.org/licenses/old-licenses/fdl-1.2.txt" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/GFDL-1.2-no-invariants-or-later.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/GFDL-1.2-no-invariants-or-later.json", + "referenceNumber": 244, + "name": "GNU Free Documentation License v1.2 or later - no invariants", + "licenseId": "GFDL-1.2-no-invariants-or-later", + "seeAlso": [ + "https://www.gnu.org/licenses/old-licenses/fdl-1.2.txt" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/GFDL-1.2-only.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/GFDL-1.2-only.json", + "referenceNumber": 595, + "name": "GNU Free Documentation License v1.2 only", + "licenseId": "GFDL-1.2-only", + "seeAlso": [ + "https://www.gnu.org/licenses/old-licenses/fdl-1.2.txt" + ], + "isOsiApproved": false, + "isFsfLibre": true + }, + { + "reference": "https://spdx.org/licenses/GFDL-1.2-or-later.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/GFDL-1.2-or-later.json", + "referenceNumber": 488, + "name": "GNU Free Documentation License v1.2 or later", + "licenseId": "GFDL-1.2-or-later", + "seeAlso": [ + "https://www.gnu.org/licenses/old-licenses/fdl-1.2.txt" + ], + "isOsiApproved": false, + "isFsfLibre": true + }, + { + "reference": "https://spdx.org/licenses/GFDL-1.3.html", + "isDeprecatedLicenseId": true, + "detailsUrl": "https://spdx.org/licenses/GFDL-1.3.json", + "referenceNumber": 652, + "name": "GNU Free Documentation License v1.3", + "licenseId": "GFDL-1.3", + "seeAlso": [ + "https://www.gnu.org/licenses/fdl-1.3.txt" + ], + "isOsiApproved": false, + "isFsfLibre": true + }, + { + "reference": "https://spdx.org/licenses/GFDL-1.3-invariants-only.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/GFDL-1.3-invariants-only.json", + "referenceNumber": 69, + "name": "GNU Free Documentation License v1.3 only - invariants", + "licenseId": "GFDL-1.3-invariants-only", + "seeAlso": [ + "https://www.gnu.org/licenses/fdl-1.3.txt" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/GFDL-1.3-invariants-or-later.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/GFDL-1.3-invariants-or-later.json", + "referenceNumber": 550, + "name": "GNU Free Documentation License v1.3 or later - invariants", + "licenseId": "GFDL-1.3-invariants-or-later", + "seeAlso": [ + "https://www.gnu.org/licenses/fdl-1.3.txt" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/GFDL-1.3-no-invariants-only.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/GFDL-1.3-no-invariants-only.json", + "referenceNumber": 516, + "name": "GNU Free Documentation License v1.3 only - no invariants", + "licenseId": "GFDL-1.3-no-invariants-only", + "seeAlso": [ + "https://www.gnu.org/licenses/fdl-1.3.txt" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/GFDL-1.3-no-invariants-or-later.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/GFDL-1.3-no-invariants-or-later.json", + "referenceNumber": 73, + "name": "GNU Free Documentation License v1.3 or later - no invariants", + "licenseId": "GFDL-1.3-no-invariants-or-later", + "seeAlso": [ + "https://www.gnu.org/licenses/fdl-1.3.txt" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/GFDL-1.3-only.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/GFDL-1.3-only.json", + "referenceNumber": 223, + "name": "GNU Free Documentation License v1.3 only", + "licenseId": "GFDL-1.3-only", + "seeAlso": [ + "https://www.gnu.org/licenses/fdl-1.3.txt" + ], + "isOsiApproved": false, + "isFsfLibre": true + }, + { + "reference": "https://spdx.org/licenses/GFDL-1.3-or-later.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/GFDL-1.3-or-later.json", + "referenceNumber": 633, + "name": "GNU Free Documentation License v1.3 or later", + "licenseId": "GFDL-1.3-or-later", + "seeAlso": [ + "https://www.gnu.org/licenses/fdl-1.3.txt" + ], + "isOsiApproved": false, + "isFsfLibre": true + }, + { + "reference": "https://spdx.org/licenses/Giftware.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/Giftware.json", + "referenceNumber": 519, + "name": "Giftware License", + "licenseId": "Giftware", + "seeAlso": [ + "http://liballeg.org/license.html#allegro-4-the-giftware-license" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/GL2PS.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/GL2PS.json", + "referenceNumber": 360, + "name": "GL2PS License", + "licenseId": "GL2PS", + "seeAlso": [ + "http://www.geuz.org/gl2ps/COPYING.GL2PS" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/Glide.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/Glide.json", + "referenceNumber": 71, + "name": "3dfx Glide License", + "licenseId": "Glide", + "seeAlso": [ + "http://www.users.on.net/~triforce/glidexp/COPYING.txt" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/Glulxe.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/Glulxe.json", + "referenceNumber": 635, + "name": "Glulxe License", + "licenseId": "Glulxe", + "seeAlso": [ + "https://fedoraproject.org/wiki/Licensing/Glulxe" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/GLWTPL.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/GLWTPL.json", + "referenceNumber": 27, + "name": "Good Luck With That Public License", + "licenseId": "GLWTPL", + "seeAlso": [ + "https://github.com/me-shaon/GLWTPL/commit/da5f6bc734095efbacb442c0b31e33a65b9d6e85" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/gnuplot.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/gnuplot.json", + "referenceNumber": 247, + "name": "gnuplot License", + "licenseId": "gnuplot", + "seeAlso": [ + "https://fedoraproject.org/wiki/Licensing/Gnuplot" + ], + "isOsiApproved": false, + "isFsfLibre": true + }, + { + "reference": "https://spdx.org/licenses/GPL-1.0.html", + "isDeprecatedLicenseId": true, + "detailsUrl": "https://spdx.org/licenses/GPL-1.0.json", + "referenceNumber": 10, + "name": "GNU General Public License v1.0 only", + "licenseId": "GPL-1.0", + "seeAlso": [ + "https://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/GPL-1.0+.html", + "isDeprecatedLicenseId": true, + "detailsUrl": "https://spdx.org/licenses/GPL-1.0+.json", + "referenceNumber": 177, + "name": "GNU General Public License v1.0 or later", + "licenseId": "GPL-1.0+", + "seeAlso": [ + "https://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/GPL-1.0-only.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/GPL-1.0-only.json", + "referenceNumber": 152, + "name": "GNU General Public License v1.0 only", + "licenseId": "GPL-1.0-only", + "seeAlso": [ + "https://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/GPL-1.0-or-later.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/GPL-1.0-or-later.json", + "referenceNumber": 68, + "name": "GNU General Public License v1.0 or later", + "licenseId": "GPL-1.0-or-later", + "seeAlso": [ + "https://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/GPL-2.0.html", + "isDeprecatedLicenseId": true, + "detailsUrl": "https://spdx.org/licenses/GPL-2.0.json", + "referenceNumber": 688, + "name": "GNU General Public License v2.0 only", + "licenseId": "GPL-2.0", + "seeAlso": [ + "https://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", + "https://opensource.org/licenses/GPL-2.0" + ], + "isOsiApproved": true, + "isFsfLibre": true + }, + { + "reference": "https://spdx.org/licenses/GPL-2.0+.html", + "isDeprecatedLicenseId": true, + "detailsUrl": "https://spdx.org/licenses/GPL-2.0+.json", + "referenceNumber": 144, + "name": "GNU General Public License v2.0 or later", + "licenseId": "GPL-2.0+", + "seeAlso": [ + "https://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", + "https://opensource.org/licenses/GPL-2.0" + ], + "isOsiApproved": true, + "isFsfLibre": true + }, + { + "reference": "https://spdx.org/licenses/GPL-2.0-only.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/GPL-2.0-only.json", + "referenceNumber": 461, + "name": "GNU General Public License v2.0 only", + "licenseId": "GPL-2.0-only", + "seeAlso": [ + "https://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", + "https://www.gnu.org/licenses/old-licenses/gpl-2.0.txt", + "https://opensource.org/licenses/GPL-2.0", + "https://github.com/openjdk/jdk/blob/6162e2c5213c5dd7c1127fd9616b543efa898962/LICENSE" + ], + "isOsiApproved": true, + "isFsfLibre": true + }, + { + "reference": "https://spdx.org/licenses/GPL-2.0-or-later.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/GPL-2.0-or-later.json", + "referenceNumber": 99, + "name": "GNU General Public License v2.0 or later", + "licenseId": "GPL-2.0-or-later", + "seeAlso": [ + "https://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", + "https://opensource.org/licenses/GPL-2.0", + "https://github.com/openjdk/jdk/blob/6162e2c5213c5dd7c1127fd9616b543efa898962/LICENSE" + ], + "isOsiApproved": true, + "isFsfLibre": true + }, + { + "reference": "https://spdx.org/licenses/GPL-2.0-with-autoconf-exception.html", + "isDeprecatedLicenseId": true, + "detailsUrl": "https://spdx.org/licenses/GPL-2.0-with-autoconf-exception.json", + "referenceNumber": 618, + "name": "GNU General Public License v2.0 w/Autoconf exception", + "licenseId": "GPL-2.0-with-autoconf-exception", + "seeAlso": [ + "http://ac-archive.sourceforge.net/doc/copyright.html" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/GPL-2.0-with-bison-exception.html", + "isDeprecatedLicenseId": true, + "detailsUrl": "https://spdx.org/licenses/GPL-2.0-with-bison-exception.json", + "referenceNumber": 358, + "name": "GNU General Public License v2.0 w/Bison exception", + "licenseId": "GPL-2.0-with-bison-exception", + "seeAlso": [ + "http://git.savannah.gnu.org/cgit/bison.git/tree/data/yacc.c?id\u003d193d7c7054ba7197b0789e14965b739162319b5e#n141" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/GPL-2.0-with-classpath-exception.html", + "isDeprecatedLicenseId": true, + "detailsUrl": "https://spdx.org/licenses/GPL-2.0-with-classpath-exception.json", + "referenceNumber": 171, + "name": "GNU General Public License v2.0 w/Classpath exception", + "licenseId": "GPL-2.0-with-classpath-exception", + "seeAlso": [ + "https://www.gnu.org/software/classpath/license.html" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/GPL-2.0-with-font-exception.html", + "isDeprecatedLicenseId": true, + "detailsUrl": "https://spdx.org/licenses/GPL-2.0-with-font-exception.json", + "referenceNumber": 151, + "name": "GNU General Public License v2.0 w/Font exception", + "licenseId": "GPL-2.0-with-font-exception", + "seeAlso": [ + "https://www.gnu.org/licenses/gpl-faq.html#FontException" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/GPL-2.0-with-GCC-exception.html", + "isDeprecatedLicenseId": true, + "detailsUrl": "https://spdx.org/licenses/GPL-2.0-with-GCC-exception.json", + "referenceNumber": 525, + "name": "GNU General Public License v2.0 w/GCC Runtime Library exception", + "licenseId": "GPL-2.0-with-GCC-exception", + "seeAlso": [ + "https://gcc.gnu.org/git/?p\u003dgcc.git;a\u003dblob;f\u003dgcc/libgcc1.c;h\u003d762f5143fc6eed57b6797c82710f3538aa52b40b;hb\u003dcb143a3ce4fb417c68f5fa2691a1b1b1053dfba9#l10" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/GPL-3.0.html", + "isDeprecatedLicenseId": true, + "detailsUrl": "https://spdx.org/licenses/GPL-3.0.json", + "referenceNumber": 503, + "name": "GNU General Public License v3.0 only", + "licenseId": "GPL-3.0", + "seeAlso": [ + "https://www.gnu.org/licenses/gpl-3.0-standalone.html", + "https://opensource.org/licenses/GPL-3.0" + ], + "isOsiApproved": true, + "isFsfLibre": true + }, + { + "reference": "https://spdx.org/licenses/GPL-3.0+.html", + "isDeprecatedLicenseId": true, + "detailsUrl": "https://spdx.org/licenses/GPL-3.0+.json", + "referenceNumber": 131, + "name": "GNU General Public License v3.0 or later", + "licenseId": "GPL-3.0+", + "seeAlso": [ + "https://www.gnu.org/licenses/gpl-3.0-standalone.html", + "https://opensource.org/licenses/GPL-3.0" + ], + "isOsiApproved": true, + "isFsfLibre": true + }, + { + "reference": "https://spdx.org/licenses/GPL-3.0-only.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/GPL-3.0-only.json", + "referenceNumber": 632, + "name": "GNU General Public License v3.0 only", + "licenseId": "GPL-3.0-only", + "seeAlso": [ + "https://www.gnu.org/licenses/gpl-3.0-standalone.html", + "https://opensource.org/licenses/GPL-3.0" + ], + "isOsiApproved": true, + "isFsfLibre": true + }, + { + "reference": "https://spdx.org/licenses/GPL-3.0-or-later.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/GPL-3.0-or-later.json", + "referenceNumber": 467, + "name": "GNU General Public License v3.0 or later", + "licenseId": "GPL-3.0-or-later", + "seeAlso": [ + "https://www.gnu.org/licenses/gpl-3.0-standalone.html", + "https://opensource.org/licenses/GPL-3.0" + ], + "isOsiApproved": true, + "isFsfLibre": true + }, + { + "reference": "https://spdx.org/licenses/GPL-3.0-with-autoconf-exception.html", + "isDeprecatedLicenseId": true, + "detailsUrl": "https://spdx.org/licenses/GPL-3.0-with-autoconf-exception.json", + "referenceNumber": 650, + "name": "GNU General Public License v3.0 w/Autoconf exception", + "licenseId": "GPL-3.0-with-autoconf-exception", + "seeAlso": [ + "https://www.gnu.org/licenses/autoconf-exception-3.0.html" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/GPL-3.0-with-GCC-exception.html", + "isDeprecatedLicenseId": true, + "detailsUrl": "https://spdx.org/licenses/GPL-3.0-with-GCC-exception.json", + "referenceNumber": 601, + "name": "GNU General Public License v3.0 w/GCC Runtime Library exception", + "licenseId": "GPL-3.0-with-GCC-exception", + "seeAlso": [ + "https://www.gnu.org/licenses/gcc-exception-3.1.html" + ], + "isOsiApproved": true + }, + { + "reference": "https://spdx.org/licenses/Graphics-Gems.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/Graphics-Gems.json", + "referenceNumber": 255, + "name": "Graphics Gems License", + "licenseId": "Graphics-Gems", + "seeAlso": [ + "https://github.com/erich666/GraphicsGems/blob/master/LICENSE.md" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/gSOAP-1.3b.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/gSOAP-1.3b.json", + "referenceNumber": 668, + "name": "gSOAP Public License v1.3b", + "licenseId": "gSOAP-1.3b", + "seeAlso": [ + "http://www.cs.fsu.edu/~engelen/license.html" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/gtkbook.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/gtkbook.json", + "referenceNumber": 465, + "name": "gtkbook License", + "licenseId": "gtkbook", + "seeAlso": [ + "https://github.com/slogan621/gtkbook", + "https://github.com/oetiker/rrdtool-1.x/blob/master/src/plbasename.c#L8-L11" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/Gutmann.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/Gutmann.json", + "referenceNumber": 524, + "name": "Gutmann License", + "licenseId": "Gutmann", + "seeAlso": [ + "https://www.cs.auckland.ac.nz/~pgut001/dumpasn1.c" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/HaskellReport.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/HaskellReport.json", + "referenceNumber": 605, + "name": "Haskell Language Report License", + "licenseId": "HaskellReport", + "seeAlso": [ + "https://fedoraproject.org/wiki/Licensing/Haskell_Language_Report_License" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/HDF5.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/HDF5.json", + "referenceNumber": 19, + "name": "HDF5 License", + "licenseId": "HDF5", + "seeAlso": [ + "https://github.com/HDFGroup/hdf5/?tab\u003dLicense-1-ov-file#readme" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/hdparm.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/hdparm.json", + "referenceNumber": 283, + "name": "hdparm License", + "licenseId": "hdparm", + "seeAlso": [ + "https://github.com/Distrotech/hdparm/blob/4517550db29a91420fb2b020349523b1b4512df2/LICENSE.TXT" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/HIDAPI.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/HIDAPI.json", + "referenceNumber": 310, + "name": "HIDAPI License", + "licenseId": "HIDAPI", + "seeAlso": [ + "https://github.com/signal11/hidapi/blob/master/LICENSE-orig.txt" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/Hippocratic-2.1.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/Hippocratic-2.1.json", + "referenceNumber": 87, + "name": "Hippocratic License 2.1", + "licenseId": "Hippocratic-2.1", + "seeAlso": [ + "https://firstdonoharm.dev/version/2/1/license.html", + "https://github.com/EthicalSource/hippocratic-license/blob/58c0e646d64ff6fbee275bfe2b9492f914e3ab2a/LICENSE.txt" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/HP-1986.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/HP-1986.json", + "referenceNumber": 282, + "name": "Hewlett-Packard 1986 License", + "licenseId": "HP-1986", + "seeAlso": [ + "https://sourceware.org/git/?p\u003dnewlib-cygwin.git;a\u003dblob;f\u003dnewlib/libc/machine/hppa/memchr.S;h\u003d1cca3e5e8867aa4bffef1f75a5c1bba25c0c441e;hb\u003dHEAD#l2" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/HP-1989.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/HP-1989.json", + "referenceNumber": 8, + "name": "Hewlett-Packard 1989 License", + "licenseId": "HP-1989", + "seeAlso": [ + "https://github.com/bleargh45/Data-UUID/blob/master/LICENSE" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/HPND.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/HPND.json", + "referenceNumber": 209, + "name": "Historical Permission Notice and Disclaimer", + "licenseId": "HPND", + "seeAlso": [ + "https://opensource.org/licenses/HPND", + "http://lists.opensource.org/pipermail/license-discuss_lists.opensource.org/2002-November/006304.html" + ], + "isOsiApproved": true, + "isFsfLibre": true + }, + { + "reference": "https://spdx.org/licenses/HPND-DEC.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/HPND-DEC.json", + "referenceNumber": 112, + "name": "Historical Permission Notice and Disclaimer - DEC variant", + "licenseId": "HPND-DEC", + "seeAlso": [ + "https://gitlab.freedesktop.org/xorg/app/xkbcomp/-/blob/master/COPYING?ref_type\u003dheads#L69" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/HPND-doc.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/HPND-doc.json", + "referenceNumber": 600, + "name": "Historical Permission Notice and Disclaimer - documentation variant", + "licenseId": "HPND-doc", + "seeAlso": [ + "https://gitlab.freedesktop.org/xorg/lib/libxext/-/blob/master/COPYING?ref_type\u003dheads#L185-197", + "https://gitlab.freedesktop.org/xorg/lib/libxtst/-/blob/master/COPYING?ref_type\u003dheads#L70-77" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/HPND-doc-sell.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/HPND-doc-sell.json", + "referenceNumber": 306, + "name": "Historical Permission Notice and Disclaimer - documentation sell variant", + "licenseId": "HPND-doc-sell", + "seeAlso": [ + "https://gitlab.freedesktop.org/xorg/lib/libxtst/-/blob/master/COPYING?ref_type\u003dheads#L108-117", + "https://gitlab.freedesktop.org/xorg/lib/libxext/-/blob/master/COPYING?ref_type\u003dheads#L153-162" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/HPND-export-US.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/HPND-export-US.json", + "referenceNumber": 459, + "name": "HPND with US Government export control warning", + "licenseId": "HPND-export-US", + "seeAlso": [ + "https://www.kermitproject.org/ck90.html#source" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/HPND-export-US-acknowledgement.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/HPND-export-US-acknowledgement.json", + "referenceNumber": 487, + "name": "HPND with US Government export control warning and acknowledgment", + "licenseId": "HPND-export-US-acknowledgement", + "seeAlso": [ + "https://github.com/krb5/krb5/blob/krb5-1.21.2-final/NOTICE#L831-L852", + "https://web.mit.edu/kerberos/krb5-1.21/doc/mitK5license.html" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/HPND-export-US-modify.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/HPND-export-US-modify.json", + "referenceNumber": 172, + "name": "HPND with US Government export control warning and modification rqmt", + "licenseId": "HPND-export-US-modify", + "seeAlso": [ + "https://github.com/krb5/krb5/blob/krb5-1.21.2-final/NOTICE#L1157-L1182", + "https://github.com/pythongssapi/k5test/blob/v0.10.3/K5TEST-LICENSE.txt" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/HPND-export2-US.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/HPND-export2-US.json", + "referenceNumber": 1, + "name": "HPND with US Government export control and 2 disclaimers", + "licenseId": "HPND-export2-US", + "seeAlso": [ + "https://github.com/krb5/krb5/blob/krb5-1.21.2-final/NOTICE#L111-L133", + "https://web.mit.edu/kerberos/krb5-1.21/doc/mitK5license.html" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/HPND-Fenneberg-Livingston.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/HPND-Fenneberg-Livingston.json", + "referenceNumber": 445, + "name": "Historical Permission Notice and Disclaimer - Fenneberg-Livingston variant", + "licenseId": "HPND-Fenneberg-Livingston", + "seeAlso": [ + "https://github.com/FreeRADIUS/freeradius-client/blob/master/COPYRIGHT#L32", + "https://github.com/radcli/radcli/blob/master/COPYRIGHT#L34" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/HPND-INRIA-IMAG.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/HPND-INRIA-IMAG.json", + "referenceNumber": 233, + "name": "Historical Permission Notice and Disclaimer - INRIA-IMAG variant", + "licenseId": "HPND-INRIA-IMAG", + "seeAlso": [ + "https://github.com/ppp-project/ppp/blob/master/pppd/ipv6cp.c#L75-L83" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/HPND-Intel.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/HPND-Intel.json", + "referenceNumber": 228, + "name": "Historical Permission Notice and Disclaimer - Intel variant", + "licenseId": "HPND-Intel", + "seeAlso": [ + "https://sourceware.org/git/?p\u003dnewlib-cygwin.git;a\u003dblob;f\u003dnewlib/libc/machine/i960/memcpy.S;hb\u003dHEAD" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/HPND-Kevlin-Henney.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/HPND-Kevlin-Henney.json", + "referenceNumber": 528, + "name": "Historical Permission Notice and Disclaimer - Kevlin Henney variant", + "licenseId": "HPND-Kevlin-Henney", + "seeAlso": [ + "https://github.com/mruby/mruby/blob/83d12f8d52522cdb7c8cc46fad34821359f453e6/mrbgems/mruby-dir/src/Win/dirent.c#L127-L140" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/HPND-Markus-Kuhn.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/HPND-Markus-Kuhn.json", + "referenceNumber": 623, + "name": "Historical Permission Notice and Disclaimer - Markus Kuhn variant", + "licenseId": "HPND-Markus-Kuhn", + "seeAlso": [ + "https://www.cl.cam.ac.uk/~mgk25/ucs/wcwidth.c", + "https://sourceware.org/git/?p\u003dbinutils-gdb.git;a\u003dblob;f\u003dreadline/readline/support/wcwidth.c;h\u003d0f5ec995796f4813abbcf4972aec0378ab74722a;hb\u003dHEAD#l55" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/HPND-merchantability-variant.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/HPND-merchantability-variant.json", + "referenceNumber": 157, + "name": "Historical Permission Notice and Disclaimer - merchantability variant", + "licenseId": "HPND-merchantability-variant", + "seeAlso": [ + "https://sourceware.org/git/?p\u003dnewlib-cygwin.git;a\u003dblob;f\u003dnewlib/libc/misc/fini.c;hb\u003dHEAD" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/HPND-MIT-disclaimer.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/HPND-MIT-disclaimer.json", + "referenceNumber": 313, + "name": "Historical Permission Notice and Disclaimer with MIT disclaimer", + "licenseId": "HPND-MIT-disclaimer", + "seeAlso": [ + "https://metacpan.org/release/NLNETLABS/Net-DNS-SEC-1.22/source/LICENSE" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/HPND-Netrek.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/HPND-Netrek.json", + "referenceNumber": 387, + "name": "Historical Permission Notice and Disclaimer - Netrek variant", + "licenseId": "HPND-Netrek", + "seeAlso": [], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/HPND-Pbmplus.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/HPND-Pbmplus.json", + "referenceNumber": 339, + "name": "Historical Permission Notice and Disclaimer - Pbmplus variant", + "licenseId": "HPND-Pbmplus", + "seeAlso": [ + "https://sourceforge.net/p/netpbm/code/HEAD/tree/super_stable/netpbm.c#l8" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/HPND-sell-MIT-disclaimer-xserver.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/HPND-sell-MIT-disclaimer-xserver.json", + "referenceNumber": 341, + "name": "Historical Permission Notice and Disclaimer - sell xserver variant with MIT disclaimer", + "licenseId": "HPND-sell-MIT-disclaimer-xserver", + "seeAlso": [ + "https://gitlab.freedesktop.org/xorg/xserver/-/blob/master/COPYING?ref_type\u003dheads#L1781" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/HPND-sell-regexpr.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/HPND-sell-regexpr.json", + "referenceNumber": 681, + "name": "Historical Permission Notice and Disclaimer - sell regexpr variant", + "licenseId": "HPND-sell-regexpr", + "seeAlso": [ + "https://gitlab.com/bacula-org/bacula/-/blob/Branch-11.0/bacula/LICENSE-FOSS?ref_type\u003dheads#L245" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/HPND-sell-variant.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/HPND-sell-variant.json", + "referenceNumber": 13, + "name": "Historical Permission Notice and Disclaimer - sell variant", + "licenseId": "HPND-sell-variant", + "seeAlso": [ + "https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/net/sunrpc/auth_gss/gss_generic_token.c?h\u003dv4.19", + "https://github.com/kfish/xsel/blob/master/COPYING" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/HPND-sell-variant-MIT-disclaimer.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/HPND-sell-variant-MIT-disclaimer.json", + "referenceNumber": 225, + "name": "HPND sell variant with MIT disclaimer", + "licenseId": "HPND-sell-variant-MIT-disclaimer", + "seeAlso": [ + "https://github.com/sigmavirus24/x11-ssh-askpass/blob/master/README" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/HPND-sell-variant-MIT-disclaimer-rev.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/HPND-sell-variant-MIT-disclaimer-rev.json", + "referenceNumber": 357, + "name": "HPND sell variant with MIT disclaimer - reverse", + "licenseId": "HPND-sell-variant-MIT-disclaimer-rev", + "seeAlso": [ + "https://github.com/sigmavirus24/x11-ssh-askpass/blob/master/dynlist.c" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/HPND-UC.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/HPND-UC.json", + "referenceNumber": 210, + "name": "Historical Permission Notice and Disclaimer - University of California variant", + "licenseId": "HPND-UC", + "seeAlso": [ + "https://core.tcl-lang.org/tk/file?name\u003dcompat/unistd.h" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/HPND-UC-export-US.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/HPND-UC-export-US.json", + "referenceNumber": 143, + "name": "Historical Permission Notice and Disclaimer - University of California, US export warning", + "licenseId": "HPND-UC-export-US", + "seeAlso": [ + "https://github.com/RTimothyEdwards/magic/blob/master/LICENSE" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/HTMLTIDY.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/HTMLTIDY.json", + "referenceNumber": 478, + "name": "HTML Tidy License", + "licenseId": "HTMLTIDY", + "seeAlso": [ + "https://github.com/htacg/tidy-html5/blob/next/README/LICENSE.md" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/IBM-pibs.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/IBM-pibs.json", + "referenceNumber": 242, + "name": "IBM PowerPC Initialization and Boot Software", + "licenseId": "IBM-pibs", + "seeAlso": [ + "http://git.denx.de/?p\u003du-boot.git;a\u003dblob;f\u003darch/powerpc/cpu/ppc4xx/miiphy.c;h\u003d297155fdafa064b955e53e9832de93bfb0cfb85b;hb\u003d9fab4bf4cc077c21e43941866f3f2c196f28670d" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/ICU.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/ICU.json", + "referenceNumber": 289, + "name": "ICU License", + "licenseId": "ICU", + "seeAlso": [ + "http://source.icu-project.org/repos/icu/icu/trunk/license.html" + ], + "isOsiApproved": true + }, + { + "reference": "https://spdx.org/licenses/IEC-Code-Components-EULA.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/IEC-Code-Components-EULA.json", + "referenceNumber": 399, + "name": "IEC Code Components End-user licence agreement", + "licenseId": "IEC-Code-Components-EULA", + "seeAlso": [ + "https://www.iec.ch/webstore/custserv/pdf/CC-EULA.pdf", + "https://www.iec.ch/CCv1", + "https://www.iec.ch/copyright" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/IJG.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/IJG.json", + "referenceNumber": 512, + "name": "Independent JPEG Group License", + "licenseId": "IJG", + "seeAlso": [ + "http://dev.w3.org/cvsweb/Amaya/libjpeg/Attic/README?rev\u003d1.2" + ], + "isOsiApproved": false, + "isFsfLibre": true + }, + { + "reference": "https://spdx.org/licenses/IJG-short.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/IJG-short.json", + "referenceNumber": 694, + "name": "Independent JPEG Group License - short", + "licenseId": "IJG-short", + "seeAlso": [ + "https://sourceforge.net/p/xmedcon/code/ci/master/tree/libs/ljpg/" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/ImageMagick.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/ImageMagick.json", + "referenceNumber": 472, + "name": "ImageMagick License", + "licenseId": "ImageMagick", + "seeAlso": [ + "http://www.imagemagick.org/script/license.php" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/iMatix.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/iMatix.json", + "referenceNumber": 482, + "name": "iMatix Standard Function Library Agreement", + "licenseId": "iMatix", + "seeAlso": [ + "http://legacy.imatix.com/html/sfl/sfl4.htm#license" + ], + "isOsiApproved": false, + "isFsfLibre": true + }, + { + "reference": "https://spdx.org/licenses/Imlib2.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/Imlib2.json", + "referenceNumber": 552, + "name": "Imlib2 License", + "licenseId": "Imlib2", + "seeAlso": [ + "http://trac.enlightenment.org/e/browser/trunk/imlib2/COPYING", + "https://git.enlightenment.org/legacy/imlib2.git/tree/COPYING" + ], + "isOsiApproved": false, + "isFsfLibre": true + }, + { + "reference": "https://spdx.org/licenses/Info-ZIP.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/Info-ZIP.json", + "referenceNumber": 52, + "name": "Info-ZIP License", + "licenseId": "Info-ZIP", + "seeAlso": [ + "http://www.info-zip.org/license.html" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/Inner-Net-2.0.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/Inner-Net-2.0.json", + "referenceNumber": 328, + "name": "Inner Net License v2.0", + "licenseId": "Inner-Net-2.0", + "seeAlso": [ + "https://fedoraproject.org/wiki/Licensing/Inner_Net_License", + "https://sourceware.org/git/?p\u003dglibc.git;a\u003dblob;f\u003dLICENSES;h\u003d530893b1dc9ea00755603c68fb36bd4fc38a7be8;hb\u003dHEAD#l207" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/InnoSetup.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/InnoSetup.json", + "referenceNumber": 354, + "name": "Inno Setup License", + "licenseId": "InnoSetup", + "seeAlso": [ + "https://github.com/jrsoftware/issrc/blob/HEAD/license.txt" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/Intel.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/Intel.json", + "referenceNumber": 419, + "name": "Intel Open Source License", + "licenseId": "Intel", + "seeAlso": [ + "https://opensource.org/licenses/Intel" + ], + "isOsiApproved": true, + "isFsfLibre": true + }, + { + "reference": "https://spdx.org/licenses/Intel-ACPI.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/Intel-ACPI.json", + "referenceNumber": 206, + "name": "Intel ACPI Software License Agreement", + "licenseId": "Intel-ACPI", + "seeAlso": [ + "https://fedoraproject.org/wiki/Licensing/Intel_ACPI_Software_License_Agreement" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/Interbase-1.0.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/Interbase-1.0.json", + "referenceNumber": 532, + "name": "Interbase Public License v1.0", + "licenseId": "Interbase-1.0", + "seeAlso": [ + "https://web.archive.org/web/20060319014854/http://info.borland.com/devsupport/interbase/opensource/IPL.html" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/IPA.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/IPA.json", + "referenceNumber": 186, + "name": "IPA Font License", + "licenseId": "IPA", + "seeAlso": [ + "https://opensource.org/licenses/IPA" + ], + "isOsiApproved": true, + "isFsfLibre": true + }, + { + "reference": "https://spdx.org/licenses/IPL-1.0.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/IPL-1.0.json", + "referenceNumber": 591, + "name": "IBM Public License v1.0", + "licenseId": "IPL-1.0", + "seeAlso": [ + "https://opensource.org/licenses/IPL-1.0" + ], + "isOsiApproved": true, + "isFsfLibre": true + }, + { + "reference": "https://spdx.org/licenses/ISC.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/ISC.json", + "referenceNumber": 58, + "name": "ISC License", + "licenseId": "ISC", + "seeAlso": [ + "https://www.isc.org/licenses/", + "https://www.isc.org/downloads/software-support-policy/isc-license/", + "https://opensource.org/licenses/ISC" + ], + "isOsiApproved": true, + "isFsfLibre": true + }, + { + "reference": "https://spdx.org/licenses/ISC-Veillard.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/ISC-Veillard.json", + "referenceNumber": 317, + "name": "ISC Veillard variant", + "licenseId": "ISC-Veillard", + "seeAlso": [ + "https://raw.githubusercontent.com/GNOME/libxml2/4c2e7c651f6c2f0d1a74f350cbda95f7df3e7017/hash.c", + "https://github.com/GNOME/libxml2/blob/master/dict.c", + "https://sourceforge.net/p/ctrio/git/ci/master/tree/README" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/Jam.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/Jam.json", + "referenceNumber": 475, + "name": "Jam License", + "licenseId": "Jam", + "seeAlso": [ + "https://www.boost.org/doc/libs/1_35_0/doc/html/jam.html", + "https://web.archive.org/web/20160330173339/https://swarm.workshop.perforce.com/files/guest/perforce_software/jam/src/README" + ], + "isOsiApproved": true + }, + { + "reference": "https://spdx.org/licenses/JasPer-2.0.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/JasPer-2.0.json", + "referenceNumber": 103, + "name": "JasPer License", + "licenseId": "JasPer-2.0", + "seeAlso": [ + "http://www.ece.uvic.ca/~mdadams/jasper/LICENSE" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/jove.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/jove.json", + "referenceNumber": 642, + "name": "Jove License", + "licenseId": "jove", + "seeAlso": [ + "https://github.com/jonmacs/jove/blob/4_17/LICENSE" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/JPL-image.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/JPL-image.json", + "referenceNumber": 321, + "name": "JPL Image Use Policy", + "licenseId": "JPL-image", + "seeAlso": [ + "https://www.jpl.nasa.gov/jpl-image-use-policy" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/JPNIC.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/JPNIC.json", + "referenceNumber": 655, + "name": "Japan Network Information Center License", + "licenseId": "JPNIC", + "seeAlso": [ + "https://gitlab.isc.org/isc-projects/bind9/blob/master/COPYRIGHT#L366" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/JSON.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/JSON.json", + "referenceNumber": 54, + "name": "JSON License", + "licenseId": "JSON", + "seeAlso": [ + "http://www.json.org/license.html" + ], + "isOsiApproved": false, + "isFsfLibre": false + }, + { + "reference": "https://spdx.org/licenses/Kastrup.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/Kastrup.json", + "referenceNumber": 491, + "name": "Kastrup License", + "licenseId": "Kastrup", + "seeAlso": [ + "https://ctan.math.utah.edu/ctan/tex-archive/macros/generic/kastrup/binhex.dtx" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/Kazlib.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/Kazlib.json", + "referenceNumber": 312, + "name": "Kazlib License", + "licenseId": "Kazlib", + "seeAlso": [ + "http://git.savannah.gnu.org/cgit/kazlib.git/tree/except.c?id\u003d0062df360c2d17d57f6af19b0e444c51feb99036" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/Knuth-CTAN.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/Knuth-CTAN.json", + "referenceNumber": 332, + "name": "Knuth CTAN License", + "licenseId": "Knuth-CTAN", + "seeAlso": [ + "https://ctan.org/license/knuth" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/LAL-1.2.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/LAL-1.2.json", + "referenceNumber": 134, + "name": "Licence Art Libre 1.2", + "licenseId": "LAL-1.2", + "seeAlso": [ + "http://artlibre.org/licence/lal/licence-art-libre-12/" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/LAL-1.3.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/LAL-1.3.json", + "referenceNumber": 521, + "name": "Licence Art Libre 1.3", + "licenseId": "LAL-1.3", + "seeAlso": [ + "https://artlibre.org/" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/Latex2e.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/Latex2e.json", + "referenceNumber": 43, + "name": "Latex2e License", + "licenseId": "Latex2e", + "seeAlso": [ + "https://fedoraproject.org/wiki/Licensing/Latex2e" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/Latex2e-translated-notice.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/Latex2e-translated-notice.json", + "referenceNumber": 523, + "name": "Latex2e with translated notice permission", + "licenseId": "Latex2e-translated-notice", + "seeAlso": [ + "https://git.savannah.gnu.org/cgit/indent.git/tree/doc/indent.texi?id\u003da74c6b4ee49397cf330b333da1042bffa60ed14f#n74" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/Leptonica.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/Leptonica.json", + "referenceNumber": 137, + "name": "Leptonica License", + "licenseId": "Leptonica", + "seeAlso": [ + "https://fedoraproject.org/wiki/Licensing/Leptonica" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/LGPL-2.0.html", + "isDeprecatedLicenseId": true, + "detailsUrl": "https://spdx.org/licenses/LGPL-2.0.json", + "referenceNumber": 676, + "name": "GNU Library General Public License v2 only", + "licenseId": "LGPL-2.0", + "seeAlso": [ + "https://www.gnu.org/licenses/old-licenses/lgpl-2.0-standalone.html" + ], + "isOsiApproved": true + }, + { + "reference": "https://spdx.org/licenses/LGPL-2.0+.html", + "isDeprecatedLicenseId": true, + "detailsUrl": "https://spdx.org/licenses/LGPL-2.0+.json", + "referenceNumber": 409, + "name": "GNU Library General Public License v2 or later", + "licenseId": "LGPL-2.0+", + "seeAlso": [ + "https://www.gnu.org/licenses/old-licenses/lgpl-2.0-standalone.html" + ], + "isOsiApproved": true + }, + { + "reference": "https://spdx.org/licenses/LGPL-2.0-only.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/LGPL-2.0-only.json", + "referenceNumber": 329, + "name": "GNU Library General Public License v2 only", + "licenseId": "LGPL-2.0-only", + "seeAlso": [ + "https://www.gnu.org/licenses/old-licenses/lgpl-2.0-standalone.html" + ], + "isOsiApproved": true + }, + { + "reference": "https://spdx.org/licenses/LGPL-2.0-or-later.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/LGPL-2.0-or-later.json", + "referenceNumber": 75, + "name": "GNU Library General Public License v2 or later", + "licenseId": "LGPL-2.0-or-later", + "seeAlso": [ + "https://www.gnu.org/licenses/old-licenses/lgpl-2.0-standalone.html" + ], + "isOsiApproved": true + }, + { + "reference": "https://spdx.org/licenses/LGPL-2.1.html", + "isDeprecatedLicenseId": true, + "detailsUrl": "https://spdx.org/licenses/LGPL-2.1.json", + "referenceNumber": 677, + "name": "GNU Lesser General Public License v2.1 only", + "licenseId": "LGPL-2.1", + "seeAlso": [ + "https://www.gnu.org/licenses/old-licenses/lgpl-2.1-standalone.html", + "https://opensource.org/licenses/LGPL-2.1" + ], + "isOsiApproved": true, + "isFsfLibre": true + }, + { + "reference": "https://spdx.org/licenses/LGPL-2.1+.html", + "isDeprecatedLicenseId": true, + "detailsUrl": "https://spdx.org/licenses/LGPL-2.1+.json", + "referenceNumber": 448, + "name": "GNU Lesser General Public License v2.1 or later", + "licenseId": "LGPL-2.1+", + "seeAlso": [ + "https://www.gnu.org/licenses/old-licenses/lgpl-2.1-standalone.html", + "https://opensource.org/licenses/LGPL-2.1" + ], + "isOsiApproved": true, + "isFsfLibre": true + }, + { + "reference": "https://spdx.org/licenses/LGPL-2.1-only.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/LGPL-2.1-only.json", + "referenceNumber": 297, + "name": "GNU Lesser General Public License v2.1 only", + "licenseId": "LGPL-2.1-only", + "seeAlso": [ + "https://www.gnu.org/licenses/old-licenses/lgpl-2.1-standalone.html", + "https://opensource.org/licenses/LGPL-2.1" + ], + "isOsiApproved": true, + "isFsfLibre": true + }, + { + "reference": "https://spdx.org/licenses/LGPL-2.1-or-later.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/LGPL-2.1-or-later.json", + "referenceNumber": 187, + "name": "GNU Lesser General Public License v2.1 or later", + "licenseId": "LGPL-2.1-or-later", + "seeAlso": [ + "https://www.gnu.org/licenses/old-licenses/lgpl-2.1-standalone.html", + "https://opensource.org/licenses/LGPL-2.1" + ], + "isOsiApproved": true, + "isFsfLibre": true + }, + { + "reference": "https://spdx.org/licenses/LGPL-3.0.html", + "isDeprecatedLicenseId": true, + "detailsUrl": "https://spdx.org/licenses/LGPL-3.0.json", + "referenceNumber": 9, + "name": "GNU Lesser General Public License v3.0 only", + "licenseId": "LGPL-3.0", + "seeAlso": [ + "https://www.gnu.org/licenses/lgpl-3.0-standalone.html", + "https://www.gnu.org/licenses/lgpl+gpl-3.0.txt", + "https://opensource.org/licenses/LGPL-3.0" + ], + "isOsiApproved": true, + "isFsfLibre": true + }, + { + "reference": "https://spdx.org/licenses/LGPL-3.0+.html", + "isDeprecatedLicenseId": true, + "detailsUrl": "https://spdx.org/licenses/LGPL-3.0+.json", + "referenceNumber": 169, + "name": "GNU Lesser General Public License v3.0 or later", + "licenseId": "LGPL-3.0+", + "seeAlso": [ + "https://www.gnu.org/licenses/lgpl-3.0-standalone.html", + "https://www.gnu.org/licenses/lgpl+gpl-3.0.txt", + "https://opensource.org/licenses/LGPL-3.0" + ], + "isOsiApproved": true, + "isFsfLibre": true + }, + { + "reference": "https://spdx.org/licenses/LGPL-3.0-only.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/LGPL-3.0-only.json", + "referenceNumber": 634, + "name": "GNU Lesser General Public License v3.0 only", + "licenseId": "LGPL-3.0-only", + "seeAlso": [ + "https://www.gnu.org/licenses/lgpl-3.0-standalone.html", + "https://www.gnu.org/licenses/lgpl+gpl-3.0.txt", + "https://opensource.org/licenses/LGPL-3.0" + ], + "isOsiApproved": true, + "isFsfLibre": true + }, + { + "reference": "https://spdx.org/licenses/LGPL-3.0-or-later.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/LGPL-3.0-or-later.json", + "referenceNumber": 502, + "name": "GNU Lesser General Public License v3.0 or later", + "licenseId": "LGPL-3.0-or-later", + "seeAlso": [ + "https://www.gnu.org/licenses/lgpl-3.0-standalone.html", + "https://www.gnu.org/licenses/lgpl+gpl-3.0.txt", + "https://opensource.org/licenses/LGPL-3.0" + ], + "isOsiApproved": true, + "isFsfLibre": true + }, + { + "reference": "https://spdx.org/licenses/LGPLLR.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/LGPLLR.json", + "referenceNumber": 123, + "name": "Lesser General Public License For Linguistic Resources", + "licenseId": "LGPLLR", + "seeAlso": [ + "http://www-igm.univ-mlv.fr/~unitex/lgpllr.html" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/Libpng.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/Libpng.json", + "referenceNumber": 62, + "name": "libpng License", + "licenseId": "Libpng", + "seeAlso": [ + "http://www.libpng.org/pub/png/src/libpng-LICENSE.txt" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/libpng-1.6.35.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/libpng-1.6.35.json", + "referenceNumber": 429, + "name": "PNG Reference Library License v1 (for libpng 0.5 through 1.6.35)", + "licenseId": "libpng-1.6.35", + "seeAlso": [ + "http://www.libpng.org/pub/png/src/libpng-LICENSE.txt" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/libpng-2.0.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/libpng-2.0.json", + "referenceNumber": 226, + "name": "PNG Reference Library version 2", + "licenseId": "libpng-2.0", + "seeAlso": [ + "http://www.libpng.org/pub/png/src/libpng-LICENSE.txt" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/libselinux-1.0.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/libselinux-1.0.json", + "referenceNumber": 263, + "name": "libselinux public domain notice", + "licenseId": "libselinux-1.0", + "seeAlso": [ + "https://github.com/SELinuxProject/selinux/blob/master/libselinux/LICENSE" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/libtiff.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/libtiff.json", + "referenceNumber": 35, + "name": "libtiff License", + "licenseId": "libtiff", + "seeAlso": [ + "https://fedoraproject.org/wiki/Licensing/libtiff" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/libutil-David-Nugent.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/libutil-David-Nugent.json", + "referenceNumber": 402, + "name": "libutil David Nugent License", + "licenseId": "libutil-David-Nugent", + "seeAlso": [ + "http://web.mit.edu/freebsd/head/lib/libutil/login_ok.3", + "https://cgit.freedesktop.org/libbsd/tree/man/setproctitle.3bsd" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/LiLiQ-P-1.1.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/LiLiQ-P-1.1.json", + "referenceNumber": 232, + "name": "Licence Libre du Québec – Permissive version 1.1", + "licenseId": "LiLiQ-P-1.1", + "seeAlso": [ + "https://forge.gouv.qc.ca/licence/fr/liliq-v1-1/", + "http://opensource.org/licenses/LiLiQ-P-1.1" + ], + "isOsiApproved": true + }, + { + "reference": "https://spdx.org/licenses/LiLiQ-R-1.1.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/LiLiQ-R-1.1.json", + "referenceNumber": 229, + "name": "Licence Libre du Québec – Réciprocité version 1.1", + "licenseId": "LiLiQ-R-1.1", + "seeAlso": [ + "https://www.forge.gouv.qc.ca/participez/licence-logicielle/licence-libre-du-quebec-liliq-en-francais/licence-libre-du-quebec-reciprocite-liliq-r-v1-1/", + "http://opensource.org/licenses/LiLiQ-R-1.1" + ], + "isOsiApproved": true + }, + { + "reference": "https://spdx.org/licenses/LiLiQ-Rplus-1.1.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/LiLiQ-Rplus-1.1.json", + "referenceNumber": 238, + "name": "Licence Libre du Québec – Réciprocité forte version 1.1", + "licenseId": "LiLiQ-Rplus-1.1", + "seeAlso": [ + "https://www.forge.gouv.qc.ca/participez/licence-logicielle/licence-libre-du-quebec-liliq-en-francais/licence-libre-du-quebec-reciprocite-forte-liliq-r-v1-1/", + "http://opensource.org/licenses/LiLiQ-Rplus-1.1" + ], + "isOsiApproved": true + }, + { + "reference": "https://spdx.org/licenses/Linux-man-pages-1-para.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/Linux-man-pages-1-para.json", + "referenceNumber": 78, + "name": "Linux man-pages - 1 paragraph", + "licenseId": "Linux-man-pages-1-para", + "seeAlso": [ + "https://git.kernel.org/pub/scm/docs/man-pages/man-pages.git/tree/man2/getcpu.2#n4" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/Linux-man-pages-copyleft.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/Linux-man-pages-copyleft.json", + "referenceNumber": 640, + "name": "Linux man-pages Copyleft", + "licenseId": "Linux-man-pages-copyleft", + "seeAlso": [ + "https://www.kernel.org/doc/man-pages/licenses.html" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/Linux-man-pages-copyleft-2-para.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/Linux-man-pages-copyleft-2-para.json", + "referenceNumber": 592, + "name": "Linux man-pages Copyleft - 2 paragraphs", + "licenseId": "Linux-man-pages-copyleft-2-para", + "seeAlso": [ + "https://git.kernel.org/pub/scm/docs/man-pages/man-pages.git/tree/man2/move_pages.2#n5", + "https://git.kernel.org/pub/scm/docs/man-pages/man-pages.git/tree/man2/migrate_pages.2#n8" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/Linux-man-pages-copyleft-var.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/Linux-man-pages-copyleft-var.json", + "referenceNumber": 202, + "name": "Linux man-pages Copyleft Variant", + "licenseId": "Linux-man-pages-copyleft-var", + "seeAlso": [ + "https://git.kernel.org/pub/scm/docs/man-pages/man-pages.git/tree/man2/set_mempolicy.2#n5" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/Linux-OpenIB.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/Linux-OpenIB.json", + "referenceNumber": 513, + "name": "Linux Kernel Variant of OpenIB.org license", + "licenseId": "Linux-OpenIB", + "seeAlso": [ + "https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/drivers/infiniband/core/sa.h" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/LOOP.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/LOOP.json", + "referenceNumber": 237, + "name": "Common Lisp LOOP License", + "licenseId": "LOOP", + "seeAlso": [ + "https://gitlab.com/embeddable-common-lisp/ecl/-/blob/develop/src/lsp/loop.lsp", + "http://git.savannah.gnu.org/cgit/gcl.git/tree/gcl/lsp/gcl_loop.lsp?h\u003dVersion_2_6_13pre", + "https://sourceforge.net/p/sbcl/sbcl/ci/master/tree/src/code/loop.lisp", + "https://github.com/cl-adams/adams/blob/master/LICENSE.md", + "https://github.com/blakemcbride/eclipse-lisp/blob/master/lisp/loop.lisp", + "https://gitlab.common-lisp.net/cmucl/cmucl/-/blob/master/src/code/loop.lisp" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/LPD-document.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/LPD-document.json", + "referenceNumber": 5, + "name": "LPD Documentation License", + "licenseId": "LPD-document", + "seeAlso": [ + "https://github.com/Cyan4973/xxHash/blob/dev/doc/xxhash_spec.md", + "https://www.ietf.org/rfc/rfc1952.txt" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/LPL-1.0.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/LPL-1.0.json", + "referenceNumber": 136, + "name": "Lucent Public License Version 1.0", + "licenseId": "LPL-1.0", + "seeAlso": [ + "https://opensource.org/licenses/LPL-1.0" + ], + "isOsiApproved": true + }, + { + "reference": "https://spdx.org/licenses/LPL-1.02.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/LPL-1.02.json", + "referenceNumber": 656, + "name": "Lucent Public License v1.02", + "licenseId": "LPL-1.02", + "seeAlso": [ + "http://plan9.bell-labs.com/plan9/license.html", + "https://opensource.org/licenses/LPL-1.02" + ], + "isOsiApproved": true, + "isFsfLibre": true + }, + { + "reference": "https://spdx.org/licenses/LPPL-1.0.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/LPPL-1.0.json", + "referenceNumber": 63, + "name": "LaTeX Project Public License v1.0", + "licenseId": "LPPL-1.0", + "seeAlso": [ + "http://www.latex-project.org/lppl/lppl-1-0.txt" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/LPPL-1.1.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/LPPL-1.1.json", + "referenceNumber": 542, + "name": "LaTeX Project Public License v1.1", + "licenseId": "LPPL-1.1", + "seeAlso": [ + "http://www.latex-project.org/lppl/lppl-1-1.txt" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/LPPL-1.2.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/LPPL-1.2.json", + "referenceNumber": 486, + "name": "LaTeX Project Public License v1.2", + "licenseId": "LPPL-1.2", + "seeAlso": [ + "http://www.latex-project.org/lppl/lppl-1-2.txt" + ], + "isOsiApproved": false, + "isFsfLibre": true + }, + { + "reference": "https://spdx.org/licenses/LPPL-1.3a.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/LPPL-1.3a.json", + "referenceNumber": 280, + "name": "LaTeX Project Public License v1.3a", + "licenseId": "LPPL-1.3a", + "seeAlso": [ + "http://www.latex-project.org/lppl/lppl-1-3a.txt" + ], + "isOsiApproved": false, + "isFsfLibre": true + }, + { + "reference": "https://spdx.org/licenses/LPPL-1.3c.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/LPPL-1.3c.json", + "referenceNumber": 33, + "name": "LaTeX Project Public License v1.3c", + "licenseId": "LPPL-1.3c", + "seeAlso": [ + "http://www.latex-project.org/lppl/lppl-1-3c.txt", + "https://opensource.org/licenses/LPPL-1.3c" + ], + "isOsiApproved": true + }, + { + "reference": "https://spdx.org/licenses/lsof.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/lsof.json", + "referenceNumber": 563, + "name": "lsof License", + "licenseId": "lsof", + "seeAlso": [ + "https://github.com/lsof-org/lsof/blob/master/COPYING" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/Lucida-Bitmap-Fonts.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/Lucida-Bitmap-Fonts.json", + "referenceNumber": 661, + "name": "Lucida Bitmap Fonts License", + "licenseId": "Lucida-Bitmap-Fonts", + "seeAlso": [ + "https://gitlab.freedesktop.org/xorg/font/bh-100dpi/-/blob/master/COPYING?ref_type\u003dheads" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/LZMA-SDK-9.11-to-9.20.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/LZMA-SDK-9.11-to-9.20.json", + "referenceNumber": 349, + "name": "LZMA SDK License (versions 9.11 to 9.20)", + "licenseId": "LZMA-SDK-9.11-to-9.20", + "seeAlso": [ + "https://www.7-zip.org/sdk.html", + "https://sourceforge.net/projects/sevenzip/files/LZMA%20SDK/" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/LZMA-SDK-9.22.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/LZMA-SDK-9.22.json", + "referenceNumber": 504, + "name": "LZMA SDK License (versions 9.22 and beyond)", + "licenseId": "LZMA-SDK-9.22", + "seeAlso": [ + "https://www.7-zip.org/sdk.html", + "https://sourceforge.net/projects/sevenzip/files/LZMA%20SDK/" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/Mackerras-3-Clause.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/Mackerras-3-Clause.json", + "referenceNumber": 539, + "name": "Mackerras 3-Clause License", + "licenseId": "Mackerras-3-Clause", + "seeAlso": [ + "https://github.com/ppp-project/ppp/blob/master/pppd/chap_ms.c#L6-L28" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/Mackerras-3-Clause-acknowledgment.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/Mackerras-3-Clause-acknowledgment.json", + "referenceNumber": 433, + "name": "Mackerras 3-Clause - acknowledgment variant", + "licenseId": "Mackerras-3-Clause-acknowledgment", + "seeAlso": [ + "https://github.com/ppp-project/ppp/blob/master/pppd/auth.c#L6-L28" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/magaz.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/magaz.json", + "referenceNumber": 373, + "name": "magaz License", + "licenseId": "magaz", + "seeAlso": [ + "https://mirrors.nic.cz/tex-archive/macros/latex/contrib/magaz/magaz.tex", + "https://mirrors.ctan.org/macros/latex/contrib/version/version.sty" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/mailprio.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/mailprio.json", + "referenceNumber": 381, + "name": "mailprio License", + "licenseId": "mailprio", + "seeAlso": [ + "https://fossies.org/linux/sendmail/contrib/mailprio" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/MakeIndex.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/MakeIndex.json", + "referenceNumber": 165, + "name": "MakeIndex License", + "licenseId": "MakeIndex", + "seeAlso": [ + "https://fedoraproject.org/wiki/Licensing/MakeIndex" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/man2html.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/man2html.json", + "referenceNumber": 120, + "name": "man2html License", + "licenseId": "man2html", + "seeAlso": [ + "http://primates.ximian.com/~flucifredi/man/man-1.6g.tar.gz", + "https://github.com/hamano/man2html/blob/master/man2html.c", + "https://docs.oracle.com/cd/E81115_01/html/E81116/licenses.html" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/Martin-Birgmeier.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/Martin-Birgmeier.json", + "referenceNumber": 361, + "name": "Martin Birgmeier License", + "licenseId": "Martin-Birgmeier", + "seeAlso": [ + "https://github.com/Perl/perl5/blob/blead/util.c#L6136" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/McPhee-slideshow.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/McPhee-slideshow.json", + "referenceNumber": 489, + "name": "McPhee Slideshow License", + "licenseId": "McPhee-slideshow", + "seeAlso": [ + "https://mirror.las.iastate.edu/tex-archive/graphics/metapost/contrib/macros/slideshow/slideshow.mp" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/metamail.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/metamail.json", + "referenceNumber": 455, + "name": "metamail License", + "licenseId": "metamail", + "seeAlso": [ + "https://github.com/Dual-Life/mime-base64/blob/master/Base64.xs#L12" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/Minpack.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/Minpack.json", + "referenceNumber": 28, + "name": "Minpack License", + "licenseId": "Minpack", + "seeAlso": [ + "http://www.netlib.org/minpack/disclaimer", + "https://gitlab.com/libeigen/eigen/-/blob/master/COPYING.MINPACK" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/MIPS.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/MIPS.json", + "referenceNumber": 351, + "name": "MIPS License", + "licenseId": "MIPS", + "seeAlso": [ + "https://sourceware.org/cgit/binutils-gdb/tree/include/coff/sym.h#n11" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/MirOS.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/MirOS.json", + "referenceNumber": 692, + "name": "The MirOS Licence", + "licenseId": "MirOS", + "seeAlso": [ + "https://opensource.org/licenses/MirOS" + ], + "isOsiApproved": true + }, + { + "reference": "https://spdx.org/licenses/MIT.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/MIT.json", + "referenceNumber": 515, + "name": "MIT License", + "licenseId": "MIT", + "seeAlso": [ + "https://opensource.org/license/mit/", + "http://opensource.org/licenses/MIT" + ], + "isOsiApproved": true, + "isFsfLibre": true + }, + { + "reference": "https://spdx.org/licenses/MIT-0.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/MIT-0.json", + "referenceNumber": 173, + "name": "MIT No Attribution", + "licenseId": "MIT-0", + "seeAlso": [ + "https://github.com/aws/mit-0", + "https://romanrm.net/mit-zero", + "https://github.com/awsdocs/aws-cloud9-user-guide/blob/master/LICENSE-SAMPLECODE" + ], + "isOsiApproved": true + }, + { + "reference": "https://spdx.org/licenses/MIT-advertising.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/MIT-advertising.json", + "referenceNumber": 440, + "name": "Enlightenment License (e16)", + "licenseId": "MIT-advertising", + "seeAlso": [ + "https://fedoraproject.org/wiki/Licensing/MIT_With_Advertising" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/MIT-Click.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/MIT-Click.json", + "referenceNumber": 438, + "name": "MIT Click License", + "licenseId": "MIT-Click", + "seeAlso": [ + "https://github.com/kohler/t1utils/blob/master/LICENSE" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/MIT-CMU.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/MIT-CMU.json", + "referenceNumber": 287, + "name": "CMU License", + "licenseId": "MIT-CMU", + "seeAlso": [ + "https://fedoraproject.org/wiki/Licensing:MIT?rd\u003dLicensing/MIT#CMU_Style", + "https://github.com/python-pillow/Pillow/blob/fffb426092c8db24a5f4b6df243a8a3c01fb63cd/LICENSE" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/MIT-enna.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/MIT-enna.json", + "referenceNumber": 580, + "name": "enna License", + "licenseId": "MIT-enna", + "seeAlso": [ + "https://fedoraproject.org/wiki/Licensing/MIT#enna" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/MIT-feh.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/MIT-feh.json", + "referenceNumber": 408, + "name": "feh License", + "licenseId": "MIT-feh", + "seeAlso": [ + "https://fedoraproject.org/wiki/Licensing/MIT#feh" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/MIT-Festival.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/MIT-Festival.json", + "referenceNumber": 18, + "name": "MIT Festival Variant", + "licenseId": "MIT-Festival", + "seeAlso": [ + "https://github.com/festvox/flite/blob/master/COPYING", + "https://github.com/festvox/speech_tools/blob/master/COPYING" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/MIT-Khronos-old.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/MIT-Khronos-old.json", + "referenceNumber": 508, + "name": "MIT Khronos - old variant", + "licenseId": "MIT-Khronos-old", + "seeAlso": [ + "https://github.com/KhronosGroup/SPIRV-Cross/blob/main/LICENSES/LicenseRef-KhronosFreeUse.txt" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/MIT-Modern-Variant.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/MIT-Modern-Variant.json", + "referenceNumber": 304, + "name": "MIT License Modern Variant", + "licenseId": "MIT-Modern-Variant", + "seeAlso": [ + "https://fedoraproject.org/wiki/Licensing:MIT#Modern_Variants", + "https://ptolemy.berkeley.edu/copyright.htm", + "https://pirlwww.lpl.arizona.edu/resources/guide/software/PerlTk/Tixlic.html" + ], + "isOsiApproved": true + }, + { + "reference": "https://spdx.org/licenses/MIT-open-group.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/MIT-open-group.json", + "referenceNumber": 404, + "name": "MIT Open Group variant", + "licenseId": "MIT-open-group", + "seeAlso": [ + "https://gitlab.freedesktop.org/xorg/app/iceauth/-/blob/master/COPYING", + "https://gitlab.freedesktop.org/xorg/app/xsetroot/-/blob/master/COPYING", + "https://gitlab.freedesktop.org/xorg/app/xauth/-/blob/master/COPYING" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/MIT-testregex.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/MIT-testregex.json", + "referenceNumber": 496, + "name": "MIT testregex Variant", + "licenseId": "MIT-testregex", + "seeAlso": [ + "https://github.com/dotnet/runtime/blob/55e1ac7c07df62c4108d4acedf78f77574470ce5/src/libraries/System.Text.RegularExpressions/tests/FunctionalTests/AttRegexTests.cs#L12-L28" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/MIT-Wu.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/MIT-Wu.json", + "referenceNumber": 355, + "name": "MIT Tom Wu Variant", + "licenseId": "MIT-Wu", + "seeAlso": [ + "https://github.com/chromium/octane/blob/master/crypto.js" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/MITNFA.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/MITNFA.json", + "referenceNumber": 473, + "name": "MIT +no-false-attribs license", + "licenseId": "MITNFA", + "seeAlso": [ + "https://fedoraproject.org/wiki/Licensing/MITNFA" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/MMIXware.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/MMIXware.json", + "referenceNumber": 663, + "name": "MMIXware License", + "licenseId": "MMIXware", + "seeAlso": [ + "https://gitlab.lrz.de/mmix/mmixware/-/blob/master/boilerplate.w" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/Motosoto.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/Motosoto.json", + "referenceNumber": 507, + "name": "Motosoto License", + "licenseId": "Motosoto", + "seeAlso": [ + "https://opensource.org/licenses/Motosoto" + ], + "isOsiApproved": true + }, + { + "reference": "https://spdx.org/licenses/MPEG-SSG.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/MPEG-SSG.json", + "referenceNumber": 303, + "name": "MPEG Software Simulation", + "licenseId": "MPEG-SSG", + "seeAlso": [ + "https://sourceforge.net/p/netpbm/code/HEAD/tree/super_stable/converter/ppm/ppmtompeg/jrevdct.c#l1189" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/mpi-permissive.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/mpi-permissive.json", + "referenceNumber": 213, + "name": "mpi Permissive License", + "licenseId": "mpi-permissive", + "seeAlso": [ + "https://sources.debian.org/src/openmpi/4.1.0-10/ompi/debuggers/msgq_interface.h/?hl\u003d19#L19" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/mpich2.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/mpich2.json", + "referenceNumber": 102, + "name": "mpich2 License", + "licenseId": "mpich2", + "seeAlso": [ + "https://fedoraproject.org/wiki/Licensing/MIT" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/MPL-1.0.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/MPL-1.0.json", + "referenceNumber": 665, + "name": "Mozilla Public License 1.0", + "licenseId": "MPL-1.0", + "seeAlso": [ + "http://www.mozilla.org/MPL/MPL-1.0.html", + "https://opensource.org/licenses/MPL-1.0" + ], + "isOsiApproved": true + }, + { + "reference": "https://spdx.org/licenses/MPL-1.1.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/MPL-1.1.json", + "referenceNumber": 679, + "name": "Mozilla Public License 1.1", + "licenseId": "MPL-1.1", + "seeAlso": [ + "http://www.mozilla.org/MPL/MPL-1.1.html", + "https://opensource.org/licenses/MPL-1.1" + ], + "isOsiApproved": true, + "isFsfLibre": true + }, + { + "reference": "https://spdx.org/licenses/MPL-2.0.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/MPL-2.0.json", + "referenceNumber": 599, + "name": "Mozilla Public License 2.0", + "licenseId": "MPL-2.0", + "seeAlso": [ + "https://www.mozilla.org/MPL/2.0/", + "https://opensource.org/licenses/MPL-2.0" + ], + "isOsiApproved": true, + "isFsfLibre": true + }, + { + "reference": "https://spdx.org/licenses/MPL-2.0-no-copyleft-exception.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/MPL-2.0-no-copyleft-exception.json", + "referenceNumber": 174, + "name": "Mozilla Public License 2.0 (no copyleft exception)", + "licenseId": "MPL-2.0-no-copyleft-exception", + "seeAlso": [ + "https://www.mozilla.org/MPL/2.0/", + "https://opensource.org/licenses/MPL-2.0" + ], + "isOsiApproved": true + }, + { + "reference": "https://spdx.org/licenses/mplus.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/mplus.json", + "referenceNumber": 17, + "name": "mplus Font License", + "licenseId": "mplus", + "seeAlso": [ + "https://fedoraproject.org/wiki/Licensing:Mplus?rd\u003dLicensing/mplus" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/MS-LPL.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/MS-LPL.json", + "referenceNumber": 674, + "name": "Microsoft Limited Public License", + "licenseId": "MS-LPL", + "seeAlso": [ + "https://www.openhub.net/licenses/mslpl", + "https://github.com/gabegundy/atlserver/blob/master/License.txt", + "https://en.wikipedia.org/wiki/Shared_Source_Initiative#Microsoft_Limited_Public_License_(Ms-LPL)" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/MS-PL.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/MS-PL.json", + "referenceNumber": 698, + "name": "Microsoft Public License", + "licenseId": "MS-PL", + "seeAlso": [ + "http://www.microsoft.com/opensource/licenses.mspx", + "https://opensource.org/licenses/MS-PL" + ], + "isOsiApproved": true, + "isFsfLibre": true + }, + { + "reference": "https://spdx.org/licenses/MS-RL.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/MS-RL.json", + "referenceNumber": 276, + "name": "Microsoft Reciprocal License", + "licenseId": "MS-RL", + "seeAlso": [ + "http://www.microsoft.com/opensource/licenses.mspx", + "https://opensource.org/licenses/MS-RL" + ], + "isOsiApproved": true, + "isFsfLibre": true + }, + { + "reference": "https://spdx.org/licenses/MTLL.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/MTLL.json", + "referenceNumber": 588, + "name": "Matrix Template Library License", + "licenseId": "MTLL", + "seeAlso": [ + "https://fedoraproject.org/wiki/Licensing/Matrix_Template_Library_License" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/MulanPSL-1.0.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/MulanPSL-1.0.json", + "referenceNumber": 320, + "name": "Mulan Permissive Software License, Version 1", + "licenseId": "MulanPSL-1.0", + "seeAlso": [ + "https://license.coscl.org.cn/MulanPSL/", + "https://github.com/yuwenlong/longphp/blob/25dfb70cc2a466dc4bb55ba30901cbce08d164b5/LICENSE" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/MulanPSL-2.0.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/MulanPSL-2.0.json", + "referenceNumber": 182, + "name": "Mulan Permissive Software License, Version 2", + "licenseId": "MulanPSL-2.0", + "seeAlso": [ + "https://license.coscl.org.cn/MulanPSL2" + ], + "isOsiApproved": true + }, + { + "reference": "https://spdx.org/licenses/Multics.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/Multics.json", + "referenceNumber": 60, + "name": "Multics License", + "licenseId": "Multics", + "seeAlso": [ + "https://opensource.org/licenses/Multics" + ], + "isOsiApproved": true + }, + { + "reference": "https://spdx.org/licenses/Mup.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/Mup.json", + "referenceNumber": 288, + "name": "Mup License", + "licenseId": "Mup", + "seeAlso": [ + "https://fedoraproject.org/wiki/Licensing/Mup" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/NAIST-2003.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/NAIST-2003.json", + "referenceNumber": 462, + "name": "Nara Institute of Science and Technology License (2003)", + "licenseId": "NAIST-2003", + "seeAlso": [ + "https://enterprise.dejacode.com/licenses/public/naist-2003/#license-text", + "https://github.com/nodejs/node/blob/4a19cc8947b1bba2b2d27816ec3d0edf9b28e503/LICENSE#L343" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/NASA-1.3.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/NASA-1.3.json", + "referenceNumber": 432, + "name": "NASA Open Source Agreement 1.3", + "licenseId": "NASA-1.3", + "seeAlso": [ + "http://ti.arc.nasa.gov/opensource/nosa/", + "https://opensource.org/licenses/NASA-1.3" + ], + "isOsiApproved": true, + "isFsfLibre": false + }, + { + "reference": "https://spdx.org/licenses/Naumen.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/Naumen.json", + "referenceNumber": 307, + "name": "Naumen Public License", + "licenseId": "Naumen", + "seeAlso": [ + "https://opensource.org/licenses/Naumen" + ], + "isOsiApproved": true + }, + { + "reference": "https://spdx.org/licenses/NBPL-1.0.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/NBPL-1.0.json", + "referenceNumber": 460, + "name": "Net Boolean Public License v1", + "licenseId": "NBPL-1.0", + "seeAlso": [ + "http://www.openldap.org/devel/gitweb.cgi?p\u003dopenldap.git;a\u003dblob;f\u003dLICENSE;hb\u003d37b4b3f6cc4bf34e1d3dec61e69914b9819d8894" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/NCBI-PD.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/NCBI-PD.json", + "referenceNumber": 696, + "name": "NCBI Public Domain Notice", + "licenseId": "NCBI-PD", + "seeAlso": [ + "https://github.com/ncbi/sra-tools/blob/e8e5b6af4edc460156ad9ce5902d0779cffbf685/LICENSE", + "https://github.com/ncbi/datasets/blob/0ea4cd16b61e5b799d9cc55aecfa016d6c9bd2bf/LICENSE.md", + "https://github.com/ncbi/gprobe/blob/de64d30fee8b4c4013094d7d3139ea89b5dd1ace/LICENSE", + "https://github.com/ncbi/egapx/blob/08930b9dec0c69b2d1a05e5153c7b95ef0a3eb0f/LICENSE", + "https://github.com/ncbi/datasets/blob/master/LICENSE.md" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/NCGL-UK-2.0.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/NCGL-UK-2.0.json", + "referenceNumber": 392, + "name": "Non-Commercial Government Licence", + "licenseId": "NCGL-UK-2.0", + "seeAlso": [ + "http://www.nationalarchives.gov.uk/doc/non-commercial-government-licence/version/2/" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/NCL.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/NCL.json", + "referenceNumber": 154, + "name": "NCL Source Code License", + "licenseId": "NCL", + "seeAlso": [ + "https://gitlab.freedesktop.org/pipewire/pipewire/-/blob/master/src/modules/module-filter-chain/pffft.c?ref_type\u003dheads#L1-52" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/NCSA.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/NCSA.json", + "referenceNumber": 148, + "name": "University of Illinois/NCSA Open Source License", + "licenseId": "NCSA", + "seeAlso": [ + "http://otm.illinois.edu/uiuc_openSource", + "https://opensource.org/licenses/NCSA" + ], + "isOsiApproved": true, + "isFsfLibre": true + }, + { + "reference": "https://spdx.org/licenses/Net-SNMP.html", + "isDeprecatedLicenseId": true, + "detailsUrl": "https://spdx.org/licenses/Net-SNMP.json", + "referenceNumber": 638, + "name": "Net-SNMP License", + "licenseId": "Net-SNMP", + "seeAlso": [ + "http://net-snmp.sourceforge.net/about/license.html" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/NetCDF.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/NetCDF.json", + "referenceNumber": 626, + "name": "NetCDF license", + "licenseId": "NetCDF", + "seeAlso": [ + "http://www.unidata.ucar.edu/software/netcdf/copyright.html" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/Newsletr.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/Newsletr.json", + "referenceNumber": 607, + "name": "Newsletr License", + "licenseId": "Newsletr", + "seeAlso": [ + "https://fedoraproject.org/wiki/Licensing/Newsletr" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/NGPL.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/NGPL.json", + "referenceNumber": 64, + "name": "Nethack General Public License", + "licenseId": "NGPL", + "seeAlso": [ + "https://opensource.org/licenses/NGPL" + ], + "isOsiApproved": true + }, + { + "reference": "https://spdx.org/licenses/ngrep.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/ngrep.json", + "referenceNumber": 16, + "name": "ngrep License", + "licenseId": "ngrep", + "seeAlso": [ + "https://github.com/jpr5/ngrep/blob/master/LICENSE" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/NICTA-1.0.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/NICTA-1.0.json", + "referenceNumber": 406, + "name": "NICTA Public Software License, Version 1.0", + "licenseId": "NICTA-1.0", + "seeAlso": [ + "https://opensource.apple.com/source/mDNSResponder/mDNSResponder-320.10/mDNSPosix/nss_ReadMe.txt" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/NIST-PD.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/NIST-PD.json", + "referenceNumber": 98, + "name": "NIST Public Domain Notice", + "licenseId": "NIST-PD", + "seeAlso": [ + "https://github.com/tcheneau/simpleRPL/blob/e645e69e38dd4e3ccfeceb2db8cba05b7c2e0cd3/LICENSE.txt", + "https://github.com/tcheneau/Routing/blob/f09f46fcfe636107f22f2c98348188a65a135d98/README.md" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/NIST-PD-fallback.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/NIST-PD-fallback.json", + "referenceNumber": 616, + "name": "NIST Public Domain Notice with license fallback", + "licenseId": "NIST-PD-fallback", + "seeAlso": [ + "https://github.com/usnistgov/jsip/blob/59700e6926cbe96c5cdae897d9a7d2656b42abe3/LICENSE", + "https://github.com/usnistgov/fipy/blob/86aaa5c2ba2c6f1be19593c5986071cf6568cc34/LICENSE.rst" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/NIST-Software.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/NIST-Software.json", + "referenceNumber": 447, + "name": "NIST Software License", + "licenseId": "NIST-Software", + "seeAlso": [ + "https://github.com/open-quantum-safe/liboqs/blob/40b01fdbb270f8614fde30e65d30e9da18c02393/src/common/rand/rand_nist.c#L1-L15" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/NLOD-1.0.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/NLOD-1.0.json", + "referenceNumber": 249, + "name": "Norwegian Licence for Open Government Data (NLOD) 1.0", + "licenseId": "NLOD-1.0", + "seeAlso": [ + "http://data.norge.no/nlod/en/1.0" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/NLOD-2.0.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/NLOD-2.0.json", + "referenceNumber": 687, + "name": "Norwegian Licence for Open Government Data (NLOD) 2.0", + "licenseId": "NLOD-2.0", + "seeAlso": [ + "http://data.norge.no/nlod/en/2.0" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/NLPL.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/NLPL.json", + "referenceNumber": 161, + "name": "No Limit Public License", + "licenseId": "NLPL", + "seeAlso": [ + "https://fedoraproject.org/wiki/Licensing/NLPL" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/Nokia.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/Nokia.json", + "referenceNumber": 464, + "name": "Nokia Open Source License", + "licenseId": "Nokia", + "seeAlso": [ + "https://opensource.org/licenses/nokia" + ], + "isOsiApproved": true, + "isFsfLibre": true + }, + { + "reference": "https://spdx.org/licenses/NOSL.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/NOSL.json", + "referenceNumber": 471, + "name": "Netizen Open Source License", + "licenseId": "NOSL", + "seeAlso": [ + "http://bits.netizen.com.au/licenses/NOSL/nosl.txt" + ], + "isOsiApproved": false, + "isFsfLibre": true + }, + { + "reference": "https://spdx.org/licenses/Noweb.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/Noweb.json", + "referenceNumber": 77, + "name": "Noweb License", + "licenseId": "Noweb", + "seeAlso": [ + "https://fedoraproject.org/wiki/Licensing/Noweb" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/NPL-1.0.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/NPL-1.0.json", + "referenceNumber": 372, + "name": "Netscape Public License v1.0", + "licenseId": "NPL-1.0", + "seeAlso": [ + "http://www.mozilla.org/MPL/NPL/1.0/" + ], + "isOsiApproved": false, + "isFsfLibre": true + }, + { + "reference": "https://spdx.org/licenses/NPL-1.1.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/NPL-1.1.json", + "referenceNumber": 518, + "name": "Netscape Public License v1.1", + "licenseId": "NPL-1.1", + "seeAlso": [ + "http://www.mozilla.org/MPL/NPL/1.1/" + ], + "isOsiApproved": false, + "isFsfLibre": true + }, + { + "reference": "https://spdx.org/licenses/NPOSL-3.0.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/NPOSL-3.0.json", + "referenceNumber": 195, + "name": "Non-Profit Open Software License 3.0", + "licenseId": "NPOSL-3.0", + "seeAlso": [ + "https://opensource.org/licenses/NOSL3.0" + ], + "isOsiApproved": true + }, + { + "reference": "https://spdx.org/licenses/NRL.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/NRL.json", + "referenceNumber": 146, + "name": "NRL License", + "licenseId": "NRL", + "seeAlso": [ + "http://web.mit.edu/network/isakmp/nrllicense.html" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/NTIA-PD.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/NTIA-PD.json", + "referenceNumber": 426, + "name": "NTIA Public Domain Notice", + "licenseId": "NTIA-PD", + "seeAlso": [ + "https://raw.githubusercontent.com/NTIA/itm/refs/heads/master/LICENSE.md", + "https://raw.githubusercontent.com/NTIA/scos-sensor/refs/heads/master/LICENSE.md" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/NTP.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/NTP.json", + "referenceNumber": 621, + "name": "NTP License", + "licenseId": "NTP", + "seeAlso": [ + "https://opensource.org/licenses/NTP" + ], + "isOsiApproved": true + }, + { + "reference": "https://spdx.org/licenses/NTP-0.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/NTP-0.json", + "referenceNumber": 566, + "name": "NTP No Attribution", + "licenseId": "NTP-0", + "seeAlso": [ + "https://github.com/tytso/e2fsprogs/blob/master/lib/et/et_name.c" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/Nunit.html", + "isDeprecatedLicenseId": true, + "detailsUrl": "https://spdx.org/licenses/Nunit.json", + "referenceNumber": 203, + "name": "Nunit License", + "licenseId": "Nunit", + "seeAlso": [ + "https://fedoraproject.org/wiki/Licensing/Nunit" + ], + "isOsiApproved": false, + "isFsfLibre": true + }, + { + "reference": "https://spdx.org/licenses/O-UDA-1.0.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/O-UDA-1.0.json", + "referenceNumber": 485, + "name": "Open Use of Data Agreement v1.0", + "licenseId": "O-UDA-1.0", + "seeAlso": [ + "https://github.com/microsoft/Open-Use-of-Data-Agreement/blob/v1.0/O-UDA-1.0.md", + "https://cdla.dev/open-use-of-data-agreement-v1-0/" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/OAR.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/OAR.json", + "referenceNumber": 251, + "name": "OAR License", + "licenseId": "OAR", + "seeAlso": [ + "https://sourceware.org/git/?p\u003dnewlib-cygwin.git;a\u003dblob;f\u003dnewlib/libc/string/strsignal.c;hb\u003dHEAD#l35" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/OCCT-PL.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/OCCT-PL.json", + "referenceNumber": 371, + "name": "Open CASCADE Technology Public License", + "licenseId": "OCCT-PL", + "seeAlso": [ + "http://www.opencascade.com/content/occt-public-license" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/OCLC-2.0.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/OCLC-2.0.json", + "referenceNumber": 274, + "name": "OCLC Research Public License 2.0", + "licenseId": "OCLC-2.0", + "seeAlso": [ + "http://www.oclc.org/research/activities/software/license/v2final.htm", + "https://opensource.org/licenses/OCLC-2.0" + ], + "isOsiApproved": true + }, + { + "reference": "https://spdx.org/licenses/ODbL-1.0.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/ODbL-1.0.json", + "referenceNumber": 397, + "name": "Open Data Commons Open Database License v1.0", + "licenseId": "ODbL-1.0", + "seeAlso": [ + "http://www.opendatacommons.org/licenses/odbl/1.0/", + "https://opendatacommons.org/licenses/odbl/1-0/" + ], + "isOsiApproved": false, + "isFsfLibre": true + }, + { + "reference": "https://spdx.org/licenses/ODC-By-1.0.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/ODC-By-1.0.json", + "referenceNumber": 46, + "name": "Open Data Commons Attribution License v1.0", + "licenseId": "ODC-By-1.0", + "seeAlso": [ + "https://opendatacommons.org/licenses/by/1.0/" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/OFFIS.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/OFFIS.json", + "referenceNumber": 368, + "name": "OFFIS License", + "licenseId": "OFFIS", + "seeAlso": [ + "https://sourceforge.net/p/xmedcon/code/ci/master/tree/libs/dicom/README" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/OFL-1.0.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/OFL-1.0.json", + "referenceNumber": 589, + "name": "SIL Open Font License 1.0", + "licenseId": "OFL-1.0", + "seeAlso": [ + "http://scripts.sil.org/cms/scripts/page.php?item_id\u003dOFL10_web" + ], + "isOsiApproved": false, + "isFsfLibre": true + }, + { + "reference": "https://spdx.org/licenses/OFL-1.0-no-RFN.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/OFL-1.0-no-RFN.json", + "referenceNumber": 653, + "name": "SIL Open Font License 1.0 with no Reserved Font Name", + "licenseId": "OFL-1.0-no-RFN", + "seeAlso": [ + "http://scripts.sil.org/cms/scripts/page.php?item_id\u003dOFL10_web" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/OFL-1.0-RFN.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/OFL-1.0-RFN.json", + "referenceNumber": 201, + "name": "SIL Open Font License 1.0 with Reserved Font Name", + "licenseId": "OFL-1.0-RFN", + "seeAlso": [ + "http://scripts.sil.org/cms/scripts/page.php?item_id\u003dOFL10_web" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/OFL-1.1.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/OFL-1.1.json", + "referenceNumber": 608, + "name": "SIL Open Font License 1.1", + "licenseId": "OFL-1.1", + "seeAlso": [ + "http://scripts.sil.org/cms/scripts/page.php?item_id\u003dOFL_web", + "https://opensource.org/licenses/OFL-1.1" + ], + "isOsiApproved": true, + "isFsfLibre": true + }, + { + "reference": "https://spdx.org/licenses/OFL-1.1-no-RFN.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/OFL-1.1-no-RFN.json", + "referenceNumber": 204, + "name": "SIL Open Font License 1.1 with no Reserved Font Name", + "licenseId": "OFL-1.1-no-RFN", + "seeAlso": [ + "http://scripts.sil.org/cms/scripts/page.php?item_id\u003dOFL_web", + "https://opensource.org/licenses/OFL-1.1" + ], + "isOsiApproved": true + }, + { + "reference": "https://spdx.org/licenses/OFL-1.1-RFN.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/OFL-1.1-RFN.json", + "referenceNumber": 82, + "name": "SIL Open Font License 1.1 with Reserved Font Name", + "licenseId": "OFL-1.1-RFN", + "seeAlso": [ + "http://scripts.sil.org/cms/scripts/page.php?item_id\u003dOFL_web", + "https://opensource.org/licenses/OFL-1.1" + ], + "isOsiApproved": true + }, + { + "reference": "https://spdx.org/licenses/OGC-1.0.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/OGC-1.0.json", + "referenceNumber": 612, + "name": "OGC Software License, Version 1.0", + "licenseId": "OGC-1.0", + "seeAlso": [ + "https://www.ogc.org/ogc/software/1.0" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/OGDL-Taiwan-1.0.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/OGDL-Taiwan-1.0.json", + "referenceNumber": 129, + "name": "Taiwan Open Government Data License, version 1.0", + "licenseId": "OGDL-Taiwan-1.0", + "seeAlso": [ + "https://data.gov.tw/license" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/OGL-Canada-2.0.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/OGL-Canada-2.0.json", + "referenceNumber": 544, + "name": "Open Government Licence - Canada", + "licenseId": "OGL-Canada-2.0", + "seeAlso": [ + "https://open.canada.ca/en/open-government-licence-canada" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/OGL-UK-1.0.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/OGL-UK-1.0.json", + "referenceNumber": 168, + "name": "Open Government Licence v1.0", + "licenseId": "OGL-UK-1.0", + "seeAlso": [ + "http://www.nationalarchives.gov.uk/doc/open-government-licence/version/1/" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/OGL-UK-2.0.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/OGL-UK-2.0.json", + "referenceNumber": 400, + "name": "Open Government Licence v2.0", + "licenseId": "OGL-UK-2.0", + "seeAlso": [ + "http://www.nationalarchives.gov.uk/doc/open-government-licence/version/2/" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/OGL-UK-3.0.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/OGL-UK-3.0.json", + "referenceNumber": 570, + "name": "Open Government Licence v3.0", + "licenseId": "OGL-UK-3.0", + "seeAlso": [ + "http://www.nationalarchives.gov.uk/doc/open-government-licence/version/3/" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/OGTSL.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/OGTSL.json", + "referenceNumber": 534, + "name": "Open Group Test Suite License", + "licenseId": "OGTSL", + "seeAlso": [ + "http://www.opengroup.org/testing/downloads/The_Open_Group_TSL.txt", + "https://opensource.org/licenses/OGTSL" + ], + "isOsiApproved": true + }, + { + "reference": "https://spdx.org/licenses/OLDAP-1.1.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/OLDAP-1.1.json", + "referenceNumber": 333, + "name": "Open LDAP Public License v1.1", + "licenseId": "OLDAP-1.1", + "seeAlso": [ + "http://www.openldap.org/devel/gitweb.cgi?p\u003dopenldap.git;a\u003dblob;f\u003dLICENSE;hb\u003d806557a5ad59804ef3a44d5abfbe91d706b0791f" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/OLDAP-1.2.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/OLDAP-1.2.json", + "referenceNumber": 281, + "name": "Open LDAP Public License v1.2", + "licenseId": "OLDAP-1.2", + "seeAlso": [ + "http://www.openldap.org/devel/gitweb.cgi?p\u003dopenldap.git;a\u003dblob;f\u003dLICENSE;hb\u003d42b0383c50c299977b5893ee695cf4e486fb0dc7" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/OLDAP-1.3.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/OLDAP-1.3.json", + "referenceNumber": 386, + "name": "Open LDAP Public License v1.3", + "licenseId": "OLDAP-1.3", + "seeAlso": [ + "http://www.openldap.org/devel/gitweb.cgi?p\u003dopenldap.git;a\u003dblob;f\u003dLICENSE;hb\u003de5f8117f0ce088d0bd7a8e18ddf37eaa40eb09b1" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/OLDAP-1.4.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/OLDAP-1.4.json", + "referenceNumber": 105, + "name": "Open LDAP Public License v1.4", + "licenseId": "OLDAP-1.4", + "seeAlso": [ + "http://www.openldap.org/devel/gitweb.cgi?p\u003dopenldap.git;a\u003dblob;f\u003dLICENSE;hb\u003dc9f95c2f3f2ffb5e0ae55fe7388af75547660941" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/OLDAP-2.0.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/OLDAP-2.0.json", + "referenceNumber": 657, + "name": "Open LDAP Public License v2.0 (or possibly 2.0A and 2.0B)", + "licenseId": "OLDAP-2.0", + "seeAlso": [ + "http://www.openldap.org/devel/gitweb.cgi?p\u003dopenldap.git;a\u003dblob;f\u003dLICENSE;hb\u003dcbf50f4e1185a21abd4c0a54d3f4341fe28f36ea" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/OLDAP-2.0.1.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/OLDAP-2.0.1.json", + "referenceNumber": 654, + "name": "Open LDAP Public License v2.0.1", + "licenseId": "OLDAP-2.0.1", + "seeAlso": [ + "http://www.openldap.org/devel/gitweb.cgi?p\u003dopenldap.git;a\u003dblob;f\u003dLICENSE;hb\u003db6d68acd14e51ca3aab4428bf26522aa74873f0e" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/OLDAP-2.1.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/OLDAP-2.1.json", + "referenceNumber": 170, + "name": "Open LDAP Public License v2.1", + "licenseId": "OLDAP-2.1", + "seeAlso": [ + "http://www.openldap.org/devel/gitweb.cgi?p\u003dopenldap.git;a\u003dblob;f\u003dLICENSE;hb\u003db0d176738e96a0d3b9f85cb51e140a86f21be715" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/OLDAP-2.2.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/OLDAP-2.2.json", + "referenceNumber": 667, + "name": "Open LDAP Public License v2.2", + "licenseId": "OLDAP-2.2", + "seeAlso": [ + "http://www.openldap.org/devel/gitweb.cgi?p\u003dopenldap.git;a\u003dblob;f\u003dLICENSE;hb\u003d470b0c18ec67621c85881b2733057fecf4a1acc3" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/OLDAP-2.2.1.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/OLDAP-2.2.1.json", + "referenceNumber": 378, + "name": "Open LDAP Public License v2.2.1", + "licenseId": "OLDAP-2.2.1", + "seeAlso": [ + "http://www.openldap.org/devel/gitweb.cgi?p\u003dopenldap.git;a\u003dblob;f\u003dLICENSE;hb\u003d4bc786f34b50aa301be6f5600f58a980070f481e" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/OLDAP-2.2.2.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/OLDAP-2.2.2.json", + "referenceNumber": 314, + "name": "Open LDAP Public License 2.2.2", + "licenseId": "OLDAP-2.2.2", + "seeAlso": [ + "http://www.openldap.org/devel/gitweb.cgi?p\u003dopenldap.git;a\u003dblob;f\u003dLICENSE;hb\u003ddf2cc1e21eb7c160695f5b7cffd6296c151ba188" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/OLDAP-2.3.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/OLDAP-2.3.json", + "referenceNumber": 411, + "name": "Open LDAP Public License v2.3", + "licenseId": "OLDAP-2.3", + "seeAlso": [ + "http://www.openldap.org/devel/gitweb.cgi?p\u003dopenldap.git;a\u003dblob;f\u003dLICENSE;hb\u003dd32cf54a32d581ab475d23c810b0a7fbaf8d63c3" + ], + "isOsiApproved": false, + "isFsfLibre": true + }, + { + "reference": "https://spdx.org/licenses/OLDAP-2.4.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/OLDAP-2.4.json", + "referenceNumber": 382, + "name": "Open LDAP Public License v2.4", + "licenseId": "OLDAP-2.4", + "seeAlso": [ + "http://www.openldap.org/devel/gitweb.cgi?p\u003dopenldap.git;a\u003dblob;f\u003dLICENSE;hb\u003dcd1284c4a91a8a380d904eee68d1583f989ed386" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/OLDAP-2.5.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/OLDAP-2.5.json", + "referenceNumber": 443, + "name": "Open LDAP Public License v2.5", + "licenseId": "OLDAP-2.5", + "seeAlso": [ + "http://www.openldap.org/devel/gitweb.cgi?p\u003dopenldap.git;a\u003dblob;f\u003dLICENSE;hb\u003d6852b9d90022e8593c98205413380536b1b5a7cf" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/OLDAP-2.6.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/OLDAP-2.6.json", + "referenceNumber": 344, + "name": "Open LDAP Public License v2.6", + "licenseId": "OLDAP-2.6", + "seeAlso": [ + "http://www.openldap.org/devel/gitweb.cgi?p\u003dopenldap.git;a\u003dblob;f\u003dLICENSE;hb\u003d1cae062821881f41b73012ba816434897abf4205" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/OLDAP-2.7.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/OLDAP-2.7.json", + "referenceNumber": 574, + "name": "Open LDAP Public License v2.7", + "licenseId": "OLDAP-2.7", + "seeAlso": [ + "http://www.openldap.org/devel/gitweb.cgi?p\u003dopenldap.git;a\u003dblob;f\u003dLICENSE;hb\u003d47c2415c1df81556eeb39be6cad458ef87c534a2" + ], + "isOsiApproved": false, + "isFsfLibre": true + }, + { + "reference": "https://spdx.org/licenses/OLDAP-2.8.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/OLDAP-2.8.json", + "referenceNumber": 364, + "name": "Open LDAP Public License v2.8", + "licenseId": "OLDAP-2.8", + "seeAlso": [ + "http://www.openldap.org/software/release/license.html" + ], + "isOsiApproved": true + }, + { + "reference": "https://spdx.org/licenses/OLFL-1.3.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/OLFL-1.3.json", + "referenceNumber": 121, + "name": "Open Logistics Foundation License Version 1.3", + "licenseId": "OLFL-1.3", + "seeAlso": [ + "https://openlogisticsfoundation.org/licenses/", + "https://opensource.org/license/olfl-1-3/" + ], + "isOsiApproved": true + }, + { + "reference": "https://spdx.org/licenses/OML.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/OML.json", + "referenceNumber": 116, + "name": "Open Market License", + "licenseId": "OML", + "seeAlso": [ + "https://fedoraproject.org/wiki/Licensing/Open_Market_License" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/OpenPBS-2.3.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/OpenPBS-2.3.json", + "referenceNumber": 2, + "name": "OpenPBS v2.3 Software License", + "licenseId": "OpenPBS-2.3", + "seeAlso": [ + "https://github.com/adaptivecomputing/torque/blob/master/PBS_License.txt", + "https://www.mcs.anl.gov/research/projects/openpbs/PBS_License.txt" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/OpenSSL.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/OpenSSL.json", + "referenceNumber": 275, + "name": "OpenSSL License", + "licenseId": "OpenSSL", + "seeAlso": [ + "http://www.openssl.org/source/license.html" + ], + "isOsiApproved": false, + "isFsfLibre": true + }, + { + "reference": "https://spdx.org/licenses/OpenSSL-standalone.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/OpenSSL-standalone.json", + "referenceNumber": 128, + "name": "OpenSSL License - standalone", + "licenseId": "OpenSSL-standalone", + "seeAlso": [ + "https://library.netapp.com/ecm/ecm_download_file/ECMP1196395", + "https://hstechdocs.helpsystems.com/manuals/globalscape/archive/cuteftp6/open_ssl_license_agreement.htm" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/OpenVision.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/OpenVision.json", + "referenceNumber": 36, + "name": "OpenVision License", + "licenseId": "OpenVision", + "seeAlso": [ + "https://github.com/krb5/krb5/blob/krb5-1.21.2-final/NOTICE#L66-L98", + "https://web.mit.edu/kerberos/krb5-1.21/doc/mitK5license.html", + "https://fedoraproject.org/wiki/Licensing:MIT#OpenVision_Variant" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/OPL-1.0.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/OPL-1.0.json", + "referenceNumber": 614, + "name": "Open Public License v1.0", + "licenseId": "OPL-1.0", + "seeAlso": [ + "http://old.koalateam.com/jackaroo/OPL_1_0.TXT", + "https://fedoraproject.org/wiki/Licensing/Open_Public_License" + ], + "isOsiApproved": false, + "isFsfLibre": false + }, + { + "reference": "https://spdx.org/licenses/OPL-UK-3.0.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/OPL-UK-3.0.json", + "referenceNumber": 285, + "name": "United Kingdom Open Parliament Licence v3.0", + "licenseId": "OPL-UK-3.0", + "seeAlso": [ + "https://www.parliament.uk/site-information/copyright-parliament/open-parliament-licence/" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/OPUBL-1.0.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/OPUBL-1.0.json", + "referenceNumber": 414, + "name": "Open Publication License v1.0", + "licenseId": "OPUBL-1.0", + "seeAlso": [ + "http://opencontent.org/openpub/", + "https://www.debian.org/opl", + "https://www.ctan.org/license/opl" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/OSET-PL-2.1.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/OSET-PL-2.1.json", + "referenceNumber": 183, + "name": "OSET Public License version 2.1", + "licenseId": "OSET-PL-2.1", + "seeAlso": [ + "http://www.osetfoundation.org/public-license", + "https://opensource.org/licenses/OPL-2.1" + ], + "isOsiApproved": true + }, + { + "reference": "https://spdx.org/licenses/OSL-1.0.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/OSL-1.0.json", + "referenceNumber": 651, + "name": "Open Software License 1.0", + "licenseId": "OSL-1.0", + "seeAlso": [ + "https://opensource.org/licenses/OSL-1.0" + ], + "isOsiApproved": true, + "isFsfLibre": true + }, + { + "reference": "https://spdx.org/licenses/OSL-1.1.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/OSL-1.1.json", + "referenceNumber": 453, + "name": "Open Software License 1.1", + "licenseId": "OSL-1.1", + "seeAlso": [ + "https://fedoraproject.org/wiki/Licensing/OSL1.1" + ], + "isOsiApproved": false, + "isFsfLibre": true + }, + { + "reference": "https://spdx.org/licenses/OSL-2.0.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/OSL-2.0.json", + "referenceNumber": 179, + "name": "Open Software License 2.0", + "licenseId": "OSL-2.0", + "seeAlso": [ + "http://web.archive.org/web/20041020171434/http://www.rosenlaw.com/osl2.0.html" + ], + "isOsiApproved": true, + "isFsfLibre": true + }, + { + "reference": "https://spdx.org/licenses/OSL-2.1.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/OSL-2.1.json", + "referenceNumber": 29, + "name": "Open Software License 2.1", + "licenseId": "OSL-2.1", + "seeAlso": [ + "http://web.archive.org/web/20050212003940/http://www.rosenlaw.com/osl21.htm", + "https://opensource.org/licenses/OSL-2.1" + ], + "isOsiApproved": true, + "isFsfLibre": true + }, + { + "reference": "https://spdx.org/licenses/OSL-3.0.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/OSL-3.0.json", + "referenceNumber": 3, + "name": "Open Software License 3.0", + "licenseId": "OSL-3.0", + "seeAlso": [ + "https://web.archive.org/web/20120101081418/http://rosenlaw.com:80/OSL3.0.htm", + "https://opensource.org/licenses/OSL-3.0" + ], + "isOsiApproved": true, + "isFsfLibre": true + }, + { + "reference": "https://spdx.org/licenses/PADL.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/PADL.json", + "referenceNumber": 284, + "name": "PADL License", + "licenseId": "PADL", + "seeAlso": [ + "https://git.openldap.org/openldap/openldap/-/blob/master/libraries/libldap/os-local.c?ref_type\u003dheads#L19-23" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/Parity-6.0.0.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/Parity-6.0.0.json", + "referenceNumber": 241, + "name": "The Parity Public License 6.0.0", + "licenseId": "Parity-6.0.0", + "seeAlso": [ + "https://paritylicense.com/versions/6.0.0.html" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/Parity-7.0.0.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/Parity-7.0.0.json", + "referenceNumber": 235, + "name": "The Parity Public License 7.0.0", + "licenseId": "Parity-7.0.0", + "seeAlso": [ + "https://paritylicense.com/versions/7.0.0.html" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/PDDL-1.0.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/PDDL-1.0.json", + "referenceNumber": 684, + "name": "Open Data Commons Public Domain Dedication \u0026 License 1.0", + "licenseId": "PDDL-1.0", + "seeAlso": [ + "http://opendatacommons.org/licenses/pddl/1.0/", + "https://opendatacommons.org/licenses/pddl/" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/PHP-3.0.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/PHP-3.0.json", + "referenceNumber": 133, + "name": "PHP License v3.0", + "licenseId": "PHP-3.0", + "seeAlso": [ + "http://www.php.net/license/3_0.txt", + "https://opensource.org/licenses/PHP-3.0" + ], + "isOsiApproved": true + }, + { + "reference": "https://spdx.org/licenses/PHP-3.01.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/PHP-3.01.json", + "referenceNumber": 221, + "name": "PHP License v3.01", + "licenseId": "PHP-3.01", + "seeAlso": [ + "http://www.php.net/license/3_01.txt" + ], + "isOsiApproved": true, + "isFsfLibre": true + }, + { + "reference": "https://spdx.org/licenses/Pixar.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/Pixar.json", + "referenceNumber": 435, + "name": "Pixar License", + "licenseId": "Pixar", + "seeAlso": [ + "https://github.com/PixarAnimationStudios/OpenSubdiv/raw/v3_5_0/LICENSE.txt", + "https://graphics.pixar.com/opensubdiv/docs/license.html", + "https://github.com/PixarAnimationStudios/OpenSubdiv/blob/v3_5_0/opensubdiv/version.cpp#L2-L22" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/pkgconf.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/pkgconf.json", + "referenceNumber": 670, + "name": "pkgconf License", + "licenseId": "pkgconf", + "seeAlso": [ + "https://github.com/pkgconf/pkgconf/blob/master/cli/main.c#L8" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/Plexus.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/Plexus.json", + "referenceNumber": 181, + "name": "Plexus Classworlds License", + "licenseId": "Plexus", + "seeAlso": [ + "https://fedoraproject.org/wiki/Licensing/Plexus_Classworlds_License" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/pnmstitch.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/pnmstitch.json", + "referenceNumber": 691, + "name": "pnmstitch License", + "licenseId": "pnmstitch", + "seeAlso": [ + "https://sourceforge.net/p/netpbm/code/HEAD/tree/super_stable/editor/pnmstitch.c#l2" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/PolyForm-Noncommercial-1.0.0.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/PolyForm-Noncommercial-1.0.0.json", + "referenceNumber": 119, + "name": "PolyForm Noncommercial License 1.0.0", + "licenseId": "PolyForm-Noncommercial-1.0.0", + "seeAlso": [ + "https://polyformproject.org/licenses/noncommercial/1.0.0" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/PolyForm-Small-Business-1.0.0.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/PolyForm-Small-Business-1.0.0.json", + "referenceNumber": 30, + "name": "PolyForm Small Business License 1.0.0", + "licenseId": "PolyForm-Small-Business-1.0.0", + "seeAlso": [ + "https://polyformproject.org/licenses/small-business/1.0.0" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/PostgreSQL.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/PostgreSQL.json", + "referenceNumber": 697, + "name": "PostgreSQL License", + "licenseId": "PostgreSQL", + "seeAlso": [ + "http://www.postgresql.org/about/licence", + "https://opensource.org/licenses/PostgreSQL" + ], + "isOsiApproved": true + }, + { + "reference": "https://spdx.org/licenses/PPL.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/PPL.json", + "referenceNumber": 150, + "name": "Peer Production License", + "licenseId": "PPL", + "seeAlso": [ + "https://wiki.p2pfoundation.net/Peer_Production_License", + "http://www.networkcultures.org/_uploads/%233notebook_telekommunist.pdf" + ], + "isOsiApproved": false, + "isFsfLibre": false + }, + { + "reference": "https://spdx.org/licenses/PSF-2.0.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/PSF-2.0.json", + "referenceNumber": 211, + "name": "Python Software Foundation License 2.0", + "licenseId": "PSF-2.0", + "seeAlso": [ + "https://opensource.org/licenses/Python-2.0", + "https://matplotlib.org/stable/project/license.html" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/psfrag.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/psfrag.json", + "referenceNumber": 423, + "name": "psfrag License", + "licenseId": "psfrag", + "seeAlso": [ + "https://fedoraproject.org/wiki/Licensing/psfrag" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/psutils.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/psutils.json", + "referenceNumber": 500, + "name": "psutils License", + "licenseId": "psutils", + "seeAlso": [ + "https://fedoraproject.org/wiki/Licensing/psutils" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/Python-2.0.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/Python-2.0.json", + "referenceNumber": 628, + "name": "Python License 2.0", + "licenseId": "Python-2.0", + "seeAlso": [ + "https://opensource.org/licenses/Python-2.0" + ], + "isOsiApproved": true, + "isFsfLibre": true + }, + { + "reference": "https://spdx.org/licenses/Python-2.0.1.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/Python-2.0.1.json", + "referenceNumber": 586, + "name": "Python License 2.0.1", + "licenseId": "Python-2.0.1", + "seeAlso": [ + "https://www.python.org/download/releases/2.0.1/license/", + "https://docs.python.org/3/license.html", + "https://github.com/python/cpython/blob/main/LICENSE" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/python-ldap.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/python-ldap.json", + "referenceNumber": 630, + "name": "Python ldap License", + "licenseId": "python-ldap", + "seeAlso": [ + "https://github.com/python-ldap/python-ldap/blob/main/LICENCE" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/Qhull.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/Qhull.json", + "referenceNumber": 590, + "name": "Qhull License", + "licenseId": "Qhull", + "seeAlso": [ + "https://fedoraproject.org/wiki/Licensing/Qhull" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/QPL-1.0.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/QPL-1.0.json", + "referenceNumber": 693, + "name": "Q Public License 1.0", + "licenseId": "QPL-1.0", + "seeAlso": [ + "http://doc.qt.nokia.com/3.3/license.html", + "https://opensource.org/licenses/QPL-1.0", + "https://doc.qt.io/archives/3.3/license.html" + ], + "isOsiApproved": true, + "isFsfLibre": true + }, + { + "reference": "https://spdx.org/licenses/QPL-1.0-INRIA-2004.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/QPL-1.0-INRIA-2004.json", + "referenceNumber": 117, + "name": "Q Public License 1.0 - INRIA 2004 variant", + "licenseId": "QPL-1.0-INRIA-2004", + "seeAlso": [ + "https://github.com/maranget/hevea/blob/master/LICENSE" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/radvd.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/radvd.json", + "referenceNumber": 678, + "name": "radvd License", + "licenseId": "radvd", + "seeAlso": [ + "https://github.com/radvd-project/radvd/blob/master/COPYRIGHT" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/Rdisc.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/Rdisc.json", + "referenceNumber": 4, + "name": "Rdisc License", + "licenseId": "Rdisc", + "seeAlso": [ + "https://fedoraproject.org/wiki/Licensing/Rdisc_License" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/RHeCos-1.1.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/RHeCos-1.1.json", + "referenceNumber": 258, + "name": "Red Hat eCos Public License v1.1", + "licenseId": "RHeCos-1.1", + "seeAlso": [ + "http://ecos.sourceware.org/old-license.html" + ], + "isOsiApproved": false, + "isFsfLibre": false + }, + { + "reference": "https://spdx.org/licenses/RPL-1.1.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/RPL-1.1.json", + "referenceNumber": 57, + "name": "Reciprocal Public License 1.1", + "licenseId": "RPL-1.1", + "seeAlso": [ + "https://opensource.org/licenses/RPL-1.1" + ], + "isOsiApproved": true + }, + { + "reference": "https://spdx.org/licenses/RPL-1.5.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/RPL-1.5.json", + "referenceNumber": 413, + "name": "Reciprocal Public License 1.5", + "licenseId": "RPL-1.5", + "seeAlso": [ + "https://opensource.org/licenses/RPL-1.5" + ], + "isOsiApproved": true + }, + { + "reference": "https://spdx.org/licenses/RPSL-1.0.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/RPSL-1.0.json", + "referenceNumber": 104, + "name": "RealNetworks Public Source License v1.0", + "licenseId": "RPSL-1.0", + "seeAlso": [ + "https://helixcommunity.org/content/rpsl", + "https://opensource.org/licenses/RPSL-1.0" + ], + "isOsiApproved": true, + "isFsfLibre": true + }, + { + "reference": "https://spdx.org/licenses/RSA-MD.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/RSA-MD.json", + "referenceNumber": 12, + "name": "RSA Message-Digest License", + "licenseId": "RSA-MD", + "seeAlso": [ + "http://www.faqs.org/rfcs/rfc1321.html" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/RSCPL.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/RSCPL.json", + "referenceNumber": 166, + "name": "Ricoh Source Code Public License", + "licenseId": "RSCPL", + "seeAlso": [ + "http://wayback.archive.org/web/20060715140826/http://www.risource.org/RPL/RPL-1.0A.shtml", + "https://opensource.org/licenses/RSCPL" + ], + "isOsiApproved": true + }, + { + "reference": "https://spdx.org/licenses/Ruby.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/Ruby.json", + "referenceNumber": 490, + "name": "Ruby License", + "licenseId": "Ruby", + "seeAlso": [ + "https://www.ruby-lang.org/en/about/license.txt" + ], + "isOsiApproved": false, + "isFsfLibre": true + }, + { + "reference": "https://spdx.org/licenses/Ruby-pty.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/Ruby-pty.json", + "referenceNumber": 509, + "name": "Ruby pty extension license", + "licenseId": "Ruby-pty", + "seeAlso": [ + "https://github.com/ruby/ruby/blob/9f6deaa6888a423720b4b127b5314f0ad26cc2e6/ext/pty/pty.c#L775-L786", + "https://github.com/ruby/ruby/commit/0a64817fb80016030c03518fb9459f63c11605ea#diff-ef5fa30838d6d0cecad9e675cc50b24628cfe2cb277c346053fafcc36c91c204", + "https://github.com/ruby/ruby/commit/0a64817fb80016030c03518fb9459f63c11605ea#diff-fedf217c1ce44bda01f0a678d3ff8b198bed478754d699c527a698ad933979a0" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/SAX-PD.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/SAX-PD.json", + "referenceNumber": 22, + "name": "Sax Public Domain Notice", + "licenseId": "SAX-PD", + "seeAlso": [ + "http://www.saxproject.org/copying.html" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/SAX-PD-2.0.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/SAX-PD-2.0.json", + "referenceNumber": 346, + "name": "Sax Public Domain Notice 2.0", + "licenseId": "SAX-PD-2.0", + "seeAlso": [ + "http://www.saxproject.org/copying.html" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/Saxpath.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/Saxpath.json", + "referenceNumber": 390, + "name": "Saxpath License", + "licenseId": "Saxpath", + "seeAlso": [ + "https://fedoraproject.org/wiki/Licensing/Saxpath_License" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/SCEA.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/SCEA.json", + "referenceNumber": 484, + "name": "SCEA Shared Source License", + "licenseId": "SCEA", + "seeAlso": [ + "http://research.scea.com/scea_shared_source_license.html" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/SchemeReport.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/SchemeReport.json", + "referenceNumber": 91, + "name": "Scheme Language Report License", + "licenseId": "SchemeReport", + "seeAlso": [], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/Sendmail.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/Sendmail.json", + "referenceNumber": 266, + "name": "Sendmail License", + "licenseId": "Sendmail", + "seeAlso": [ + "http://www.sendmail.com/pdfs/open_source/sendmail_license.pdf", + "https://web.archive.org/web/20160322142305/https://www.sendmail.com/pdfs/open_source/sendmail_license.pdf" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/Sendmail-8.23.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/Sendmail-8.23.json", + "referenceNumber": 55, + "name": "Sendmail License 8.23", + "licenseId": "Sendmail-8.23", + "seeAlso": [ + "https://www.proofpoint.com/sites/default/files/sendmail-license.pdf", + "https://web.archive.org/web/20181003101040/https://www.proofpoint.com/sites/default/files/sendmail-license.pdf" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/Sendmail-Open-Source-1.1.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/Sendmail-Open-Source-1.1.json", + "referenceNumber": 620, + "name": "Sendmail Open Source License v1.1", + "licenseId": "Sendmail-Open-Source-1.1", + "seeAlso": [ + "https://github.com/trusteddomainproject/OpenDMARC/blob/master/LICENSE.Sendmail" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/SGI-B-1.0.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/SGI-B-1.0.json", + "referenceNumber": 56, + "name": "SGI Free Software License B v1.0", + "licenseId": "SGI-B-1.0", + "seeAlso": [ + "http://oss.sgi.com/projects/FreeB/SGIFreeSWLicB.1.0.html" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/SGI-B-1.1.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/SGI-B-1.1.json", + "referenceNumber": 296, + "name": "SGI Free Software License B v1.1", + "licenseId": "SGI-B-1.1", + "seeAlso": [ + "http://oss.sgi.com/projects/FreeB/" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/SGI-B-2.0.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/SGI-B-2.0.json", + "referenceNumber": 617, + "name": "SGI Free Software License B v2.0", + "licenseId": "SGI-B-2.0", + "seeAlso": [ + "http://oss.sgi.com/projects/FreeB/SGIFreeSWLicB.2.0.pdf" + ], + "isOsiApproved": false, + "isFsfLibre": true + }, + { + "reference": "https://spdx.org/licenses/SGI-OpenGL.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/SGI-OpenGL.json", + "referenceNumber": 34, + "name": "SGI OpenGL License", + "licenseId": "SGI-OpenGL", + "seeAlso": [ + "https://gitlab.freedesktop.org/mesa/glw/-/blob/master/README?ref_type\u003dheads" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/SGP4.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/SGP4.json", + "referenceNumber": 572, + "name": "SGP4 Permission Notice", + "licenseId": "SGP4", + "seeAlso": [ + "https://celestrak.org/publications/AIAA/2006-6753/faq.php" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/SHL-0.5.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/SHL-0.5.json", + "referenceNumber": 267, + "name": "Solderpad Hardware License v0.5", + "licenseId": "SHL-0.5", + "seeAlso": [ + "https://solderpad.org/licenses/SHL-0.5/" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/SHL-0.51.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/SHL-0.51.json", + "referenceNumber": 582, + "name": "Solderpad Hardware License, Version 0.51", + "licenseId": "SHL-0.51", + "seeAlso": [ + "https://solderpad.org/licenses/SHL-0.51/" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/SimPL-2.0.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/SimPL-2.0.json", + "referenceNumber": 452, + "name": "Simple Public License 2.0", + "licenseId": "SimPL-2.0", + "seeAlso": [ + "https://opensource.org/licenses/SimPL-2.0" + ], + "isOsiApproved": true + }, + { + "reference": "https://spdx.org/licenses/SISSL.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/SISSL.json", + "referenceNumber": 110, + "name": "Sun Industry Standards Source License v1.1", + "licenseId": "SISSL", + "seeAlso": [ + "http://www.openoffice.org/licenses/sissl_license.html", + "https://opensource.org/licenses/SISSL" + ], + "isOsiApproved": true, + "isFsfLibre": true + }, + { + "reference": "https://spdx.org/licenses/SISSL-1.2.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/SISSL-1.2.json", + "referenceNumber": 253, + "name": "Sun Industry Standards Source License v1.2", + "licenseId": "SISSL-1.2", + "seeAlso": [ + "http://gridscheduler.sourceforge.net/Gridengine_SISSL_license.html" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/SL.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/SL.json", + "referenceNumber": 83, + "name": "SL License", + "licenseId": "SL", + "seeAlso": [ + "https://github.com/mtoyoda/sl/blob/master/LICENSE" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/Sleepycat.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/Sleepycat.json", + "referenceNumber": 42, + "name": "Sleepycat License", + "licenseId": "Sleepycat", + "seeAlso": [ + "https://opensource.org/licenses/Sleepycat" + ], + "isOsiApproved": true, + "isFsfLibre": true + }, + { + "reference": "https://spdx.org/licenses/SMAIL-GPL.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/SMAIL-GPL.json", + "referenceNumber": 546, + "name": "SMAIL General Public License", + "licenseId": "SMAIL-GPL", + "seeAlso": [ + "https://sources.debian.org/copyright/license/debianutils/4.11.2/" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/SMLNJ.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/SMLNJ.json", + "referenceNumber": 81, + "name": "Standard ML of New Jersey License", + "licenseId": "SMLNJ", + "seeAlso": [ + "https://www.smlnj.org/license.html" + ], + "isOsiApproved": false, + "isFsfLibre": true + }, + { + "reference": "https://spdx.org/licenses/SMPPL.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/SMPPL.json", + "referenceNumber": 579, + "name": "Secure Messaging Protocol Public License", + "licenseId": "SMPPL", + "seeAlso": [ + "https://github.com/dcblake/SMP/blob/master/Documentation/License.txt" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/SNIA.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/SNIA.json", + "referenceNumber": 224, + "name": "SNIA Public License 1.1", + "licenseId": "SNIA", + "seeAlso": [ + "https://fedoraproject.org/wiki/Licensing/SNIA_Public_License" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/snprintf.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/snprintf.json", + "referenceNumber": 594, + "name": "snprintf License", + "licenseId": "snprintf", + "seeAlso": [ + "https://github.com/openssh/openssh-portable/blob/master/openbsd-compat/bsd-snprintf.c#L2" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/SOFA.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/SOFA.json", + "referenceNumber": 375, + "name": "SOFA Software License", + "licenseId": "SOFA", + "seeAlso": [ + "http://www.iausofa.org/tandc.html" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/softSurfer.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/softSurfer.json", + "referenceNumber": 593, + "name": "softSurfer License", + "licenseId": "softSurfer", + "seeAlso": [ + "https://github.com/mm2/Little-CMS/blob/master/src/cmssm.c#L207", + "https://fedoraproject.org/wiki/Licensing/softSurfer" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/Soundex.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/Soundex.json", + "referenceNumber": 374, + "name": "Soundex License", + "licenseId": "Soundex", + "seeAlso": [ + "https://metacpan.org/release/RJBS/Text-Soundex-3.05/source/Soundex.pm#L3-11" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/Spencer-86.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/Spencer-86.json", + "referenceNumber": 193, + "name": "Spencer License 86", + "licenseId": "Spencer-86", + "seeAlso": [ + "https://fedoraproject.org/wiki/Licensing/Henry_Spencer_Reg-Ex_Library_License" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/Spencer-94.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/Spencer-94.json", + "referenceNumber": 451, + "name": "Spencer License 94", + "licenseId": "Spencer-94", + "seeAlso": [ + "https://fedoraproject.org/wiki/Licensing/Henry_Spencer_Reg-Ex_Library_License", + "https://metacpan.org/release/KNOK/File-MMagic-1.30/source/COPYING#L28" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/Spencer-99.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/Spencer-99.json", + "referenceNumber": 220, + "name": "Spencer License 99", + "licenseId": "Spencer-99", + "seeAlso": [ + "http://www.opensource.apple.com/source/tcl/tcl-5/tcl/generic/regfronts.c" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/SPL-1.0.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/SPL-1.0.json", + "referenceNumber": 342, + "name": "Sun Public License v1.0", + "licenseId": "SPL-1.0", + "seeAlso": [ + "https://opensource.org/licenses/SPL-1.0" + ], + "isOsiApproved": true, + "isFsfLibre": true + }, + { + "reference": "https://spdx.org/licenses/ssh-keyscan.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/ssh-keyscan.json", + "referenceNumber": 537, + "name": "ssh-keyscan License", + "licenseId": "ssh-keyscan", + "seeAlso": [ + "https://github.com/openssh/openssh-portable/blob/master/LICENCE#L82" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/SSH-OpenSSH.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/SSH-OpenSSH.json", + "referenceNumber": 463, + "name": "SSH OpenSSH license", + "licenseId": "SSH-OpenSSH", + "seeAlso": [ + "https://github.com/openssh/openssh-portable/blob/1b11ea7c58cd5c59838b5fa574cd456d6047b2d4/LICENCE#L10" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/SSH-short.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/SSH-short.json", + "referenceNumber": 573, + "name": "SSH short notice", + "licenseId": "SSH-short", + "seeAlso": [ + "https://github.com/openssh/openssh-portable/blob/1b11ea7c58cd5c59838b5fa574cd456d6047b2d4/pathnames.h", + "http://web.mit.edu/kolya/.f/root/athena.mit.edu/sipb.mit.edu/project/openssh/OldFiles/src/openssh-2.9.9p2/ssh-add.1", + "https://joinup.ec.europa.eu/svn/lesoll/trunk/italc/lib/src/dsa_key.cpp" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/SSLeay-standalone.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/SSLeay-standalone.json", + "referenceNumber": 96, + "name": "SSLeay License - standalone", + "licenseId": "SSLeay-standalone", + "seeAlso": [ + "https://www.tq-group.com/filedownloads/files/software-license-conditions/OriginalSSLeay/OriginalSSLeay.pdf" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/SSPL-1.0.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/SSPL-1.0.json", + "referenceNumber": 664, + "name": "Server Side Public License, v 1", + "licenseId": "SSPL-1.0", + "seeAlso": [ + "https://www.mongodb.com/licensing/server-side-public-license" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/StandardML-NJ.html", + "isDeprecatedLicenseId": true, + "detailsUrl": "https://spdx.org/licenses/StandardML-NJ.json", + "referenceNumber": 501, + "name": "Standard ML of New Jersey License", + "licenseId": "StandardML-NJ", + "seeAlso": [ + "https://www.smlnj.org/license.html" + ], + "isOsiApproved": false, + "isFsfLibre": true + }, + { + "reference": "https://spdx.org/licenses/SugarCRM-1.1.3.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/SugarCRM-1.1.3.json", + "referenceNumber": 222, + "name": "SugarCRM Public License v1.1.3", + "licenseId": "SugarCRM-1.1.3", + "seeAlso": [ + "http://www.sugarcrm.com/crm/SPL" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/SUL-1.0.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/SUL-1.0.json", + "referenceNumber": 557, + "name": "Sustainable Use License v1.0", + "licenseId": "SUL-1.0", + "seeAlso": [ + "https://github.com/n8n-io/n8n/blob/master/LICENSE.md" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/Sun-PPP.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/Sun-PPP.json", + "referenceNumber": 39, + "name": "Sun PPP License", + "licenseId": "Sun-PPP", + "seeAlso": [ + "https://github.com/ppp-project/ppp/blob/master/pppd/eap.c#L7-L16" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/Sun-PPP-2000.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/Sun-PPP-2000.json", + "referenceNumber": 70, + "name": "Sun PPP License (2000)", + "licenseId": "Sun-PPP-2000", + "seeAlso": [ + "https://github.com/ppp-project/ppp/blob/master/modules/ppp_ahdlc.c#L7-L19" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/SunPro.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/SunPro.json", + "referenceNumber": 395, + "name": "SunPro License", + "licenseId": "SunPro", + "seeAlso": [ + "https://github.com/freebsd/freebsd-src/blob/main/lib/msun/src/e_acosh.c", + "https://github.com/freebsd/freebsd-src/blob/main/lib/msun/src/e_lgammal.c" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/SWL.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/SWL.json", + "referenceNumber": 196, + "name": "Scheme Widget Library (SWL) Software License Agreement", + "licenseId": "SWL", + "seeAlso": [ + "https://fedoraproject.org/wiki/Licensing/SWL" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/swrule.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/swrule.json", + "referenceNumber": 348, + "name": "swrule License", + "licenseId": "swrule", + "seeAlso": [ + "https://ctan.math.utah.edu/ctan/tex-archive/macros/generic/misc/swrule.sty" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/Symlinks.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/Symlinks.json", + "referenceNumber": 517, + "name": "Symlinks License", + "licenseId": "Symlinks", + "seeAlso": [ + "https://www.mail-archive.com/debian-bugs-rc@lists.debian.org/msg11494.html" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/TAPR-OHL-1.0.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/TAPR-OHL-1.0.json", + "referenceNumber": 80, + "name": "TAPR Open Hardware License v1.0", + "licenseId": "TAPR-OHL-1.0", + "seeAlso": [ + "https://www.tapr.org/OHL" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/TCL.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/TCL.json", + "referenceNumber": 625, + "name": "TCL/TK License", + "licenseId": "TCL", + "seeAlso": [ + "http://www.tcl.tk/software/tcltk/license.html", + "https://fedoraproject.org/wiki/Licensing/TCL" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/TCP-wrappers.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/TCP-wrappers.json", + "referenceNumber": 278, + "name": "TCP Wrappers License", + "licenseId": "TCP-wrappers", + "seeAlso": [ + "http://rc.quest.com/topics/openssh/license.php#tcpwrappers" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/TermReadKey.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/TermReadKey.json", + "referenceNumber": 619, + "name": "TermReadKey License", + "licenseId": "TermReadKey", + "seeAlso": [ + "https://github.com/jonathanstowe/TermReadKey/blob/master/README#L9-L10" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/TGPPL-1.0.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/TGPPL-1.0.json", + "referenceNumber": 142, + "name": "Transitive Grace Period Public Licence 1.0", + "licenseId": "TGPPL-1.0", + "seeAlso": [ + "https://fedoraproject.org/wiki/Licensing/TGPPL", + "https://tahoe-lafs.org/trac/tahoe-lafs/browser/trunk/COPYING.TGPPL.rst" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/ThirdEye.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/ThirdEye.json", + "referenceNumber": 403, + "name": "ThirdEye License", + "licenseId": "ThirdEye", + "seeAlso": [ + "https://sourceware.org/cgit/binutils-gdb/tree/include/coff/symconst.h#n11" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/threeparttable.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/threeparttable.json", + "referenceNumber": 14, + "name": "threeparttable License", + "licenseId": "threeparttable", + "seeAlso": [ + "https://fedoraproject.org/wiki/Licensing/Threeparttable" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/TMate.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/TMate.json", + "referenceNumber": 176, + "name": "TMate Open Source License", + "licenseId": "TMate", + "seeAlso": [ + "http://svnkit.com/license.html" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/TORQUE-1.1.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/TORQUE-1.1.json", + "referenceNumber": 214, + "name": "TORQUE v2.5+ Software License v1.1", + "licenseId": "TORQUE-1.1", + "seeAlso": [ + "https://fedoraproject.org/wiki/Licensing/TORQUEv1.1" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/TOSL.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/TOSL.json", + "referenceNumber": 416, + "name": "Trusster Open Source License", + "licenseId": "TOSL", + "seeAlso": [ + "https://fedoraproject.org/wiki/Licensing/TOSL" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/TPDL.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/TPDL.json", + "referenceNumber": 666, + "name": "Time::ParseDate License", + "licenseId": "TPDL", + "seeAlso": [ + "https://metacpan.org/pod/Time::ParseDate#LICENSE" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/TPL-1.0.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/TPL-1.0.json", + "referenceNumber": 540, + "name": "THOR Public License 1.0", + "licenseId": "TPL-1.0", + "seeAlso": [ + "https://fedoraproject.org/wiki/Licensing:ThorPublicLicense" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/TrustedQSL.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/TrustedQSL.json", + "referenceNumber": 37, + "name": "TrustedQSL License", + "licenseId": "TrustedQSL", + "seeAlso": [ + "https://sourceforge.net/p/trustedqsl/tqsl/ci/master/tree/LICENSE.txt" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/TTWL.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/TTWL.json", + "referenceNumber": 598, + "name": "Text-Tabs+Wrap License", + "licenseId": "TTWL", + "seeAlso": [ + "https://fedoraproject.org/wiki/Licensing/TTWL", + "https://github.com/ap/Text-Tabs/blob/master/lib.modern/Text/Tabs.pm#L148" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/TTYP0.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/TTYP0.json", + "referenceNumber": 236, + "name": "TTYP0 License", + "licenseId": "TTYP0", + "seeAlso": [ + "https://people.mpi-inf.mpg.de/~uwe/misc/uw-ttyp0/" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/TU-Berlin-1.0.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/TU-Berlin-1.0.json", + "referenceNumber": 106, + "name": "Technische Universitaet Berlin License 1.0", + "licenseId": "TU-Berlin-1.0", + "seeAlso": [ + "https://github.com/swh/ladspa/blob/7bf6f3799fdba70fda297c2d8fd9f526803d9680/gsm/COPYRIGHT" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/TU-Berlin-2.0.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/TU-Berlin-2.0.json", + "referenceNumber": 669, + "name": "Technische Universitaet Berlin License 2.0", + "licenseId": "TU-Berlin-2.0", + "seeAlso": [ + "https://github.com/CorsixTH/deps/blob/fd339a9f526d1d9c9f01ccf39e438a015da50035/licences/libgsm.txt" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/Ubuntu-font-1.0.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/Ubuntu-font-1.0.json", + "referenceNumber": 268, + "name": "Ubuntu Font Licence v1.0", + "licenseId": "Ubuntu-font-1.0", + "seeAlso": [ + "https://ubuntu.com/legal/font-licence", + "https://assets.ubuntu.com/v1/81e5605d-ubuntu-font-licence-1.0.txt" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/UCAR.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/UCAR.json", + "referenceNumber": 353, + "name": "UCAR License", + "licenseId": "UCAR", + "seeAlso": [ + "https://github.com/Unidata/UDUNITS-2/blob/master/COPYRIGHT" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/UCL-1.0.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/UCL-1.0.json", + "referenceNumber": 611, + "name": "Upstream Compatibility License v1.0", + "licenseId": "UCL-1.0", + "seeAlso": [ + "https://opensource.org/licenses/UCL-1.0" + ], + "isOsiApproved": true + }, + { + "reference": "https://spdx.org/licenses/ulem.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/ulem.json", + "referenceNumber": 514, + "name": "ulem License", + "licenseId": "ulem", + "seeAlso": [ + "https://mirrors.ctan.org/macros/latex/contrib/ulem/README" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/UMich-Merit.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/UMich-Merit.json", + "referenceNumber": 48, + "name": "Michigan/Merit Networks License", + "licenseId": "UMich-Merit", + "seeAlso": [ + "https://github.com/radcli/radcli/blob/master/COPYRIGHT#L64" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/Unicode-3.0.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/Unicode-3.0.json", + "referenceNumber": 308, + "name": "Unicode License v3", + "licenseId": "Unicode-3.0", + "seeAlso": [ + "https://www.unicode.org/license.txt" + ], + "isOsiApproved": true + }, + { + "reference": "https://spdx.org/licenses/Unicode-DFS-2015.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/Unicode-DFS-2015.json", + "referenceNumber": 254, + "name": "Unicode License Agreement - Data Files and Software (2015)", + "licenseId": "Unicode-DFS-2015", + "seeAlso": [ + "https://web.archive.org/web/20151224134844/http://unicode.org/copyright.html" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/Unicode-DFS-2016.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/Unicode-DFS-2016.json", + "referenceNumber": 309, + "name": "Unicode License Agreement - Data Files and Software (2016)", + "licenseId": "Unicode-DFS-2016", + "seeAlso": [ + "https://www.unicode.org/license.txt", + "http://web.archive.org/web/20160823201924/http://www.unicode.org/copyright.html#License", + "http://www.unicode.org/copyright.html" + ], + "isOsiApproved": true + }, + { + "reference": "https://spdx.org/licenses/Unicode-TOU.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/Unicode-TOU.json", + "referenceNumber": 115, + "name": "Unicode Terms of Use", + "licenseId": "Unicode-TOU", + "seeAlso": [ + "http://web.archive.org/web/20140704074106/http://www.unicode.org/copyright.html", + "http://www.unicode.org/copyright.html" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/UnixCrypt.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/UnixCrypt.json", + "referenceNumber": 180, + "name": "UnixCrypt License", + "licenseId": "UnixCrypt", + "seeAlso": [ + "https://foss.heptapod.net/python-libs/passlib/-/blob/branch/stable/LICENSE#L70", + "https://opensource.apple.com/source/JBoss/JBoss-737/jboss-all/jetty/src/main/org/mortbay/util/UnixCrypt.java.auto.html", + "https://archive.eclipse.org/jetty/8.0.1.v20110908/xref/org/eclipse/jetty/http/security/UnixCrypt.html" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/Unlicense.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/Unlicense.json", + "referenceNumber": 337, + "name": "The Unlicense", + "licenseId": "Unlicense", + "seeAlso": [ + "https://unlicense.org/" + ], + "isOsiApproved": true, + "isFsfLibre": true + }, + { + "reference": "https://spdx.org/licenses/Unlicense-libtelnet.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/Unlicense-libtelnet.json", + "referenceNumber": 113, + "name": "Unlicense - libtelnet variant", + "licenseId": "Unlicense-libtelnet", + "seeAlso": [ + "https://github.com/seanmiddleditch/libtelnet/blob/develop/COPYING" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/Unlicense-libwhirlpool.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/Unlicense-libwhirlpool.json", + "referenceNumber": 565, + "name": "Unlicense - libwhirlpool variant", + "licenseId": "Unlicense-libwhirlpool", + "seeAlso": [ + "https://github.com/dfateyev/libwhirlpool/blob/master/README#L27" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/UPL-1.0.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/UPL-1.0.json", + "referenceNumber": 88, + "name": "Universal Permissive License v1.0", + "licenseId": "UPL-1.0", + "seeAlso": [ + "https://opensource.org/licenses/UPL" + ], + "isOsiApproved": true, + "isFsfLibre": true + }, + { + "reference": "https://spdx.org/licenses/URT-RLE.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/URT-RLE.json", + "referenceNumber": 380, + "name": "Utah Raster Toolkit Run Length Encoded License", + "licenseId": "URT-RLE", + "seeAlso": [ + "https://sourceforge.net/p/netpbm/code/HEAD/tree/super_stable/converter/other/pnmtorle.c", + "https://sourceforge.net/p/netpbm/code/HEAD/tree/super_stable/converter/other/rletopnm.c" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/Vim.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/Vim.json", + "referenceNumber": 327, + "name": "Vim License", + "licenseId": "Vim", + "seeAlso": [ + "http://vimdoc.sourceforge.net/htmldoc/uganda.html" + ], + "isOsiApproved": false, + "isFsfLibre": true + }, + { + "reference": "https://spdx.org/licenses/VOSTROM.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/VOSTROM.json", + "referenceNumber": 575, + "name": "VOSTROM Public License for Open Source", + "licenseId": "VOSTROM", + "seeAlso": [ + "https://fedoraproject.org/wiki/Licensing/VOSTROM" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/VSL-1.0.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/VSL-1.0.json", + "referenceNumber": 562, + "name": "Vovida Software License v1.0", + "licenseId": "VSL-1.0", + "seeAlso": [ + "https://opensource.org/licenses/VSL-1.0" + ], + "isOsiApproved": true + }, + { + "reference": "https://spdx.org/licenses/W3C.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/W3C.json", + "referenceNumber": 479, + "name": "W3C Software Notice and License (2002-12-31)", + "licenseId": "W3C", + "seeAlso": [ + "http://www.w3.org/Consortium/Legal/2002/copyright-software-20021231.html", + "https://opensource.org/licenses/W3C" + ], + "isOsiApproved": true, + "isFsfLibre": true + }, + { + "reference": "https://spdx.org/licenses/W3C-19980720.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/W3C-19980720.json", + "referenceNumber": 365, + "name": "W3C Software Notice and License (1998-07-20)", + "licenseId": "W3C-19980720", + "seeAlso": [ + "http://www.w3.org/Consortium/Legal/copyright-software-19980720.html" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/W3C-20150513.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/W3C-20150513.json", + "referenceNumber": 295, + "name": "W3C Software Notice and Document License (2015-05-13)", + "licenseId": "W3C-20150513", + "seeAlso": [ + "https://www.w3.org/Consortium/Legal/2015/copyright-software-and-document", + "https://www.w3.org/copyright/software-license-2015/", + "https://www.w3.org/copyright/software-license-2023/" + ], + "isOsiApproved": true + }, + { + "reference": "https://spdx.org/licenses/w3m.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/w3m.json", + "referenceNumber": 141, + "name": "w3m License", + "licenseId": "w3m", + "seeAlso": [ + "https://github.com/tats/w3m/blob/master/COPYING" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/Watcom-1.0.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/Watcom-1.0.json", + "referenceNumber": 527, + "name": "Sybase Open Watcom Public License 1.0", + "licenseId": "Watcom-1.0", + "seeAlso": [ + "https://opensource.org/licenses/Watcom-1.0" + ], + "isOsiApproved": true, + "isFsfLibre": false + }, + { + "reference": "https://spdx.org/licenses/Widget-Workshop.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/Widget-Workshop.json", + "referenceNumber": 522, + "name": "Widget Workshop License", + "licenseId": "Widget-Workshop", + "seeAlso": [ + "https://github.com/novnc/noVNC/blob/master/core/crypto/des.js#L24" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/Wsuipa.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/Wsuipa.json", + "referenceNumber": 564, + "name": "Wsuipa License", + "licenseId": "Wsuipa", + "seeAlso": [ + "https://fedoraproject.org/wiki/Licensing/Wsuipa" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/WTFPL.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/WTFPL.json", + "referenceNumber": 418, + "name": "Do What The F*ck You Want To Public License", + "licenseId": "WTFPL", + "seeAlso": [ + "http://www.wtfpl.net/about/", + "http://sam.zoy.org/wtfpl/COPYING" + ], + "isOsiApproved": false, + "isFsfLibre": true + }, + { + "reference": "https://spdx.org/licenses/wwl.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/wwl.json", + "referenceNumber": 627, + "name": "WWL License", + "licenseId": "wwl", + "seeAlso": [ + "http://www.db.net/downloads/wwl+db-1.3.tgz" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/wxWindows.html", + "isDeprecatedLicenseId": true, + "detailsUrl": "https://spdx.org/licenses/wxWindows.json", + "referenceNumber": 431, + "name": "wxWindows Library License", + "licenseId": "wxWindows", + "seeAlso": [ + "https://opensource.org/licenses/WXwindows" + ], + "isOsiApproved": true + }, + { + "reference": "https://spdx.org/licenses/X11.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/X11.json", + "referenceNumber": 0, + "name": "X11 License", + "licenseId": "X11", + "seeAlso": [ + "http://www.xfree86.org/3.3.6/COPYRIGHT2.html#3" + ], + "isOsiApproved": false, + "isFsfLibre": true + }, + { + "reference": "https://spdx.org/licenses/X11-distribute-modifications-variant.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/X11-distribute-modifications-variant.json", + "referenceNumber": 302, + "name": "X11 License Distribution Modification Variant", + "licenseId": "X11-distribute-modifications-variant", + "seeAlso": [ + "https://github.com/mirror/ncurses/blob/master/COPYING" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/X11-swapped.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/X11-swapped.json", + "referenceNumber": 248, + "name": "X11 swapped final paragraphs", + "licenseId": "X11-swapped", + "seeAlso": [ + "https://github.com/fedeinthemix/chez-srfi/blob/master/srfi/LICENSE" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/Xdebug-1.03.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/Xdebug-1.03.json", + "referenceNumber": 109, + "name": "Xdebug License v 1.03", + "licenseId": "Xdebug-1.03", + "seeAlso": [ + "https://github.com/xdebug/xdebug/blob/master/LICENSE" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/Xerox.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/Xerox.json", + "referenceNumber": 615, + "name": "Xerox License", + "licenseId": "Xerox", + "seeAlso": [ + "https://fedoraproject.org/wiki/Licensing/Xerox" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/Xfig.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/Xfig.json", + "referenceNumber": 125, + "name": "Xfig License", + "licenseId": "Xfig", + "seeAlso": [ + "https://github.com/Distrotech/transfig/blob/master/transfig/transfig.c", + "https://fedoraproject.org/wiki/Licensing:MIT#Xfig_Variant", + "https://sourceforge.net/p/mcj/xfig/ci/master/tree/src/Makefile.am" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/XFree86-1.1.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/XFree86-1.1.json", + "referenceNumber": 646, + "name": "XFree86 License 1.1", + "licenseId": "XFree86-1.1", + "seeAlso": [ + "http://www.xfree86.org/current/LICENSE4.html" + ], + "isOsiApproved": false, + "isFsfLibre": true + }, + { + "reference": "https://spdx.org/licenses/xinetd.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/xinetd.json", + "referenceNumber": 93, + "name": "xinetd License", + "licenseId": "xinetd", + "seeAlso": [ + "https://fedoraproject.org/wiki/Licensing/Xinetd_License" + ], + "isOsiApproved": false, + "isFsfLibre": true + }, + { + "reference": "https://spdx.org/licenses/xkeyboard-config-Zinoviev.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/xkeyboard-config-Zinoviev.json", + "referenceNumber": 212, + "name": "xkeyboard-config Zinoviev License", + "licenseId": "xkeyboard-config-Zinoviev", + "seeAlso": [ + "https://gitlab.freedesktop.org/xkeyboard-config/xkeyboard-config/-/blob/master/COPYING?ref_type\u003dheads#L178" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/xlock.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/xlock.json", + "referenceNumber": 362, + "name": "xlock License", + "licenseId": "xlock", + "seeAlso": [ + "https://fossies.org/linux/tiff/contrib/ras/ras2tif.c" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/Xnet.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/Xnet.json", + "referenceNumber": 470, + "name": "X.Net License", + "licenseId": "Xnet", + "seeAlso": [ + "https://opensource.org/licenses/Xnet" + ], + "isOsiApproved": true + }, + { + "reference": "https://spdx.org/licenses/xpp.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/xpp.json", + "referenceNumber": 290, + "name": "XPP License", + "licenseId": "xpp", + "seeAlso": [ + "https://fedoraproject.org/wiki/Licensing/xpp" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/XSkat.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/XSkat.json", + "referenceNumber": 293, + "name": "XSkat License", + "licenseId": "XSkat", + "seeAlso": [ + "https://fedoraproject.org/wiki/Licensing/XSkat_License" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/xzoom.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/xzoom.json", + "referenceNumber": 90, + "name": "xzoom License", + "licenseId": "xzoom", + "seeAlso": [ + "https://metadata.ftp-master.debian.org/changelogs//main/x/xzoom/xzoom_0.3-27_copyright" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/YPL-1.0.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/YPL-1.0.json", + "referenceNumber": 294, + "name": "Yahoo! Public License v1.0", + "licenseId": "YPL-1.0", + "seeAlso": [ + "http://www.zimbra.com/license/yahoo_public_license_1.0.html" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/YPL-1.1.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/YPL-1.1.json", + "referenceNumber": 481, + "name": "Yahoo! Public License v1.1", + "licenseId": "YPL-1.1", + "seeAlso": [ + "http://www.zimbra.com/license/yahoo_public_license_1.1.html" + ], + "isOsiApproved": false, + "isFsfLibre": true + }, + { + "reference": "https://spdx.org/licenses/Zed.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/Zed.json", + "referenceNumber": 189, + "name": "Zed License", + "licenseId": "Zed", + "seeAlso": [ + "https://fedoraproject.org/wiki/Licensing/Zed" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/Zeeff.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/Zeeff.json", + "referenceNumber": 551, + "name": "Zeeff License", + "licenseId": "Zeeff", + "seeAlso": [ + "ftp://ftp.tin.org/pub/news/utils/newsx/newsx-1.6.tar.gz" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/Zend-2.0.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/Zend-2.0.json", + "referenceNumber": 444, + "name": "Zend License v2.0", + "licenseId": "Zend-2.0", + "seeAlso": [ + "https://web.archive.org/web/20130517195954/http://www.zend.com/license/2_00.txt" + ], + "isOsiApproved": false, + "isFsfLibre": true + }, + { + "reference": "https://spdx.org/licenses/Zimbra-1.3.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/Zimbra-1.3.json", + "referenceNumber": 26, + "name": "Zimbra Public License v1.3", + "licenseId": "Zimbra-1.3", + "seeAlso": [ + "http://web.archive.org/web/20100302225219/http://www.zimbra.com/license/zimbra-public-license-1-3.html" + ], + "isOsiApproved": false, + "isFsfLibre": true + }, + { + "reference": "https://spdx.org/licenses/Zimbra-1.4.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/Zimbra-1.4.json", + "referenceNumber": 330, + "name": "Zimbra Public License v1.4", + "licenseId": "Zimbra-1.4", + "seeAlso": [ + "http://www.zimbra.com/legal/zimbra-public-license-1-4" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/Zlib.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/Zlib.json", + "referenceNumber": 421, + "name": "zlib License", + "licenseId": "Zlib", + "seeAlso": [ + "http://www.zlib.net/zlib_license.html", + "https://opensource.org/licenses/Zlib" + ], + "isOsiApproved": true, + "isFsfLibre": true + }, + { + "reference": "https://spdx.org/licenses/zlib-acknowledgement.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/zlib-acknowledgement.json", + "referenceNumber": 188, + "name": "zlib/libpng License with Acknowledgement", + "licenseId": "zlib-acknowledgement", + "seeAlso": [ + "https://fedoraproject.org/wiki/Licensing/ZlibWithAcknowledgement" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/ZPL-1.1.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/ZPL-1.1.json", + "referenceNumber": 597, + "name": "Zope Public License 1.1", + "licenseId": "ZPL-1.1", + "seeAlso": [ + "http://old.zope.org/Resources/License/ZPL-1.1" + ], + "isOsiApproved": false + }, + { + "reference": "https://spdx.org/licenses/ZPL-2.0.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/ZPL-2.0.json", + "referenceNumber": 555, + "name": "Zope Public License 2.0", + "licenseId": "ZPL-2.0", + "seeAlso": [ + "http://old.zope.org/Resources/License/ZPL-2.0", + "https://opensource.org/licenses/ZPL-2.0" + ], + "isOsiApproved": true, + "isFsfLibre": true + }, + { + "reference": "https://spdx.org/licenses/ZPL-2.1.html", + "isDeprecatedLicenseId": false, + "detailsUrl": "https://spdx.org/licenses/ZPL-2.1.json", + "referenceNumber": 272, + "name": "Zope Public License 2.1", + "licenseId": "ZPL-2.1", + "seeAlso": [ + "http://old.zope.org/Resources/ZPL/" + ], + "isOsiApproved": true, + "isFsfLibre": true + } + ], + "releaseDate": "2025-07-01T00:00:00Z" +} \ No newline at end of file diff --git a/mk-local-hackage-repo/default.nix b/mk-local-hackage-repo/default.nix index 66647dddea..e0e1d4e039 100644 --- a/mk-local-hackage-repo/default.nix +++ b/mk-local-hackage-repo/default.nix @@ -17,7 +17,7 @@ pkgs: { name, index }: -pkgs.buildPackages.runCommand "hackage-repo-${name}" { preferLocalBuild = true; } '' +pkgs.pkgsBuildBuild.runCommand "hackage-repo-${name}" { preferLocalBuild = true; } '' mkdir -p $out export expires="4000-01-01T00:00:00Z" @@ -29,7 +29,7 @@ ${ # of the index derivation (when the `extra-hackages` feature is used the index # may not have an outputHash). pkgs.lib.optionalString (index ? outputHash) '' - if [[ "${index.outputHash}" != "$index_sha256" ]]; then + if [[ "$(${pkgs.pkgsBuildBuild.nix}/bin/nix-hash --type sha256 --to-base16 ${index.outputHash})" != "$index_sha256" ]]; then echo "ERROR See https://github.com/input-output-hk/haskell.nix/issues/884" exit 1 fi diff --git a/modules/cabal-project.nix b/modules/cabal-project.nix index e6e35e1ce6..0b7316c84d 100644 --- a/modules/cabal-project.nix +++ b/modules/cabal-project.nix @@ -22,7 +22,7 @@ in { }; compilerSelection = mkOption { type = unspecified; - default = p: p.haskell-nix.compiler; + default = p: builtins.mapAttrs (_: x: x.override { ghcEvalPackages = config.evalPackages; }) p.haskell-nix.compiler; description = "Use GHC from pkgs.haskell instead of pkgs.haskell-nix"; }; index-state = mkOption { @@ -56,15 +56,15 @@ in { }; cabalProject = mkOption { type = nullOr lines; - default = readIfExists config.src config.cabalProjectFileName; + default = readIfExists config.evalSrc config.cabalProjectFileName; }; cabalProjectLocal = mkOption { type = nullOr lines; - default = readIfExists config.src "${config.cabalProjectFileName}.local"; + default = readIfExists config.evalSrc "${config.cabalProjectFileName}.local"; }; cabalProjectFreeze = mkOption { type = nullOr lines; - default = readIfExists config.src "${config.cabalProjectFileName}.freeze"; + default = readIfExists config.evalSrc "${config.cabalProjectFileName}.freeze"; }; ghc = mkOption { type = nullOr package; diff --git a/modules/component-options.nix b/modules/component-options.nix index 4900e9d8d2..e931266e09 100644 --- a/modules/component-options.nix +++ b/modules/component-options.nix @@ -1,4 +1,4 @@ -{ lib, haskellLib, ... }: +{ pkgs, lib, haskellLib, ... }: { options = { buildable = lib.mkOption { @@ -104,7 +104,8 @@ enableStatic = lib.mkOption { description = "If set, enables building static libraries and executables."; type = lib.types.bool; - default = true; + # Disabled for ghcjs, see https://gitlab.haskell.org/ghc/ghc/-/issues/23235 + default = !pkgs.stdenv.hostPlatform.isGhcjs && !pkgs.stdenv.hostPlatform.isWasm; }; enableShared = lib.mkOption { diff --git a/modules/component.nix b/modules/component.nix index 8a7607f08a..be32d30bd2 100644 --- a/modules/component.nix +++ b/modules/component.nix @@ -49,7 +49,7 @@ in }; frameworks = lib.mkOption { - type = listOfFilteringNulls types.package; + type = listOfFilteringNulls (types.nullOr types.package); default = [ ]; }; diff --git a/modules/configuration-nix.nix b/modules/configuration-nix.nix index 6660182120..bb8d387b69 100644 --- a/modules/configuration-nix.nix +++ b/modules/configuration-nix.nix @@ -3,7 +3,7 @@ # package sets out of this repo. Ideally, this file is only used for # fixing things that are broken due to the Nix infrastructure. -{ pkgs, config, ... }: +{ pkgs, lib, config, ... }: let fromUntil = from: until: patch: { version }: if builtins.compareVersions version from >= 0 @@ -35,9 +35,9 @@ in addPackageKeys { # These packages have `license: LGPL` in their .cabal file, but # do not specify the version. Setting the version here on # examination of the license files included in the packages. - packages.hscolour.package.license = pkgs.lib.mkForce "LGPL-2.1-only"; - packages.cpphs.package.license = pkgs.lib.mkForce "LGPL-2.1-only"; - packages.polyparse.package.license = pkgs.lib.mkForce "LGPL-2.1-only"; + packages.hscolour.package.license = lib.mkForce "LGPL-2.1-only"; + packages.cpphs.package.license = lib.mkForce "LGPL-2.1-only"; + packages.polyparse.package.license = lib.mkForce "LGPL-2.1-only"; # These two patches are needed by GHCJS packages.Cabal.patches = [ @@ -63,19 +63,19 @@ in addPackageKeys { # # We now expose genprimopcode and deriveConstants from ghc directly (this is not in line with # with upstream ghc) to be able to re-build lib:ghc. - packages.ghc.components.library.build-tools = pkgs.lib.mkForce ( - pkgs.lib.optionals (__compareVersions config.hsPkgs.ghc.identifier.version "9.4.1" > 0) [ + packages.ghc.components.library.build-tools = lib.mkForce ( + lib.optionals (__compareVersions config.hsPkgs.ghc.identifier.version "9.4.1" > 0) [ (config.hsPkgs.buildPackages.alex.components.exes.alex or pkgs.buildPackages.alex) (config.hsPkgs.buildPackages.happy.components.exes.happy or pkgs.buildPackages.happy) ]); # Remove dependency on hsc2hs (hsc2hs should be in ghc derivation) - packages.mintty.components.library.build-tools = pkgs.lib.mkForce []; + packages.mintty.components.library.build-tools = lib.mkForce []; packages.ghc-lib-parser.patches = [ (fromUntil "8.10.0.0" "9.2" ../overlays/patches/ghc-lib-parser-8.10-global-unique-counters-in-rts.patch) (fromUntil "9.2.0.0" "9.3" ../overlays/patches/ghc-lib-parser-9.2-global-unique-counters-in-rts.patch) - (fromUntil "9.4.0.0" "9.7" ../overlays/patches/ghc-lib-parser-9.4-global-unique-counters-in-rts.patch) + (fromUntil "9.4.0.0" "9.6.7" ../overlays/patches/ghc-lib-parser-9.4-global-unique-counters-in-rts.patch) ]; packages.ghc-lib-parser.components.library.pre-existing = ["ghc-boot-th"]; @@ -86,7 +86,7 @@ in addPackageKeys { # See https://github.com/input-output-hk/haskell.nix/issues/1455 # This is a work around to make `ghcide` and `haskell-language-server` build with the unboxed tuple patch. - packages.ghcide = pkgs.lib.mkIf (__elem config.compiler.nix-name [ + packages.ghcide = lib.mkIf (__elem config.compiler.nix-name [ # Work out if we have applied the unboxed tupple patch in overlays/bootstrap.nix "ghc8101" "ghc8102" "ghc8103" "ghc8104" "ghc8105" "ghc8106" "ghc8107" "ghc810420210212" ]) { @@ -97,7 +97,7 @@ in addPackageKeys { (fromUntil "2.2.0.0" "2.3.0.0" ../patches/ghcide-2.2-unboxed-tuple-fix-issue-1455.patch) ] # This is needed for a patch only applied to ghc810420210212 - ++ pkgs.lib.optional (__elem config.compiler.nix-name [ + ++ lib.optional (__elem config.compiler.nix-name [ "ghc810420210212" ]) (from "1.7.0.0" ../patches/ghcide-1.7-plutus-ghc.patch); flags = { @@ -119,9 +119,9 @@ in addPackageKeys { (fromUntil "0.9.1" "0.9.2" ../patches/languge-c-int128.patch) ]; - packages.discount.components.library.libs = pkgs.lib.mkForce [ pkgs.discount ]; + packages.discount.components.library.libs = lib.mkForce [ pkgs.discount ]; - packages.llvm-hs.components.library.build-tools = pkgs.lib.mkForce [ + packages.llvm-hs.components.library.build-tools = lib.mkForce [ (fromUntil "5.0.0" "6" pkgs.llvmPackages_5.llvm) (fromUntil "6.0.0" "7" pkgs.llvmPackages_6.llvm) (fromUntil "7.0.0" "8" pkgs.llvmPackages_7.llvm) @@ -185,7 +185,7 @@ in addPackageKeys { # https://gitlab.haskell.org/ghc/ghc/-/issues/23392 # Using -j1 works around the issue. packages.gi-gtk.components.library.ghcOptions = - pkgs.lib.optional ( + lib.optional ( builtins.compareVersions config.compiler.version "9.6.1" >= 0 && builtins.compareVersions config.compiler.version "9.9" < 0) "-j1"; @@ -193,5 +193,17 @@ in addPackageKeys { # text package to fail with: # error: inlining failed in call to ‘always_inline’ ‘void* memcpy(void*, const void*, size_t)’: target specific option mismatch packages.text.components.library.hardeningDisable = - pkgs.lib.optionals pkgs.stdenv.hostPlatform.isMusl ["fortify"]; + lib.optionals pkgs.stdenv.hostPlatform.isMusl ["fortify"]; + + # error: use of undeclared identifier 'IP_RECVTOS' + # for whatever reason nixpkgs 24.11 defines x86_64-darwin + # to be sdk-10.12.2, and aarch64-darwin to be sdk-11. + # nixpkgs 25.05 will drop sdk-10.12, and unify aarch64 and x86 at last. + packages.network.components.library.libs = lib.mkIf (pkgs.stdenv.hostPlatform.isDarwin && pkgs ? apple-sdk && lib.versionOlder pkgs.apple-sdk.version "11") [ + pkgs.apple-sdk_11 + (pkgs.darwinMinVersionHook "11.0") + ]; + + packages.postgresql-libpq-configure.components.library.libs = [ (lib.getDev pkgs.postgresql) ] + ++ lib.optional (pkgs.postgresql ? pg_config) [ pkgs.postgresql.pg_config ]; } diff --git a/modules/hackage-project.nix b/modules/hackage-project.nix index ce2480cd0a..f5fa669c2a 100644 --- a/modules/hackage-project.nix +++ b/modules/hackage-project.nix @@ -1,6 +1,7 @@ { lib, config, pkgs, haskellLib, ... }: let - inherit (config) name version revision; + inherit (config) name version; + fullName = name + lib.optionalString (version != "latest") "-${version}"; in { _file = "haskell.nix/modules/hackage-project.nix"; options = { @@ -8,49 +9,17 @@ in { type = lib.types.str; default = "latest"; description = ''Version of the hackage package to use (defaults to "latest")''; - apply = v: if v == "latest" - # Lookup latest version in hackage. Doing this in `apply` means others - # can see the actual version in `config.version` (instead of "latest"). - then builtins.head ( - builtins.sort - (a: b: builtins.compareVersions a b > 0) - (builtins.attrNames pkgs.haskell-nix.hackage.${config.name})) - else v; - }; - revision = lib.mkOption { - type = lib.types.str; - default = "default"; - description = ''Hackage revision to use ("default", "r1", "r2", etc.)''; }; }; config = { - src = - let - tarball = config.evalPackages.fetchurl { - url = "mirror://hackage/${name}-${version}.tar.gz"; - inherit (pkgs.haskell-nix.hackage.${name}.${version}) sha256; }; - rev = pkgs.haskell-nix.hackage.${name}.${version}.revisions.${revision}; - cabalFile = config.evalPackages.fetchurl { - url = "https://hackage.haskell.org/package/$%7Bname%7D-$%7Bversion%7D/revision/$%7BtoString%20rev.revNum%7D.cabal"; - inherit (rev) sha256; - }; - revSuffix = lib.optionalString (rev.revNum > 0) "-r${toString rev.revNum}"; - in lib.mkOverride 1100 (config.evalPackages.runCommand "${name}-${version}${revSuffix}-src" { - # Avoid readDir and readFile IFD functions looking for these project files in the hackage source - passthru.lookForCabalProject = false; - } ('' - tmp=$(mktemp -d) - cd $tmp - tar xzf ${tarball} - mv "${name}-${version}" $out - '' + lib.optionalString (rev.revNum > 0) '' - cp ${cabalFile} $out/${name}.cabal - '') // { - # TODO remove once nix >=2.4 is widely adopted (will trigger rebuilds of everything). - # Disable filtering keeps pre ond post nix 2.4 behaviour the same. This means that - # the same `alex`, `happy` and `hscolour` are used to build GHC. It also means that - # that `tools` in the shell will be built the same. - filterPath = { path, ... }: path; - }); + src = lib.mkDefault { + outPath = + config.evalPackages.runCommand "from-hackage-${fullName}" {} '' + mkdir $out + echo "extra-packages: ${fullName}" > $out/cabal.project + ''; + # Disable git cleanSourceWith filtering + filterPath = { path, ... }: path; + }; }; } diff --git a/modules/hackage.nix b/modules/hackage.nix index d13be833a1..bd02f543cf 100644 --- a/modules/hackage.nix +++ b/modules/hackage.nix @@ -98,12 +98,12 @@ in # this should allow us to use `config` overrides # in the nixpkgs setup, and properly override the # complier as needed. - default = pkgs.buildPackages.haskell-nix.compiler.${config.compiler.nix-name} or (throw '' + default = (pkgs.buildPackages.haskell-nix.compiler.${config.compiler.nix-name} or (throw '' This version of Nixpkgs does not contain GHC ${config.compiler.version} (or it is not present at attribute '${config.compiler.nix-name})'). Either switch to a version of Nixpkgs which does have this version, or use a version of GHC which the current version of Nixpkgs contains. - ''); + '')).override { ghcEvalPackages = config.evalPackages; }; defaultText = "pkgs.buildPackages.haskell-nix.compiler.\${config.compiler.nix-name}"; }; diff --git a/modules/install-plan/non-reinstallable.nix b/modules/install-plan/non-reinstallable.nix index 2e92bbd39f..e0077b6107 100644 --- a/modules/install-plan/non-reinstallable.nix +++ b/modules/install-plan/non-reinstallable.nix @@ -4,9 +4,9 @@ "ghc-bignum"] ++ lib.optionals (builtins.compareVersions config.compiler.version "9.9" >= 0) [ "ghc-internal"] - ++ lib.optionals (pkgs.stdenv.hostPlatform.isGhcjs) ([ + ++ lib.optionals (pkgs.stdenv.hostPlatform.isGhcjs || pkgs.stdenv.hostPlatform.isWasm) ([ # ghci and its dependencies - "ghci" "binary" "bytestring" "containers" "template-haskell" "array" "deepseq" "file-io" "filepath" "ghc-boot" "ghc-boot-th" "ghc-heap" "transformers" "unix" "directory" "time" "ghc-platform" "os-string"] + "ghci" "binary" "bytestring" "containers" "template-haskell" "array" "deepseq" "file-io" "filepath" "ghc-boot" "ghc-boot-th" "ghc-heap" "transformers" "unix" "directory" "time" "ghc-platform" "os-string" "exceptions" "stm" "ghc-experimental"] ++ lib.optionals (builtins.compareVersions config.compiler.version "8.11" < 0) [ "ghcjs-prim" "ghcjs-th"]); } diff --git a/modules/install-plan/redirect.nix b/modules/install-plan/redirect.nix index b634904239..a3cc2fe238 100644 --- a/modules/install-plan/redirect.nix +++ b/modules/install-plan/redirect.nix @@ -1,7 +1,7 @@ # Add `hsPkgs.${pkg-name}` based on the available targets in the plan. {pkgs, lib, config, ...}: let - redirect = redirectName: packageTargets: + redirect = existing: redirectName: packageTargets: let componentsByName = builtins.listToAttrs (map (x: { name = x.component-name; value = x.available; }) packageTargets); lookupComponent = collectionName: name: available: @@ -14,54 +14,62 @@ let else if builtins.isString (builtins.head available) then throw "${builtins.head available} looking for ${attrPath}" else if collectionName == "" - then config.hsPkgs.${(builtins.head available).id}.components.library - else config.hsPkgs.${(builtins.head available).id}.components.${collectionName}.${name}; + then existing.${(builtins.head available).id}.components.library + else existing.${(builtins.head available).id}.components.${collectionName}.${name}; componentsWithPrefix = collectionName: prefix: lib.listToAttrs (lib.concatLists (lib.mapAttrsToList (n: available: - lib.optional (lib.hasPrefix "${prefix}:" n && (builtins.length available != 1 || !builtins.elem (builtins.head available) ["TargetNotBuildable" "TargetNotLocal"])) ( + lib.optional (lib.hasPrefix "${prefix}:" n && (builtins.length available != 1 || !builtins.elem (builtins.head available) ["TargetNotLocal"])) ( let name = lib.removePrefix "${prefix}:" n; value = lookupComponent collectionName name available; in { inherit name value; } )) componentsByName)); - defaultTargetPackage = config.hsPkgs.${(builtins.head ( + defaultTargetId = (builtins.head ( # Use the package identified by the library component componentsByName.lib or # Or by the first component componentsByName.${builtins.head (builtins.attrNames componentsByName)} - )).id}; - in rec { - isRedirect = true; + )).id; + defaultTargetPackage = existing.${defaultTargetId}; + in defaultTargetPackage // rec { + isRedirect = redirectName != defaultTargetId; identifier = rec { name = (builtins.head packageTargets).pkg-name; version = (builtins.head packageTargets).pkg-version; id = "${name}-${version}"; }; components = lib.mapAttrs componentsWithPrefix pkgs.haskell-nix.haskellLib.componentPrefix // lib.optionalAttrs (componentsByName ? lib) { library = lookupComponent "" "" componentsByName.lib; }; - checks = pkgs.recurseIntoAttrs (builtins.mapAttrs - (_: d: pkgs.haskell-nix.haskellLib.check d) - (lib.filterAttrs (_: d: d.config.doCheck) components.tests)); - inherit (defaultTargetPackage) buildType setup; + checks = pkgs.recurseIntoAttrs ( + lib.filterAttrs (_: x: x != {}) ( + builtins.mapAttrs + (_: d: pkgs.haskell-nix.haskellLib.check d) + (lib.filterAttrs (_: d: d.config.doCheck) components.tests))); }; + buildableTargets = lib.filter (x: x.available != []) ( + lib.map (x: x // { available = lib.filter (n: n != "TargetNotBuildable") x.available; }) + config.plan-json.targets); in { - hsPkgs = - # Redirects with just the package name - builtins.removeAttrs (builtins.mapAttrs (packageName: packageTargets: - let - byVersion = builtins.groupBy (x: x.pkg-version) packageTargets; - versions = builtins.attrNames byVersion; - in if builtins.length versions != 1 - then let - err = throw "Multiple versions for ${packageName} ${builtins.toJSON versions}"; - in { - isRedirect = true; - identifier = { name = packageName; version = err; }; - components = err; - checks = err; - } - else redirect packageName packageTargets) (builtins.groupBy (x: x.pkg-name) config.plan-json.targets)) config.preExistingPkgs + options.hsPkgs = lib.mkOption { + type = lib.types.unspecified; + apply = existing: existing // + # Redirects with just the package name + builtins.removeAttrs (builtins.mapAttrs (packageName: packageTargets: + let + byVersion = builtins.groupBy (x: x.pkg-version) packageTargets; + versions = builtins.attrNames byVersion; + in if builtins.length versions != 1 + then let + err = throw "Multiple versions for ${packageName} ${builtins.toJSON versions}"; + in { + isRedirect = true; + identifier = { name = packageName; version = err; }; + components = err; + checks = err; + } + else redirect existing packageName packageTargets) (builtins.groupBy (x: x.pkg-name) buildableTargets)) config.preExistingPkgs - # Redirect for `${name}-${version}` - // builtins.mapAttrs (packageNameAndVersion: packageTargets: redirect packageNameAndVersion packageTargets) - (builtins.groupBy (x: "${x.pkg-name}-${x.pkg-version}") config.plan-json.targets); + # Redirect for `${name}-${version}` + // builtins.mapAttrs (packageNameAndVersion: packageTargets: redirect existing packageNameAndVersion packageTargets) + (builtins.groupBy (x: "${x.pkg-name}-${x.pkg-version}") buildableTargets); + }; } diff --git a/modules/package.nix b/modules/package.nix index 6a68a6bf78..1d56dd5282 100644 --- a/modules/package.nix +++ b/modules/package.nix @@ -10,7 +10,7 @@ let componentType = types.submodule [ ./component.nix - { _module.args = { inherit haskellLib; }; } + { _module.args = { inherit pkgs haskellLib; }; } # pass down common options as default values ({ lib, options, ... }: lib.mkDefault (lib.filterAttrs (n: _v: builtins.hasAttr n options) config)) ]; @@ -77,6 +77,7 @@ in synopsis = lib.mkOption { type = types.str; + default = ""; }; description = lib.mkOption { diff --git a/modules/project-common.nix b/modules/project-common.nix index c68c7ca02b..60776e4cc8 100644 --- a/modules/project-common.nix +++ b/modules/project-common.nix @@ -21,7 +21,7 @@ with lib.types; shell = mkOption { type = submodule [ (import ./shell.nix { projectConfig = config; }) - { _module.args = { inherit (pkgs.haskell-nix) haskellLib; }; } + { _module.args = { inherit pkgs; inherit (pkgs.haskell-nix) haskellLib; }; } ]; default = { }; description = '' @@ -75,6 +75,18 @@ with lib.types; }; ''; }; + evalSrc = mkOption { + type = either path package; + default = config.src; + description = '' + Allows a different version of the src to be used at eval time. + This is useful when building the source may require a build machine. + To avoid an eval time dependency on a build machine set `evalSrc` + to either: + * A version of the source built using `evalPackages` + * A version of the source that does not require building + ''; + }; hsPkgs = lib.mkOption { type = lib.types.unspecified; }; diff --git a/modules/shell.nix b/modules/shell.nix index 1eab8d1375..51014692b8 100644 --- a/modules/shell.nix +++ b/modules/shell.nix @@ -34,7 +34,7 @@ default = !config.exactDeps; description = '' Indicates if the shell should include all the tool dependencies - of in the haskell packages in the project. Defaulted to `false` in + of the haskell packages in the project. Defaulted to `false` in stack projects (to avoid trying to build the tools used by every `stackage` package). ''; @@ -63,7 +63,25 @@ }; shellHook = lib.mkOption { type = lib.types.str; - default = ""; + # Shell hook to set EM_CACHE to a writable temporary directory if not already set + default = lib.optionalString pkgs.stdenv.hostPlatform.isGhcjs '' + if [ -z "$EM_CACHE" ]; then + # Create a unique temporary directory using mktemp + EM_CACHE_DIR=$(mktemp -d -t emcache-ghcjs-XXXXXX) + + # Copy the default Emscripten cache contents to the temporary directory + DEFAULT_EM_CACHE="${pkgs.pkgsBuildBuild.emscripten}/share/emscripten/cache" + if [ -d "$DEFAULT_EM_CACHE" ]; then + cp -r "$DEFAULT_EM_CACHE"/* "$EM_CACHE_DIR" 2>/dev/null || true + chmod -R u+w "$EM_CACHE_DIR" + fi + + export EM_CACHE="$EM_CACHE_DIR" + echo "Set EM_CACHE to $EM_CACHE" + else + echo "EM_CACHE already set to $EM_CACHE" + fi + ''; }; # mkDerivation args diff --git a/nix-tools-static-for-default-setup.nix b/nix-tools-static-for-default-setup.nix index 2eb4488c21..56bd0e6d3f 100644 --- a/nix-tools-static-for-default-setup.nix +++ b/nix-tools-static-for-default-setup.nix @@ -1,22 +1,22 @@ -pkgs: let baseurl = "https://github.com/input-output-hk/haskell.nix/releases/download/nix-tools-0.2.1/"; in { +pkgs: let baseurl = "https://github.com/input-output-hk/haskell.nix/releases/download/nix-tools-0.3.8/"; in { aarch64-darwin = pkgs.fetchurl { name = "aarch64-darwin-nix-tools-static"; url = "${baseurl}aarch64-darwin-nix-tools-static.zip"; - sha256 = "sha256-/N2CiakRQHIjLtBbdYfkDyhlHFss9ezWc9WW+HIUOwc="; + sha256 = "sha256-v3lxSxCDjQWtCSwx9T5lzcufByvFErKGLm8374KYsOs="; }; x86_64-darwin = pkgs.fetchurl { name = "x86_64-darwin-nix-tools-static"; url = "${baseurl}x86_64-darwin-nix-tools-static.zip"; - sha256 = "sha256-1Xbxhw7LR6EooiagmRrHg7+UdxddD0RaKjvM75hwsJo="; + sha256 = "sha256-Ltze09JIiUpMuy+jfoSghejmZ3L4NCpgr32LyX5bckU="; }; aarch64-linux = pkgs.fetchurl { name = "aarch64-linux-nix-tools-static"; url = "${baseurl}aarch64-linux-nix-tools-static.zip"; - sha256 = "sha256-1OarDAiwYbet6ol3q2dZdnsWMHcniK4zznbGiDPMrO4="; + sha256 = "sha256-bpjuragBvzuki4CVleXyqTrQfRJshdoTeD3v6xl9sio="; }; x86_64-linux = pkgs.fetchurl { name = "x86_64-linux-nix-tools-static"; url = "${baseurl}x86_64-linux-nix-tools-static.zip"; - sha256 = "sha256-7xckkH+T9uu3fhtTOzqHZ1udNvPJAgkcrvDXEF16qJQ="; + sha256 = "sha256-aZOmrhp+AdCXcBaNVAeJHDobBaGzJDvEhY90mWjGadc="; }; } diff --git a/nix-tools-static.nix b/nix-tools-static.nix index 9ab307a25f..56bd0e6d3f 100644 --- a/nix-tools-static.nix +++ b/nix-tools-static.nix @@ -1,22 +1,22 @@ -pkgs: let baseurl = "https://github.com/input-output-hk/haskell.nix/releases/download/nix-tools-0.2.6/"; in { +pkgs: let baseurl = "https://github.com/input-output-hk/haskell.nix/releases/download/nix-tools-0.3.8/"; in { aarch64-darwin = pkgs.fetchurl { name = "aarch64-darwin-nix-tools-static"; url = "${baseurl}aarch64-darwin-nix-tools-static.zip"; - sha256 = "sha256-9WpTIWlpUvG3pI+tcbAMh6sMH0QO/coZrxDYWD43iq0="; + sha256 = "sha256-v3lxSxCDjQWtCSwx9T5lzcufByvFErKGLm8374KYsOs="; }; x86_64-darwin = pkgs.fetchurl { name = "x86_64-darwin-nix-tools-static"; url = "${baseurl}x86_64-darwin-nix-tools-static.zip"; - sha256 = "sha256-UUr9bo2OpLPsvHRSeO2B6DKVDVTsHepRlTqN6UZoZ2M="; + sha256 = "sha256-Ltze09JIiUpMuy+jfoSghejmZ3L4NCpgr32LyX5bckU="; }; aarch64-linux = pkgs.fetchurl { name = "aarch64-linux-nix-tools-static"; url = "${baseurl}aarch64-linux-nix-tools-static.zip"; - sha256 = "sha256-96s6RXN8st0JK0eYSOkTJvnlTxYVdE81+ZUGJEsC46A="; + sha256 = "sha256-bpjuragBvzuki4CVleXyqTrQfRJshdoTeD3v6xl9sio="; }; x86_64-linux = pkgs.fetchurl { name = "x86_64-linux-nix-tools-static"; url = "${baseurl}x86_64-linux-nix-tools-static.zip"; - sha256 = "sha256-LMFVUKNycjVFBb3ChZsPbRNgab50zOHl7nMBrDdeTrQ="; + sha256 = "sha256-aZOmrhp+AdCXcBaNVAeJHDobBaGzJDvEhY90mWjGadc="; }; } diff --git a/nix-tools/cabal.project b/nix-tools/cabal.project index 9cf7f99027..536360b4e7 100644 --- a/nix-tools/cabal.project +++ b/nix-tools/cabal.project @@ -1,4 +1,8 @@ -index-state: 2024-03-28T00:00:00Z +index-state: 2025-04-12T00:00:00Z + +-- Needed for building aarch64-linux musl version with GHC 9.6 +constraints: containers installed, Cabal >=3.14.1.0 +allow-older: Cabal-syntax-json:base, Cabal-syntax-json:containers packages: nix-tools @@ -10,24 +14,22 @@ extra-packages: cabal-install, hpack, Cabal-syntax-json test-show-details: direct allow-newer: + algebraic-graphs:deepseq, hackage-db:base, hackage-db:Cabal, - hpack:Cabal, - hnix:base, - hnix:template-haskell, hnix:aeson, + hnix:base, + hnix:bytestring, + hnix:free, hnix:relude, hnix-store-core:base, - hnix-store-core:memory, + hnix-store-core:bytestring, hnix-store-core:cryptonite, - hnix-store-core:bytestring - -source-repository-package - type: git - location: https://github.com/haskell/cabal.git - tag: c0647bc914928ab6362278c73f17b084ca3ed9ab - subdir: cabal-install - --sha256: sha256-BQs6ciCKWNzsEdUewEvUu4lcyrI5DH7abKzM4035lSc= + hnix-store-core:memory, + hnix:template-haskell, + hpack:Cabal, + lens-family-th:base, + lens-family-th:template-haskell, source-repository-package type: git @@ -38,5 +40,5 @@ source-repository-package source-repository-package type: git location: https://github.com/andreabedini/Cabal-syntax-json.git - tag: bf97be0038489239a11c61653b55afc77356ac1e - --sha256: sha256-i9TEqQqRqFM07q1Lr6wcMlURhBkhkVxHhP1jQjSE+Yg= + tag: b0033ed4d00a09340c64f4290cc649f4009deabd + --sha256: sha256-Aymi25AQLSMextVeXbsMnaOppxAO93qVbwo7Vt44ej4= diff --git a/nix-tools/flake.lock b/nix-tools/flake.lock index 64e554fc5f..422fbc2fe3 100644 --- a/nix-tools/flake.lock +++ b/nix-tools/flake.lock @@ -120,11 +120,44 @@ "hackage": { "flake": false, "locked": { - "lastModified": 1721263615, - "narHash": "sha256-J/VaA4xWMpp43HptVP2tpfLwIYCg+OrBova4Uh5R8C8=", + "lastModified": 1756254368, + "narHash": "sha256-KO5bitIzcfgWSH3STXGBxS+EsAT0nErIrQJxOWY6+mU=", "owner": "input-output-hk", "repo": "hackage.nix", - "rev": "beaee455c56dee413b33f89f6ebd0520ff435295", + "rev": "7ef3096f34d49b52bdea956d190fdf47b3ec617b", + "type": "github" + }, + "original": { + "owner": "input-output-hk", + "repo": "hackage.nix", + "type": "github" + } + }, + "hackage-for-stackage": { + "flake": false, + "locked": { + "lastModified": 1756254358, + "narHash": "sha256-ByfkTCjd06Fn5MfCW0mIo0W0udiIyvJ6KBEthn9L12c=", + "owner": "input-output-hk", + "repo": "hackage.nix", + "rev": "7fbc57bfa6164026ec9f0af9eae45970c9757ddd", + "type": "github" + }, + "original": { + "owner": "input-output-hk", + "ref": "for-stackage", + "repo": "hackage.nix", + "type": "github" + } + }, + "hackage-internal": { + "flake": false, + "locked": { + "lastModified": 1750307553, + "narHash": "sha256-iiafNoeLHwlSLQTyvy8nPe2t6g5AV4PPcpMeH/2/DLs=", + "owner": "input-output-hk", + "repo": "hackage.nix", + "rev": "f7867baa8817fab296528f4a4ec39d1c7c4da4f3", "type": "github" }, "original": { @@ -143,8 +176,13 @@ "flake-compat": "flake-compat", "ghc-8.6.5-iohk": "ghc-8.6.5-iohk", "hackage": "hackage", + "hackage-for-stackage": "hackage-for-stackage", + "hackage-internal": "hackage-internal", + "hls": "hls", "hls-1.10": "hls-1.10", "hls-2.0": "hls-2.0", + "hls-2.10": "hls-2.10", + "hls-2.11": "hls-2.11", "hls-2.2": "hls-2.2", "hls-2.3": "hls-2.3", "hls-2.4": "hls-2.4", @@ -154,30 +192,26 @@ "hls-2.8": "hls-2.8", "hls-2.9": "hls-2.9", "hpc-coveralls": "hpc-coveralls", - "hydra": "hydra", "iserv-proxy": "iserv-proxy", "nixpkgs": [ "haskellNix", "nixpkgs-unstable" ], - "nixpkgs-2003": "nixpkgs-2003", - "nixpkgs-2105": "nixpkgs-2105", - "nixpkgs-2111": "nixpkgs-2111", - "nixpkgs-2205": "nixpkgs-2205", - "nixpkgs-2211": "nixpkgs-2211", "nixpkgs-2305": "nixpkgs-2305", "nixpkgs-2311": "nixpkgs-2311", "nixpkgs-2405": "nixpkgs-2405", + "nixpkgs-2411": "nixpkgs-2411", + "nixpkgs-2505": "nixpkgs-2505", "nixpkgs-unstable": "nixpkgs-unstable", "old-ghc-nix": "old-ghc-nix", "stackage": "stackage" }, "locked": { - "lastModified": 1721278115, - "narHash": "sha256-Vc3lqax7iBdk65nXo0YoyVs2QmvqK9F+yloB9fB9vHg=", + "lastModified": 1756255926, + "narHash": "sha256-KsVNKJIKuWItwazbPfTwV2xq0/zqzBfVs4ZHrCrKq9s=", "owner": "input-output-hk", "repo": "haskell.nix", - "rev": "7f87291533c05681bc4735e67705855968739dbe", + "rev": "340eecb704a4b484bee871b6aa25eb51c304d0db", "type": "github" }, "original": { @@ -186,6 +220,22 @@ "type": "github" } }, + "hls": { + "flake": false, + "locked": { + "lastModified": 1741604408, + "narHash": "sha256-tuq3+Ip70yu89GswZ7DSINBpwRprnWnl6xDYnS4GOsc=", + "owner": "haskell", + "repo": "haskell-language-server", + "rev": "682d6894c94087da5e566771f25311c47e145359", + "type": "github" + }, + "original": { + "owner": "haskell", + "repo": "haskell-language-server", + "type": "github" + } + }, "hls-1.10": { "flake": false, "locked": { @@ -220,6 +270,40 @@ "type": "github" } }, + "hls-2.10": { + "flake": false, + "locked": { + "lastModified": 1743069404, + "narHash": "sha256-q4kDFyJDDeoGqfEtrZRx4iqMVEC2MOzCToWsFY+TOzY=", + "owner": "haskell", + "repo": "haskell-language-server", + "rev": "2318c61db3a01e03700bd4b05665662929b7fe8b", + "type": "github" + }, + "original": { + "owner": "haskell", + "ref": "2.10.0.0", + "repo": "haskell-language-server", + "type": "github" + } + }, + "hls-2.11": { + "flake": false, + "locked": { + "lastModified": 1747306193, + "narHash": "sha256-/MmtpF8+FyQlwfKHqHK05BdsxC9LHV70d/FiMM7pzBM=", + "owner": "haskell", + "repo": "haskell-language-server", + "rev": "46ef4523ea4949f47f6d2752476239f1c6d806fe", + "type": "github" + }, + "original": { + "owner": "haskell", + "ref": "2.11.0.0", + "repo": "haskell-language-server", + "type": "github" + } + }, "hls-2.2": { "flake": false, "locked": { @@ -342,16 +426,16 @@ "hls-2.9": { "flake": false, "locked": { - "lastModified": 1718469202, - "narHash": "sha256-THXSz+iwB1yQQsr/PY151+2GvtoJnTIB2pIQ4OzfjD4=", + "lastModified": 1719993701, + "narHash": "sha256-wy348++MiMm/xwtI9M3vVpqj2qfGgnDcZIGXw8sF1sA=", "owner": "haskell", "repo": "haskell-language-server", - "rev": "40891bccb235ebacce020b598b083eab9dda80f1", + "rev": "90319a7e62ab93ab65a95f8f2bcf537e34dae76a", "type": "github" }, "original": { "owner": "haskell", - "ref": "2.9.0.0", + "ref": "2.9.0.1", "repo": "haskell-language-server", "type": "github" } @@ -372,37 +456,14 @@ "type": "github" } }, - "hydra": { - "inputs": { - "nix": "nix", - "nixpkgs": [ - "haskellNix", - "hydra", - "nix", - "nixpkgs" - ] - }, - "locked": { - "lastModified": 1671755331, - "narHash": "sha256-hXsgJj0Cy0ZiCiYdW2OdBz5WmFyOMKuw4zyxKpgUKm4=", - "owner": "NixOS", - "repo": "hydra", - "rev": "f48f00ee6d5727ae3e488cbf9ce157460853fea8", - "type": "github" - }, - "original": { - "id": "hydra", - "type": "indirect" - } - }, "iserv-proxy": { "flake": false, "locked": { - "lastModified": 1717479972, - "narHash": "sha256-7vE3RQycHI1YT9LHJ1/fUaeln2vIpYm6Mmn8FTpYeVo=", + "lastModified": 1755040634, + "narHash": "sha256-8W7uHpAIG8HhO3ig5OGHqvwduoye6q6dlrea1IrP2eI=", "owner": "stable-haskell", "repo": "iserv-proxy", - "rev": "2ed34002247213fc435d0062350b91bab920626e", + "rev": "1383d199a2c64f522979005d112b4fbdee38dd92", "type": "github" }, "original": { @@ -412,139 +473,6 @@ "type": "github" } }, - "lowdown-src": { - "flake": false, - "locked": { - "lastModified": 1633514407, - "narHash": "sha256-Dw32tiMjdK9t3ETl5fzGrutQTzh2rufgZV4A/BbxuD4=", - "owner": "kristapsdz", - "repo": "lowdown", - "rev": "d2c2b44ff6c27b936ec27358a2653caaef8f73b8", - "type": "github" - }, - "original": { - "owner": "kristapsdz", - "repo": "lowdown", - "type": "github" - } - }, - "nix": { - "inputs": { - "lowdown-src": "lowdown-src", - "nixpkgs": "nixpkgs", - "nixpkgs-regression": "nixpkgs-regression" - }, - "locked": { - "lastModified": 1661606874, - "narHash": "sha256-9+rpYzI+SmxJn+EbYxjGv68Ucp22bdFUSy/4LkHkkDQ=", - "owner": "NixOS", - "repo": "nix", - "rev": "11e45768b34fdafdcf019ddbd337afa16127ff0f", - "type": "github" - }, - "original": { - "owner": "NixOS", - "ref": "2.11.0", - "repo": "nix", - "type": "github" - } - }, - "nixpkgs": { - "locked": { - "lastModified": 1657693803, - "narHash": "sha256-G++2CJ9u0E7NNTAi9n5G8TdDmGJXcIjkJ3NF8cetQB8=", - "owner": "NixOS", - "repo": "nixpkgs", - "rev": "365e1b3a859281cf11b94f87231adeabbdd878a2", - "type": "github" - }, - "original": { - "owner": "NixOS", - "ref": "nixos-22.05-small", - "repo": "nixpkgs", - "type": "github" - } - }, - "nixpkgs-2003": { - "locked": { - "lastModified": 1620055814, - "narHash": "sha256-8LEHoYSJiL901bTMVatq+rf8y7QtWuZhwwpKE2fyaRY=", - "owner": "NixOS", - "repo": "nixpkgs", - "rev": "1db42b7fe3878f3f5f7a4f2dc210772fd080e205", - "type": "github" - }, - "original": { - "owner": "NixOS", - "ref": "nixpkgs-20.03-darwin", - "repo": "nixpkgs", - "type": "github" - } - }, - "nixpkgs-2105": { - "locked": { - "lastModified": 1659914493, - "narHash": "sha256-lkA5X3VNMKirvA+SUzvEhfA7XquWLci+CGi505YFAIs=", - "owner": "NixOS", - "repo": "nixpkgs", - "rev": "022caabb5f2265ad4006c1fa5b1ebe69fb0c3faf", - "type": "github" - }, - "original": { - "owner": "NixOS", - "ref": "nixpkgs-21.05-darwin", - "repo": "nixpkgs", - "type": "github" - } - }, - "nixpkgs-2111": { - "locked": { - "lastModified": 1659446231, - "narHash": "sha256-hekabNdTdgR/iLsgce5TGWmfIDZ86qjPhxDg/8TlzhE=", - "owner": "NixOS", - "repo": "nixpkgs", - "rev": "eabc38219184cc3e04a974fe31857d8e0eac098d", - "type": "github" - }, - "original": { - "owner": "NixOS", - "ref": "nixpkgs-21.11-darwin", - "repo": "nixpkgs", - "type": "github" - } - }, - "nixpkgs-2205": { - "locked": { - "lastModified": 1685573264, - "narHash": "sha256-Zffu01pONhs/pqH07cjlF10NnMDLok8ix5Uk4rhOnZQ=", - "owner": "NixOS", - "repo": "nixpkgs", - "rev": "380be19fbd2d9079f677978361792cb25e8a3635", - "type": "github" - }, - "original": { - "owner": "NixOS", - "ref": "nixpkgs-22.05-darwin", - "repo": "nixpkgs", - "type": "github" - } - }, - "nixpkgs-2211": { - "locked": { - "lastModified": 1688392541, - "narHash": "sha256-lHrKvEkCPTUO+7tPfjIcb7Trk6k31rz18vkyqmkeJfY=", - "owner": "NixOS", - "repo": "nixpkgs", - "rev": "ea4c80b39be4c09702b0cb3b42eab59e2ba4f24b", - "type": "github" - }, - "original": { - "owner": "NixOS", - "ref": "nixpkgs-22.11-darwin", - "repo": "nixpkgs", - "type": "github" - } - }, "nixpkgs-2305": { "locked": { "lastModified": 1705033721, @@ -579,11 +507,11 @@ }, "nixpkgs-2405": { "locked": { - "lastModified": 1720122915, - "narHash": "sha256-Nby8WWxj0elBu1xuRaUcRjPi/rU3xVbkAt2kj4QwX2U=", + "lastModified": 1735564410, + "narHash": "sha256-HB/FA0+1gpSs8+/boEavrGJH+Eq08/R2wWNph1sM1Dg=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "835cf2d3f37989c5db6585a28de967a667a75fb1", + "rev": "1e7a8f391f1a490460760065fa0630b5520f9cf8", "type": "github" }, "original": { @@ -593,29 +521,45 @@ "type": "github" } }, - "nixpkgs-regression": { + "nixpkgs-2411": { + "locked": { + "lastModified": 1748037224, + "narHash": "sha256-92vihpZr6dwEMV6g98M5kHZIttrWahb9iRPBm1atcPk=", + "owner": "NixOS", + "repo": "nixpkgs", + "rev": "f09dede81861f3a83f7f06641ead34f02f37597f", + "type": "github" + }, + "original": { + "owner": "NixOS", + "ref": "nixpkgs-24.11-darwin", + "repo": "nixpkgs", + "type": "github" + } + }, + "nixpkgs-2505": { "locked": { - "lastModified": 1643052045, - "narHash": "sha256-uGJ0VXIhWKGXxkeNnq4TvV3CIOkUJ3PAoLZ3HMzNVMw=", + "lastModified": 1748852332, + "narHash": "sha256-r/wVJWmLYEqvrJKnL48r90Wn9HWX9SHFt6s4LhuTh7k=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "215d4d0fd80ca5163643b03a33fde804a29cc1e2", + "rev": "a8167f3cc2f991dd4d0055746df53dae5fd0c953", "type": "github" }, "original": { "owner": "NixOS", + "ref": "nixpkgs-25.05-darwin", "repo": "nixpkgs", - "rev": "215d4d0fd80ca5163643b03a33fde804a29cc1e2", "type": "github" } }, "nixpkgs-unstable": { "locked": { - "lastModified": 1720181791, - "narHash": "sha256-i4vJL12/AdyuQuviMMd1Hk2tsGt02hDNhA0Zj1m16N8=", + "lastModified": 1748856973, + "narHash": "sha256-RlTsJUvvr8ErjPBsiwrGbbHYW8XbB/oek0Gi78XdWKg=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "4284c2b73c8bce4b46a6adf23e16d9e2ec8da4bb", + "rev": "e4b09e47ace7d87de083786b404bf232eb6c89d8", "type": "github" }, "original": { @@ -654,11 +598,11 @@ "stackage": { "flake": false, "locked": { - "lastModified": 1721262189, - "narHash": "sha256-FhQK+UGKGBJCyLo8NBhU65QKm5loHS/APUKno/9jO/U=", + "lastModified": 1756253589, + "narHash": "sha256-HaIEVY8W2GWaYEJQkuxLcIXssz96EkLN7UosnXH+8Ps=", "owner": "input-output-hk", "repo": "stackage.nix", - "rev": "a55d366b4ab71687ce60d428a775a4ecc824a658", + "rev": "52026ed0525ab2266d24664b6a0163c7a8225abc", "type": "github" }, "original": { diff --git a/nix-tools/flake.nix b/nix-tools/flake.nix index edca517673..a45dd4701b 100644 --- a/nix-tools/flake.nix +++ b/nix-tools/flake.nix @@ -1,8 +1,6 @@ { inputs = { nixpkgs.follows = "haskellNix/nixpkgs"; - # nixpkgs-unstable.url = "github:NixOS/nixpkgs"; - haskellNix.url = "github:input-output-hk/haskell.nix"; }; @@ -80,7 +78,7 @@ hydraJobs = forAllSystems (pkgs: # project's hydraJobs - pkgs.nix-tools.project.flake'.hydraJobs + pkgs.nix-tools-eval-on-linux.project.flake'.hydraJobs # tarballs with static builds. // lib.optionalAttrs (pkgs.buildPlatform.system == "x86_64-linux") { binary-tarball = mkTarball pkgs.pkgsCross.musl64; } diff --git a/nix-tools/nix-tools/hackage2nix/Main.hs b/nix-tools/nix-tools/hackage2nix/Main.hs index cf71f09374..a08ac185df 100644 --- a/nix-tools/nix-tools/hackage2nix/Main.hs +++ b/nix-tools/nix-tools/hackage2nix/Main.hs @@ -1,16 +1,20 @@ +{-# LANGUAGE CPP #-} {-# LANGUAGE OverloadedStrings #-} {-# LANGUAGE NamedFieldPuns #-} {-# LANGUAGE LambdaCase #-} -module Main where +module Main (main) where import Cabal2Nix import Cabal2Nix.Util ( quoted ) +#if !MIN_VERSION_base(4, 17, 0) import Control.Applicative ( liftA2 ) +#endif import Control.Monad.Trans.State.Strict import Crypto.Hash.SHA256 ( hash ) import qualified Data.ByteString.Base16 as Base16 import qualified Data.ByteString.Char8 as BS +import Data.Char ( isUpper ) import Data.Foldable ( toList , for_ ) @@ -50,7 +54,6 @@ import System.Environment ( getArgs ) import System.FilePath ( () , (<.>) ) -import Data.Char (isUpper) -- Avoid issues with case insensitive file systems by escaping upper case -- characters with a leading _ character. @@ -64,27 +67,31 @@ main :: IO () main = do out:rest <- getArgs (inp, src) <- case rest of - [tarball, url, hash] -> return (tarball, Just $ Repo url (Just hash)) + [tarball, url, sha256] -> return (tarball, Just $ Repo url (Just sha256)) [tarball, url] -> return (tarball, Just $ Repo url Nothing) [tarball] -> return (tarball, Nothing) [] -> hackageTarball >>= \tarball -> return (tarball, Nothing) + _ -> error "Usage: hackage2nix [tarball [url [hash]]]" db <- U.readTarball Nothing inp let (nixFiles, cabalFiles) = runState (fmap (toList . (Seq.sortOn fst)) $ foldMapWithKeyA package2nix db) mempty createDirectoryIfMissing False out - writeFile (out "default.nix") $ - "with builtins; mapAttrs (_: mapAttrs (_: data: rec {\n\ - \ inherit (data) sha256;\n\ - \ revisions = data.revisions // {\n\ - \ default = revisions.\"${data.revisions.default}\";\n\ - \ };\n\ - \})) {\n" - -- Import all the per package nix files - <> mconcat (map (\(pname, _) -> - " " <> quoted pname <> " = import ./nix/" <> escapeUpperCase pname <> ".nix;\n") nixFiles) - <> "}\n" + writeFile (out "default.nix") $ unlines [ + "with builtins; mapAttrs (_: mapAttrs (_: data: rec {", + " inherit (data) sha256;", + " revisions = data.revisions // {", + " default = revisions.\"${data.revisions.default}\";", + " };", + "})) {", + -- Import all the per package nix files + unlines [ + " " <> quoted pname <> " = import ./nix/" <> escapeUpperCase pname <> ".nix;" + | (pname, _) <- nixFiles + ], + "}" + ] createDirectoryIfMissing False (out "nix") for_ nixFiles $ \(pname, nix) -> @@ -124,9 +131,9 @@ version2nix pname vnum (U.VersionData { U.cabalFileRevisions, U.metaFile }) = do revisionBindings <- sequenceA $ zipWith (revBindingJson pname vnum) cabalFileRevisions [0 ..] - let hash = decodeUtf8 $ fromString $ P.parseMetaData pname vnum metaFile Map.! "sha256" + let sha256 = decodeUtf8 $ fromString $ P.parseMetaData pname vnum metaFile Map.! "sha256" return $ Seq.singleton (quoted (fromPretty vnum), mkNonRecSet - [ "sha256" $= mkStr hash + [ "sha256" $= mkStr sha256 , "revisions" $= mkNonRecSet ( map (uncurry ($=)) revisionBindings ++ ["default" $= mkStr (fst (last revisionBindings))] diff --git a/nix-tools/nix-tools/lib/Cabal2Nix.hs b/nix-tools/nix-tools/lib-cabal2nix/Cabal2Nix.hs similarity index 91% rename from nix-tools/nix-tools/lib/Cabal2Nix.hs rename to nix-tools/nix-tools/lib-cabal2nix/Cabal2Nix.hs index d35c14b48b..fe5b06fc94 100644 --- a/nix-tools/nix-tools/lib/Cabal2Nix.hs +++ b/nix-tools/nix-tools/lib-cabal2nix/Cabal2Nix.hs @@ -10,7 +10,7 @@ import Distribution.Simple.PackageDescription (readGenericPackageDescription) import Distribution.Verbosity (normal) import Distribution.Pretty ( pretty, prettyShow ) import Distribution.Utils.ShortText (fromShortText) -import Distribution.Utils.Path (getSymbolicPath) +import Distribution.Utils.Path (getSymbolicPath, makeSymbolicPath) import Data.Char (toUpper) import System.FilePath import Data.ByteString (ByteString) @@ -97,7 +97,7 @@ data CabalDetailLevel = MinimalDetails | FullDetails deriving (Show, Eq) cabal2nix :: Bool -> CabalDetailLevel -> Maybe Src -> CabalFile -> IO NExpr cabal2nix isLocal fileDetails src = \case (OnDisk path) -> gpd2nix isLocal fileDetails src Nothing - <$> readGenericPackageDescription normal path + <$> readGenericPackageDescription normal Nothing (makeSymbolicPath path) (InMemory gen _ body) -> gpd2nix isLocal fileDetails src (genExtra <$> gen) <$> case runParseResult (parseGenericPackageDescription body) of (_, Left (_, err)) -> error ("Failed to parse in-memory cabal file: " ++ show err) @@ -137,11 +137,11 @@ instance IsComponent ForeignLib where instance IsComponent Executable where getBuildInfo = buildInfo - getMainPath Executable {modulePath = p} = Just p + getMainPath Executable {modulePath = p} = Just (getSymbolicPath p) instance IsComponent TestSuite where getBuildInfo = testBuildInfo - getMainPath TestSuite {testInterface = (TestSuiteExeV10 _ p)} = Just p + getMainPath TestSuite {testInterface = (TestSuiteExeV10 _ p)} = Just (getSymbolicPath p) getMainPath _ = Nothing instance IsComponent Benchmark where @@ -211,11 +211,11 @@ toNixPackageDescription isLocal detailLevel pd = mkNonRecSet $ else [ "detailLevel" $= mkStr (fromString (show detailLevel)) , "licenseFiles" $= toNix (map getSymbolicPath (licenseFiles pd)) - , "dataDir" $= mkStr (fromString (dataDir pd)) - , "dataFiles" $= toNix (dataFiles pd) - , "extraSrcFiles" $= toNix (extraSrcFiles pd) - , "extraTmpFiles" $= toNix (extraTmpFiles pd) - , "extraDocFiles" $= toNix (extraDocFiles pd) + , "dataDir" $= mkStr (fromString (getSymbolicPath (dataDir pd))) + , "dataFiles" $= toNix (map getSymbolicPath (dataFiles pd)) + , "extraSrcFiles" $= toNix (map getSymbolicPath (extraSrcFiles pd)) + , "extraTmpFiles" $= toNix (map getSymbolicPath (extraTmpFiles pd)) + , "extraDocFiles" $= toNix (map getSymbolicPath (extraDocFiles pd)) ] where toSetupDepends (Dependency pkg _ libs) = SetupDependency pkg <$> toList libs @@ -328,7 +328,7 @@ toNixGenericPackageDescription isLocal detailLevel gpd = mkNonRecSet mkNonRecSet ( [ "depends" $= toNix deps | Just deps <- [shakeTree . fmap ( (>>= depends) . targetBuildDepends . getBuildInfo) $ comp ] ] ++ [ "libs" $= toNix deps | Just deps <- [shakeTree . fmap ( fmap mkSysDep . extraLibs . getBuildInfo) $ comp ] ] ++ - [ "frameworks" $= toNix deps | Just deps <- [shakeTree . fmap ( fmap mkSysDep . frameworks . getBuildInfo) $ comp ] ] ++ + [ "frameworks" $= toNix deps | Just deps <- [shakeTree . fmap ( fmap mkSysDep . fmap getSymbolicPath . frameworks . getBuildInfo) $ comp ] ] ++ [ "pkgconfig" $= toNix deps | Just deps <- [shakeTree . fmap ( pkgconfigDepends . getBuildInfo) $ comp ] ] ++ [ "build-tools" $= toNix deps | Just deps <- [shakeTree . fmap ( toolDeps . getBuildInfo) $ comp ] ] ++ [ "buildable" $= boolTreeToNix (and <$> b) | Just b <- [shakeTree . fmap ((:[]) . buildable . getBuildInfo) $ comp ] ] ++ @@ -336,14 +336,14 @@ toNixGenericPackageDescription isLocal detailLevel gpd = mkNonRecSet then [] else [ "modules" $= toNix mods | Just mods <- [shakeTree . fmap (fmap ModuleName.toFilePath . modules) $ comp ] ] ++ - [ "asmSources" $= toNix src | Just src <- [shakeTree . fmap (asmSources . getBuildInfo) $ comp ] ] ++ - [ "cmmSources" $= toNix src | Just src <- [shakeTree . fmap (cmmSources . getBuildInfo) $ comp ] ] ++ - [ "cSources" $= toNix src | Just src <- [shakeTree . fmap (cSources . getBuildInfo) $ comp ] ] ++ - [ "cxxSources" $= toNix src | Just src <- [shakeTree . fmap (cxxSources . getBuildInfo) $ comp ] ] ++ - [ "jsSources" $= toNix src | Just src <- [shakeTree . fmap (jsSources . getBuildInfo) $ comp ] ] ++ - [ "hsSourceDirs" $= toNix (fmap getSymbolicPath <$> dir) | Just dir <- [shakeTree . fmap (hsSourceDirs . getBuildInfo) $ comp ] ] ++ - [ "includeDirs" $= toNix dir | Just dir <- [shakeTree . fmap (includeDirs . getBuildInfo) $ comp] ] ++ - [ "includes" $= toNix dir | Just dir <- [shakeTree . fmap (includes . getBuildInfo) $ comp] ] ++ + [ "asmSources" $= toNix (fmap getSymbolicPath <$> src) | Just src <- [shakeTree . fmap (asmSources . getBuildInfo) $ comp ] ] ++ + [ "cmmSources" $= toNix (fmap getSymbolicPath <$> src) | Just src <- [shakeTree . fmap (cmmSources . getBuildInfo) $ comp ] ] ++ + [ "cSources" $= toNix (fmap getSymbolicPath <$> src) | Just src <- [shakeTree . fmap (cSources . getBuildInfo) $ comp ] ] ++ + [ "cxxSources" $= toNix (fmap getSymbolicPath <$> src) | Just src <- [shakeTree . fmap (cxxSources . getBuildInfo) $ comp ] ] ++ + [ "jsSources" $= toNix (fmap getSymbolicPath <$> src) | Just src <- [shakeTree . fmap (jsSources . getBuildInfo) $ comp ] ] ++ + [ "hsSourceDirs" $= toNix (fmap getSymbolicPath <$> dir) | Just dir <- [shakeTree . fmap (hsSourceDirs . getBuildInfo) $ comp ] ] ++ + [ "includeDirs" $= toNix (fmap getSymbolicPath <$> dir) | Just dir <- [shakeTree . fmap (includeDirs . getBuildInfo) $ comp] ] ++ + [ "includes" $= toNix (fmap getSymbolicPath <$> dir) | Just dir <- [shakeTree . fmap (includes . getBuildInfo) $ comp] ] ++ [ "mainPath" $= toNix p | Just p <- [shakeTree . fmap (maybeToList . getMainPath) $ comp] ]) where name = fromString $ unUnqualComponentName unQualName depends (Dependency pkg _ libs) = HaskellLibDependency pkg <$> toList libs @@ -453,6 +453,10 @@ instance {-# OVERLAPS #-} ToNixExpr a => ToNixExpr [a] where -- condtional statements in .cabal files. fixSystem :: String -> String fixSystem "isJavascript" = "isJavaScript" +fixSystem "isDragonfly" = "isDragonFly" +fixSystem "isHpux" = "isHPUX" +fixSystem "isIos" = "isIOS" +fixSystem "isIrix" = "isIRIX" fixSystem s = s instance ToNixExpr ConfVar where diff --git a/nix-tools/nix-tools/lib/Cabal2Nix/Util.hs b/nix-tools/nix-tools/lib-cabal2nix/Cabal2Nix/Util.hs similarity index 100% rename from nix-tools/nix-tools/lib/Cabal2Nix/Util.hs rename to nix-tools/nix-tools/lib-cabal2nix/Cabal2Nix/Util.hs diff --git a/nix-tools/nix-tools/lib/Cabal2Nix/Plan.hs b/nix-tools/nix-tools/lts2nix/Cabal2Nix/Plan.hs similarity index 100% rename from nix-tools/nix-tools/lib/Cabal2Nix/Plan.hs rename to nix-tools/nix-tools/lts2nix/Cabal2Nix/Plan.hs diff --git a/nix-tools/nix-tools/make-install-plan/MakeInstallPlan.hs b/nix-tools/nix-tools/make-install-plan/MakeInstallPlan.hs index 8c47702799..69889088b7 100644 --- a/nix-tools/nix-tools/make-install-plan/MakeInstallPlan.hs +++ b/nix-tools/nix-tools/make-install-plan/MakeInstallPlan.hs @@ -6,15 +6,14 @@ import qualified Cabal2Nix hiding (gpd2nix) import qualified Data.ByteString.Lazy as BSL import Data.Foldable (for_) import qualified Data.Text.Encoding as T -import Distribution.Client.DistDirLayout (DistDirLayout (distDirectory, distProjectCacheFile, distProjectFile)) +import Distribution.Client.DistDirLayout (DistDirLayout (..)) import Distribution.Client.GlobalFlags import Distribution.Client.HashValue (HashValue, showHashValue) import qualified Distribution.Client.InstallPlan as InstallPlan import Distribution.Client.NixStyleOptions (NixStyleFlags (..), defaultNixStyleFlags, nixStyleOptions) import Distribution.Client.ProjectConfig import Distribution.Client.ProjectOrchestration -import Distribution.Client.ProjectPlanOutput (writePlanExternalRepresentation) -import Distribution.Client.ProjectPlanning (ElaboratedConfiguredPackage (..), rebuildInstallPlan, availableTargets) +import Distribution.Client.ProjectPlanning (ElaboratedConfiguredPackage (..), availableTargets, rebuildInstallPlan) import Distribution.Client.Setup import Distribution.Client.Types.PackageLocation (PackageLocation (..)) import Distribution.Client.Types.Repo (LocalRepo (..), RemoteRepo (..), Repo (..)) @@ -25,7 +24,7 @@ import Distribution.Pretty (prettyShow) import Distribution.Simple.Command import Distribution.Simple.Flag import qualified Distribution.Simple.Utils as Cabal -import Distribution.Types.SourceRepo (KnownRepoType (Git), RepoType (..)) +import Distribution.Types.SourceRepo (KnownRepoType (..), RepoType (..)) import Distribution.Verbosity (Verbosity) import qualified Distribution.Verbosity as Verbosity import Freeze (projectFreezeConfig) @@ -33,9 +32,11 @@ import Nix.Expr import Nix.Pretty (prettyNix) import Prettyprinter (Doc) import Prettyprinter.Render.Text (hPutDoc) +import ProjectPlanOutput (writePlanExternalRepresentation) import System.Environment (getArgs) import System.FilePath import System.IO (IOMode (WriteMode), hClose, openFile) +import Distribution.Simple.Utils (topHandler) main :: IO () main = do @@ -46,27 +47,27 @@ main = do CommandErrors errs -> putStrLn $ "commandErrors: " ++ show errs CommandReadyToGo (mkflags, _commandParse) -> let globalFlags = defaultGlobalFlags - flags@NixStyleFlags {configFlags} = mkflags (commandDefaultFlags cmdUI) + flags@NixStyleFlags{configFlags} = mkflags (commandDefaultFlags cmdUI) verbosity = fromFlagOrDefault Verbosity.normal (configVerbosity configFlags) cliConfig = commandLineFlagsToProjectConfig globalFlags flags mempty - in installPlanAction verbosity cliConfig + in topHandler (installPlanAction verbosity cliConfig) cmdUI :: CommandUI (NixStyleFlags ()) cmdUI = CommandUI - { commandName = "", - commandSynopsis = "Makes an install-plan", - commandUsage = ("Usage: " ++), - commandDescription = Nothing, - commandNotes = Nothing, - commandDefaultFlags = defaultNixStyleFlags (), - commandOptions = nixStyleOptions (const []) + { commandName = "" + , commandSynopsis = "Makes an install-plan" + , commandUsage = ("Usage: " ++) + , commandDescription = Nothing + , commandNotes = Nothing + , commandDefaultFlags = defaultNixStyleFlags () + , commandOptions = nixStyleOptions (const []) } -- The following is adapted from cabal-install's Distribution.Client.CmdFreeze installPlanAction :: Verbosity -> ProjectConfig -> IO () installPlanAction verbosity cliConfig = do - ProjectBaseContext {distDirLayout, cabalDirLayout, projectConfig, localPackages} <- + ProjectBaseContext{distDirLayout, cabalDirLayout, projectConfig, localPackages} <- establishProjectBaseContext verbosity cliConfig OtherCommand (_improvedPlan, elaboratedPlan, elaboratedSharedConfig, totalIndexState, activeRepos) <- @@ -74,7 +75,11 @@ installPlanAction verbosity cliConfig = do -- Write plan.json Cabal.notice verbosity $ "Writing plan.json to " ++ distProjectCacheFile distDirLayout "plan.json" - writePlanExternalRepresentation distDirLayout elaboratedPlan elaboratedSharedConfig (availableTargets elaboratedPlan) + writePlanExternalRepresentation + distDirLayout + elaboratedPlan + elaboratedSharedConfig + (availableTargets elaboratedPlan) -- Write cabal.freeze let freezeConfig = projectFreezeConfig elaboratedPlan totalIndexState activeRepos @@ -90,12 +95,12 @@ installPlanAction verbosity cliConfig = do for_ ecps $ \ElaboratedConfiguredPackage - { elabPkgSourceId, - elabPkgSourceLocation, - elabPkgSourceHash, - elabLocalToProject, - elabPkgDescriptionOverride - } -> do + { elabPkgSourceId + , elabPkgSourceLocation + , elabPkgSourceHash + , elabLocalToProject + , elabPkgDescriptionOverride + } -> do let nixFile = cabalFilesDir prettyShow (pkgName elabPkgSourceId) <.> "nix" for_ elabPkgDescriptionOverride $ \pkgTxt -> do -- In the plan we have elabPkgDescription :: PackageDescription which is the cabal file after @@ -123,8 +128,8 @@ packageLocation2Src pkgSrcLoc pkgSrcHash = case pkgSrcLoc of (SourceRepositoryPackage (KnownRepoType Git) location (Just tag) branch subdir []) -> Cabal2Nix.Git location tag branch subdir _otherCases -> error $ "Repository " <> show sourceRepoMaybe <> " not supported" - where - mSrcHash = showHashValue <$> pkgSrcHash + where + mSrcHash = showHashValue <$> pkgSrcHash writeDoc :: FilePath -> Doc ann -> IO () writeDoc file doc = do diff --git a/nix-tools/nix-tools/make-install-plan/ProjectPlanOutput.hs b/nix-tools/nix-tools/make-install-plan/ProjectPlanOutput.hs new file mode 100644 index 0000000000..b1fa805141 --- /dev/null +++ b/nix-tools/nix-tools/make-install-plan/ProjectPlanOutput.hs @@ -0,0 +1,335 @@ +{-# LANGUAGE BangPatterns #-} +{-# LANGUAGE DeriveDataTypeable #-} +{-# LANGUAGE DeriveGeneric #-} +{-# LANGUAGE GeneralizedNewtypeDeriving #-} +{-# LANGUAGE NamedFieldPuns #-} +{-# LANGUAGE RecordWildCards #-} +{-# LANGUAGE ScopedTypeVariables #-} + +module ProjectPlanOutput ( + -- * Plan output + writePlanExternalRepresentation, +) where + +import Distribution.Client.DistDirLayout +import Distribution.Client.HashValue (hashValue, showHashValue) +import Distribution.Client.ProjectPlanning.Types +import Distribution.Client.Types.ConfiguredId (confInstId) +import Distribution.Client.Types.PackageLocation (PackageLocation (..)) +import Distribution.Client.Types.Repo (RemoteRepo (..), Repo (..)) +import Distribution.Client.Types.SourceRepo (SourceRepoMaybe, SourceRepositoryPackage (..)) +import Distribution.Client.Version (cabalInstallVersion) + +import qualified Distribution.Client.InstallPlan as InstallPlan +import qualified Distribution.Client.Utils.Json as J +import qualified Distribution.Simple.InstallDirs as InstallDirs + +import qualified Distribution.Solver.Types.ComponentDeps as ComponentDeps + +import Distribution.InstalledPackageInfo (InstalledPackageInfo) +import Distribution.Package +import qualified Distribution.PackageDescription as PD +import Distribution.Simple.BuildPaths ( + buildInfoPref, + dllExtension, + exeExtension, + ) +import Distribution.Simple.Compiler ( + showCompilerId, + ) +import Distribution.Simple.Utils +import Distribution.System +import Distribution.Types.ComponentName +import Distribution.Types.Version ( + mkVersion, + ) + +import Distribution.Client.Compat.Prelude +import Prelude () + +import qualified Data.ByteString.Builder as BB +import qualified Data.Map as Map + +import System.FilePath + +import Distribution.Client.ProjectPlanning +import Distribution.Utils.Path (makeSymbolicPath, getSymbolicPath) + +----------------------------------------------------------------------------- +-- Writing plan.json files +-- + +{- | Write out a representation of the elaborated install plan. + +This is for the benefit of debugging and external tools like editors. +-} +writePlanExternalRepresentation :: + DistDirLayout -> + ElaboratedInstallPlan -> + ElaboratedSharedConfig -> + Map (PackageId, ComponentName) [AvailableTarget (UnitId, ComponentName)] -> + IO () +writePlanExternalRepresentation + distDirLayout + elaboratedInstallPlan + elaboratedSharedConfig + targets = + writeFileAtomic (distProjectCacheFile distDirLayout "plan.json") + $ BB.toLazyByteString + . J.encodeToBuilder + $ encodePlanAsJson distDirLayout elaboratedInstallPlan elaboratedSharedConfig targets + +{- | Renders a subset of the elaborated install plan in a semi-stable JSON +format. +-} +encodePlanAsJson :: + DistDirLayout -> + ElaboratedInstallPlan -> + ElaboratedSharedConfig -> + Map (PackageId, ComponentName) [AvailableTarget (UnitId, ComponentName)] -> + J.Value +encodePlanAsJson distDirLayout elaboratedInstallPlan elaboratedSharedConfig targets = + -- TODO: [nice to have] include all of the sharedPackageConfig and all of + -- the parts of the elaboratedInstallPlan + J.object + [ "cabal-version" J..= jdisplay cabalInstallVersion + , "cabal-lib-version" J..= jdisplay cabalVersion + , "compiler-id" + J..= (J.String . showCompilerId . pkgConfigCompiler) + elaboratedSharedConfig + , "os" J..= jdisplay os + , "arch" J..= jdisplay arch + , "install-plan" J..= installPlanToJ elaboratedInstallPlan + , "targets" J..= targetsToJ targets + ] + where + plat :: Platform + plat@(Platform arch os) = pkgConfigPlatform elaboratedSharedConfig + + installPlanToJ :: ElaboratedInstallPlan -> [J.Value] + installPlanToJ = map planPackageToJ . InstallPlan.toList + + targetsToJ :: Map (PackageId, ComponentName) [AvailableTarget (UnitId, ComponentName)] -> [J.Value] + targetsToJ = map targetToJ . Map.toList + + targetToJ :: ((PackageId, ComponentName), [AvailableTarget (UnitId, ComponentName)]) -> J.Value + targetToJ ((pkgId, componentName), ts) = + J.object + [ "pkg-name" J..= jdisplay (pkgName pkgId) + , "pkg-version" J..= jdisplay (pkgVersion pkgId) + , "component-name" J..= jdisplay componentName + , "available" J..= map avaialbeTargetToJ ts + ] + + avaialbeTargetToJ :: AvailableTarget (UnitId, ComponentName) -> J.Value + avaialbeTargetToJ target = + case availableTargetStatus target of + TargetDisabledByUser -> J.String "TargetDisabledByUser" + TargetDisabledBySolver -> J.String "TargetDisabledBySolver" + TargetNotBuildable -> J.String "TargetNotBuildable" + TargetNotLocal -> J.String "TargetNotLocal" + TargetBuildable (unitId, componentName) requested -> + J.object + [ "id" J..= jdisplay unitId + , "component-name" J..= jdisplay componentName + , "build-by-default" J..= (requested == TargetRequestedByDefault) + ] + + planPackageToJ :: ElaboratedPlanPackage -> J.Value + planPackageToJ pkg = + case pkg of + InstallPlan.PreExisting ipi -> installedPackageInfoToJ ipi + InstallPlan.Configured elab -> elaboratedPackageToJ False elab + InstallPlan.Installed elab -> elaboratedPackageToJ True elab + -- Note that the plan.json currently only uses the elaborated plan, + -- not the improved plan. So we will not get the Installed state for + -- that case, but the code supports it in case we want to use this + -- later in some use case where we want the status of the build. + + installedPackageInfoToJ :: InstalledPackageInfo -> J.Value + installedPackageInfoToJ ipi = + -- Pre-existing packages lack configuration information such as their flag + -- settings or non-lib components. We only get pre-existing packages for + -- the global/core packages however, so this isn't generally a problem. + -- So these packages are never local to the project. + -- + J.object + [ "type" J..= J.String "pre-existing" + , "id" J..= (jdisplay . installedUnitId) ipi + , "pkg-name" J..= (jdisplay . pkgName . packageId) ipi + , "pkg-version" J..= (jdisplay . pkgVersion . packageId) ipi + , "depends" J..= map jdisplay (installedDepends ipi) + ] + + elaboratedPackageToJ :: Bool -> ElaboratedConfiguredPackage -> J.Value + elaboratedPackageToJ isInstalled elab = + J.object + $ [ "type" + J..= J.String + ( if isInstalled + then "installed" + else "configured" + ) + , "id" J..= (jdisplay . installedUnitId) elab + , "pkg-name" J..= (jdisplay . pkgName . packageId) elab + , "pkg-version" J..= (jdisplay . pkgVersion . packageId) elab + , "flags" + J..= J.object + [ PD.unFlagName fn J..= v + | (fn, v) <- PD.unFlagAssignment (elabFlagAssignment elab) + ] + , "style" J..= J.String (style2str (elabLocalToProject elab) (elabBuildStyle elab)) + , "pkg-src" J..= packageLocationToJ (elabPkgSourceLocation elab) + ] + ++ [ "pkg-cabal-sha256" J..= J.String (showHashValue hash) + | Just hash <- [fmap hashValue (elabPkgDescriptionOverride elab)] + ] + ++ [ "pkg-src-sha256" J..= J.String (showHashValue hash) + | Just hash <- [elabPkgSourceHash elab] + ] + ++ ( case elabBuildStyle elab of + BuildInplaceOnly _ -> + ["dist-dir" J..= J.String dist_dir] ++ [buildInfoFileLocation] + BuildAndInstall -> + -- TODO: install dirs? + [] + ) + ++ case elabPkgOrComp elab of + ElabPackage pkg -> + let components = + J.object + $ [ comp2str c + J..= ( J.object + $ [ "depends" J..= map (jdisplay . confInstId) (map fst ldeps) + , "exe-depends" J..= map (jdisplay . confInstId) edeps + ] + ++ bin_file c + ) + | (c, (ldeps, edeps)) <- + ComponentDeps.toList + $ ComponentDeps.zip + (pkgLibDependencies pkg) + (pkgExeDependencies pkg) + ] + in ["components" J..= components] + ElabComponent comp -> + [ "depends" J..= map (jdisplay . confInstId) (map fst $ elabLibDependencies elab) + , "exe-depends" J..= map jdisplay (elabExeDependencies elab) + , "component-name" J..= J.String (comp2str (compSolverName comp)) + ] + ++ bin_file (compSolverName comp) + where + -- \| Only add build-info file location if the Setup.hs CLI + -- is recent enough to be able to generate build info files. + -- Otherwise, write 'null'. + -- + -- Consumers of `plan.json` can use the nullability of this file location + -- to indicate that the given component uses `build-type: Custom` + -- with an old lib:Cabal version. + buildInfoFileLocation :: J.Pair + buildInfoFileLocation + | elabSetupScriptCliVersion elab < mkVersion [3, 7, 0, 0] = + "build-info" J..= J.Null + | otherwise = + "build-info" J..= J.String (getSymbolicPath (buildInfoPref (makeSymbolicPath dist_dir))) + + packageLocationToJ :: PackageLocation (Maybe FilePath) -> J.Value + packageLocationToJ pkgloc = + case pkgloc of + LocalUnpackedPackage local -> + J.object + [ "type" J..= J.String "local" + , "path" J..= J.String local + ] + LocalTarballPackage local -> + J.object + [ "type" J..= J.String "local-tar" + , "path" J..= J.String local + ] + RemoteTarballPackage uri _ -> + J.object + [ "type" J..= J.String "remote-tar" + , "uri" J..= J.String (show uri) + ] + RepoTarballPackage repo _ _ -> + J.object + [ "type" J..= J.String "repo-tar" + , "repo" J..= repoToJ repo + ] + RemoteSourceRepoPackage srcRepo _ -> + J.object + [ "type" J..= J.String "source-repo" + , "source-repo" J..= sourceRepoToJ srcRepo + ] + + repoToJ :: Repo -> J.Value + repoToJ repo = + case repo of + RepoLocalNoIndex{..} -> + J.object + [ "type" J..= J.String "local-repo-no-index" + , "path" J..= J.String repoLocalDir + ] + RepoRemote{..} -> + J.object + [ "type" J..= J.String "remote-repo" + , "uri" J..= J.String (show (remoteRepoURI repoRemote)) + ] + RepoSecure{..} -> + J.object + [ "type" J..= J.String "secure-repo" + , "uri" J..= J.String (show (remoteRepoURI repoRemote)) + ] + + sourceRepoToJ :: SourceRepoMaybe -> J.Value + sourceRepoToJ SourceRepositoryPackage{..} = + J.object + $ filter ((/= J.Null) . snd) + $ [ "type" J..= jdisplay srpType + , "location" J..= J.String srpLocation + , "branch" J..= fmap J.String srpBranch + , "tag" J..= fmap J.String srpTag + , "subdir" J..= fmap J.String srpSubdir + ] + + dist_dir :: FilePath + dist_dir = + distBuildDirectory + distDirLayout + (elabDistDirParams elaboratedSharedConfig elab) + + bin_file :: ComponentDeps.Component -> [J.Pair] + bin_file c = case c of + ComponentDeps.ComponentExe s -> bin_file' s + ComponentDeps.ComponentTest s -> bin_file' s + ComponentDeps.ComponentBench s -> bin_file' s + ComponentDeps.ComponentFLib s -> flib_file' s + _ -> [] + bin_file' s = + ["bin-file" J..= J.String bin] + where + bin = + if isInplaceBuildStyle (elabBuildStyle elab) + then dist_dir "build" prettyShow s prettyShow s <.> exeExtension plat + else InstallDirs.bindir (elabInstallDirs elab) prettyShow s <.> exeExtension plat + + flib_file' :: (Pretty a, Show a) => a -> [J.Pair] + flib_file' s = + ["bin-file" J..= J.String bin] + where + bin = + if isInplaceBuildStyle (elabBuildStyle elab) + then dist_dir "build" prettyShow s ("lib" ++ prettyShow s) <.> dllExtension plat + else InstallDirs.bindir (elabInstallDirs elab) ("lib" ++ prettyShow s) <.> dllExtension plat + +comp2str :: ComponentDeps.Component -> String +comp2str = prettyShow + +style2str :: Bool -> BuildStyle -> String +style2str True _ = "local" +style2str False (BuildInplaceOnly OnDisk) = "inplace" +style2str False (BuildInplaceOnly InMemory) = "interactive" +style2str False BuildAndInstall = "global" + +jdisplay :: (Pretty a) => a -> J.Value +jdisplay = J.String . prettyShow diff --git a/nix-tools/nix-tools/nix-tools.cabal b/nix-tools/nix-tools/nix-tools.cabal index 5936f46958..1168ecf76b 100644 --- a/nix-tools/nix-tools/nix-tools.cabal +++ b/nix-tools/nix-tools/nix-tools.cabal @@ -13,45 +13,39 @@ build-type: Simple common warnings ghc-options: -Wall +common cabal-deps + build-depends: + Cabal ^>=3.14, + Cabal-syntax ^>=3.14 + +common cabal-install-deps + import: cabal-deps + build-depends: + cabal-install ^>=3.14, + cabal-install-solver ^>=3.14 + library import: warnings - exposed-modules: Cabal2Nix - , Cabal2Nix.Util - , Cabal2Nix.Plan - , CabalName - , CabalName.CLI - , Distribution.Nixpkgs.Fetch - , StackRepos - , StackRepos.CLI - , Stack2nix - , Stack2nix.Cache - , Stack2nix.CLI - , Stack2nix.External.Resolve - , Stack2nix.Project - , Stack2nix.Stack - build-depends: base >= 4 && <4.20 - , Cabal >= 3.10.3 && <3.11 - , Cabal-syntax >= 3.10 && <3.11 - , aeson >= 2.0 && <2.3 + , cabal-deps + build-depends: base + , aeson , aeson-pretty , base16-bytestring , bytestring - , cryptohash-sha256 , containers + , cryptohash-sha256 , data-fix , deepseq , directory , extra , filepath --- Needs https://github.com/input-output-hk/iohk-nix/commit/6a8c29117eff36ce975e02e01efc8b25d93fcb90#diff-6fb0c6517b547a8baf082d5d2d604842 --- to work with the data-dir issues when building components. --- This commit is included since 0.6.5. - , hnix >= 0.6.5 && <0.18 + , hnix ^>=0.17 , hpack , http-client , http-client-tls , http-types , network-uri + , nix-tools:cabal2nix , optparse-applicative , prettyprinter , process @@ -59,101 +53,132 @@ library , transformers , unordered-containers , yaml - + exposed-modules: , CabalName + , CabalName.CLI + , Distribution.Nixpkgs.Fetch + , StackRepos + , StackRepos.CLI + , Stack2nix + , Stack2nix.Cache + , Stack2nix.CLI + , Stack2nix.External.Resolve + , Stack2nix.Project + , Stack2nix.Stack hs-source-dirs: lib default-language: Haskell2010 +library cabal2nix + import: warnings + , cabal-deps + build-depends: , base + , base16-bytestring + , bytestring + , cryptohash-sha256 + , data-fix + , directory + , filepath + , hnix + , network-uri + , text + exposed-modules: Cabal2Nix + Cabal2Nix.Util + hs-source-dirs: lib-cabal2nix + default-language: Haskell2010 executable cabal-to-nix import: warnings - ghc-options: -Wall main-is: Main.hs build-depends: base - , transformers , bytestring - , hpack + , directory + , filepath , hnix - , text + , hpack , nix-tools - , filepath - , directory + , nix-tools:cabal2nix , prettyprinter + , text + , transformers hs-source-dirs: cabal2nix default-language: Haskell2010 executable hashes-to-nix - ghc-options: -Wall main-is: Main.hs build-depends: base - , hnix - , nix-tools - , data-fix , aeson + , data-fix + , directory + , filepath + , hnix , microlens , microlens-aeson + , nix-tools + , nix-tools:cabal2nix , text - , filepath - , directory hs-source-dirs: hashes2nix default-language: Haskell2010 executable plan-to-nix import: warnings - ghc-options: -Wall - main-is: Main.hs - other-modules: Plan2Nix - , Plan2Nix.Cache - , Plan2Nix.CLI - , Plan2Nix.Project - , Plan2Nix.Plan - build-depends: base - , nix-tools + , cabal-deps + build-depends: , base + , aeson + , bytestring + , directory + , extra + , filepath , hnix - , Cabal - , text , hpack - , unordered-containers - , vector - , aeson , microlens , microlens-aeson + , nix-tools + , nix-tools:cabal2nix , optparse-applicative , prettyprinter - , filepath - , directory - , bytestring + , text , transformers - , extra + , unordered-containers + , vector + main-is: Main.hs + other-modules: Plan2Nix + , Plan2Nix.Cache + , Plan2Nix.CLI + , Plan2Nix.Project + , Plan2Nix.Plan hs-source-dirs: plan2nix default-language: Haskell2010 executable hackage-to-nix import: warnings - main-is: Main.hs - build-depends: base - , nix-tools - , hackage-db - , hnix - , Cabal + , cabal-deps + build-depends: , base , aeson , aeson-pretty - , containers - , bytestring - , text - , cryptohash-sha256 , base16-bytestring , base64-bytestring - , filepath + , bytestring + , Cabal + , containers + , cryptohash-sha256 , directory + , filepath + , hackage-db + , hnix + , nix-tools + , nix-tools:cabal2nix + , text , transformers + main-is: Main.hs hs-source-dirs: hackage2nix default-language: Haskell2010 executable lts-to-nix import: warnings main-is: Main.hs + other-modules: Cabal2Nix.Plan build-depends: base , nix-tools + , nix-tools:cabal2nix , hnix , yaml , aeson @@ -180,11 +205,11 @@ executable truncate-index import: warnings main-is: Main.hs build-depends: base + , bytestring , optparse-applicative - , zlib , tar - , bytestring , time + , zlib hs-source-dirs: truncate-index default-language: Haskell2010 @@ -206,22 +231,20 @@ executable cabal-name executable make-install-plan import: warnings - main-is: MakeInstallPlan.hs - other-modules: Freeze + , cabal-install-deps build-depends: base , bytestring - , Cabal >= 3.10 - , cabal-install >= 3.10 - , cabal-install-solver >= 3.10 - , Cabal-syntax >= 3.10 , containers + , directory , filepath , hnix - , nix-tools + , nix-tools:cabal2nix , prettyprinter , text + main-is: MakeInstallPlan.hs + other-modules: Freeze + ProjectPlanOutput hs-source-dirs: make-install-plan - , plan2nix default-language: Haskell2010 executable default-setup @@ -242,7 +265,7 @@ executable default-setup-ghcjs hs-source-dirs: setup-ghcjs default-language: Haskell2010 -etest-suite tests +test-suite tests import: warnings main-is: Tests.hs build-depends: base diff --git a/nix-tools/nix-tools/setup-ghcjs/Setup.hs b/nix-tools/nix-tools/setup-ghcjs/Setup.hs index 4b2e6db162..2b35578776 100644 --- a/nix-tools/nix-tools/setup-ghcjs/Setup.hs +++ b/nix-tools/nix-tools/setup-ghcjs/Setup.hs @@ -1,36 +1,33 @@ {-# language LambdaCase #-} import Distribution.Simple import Distribution.Simple.Setup -import Distribution.Types.PackageDescription +import Distribution.Types.PackageDescription hiding (updatePackageDescription) import Distribution.Types.LocalBuildInfo import Distribution.Simple.PackageIndex import Distribution.Types.InstalledPackageInfo hiding (includeDirs) import qualified Distribution.Types.InstalledPackageInfo as IPI -import Distribution.Types.PackageName import System.FilePath import Control.Monad (filterM, forM_, forM, unless) import System.Directory (doesFileExist) import Distribution.Types.Library (libBuildInfo, Library(..)) -import Distribution.Types.BuildInfo (cSources, jsSources, includeDirs, emptyBuildInfo, options, extraBundledLibs) -import Distribution.Simple.BuildTarget (readBuildTargets, BuildTarget(..), readUserBuildTargets) +import Distribution.Types.BuildInfo (cSources, jsSources, includeDirs, options, extraBundledLibs) +import Distribution.Simple.BuildTarget (readBuildTargets, BuildTarget(..)) import Distribution.Verbosity (silent, verbose) import Distribution.Types.ComponentName import Distribution.Simple.Program.Types (programPath) -import Distribution.Simple.Program.Db (lookupKnownProgram, lookupProgram, knownPrograms) -import Distribution.Simple.Program (Program, gccProgram, arProgram, runDbProgram, simpleProgram, ghcProgram) +import Distribution.Simple.Program.Db (lookupProgram) +import Distribution.Simple.Program (Program, gccProgram, runDbProgram, simpleProgram, ghcProgram) import Distribution.Simple.Utils (createDirectoryIfMissingVerbose) -import Distribution.Types.HookedBuildInfo import Data.List (isPrefixOf, isSuffixOf, intercalate) -import System.Environment (getArgs, getProgName) +import System.Environment (getArgs) import Distribution.Simple.LocalBuildInfo (Component (..), withAllComponentsInBuildOrder, componentBuildDir) import Distribution.Types.TestSuite (TestSuite(..)) import Distribution.Types.TestSuiteInterface (TestSuiteInterface(..) ) import Distribution.Simple.Test.LibV09 (stubName) import Distribution.Types.Executable (exeName, Executable(..)) import Distribution.Types.Benchmark (Benchmark(..)) -import Distribution.Types.TestSuite (TestSuite(..)) -import Distribution.Types.UnqualComponentName (unUnqualComponentName, mkUnqualComponentName) - +import Distribution.Types.UnqualComponentName (unUnqualComponentName) +import Distribution.Utils.Path (makeSymbolicPath, getSymbolicPath) emarProgram :: Program emarProgram = simpleProgram "emar" @@ -39,31 +36,31 @@ buildEMCCLib :: PackageDescription -> LocalBuildInfo -> IO () buildEMCCLib desc lbi = do let verbosity = verbose -- get build dir - createDirectoryIfMissingVerbose verbosity True ((buildDir lbi) "emcc") + createDirectoryIfMissingVerbose verbosity True ((getSymbolicPath (buildDir lbi)) "emcc") -- case library desc of Just lib -> do -- Let's see if we are going to export anything. If not there is likely no point in compiling anything -- from the C code. names <- forM (jsSources . libBuildInfo $ lib) $ \src -> do - unwords . concatMap (drop 2 . words) . filter (isPrefixOf "// EMCC:EXPORTED_FUNCTIONS") . lines <$> readFile src + unwords . concatMap (drop 2 . words) . filter (isPrefixOf "// EMCC:EXPORTED_FUNCTIONS") . lines <$> readFile (getSymbolicPath src) unless (null names) $ do let depIncludeDirs = concatMap IPI.includeDirs (topologicalOrder $ installedPkgs lbi) -- alright, let's compile all .c files into .o files with emcc, which is the `gcc` program. forM_ (cSources . libBuildInfo $ lib) $ \src -> do - let dst = (buildDir lbi) "emcc" (src -<.> "o") + let dst = (getSymbolicPath (buildDir lbi)) "emcc" (getSymbolicPath src -<.> "o") createDirectoryIfMissingVerbose verbosity True (takeDirectory dst) runDbProgram verbosity gccProgram (withPrograms lbi) $ - ["-c", src, "-o", dst] ++ ["-I" <> incDir | incDir <- (includeDirs . libBuildInfo $ lib) ++ depIncludeDirs] + ["-c", getSymbolicPath src, "-o", dst] ++ ["-I" <> getSymbolicPath incDir | incDir <- (includeDirs . libBuildInfo $ lib) ++ map makeSymbolicPath depIncludeDirs] -- and now construct a canonical `.js_a` file, *if* we have any cSources we turned into objects. unless (null . cSources . libBuildInfo $ lib) $ do - let dstLib = (buildDir lbi) "libEMCC" <> (unPackageName . pkgName . package $ desc) <> ".js_a" + let dstLib = (getSymbolicPath (buildDir lbi)) "libEMCC" <> (unPackageName . pkgName . package $ desc) <> ".js_a" runDbProgram verbosity emarProgram (withPrograms lbi) $ - [ "-r", dstLib ] ++ [ (buildDir lbi) "emcc" (src -<.> "o") | src <- cSources . libBuildInfo $ lib ] + [ "-r", dstLib ] ++ [ getSymbolicPath (buildDir lbi) "emcc" (getSymbolicPath src -<.> "o") | src <- cSources . libBuildInfo $ lib ] - let expLib = (buildDir lbi) "libEMCC" <> (unPackageName . pkgName . package $ desc) <> ".exported.js_a" + let expLib = getSymbolicPath (buildDir lbi) "libEMCC" <> (unPackageName . pkgName . package $ desc) <> ".exported.js_a" writeFile expLib (unwords names) -- if there's no lib, this is a fairly pointless exercise @@ -87,7 +84,7 @@ linkCLib libname desc lbi = do libDirs = [ "-L" <> path | path <- concatMap IPI.libraryDirs (topologicalOrder $ installedPkgs lbi) ] let verbosity = verbose - libs <- filterM doesFileExist $ + libs0 <- filterM doesFileExist $ concatMap (\x -> [ libDir "libEMCC" <> (unPackageName . pkgName . sourcePackageId $ x) <> ".js_a" | libDir <- libraryDirs x ]) (topologicalOrder $ installedPkgs lbi) @@ -97,21 +94,21 @@ linkCLib libname desc lbi = do (topologicalOrder $ installedPkgs lbi) print exff exfns <- concat <$> forM exff (fmap words . readFile) - unless (null libs && null exfns) $ do - libs <- case libs of - [] -> do writeFile (buildDir lbi "emcc_linking_dummy.c") "" + unless (null libs0 && null exfns) $ do + libs1 <- case libs0 of + [] -> do writeFile (getSymbolicPath (buildDir lbi) "emcc_linking_dummy.c") "" runDbProgram verbosity gccProgram (withPrograms lbi) $ - ["-c", buildDir lbi "emcc_linking_dummy.c", "-o", buildDir lbi "emcc_linking_dummy.o"] - return [(buildDir lbi "emcc_linking_dummy.o")] - _ -> return libs + ["-c", getSymbolicPath (buildDir lbi) "emcc_linking_dummy.c", "-o", getSymbolicPath (buildDir lbi) "emcc_linking_dummy.o"] + return [(getSymbolicPath (buildDir lbi) "emcc_linking_dummy.o")] + _ -> return libs0 - let dst = if libname == "emcc" "lib.js" then buildDir lbi + let dst = if libname == "emcc" "lib.js" then getSymbolicPath (buildDir lbi) -- who designed this shit in cabal? else case comp of - (CTest test@(TestSuite { testInterface = TestSuiteLibV09 _ _ })) -> buildDir lbi stubName test stubName test ++ "-tmp" - (CTest test@(TestSuite { testInterface = TestSuiteExeV10 _ _ })) -> buildDir lbi unUnqualComponentName (testName test) unUnqualComponentName (testName test) ++ "-tmp" - (CExe exe) -> buildDir lbi unUnqualComponentName (exeName exe) unUnqualComponentName (exeName exe) ++ "-tmp" - _ -> componentBuildDir lbi clbi + (CTest test@(TestSuite { testInterface = TestSuiteLibV09 _ _ })) -> getSymbolicPath (buildDir lbi) stubName test stubName test ++ "-tmp" + (CTest test@(TestSuite { testInterface = TestSuiteExeV10 _ _ })) -> getSymbolicPath (buildDir lbi) unUnqualComponentName (testName test) unUnqualComponentName (testName test) ++ "-tmp" + (CExe exe) -> getSymbolicPath (buildDir lbi) unUnqualComponentName (exeName exe) unUnqualComponentName (exeName exe) ++ "-tmp" + _ -> getSymbolicPath (componentBuildDir lbi clbi) dst' = dst libname createDirectoryIfMissingVerbose verbosity True (takeDirectory dst') runDbProgram verbosity gccProgram (withPrograms lbi) $ @@ -123,13 +120,13 @@ linkCLib libname desc lbi = do , "-s", "EXPORTED_RUNTIME_METHODS=['printErr','addFunction','removeFunction','getTempRet0','setTempRet0']" -- , "-s", "EXPORTED_FUNCTIONS=[" <> intercalate ", " (map (\f -> "'" <> f <> "'") exfns) <> "]" - ] ++ libs ++ libDirs ++ extraLibs + ] ++ libs1 ++ libDirs ++ extraLibs postBuildHook :: Args -> BuildFlags -> PackageDescription -> LocalBuildInfo -> IO () -postBuildHook args flags desc lbi = do +postBuildHook _args flags desc lbi = do case (takeFileName . programPath <$> lookupProgram ghcProgram (withPrograms lbi)) of Just "js-unknown-ghcjs-ghc" -> - readBuildTargets silent desc (buildArgs flags) >>= \case + readBuildTargets silent desc (buildTargets flags) >>= \case [BuildTargetComponent (CLibName _)] -> print "OK. Lib (Build)" >> buildEMCCLib desc lbi [BuildTargetComponent (CExeName _)] -> print "OK. Exe" [BuildTargetComponent (CTestName _)] -> print "OK. Test" @@ -145,7 +142,7 @@ postConfHook args flags desc lbi = do -- this is technically only needed if the package uses TH somewhere. linkEMCCTHLib desc lbi -- only link the final lib if we want to produce an output. - readBuildTargets silent desc (configArgs flags) >>= \case + readBuildTargets silent desc (configureArgs False flags) >>= \case [BuildTargetComponent (CLibName _)] -> print "OK. Lib" >> postConf simpleUserHooks args flags desc lbi [BuildTargetComponent (CExeName _)] -> print "OK. Exe (Link)" >> linkEMCCLib desc lbi [BuildTargetComponent (CTestName _)] -> print "OK. Test (Link)" >> linkEMCCLib desc lbi @@ -182,11 +179,11 @@ emccBuildHook desc lbi hooks flags = do updateBench :: Benchmark -> Benchmark updateBench bench@Benchmark{ benchmarkBuildInfo = bi } = bench { benchmarkBuildInfo = bi { options = options bi <> extraOpts } } updatePackageDescription :: PackageDescription -> PackageDescription - updatePackageDescription desc = desc - { library = updateLibrary <$> library desc - , executables = updateExe <$> executables desc - , testSuites = updateTest <$> testSuites desc - , benchmarks = updateBench <$> benchmarks desc + updatePackageDescription desc' = desc' + { library = updateLibrary <$> library desc' + , executables = updateExe <$> executables desc' + , testSuites = updateTest <$> testSuites desc' + , benchmarks = updateBench <$> benchmarks desc' } -- @@ -197,7 +194,7 @@ emccBuildHook desc lbi hooks flags = do -- emccCopyHook :: PackageDescription -> LocalBuildInfo -> UserHooks -> CopyFlags -> IO () emccCopyHook desc lbi hooks flags = do - emccLibs <- filterM (\l -> doesFileExist (buildDir lbi "lib" <> l <> ".js_a")) + emccLibs <- filterM (\l -> doesFileExist (getSymbolicPath (buildDir lbi) "lib" <> l <> ".js_a")) [ "EMCC" <> (unPackageName . pkgName . package $ desc) , "EMCC" <> (unPackageName . pkgName . package $ desc) <> ".exported" ] print $ "EMCC extra lib files: " ++ intercalate ", " emccLibs @@ -205,16 +202,15 @@ emccCopyHook desc lbi hooks flags = do desc' = updatePackageDescription emccLibs desc copyHook simpleUserHooks desc' lbi' hooks flags where - emccLib = (buildDir lbi) "libEMCC" <> (unPackageName . pkgName . package $ desc) <> ".js_a" -- don't inject it for libraries, only for exe, test, bench. updateLibrary :: [String] -> Library -> Library updateLibrary extraLibs lib@Library{ libBuildInfo = bi } = lib { libBuildInfo = bi { extraBundledLibs = extraBundledLibs bi <> extraLibs } } updatePackageDescription :: [String] -> PackageDescription -> PackageDescription - updatePackageDescription extraLibs desc = desc { library = updateLibrary extraLibs <$> library desc } + updatePackageDescription extraLibs desc' = desc' { library = updateLibrary extraLibs <$> library desc' } emccRegHook :: PackageDescription -> LocalBuildInfo -> UserHooks -> RegisterFlags -> IO () emccRegHook desc lbi hooks flags = do - emccLibs <- filterM (\l -> doesFileExist (buildDir lbi "lib" <> l <> ".js_a")) + emccLibs <- filterM (\l -> doesFileExist (getSymbolicPath (buildDir lbi) "lib" <> l <> ".js_a")) [ "EMCC" <> (unPackageName . pkgName . package $ desc) , "EMCC" <> (unPackageName . pkgName . package $ desc) <> ".exported" ] print $ "EMCC extra lib files: " ++ intercalate ", " emccLibs @@ -222,16 +218,15 @@ emccRegHook desc lbi hooks flags = do desc' = updatePackageDescription emccLibs desc regHook simpleUserHooks desc' lbi' hooks flags where - emccLib = (buildDir lbi) "libEMCC" <> (unPackageName . pkgName . package $ desc) <> ".js_a" -- don't inject it for libraries, only for exe, test, bench. updateLibrary :: [String] -> Library -> Library updateLibrary extraLibs lib@Library{ libBuildInfo = bi } = lib { libBuildInfo = bi { extraBundledLibs = extraBundledLibs bi <> extraLibs } } updatePackageDescription :: [String] -> PackageDescription -> PackageDescription - updatePackageDescription extraLibs desc = desc { library = updateLibrary extraLibs <$> library desc } + updatePackageDescription extraLibs desc' = desc' { library = updateLibrary extraLibs <$> library desc' } emccUnregHook :: PackageDescription -> LocalBuildInfo -> UserHooks -> RegisterFlags -> IO () emccUnregHook desc lbi hooks flags = do - emccLibs <- filterM (\l -> doesFileExist (buildDir lbi "lib" <> l <> ".js_a")) + emccLibs <- filterM (\l -> doesFileExist (getSymbolicPath (buildDir lbi) "lib" <> l <> ".js_a")) [ "EMCC" <> (unPackageName . pkgName . package $ desc) , "EMCC" <> (unPackageName . pkgName . package $ desc) <> ".exported" ] print $ "EMCC extra lib files: " ++ intercalate ", " emccLibs @@ -239,12 +234,11 @@ emccUnregHook desc lbi hooks flags = do desc' = updatePackageDescription emccLibs desc unregHook simpleUserHooks desc' lbi' hooks flags where - emccLib = (buildDir lbi) "libEMCC" <> (unPackageName . pkgName . package $ desc) <> ".js_a" -- don't inject it for libraries, only for exe, test, bench. updateLibrary :: [String] -> Library -> Library updateLibrary extraLibs lib@Library{ libBuildInfo = bi } = lib { libBuildInfo = bi { extraBundledLibs = extraBundledLibs bi <> extraLibs } } updatePackageDescription :: [String] -> PackageDescription -> PackageDescription - updatePackageDescription extraLibs desc = desc { library = updateLibrary extraLibs <$> library desc } + updatePackageDescription extraLibs desc' = desc' { library = updateLibrary extraLibs <$> library desc' } -- -- Main -- diff --git a/nix-tools/nix-tools/truncate-index/Main.hs b/nix-tools/nix-tools/truncate-index/Main.hs index 3041b2480f..9a95207609 100644 --- a/nix-tools/nix-tools/truncate-index/Main.hs +++ b/nix-tools/nix-tools/truncate-index/Main.hs @@ -3,33 +3,27 @@ module Main (main) where -import Data.Maybe import Data.Time.Clock -import Data.Time.Format import Data.Time.Clock.POSIX +import Data.Time.Format.ISO8601 import Codec.Archive.Tar as Tar import Codec.Archive.Tar.Entry as Tar import Data.ByteString.Lazy as BS hiding (filter) import Codec.Compression.GZip as GZip import Options.Applicative hiding (option) -import Data.Semigroup ((<>)) +import Options.Applicative --- | Parse a hackage index state like "2019-01-01T12:00:00Z" -parseIndexState :: String -> Maybe UTCTime -parseIndexState = parseTimeM True defaultTimeLocale (iso8601DateFormat (Just "%T%Z")) - --- | Convert the standard 'UTCTime' type into the 'EpochTime' used by the @tar@ --- library. +-- | Convert the standard 'UTCTime' type into the 'EpochTime' used by the @tar@ library. toEpochTime :: UTCTime -> EpochTime toEpochTime = floor . utcTimeToPOSIXSeconds -- | Filter Haskell Index -filterHaskellIndex :: FilePath -> String -> FilePath -> IO () +filterHaskellIndex :: FilePath -> UTCTime -> FilePath -> IO () filterHaskellIndex orig indexState out = BS.writeFile out . nukeHeaderOS . GZip.compress . Tar.write . f . Tar.read . GZip.decompress =<< BS.readFile orig where f = filter ((<= ts) . Tar.entryTime) . toList - ts = toEpochTime . fromJust . parseIndexState $ indexState + ts = toEpochTime indexState -- gzip headers containt he OS, but we want a stable hash. -- 0xff is unknown OS. http://www.zlib.org/rfc-gzip.html nukeHeaderOS :: BS.ByteString -> BS.ByteString @@ -46,14 +40,14 @@ toList (Fail e) = error (show e) data Args = Args { argOutput :: FilePath , argInput :: FilePath - , argIndexState :: String + , argIndexState :: UTCTime } deriving Show args :: Parser Args args = Args <$> strOption ( long "output" <> short 'o' <> value "00-index.tar.gz" <> showDefault <> metavar "FILE" <> help "The output index" ) <*> strOption ( long "input" <> short 'i' <> value "01-index.tar.gz" <> showDefault <> metavar "FILE" <> help "The input index" ) - <*> strOption ( long "indexState" <> short 's' <> metavar "INDEX" <> help "Index State ( YYYY-MM-DDTHH:MM:SSZ )" ) + <*> option (maybeReader iso8601ParseM) ( long "indexState" <> short 's' <> metavar "INDEX" <> help "Index State ( YYYY-MM-DDTHH:MM:SSZ )" ) main :: IO () main = execParser opts >>= \Args{..} -> filterHaskellIndex argInput argIndexState argOutput diff --git a/nix-tools/overlay.nix b/nix-tools/overlay.nix index dd915b6f48..7317ea352c 100644 --- a/nix-tools/overlay.nix +++ b/nix-tools/overlay.nix @@ -9,6 +9,10 @@ let nix-tools-unchecked = nix-tools-set {}; + nix-tools-eval-on-linux = nix-tools-set { + evalSystem = builtins.currentSystem or "x86_64-linux"; + }; + nix-tools-set = args: let project = final.haskell-nix.cabalProject' @@ -23,8 +27,6 @@ let # tests need to fetch hackage configureArgs = final.lib.mkDefault "--disable-tests"; - evalPackages = final.buildPackages; - # Tools to include in the development shell shell.tools.cabal = "latest"; } @@ -83,5 +85,5 @@ let toolset // warning; in { - inherit nix-tools nix-tools-unchecked nix-tools-set; + inherit nix-tools nix-tools-unchecked nix-tools-eval-on-linux nix-tools-set; } diff --git a/nix-tools/static/packaging.nix b/nix-tools/static/packaging.nix index 0eb446d909..d6d7d25d8e 100644 --- a/nix-tools/static/packaging.nix +++ b/nix-tools/static/packaging.nix @@ -28,12 +28,13 @@ let text = '' for nixlib in $(otool -L "$1" |awk '/nix\/store/{ print $1 }'); do case "$nixlib" in - *libiconv.dylib) install_name_tool -change "$nixlib" /usr/lib/libiconv.dylib "$1" ;; + *libiconv.dylib) install_name_tool -change "$nixlib" /usr/lib/libiconv.dylib "$1" ;; *libiconv.2.dylib) install_name_tool -change "$nixlib" /usr/lib/libiconv.2.dylib "$1" ;; - *libffi.*.dylib) install_name_tool -change "$nixlib" /usr/lib/libffi.dylib "$1" ;; - *libc++.*.dylib) install_name_tool -change "$nixlib" /usr/lib/libc++.dylib "$1" ;; - *libz.dylib) install_name_tool -change "$nixlib" /usr/lib/libz.dylib "$1" ;; - *libresolv.*.dylib) install_name_tool -change "$nixlib" /usr/lib/libresolv.dylib "$1" ;; + *libffi.*.dylib) install_name_tool -change "$nixlib" /usr/lib/libffi.dylib "$1" ;; + *libc++.*.dylib) install_name_tool -change "$nixlib" /usr/lib/libc++.dylib "$1" ;; + *libc++abi.*.dylib) install_name_tool -change "$nixlib" /usr/lib/libc++abi.dylib "$1" ;; + *libz.dylib) install_name_tool -change "$nixlib" /usr/lib/libz.dylib "$1" ;; + *libresolv.*.dylib) install_name_tool -change "$nixlib" /usr/lib/libresolv.dylib "$1" ;; *) ;; esac done diff --git a/nix-tools/static/project.nix b/nix-tools/static/project.nix index e7ed7832e7..4202cc5e17 100644 --- a/nix-tools/static/project.nix +++ b/nix-tools/static/project.nix @@ -64,7 +64,7 @@ let static-nix-tools-project = pkgs.haskell-nix.project' { - compiler-nix-name = "ghc928"; + compiler-nix-name = "ghc96"; src = ../.; diff --git a/overlays/android.nix b/overlays/android.nix index 57720c1c51..46b460e7d9 100644 --- a/overlays/android.nix +++ b/overlays/android.nix @@ -1,4 +1,21 @@ -_final: prev: prev.lib.optionalAttrs prev.stdenv.hostPlatform.isAndroid ({ +final: prev: { + # Use android SDK version 26 + lib = prev.lib // { + systems = prev.lib.systems // { + examples = prev.lib.systems.examples // { + aarch64-android = prev.lib.systems.examples.aarch64-android // { + androidSdkVersion = "269"; + androidNdkVersion = "24"; + }; + armv7a-android-prebuilt = prev.lib.systems.examples.armv7a-android-prebuilt // { + androidSdkVersion = "26"; + androidNdkVersion = "24"; + }; + }; + }; + }; +} // prev.lib.optionalAttrs prev.stdenv.hostPlatform.isAndroid ({ + # we really only want the static one. libiconv = (prev.libiconv.override { enableStatic = true; enableShared = false; }).overrideAttrs(_: { hardeningDisable = [ "fortify" "stackprotector" "format" ]; @@ -11,18 +28,47 @@ _final: prev: prev.lib.optionalAttrs prev.stdenv.hostPlatform.isAndroid ({ ''; # my current thinking is that this is due to the android toolchain using r23, api30. }); - libffi = prev.libffi.overrideAttrs (_: { + libffi = prev.libffi.overrideAttrs ( old: { dontDisableStatic = true; + configureFlags = old.configureFlags ++ [ "--disable-shared" ]; hardeningDisable = [ "fortify" "stackprotector" "format" ]; + } // prev.lib.optionalAttrs (prev.stdenv.hostPlatform.isAarch32 || prev.stdenv.hostPlatform.isAarch64) { # see libiconv. We want to target a lower minsdk postConfigure = '' - echo "#undef HAVE_MEMFD_CREATE" >> aarch64-unknown-linux-android/fficonfig.h + echo "#undef HAVE_MEMFD_CREATE" >> ${prev.stdenv.hostPlatform.config}/fficonfig.h ''; }); - gmp6 = (prev.gmp6.override { withStatic = true; }).overrideAttrs(_: { + gmp6 = (prev.gmp6.override { withStatic = true; }).overrideAttrs(old: { hardeningDisable = [ "fortify" "stackprotector" "format" ]; + configureFlags = old.configureFlags ++ [ "--disable-shared" ]; }); + zlib = prev.zlib.override { shared = false; static = true; }; + # kernel tls (ktls) doesn't work with the android kernel. And will complain + # about lots of implicitly declared functions and undeclared identifiers, + # because the android (linux) kernel doesn't expose those. + openssl = prev.openssl.override { static = true; enableKTLS = false; }; + }) // prev.lib.optionalAttrs (prev.stdenv.targetPlatform.isAndroid && (!prev.stdenv.hostPlatform.useAndroidPrebuilt)) ({ - bionic = prev.bionic.override { enableStatic = true; }; -}) + # we still need the shared libraries to link against on the platform. GHC + # has been neutered to not even try loading shared libs and will use dynamic ones. + # We also link iserv against the static libs, so that we have a fully static + # android (bionic/linux) iserv we can execute on glibc/linux. + bionic = prev.bionic.override { enableStatic = true; enableShared = true; }; +}) // +# See https://github.com/NixOS/nixpkgs/pull/385722 +builtins.mapAttrs (name: ndkPkg: ndkPkg // { + clang = ndkPkg.clang.override (oldAttrs: prev.lib.optionalAttrs (oldAttrs ? extraBuildCommands) { + extraBuildCommands = builtins.replaceStrings ["-target arm-linux-androideabi"] ["-target armv7a-linux-androideabi"] oldAttrs.extraBuildCommands; + }); +}) { + inherit (prev) + androidndkPkgs + androidndkPkgs_21 + androidndkPkgs_23 + androidndkPkgs_23b + androidndkPkgs_24 + androidndkPkgs_25 + androidndkPkgs_26 + androidndkPkgs_30; +} diff --git a/overlays/armv6l-linux.nix b/overlays/armv6l-linux.nix index f093753c99..96ebbd0c6f 100644 --- a/overlays/armv6l-linux.nix +++ b/overlays/armv6l-linux.nix @@ -1,42 +1,44 @@ final: prev: +let + isLinuxCross = + prev.haskell-nix.haskellLib.isCrossHost + && prev.hostPlatform.isLinux + && (prev.hostPlatform.isAarch32 + || prev.hostPlatform.isAarch64 + || prev.hostPlatform.isi686); + +in { - haskell-nix = prev.haskell-nix // ({ + haskell-nix = prev.haskell-nix // final.lib.optionalAttrs isLinuxCross ({ + templateHaskell = builtins.mapAttrs (_compiler-nix-name: iserv-proxy-exes: + import ./linux-cross.nix { + inherit (final.stdenv) hostPlatform buildPlatform; + inherit (final) stdenv lib; + inherit (final.pkgsBuildBuild) writeShellScriptBin symlinkJoin; + inherit (final.haskell-nix) haskellLib; + qemu = final.pkgsBuildBuild.qemu; + inherit (final) gmp; + inherit (iserv-proxy-exes) iserv-proxy iserv-proxy-interpreter iserv-proxy-interpreter-prof; + }) final.haskell-nix.iserv-proxy-exes; defaultModules = prev.haskell-nix.defaultModules ++ [ ({ pkgs, buildModules, config, lib, ... }: let - withTH = import ./linux-cross.nix { - inherit (pkgs.stdenv) hostPlatform buildPlatform; - inherit (pkgs) stdenv lib; - inherit (pkgs.pkgsBuildBuild) writeShellScriptBin symlinkJoin; - inherit (pkgs.haskell-nix) haskellLib; - # qemu for linux - # Using `buildPackages.buildPackages` here fixes `python3Packages.pygobject3` issue. - qemu = pkgs.buildPackages.buildPackages.qemu; - -# wine = pkgs.buildPackages.winePackages.minimal; -# inherit (pkgs.windows) mingw_w64_pthreads; - inherit (pkgs) gmp; - # iserv-proxy needs to come from the buildPackages, as it needs to run on the - # build host. - inherit (final.haskell-nix.iserv-proxy-exes.${config.compiler.nix-name}) iserv-proxy iserv-proxy-interpreter; - } // { - # we can perform testing of cross compiled test-suites by using wine. - # Therefore let's enable doCrossCheck here! - doCrossCheck = pkgs.stdenv.hostPlatform.isWindows; - }; + withTH = final.haskell-nix.templateHaskell.${config.compiler.nix-name}; in prev.haskell-nix.haskellLib.addPackageKeys { + inherit (withTH) configureFlags testWrapper; + + setupBuildFlags = map (opt: "--ghc-option=" + opt) withTH.ghcOptions + ++ lib.optionals pkgs.stdenv.hostPlatform.isAarch32 (map (opt: "--gcc-option=" + opt) [ "-fno-pic" "-fno-plt" ]) + # Also for GHC #15275 + ++ lib.optionals pkgs.stdenv.hostPlatform.isAarch64 ["--gcc-option=-fPIC"]; + + enableShared = lib.mkDefault false; + + doCrossCheck = true; + packages = { # clock 0.7.2 needs to be patched to support cross compilation. clock.patches = pkgs.lib.optionals pkgs.stdenv.hostPlatform.isAarch32 [ ({ version }: (if version == "0.7.2" then ./patches/clock-0.7.2.patch else null)) ]; - # nix calls this package crypto - # cryptonite-openssl.patches = pkgs.lib.optionals pkgs.stdenv.hostPlatform.isWindows [ ({ version }: if version == "0.7" then ./patches/cryptonite-openssl-0.7.patch else null) ]; - - # http-client.patches = pkgs.lib.optionals pkgs.stdenv.hostPlatform.isWindows [ ({ version }: if version == "0.5.14" then ./patches/http-client-0.5.14.patch else null) ]; - - # conduit.patches = pkgs.lib.optionals pkgs.stdenv.hostPlatform.isWindows [ ({ version }: if builtins.compareVersions version "1.3.1.1" < 0 then ./patches/conduit-1.3.0.2.patch else null) ]; - # streaming-commons.patches = pkgs.lib.optionals pkgs.stdenv.hostPlatform.isWindows [ ./patches/streaming-commons-0.2.0.0.patch ]; - # x509-system.patches = pkgs.lib.optionals pkgs.stdenv.hostPlatform.isWindows [ ./patches/x509-system-1.6.6.patch ]; - # file-embed-lzma.patches = pkgs.lib.optionals pkgs.stdenv.hostPlatform.isWindows [ ./patches/file-embed-lzma-0.patch ]; # Set all of these to [], as these form the # dependency graph of the libiserv, iserv-proxy, and iserv-remote @@ -59,7 +61,7 @@ final: prev: network.setupBuildFlags = []; unix.setupBuildFlags = []; }; - }// withTH + } ) ]; }); diff --git a/overlays/bootstrap.nix b/overlays/bootstrap.nix index 0125b188f6..2da240b20f 100644 --- a/overlays/bootstrap.nix +++ b/overlays/bootstrap.nix @@ -1,17 +1,23 @@ final: prev: let - buildBootstrapper.compilerNixName = "ghc8107"; + buildBootstrapper.compilerNixName = + if final.buildPackages.haskell.compiler ? ghc967 then "ghc967" + else if final.buildPackages.haskell.compiler ? ghc964 then "ghc964" + else "ghc8107"; latestVerMap = { "8.10" = "8.10.7"; "9.0" = "9.0.2"; "9.2" = "9.2.8"; "9.4" = "9.4.8"; - "9.6" = "9.6.6"; - "9.8" = "9.8.2"; - "9.10" = "9.10.1"; + "9.6" = "9.6.7"; + "9.8" = "9.8.4"; + "9.10" = "9.10.2"; + "9.12" = "9.12.2"; }; gitInputs = { - ghc911 = "9.11"; + ghc96X = "9.6.7"; + ghc912X = "9.12.1"; + ghc913 = "9.13"; }; versionToNixName = v: "ghc${builtins.replaceStrings ["."] [""] v}"; compilerNameMap = @@ -23,10 +29,10 @@ let (builtins.attrNames latestVerMap)); traceWarnOld = v: x: let - bootstrapGhc = final.buildPackages.haskell-nix.bootstrap.compiler."${buildBootstrapper.compilerNixName}"; + oldVersion = "9.6"; in - if builtins.compareVersions x.version bootstrapGhc.version < 0 then - throw "Desired GHC (${x.version}) is older than the bootstrap GHC (${bootstrapGhc.version}) for this platform (${final.stdenv.targetPlatform.config})." + if builtins.compareVersions x.version oldVersion < 0 then + throw "Desired GHC (${x.version}) is older than the oldest GHC haskell.nix might work with (GHC ${oldVersion})." else x // final.lib.optionalAttrs (x.version != latestVerMap.${v}) { latestVersion = latestVerMap.${v}; }; errorOldGhcjs = v: up: throw "ghcjs ${v} is no longer supported by haskell.nix. Consider using ${latestVerMap.${up}}"; in { @@ -43,18 +49,23 @@ in { ghc = final.buildPackages.buildPackages.haskell-nix.bootstrap.compiler."${buildBootstrapper.compilerNixName}"; inherit (final.haskell-nix.bootstrap.packages) alex happy hscolour; }; + # ghc 9.0.2 is no longer cached for nixpkgs-unstable and it seems to be broken + nixpkgsBootCompiler = + if final.buildPackages.haskell.compiler ? ghc967 then "ghc967" + else if final.buildPackages.haskell.compiler ? ghc964 then "ghc964" + else "ghc902"; bootPkgsGhc94 = bootPkgs // { - alex = final.buildPackages.haskell-nix.tool "ghc902" "alex" { + alex = final.buildPackages.haskell-nix.tool nixpkgsBootCompiler "alex" { compilerSelection = p: p.haskell.compiler; version = "3.2.7.1"; index-state = final.haskell-nix.internalHackageIndexState; - materialized = ../materialized/alex-3.2.7.1; + materialized = ../materialized/alex-3.2.7.1/${nixpkgsBootCompiler}; }; - happy = final.buildPackages.haskell-nix.tool "ghc902" "happy" { + happy = final.buildPackages.haskell-nix.tool nixpkgsBootCompiler "happy" { compilerSelection = p: p.haskell.compiler; version = "1.20.0"; index-state = final.haskell-nix.internalHackageIndexState; - materialized = ../materialized/happy-1.20.0; + materialized = ../materialized/happy-1.20.0/${nixpkgsBootCompiler}; }; }; sphinx = final.buildPackages.sphinx; @@ -68,16 +79,19 @@ in { from = start: final.lib.optional (versionAtLeast start); until = end: final.lib.optional (versionLessThan end); always = final.lib.optional true; - onDarwin = final.lib.optionals final.stdenv.targetPlatform.isDarwin; + onDarwin = final.lib.optionals final.stdenv.targetPlatform.isDarwin; onMusl = final.lib.optionals final.stdenv.targetPlatform.isMusl; onWindows = final.lib.optionals final.stdenv.targetPlatform.isWindows; onWindowsOrMusl = final.lib.optionals (final.stdenv.targetPlatform.isWindows || final.stdenv.targetPlatform.isMusl); + onAarch32 = final.lib.optionals final.stdenv.targetPlatform.isAarch32; onAarch64 = final.lib.optionals final.stdenv.targetPlatform.isAarch64; onAarch64Musl = final.lib.optionals (final.stdenv.targetPlatform.isAarch64 && final.stdenv.targetPlatform.isMusl); onAndroid = final.lib.optionals final.stdenv.targetPlatform.isAndroid; onNative = final.lib.optionals (final.stdenv.buildPlatform == final.stdenv.targetPlatform); onCross = final.lib.optionals (final.stdenv.targetPlatform != final.stdenv.hostPlatform); onGhcjs = final.lib.optionals final.stdenv.targetPlatform.isGhcjs; + onWasm = final.lib.optionals final.stdenv.targetPlatform.isWasm; + on32bit = final.lib.optionals final.stdenv.targetPlatform.is32bit; # Try to avoid reordering the patches unless a patch is added or changed that # will be applied to most versions of the GHC anyway (reordering the patches # results in rebuilds of GHC and reduces sharing in /nix/store). @@ -92,8 +106,8 @@ in { ++ onDarwin (until "9.0.2" ./patches/ghc/ghc-8.10-darwin-gcc-version-fix.patch) # See https://github.com/input-output-hk/haskell.nix/issues/1027 + ++ onAarch32 (until "9.2" ./patches/ghc/ghc-8.10-3434-armv7a.patch) ++ onAarch64 (until "9.2" ./patches/ghc/ghc-8.10-3434.patch) - ++ onAarch64 (fromUntil "9.2.1" "9.4" ./patches/ghc/ghc-9.2-3434.patch) ++ until "9.4" ./patches/ghc/ghc-acrt-iob-func.patch ++ until "9.2" ./patches/ghc/ghc-mprotect-nonzero-len.patch @@ -119,14 +133,16 @@ in { ++ until "9.2" ./patches/ghc/issue-18708.patch # https://gitlab.haskell.org/ghc/ghc/-/merge_requests/6554 ++ fromUntil "9.2.2" "9.4" ./patches/ghc/ghc-9.2.2-fix-warnings-building-with-self.patch # https://gitlab.haskell.org/ghc/ghc/-/commit/c41c478eb9003eaa9fc8081a0039652448124f5d ++ until "9.6" ./patches/ghc/ghc-hpc-response-files.patch # https://gitlab.haskell.org/ghc/ghc/-/merge_requests/8194 - ++ fromUntil "9.2" "9.12" ./patches/ghc/sanity-check-find-file-name.patch + ++ fromUntil "9.2" "9.14" ./patches/ghc/sanity-check-find-file-name.patch ++ until "9.0" ./patches/ghc/dont-mark-evacuate_large-as-inline.patch ++ onWindows (fromUntil "9.4.1" "9.4.5" ./patches/ghc/ghc-9.4-hadrian-win-cross.patch) ++ onWindows (fromUntil "9.4.7" "9.4.9" ./patches/ghc/ghc-9.8-hadrian-win-cross.patch) ++ onWindows (fromUntil "9.6.3" "9.11" ./patches/ghc/ghc-9.8-hadrian-win-cross.patch) # support R_X86_64_PC64 (ELF constant 24) - IMAGE_REL_AMD64_SREL32 (PE constant 14), which seems to appear with 9.6 more frequently, and # results in "unhandled PEi386 relocation type 14". - ++ onWindows (fromUntil "9.4.1" "9.11" ./patches/ghc/win-reloc-x86_64-pc64.patch) + ++ onWindows (fromUntil "9.4.1" "9.6.7" ./patches/ghc/win-reloc-x86_64-pc64.patch) + ++ onWindows (fromUntil "9.8.1" "9.8.3" ./patches/ghc/win-reloc-x86_64-pc64.patch) + ++ onWindows (fromUntil "9.10" "9.10.2" ./patches/ghc/win-reloc-x86_64-pc64.patch) # ++ onWindows (fromUntil "9.4.1" "9.10" ./patches/ghc/Win32-depends-on-mingwex.patch) # if the host system provides ucrt (e.g. wine with ucrtbase.dll), we may end up linking against symbols from ucrtbase, instead of msvcrt, # thus leading to broken code. E.g. the handles we create and hand to wine will all be busted, because they come from one and are processed @@ -155,19 +171,22 @@ in { ++ onWindows (fromUntil "9.8.1" "9.8.2" ./patches/ghc/win-linker-no-null-deref-9.6.patch) ++ onWindows (until "9.0" ./patches/ghc/ghc-8.10-windres-invocation.patch) ++ onWindows (fromUntil "9.0" "9.4" ./patches/ghc/ghc-9.0-windres-invocation.patch) + ++ onWindows (from "9.12" ./patches/ghc/ghc-9.12-windows-rts-symbols.patch) ++ fromUntil "9.4.5" "9.4.9" ./patches/ghc/ghc-9.4.5-include-order-fix.patch - ++ fromUntil "9.6.2" "9.8" ./patches/ghc/ghc-9.4.5-include-order-fix.patch - ++ fromUntil "9.6.1" "9.9.20231203" ./patches/ghc/MR10116.patch + ++ fromUntil "9.6.2" "9.6.7" ./patches/ghc/ghc-9.4.5-include-order-fix.patch + ++ fromUntil "9.6.1" "9.6.7" ./patches/ghc/MR10116.patch + ++ fromUntil "9.8.1" "9.9.20231203" ./patches/ghc/MR10116.patch ++ onNative (fromUntil "9.4.1" "9.6" ./patches/ghc/hadrian-build-deriveConstants-genprimopcode-ghc94.patch) - ++ onNative (fromUntil "9.6.1" "9.12" ./patches/ghc/hadrian-build-deriveConstants-genprimopcode.patch) + ++ onNative (fromUntil "9.6.1" "9.14" ./patches/ghc/hadrian-build-deriveConstants-genprimopcode.patch) ++ onGhcjs (fromUntil "9.6.1" "9.6.3" ./patches/ghc/ghc-9.6-Merge-libiserv-with-ghci.patch) ++ onGhcjs (fromUntil "9.6.3" "9.8" ./patches/ghc/ghc-9.6.3-Merge-libiserv-with-ghci.patch) ++ onGhcjs (fromUntil "9.6.1" "9.8" ./patches/ghc/ghc-9.6-Assorted-changes-to-avoid-head-tail.patch) ++ onGhcjs (fromUntil "9.6.1" "9.6.3" ./patches/ghc/ghc-9.6-JS-implement-TH-support.patch) - ++ onGhcjs (fromUntil "9.6.3" "9.8" ./patches/ghc/ghc-9.6.3-JS-implement-TH-support.patch) + ++ onGhcjs (fromUntil "9.6.3" "9.6.7" ./patches/ghc/ghc-9.6.3-JS-implement-TH-support.patch) + ++ onGhcjs (fromUntil "9.6.7" "9.8" ./patches/ghc/ghc-9.6.7-JS-implement-TH-support.patch) ++ fromUntil "9.8.1" "9.8.2" ./patches/ghc/ghc-9.8-cabal-c-soures-fix.patch ++ fromUntil "9.6.3" "9.6.5" ./patches/ghc/ghc-9.6.3-Cabal-9384.patch - ++ fromUntil "9.8.1" "9.9" ./patches/ghc/ghc-9.6.3-Cabal-9384.patch + ++ fromUntil "9.8.1" "9.8.3" ./patches/ghc/ghc-9.6.3-Cabal-9384.patch # the following is a partial reversal of https://gitlab.haskell.org/ghc/ghc/-/merge_requests/4391, to address haskell.nix#1227 ++ onAarch64 (until "9.0" ./patches/ghc/mmap-next.patch) @@ -176,15 +195,20 @@ in { ++ onAndroid (until "9.0" ./patches/ghc/stack-protector-symbols.patch) ++ onAndroid (until "9.0" ./patches/ghc/libraries-prim-os-android.patch) ++ onAndroid (until "9.0" ./patches/ghc/ghc-rts-linker-condbr.patch) - ++ onAndroid (until "9.0" ./patches/ghc/ghc-8.10.7-linker-weak-and-common.patch) - ++ onAndroid (until "9.0" ./patches/ghc/libc-memory-symbols.patch) + # due to mmap-next renaming we need different ones for aarch64 and aarch32 m( + ++ onAndroid (onAarch32 (until "9.0" ./patches/ghc/ghc-8.10.7-linker-weak-and-common-armv7a.patch)) + ++ onAndroid (onAarch64 (until "9.0" ./patches/ghc/ghc-8.10.7-linker-weak-and-common.patch)) + ++ onAndroid (onAarch32 (until "9.0" ./patches/ghc/libc-memory-symbols-armv7a.patch)) + ++ onAndroid (onAarch64 (until "9.0" ./patches/ghc/libc-memory-symbols.patch)) ++ onAndroid (until "9.0" ./patches/ghc/android-base-needs-iconv.patch) ++ onCross (until "9.4" ./patches/ghc/ghc-make-stage-1-lib-ghc.patch) ++ onAarch64 (until "9.0" ./patches/ghc/ghc-8.10-better-symbol-addr-debug.patch) ++ onAarch64 (until "9.0" ./patches/ghc/ghc-8.10-aarch64-handle-none-rela.patch) ++ onWindows (until "9.0" ./patches/ghc/5b08e0c06e038448a63aa9bd7f163b23d824ba4b.patch) ++ onAarch64 (fromUntil "9.0" "9.11" ./patches/ghc/ghc-9.0-better-symbol-addr-debug.patch) - ++ onAarch64 (fromUntil "9.0" "9.11" ./patches/ghc/ghc-9.0-aarch64-handle-none-rela.patch) + ++ onAarch64 (fromUntil "9.0" "9.6.7" ./patches/ghc/ghc-9.0-aarch64-handle-none-rela.patch) + ++ onAarch64 (fromUntil "9.8" "9.8.3" ./patches/ghc/ghc-9.0-aarch64-handle-none-rela.patch) + ++ onAarch64 (fromUntil "9.10" "9.10.2" ./patches/ghc/ghc-9.0-aarch64-handle-none-rela.patch) ++ onWindows (fromUntil "9.6.3" "9.6.4" ./patches/ghc/ghc-9.6-hadrian-splitsections.patch) ++ onWindows (fromUntil "9.8.1" "9.8.2" ./patches/ghc/ghc-9.6-hadrian-splitsections.patch) @@ -196,6 +220,7 @@ in { ++ onWindows (fromUntil "9.8" "9.8.2" ./patches/ghc/ghc-9.6-fix-code-symbol-jumps.patch) # this one is to allow linking extra symbols from iserv. # ++ fromUntil "9.6.1" "9.10" ./patches/ghc/iserv-syms.patch + ++ on32bit (fromUntil "9.6" "9.6.5" ./patches/ghc/ghc-9.6-genapply-cross-arch.patch) # Fix the bad fixups: https://gitlab.haskell.org/ghc/ghc/-/commit/2adc050857a9c1b992040fbfd55fbe65b2851b19 ++ onAarch64 (fromUntil "9.6" "9.6.4" ./patches/ghc/2adc050857a9c1b992040fbfd55fbe65b2851b19.patch) @@ -208,46 +233,85 @@ in { # This one will lead to segv's on darwin, when calling `strlen` during lookupStrHashTable. `strlen` ends up being called with 0x0. # This patch will allow adding additional symbols to iserv, instead of having to patch them into GHC all the time. ++ final.lib.optionals ( - final.stdenv.targetPlatform != final.stdenv.hostPlatform - && (final.stdenv.targetPlatform.isAndroid || final.stdenv.targetPlatform.isLinux) - && (final.stdenv.targetPlatform.isAarch64 || final.stdenv.targetPlatform.is32bit)) + final.stdenv.targetPlatform.isWindows || + ( (final.stdenv.targetPlatform.isAndroid || final.stdenv.targetPlatform.isLinux) + && (final.stdenv.targetPlatform.isAarch64 || final.stdenv.targetPlatform.is32bit))) (fromUntil "9.6.1" "9.11" ./patches/ghc/iserv-syms.patch) + ++ onAndroid (until "9.0" ./patches/ghc/ghc-8.10.7-weak-symbols-2.patch) + ++ onDarwin (onAarch64 (until "9.0" ./patches/ghc/ghc-8.10.7-rts-aarch64-darwin.patch)) + ++ onAndroid (onAarch32 (until "9.2" ./patches/ghc/ghc-8.10-android.patch)) + ++ onAndroid (onAarch32 (until "9.2" ./patches/ghc/ghc-8.10.7-android-bionic-symbols.patch)) + ++ onAndroid (onAarch32 (until "9.2" ./patches/ghc/ghc-8.10.7-bionic-libc.patch)) + ++ onAndroid (onAarch32 (until "9.2" ./patches/ghc/ghc-8.10.7-cross-dont-build-stage2-tools.patch)) + ++ onAndroid (fromUntil "9.0" "9.10" ./patches/ghc/ghc-9.6-hadrian-android.patch) + ++ onAndroid (from "9.10" ./patches/ghc/ghc-9.10-hadrian-android.patch) + ++ onAndroid (fromUntil "9.10" "9.11" ./patches/ghc/ghc-9.10-relax-llvm-max-version.patch) + ++ onAndroid (from "9.12" ./patches/ghc/ghc-define-undefined-elf-st-visibility.patch) + ++ onMusl (onAarch64 (fromUntil "9.4" "9.8" ./patches/ghc/ghc-9.6-hadrian-strip-cmd.patch)) + ++ onMusl (onAarch64 (fromUntil "9.8" "9.10" ./patches/ghc/ghc-9.8-hadrian-strip-cmd.patch)) + ++ onMusl (onAarch64 (fromUntil "9.10" "9.12" ./patches/ghc/ghc-9.10-hadrian-strip-cmd.patch)) + ++ on32bit (fromUntil "9.0" "9.4.8" ./patches/ghc/ghc-9.6-32bit-cmm.patch) + ++ on32bit (fromUntil "9.6" "9.6.4" ./patches/ghc/ghc-9.6-32bit-cmm.patch) + ++ onAndroid (fromUntil "9.6.3" "9.8.3" ./patches/ghc/ghc-9.6-iog.patch) + ++ onAndroid (fromUntil "9.8.3" "9.10" ./patches/ghc/ghc-9.8.3-iog.patch) + ++ onAndroid (fromUntil "9.6" "9.9" ./patches/ghc/ghc-9.6-debug-secno.patch) + ++ onAndroid (from "9.8.1" ./patches/ghc/ghc-9.8-android-convert-os.patch) # Allow loading static external plugins into cross compilers - ++ onCross (fromUntil "9.6.1" "9.11" ./patches/ghc/5c80a27488acfe3610ddfcb99a1e961002e386d0.patch) - ++ onCross (fromUntil "9.6.1" "9.11" ./patches/ghc/f8beb54a1d5725bd0d8a4b0a909d1b41d742b50b.patch) + ++ onCross (fromUntil "9.6.1" "9.11" ./patches/ghc/5c80a27488acfe3610ddfcb99a1e961002e386d0.patch) + ++ onCross (fromUntil "9.6.1" "9.8.3" ./patches/ghc/f8beb54a1d5725bd0d8a4b0a909d1b41d742b50b.patch) + ++ onCross (fromUntil "9.8.3" "9.10" ./patches/ghc/ghc-9.8.3-f8beb54a1d5725bd0d8a4b0a909d1b41d742b50b.patch) + ++ onCross (fromUntil "9.10" "9.10.2" ./patches/ghc/f8beb54a1d5725bd0d8a4b0a909d1b41d742b50b.patch) + ++ onCross (fromUntil "9.10.2" "9.11" ./patches/ghc/ghc-9.8.3-f8beb54a1d5725bd0d8a4b0a909d1b41d742b50b.patch) ++ final.lib.optionals ( final.stdenv.targetPlatform.isAndroid && final.stdenv.targetPlatform.is32bit || final.stdenv.targetPlatform.isMusl) (until "9.11" ./patches/ghc/ghc-9.6-missing-symbols-deadbeef.patch) - ++ onAarch64Musl (fromUntil "9.6" "9.11" ./patches/ghc/ghc-9.6-linker-pool-allocator.patch) - ++ onAarch64Musl (fromUntil "9.6" "9.11" ./patches/ghc/ghc-9.6-linker-pool-allocator-2.patch) + ++ onAarch64Musl (fromUntil "9.6" "9.6.7" ./patches/ghc/ghc-9.6-linker-pool-allocator.patch) + ++ onAarch64Musl (fromUntil "9.8" "9.8.3" ./patches/ghc/ghc-9.6-linker-pool-allocator.patch) + ++ onAarch64Musl (fromUntil "9.10" "9.10.2" ./patches/ghc/ghc-9.6-linker-pool-allocator.patch) + ++ onAarch64Musl (fromUntil "9.6" "9.6.7" ./patches/ghc/ghc-9.6-linker-pool-allocator-2.patch) + ++ onAarch64Musl (fromUntil "9.8" "9.8.3" ./patches/ghc/ghc-9.6-linker-pool-allocator-2.patch) + ++ onAarch64Musl (fromUntil "9.10" "9.10.2" ./patches/ghc/ghc-9.6-linker-pool-allocator-2.patch) ++ onMusl (fromUntil "9.6" "9.8" ./patches/ghc/ghc-9.6-0001-Refactor-IServ.hs.patch) - ++ onMusl (fromUntil "9.6" "9.11" ./patches/ghc/ghc-9.6-0002-Drop-spurious-8-byte-offset-from-elf_plt.patch) - ++ onAarch64Musl (fromUntil "9.6" "9.11" ./patches/ghc/ghc-9.6-0003-Better-pool-alignment.-We-still-hardcode-section-ali.patch) - ++ onAarch64Musl (fromUntil "9.6" "9.11" ./patches/ghc/ghc-9.6-0007-fixup-Better-pool-alignment.-We-still-hardcode-secti.patch) - ++ onAarch64Musl (fromUntil "9.6" "9.11" ./patches/ghc/ghc-9.6-0008-pool-improvements.patch) + ++ onMusl (fromUntil "9.6" "9.6.7" ./patches/ghc/ghc-9.6-0002-Drop-spurious-8-byte-offset-from-elf_plt.patch) + ++ onMusl (fromUntil "9.8" "9.8.3" ./patches/ghc/ghc-9.6-0002-Drop-spurious-8-byte-offset-from-elf_plt.patch) + ++ onMusl (fromUntil "9.10" "9.10.2" ./patches/ghc/ghc-9.6-0002-Drop-spurious-8-byte-offset-from-elf_plt.patch) + ++ onAarch64Musl (fromUntil "9.6" "9.6.7" ./patches/ghc/ghc-9.6-0003-Better-pool-alignment.-We-still-hardcode-section-ali.patch) + ++ onAarch64Musl (fromUntil "9.8" "9.8.3" ./patches/ghc/ghc-9.6-0003-Better-pool-alignment.-We-still-hardcode-section-ali.patch) + ++ onAarch64Musl (fromUntil "9.10" "9.10.2" ./patches/ghc/ghc-9.6-0003-Better-pool-alignment.-We-still-hardcode-section-ali.patch) + ++ onAarch64Musl (fromUntil "9.6" "9.6.7" ./patches/ghc/ghc-9.6-0007-fixup-Better-pool-alignment.-We-still-hardcode-secti.patch) + ++ onAarch64Musl (fromUntil "9.8" "9.8.3" ./patches/ghc/ghc-9.6-0007-fixup-Better-pool-alignment.-We-still-hardcode-secti.patch) + ++ onAarch64Musl (fromUntil "9.10" "9.10.2" ./patches/ghc/ghc-9.6-0007-fixup-Better-pool-alignment.-We-still-hardcode-secti.patch) + ++ onAarch64Musl (fromUntil "9.6" "9.6.7" ./patches/ghc/ghc-9.6-0008-pool-improvements.patch) + ++ onAarch64Musl (fromUntil "9.8" "9.8.3" ./patches/ghc/ghc-9.6-0008-pool-improvements.patch) + ++ onAarch64Musl (fromUntil "9.10" "9.10.2" ./patches/ghc/ghc-9.6-0008-pool-improvements.patch) # these two are abit questionable. They are pretty rough, and assume static binary as well as posix. # onMusl (fromUntil "9.6" "9.11" ./patches/ghc/ghc-9.6-0004-ghcidladdr.patch) # onMusl (fromUntil "9.6" "9.11" ./patches/ghc/ghc-9.6-0005-Better-interpreter-debugging.-Needs-ghcidladdr.patch) # Fix docs/users_guide/rtd-theme/layout.html to work with sphinx 7 - ++ fromUntil "9.0" "9.8" ./patches/ghc/docs-sphinx-7.patch - ++ fromUntil "9.8" "9.9" ./patches/ghc/docs-sphinx-7-ghc98.patch + ++ fromUntil "9.0" "9.6.7" ./patches/ghc/docs-sphinx-7.patch + ++ fromUntil "9.6.7" "9.9" ./patches/ghc/docs-sphinx-7-ghc98.patch # These two patches are needed for libblst, which has now hidden symbols, which the linker doesn't know how to deal with. - ++ until "9.0" ./patches/ghc/ghc-8.10-0006-Adds-support-for-Hidden-symbols.patch - ++ until "9.0" ./patches/ghc/ghc-8.10-0006-Adds-support-for-Hidden-symbols-2.patch + ++ ( + if final.stdenv.targetPlatform.isAndroid + then until "9.0" ./patches/ghc/ghc-8.10-0006-Adds-support-for-Hidden-symbols-android.patch + else until "9.0" ./patches/ghc/ghc-8.10-0006-Adds-support-for-Hidden-symbols.patch + ++ until "9.0" ./patches/ghc/ghc-8.10-0006-Adds-support-for-Hidden-symbols-2.patch + ) ++ onWindowsOrMusl (fromUntil "9.6" "9.7" ./patches/ghc/ghc-9.6-0006-Adds-support-for-Hidden-symbols.patch) ++ onWindowsOrMusl (fromUntil "9.8.2" "9.11" ./patches/ghc/ghc-9.6-0006-Adds-support-for-Hidden-symbols.patch) ++ onWindowsOrMusl (fromUntil "9.6" "9.7" ./patches/ghc/ghc-9.6-0006-Adds-support-for-Hidden-symbols-2.patch) ++ onWindowsOrMusl (fromUntil "9.8.2" "9.11" ./patches/ghc/ghc-9.6-0006-Adds-support-for-Hidden-symbols-2.patch) - ++ fromUntil "9.9" "9.12" ./patches/ghc/ghc-9.9-Cabal-3.11.patch - ++ fromUntil "9.8" "9.9" ./patches/ghc/ghc-9.8-text-upper-bound.patch - ++ fromUntil "9.10" "9.11" ./patches/ghc/ghc-9.10-containers-upper-bound.patch - ++ fromUntil "9.10" "9.12" ./patches/ghc/ghc-9.10-merge-objects.patch + ++ fromUntil "9.9" "9.11" ./patches/ghc/ghc-9.9-Cabal-3.11.patch + ++ fromUntil "9.8" "9.8.3" ./patches/ghc/ghc-9.8-text-upper-bound.patch + ++ fromUntil "9.8.3" "9.8.4" ./patches/ghc/ghc-9.8.3-text-upper-bound.patch + ++ fromUntil "9.10" "9.10.2" ./patches/ghc/ghc-9.10-containers-upper-bound.patch + ++ fromUntil "9.10" "9.14" ./patches/ghc/ghc-9.10-merge-objects.patch # This patch will make windows stop emitting absolute relocations. This is one way in which binutils 2.36+ (with ASLR enabled), will just choke on the # assembly we generate because it's always absolute (32bit) addressing modes. @@ -257,7 +321,31 @@ in { ++ onWindows (fromUntil "9.2" "9.4" ./patches/ghc/windows-pseudo-pic-9.2.patch) # Fix issue loading windows dll using `.dll.a` file - ++ onWindows (fromUntil "9.4" "9.12" ./patches/ghc/ghc-9.10-windows-dll-dependent-symbol-type-fix.patch) + ++ onWindows (fromUntil "9.4" "9.14" ./patches/ghc/ghc-9.10-windows-dll-dependent-symbol-type-fix.patch) + + # See https://gitlab.haskell.org/ghc/ghc/-/merge_requests/13709 + ++ fromUntil "9.8.4" "9.8.5" ./patches/ghc/ghc-9.8.4-remove-unused-containers-h-include13709.diff + + # See https://gitlab.haskell.org/ghc/ghc/-/merge_requests/12586 + ++ onWindows (fromUntil "9.6.6" "9.12" ./patches/ghc/ghc-win32-io-manager-compilation.patch) + + # See https://gitlab.haskell.org/ghc/ghc/-/issues/16130 + ++ onAndroid (fromUntil "9.6.6" "9.12" ./patches/ghc/ghc-9.6-static-linker-script-support.patch) + ++ onAndroid (from "9.12.1" ./patches/ghc/ghc-9.12-static-linker-script-support.patch) + + ++ onAndroid (from "9.6" ./patches/ghc/ghc-9.6-COMPAT_R_ARM_PREL31.patch) + ++ onAndroid (from "9.10" ./patches/ghc/ghc-9.10-ignore-libc.patch) + # unbreak modern clang with proper _atomic declarations. + ++ onAndroid (fromUntil "9.6" "9.6.5" ./patches/ghc/7db8c9927fae3369fc4ecff68f80c4cb32eea757.patch) + + ++ onGhcjs (from "9.12" ./patches/ghc/ghc-9.12-ghcjs-rts-mem-heap8.patch) + # Fix for `fatal error: 'rts/Types.h' file not found` when building `primitive` + ++ onGhcjs (from "9.13" ./patches/ghc/ghc-9.13-ghcjs-rts-types.patch) + + ++ onGhcjs (fromUntil "9.6.7" "9.7" ./patches/ghc/ghc-9.6-js-support-this-unit-id-10819.patch) + + ++ onWasm (until "9.13" ./patches/ghc/ghc-9.12-wasm-shared-libs.patch) + ++ onWasm (until "9.13" ./patches/ghc/ghc-9.12-wasm-keep-cafs.patch) ; in ({ ghc8107 = traceWarnOld "8.10" (final.callPackage ../compiler/ghc { @@ -612,12 +700,7 @@ in { bootPkgs = bootPkgsGhc94 // { ghc = if final.stdenv.buildPlatform != final.stdenv.targetPlatform then final.buildPackages.buildPackages.haskell-nix.compiler.ghc961 - else final.buildPackages.buildPackages.haskell.compiler.ghc966 - or final.buildPackages.buildPackages.haskell.compiler.ghc965 - or final.buildPackages.buildPackages.haskell.compiler.ghc964 - or final.buildPackages.buildPackages.haskell.compiler.ghc963 - or final.buildPackages.buildPackages.haskell.compiler.ghc962 - or final.buildPackages.buildPackages.haskell.compiler.ghc945 + else final.buildPackages.buildPackages.haskell.compiler.ghc945 or final.buildPackages.buildPackages.haskell.compiler.ghc944 or final.buildPackages.buildPackages.haskell.compiler.ghc943; }; @@ -638,11 +721,7 @@ in { bootPkgs = bootPkgsGhc94 // { ghc = if final.stdenv.buildPlatform != final.stdenv.targetPlatform then final.buildPackages.buildPackages.haskell-nix.compiler.ghc962 - else final.buildPackages.buildPackages.haskell.compiler.ghc966 - or final.buildPackages.buildPackages.haskell.compiler.ghc965 - or final.buildPackages.buildPackages.haskell.compiler.ghc964 - or final.buildPackages.buildPackages.haskell.compiler.ghc963 - or final.buildPackages.buildPackages.haskell.compiler.ghc962 + else final.buildPackages.buildPackages.haskell.compiler.ghc962 or final.buildPackages.buildPackages.haskell.compiler.ghc945 or final.buildPackages.buildPackages.haskell.compiler.ghc944 or final.buildPackages.buildPackages.haskell.compiler.ghc943; @@ -664,10 +743,7 @@ in { bootPkgs = bootPkgsGhc94 // { ghc = if final.stdenv.buildPlatform != final.stdenv.targetPlatform then final.buildPackages.buildPackages.haskell-nix.compiler.ghc963 - else final.buildPackages.buildPackages.haskell.compiler.ghc966 - or final.buildPackages.buildPackages.haskell.compiler.ghc965 - or final.buildPackages.buildPackages.haskell.compiler.ghc964 - or final.buildPackages.buildPackages.haskell.compiler.ghc963 + else final.buildPackages.buildPackages.haskell.compiler.ghc963 or final.buildPackages.buildPackages.haskell.compiler.ghc962 or final.buildPackages.buildPackages.haskell.compiler.ghc945 or final.buildPackages.buildPackages.haskell.compiler.ghc944 @@ -690,9 +766,7 @@ in { bootPkgs = bootPkgsGhc94 // { ghc = if final.stdenv.buildPlatform != final.stdenv.targetPlatform then final.buildPackages.buildPackages.haskell-nix.compiler.ghc964 - else final.buildPackages.buildPackages.haskell.compiler.ghc966 - or final.buildPackages.buildPackages.haskell.compiler.ghc965 - or final.buildPackages.buildPackages.haskell.compiler.ghc964 + else final.buildPackages.buildPackages.haskell.compiler.ghc964 or final.buildPackages.buildPackages.haskell.compiler.ghc963 or final.buildPackages.buildPackages.haskell.compiler.ghc962 or final.buildPackages.buildPackages.haskell.compiler.ghc945 @@ -761,6 +835,33 @@ in { ghc-patches = ghc-patches "9.6.6"; }); + ghc967 = traceWarnOld "9.6" (final.callPackage ../compiler/ghc { + extra-passthru = { buildGHC = final.buildPackages.haskell-nix.compiler.ghc967; }; + + bootPkgs = bootPkgsGhc94 // { + ghc = if final.stdenv.buildPlatform != final.stdenv.targetPlatform + then final.buildPackages.buildPackages.haskell-nix.compiler.ghc967 + else final.buildPackages.buildPackages.haskell.compiler.ghc967 + or final.buildPackages.buildPackages.haskell.compiler.ghc966 + or final.buildPackages.buildPackages.haskell.compiler.ghc965 + or final.buildPackages.buildPackages.haskell.compiler.ghc964 + or final.buildPackages.buildPackages.haskell.compiler.ghc963 + or final.buildPackages.buildPackages.haskell.compiler.ghc962 + or final.buildPackages.buildPackages.haskell.compiler.ghc945 + or final.buildPackages.buildPackages.haskell.compiler.ghc944 + or final.buildPackages.buildPackages.haskell.compiler.ghc943; + }; + inherit sphinx; + + buildLlvmPackages = final.buildPackages.llvmPackages_12; + llvmPackages = final.llvmPackages_12; + + src-spec.file = final.haskell-nix.sources.ghc967; + src-spec.version = "9.6.7"; + src-spec.needsBooting = true; + + ghc-patches = ghc-patches "9.6.7"; + }); ghc981 = traceWarnOld "9.8" (final.callPackage ../compiler/ghc { extra-passthru = { buildGHC = final.buildPackages.haskell-nix.compiler.ghc981; }; @@ -813,13 +914,68 @@ in { ghc-patches = ghc-patches "9.8.2"; }); + ghc983 = traceWarnOld "9.8" (final.callPackage ../compiler/ghc { + extra-passthru = { buildGHC = final.buildPackages.haskell-nix.compiler.ghc983; }; + + bootPkgs = bootPkgsGhc94 // { + ghc = if final.stdenv.buildPlatform != final.stdenv.targetPlatform + then final.buildPackages.buildPackages.haskell-nix.compiler.ghc983 + else final.buildPackages.buildPackages.haskell.compiler.ghc966 + or final.buildPackages.buildPackages.haskell.compiler.ghc965 + or final.buildPackages.buildPackages.haskell.compiler.ghc964 + or final.buildPackages.buildPackages.haskell.compiler.ghc963 + or final.buildPackages.buildPackages.haskell.compiler.ghc962 + or final.buildPackages.buildPackages.haskell.compiler.ghc945 + or final.buildPackages.buildPackages.haskell.compiler.ghc944 + or final.buildPackages.buildPackages.haskell.compiler.ghc943; + }; + inherit sphinx; + + buildLlvmPackages = final.buildPackages.llvmPackages_12; + llvmPackages = final.llvmPackages_12; + + src-spec.file = final.haskell-nix.sources.ghc983; + src-spec.version = "9.8.3"; + src-spec.needsBooting = true; + + ghc-patches = ghc-patches "9.8.3"; + }); + ghc984 = traceWarnOld "9.8" (final.callPackage ../compiler/ghc { + extra-passthru = { buildGHC = final.buildPackages.haskell-nix.compiler.ghc984; }; + + bootPkgs = bootPkgsGhc94 // { + ghc = if final.stdenv.buildPlatform != final.stdenv.targetPlatform + then final.buildPackages.buildPackages.haskell-nix.compiler.ghc984 + else final.buildPackages.buildPackages.haskell.compiler.ghc966 + or final.buildPackages.buildPackages.haskell.compiler.ghc965 + or final.buildPackages.buildPackages.haskell.compiler.ghc964 + or final.buildPackages.buildPackages.haskell.compiler.ghc963 + or final.buildPackages.buildPackages.haskell.compiler.ghc962 + or final.buildPackages.buildPackages.haskell.compiler.ghc945 + or final.buildPackages.buildPackages.haskell.compiler.ghc944 + or final.buildPackages.buildPackages.haskell.compiler.ghc943; + }; + inherit sphinx; + + buildLlvmPackages = final.buildPackages.llvmPackages_12; + llvmPackages = final.llvmPackages_12; + + src-spec.file = final.haskell-nix.sources.ghc984; + src-spec.version = "9.8.4"; + src-spec.needsBooting = true; + + ghc-patches = ghc-patches "9.8.4"; + }); ghc9101 = traceWarnOld "9.10" (final.callPackage ../compiler/ghc { extra-passthru = { buildGHC = final.buildPackages.haskell-nix.compiler.ghc9101; }; bootPkgs = bootPkgsGhc94 // { ghc = if final.stdenv.buildPlatform != final.stdenv.targetPlatform then final.buildPackages.buildPackages.haskell-nix.compiler.ghc9101 - else final.buildPackages.buildPackages.haskell.compiler.ghc982 + else # GHC 9.10.1 does not seem to build with ghc 9.8.4 + # final.buildPackages.buildPackages.haskell.compiler.ghc984 + # or final.buildPackages.buildPackages.haskell.compiler.ghc983 + final.buildPackages.buildPackages.haskell.compiler.ghc982 or final.buildPackages.buildPackages.haskell.compiler.ghc981 or final.buildPackages.buildPackages.haskell.compiler.ghc966 or final.buildPackages.buildPackages.haskell.compiler.ghc965 @@ -841,6 +997,102 @@ in { ghc-patches = ghc-patches "9.10.1"; }); + ghc9102 = traceWarnOld "9.10" (final.callPackage ../compiler/ghc { + extra-passthru = { buildGHC = final.buildPackages.haskell-nix.compiler.ghc9102; }; + + bootPkgs = bootPkgsGhc94 // { + ghc = if final.stdenv.buildPlatform != final.stdenv.targetPlatform + then final.buildPackages.buildPackages.haskell-nix.compiler.ghc9102 + else # GHC 9.10.1 does not seem to build with ghc 9.8.4 + # final.buildPackages.buildPackages.haskell.compiler.ghc984 + # or final.buildPackages.buildPackages.haskell.compiler.ghc983 + final.buildPackages.buildPackages.haskell.compiler.ghc982 + or final.buildPackages.buildPackages.haskell.compiler.ghc981 + or final.buildPackages.buildPackages.haskell.compiler.ghc966 + or final.buildPackages.buildPackages.haskell.compiler.ghc965 + or final.buildPackages.buildPackages.haskell.compiler.ghc964 + or final.buildPackages.buildPackages.haskell.compiler.ghc963 + or final.buildPackages.buildPackages.haskell.compiler.ghc962 + or final.buildPackages.buildPackages.haskell.compiler.ghc945 + or final.buildPackages.buildPackages.haskell.compiler.ghc944 + or final.buildPackages.buildPackages.haskell.compiler.ghc943; + }; + inherit sphinx; + + buildLlvmPackages = final.buildPackages.llvmPackages_15; + llvmPackages = final.llvmPackages_15; + + src-spec.file = final.haskell-nix.sources.ghc9102; + src-spec.version = "9.10.2"; + src-spec.needsBooting = true; + + ghc-patches = ghc-patches "9.10.2"; + }); + ghc9121 = traceWarnOld "9.12" (final.callPackage ../compiler/ghc { + extra-passthru = { buildGHC = final.buildPackages.haskell-nix.compiler.ghc9121; }; + + bootPkgs = bootPkgsGhc94 // { + ghc = if final.stdenv.buildPlatform != final.stdenv.targetPlatform + then final.buildPackages.buildPackages.haskell-nix.compiler.ghc9121 + else final.buildPackages.buildPackages.haskell.compiler.ghc9121 + or final.buildPackages.buildPackages.haskell.compiler.ghc9101 + or final.buildPackages.buildPackages.haskell.compiler.ghc984 + or final.buildPackages.buildPackages.haskell.compiler.ghc983 + or final.buildPackages.buildPackages.haskell.compiler.ghc982 + or final.buildPackages.buildPackages.haskell.compiler.ghc981 + or final.buildPackages.buildPackages.haskell.compiler.ghc966 + or final.buildPackages.buildPackages.haskell.compiler.ghc965 + or final.buildPackages.buildPackages.haskell.compiler.ghc964 + or final.buildPackages.buildPackages.haskell.compiler.ghc963 + or final.buildPackages.buildPackages.haskell.compiler.ghc962 + or final.buildPackages.buildPackages.haskell.compiler.ghc945 + or final.buildPackages.buildPackages.haskell.compiler.ghc944 + or final.buildPackages.buildPackages.haskell.compiler.ghc943; + }; + inherit sphinx; + + buildLlvmPackages = final.buildPackages.llvmPackages_15; + llvmPackages = final.llvmPackages_15; + + src-spec.file = final.haskell-nix.sources.ghc9121; + src-spec.version = "9.12.1"; + src-spec.needsBooting = true; + + ghc-patches = ghc-patches "9.12.1"; + }); + ghc9122 = traceWarnOld "9.12" (final.callPackage ../compiler/ghc { + extra-passthru = { buildGHC = final.buildPackages.haskell-nix.compiler.ghc9122; }; + + bootPkgs = bootPkgsGhc94 // { + ghc = if final.stdenv.buildPlatform != final.stdenv.targetPlatform + then final.buildPackages.buildPackages.haskell-nix.compiler.ghc9122 + else final.buildPackages.buildPackages.haskell.compiler.ghc9122 + or final.buildPackages.buildPackages.haskell.compiler.ghc9121 + or final.buildPackages.buildPackages.haskell.compiler.ghc9101 + or final.buildPackages.buildPackages.haskell.compiler.ghc984 + or final.buildPackages.buildPackages.haskell.compiler.ghc983 + or final.buildPackages.buildPackages.haskell.compiler.ghc982 + or final.buildPackages.buildPackages.haskell.compiler.ghc981 + or final.buildPackages.buildPackages.haskell.compiler.ghc966 + or final.buildPackages.buildPackages.haskell.compiler.ghc965 + or final.buildPackages.buildPackages.haskell.compiler.ghc964 + or final.buildPackages.buildPackages.haskell.compiler.ghc963 + or final.buildPackages.buildPackages.haskell.compiler.ghc962 + or final.buildPackages.buildPackages.haskell.compiler.ghc945 + or final.buildPackages.buildPackages.haskell.compiler.ghc944 + or final.buildPackages.buildPackages.haskell.compiler.ghc943; + }; + inherit sphinx; + + buildLlvmPackages = final.buildPackages.llvmPackages_19; + llvmPackages = final.llvmPackages_19; + + src-spec.file = final.haskell-nix.sources.ghc9122; + src-spec.version = "9.12.2"; + src-spec.needsBooting = true; + + ghc-patches = ghc-patches "9.12.2"; + }); } // (__listToAttrs (final.lib.mapAttrsToList (source-name: ver: let src = final.haskell-nix.sources.${source-name}; @@ -849,13 +1101,18 @@ in { compiler-nix-name = versionToNixName version; in { name = compiler-nix-name; - value = final.callPackage ../compiler/ghc { + value = final.callPackage ../compiler/ghc ({ extra-passthru = { buildGHC = final.buildPackages.haskell-nix.compiler.${compiler-nix-name}; }; bootPkgs = bootPkgsGhc94 // { ghc = if final.stdenv.buildPlatform != final.stdenv.targetPlatform - then final.buildPackages.buildPackages.haskell-nix.compiler.ghc9101 # TODO use ${compiler-nix-name} - else final.buildPackages.buildPackages.haskell.compiler.ghc982 + then final.buildPackages.buildPackages.haskell-nix.compiler.${compiler-nix-name} + else final.buildPackages.buildPackages.haskell.compiler.ghc9122 + or final.buildPackages.buildPackages.haskell.compiler.ghc9121 + or final.buildPackages.buildPackages.haskell.compiler.ghc9101 + or final.buildPackages.buildPackages.haskell.compiler.ghc984 + or final.buildPackages.buildPackages.haskell.compiler.ghc983 + or final.buildPackages.buildPackages.haskell.compiler.ghc982 or final.buildPackages.buildPackages.haskell.compiler.ghc981 or final.buildPackages.buildPackages.haskell.compiler.ghc966 or final.buildPackages.buildPackages.haskell.compiler.ghc965 @@ -868,8 +1125,8 @@ in { }; inherit sphinx; - buildLlvmPackages = final.buildPackages.llvmPackages_15; - llvmPackages = final.llvmPackages_15; + buildLlvmPackages = final.buildPackages.llvmPackages_19; + llvmPackages = final.llvmPackages_19; src-spec.file = src; src-spec.version = version; @@ -878,7 +1135,21 @@ in { ghc-patches = ghc-patches version; ghc-version-date = version-date; ghc-commit-id = src.rev; - }; + } // final.lib.optionalAttrs (builtins.compareVersions version "9.7" <0) { + bootPkgs = bootPkgsGhc94 // { + ghc = if final.stdenv.buildPlatform != final.stdenv.targetPlatform + then final.buildPackages.buildPackages.haskell-nix.compiler.ghc966 + else final.buildPackages.buildPackages.haskell.compiler.ghc966 + or final.buildPackages.buildPackages.haskell.compiler.ghc965 + or final.buildPackages.buildPackages.haskell.compiler.ghc964 + or final.buildPackages.buildPackages.haskell.compiler.ghc963 + or final.buildPackages.buildPackages.haskell.compiler.ghc962 + or final.buildPackages.buildPackages.haskell.compiler.ghc945 + or final.buildPackages.buildPackages.haskell.compiler.ghc944; + }; + buildLlvmPackages = final.buildPackages.llvmPackages_12; + llvmPackages = final.llvmPackages_12; + }); }) gitInputs)) // final.lib.optionalAttrs (final.stdenv.targetPlatform.isGhcjs or false) ( if final.stdenv.hostPlatform.isGhcjs @@ -980,34 +1251,24 @@ in { # hence we'll use 844 for bootstrapping for now. # the bootstrap infrastructure (pre-compiled ghc; bootstrapped cabal-install, ...) - bootstrap = - let - # This compiler-nix-name will only be used to build nix-tools and cabal-install - # when checking materialization of alex, happy and hscolour. - compiler-nix-name = buildBootstrapper.compilerNixName; - # The ghc boot compiler to use to compile alex, happy and hscolour - ghcOverride = final.buildPackages.haskell-nix.bootstrap.compiler.${compiler-nix-name}; - index-state = final.haskell-nix.internalHackageIndexState; - in { - compiler = final.haskell.compiler; - packages = { + bootstrap.packages = { # now that we have nix-tools and hpack, we can just # use `hackage-package` to build any package from # hackage with haskell.nix. For alex and happy we # need to use the boot strap compiler as we need them # to build ghcs from source. - alex = final.haskell-nix.tool buildBootstrapper.compilerNixName "alex" ({config, pkgs, ...}: { + alex = final.haskell-nix.tool "ghc8107" "alex" ({config, pkgs, ...}: { compilerSelection = p: p.haskell.compiler; version = "3.2.4"; - inherit ghcOverride index-state; - materialized = ../materialized/bootstrap + "/${buildBootstrapper.compilerNixName}/alex"; + index-state = final.haskell-nix.internalHackageIndexState; + materialized = ../materialized/bootstrap/ghc8107/alex; }); - happy = final.haskell-nix.tool buildBootstrapper.compilerNixName "happy" + happy = final.haskell-nix.tool "ghc8107" "happy" ({config, pkgs, ...}: { compilerSelection = p: p.haskell.compiler; version = "1.19.12"; - inherit ghcOverride index-state; - materialized = ../materialized/bootstrap + "/${buildBootstrapper.compilerNixName}/happy-1.19.12"; + index-state = final.haskell-nix.internalHackageIndexState; + materialized = ../materialized/bootstrap/ghc8107/happy-1.19.12; }); hscolour = (final.haskell-nix.hackage-package ({config, pkgs, ...}: { @@ -1015,10 +1276,9 @@ in { compiler-nix-name = buildBootstrapper.compilerNixName; name = "hscolour"; version = "1.24.4"; - inherit ghcOverride index-state; + index-state = final.haskell-nix.internalHackageIndexState; materialized = ../materialized/bootstrap + "/${buildBootstrapper.compilerNixName}/hscolour"; })).getComponent "exe:HsColour"; - }; }; }; } diff --git a/overlays/cache-compiler-deps.nix b/overlays/cache-compiler-deps.nix index b74d6398aa..588a55a199 100644 --- a/overlays/cache-compiler-deps.nix +++ b/overlays/cache-compiler-deps.nix @@ -1,7 +1,4 @@ final: prev: { - haskell-nix = prev.haskell-nix // { - compiler = __mapAttrs (_: ghc: final.haskell-nix.haskellLib.makeCompilerDeps ghc) prev.haskell-nix.compiler; - }; haskell = prev.haskell // { compiler = __mapAttrs (name: ghc: final.haskell-nix.haskellLib.makeCompilerDeps ghc // { inherit (final.haskell-nix.compiler.${name}) raw-src configured-src; diff --git a/overlays/default.nix b/overlays/default.nix index 32710bb322..b252c4228c 100644 --- a/overlays/default.nix +++ b/overlays/default.nix @@ -45,6 +45,10 @@ let tarball // { exes = final.lib.genAttrs nix-tools-provided-exes (_: tarball); }; static-nix-tools = static-nix-tools' ../nix-tools-static.nix; + # Any change to default-setup requires rebuilding everthing. + # Having a dedicated file for `default-setup` allows us to update + # the other `nix-tools` (like `make-install-plan`), without a + # full rebuild. static-nix-tools-for-default-setup = static-nix-tools' ../nix-tools-static-for-default-setup.nix; # Version of nix-tools built with a pinned version of haskell.nix. @@ -76,7 +80,6 @@ let bootstrap = import ./bootstrap.nix; compiler-llvm = import ./compiler-llvm.nix; - ghc = import ./ghc.nix; ghc-packages = import ./ghc-packages.nix; darwin = import ./darwin.nix; windows = import ./windows.nix; @@ -91,8 +94,9 @@ let ghcjs = import ./ghcjs.nix; cabalPkgConfig = import ./cabal-pkg-config.nix; cacheCompilerDeps = import ./cache-compiler-deps.nix; - fetch-source = import ./fetch-source.nix; lazy-inputs = import ../lazy-inputs; + rcodesign = import ./rcodesign.nix; + wasm = import ./wasm.nix; }; composeExtensions = f: g: final: prev: @@ -114,7 +118,6 @@ let nix-tools bootstrap compiler-llvm - ghc ghc-packages darwin windows @@ -128,11 +131,12 @@ let cabalPkgConfig gobject-introspection hix + wasm # Restore nixpkgs haskell and haskellPackages (_: prev: { inherit (prev.haskell-nix-prev) haskell haskellPackages; }) cacheCompilerDeps - fetch-source lazy-inputs + rcodesign ]; combined = builtins.foldl' composeExtensions (_: _: { }) ordered; in overlays // { inherit combined; } diff --git a/overlays/fetch-source.nix b/overlays/fetch-source.nix deleted file mode 100644 index 26c0dafb30..0000000000 --- a/overlays/fetch-source.nix +++ /dev/null @@ -1,46 +0,0 @@ -final: prev: -let - # Courtesy of `flake-compat` - # Format number of seconds in the Unix epoch as %Y%m%d%H%M%S. - formatSecondsSinceEpoch = t: - let - rem = x: y: x - x / y * y; - days = t / 86400; - secondsInDay = rem t 86400; - hours = secondsInDay / 3600; - minutes = (rem secondsInDay 3600) / 60; - seconds = rem t 60; - - # Courtesy of https://stackoverflow.com/a/32158604. - z = days + 719468; - era = (if z >= 0 then z else z - 146096) / 146097; - doe = z - era * 146097; - yoe = (doe - doe / 1460 + doe / 36524 - doe / 146096) / 365; - y = yoe + era * 400; - doy = doe - (365 * yoe + yoe / 4 - yoe / 100); - mp = (5 * doy + 2) / 153; - d = doy - (153 * mp + 2) / 5 + 1; - m = mp + (if mp < 10 then 3 else -9); - y' = y + (if m <= 2 then 1 else 0); - - pad = s: if builtins.stringLength s < 2 then "0" + s else s; - in "${toString y'}${pad (toString m)}${pad (toString d)}${pad (toString hours)}${pad (toString minutes)}${pad (toString seconds)}"; -in { - haskell-nix = prev.haskell-nix // { - sources = prev.haskell-nix.sources // builtins.listToAttrs (map (name: - let lockFile = builtins.fromJSON (builtins.readFile ../lazy-inputs/${name}/flake.lock); - in { - inherit name; - value = final.fetchFromGitLab { - domain = "gitlab.haskell.org"; - owner = "ghc"; - repo = "ghc"; - fetchSubmodules = true; - inherit (lockFile.nodes.${name}.locked) rev; - sha256 = lockFile.nodes.${name}.locked.narHash; - } // { - lastModifiedDate = formatSecondsSinceEpoch lockFile.nodes.${name}.locked.lastModified; - }; - }) ["ghc910X" "ghc911"]); - }; -} diff --git a/overlays/ghc-packages.nix b/overlays/ghc-packages.nix index 1397f6e459..7cee136247 100644 --- a/overlays/ghc-packages.nix +++ b/overlays/ghc-packages.nix @@ -86,6 +86,11 @@ let } // final.lib.optionalAttrs (builtins.compareVersions ghcVersion "9.9" >= 0) { ghc-platform = "libraries/ghc-platform"; ghc-internal = "libraries/ghc-internal"; + } // final.lib.optionalAttrs (builtins.compareVersions ghcVersion "9.10" >= 0) { + ghc-toolchain = "utils/ghc-toolchain"; + } // final.lib.optionalAttrs (builtins.compareVersions ghcVersion "9.12" >= 0) { + ghc-experimental = "libraries/ghc-experimental"; + haddock-api = "utils/haddock/haddock-api"; }; # The nix produced by `cabalProject` differs slightly depending on diff --git a/overlays/ghc.nix b/overlays/ghc.nix deleted file mode 100644 index ec2d1b3028..0000000000 --- a/overlays/ghc.nix +++ /dev/null @@ -1,29 +0,0 @@ -_final: prev: with prev; - # sadly we need to patch GHC a bit. - let - ghcDrvOverrides = drv: { - hardeningDisable = (drv.hardeningDisable or []) ++ [ "stackprotector" "format" ] ++ lib.optionals prev.stdenv.hostPlatform.isAarch32 [ "pic" "pie" ]; - }; - in { - haskell-nix = let - # These patches (ghcDrvOverrides) only apply to vanilla source ghcs. - # Not ghcjs or binary distributions. - # We also ignore ghc82. And are only concerned with ghc84+ - # we want to apply this only to non-ghcjs ones. - # As we do some ghc <- ghcjs mapping for ghcjs. - needsPatches = name: - !(prev.stdenv.targetPlatform.isGhcjs or false) - && lib.hasPrefix "ghc" name - && !lib.hasPrefix "ghc82" name - && !lib.hasPrefix "ghcjs" name - && !lib.hasSuffix "Binary" name; - overrideCompiler = name: compiler: - (compiler.overrideAttrs ghcDrvOverrides) // { - dwarf = overrideCompiler name compiler.dwarf; - }; - in - lib.recursiveUpdate prev.haskell-nix { - compiler = lib.mapAttrs overrideCompiler - (lib.filterAttrs (name: _value: needsPatches name) prev.haskell-nix.compiler); - }; - } diff --git a/overlays/haskell.nix b/overlays/haskell.nix index 5cad91fc63..c9084f2e6f 100644 --- a/overlays/haskell.nix +++ b/overlays/haskell.nix @@ -23,11 +23,6 @@ final: prev: { # here and be explicit about imports and dependencies. callPackage = prev.lib.callPackageWith (final // final.haskell-nix); - # You can provide different pins for hackage.nix and stackage.nix if required. - # It's also possible to override these sources with NIX_PATH. - hackageSourceJSON = ../hackage-src.json; - stackageSourceJSON = ../stackage-src.json; - # ghc hackage patches. # these are patches that turn hackage packages into the same as the ones # ghc ships with the supposedly same version. See GHC Track Issue: 16199 @@ -46,7 +41,8 @@ final: prev: { # All packages from Hackage as Nix expressions hackageSrc = sources.hackage; - hackage = import hackageSrc; + # The only stack projects need hackage.nix now + hackageForStack = import sources.hackage-for-stackage; # Contains the hashes of the cabal 01-index.tar.gz for given # index states. Starting from April 1st 2019. @@ -70,6 +66,7 @@ final: prev: { , pkg-def-extras ? [] # Additional packages to augment the Base package set `pkg-def` with. , modules ? [] , extra-hackages ? [] # Extra Hackage repositories to use besides main one. + , hackage }@args: let @@ -113,7 +110,7 @@ final: prev: { You may need to update haskell.nix to one that includes a newer stackage.nix. ''); # The compiler referenced in the stack config - compiler = (stack-pkgs.extras hackage).compiler or (pkg-def hackage).compiler; + compiler = (stack-pkgs.extras hackageForStack).compiler or (pkg-def hackageForStack).compiler; patchesModule = ghcHackagePatches.${compiler.nix-name} or {}; # Remove fake packages generated from stack keywords used in ghc-options removeStackSpecial = module: if builtins.typeOf module == "set" @@ -131,6 +128,7 @@ final: prev: { modules = [ { doExactConfig = true; } patchesModule ] ++ modules ++ map removeStackSpecial (stack-pkgs.modules or []); + hackage = hackageForStack; }; # Create a Haskell package set based on a Cabal configuration. @@ -163,15 +161,21 @@ final: prev: { ++ modules ++ plan-pkgs.modules or []; inherit extra-hackages; + hackage = {}; }; # Package sets for all stackage snapshots. - snapshots = import ../snapshots.nix { inherit (final) lib ghc-boot-packages; inherit mkPkgSet stackage excludeBootPackages; }; - # Pick a recent LTS snapshot to be our "default" package set. + snapshots = import ../snapshots.nix { + inherit (final) lib ghc-boot-packages; + inherit mkPkgSet stackage excludeBootPackages; + hackage = hackageForStack; + }; + # Pick the most recent LTS snapshot to be our "default" package set. haskellPackages = - if final.stdenv.targetPlatform.isAarch64 && final.stdenv.buildPlatform.isAarch64 - then snapshots."lts-15.13" - else snapshots."lts-14.13"; + let + versions = final.lib.mapAttrsToList + (name: _: final.lib.removePrefix "lts-" name) snapshots; + in snapshots."lts-${final.lib.head (final.lib.sort final.lib.versionAtLeast versions)}"; # Creates Cabal local repository from { name, index } set. mkLocalHackageRepo = import ../mk-local-hackage-repo final; @@ -353,7 +357,7 @@ final: prev: { # urls there will allow us to know from where to fetch the packages tarballs at build # time. # 3. We don't want to leak the nix path of the index into the derivation of the component - # builder since this will cause unnecesary recompilation. In other words, the recipe to + # builder since this will cause unnecessary recompilation. In other words, the recipe to # compile a package has to only depend on its content, not on where the recipe is from # or how it is obtained. # @@ -433,8 +437,8 @@ final: prev: { # If you want to update this value it important to check the # materializations. Turn `checkMaterialization` on below and # check the CI results before turning it off again. - internalHackageIndexState = "2023-11-19T00:00:00Z"; # Remember to also update ../nix-tools/cabal.project and ../nix-tools/flake.lock - + internalHackageIndexState = builtins.head (builtins.attrNames ( + import (sources.hackage-internal + "/index-state.nix"))); checkMaterialization = false; # This is the default. Use an overlay to set it to true and test all the materialized files # Helps materialize the output of derivations @@ -597,10 +601,16 @@ final: prev: { # Takes a haskell src directory runs cabal new-configure and plan-to-nix. # Resulting nix files are added to nix-plan subdirectory. callCabalProjectToNix = import ../lib/call-cabal-project-to-nix.nix { - index-state-hashes = import indexStateHashesPath; + index-state-hashes = + ( + if builtins.pathExists (hackageSrc + "/index-state.nix") + then import (hackageSrc + "/index-state.nix") + else import (hackageSrc + "/index-state-hashes.nix") + ) + // import (sources.hackage-internal + "/index-state.nix"); inherit (final.buildPackages.haskell-nix) haskellLib; pkgs = final.buildPackages.pkgs; - inherit (final.buildPackages.pkgs) runCommand cacert; + inherit (final.buildPackages.pkgs) cacert; }; # Loads a plan and filters the package directories using cleanSourceWith @@ -679,12 +689,14 @@ final: prev: { ++ (config.modules or []) ++ [ { ghc.package = - if config.ghcOverride != null - then config.ghcOverride - else if config.ghc != null - then config.ghc - else - final.lib.mkDefault selectedCompiler; + let ghc = + if config.ghcOverride != null + then config.ghcOverride + else if config.ghc != null + then config.ghc + else + final.lib.mkDefault selectedCompiler; + in if ghc.isHaskellNixCompiler or false then ghc.override { ghcEvalPackages = evalPackages; } else ghc; compiler.nix-name = final.lib.mkForce config.compiler-nix-name; evalPackages = final.lib.mkDefault evalPackages; } ]; @@ -700,7 +712,7 @@ final: prev: { inherit (callProjectResults) index-state-max; tool = final.buildPackages.haskell-nix.tool' evalPackages pkg-set.config.compiler.nix-name; tools = final.buildPackages.haskell-nix.tools' evalPackages pkg-set.config.compiler.nix-name; - roots = final.haskell-nix.roots pkg-set.config.compiler.nix-name; + roots = final.haskell-nix.roots { compiler-nix-name = pkg-set.config.compiler.nix-name; inherit evalPackages; }; projectFunction = haskell-nix: haskell-nix.cabalProject'; inherit projectModule buildProject; }; @@ -821,35 +833,23 @@ final: prev: { # ]; # } # - shellFor = shellArgs: + shellFor = extraArgs: (appendModule { shell = extraArgs; }).shell; + shell = shellFor' rawProject.args.shell.crossPlatforms; + shellFor' = crossPlatforms: let - # These are the args we will pass to the main shell. - args' = builtins.removeAttrs shellArgs [ "crossPlatforms" ]; - # These are the args we will pass to the shells for the corss compiler - argsCross = - # These things should match main shell - final.lib.filterAttrs (n: _: builtins.elem n [ - "packages" "components" "additional" "exactDeps" "packageSetupDeps" - ]) shellArgs // { - # The main shell's hoogle will probably be faster to build. - withHoogle = false; - }; - # These are the cross compilation versions of the project we will include. - selectedCrossProjects = - if shellArgs ? crossPlatforms - then shellArgs.crossPlatforms projectCross - else []; + shellArgs = builtins.removeAttrs rawProject.args.shell [ "crossPlatforms" ]; # Shells for cross compilation - crossShells = builtins.map (project: project.shellFor argsCross) - selectedCrossProjects; - in rawProject.hsPkgs.shellFor (args' // { + crossShells = builtins.map (project: project.shellFor { + # Prevent recursion + crossPlatforms = final.lib.mkForce (_p: []); + # The main shell's hoogle will probably be faster to build. + withHoogle = final.lib.mkForce false; + }) (crossPlatforms projectCross); + in rawProject.hsPkgs.shellFor (shellArgs // { # Add inputs from the cross compilation shells - inputsFrom = args'.inputsFrom or [] ++ crossShells; + inputsFrom = shellArgs.inputsFrom or [] ++ crossShells; }); - # Default shell - shell = shellFor rawProject.args.shell; - # Like `.hsPkgs.${packageName}` but when compined with `getComponent` any # cabal configure errors are defered until the components derivation builds. getPackage = packageName: @@ -947,7 +947,7 @@ final: prev: { modules = [ { _module.args.buildModules = final.lib.mkForce buildProject.pkg-set; } (mkCacheModule cache) ] ++ (config.modules or []) - ++ final.lib.optional (config.ghc != null) { ghc.package = config.ghc; } + ++ final.lib.optional (config.ghc != null) { ghc.package = config.ghc.override { ghcEvalPackages = evalPackages; }; } ++ final.lib.optional (config.compiler-nix-name != null) { compiler.nix-name = final.lib.mkForce config.compiler-nix-name; } ++ [ { evalPackages = final.lib.mkDefault evalPackages; } ]; @@ -961,7 +961,7 @@ final: prev: { stack-nix = callProjectResults.projectNix; tool = final.buildPackages.haskell-nix.tool' evalPackages pkg-set.config.compiler.nix-name; tools = final.buildPackages.haskell-nix.tools' evalPackages pkg-set.config.compiler.nix-name; - roots = final.haskell-nix.roots pkg-set.config.compiler.nix-name; + roots = final.haskell-nix.roots { compiler-nix-name = pkg-set.config.compiler.nix-name; inherit evalPackages; }; projectFunction = haskell-nix: haskell-nix.stackProject'; inherit projectModule buildProject; }; @@ -1052,48 +1052,124 @@ final: prev: { setupBuildFlags = final.lib.mkForce []; }; }]; + } // final.lib.optionalAttrs ( + final.stdenv.hostPlatform.isAarch64 + && builtins.compareVersions final.buildPackages.haskell-nix.compiler.${compiler-nix-name}.version "9.8" < 0) { + # The th-dlls test fails for aarch64 cross GHC 9.6.7 when the threaded rts is used + cabalProjectLocal = '' + package iserv-proxy + flags: -threaded + ''; } // final.lib.optionalAttrs (__compareVersions final.buildPackages.haskell-nix.compiler.${compiler-nix-name}.version "9.10" > 0) { cabalProjectLocal = '' allow-newer: *:base, *:bytestring ''; })).hsPkgs.iserv-proxy.components.exes; - in { + in rec { # We need the proxy for the build system and the interpreter for the target inherit (exes final.pkgsBuildBuild) iserv-proxy; - inherit (exes final) iserv-proxy-interpreter; + iserv-proxy-interpreter = (exes final).iserv-proxy-interpreter.override + (final.lib.optionalAttrs final.stdenv.hostPlatform.isAndroid { + setupBuildFlags = ["--ghc-option=-optl-static" ] ++ final.lib.optional final.stdenv.hostPlatform.isAarch32 "--ghc-option=-optl-no-pie"; + enableDebugRTS = true; + } // final.lib.optionalAttrs final.stdenv.hostPlatform.isWindows { + setupBuildFlags = ["--ghc-option=-optl-Wl,--disable-dynamicbase,--disable-high-entropy-va,--image-base=0x400000" ]; + enableDebugRTS = true; + }); + iserv-proxy-interpreter-prof = iserv-proxy-interpreter.override { + enableProfiling = true; + }; }) final.haskell-nix.compiler; + ghc-pre-existing = ghc: [ + "Cabal" + "array" + "base" + "binary" + "bytestring" + "containers" + "deepseq" + "directory" + "filepath" + "ghc-boot" + "ghc-boot-th" + "ghc-compact" + "ghc-heap" + "ghc-prim" + "ghci" + "integer-gmp" + "mtl" + "parsec" + "pretty" + "process" + "rts" + "template-haskell" + "text" + "time" + "transformers" + ] ++ final.lib.optionals (!final.stdenv.targetPlatform.isGhcjs || builtins.compareVersions ghc.version "9.0" > 0) [ + # GHCJS 8.10 does not have these + "Cabal-syntax" + "exceptions" + "file-io" + "ghc" + "ghc-bignum" + "ghc-experimental" + "ghc-internal" + "ghc-platform" + "ghc-toolchain" + "haskeline" + "hpc" + "libiserv" + "os-string" + "semaphore-compat" + "stm" + "xhtml" + ] ++ final.lib.optionals (builtins.compareVersions ghc.version "9.4" > 0) [ + "system-cxx-std-lib" + ] ++ final.lib.optionals (builtins.compareVersions ghc.version "9.12" > 0) [ + "haddock-api" + "haddock-library" + ] ++ final.lib.optionals ( + !final.stdenv.targetPlatform.isGhcjs + && !final.stdenv.targetPlatform.isWindows + && ghc.enableTerminfo or true) [ + "terminfo" + ] ++ (if final.stdenv.targetPlatform.isWindows + then [ "Win32" ] + else [ "unix" ] + ); + # Add this to your tests to make all the dependencies of haskell.nix # are tested and cached. Consider using `p.roots` where `p` is a # project as it will automatically match the `compiler-nix-name` # of the project. - roots = compiler-nix-name: final.linkFarm "haskell-nix-roots-${compiler-nix-name}" + roots = { compiler-nix-name, evalPackages ? final.pkgsBuildBuild }@args: final.linkFarm "haskell-nix-roots-${compiler-nix-name}" (final.lib.filter (x: x.name != "recurseForDerivations") (final.lib.mapAttrsToList (name: path: { inherit name path; }) - (roots' compiler-nix-name 2))); + (roots' args 2))); - roots' = compiler-nix-name: ifdLevel: - final.recurseIntoAttrs ({ + roots' = { compiler-nix-name, evalPackages ? final.pkgsBuildBuild }: ifdLevel: + let + ghc = final.buildPackages.haskell-nix.compiler.${compiler-nix-name}.override { ghcEvalPackages = evalPackages; }; + in + final.recurseIntoAttrs ({ # Things that require no IFD to build source-pin-hackage = hackageSrc; source-pin-stackage = stackageSrc; source-pin-haskell-nix = final.path; - # Double buildPackages is intentional, - # see comment in lib/default.nix for details. - # Using buildPackages rather than evalPackages so both darwin and linux - # versions will get pinned (evalPackages on darwin systems will be for darwin). - inherit (final.buildPackages.buildPackages) gitMinimal nix-prefetch-git; - inherit (final.buildPackages) nix; + inherit (evalPackages) nix gitMinimal nix-prefetch-git; } // final.lib.optionalAttrs (final.stdenv.hostPlatform.libc == "glibc") { inherit (final) glibcLocales; + } // final.lib.optionalAttrs (builtins.compareVersions ghc.version "9.4" >= 0) { + # Make sure the plan for hadrian is cached (we need it to instanciate ghc). + hadrian-plan = final.buildPackages.haskell-nix.compiler.${compiler-nix-name}.hadrianProject.plan-nix; + # Also include the same plan evaluated on the eval system. + hadrian-plan-eval = ghc.hadrianProject.plan-nix; } // final.lib.optionalAttrs (ifdLevel > 0) { # Things that require one IFD to build (the inputs should be in level 0) - boot-alex = final.buildPackages.haskell-nix.bootstrap.packages.alex; - boot-happy = final.buildPackages.haskell-nix.bootstrap.packages.happy; - boot-hscolour = final.buildPackages.haskell-nix.bootstrap.packages.hscolour; - ghc = final.buildPackages.haskell-nix.compiler.${compiler-nix-name}; - ghc-boot-packages-nix = final.recurseIntoAttrs - final.ghc-boot-packages-nix.${compiler-nix-name}; + inherit ghc; + ghc-boot-packages-nix = final.ghc-boot-packages-nix.${compiler-nix-name}; } // final.lib.optionalAttrs (ifdLevel > 1) { # Things that require two levels of IFD to build (inputs should be in level 1) nix-tools-unchecked = final.pkgsBuildBuild.haskell-nix.nix-tools-unchecked; @@ -1102,7 +1178,8 @@ final: prev: { # GHCJS builds its own template haskell runner. # These seem to be the only things we use from `ghc-extra-packages` # in haskell.nix itself. - && !final.stdenv.hostPlatform.isGhcjs) + && !final.stdenv.hostPlatform.isGhcjs + && !final.stdenv.hostPlatform.isWasm) final.haskell-nix.iserv-proxy-exes.${compiler-nix-name}); }; } diff --git a/overlays/linux-cross.nix b/overlays/linux-cross.nix index 04b98153b8..51035bfc52 100644 --- a/overlays/linux-cross.nix +++ b/overlays/linux-cross.nix @@ -6,6 +6,7 @@ , qemuSuffix ? (haskellLib.qemuByHostPlatform hostPlatform) , iserv-proxy , iserv-proxy-interpreter +, iserv-proxy-interpreter-prof , gmp , buildPlatform , hostPlatform @@ -13,17 +14,32 @@ , ... }: let + # For 32bit android, we need to pass -no-pie, as we otherwise + # get -pie injected into the linker flags. We don't want that. + # If we target 32bit android, we need remote-iserv to be runnable + # in a 32bit linux (via qemu-arm user mode emulation). If we have + # -pie enabled, it will produce a static-pie executable, which + # seems a lot like what we want but will crash on launch. It appears + # the __stack_chk_guard lookups go through some lookup table, and + # while the relocations for the lookup table are correct, the __stack_chk_guard + # address isn't properly relocated. This could also be because libc isn't + # supposed to be staticlly linked really. However because we are lacking + # the loader for arm on linux, we can't used dynamically linked executables + # until one in /system/bin/linker is provided. + # + # We also need to run armv7a-android in unshare --user --pid --fork, to + # ensure that we get a low pid < 65535 for android (If we run outside) + # of nix build envs. - # we want this to hold only for arm (32 and 64bit) for now. - isLinuxCross = haskellLib.isCrossHost && hostPlatform.isLinux && (hostPlatform.isAarch32 || hostPlatform.isAarch64); qemuIservWrapperScript = enableProfiling: let interpreter = if enableProfiling - then iserv-proxy-interpreter.override { inherit enableProfiling; } + then iserv-proxy-interpreter-prof else iserv-proxy-interpreter; in writeShellScriptBin ("iserv-wrapper" + lib.optionalString enableProfiling "-prof") '' + #!${stdenv.shell} set -euo pipefail ISERV_ARGS=''${ISERV_ARGS:-} PROXY_ARGS=''${PROXY_ARGS:-} @@ -31,11 +47,7 @@ let unset configureFlags PORT=$((5000 + $RANDOM % 5000)) (>&2 echo "---> Starting ${interpreter.exeName} on port $PORT") - ${qemu}/bin/qemu-${qemuSuffix} ${interpreter.override - (lib.optionalAttrs hostPlatform.isAndroid { - setupBuildFlags = ["--ghc-option=-optl-static" ] ++ lib.optional hostPlatform.isAarch32 "--ghc-option=-optl-no-pie"; - enableDebugRTS = true; - })}/bin/${interpreter.exeName} tmp $PORT $ISERV_ARGS & + ${qemu}/bin/qemu-${qemuSuffix} ${interpreter}/bin/${interpreter.exeName} tmp $PORT $ISERV_ARGS & (>&2 echo "---| ${interpreter.exeName} should have started on $PORT") RISERV_PID="$!" ${iserv-proxy}/bin/iserv-proxy $@ 127.0.0.1 "$PORT" $PROXY_ARGS @@ -43,22 +55,21 @@ let kill $RISERV_PID ''; qemuIservWrapper = symlinkJoin { name = "iserv-wrapper"; paths = [ (qemuIservWrapperScript false) (qemuIservWrapperScript true) ]; }; - configureFlags = lib.optional hostPlatform.isAarch32 "--disable-split-sections"; - setupBuildFlags = map (opt: "--ghc-option=" + opt) ((lib.optionals isLinuxCross + configureFlags = lib.optional (hostPlatform.isAarch32 || hostPlatform.isAndroid) "--disable-split-sections"; + ghcOptions = [ "-fexternal-interpreter" "-pgmi" "${qemuIservWrapper}/bin/iserv-wrapper" "-L${gmp}/lib" # Required to work-around https://gitlab.haskell.org/ghc/ghc/issues/15275 - ] ++ lib.optionals hostPlatform.isAarch64 ["-fPIC"])) - ++ lib.optionals hostPlatform.isAarch32 (map (opt: "--gcc-option=" + opt) [ "-fno-pic" "-fno-plt" ]) - # Also for GHC #15275 - ++ lib.optionals hostPlatform.isAarch64 ["--gcc-option=-fPIC"]; + ] ++ lib.optionals hostPlatform.isAarch64 ["-fPIC"]; + + # Wrapper for qemu testing qemuTestWrapper = writeShellScriptBin "test-wrapper" '' set -euo pipefail ${qemu}/bin/qemu-${qemuSuffix} $@* - ''; - testWrapper = lib.optional isLinuxCross "${qemuTestWrapper}/bin/test-wrapper"; + ''; - enableShared = lib.mkDefault (!isLinuxCross); + # Choose the appropriate test wrapper + testWrapper = [ "${qemuTestWrapper}/bin/test-wrapper" ]; -in { inherit configureFlags setupBuildFlags testWrapper enableShared; } +in { inherit configureFlags ghcOptions testWrapper; } diff --git a/overlays/mingw_w64.nix b/overlays/mingw_w64.nix index 7ac92d0c19..2ab1cc133f 100644 --- a/overlays/mingw_w64.nix +++ b/overlays/mingw_w64.nix @@ -6,19 +6,20 @@ , mingw_w64_pthreads , iserv-proxy , iserv-proxy-interpreter +, iserv-proxy-interpreter-prof , gmp , hostPlatform , symlinkJoin }: let - configureFlags = lib.optional hostPlatform.isWindows "--disable-split-sections"; + configureFlags = ["--disable-split-sections"]; wineIservWrapperScript = enableProfiling: let interpreter = if enableProfiling - then iserv-proxy-interpreter.override { inherit enableProfiling; } + then iserv-proxy-interpreter-prof else iserv-proxy-interpreter; no-load-call = lib.optionalString (interpreter.exeName != "remote-iserv.exe") "--no-load-call"; in @@ -37,7 +38,7 @@ let PORT=$((5000 + $RANDOM % 5000)) (>&2 echo "---> Starting ${interpreter.exeName} on port $PORT") REMOTE_ISERV=$(mktemp -d) - ln -s ${interpreter.override { enableDebugRTS = true; setupBuildFlags = ["--ghc-option=-optl-Wl,--disable-dynamicbase,--disable-high-entropy-va,--image-base=0x400000" ];}}/bin/* $REMOTE_ISERV + ln -s ${interpreter}/bin/* $REMOTE_ISERV # See coment in comp-builder.nix for where this comes from and why it's here # TODO use `LINK_DLL_FOLDERS` here once it is in all the nixpkgs we want to support. for p in $pkgsHostTargetAsString; do @@ -72,14 +73,14 @@ let ################################################################################ # Build logic (TH support via remote iserv via wine) # - setupBuildFlags = map (opt: "--ghc-option=" + opt) (lib.optionals hostPlatform.isWindows ([ + ghcOptions = [ "-fexternal-interpreter" "-pgmi" "${wineIservWrapper}/bin/iserv-wrapper" # TODO: this should be automatically injected based on the extraLibrary. "-L${mingw_w64_pthreads}/lib" "-L${mingw_w64_pthreads}/bin" "-L${gmp}/lib" - ])); + ]; ################################################################################ # Test logic via wine @@ -102,6 +103,6 @@ let export Path ${wine}/bin/wine64 $@ ''; - testWrapper = lib.optional hostPlatform.isWindows "${wineTestWrapper}/bin/test-wrapper"; + testWrapper = ["${wineTestWrapper}/bin/test-wrapper"]; -in { inherit testWrapper setupBuildFlags configureFlags; } +in { inherit testWrapper ghcOptions configureFlags; } diff --git a/overlays/musl.nix b/overlays/musl.nix index f7b9c0ab04..3cd4770f94 100644 --- a/overlays/musl.nix +++ b/overlays/musl.nix @@ -25,19 +25,22 @@ final: prev: prev.lib.optionalAttrs prev.stdenv.hostPlatform.isMusl ({ xz = prev.xz.override { enableStatic = true; }; lzma = prev.lzma.override { enableStatic = true; }; pcre = prev.pcre.overrideAttrs (_: { dontDisableStatic = true; }); - secp256k1 = prev.secp256k1.overrideAttrs ( oldAttrs: { - configureFlags = oldAttrs.configureFlags ++ ["--enable-static"]; }); + secp256k1 = prev.secp256k1.overrideAttrs (oldAttrs: { + configureFlags = oldAttrs.configureFlags ++ ["--enable-static"]; + }); - numactl = prev.numactl.overrideAttrs (_: { configureFlags = ["--enable-static"];}); + numactl = prev.numactl.overrideAttrs (oldAttrs: { + configureFlags = (oldAttrs.configureFlags or []) ++ ["--enable-static"]; + }); # See https://github.com/input-output-hk/haskell.nix/issues/948 postgresql = (prev.postgresql.overrideAttrs (_old: { dontDisableStatic = true; - # the following is needed becuase libicu links against stdc++ + # the following is needed because libicu links against stdc++ NIX_LDFLAGS = "--push-state --as-needed -lstdc++ --pop-state"; # without this collate.icu.utf8, and foreign_data will fail. LC_CTYPE = "C"; - })).override { enableSystemd = false; gssSupport = false; }; + })).override { systemdSupport = false; gssSupport = false; }; openssl = prev.openssl.override { static = true; }; diff --git a/overlays/nix-prefetch-git-minimal.nix b/overlays/nix-prefetch-git-minimal.nix index 8d599e4de0..b043f9b8b1 100644 --- a/overlays/nix-prefetch-git-minimal.nix +++ b/overlays/nix-prefetch-git-minimal.nix @@ -17,9 +17,12 @@ final: prev: { # This can reduce closure size of nix-tools: # * Eliminates dependency on python3 (70MB) # * Allows sharing with `fetchgit` as it also uses `gitMinimal` (50MB) - inherit (final.callPackages (final.path + "/pkgs/tools/package-management/nix-prefetch-scripts") { - git = final.gitMinimal; - }) nix-prefetch-git; + inherit ( + let f = import (final.path + "/pkgs/tools/package-management/nix-prefetch-scripts"); + in + if (builtins.functionArgs f) ? git + then final.callPackages f { git = final.gitMinimal; } + else prev) nix-prefetch-git; # fetchgit use `buildPackages.gitMinimal` and on nixpkgs 21.11 # and earlier that causes problems when cross compiling. diff --git a/overlays/patches/ghc/2adc050857a9c1b992040fbfd55fbe65b2851b19.patch b/overlays/patches/ghc/2adc050857a9c1b992040fbfd55fbe65b2851b19.patch index c43e4aeffc..427e976b22 100644 --- a/overlays/patches/ghc/2adc050857a9c1b992040fbfd55fbe65b2851b19.patch +++ b/overlays/patches/ghc/2adc050857a9c1b992040fbfd55fbe65b2851b19.patch @@ -26,7 +26,7 @@ index 1d489178673..a251370bfaf 100644 +++ b/compiler/GHC/CmmToAsm.hs @@ -655,13 +655,14 @@ cmmNativeGen logger ncgImpl us fileIds dbgMap cmm count text "cfg not in lockstep") () - + ---- sequence blocks - let sequenced :: [NatCmmDecl statics instr] - sequenced = @@ -43,20 +43,20 @@ index 1d489178673..a251370bfaf 100644 + shorted + + -- massert (checkLayout shorted sequenced) - + let branchOpt :: [NatCmmDecl statics instr] branchOpt = @@ -684,7 +685,7 @@ cmmNativeGen logger ncgImpl us fileIds dbgMap cmm count addUnwind acc proc = acc `mapUnion` computeUnwinding config ncgImpl proc - + - return ( usAlloc + return ( us_seq , fileIds' , branchOpt , lastMinuteImports ++ imports @@ -704,10 +705,10 @@ maybeDumpCfg logger (Just cfg) msg proc_name - + -- | Make sure all blocks we want the layout algorithm to place have been placed. checkLayout :: [NatCmmDecl statics instr] -> [NatCmmDecl statics instr] - -> [NatCmmDecl statics instr] @@ -94,7 +94,7 @@ index b77aa73e52b..2a1fa03b1bc 100644 , generateJumpTableForInstr + , makeFarBranches ) - + where @@ -43,9 +44,11 @@ import GHC.Cmm.Utils import GHC.Cmm.Switch @@ -105,7 +105,7 @@ index b77aa73e52b..2a1fa03b1bc 100644 import GHC.Types.Tickish ( GenTickish(..) ) import GHC.Types.SrcLoc ( srcSpanFile, srcSpanStartLine, srcSpanStartCol ) +import GHC.Types.Unique.Supply - + -- The rest: import GHC.Data.OrdList @@ -61,6 +64,9 @@ import GHC.Data.FastString @@ -115,13 +115,13 @@ index b77aa73e52b..2a1fa03b1bc 100644 +import GHC.Utils.Monad (mapAccumLM) + +import GHC.Cmm.Dataflow.Collections - + -- Note [General layout of an NCG] -- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -161,15 +167,17 @@ basicBlockCodeGen block = do let (top,other_blocks,statics) = foldrOL mkBlocks ([],[],[]) instrs - + - mkBlocks (NEWBLOCK id) (instrs,blocks,statics) - = ([], BasicBlock id instrs : blocks, statics) - mkBlocks (LDATA sec dat) (instrs,blocks,statics) @@ -129,7 +129,7 @@ index b77aa73e52b..2a1fa03b1bc 100644 - mkBlocks instr (instrs,blocks,statics) - = (instr:instrs, blocks, statics) return (BasicBlock id top : other_blocks, statics) - + - +mkBlocks :: Instr + -> ([Instr], [GenBasicBlock Instr], [GenCmmDecl RawCmmStatics h g]) @@ -144,7 +144,7 @@ index b77aa73e52b..2a1fa03b1bc 100644 -- | Utilities ann :: SDoc -> Instr -> Instr @@ -1217,6 +1225,7 @@ assignReg_FltCode = assignReg_IntCode - + -- ----------------------------------------------------------------------------- -- Jumps + @@ -154,7 +154,7 @@ index b77aa73e52b..2a1fa03b1bc 100644 @@ -1302,6 +1311,22 @@ genCondJump bid expr = do _ -> pprPanic "AArch64.genCondJump:case mop: " (text $ show expr) _ -> pprPanic "AArch64.genCondJump: " (text $ show expr) - + +-- A conditional jump with at least +/-128M jump range +genCondFarJump :: MonadUnique m => Cond -> Target -> m InstrBlock +genCondFarJump cond far_target = do @@ -171,7 +171,7 @@ index b77aa73e52b..2a1fa03b1bc 100644 + , NEWBLOCK jmp_lbl_id + , B far_target + , NEWBLOCK skip_lbl_id] - + genCondBranch :: BlockId -- the source of the jump @@ -1816,3 +1841,163 @@ genCCall target dest_regs arg_regs bid = do @@ -344,12 +344,12 @@ index 687daccfda1..7efbb9c70bf 100644 +++ b/compiler/GHC/CmmToAsm/AArch64/Cond.hs @@ -1,6 +1,6 @@ module GHC.CmmToAsm.AArch64.Cond where - + -import GHC.Prelude +import GHC.Prelude hiding (EQ) - + -- https://developer.arm.com/documentation/den0024/a/the-a64-instruction-set/data-processing-instructions/conditional-instructions - + @@ -60,7 +60,13 @@ data Cond | UOGE -- b.pl | UOGT -- b.hi @@ -374,8 +374,8 @@ index d8dd1a4dc0c..1fb8193612f 100644 | TLabel CLabel | TReg Reg + deriving (Eq, Ord) - - + + -- Extension diff --git a/compiler/GHC/CmmToAsm/AArch64/Ppr.hs b/compiler/GHC/CmmToAsm/AArch64/Ppr.hs index fd56d37cd39..c672c342376 100644 @@ -384,12 +384,12 @@ index fd56d37cd39..c672c342376 100644 @@ -1,7 +1,7 @@ {-# OPTIONS_GHC -fno-warn-orphans #-} {-# LANGUAGE CPP #-} - + -module GHC.CmmToAsm.AArch64.Ppr (pprNatCmmDecl, pprInstr) where +module GHC.CmmToAsm.AArch64.Ppr (pprNatCmmDecl, pprInstr, pprBasicBlock) where - + import GHC.Prelude hiding (EQ) - + @@ -353,7 +353,10 @@ pprInstr platform instr = case instr of -> line (text "\t.loc" <+> int file <+> int line' <+> int col) DELTA d -> dualDoc (asmComment $ text "\tdelta = " <> int d) empty @@ -400,17 +400,17 @@ index fd56d37cd39..c672c342376 100644 + -- print it for debugging purposes. + line (text "BLOCK " <> pprAsmLabel platform (blockLbl blockid)) LDATA _ _ -> panic "pprInstr: LDATA" - + -- Pseudo Instructions ------------------------------------------------------- @@ -567,7 +570,7 @@ pprCond c = case c of UGE -> text "hs" -- Carry set/unsigned higher or same ; Greater than or equal, or unordered UGT -> text "hi" -- Unsigned higher ; Greater than, or unordered - + - NEVER -> text "nv" -- Never + -- NEVER -> text "nv" -- Never VS -> text "vs" -- Overflow ; Unordered (at least one NaN operand) VC -> text "vc" -- No overflow ; Not unordered - + diff --git a/compiler/GHC/CmmToAsm/BlockLayout.hs b/compiler/GHC/CmmToAsm/BlockLayout.hs index fa0929348ce..e2096c90209 100644 --- a/compiler/GHC/CmmToAsm/BlockLayout.hs @@ -420,7 +420,7 @@ index fa0929348ce..e2096c90209 100644 import Control.Monad (foldM, unless) import GHC.Data.UnionFind +import GHC.Types.Unique.Supply (UniqSM) - + {- Note [CFG based code layout] @@ -794,29 +795,32 @@ sequenceTop @@ -476,7 +476,7 @@ index fa0929348ce..e2096c90209 100644 + far_blocks <- (ncgMakeFarBranches ncgImpl) platform info seq_blocks + pure $ CmmProc info lbl live $ ListGraph far_blocks + - + -- The old algorithm: -- It is very simple (and stupid): We make a graph out of diff --git a/compiler/GHC/CmmToAsm/Monad.hs b/compiler/GHC/CmmToAsm/Monad.hs @@ -508,7 +508,7 @@ index 3fedcc1fc40..8682d1db9d8 100644 +++ b/compiler/GHC/CmmToAsm/PPC/Instr.hs @@ -688,12 +688,13 @@ takeRegRegMoveInstr _ = Nothing -- big, we have to work around this limitation. - + makeFarBranches - :: LabelMap RawCmmStatics + :: Platform @@ -538,6 +538,6 @@ index a82674afe8f..a13fa2e4656 100644 , extractUnwindPoints = X86.extractUnwindPoints , invertCondBranches = X86.invertCondBranches } --- +-- GitLab diff --git a/overlays/patches/ghc/7db8c9927fae3369fc4ecff68f80c4cb32eea757.patch b/overlays/patches/ghc/7db8c9927fae3369fc4ecff68f80c4cb32eea757.patch new file mode 100644 index 0000000000..742bbba4e7 --- /dev/null +++ b/overlays/patches/ghc/7db8c9927fae3369fc4ecff68f80c4cb32eea757.patch @@ -0,0 +1,832 @@ +From 7db8c9927fae3369fc4ecff68f80c4cb32eea757 Mon Sep 17 00:00:00 2001 +From: Cheng Shao +Date: Tue, 12 Mar 2024 17:31:24 +0000 +Subject: [PATCH] rts: fix clang compilation on aarch64 + +This patch fixes function prototypes in ARMOutlineAtomicsSymbols.h +which causes "error: address argument to atomic operation must be a +pointer to _Atomic type" when compiling with clang on aarch64. +--- + rts/ARMOutlineAtomicsSymbols.h | 464 ++++++++++++++++----------------- + 1 file changed, 232 insertions(+), 232 deletions(-) + +diff --git a/rts/ARMOutlineAtomicsSymbols.h b/rts/ARMOutlineAtomicsSymbols.h +index c8a78b532fa9..5d73b8b246fb 100644 +--- a/rts/ARMOutlineAtomicsSymbols.h ++++ b/rts/ARMOutlineAtomicsSymbols.h +@@ -10,583 +10,583 @@ + #include + #include + +-uint8_t ghc___aarch64_cas1_relax(uint8_t old, uint8_t new, uint8_t* p); +-uint8_t ghc___aarch64_cas1_relax(uint8_t old, uint8_t new, uint8_t* p) { ++uint8_t ghc___aarch64_cas1_relax(uint8_t old, uint8_t new, _Atomic uint8_t* p); ++uint8_t ghc___aarch64_cas1_relax(uint8_t old, uint8_t new, _Atomic uint8_t* p) { + atomic_compare_exchange_strong_explicit(p, &old, new, memory_order_relaxed, memory_order_relaxed); return old; + } + +-uint8_t ghc___aarch64_cas1_acq(uint8_t old, uint8_t new, uint8_t* p); +-uint8_t ghc___aarch64_cas1_acq(uint8_t old, uint8_t new, uint8_t* p) { ++uint8_t ghc___aarch64_cas1_acq(uint8_t old, uint8_t new, _Atomic uint8_t* p); ++uint8_t ghc___aarch64_cas1_acq(uint8_t old, uint8_t new, _Atomic uint8_t* p) { + atomic_compare_exchange_strong_explicit(p, &old, new, memory_order_acquire, memory_order_acquire); return old; + } + +-uint8_t ghc___aarch64_cas1_acq_rel(uint8_t old, uint8_t new, uint8_t* p); +-uint8_t ghc___aarch64_cas1_acq_rel(uint8_t old, uint8_t new, uint8_t* p) { ++uint8_t ghc___aarch64_cas1_acq_rel(uint8_t old, uint8_t new, _Atomic uint8_t* p); ++uint8_t ghc___aarch64_cas1_acq_rel(uint8_t old, uint8_t new, _Atomic uint8_t* p) { + atomic_compare_exchange_strong_explicit(p, &old, new, memory_order_acq_rel, memory_order_acquire); return old; + } + +-uint8_t ghc___aarch64_cas1_sync(uint8_t old, uint8_t new, uint8_t* p); +-uint8_t ghc___aarch64_cas1_sync(uint8_t old, uint8_t new, uint8_t* p) { ++uint8_t ghc___aarch64_cas1_sync(uint8_t old, uint8_t new, _Atomic uint8_t* p); ++uint8_t ghc___aarch64_cas1_sync(uint8_t old, uint8_t new, _Atomic uint8_t* p) { + atomic_compare_exchange_strong_explicit(p, &old, new, memory_order_seq_cst, memory_order_seq_cst); return old; + } + +-uint16_t ghc___aarch64_cas2_relax(uint16_t old, uint16_t new, uint16_t* p); +-uint16_t ghc___aarch64_cas2_relax(uint16_t old, uint16_t new, uint16_t* p) { ++uint16_t ghc___aarch64_cas2_relax(uint16_t old, uint16_t new, _Atomic uint16_t* p); ++uint16_t ghc___aarch64_cas2_relax(uint16_t old, uint16_t new, _Atomic uint16_t* p) { + atomic_compare_exchange_strong_explicit(p, &old, new, memory_order_relaxed, memory_order_relaxed); return old; + } + +-uint16_t ghc___aarch64_cas2_acq(uint16_t old, uint16_t new, uint16_t* p); +-uint16_t ghc___aarch64_cas2_acq(uint16_t old, uint16_t new, uint16_t* p) { ++uint16_t ghc___aarch64_cas2_acq(uint16_t old, uint16_t new, _Atomic uint16_t* p); ++uint16_t ghc___aarch64_cas2_acq(uint16_t old, uint16_t new, _Atomic uint16_t* p) { + atomic_compare_exchange_strong_explicit(p, &old, new, memory_order_acquire, memory_order_acquire); return old; + } + +-uint16_t ghc___aarch64_cas2_acq_rel(uint16_t old, uint16_t new, uint16_t* p); +-uint16_t ghc___aarch64_cas2_acq_rel(uint16_t old, uint16_t new, uint16_t* p) { ++uint16_t ghc___aarch64_cas2_acq_rel(uint16_t old, uint16_t new, _Atomic uint16_t* p); ++uint16_t ghc___aarch64_cas2_acq_rel(uint16_t old, uint16_t new, _Atomic uint16_t* p) { + atomic_compare_exchange_strong_explicit(p, &old, new, memory_order_acq_rel, memory_order_acquire); return old; + } + +-uint16_t ghc___aarch64_cas2_sync(uint16_t old, uint16_t new, uint16_t* p); +-uint16_t ghc___aarch64_cas2_sync(uint16_t old, uint16_t new, uint16_t* p) { ++uint16_t ghc___aarch64_cas2_sync(uint16_t old, uint16_t new, _Atomic uint16_t* p); ++uint16_t ghc___aarch64_cas2_sync(uint16_t old, uint16_t new, _Atomic uint16_t* p) { + atomic_compare_exchange_strong_explicit(p, &old, new, memory_order_seq_cst, memory_order_seq_cst); return old; + } + +-uint32_t ghc___aarch64_cas4_relax(uint32_t old, uint32_t new, uint32_t* p); +-uint32_t ghc___aarch64_cas4_relax(uint32_t old, uint32_t new, uint32_t* p) { ++uint32_t ghc___aarch64_cas4_relax(uint32_t old, uint32_t new, _Atomic uint32_t* p); ++uint32_t ghc___aarch64_cas4_relax(uint32_t old, uint32_t new, _Atomic uint32_t* p) { + atomic_compare_exchange_strong_explicit(p, &old, new, memory_order_relaxed, memory_order_relaxed); return old; + } + +-uint32_t ghc___aarch64_cas4_acq(uint32_t old, uint32_t new, uint32_t* p); +-uint32_t ghc___aarch64_cas4_acq(uint32_t old, uint32_t new, uint32_t* p) { ++uint32_t ghc___aarch64_cas4_acq(uint32_t old, uint32_t new, _Atomic uint32_t* p); ++uint32_t ghc___aarch64_cas4_acq(uint32_t old, uint32_t new, _Atomic uint32_t* p) { + atomic_compare_exchange_strong_explicit(p, &old, new, memory_order_acquire, memory_order_acquire); return old; + } + +-uint32_t ghc___aarch64_cas4_acq_rel(uint32_t old, uint32_t new, uint32_t* p); +-uint32_t ghc___aarch64_cas4_acq_rel(uint32_t old, uint32_t new, uint32_t* p) { ++uint32_t ghc___aarch64_cas4_acq_rel(uint32_t old, uint32_t new, _Atomic uint32_t* p); ++uint32_t ghc___aarch64_cas4_acq_rel(uint32_t old, uint32_t new, _Atomic uint32_t* p) { + atomic_compare_exchange_strong_explicit(p, &old, new, memory_order_acq_rel, memory_order_acquire); return old; + } + +-uint32_t ghc___aarch64_cas4_sync(uint32_t old, uint32_t new, uint32_t* p); +-uint32_t ghc___aarch64_cas4_sync(uint32_t old, uint32_t new, uint32_t* p) { ++uint32_t ghc___aarch64_cas4_sync(uint32_t old, uint32_t new, _Atomic uint32_t* p); ++uint32_t ghc___aarch64_cas4_sync(uint32_t old, uint32_t new, _Atomic uint32_t* p) { + atomic_compare_exchange_strong_explicit(p, &old, new, memory_order_seq_cst, memory_order_seq_cst); return old; + } + +-uint64_t ghc___aarch64_cas8_relax(uint64_t old, uint64_t new, uint64_t* p); +-uint64_t ghc___aarch64_cas8_relax(uint64_t old, uint64_t new, uint64_t* p) { ++uint64_t ghc___aarch64_cas8_relax(uint64_t old, uint64_t new, _Atomic uint64_t* p); ++uint64_t ghc___aarch64_cas8_relax(uint64_t old, uint64_t new, _Atomic uint64_t* p) { + atomic_compare_exchange_strong_explicit(p, &old, new, memory_order_relaxed, memory_order_relaxed); return old; + } + +-uint64_t ghc___aarch64_cas8_acq(uint64_t old, uint64_t new, uint64_t* p); +-uint64_t ghc___aarch64_cas8_acq(uint64_t old, uint64_t new, uint64_t* p) { ++uint64_t ghc___aarch64_cas8_acq(uint64_t old, uint64_t new, _Atomic uint64_t* p); ++uint64_t ghc___aarch64_cas8_acq(uint64_t old, uint64_t new, _Atomic uint64_t* p) { + atomic_compare_exchange_strong_explicit(p, &old, new, memory_order_acquire, memory_order_acquire); return old; + } + +-uint64_t ghc___aarch64_cas8_acq_rel(uint64_t old, uint64_t new, uint64_t* p); +-uint64_t ghc___aarch64_cas8_acq_rel(uint64_t old, uint64_t new, uint64_t* p) { ++uint64_t ghc___aarch64_cas8_acq_rel(uint64_t old, uint64_t new, _Atomic uint64_t* p); ++uint64_t ghc___aarch64_cas8_acq_rel(uint64_t old, uint64_t new, _Atomic uint64_t* p) { + atomic_compare_exchange_strong_explicit(p, &old, new, memory_order_acq_rel, memory_order_acquire); return old; + } + +-uint64_t ghc___aarch64_cas8_sync(uint64_t old, uint64_t new, uint64_t* p); +-uint64_t ghc___aarch64_cas8_sync(uint64_t old, uint64_t new, uint64_t* p) { ++uint64_t ghc___aarch64_cas8_sync(uint64_t old, uint64_t new, _Atomic uint64_t* p); ++uint64_t ghc___aarch64_cas8_sync(uint64_t old, uint64_t new, _Atomic uint64_t* p) { + atomic_compare_exchange_strong_explicit(p, &old, new, memory_order_seq_cst, memory_order_seq_cst); return old; + } + +-uint8_t ghc___aarch64_swp1_relax(uint8_t v, uint8_t* p); +-uint8_t ghc___aarch64_swp1_relax(uint8_t v, uint8_t* p) { ++uint8_t ghc___aarch64_swp1_relax(uint8_t v, _Atomic uint8_t* p); ++uint8_t ghc___aarch64_swp1_relax(uint8_t v, _Atomic uint8_t* p) { + return atomic_exchange_explicit(p, v, memory_order_relaxed); + } + +-uint8_t ghc___aarch64_swp1_acq(uint8_t v, uint8_t* p); +-uint8_t ghc___aarch64_swp1_acq(uint8_t v, uint8_t* p) { ++uint8_t ghc___aarch64_swp1_acq(uint8_t v, _Atomic uint8_t* p); ++uint8_t ghc___aarch64_swp1_acq(uint8_t v, _Atomic uint8_t* p) { + return atomic_exchange_explicit(p, v, memory_order_acquire); + } + +-uint8_t ghc___aarch64_swp1_rel(uint8_t v, uint8_t* p); +-uint8_t ghc___aarch64_swp1_rel(uint8_t v, uint8_t* p) { ++uint8_t ghc___aarch64_swp1_rel(uint8_t v, _Atomic uint8_t* p); ++uint8_t ghc___aarch64_swp1_rel(uint8_t v, _Atomic uint8_t* p) { + return atomic_exchange_explicit(p, v, memory_order_release); + } + +-uint8_t ghc___aarch64_swp1_acq_rel(uint8_t v, uint8_t* p); +-uint8_t ghc___aarch64_swp1_acq_rel(uint8_t v, uint8_t* p) { ++uint8_t ghc___aarch64_swp1_acq_rel(uint8_t v, _Atomic uint8_t* p); ++uint8_t ghc___aarch64_swp1_acq_rel(uint8_t v, _Atomic uint8_t* p) { + return atomic_exchange_explicit(p, v, memory_order_acq_rel); + } + +-uint8_t ghc___aarch64_swp1_sync(uint8_t v, uint8_t* p); +-uint8_t ghc___aarch64_swp1_sync(uint8_t v, uint8_t* p) { ++uint8_t ghc___aarch64_swp1_sync(uint8_t v, _Atomic uint8_t* p); ++uint8_t ghc___aarch64_swp1_sync(uint8_t v, _Atomic uint8_t* p) { + return atomic_exchange_explicit(p, v, memory_order_seq_cst); + } + +-uint16_t ghc___aarch64_swp2_relax(uint16_t v, uint16_t* p); +-uint16_t ghc___aarch64_swp2_relax(uint16_t v, uint16_t* p) { ++uint16_t ghc___aarch64_swp2_relax(uint16_t v, _Atomic uint16_t* p); ++uint16_t ghc___aarch64_swp2_relax(uint16_t v, _Atomic uint16_t* p) { + return atomic_exchange_explicit(p, v, memory_order_relaxed); + } + +-uint16_t ghc___aarch64_swp2_acq(uint16_t v, uint16_t* p); +-uint16_t ghc___aarch64_swp2_acq(uint16_t v, uint16_t* p) { ++uint16_t ghc___aarch64_swp2_acq(uint16_t v, _Atomic uint16_t* p); ++uint16_t ghc___aarch64_swp2_acq(uint16_t v, _Atomic uint16_t* p) { + return atomic_exchange_explicit(p, v, memory_order_acquire); + } + +-uint16_t ghc___aarch64_swp2_rel(uint16_t v, uint16_t* p); +-uint16_t ghc___aarch64_swp2_rel(uint16_t v, uint16_t* p) { ++uint16_t ghc___aarch64_swp2_rel(uint16_t v, _Atomic uint16_t* p); ++uint16_t ghc___aarch64_swp2_rel(uint16_t v, _Atomic uint16_t* p) { + return atomic_exchange_explicit(p, v, memory_order_release); + } + +-uint16_t ghc___aarch64_swp2_acq_rel(uint16_t v, uint16_t* p); +-uint16_t ghc___aarch64_swp2_acq_rel(uint16_t v, uint16_t* p) { ++uint16_t ghc___aarch64_swp2_acq_rel(uint16_t v, _Atomic uint16_t* p); ++uint16_t ghc___aarch64_swp2_acq_rel(uint16_t v, _Atomic uint16_t* p) { + return atomic_exchange_explicit(p, v, memory_order_acq_rel); + } + +-uint16_t ghc___aarch64_swp2_sync(uint16_t v, uint16_t* p); +-uint16_t ghc___aarch64_swp2_sync(uint16_t v, uint16_t* p) { ++uint16_t ghc___aarch64_swp2_sync(uint16_t v, _Atomic uint16_t* p); ++uint16_t ghc___aarch64_swp2_sync(uint16_t v, _Atomic uint16_t* p) { + return atomic_exchange_explicit(p, v, memory_order_seq_cst); + } + +-uint32_t ghc___aarch64_swp4_relax(uint32_t v, uint32_t* p); +-uint32_t ghc___aarch64_swp4_relax(uint32_t v, uint32_t* p) { ++uint32_t ghc___aarch64_swp4_relax(uint32_t v, _Atomic uint32_t* p); ++uint32_t ghc___aarch64_swp4_relax(uint32_t v, _Atomic uint32_t* p) { + return atomic_exchange_explicit(p, v, memory_order_relaxed); + } + +-uint32_t ghc___aarch64_swp4_acq(uint32_t v, uint32_t* p); +-uint32_t ghc___aarch64_swp4_acq(uint32_t v, uint32_t* p) { ++uint32_t ghc___aarch64_swp4_acq(uint32_t v, _Atomic uint32_t* p); ++uint32_t ghc___aarch64_swp4_acq(uint32_t v, _Atomic uint32_t* p) { + return atomic_exchange_explicit(p, v, memory_order_acquire); + } + +-uint32_t ghc___aarch64_swp4_rel(uint32_t v, uint32_t* p); +-uint32_t ghc___aarch64_swp4_rel(uint32_t v, uint32_t* p) { ++uint32_t ghc___aarch64_swp4_rel(uint32_t v, _Atomic uint32_t* p); ++uint32_t ghc___aarch64_swp4_rel(uint32_t v, _Atomic uint32_t* p) { + return atomic_exchange_explicit(p, v, memory_order_release); + } + +-uint32_t ghc___aarch64_swp4_acq_rel(uint32_t v, uint32_t* p); +-uint32_t ghc___aarch64_swp4_acq_rel(uint32_t v, uint32_t* p) { ++uint32_t ghc___aarch64_swp4_acq_rel(uint32_t v, _Atomic uint32_t* p); ++uint32_t ghc___aarch64_swp4_acq_rel(uint32_t v, _Atomic uint32_t* p) { + return atomic_exchange_explicit(p, v, memory_order_acq_rel); + } + +-uint32_t ghc___aarch64_swp4_sync(uint32_t v, uint32_t* p); +-uint32_t ghc___aarch64_swp4_sync(uint32_t v, uint32_t* p) { ++uint32_t ghc___aarch64_swp4_sync(uint32_t v, _Atomic uint32_t* p); ++uint32_t ghc___aarch64_swp4_sync(uint32_t v, _Atomic uint32_t* p) { + return atomic_exchange_explicit(p, v, memory_order_seq_cst); + } + +-uint64_t ghc___aarch64_swp8_relax(uint64_t v, uint64_t* p); +-uint64_t ghc___aarch64_swp8_relax(uint64_t v, uint64_t* p) { ++uint64_t ghc___aarch64_swp8_relax(uint64_t v, _Atomic uint64_t* p); ++uint64_t ghc___aarch64_swp8_relax(uint64_t v, _Atomic uint64_t* p) { + return atomic_exchange_explicit(p, v, memory_order_relaxed); + } + +-uint64_t ghc___aarch64_swp8_acq(uint64_t v, uint64_t* p); +-uint64_t ghc___aarch64_swp8_acq(uint64_t v, uint64_t* p) { ++uint64_t ghc___aarch64_swp8_acq(uint64_t v, _Atomic uint64_t* p); ++uint64_t ghc___aarch64_swp8_acq(uint64_t v, _Atomic uint64_t* p) { + return atomic_exchange_explicit(p, v, memory_order_acquire); + } + +-uint64_t ghc___aarch64_swp8_rel(uint64_t v, uint64_t* p); +-uint64_t ghc___aarch64_swp8_rel(uint64_t v, uint64_t* p) { ++uint64_t ghc___aarch64_swp8_rel(uint64_t v, _Atomic uint64_t* p); ++uint64_t ghc___aarch64_swp8_rel(uint64_t v, _Atomic uint64_t* p) { + return atomic_exchange_explicit(p, v, memory_order_release); + } + +-uint64_t ghc___aarch64_swp8_acq_rel(uint64_t v, uint64_t* p); +-uint64_t ghc___aarch64_swp8_acq_rel(uint64_t v, uint64_t* p) { ++uint64_t ghc___aarch64_swp8_acq_rel(uint64_t v, _Atomic uint64_t* p); ++uint64_t ghc___aarch64_swp8_acq_rel(uint64_t v, _Atomic uint64_t* p) { + return atomic_exchange_explicit(p, v, memory_order_acq_rel); + } + +-uint64_t ghc___aarch64_swp8_sync(uint64_t v, uint64_t* p); +-uint64_t ghc___aarch64_swp8_sync(uint64_t v, uint64_t* p) { ++uint64_t ghc___aarch64_swp8_sync(uint64_t v, _Atomic uint64_t* p); ++uint64_t ghc___aarch64_swp8_sync(uint64_t v, _Atomic uint64_t* p) { + return atomic_exchange_explicit(p, v, memory_order_seq_cst); + } + +-uint8_t ghc___aarch64_ldadd1_relax(uint8_t v, uint8_t* p); +-uint8_t ghc___aarch64_ldadd1_relax(uint8_t v, uint8_t* p) { ++uint8_t ghc___aarch64_ldadd1_relax(uint8_t v, _Atomic uint8_t* p); ++uint8_t ghc___aarch64_ldadd1_relax(uint8_t v, _Atomic uint8_t* p) { + return atomic_fetch_add_explicit(p, v, memory_order_relaxed); + } + +-uint8_t ghc___aarch64_ldadd1_acq(uint8_t v, uint8_t* p); +-uint8_t ghc___aarch64_ldadd1_acq(uint8_t v, uint8_t* p) { ++uint8_t ghc___aarch64_ldadd1_acq(uint8_t v, _Atomic uint8_t* p); ++uint8_t ghc___aarch64_ldadd1_acq(uint8_t v, _Atomic uint8_t* p) { + return atomic_fetch_add_explicit(p, v, memory_order_acquire); + } + +-uint8_t ghc___aarch64_ldadd1_rel(uint8_t v, uint8_t* p); +-uint8_t ghc___aarch64_ldadd1_rel(uint8_t v, uint8_t* p) { ++uint8_t ghc___aarch64_ldadd1_rel(uint8_t v, _Atomic uint8_t* p); ++uint8_t ghc___aarch64_ldadd1_rel(uint8_t v, _Atomic uint8_t* p) { + return atomic_fetch_add_explicit(p, v, memory_order_release); + } + +-uint8_t ghc___aarch64_ldadd1_acq_rel(uint8_t v, uint8_t* p); +-uint8_t ghc___aarch64_ldadd1_acq_rel(uint8_t v, uint8_t* p) { ++uint8_t ghc___aarch64_ldadd1_acq_rel(uint8_t v, _Atomic uint8_t* p); ++uint8_t ghc___aarch64_ldadd1_acq_rel(uint8_t v, _Atomic uint8_t* p) { + return atomic_fetch_add_explicit(p, v, memory_order_acq_rel); + } + +-uint8_t ghc___aarch64_ldadd1_sync(uint8_t v, uint8_t* p); +-uint8_t ghc___aarch64_ldadd1_sync(uint8_t v, uint8_t* p) { ++uint8_t ghc___aarch64_ldadd1_sync(uint8_t v, _Atomic uint8_t* p); ++uint8_t ghc___aarch64_ldadd1_sync(uint8_t v, _Atomic uint8_t* p) { + return atomic_fetch_add_explicit(p, v, memory_order_seq_cst); + } + +-uint16_t ghc___aarch64_ldadd2_relax(uint16_t v, uint16_t* p); +-uint16_t ghc___aarch64_ldadd2_relax(uint16_t v, uint16_t* p) { ++uint16_t ghc___aarch64_ldadd2_relax(uint16_t v, _Atomic uint16_t* p); ++uint16_t ghc___aarch64_ldadd2_relax(uint16_t v, _Atomic uint16_t* p) { + return atomic_fetch_add_explicit(p, v, memory_order_relaxed); + } + +-uint16_t ghc___aarch64_ldadd2_acq(uint16_t v, uint16_t* p); +-uint16_t ghc___aarch64_ldadd2_acq(uint16_t v, uint16_t* p) { ++uint16_t ghc___aarch64_ldadd2_acq(uint16_t v, _Atomic uint16_t* p); ++uint16_t ghc___aarch64_ldadd2_acq(uint16_t v, _Atomic uint16_t* p) { + return atomic_fetch_add_explicit(p, v, memory_order_acquire); + } + +-uint16_t ghc___aarch64_ldadd2_rel(uint16_t v, uint16_t* p); +-uint16_t ghc___aarch64_ldadd2_rel(uint16_t v, uint16_t* p) { ++uint16_t ghc___aarch64_ldadd2_rel(uint16_t v, _Atomic uint16_t* p); ++uint16_t ghc___aarch64_ldadd2_rel(uint16_t v, _Atomic uint16_t* p) { + return atomic_fetch_add_explicit(p, v, memory_order_release); + } + +-uint16_t ghc___aarch64_ldadd2_acq_rel(uint16_t v, uint16_t* p); +-uint16_t ghc___aarch64_ldadd2_acq_rel(uint16_t v, uint16_t* p) { ++uint16_t ghc___aarch64_ldadd2_acq_rel(uint16_t v, _Atomic uint16_t* p); ++uint16_t ghc___aarch64_ldadd2_acq_rel(uint16_t v, _Atomic uint16_t* p) { + return atomic_fetch_add_explicit(p, v, memory_order_acq_rel); + } + +-uint16_t ghc___aarch64_ldadd2_sync(uint16_t v, uint16_t* p); +-uint16_t ghc___aarch64_ldadd2_sync(uint16_t v, uint16_t* p) { ++uint16_t ghc___aarch64_ldadd2_sync(uint16_t v, _Atomic uint16_t* p); ++uint16_t ghc___aarch64_ldadd2_sync(uint16_t v, _Atomic uint16_t* p) { + return atomic_fetch_add_explicit(p, v, memory_order_seq_cst); + } + +-uint32_t ghc___aarch64_ldadd4_relax(uint32_t v, uint32_t* p); +-uint32_t ghc___aarch64_ldadd4_relax(uint32_t v, uint32_t* p) { ++uint32_t ghc___aarch64_ldadd4_relax(uint32_t v, _Atomic uint32_t* p); ++uint32_t ghc___aarch64_ldadd4_relax(uint32_t v, _Atomic uint32_t* p) { + return atomic_fetch_add_explicit(p, v, memory_order_relaxed); + } + +-uint32_t ghc___aarch64_ldadd4_acq(uint32_t v, uint32_t* p); +-uint32_t ghc___aarch64_ldadd4_acq(uint32_t v, uint32_t* p) { ++uint32_t ghc___aarch64_ldadd4_acq(uint32_t v, _Atomic uint32_t* p); ++uint32_t ghc___aarch64_ldadd4_acq(uint32_t v, _Atomic uint32_t* p) { + return atomic_fetch_add_explicit(p, v, memory_order_acquire); + } + +-uint32_t ghc___aarch64_ldadd4_rel(uint32_t v, uint32_t* p); +-uint32_t ghc___aarch64_ldadd4_rel(uint32_t v, uint32_t* p) { ++uint32_t ghc___aarch64_ldadd4_rel(uint32_t v, _Atomic uint32_t* p); ++uint32_t ghc___aarch64_ldadd4_rel(uint32_t v, _Atomic uint32_t* p) { + return atomic_fetch_add_explicit(p, v, memory_order_release); + } + +-uint32_t ghc___aarch64_ldadd4_acq_rel(uint32_t v, uint32_t* p); +-uint32_t ghc___aarch64_ldadd4_acq_rel(uint32_t v, uint32_t* p) { ++uint32_t ghc___aarch64_ldadd4_acq_rel(uint32_t v, _Atomic uint32_t* p); ++uint32_t ghc___aarch64_ldadd4_acq_rel(uint32_t v, _Atomic uint32_t* p) { + return atomic_fetch_add_explicit(p, v, memory_order_acq_rel); + } + +-uint32_t ghc___aarch64_ldadd4_sync(uint32_t v, uint32_t* p); +-uint32_t ghc___aarch64_ldadd4_sync(uint32_t v, uint32_t* p) { ++uint32_t ghc___aarch64_ldadd4_sync(uint32_t v, _Atomic uint32_t* p); ++uint32_t ghc___aarch64_ldadd4_sync(uint32_t v, _Atomic uint32_t* p) { + return atomic_fetch_add_explicit(p, v, memory_order_seq_cst); + } + +-uint64_t ghc___aarch64_ldadd8_relax(uint64_t v, uint64_t* p); +-uint64_t ghc___aarch64_ldadd8_relax(uint64_t v, uint64_t* p) { ++uint64_t ghc___aarch64_ldadd8_relax(uint64_t v, _Atomic uint64_t* p); ++uint64_t ghc___aarch64_ldadd8_relax(uint64_t v, _Atomic uint64_t* p) { + return atomic_fetch_add_explicit(p, v, memory_order_relaxed); + } + +-uint64_t ghc___aarch64_ldadd8_acq(uint64_t v, uint64_t* p); +-uint64_t ghc___aarch64_ldadd8_acq(uint64_t v, uint64_t* p) { ++uint64_t ghc___aarch64_ldadd8_acq(uint64_t v, _Atomic uint64_t* p); ++uint64_t ghc___aarch64_ldadd8_acq(uint64_t v, _Atomic uint64_t* p) { + return atomic_fetch_add_explicit(p, v, memory_order_acquire); + } + +-uint64_t ghc___aarch64_ldadd8_rel(uint64_t v, uint64_t* p); +-uint64_t ghc___aarch64_ldadd8_rel(uint64_t v, uint64_t* p) { ++uint64_t ghc___aarch64_ldadd8_rel(uint64_t v, _Atomic uint64_t* p); ++uint64_t ghc___aarch64_ldadd8_rel(uint64_t v, _Atomic uint64_t* p) { + return atomic_fetch_add_explicit(p, v, memory_order_release); + } + +-uint64_t ghc___aarch64_ldadd8_acq_rel(uint64_t v, uint64_t* p); +-uint64_t ghc___aarch64_ldadd8_acq_rel(uint64_t v, uint64_t* p) { ++uint64_t ghc___aarch64_ldadd8_acq_rel(uint64_t v, _Atomic uint64_t* p); ++uint64_t ghc___aarch64_ldadd8_acq_rel(uint64_t v, _Atomic uint64_t* p) { + return atomic_fetch_add_explicit(p, v, memory_order_acq_rel); + } + +-uint64_t ghc___aarch64_ldadd8_sync(uint64_t v, uint64_t* p); +-uint64_t ghc___aarch64_ldadd8_sync(uint64_t v, uint64_t* p) { ++uint64_t ghc___aarch64_ldadd8_sync(uint64_t v, _Atomic uint64_t* p); ++uint64_t ghc___aarch64_ldadd8_sync(uint64_t v, _Atomic uint64_t* p) { + return atomic_fetch_add_explicit(p, v, memory_order_seq_cst); + } + +-uint8_t ghc___aarch64_ldclr1_relax(uint8_t v, uint8_t* p); +-uint8_t ghc___aarch64_ldclr1_relax(uint8_t v, uint8_t* p) { ++uint8_t ghc___aarch64_ldclr1_relax(uint8_t v, _Atomic uint8_t* p); ++uint8_t ghc___aarch64_ldclr1_relax(uint8_t v, _Atomic uint8_t* p) { + return atomic_fetch_and_explicit(p, v, memory_order_relaxed); + } + +-uint8_t ghc___aarch64_ldclr1_acq(uint8_t v, uint8_t* p); +-uint8_t ghc___aarch64_ldclr1_acq(uint8_t v, uint8_t* p) { ++uint8_t ghc___aarch64_ldclr1_acq(uint8_t v, _Atomic uint8_t* p); ++uint8_t ghc___aarch64_ldclr1_acq(uint8_t v, _Atomic uint8_t* p) { + return atomic_fetch_and_explicit(p, v, memory_order_acquire); + } + +-uint8_t ghc___aarch64_ldclr1_rel(uint8_t v, uint8_t* p); +-uint8_t ghc___aarch64_ldclr1_rel(uint8_t v, uint8_t* p) { ++uint8_t ghc___aarch64_ldclr1_rel(uint8_t v, _Atomic uint8_t* p); ++uint8_t ghc___aarch64_ldclr1_rel(uint8_t v, _Atomic uint8_t* p) { + return atomic_fetch_and_explicit(p, v, memory_order_release); + } + +-uint8_t ghc___aarch64_ldclr1_acq_rel(uint8_t v, uint8_t* p); +-uint8_t ghc___aarch64_ldclr1_acq_rel(uint8_t v, uint8_t* p) { ++uint8_t ghc___aarch64_ldclr1_acq_rel(uint8_t v, _Atomic uint8_t* p); ++uint8_t ghc___aarch64_ldclr1_acq_rel(uint8_t v, _Atomic uint8_t* p) { + return atomic_fetch_and_explicit(p, v, memory_order_acq_rel); + } + +-uint8_t ghc___aarch64_ldclr1_sync(uint8_t v, uint8_t* p); +-uint8_t ghc___aarch64_ldclr1_sync(uint8_t v, uint8_t* p) { ++uint8_t ghc___aarch64_ldclr1_sync(uint8_t v, _Atomic uint8_t* p); ++uint8_t ghc___aarch64_ldclr1_sync(uint8_t v, _Atomic uint8_t* p) { + return atomic_fetch_and_explicit(p, v, memory_order_seq_cst); + } + +-uint16_t ghc___aarch64_ldclr2_relax(uint16_t v, uint16_t* p); +-uint16_t ghc___aarch64_ldclr2_relax(uint16_t v, uint16_t* p) { ++uint16_t ghc___aarch64_ldclr2_relax(uint16_t v, _Atomic uint16_t* p); ++uint16_t ghc___aarch64_ldclr2_relax(uint16_t v, _Atomic uint16_t* p) { + return atomic_fetch_and_explicit(p, v, memory_order_relaxed); + } + +-uint16_t ghc___aarch64_ldclr2_acq(uint16_t v, uint16_t* p); +-uint16_t ghc___aarch64_ldclr2_acq(uint16_t v, uint16_t* p) { ++uint16_t ghc___aarch64_ldclr2_acq(uint16_t v, _Atomic uint16_t* p); ++uint16_t ghc___aarch64_ldclr2_acq(uint16_t v, _Atomic uint16_t* p) { + return atomic_fetch_and_explicit(p, v, memory_order_acquire); + } + +-uint16_t ghc___aarch64_ldclr2_rel(uint16_t v, uint16_t* p); +-uint16_t ghc___aarch64_ldclr2_rel(uint16_t v, uint16_t* p) { ++uint16_t ghc___aarch64_ldclr2_rel(uint16_t v, _Atomic uint16_t* p); ++uint16_t ghc___aarch64_ldclr2_rel(uint16_t v, _Atomic uint16_t* p) { + return atomic_fetch_and_explicit(p, v, memory_order_release); + } + +-uint16_t ghc___aarch64_ldclr2_acq_rel(uint16_t v, uint16_t* p); +-uint16_t ghc___aarch64_ldclr2_acq_rel(uint16_t v, uint16_t* p) { ++uint16_t ghc___aarch64_ldclr2_acq_rel(uint16_t v, _Atomic uint16_t* p); ++uint16_t ghc___aarch64_ldclr2_acq_rel(uint16_t v, _Atomic uint16_t* p) { + return atomic_fetch_and_explicit(p, v, memory_order_acq_rel); + } + +-uint16_t ghc___aarch64_ldclr2_sync(uint16_t v, uint16_t* p); +-uint16_t ghc___aarch64_ldclr2_sync(uint16_t v, uint16_t* p) { ++uint16_t ghc___aarch64_ldclr2_sync(uint16_t v, _Atomic uint16_t* p); ++uint16_t ghc___aarch64_ldclr2_sync(uint16_t v, _Atomic uint16_t* p) { + return atomic_fetch_and_explicit(p, v, memory_order_seq_cst); + } + +-uint32_t ghc___aarch64_ldclr4_relax(uint32_t v, uint32_t* p); +-uint32_t ghc___aarch64_ldclr4_relax(uint32_t v, uint32_t* p) { ++uint32_t ghc___aarch64_ldclr4_relax(uint32_t v, _Atomic uint32_t* p); ++uint32_t ghc___aarch64_ldclr4_relax(uint32_t v, _Atomic uint32_t* p) { + return atomic_fetch_and_explicit(p, v, memory_order_relaxed); + } + +-uint32_t ghc___aarch64_ldclr4_acq(uint32_t v, uint32_t* p); +-uint32_t ghc___aarch64_ldclr4_acq(uint32_t v, uint32_t* p) { ++uint32_t ghc___aarch64_ldclr4_acq(uint32_t v, _Atomic uint32_t* p); ++uint32_t ghc___aarch64_ldclr4_acq(uint32_t v, _Atomic uint32_t* p) { + return atomic_fetch_and_explicit(p, v, memory_order_acquire); + } + +-uint32_t ghc___aarch64_ldclr4_rel(uint32_t v, uint32_t* p); +-uint32_t ghc___aarch64_ldclr4_rel(uint32_t v, uint32_t* p) { ++uint32_t ghc___aarch64_ldclr4_rel(uint32_t v, _Atomic uint32_t* p); ++uint32_t ghc___aarch64_ldclr4_rel(uint32_t v, _Atomic uint32_t* p) { + return atomic_fetch_and_explicit(p, v, memory_order_release); + } + +-uint32_t ghc___aarch64_ldclr4_acq_rel(uint32_t v, uint32_t* p); +-uint32_t ghc___aarch64_ldclr4_acq_rel(uint32_t v, uint32_t* p) { ++uint32_t ghc___aarch64_ldclr4_acq_rel(uint32_t v, _Atomic uint32_t* p); ++uint32_t ghc___aarch64_ldclr4_acq_rel(uint32_t v, _Atomic uint32_t* p) { + return atomic_fetch_and_explicit(p, v, memory_order_acq_rel); + } + +-uint32_t ghc___aarch64_ldclr4_sync(uint32_t v, uint32_t* p); +-uint32_t ghc___aarch64_ldclr4_sync(uint32_t v, uint32_t* p) { ++uint32_t ghc___aarch64_ldclr4_sync(uint32_t v, _Atomic uint32_t* p); ++uint32_t ghc___aarch64_ldclr4_sync(uint32_t v, _Atomic uint32_t* p) { + return atomic_fetch_and_explicit(p, v, memory_order_seq_cst); + } + +-uint64_t ghc___aarch64_ldclr8_relax(uint64_t v, uint64_t* p); +-uint64_t ghc___aarch64_ldclr8_relax(uint64_t v, uint64_t* p) { ++uint64_t ghc___aarch64_ldclr8_relax(uint64_t v, _Atomic uint64_t* p); ++uint64_t ghc___aarch64_ldclr8_relax(uint64_t v, _Atomic uint64_t* p) { + return atomic_fetch_and_explicit(p, v, memory_order_relaxed); + } + +-uint64_t ghc___aarch64_ldclr8_acq(uint64_t v, uint64_t* p); +-uint64_t ghc___aarch64_ldclr8_acq(uint64_t v, uint64_t* p) { ++uint64_t ghc___aarch64_ldclr8_acq(uint64_t v, _Atomic uint64_t* p); ++uint64_t ghc___aarch64_ldclr8_acq(uint64_t v, _Atomic uint64_t* p) { + return atomic_fetch_and_explicit(p, v, memory_order_acquire); + } + +-uint64_t ghc___aarch64_ldclr8_rel(uint64_t v, uint64_t* p); +-uint64_t ghc___aarch64_ldclr8_rel(uint64_t v, uint64_t* p) { ++uint64_t ghc___aarch64_ldclr8_rel(uint64_t v, _Atomic uint64_t* p); ++uint64_t ghc___aarch64_ldclr8_rel(uint64_t v, _Atomic uint64_t* p) { + return atomic_fetch_and_explicit(p, v, memory_order_release); + } + +-uint64_t ghc___aarch64_ldclr8_acq_rel(uint64_t v, uint64_t* p); +-uint64_t ghc___aarch64_ldclr8_acq_rel(uint64_t v, uint64_t* p) { ++uint64_t ghc___aarch64_ldclr8_acq_rel(uint64_t v, _Atomic uint64_t* p); ++uint64_t ghc___aarch64_ldclr8_acq_rel(uint64_t v, _Atomic uint64_t* p) { + return atomic_fetch_and_explicit(p, v, memory_order_acq_rel); + } + +-uint64_t ghc___aarch64_ldclr8_sync(uint64_t v, uint64_t* p); +-uint64_t ghc___aarch64_ldclr8_sync(uint64_t v, uint64_t* p) { ++uint64_t ghc___aarch64_ldclr8_sync(uint64_t v, _Atomic uint64_t* p); ++uint64_t ghc___aarch64_ldclr8_sync(uint64_t v, _Atomic uint64_t* p) { + return atomic_fetch_and_explicit(p, v, memory_order_seq_cst); + } + +-uint8_t ghc___aarch64_ldeor1_relax(uint8_t v, uint8_t* p); +-uint8_t ghc___aarch64_ldeor1_relax(uint8_t v, uint8_t* p) { ++uint8_t ghc___aarch64_ldeor1_relax(uint8_t v, _Atomic uint8_t* p); ++uint8_t ghc___aarch64_ldeor1_relax(uint8_t v, _Atomic uint8_t* p) { + return atomic_fetch_xor_explicit(p, v, memory_order_relaxed); + } + +-uint8_t ghc___aarch64_ldeor1_acq(uint8_t v, uint8_t* p); +-uint8_t ghc___aarch64_ldeor1_acq(uint8_t v, uint8_t* p) { ++uint8_t ghc___aarch64_ldeor1_acq(uint8_t v, _Atomic uint8_t* p); ++uint8_t ghc___aarch64_ldeor1_acq(uint8_t v, _Atomic uint8_t* p) { + return atomic_fetch_xor_explicit(p, v, memory_order_acquire); + } + +-uint8_t ghc___aarch64_ldeor1_rel(uint8_t v, uint8_t* p); +-uint8_t ghc___aarch64_ldeor1_rel(uint8_t v, uint8_t* p) { ++uint8_t ghc___aarch64_ldeor1_rel(uint8_t v, _Atomic uint8_t* p); ++uint8_t ghc___aarch64_ldeor1_rel(uint8_t v, _Atomic uint8_t* p) { + return atomic_fetch_xor_explicit(p, v, memory_order_release); + } + +-uint8_t ghc___aarch64_ldeor1_acq_rel(uint8_t v, uint8_t* p); +-uint8_t ghc___aarch64_ldeor1_acq_rel(uint8_t v, uint8_t* p) { ++uint8_t ghc___aarch64_ldeor1_acq_rel(uint8_t v, _Atomic uint8_t* p); ++uint8_t ghc___aarch64_ldeor1_acq_rel(uint8_t v, _Atomic uint8_t* p) { + return atomic_fetch_xor_explicit(p, v, memory_order_acq_rel); + } + +-uint8_t ghc___aarch64_ldeor1_sync(uint8_t v, uint8_t* p); +-uint8_t ghc___aarch64_ldeor1_sync(uint8_t v, uint8_t* p) { ++uint8_t ghc___aarch64_ldeor1_sync(uint8_t v, _Atomic uint8_t* p); ++uint8_t ghc___aarch64_ldeor1_sync(uint8_t v, _Atomic uint8_t* p) { + return atomic_fetch_xor_explicit(p, v, memory_order_seq_cst); + } + +-uint16_t ghc___aarch64_ldeor2_relax(uint16_t v, uint16_t* p); +-uint16_t ghc___aarch64_ldeor2_relax(uint16_t v, uint16_t* p) { ++uint16_t ghc___aarch64_ldeor2_relax(uint16_t v, _Atomic uint16_t* p); ++uint16_t ghc___aarch64_ldeor2_relax(uint16_t v, _Atomic uint16_t* p) { + return atomic_fetch_xor_explicit(p, v, memory_order_relaxed); + } + +-uint16_t ghc___aarch64_ldeor2_acq(uint16_t v, uint16_t* p); +-uint16_t ghc___aarch64_ldeor2_acq(uint16_t v, uint16_t* p) { ++uint16_t ghc___aarch64_ldeor2_acq(uint16_t v, _Atomic uint16_t* p); ++uint16_t ghc___aarch64_ldeor2_acq(uint16_t v, _Atomic uint16_t* p) { + return atomic_fetch_xor_explicit(p, v, memory_order_acquire); + } + +-uint16_t ghc___aarch64_ldeor2_rel(uint16_t v, uint16_t* p); +-uint16_t ghc___aarch64_ldeor2_rel(uint16_t v, uint16_t* p) { ++uint16_t ghc___aarch64_ldeor2_rel(uint16_t v, _Atomic uint16_t* p); ++uint16_t ghc___aarch64_ldeor2_rel(uint16_t v, _Atomic uint16_t* p) { + return atomic_fetch_xor_explicit(p, v, memory_order_release); + } + +-uint16_t ghc___aarch64_ldeor2_acq_rel(uint16_t v, uint16_t* p); +-uint16_t ghc___aarch64_ldeor2_acq_rel(uint16_t v, uint16_t* p) { ++uint16_t ghc___aarch64_ldeor2_acq_rel(uint16_t v, _Atomic uint16_t* p); ++uint16_t ghc___aarch64_ldeor2_acq_rel(uint16_t v, _Atomic uint16_t* p) { + return atomic_fetch_xor_explicit(p, v, memory_order_acq_rel); + } + +-uint16_t ghc___aarch64_ldeor2_sync(uint16_t v, uint16_t* p); +-uint16_t ghc___aarch64_ldeor2_sync(uint16_t v, uint16_t* p) { ++uint16_t ghc___aarch64_ldeor2_sync(uint16_t v, _Atomic uint16_t* p); ++uint16_t ghc___aarch64_ldeor2_sync(uint16_t v, _Atomic uint16_t* p) { + return atomic_fetch_xor_explicit(p, v, memory_order_seq_cst); + } + +-uint32_t ghc___aarch64_ldeor4_relax(uint32_t v, uint32_t* p); +-uint32_t ghc___aarch64_ldeor4_relax(uint32_t v, uint32_t* p) { ++uint32_t ghc___aarch64_ldeor4_relax(uint32_t v, _Atomic uint32_t* p); ++uint32_t ghc___aarch64_ldeor4_relax(uint32_t v, _Atomic uint32_t* p) { + return atomic_fetch_xor_explicit(p, v, memory_order_relaxed); + } + +-uint32_t ghc___aarch64_ldeor4_acq(uint32_t v, uint32_t* p); +-uint32_t ghc___aarch64_ldeor4_acq(uint32_t v, uint32_t* p) { ++uint32_t ghc___aarch64_ldeor4_acq(uint32_t v, _Atomic uint32_t* p); ++uint32_t ghc___aarch64_ldeor4_acq(uint32_t v, _Atomic uint32_t* p) { + return atomic_fetch_xor_explicit(p, v, memory_order_acquire); + } + +-uint32_t ghc___aarch64_ldeor4_rel(uint32_t v, uint32_t* p); +-uint32_t ghc___aarch64_ldeor4_rel(uint32_t v, uint32_t* p) { ++uint32_t ghc___aarch64_ldeor4_rel(uint32_t v, _Atomic uint32_t* p); ++uint32_t ghc___aarch64_ldeor4_rel(uint32_t v, _Atomic uint32_t* p) { + return atomic_fetch_xor_explicit(p, v, memory_order_release); + } + +-uint32_t ghc___aarch64_ldeor4_acq_rel(uint32_t v, uint32_t* p); +-uint32_t ghc___aarch64_ldeor4_acq_rel(uint32_t v, uint32_t* p) { ++uint32_t ghc___aarch64_ldeor4_acq_rel(uint32_t v, _Atomic uint32_t* p); ++uint32_t ghc___aarch64_ldeor4_acq_rel(uint32_t v, _Atomic uint32_t* p) { + return atomic_fetch_xor_explicit(p, v, memory_order_acq_rel); + } + +-uint32_t ghc___aarch64_ldeor4_sync(uint32_t v, uint32_t* p); +-uint32_t ghc___aarch64_ldeor4_sync(uint32_t v, uint32_t* p) { ++uint32_t ghc___aarch64_ldeor4_sync(uint32_t v, _Atomic uint32_t* p); ++uint32_t ghc___aarch64_ldeor4_sync(uint32_t v, _Atomic uint32_t* p) { + return atomic_fetch_xor_explicit(p, v, memory_order_seq_cst); + } + +-uint64_t ghc___aarch64_ldeor8_relax(uint64_t v, uint64_t* p); +-uint64_t ghc___aarch64_ldeor8_relax(uint64_t v, uint64_t* p) { ++uint64_t ghc___aarch64_ldeor8_relax(uint64_t v, _Atomic uint64_t* p); ++uint64_t ghc___aarch64_ldeor8_relax(uint64_t v, _Atomic uint64_t* p) { + return atomic_fetch_xor_explicit(p, v, memory_order_relaxed); + } + +-uint64_t ghc___aarch64_ldeor8_acq(uint64_t v, uint64_t* p); +-uint64_t ghc___aarch64_ldeor8_acq(uint64_t v, uint64_t* p) { ++uint64_t ghc___aarch64_ldeor8_acq(uint64_t v, _Atomic uint64_t* p); ++uint64_t ghc___aarch64_ldeor8_acq(uint64_t v, _Atomic uint64_t* p) { + return atomic_fetch_xor_explicit(p, v, memory_order_acquire); + } + +-uint64_t ghc___aarch64_ldeor8_rel(uint64_t v, uint64_t* p); +-uint64_t ghc___aarch64_ldeor8_rel(uint64_t v, uint64_t* p) { ++uint64_t ghc___aarch64_ldeor8_rel(uint64_t v, _Atomic uint64_t* p); ++uint64_t ghc___aarch64_ldeor8_rel(uint64_t v, _Atomic uint64_t* p) { + return atomic_fetch_xor_explicit(p, v, memory_order_release); + } + +-uint64_t ghc___aarch64_ldeor8_acq_rel(uint64_t v, uint64_t* p); +-uint64_t ghc___aarch64_ldeor8_acq_rel(uint64_t v, uint64_t* p) { ++uint64_t ghc___aarch64_ldeor8_acq_rel(uint64_t v, _Atomic uint64_t* p); ++uint64_t ghc___aarch64_ldeor8_acq_rel(uint64_t v, _Atomic uint64_t* p) { + return atomic_fetch_xor_explicit(p, v, memory_order_acq_rel); + } + +-uint64_t ghc___aarch64_ldeor8_sync(uint64_t v, uint64_t* p); +-uint64_t ghc___aarch64_ldeor8_sync(uint64_t v, uint64_t* p) { ++uint64_t ghc___aarch64_ldeor8_sync(uint64_t v, _Atomic uint64_t* p); ++uint64_t ghc___aarch64_ldeor8_sync(uint64_t v, _Atomic uint64_t* p) { + return atomic_fetch_xor_explicit(p, v, memory_order_seq_cst); + } + +-uint8_t ghc___aarch64_ldset1_relax(uint8_t v, uint8_t* p); +-uint8_t ghc___aarch64_ldset1_relax(uint8_t v, uint8_t* p) { ++uint8_t ghc___aarch64_ldset1_relax(uint8_t v, _Atomic uint8_t* p); ++uint8_t ghc___aarch64_ldset1_relax(uint8_t v, _Atomic uint8_t* p) { + return atomic_fetch_or_explicit(p, v, memory_order_relaxed); + } + +-uint8_t ghc___aarch64_ldset1_acq(uint8_t v, uint8_t* p); +-uint8_t ghc___aarch64_ldset1_acq(uint8_t v, uint8_t* p) { ++uint8_t ghc___aarch64_ldset1_acq(uint8_t v, _Atomic uint8_t* p); ++uint8_t ghc___aarch64_ldset1_acq(uint8_t v, _Atomic uint8_t* p) { + return atomic_fetch_or_explicit(p, v, memory_order_acquire); + } + +-uint8_t ghc___aarch64_ldset1_rel(uint8_t v, uint8_t* p); +-uint8_t ghc___aarch64_ldset1_rel(uint8_t v, uint8_t* p) { ++uint8_t ghc___aarch64_ldset1_rel(uint8_t v, _Atomic uint8_t* p); ++uint8_t ghc___aarch64_ldset1_rel(uint8_t v, _Atomic uint8_t* p) { + return atomic_fetch_or_explicit(p, v, memory_order_release); + } + +-uint8_t ghc___aarch64_ldset1_acq_rel(uint8_t v, uint8_t* p); +-uint8_t ghc___aarch64_ldset1_acq_rel(uint8_t v, uint8_t* p) { ++uint8_t ghc___aarch64_ldset1_acq_rel(uint8_t v, _Atomic uint8_t* p); ++uint8_t ghc___aarch64_ldset1_acq_rel(uint8_t v, _Atomic uint8_t* p) { + return atomic_fetch_or_explicit(p, v, memory_order_acq_rel); + } + +-uint8_t ghc___aarch64_ldset1_sync(uint8_t v, uint8_t* p); +-uint8_t ghc___aarch64_ldset1_sync(uint8_t v, uint8_t* p) { ++uint8_t ghc___aarch64_ldset1_sync(uint8_t v, _Atomic uint8_t* p); ++uint8_t ghc___aarch64_ldset1_sync(uint8_t v, _Atomic uint8_t* p) { + return atomic_fetch_or_explicit(p, v, memory_order_seq_cst); + } + +-uint16_t ghc___aarch64_ldset2_relax(uint16_t v, uint16_t* p); +-uint16_t ghc___aarch64_ldset2_relax(uint16_t v, uint16_t* p) { ++uint16_t ghc___aarch64_ldset2_relax(uint16_t v, _Atomic uint16_t* p); ++uint16_t ghc___aarch64_ldset2_relax(uint16_t v, _Atomic uint16_t* p) { + return atomic_fetch_or_explicit(p, v, memory_order_relaxed); + } + +-uint16_t ghc___aarch64_ldset2_acq(uint16_t v, uint16_t* p); +-uint16_t ghc___aarch64_ldset2_acq(uint16_t v, uint16_t* p) { ++uint16_t ghc___aarch64_ldset2_acq(uint16_t v, _Atomic uint16_t* p); ++uint16_t ghc___aarch64_ldset2_acq(uint16_t v, _Atomic uint16_t* p) { + return atomic_fetch_or_explicit(p, v, memory_order_acquire); + } + +-uint16_t ghc___aarch64_ldset2_rel(uint16_t v, uint16_t* p); +-uint16_t ghc___aarch64_ldset2_rel(uint16_t v, uint16_t* p) { ++uint16_t ghc___aarch64_ldset2_rel(uint16_t v, _Atomic uint16_t* p); ++uint16_t ghc___aarch64_ldset2_rel(uint16_t v, _Atomic uint16_t* p) { + return atomic_fetch_or_explicit(p, v, memory_order_release); + } + +-uint16_t ghc___aarch64_ldset2_acq_rel(uint16_t v, uint16_t* p); +-uint16_t ghc___aarch64_ldset2_acq_rel(uint16_t v, uint16_t* p) { ++uint16_t ghc___aarch64_ldset2_acq_rel(uint16_t v, _Atomic uint16_t* p); ++uint16_t ghc___aarch64_ldset2_acq_rel(uint16_t v, _Atomic uint16_t* p) { + return atomic_fetch_or_explicit(p, v, memory_order_acq_rel); + } + +-uint16_t ghc___aarch64_ldset2_sync(uint16_t v, uint16_t* p); +-uint16_t ghc___aarch64_ldset2_sync(uint16_t v, uint16_t* p) { ++uint16_t ghc___aarch64_ldset2_sync(uint16_t v, _Atomic uint16_t* p); ++uint16_t ghc___aarch64_ldset2_sync(uint16_t v, _Atomic uint16_t* p) { + return atomic_fetch_or_explicit(p, v, memory_order_seq_cst); + } + +-uint32_t ghc___aarch64_ldset4_relax(uint32_t v, uint32_t* p); +-uint32_t ghc___aarch64_ldset4_relax(uint32_t v, uint32_t* p) { ++uint32_t ghc___aarch64_ldset4_relax(uint32_t v, _Atomic uint32_t* p); ++uint32_t ghc___aarch64_ldset4_relax(uint32_t v, _Atomic uint32_t* p) { + return atomic_fetch_or_explicit(p, v, memory_order_relaxed); + } + +-uint32_t ghc___aarch64_ldset4_acq(uint32_t v, uint32_t* p); +-uint32_t ghc___aarch64_ldset4_acq(uint32_t v, uint32_t* p) { ++uint32_t ghc___aarch64_ldset4_acq(uint32_t v, _Atomic uint32_t* p); ++uint32_t ghc___aarch64_ldset4_acq(uint32_t v, _Atomic uint32_t* p) { + return atomic_fetch_or_explicit(p, v, memory_order_acquire); + } + +-uint32_t ghc___aarch64_ldset4_rel(uint32_t v, uint32_t* p); +-uint32_t ghc___aarch64_ldset4_rel(uint32_t v, uint32_t* p) { ++uint32_t ghc___aarch64_ldset4_rel(uint32_t v, _Atomic uint32_t* p); ++uint32_t ghc___aarch64_ldset4_rel(uint32_t v, _Atomic uint32_t* p) { + return atomic_fetch_or_explicit(p, v, memory_order_release); + } + +-uint32_t ghc___aarch64_ldset4_acq_rel(uint32_t v, uint32_t* p); +-uint32_t ghc___aarch64_ldset4_acq_rel(uint32_t v, uint32_t* p) { ++uint32_t ghc___aarch64_ldset4_acq_rel(uint32_t v, _Atomic uint32_t* p); ++uint32_t ghc___aarch64_ldset4_acq_rel(uint32_t v, _Atomic uint32_t* p) { + return atomic_fetch_or_explicit(p, v, memory_order_acq_rel); + } + +-uint32_t ghc___aarch64_ldset4_sync(uint32_t v, uint32_t* p); +-uint32_t ghc___aarch64_ldset4_sync(uint32_t v, uint32_t* p) { ++uint32_t ghc___aarch64_ldset4_sync(uint32_t v, _Atomic uint32_t* p); ++uint32_t ghc___aarch64_ldset4_sync(uint32_t v, _Atomic uint32_t* p) { + return atomic_fetch_or_explicit(p, v, memory_order_seq_cst); + } + +-uint64_t ghc___aarch64_ldset8_relax(uint64_t v, uint64_t* p); +-uint64_t ghc___aarch64_ldset8_relax(uint64_t v, uint64_t* p) { ++uint64_t ghc___aarch64_ldset8_relax(uint64_t v, _Atomic uint64_t* p); ++uint64_t ghc___aarch64_ldset8_relax(uint64_t v, _Atomic uint64_t* p) { + return atomic_fetch_or_explicit(p, v, memory_order_relaxed); + } + +-uint64_t ghc___aarch64_ldset8_acq(uint64_t v, uint64_t* p); +-uint64_t ghc___aarch64_ldset8_acq(uint64_t v, uint64_t* p) { ++uint64_t ghc___aarch64_ldset8_acq(uint64_t v, _Atomic uint64_t* p); ++uint64_t ghc___aarch64_ldset8_acq(uint64_t v, _Atomic uint64_t* p) { + return atomic_fetch_or_explicit(p, v, memory_order_acquire); + } + +-uint64_t ghc___aarch64_ldset8_rel(uint64_t v, uint64_t* p); +-uint64_t ghc___aarch64_ldset8_rel(uint64_t v, uint64_t* p) { ++uint64_t ghc___aarch64_ldset8_rel(uint64_t v, _Atomic uint64_t* p); ++uint64_t ghc___aarch64_ldset8_rel(uint64_t v, _Atomic uint64_t* p) { + return atomic_fetch_or_explicit(p, v, memory_order_release); + } + +-uint64_t ghc___aarch64_ldset8_acq_rel(uint64_t v, uint64_t* p); +-uint64_t ghc___aarch64_ldset8_acq_rel(uint64_t v, uint64_t* p) { ++uint64_t ghc___aarch64_ldset8_acq_rel(uint64_t v, _Atomic uint64_t* p); ++uint64_t ghc___aarch64_ldset8_acq_rel(uint64_t v, _Atomic uint64_t* p) { + return atomic_fetch_or_explicit(p, v, memory_order_acq_rel); + } + +-uint64_t ghc___aarch64_ldset8_sync(uint64_t v, uint64_t* p); +-uint64_t ghc___aarch64_ldset8_sync(uint64_t v, uint64_t* p) { ++uint64_t ghc___aarch64_ldset8_sync(uint64_t v, _Atomic uint64_t* p); ++uint64_t ghc___aarch64_ldset8_sync(uint64_t v, _Atomic uint64_t* p) { + return atomic_fetch_or_explicit(p, v, memory_order_seq_cst); + } + diff --git a/overlays/patches/ghc/ghc-8.10-0006-Adds-support-for-Hidden-symbols-android.patch b/overlays/patches/ghc/ghc-8.10-0006-Adds-support-for-Hidden-symbols-android.patch new file mode 100644 index 0000000000..69bba7d9c7 --- /dev/null +++ b/overlays/patches/ghc/ghc-8.10-0006-Adds-support-for-Hidden-symbols-android.patch @@ -0,0 +1,233 @@ +diff --git a/rts/Linker.c b/rts/Linker.c +index 3428a010da..6eb43be959 100644 +--- a/rts/Linker.c ++++ b/rts/Linker.c +@@ -267,9 +267,12 @@ int ghciInsertSymbolTable( + HashTable *table, + const SymbolName* key, + SymbolAddr* data, +- HsBool weak, ++ int flags, + ObjectCode *owner) + { ++ HsBool weak = flags & 1; ++ HsBool hidden = flags & 2; ++ + RtsSymbolInfo *pinfo = lookupStrHashTable(table, key); + if (!pinfo) /* new entry */ + { +@@ -277,6 +280,7 @@ int ghciInsertSymbolTable( + pinfo->value = data; + pinfo->owner = owner; + pinfo->weak = weak; ++ pinfo->hidden = hidden; + insertStrHashTable(table, key, pinfo); + return 1; + } +@@ -340,11 +344,22 @@ int ghciInsertSymbolTable( + call this function again to trigger the duplicate error. */ + return 1; + } ++ else if(pinfo->hidden && !hidden) ++ { ++ /* The existing symbol is hidden, let's replace it */ ++ pinfo->value = data; ++ pinfo->owner = owner; ++ pinfo->weak = weak; + ++ pinfo->hidden = hidden; ++ return 1; ++ } + pathchar* archiveName = NULL; + debugBelch( + "GHC runtime linker: fatal error: I found a duplicate definition for symbol\n" + " %s\n" ++ " new symbol is hidden: %d\n" ++ " old symbol is hidden: %d\n" + "whilst processing object file\n" + " %" PATH_FMT "\n" + "The symbol was previously defined in\n" +@@ -355,6 +370,8 @@ int ghciInsertSymbolTable( + " * An incorrect `package.conf' entry, causing some object to be\n" + " loaded twice.\n", + (char*)key, ++ hidden ? 1 : 0, ++ pinfo->hidden ? 1 : 0, + obj_name, + pinfo->owner == NULL ? WSTR("(GHCi built-in symbols)") : + pinfo->owner->archiveMemberName ? archiveName = mkPath(pinfo->owner->archiveMemberName) +@@ -451,7 +468,7 @@ initLinker_ (int retain_cafs) + for (sym = rtsSyms; sym->lbl != NULL; sym++) { + if (! ghciInsertSymbolTable(WSTR("(GHCi built-in symbols)"), + symhash, sym->lbl, sym->addr, +- sym->weak, NULL)) { ++ sym->weak | (HS_BOOL_FALSE << 1), NULL)) { + barf("ghciInsertSymbolTable failed"); + } + IF_DEBUG(linker, debugBelch("initLinker: inserting rts symbol %s, %p\n", sym->lbl, sym->addr)); +@@ -463,7 +480,7 @@ initLinker_ (int retain_cafs) + use an arbitrary (hopefully unique) address here. + */ + if (! ghciInsertSymbolTable(WSTR("(GHCi special symbols)"), +- symhash, "__dso_handle", (void *)0x12345687, HS_BOOL_FALSE, NULL)) { ++ symhash, "__dso_handle", (void *)0x12345687, HS_BOOL_FALSE | (HS_BOOL_FALSE << 1), NULL)) { + barf("ghciInsertSymbolTable failed"); + } + +@@ -471,7 +488,7 @@ initLinker_ (int retain_cafs) + if (! ghciInsertSymbolTable(WSTR("(GHCi built-in symbols)"), symhash, + MAYBE_LEADING_UNDERSCORE_STR("newCAF"), + retain_cafs ? newRetainedCAF : newGCdCAF, +- HS_BOOL_FALSE, NULL)) { ++ HS_BOOL_FALSE | (HS_BOOL_FALSE << 1), NULL)) { + barf("ghciInsertSymbolTable failed"); + } + +@@ -844,8 +861,8 @@ HsBool removeLibrarySearchPath(HsPtr dll_path_index) + */ + HsInt insertSymbol(pathchar* obj_name, SymbolName* key, SymbolAddr* data) + { +- return ghciInsertSymbolTable(obj_name, symhash, key, data, HS_BOOL_FALSE, +- NULL); ++ return ghciInsertSymbolTable(obj_name, symhash, key, data, ++ HS_BOOL_FALSE | (HS_BOOL_FALSE << 1), NULL); + } + + /* ----------------------------------------------------------------------------- +@@ -1696,7 +1713,8 @@ int ocTryLoad (ObjectCode* oc) { + if ( symbol.name + && !ghciInsertSymbolTable(oc->fileName, symhash, symbol.name, + symbol.addr, +- isSymbolWeak(oc, symbol.name), oc)) { ++ isSymbolWeak(oc, symbol.name) | (HS_BOOL_FALSE << 1), ++ oc)) { + return 0; + } + } +diff --git a/rts/LinkerInternals.h b/rts/LinkerInternals.h +index a846bf5ca7..acba66828b 100644 +--- a/rts/LinkerInternals.h ++++ b/rts/LinkerInternals.h +@@ -310,6 +310,7 @@ typedef struct _RtsSymbolInfo { + SymbolAddr* value; + ObjectCode *owner; + HsBool weak; ++ HsBool hidden; + } RtsSymbolInfo; + + void exitLinker( void ); +@@ -337,7 +338,7 @@ int ghciInsertSymbolTable( + HashTable *table, + const SymbolName* key, + SymbolAddr* data, +- HsBool weak, ++ int flags, + ObjectCode *owner); + + /* Lock-free version of lookupSymbol. When 'dependent' is not NULL, adds it as a +diff --git a/rts/linker/Elf.c b/rts/linker/Elf.c +index c3f9110509..5bf7f00f31 100644 +--- a/rts/linker/Elf.c ++++ b/rts/linker/Elf.c +@@ -1013,7 +1013,9 @@ ocGetNames_ELF ( ObjectCode* oc ) + setWeakSymbol(oc, nm); + } + if (!ghciInsertSymbolTable(oc->fileName, symhash, +- nm, symbol->addr, isWeak, oc)) { ++ nm, symbol->addr, ++ isWeak | ((ELF_ST_VISIBILITY(symbol->elf_sym->st_other) == STV_HIDDEN) << 1), ++ oc)) { + goto fail; + } + oc->symbols[curSymbol++].name = nm; +diff --git a/rts/linker/ElfTypes.h b/rts/linker/ElfTypes.h +index e5333d71a7..0a8e44a076 100644 +--- a/rts/linker/ElfTypes.h ++++ b/rts/linker/ElfTypes.h +@@ -32,6 +32,9 @@ + #define Elf_Sym Elf64_Sym + #define Elf_Rel Elf64_Rel + #define Elf_Rela Elf64_Rela ++#if !defined(ELF_ST_VISIBILITY) ++#define ELF_ST_VISIBILITY ELF64_ST_VISIBILITY ++#endif + #if !defined(ELF_ST_TYPE) + #define ELF_ST_TYPE ELF64_ST_TYPE + #endif +@@ -56,6 +59,9 @@ + #define Elf_Sym Elf32_Sym + #define Elf_Rel Elf32_Rel + #define Elf_Rela Elf32_Rela ++#if !defined(ELF_ST_VISIBILITY) ++#define ELF_ST_VISIBILITY ELF32_ST_VISIBILITY ++#endif /* ELF_ST_VISIBILITY */ + #if !defined(ELF_ST_TYPE) + #define ELF_ST_TYPE ELF32_ST_TYPE + #endif /* ELF_ST_TYPE */ +diff --git a/rts/linker/MachO.c b/rts/linker/MachO.c +index 00b0dce04c..d63369972d 100644 +--- a/rts/linker/MachO.c ++++ b/rts/linker/MachO.c +@@ -1336,7 +1336,7 @@ ocGetNames_MachO(ObjectCode* oc) + , symhash + , nm + , addr +- , HS_BOOL_FALSE ++ , HS_BOOL_FALSE | (HS_BOOL_FALSE << 1) + , oc); + + oc->symbols[curSymbol].name = nm; +@@ -1376,7 +1376,7 @@ ocGetNames_MachO(ObjectCode* oc) + + IF_DEBUG(linker, debugBelch("ocGetNames_MachO: inserting common symbol: %s\n", nm)); + ghciInsertSymbolTable(oc->fileName, symhash, nm, +- (void*)commonCounter, HS_BOOL_FALSE, oc); ++ (void*)commonCounter, HS_BOOL_FALSE | (HS_BOOL_FALSE << 1), oc); + oc->symbols[curSymbol].name = nm; + oc->symbols[curSymbol].addr = oc->info->macho_symbols[i].addr; + curSymbol++; +diff --git a/rts/linker/PEi386.c b/rts/linker/PEi386.c +index c73d858d52..74b7fd1009 100644 +--- a/rts/linker/PEi386.c ++++ b/rts/linker/PEi386.c +@@ -292,7 +292,7 @@ const void* __rts_iob_func = (void*)&__acrt_iob_func; + void initLinker_PEi386() + { + if (!ghciInsertSymbolTable(WSTR("(GHCi/Ld special symbols)"), +- symhash, "__image_base__", __image_base, HS_BOOL_TRUE, NULL)) { ++ symhash, "__image_base__", __image_base, HS_BOOL_TRUE | (HS_BOOL_FALSE << 1), NULL)) { + barf("ghciInsertSymbolTable failed"); + } + +@@ -1533,7 +1533,7 @@ ocGetNames_PEi386 ( ObjectCode* oc ) + sname = strdup (sname); + addr = strdup (addr); + if (!ghciInsertSymbolTable(oc->fileName, symhash, sname, +- addr, false, oc)) { ++ addr, HS_BOOL_FALSE | (HS_BOOL_FALSE << 1), oc)) { + releaseOcInfo (oc); + stgFree (oc->image); + oc->image = NULL; +@@ -1751,7 +1751,9 @@ ocGetNames_PEi386 ( ObjectCode* oc ) + stgFree(tmp); + sname = strdup (sname); + if (!ghciInsertSymbolTable(oc->fileName, symhash, sname, +- addr, false, oc)) ++ addr, ++ HS_BOOL_FALSE | ((secNumber == IMAGE_SYM_UNDEFINED) << 1), ++ oc)) + return false; + + break; +@@ -1768,9 +1770,9 @@ ocGetNames_PEi386 ( ObjectCode* oc ) + if (isWeak) { + setWeakSymbol(oc, sname); + } +- + if (! ghciInsertSymbolTable(oc->fileName, symhash, sname, addr, +- isWeak, oc)) ++ isWeak | ((secNumber == IMAGE_SYM_UNDEFINED) << 1), ++ oc)) + return false; + } else { + /* We're skipping the symbol, but if we ever load this diff --git a/overlays/patches/ghc/ghc-8.10-3434-armv7a.patch b/overlays/patches/ghc/ghc-8.10-3434-armv7a.patch new file mode 100644 index 0000000000..6f1eb66ad1 --- /dev/null +++ b/overlays/patches/ghc/ghc-8.10-3434-armv7a.patch @@ -0,0 +1,68 @@ +diff --git a/libraries/ghc-prim/ghc-prim.cabal b/libraries/ghc-prim/ghc-prim.cabal +index c633124..2bd51c0 100644 +--- a/libraries/ghc-prim/ghc-prim.cabal ++++ b/libraries/ghc-prim/ghc-prim.cabal +@@ -70,7 +70,7 @@ Library + if os(linux) + -- we need libm, but for musl and other's we might need libc, as libm + -- is just an empty shell. +- extra-libraries: c, m ++ extra-libraries: c, m + + c-sources: + cbits/atomic.c +diff --git a/rts/RtsSymbols.c b/rts/RtsSymbols.c +index 9ca696c..b4a85e5 100644 +--- a/rts/RtsSymbols.c ++++ b/rts/RtsSymbols.c +@@ -1000,6 +1000,18 @@ + #define RTS_LIBGCC_SYMBOLS + #endif + ++ ++#if !defined(DYNAMIC) && defined(linux_HOST_OS) ++// we need these for static musl builds. However when ++// linking shared objects (DLLs) this will fail, hence ++// we do not include them when building with -DDYNAMIC ++#define RTS_LINKER_SYMBOLS \ ++ SymI_NeedsProto(__fini_array_start) \ ++ SymI_NeedsProto(__fini_array_end) ++#else ++#define RTS_LINKER_SYMBOLS ++#endif ++ + /* entirely bogus claims about types of these symbols */ + #define SymI_NeedsProto(vvv) extern void vvv(void); + #define SymI_NeedsDataProto(vvv) extern StgWord vvv[]; +@@ -1028,6 +1040,7 @@ RTS_DARWIN_ONLY_SYMBOLS + RTS_OPENBSD_ONLY_SYMBOLS + RTS_LIBGCC_SYMBOLS + RTS_LIBFFI_SYMBOLS ++RTS_LINKER_SYMBOLS + #undef SymI_NeedsProto + #undef SymI_NeedsDataProto + #undef SymI_HasProto +@@ -1068,6 +1081,8 @@ RTS_LIBFFI_SYMBOLS + #define SymI_HasProto_deprecated(vvv) \ + { #vvv, (void*)0xBAADF00D, true }, + ++void *RTS_DYNAMIC = NULL; ++ + RtsSymbolVal rtsSyms[] = { + RTS_SYMBOLS + RTS_RET_SYMBOLS +@@ -1078,6 +1093,7 @@ RtsSymbolVal rtsSyms[] = { + RTS_OPENBSD_ONLY_SYMBOLS + RTS_LIBGCC_SYMBOLS + RTS_LIBFFI_SYMBOLS ++ RTS_LINKER_SYMBOLS + SymI_HasDataProto(nonmoving_write_barrier_enabled) + #if defined(darwin_HOST_OS) && defined(i386_HOST_ARCH) + // dyld stub code contains references to this, +@@ -1085,5 +1101,6 @@ RtsSymbolVal rtsSyms[] = { + // lazy pointers as nonlazy. + { "dyld_stub_binding_helper", (void*)0xDEADBEEF, false }, + #endif ++ { "_DYNAMIC", (void*)(&RTS_DYNAMIC), false }, + { 0, 0, false } /* sentinel */ + }; diff --git a/overlays/patches/ghc/ghc-8.10-android.patch b/overlays/patches/ghc/ghc-8.10-android.patch new file mode 100644 index 0000000000..fd499548d1 --- /dev/null +++ b/overlays/patches/ghc/ghc-8.10-android.patch @@ -0,0 +1,259 @@ +diff --git a/rts/Linker.c b/rts/Linker.c +index cfae6fc..b766ce0 100644 +--- a/rts/Linker.c ++++ b/rts/Linker.c +@@ -350,6 +350,37 @@ int ghciInsertSymbolTable( + || strncmp(key, "calloc", 6) == 0 + || strncmp(key, "realloc", 7) == 0 + || strncmp(key, "reallocarray", 12) == 0 ++ ++ || strncmp(key, "open", 4) == 0 ++ || strncmp(key, "close", 5) == 0 ++ || strncmp(key, "stderr", 6) == 0 ++ || strncmp(key, "clock_gettime", 13) == 0 ++ || strncmp(key, "clock_getres", 12) == 0 ++ || strncmp(key, "__stack_chk_guard", 17) == 0 ++ || strncmp(key, "__strchr_chk", 12) == 0 ++ || strncmp(key, "__strcpy_chk", 12) == 0 ++ || strncmp(key, "__strcpy_chk_generic", 20) == 0 ++ || strncmp(key, "__strcat_chk_generic", 20) == 0 ++ || strncmp(key, "__strlcpy_chk", 13) == 0 ++ || strncmp(key, "__strlen_chk", 12) == 0 ++ || strncmp(key, "__strncpy_chk", 13) == 0 ++ || strncmp(key, "__vsnprintf_chk", 15) == 0 ++ || strncmp(key, "__write_chk", 11) == 0 ++ || strncmp(key, "__read_chk", 10) == 0 ++ || strncmp(key, "__memset_chk", 12) == 0 ++ || strncmp(key, "__memset_chk_fail", 17) == 0 ++ || strncmp(key, "__libc_globals", 14) == 0 ++ || strncmp(key, "memmove", 7) == 0 ++ || strncmp(key, "gettimeofday", 12) == 0 ++ || strncmp(key, "strcmp", 6) == 0 ++ || strncmp(key, "fopen", 5) == 0 ++ || strncmp(key, "fread", 5) == 0 ++ || strncmp(key, "fwrite", 6) == 0 ++ || strncmp(key, "fclose", 5) == 0 ++ || strncmp(key, "open", 4) == 0 ++ || strncmp(key, "close", 5) == 0 ++ || strncmp(key, "strerror", 8) == 0 ++ || strncmp(key, "__rel_iplt_start", 16) == 0 + ) { + /* symbols we link aginst the libc we link ghc or iserv against */ + return 1; +diff --git a/rts/RtsSymbols.c b/rts/RtsSymbols.c +index 1da73dd..29ef159 100644 +--- a/rts/RtsSymbols.c ++++ b/rts/RtsSymbols.c +@@ -1009,7 +1009,31 @@ + SymI_NeedsProto(__ashldi3) \ + SymI_NeedsProto(__ashrdi3) \ + SymI_NeedsProto(__lshrdi3) \ +- SymI_NeedsProto(__fixunsdfdi) ++ SymI_NeedsProto(__fixunsdfdi) \ ++ SymI_NeedsProto(__aeabi_memset) \ ++ SymI_NeedsProto(__aeabi_memset4) \ ++ SymI_NeedsProto(__aeabi_memset8) \ ++ SymI_NeedsProto(__aeabi_memcpy) \ ++ SymI_NeedsProto(__aeabi_memcpy4) \ ++ SymI_NeedsProto(__aeabi_memcpy8) \ ++ SymI_NeedsProto(__aeabi_memmove) \ ++ SymI_NeedsProto(__aeabi_memmove4) \ ++ SymI_NeedsProto(__aeabi_memclr) \ ++ SymI_NeedsProto(__aeabi_memclr4) \ ++ SymI_NeedsProto(__aeabi_memclr8) \ ++ SymI_NeedsProto(__aeabi_idiv) \ ++ SymI_NeedsProto(__aeabi_uidiv) \ ++ SymI_NeedsProto(__aeabi_idivmod) \ ++ SymI_NeedsProto(__aeabi_ldivmod) \ ++ SymI_NeedsProto(__aeabi_uidivmod) \ ++ SymI_NeedsProto(__aeabi_uldivmod) \ ++ SymI_NeedsProto(__aeabi_l2f) \ ++ SymI_NeedsProto(__aeabi_l2d) \ ++ SymI_NeedsProto(__aeabi_ul2d) \ ++ SymI_NeedsProto(__aeabi_d2lz) \ ++ SymI_NeedsProto(__aeabi_d2ulz) ++ ++ + #elif defined(__GNUC__) && SIZEOF_VOID_P == 8 + #define RTS_LIBGCC_SYMBOLS \ + SymI_NeedsProto(__udivti3) \ +@@ -1045,10 +1069,45 @@ + SymI_HasProto(free) \ + SymI_HasProto(malloc) \ + SymI_HasProto(calloc) \ +- SymI_HasProto(realloc) ++ SymI_HasProto(realloc) \ ++ SymI_HasProto(stderr) \ ++ SymI_HasProto(fopen) \ ++ SymI_HasProto(fwrite) \ ++ SymI_HasProto(fread) \ ++ SymI_HasProto(fclose) \ ++ SymI_NeedsProto(__assert) \ ++ SymI_NeedsProto(__assert2) \ ++ SymI_NeedsProto(__stack_chk_guard) \ ++ SymI_NeedsProto(__memset_chk) \ ++ SymI_NeedsProto(__memcpy_chk) \ ++ SymI_HasProto(__strlen_chk) \ ++ SymI_NeedsProto(__write_chk) \ ++ SymI_NeedsProto(__read_chk) \ ++ SymI_NeedsProto(__strlcpy_chk) \ ++ SymI_NeedsProto(__strcpy_chk) \ ++ SymI_NeedsProto(__strncpy_chk) \ ++ SymI_NeedsProto(__vsnprintf_chk) \ ++ SymI_HasProto(__strchr_chk) \ ++ SymI_NeedsProto(open) \ ++ SymI_NeedsProto(close) \ ++ SymI_HasProto(strerror) ++#if defined(linux_android_HOST_OS) && SIZEOF_VOID_P <= 4 ++#define RTS_BIONIC_LIBC_SYMBOLS \ ++ // SymI_NeedsProto(reallocarray) \ ++ // SymI_NeedsProto(__svfscanf) \ ++ // SymI_NeedsProto(__vfwscanf) \ ++ // SymI_NeedsProto(__memset_chk_fail) \ ++ // SymI_NeedsProto(__strcpy_chk_generic) \ ++ // SymI_NeedsProto(__strcat_chk_generic) \ ++ // SymI_NeedsProto(__libc_globals) \ ++ // SymI_NeedsProto(__rel_iplt_start) ++#else ++#define RTS_BIONIC_LIBC_SYMBOLS ++#endif + #else + #define RTS_STACK_PROTECTOR_SYMBOLS + #define RTS_LIBC_SYMBOLS ++#define RTS_BIONIC_LIBC_SYMBOLS + #endif + + /* entirely bogus claims about types of these symbols */ +@@ -1082,6 +1141,7 @@ RTS_LIBFFI_SYMBOLS + RTS_LINKER_SYMBOLS + RTS_STACK_PROTECTOR_SYMBOLS + RTS_LIBC_SYMBOLS ++RTS_BIONIC_LIBC_SYMBOLS + #undef SymI_NeedsProto + #undef SymI_NeedsDataProto + #undef SymI_HasProto +@@ -1137,6 +1197,7 @@ RtsSymbolVal rtsSyms[] = { + RTS_LINKER_SYMBOLS + RTS_STACK_PROTECTOR_SYMBOLS + RTS_LIBC_SYMBOLS ++ RTS_BIONIC_LIBC_SYMBOLS + SymI_HasDataProto(nonmoving_write_barrier_enabled) + #if defined(darwin_HOST_OS) && defined(i386_HOST_ARCH) + // dyld stub code contains references to this, +diff --git a/rts/linker/Elf.c b/rts/linker/Elf.c +index c3f9110..da7007c 100644 +--- a/rts/linker/Elf.c ++++ b/rts/linker/Elf.c +@@ -931,6 +931,14 @@ ocGetNames_ELF ( ObjectCode* oc ) + debugBelch("COMMON symbol, size %ld name %s allocated at %p\n", + symbol->elf_sym->st_size, nm, symbol->addr)); + ++ } else if (ELF_ST_BIND(symbol->elf_sym->st_info) == STB_WEAK ++ && shndx == SHN_UNDEF ++ && (ELF_ST_TYPE(symbol->elf_sym->st_info) == STT_FUNC ++ || ELF_ST_TYPE(symbol->elf_sym->st_info) == STT_OBJECT ++ || ELF_ST_TYPE(symbol->elf_sym->st_info) == STT_NOTYPE)) { ++ symbol->addr = NULL; ++ isLocal = false; ++ isWeak = true; + /* Pointless to do addProddableBlock() for this area, + since the linker should never poke around in it. */ + } else if ((ELF_ST_BIND(symbol->elf_sym->st_info) == STB_GLOBAL +@@ -978,14 +986,7 @@ ocGetNames_ELF ( ObjectCode* oc ) + isWeak = ELF_ST_BIND(symbol->elf_sym->st_info) + == STB_WEAK; + } +- } else if (ELF_ST_BIND(symbol->elf_sym->st_info) == STB_WEAK +- && shndx == SHN_UNDEF +- && (ELF_ST_TYPE(symbol->elf_sym->st_info) == STT_FUNC +- || ELF_ST_TYPE(symbol->elf_sym->st_info) == STT_OBJECT +- || ELF_ST_TYPE(symbol->elf_sym->st_info) == STT_NOTYPE)) { +- symbol->addr = NULL; +- isLocal = false; +- isWeak = true; ++ + } else { + /* skip this symbol */ + IF_DEBUG(linker, +@@ -1244,6 +1245,7 @@ do_Elf_Rel_relocations ( ObjectCode* oc, char* ehdrC, + + const StgBool overflow = !isInt(26, (StgInt32) result); + // Handle overflow and Thumb interworking ++ is_target_thm = S & 0x1; + const StgBool needs_veneer = + (is_target_thm && ELF_R_TYPE(info) == COMPAT_R_ARM_JUMP24) + || overflow; +diff --git a/rts/linker/elf_plt_arm.c b/rts/linker/elf_plt_arm.c +index bd21243..e3bd3cb 100644 +--- a/rts/linker/elf_plt_arm.c ++++ b/rts/linker/elf_plt_arm.c +@@ -117,13 +117,13 @@ makeStubArmArm(Stub * s) { + uint32_t movt_r12 = 0xe340c000; + uint32_t bx_r12 = 0xe12fff1c; + +- *((uint32_t*)s->addr+0) = movw_r12 ++ ((uint32_t*)s->addr)[0] = movw_r12 + | (((uint32_t )s->target & 0xf000) << 4) + | ((uint32_t )s->target & 0x0fff); +- *((uint32_t*)s->addr+1) = movt_r12 ++ ((uint32_t*)s->addr)[1] = movt_r12 + | ((((uint32_t )s->target >> 16) & 0xf000) << 4) + | (((uint32_t )s->target >> 16) & 0x0fff); +- *((uint32_t*)s->addr+2) = bx_r12; ++ ((uint32_t*)s->addr)[2] = bx_r12; + + return EXIT_SUCCESS; + } +@@ -157,17 +157,20 @@ makeStubArmThm(Stub * s) { + uint32_t movt_r12 = 0xf2c00c00; + uint32_t bx_r12 = 0x47600000; + +- *((uint32_t*)s->addr+0) = movw_r12 ++ uint32_t movw_r12_inst = movw_r12 + | (((uint32_t )s->target & 0xf000) << 4) +- | (((uint32_t )s->target & 0x0800) << 16) ++ | (((uint32_t )s->target & 0x0800) << 15) + | (((uint32_t )s->target & 0x0700) << 4) + | ((uint32_t )s->target & 0x00ff); +- *((uint32_t*)s->addr+1) = movt_r12 ++ uint32_t movt_r12_inst = movt_r12 + | ((((uint32_t )s->target >> 16) & 0xf000) << 4) +- | ((((uint32_t )s->target >> 16) & 0x0800) << 16) ++ | ((((uint32_t )s->target >> 16) & 0x0800) << 15) + | ((((uint32_t )s->target >> 16) & 0x0700) << 4) + | (((uint32_t )s->target >> 16) & 0x00ff); +- *((uint32_t*)s->addr+2) = bx_r12; ++ // encode in little endian (half word reversal) ++ ((uint32_t*)s->addr)[0] = (movw_r12_inst << 16) | (movw_r12_inst >> 16); ++ ((uint32_t*)s->addr)[1] = (movt_r12_inst << 16) | (movt_r12_inst >> 16); ++ ((uint32_t*)s->addr)[2] = (bx_r12 << 16) | (bx_r12 >> 16); + + return EXIT_SUCCESS; + } +diff --git a/utils/genapply/Main.hs b/utils/genapply/Main.hs +index 8c194f1..24514e1 100644 +--- a/utils/genapply/Main.hs ++++ b/utils/genapply/Main.hs +@@ -12,6 +12,11 @@ + -- for details + module Main(main) where + ++#undef linux_BUILD_OS ++#undef x86_64_BUILD_ARCH ++#undef linux_HOST_OS ++#undef x86_64_HOST_ARCH ++ + -- Note [Genapply target as host for RTS macros] + -- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + -- We improperly include *HOST* macros for our target... +diff --git a/utils/genapply/ghc.mk b/utils/genapply/ghc.mk +index 8da1f7a..c206b24 100644 +--- a/utils/genapply/ghc.mk ++++ b/utils/genapply/ghc.mk +@@ -27,4 +27,5 @@ $(eval $(call build-prog,utils/genapply,dist,0)) + + # Purposely do the wrong stage for HOST := TARGET hack. + # See Note [Genapply target as host for RTS macros]. +-utils/genapply_dist_CC_OPTS += -I,$(BUILD_1_INCLUDE_DIR) ++$(utils/genapply_dist_depfile_haskell) : $(includes_1_H_CONFIG) $(includes_1_H_PLATFORM) ++utils/genapply_dist_HC_OPTS += -I$(BUILD_1_INCLUDE_DIR) diff --git a/overlays/patches/ghc/ghc-8.10.7-android-bionic-symbols.patch b/overlays/patches/ghc/ghc-8.10.7-android-bionic-symbols.patch new file mode 100644 index 0000000000..eea586d951 --- /dev/null +++ b/overlays/patches/ghc/ghc-8.10.7-android-bionic-symbols.patch @@ -0,0 +1,31 @@ +diff --git a/rts/RtsSymbols.c b/rts/RtsSymbols.c +index 29ef159..3cb0fc0 100644 +--- a/rts/RtsSymbols.c ++++ b/rts/RtsSymbols.c +@@ -1093,14 +1093,18 @@ + SymI_HasProto(strerror) + #if defined(linux_android_HOST_OS) && SIZEOF_VOID_P <= 4 + #define RTS_BIONIC_LIBC_SYMBOLS \ +- // SymI_NeedsProto(reallocarray) \ +- // SymI_NeedsProto(__svfscanf) \ +- // SymI_NeedsProto(__vfwscanf) \ +- // SymI_NeedsProto(__memset_chk_fail) \ +- // SymI_NeedsProto(__strcpy_chk_generic) \ +- // SymI_NeedsProto(__strcat_chk_generic) \ +- // SymI_NeedsProto(__libc_globals) \ +- // SymI_NeedsProto(__rel_iplt_start) ++ SymI_NeedsProto(reallocarray) \ ++ SymI_NeedsProto(dlopen) \ ++ SymI_NeedsProto(dlerror) \ ++ SymI_NeedsProto(dlclose) \ ++ SymI_NeedsProto(dlsym) \ ++ SymI_NeedsProto(__svfscanf) \ ++ SymI_NeedsProto(__vfwscanf) \ ++ SymI_NeedsProto(__memset_chk_fail) \ ++ SymI_NeedsProto(__strcpy_chk_generic) \ ++ SymI_NeedsProto(__strcat_chk_generic) \ ++ SymI_NeedsProto(__libc_globals) \ ++ SymI_NeedsProto(__rel_iplt_start) + #else + #define RTS_BIONIC_LIBC_SYMBOLS + #endif diff --git a/overlays/patches/ghc/ghc-8.10.7-bionic-libc.patch b/overlays/patches/ghc/ghc-8.10.7-bionic-libc.patch new file mode 100644 index 0000000000..1a71fa24d9 --- /dev/null +++ b/overlays/patches/ghc/ghc-8.10.7-bionic-libc.patch @@ -0,0 +1,35 @@ +diff --git a/rts/linker/Elf.c b/rts/linker/Elf.c +index da7007c..9f99f58 100644 +--- a/rts/linker/Elf.c ++++ b/rts/linker/Elf.c +@@ -1968,15 +1968,22 @@ int ocRunInit_ELF( ObjectCode *oc ) + } + + if (kind == SECTIONKIND_INIT_ARRAY) { +- char *init_startC = oc->sections[i].start; +- init_start = (init_t*)init_startC; +- init_end = (init_t*)(init_startC + shdr[i].sh_size); +- for (init = init_start; init < init_end; init++) { +- ASSERT(0x0 != *init); +- (*init)(argc, argv, envv); +- } +- } ++ char *bname = basename(OC_INFORMATIVE_FILENAME(oc)); + ++ // do not run .array initialization for jemalloc from libc. This simply cannot work. ++ // It's most likely already run by the hosting process (ghc, or iserv) as they've been ++ // linked against that libc. ++ if(strncmp(bname, "libc.a(jemalloc.o)", 18) != 0) ++ { ++ char *init_startC = oc->sections[i].start; ++ init_start = (init_t*)init_startC; ++ init_end = (init_t*)(init_startC + shdr[i].sh_size); ++ for (init = init_start; init < init_end; init++) { ++ ASSERT(0x0 != *init); ++ (*init)(argc, argv, envv); ++ } ++ } ++ } + // XXX could be more strict and assert that it's + // SECTIONKIND_RWDATA; but allowing RODATA seems harmless enough. + if ((kind == SECTIONKIND_RWDATA || kind == SECTIONKIND_CODE_OR_RODATA) diff --git a/overlays/patches/ghc/ghc-8.10.7-cross-dont-build-stage2-tools.patch b/overlays/patches/ghc/ghc-8.10.7-cross-dont-build-stage2-tools.patch new file mode 100644 index 0000000000..9d6031dc42 --- /dev/null +++ b/overlays/patches/ghc/ghc-8.10.7-cross-dont-build-stage2-tools.patch @@ -0,0 +1,74 @@ +diff --git a/utils/compare_sizes/ghc.mk b/utils/compare_sizes/ghc.mk +index d659a5e..b5e4228 100644 +--- a/utils/compare_sizes/ghc.mk ++++ b/utils/compare_sizes/ghc.mk +@@ -5,5 +5,6 @@ utils/compare_sizes_MODULES = Main + utils/compare_sizes_dist-install_PROGNAME = compareSizes + utils/compare_sizes_dist-install_INSTALL_INPLACE = NO + ++ifneq "$(Stage1Only)" "YES" + $(eval $(call build-prog,utils/compare_sizes,dist-install,1)) +- ++endif +\ No newline at end of file +diff --git a/utils/ghc-cabal/ghc.mk b/utils/ghc-cabal/ghc.mk +index 290b233..c9a119f 100644 +--- a/utils/ghc-cabal/ghc.mk ++++ b/utils/ghc-cabal/ghc.mk +@@ -104,4 +104,6 @@ utils/ghc-cabal_dist-install_INSTALL_INPLACE = NO + utils/ghc-cabal_dist-install_WANT_BINDIST_WRAPPER = YES + utils/ghc-cabal_dist-install_MODULES = Main + ++ifneq "$(Stage1Only)" "YES" + $(eval $(call build-prog,utils/ghc-cabal,dist-install,1)) ++endif +\ No newline at end of file +diff --git a/utils/hpc/ghc.mk b/utils/hpc/ghc.mk +index 9b2bce2..448ad16 100644 +--- a/utils/hpc/ghc.mk ++++ b/utils/hpc/ghc.mk +@@ -18,4 +18,6 @@ utils/hpc_dist-install_PROGNAME = hpc + utils/hpc_dist-install_SHELL_WRAPPER = YES + utils/hpc_dist-install_INSTALL_SHELL_WRAPPER_NAME = hpc + ++ifneq "$(Stage1Only)" "YES" + $(eval $(call build-prog,utils/hpc,dist-install,1)) ++endif +\ No newline at end of file +diff --git a/utils/hsc2hs/ghc.mk b/utils/hsc2hs/ghc.mk +index 386d472..5cc6037 100644 +--- a/utils/hsc2hs/ghc.mk ++++ b/utils/hsc2hs/ghc.mk +@@ -18,8 +18,12 @@ utils/hsc2hs_dist_INSTALL = NO + utils/hsc2hs_dist-install_INSTALL = YES + endif + ++ifeq "$(Stage1Only)" "YES" ++$(eval $(call build-prog,utils/hsc2hs,dist,0)) ++else + $(eval $(call build-prog,utils/hsc2hs,dist,0)) + $(eval $(call build-prog,utils/hsc2hs,dist-install,1)) ++endif + + # After build-prog above + utils/hsc2hs_dist-install_MODULES = $(utils/hsc2hs_dist_MODULES) +diff --git a/utils/iserv/ghc.mk b/utils/iserv/ghc.mk +index 74f90e6..e747ca7 100644 +--- a/utils/iserv/ghc.mk ++++ b/utils/iserv/ghc.mk +@@ -96,6 +96,7 @@ NEED_iserv_dyn = NO + endif + endif + ++ifneq "$(Stage1Only)" "YES" + ifeq "$(NEED_iserv)" "YES" + $(eval $(call build-prog,utils/iserv,stage2,1)) + endif +@@ -107,6 +108,7 @@ endif + ifeq "$(NEED_iserv_dyn)" "YES" + $(eval $(call build-prog,utils/iserv,stage2_dyn,1)) + endif ++endif + + all_ghc_stage2 : $(iserv-stage2_INPLACE) + all_ghc_stage2 : $(iserv-stage2_p_INPLACE) diff --git a/overlays/patches/ghc/ghc-8.10.7-linker-weak-and-common-armv7a.patch b/overlays/patches/ghc/ghc-8.10.7-linker-weak-and-common-armv7a.patch new file mode 100644 index 0000000000..b416c6e2c4 --- /dev/null +++ b/overlays/patches/ghc/ghc-8.10.7-linker-weak-and-common-armv7a.patch @@ -0,0 +1,189 @@ +diff --git a/rts/Linker.c b/rts/Linker.c +index 10b0764..7d473f8 100644 +--- a/rts/Linker.c ++++ b/rts/Linker.c +@@ -273,7 +273,7 @@ int ghciInsertSymbolTable( + RtsSymbolInfo *pinfo = lookupStrHashTable(table, key); + if (!pinfo) /* new entry */ + { +- pinfo = stgMallocBytes(sizeof (*pinfo), "ghciInsertToSymbolTable"); ++ pinfo = stgCallocBytes(1, sizeof (*pinfo), "ghciInsertToSymbolTable"); + pinfo->value = data; + pinfo->owner = owner; + pinfo->weak = weak; +@@ -1329,7 +1329,7 @@ mkOc( pathchar *path, char *image, int imageSize, + ObjectCode* oc; + + IF_DEBUG(linker, debugBelch("mkOc: start\n")); +- oc = stgMallocBytes(sizeof(ObjectCode), "mkOc(oc)"); ++ oc = stgCallocBytes(1, sizeof(ObjectCode), "mkOc(oc)"); + + oc->info = NULL; + +@@ -1496,12 +1496,12 @@ preloadObjectFile (pathchar *path) + // reading the file, and then we misalign image on purpose so + // that the actual sections end up aligned again. + misalignment = machoGetMisalignment(f); +- image = stgMallocBytes(fileSize + misalignment, "loadObj(image)"); ++ image = stgCallocBytes(1, fileSize + misalignment, "loadObj(image)"); + image += misalignment; + + # else /* !defined(darwin_HOST_OS) */ + +- image = stgMallocBytes(fileSize, "loadObj(image)"); ++ image = stgCallocBytes(1, fileSize, "loadObj(image)"); + + #endif + +diff --git a/rts/LinkerInternals.h b/rts/LinkerInternals.h +index f326a84..a846bf5 100644 +--- a/rts/LinkerInternals.h ++++ b/rts/LinkerInternals.h +@@ -209,6 +209,10 @@ typedef struct _ObjectCode { + int n_segments; + Segment *segments; + ++ // COMMON section ++ void * common_mem; ++ unsigned long common_size; ++ + // + // Garbage collection fields + // +diff --git a/rts/linker/Elf.c b/rts/linker/Elf.c +index fdfe87a..c3f9110 100644 +--- a/rts/linker/Elf.c ++++ b/rts/linker/Elf.c +@@ -325,6 +325,15 @@ ocDeinit_ELF(ObjectCode * oc) + stgFree(oc->info); + oc->info = NULL; + } ++ if(NULL != oc->common_mem) { ++#if RTS_LINKER_USE_MMAP ++ munmap(oc->common_mem, oc->common_size); ++#else ++ stgFree(oc->common_mem); ++#endif ++ } ++ oc->common_mem = NULL; ++ oc->common_size = 0; + } + + /* +@@ -861,14 +870,17 @@ ocGetNames_ELF ( ObjectCode* oc ) + for (size_t j = 0; j < symTab->n_symbols; j++) { + ElfSymbol *symbol = &symTab->symbols[j]; + if (SHN_COMMON == symTab->symbols[j].elf_sym->st_shndx) { +- common_size += symbol->elf_sym->st_size; ++ // st_value holds the alignment. Adding alignment always ++ // should give us some wiggle room to get alignment right. ++ common_size += symbol->elf_sym->st_size + symbol->elf_sym->st_value; + } + } + } +- void * common_mem = NULL; ++ oc->common_mem = NULL; ++ oc->common_size = common_size; + if(common_size > 0) { +- common_mem = mmapAnonForLinker(common_size); +- if (common_mem == NULL) { ++ oc->common_mem = mmapAnonForLinker(common_size); ++ if (oc->common_mem == NULL) { + barf("ocGetNames_ELF: Failed to allocate memory for SHN_COMMONs"); + } + } +@@ -909,9 +921,10 @@ ocGetNames_ELF ( ObjectCode* oc ) + if (shndx == SHN_COMMON) { + isLocal = false; + ASSERT(common_used < common_size); +- ASSERT(common_mem); +- symbol->addr = (void*)((uintptr_t)common_mem + common_used); +- common_used += symbol->elf_sym->st_size; ++ ASSERT(oc->common_mem); ++ int alignment = symbol->elf_sym->st_value-1; ++ symbol->addr = (void*)(((uintptr_t)oc->common_mem + common_used + alignment) & ~alignment); ++ common_used = (uintptr_t)symbol->addr - (uintptr_t)oc->common_mem + symbol->elf_sym->st_size; + ASSERT(common_used <= common_size); + + IF_DEBUG(linker, +@@ -925,7 +938,9 @@ ocGetNames_ELF ( ObjectCode* oc ) + || ELF_ST_BIND(symbol->elf_sym->st_info) == STB_WEAK + ) + /* and not an undefined symbol */ +- && shndx != SHN_UNDEF ++ && (shndx != SHN_UNDEF ++ /* unless it's weak */ ++ || (shndx == SHN_UNDEF && ELF_ST_BIND(symbol->elf_sym->st_info) == STB_WEAK)) + /* and not in a "special section" */ + && (shndx < SHN_LORESERVE + #if defined(SHN_XINDEX) +@@ -963,33 +978,20 @@ ocGetNames_ELF ( ObjectCode* oc ) + isWeak = ELF_ST_BIND(symbol->elf_sym->st_info) + == STB_WEAK; + } +- } +- +- /* And the decision is ... */ +- +- if (symbol->addr != NULL) { +- ASSERT(nm != NULL); +- /* Acquire! */ +- if (!isLocal) { +- +- if (isWeak == HS_BOOL_TRUE) { +- setWeakSymbol(oc, nm); +- } +- if (!ghciInsertSymbolTable(oc->fileName, symhash, +- nm, symbol->addr, isWeak, oc) +- ) { +- goto fail; +- } +- oc->symbols[curSymbol++].name = nm; +- oc->symbols[curSymbol].addr = symbol->addr; +- } +- } else { +- /* Skip. */ ++ } else if (ELF_ST_BIND(symbol->elf_sym->st_info) == STB_WEAK ++ && shndx == SHN_UNDEF ++ && (ELF_ST_TYPE(symbol->elf_sym->st_info) == STT_FUNC ++ || ELF_ST_TYPE(symbol->elf_sym->st_info) == STT_OBJECT ++ || ELF_ST_TYPE(symbol->elf_sym->st_info) == STT_NOTYPE)) { ++ symbol->addr = NULL; ++ isLocal = false; ++ isWeak = true; ++ } else { ++ /* skip this symbol */ + IF_DEBUG(linker, + debugBelch("skipping `%s'\n", + nm) + ); +- + /* + debugBelch( + "skipping bind = %d, type = %d, secno = %d `%s'\n", +@@ -999,7 +1001,24 @@ ocGetNames_ELF ( ObjectCode* oc ) + nm + ); + */ +- } ++ continue; ++ } ++ ++ /* And the decision is ... */ ++ ASSERT(nm != NULL); ++ /* Acquire! */ ++ if (!isLocal) { ++ ++ if (isWeak == HS_BOOL_TRUE) { ++ setWeakSymbol(oc, nm); ++ } ++ if (!ghciInsertSymbolTable(oc->fileName, symhash, ++ nm, symbol->addr, isWeak, oc)) { ++ goto fail; ++ } ++ oc->symbols[curSymbol++].name = nm; ++ oc->symbols[curSymbol].addr = symbol->addr; ++ } + } + } + } \ No newline at end of file diff --git a/overlays/patches/ghc/ghc-8.10.7-linker-weak-and-common.patch b/overlays/patches/ghc/ghc-8.10.7-linker-weak-and-common.patch index b416c6e2c4..b982fe3662 100644 --- a/overlays/patches/ghc/ghc-8.10.7-linker-weak-and-common.patch +++ b/overlays/patches/ghc/ghc-8.10.7-linker-weak-and-common.patch @@ -85,9 +85,9 @@ index fdfe87a..c3f9110 100644 + oc->common_mem = NULL; + oc->common_size = common_size; if(common_size > 0) { -- common_mem = mmapAnonForLinker(common_size); +- common_mem = mmapAnonForLinker(common_size, true, "anon:common_mem"); - if (common_mem == NULL) { -+ oc->common_mem = mmapAnonForLinker(common_size); ++ oc->common_mem = mmapAnonForLinker(common_size, true, "anon:common_mem"); + if (oc->common_mem == NULL) { barf("ocGetNames_ELF: Failed to allocate memory for SHN_COMMONs"); } diff --git a/overlays/patches/ghc/ghc-8.10.7-rts-aarch64-darwin.patch b/overlays/patches/ghc/ghc-8.10.7-rts-aarch64-darwin.patch new file mode 100644 index 0000000000..04d527a098 --- /dev/null +++ b/overlays/patches/ghc/ghc-8.10.7-rts-aarch64-darwin.patch @@ -0,0 +1,18 @@ +diff --git a/rts/ghc.mk b/rts/ghc.mk +index 6d6ff4bb90..02d3c64ce9 100644 +--- a/rts/ghc.mk ++++ b/rts/ghc.mk +@@ -415,6 +415,13 @@ rts_CC_OPTS += -fno-strict-aliasing + + rts_CC_OPTS += -fno-common + ++ ++ifeq "$(TargetArch_CPP)" "aarch64" ++ifeq "$(TargetOS_CPP)" "darwin" ++rts_CC_OPTS += -mcpu=apple-a7 -march=armv8-a+norcpc ++endif ++endif ++ + ifeq "$(BeConservative)" "YES" + rts_CC_OPTS += -DBE_CONSERVATIVE + endif \ No newline at end of file diff --git a/overlays/patches/ghc/ghc-8.10.7-weak-symbols-2.patch b/overlays/patches/ghc/ghc-8.10.7-weak-symbols-2.patch new file mode 100644 index 0000000000..32d493dfa9 --- /dev/null +++ b/overlays/patches/ghc/ghc-8.10.7-weak-symbols-2.patch @@ -0,0 +1,37 @@ +diff --git a/rts/Linker.c b/rts/Linker.c +index 727fe74..12a22d7 100644 +--- a/rts/Linker.c ++++ b/rts/Linker.c +@@ -1810,6 +1810,8 @@ static HsInt resolveObjs_ (void) + IF_DEBUG(linker, debugBelch("resolveObjs: start\n")); + + for (ObjectCode *oc = objects; oc; oc = oc->next) { ++ if(oc->status == OBJECT_RESOLVED) ++ continue; + int r = ocTryLoad(oc); + if (!r) + { +diff --git a/rts/linker/Elf.c b/rts/linker/Elf.c +index c3f9110..1b497af 100644 +--- a/rts/linker/Elf.c ++++ b/rts/linker/Elf.c +@@ -963,10 +963,15 @@ ocGetNames_ELF ( ObjectCode* oc ) + stab[j].st_size, stab[j].st_value, nm); + } + */ +- symbol->addr = (SymbolAddr*)( +- (intptr_t) oc->sections[secno].start + +- (intptr_t) symbol->elf_sym->st_value); +- ASSERT(symbol->addr != 0x0); ++ if(shndx == SHN_UNDEF && ELF_ST_BIND(symbol->elf_sym->st_info) == STB_WEAK) { ++ symbol->addr = NULL; ++ } else { ++ symbol->addr = (SymbolAddr*)( ++ (intptr_t) oc->sections[secno].start + ++ (intptr_t) symbol->elf_sym->st_value); ++ ASSERT(symbol->addr != 0x0); ++ } ++ + if (ELF_ST_BIND(symbol->elf_sym->st_info) == STB_LOCAL) { + isLocal = true; + isWeak = false; diff --git a/overlays/patches/ghc/ghc-9.0-better-symbol-addr-debug.patch b/overlays/patches/ghc/ghc-9.0-better-symbol-addr-debug.patch index 6ccc52a728..5d71d3c362 100644 --- a/overlays/patches/ghc/ghc-9.0-better-symbol-addr-debug.patch +++ b/overlays/patches/ghc/ghc-9.0-better-symbol-addr-debug.patch @@ -4,11 +4,11 @@ index d8c4f8b724..5e349f2839 100644 +++ b/rts/linker/elf_reloc_aarch64.c @@ -325,7 +325,8 @@ relocateObjectCodeAarch64(ObjectCode * oc) { ELF64_R_SYM((Elf64_Xword)rel->r_info)); - + CHECK(0x0 != symbol); - CHECK(0x0 != symbol->addr); + if(0x0 == symbol->addr) -+ barf("0x0 address for %s + %d of type %d in %s for relocation %d in section %d of kind: %d\n", symbol->name, rel->r_addend, ELF64_R_TYPE((Elf64_Xword)rel->r_info), OC_INFORMATIVE_FILENAME(oc), i, relaTab->targetSectionIndex, oc->sections[relaTab->targetSectionIndex].kind); - ++ barf("0x0 address for %s + %lld of type %llu in %s for relocation %d in section %d of kind: %d\n", symbol->name, rel->r_addend, ELF64_R_TYPE((Elf64_Xword)rel->r_info), OC_INFORMATIVE_FILENAME(oc), i, relaTab->targetSectionIndex, oc->sections[relaTab->targetSectionIndex].kind); + /* take explicit addend */ int64_t addend = rel->r_addend; diff --git a/overlays/patches/ghc/ghc-9.10-hadrian-android.patch b/overlays/patches/ghc/ghc-9.10-hadrian-android.patch new file mode 100644 index 0000000000..4200269d94 --- /dev/null +++ b/overlays/patches/ghc/ghc-9.10-hadrian-android.patch @@ -0,0 +1,10 @@ +diff --git a/hadrian/src/Hadrian/Haskell/Cabal.hs b/hadrian/src/Hadrian/Haskell/Cabal.hs +index 17249efd79..ff6cc57949 100644 +--- a/hadrian/src/Hadrian/Haskell/Cabal.hs ++++ b/hadrian/src/Hadrian/Haskell/Cabal.hs +@@ -84,5 +84,6 @@ cabalOsString "mingw32" = "windows" + cabalOsString "darwin" = "osx" + cabalOsString "solaris2" = "solaris" + cabalOsString "gnu" = "hurd" ++cabalOsString "linux_android" = "android" + cabalOsString other = other diff --git a/overlays/patches/ghc/ghc-9.10-hadrian-strip-cmd.patch b/overlays/patches/ghc/ghc-9.10-hadrian-strip-cmd.patch new file mode 100644 index 0000000000..523f05328b --- /dev/null +++ b/overlays/patches/ghc/ghc-9.10-hadrian-strip-cmd.patch @@ -0,0 +1,55 @@ +diff --git a/hadrian/cfg/system.config.in b/hadrian/cfg/system.config.in +index e8e6076f9a..e748ca514d 100644 +--- a/hadrian/cfg/system.config.in ++++ b/hadrian/cfg/system.config.in +@@ -13,6 +13,7 @@ cc = @CC@ + happy = @HappyCmd@ + make = @MakeCmd@ + objdump = @ObjdumpCmd@ ++strip = @StripCmd@ + sphinx-build = @SPHINXBUILD@ + system-ghc = @WithGhc@ + system-ghc-pkg = @GhcPkgCmd@ +diff --git a/hadrian/src/Oracles/Setting.hs b/hadrian/src/Oracles/Setting.hs +index b20b023173..881c122885 100644 +--- a/hadrian/src/Oracles/Setting.hs ++++ b/hadrian/src/Oracles/Setting.hs +@@ -69,6 +69,7 @@ data Setting = CursesIncludeDir + | ProjectPatchLevel + | ProjectPatchLevel1 + | ProjectPatchLevel2 ++ | Strip + | SystemGhc + | TargetPlatformFull + | BourneShell +@@ -125,6 +126,7 @@ setting key = lookupSystemConfig $ case key of + ProjectPatchLevel -> "project-patch-level" + ProjectPatchLevel1 -> "project-patch-level1" + ProjectPatchLevel2 -> "project-patch-level2" ++ Strip -> "strip" + SystemGhc -> "system-ghc" + TargetPlatformFull -> "target-platform-full" + BourneShell -> "bourne-shell" +diff --git a/hadrian/src/Settings/Builders/Cabal.hs b/hadrian/src/Settings/Builders/Cabal.hs +index 3e83bb5634..241f8a51ef 100644 +--- a/hadrian/src/Settings/Builders/Cabal.hs ++++ b/hadrian/src/Settings/Builders/Cabal.hs +@@ -84,15 +84,11 @@ cabalSetupArgs = builder (Cabal Setup) ? do + commonCabalArgs :: Stage -> Args + commonCabalArgs stage = do + pkg <- getPackage ++ strip <- getSetting Strip + package_id <- expr $ pkgUnitId stage pkg + let prefix = "${pkgroot}" ++ (if windowsHost then "" else "/..") +- mconcat [ -- Don't strip libraries when cross compiling. +- -- TODO: We need to set @--with-strip=(stripCmdPath :: Action FilePath)@, +- -- and if it's @:@ disable stripping as well. As it is now, I believe +- -- we might have issues with stripping on Windows, as I can't see a +- -- consumer of 'stripCmdPath'. +- -- TODO: See https://github.com/snowleopard/hadrian/issues/549. +- flag CrossCompiling ? pure [ "--disable-executable-stripping" ++ mconcat [ notStage0 ? strip /= "" ? pure [ "--with-strip=" ++ strip ] ++ , flag CrossCompiling ? pure [ "--disable-executable-stripping" + , "--disable-library-stripping" ] + -- We don't want to strip the debug RTS + , S.package rts ? pure [ "--disable-executable-stripping" diff --git a/overlays/patches/ghc/ghc-9.10-ignore-libc.patch b/overlays/patches/ghc/ghc-9.10-ignore-libc.patch new file mode 100644 index 0000000000..234bdbf092 --- /dev/null +++ b/overlays/patches/ghc/ghc-9.10-ignore-libc.patch @@ -0,0 +1,17 @@ +diff --git a/rts/linker/LoadArchive.c b/rts/linker/LoadArchive.c +index 3c35a029a4..55d78160f5 100644 +--- a/rts/linker/LoadArchive.c ++++ b/rts/linker/LoadArchive.c +@@ -261,6 +261,12 @@ HsInt loadArchive_ (pathchar *path) + DEBUG_LOG("start\n"); + DEBUG_LOG("Loading archive `%" PATH_FMT "'\n", path); + ++ if (endsWithPath(path, "/libc.a")) { ++ IF_DEBUG(linker, ++ debugBelch("ignoring libc.a file %" PATH_FMT "\n", path)); ++ return 1; /* success */ ++ } ++ + /* Check that we haven't already loaded this archive. + Ignore requests to load multiple times */ + if (isAlreadyLoaded(path)) { diff --git a/overlays/patches/ghc/ghc-9.10-relax-llvm-max-version.patch b/overlays/patches/ghc/ghc-9.10-relax-llvm-max-version.patch new file mode 100644 index 0000000000..e8df35f802 --- /dev/null +++ b/overlays/patches/ghc/ghc-9.10-relax-llvm-max-version.patch @@ -0,0 +1,13 @@ +diff --git a/configure.ac b/configure.ac +index 1bf37789c7..3f91701dbe 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -492,7 +492,7 @@ AC_SUBST(InstallNameToolCmd) + # versions of LLVM simultaneously, but that stopped working around + # 3.5/3.6 release of LLVM. + LlvmMinVersion=13 # inclusive +-LlvmMaxVersion=16 # not inclusive ++LlvmMaxVersion=18 # not inclusive + AC_SUBST([LlvmMinVersion]) + AC_SUBST([LlvmMaxVersion]) + diff --git a/overlays/patches/ghc/ghc-9.12-ghcjs-rts-mem-heap8.patch b/overlays/patches/ghc/ghc-9.12-ghcjs-rts-mem-heap8.patch new file mode 100644 index 0000000000..70ff226a89 --- /dev/null +++ b/overlays/patches/ghc/ghc-9.12-ghcjs-rts-mem-heap8.patch @@ -0,0 +1,11 @@ +diff --git a/rts/js/mem.js b/rts/js/mem.js +index 4a9adf09cd..68f63afece 100644 +--- a/rts/js/mem.js ++++ b/rts/js/mem.js +@@ -1,5 +1,5 @@ + //#OPTIONS:CPP +-//#OPTIONS:EMCC:EXPORTED_RUNTIME_METHODS=addFunction,removeFunction,getEmptyTableSlot ++//#OPTIONS:EMCC:EXPORTED_RUNTIME_METHODS=addFunction,removeFunction,getEmptyTableSlot,HEAP8 + + // #define GHCJS_TRACE_META 1 + diff --git a/overlays/patches/ghc/ghc-9.12-static-linker-script-support.patch b/overlays/patches/ghc/ghc-9.12-static-linker-script-support.patch new file mode 100644 index 0000000000..01b728ad5f --- /dev/null +++ b/overlays/patches/ghc/ghc-9.12-static-linker-script-support.patch @@ -0,0 +1,242 @@ +diff --git a/compiler/GHC/Linker/Static.hs b/compiler/GHC/Linker/Static.hs +index bf9ecd08ac..2a7e09f2c0 100644 +--- a/compiler/GHC/Linker/Static.hs ++++ b/compiler/GHC/Linker/Static.hs +@@ -33,6 +33,8 @@ import GHC.Linker.Static.Utils + import GHC.Driver.Config.Linker + import GHC.Driver.Session + ++import qualified GHC.Data.ShortText as ST ++ + import System.FilePath + import System.Directory + import Control.Monad +@@ -291,11 +293,9 @@ linkStaticLib logger dflags unit_env o_files dep_units = do + | otherwise + = filter ((/= rtsUnitId) . unitId) pkg_cfgs_init + +- archives <- concatMapM (collectArchives namever ways_) pkg_cfgs +- +- ar <- foldl mappend +- <$> (Archive <$> mapM loadObj modules) +- <*> mapM loadAr archives ++ arFromArchives <- mconcat <$> mapM (loadArchives namever ways_) pkg_cfgs ++ arFromObjects <- Archive <$> mapM loadObj modules ++ let ar = arFromObjects `mappend` arFromArchives + + if toolSettings_ldIsGnuLd (toolSettings dflags) + then writeGNUAr output_fn $ afilter (not . isGNUSymdef) ar +@@ -303,3 +303,18 @@ linkStaticLib logger dflags unit_env o_files dep_units = do + + -- run ranlib over the archive. write*Ar does *not* create the symbol index. + runRanlib logger dflags [GHC.SysTools.FileOption "" output_fn] ++ ++loadArchives :: GhcNameVersion -> Ways -> UnitInfo -> IO Archive ++loadArchives namever ways pc = loadArchivesFromLibs libs ++ where ++ libs = unitHsLibs namever ways pc ++ map ST.unpack (unitExtDepLibsSys pc) ++ loadArchivesFromLibs :: [LibName] -> IO Archive ++ loadArchivesFromLibs libs = do ++ arPaths <- collectArchivesFromLibs namever ways pc libs ++ fmap mconcat $ forM arPaths $ \arPath -> do ++ arOrScript <- loadArchiveOrScript arPath ++ case arOrScript of ++ Ar ar -> return ar ++ ImplicitLinkerScript linkerScript -> ++ case linkerScript of ++ INPUT libNames -> loadArchivesFromLibs libNames +\ No newline at end of file +diff --git a/compiler/GHC/Linker/Unit.hs b/compiler/GHC/Linker/Unit.hs +index 652a515b48..2cc05ba9cc 100644 +--- a/compiler/GHC/Linker/Unit.hs ++++ b/compiler/GHC/Linker/Unit.hs +@@ -3,7 +3,7 @@ + module GHC.Linker.Unit + ( UnitLinkOpts (..) + , collectLinkOpts +- , collectArchives ++ , collectArchivesFromLibs + , getUnitLinkOpts + , getLibs + ) +@@ -47,13 +47,12 @@ collectLinkOpts namever ways ps = UnitLinkOpts + , otherFlags = concatMap (map ST.unpack . unitLinkerOptions) ps + } + +-collectArchives :: GhcNameVersion -> Ways -> UnitInfo -> IO [FilePath] +-collectArchives namever ways pc = ++collectArchivesFromLibs :: GhcNameVersion -> Ways -> UnitInfo -> [String] -> IO [FilePath] ++collectArchivesFromLibs namever ways pc libs = + filterM doesFileExist [ searchPath ("lib" ++ lib ++ ".a") + | searchPath <- searchPaths + , lib <- libs ] + where searchPaths = ordNub . filter notNull . libraryDirsForWay ways $ pc +- libs = unitHsLibs namever ways pc ++ map ST.unpack (unitExtDepLibsSys pc) + + -- | Either the 'unitLibraryDirs' or 'unitLibraryDynDirs' as appropriate for the way. + libraryDirsForWay :: Ways -> UnitInfo -> [String] +diff --git a/compiler/GHC/SysTools/Ar.hs b/compiler/GHC/SysTools/Ar.hs +index adba60b53c..351103fd4c 100644 +--- a/compiler/GHC/SysTools/Ar.hs ++++ b/compiler/GHC/SysTools/Ar.hs +@@ -20,11 +20,15 @@ of libtool across different platforms. + module GHC.SysTools.Ar + (ArchiveEntry(..) + ,Archive(..) ++ ,ArchiveOrScript(..) ++ ,LinkerScript(..) ++ ,LibName + ,afilter + + ,parseAr + + ,loadAr ++ ,loadArchiveOrScript + ,loadObj + ,writeBSDAr + ,writeGNUAr +@@ -45,6 +49,7 @@ import Control.Applicative + import qualified Data.ByteString as B + import qualified Data.ByteString.Char8 as C + import qualified Data.ByteString.Lazy as L ++import qualified Text.ParserCombinators.ReadP as R + #if !defined(mingw32_HOST_OS) + import qualified System.Posix.Files as POSIX + #endif +@@ -230,6 +235,68 @@ putGNUArch (Archive as) = do + processEntries = + uncurry (:) . mapAccumL processEntry (ArchiveEntry "//" 0 0 0 0 0 mempty) + ++-- | Some systems have archives that are not really archives but contain so ++-- called linker scripts. These scripts contain textual commands to the ++-- linker. This data type represents this choice between an actual archive or ++-- implicit linker script. ++-- ++-- See: https://sourceware.org/binutils/docs/ld/Implicit-Linker-Scripts.html#Implicit-Linker-Scripts ++data ArchiveOrScript = Ar Archive | ImplicitLinkerScript LinkerScript ++ deriving (Eq, Show) ++ ++-- | An AST for a linker script. ++-- ++-- At the moment this AST only supports linker scripts of the form: ++-- ++-- @INPUT(-lc++_static -lc++abi)@ ++-- ++-- Since this is exactly what is used in @nixpkgs@ for @libc++.a@. ++-- ++-- For more information on linker scripts see: ++-- https://sourceware.org/binutils/docs/ld/Scripts.html ++data LinkerScript = INPUT [LibName] ++ deriving (Eq, Show) ++ ++-- | Name of a library to link with. ++-- ++-- This is everything after the @-l@ prefix. ++type LibName = String ++ ++linkerScriptReadP :: R.ReadP LinkerScript ++linkerScriptReadP = skipSpaceChars *> inputReadP <* R.skipSpaces ++ where ++ inputReadP :: R.ReadP LinkerScript ++ inputReadP = fmap INPUT $ R.between (symbol "INPUT(") (symbol ")") $ ++ R.sepBy libReadP sep <* skipSpaceChars ++ where ++ libReadP :: R.ReadP LibName ++ libReadP = R.string "-l" *> R.many1 (R.satisfy isLibNameChar) ++ where ++ isLibNameChar c = c /= ')' && c /= ',' && c /= ' ' ++ ++ sep :: R.ReadP () ++ sep = R.char ' ' *> skipSpaceChars ++ ++ symbol :: String -> R.ReadP () ++ symbol str = R.string str *> skipSpaceChars ++ ++ skipSpaceChars :: R.ReadP () ++ skipSpaceChars = do ++ s <- R.look ++ skip s ++ where ++ skip (' ':s) = do _ <- R.get; skip s ++ skip _ = do return () ++ ++parseArOrScript :: B.ByteString -> Either (ByteOffset, String) ArchiveOrScript ++parseArOrScript bs = ++ case runGetOrFail getArch $ L.fromChunks $ pure bs of ++ Left (_, pos, msg) -> ++ case R.readP_to_S linkerScriptReadP $ C.unpack bs of ++ [(linkerScript, "")] -> Right $ ImplicitLinkerScript linkerScript ++ _ -> Left (pos, msg) ++ Right (_, _, ar) -> Right $ Ar ar ++ + parseAr :: B.ByteString -> Archive + parseAr = runGet getArch . L.fromChunks . pure + +@@ -240,6 +307,18 @@ writeGNUAr fp = L.writeFile fp . runPut . putGNUArch + loadAr :: FilePath -> IO Archive + loadAr fp = parseAr <$> B.readFile fp + ++loadArchiveOrScript :: FilePath -> IO ArchiveOrScript ++loadArchiveOrScript fp = do ++ bs <- B.readFile fp ++ case parseArOrScript bs of ++ Left (pos, msg) -> ++ error $ ++ "Error while decoding archive: " <> fp <> ++ " is neither an archive because decoding failed at position " <> ++ show pos <> " with error " <> msg <> ++ ", nor is it an implicit linker script!" ++ Right arOrScript -> return arOrScript ++ + loadObj :: FilePath -> IO ArchiveEntry + loadObj fp = do + payload <- B.readFile fp +diff --git a/compiler/GHC/Linker/Loader.hs b/compiler/GHC/Linker/Loader.hs +index 5cb73b1..99e7d01 100644 +--- a/compiler/GHC/Linker/Loader.hs ++++ b/compiler/GHC/Linker/Loader.hs +@@ -61,6 +61,7 @@ import GHC.ByteCode.Asm + import GHC.ByteCode.Types + + import GHC.SysTools ++import GHC.SysTools.Ar (loadArchiveOrScript, ArchiveOrScript(..), LinkerScript(..)) + + import GHC.Types.Basic + import GHC.Types.Name +@@ -1151,7 +1152,7 @@ loadPackage interp hsc_env pkg + #endif + objs = [ obj | Objects objs <- classifieds + , obj <- objs ] +- archs = [ arch | Archive arch <- classifieds ] ++ archPaths = [ arch | Archive arch <- classifieds ] + + -- Add directories to library search paths + let dll_paths = map takeDirectory known_dlls +@@ -1175,7 +1176,8 @@ loadPackage interp hsc_env pkg + -- Ordering isn't important here, because we do one final link + -- step to resolve everything. + mapM_ (loadObj interp) objs +- mapM_ (loadArchive interp) archs ++ resolvedArchives <- resolveArchives interp hsc_env dirs_env gcc_paths archPaths ++ mapM_ (loadArchive interp) resolvedArchives + + maybePutStr logger "linking ... " + ok <- resolveObjs interp +@@ -1194,6 +1196,16 @@ loadPackage interp hsc_env pkg + <> pprUnitInfoForUser pkg <> text "'" + in throwGhcExceptionIO (InstallationError (showSDoc dflags errmsg)) + ++resolveArchives :: Interp -> HscEnv -> [FilePath] -> [FilePath] -> [FilePath] -> IO [FilePath] ++resolveArchives interp hsc_env dirs_env gcc_paths paths = fmap concat $ forM paths $ \path -> do ++ arOrScript <- loadArchiveOrScript path ++ case arOrScript of ++ Ar _ -> return [path] ++ ImplicitLinkerScript (INPUT libs) -> do ++ classifiedLibs <- mapM (locateLib interp hsc_env False dirs_env gcc_paths) libs ++ let resolvedPaths = [arch | Archive arch <- classifiedLibs] ++ resolveArchives interp hsc_env dirs_env gcc_paths resolvedPaths ++ + {- + Note [Crash early load_dyn and locateLib] + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + diff --git a/overlays/patches/ghc/ghc-9.12-wasm-keep-cafs.patch b/overlays/patches/ghc/ghc-9.12-wasm-keep-cafs.patch new file mode 100644 index 0000000000..5bc90171f9 --- /dev/null +++ b/overlays/patches/ghc/ghc-9.12-wasm-keep-cafs.patch @@ -0,0 +1,36 @@ +From 10f06163d9adcb3b6e6438f1524faaca3bf6c3b2 Mon Sep 17 00:00:00 2001 +From: Cheng Shao +Date: Sat, 23 Aug 2025 05:11:31 +0200 +Subject: [PATCH] wasm: ensure setKeepCAFs() is called in ghci + +This patch is a critical bugfix for #26106, see comment and linked +issue for details. +--- + utils/jsffi/dyld.mjs | 14 ++++++++++++++ + 1 file changed, 14 insertions(+) + +diff --git a/utils/jsffi/dyld.mjs b/utils/jsffi/dyld.mjs +index 285cc8b72011..8c38ebc2efa0 100755 +--- a/utils/jsffi/dyld.mjs ++++ b/utils/jsffi/dyld.mjs +@@ -1105,6 +1105,20 @@ class DyLD { + if (/libHSghc-internal-\d+(\.\d+)*/i.test(soname)) { + this.rts_init(); + delete this.rts_init; ++ ++ // At this point the RTS symbols in linear memory are fixed ++ // and constructors are run, especially the one in JSFFI.c ++ // that does GHC RTS initialization for any code that links ++ // JSFFI.o. Luckily no Haskell computation or gc has taken ++ // place yet, so we must set keepCAFs=1 right now! Otherwise, ++ // any BCO created by later TH splice or ghci expression may ++ // refer to any CAF that's not reachable from GC roots (here ++ // our only entry point is defaultServer) and the CAF could ++ // have been GC'ed! (#26106) ++ // ++ // We call it here instead of in RTS C code, since we only ++ // want keepCAFs=1 for ghci, not user code. ++ this.exportFuncs.setKeepCAFs(); + } + init(); + } \ No newline at end of file diff --git a/overlays/patches/ghc/ghc-9.12-wasm-shared-libs.patch b/overlays/patches/ghc/ghc-9.12-wasm-shared-libs.patch new file mode 100644 index 0000000000..ac2273fc99 --- /dev/null +++ b/overlays/patches/ghc/ghc-9.12-wasm-shared-libs.patch @@ -0,0 +1,41 @@ +From cb60da245b2fea7a0c39af0e58f9ef89104a9255 Mon Sep 17 00:00:00 2001 +From: Cheng Shao +Date: Fri, 21 Feb 2025 20:30:31 +0000 +Subject: [PATCH] wasm: fix dyld for shared libraries created by llvm 20.x + +This patch fixes wasm dyld script for shared libraries created by llvm +20.x. The __wasm_apply_data_relocs function is now optional and may be +omitted for shared libraries without any runtime relocatable data +segments, so only call __wasm_apply_data_relocs when it's present. +--- + utils/jsffi/dyld.mjs | 13 +++++++++---- + 1 file changed, 9 insertions(+), 4 deletions(-) + +diff --git a/utils/jsffi/dyld.mjs b/utils/jsffi/dyld.mjs +index 3c1c2106557a..c6cfedbece4f 100755 +--- a/utils/jsffi/dyld.mjs ++++ b/utils/jsffi/dyld.mjs +@@ -796,12 +796,17 @@ class DyLD { + + const init = () => { + // See +- // https://github.com/llvm/llvm-project/blob/llvmorg-19.1.1/lld/wasm/Writer.cpp#L1430, +- // there's also __wasm_init_memory (not relevant yet, we don't ++ // https://gitlab.haskell.org/haskell-wasm/llvm-project/-/blob/release/20.x/lld/wasm/Writer.cpp#L1450, ++ // __wasm_apply_data_relocs is now optional so only call it if ++ // it exists (we know for sure it exists for libc.so though). ++ // There's also __wasm_init_memory (not relevant yet, we don't + // use passive segments) & __wasm_apply_global_relocs but + // those are included in the start function and should have +- // been called upon instantiation. +- instance.exports.__wasm_apply_data_relocs(); ++ // been called upon instantiation, see ++ // Writer::createStartFunction(). ++ if (instance.exports.__wasm_apply_data_relocs) { ++ instance.exports.__wasm_apply_data_relocs(); ++ } + + instance.exports._initialize(); + }; +-- +GitLab diff --git a/overlays/patches/ghc/ghc-9.12-windows-rts-symbols.patch b/overlays/patches/ghc/ghc-9.12-windows-rts-symbols.patch new file mode 100644 index 0000000000..d80140b0ba --- /dev/null +++ b/overlays/patches/ghc/ghc-9.12-windows-rts-symbols.patch @@ -0,0 +1,29 @@ +diff --git a/rts/RtsSymbols.c b/rts/RtsSymbols.c +index a447f126bd..93af0f511f 100644 +--- a/rts/RtsSymbols.c ++++ b/rts/RtsSymbols.c +@@ -165,15 +165,21 @@ extern char **environ; + SymI_HasProto(rts_ConsoleHandlerDone) \ + SymI_NeedsProto(__mingw_module_is_dll) \ + RTS_WIN64_ONLY(SymI_NeedsProto(___chkstk_ms)) \ +- SymI_HasProto(__stdio_common_vswprintf_s) \ +- SymI_HasProto(__stdio_common_vswprintf) \ + SymI_HasProto(_errno) \ + /* see Note [Symbols for MinGW's printf] */ \ + SymI_HasProto(_lock_file) \ + SymI_HasProto(_unlock_file) \ + /* See Note [_iob_func symbol] */ \ + SymI_HasProto_redirect( \ +- __imp___acrt_iob_func, __rts_iob_func, STRENGTH_WEAK, SYM_TYPE_INDIRECT_DATA) ++ __imp___acrt_iob_func, __rts_iob_func, STRENGTH_WEAK, SYM_TYPE_INDIRECT_DATA) \ ++ SymI_HasProto(__mingw_vsnwprintf) \ ++ SymI_HasProto(__mingw_vfprintf) \ ++ SymI_HasProto(closure_sizeW_) \ ++ SymI_NeedsProto(_tzset) \ ++ /* ^^ This one needed for time, tzset deprecated */\ ++ SymI_NeedsProto(tzset) \ ++ SymI_HasProto(strtoll) ++ /* ^^ These two are needed for unix-time */ + #else + #define RTS_MINGW_ONLY_SYMBOLS /**/ + #endif diff --git a/overlays/patches/ghc/ghc-9.13-ghcjs-rts-types.patch b/overlays/patches/ghc/ghc-9.13-ghcjs-rts-types.patch new file mode 100644 index 0000000000..652e549f3c --- /dev/null +++ b/overlays/patches/ghc/ghc-9.13-ghcjs-rts-types.patch @@ -0,0 +1,12 @@ +diff --git a/rts/rts.cabal b/rts/rts.cabal +index 899e65d712..84dac99f54 100644 +--- a/rts/rts.cabal ++++ b/rts/rts.cabal +@@ -160,6 +160,7 @@ library + stg/MachRegs/x86.h + stg/MachRegsForHost.h + stg/Types.h ++ rts/Types.h + + else + -- If we are using an in-tree libffi then we must declare it as a bundled diff --git a/overlays/patches/ghc/ghc-9.6-32bit-cmm.patch b/overlays/patches/ghc/ghc-9.6-32bit-cmm.patch new file mode 100644 index 0000000000..4267c8ec1d --- /dev/null +++ b/overlays/patches/ghc/ghc-9.6-32bit-cmm.patch @@ -0,0 +1,24 @@ +diff --git a/compiler/GHC/StgToCmm/CgUtils.hs b/compiler/GHC/StgToCmm/CgUtils.hs +index 4718cbf..07001c6 100644 +--- a/compiler/GHC/StgToCmm/CgUtils.hs ++++ b/compiler/GHC/StgToCmm/CgUtils.hs +@@ -173,15 +173,15 @@ fixStgRegStmt platform stmt = fixAssign $ mapExpDeep fixExpr stmt + BaseReg -> baseAddr + _other -> CmmLoad baseAddr (globalRegType platform reg) NaturallyAligned + +- CmmRegOff (CmmGlobal reg) offset -> ++ CmmRegOff greg@(CmmGlobal reg) offset -> + -- RegOf leaves are just a shorthand form. If the reg maps + -- to a real reg, we keep the shorthand, otherwise, we just + -- expand it and defer to the above code. + case reg `elem` activeStgRegs platform of + True -> expr +- False -> CmmMachOp (MO_Add (wordWidth platform)) [ +- fixExpr (CmmReg (CmmGlobal reg)), ++ False -> CmmMachOp (MO_Add (cmmRegWidth platform greg)) [ ++ fixExpr (CmmReg greg), + CmmLit (CmmInt (fromIntegral offset) +- (wordWidth platform))] ++ (cmmRegWidth platform greg))] + + other_expr -> other_expr \ No newline at end of file diff --git a/overlays/patches/ghc/ghc-9.6-COMPAT_R_ARM_PREL31.patch b/overlays/patches/ghc/ghc-9.6-COMPAT_R_ARM_PREL31.patch new file mode 100644 index 0000000000..9368c827df --- /dev/null +++ b/overlays/patches/ghc/ghc-9.6-COMPAT_R_ARM_PREL31.patch @@ -0,0 +1,13 @@ +diff --git a/rts/linker/Elf.c b/rts/linker/Elf.c +index 007daedb2f..0555abac72 100644 +--- a/rts/linker/Elf.c ++++ b/rts/linker/Elf.c +@@ -1295,6 +1295,7 @@ do_Elf_Rel_relocations ( ObjectCode* oc, char* ehdrC, + break; + + case COMPAT_R_ARM_REL32: /* ((S + A) | T) – P */ ++ case COMPAT_R_ARM_PREL31: + *(Elf32_Word *)P += S; + *(Elf32_Word *)P |= T; + *(Elf32_Word *)P -= P; + diff --git a/overlays/patches/ghc/ghc-9.6-debug-secno.patch b/overlays/patches/ghc/ghc-9.6-debug-secno.patch new file mode 100644 index 0000000000..6564734a76 --- /dev/null +++ b/overlays/patches/ghc/ghc-9.6-debug-secno.patch @@ -0,0 +1,22 @@ +diff --git a/rts/linker/Elf.c b/rts/linker/Elf.c +index 9f623a6..f4ee928 100644 +--- a/rts/linker/Elf.c ++++ b/rts/linker/Elf.c +@@ -1056,7 +1056,15 @@ ocGetNames_ELF ( ObjectCode* oc ) + ) + ) { + /* Section 0 is the undefined section, hence > and not >=. */ +- CHECK(secno > 0 && secno < shnum); ++ // This is only a problem if the symbol is _not_ WEAK. If it's ++ // weak this is perfectly ok. See below how we set the symbol's ++ // address to NULL in that case. ++ // if (!(secno > 0 && secno < shnum)) { ++ // debugBelch("while processing %s\n", OC_INFORMATIVE_FILENAME(oc)); ++ // debugBelch("while processing symbol %s (%d)\n", nm, j); ++ // barf("secno %d out of range (0, %d)\n", secno, shnum); ++ // } ++ // CHECK(secno > 0 && secno < shnum); + /* + if (shdr[secno].sh_type == SHT_NOBITS) { + debugBelch(" BSS symbol, size %d off %d name %s\n", + diff --git a/overlays/patches/ghc/ghc-9.6-genapply-cross-arch.patch b/overlays/patches/ghc/ghc-9.6-genapply-cross-arch.patch new file mode 100644 index 0000000000..8aa2b81077 --- /dev/null +++ b/overlays/patches/ghc/ghc-9.6-genapply-cross-arch.patch @@ -0,0 +1,35 @@ +diff --git a/utils/genapply/Main.hs b/utils/genapply/Main.hs +index 74351ee..8a6513c 100644 +--- a/utils/genapply/Main.hs ++++ b/utils/genapply/Main.hs +@@ -12,6 +12,17 @@ + -- for details + module Main(main) where + ++-- GHC will helpfully pass ++-- -Dlinux_BUILD_OS -Dx86_64_BUILD_ARCH -Dlinux_HOST_OS -Dx86_64_HOST_ARCH -D__GLASGOW_HASKELL_TH__ -D__SSE__ -D__SSE2__ '-D__IO_MANAGER_MIO__=1' ++-- to cc -E when running the CPP phase. :-/ So we have to undefine them. ++#if defined(linux_BUILD_OS) || defined(x86_64_BUILD_ARCH) || defined(linux_HOST_OS) || defined(x86_64_HOST_ARCH) ++#warning "Undefining macros that GHC passes to CPP" ++#undef linux_BUILD_OS ++#undef x86_64_BUILD_ARCH ++#undef linux_HOST_OS ++#undef x86_64_HOST_ARCH ++#endif ++ + -- Note [Genapply target as host for RTS macros] + -- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + -- We improperly include *HOST* macros for our target... +@@ -957,6 +968,12 @@ main = do + text "// DO NOT EDIT!", + text "// Automatically generated by utils/genapply/Main.hs", + text "", ++ text "// DEBUG: SIZEOF_VOID_P " <> int SIZEOF_VOID_P, ++ text "// DEBUG: HOST_ARCH " <> text HOST_ARCH, ++ text "// DEBUG: HOST_OS " <> text HOST_OS, ++ text "// DEBUG: BUILD_ARCH " <> text BUILD_ARCH, ++ text "// DEBUG: BUILD_OS " <> text BUILD_OS, ++ text "", + text "#include \"Cmm.h\"", + text "#include \"AutoApply.h\"", + text "#if !defined(UnregisterisedCompiler)", diff --git a/overlays/patches/ghc/ghc-9.6-hadrian-android.patch b/overlays/patches/ghc/ghc-9.6-hadrian-android.patch new file mode 100644 index 0000000000..6e32aaadd2 --- /dev/null +++ b/overlays/patches/ghc/ghc-9.6-hadrian-android.patch @@ -0,0 +1,11 @@ +diff --git a/hadrian/src/Hadrian/Haskell/Cabal.hs b/hadrian/src/Hadrian/Haskell/Cabal.hs +index f5864b6..69123e1 100644 +--- a/hadrian/src/Hadrian/Haskell/Cabal.hs ++++ b/hadrian/src/Hadrian/Haskell/Cabal.hs +@@ -71,4 +71,5 @@ cabalOsString :: String -> String + cabalOsString "mingw32" = "windows" + cabalOsString "darwin" = "osx" + cabalOsString "solaris2" = "solaris" ++cabalOsString "linux_android" = "android" + cabalOsString other = other + diff --git a/overlays/patches/ghc/ghc-9.6-hadrian-strip-cmd.patch b/overlays/patches/ghc/ghc-9.6-hadrian-strip-cmd.patch new file mode 100644 index 0000000000..f5652b35e9 --- /dev/null +++ b/overlays/patches/ghc/ghc-9.6-hadrian-strip-cmd.patch @@ -0,0 +1,56 @@ +diff --git a/hadrian/cfg/system.config.in b/hadrian/cfg/system.config.in +index 6a891b4..a2289f8 100644 +--- a/hadrian/cfg/system.config.in ++++ b/hadrian/cfg/system.config.in +@@ -18,6 +18,7 @@ merge-objects = @MergeObjsCmd@ + system-merge-objects = @LD_STAGE0@ + objdump = @ObjdumpCmd@ + ranlib = @REAL_RANLIB_CMD@ ++strip = @StripCmd@ + sphinx-build = @SPHINXBUILD@ + system-ar = @AR_STAGE0@ + system-cc = @CC_STAGE0@ +diff --git a/hadrian/src/Oracles/Setting.hs b/hadrian/src/Oracles/Setting.hs +index 462d289..535cc5f 100644 +--- a/hadrian/src/Oracles/Setting.hs ++++ b/hadrian/src/Oracles/Setting.hs +@@ -69,6 +69,7 @@ data Setting = BuildArch + | ProjectPatchLevel + | ProjectPatchLevel1 + | ProjectPatchLevel2 ++ | Strip + | SystemGhc + | TargetArch + | TargetOs +@@ -171,6 +172,7 @@ setting key = lookupSystemConfig $ case key of + ProjectPatchLevel -> "project-patch-level" + ProjectPatchLevel1 -> "project-patch-level1" + ProjectPatchLevel2 -> "project-patch-level2" ++ Strip -> "strip" + SystemGhc -> "system-ghc" + TargetArch -> "target-arch" + TargetArmVersion -> "target-arm-version" +diff --git a/hadrian/src/Settings/Builders/Cabal.hs b/hadrian/src/Settings/Builders/Cabal.hs +index 2e42185..032ca72 100644 +--- a/hadrian/src/Settings/Builders/Cabal.hs ++++ b/hadrian/src/Settings/Builders/Cabal.hs +@@ -85,15 +85,11 @@ commonCabalArgs :: Stage -> Args + commonCabalArgs stage = do + verbosity <- expr getVerbosity + pkg <- getPackage ++ strip <- getSetting Strip + package_id <- expr $ pkgIdentifier pkg + let prefix = "${pkgroot}" ++ (if windowsHost then "" else "/..") +- mconcat [ -- Don't strip libraries when cross compiling. +- -- TODO: We need to set @--with-strip=(stripCmdPath :: Action FilePath)@, +- -- and if it's @:@ disable stripping as well. As it is now, I believe +- -- we might have issues with stripping on Windows, as I can't see a +- -- consumer of 'stripCmdPath'. +- -- TODO: See https://github.com/snowleopard/hadrian/issues/549. +- flag CrossCompiling ? pure [ "--disable-executable-stripping" ++ mconcat [ notStage0 ? strip /= "" ? pure [ "--with-strip=" ++ strip ] ++ , flag CrossCompiling ? pure [ "--disable-executable-stripping" + , "--disable-library-stripping" ] + -- We don't want to strip the debug RTS + , S.package rts ? pure [ "--disable-executable-stripping" + diff --git a/overlays/patches/ghc/ghc-9.6-iog.patch b/overlays/patches/ghc/ghc-9.6-iog.patch new file mode 100644 index 0000000000..849b867311 --- /dev/null +++ b/overlays/patches/ghc/ghc-9.6-iog.patch @@ -0,0 +1,370 @@ +diff --git a/rts/Linker.c b/rts/Linker.c +index 59e2ff9397..78e43cd471 100644 +--- a/rts/Linker.c ++++ b/rts/Linker.c +@@ -267,7 +267,7 @@ int ghciInsertSymbolTable( + RtsSymbolInfo *pinfo = lookupStrHashTable(table, key); + if (!pinfo) /* new entry */ + { +- pinfo = stgMallocBytes(sizeof (*pinfo), "ghciInsertToSymbolTable"); ++ pinfo = stgCallocBytes(1, sizeof (*pinfo), "ghciInsertToSymbolTable"); + pinfo->value = data; + pinfo->owner = owner; + pinfo->strength = strength; +@@ -605,11 +605,11 @@ internal_dlopen(const char *dll_name) + /* dlopen failed; return a ptr to the error msg. */ + errmsg = dlerror(); + if (errmsg == NULL) errmsg = "addDLL: unknown error"; +- errmsg_copy = stgMallocBytes(strlen(errmsg)+1, "addDLL"); ++ errmsg_copy = stgCallocBytes(1,strlen(errmsg)+1, "addDLL"); + strcpy(errmsg_copy, errmsg); + errmsg = errmsg_copy; + } else { +- o_so = stgMallocBytes(sizeof(OpenedSO), "addDLL"); ++ o_so = stgCallocBytes(1,sizeof(OpenedSO), "addDLL"); + o_so->handle = hdl; + o_so->next = openedSOs; + openedSOs = o_so; +@@ -1314,7 +1314,7 @@ mkOc( ObjectType type, pathchar *path, char *image, int imageSize, + + + IF_DEBUG(linker, debugBelch("mkOc: %" PATH_FMT "\n", path)); +- oc = stgMallocBytes(sizeof(ObjectCode), "mkOc(oc)"); ++ oc = stgCallocBytes(1, sizeof(ObjectCode), "mkOc(oc)"); + + oc->info = NULL; + oc->type = type; +@@ -1334,7 +1334,7 @@ mkOc( ObjectType type, pathchar *path, char *image, int imageSize, + oc->fileName = pathdup(path); + + if (archiveMemberName) { +- oc->archiveMemberName = stgMallocBytes( (pathlen(archiveMemberName)+1) * pathsize, ++ oc->archiveMemberName = stgCallocBytes(1, (pathlen(archiveMemberName)+1) * pathsize, + "loadObj" ); + pathcopy(oc->archiveMemberName, archiveMemberName); + } else { +@@ -1489,12 +1489,12 @@ preloadObjectFile (pathchar *path) + // reading the file, and then we misalign image on purpose so + // that the actual sections end up aligned again. + misalignment = machoGetMisalignment(f); +- image = stgMallocBytes(fileSize + misalignment, "loadObj(image)"); ++ image = stgCallocBytes(1, fileSize + misalignment, "loadObj(image)"); + image += misalignment; + + # else /* !defined(darwin_HOST_OS) */ + +- image = stgMallocBytes(fileSize, "loadObj(image)"); ++ image = stgCallocBytes(1, fileSize, "loadObj(image)"); + + #endif /* !defined(darwin_HOST_OS) */ + +@@ -1787,6 +1787,8 @@ static HsInt resolveObjs_ (void) + IF_DEBUG(linker, debugBelch("resolveObjs: start\n")); + + for (ObjectCode *oc = objects; oc; oc = oc->next) { ++ if(oc->status == OBJECT_RESOLVED) ++ continue; + int r = ocTryLoad(oc); + if (!r) { + errorBelch("Could not load Object Code %" PATH_FMT ".\n", OC_INFORMATIVE_FILENAME(oc)); +@@ -1907,7 +1909,7 @@ void + addProddableBlock ( ObjectCode* oc, void* start, int size ) + { + ProddableBlock* pb +- = stgMallocBytes(sizeof(ProddableBlock), "addProddableBlock"); ++ = stgCallocBytes(1,sizeof(ProddableBlock), "addProddableBlock"); + + IF_DEBUG(linker, debugBelch("addProddableBlock: %p %p %d\n", oc, start, size)); + ASSERT(size > 0); +diff --git a/rts/LinkerInternals.h b/rts/LinkerInternals.h +index 271611a249..784bb19c10 100644 +--- a/rts/LinkerInternals.h ++++ b/rts/LinkerInternals.h +@@ -299,6 +299,10 @@ struct _ObjectCode { + int n_segments; + Segment *segments; + ++ // COMMON section ++ void * common_mem; ++ unsigned long common_size; ++ + // + // Garbage collection fields + // +diff --git a/rts/RtsUtils.c b/rts/RtsUtils.c +index 4cac10ba15..fe0d8ca40e 100644 +--- a/rts/RtsUtils.c ++++ b/rts/RtsUtils.c +@@ -104,6 +104,11 @@ stgCallocBytes (size_t count, size_t size, char *msg) + rtsConfig.mallocFailHook((W_) count*size, msg); + stg_exit(EXIT_INTERNAL_ERROR); + } ++ // If we run under qemu with jemalloc, calloc is not guaranteed ++ // to zero memory. ++ // - https://giters.com/jemalloc/jemalloc/issues/1844 ++ // - https://lists.nongnu.org/archive/html/qemu-devel/2020-05/msg03119.html ++ memset(space, 0, count*size); + return space; + } + +diff --git a/rts/linker/Elf.c b/rts/linker/Elf.c +index bab2ca3041..9f623a62da 100644 +--- a/rts/linker/Elf.c ++++ b/rts/linker/Elf.c +@@ -303,6 +303,15 @@ ocInit_ELF(ObjectCode * oc) + } + } + } ++ if(NULL != oc->common_mem) { ++#if RTS_LINKER_USE_MMAP ++ munmap(oc->common_mem, oc->common_size); ++#else ++ stgFree(oc->common_mem); ++#endif ++ } ++ oc->common_mem = NULL; ++ oc->common_size = 0; + } + + void +@@ -961,14 +970,17 @@ ocGetNames_ELF ( ObjectCode* oc ) + for (size_t j = 0; j < symTab->n_symbols; j++) { + ElfSymbol *symbol = &symTab->symbols[j]; + if (SHN_COMMON == symTab->symbols[j].elf_sym->st_shndx) { +- common_size += symbol->elf_sym->st_size; ++ // st_value holds the alignment. Adding alignment always ++ // should give us some wiggle room to get alignment right. ++ common_size += symbol->elf_sym->st_size + symbol->elf_sym->st_value; + } + } + } +- void * common_mem = NULL; ++ oc->common_mem = NULL; ++ oc->common_size = common_size; + if(common_size > 0) { +- common_mem = mmapAnonForLinker(common_size); +- if (common_mem == NULL) { ++ oc->common_mem = mmapAnonForLinker(common_size); ++ if (oc->common_mem == NULL) { + barf("ocGetNames_ELF: Failed to allocate memory for SHN_COMMONs"); + } + } +@@ -1009,9 +1021,10 @@ ocGetNames_ELF ( ObjectCode* oc ) + if (shndx == SHN_COMMON) { + isLocal = false; + CHECK(common_used < common_size); +- CHECK(common_mem); +- symbol->addr = (void*)((uintptr_t)common_mem + common_used); +- common_used += symbol->elf_sym->st_size; ++ CHECK(oc->common_mem); ++ int alignment = symbol->elf_sym->st_value-1; ++ symbol->addr = (void*)(((uintptr_t)oc->common_mem + common_used + alignment) & ~alignment); ++ common_used = (uintptr_t)symbol->addr - (uintptr_t)oc->common_mem + symbol->elf_sym->st_size; + CHECK(common_used <= common_size); + + IF_DEBUG(linker_verbose, +@@ -1025,7 +1038,9 @@ ocGetNames_ELF ( ObjectCode* oc ) + || ELF_ST_BIND(symbol->elf_sym->st_info) == STB_WEAK + ) + /* and not an undefined symbol */ +- && shndx != SHN_UNDEF ++ && (shndx != SHN_UNDEF ++ /* unless it's weak */ ++ || (shndx == SHN_UNDEF && ELF_ST_BIND(symbol->elf_sym->st_info) == STB_WEAK)) + /* and not in a "special section" */ + && (shndx < SHN_LORESERVE + #if defined(SHN_XINDEX) +@@ -1052,6 +1067,14 @@ ocGetNames_ELF ( ObjectCode* oc ) + (intptr_t) oc->sections[secno].start + + (intptr_t) symbol->elf_sym->st_value); + CHECK(symbol->addr != 0x0); ++ if(shndx == SHN_UNDEF && ELF_ST_BIND(symbol->elf_sym->st_info) == STB_WEAK) { ++ symbol->addr = NULL; ++ } else { ++ symbol->addr = (SymbolAddr*)( ++ (intptr_t) oc->sections[secno].start + ++ (intptr_t) symbol->elf_sym->st_value); ++ CHECK(symbol->addr != 0x0); ++ } + if (ELF_ST_BIND(symbol->elf_sym->st_info) == STB_LOCAL) { + isLocal = true; + isWeak = false; +@@ -1063,42 +1086,20 @@ ocGetNames_ELF ( ObjectCode* oc ) + isWeak = ELF_ST_BIND(symbol->elf_sym->st_info) + == STB_WEAK; + } +- } +- +- SymType sym_type; +- if (ELF_ST_TYPE(symbol->elf_sym->st_info) == STT_FUNC) { +- sym_type = SYM_TYPE_CODE; ++ } else if (ELF_ST_BIND(symbol->elf_sym->st_info) == STB_WEAK ++ && shndx == SHN_UNDEF ++ && (ELF_ST_TYPE(symbol->elf_sym->st_info) == STT_FUNC ++ || ELF_ST_TYPE(symbol->elf_sym->st_info) == STT_OBJECT ++ || ELF_ST_TYPE(symbol->elf_sym->st_info) == STT_NOTYPE)) { ++ symbol->addr = NULL; ++ isLocal = false; ++ isWeak = true; + } else { +- sym_type = SYM_TYPE_DATA; +- } +- +- /* And the decision is ... */ +- +- if (symbol->addr != NULL) { +- CHECK(nm != NULL); +- /* Acquire! */ +- if (!isLocal) { +- +- if (isWeak == HS_BOOL_TRUE) { +- setWeakSymbol(oc, nm); +- } +- if (!ghciInsertSymbolTable(oc->fileName, symhash, +- nm, symbol->addr, isWeak, sym_type, oc) +- ) { +- goto fail; +- } +- oc->symbols[curSymbol].name = nm; +- oc->symbols[curSymbol].addr = symbol->addr; +- oc->symbols[curSymbol].type = sym_type; +- curSymbol++; +- } +- } else { +- /* Skip. */ ++ /* Skip. */ + IF_DEBUG(linker_verbose, + debugBelch("skipping `%s'\n", + nm) + ); +- + /* + debugBelch( + "skipping bind = %d, type = %d, secno = %d `%s'\n", +@@ -1108,7 +1109,34 @@ ocGetNames_ELF ( ObjectCode* oc ) + nm + ); + */ ++ continue; + } ++ ++ SymType sym_type; ++ if (ELF_ST_TYPE(symbol->elf_sym->st_info) == STT_FUNC) { ++ sym_type = SYM_TYPE_CODE; ++ } else { ++ sym_type = SYM_TYPE_DATA; ++ } ++ ++ /* And the decision is ... */ ++ CHECK(nm != NULL); ++ /* Acquire! */ ++ if (!isLocal) { ++ ++ if (isWeak == HS_BOOL_TRUE) { ++ setWeakSymbol(oc, nm); ++ } ++ if (!ghciInsertSymbolTable(oc->fileName, symhash, ++ nm, symbol->addr, isWeak, sym_type, oc) ++ ) { ++ goto fail; ++ } ++ oc->symbols[curSymbol].name = nm; ++ oc->symbols[curSymbol].addr = symbol->addr; ++ oc->symbols[curSymbol].type = sym_type; ++ curSymbol++; ++ } + } + } + } +diff --git a/rts/linker/elf_plt.c b/rts/linker/elf_plt.c +index 9cd42efff2..70817d8b0b 100644 +--- a/rts/linker/elf_plt.c ++++ b/rts/linker/elf_plt.c +@@ -1,4 +1,5 @@ + #include "Rts.h" ++#include "RtsUtils.h" + #include "elf_plt.h" + + #include +@@ -51,7 +52,7 @@ makeStub(Section * section, + void* * addr, + uint8_t flags) { + +- Stub * s = calloc(1, sizeof(Stub)); ++ Stub * s = stgCallocBytes(1, sizeof(Stub), "makeStub"); + ASSERT(s != NULL); + s->target = *addr; + s->flags = flags; +diff --git a/rts/linker/elf_plt_aarch64.c b/rts/linker/elf_plt_aarch64.c +index 11354a63db..6b27a2c73d 100644 +--- a/rts/linker/elf_plt_aarch64.c ++++ b/rts/linker/elf_plt_aarch64.c +@@ -25,6 +25,7 @@ const size_t stubSizeAarch64 = 5 * 4; + */ + bool needStubForRelAarch64(Elf_Rel * rel) { + switch(ELF64_R_TYPE(rel->r_info)) { ++ case COMPAT_R_AARCH64_CONDBR19: + case COMPAT_R_AARCH64_CALL26: + case COMPAT_R_AARCH64_JUMP26: + return true; +@@ -34,6 +35,7 @@ bool needStubForRelAarch64(Elf_Rel * rel) { + } + bool needStubForRelaAarch64(Elf_Rela * rela) { + switch(ELF64_R_TYPE(rela->r_info)) { ++ case COMPAT_R_AARCH64_CONDBR19: + case COMPAT_R_AARCH64_CALL26: + case COMPAT_R_AARCH64_JUMP26: + return true; +diff --git a/rts/linker/elf_reloc_aarch64.c b/rts/linker/elf_reloc_aarch64.c +index 4743e81ea2..f37e3699f1 100644 +--- a/rts/linker/elf_reloc_aarch64.c ++++ b/rts/linker/elf_reloc_aarch64.c +@@ -105,8 +105,24 @@ encodeAddendAarch64(Section * section, Elf_Rel * rel, int64_t addend) { + break; + } + /* - control flow relocations */ ++ case COMPAT_R_AARCH64_CONDBR19: { /* relocate b.* ... */ ++ // 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 ++ // 0 1 0 1 0 1 0 0 [ imm19 ... ++ // ++ // 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 ++ // ... imm19 ] 0 [ cond ] ++ CHECK(isInt64(19+2, addend)); /* X in range */ ++ *(inst_t *)P = (*(inst_t *)P & 0xff00001f) ++ | ((uint32_t)(addend << (5-2)) & 0x00ffffe0); ++ break; ++ } + case COMPAT_R_AARCH64_JUMP26: /* relocate b ... */ + case COMPAT_R_AARCH64_CALL26: { /* relocate bl ... */ ++ // 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 ++ // 0|1 0 0 1 0 1 [ imm26 ... ++ ++ // 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 ++ // ... imm26 ] + CHECK(isInt64(26+2, addend)); /* X in range */ + *(inst_t *)P = (*(inst_t *)P & 0xfc000000) /* keep upper 6 (32-6) + * bits */ +@@ -222,6 +238,23 @@ computeAddend(Section * section, Elf_Rel * rel, + case COMPAT_R_AARCH64_ADD_ABS_LO12_NC: + /* type: static, class: aarch64, op: S + A */ + return (S + A) & 0xfff; ++ case COMPAT_R_AARCH64_CONDBR19: { ++ int64_t V = S + A - P; ++ if(!isInt64(19+2, V)) { ++ /* need a stub */ ++ /* check if we already have that stub */ ++ if(findStub(section, (void**)&S, 0)) { ++ /* did not find it. Crete a new stub. */ ++ if(makeStub(section, (void**)&S, 0)) { ++ abort(/* could not find or make stub */); ++ } ++ } ++ ++ V = S + A -P; ++ assert(isInt64(19+2, V)); ++ } ++ return V; ++ } + case COMPAT_R_AARCH64_JUMP26: + case COMPAT_R_AARCH64_CALL26: { + // S+A-P diff --git a/overlays/patches/ghc/ghc-9.6-js-support-this-unit-id-10819.patch b/overlays/patches/ghc/ghc-9.6-js-support-this-unit-id-10819.patch new file mode 100644 index 0000000000..15f152eda5 --- /dev/null +++ b/overlays/patches/ghc/ghc-9.6-js-support-this-unit-id-10819.patch @@ -0,0 +1,36 @@ +From 168af9c24581bb550e6f352ebb3dd86c8784cea9 Mon Sep 17 00:00:00 2001 +From: Sylvain Henry +Date: Thu, 6 Jul 2023 15:59:38 +0200 +Subject: [PATCH] JS: support -this-unit-id for programs in the linker (#23613) + +--- + compiler/GHC/StgToJS/Linker/Linker.hs | 2 +- + testsuite/tests/driver/T23613.hs | 4 ++++ + testsuite/tests/driver/all.T | 7 ++++--- + 3 files changed, 9 insertions(+), 4 deletions(-) + create mode 100644 testsuite/tests/driver/T23613.hs + +diff --git a/compiler/GHC/StgToJS/Linker/Linker.hs b/compiler/GHC/StgToJS/Linker/Linker.hs +index 58bcdf2de90..530f8730c6b 100644 +--- a/compiler/GHC/StgToJS/Linker/Linker.hs ++++ b/compiler/GHC/StgToJS/Linker/Linker.hs +@@ -327,7 +327,7 @@ computeLinkDependencies cfg unit_env link_spec finder_opts finder_cache = do + let (rts_wired_units, rts_wired_functions) = rtsDeps units + + -- all the units we want to link together, without their dependencies +- let root_units = filter (/= mainUnitId) ++ let root_units = filter (/= ue_currentUnit unit_env) + $ filter (/= interactiveUnitId) + $ nub + $ rts_wired_units ++ reverse obj_units ++ reverse units +diff --git a/testsuite/tests/driver/T23613.hs b/testsuite/tests/driver/T23613.hs +new file mode 100644 +index 00000000000..d82a4bd93b7 +--- /dev/null ++++ b/testsuite/tests/driver/T23613.hs +@@ -0,0 +1,4 @@ ++module Main where ++ ++main :: IO () ++main = return () + diff --git a/overlays/patches/ghc/ghc-9.6-missing-symbols-deadbeef.patch b/overlays/patches/ghc/ghc-9.6-missing-symbols-deadbeef.patch index cd02ae8291..d767074b9c 100644 --- a/overlays/patches/ghc/ghc-9.6-missing-symbols-deadbeef.patch +++ b/overlays/patches/ghc/ghc-9.6-missing-symbols-deadbeef.patch @@ -8,7 +8,7 @@ index 4d0c978..96a9d60 100644 symbol->name); - return EXIT_FAILURE; + // return EXIT_FAILURE; -+ symbol->addr = 0xDEADBEEF; ++ symbol->addr = (void*)0xDEADBEEF; } } } else { @@ -20,7 +20,7 @@ index 2356818..727e845 100644 "See top entry above.\n", lbl); IF_DEBUG(linker, printLoadedObjects()); fflush(stderr); -+ r = 0xDEADBEEF; ++ r = (void*)0xDEADBEEF; } if (!runPendingInitializers()) { diff --git a/overlays/patches/ghc/ghc-9.6-static-linker-script-support.patch b/overlays/patches/ghc/ghc-9.6-static-linker-script-support.patch new file mode 100644 index 0000000000..58e7981dba --- /dev/null +++ b/overlays/patches/ghc/ghc-9.6-static-linker-script-support.patch @@ -0,0 +1,242 @@ +diff --git a/compiler/GHC/Linker/Static.hs b/compiler/GHC/Linker/Static.hs +index aa51a2b7d6..04ae43cdae 100644 +--- a/compiler/GHC/Linker/Static.hs ++++ b/compiler/GHC/Linker/Static.hs +@@ -32,6 +32,8 @@ import GHC.Linker.Static.Utils + import GHC.Driver.Config.Linker + import GHC.Driver.Session + ++import qualified GHC.Data.ShortText as ST ++ + import System.FilePath + import System.Directory + import Control.Monad +@@ -294,11 +296,9 @@ linkStaticLib logger dflags unit_env o_files dep_units = do + | otherwise + = filter ((/= rtsUnitId) . unitId) pkg_cfgs_init + +- archives <- concatMapM (collectArchives namever ways_) pkg_cfgs +- +- ar <- foldl mappend +- <$> (Archive <$> mapM loadObj modules) +- <*> mapM loadAr archives ++ arFromArchives <- mconcat <$> mapM (loadArchives namever ways_) pkg_cfgs ++ arFromObjects <- Archive <$> mapM loadObj modules ++ let ar = arFromObjects `mappend` arFromArchives + + if toolSettings_ldIsGnuLd (toolSettings dflags) + then writeGNUAr output_fn $ afilter (not . isGNUSymdef) ar +@@ -306,3 +306,18 @@ linkStaticLib logger dflags unit_env o_files dep_units = do + + -- run ranlib over the archive. write*Ar does *not* create the symbol index. + runRanlib logger dflags [GHC.SysTools.FileOption "" output_fn] ++ ++loadArchives :: GhcNameVersion -> Ways -> UnitInfo -> IO Archive ++loadArchives namever ways pc = loadArchivesFromLibs libs ++ where ++ libs = unitHsLibs namever ways pc ++ map ST.unpack (unitExtDepLibsSys pc) ++ loadArchivesFromLibs :: [LibName] -> IO Archive ++ loadArchivesFromLibs libs = do ++ arPaths <- collectArchivesFromLibs namever ways pc libs ++ fmap mconcat $ forM arPaths $ \arPath -> do ++ arOrScript <- loadArchiveOrScript arPath ++ case arOrScript of ++ Ar ar -> return ar ++ ImplicitLinkerScript linkerScript -> ++ case linkerScript of ++ INPUT libNames -> loadArchivesFromLibs libNames +\ No newline at end of file +diff --git a/compiler/GHC/Linker/Unit.hs b/compiler/GHC/Linker/Unit.hs +index 6965edd707..7266bd0082 100644 +--- a/compiler/GHC/Linker/Unit.hs ++++ b/compiler/GHC/Linker/Unit.hs +@@ -2,7 +2,7 @@ + -- | Linking Haskell units + module GHC.Linker.Unit + ( collectLinkOpts +- , collectArchives ++ , collectArchivesFromLibs + , getUnitLinkOpts + , getLibs + ) +@@ -39,13 +39,12 @@ collectLinkOpts namever ways ps = + concatMap (map ST.unpack . unitLinkerOptions) ps + ) + +-collectArchives :: GhcNameVersion -> Ways -> UnitInfo -> IO [FilePath] +-collectArchives namever ways pc = ++collectArchivesFromLibs :: GhcNameVersion -> Ways -> UnitInfo -> [String] -> IO [FilePath] ++collectArchivesFromLibs namever ways pc libs = + filterM doesFileExist [ searchPath ("lib" ++ lib ++ ".a") + | searchPath <- searchPaths + , lib <- libs ] + where searchPaths = ordNub . filter notNull . libraryDirsForWay ways $ pc +- libs = unitHsLibs namever ways pc ++ map ST.unpack (unitExtDepLibsSys pc) + + -- | Either the 'unitLibraryDirs' or 'unitLibraryDynDirs' as appropriate for the way. + libraryDirsForWay :: Ways -> UnitInfo -> [String] +diff --git a/compiler/GHC/SysTools/Ar.hs b/compiler/GHC/SysTools/Ar.hs +index adba60b53c..351103fd4c 100644 +--- a/compiler/GHC/SysTools/Ar.hs ++++ b/compiler/GHC/SysTools/Ar.hs +@@ -20,11 +20,15 @@ of libtool across different platforms. + module GHC.SysTools.Ar + (ArchiveEntry(..) + ,Archive(..) ++ ,ArchiveOrScript(..) ++ ,LinkerScript(..) ++ ,LibName + ,afilter + + ,parseAr + + ,loadAr ++ ,loadArchiveOrScript + ,loadObj + ,writeBSDAr + ,writeGNUAr +@@ -45,6 +49,7 @@ import Control.Applicative + import qualified Data.ByteString as B + import qualified Data.ByteString.Char8 as C + import qualified Data.ByteString.Lazy as L ++import qualified Text.ParserCombinators.ReadP as R + #if !defined(mingw32_HOST_OS) + import qualified System.Posix.Files as POSIX + #endif +@@ -230,6 +235,68 @@ putGNUArch (Archive as) = do + processEntries = + uncurry (:) . mapAccumL processEntry (ArchiveEntry "//" 0 0 0 0 0 mempty) + ++-- | Some systems have archives that are not really archives but contain so ++-- called linker scripts. These scripts contain textual commands to the ++-- linker. This data type represents this choice between an actual archive or ++-- implicit linker script. ++-- ++-- See: https://sourceware.org/binutils/docs/ld/Implicit-Linker-Scripts.html#Implicit-Linker-Scripts ++data ArchiveOrScript = Ar Archive | ImplicitLinkerScript LinkerScript ++ deriving (Eq, Show) ++ ++-- | An AST for a linker script. ++-- ++-- At the moment this AST only supports linker scripts of the form: ++-- ++-- @INPUT(-lc++_static -lc++abi)@ ++-- ++-- Since this is exactly what is used in @nixpkgs@ for @libc++.a@. ++-- ++-- For more information on linker scripts see: ++-- https://sourceware.org/binutils/docs/ld/Scripts.html ++data LinkerScript = INPUT [LibName] ++ deriving (Eq, Show) ++ ++-- | Name of a library to link with. ++-- ++-- This is everything after the @-l@ prefix. ++type LibName = String ++ ++linkerScriptReadP :: R.ReadP LinkerScript ++linkerScriptReadP = skipSpaceChars *> inputReadP <* R.skipSpaces ++ where ++ inputReadP :: R.ReadP LinkerScript ++ inputReadP = fmap INPUT $ R.between (symbol "INPUT(") (symbol ")") $ ++ R.sepBy libReadP sep <* skipSpaceChars ++ where ++ libReadP :: R.ReadP LibName ++ libReadP = R.string "-l" *> R.many1 (R.satisfy isLibNameChar) ++ where ++ isLibNameChar c = c /= ')' && c /= ',' && c /= ' ' ++ ++ sep :: R.ReadP () ++ sep = R.char ' ' *> skipSpaceChars ++ ++ symbol :: String -> R.ReadP () ++ symbol str = R.string str *> skipSpaceChars ++ ++ skipSpaceChars :: R.ReadP () ++ skipSpaceChars = do ++ s <- R.look ++ skip s ++ where ++ skip (' ':s) = do _ <- R.get; skip s ++ skip _ = do return () ++ ++parseArOrScript :: B.ByteString -> Either (ByteOffset, String) ArchiveOrScript ++parseArOrScript bs = ++ case runGetOrFail getArch $ L.fromChunks $ pure bs of ++ Left (_, pos, msg) -> ++ case R.readP_to_S linkerScriptReadP $ C.unpack bs of ++ [(linkerScript, "")] -> Right $ ImplicitLinkerScript linkerScript ++ _ -> Left (pos, msg) ++ Right (_, _, ar) -> Right $ Ar ar ++ + parseAr :: B.ByteString -> Archive + parseAr = runGet getArch . L.fromChunks . pure + +@@ -240,6 +307,18 @@ writeGNUAr fp = L.writeFile fp . runPut . putGNUArch + loadAr :: FilePath -> IO Archive + loadAr fp = parseAr <$> B.readFile fp + ++loadArchiveOrScript :: FilePath -> IO ArchiveOrScript ++loadArchiveOrScript fp = do ++ bs <- B.readFile fp ++ case parseArOrScript bs of ++ Left (pos, msg) -> ++ error $ ++ "Error while decoding archive: " <> fp <> ++ " is neither an archive because decoding failed at position " <> ++ show pos <> " with error " <> msg <> ++ ", nor is it an implicit linker script!" ++ Right arOrScript -> return arOrScript ++ + loadObj :: FilePath -> IO ArchiveEntry + loadObj fp = do + payload <- B.readFile fp +diff --git a/compiler/GHC/Linker/Loader.hs b/compiler/GHC/Linker/Loader.hs +index 5cb73b1..99e7d01 100644 +--- a/compiler/GHC/Linker/Loader.hs ++++ b/compiler/GHC/Linker/Loader.hs +@@ -61,6 +61,7 @@ import GHC.ByteCode.Asm + import GHC.ByteCode.Types + + import GHC.SysTools ++import GHC.SysTools.Ar (loadArchiveOrScript, ArchiveOrScript(..), LinkerScript(..)) + + import GHC.Types.Basic + import GHC.Types.Name +@@ -1151,7 +1152,7 @@ loadPackage interp hsc_env pkg + #endif + objs = [ obj | Objects objs <- classifieds + , obj <- objs ] +- archs = [ arch | Archive arch <- classifieds ] ++ archPaths = [ arch | Archive arch <- classifieds ] + + -- Add directories to library search paths + let dll_paths = map takeDirectory known_dlls +@@ -1175,7 +1176,8 @@ loadPackage interp hsc_env pkg + -- Ordering isn't important here, because we do one final link + -- step to resolve everything. + mapM_ (loadObj interp) objs +- mapM_ (loadArchive interp) archs ++ resolvedArchives <- resolveArchives interp hsc_env dirs_env gcc_paths archPaths ++ mapM_ (loadArchive interp) resolvedArchives + + maybePutStr logger "linking ... " + ok <- resolveObjs interp +@@ -1194,6 +1196,16 @@ loadPackage interp hsc_env pkg + <> pprUnitInfoForUser pkg <> text "'" + in throwGhcExceptionIO (InstallationError (showSDoc dflags errmsg)) + ++resolveArchives :: Interp -> HscEnv -> [FilePath] -> [FilePath] -> [FilePath] -> IO [FilePath] ++resolveArchives interp hsc_env dirs_env gcc_paths paths = fmap concat $ forM paths $ \path -> do ++ arOrScript <- loadArchiveOrScript path ++ case arOrScript of ++ Ar _ -> return [path] ++ ImplicitLinkerScript (INPUT libs) -> do ++ classifiedLibs <- mapM (locateLib interp hsc_env False dirs_env gcc_paths) libs ++ let resolvedPaths = [arch | Archive arch <- classifiedLibs] ++ resolveArchives interp hsc_env dirs_env gcc_paths resolvedPaths ++ + {- + Note [Crash early load_dyn and locateLib] + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + diff --git a/overlays/patches/ghc/ghc-9.6.3-fix-outline-atomics-signature.patch b/overlays/patches/ghc/ghc-9.6.3-fix-outline-atomics-signature.patch new file mode 100644 index 0000000000..65b683b194 --- /dev/null +++ b/overlays/patches/ghc/ghc-9.6.3-fix-outline-atomics-signature.patch @@ -0,0 +1,820 @@ +diff --git a/rts/ARMOutlineAtomicsSymbols.h b/rts/ARMOutlineAtomicsSymbols.h +index c8a78b5..31c095e 100644 +--- a/rts/ARMOutlineAtomicsSymbols.h ++++ b/rts/ARMOutlineAtomicsSymbols.h +@@ -10,583 +10,583 @@ + #include + #include + +-uint8_t ghc___aarch64_cas1_relax(uint8_t old, uint8_t new, uint8_t* p); +-uint8_t ghc___aarch64_cas1_relax(uint8_t old, uint8_t new, uint8_t* p) { ++uint8_t ghc___aarch64_cas1_relax(uint8_t old, uint8_t new, atomic_uint_least8_t* p); ++uint8_t ghc___aarch64_cas1_relax(uint8_t old, uint8_t new, atomic_uint_least8_t* p) { + atomic_compare_exchange_strong_explicit(p, &old, new, memory_order_relaxed, memory_order_relaxed); return old; + } + +-uint8_t ghc___aarch64_cas1_acq(uint8_t old, uint8_t new, uint8_t* p); +-uint8_t ghc___aarch64_cas1_acq(uint8_t old, uint8_t new, uint8_t* p) { ++uint8_t ghc___aarch64_cas1_acq(uint8_t old, uint8_t new, atomic_uint_least8_t* p); ++uint8_t ghc___aarch64_cas1_acq(uint8_t old, uint8_t new, atomic_uint_least8_t* p) { + atomic_compare_exchange_strong_explicit(p, &old, new, memory_order_acquire, memory_order_acquire); return old; + } + +-uint8_t ghc___aarch64_cas1_acq_rel(uint8_t old, uint8_t new, uint8_t* p); +-uint8_t ghc___aarch64_cas1_acq_rel(uint8_t old, uint8_t new, uint8_t* p) { ++uint8_t ghc___aarch64_cas1_acq_rel(uint8_t old, uint8_t new, atomic_uint_least8_t* p); ++uint8_t ghc___aarch64_cas1_acq_rel(uint8_t old, uint8_t new, atomic_uint_least8_t* p) { + atomic_compare_exchange_strong_explicit(p, &old, new, memory_order_acq_rel, memory_order_acquire); return old; + } + +-uint8_t ghc___aarch64_cas1_sync(uint8_t old, uint8_t new, uint8_t* p); +-uint8_t ghc___aarch64_cas1_sync(uint8_t old, uint8_t new, uint8_t* p) { ++uint8_t ghc___aarch64_cas1_sync(uint8_t old, uint8_t new, atomic_uint_least8_t* p); ++uint8_t ghc___aarch64_cas1_sync(uint8_t old, uint8_t new, atomic_uint_least8_t* p) { + atomic_compare_exchange_strong_explicit(p, &old, new, memory_order_seq_cst, memory_order_seq_cst); return old; + } + +-uint16_t ghc___aarch64_cas2_relax(uint16_t old, uint16_t new, uint16_t* p); +-uint16_t ghc___aarch64_cas2_relax(uint16_t old, uint16_t new, uint16_t* p) { ++uint16_t ghc___aarch64_cas2_relax(uint16_t old, uint16_t new, atomic_uint_least16_t* p); ++uint16_t ghc___aarch64_cas2_relax(uint16_t old, uint16_t new, atomic_uint_least16_t* p) { + atomic_compare_exchange_strong_explicit(p, &old, new, memory_order_relaxed, memory_order_relaxed); return old; + } + +-uint16_t ghc___aarch64_cas2_acq(uint16_t old, uint16_t new, uint16_t* p); +-uint16_t ghc___aarch64_cas2_acq(uint16_t old, uint16_t new, uint16_t* p) { ++uint16_t ghc___aarch64_cas2_acq(uint16_t old, uint16_t new, atomic_uint_least16_t* p); ++uint16_t ghc___aarch64_cas2_acq(uint16_t old, uint16_t new, atomic_uint_least16_t* p) { + atomic_compare_exchange_strong_explicit(p, &old, new, memory_order_acquire, memory_order_acquire); return old; + } + +-uint16_t ghc___aarch64_cas2_acq_rel(uint16_t old, uint16_t new, uint16_t* p); +-uint16_t ghc___aarch64_cas2_acq_rel(uint16_t old, uint16_t new, uint16_t* p) { ++uint16_t ghc___aarch64_cas2_acq_rel(uint16_t old, uint16_t new, atomic_uint_least16_t* p); ++uint16_t ghc___aarch64_cas2_acq_rel(uint16_t old, uint16_t new, atomic_uint_least16_t* p) { + atomic_compare_exchange_strong_explicit(p, &old, new, memory_order_acq_rel, memory_order_acquire); return old; + } + +-uint16_t ghc___aarch64_cas2_sync(uint16_t old, uint16_t new, uint16_t* p); +-uint16_t ghc___aarch64_cas2_sync(uint16_t old, uint16_t new, uint16_t* p) { ++uint16_t ghc___aarch64_cas2_sync(uint16_t old, uint16_t new, atomic_uint_least16_t* p); ++uint16_t ghc___aarch64_cas2_sync(uint16_t old, uint16_t new, atomic_uint_least16_t* p) { + atomic_compare_exchange_strong_explicit(p, &old, new, memory_order_seq_cst, memory_order_seq_cst); return old; + } + +-uint32_t ghc___aarch64_cas4_relax(uint32_t old, uint32_t new, uint32_t* p); +-uint32_t ghc___aarch64_cas4_relax(uint32_t old, uint32_t new, uint32_t* p) { ++uint32_t ghc___aarch64_cas4_relax(uint32_t old, uint32_t new, atomic_uint_least32_t* p); ++uint32_t ghc___aarch64_cas4_relax(uint32_t old, uint32_t new, atomic_uint_least32_t* p) { + atomic_compare_exchange_strong_explicit(p, &old, new, memory_order_relaxed, memory_order_relaxed); return old; + } + +-uint32_t ghc___aarch64_cas4_acq(uint32_t old, uint32_t new, uint32_t* p); +-uint32_t ghc___aarch64_cas4_acq(uint32_t old, uint32_t new, uint32_t* p) { ++uint32_t ghc___aarch64_cas4_acq(uint32_t old, uint32_t new, atomic_uint_least32_t* p); ++uint32_t ghc___aarch64_cas4_acq(uint32_t old, uint32_t new, atomic_uint_least32_t* p) { + atomic_compare_exchange_strong_explicit(p, &old, new, memory_order_acquire, memory_order_acquire); return old; + } + +-uint32_t ghc___aarch64_cas4_acq_rel(uint32_t old, uint32_t new, uint32_t* p); +-uint32_t ghc___aarch64_cas4_acq_rel(uint32_t old, uint32_t new, uint32_t* p) { ++uint32_t ghc___aarch64_cas4_acq_rel(uint32_t old, uint32_t new, atomic_uint_least32_t* p); ++uint32_t ghc___aarch64_cas4_acq_rel(uint32_t old, uint32_t new, atomic_uint_least32_t* p) { + atomic_compare_exchange_strong_explicit(p, &old, new, memory_order_acq_rel, memory_order_acquire); return old; + } + +-uint32_t ghc___aarch64_cas4_sync(uint32_t old, uint32_t new, uint32_t* p); +-uint32_t ghc___aarch64_cas4_sync(uint32_t old, uint32_t new, uint32_t* p) { ++uint32_t ghc___aarch64_cas4_sync(uint32_t old, uint32_t new, atomic_uint_least32_t* p); ++uint32_t ghc___aarch64_cas4_sync(uint32_t old, uint32_t new, atomic_uint_least32_t* p) { + atomic_compare_exchange_strong_explicit(p, &old, new, memory_order_seq_cst, memory_order_seq_cst); return old; + } + +-uint64_t ghc___aarch64_cas8_relax(uint64_t old, uint64_t new, uint64_t* p); +-uint64_t ghc___aarch64_cas8_relax(uint64_t old, uint64_t new, uint64_t* p) { ++uint64_t ghc___aarch64_cas8_relax(uint64_t old, uint64_t new, atomic_uint_least64_t* p); ++uint64_t ghc___aarch64_cas8_relax(uint64_t old, uint64_t new, atomic_uint_least64_t* p) { + atomic_compare_exchange_strong_explicit(p, &old, new, memory_order_relaxed, memory_order_relaxed); return old; + } + +-uint64_t ghc___aarch64_cas8_acq(uint64_t old, uint64_t new, uint64_t* p); +-uint64_t ghc___aarch64_cas8_acq(uint64_t old, uint64_t new, uint64_t* p) { ++uint64_t ghc___aarch64_cas8_acq(uint64_t old, uint64_t new, atomic_uint_least64_t* p); ++uint64_t ghc___aarch64_cas8_acq(uint64_t old, uint64_t new, atomic_uint_least64_t* p) { + atomic_compare_exchange_strong_explicit(p, &old, new, memory_order_acquire, memory_order_acquire); return old; + } + +-uint64_t ghc___aarch64_cas8_acq_rel(uint64_t old, uint64_t new, uint64_t* p); +-uint64_t ghc___aarch64_cas8_acq_rel(uint64_t old, uint64_t new, uint64_t* p) { ++uint64_t ghc___aarch64_cas8_acq_rel(uint64_t old, uint64_t new, atomic_uint_least64_t* p); ++uint64_t ghc___aarch64_cas8_acq_rel(uint64_t old, uint64_t new, atomic_uint_least64_t* p) { + atomic_compare_exchange_strong_explicit(p, &old, new, memory_order_acq_rel, memory_order_acquire); return old; + } + +-uint64_t ghc___aarch64_cas8_sync(uint64_t old, uint64_t new, uint64_t* p); +-uint64_t ghc___aarch64_cas8_sync(uint64_t old, uint64_t new, uint64_t* p) { ++uint64_t ghc___aarch64_cas8_sync(uint64_t old, uint64_t new, atomic_uint_least64_t* p); ++uint64_t ghc___aarch64_cas8_sync(uint64_t old, uint64_t new, atomic_uint_least64_t* p) { + atomic_compare_exchange_strong_explicit(p, &old, new, memory_order_seq_cst, memory_order_seq_cst); return old; + } + +-uint8_t ghc___aarch64_swp1_relax(uint8_t v, uint8_t* p); +-uint8_t ghc___aarch64_swp1_relax(uint8_t v, uint8_t* p) { ++uint8_t ghc___aarch64_swp1_relax(uint8_t v, atomic_uint_least8_t* p); ++uint8_t ghc___aarch64_swp1_relax(uint8_t v, atomic_uint_least8_t* p) { + return atomic_exchange_explicit(p, v, memory_order_relaxed); + } + +-uint8_t ghc___aarch64_swp1_acq(uint8_t v, uint8_t* p); +-uint8_t ghc___aarch64_swp1_acq(uint8_t v, uint8_t* p) { ++uint8_t ghc___aarch64_swp1_acq(uint8_t v, atomic_uint_least8_t* p); ++uint8_t ghc___aarch64_swp1_acq(uint8_t v, atomic_uint_least8_t* p) { + return atomic_exchange_explicit(p, v, memory_order_acquire); + } + +-uint8_t ghc___aarch64_swp1_rel(uint8_t v, uint8_t* p); +-uint8_t ghc___aarch64_swp1_rel(uint8_t v, uint8_t* p) { ++uint8_t ghc___aarch64_swp1_rel(uint8_t v, atomic_uint_least8_t* p); ++uint8_t ghc___aarch64_swp1_rel(uint8_t v, atomic_uint_least8_t* p) { + return atomic_exchange_explicit(p, v, memory_order_release); + } + +-uint8_t ghc___aarch64_swp1_acq_rel(uint8_t v, uint8_t* p); +-uint8_t ghc___aarch64_swp1_acq_rel(uint8_t v, uint8_t* p) { ++uint8_t ghc___aarch64_swp1_acq_rel(uint8_t v, atomic_uint_least8_t* p); ++uint8_t ghc___aarch64_swp1_acq_rel(uint8_t v, atomic_uint_least8_t* p) { + return atomic_exchange_explicit(p, v, memory_order_acq_rel); + } + +-uint8_t ghc___aarch64_swp1_sync(uint8_t v, uint8_t* p); +-uint8_t ghc___aarch64_swp1_sync(uint8_t v, uint8_t* p) { ++uint8_t ghc___aarch64_swp1_sync(uint8_t v, atomic_uint_least8_t* p); ++uint8_t ghc___aarch64_swp1_sync(uint8_t v, atomic_uint_least8_t* p) { + return atomic_exchange_explicit(p, v, memory_order_seq_cst); + } + +-uint16_t ghc___aarch64_swp2_relax(uint16_t v, uint16_t* p); +-uint16_t ghc___aarch64_swp2_relax(uint16_t v, uint16_t* p) { ++uint16_t ghc___aarch64_swp2_relax(uint16_t v, atomic_uint_least16_t* p); ++uint16_t ghc___aarch64_swp2_relax(uint16_t v, atomic_uint_least16_t* p) { + return atomic_exchange_explicit(p, v, memory_order_relaxed); + } + +-uint16_t ghc___aarch64_swp2_acq(uint16_t v, uint16_t* p); +-uint16_t ghc___aarch64_swp2_acq(uint16_t v, uint16_t* p) { ++uint16_t ghc___aarch64_swp2_acq(uint16_t v, atomic_uint_least16_t* p); ++uint16_t ghc___aarch64_swp2_acq(uint16_t v, atomic_uint_least16_t* p) { + return atomic_exchange_explicit(p, v, memory_order_acquire); + } + +-uint16_t ghc___aarch64_swp2_rel(uint16_t v, uint16_t* p); +-uint16_t ghc___aarch64_swp2_rel(uint16_t v, uint16_t* p) { ++uint16_t ghc___aarch64_swp2_rel(uint16_t v, atomic_uint_least16_t* p); ++uint16_t ghc___aarch64_swp2_rel(uint16_t v, atomic_uint_least16_t* p) { + return atomic_exchange_explicit(p, v, memory_order_release); + } + +-uint16_t ghc___aarch64_swp2_acq_rel(uint16_t v, uint16_t* p); +-uint16_t ghc___aarch64_swp2_acq_rel(uint16_t v, uint16_t* p) { ++uint16_t ghc___aarch64_swp2_acq_rel(uint16_t v, atomic_uint_least16_t* p); ++uint16_t ghc___aarch64_swp2_acq_rel(uint16_t v, atomic_uint_least16_t* p) { + return atomic_exchange_explicit(p, v, memory_order_acq_rel); + } + +-uint16_t ghc___aarch64_swp2_sync(uint16_t v, uint16_t* p); +-uint16_t ghc___aarch64_swp2_sync(uint16_t v, uint16_t* p) { ++uint16_t ghc___aarch64_swp2_sync(uint16_t v, atomic_uint_least16_t* p); ++uint16_t ghc___aarch64_swp2_sync(uint16_t v, atomic_uint_least16_t* p) { + return atomic_exchange_explicit(p, v, memory_order_seq_cst); + } + +-uint32_t ghc___aarch64_swp4_relax(uint32_t v, uint32_t* p); +-uint32_t ghc___aarch64_swp4_relax(uint32_t v, uint32_t* p) { ++uint32_t ghc___aarch64_swp4_relax(uint32_t v, atomic_uint_least32_t* p); ++uint32_t ghc___aarch64_swp4_relax(uint32_t v, atomic_uint_least32_t* p) { + return atomic_exchange_explicit(p, v, memory_order_relaxed); + } + +-uint32_t ghc___aarch64_swp4_acq(uint32_t v, uint32_t* p); +-uint32_t ghc___aarch64_swp4_acq(uint32_t v, uint32_t* p) { ++uint32_t ghc___aarch64_swp4_acq(uint32_t v, atomic_uint_least32_t* p); ++uint32_t ghc___aarch64_swp4_acq(uint32_t v, atomic_uint_least32_t* p) { + return atomic_exchange_explicit(p, v, memory_order_acquire); + } + +-uint32_t ghc___aarch64_swp4_rel(uint32_t v, uint32_t* p); +-uint32_t ghc___aarch64_swp4_rel(uint32_t v, uint32_t* p) { ++uint32_t ghc___aarch64_swp4_rel(uint32_t v, atomic_uint_least32_t* p); ++uint32_t ghc___aarch64_swp4_rel(uint32_t v, atomic_uint_least32_t* p) { + return atomic_exchange_explicit(p, v, memory_order_release); + } + +-uint32_t ghc___aarch64_swp4_acq_rel(uint32_t v, uint32_t* p); +-uint32_t ghc___aarch64_swp4_acq_rel(uint32_t v, uint32_t* p) { ++uint32_t ghc___aarch64_swp4_acq_rel(uint32_t v, atomic_uint_least32_t* p); ++uint32_t ghc___aarch64_swp4_acq_rel(uint32_t v, atomic_uint_least32_t* p) { + return atomic_exchange_explicit(p, v, memory_order_acq_rel); + } + +-uint32_t ghc___aarch64_swp4_sync(uint32_t v, uint32_t* p); +-uint32_t ghc___aarch64_swp4_sync(uint32_t v, uint32_t* p) { ++uint32_t ghc___aarch64_swp4_sync(uint32_t v, atomic_uint_least32_t* p); ++uint32_t ghc___aarch64_swp4_sync(uint32_t v, atomic_uint_least32_t* p) { + return atomic_exchange_explicit(p, v, memory_order_seq_cst); + } + +-uint64_t ghc___aarch64_swp8_relax(uint64_t v, uint64_t* p); +-uint64_t ghc___aarch64_swp8_relax(uint64_t v, uint64_t* p) { ++uint64_t ghc___aarch64_swp8_relax(uint64_t v, atomic_uint_least64_t* p); ++uint64_t ghc___aarch64_swp8_relax(uint64_t v, atomic_uint_least64_t* p) { + return atomic_exchange_explicit(p, v, memory_order_relaxed); + } + +-uint64_t ghc___aarch64_swp8_acq(uint64_t v, uint64_t* p); +-uint64_t ghc___aarch64_swp8_acq(uint64_t v, uint64_t* p) { ++uint64_t ghc___aarch64_swp8_acq(uint64_t v, atomic_uint_least64_t* p); ++uint64_t ghc___aarch64_swp8_acq(uint64_t v, atomic_uint_least64_t* p) { + return atomic_exchange_explicit(p, v, memory_order_acquire); + } + +-uint64_t ghc___aarch64_swp8_rel(uint64_t v, uint64_t* p); +-uint64_t ghc___aarch64_swp8_rel(uint64_t v, uint64_t* p) { ++uint64_t ghc___aarch64_swp8_rel(uint64_t v, atomic_uint_least64_t* p); ++uint64_t ghc___aarch64_swp8_rel(uint64_t v, atomic_uint_least64_t* p) { + return atomic_exchange_explicit(p, v, memory_order_release); + } + +-uint64_t ghc___aarch64_swp8_acq_rel(uint64_t v, uint64_t* p); +-uint64_t ghc___aarch64_swp8_acq_rel(uint64_t v, uint64_t* p) { ++uint64_t ghc___aarch64_swp8_acq_rel(uint64_t v, atomic_uint_least64_t* p); ++uint64_t ghc___aarch64_swp8_acq_rel(uint64_t v, atomic_uint_least64_t* p) { + return atomic_exchange_explicit(p, v, memory_order_acq_rel); + } + +-uint64_t ghc___aarch64_swp8_sync(uint64_t v, uint64_t* p); +-uint64_t ghc___aarch64_swp8_sync(uint64_t v, uint64_t* p) { ++uint64_t ghc___aarch64_swp8_sync(uint64_t v, atomic_uint_least64_t* p); ++uint64_t ghc___aarch64_swp8_sync(uint64_t v, atomic_uint_least64_t* p) { + return atomic_exchange_explicit(p, v, memory_order_seq_cst); + } + +-uint8_t ghc___aarch64_ldadd1_relax(uint8_t v, uint8_t* p); +-uint8_t ghc___aarch64_ldadd1_relax(uint8_t v, uint8_t* p) { ++uint8_t ghc___aarch64_ldadd1_relax(uint8_t v, atomic_uint_least8_t* p); ++uint8_t ghc___aarch64_ldadd1_relax(uint8_t v, atomic_uint_least8_t* p) { + return atomic_fetch_add_explicit(p, v, memory_order_relaxed); + } + +-uint8_t ghc___aarch64_ldadd1_acq(uint8_t v, uint8_t* p); +-uint8_t ghc___aarch64_ldadd1_acq(uint8_t v, uint8_t* p) { ++uint8_t ghc___aarch64_ldadd1_acq(uint8_t v, atomic_uint_least8_t* p); ++uint8_t ghc___aarch64_ldadd1_acq(uint8_t v, atomic_uint_least8_t* p) { + return atomic_fetch_add_explicit(p, v, memory_order_acquire); + } + +-uint8_t ghc___aarch64_ldadd1_rel(uint8_t v, uint8_t* p); +-uint8_t ghc___aarch64_ldadd1_rel(uint8_t v, uint8_t* p) { ++uint8_t ghc___aarch64_ldadd1_rel(uint8_t v, atomic_uint_least8_t* p); ++uint8_t ghc___aarch64_ldadd1_rel(uint8_t v, atomic_uint_least8_t* p) { + return atomic_fetch_add_explicit(p, v, memory_order_release); + } + +-uint8_t ghc___aarch64_ldadd1_acq_rel(uint8_t v, uint8_t* p); +-uint8_t ghc___aarch64_ldadd1_acq_rel(uint8_t v, uint8_t* p) { ++uint8_t ghc___aarch64_ldadd1_acq_rel(uint8_t v, atomic_uint_least8_t* p); ++uint8_t ghc___aarch64_ldadd1_acq_rel(uint8_t v, atomic_uint_least8_t* p) { + return atomic_fetch_add_explicit(p, v, memory_order_acq_rel); + } + +-uint8_t ghc___aarch64_ldadd1_sync(uint8_t v, uint8_t* p); +-uint8_t ghc___aarch64_ldadd1_sync(uint8_t v, uint8_t* p) { ++uint8_t ghc___aarch64_ldadd1_sync(uint8_t v, atomic_uint_least8_t* p); ++uint8_t ghc___aarch64_ldadd1_sync(uint8_t v, atomic_uint_least8_t* p) { + return atomic_fetch_add_explicit(p, v, memory_order_seq_cst); + } + +-uint16_t ghc___aarch64_ldadd2_relax(uint16_t v, uint16_t* p); +-uint16_t ghc___aarch64_ldadd2_relax(uint16_t v, uint16_t* p) { ++uint16_t ghc___aarch64_ldadd2_relax(uint16_t v, atomic_uint_least16_t* p); ++uint16_t ghc___aarch64_ldadd2_relax(uint16_t v, atomic_uint_least16_t* p) { + return atomic_fetch_add_explicit(p, v, memory_order_relaxed); + } + +-uint16_t ghc___aarch64_ldadd2_acq(uint16_t v, uint16_t* p); +-uint16_t ghc___aarch64_ldadd2_acq(uint16_t v, uint16_t* p) { ++uint16_t ghc___aarch64_ldadd2_acq(uint16_t v, atomic_uint_least16_t* p); ++uint16_t ghc___aarch64_ldadd2_acq(uint16_t v, atomic_uint_least16_t* p) { + return atomic_fetch_add_explicit(p, v, memory_order_acquire); + } + +-uint16_t ghc___aarch64_ldadd2_rel(uint16_t v, uint16_t* p); +-uint16_t ghc___aarch64_ldadd2_rel(uint16_t v, uint16_t* p) { ++uint16_t ghc___aarch64_ldadd2_rel(uint16_t v, atomic_uint_least16_t* p); ++uint16_t ghc___aarch64_ldadd2_rel(uint16_t v, atomic_uint_least16_t* p) { + return atomic_fetch_add_explicit(p, v, memory_order_release); + } + +-uint16_t ghc___aarch64_ldadd2_acq_rel(uint16_t v, uint16_t* p); +-uint16_t ghc___aarch64_ldadd2_acq_rel(uint16_t v, uint16_t* p) { ++uint16_t ghc___aarch64_ldadd2_acq_rel(uint16_t v, atomic_uint_least16_t* p); ++uint16_t ghc___aarch64_ldadd2_acq_rel(uint16_t v, atomic_uint_least16_t* p) { + return atomic_fetch_add_explicit(p, v, memory_order_acq_rel); + } + +-uint16_t ghc___aarch64_ldadd2_sync(uint16_t v, uint16_t* p); +-uint16_t ghc___aarch64_ldadd2_sync(uint16_t v, uint16_t* p) { ++uint16_t ghc___aarch64_ldadd2_sync(uint16_t v, atomic_uint_least16_t* p); ++uint16_t ghc___aarch64_ldadd2_sync(uint16_t v, atomic_uint_least16_t* p) { + return atomic_fetch_add_explicit(p, v, memory_order_seq_cst); + } + +-uint32_t ghc___aarch64_ldadd4_relax(uint32_t v, uint32_t* p); +-uint32_t ghc___aarch64_ldadd4_relax(uint32_t v, uint32_t* p) { ++uint32_t ghc___aarch64_ldadd4_relax(uint32_t v, atomic_uint_least32_t* p); ++uint32_t ghc___aarch64_ldadd4_relax(uint32_t v, atomic_uint_least32_t* p) { + return atomic_fetch_add_explicit(p, v, memory_order_relaxed); + } + +-uint32_t ghc___aarch64_ldadd4_acq(uint32_t v, uint32_t* p); +-uint32_t ghc___aarch64_ldadd4_acq(uint32_t v, uint32_t* p) { ++uint32_t ghc___aarch64_ldadd4_acq(uint32_t v, atomic_uint_least32_t* p); ++uint32_t ghc___aarch64_ldadd4_acq(uint32_t v, atomic_uint_least32_t* p) { + return atomic_fetch_add_explicit(p, v, memory_order_acquire); + } + +-uint32_t ghc___aarch64_ldadd4_rel(uint32_t v, uint32_t* p); +-uint32_t ghc___aarch64_ldadd4_rel(uint32_t v, uint32_t* p) { ++uint32_t ghc___aarch64_ldadd4_rel(uint32_t v, atomic_uint_least32_t* p); ++uint32_t ghc___aarch64_ldadd4_rel(uint32_t v, atomic_uint_least32_t* p) { + return atomic_fetch_add_explicit(p, v, memory_order_release); + } + +-uint32_t ghc___aarch64_ldadd4_acq_rel(uint32_t v, uint32_t* p); +-uint32_t ghc___aarch64_ldadd4_acq_rel(uint32_t v, uint32_t* p) { ++uint32_t ghc___aarch64_ldadd4_acq_rel(uint32_t v, atomic_uint_least32_t* p); ++uint32_t ghc___aarch64_ldadd4_acq_rel(uint32_t v, atomic_uint_least32_t* p) { + return atomic_fetch_add_explicit(p, v, memory_order_acq_rel); + } + +-uint32_t ghc___aarch64_ldadd4_sync(uint32_t v, uint32_t* p); +-uint32_t ghc___aarch64_ldadd4_sync(uint32_t v, uint32_t* p) { ++uint32_t ghc___aarch64_ldadd4_sync(uint32_t v, atomic_uint_least32_t* p); ++uint32_t ghc___aarch64_ldadd4_sync(uint32_t v, atomic_uint_least32_t* p) { + return atomic_fetch_add_explicit(p, v, memory_order_seq_cst); + } + +-uint64_t ghc___aarch64_ldadd8_relax(uint64_t v, uint64_t* p); +-uint64_t ghc___aarch64_ldadd8_relax(uint64_t v, uint64_t* p) { ++uint64_t ghc___aarch64_ldadd8_relax(uint64_t v, atomic_uint_least64_t* p); ++uint64_t ghc___aarch64_ldadd8_relax(uint64_t v, atomic_uint_least64_t* p) { + return atomic_fetch_add_explicit(p, v, memory_order_relaxed); + } + +-uint64_t ghc___aarch64_ldadd8_acq(uint64_t v, uint64_t* p); +-uint64_t ghc___aarch64_ldadd8_acq(uint64_t v, uint64_t* p) { ++uint64_t ghc___aarch64_ldadd8_acq(uint64_t v, atomic_uint_least64_t* p); ++uint64_t ghc___aarch64_ldadd8_acq(uint64_t v, atomic_uint_least64_t* p) { + return atomic_fetch_add_explicit(p, v, memory_order_acquire); + } + +-uint64_t ghc___aarch64_ldadd8_rel(uint64_t v, uint64_t* p); +-uint64_t ghc___aarch64_ldadd8_rel(uint64_t v, uint64_t* p) { ++uint64_t ghc___aarch64_ldadd8_rel(uint64_t v, atomic_uint_least64_t* p); ++uint64_t ghc___aarch64_ldadd8_rel(uint64_t v, atomic_uint_least64_t* p) { + return atomic_fetch_add_explicit(p, v, memory_order_release); + } + +-uint64_t ghc___aarch64_ldadd8_acq_rel(uint64_t v, uint64_t* p); +-uint64_t ghc___aarch64_ldadd8_acq_rel(uint64_t v, uint64_t* p) { ++uint64_t ghc___aarch64_ldadd8_acq_rel(uint64_t v, atomic_uint_least64_t* p); ++uint64_t ghc___aarch64_ldadd8_acq_rel(uint64_t v, atomic_uint_least64_t* p) { + return atomic_fetch_add_explicit(p, v, memory_order_acq_rel); + } + +-uint64_t ghc___aarch64_ldadd8_sync(uint64_t v, uint64_t* p); +-uint64_t ghc___aarch64_ldadd8_sync(uint64_t v, uint64_t* p) { ++uint64_t ghc___aarch64_ldadd8_sync(uint64_t v, atomic_uint_least64_t* p); ++uint64_t ghc___aarch64_ldadd8_sync(uint64_t v, atomic_uint_least64_t* p) { + return atomic_fetch_add_explicit(p, v, memory_order_seq_cst); + } + +-uint8_t ghc___aarch64_ldclr1_relax(uint8_t v, uint8_t* p); +-uint8_t ghc___aarch64_ldclr1_relax(uint8_t v, uint8_t* p) { ++uint8_t ghc___aarch64_ldclr1_relax(uint8_t v, atomic_uint_least8_t* p); ++uint8_t ghc___aarch64_ldclr1_relax(uint8_t v, atomic_uint_least8_t* p) { + return atomic_fetch_and_explicit(p, v, memory_order_relaxed); + } + +-uint8_t ghc___aarch64_ldclr1_acq(uint8_t v, uint8_t* p); +-uint8_t ghc___aarch64_ldclr1_acq(uint8_t v, uint8_t* p) { ++uint8_t ghc___aarch64_ldclr1_acq(uint8_t v, atomic_uint_least8_t* p); ++uint8_t ghc___aarch64_ldclr1_acq(uint8_t v, atomic_uint_least8_t* p) { + return atomic_fetch_and_explicit(p, v, memory_order_acquire); + } + +-uint8_t ghc___aarch64_ldclr1_rel(uint8_t v, uint8_t* p); +-uint8_t ghc___aarch64_ldclr1_rel(uint8_t v, uint8_t* p) { ++uint8_t ghc___aarch64_ldclr1_rel(uint8_t v, atomic_uint_least8_t* p); ++uint8_t ghc___aarch64_ldclr1_rel(uint8_t v, atomic_uint_least8_t* p) { + return atomic_fetch_and_explicit(p, v, memory_order_release); + } + +-uint8_t ghc___aarch64_ldclr1_acq_rel(uint8_t v, uint8_t* p); +-uint8_t ghc___aarch64_ldclr1_acq_rel(uint8_t v, uint8_t* p) { ++uint8_t ghc___aarch64_ldclr1_acq_rel(uint8_t v, atomic_uint_least8_t* p); ++uint8_t ghc___aarch64_ldclr1_acq_rel(uint8_t v, atomic_uint_least8_t* p) { + return atomic_fetch_and_explicit(p, v, memory_order_acq_rel); + } + +-uint8_t ghc___aarch64_ldclr1_sync(uint8_t v, uint8_t* p); +-uint8_t ghc___aarch64_ldclr1_sync(uint8_t v, uint8_t* p) { ++uint8_t ghc___aarch64_ldclr1_sync(uint8_t v, atomic_uint_least8_t* p); ++uint8_t ghc___aarch64_ldclr1_sync(uint8_t v, atomic_uint_least8_t* p) { + return atomic_fetch_and_explicit(p, v, memory_order_seq_cst); + } + +-uint16_t ghc___aarch64_ldclr2_relax(uint16_t v, uint16_t* p); +-uint16_t ghc___aarch64_ldclr2_relax(uint16_t v, uint16_t* p) { ++uint16_t ghc___aarch64_ldclr2_relax(uint16_t v, atomic_uint_least16_t* p); ++uint16_t ghc___aarch64_ldclr2_relax(uint16_t v, atomic_uint_least16_t* p) { + return atomic_fetch_and_explicit(p, v, memory_order_relaxed); + } + +-uint16_t ghc___aarch64_ldclr2_acq(uint16_t v, uint16_t* p); +-uint16_t ghc___aarch64_ldclr2_acq(uint16_t v, uint16_t* p) { ++uint16_t ghc___aarch64_ldclr2_acq(uint16_t v, atomic_uint_least16_t* p); ++uint16_t ghc___aarch64_ldclr2_acq(uint16_t v, atomic_uint_least16_t* p) { + return atomic_fetch_and_explicit(p, v, memory_order_acquire); + } + +-uint16_t ghc___aarch64_ldclr2_rel(uint16_t v, uint16_t* p); +-uint16_t ghc___aarch64_ldclr2_rel(uint16_t v, uint16_t* p) { ++uint16_t ghc___aarch64_ldclr2_rel(uint16_t v, atomic_uint_least16_t* p); ++uint16_t ghc___aarch64_ldclr2_rel(uint16_t v, atomic_uint_least16_t* p) { + return atomic_fetch_and_explicit(p, v, memory_order_release); + } + +-uint16_t ghc___aarch64_ldclr2_acq_rel(uint16_t v, uint16_t* p); +-uint16_t ghc___aarch64_ldclr2_acq_rel(uint16_t v, uint16_t* p) { ++uint16_t ghc___aarch64_ldclr2_acq_rel(uint16_t v, atomic_uint_least16_t* p); ++uint16_t ghc___aarch64_ldclr2_acq_rel(uint16_t v, atomic_uint_least16_t* p) { + return atomic_fetch_and_explicit(p, v, memory_order_acq_rel); + } + +-uint16_t ghc___aarch64_ldclr2_sync(uint16_t v, uint16_t* p); +-uint16_t ghc___aarch64_ldclr2_sync(uint16_t v, uint16_t* p) { ++uint16_t ghc___aarch64_ldclr2_sync(uint16_t v, atomic_uint_least16_t* p); ++uint16_t ghc___aarch64_ldclr2_sync(uint16_t v, atomic_uint_least16_t* p) { + return atomic_fetch_and_explicit(p, v, memory_order_seq_cst); + } + +-uint32_t ghc___aarch64_ldclr4_relax(uint32_t v, uint32_t* p); +-uint32_t ghc___aarch64_ldclr4_relax(uint32_t v, uint32_t* p) { ++uint32_t ghc___aarch64_ldclr4_relax(uint32_t v, atomic_uint_least32_t* p); ++uint32_t ghc___aarch64_ldclr4_relax(uint32_t v, atomic_uint_least32_t* p) { + return atomic_fetch_and_explicit(p, v, memory_order_relaxed); + } + +-uint32_t ghc___aarch64_ldclr4_acq(uint32_t v, uint32_t* p); +-uint32_t ghc___aarch64_ldclr4_acq(uint32_t v, uint32_t* p) { ++uint32_t ghc___aarch64_ldclr4_acq(uint32_t v, atomic_uint_least32_t* p); ++uint32_t ghc___aarch64_ldclr4_acq(uint32_t v, atomic_uint_least32_t* p) { + return atomic_fetch_and_explicit(p, v, memory_order_acquire); + } + +-uint32_t ghc___aarch64_ldclr4_rel(uint32_t v, uint32_t* p); +-uint32_t ghc___aarch64_ldclr4_rel(uint32_t v, uint32_t* p) { ++uint32_t ghc___aarch64_ldclr4_rel(uint32_t v, atomic_uint_least32_t* p); ++uint32_t ghc___aarch64_ldclr4_rel(uint32_t v, atomic_uint_least32_t* p) { + return atomic_fetch_and_explicit(p, v, memory_order_release); + } + +-uint32_t ghc___aarch64_ldclr4_acq_rel(uint32_t v, uint32_t* p); +-uint32_t ghc___aarch64_ldclr4_acq_rel(uint32_t v, uint32_t* p) { ++uint32_t ghc___aarch64_ldclr4_acq_rel(uint32_t v, atomic_uint_least32_t* p); ++uint32_t ghc___aarch64_ldclr4_acq_rel(uint32_t v, atomic_uint_least32_t* p) { + return atomic_fetch_and_explicit(p, v, memory_order_acq_rel); + } + +-uint32_t ghc___aarch64_ldclr4_sync(uint32_t v, uint32_t* p); +-uint32_t ghc___aarch64_ldclr4_sync(uint32_t v, uint32_t* p) { ++uint32_t ghc___aarch64_ldclr4_sync(uint32_t v, atomic_uint_least32_t* p); ++uint32_t ghc___aarch64_ldclr4_sync(uint32_t v, atomic_uint_least32_t* p) { + return atomic_fetch_and_explicit(p, v, memory_order_seq_cst); + } + +-uint64_t ghc___aarch64_ldclr8_relax(uint64_t v, uint64_t* p); +-uint64_t ghc___aarch64_ldclr8_relax(uint64_t v, uint64_t* p) { ++uint64_t ghc___aarch64_ldclr8_relax(uint64_t v, atomic_uint_least64_t* p); ++uint64_t ghc___aarch64_ldclr8_relax(uint64_t v, atomic_uint_least64_t* p) { + return atomic_fetch_and_explicit(p, v, memory_order_relaxed); + } + +-uint64_t ghc___aarch64_ldclr8_acq(uint64_t v, uint64_t* p); +-uint64_t ghc___aarch64_ldclr8_acq(uint64_t v, uint64_t* p) { ++uint64_t ghc___aarch64_ldclr8_acq(uint64_t v, atomic_uint_least64_t* p); ++uint64_t ghc___aarch64_ldclr8_acq(uint64_t v, atomic_uint_least64_t* p) { + return atomic_fetch_and_explicit(p, v, memory_order_acquire); + } + +-uint64_t ghc___aarch64_ldclr8_rel(uint64_t v, uint64_t* p); +-uint64_t ghc___aarch64_ldclr8_rel(uint64_t v, uint64_t* p) { ++uint64_t ghc___aarch64_ldclr8_rel(uint64_t v, atomic_uint_least64_t* p); ++uint64_t ghc___aarch64_ldclr8_rel(uint64_t v, atomic_uint_least64_t* p) { + return atomic_fetch_and_explicit(p, v, memory_order_release); + } + +-uint64_t ghc___aarch64_ldclr8_acq_rel(uint64_t v, uint64_t* p); +-uint64_t ghc___aarch64_ldclr8_acq_rel(uint64_t v, uint64_t* p) { ++uint64_t ghc___aarch64_ldclr8_acq_rel(uint64_t v, atomic_uint_least64_t* p); ++uint64_t ghc___aarch64_ldclr8_acq_rel(uint64_t v, atomic_uint_least64_t* p) { + return atomic_fetch_and_explicit(p, v, memory_order_acq_rel); + } + +-uint64_t ghc___aarch64_ldclr8_sync(uint64_t v, uint64_t* p); +-uint64_t ghc___aarch64_ldclr8_sync(uint64_t v, uint64_t* p) { ++uint64_t ghc___aarch64_ldclr8_sync(uint64_t v, atomic_uint_least64_t* p); ++uint64_t ghc___aarch64_ldclr8_sync(uint64_t v, atomic_uint_least64_t* p) { + return atomic_fetch_and_explicit(p, v, memory_order_seq_cst); + } + +-uint8_t ghc___aarch64_ldeor1_relax(uint8_t v, uint8_t* p); +-uint8_t ghc___aarch64_ldeor1_relax(uint8_t v, uint8_t* p) { ++uint8_t ghc___aarch64_ldeor1_relax(uint8_t v, atomic_uint_least8_t* p); ++uint8_t ghc___aarch64_ldeor1_relax(uint8_t v, atomic_uint_least8_t* p) { + return atomic_fetch_xor_explicit(p, v, memory_order_relaxed); + } + +-uint8_t ghc___aarch64_ldeor1_acq(uint8_t v, uint8_t* p); +-uint8_t ghc___aarch64_ldeor1_acq(uint8_t v, uint8_t* p) { ++uint8_t ghc___aarch64_ldeor1_acq(uint8_t v, atomic_uint_least8_t* p); ++uint8_t ghc___aarch64_ldeor1_acq(uint8_t v, atomic_uint_least8_t* p) { + return atomic_fetch_xor_explicit(p, v, memory_order_acquire); + } + +-uint8_t ghc___aarch64_ldeor1_rel(uint8_t v, uint8_t* p); +-uint8_t ghc___aarch64_ldeor1_rel(uint8_t v, uint8_t* p) { ++uint8_t ghc___aarch64_ldeor1_rel(uint8_t v, atomic_uint_least8_t* p); ++uint8_t ghc___aarch64_ldeor1_rel(uint8_t v, atomic_uint_least8_t* p) { + return atomic_fetch_xor_explicit(p, v, memory_order_release); + } + +-uint8_t ghc___aarch64_ldeor1_acq_rel(uint8_t v, uint8_t* p); +-uint8_t ghc___aarch64_ldeor1_acq_rel(uint8_t v, uint8_t* p) { ++uint8_t ghc___aarch64_ldeor1_acq_rel(uint8_t v, atomic_uint_least8_t* p); ++uint8_t ghc___aarch64_ldeor1_acq_rel(uint8_t v, atomic_uint_least8_t* p) { + return atomic_fetch_xor_explicit(p, v, memory_order_acq_rel); + } + +-uint8_t ghc___aarch64_ldeor1_sync(uint8_t v, uint8_t* p); +-uint8_t ghc___aarch64_ldeor1_sync(uint8_t v, uint8_t* p) { ++uint8_t ghc___aarch64_ldeor1_sync(uint8_t v, atomic_uint_least8_t* p); ++uint8_t ghc___aarch64_ldeor1_sync(uint8_t v, atomic_uint_least8_t* p) { + return atomic_fetch_xor_explicit(p, v, memory_order_seq_cst); + } + +-uint16_t ghc___aarch64_ldeor2_relax(uint16_t v, uint16_t* p); +-uint16_t ghc___aarch64_ldeor2_relax(uint16_t v, uint16_t* p) { ++uint16_t ghc___aarch64_ldeor2_relax(uint16_t v, atomic_uint_least16_t* p); ++uint16_t ghc___aarch64_ldeor2_relax(uint16_t v, atomic_uint_least16_t* p) { + return atomic_fetch_xor_explicit(p, v, memory_order_relaxed); + } + +-uint16_t ghc___aarch64_ldeor2_acq(uint16_t v, uint16_t* p); +-uint16_t ghc___aarch64_ldeor2_acq(uint16_t v, uint16_t* p) { ++uint16_t ghc___aarch64_ldeor2_acq(uint16_t v, atomic_uint_least16_t* p); ++uint16_t ghc___aarch64_ldeor2_acq(uint16_t v, atomic_uint_least16_t* p) { + return atomic_fetch_xor_explicit(p, v, memory_order_acquire); + } + +-uint16_t ghc___aarch64_ldeor2_rel(uint16_t v, uint16_t* p); +-uint16_t ghc___aarch64_ldeor2_rel(uint16_t v, uint16_t* p) { ++uint16_t ghc___aarch64_ldeor2_rel(uint16_t v, atomic_uint_least16_t* p); ++uint16_t ghc___aarch64_ldeor2_rel(uint16_t v, atomic_uint_least16_t* p) { + return atomic_fetch_xor_explicit(p, v, memory_order_release); + } + +-uint16_t ghc___aarch64_ldeor2_acq_rel(uint16_t v, uint16_t* p); +-uint16_t ghc___aarch64_ldeor2_acq_rel(uint16_t v, uint16_t* p) { ++uint16_t ghc___aarch64_ldeor2_acq_rel(uint16_t v, atomic_uint_least16_t* p); ++uint16_t ghc___aarch64_ldeor2_acq_rel(uint16_t v, atomic_uint_least16_t* p) { + return atomic_fetch_xor_explicit(p, v, memory_order_acq_rel); + } + +-uint16_t ghc___aarch64_ldeor2_sync(uint16_t v, uint16_t* p); +-uint16_t ghc___aarch64_ldeor2_sync(uint16_t v, uint16_t* p) { ++uint16_t ghc___aarch64_ldeor2_sync(uint16_t v, atomic_uint_least16_t* p); ++uint16_t ghc___aarch64_ldeor2_sync(uint16_t v, atomic_uint_least16_t* p) { + return atomic_fetch_xor_explicit(p, v, memory_order_seq_cst); + } + +-uint32_t ghc___aarch64_ldeor4_relax(uint32_t v, uint32_t* p); +-uint32_t ghc___aarch64_ldeor4_relax(uint32_t v, uint32_t* p) { ++uint32_t ghc___aarch64_ldeor4_relax(uint32_t v, atomic_uint_least32_t* p); ++uint32_t ghc___aarch64_ldeor4_relax(uint32_t v, atomic_uint_least32_t* p) { + return atomic_fetch_xor_explicit(p, v, memory_order_relaxed); + } + +-uint32_t ghc___aarch64_ldeor4_acq(uint32_t v, uint32_t* p); +-uint32_t ghc___aarch64_ldeor4_acq(uint32_t v, uint32_t* p) { ++uint32_t ghc___aarch64_ldeor4_acq(uint32_t v, atomic_uint_least32_t* p); ++uint32_t ghc___aarch64_ldeor4_acq(uint32_t v, atomic_uint_least32_t* p) { + return atomic_fetch_xor_explicit(p, v, memory_order_acquire); + } + +-uint32_t ghc___aarch64_ldeor4_rel(uint32_t v, uint32_t* p); +-uint32_t ghc___aarch64_ldeor4_rel(uint32_t v, uint32_t* p) { ++uint32_t ghc___aarch64_ldeor4_rel(uint32_t v, atomic_uint_least32_t* p); ++uint32_t ghc___aarch64_ldeor4_rel(uint32_t v, atomic_uint_least32_t* p) { + return atomic_fetch_xor_explicit(p, v, memory_order_release); + } + +-uint32_t ghc___aarch64_ldeor4_acq_rel(uint32_t v, uint32_t* p); +-uint32_t ghc___aarch64_ldeor4_acq_rel(uint32_t v, uint32_t* p) { ++uint32_t ghc___aarch64_ldeor4_acq_rel(uint32_t v, atomic_uint_least32_t* p); ++uint32_t ghc___aarch64_ldeor4_acq_rel(uint32_t v, atomic_uint_least32_t* p) { + return atomic_fetch_xor_explicit(p, v, memory_order_acq_rel); + } + +-uint32_t ghc___aarch64_ldeor4_sync(uint32_t v, uint32_t* p); +-uint32_t ghc___aarch64_ldeor4_sync(uint32_t v, uint32_t* p) { ++uint32_t ghc___aarch64_ldeor4_sync(uint32_t v, atomic_uint_least32_t* p); ++uint32_t ghc___aarch64_ldeor4_sync(uint32_t v, atomic_uint_least32_t* p) { + return atomic_fetch_xor_explicit(p, v, memory_order_seq_cst); + } + +-uint64_t ghc___aarch64_ldeor8_relax(uint64_t v, uint64_t* p); +-uint64_t ghc___aarch64_ldeor8_relax(uint64_t v, uint64_t* p) { ++uint64_t ghc___aarch64_ldeor8_relax(uint64_t v, atomic_uint_least64_t* p); ++uint64_t ghc___aarch64_ldeor8_relax(uint64_t v, atomic_uint_least64_t* p) { + return atomic_fetch_xor_explicit(p, v, memory_order_relaxed); + } + +-uint64_t ghc___aarch64_ldeor8_acq(uint64_t v, uint64_t* p); +-uint64_t ghc___aarch64_ldeor8_acq(uint64_t v, uint64_t* p) { ++uint64_t ghc___aarch64_ldeor8_acq(uint64_t v, atomic_uint_least64_t* p); ++uint64_t ghc___aarch64_ldeor8_acq(uint64_t v, atomic_uint_least64_t* p) { + return atomic_fetch_xor_explicit(p, v, memory_order_acquire); + } + +-uint64_t ghc___aarch64_ldeor8_rel(uint64_t v, uint64_t* p); +-uint64_t ghc___aarch64_ldeor8_rel(uint64_t v, uint64_t* p) { ++uint64_t ghc___aarch64_ldeor8_rel(uint64_t v, atomic_uint_least64_t* p); ++uint64_t ghc___aarch64_ldeor8_rel(uint64_t v, atomic_uint_least64_t* p) { + return atomic_fetch_xor_explicit(p, v, memory_order_release); + } + +-uint64_t ghc___aarch64_ldeor8_acq_rel(uint64_t v, uint64_t* p); +-uint64_t ghc___aarch64_ldeor8_acq_rel(uint64_t v, uint64_t* p) { ++uint64_t ghc___aarch64_ldeor8_acq_rel(uint64_t v, atomic_uint_least64_t* p); ++uint64_t ghc___aarch64_ldeor8_acq_rel(uint64_t v, atomic_uint_least64_t* p) { + return atomic_fetch_xor_explicit(p, v, memory_order_acq_rel); + } + +-uint64_t ghc___aarch64_ldeor8_sync(uint64_t v, uint64_t* p); +-uint64_t ghc___aarch64_ldeor8_sync(uint64_t v, uint64_t* p) { ++uint64_t ghc___aarch64_ldeor8_sync(uint64_t v, atomic_uint_least64_t* p); ++uint64_t ghc___aarch64_ldeor8_sync(uint64_t v, atomic_uint_least64_t* p) { + return atomic_fetch_xor_explicit(p, v, memory_order_seq_cst); + } + +-uint8_t ghc___aarch64_ldset1_relax(uint8_t v, uint8_t* p); +-uint8_t ghc___aarch64_ldset1_relax(uint8_t v, uint8_t* p) { ++uint8_t ghc___aarch64_ldset1_relax(uint8_t v, atomic_uint_least8_t* p); ++uint8_t ghc___aarch64_ldset1_relax(uint8_t v, atomic_uint_least8_t* p) { + return atomic_fetch_or_explicit(p, v, memory_order_relaxed); + } + +-uint8_t ghc___aarch64_ldset1_acq(uint8_t v, uint8_t* p); +-uint8_t ghc___aarch64_ldset1_acq(uint8_t v, uint8_t* p) { ++uint8_t ghc___aarch64_ldset1_acq(uint8_t v, atomic_uint_least8_t* p); ++uint8_t ghc___aarch64_ldset1_acq(uint8_t v, atomic_uint_least8_t* p) { + return atomic_fetch_or_explicit(p, v, memory_order_acquire); + } + +-uint8_t ghc___aarch64_ldset1_rel(uint8_t v, uint8_t* p); +-uint8_t ghc___aarch64_ldset1_rel(uint8_t v, uint8_t* p) { ++uint8_t ghc___aarch64_ldset1_rel(uint8_t v, atomic_uint_least8_t* p); ++uint8_t ghc___aarch64_ldset1_rel(uint8_t v, atomic_uint_least8_t* p) { + return atomic_fetch_or_explicit(p, v, memory_order_release); + } + +-uint8_t ghc___aarch64_ldset1_acq_rel(uint8_t v, uint8_t* p); +-uint8_t ghc___aarch64_ldset1_acq_rel(uint8_t v, uint8_t* p) { ++uint8_t ghc___aarch64_ldset1_acq_rel(uint8_t v, atomic_uint_least8_t* p); ++uint8_t ghc___aarch64_ldset1_acq_rel(uint8_t v, atomic_uint_least8_t* p) { + return atomic_fetch_or_explicit(p, v, memory_order_acq_rel); + } + +-uint8_t ghc___aarch64_ldset1_sync(uint8_t v, uint8_t* p); +-uint8_t ghc___aarch64_ldset1_sync(uint8_t v, uint8_t* p) { ++uint8_t ghc___aarch64_ldset1_sync(uint8_t v, atomic_uint_least8_t* p); ++uint8_t ghc___aarch64_ldset1_sync(uint8_t v, atomic_uint_least8_t* p) { + return atomic_fetch_or_explicit(p, v, memory_order_seq_cst); + } + +-uint16_t ghc___aarch64_ldset2_relax(uint16_t v, uint16_t* p); +-uint16_t ghc___aarch64_ldset2_relax(uint16_t v, uint16_t* p) { ++uint16_t ghc___aarch64_ldset2_relax(uint16_t v, atomic_uint_least16_t* p); ++uint16_t ghc___aarch64_ldset2_relax(uint16_t v, atomic_uint_least16_t* p) { + return atomic_fetch_or_explicit(p, v, memory_order_relaxed); + } + +-uint16_t ghc___aarch64_ldset2_acq(uint16_t v, uint16_t* p); +-uint16_t ghc___aarch64_ldset2_acq(uint16_t v, uint16_t* p) { ++uint16_t ghc___aarch64_ldset2_acq(uint16_t v, atomic_uint_least16_t* p); ++uint16_t ghc___aarch64_ldset2_acq(uint16_t v, atomic_uint_least16_t* p) { + return atomic_fetch_or_explicit(p, v, memory_order_acquire); + } + +-uint16_t ghc___aarch64_ldset2_rel(uint16_t v, uint16_t* p); +-uint16_t ghc___aarch64_ldset2_rel(uint16_t v, uint16_t* p) { ++uint16_t ghc___aarch64_ldset2_rel(uint16_t v, atomic_uint_least16_t* p); ++uint16_t ghc___aarch64_ldset2_rel(uint16_t v, atomic_uint_least16_t* p) { + return atomic_fetch_or_explicit(p, v, memory_order_release); + } + +-uint16_t ghc___aarch64_ldset2_acq_rel(uint16_t v, uint16_t* p); +-uint16_t ghc___aarch64_ldset2_acq_rel(uint16_t v, uint16_t* p) { ++uint16_t ghc___aarch64_ldset2_acq_rel(uint16_t v, atomic_uint_least16_t* p); ++uint16_t ghc___aarch64_ldset2_acq_rel(uint16_t v, atomic_uint_least16_t* p) { + return atomic_fetch_or_explicit(p, v, memory_order_acq_rel); + } + +-uint16_t ghc___aarch64_ldset2_sync(uint16_t v, uint16_t* p); +-uint16_t ghc___aarch64_ldset2_sync(uint16_t v, uint16_t* p) { ++uint16_t ghc___aarch64_ldset2_sync(uint16_t v, atomic_uint_least16_t* p); ++uint16_t ghc___aarch64_ldset2_sync(uint16_t v, atomic_uint_least16_t* p) { + return atomic_fetch_or_explicit(p, v, memory_order_seq_cst); + } + +-uint32_t ghc___aarch64_ldset4_relax(uint32_t v, uint32_t* p); +-uint32_t ghc___aarch64_ldset4_relax(uint32_t v, uint32_t* p) { ++uint32_t ghc___aarch64_ldset4_relax(uint32_t v, atomic_uint_least32_t* p); ++uint32_t ghc___aarch64_ldset4_relax(uint32_t v, atomic_uint_least32_t* p) { + return atomic_fetch_or_explicit(p, v, memory_order_relaxed); + } + +-uint32_t ghc___aarch64_ldset4_acq(uint32_t v, uint32_t* p); +-uint32_t ghc___aarch64_ldset4_acq(uint32_t v, uint32_t* p) { ++uint32_t ghc___aarch64_ldset4_acq(uint32_t v, atomic_uint_least32_t* p); ++uint32_t ghc___aarch64_ldset4_acq(uint32_t v, atomic_uint_least32_t* p) { + return atomic_fetch_or_explicit(p, v, memory_order_acquire); + } + +-uint32_t ghc___aarch64_ldset4_rel(uint32_t v, uint32_t* p); +-uint32_t ghc___aarch64_ldset4_rel(uint32_t v, uint32_t* p) { ++uint32_t ghc___aarch64_ldset4_rel(uint32_t v, atomic_uint_least32_t* p); ++uint32_t ghc___aarch64_ldset4_rel(uint32_t v, atomic_uint_least32_t* p) { + return atomic_fetch_or_explicit(p, v, memory_order_release); + } + +-uint32_t ghc___aarch64_ldset4_acq_rel(uint32_t v, uint32_t* p); +-uint32_t ghc___aarch64_ldset4_acq_rel(uint32_t v, uint32_t* p) { ++uint32_t ghc___aarch64_ldset4_acq_rel(uint32_t v, atomic_uint_least32_t* p); ++uint32_t ghc___aarch64_ldset4_acq_rel(uint32_t v, atomic_uint_least32_t* p) { + return atomic_fetch_or_explicit(p, v, memory_order_acq_rel); + } + +-uint32_t ghc___aarch64_ldset4_sync(uint32_t v, uint32_t* p); +-uint32_t ghc___aarch64_ldset4_sync(uint32_t v, uint32_t* p) { ++uint32_t ghc___aarch64_ldset4_sync(uint32_t v, atomic_uint_least32_t* p); ++uint32_t ghc___aarch64_ldset4_sync(uint32_t v, atomic_uint_least32_t* p) { + return atomic_fetch_or_explicit(p, v, memory_order_seq_cst); + } + +-uint64_t ghc___aarch64_ldset8_relax(uint64_t v, uint64_t* p); +-uint64_t ghc___aarch64_ldset8_relax(uint64_t v, uint64_t* p) { ++uint64_t ghc___aarch64_ldset8_relax(uint64_t v, atomic_uint_least64_t* p); ++uint64_t ghc___aarch64_ldset8_relax(uint64_t v, atomic_uint_least64_t* p) { + return atomic_fetch_or_explicit(p, v, memory_order_relaxed); + } + +-uint64_t ghc___aarch64_ldset8_acq(uint64_t v, uint64_t* p); +-uint64_t ghc___aarch64_ldset8_acq(uint64_t v, uint64_t* p) { ++uint64_t ghc___aarch64_ldset8_acq(uint64_t v, atomic_uint_least64_t* p); ++uint64_t ghc___aarch64_ldset8_acq(uint64_t v, atomic_uint_least64_t* p) { + return atomic_fetch_or_explicit(p, v, memory_order_acquire); + } + +-uint64_t ghc___aarch64_ldset8_rel(uint64_t v, uint64_t* p); +-uint64_t ghc___aarch64_ldset8_rel(uint64_t v, uint64_t* p) { ++uint64_t ghc___aarch64_ldset8_rel(uint64_t v, atomic_uint_least64_t* p); ++uint64_t ghc___aarch64_ldset8_rel(uint64_t v, atomic_uint_least64_t* p) { + return atomic_fetch_or_explicit(p, v, memory_order_release); + } + +-uint64_t ghc___aarch64_ldset8_acq_rel(uint64_t v, uint64_t* p); +-uint64_t ghc___aarch64_ldset8_acq_rel(uint64_t v, uint64_t* p) { ++uint64_t ghc___aarch64_ldset8_acq_rel(uint64_t v, atomic_uint_least64_t* p); ++uint64_t ghc___aarch64_ldset8_acq_rel(uint64_t v, atomic_uint_least64_t* p) { + return atomic_fetch_or_explicit(p, v, memory_order_acq_rel); + } + +-uint64_t ghc___aarch64_ldset8_sync(uint64_t v, uint64_t* p); +-uint64_t ghc___aarch64_ldset8_sync(uint64_t v, uint64_t* p) { ++uint64_t ghc___aarch64_ldset8_sync(uint64_t v, atomic_uint_least64_t* p); ++uint64_t ghc___aarch64_ldset8_sync(uint64_t v, atomic_uint_least64_t* p) { + return atomic_fetch_or_explicit(p, v, memory_order_seq_cst); + } + diff --git a/overlays/patches/ghc/ghc-9.6.7-JS-implement-TH-support.patch b/overlays/patches/ghc/ghc-9.6.7-JS-implement-TH-support.patch new file mode 100644 index 0000000000..32a6482a38 --- /dev/null +++ b/overlays/patches/ghc/ghc-9.6.7-JS-implement-TH-support.patch @@ -0,0 +1,3661 @@ +diff --git a/compiler/GHC.hs b/compiler/GHC.hs +index 211c8dc9a2..30d6d6b014 100644 +--- a/compiler/GHC.hs ++++ b/compiler/GHC.hs +@@ -1,3 +1,4 @@ ++{-# LANGUAGE MultiWayIf #-} + {-# LANGUAGE CPP #-} + {-# LANGUAGE NondecreasingIndentation, ScopedTypeVariables #-} + {-# LANGUAGE TupleSections, NamedFieldPuns #-} +@@ -316,6 +317,7 @@ import GHC.Driver.Backend + import GHC.Driver.Config.Finder (initFinderOpts) + import GHC.Driver.Config.Parser (initParserOpts) + import GHC.Driver.Config.Logger (initLogFlags) ++import GHC.Driver.Config.StgToJS (initStgToJSConfig) + import GHC.Driver.Config.Diagnostic + import GHC.Driver.Main + import GHC.Driver.Make +@@ -675,8 +677,10 @@ setTopSessionDynFlags dflags = do + logger <- getLogger + + -- Interpreter +- interp <- if gopt Opt_ExternalInterpreter dflags +- then do ++ interp <- if ++ -- external interpreter ++ | gopt Opt_ExternalInterpreter dflags ++ -> do + let + prog = pgm_i dflags ++ flavour + profiled = ways dflags `hasWay` WayProf +@@ -698,10 +702,31 @@ setTopSessionDynFlags dflags = do + , iservConfHook = createIservProcessHook (hsc_hooks hsc_env) + , iservConfTrace = tr + } +- s <- liftIO $ newMVar IServPending ++ s <- liftIO $ newMVar InterpPending ++ loader <- liftIO Loader.uninitializedLoader ++ return (Just (Interp (ExternalInterp (ExtIServ (ExtInterpState conf s))) loader)) ++ ++ -- JavaScript interpreter ++ | ArchJavaScript <- platformArch (targetPlatform dflags) ++ -> do ++ s <- liftIO $ newMVar InterpPending + loader <- liftIO Loader.uninitializedLoader +- return (Just (Interp (ExternalInterp conf (IServ s)) loader)) +- else ++ let cfg = JSInterpConfig ++ { jsInterpNodeConfig = defaultNodeJsSettings ++ , jsInterpScript = topDir dflags "ghc-interp.js" ++ , jsInterpTmpFs = hsc_tmpfs hsc_env ++ , jsInterpTmpDir = tmpDir dflags ++ , jsInterpLogger = hsc_logger hsc_env ++ , jsInterpCodegenCfg = initStgToJSConfig dflags ++ , jsInterpUnitEnv = hsc_unit_env hsc_env ++ , jsInterpFinderOpts = initFinderOpts dflags ++ , jsInterpFinderCache = hsc_FC hsc_env ++ } ++ return (Just (Interp (ExternalInterp (ExtJS (ExtInterpState cfg s))) loader)) ++ ++ -- Internal interpreter ++ | otherwise ++ -> + #if defined(HAVE_INTERNAL_INTERPRETER) + do + loader <- liftIO Loader.uninitializedLoader +diff --git a/compiler/GHC/Driver/Main.hs b/compiler/GHC/Driver/Main.hs +index 651f9bf8a2..24bfd5dfc4 100644 +--- a/compiler/GHC/Driver/Main.hs ++++ b/compiler/GHC/Driver/Main.hs +@@ -140,9 +140,10 @@ import GHC.Driver.Hooks + import GHC.Driver.GenerateCgIPEStub (generateCgIPEStub, lookupEstimatedTicks) + + import GHC.Runtime.Context +-import GHC.Runtime.Interpreter ( addSptEntry ) ++import GHC.Runtime.Interpreter ++import GHC.Runtime.Interpreter.JS + import GHC.Runtime.Loader ( initializePlugins ) +-import GHCi.RemoteTypes ( ForeignHValue ) ++import GHCi.RemoteTypes + import GHC.ByteCode.Types + + import GHC.Linker.Loader +@@ -156,6 +157,9 @@ import GHC.HsToCore + + import GHC.StgToByteCode ( byteCodeGen ) + import GHC.StgToJS ( stgToJS ) ++import GHC.StgToJS.Ids ++import GHC.StgToJS.Types ++import GHC.JS.Syntax + + import GHC.IfaceToCore ( typecheckIface, typecheckWholeCoreBindings ) + +@@ -172,7 +176,6 @@ import GHC.Core + import GHC.Core.Lint.Interactive ( interactiveInScope ) + import GHC.Core.Tidy ( tidyExpr ) + import GHC.Core.Type ( Type, Kind ) +-import GHC.Core.Multiplicity + import GHC.Core.Utils ( exprType ) + import GHC.Core.ConLike + import GHC.Core.Opt.Pipeline +@@ -201,7 +204,6 @@ import GHC.Stg.Pipeline ( stg2stg, StgCgInfos ) + + import GHC.Builtin.Utils + import GHC.Builtin.Names +-import GHC.Builtin.Uniques ( mkPseudoUniqueE ) + + import qualified GHC.StgToCmm as StgToCmm ( codeGen ) + import GHC.StgToCmm.Types (CmmCgInfos (..), ModuleLFInfos) +@@ -230,7 +232,7 @@ import GHC.Types.Id + import GHC.Types.SourceError + import GHC.Types.SafeHaskell + import GHC.Types.ForeignStubs +-import GHC.Types.Var.Env ( emptyTidyEnv ) ++import GHC.Types.Var.Env ( mkEmptyTidyEnv ) + import GHC.Types.Error + import GHC.Types.Fixity.Env + import GHC.Types.CostCentre +@@ -243,6 +245,8 @@ import GHC.Types.Name.Reader + import GHC.Types.Name.Ppr + import GHC.Types.TyThing + import GHC.Types.HpcInfo ++import GHC.Types.Unique.Supply (uniqFromTag) ++import GHC.Types.Unique (getKey) + + import GHC.Utils.Fingerprint ( Fingerprint ) + import GHC.Utils.Panic +@@ -289,6 +293,7 @@ import GHC.Stg.InferTags.TagSig (seqTagSig) + import GHC.StgToCmm.Utils (IPEStats) + import GHC.Types.Unique.FM + import GHC.Cmm.Config (CmmConfig) ++import GHC.Types.Unique.DFM + + + {- ********************************************************************** +@@ -2157,31 +2162,6 @@ doCodeGen hsc_env this_mod denv data_tycons + + return $ Stream.mapM dump2 pipeline_stream + +-myCoreToStgExpr :: Logger -> DynFlags -> InteractiveContext +- -> Bool +- -> Module -> ModLocation -> CoreExpr +- -> IO ( Id +- , [CgStgTopBinding] +- , InfoTableProvMap +- , CollectedCCs +- , StgCgInfos ) +-myCoreToStgExpr logger dflags ictxt for_bytecode this_mod ml prepd_expr = do +- {- Create a temporary binding (just because myCoreToStg needs a +- binding for the stg2stg step) -} +- let bco_tmp_id = mkSysLocal (fsLit "BCO_toplevel") +- (mkPseudoUniqueE 0) +- ManyTy +- (exprType prepd_expr) +- (stg_binds, prov_map, collected_ccs, stg_cg_infos) <- +- myCoreToStg logger +- dflags +- ictxt +- for_bytecode +- this_mod +- ml +- [NonRec bco_tmp_id prepd_expr] +- return (bco_tmp_id, stg_binds, prov_map, collected_ccs, stg_cg_infos) +- + myCoreToStg :: Logger -> DynFlags -> InteractiveContext + -> Bool + -> Module -> ModLocation -> CoreProgram +@@ -2562,56 +2542,117 @@ hscCompileCoreExpr hsc_env loc expr = + Just h -> h hsc_env loc expr + + hscCompileCoreExpr' :: HscEnv -> SrcSpan -> CoreExpr -> IO (ForeignHValue, [Linkable], PkgsLoaded) +-hscCompileCoreExpr' hsc_env srcspan ds_expr +- = do { {- Simplify it -} +- -- Question: should we call SimpleOpt.simpleOptExpr here instead? +- -- It is, well, simpler, and does less inlining etc. +- let dflags = hsc_dflags hsc_env +- ; let logger = hsc_logger hsc_env +- ; let ic = hsc_IC hsc_env +- ; let unit_env = hsc_unit_env hsc_env +- ; let simplify_expr_opts = initSimplifyExprOpts dflags ic +- ; simpl_expr <- simplifyExpr logger (ue_eps unit_env) simplify_expr_opts ds_expr +- +- {- Tidy it (temporary, until coreSat does cloning) -} +- ; let tidy_expr = tidyExpr emptyTidyEnv simpl_expr +- +- {- Prepare for codegen -} +- ; cp_cfg <- initCorePrepConfig hsc_env +- ; prepd_expr <- corePrepExpr +- logger cp_cfg +- tidy_expr +- +- {- Lint if necessary -} +- ; lintInteractiveExpr (text "hscCompileExpr") hsc_env prepd_expr +- ; let iNTERACTIVELoc = ModLocation{ ml_hs_file = Nothing, +- ml_hi_file = panic "hscCompileCoreExpr':ml_hi_file", +- ml_obj_file = panic "hscCompileCoreExpr':ml_obj_file", +- ml_dyn_obj_file = panic "hscCompileCoreExpr': ml_obj_file", +- ml_dyn_hi_file = panic "hscCompileCoreExpr': ml_dyn_hi_file", +- ml_hie_file = panic "hscCompileCoreExpr':ml_hie_file" } +- +- ; let ictxt = hsc_IC hsc_env +- ; (binding_id, stg_expr, _, _, _stg_cg_info) <- +- myCoreToStgExpr logger +- dflags +- ictxt +- True +- (icInteractiveModule ictxt) +- iNTERACTIVELoc +- prepd_expr +- +- {- Convert to BCOs -} +- ; bcos <- byteCodeGen hsc_env +- (icInteractiveModule ictxt) +- stg_expr +- [] Nothing +- +- {- load it -} +- ; (fv_hvs, mods_needed, units_needed) <- loadDecls (hscInterp hsc_env) hsc_env srcspan bcos +- {- Get the HValue for the root -} +- ; return (expectJust "hscCompileCoreExpr'" +- $ lookup (idName binding_id) fv_hvs, mods_needed, units_needed) } ++hscCompileCoreExpr' hsc_env srcspan ds_expr = do ++ {- Simplify it -} ++ -- Question: should we call SimpleOpt.simpleOptExpr here instead? ++ -- It is, well, simpler, and does less inlining etc. ++ let dflags = hsc_dflags hsc_env ++ let logger = hsc_logger hsc_env ++ let ic = hsc_IC hsc_env ++ let unit_env = hsc_unit_env hsc_env ++ let simplify_expr_opts = initSimplifyExprOpts dflags ic ++ ++ simpl_expr <- simplifyExpr logger (ue_eps unit_env) simplify_expr_opts ds_expr ++ ++ -- Create a unique temporary binding ++ -- ++ -- The id has to be exported for the JS backend. This isn't required for the ++ -- byte-code interpreter but it does no harm to always do it. ++ u <- uniqFromTag 'I' ++ let binding_name = mkSystemVarName u (fsLit ("BCO_toplevel")) ++ let binding_id = mkExportedVanillaId binding_name (exprType simpl_expr) ++ ++ {- Tidy it (temporary, until coreSat does cloning) -} ++ let tidy_occ_env = initTidyOccEnv [occName binding_id] ++ let tidy_env = mkEmptyTidyEnv tidy_occ_env ++ let tidy_expr = tidyExpr tidy_env simpl_expr ++ ++ {- Prepare for codegen -} ++ cp_cfg <- initCorePrepConfig hsc_env ++ prepd_expr <- corePrepExpr ++ logger cp_cfg ++ tidy_expr ++ ++ {- Lint if necessary -} ++ lintInteractiveExpr (text "hscCompileExpr") hsc_env prepd_expr ++ let this_loc = ModLocation{ ml_hs_file = Nothing, ++ ml_hi_file = panic "hscCompileCoreExpr':ml_hi_file", ++ ml_obj_file = panic "hscCompileCoreExpr':ml_obj_file", ++ ml_dyn_obj_file = panic "hscCompileCoreExpr': ml_obj_file", ++ ml_dyn_hi_file = panic "hscCompileCoreExpr': ml_dyn_hi_file", ++ ml_hie_file = panic "hscCompileCoreExpr':ml_hie_file" } ++ ++ let ictxt = (hsc_IC hsc_env) { ++ ic_mod_index = fromIntegral (getKey u) ++ -- Ensure module uniqueness ("GhciNNNN") by reusing the unique ++ -- we've used for the binding. If ic_mod_index was mutable, we ++ -- would simply bump it here after its use. ++ -- ++ -- This uniqueness is needed by the JS linker. Without it we ++ -- break the 1-2-1 relationship between modules and object ++ -- files, i.e. we get different object files for the same module ++ -- End the linker doesn't support this. ++ } ++ let this_mod = icInteractiveModule ictxt ++ let for_bytecode = True ++ ++ (stg_binds, _prov_map, _collected_ccs, _stg_cg_infos) <- ++ myCoreToStg logger ++ dflags ++ ictxt ++ for_bytecode ++ this_mod ++ this_loc ++ [NonRec binding_id prepd_expr] ++ ++ let interp = hscInterp hsc_env ++ let tmpfs = hsc_tmpfs hsc_env ++ let tmp_dir = tmpDir dflags ++ ++ case interp of ++ Interp (ExternalInterp (ExtJS i)) _ -> do ++ let js_config = initStgToJSConfig dflags ++ foreign_stubs = NoStubs ++ spt_entries = mempty ++ cost_centre_info = mempty ++ ++ -- codegen into object file whose path is in out_obj ++ out_obj <- newTempName logger tmpfs tmp_dir TFL_CurrentModule "o" ++ stgToJS logger js_config stg_binds this_mod spt_entries foreign_stubs cost_centre_info out_obj ++ ++ let TxtI id_sym = makeIdentForId binding_id Nothing IdPlain this_mod ++ -- link code containing binding "id_sym = expr", using id_sym as root ++ withJSInterp i $ \inst -> do ++ let roots = mkExportedModFuns this_mod [id_sym] ++ jsLinkObject logger tmpfs tmp_dir js_config unit_env inst out_obj roots ++ ++ -- look up "id_sym" closure and create a StablePtr (HValue) from it ++ href <- lookupClosure interp (unpackFS id_sym) >>= \case ++ Nothing -> pprPanic "Couldn't find just linked TH closure" (ppr id_sym) ++ Just r -> pure r ++ ++ binding_fref <- withJSInterp i $ \inst -> ++ mkForeignRef href (freeReallyRemoteRef inst href) ++ ++ -- FIXME: LoaderState doesn't make sense for the JS linker ++ -- The state is maintained in the interpreter instance (jsLinkState field) ++ let linkables = mempty ++ let loaded_pkgs = emptyUDFM ++ ++ return (castForeignRef binding_fref, linkables, loaded_pkgs) ++ ++ _ -> do ++ {- Convert to BCOs -} ++ bcos <- byteCodeGen hsc_env ++ this_mod ++ stg_binds ++ [] Nothing ++ ++ {- load it -} ++ (fv_hvs, mods_needed, units_needed) <- loadDecls interp hsc_env srcspan bcos ++ {- Get the HValue for the root -} ++ return (expectJust "hscCompileCoreExpr'" ++ $ lookup (idName binding_id) fv_hvs, mods_needed, units_needed) + + + {- ********************************************************************** +diff --git a/compiler/GHC/Driver/Pipeline.hs b/compiler/GHC/Driver/Pipeline.hs +index a036334b04..801b9a021d 100644 +--- a/compiler/GHC/Driver/Pipeline.hs ++++ b/compiler/GHC/Driver/Pipeline.hs +@@ -111,8 +111,6 @@ import GHC.Types.SourceError + + import GHC.Unit + import GHC.Unit.Env +---import GHC.Unit.Finder +---import GHC.Unit.State + import GHC.Unit.Module.ModSummary + import GHC.Unit.Module.ModIface + import GHC.Unit.Module.Deps +diff --git a/compiler/GHC/Runtime/Interpreter.hs b/compiler/GHC/Runtime/Interpreter.hs +index 843c7ff463..466d60d29a 100644 +--- a/compiler/GHC/Runtime/Interpreter.hs ++++ b/compiler/GHC/Runtime/Interpreter.hs +@@ -3,6 +3,8 @@ + {-# LANGUAGE RecordWildCards #-} + {-# LANGUAGE ScopedTypeVariables #-} + {-# LANGUAGE TupleSections #-} ++{-# LANGUAGE LambdaCase #-} ++{-# LANGUAGE RankNTypes #-} + + -- | Interacting with the iserv interpreter, whether it is running on an + -- external process or in the current process. +@@ -47,22 +49,30 @@ module GHC.Runtime.Interpreter + , resolveObjs + , findSystemLibrary + +- -- * Lower-level API using messages +- , interpCmd, Message(..), withIServ, withIServ_ ++ , interpCmd ++ , withExtInterp ++ , withExtInterpStatus ++ , withIServ ++ , withJSInterp + , stopInterp +- , iservCall, readIServ, writeIServ + , purgeLookupSymbolCache ++ , freeReallyRemoteRef + , freeHValueRefs + , mkFinalizedHValue + , wormhole, wormholeRef + , fromEvalResult ++ ++ -- * Reexport for convenience ++ , Message (..) ++ , module GHC.Runtime.Interpreter.Process + ) where + + import GHC.Prelude + +-import GHC.IO (catchException) +- + import GHC.Runtime.Interpreter.Types ++import GHC.Runtime.Interpreter.JS ++import GHC.Runtime.Interpreter.Process ++import GHC.Runtime.Utils + import GHCi.Message + import GHCi.RemoteTypes + import GHCi.ResolvedBCO +@@ -98,7 +108,7 @@ import GHC.Platform.Ways + import Control.Concurrent + import Control.Monad + import Control.Monad.IO.Class +-import Control.Monad.Catch as MC (mask, onException) ++import Control.Monad.Catch as MC (mask) + import Data.Binary + import Data.Binary.Put + import Data.ByteString (ByteString) +@@ -108,19 +118,6 @@ import Data.IORef + import Foreign hiding (void) + import qualified GHC.Exts.Heap as Heap + import GHC.Stack.CCS (CostCentre,CostCentreStack) +-import System.Exit +-import GHC.IO.Handle.Types (Handle) +-#if defined(mingw32_HOST_OS) +-import Foreign.C +-import GHC.IO.Handle.FD (fdToHandle) +-# if defined(__IO_MANAGER_WINIO__) +-import GHC.IO.SubSystem (()) +-import GHC.IO.Handle.Windows (handleToHANDLE) +-import GHC.Event.Windows (associateHandle') +-# endif +-#else +-import System.Posix as Posix +-#endif + import System.Directory + import System.Process + import GHC.Conc (pseq, par) +@@ -199,10 +196,20 @@ interpCmd interp msg = case interpInstance interp of + #if defined(HAVE_INTERNAL_INTERPRETER) + InternalInterp -> run msg -- Just run it directly + #endif +- ExternalInterp c i -> withIServ_ c i $ \iserv -> ++ ExternalInterp ext -> withExtInterp ext $ \inst -> + uninterruptibleMask_ $ -- Note [uninterruptibleMask_ and interpCmd] +- iservCall iserv msg ++ sendMessage inst msg ++ + ++withExtInterp :: ExceptionMonad m => ExtInterp -> (forall d. ExtInterpInstance d -> m a) -> m a ++withExtInterp ext action = case ext of ++ ExtJS i -> withJSInterp i action ++ ExtIServ i -> withIServ i action ++ ++withExtInterpStatus :: ExtInterp -> (forall d. ExtInterpStatusVar d -> m a) -> m a ++withExtInterpStatus ext action = case ext of ++ ExtJS i -> action (interpStatus i) ++ ExtIServ i -> action (interpStatus i) + + -- Note [uninterruptibleMask_ and interpCmd] + -- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +@@ -217,37 +224,51 @@ interpCmd interp msg = case interpInstance interp of + -- Overloaded because this is used from TcM as well as IO. + withIServ + :: (ExceptionMonad m) +- => IServConfig -> IServ -> (IServInstance -> m (IServInstance, a)) -> m a +-withIServ conf (IServ mIServState) action = +- MC.mask $ \restore -> do +- state <- liftIO $ takeMVar mIServState +- +- iserv <- case state of +- -- start the external iserv process if we haven't done so yet +- IServPending -> +- liftIO (spawnIServ conf) +- `MC.onException` (liftIO $ putMVar mIServState state) +- +- IServRunning inst -> return inst +- +- +- let iserv' = iserv{ iservPendingFrees = [] } +- +- (iserv'',a) <- (do +- -- free any ForeignHValues that have been garbage collected. +- liftIO $ when (not (null (iservPendingFrees iserv))) $ +- iservCall iserv (FreeHValueRefs (iservPendingFrees iserv)) +- -- run the inner action +- restore $ action iserv') +- `MC.onException` (liftIO $ putMVar mIServState (IServRunning iserv')) +- liftIO $ putMVar mIServState (IServRunning iserv'') +- return a +- +-withIServ_ +- :: (MonadIO m, ExceptionMonad m) +- => IServConfig -> IServ -> (IServInstance -> m a) -> m a +-withIServ_ conf iserv action = withIServ conf iserv $ \inst -> +- (inst,) <$> action inst ++ => IServ -> (ExtInterpInstance () -> m a) -> m a ++withIServ (ExtInterpState cfg mstate) action = do ++ inst <- spawnInterpMaybe cfg spawnIServ mstate ++ action inst ++ ++-- | Spawn JS interpreter if it isn't already running and execute the given action ++-- ++-- Update the interpreter state. ++withJSInterp :: ExceptionMonad m => JSInterp -> (ExtInterpInstance JSInterpExtra -> m a) -> m a ++withJSInterp (ExtInterpState cfg mstate) action = do ++ inst <- spawnInterpMaybe cfg spawnJSInterp mstate ++ action inst ++ ++-- | Spawn an interpreter if not already running according to the status in the ++-- MVar. Update the status, free pending heap references, and return the ++-- interpreter instance. ++-- ++-- This function is generic to support both the native external interpreter and ++-- the JS one. ++spawnInterpMaybe :: ExceptionMonad m => cfg -> (cfg -> IO (ExtInterpInstance d)) -> ExtInterpStatusVar d -> m (ExtInterpInstance d) ++spawnInterpMaybe cfg spawn mstatus = do ++ inst <- liftIO $ modifyMVarMasked mstatus $ \case ++ -- start the external iserv process if we haven't done so yet ++ InterpPending -> do ++ inst <- spawn cfg ++ pure (InterpRunning inst, inst) ++ ++ InterpRunning inst -> do ++ pure (InterpRunning inst, inst) ++ ++ -- free any ForeignRef that have been garbage collected. ++ pending_frees <- liftIO $ swapMVar (instPendingFrees inst) [] ++ liftIO $ when (not (null (pending_frees))) $ ++ sendMessage inst (FreeHValueRefs pending_frees) ++ ++ -- run the inner action ++ pure inst ++ ++withExtInterpMaybe ++ :: (ExceptionMonad m) ++ => ExtInterp -> (forall d. Maybe (ExtInterpInstance d) -> m a) -> m a ++withExtInterpMaybe ext action = withExtInterpStatus ext $ \mstate -> do ++ liftIO (readMVar mstate) >>= \case ++ InterpPending {} -> action Nothing -- already shut down or never launched ++ InterpRunning inst -> action (Just inst) + + -- ----------------------------------------------------------------------------- + -- Wrappers around messages +@@ -454,24 +475,27 @@ lookupSymbol interp str = case interpInstance interp of + InternalInterp -> fmap fromRemotePtr <$> run (LookupSymbol (unpackFS str)) + #endif + +- ExternalInterp c i -> withIServ c i $ \iserv -> do +- -- Profiling of GHCi showed a lot of time and allocation spent +- -- making cross-process LookupSymbol calls, so I added a GHC-side +- -- cache which sped things up quite a lot. We have to be careful +- -- to purge this cache when unloading code though. +- let cache = iservLookupSymbolCache iserv +- case lookupUFM cache str of +- Just p -> return (iserv, Just p) +- Nothing -> do +- m <- uninterruptibleMask_ $ +- iservCall iserv (LookupSymbol (unpackFS str)) +- case m of +- Nothing -> return (iserv, Nothing) +- Just r -> do +- let p = fromRemotePtr r +- cache' = addToUFM cache str p +- iserv' = iserv {iservLookupSymbolCache = cache'} +- return (iserv', Just p) ++ ExternalInterp ext -> case ext of ++ ExtIServ i -> withIServ i $ \inst -> do ++ -- Profiling of GHCi showed a lot of time and allocation spent ++ -- making cross-process LookupSymbol calls, so I added a GHC-side ++ -- cache which sped things up quite a lot. We have to be careful ++ -- to purge this cache when unloading code though. ++ cache <- readMVar (instLookupSymbolCache inst) ++ case lookupUFM cache str of ++ Just p -> return (Just p) ++ Nothing -> do ++ m <- uninterruptibleMask_ $ ++ sendMessage inst (LookupSymbol (unpackFS str)) ++ case m of ++ Nothing -> return Nothing ++ Just r -> do ++ let p = fromRemotePtr r ++ cache' = addToUFM cache str p ++ modifyMVar_ (instLookupSymbolCache inst) (const (pure cache')) ++ return (Just p) ++ ++ ExtJS {} -> pprPanic "lookupSymbol not supported by the JS interpreter" (ppr str) + + lookupClosure :: Interp -> String -> IO (Maybe HValueRef) + lookupClosure interp str = +@@ -482,12 +506,9 @@ purgeLookupSymbolCache interp = case interpInstance interp of + #if defined(HAVE_INTERNAL_INTERPRETER) + InternalInterp -> pure () + #endif +- ExternalInterp _ (IServ mstate) -> +- modifyMVar_ mstate $ \state -> pure $ case state of +- IServPending -> state +- IServRunning iserv -> IServRunning +- (iserv { iservLookupSymbolCache = emptyUFM }) +- ++ ExternalInterp ext -> withExtInterpMaybe ext $ \case ++ Nothing -> pure () -- interpreter stopped, nothing to do ++ Just inst -> modifyMVar_ (instLookupSymbolCache inst) (const (pure emptyUFM)) + + -- | loadDLL loads a dynamic library using the OS's native linker + -- (i.e. dlopen() on Unix, LoadLibrary() on Windows). It takes either +@@ -537,56 +558,35 @@ resolveObjs interp = successIf <$> interpCmd interp ResolveObjs + findSystemLibrary :: Interp -> String -> IO (Maybe String) + findSystemLibrary interp str = interpCmd interp (FindSystemLibrary str) + +- + -- ----------------------------------------------------------------------------- +--- Raw calls and messages +- +--- | Send a 'Message' and receive the response from the iserv process +-iservCall :: Binary a => IServInstance -> Message a -> IO a +-iservCall iserv msg = +- remoteCall (iservPipe iserv) msg +- `catchException` \(e :: SomeException) -> handleIServFailure iserv e +- +--- | Read a value from the iserv process +-readIServ :: IServInstance -> Get a -> IO a +-readIServ iserv get = +- readPipe (iservPipe iserv) get +- `catchException` \(e :: SomeException) -> handleIServFailure iserv e +- +--- | Send a value to the iserv process +-writeIServ :: IServInstance -> Put -> IO () +-writeIServ iserv put = +- writePipe (iservPipe iserv) put +- `catchException` \(e :: SomeException) -> handleIServFailure iserv e +- +-handleIServFailure :: IServInstance -> SomeException -> IO a +-handleIServFailure iserv e = do +- let proc = iservProcess iserv +- ex <- getProcessExitCode proc +- case ex of +- Just (ExitFailure n) -> +- throwIO (InstallationError ("ghc-iserv terminated (" ++ show n ++ ")")) +- _ -> do +- terminateProcess proc +- _ <- waitForProcess proc +- throw e ++-- IServ specific calls and messages + + -- | Spawn an external interpreter +-spawnIServ :: IServConfig -> IO IServInstance ++spawnIServ :: IServConfig -> IO (ExtInterpInstance ()) + spawnIServ conf = do + iservConfTrace conf + let createProc = fromMaybe (\cp -> do { (_,_,_,ph) <- createProcess cp + ; return ph }) + (iservConfHook conf) + (ph, rh, wh) <- runWithPipes createProc (iservConfProgram conf) ++ [] + (iservConfOpts conf) + lo_ref <- newIORef Nothing +- return $ IServInstance +- { iservPipe = Pipe { pipeRead = rh, pipeWrite = wh, pipeLeftovers = lo_ref } +- , iservProcess = ph +- , iservLookupSymbolCache = emptyUFM +- , iservPendingFrees = [] +- } ++ let pipe = Pipe { pipeRead = rh, pipeWrite = wh, pipeLeftovers = lo_ref } ++ let process = InterpProcess ++ { interpHandle = ph ++ , interpPipe = pipe ++ } ++ ++ pending_frees <- newMVar [] ++ lookup_cache <- newMVar emptyUFM ++ let inst = ExtInterpInstance ++ { instProcess = process ++ , instPendingFrees = pending_frees ++ , instLookupSymbolCache = lookup_cache ++ , instExtra = () ++ } ++ pure inst + + -- | Stop the interpreter + stopInterp :: Interp -> IO () +@@ -594,76 +594,16 @@ stopInterp interp = case interpInstance interp of + #if defined(HAVE_INTERNAL_INTERPRETER) + InternalInterp -> pure () + #endif +- ExternalInterp _ (IServ mstate) -> ++ ExternalInterp ext -> withExtInterpStatus ext $ \mstate -> do + MC.mask $ \_restore -> modifyMVar_ mstate $ \state -> do + case state of +- IServPending -> pure state -- already stopped +- IServRunning i -> do +- ex <- getProcessExitCode (iservProcess i) ++ InterpPending -> pure state -- already stopped ++ InterpRunning i -> do ++ ex <- getProcessExitCode (interpHandle (instProcess i)) + if isJust ex + then pure () +- else iservCall i Shutdown +- pure IServPending +- +-runWithPipes :: (CreateProcess -> IO ProcessHandle) +- -> FilePath -> [String] -> IO (ProcessHandle, Handle, Handle) +-#if defined(mingw32_HOST_OS) +-foreign import ccall "io.h _close" +- c__close :: CInt -> IO CInt +- +-foreign import ccall unsafe "io.h _get_osfhandle" +- _get_osfhandle :: CInt -> IO CInt +- +-runWithPipesPOSIX :: (CreateProcess -> IO ProcessHandle) +- -> FilePath -> [String] -> IO (ProcessHandle, Handle, Handle) +-runWithPipesPOSIX createProc prog opts = do +- (rfd1, wfd1) <- createPipeFd -- we read on rfd1 +- (rfd2, wfd2) <- createPipeFd -- we write on wfd2 +- wh_client <- _get_osfhandle wfd1 +- rh_client <- _get_osfhandle rfd2 +- let args = show wh_client : show rh_client : opts +- ph <- createProc (proc prog args) +- rh <- mkHandle rfd1 +- wh <- mkHandle wfd2 +- return (ph, rh, wh) +- where mkHandle :: CInt -> IO Handle +- mkHandle fd = (fdToHandle fd) `Ex.onException` (c__close fd) +- +-# if defined (__IO_MANAGER_WINIO__) +-runWithPipesNative :: (CreateProcess -> IO ProcessHandle) +- -> FilePath -> [String] -> IO (ProcessHandle, Handle, Handle) +-runWithPipesNative createProc prog opts = do +- (rh, wfd1) <- createPipe -- we read on rfd1 +- (rfd2, wh) <- createPipe -- we write on wfd2 +- wh_client <- handleToHANDLE wfd1 +- rh_client <- handleToHANDLE rfd2 +- -- Associate the handle with the current manager +- -- but don't touch the ones we're passing to the child +- -- since it needs to register the handle with its own manager. +- associateHandle' =<< handleToHANDLE rh +- associateHandle' =<< handleToHANDLE wh +- let args = show wh_client : show rh_client : opts +- ph <- createProc (proc prog args) +- return (ph, rh, wh) +- +-runWithPipes = runWithPipesPOSIX runWithPipesNative +-# else +-runWithPipes = runWithPipesPOSIX +-# endif +-#else +-runWithPipes createProc prog opts = do +- (rfd1, wfd1) <- Posix.createPipe -- we read on rfd1 +- (rfd2, wfd2) <- Posix.createPipe -- we write on wfd2 +- setFdOption rfd1 CloseOnExec True +- setFdOption wfd2 CloseOnExec True +- let args = show wfd1 : show rfd2 : opts +- ph <- createProc (proc prog args) +- closeFd wfd1 +- closeFd rfd2 +- rh <- fdToHandle rfd1 +- wh <- fdToHandle wfd2 +- return (ph, rh, wh) +-#endif ++ else sendMessage i Shutdown ++ pure InterpPending + + -- ----------------------------------------------------------------------------- + {- Note [External GHCi pointers] +@@ -680,10 +620,10 @@ we cannot use this to refer to things in the external process. + RemoteRef + --------- + +-RemoteRef is a StablePtr to a heap-resident value. When +--fexternal-interpreter is used, this value resides in the external +-process's heap. RemoteRefs are mostly used to send pointers in +-messages between GHC and iserv. ++RemoteRef is a StablePtr to a heap-resident value. When -fexternal-interpreter ++or the JS interpreter is used, this value resides in the external process's ++heap. RemoteRefs are mostly used to send pointers in messages between GHC and ++iserv. + + A RemoteRef must be explicitly freed when no longer required, using + freeHValueRefs, or by attaching a finalizer with mkForeignHValue. +@@ -709,20 +649,18 @@ principle it would probably be ok, but it seems less hairy this way. + -- 'RemoteRef' when it is no longer referenced. + mkFinalizedHValue :: Interp -> RemoteRef a -> IO (ForeignRef a) + mkFinalizedHValue interp rref = do +- let hvref = toHValueRef rref +- +- free <- case interpInstance interp of ++ case interpInstance interp of + #if defined(HAVE_INTERNAL_INTERPRETER) +- InternalInterp -> return (freeRemoteRef hvref) ++ InternalInterp -> mkForeignRef rref (freeRemoteRef rref) + #endif +- ExternalInterp _ (IServ i) -> return $ modifyMVar_ i $ \state -> +- case state of +- IServPending {} -> pure state -- already shut down +- IServRunning inst -> do +- let !inst' = inst {iservPendingFrees = hvref:iservPendingFrees inst} +- pure (IServRunning inst') ++ ExternalInterp ext -> withExtInterpMaybe ext $ \case ++ Nothing -> mkForeignRef rref (pure ()) -- nothing to do, interpreter already stopped ++ Just inst -> mkForeignRef rref (freeReallyRemoteRef inst rref) + +- mkForeignRef rref free ++freeReallyRemoteRef :: ExtInterpInstance d -> RemoteRef a -> IO () ++freeReallyRemoteRef inst rref = ++ -- add to the list of HValues to free ++ modifyMVar_ (instPendingFrees inst) (\xs -> pure (castRemoteRef rref : xs)) + + + freeHValueRefs :: Interp -> [HValueRef] -> IO () +@@ -772,7 +710,9 @@ interpreterProfiled interp = case interpInstance interp of + #if defined(HAVE_INTERNAL_INTERPRETER) + InternalInterp -> hostIsProfiled + #endif +- ExternalInterp c _ -> iservConfProfiled c ++ ExternalInterp ext -> case ext of ++ ExtIServ i -> iservConfProfiled (interpConfig i) ++ ExtJS {} -> False -- we don't support profiling yet in the JS backend + + -- | Interpreter uses Dynamic way + interpreterDynamic :: Interp -> Bool +@@ -780,4 +720,6 @@ interpreterDynamic interp = case interpInstance interp of + #if defined(HAVE_INTERNAL_INTERPRETER) + InternalInterp -> hostIsDynamic + #endif +- ExternalInterp c _ -> iservConfDynamic c ++ ExternalInterp ext -> case ext of ++ ExtIServ i -> iservConfDynamic (interpConfig i) ++ ExtJS {} -> False -- dynamic doesn't make sense for JS +diff --git a/compiler/GHC/Runtime/Interpreter/JS.hs b/compiler/GHC/Runtime/Interpreter/JS.hs +new file mode 100644 +index 0000000000..2016eb4458 +--- /dev/null ++++ b/compiler/GHC/Runtime/Interpreter/JS.hs +@@ -0,0 +1,391 @@ ++{-# LANGUAGE GADTs #-} ++{-# LANGUAGE TupleSections #-} ++{-# LANGUAGE BlockArguments #-} ++{-# LANGUAGE LambdaCase #-} ++ ++-- | JavaScript interpreter ++-- ++-- The JS interpreter works as follows: ++-- ++-- ghc-interp.js is a simple JS script used to bootstrap the external ++-- interpreter server (iserv) that is written in Haskell. This script waits for ++-- commands on stdin: ++-- LOAD foo.js -- load a JS file in the current JS environment ++-- RUN_SERVER -- execute h$main(h$ghciZCGHCiziServerzidefaultServer) ++-- (entry point of the interpreter server) ++-- ++-- On the GHC side, when we need the interpreter we do the following: ++-- ++-- 1. spawn nodejs with $topdir/ghc-interp.js script ++-- 2. link the JS rts and send a LOAD command to load it ++-- 3. link iserv (i.e. use GHCi.Server.defaultServer as root) and LOAD it ++-- 4. send a RUN_SERVER command to execute the JS iserv ++-- ++-- From this moment on, everything happens as with the native iserv, using a ++-- pipe for communication, with the following differences: ++-- ++-- - the JS iserv only supports the LoadObj linking command which has been ++-- repurposed to load a JS source file. The JS iserv doesn't deal with ++-- libraries (.a) and with object files (.o). The linker state is maintained on ++-- the GHC side and GHC only sends the appropriate chunks of JS code to link. ++-- ++-- - the JS iserv doesn't support ByteCode (i.e. it doesn't support CreateBCOs ++-- messages). JS iserv clients should use the usual JS compilation pipeline and ++-- send JS code instead. See GHC.Driver.Main.hscCompileCoreExpr for an example. ++-- ++-- GHC keeps track of JS blocks (JS unit of linking corresponding to top-level ++-- binding groups) that have already been linked by the JS interpreter. It only ++-- links new ones when necessary, using the JS linker incremental link plan ++-- feature. ++-- ++-- Note that the JS interpreter isn't subject to staging issues: we can use it ++-- in a Stage1 GHC. ++-- ++module GHC.Runtime.Interpreter.JS ++ ( spawnJSInterp ++ , jsLinkRts ++ , jsLinkInterp ++ , jsLinkObject ++ , jsLinkObjects ++ , jsLoadFile ++ , jsRunServer ++ -- * Reexported for convenience ++ , mkExportedModFuns ++ ) ++where ++ ++import GHC.Prelude ++import GHC.Runtime.Interpreter.Types ++import GHC.Runtime.Interpreter.Process ++import GHC.Runtime.Utils ++import GHCi.Message ++ ++import GHC.StgToJS.Linker.Types ++import GHC.StgToJS.Linker.Linker ++import GHC.StgToJS.Types ++import GHC.StgToJS.Object ++ ++import GHC.Unit.Env ++import GHC.Unit.Types ++import GHC.Unit.State ++ ++import GHC.Utils.Logger ++import GHC.Utils.TmpFs ++import GHC.Utils.Panic ++import GHC.Utils.Error (logInfo) ++import GHC.Utils.Outputable (text) ++import GHC.Data.FastString ++import GHC.Types.Unique.FM ++ ++import Control.Concurrent ++import Control.Monad ++ ++import System.Process ++import System.IO ++import System.FilePath ++ ++import Data.IORef ++import qualified Data.Set as Set ++import qualified Data.ByteString as B ++ ++import Foreign.C.String ++ ++--------------------------------------------------------- ++-- Running node ++--------------------------------------------------------- ++ ++-- | Start NodeJS interactively with "ghc-interp.js" script loaded in ++startTHRunnerProcess :: FilePath -> NodeJsSettings -> IO (Handle,InterpProcess) ++startTHRunnerProcess interp_js settings = do ++ interp_in <- newIORef undefined ++ ++ let createProc cp = do ++ let cp' = cp ++ { std_in = CreatePipe ++ , std_out = Inherit ++ , std_err = Inherit ++ } ++ (mb_in, _mb_out, _mb_err, hdl) <- createProcess cp' ++ -- we can't directly return stdin for the process given the current ++ -- implementation of runWithPipes. So we just use an IORef for this... ++ case mb_in of ++ Nothing -> panic "startTHRunnerProcess: expected stdin for interpreter" ++ Just i -> writeIORef interp_in i ++ return hdl ++ ++ (hdl, rh, wh) <- runWithPipes createProc (nodeProgram settings) ++ [interp_js] ++ (nodeExtraArgs settings) ++ std_in <- readIORef interp_in ++ ++ lo_ref <- newIORef Nothing ++ let pipe = Pipe { pipeRead = rh, pipeWrite = wh, pipeLeftovers = lo_ref } ++ let proc = InterpProcess ++ { interpHandle = hdl ++ , interpPipe = pipe ++ } ++ pure (std_in, proc) ++ ++-- | Spawn a JS interpreter ++-- ++-- Run NodeJS with "ghc-interp.js" loaded in. Then load GHCi.Server and its deps ++-- (including the rts) and run GHCi.Server.defaultServer. ++spawnJSInterp :: JSInterpConfig -> IO (ExtInterpInstance JSInterpExtra) ++spawnJSInterp cfg = do ++ let logger= jsInterpLogger cfg ++ when (logVerbAtLeast logger 2) $ ++ logInfo logger (text "Spawning JS interpreter") ++ ++ let tmpfs = jsInterpTmpFs cfg ++ tmp_dir = jsInterpTmpDir cfg ++ logger = jsInterpLogger cfg ++ codegen_cfg = jsInterpCodegenCfg cfg ++ unit_env = jsInterpUnitEnv cfg ++ finder_opts = jsInterpFinderOpts cfg ++ finder_cache = jsInterpFinderCache cfg ++ ++ (std_in, proc) <- startTHRunnerProcess (jsInterpScript cfg) (jsInterpNodeConfig cfg) ++ ++ js_state <- newMVar (JSState ++ { jsLinkState = emptyLinkPlan ++ , jsServerStarted = False ++ }) ++ ++ -- get the unit-id of the ghci package. We need this to load the ++ -- interpreter code. ++ ghci_unit_id <- case lookupPackageName (ue_units unit_env) (PackageName (fsLit "ghci")) of ++ Nothing -> cmdLineErrorIO "JS interpreter: couldn't find \"ghci\" package" ++ Just i -> pure i ++ ++ let extra = JSInterpExtra ++ { instStdIn = std_in ++ , instJSState = js_state ++ , instFinderCache = finder_cache ++ , instFinderOpts = finder_opts ++ , instGhciUnitId = ghci_unit_id ++ } ++ ++ pending_frees <- newMVar [] ++ lookup_cache <- newMVar emptyUFM ++ let inst = ExtInterpInstance ++ { instProcess = proc ++ , instPendingFrees = pending_frees ++ , instLookupSymbolCache = lookup_cache ++ , instExtra = extra ++ } ++ ++ -- link rts and its deps ++ jsLinkRts logger tmpfs tmp_dir codegen_cfg unit_env inst ++ ++ -- link interpreter and its deps ++ jsLinkInterp logger tmpfs tmp_dir codegen_cfg unit_env inst ++ ++ -- run interpreter main loop ++ jsRunServer inst ++ ++ pure inst ++ ++ ++ ++--------------------------------------------------------- ++-- Interpreter commands ++--------------------------------------------------------- ++ ++-- | Link JS RTS ++jsLinkRts :: Logger -> TmpFs -> TempDir -> StgToJSConfig -> UnitEnv -> ExtInterpInstance JSInterpExtra -> IO () ++jsLinkRts logger tmpfs tmp_dir cfg unit_env inst = do ++ let link_cfg = JSLinkConfig ++ { lcNoStats = True -- we don't need the stats ++ , lcNoRts = False -- we need the RTS ++ , lcCombineAll = False -- we don't need the combined all.js, we'll link each part independently below ++ , lcForeignRefs = False -- we don't need foreign references ++ , lcNoJSExecutables = True -- we don't need executables ++ , lcNoHsMain = True -- nor HsMain ++ } ++ ++ -- link the RTS and its dependencies (things it uses from `base`, etc.) ++ let link_spec = LinkSpec ++ { lks_unit_ids = [rtsUnitId, baseUnitId, primUnitId] ++ , lks_obj_files = mempty ++ , lks_obj_root_filter = const False ++ , lks_extra_roots = mempty ++ , lks_extra_js = mempty ++ } ++ ++ let finder_opts = instFinderOpts (instExtra inst) ++ finder_cache = instFinderCache (instExtra inst) ++ ++ link_plan <- computeLinkDependencies cfg unit_env link_spec finder_opts finder_cache ++ jsLinkPlan logger tmpfs tmp_dir link_cfg cfg inst link_plan ++ ++-- | Link JS interpreter ++jsLinkInterp :: Logger -> TmpFs -> TempDir -> StgToJSConfig -> UnitEnv -> ExtInterpInstance JSInterpExtra -> IO () ++jsLinkInterp logger tmpfs tmp_dir cfg unit_env inst = do ++ ++ let link_cfg = JSLinkConfig ++ { lcNoStats = True -- we don't need the stats ++ , lcNoRts = True -- we don't need the RTS ++ , lcCombineAll = False -- we don't need the combined all.js, we'll link each part independently below ++ , lcForeignRefs = False -- we don't need foreign references ++ , lcNoJSExecutables = True -- we don't need executables ++ , lcNoHsMain = True -- nor HsMain ++ } ++ ++ let is_root _ = True -- FIXME: we shouldn't consider every function as a root ++ ++ let ghci_unit_id = instGhciUnitId (instExtra inst) ++ ++ -- compute unit dependencies of ghc_unit_id ++ let unit_map = unitInfoMap (ue_units unit_env) ++ dep_units <- mayThrowUnitErr $ closeUnitDeps unit_map [(ghci_unit_id,Nothing)] ++ let units = dep_units ++ [ghci_unit_id] ++ ++ -- indicate that our root function is GHCi.Server.defaultServer ++ let root_deps = Set.fromList $ mkExportedFuns ghci_unit_id (fsLit "GHCi.Server") [fsLit "defaultServer"] ++ ++ -- link the interpreter and its dependencies ++ let link_spec = LinkSpec ++ { lks_unit_ids = units ++ , lks_obj_files = mempty ++ , lks_obj_root_filter = is_root ++ , lks_extra_roots = root_deps ++ , lks_extra_js = mempty ++ } ++ ++ let finder_cache = instFinderCache (instExtra inst) ++ finder_opts = instFinderOpts (instExtra inst) ++ ++ link_plan <- computeLinkDependencies cfg unit_env link_spec finder_opts finder_cache ++ ++ jsLinkPlan logger tmpfs tmp_dir link_cfg cfg inst link_plan ++ ++ ++-- | Link object files ++jsLinkObjects :: Logger -> TmpFs -> TempDir -> StgToJSConfig -> UnitEnv -> ExtInterpInstance JSInterpExtra -> [FilePath] -> (ExportedFun -> Bool) -> IO () ++jsLinkObjects logger tmpfs tmp_dir cfg unit_env inst objs is_root = do ++ let link_cfg = JSLinkConfig ++ { lcNoStats = True -- we don't need the stats ++ , lcNoRts = True -- we don't need the RTS (already linked) ++ , lcCombineAll = False -- we don't need the combined all.js, we'll link each part independently below ++ , lcForeignRefs = False -- we don't need foreign references ++ , lcNoJSExecutables = True -- we don't need executables ++ , lcNoHsMain = True -- nor HsMain ++ } ++ ++ let units = preloadUnits (ue_units unit_env) ++ ++ [thUnitId] -- don't forget TH which is an implicit dep ++ ++ -- compute dependencies ++ let link_spec = LinkSpec ++ { lks_unit_ids = units ++ , lks_obj_files = fmap ObjFile objs ++ , lks_obj_root_filter = is_root ++ , lks_extra_roots = mempty ++ , lks_extra_js = mempty ++ } ++ ++ let finder_opts = instFinderOpts (instExtra inst) ++ finder_cache = instFinderCache (instExtra inst) ++ ++ link_plan <- computeLinkDependencies cfg unit_env link_spec finder_opts finder_cache ++ ++ -- link ++ jsLinkPlan logger tmpfs tmp_dir link_cfg cfg inst link_plan ++ ++ ++ ++-- | Link an object file using the given functions as roots ++jsLinkObject :: Logger -> TmpFs -> TempDir -> StgToJSConfig -> UnitEnv -> ExtInterpInstance JSInterpExtra -> FilePath -> [ExportedFun] -> IO () ++jsLinkObject logger tmpfs tmp_dir cfg unit_env inst obj roots = do ++ let is_root f = Set.member f (Set.fromList roots) ++ let objs = [obj] ++ jsLinkObjects logger tmpfs tmp_dir cfg unit_env inst objs is_root ++ ++ ++-- | Link the given link plan ++-- ++-- Perform incremental linking by removing what is already linked from the plan ++jsLinkPlan :: Logger -> TmpFs -> TempDir -> JSLinkConfig -> StgToJSConfig -> ExtInterpInstance JSInterpExtra -> LinkPlan -> IO () ++jsLinkPlan logger tmpfs tmp_dir link_cfg cfg inst link_plan = do ++ ---------------------------------------------------------------- ++ -- Get already linked stuff and compute incremental plan ++ ---------------------------------------------------------------- ++ ++ old_plan <- jsLinkState <$> readMVar (instJSState (instExtra inst)) ++ ++ -- compute new plan discarding what's already linked ++ let (diff_plan, total_plan) = incrementLinkPlan old_plan link_plan ++ ++ ---------------------------------------------------------------- ++ -- Generate JS code for the incremental plan ++ ---------------------------------------------------------------- ++ ++ tmp_out <- newTempSubDir logger tmpfs tmp_dir ++ void $ jsLink link_cfg cfg logger tmp_out diff_plan ++ ++ -- Code has been linked into the following files: ++ -- - generated rts from tmp_out/rts.js (depends on link options) ++ -- - raw js files from tmp_out/lib.js ++ -- - Haskell generated JS from tmp_out/out.js ++ ++ -- We need to combine at least rts.js and lib.js for the RTS because they ++ -- depend on each other. We might as well combine them all, so that's what we ++ -- do. ++ let filenames ++ | lcNoRts link_cfg = ["lib.js", "out.js"] ++ | otherwise = ["rts.js", "lib.js", "out.js"] ++ let files = map (tmp_out ) filenames ++ let all_js = tmp_out "all.js" ++ let all_files = all_js : files ++ withBinaryFile all_js WriteMode $ \h -> do ++ let cpy i = B.readFile i >>= B.hPut h ++ mapM_ cpy files ++ ++ -- add files to clean ++ addFilesToClean tmpfs TFL_CurrentModule all_files ++ ++ ---------------------------------------------------------------- ++ -- Link JS code ++ ---------------------------------------------------------------- ++ ++ -- linking JS code depends on the phase we're in: ++ -- - during in the initialization phase, we send a LoadFile message to the ++ -- JS server; ++ -- - once the Haskell server is started, we send a LoadObj message to the ++ -- Haskell server. ++ server_started <- jsServerStarted <$> readMVar (instJSState (instExtra inst)) ++ if server_started ++ then sendMessageNoResponse inst $ LoadObj all_js ++ else jsLoadFile inst all_js ++ ++ ---------------------------------------------------------------- ++ -- update linker state ++ ---------------------------------------------------------------- ++ modifyMVar_ (instJSState (instExtra inst)) $ \state -> pure state { jsLinkState = total_plan } ++ ++ ++-- | Send a command to the JS interpreter ++jsSendCommand :: ExtInterpInstance JSInterpExtra -> String -> IO () ++jsSendCommand inst cmd = send_cmd cmd ++ where ++ extra = instExtra inst ++ handle = instStdIn extra ++ send_cmd s = do ++ withCStringLen s \(p,n) -> hPutBuf handle p n ++ hFlush handle ++ ++-- | Load a JS file in the interpreter ++jsLoadFile :: ExtInterpInstance JSInterpExtra -> FilePath -> IO () ++jsLoadFile inst path = jsSendCommand inst ("LOAD " ++ path ++ "\n") ++ ++-- | Run JS server ++jsRunServer :: ExtInterpInstance JSInterpExtra -> IO () ++jsRunServer inst = do ++ let ghci_unit_id = instGhciUnitId (instExtra inst) ++ let zghci_unit_id = zString (zEncodeFS (unitIdFS ghci_unit_id)) ++ ++ -- Run `GHCi.Server.defaultServer` ++ jsSendCommand inst ("RUN_SERVER " ++ zghci_unit_id ++ "\n") ++ ++ -- indicate that the Haskell server is now started ++ modifyMVar_ (instJSState (instExtra inst)) $ \state -> pure state { jsServerStarted = True } +diff --git a/compiler/GHC/Runtime/Interpreter/Process.hs b/compiler/GHC/Runtime/Interpreter/Process.hs +new file mode 100644 +index 0000000000..a93d00d7bc +--- /dev/null ++++ b/compiler/GHC/Runtime/Interpreter/Process.hs +@@ -0,0 +1,102 @@ ++module GHC.Runtime.Interpreter.Process ++ ( ++ -- * Low-level API ++ callInterpProcess ++ , readInterpProcess ++ , writeInterpProcess ++ ++ -- * Message API ++ , Message(..) ++ , DelayedResponse (..) ++ , sendMessage ++ , sendMessageNoResponse ++ , sendMessageDelayedResponse ++ , sendAnyValue ++ , receiveAnyValue ++ , receiveDelayedResponse ++ , receiveTHMessage ++ ++ ) ++where ++ ++import GHC.Prelude ++ ++import GHC.Runtime.Interpreter.Types ++import GHCi.Message ++ ++import GHC.IO (catchException) ++import GHC.Utils.Panic ++import GHC.Utils.Exception as Ex ++ ++import Data.Binary ++import System.Exit ++import System.Process ++ ++data DelayedResponse a = DelayedResponse ++ ++-- | Send a message to the interpreter process that doesn't expect a response ++sendMessageNoResponse :: ExtInterpInstance d -> Message () -> IO () ++sendMessageNoResponse i m = writeInterpProcess (instProcess i) (putMessage m) ++ ++-- | Send a message to the interpreter that excepts a response ++sendMessage :: Binary a => ExtInterpInstance d -> Message a -> IO a ++sendMessage i m = callInterpProcess (instProcess i) m ++ ++-- | Send a message to the interpreter process whose response is expected later ++-- ++-- This is useful to avoid forgetting to receive the value and to ensure that ++-- the type of the response isn't lost. Use receiveDelayedResponse to read it. ++sendMessageDelayedResponse :: ExtInterpInstance d -> Message a -> IO (DelayedResponse a) ++sendMessageDelayedResponse i m = do ++ writeInterpProcess (instProcess i) (putMessage m) ++ pure DelayedResponse ++ ++-- | Send any value ++sendAnyValue :: Binary a => ExtInterpInstance d -> a -> IO () ++sendAnyValue i m = writeInterpProcess (instProcess i) (put m) ++ ++-- | Expect a value to be received ++receiveAnyValue :: ExtInterpInstance d -> Get a -> IO a ++receiveAnyValue i get = readInterpProcess (instProcess i) get ++ ++-- | Expect a delayed result to be received now ++receiveDelayedResponse :: Binary a => ExtInterpInstance d -> DelayedResponse a -> IO a ++receiveDelayedResponse i DelayedResponse = readInterpProcess (instProcess i) get ++ ++-- | Expect a value to be received ++receiveTHMessage :: ExtInterpInstance d -> IO THMsg ++receiveTHMessage i = receiveAnyValue i getTHMessage ++ ++ ++-- ----------------------------------------------------------------------------- ++-- Low-level API ++ ++-- | Send a 'Message' and receive the response from the interpreter process ++callInterpProcess :: Binary a => InterpProcess -> Message a -> IO a ++callInterpProcess i msg = ++ remoteCall (interpPipe i) msg ++ `catchException` \(e :: SomeException) -> handleInterpProcessFailure i e ++ ++-- | Read a value from the interpreter process ++readInterpProcess :: InterpProcess -> Get a -> IO a ++readInterpProcess i get = ++ readPipe (interpPipe i) get ++ `catchException` \(e :: SomeException) -> handleInterpProcessFailure i e ++ ++-- | Send a value to the interpreter process ++writeInterpProcess :: InterpProcess -> Put -> IO () ++writeInterpProcess i put = ++ writePipe (interpPipe i) put ++ `catchException` \(e :: SomeException) -> handleInterpProcessFailure i e ++ ++handleInterpProcessFailure :: InterpProcess -> SomeException -> IO a ++handleInterpProcessFailure i e = do ++ let hdl = interpHandle i ++ ex <- getProcessExitCode hdl ++ case ex of ++ Just (ExitFailure n) -> ++ throwIO (InstallationError ("External interpreter terminated (" ++ show n ++ ")")) ++ _ -> do ++ terminateProcess hdl ++ _ <- waitForProcess hdl ++ throw e +diff --git a/compiler/GHC/Runtime/Interpreter/Types.hs b/compiler/GHC/Runtime/Interpreter/Types.hs +index e1b33198d0..962c21491f 100644 +--- a/compiler/GHC/Runtime/Interpreter/Types.hs ++++ b/compiler/GHC/Runtime/Interpreter/Types.hs +@@ -4,10 +4,22 @@ + module GHC.Runtime.Interpreter.Types + ( Interp(..) + , InterpInstance(..) +- , IServ(..) +- , IServInstance(..) ++ , InterpProcess (..) ++ , ExtInterp (..) ++ , ExtInterpStatusVar ++ , ExtInterpInstance (..) ++ , ExtInterpState (..) ++ , InterpStatus(..) ++ -- * IServ ++ , IServ + , IServConfig(..) +- , IServState(..) ++ -- * JSInterp ++ , JSInterp ++ , JSInterpExtra (..) ++ , JSInterpConfig (..) ++ , JSState (..) ++ , NodeJsSettings (..) ++ , defaultNodeJsSettings + ) + where + +@@ -20,8 +32,17 @@ import GHC.Types.Unique.FM + import GHC.Data.FastString ( FastString ) + import Foreign + ++import GHC.Utils.TmpFs ++import GHC.Utils.Logger ++import GHC.Unit.Env ++import GHC.Unit.Types ++import GHC.StgToJS.Types ++import GHC.StgToJS.Linker.Types ++ + import Control.Concurrent + import System.Process ( ProcessHandle, CreateProcess ) ++import System.IO ++import GHC.Unit.Finder.Types (FinderCache, FinderOpts) + + -- | Interpreter + data Interp = Interp +@@ -32,24 +53,40 @@ data Interp = Interp + -- ^ Interpreter loader + } + +- + data InterpInstance +- = ExternalInterp !IServConfig !IServ -- ^ External interpreter ++ = ExternalInterp !ExtInterp -- ^ External interpreter + #if defined(HAVE_INTERNAL_INTERPRETER) +- | InternalInterp -- ^ Internal interpreter ++ | InternalInterp -- ^ Internal interpreter + #endif + ++data ExtInterp ++ = ExtIServ !IServ ++ | ExtJS !JSInterp ++ + -- | External interpreter + -- + -- The external interpreter is spawned lazily (on first use) to avoid slowing + -- down sessions that don't require it. The contents of the MVar reflects the + -- state of the interpreter (running or not). +-newtype IServ = IServ (MVar IServState) ++data ExtInterpState cfg details = ExtInterpState ++ { interpConfig :: !cfg ++ , interpStatus :: !(ExtInterpStatusVar details) ++ } ++ ++type ExtInterpStatusVar d = MVar (InterpStatus (ExtInterpInstance d)) ++ ++type IServ = ExtInterpState IServConfig () ++type JSInterp = ExtInterpState JSInterpConfig JSInterpExtra + +--- | State of an external interpreter +-data IServState +- = IServPending -- ^ Not spawned yet +- | IServRunning !IServInstance -- ^ Running ++data InterpProcess = InterpProcess ++ { interpPipe :: !Pipe -- ^ Pipe to communicate with the server ++ , interpHandle :: !ProcessHandle -- ^ Process handle of the server ++ } ++ ++-- | Status of an external interpreter ++data InterpStatus inst ++ = InterpPending -- ^ Not spawned yet ++ | InterpRunning !inst -- ^ Running + + -- | Configuration needed to spawn an external interpreter + data IServConfig = IServConfig +@@ -61,14 +98,66 @@ data IServConfig = IServConfig + , iservConfTrace :: IO () -- ^ Trace action executed after spawn + } + +--- | External interpreter instance +-data IServInstance = IServInstance +- { iservPipe :: !Pipe +- , iservProcess :: !ProcessHandle +- , iservLookupSymbolCache :: !(UniqFM FastString (Ptr ())) +- , iservPendingFrees :: ![HValueRef] ++-- | Common field between native external interpreter and the JS one ++data ExtInterpInstance c = ExtInterpInstance ++ { instProcess :: {-# UNPACK #-} !InterpProcess ++ -- ^ External interpreter process and its pipe (communication channel) ++ ++ , instPendingFrees :: !(MVar [HValueRef]) + -- ^ Values that need to be freed before the next command is sent. +- -- Threads can append values to this list asynchronously (by modifying the +- -- IServ state MVar). ++ -- Finalizers for ForeignRefs can append values to this list ++ -- asynchronously. ++ ++ , instLookupSymbolCache :: !(MVar (UniqFM FastString (Ptr ()))) ++ -- ^ LookupSymbol cache ++ ++ , instExtra :: !c ++ -- ^ Instance specific extra fields ++ } ++ ++------------------------ ++-- JS Stuff ++------------------------ ++ ++data JSInterpExtra = JSInterpExtra ++ { instStdIn :: !Handle -- ^ Stdin for the process ++ , instFinderCache :: !FinderCache ++ , instFinderOpts :: !FinderOpts ++ , instJSState :: !(MVar JSState) -- ^ Mutable state ++ , instGhciUnitId :: !UnitId -- ^ GHCi unit-id ++ } ++ ++data JSState = JSState ++ { jsLinkState :: !LinkPlan -- ^ Linker state of the interpreter ++ , jsServerStarted :: !Bool -- ^ Is the Haskell server started? ++ } ++ ++-- | NodeJs configuration ++data NodeJsSettings = NodeJsSettings ++ { nodeProgram :: FilePath -- ^ location of node.js program ++ , nodePath :: Maybe FilePath -- ^ value of NODE_PATH environment variable (search path for Node modules; GHCJS used to provide some) ++ , nodeExtraArgs :: [String] -- ^ extra arguments to pass to node.js ++ , nodeKeepAliveMaxMem :: Integer -- ^ keep node.js (TH, GHCJSi) processes alive if they don't use more than this ++ } ++ ++defaultNodeJsSettings :: NodeJsSettings ++defaultNodeJsSettings = NodeJsSettings ++ { nodeProgram = "node" ++ , nodePath = Nothing ++ , nodeExtraArgs = [] ++ , nodeKeepAliveMaxMem = 536870912 ++ } ++ ++ ++data JSInterpConfig = JSInterpConfig ++ { jsInterpNodeConfig :: !NodeJsSettings -- ^ NodeJS settings ++ , jsInterpScript :: !FilePath -- ^ Path to "ghc-interp.js" script ++ , jsInterpTmpFs :: !TmpFs ++ , jsInterpTmpDir :: !TempDir ++ , jsInterpLogger :: !Logger ++ , jsInterpCodegenCfg :: !StgToJSConfig ++ , jsInterpUnitEnv :: !UnitEnv ++ , jsInterpFinderOpts :: !FinderOpts ++ , jsInterpFinderCache :: !FinderCache + } + +diff --git a/compiler/GHC/Runtime/Utils.hs b/compiler/GHC/Runtime/Utils.hs +new file mode 100644 +index 0000000000..083d592990 +--- /dev/null ++++ b/compiler/GHC/Runtime/Utils.hs +@@ -0,0 +1,84 @@ ++{-# LANGUAGE CPP #-} ++ ++module GHC.Runtime.Utils ++ ( runWithPipes ++ ) ++where ++ ++import GHC.Prelude ++ ++#if defined(mingw32_HOST_OS) ++import Foreign.C ++import GHC.IO.Handle.FD (fdToHandle) ++import GHC.Utils.Exception as Ex ++# if defined(__IO_MANAGER_WINIO__) ++import GHC.IO.SubSystem (()) ++import GHC.IO.Handle.Windows (handleToHANDLE) ++import GHC.Event.Windows (associateHandle') ++# endif ++#else ++import System.Posix as Posix ++#endif ++import System.Process ++import System.IO ++ ++runWithPipes :: (CreateProcess -> IO ProcessHandle) ++ -> FilePath -> [String] -> [String] -> IO (ProcessHandle, Handle, Handle) ++#if defined(mingw32_HOST_OS) ++foreign import ccall "io.h _close" ++ c__close :: CInt -> IO CInt ++ ++foreign import ccall unsafe "io.h _get_osfhandle" ++ _get_osfhandle :: CInt -> IO CInt ++ ++runWithPipesPOSIX :: (CreateProcess -> IO ProcessHandle) ++ -> FilePath -> [String] -> [String] -> IO (ProcessHandle, Handle, Handle) ++runWithPipesPOSIX createProc prog pre_opts opts = do ++ (rfd1, wfd1) <- createPipeFd -- we read on rfd1 ++ (rfd2, wfd2) <- createPipeFd -- we write on wfd2 ++ wh_client <- _get_osfhandle wfd1 ++ rh_client <- _get_osfhandle rfd2 ++ let args = pre_opts ++ (show wh_client : show rh_client : opts) ++ ph <- createProc (proc prog args) ++ rh <- mkHandle rfd1 ++ wh <- mkHandle wfd2 ++ return (ph, rh, wh) ++ where mkHandle :: CInt -> IO Handle ++ mkHandle fd = (fdToHandle fd) `Ex.onException` (c__close fd) ++ ++# if defined (__IO_MANAGER_WINIO__) ++runWithPipesNative :: (CreateProcess -> IO ProcessHandle) ++ -> FilePath -> [String] -> [String] -> IO (ProcessHandle, Handle, Handle) ++runWithPipesNative createProc prog pre_opts opts = do ++ (rh, wfd1) <- createPipe -- we read on rfd1 ++ (rfd2, wh) <- createPipe -- we write on wfd2 ++ wh_client <- handleToHANDLE wfd1 ++ rh_client <- handleToHANDLE rfd2 ++ -- Associate the handle with the current manager ++ -- but don't touch the ones we're passing to the child ++ -- since it needs to register the handle with its own manager. ++ associateHandle' =<< handleToHANDLE rh ++ associateHandle' =<< handleToHANDLE wh ++ let args = pre_opts ++ (show wh_client : show rh_client : opts) ++ ph <- createProc (proc prog args) ++ return (ph, rh, wh) ++ ++runWithPipes = runWithPipesPOSIX runWithPipesNative ++# else ++runWithPipes = runWithPipesPOSIX ++# endif ++#else ++runWithPipes createProc prog pre_opts opts = do ++ (rfd1, wfd1) <- Posix.createPipe -- we read on rfd1 ++ (rfd2, wfd2) <- Posix.createPipe -- we write on wfd2 ++ setFdOption rfd1 CloseOnExec True ++ setFdOption wfd2 CloseOnExec True ++ let args = pre_opts ++ (show wfd1 : show rfd2 : opts) ++ ph <- createProc (proc prog args) ++ closeFd wfd1 ++ closeFd rfd2 ++ rh <- fdToHandle rfd1 ++ wh <- fdToHandle wfd2 ++ return (ph, rh, wh) ++#endif ++ +diff --git a/compiler/GHC/StgToJS/CodeGen.hs b/compiler/GHC/StgToJS/CodeGen.hs +index 7703398aea..9bf0f7e0ec 100644 +--- a/compiler/GHC/StgToJS/CodeGen.hs ++++ b/compiler/GHC/StgToJS/CodeGen.hs +@@ -90,11 +90,11 @@ stgToJS logger config stg_binds0 this_mod spt_entries foreign_stubs cccs output_ + -- Doc to dump when -ddump-js is enabled + when (logHasDumpFlag logger Opt_D_dump_js) $ do + putDumpFileMaybe logger Opt_D_dump_js "JavaScript code" FormatJS +- $ vcat (fmap (docToSDoc . jsToDoc . oiStat . luObjUnit) lus) ++ $ vcat (fmap (docToSDoc . jsToDoc . oiStat . luObjBlock) lus) + + -- Write the object file + bh <- openBinMem (4 * 1024 * 1000) -- a bit less than 4kB +- Object.putObject bh (moduleName this_mod) deps (map luObjUnit lus) ++ Object.putObject bh (moduleName this_mod) deps (map luObjBlock lus) + + createDirectoryIfMissing True (takeDirectory output_fn) + writeBinMem bh output_fn +@@ -137,7 +137,7 @@ genUnits m ss spt_entries foreign_stubs = do + jsSaturate (Just $ modulePrefix m 1) + $ mconcat (reverse glbl) <> staticInit) + let syms = [moduleGlobalSymbol m] +- let oi = ObjUnit ++ let oi = ObjBlock + { oiSymbols = syms + , oiClInfo = [] + , oiStatic = [] +@@ -147,7 +147,7 @@ genUnits m ss spt_entries foreign_stubs = do + , oiFImports = [] + } + let lu = LinkableUnit +- { luObjUnit = oi ++ { luObjBlock = oi + , luIdExports = [] + , luOtherExports = syms + , luIdDeps = [] +@@ -169,7 +169,7 @@ genUnits m ss spt_entries foreign_stubs = do + + let syms = [moduleExportsSymbol m] + let raw = utf8EncodeByteString $ renderWithContext defaultSDocContext f_c +- let oi = ObjUnit ++ let oi = ObjBlock + { oiSymbols = syms + , oiClInfo = [] + , oiStatic = [] +@@ -179,7 +179,7 @@ genUnits m ss spt_entries foreign_stubs = do + , oiFImports = [] + } + let lu = LinkableUnit +- { luObjUnit = oi ++ { luObjBlock = oi + , luIdExports = [] + , luOtherExports = syms + , luIdDeps = [] +@@ -210,7 +210,7 @@ genUnits m ss spt_entries foreign_stubs = do + let stat = jsSaturate (Just $ modulePrefix m n) body + let ids = [bnd] + syms <- (\(TxtI i) -> [i]) <$> identForId bnd +- let oi = ObjUnit ++ let oi = ObjBlock + { oiSymbols = syms + , oiClInfo = [] + , oiStatic = si +@@ -220,7 +220,7 @@ genUnits m ss spt_entries foreign_stubs = do + , oiFImports = [] + } + let lu = LinkableUnit +- { luObjUnit = oi ++ { luObjBlock = oi + , luIdExports = ids + , luOtherExports = [] + , luIdDeps = [] +@@ -248,7 +248,7 @@ genUnits m ss spt_entries foreign_stubs = do + jsSaturate (Just $ modulePrefix m n) + $ mconcat (reverse extraTl) <> tl + syms <- mapM (fmap (\(TxtI i) -> i) . identForId) topDeps +- let oi = ObjUnit ++ let oi = ObjBlock + { oiSymbols = syms + , oiClInfo = ci + , oiStatic = si +@@ -258,7 +258,7 @@ genUnits m ss spt_entries foreign_stubs = do + , oiFImports = fRefs + } + let lu = LinkableUnit +- { luObjUnit = oi ++ { luObjBlock = oi + , luIdExports = topDeps + , luOtherExports = [] + , luIdDeps = allDeps +diff --git a/compiler/GHC/StgToJS/Deps.hs b/compiler/GHC/StgToJS/Deps.hs +index 2947736590..5d2964335c 100644 +--- a/compiler/GHC/StgToJS/Deps.hs ++++ b/compiler/GHC/StgToJS/Deps.hs +@@ -22,7 +22,7 @@ where + + import GHC.Prelude + +-import GHC.StgToJS.Object as Object ++import GHC.StgToJS.Object + import GHC.StgToJS.Types + import GHC.StgToJS.Ids + +@@ -56,9 +56,9 @@ import Control.Monad.Trans.Class + import Control.Monad.Trans.State + + data DependencyDataCache = DDC +- { ddcModule :: !(Word64Map Unit) -- ^ Unique Module -> Unit +- , ddcId :: !(Word64Map Object.ExportedFun) -- ^ Unique Id -> Object.ExportedFun (only to other modules) +- , ddcOther :: !(Map OtherSymb Object.ExportedFun) ++ { ddcModule :: !(Word64Map Unit) -- ^ Unique Module -> Unit ++ , ddcId :: !(Word64Map ExportedFun) -- ^ Unique Id -> ExportedFun (only to other modules) ++ , ddcOther :: !(Map OtherSymb ExportedFun) + } + + -- | Generate module dependency data +@@ -69,24 +69,16 @@ genDependencyData + :: HasDebugCallStack + => Module + -> [LinkableUnit] +- -> G Object.Deps ++ -> G BlockInfo + genDependencyData mod units = do +- -- [(blockindex, blockdeps, required, exported)] + ds <- evalStateT (mapM (uncurry oneDep) blocks) + (DDC WM.empty WM.empty M.empty) +- return $ Object.Deps +- { depsModule = mod +- , depsRequired = IS.fromList [ n | (n, _, True, _) <- ds ] +- , depsHaskellExported = M.fromList $ (\(n,_,_,es) -> map (,n) es) =<< ds +- , depsBlocks = listArray (0, length blocks-1) (map (\(_,deps,_,_) -> deps) ds) ++ return $ BlockInfo ++ { bi_module = mod ++ , bi_must_link = IS.fromList [ n | (n, _, True, _) <- ds ] ++ , bi_exports = M.fromList $ (\(n,_,_,es) -> map (,n) es) =<< ds ++ , bi_block_deps = listArray (0, length blocks-1) (map (\(_,deps,_,_) -> deps) ds) + } +- -- XXX +- -- return $ BlockInfo +- -- { bi_module = mod +- -- , bi_must_link = IS.fromList [ n | (n, _, True, _) <- ds ] +- -- , bi_exports = M.fromList $ (\(n,_,_,es) -> map (,n) es) =<< ds +- -- , bi_block_deps = listArray (0, length blocks-1) (map (\(_,deps,_,_) -> deps) ds) +- -- } + where + -- Id -> Block + unitIdExports :: UniqFM Id Int +@@ -107,7 +99,7 @@ genDependencyData mod units = do + -- generate the list of exports and set of dependencies for one unit + oneDep :: LinkableUnit + -> Int +- -> StateT DependencyDataCache G (Int, Object.BlockDeps, Bool, [Object.ExportedFun]) ++ -> StateT DependencyDataCache G (Int, BlockDeps, Bool, [ExportedFun]) + oneDep (LinkableUnit _ idExports otherExports idDeps pseudoIdDeps otherDeps req _frefs) n = do + (edi, bdi) <- partitionEithers <$> mapM (lookupIdFun n) idDeps + (edo, bdo) <- partitionEithers <$> mapM lookupOtherFun otherDeps +@@ -115,9 +107,10 @@ genDependencyData mod units = do + expi <- mapM lookupExportedId (filter isExportedId idExports) + expo <- mapM lookupExportedOther otherExports + -- fixme thin deps, remove all transitive dependencies! +- let bdeps = Object.BlockDeps +- (IS.toList . IS.fromList . filter (/=n) $ bdi++bdo++bdp) +- (S.toList . S.fromList $ edi++edo++edp) ++ let bdeps = BlockDeps ++ { blockBlockDeps = IS.toList . IS.fromList . filter (/=n) $ bdi++bdo++bdp ++ , blockFunDeps = S.toList . S.fromList $ edi++edo++edp ++ } + return (n, bdeps, req, expi++expo) + + idModule :: Id -> Maybe Module +@@ -125,7 +118,7 @@ genDependencyData mod units = do + guard (m /= mod) >> return m + + lookupPseudoIdFun :: Int -> Unique +- -> StateT DependencyDataCache G (Either Object.ExportedFun Int) ++ -> StateT DependencyDataCache G (Either ExportedFun Int) + lookupPseudoIdFun _n u = + case lookupUFM_Directly unitIdExports u of + Just k -> return (Right k) +@@ -138,14 +131,14 @@ genDependencyData mod units = do + -- assumes function is internal to the current block if it's + -- from teh current module and not in the unitIdExports map. + lookupIdFun :: Int -> Id +- -> StateT DependencyDataCache G (Either Object.ExportedFun Int) ++ -> StateT DependencyDataCache G (Either ExportedFun Int) + lookupIdFun n i = case lookupUFM unitIdExports i of + Just k -> return (Right k) + Nothing -> case idModule i of + Nothing -> return (Right n) + Just m -> + let k = getKey . getUnique $ i +- addEntry :: StateT DependencyDataCache G Object.ExportedFun ++ addEntry :: StateT DependencyDataCache G ExportedFun + addEntry = do + (TxtI idTxt) <- lift (identForId i) + lookupExternalFun (Just k) (OtherSymb m idTxt) +@@ -157,7 +150,7 @@ genDependencyData mod units = do + + -- get the function for an OtherSymb from the cache, add it if necessary + lookupOtherFun :: OtherSymb +- -> StateT DependencyDataCache G (Either Object.ExportedFun Int) ++ -> StateT DependencyDataCache G (Either ExportedFun Int) + lookupOtherFun od@(OtherSymb m idTxt) = + case M.lookup od unitOtherExports of + Just n -> return (Right n) +@@ -165,22 +158,22 @@ genDependencyData mod units = do + Nothing -> Left <$> (maybe (lookupExternalFun Nothing od) return =<< + gets (M.lookup od . ddcOther)) + +- lookupExportedId :: Id -> StateT DependencyDataCache G Object.ExportedFun ++ lookupExportedId :: Id -> StateT DependencyDataCache G ExportedFun + lookupExportedId i = do + (TxtI idTxt) <- lift (identForId i) + lookupExternalFun (Just . getKey . getUnique $ i) (OtherSymb mod idTxt) + +- lookupExportedOther :: FastString -> StateT DependencyDataCache G Object.ExportedFun ++ lookupExportedOther :: FastString -> StateT DependencyDataCache G ExportedFun + lookupExportedOther = lookupExternalFun Nothing . OtherSymb mod + + -- lookup a dependency to another module, add to the id cache if there's + -- an id key, otherwise add to other cache + lookupExternalFun :: Maybe Word64 +- -> OtherSymb -> StateT DependencyDataCache G Object.ExportedFun ++ -> OtherSymb -> StateT DependencyDataCache G ExportedFun + lookupExternalFun mbIdKey od@(OtherSymb m idTxt) = do + let mk = getKey . getUnique $ m + mpk = moduleUnit m +- exp_fun = Object.ExportedFun m (LexicalFastString idTxt) ++ exp_fun = ExportedFun m (LexicalFastString idTxt) + addCache = do + ms <- gets ddcModule + let !cache' = WM.insert mk mpk ms +diff --git a/compiler/GHC/StgToJS/Linker/Linker.hs b/compiler/GHC/StgToJS/Linker/Linker.hs +index 0739c73204..d44627f405 100644 +--- a/compiler/GHC/StgToJS/Linker/Linker.hs ++++ b/compiler/GHC/StgToJS/Linker/Linker.hs +@@ -21,7 +21,17 @@ + + module GHC.StgToJS.Linker.Linker + ( jsLinkBinary ++ , jsLink + , embedJsFile ++ , staticInitStat ++ , staticDeclStat ++ , mkExportedFuns ++ , mkExportedModFuns ++ , computeLinkDependencies ++ , LinkSpec (..) ++ , LinkPlan (..) ++ , emptyLinkPlan ++ , incrementLinkPlan + ) + where + +@@ -38,6 +48,7 @@ import GHC.SysTools.Cpp + import GHC.SysTools + + import GHC.Linker.Static.Utils (exeFileName) ++import GHC.Linker.Types (Unlinked(..), linkableUnlinked) + + import GHC.StgToJS.Linker.Types + import GHC.StgToJS.Linker.Utils +@@ -51,7 +62,7 @@ import GHC.StgToJS.Closure + + import GHC.Unit.State + import GHC.Unit.Env +-import GHC.Unit.Home ++import GHC.Unit.Home.ModInfo + import GHC.Unit.Types + import GHC.Unit.Module (moduleStableString) + +@@ -71,23 +82,17 @@ import qualified GHC.SysTools.Ar as Ar + import qualified GHC.Data.ShortText as ST + import GHC.Data.FastString + +-import Control.Concurrent.MVar + import Control.Monad + + import Data.Array + import qualified Data.ByteString as B + import qualified Data.ByteString.Char8 as BC +-import qualified Data.ByteString.Lazy.Char8 as BLC + import qualified Data.ByteString.Lazy as BL + import qualified Data.ByteString as BS + import Data.Function (on) +-import Data.IntSet (IntSet) + import qualified Data.IntSet as IS + import Data.IORef +-import Data.List ( partition, nub, intercalate, sort +- , groupBy, intersperse, +- ) +-import qualified Data.List.NonEmpty as NE ++import Data.List ( nub, intercalate, groupBy, intersperse, sortBy) + import Data.Map.Strict (Map) + import qualified Data.Map.Strict as M + import Data.Maybe +@@ -105,6 +110,10 @@ import System.Directory ( createDirectoryIfMissing + , getPermissions + ) + ++import GHC.Unit.Finder.Types ++import GHC.Unit.Finder (findObjectLinkableMaybe, initFinderCache, findHomeModule) ++import GHC.Driver.Config.Finder (initFinderOpts) ++ + data LinkerStats = LinkerStats + { bytesPerModule :: !(Map Module Word64) -- ^ number of bytes linked per module + , packedMetaDataSize :: !Word64 -- ^ number of bytes for metadata +@@ -125,7 +134,7 @@ jsLinkBinary + -> [FilePath] + -> [UnitId] + -> IO () +-jsLinkBinary lc_cfg cfg js_srcs logger dflags u_env objs dep_pkgs ++jsLinkBinary lc_cfg cfg js_srcs logger dflags unit_env objs dep_units + | lcNoJSExecutables lc_cfg = return () + | otherwise = do + -- additional objects to link are passed as FileOption ldInputs... +@@ -135,47 +144,59 @@ jsLinkBinary lc_cfg cfg js_srcs logger dflags u_env objs dep_pkgs + let + objs' = map ObjFile (objs ++ cmdline_js_objs) + js_srcs' = js_srcs ++ cmdline_js_srcs +- isRoot _ = True ++ is_root _ = True -- FIXME: we shouldn't consider every function as a root, ++ -- but only the program entry point (main), either the ++ -- generated one or coming from an object + exe = jsExeFileName dflags + +- void $ link lc_cfg cfg logger u_env exe mempty dep_pkgs objs' js_srcs' isRoot mempty ++ -- compute dependencies ++ let link_spec = LinkSpec ++ { lks_unit_ids = dep_units ++ , lks_obj_files = objs' ++ , lks_obj_root_filter = is_root ++ , lks_extra_roots = mempty ++ , lks_extra_js = js_srcs' ++ } ++ ++ -- XXX we should probably get this from the HscEnv instead? ++ finder_cache <- initFinderCache ++ ++ let finder_opts = initFinderOpts dflags ++ ++ link_plan <- computeLinkDependencies cfg unit_env link_spec finder_opts finder_cache ++ ++ void $ jsLink lc_cfg cfg logger exe link_plan + + -- | link and write result to disk (jsexe directory) +-link :: JSLinkConfig ++jsLink ++ :: JSLinkConfig + -> StgToJSConfig + -> Logger +- -> UnitEnv + -> FilePath -- ^ output file/directory +- -> [FilePath] -- ^ include path for home package +- -> [UnitId] -- ^ packages to link +- -> [LinkedObj] -- ^ the object files we're linking +- -> [FilePath] -- ^ extra js files to include +- -> (ExportedFun -> Bool) -- ^ functions from the objects to use as roots (include all their deps) +- -> Set ExportedFun -- ^ extra symbols to link in ++ -> LinkPlan + -> IO () +-link lc_cfg cfg logger unit_env out _include units objFiles jsFiles isRootFun extraStaticDeps = do ++jsLink lc_cfg cfg logger out link_plan = do + + -- create output directory + createDirectoryIfMissing False out + ++ when (logVerbAtLeast logger 2) $ ++ logInfo logger $ hang (text "jsLink:") 2 (ppr link_plan) ++ + ------------------------------------------------------------- + -- link all Haskell code (program + dependencies) into out.js + +- -- compute dependencies +- (dep_map, dep_units, all_deps, _rts_wired_functions, dep_archives) +- <- computeLinkDependencies cfg logger out unit_env units objFiles extraStaticDeps isRootFun +- +- -- retrieve code for dependencies +- mods <- collectDeps dep_map dep_units all_deps ++ -- retrieve code for Haskell dependencies ++ mods <- collectModuleCodes link_plan + + -- LTO + rendering of JS code + link_stats <- withBinaryFile (out "out.js") WriteMode $ \h -> +- renderLinker h mods jsFiles ++ renderLinker h mods (lkp_extra_js link_plan) + + ------------------------------------------------------------- + + -- dump foreign references file (.frefs) +- unless (lcOnlyOut lc_cfg) $ do ++ when (lcForeignRefs lc_cfg) $ do + let frefsFile = "out.frefs" + -- frefs = concatMap mc_frefs mods + jsonFrefs = mempty -- FIXME: toJson frefs +@@ -191,12 +212,11 @@ link lc_cfg cfg logger unit_env out _include units objFiles jsFiles isRootFun ex + + -- link generated RTS parts into rts.js + unless (lcNoRts lc_cfg) $ do +- BL.writeFile (out "rts.js") ( BLC.pack rtsDeclsText +- <> BLC.pack (rtsText cfg)) ++ BL.writeFile (out "rts.js") (generatedRTS cfg) + + -- link dependencies' JS files into lib.js + withBinaryFile (out "lib.js") WriteMode $ \h -> do +- forM_ dep_archives $ \archive_file -> do ++ forM_ (lkp_archives link_plan) $ \archive_file -> do + Ar.Archive entries <- Ar.loadAr archive_file + forM_ entries $ \entry -> do + case getJsArchiveEntry entry of +@@ -205,47 +225,96 @@ link lc_cfg cfg logger unit_env out _include units objFiles jsFiles isRootFun ex + B.hPut h bs + hPutChar h '\n' + +- -- link everything together into all.js +- when (generateAllJs lc_cfg) $ do ++ -- link everything together into a runnable all.js ++ -- only if we link a complete application, ++ -- no incremental linking and no skipped parts ++ when (lcCombineAll lc_cfg && not (lcNoRts lc_cfg)) $ do + _ <- combineFiles lc_cfg out + writeHtml out + writeRunMain out + writeRunner lc_cfg out + writeExterns out + ++data LinkSpec = LinkSpec ++ { lks_unit_ids :: [UnitId] ++ ++ , lks_obj_files :: [LinkedObj] ++ ++ , lks_obj_root_filter :: ExportedFun -> Bool ++ -- ^ Predicate for exported functions in objects to declare as root ++ ++ , lks_extra_roots :: Set ExportedFun ++ -- ^ Extra root functions from loaded units ++ ++ , lks_extra_js :: [FilePath] ++ -- ^ Extra JS files to link ++ } ++ ++instance Outputable LinkSpec where ++ ppr s = hang (text "LinkSpec") 2 $ vcat ++ [ hcat [text "Unit ids: ", ppr (lks_unit_ids s)] ++ , hcat [text "Object files:", ppr (lks_obj_files s)] ++ , text "Object root filter: " ++ , hcat [text "Extra roots: ", ppr (lks_extra_roots s)] ++ , hang (text "Extra JS:") 2 (vcat (fmap text (lks_extra_js s))) ++ ] ++ ++emptyLinkPlan :: LinkPlan ++emptyLinkPlan = LinkPlan ++ { lkp_block_info = mempty ++ , lkp_dep_blocks = mempty ++ , lkp_archives = mempty ++ , lkp_extra_js = mempty ++ } ++ ++-- | Given a `base` link plan (assumed to be already linked) and a `new` link ++-- plan, compute `(diff, total)` link plans. ++-- ++-- - `diff` is the incremental link plan to get from `base` to `total` ++-- - `total` is the total link plan as if `base` and `new` were linked at once ++incrementLinkPlan :: LinkPlan -> LinkPlan -> (LinkPlan, LinkPlan) ++incrementLinkPlan base new = (diff,total) ++ where ++ total = LinkPlan ++ { lkp_block_info = M.union (lkp_block_info base) (lkp_block_info new) ++ , lkp_dep_blocks = S.union (lkp_dep_blocks base) (lkp_dep_blocks new) ++ , lkp_archives = S.union (lkp_archives base) (lkp_archives new) ++ , lkp_extra_js = S.union (lkp_extra_js base) (lkp_extra_js new) ++ } ++ diff = LinkPlan ++ { lkp_block_info = lkp_block_info new -- block info from "new" contains all we need to load new blocks ++ , lkp_dep_blocks = S.difference (lkp_dep_blocks new) (lkp_dep_blocks base) ++ , lkp_archives = S.difference (lkp_archives new) (lkp_archives base) ++ , lkp_extra_js = S.difference (lkp_extra_js new) (lkp_extra_js base) ++ } ++ + + computeLinkDependencies + :: StgToJSConfig +- -> Logger +- -> String + -> UnitEnv +- -> [UnitId] +- -> [LinkedObj] +- -> Set ExportedFun +- -> (ExportedFun -> Bool) +- -> IO (Map Module (Deps, DepsLocation), [UnitId], Set LinkableUnit, Set ExportedFun, [FilePath]) +-computeLinkDependencies cfg logger target unit_env units objFiles extraStaticDeps isRootFun = do +- +- (objDepsMap, objRequiredUnits) <- loadObjDeps objFiles +- +- let roots = S.fromList . filter isRootFun $ concatMap (M.keys . depsHaskellExported . fst) (M.elems objDepsMap) +- rootMods = map (moduleNameString . moduleName . NE.head) . NE.group . sort . map funModule . S.toList $ roots +- objPkgs = map moduleUnitId $ nub (M.keys objDepsMap) +- +- when (logVerbAtLeast logger 2) $ void $ do +- compilationProgressMsg logger $ hcat +- [ text "Linking ", text target, text " (", text (intercalate "," rootMods), char ')' ] +- compilationProgressMsg logger $ hcat +- [ text "objDepsMap ", ppr objDepsMap ] +- compilationProgressMsg logger $ hcat +- [ text "objFiles ", ppr objFiles ] ++ -> LinkSpec ++ -> FinderOpts ++ -> FinderCache ++ -> IO LinkPlan ++computeLinkDependencies cfg unit_env link_spec finder_opts finder_cache = do ++ ++ let units = lks_unit_ids link_spec ++ let obj_files = lks_obj_files link_spec ++ let extra_roots = lks_extra_roots link_spec ++ let obj_is_root = lks_obj_root_filter link_spec ++ ++ (objs_block_info, objs_required_blocks) <- loadObjBlockInfo obj_files ++ ++ let obj_roots = S.fromList . filter obj_is_root $ concatMap (M.keys . bi_exports . lbi_info) (M.elems objs_block_info) ++ obj_units = map moduleUnitId $ nub (M.keys objs_block_info) + + let (rts_wired_units, rts_wired_functions) = rtsDeps units + + -- all the units we want to link together, without their dependencies + let root_units = filter (/= mainUnitId) ++ $ filter (/= interactiveUnitId) + $ nub +- $ rts_wired_units ++ reverse objPkgs ++ reverse units ++ $ rts_wired_units ++ reverse obj_units ++ reverse units + + -- all the units we want to link together, including their dependencies, + -- preload units, and backpack instantiations +@@ -254,26 +323,72 @@ computeLinkDependencies cfg logger target unit_env units objFiles extraStaticDep + let all_units = fmap unitId all_units_infos + + dep_archives <- getPackageArchives cfg unit_env all_units +- env <- newGhcjsEnv +- (archsDepsMap, archsRequiredUnits) <- loadArchiveDeps env dep_archives +- +- when (logVerbAtLeast logger 2) $ +- logInfo logger $ hang (text "Linking with archives:") 2 (vcat (fmap text dep_archives)) ++ (archives_block_info, archives_required_blocks) <- loadArchiveBlockInfo dep_archives + + -- compute dependencies +- let dep_units = all_units ++ [homeUnitId (ue_unsafeHomeUnit $ unit_env)] +- dep_map = objDepsMap `M.union` archsDepsMap +- excluded_units = S.empty +- dep_fun_roots = roots `S.union` rts_wired_functions `S.union` extraStaticDeps +- dep_unit_roots = archsRequiredUnits ++ objRequiredUnits +- +- all_deps <- getDeps (fmap fst dep_map) excluded_units dep_fun_roots dep_unit_roots +- +- when (logVerbAtLeast logger 2) $ +- logInfo logger $ hang (text "Units to link:") 2 (vcat (fmap ppr dep_units)) +- -- logInfo logger $ hang (text "All deps:") 2 (vcat (fmap ppr (S.toList all_deps))) ++ let block_info = objs_block_info `M.union` archives_block_info ++ dep_fun_roots = obj_roots `S.union` rts_wired_functions `S.union` extra_roots ++ ++ -- read transitive dependencies ++ new_required_blocks_var <- newIORef [] ++ let load_info mod = do ++ -- Adapted from the tangled code in GHC.Linker.Loader.getLinkDeps. ++ linkable <- case lookupHugByModule mod (ue_home_unit_graph unit_env) of ++ Nothing -> ++ -- It's not in the HPT because we are in one shot mode, ++ -- so use the Finder to get a ModLocation... ++ case ue_homeUnit unit_env of ++ Nothing -> pprPanic "getDeps: No home-unit: " (pprModule mod) ++ Just home_unit -> do ++ mb_stuff <- findHomeModule finder_cache finder_opts home_unit (moduleName mod) ++ case mb_stuff of ++ Found loc mod -> found loc mod ++ _ -> pprPanic "getDeps: Couldn't find home-module: " (pprModule mod) ++ where ++ found loc mod = do { ++ mb_lnk <- findObjectLinkableMaybe mod loc ; ++ case mb_lnk of { ++ Nothing -> pprPanic "getDeps: Couldn't find linkable for module: " (pprModule mod) ; ++ Just lnk -> pure lnk ++ }} ++ ++ Just mod_info -> case homeModInfoObject mod_info of ++ Nothing -> pprPanic "getDeps: Couldn't find object file for home-module: " (pprModule mod) ++ Just lnk -> pure lnk ++ ++ case linkableUnlinked linkable of ++ [DotO p] -> do ++ (bis, req_b) <- loadObjBlockInfo [ObjFile p] ++ -- Store new required blocks in IORef ++ modifyIORef new_required_blocks_var ((++) req_b) ++ case M.lookup mod bis of ++ Nothing -> pprPanic "getDeps: Didn't load any block info for home-module: " (pprModule mod) ++ Just bi -> pure bi ++ ul -> pprPanic "getDeps: Unrecognized linkable for home-module: " ++ (vcat [ pprModule mod ++ , ppr ul]) ++ ++ -- required blocks have no dependencies, so don't have to use them as roots in ++ -- the traversal ++ (updated_block_info, transitive_deps) <- getDeps block_info load_info dep_fun_roots mempty ++ ++ new_required_blocks <- readIORef new_required_blocks_var ++ let required_blocks = S.fromList $ mconcat ++ [ archives_required_blocks ++ , objs_required_blocks ++ , new_required_blocks ++ ] ++ ++ let all_deps = S.union transitive_deps required_blocks ++ ++ let plan = LinkPlan ++ { lkp_block_info = updated_block_info ++ , lkp_dep_blocks = all_deps ++ , lkp_archives = S.fromList dep_archives ++ , lkp_extra_js = S.fromList (lks_extra_js link_spec) ++ } + +- return (dep_map, dep_units, all_deps, rts_wired_functions, dep_archives) ++ return plan + + + -- | Compiled module +@@ -300,9 +415,9 @@ data CompactedModuleCode = CompactedModuleCode + renderLinker + :: Handle + -> [ModuleCode] -- ^ linked code per module +- -> [FilePath] -- ^ additional JS files ++ -> Set FilePath -- ^ additional JS files + -> IO LinkerStats +-renderLinker h mods jsFiles = do ++renderLinker h mods js_files = do + + -- link modules + let (compacted_mods, meta) = linkModules mods +@@ -336,7 +451,7 @@ renderLinker h mods jsFiles = do + mapM_ (putBS . cmc_exports) compacted_mods + + -- explicit additional JS files +- mapM_ (\i -> B.readFile i >>= putBS) jsFiles ++ mapM_ (\i -> B.readFile i >>= putBS) (S.toList js_files) + + -- stats + let link_stats = LinkerStats +@@ -469,99 +584,147 @@ writeExterns :: FilePath -> IO () + writeExterns out = writeFile (out "all.js.externs") + $ unpackFS rtsExterns + +--- | get all dependencies for a given set of roots +-getDeps :: Map Module Deps -- ^ loaded deps +- -> Set LinkableUnit -- ^ don't link these blocks +- -> Set ExportedFun -- ^ start here +- -> [LinkableUnit] -- ^ and also link these +- -> IO (Set LinkableUnit) +-getDeps loaded_deps base fun startlu = go' S.empty (S.fromList startlu) (S.toList fun) ++-- | Get all block dependencies for a given set of roots ++-- ++-- Returns the update block info map and the blocks. ++getDeps :: Map Module LocatedBlockInfo -- ^ Block info per module ++ -> (Module -> IO LocatedBlockInfo) -- ^ Used to load block info if missing ++ -> Set ExportedFun -- ^ start here ++ -> Set BlockRef -- ^ and also link these ++ -> IO (Map Module LocatedBlockInfo, Set BlockRef) ++getDeps init_infos load_info root_funs root_blocks = traverse_funs init_infos S.empty root_blocks (S.toList root_funs) + where +- go :: Set LinkableUnit +- -> Set LinkableUnit +- -> IO (Set LinkableUnit) +- go result open = case S.minView open of +- Nothing -> return result +- Just (lu@(lmod,n), open') -> +- case M.lookup lmod loaded_deps of +- Nothing -> pprPanic "getDeps.go: object file not loaded for: " (pprModule lmod) +- Just (Deps _ _ _ b) -> +- let block = b!n +- result' = S.insert lu result +- in go' result' +- (addOpen result' open' $ +- map (lmod,) (blockBlockDeps block)) (blockFunDeps block) +- +- go' :: Set LinkableUnit +- -> Set LinkableUnit +- -> [ExportedFun] +- -> IO (Set LinkableUnit) +- go' result open [] = go result open +- go' result open (f:fs) = +- let key = funModule f +- in case M.lookup key loaded_deps of +- Nothing -> pprPanic "getDeps.go': object file not loaded for: " $ pprModule key +- Just (Deps _m _r e _b) -> +- let lun :: Int +- lun = fromMaybe (pprPanic "exported function not found: " $ ppr f) +- (M.lookup f e) +- lu = (key, lun) +- in go' result (addOpen result open [lu]) fs +- +- addOpen :: Set LinkableUnit -> Set LinkableUnit -> [LinkableUnit] +- -> Set LinkableUnit +- addOpen result open newUnits = +- let alreadyLinked s = S.member s result || +- S.member s open || +- S.member s base +- in open `S.union` S.fromList (filter (not . alreadyLinked) newUnits) ++ -- A block may depend on: ++ -- 1. other blocks from the same module ++ -- 2. exported functions from another module ++ -- ++ -- Process: ++ -- 1. We use the BlockInfos to find the block corresponding to every ++ -- exported root functions. ++ -- ++ -- 2. We had these blocks to the set of root_blocks if they aren't already ++ -- added to the result. ++ -- ++ -- 3. Then we traverse the root_blocks to find their dependencies and we ++ -- add them to root_blocks (if they aren't already added to the result) and ++ -- to root_funs. ++ -- ++ -- 4. back to 1 ++ ++ lookup_info infos mod = case M.lookup mod infos of ++ Just info -> pure (infos, lbi_info info) ++ Nothing -> do ++ -- load info and update cache with it ++ info <- load_info mod ++ pure (M.insert mod info infos, lbi_info info) ++ ++ traverse_blocks ++ :: Map Module LocatedBlockInfo ++ -> Set BlockRef ++ -> Set BlockRef ++ -> IO (Map Module LocatedBlockInfo, Set BlockRef) ++ traverse_blocks infos result open = case S.minView open of ++ Nothing -> return (infos, result) ++ Just (ref, open') -> do ++ let mod = block_ref_mod ref ++ !(infos',info) <- lookup_info infos mod ++ let block = bi_block_deps info ! block_ref_idx ref ++ result' = S.insert ref result ++ to_block_ref i = BlockRef ++ { block_ref_mod = mod ++ , block_ref_idx = i ++ } ++ traverse_funs infos' result' ++ (addOpen result' open' $ ++ map to_block_ref (blockBlockDeps block)) (blockFunDeps block) ++ ++ traverse_funs ++ :: Map Module LocatedBlockInfo ++ -> Set BlockRef ++ -> Set BlockRef ++ -> [ExportedFun] ++ -> IO (Map Module LocatedBlockInfo, Set BlockRef) ++ traverse_funs infos result open = \case ++ [] -> traverse_blocks infos result open ++ (f:fs) -> do ++ let mod = funModule f ++ -- lookup module block info for the module that exports the function ++ !(infos',info) <- lookup_info infos mod ++ -- lookup block index associated to the function in the block info ++ case M.lookup f (bi_exports info) of ++ Nothing -> pprPanic "exported function not found: " $ ppr f ++ Just idx -> do ++ let fun_block_ref = BlockRef ++ { block_ref_mod = mod ++ , block_ref_idx = idx ++ } ++ -- always add the module "global block" when we link a module ++ let global_block_ref = BlockRef ++ { block_ref_mod = mod ++ , block_ref_idx = 0 ++ } ++ traverse_funs infos' result (addOpen result open [fun_block_ref,global_block_ref]) fs ++ ++ -- extend the open block set with new blocks that are not already in the ++ -- result block set nor in the open block set. ++ addOpen ++ :: Set BlockRef ++ -> Set BlockRef ++ -> [BlockRef] ++ -> Set BlockRef ++ addOpen result open new_blocks = ++ let alreadyLinked s = S.member s result || S.member s open ++ in open `S.union` S.fromList (filter (not . alreadyLinked) new_blocks) + + -- | collect dependencies for a set of roots +-collectDeps :: Map Module (Deps, DepsLocation) -- ^ Dependency map +- -> [UnitId] -- ^ packages, code linked in this order +- -> Set LinkableUnit -- ^ All dependencides +- -> IO [ModuleCode] +-collectDeps mod_deps packages all_deps = do +- +- -- read ghc-prim first, since we depend on that for static initialization +- let packages' = uncurry (++) $ partition (== primUnitId) (nub packages) +- +- units_by_module :: Map Module IntSet +- units_by_module = M.fromListWith IS.union $ +- map (\(m,n) -> (m, IS.singleton n)) (S.toList all_deps) +- +- mod_deps_bypkg :: Map UnitId [(Deps, DepsLocation)] +- mod_deps_bypkg = M.fromListWith (++) +- (map (\(m,v) -> (moduleUnitId m,[v])) (M.toList mod_deps)) +- ++collectModuleCodes :: LinkPlan -> IO [ModuleCode] ++collectModuleCodes link_plan = do ++ ++ let block_info = lkp_block_info link_plan ++ let blocks = lkp_dep_blocks link_plan ++ ++ -- we're going to load all the blocks. Instead of doing this randomly, we ++ -- group them by module first. ++ let module_blocks :: Map Module BlockIds ++ module_blocks = M.fromListWith IS.union $ ++ map (\ref -> (block_ref_mod ref, IS.singleton (block_ref_idx ref))) (S.toList blocks) ++ ++ -- GHCJS had this comment: "read ghc-prim first, since we depend on that for ++ -- static initialization". Not sure if it's still true as we haven't ported ++ -- the compactor yet. Still we sort to read ghc-prim blocks first just in ++ -- case. ++ let pred x = moduleUnitId (fst x) == primUnitId ++ cmp x y = case (pred x, pred y) of ++ (True,False) -> LT ++ (False,True) -> GT ++ (True,True) -> EQ ++ (False,False) -> EQ ++ ++ sorted_module_blocks :: [(Module,BlockIds)] ++ sorted_module_blocks = sortBy cmp (M.toList module_blocks) ++ ++ -- load blocks + ar_state <- emptyArchiveState +- fmap (catMaybes . concat) . forM packages' $ \pkg -> +- mapM (uncurry $ extractDeps ar_state units_by_module) +- (fromMaybe [] $ M.lookup pkg mod_deps_bypkg) +- +-extractDeps :: ArchiveState +- -> Map Module IntSet +- -> Deps +- -> DepsLocation +- -> IO (Maybe ModuleCode) +-extractDeps ar_state units deps loc = +- case M.lookup mod units of +- Nothing -> return Nothing +- Just mod_units -> Just <$> do +- let selector n _ = fromIntegral n `IS.member` mod_units || isGlobalUnit (fromIntegral n) +- case loc of +- ObjectFile fp -> do +- us <- readObjectUnits fp selector +- pure (collectCode us) +- ArchiveFile a -> do +- obj <- readArObject ar_state mod a +- us <- getObjectUnits obj selector +- pure (collectCode us) +- InMemory _n obj -> do +- us <- getObjectUnits obj selector +- pure (collectCode us) ++ forM sorted_module_blocks $ \(mod,bids) -> do ++ case M.lookup mod block_info of ++ Nothing -> pprPanic "collectModuleCodes: couldn't find block info for module" (ppr mod) ++ Just lbi -> extractBlocks ar_state lbi bids ++ ++extractBlocks :: ArchiveState -> LocatedBlockInfo -> BlockIds -> IO ModuleCode ++extractBlocks ar_state lbi blocks = do ++ case lbi_loc lbi of ++ ObjectFile fp -> do ++ us <- readObjectBlocks fp blocks ++ pure (collectCode us) ++ ArchiveFile a -> do ++ obj <- readArObject ar_state mod a ++ us <- getObjectBlocks obj blocks ++ pure (collectCode us) ++ InMemory _n obj -> do ++ us <- getObjectBlocks obj blocks ++ pure (collectCode us) + where +- mod = depsModule deps ++ mod = bi_module (lbi_info lbi) + newline = BC.pack "\n" + mk_exports = mconcat . intersperse newline . filter (not . BS.null) . map oiRaw + mk_js_code = mconcat . map oiStat +@@ -693,40 +856,32 @@ mkPrimFuns = mkExportedFuns primUnitId + -- | Given a @UnitId@, a module name, and a set of symbols in the module, + -- package these into an @ExportedFun@. + mkExportedFuns :: UnitId -> FastString -> [FastString] -> [ExportedFun] +-mkExportedFuns uid mod_name symbols = map mk_fun symbols ++mkExportedFuns uid mod_name symbols = mkExportedModFuns mod names + where + mod = mkModule (RealUnit (Definite uid)) (mkModuleNameFS mod_name) +- mk_fun sym = ExportedFun mod (LexicalFastString (mkJsSymbol True mod sym)) ++ names = map (mkJsSymbol True mod) symbols ++ ++-- | Given a @Module@ and a set of symbols in the module, package these into an ++-- @ExportedFun@. ++mkExportedModFuns :: Module -> [FastString] -> [ExportedFun] ++mkExportedModFuns mod symbols = map mk_fun symbols ++ where ++ mk_fun sym = ExportedFun mod (LexicalFastString sym) + + -- | read all dependency data from the to-be-linked files +-loadObjDeps :: [LinkedObj] -- ^ object files to link +- -> IO (Map Module (Deps, DepsLocation), [LinkableUnit]) +-loadObjDeps objs = (prepareLoadedDeps . catMaybes) <$> mapM readDepsFromObj objs ++loadObjBlockInfo :: [LinkedObj] -- ^ object files to link ++ -> IO (Map Module LocatedBlockInfo, [BlockRef]) ++loadObjBlockInfo objs = (prepareLoadedDeps . catMaybes) <$> mapM readBlockInfoFromObj objs + + -- | Load dependencies for the Linker from Ar +-loadArchiveDeps :: GhcjsEnv +- -> [FilePath] +- -> IO ( Map Module (Deps, DepsLocation) +- , [LinkableUnit] +- ) +-loadArchiveDeps env archives = modifyMVar (linkerArchiveDeps env) $ \m -> +- case M.lookup archives' m of +- Just r -> return (m, r) +- Nothing -> loadArchiveDeps' archives >>= \r -> return (M.insert archives' r m, r) +- where +- archives' = S.fromList archives +- +-loadArchiveDeps' :: [FilePath] +- -> IO ( Map Module (Deps, DepsLocation) +- , [LinkableUnit] +- ) +-loadArchiveDeps' archives = do ++loadArchiveBlockInfo :: [FilePath] -> IO (Map Module LocatedBlockInfo, [BlockRef]) ++loadArchiveBlockInfo archives = do + archDeps <- forM archives $ \file -> do + (Ar.Archive entries) <- Ar.loadAr file + catMaybes <$> mapM (readEntry file) entries + return (prepareLoadedDeps $ concat archDeps) + where +- readEntry :: FilePath -> Ar.ArchiveEntry -> IO (Maybe (Deps, DepsLocation)) ++ readEntry :: FilePath -> Ar.ArchiveEntry -> IO (Maybe LocatedBlockInfo) + readEntry ar_file ar_entry = do + let bs = Ar.filedata ar_entry + bh <- unsafeUnpackBinBuffer bs +@@ -734,8 +889,8 @@ loadArchiveDeps' archives = do + Left _ -> pure Nothing -- not a valid object entry + Right mod_name -> do + obj <- getObjectBody bh mod_name +- let !deps = objDeps obj +- pure $ Just (deps, ArchiveFile ar_file) ++ let !info = objBlockInfo obj ++ pure $ Just (LocatedBlockInfo (ArchiveFile ar_file) info) + + -- | Predicate to check that an entry in Ar is a JS source + -- and to return it without its header +@@ -765,29 +920,32 @@ jsHeaderLength = B.length jsHeader + + + +-prepareLoadedDeps :: [(Deps, DepsLocation)] +- -> ( Map Module (Deps, DepsLocation) +- , [LinkableUnit] +- ) +-prepareLoadedDeps deps = +- let req = concatMap (requiredUnits . fst) deps +- depsMap = M.fromList $ map (\d -> (depsModule (fst d), d)) deps +- in (depsMap, req) ++prepareLoadedDeps :: [LocatedBlockInfo] ++ -> (Map Module LocatedBlockInfo, [BlockRef]) ++prepareLoadedDeps lbis = (module_blocks, must_link) ++ where ++ must_link = concatMap (requiredBlocks . lbi_info) lbis ++ module_blocks = M.fromList $ map (\d -> (bi_module (lbi_info d), d)) lbis + +-requiredUnits :: Deps -> [LinkableUnit] +-requiredUnits d = map (depsModule d,) (IS.toList $ depsRequired d) ++requiredBlocks :: BlockInfo -> [BlockRef] ++requiredBlocks d = map mk_block_ref (IS.toList $ bi_must_link d) ++ where ++ mk_block_ref i = BlockRef ++ { block_ref_mod = bi_module d ++ , block_ref_idx = i ++ } + +--- | read dependencies from an object that might have already been into memory ++-- | read block info from an object that might have already been into memory + -- pulls in all Deps from an archive +-readDepsFromObj :: LinkedObj -> IO (Maybe (Deps, DepsLocation)) +-readDepsFromObj = \case ++readBlockInfoFromObj :: LinkedObj -> IO (Maybe LocatedBlockInfo) ++readBlockInfoFromObj = \case + ObjLoaded name obj -> do +- let !deps = objDeps obj +- pure $ Just (deps,InMemory name obj) ++ let !info = objBlockInfo obj ++ pure $ Just (LocatedBlockInfo (InMemory name obj) info) + ObjFile file -> do +- readObjectDeps file >>= \case ++ readObjectBlockInfo file >>= \case + Nothing -> pure Nothing +- Just deps -> pure $ Just (deps,ObjectFile file) ++ Just info -> pure $ Just (LocatedBlockInfo (ObjectFile file) info) + + + -- | Embed a JS file into a .o file +diff --git a/compiler/GHC/StgToJS/Linker/Types.hs b/compiler/GHC/StgToJS/Linker/Types.hs +index 9e1714fc00..7f4cc683b9 100644 +--- a/compiler/GHC/StgToJS/Linker/Types.hs ++++ b/compiler/GHC/StgToJS/Linker/Types.hs +@@ -2,8 +2,6 @@ + {-# LANGUAGE PartialTypeSignatures #-} + {-# LANGUAGE LambdaCase #-} + +-{-# OPTIONS_GHC -Wno-orphans #-} -- for Ident's Binary instance +- + ----------------------------------------------------------------------------- + -- | + -- Module : GHC.StgToJS.Linker.Types +@@ -19,26 +17,21 @@ + ----------------------------------------------------------------------------- + + module GHC.StgToJS.Linker.Types +- ( GhcjsEnv (..) +- , newGhcjsEnv +- , JSLinkConfig (..) ++ ( JSLinkConfig (..) + , defaultJSLinkConfig +- , generateAllJs + , LinkedObj (..) +- , LinkableUnit ++ , LinkPlan (..) + ) + where + + import GHC.StgToJS.Object + + import GHC.Unit.Types +-import GHC.Utils.Outputable (hsep,Outputable(..),text,ppr) ++import GHC.Utils.Outputable (hsep,Outputable(..),text,ppr, hang, IsDoc (vcat), IsLine (hcat)) + + import Data.Map.Strict (Map) +-import qualified Data.Map.Strict as M + import Data.Set (Set) +- +-import Control.Concurrent.MVar ++import qualified Data.Set as S + + import System.IO + +@@ -49,35 +42,53 @@ import Prelude + -------------------------------------------------------------------------------- + + data JSLinkConfig = JSLinkConfig +- { lcNoJSExecutables :: Bool +- , lcNoHsMain :: Bool +- , lcOnlyOut :: Bool +- , lcNoRts :: Bool +- , lcNoStats :: Bool ++ { lcNoJSExecutables :: !Bool -- ^ Dont' build JS executables ++ , lcNoHsMain :: !Bool -- ^ Don't generate Haskell main entry ++ , lcNoRts :: !Bool -- ^ Don't dump the generated RTS ++ , lcNoStats :: !Bool -- ^ Disable .stats file generation ++ , lcForeignRefs :: !Bool -- ^ Dump .frefs (foreign references) files ++ , lcCombineAll :: !Bool -- ^ Generate all.js (combined js) + wrappers + } + +--- | we generate a runnable all.js only if we link a complete application, +--- no incremental linking and no skipped parts +-generateAllJs :: JSLinkConfig -> Bool +-generateAllJs s = not (lcOnlyOut s) && not (lcNoRts s) +- ++-- | Default linker configuration + defaultJSLinkConfig :: JSLinkConfig + defaultJSLinkConfig = JSLinkConfig + { lcNoJSExecutables = False + , lcNoHsMain = False +- , lcOnlyOut = False + , lcNoRts = False + , lcNoStats = False ++ , lcCombineAll = True ++ , lcForeignRefs = True + } + ++data LinkPlan = LinkPlan ++ { lkp_block_info :: Map Module LocatedBlockInfo ++ -- ^ Block information ++ ++ , lkp_dep_blocks :: Set BlockRef ++ -- ^ Blocks to link ++ ++ , lkp_archives :: Set FilePath ++ -- ^ Archives to load JS sources from ++ ++ , lkp_extra_js :: Set FilePath ++ -- ^ Extra JS files to link ++ } ++ ++instance Outputable LinkPlan where ++ ppr s = hang (text "LinkPlan") 2 $ vcat ++ -- Hidden because it's too verbose and it's not really part of the ++ -- plan, just meta info used to retrieve actual block contents ++ -- [ hcat [ text "Block info: ", ppr (lkp_block_info s)] ++ [ hcat [ text "Blocks: ", ppr (S.size (lkp_dep_blocks s))] ++ , hang (text "JS files from archives:") 2 (vcat (fmap text (S.toList (lkp_archives s)))) ++ , hang (text "Extra JS:") 2 (vcat (fmap text (S.toList (lkp_extra_js s)))) ++ ] ++ + -------------------------------------------------------------------------------- + -- Linker Environment + -------------------------------------------------------------------------------- + +--- | A @LinkableUnit@ is a pair of a module and the index of the block in the +--- object file +-type LinkableUnit = (Module, Int) +- + -- | An object file that's either already in memory (with name) or on disk + data LinkedObj + = ObjFile FilePath -- ^ load from this file +@@ -87,15 +98,3 @@ instance Outputable LinkedObj where + ppr = \case + ObjFile fp -> hsep [text "ObjFile", text fp] + ObjLoaded s o -> hsep [text "ObjLoaded", text s, ppr (objModuleName o)] +- +-data GhcjsEnv = GhcjsEnv +- { linkerArchiveDeps :: MVar (Map (Set FilePath) +- (Map Module (Deps, DepsLocation) +- , [LinkableUnit] +- ) +- ) +- } +- +--- | return a fresh @GhcjsEnv@ +-newGhcjsEnv :: IO GhcjsEnv +-newGhcjsEnv = GhcjsEnv <$> newMVar M.empty +diff --git a/compiler/GHC/StgToJS/Object.hs b/compiler/GHC/StgToJS/Object.hs +index f75d27e20b..575acd0507 100644 +--- a/compiler/GHC/StgToJS/Object.hs ++++ b/compiler/GHC/StgToJS/Object.hs +@@ -46,14 +46,20 @@ module GHC.StgToJS.Object + , getObjectBody + , getObject + , readObject +- , getObjectUnits +- , readObjectUnits +- , readObjectDeps +- , isGlobalUnit ++ , getObjectBlocks ++ , readObjectBlocks ++ , readObjectBlockInfo ++ , isGlobalBlock + , isJsObjectFile + , Object(..) + , IndexEntry(..) +- , Deps (..), BlockDeps (..), DepsLocation (..) ++ , LocatedBlockInfo (..) ++ , BlockInfo (..) ++ , BlockDeps (..) ++ , BlockLocation (..) ++ , BlockId ++ , BlockIds ++ , BlockRef (..) + , ExportedFun (..) + ) + where +@@ -96,63 +102,75 @@ data Object = Object + { objModuleName :: !ModuleName + -- ^ name of the module + , objHandle :: !BinHandle +- -- ^ BinHandle that can be used to read the ObjUnits +- , objPayloadOffset :: !(Bin ObjUnit) ++ -- ^ BinHandle that can be used to read the ObjBlocks ++ , objPayloadOffset :: !(Bin ObjBlock) + -- ^ Offset of the payload (units) +- , objDeps :: !Deps +- -- ^ Dependencies ++ , objBlockInfo :: !BlockInfo ++ -- ^ Information about blocks + , objIndex :: !Index +- -- ^ The Index, serialed unit indices and their linkable units ++ -- ^ Block index: symbols per block and block offset in the object file + } + + type BlockId = Int + type BlockIds = IntSet + +--- | dependencies for a single module +-data Deps = Deps +- { depsModule :: !Module +- -- ^ module +- , depsRequired :: !BlockIds ++-- | Information about blocks (linkable units) ++data BlockInfo = BlockInfo ++ { bi_module :: !Module ++ -- ^ Module they were generated from ++ , bi_must_link :: !BlockIds + -- ^ blocks that always need to be linked when this object is loaded (e.g. + -- everything that contains initializer code or foreign exports) +- , depsHaskellExported :: !(Map ExportedFun BlockId) ++ , bi_exports :: !(Map ExportedFun BlockId) + -- ^ exported Haskell functions -> block +- , depsBlocks :: !(Array BlockId BlockDeps) +- -- ^ info about each block ++ , bi_block_deps :: !(Array BlockId BlockDeps) ++ -- ^ dependencies of each block + } + +-instance Outputable Deps where ++data LocatedBlockInfo = LocatedBlockInfo ++ { lbi_loc :: !BlockLocation -- ^ Where to find the blocks ++ , lbi_info :: !BlockInfo -- ^ Block information ++ } ++ ++instance Outputable BlockInfo where + ppr d = vcat +- [ hcat [ text "module: ", pprModule (depsModule d) ] +- , hcat [ text "exports: ", ppr (M.keys (depsHaskellExported d)) ] ++ [ hcat [ text "module: ", pprModule (bi_module d) ] ++ , hcat [ text "exports: ", ppr (M.keys (bi_exports d)) ] + ] + +--- | Where are the dependencies +-data DepsLocation ++-- | Where are the blocks ++data BlockLocation + = ObjectFile FilePath -- ^ In an object file at path + | ArchiveFile FilePath -- ^ In a Ar file at path + | InMemory String Object -- ^ In memory + +-instance Outputable DepsLocation where ++instance Outputable BlockLocation where + ppr = \case + ObjectFile fp -> hsep [text "ObjectFile", text fp] + ArchiveFile fp -> hsep [text "ArchiveFile", text fp] + InMemory s o -> hsep [text "InMemory", text s, ppr (objModuleName o)] + ++-- | A @BlockRef@ is a pair of a module and the index of the block in the ++-- object file ++data BlockRef = BlockRef ++ { block_ref_mod :: !Module -- ^ Module ++ , block_ref_idx :: !BlockId -- ^ Block index in the object file ++ } ++ deriving (Eq,Ord) ++ + data BlockDeps = BlockDeps +- { blockBlockDeps :: [Int] -- ^ dependencies on blocks in this object ++ { blockBlockDeps :: [BlockId] -- ^ dependencies on blocks in this object + , blockFunDeps :: [ExportedFun] -- ^ dependencies on exported symbols in other objects + -- , blockForeignExported :: [ExpFun] + -- , blockForeignImported :: [ForeignRef] + } + +-{- | we use the convention that the first unit (0) is a module-global +- unit that's always included when something from the module +- is loaded. everything in a module implicitly depends on the +- global block. the global unit itself can't have dependencies +- -} +-isGlobalUnit :: Int -> Bool +-isGlobalUnit n = n == 0 ++-- | we use the convention that the first block (0) is a module-global block ++-- that's always included when something from the module is loaded. everything ++-- in a module implicitly depends on the global block. The global block itself ++-- can't have dependencies ++isGlobalBlock :: BlockId -> Bool ++isGlobalBlock n = n == 0 + + -- | Exported Functions + data ExportedFun = ExportedFun +@@ -166,10 +184,10 @@ instance Outputable ExportedFun where + , hcat [ text "symbol: ", ppr f ] + ] + +--- | Write an ObjUnit, except for the top level symbols which are stored in the ++-- | Write an ObjBlock, except for the top level symbols which are stored in the + -- index +-putObjUnit :: BinHandle -> ObjUnit -> IO () +-putObjUnit bh (ObjUnit _syms b c d e f g) = do ++putObjBlock :: BinHandle -> ObjBlock -> IO () ++putObjBlock bh (ObjBlock _syms b c d e f g) = do + put_ bh b + put_ bh c + lazyPut bh d +@@ -177,17 +195,17 @@ putObjUnit bh (ObjUnit _syms b c d e f g) = do + put_ bh f + put_ bh g + +--- | Read an ObjUnit and associate it to the given symbols (that must have been ++-- | Read an ObjBlock and associate it to the given symbols (that must have been + -- read from the index) +-getObjUnit :: [FastString] -> BinHandle -> IO ObjUnit +-getObjUnit syms bh = do ++getObjBlock :: [FastString] -> BinHandle -> IO ObjBlock ++getObjBlock syms bh = do + b <- get bh + c <- get bh + d <- lazyGet bh + e <- get bh + f <- get bh + g <- get bh +- pure $ ObjUnit ++ pure $ ObjBlock + { oiSymbols = syms + , oiClInfo = b + , oiStatic = c +@@ -203,12 +221,12 @@ getObjUnit syms bh = do + magic :: String + magic = "GHCJSOBJ" + +--- | Serialized unit indexes and their exported symbols +--- (the first unit is module-global) ++-- | Serialized block indexes and their exported symbols ++-- (the first block is module-global) + type Index = [IndexEntry] + data IndexEntry = IndexEntry +- { idxSymbols :: ![FastString] -- ^ Symbols exported by a unit +- , idxOffset :: !(Bin ObjUnit) -- ^ Offset of the unit in the object file ++ { idxSymbols :: ![FastString] -- ^ Symbols exported by a block ++ , idxOffset :: !(Bin ObjBlock) -- ^ Offset of the block in the object file + } + + +@@ -221,8 +239,8 @@ data IndexEntry = IndexEntry + putObject + :: BinHandle + -> ModuleName -- ^ module +- -> Deps -- ^ dependencies +- -> [ObjUnit] -- ^ linkable units and their symbols ++ -> BlockInfo -- ^ block infos ++ -> [ObjBlock] -- ^ linkable units and their symbols + -> IO () + putObject bh mod_name deps os = do + forM_ magic (putByte bh . fromIntegral . ord) +@@ -243,7 +261,7 @@ putObject bh mod_name deps os = do + idx <- forM os $ \o -> do + p <- tellBin bh_fs + -- write units without their symbols +- putObjUnit bh_fs o ++ putObjBlock bh_fs o + -- return symbols and offset to store in the index + pure (oiSymbols o,p) + pure idx +@@ -295,15 +313,15 @@ getObjectBody bh0 mod_name = do + dict <- forwardGet bh0 (getDictionary bh0) + let bh = setUserData bh0 $ noUserData { ud_get_fs = getDictFastString dict } + +- deps <- get bh +- idx <- forwardGet bh (get bh) ++ block_info <- get bh ++ idx <- forwardGet bh (get bh) + payload_pos <- tellBin bh + + pure $ Object + { objModuleName = mod_name + , objHandle = bh + , objPayloadOffset = payload_pos +- , objDeps = deps ++ , objBlockInfo = block_info + , objIndex = idx + } + +@@ -322,31 +340,31 @@ readObject file = do + bh <- readBinMem file + getObject bh + +--- | Reads only the part necessary to get the dependencies +-readObjectDeps :: FilePath -> IO (Maybe Deps) +-readObjectDeps file = do ++-- | Reads only the part necessary to get the block info ++readObjectBlockInfo :: FilePath -> IO (Maybe BlockInfo) ++readObjectBlockInfo file = do + bh <- readBinMem file + getObject bh >>= \case +- Just obj -> pure $! Just $! objDeps obj ++ Just obj -> pure $! Just $! objBlockInfo obj + Nothing -> pure Nothing + +--- | Get units in the object file, using the given filtering function +-getObjectUnits :: Object -> (Word -> IndexEntry -> Bool) -> IO [ObjUnit] +-getObjectUnits obj pred = mapMaybeM read_entry (zip (objIndex obj) [0..]) ++-- | Get blocks in the object file, using the given filtering function ++getObjectBlocks :: Object -> BlockIds -> IO [ObjBlock] ++getObjectBlocks obj bids = mapMaybeM read_entry (zip (objIndex obj) [0..]) + where + bh = objHandle obj +- read_entry (e@(IndexEntry syms offset),i) +- | pred i e = do ++ read_entry (IndexEntry syms offset,i) ++ | IS.member i bids = do + seekBin bh offset +- Just <$> getObjUnit syms bh ++ Just <$> getObjBlock syms bh + | otherwise = pure Nothing + +--- | Read units in the object file, using the given filtering function +-readObjectUnits :: FilePath -> (Word -> IndexEntry -> Bool) -> IO [ObjUnit] +-readObjectUnits file pred = do ++-- | Read blocks in the object file, using the given filtering function ++readObjectBlocks :: FilePath -> BlockIds -> IO [ObjBlock] ++readObjectBlocks file bids = do + readObject file >>= \case + Nothing -> pure [] +- Just obj -> getObjectUnits obj pred ++ Just obj -> getObjectBlocks obj bids + + + -------------------------------------------------------------------------------- +@@ -378,13 +396,13 @@ instance Binary IndexEntry where + put_ bh (IndexEntry a b) = put_ bh a >> put_ bh b + get bh = IndexEntry <$> get bh <*> get bh + +-instance Binary Deps where +- put_ bh (Deps m r e b) = do ++instance Binary BlockInfo where ++ put_ bh (BlockInfo m r e b) = do + put_ bh m + put_ bh (map toI32 $ IS.toList r) + put_ bh (map (\(x,y) -> (x, toI32 y)) $ M.toList e) + put_ bh (elems b) +- get bh = Deps <$> get bh ++ get bh = BlockInfo <$> get bh + <*> (IS.fromList . map fromI32 <$> get bh) + <*> (M.fromList . map (\(x,y) -> (x, fromI32 y)) <$> get bh) + <*> ((\xs -> listArray (0, length xs - 1) xs) <$> get bh) +diff --git a/compiler/GHC/StgToJS/Rts/Rts.hs b/compiler/GHC/StgToJS/Rts/Rts.hs +index 55e1a3f312..6209f0bce4 100644 +--- a/compiler/GHC/StgToJS/Rts/Rts.hs ++++ b/compiler/GHC/StgToJS/Rts/Rts.hs +@@ -47,6 +47,7 @@ import Data.Array + import Data.Monoid + import Data.Char (toLower, toUpper) + import qualified Data.Bits as Bits ++import qualified Data.ByteString.Lazy.Char8 as BLC + + -- | The garbageCollector resets registers and result variables. + garbageCollector :: JStat +@@ -356,6 +357,10 @@ rtsDecls = jsSaturate (Just "h$RTSD") $ + , declRegs + , declRets] + ++-- | Get the generated part of the RTS ++generatedRTS :: StgToJSConfig -> BLC.ByteString ++generatedRTS cfg = BLC.pack rtsDeclsText <> BLC.pack (rtsText cfg) ++ + -- | print the embedded RTS to a String + rtsText :: StgToJSConfig -> String + rtsText = show . pretty . rts +diff --git a/compiler/GHC/StgToJS/Types.hs b/compiler/GHC/StgToJS/Types.hs +index 0984dd791a..cba79b5eaa 100644 +--- a/compiler/GHC/StgToJS/Types.hs ++++ b/compiler/GHC/StgToJS/Types.hs +@@ -302,9 +302,9 @@ data ForeignJSRef = ForeignJSRef + , foreignRefResult :: !FastString + } deriving stock (Generic) + +--- | data used to generate one ObjUnit in our object file ++-- | data used to generate one ObjBlock in our object file + data LinkableUnit = LinkableUnit +- { luObjUnit :: ObjUnit -- ^ serializable unit info ++ { luObjBlock :: ObjBlock -- ^ serializable unit info + , luIdExports :: [Id] -- ^ exported names from haskell identifiers + , luOtherExports :: [FastString] -- ^ other exports + , luIdDeps :: [Id] -- ^ identifiers this unit depends on +@@ -315,7 +315,7 @@ data LinkableUnit = LinkableUnit + } + + -- | one toplevel block in the object file +-data ObjUnit = ObjUnit ++data ObjBlock = ObjBlock + { oiSymbols :: ![FastString] -- ^ toplevel symbols (stored in index) + , oiClInfo :: ![ClosureInfo] -- ^ closure information of all closures in block + , oiStatic :: ![StaticInfo] -- ^ static closure data +diff --git a/compiler/GHC/Tc/Gen/Splice.hs b/compiler/GHC/Tc/Gen/Splice.hs +index 5cf69c0dfe..227765d43c 100644 +--- a/compiler/GHC/Tc/Gen/Splice.hs ++++ b/compiler/GHC/Tc/Gen/Splice.hs +@@ -155,6 +155,7 @@ import qualified Data.Map as Map + import Data.Typeable ( typeOf, Typeable, TypeRep, typeRep ) + import Data.Data (Data) + import Data.Proxy ( Proxy (..) ) ++import Data.IORef + import GHC.Parser.HaddockLex (lexHsDoc) + import GHC.Parser (parseIdentifier) + import GHC.Rename.Doc (rnHsDoc) +@@ -1058,6 +1059,7 @@ runRemoteModFinalizers (ThModFinalizers finRefs) = do + withForeignRefs (x : xs) f = withForeignRef x $ \r -> + withForeignRefs xs $ \rs -> f (r : rs) + interp <- tcGetInterp ++ + case interpInstance interp of + #if defined(HAVE_INTERNAL_INTERPRETER) + InternalInterp -> do +@@ -1065,17 +1067,18 @@ runRemoteModFinalizers (ThModFinalizers finRefs) = do + runQuasi $ sequence_ qs + #endif + +- ExternalInterp conf iserv -> withIServ_ conf iserv $ \i -> do ++ ExternalInterp ext -> withExtInterp ext $ \inst -> do + tcg <- getGblEnv + th_state <- readTcRef (tcg_th_remote_state tcg) + case th_state of + Nothing -> return () -- TH was not started, nothing to do + Just fhv -> do +- liftIO $ withForeignRef fhv $ \st -> ++ r <- liftIO $ withForeignRef fhv $ \st -> + withForeignRefs finRefs $ \qrefs -> +- writeIServ i (putMessage (RunModFinalizers st qrefs)) +- () <- runRemoteTH i [] +- readQResult i ++ sendMessageDelayedResponse inst (RunModFinalizers st qrefs) ++ () <- runRemoteTH inst [] ++ qr <- liftIO $ receiveDelayedResponse inst r ++ checkQResult qr + + runQResult + :: (a -> String) +@@ -1691,37 +1694,40 @@ runTH ty fhv = do + return r + #endif + +- ExternalInterp conf iserv -> ++ ExternalInterp ext -> withExtInterp ext $ \inst -> do + -- Run it on the server. For an overview of how TH works with + -- Remote GHCi, see Note [Remote Template Haskell] in + -- libraries/ghci/GHCi/TH.hs. +- withIServ_ conf iserv $ \i -> do +- rstate <- getTHState i +- loc <- TH.qLocation +- liftIO $ +- withForeignRef rstate $ \state_hv -> +- withForeignRef fhv $ \q_hv -> +- writeIServ i (putMessage (RunTH state_hv q_hv ty (Just loc))) +- runRemoteTH i [] +- bs <- readQResult i +- return $! runGet get (LB.fromStrict bs) ++ rstate <- getTHState inst ++ loc <- TH.qLocation ++ -- run a remote TH request ++ r <- liftIO $ ++ withForeignRef rstate $ \state_hv -> ++ withForeignRef fhv $ \q_hv -> ++ sendMessageDelayedResponse inst (RunTH state_hv q_hv ty (Just loc)) ++ -- respond to requests from the interpreter ++ runRemoteTH inst [] ++ -- get the final result ++ qr <- liftIO $ receiveDelayedResponse inst r ++ bs <- checkQResult qr ++ return $! runGet get (LB.fromStrict bs) + + + -- | communicate with a remotely-running TH computation until it finishes. + -- See Note [Remote Template Haskell] in libraries/ghci/GHCi/TH.hs. + runRemoteTH +- :: IServInstance ++ :: ExtInterpInstance d + -> [Messages TcRnMessage] -- saved from nested calls to qRecover + -> TcM () +-runRemoteTH iserv recovers = do +- THMsg msg <- liftIO $ readIServ iserv getTHMessage ++runRemoteTH inst recovers = do ++ THMsg msg <- liftIO $ receiveTHMessage inst + case msg of + RunTHDone -> return () + StartRecover -> do -- Note [TH recover with -fexternal-interpreter] + v <- getErrsVar + msgs <- readTcRef v + writeTcRef v emptyMessages +- runRemoteTH iserv (msgs : recovers) ++ runRemoteTH inst (msgs : recovers) + EndRecover caught_error -> do + let (prev_msgs, rest) = case recovers of + [] -> panic "EndRecover" +@@ -1732,16 +1738,15 @@ runRemoteTH iserv recovers = do + writeTcRef v $ if caught_error + then prev_msgs + else mkMessages warn_msgs `unionMessages` prev_msgs +- runRemoteTH iserv rest ++ runRemoteTH inst rest + _other -> do + r <- handleTHMessage msg +- liftIO $ writeIServ iserv (put r) +- runRemoteTH iserv recovers ++ liftIO $ sendAnyValue inst r ++ runRemoteTH inst recovers + +--- | Read a value of type QResult from the iserv +-readQResult :: Binary a => IServInstance -> TcM a +-readQResult i = do +- qr <- liftIO $ readIServ i get ++-- | Check a QResult ++checkQResult :: QResult a -> TcM a ++checkQResult qr = + case qr of + QDone a -> return a + QException str -> liftIO $ throwIO (ErrorCall str) +@@ -1788,17 +1793,18 @@ Back in GHC, when we receive: + -- + -- The TH state is stored in tcg_th_remote_state in the TcGblEnv. + -- +-getTHState :: IServInstance -> TcM (ForeignRef (IORef QState)) +-getTHState i = do +- tcg <- getGblEnv +- th_state <- readTcRef (tcg_th_remote_state tcg) +- case th_state of +- Just rhv -> return rhv +- Nothing -> do +- interp <- tcGetInterp +- fhv <- liftIO $ mkFinalizedHValue interp =<< iservCall i StartTH +- writeTcRef (tcg_th_remote_state tcg) (Just fhv) +- return fhv ++getTHState :: ExtInterpInstance d -> TcM (ForeignRef (IORef QState)) ++getTHState inst = do ++ th_state_var <- tcg_th_remote_state <$> getGblEnv ++ liftIO $ do ++ th_state <- readIORef th_state_var ++ case th_state of ++ Just rhv -> return rhv ++ Nothing -> do ++ rref <- sendMessage inst StartTH ++ fhv <- mkForeignRef rref (freeReallyRemoteRef inst rref) ++ writeIORef th_state_var (Just fhv) ++ return fhv + + wrapTHResult :: TcM a -> TcM (THResult a) + wrapTHResult tcm = do +diff --git a/compiler/ghc.cabal.in b/compiler/ghc.cabal.in +index 8cb5b2a952..d8fba4308f 100644 +--- a/compiler/ghc.cabal.in ++++ b/compiler/ghc.cabal.in +@@ -602,8 +602,11 @@ Library + GHC.Runtime.Heap.Inspect + GHC.Runtime.Heap.Layout + GHC.Runtime.Interpreter ++ GHC.Runtime.Interpreter.JS ++ GHC.Runtime.Interpreter.Process + GHC.Runtime.Interpreter.Types + GHC.Runtime.Loader ++ GHC.Runtime.Utils + GHC.Settings + GHC.Settings.Config + GHC.Settings.Constants +diff --git a/ghc-interp.js b/ghc-interp.js +new file mode 100644 +index 0000000000..6e4e4d7201 +--- /dev/null ++++ b/ghc-interp.js +@@ -0,0 +1,99 @@ ++/* ++ GHC JS Interpreter ++ ++ Read commands on stdin (ending with \n): ++ LOAD foo.js : load foo.js file ++ RUN_SERVER ghci_unit_id : run ghci_unit_id:GHCi.Server.defaultServer ++ ++ Once the Haskell server is started with RUN_SERVER, the JS server no longer ++ reads commands on stdin. Everything must go through the Haskell server (which ++ uses pipes for communication) ++*/ ++ ++var h$THfs = require('fs'); ++var h$THvm = require('vm'); ++ ++function h$debug_log(s) { ++ // uncomment the following line to enable some debug messages ++ // console.log("[JS interpreter] " + s); ++} ++ ++// load and exec JS file ++function h$loadJS(path) { ++ h$debug_log("Loading file: " + path); ++ var data = h$THfs.readFileSync(path); ++ const script = new h$THvm.Script(data); ++ script.runInThisContext(); ++} ++ ++// Lookup a static closure by its name ++function h$lookupClosure(v) { ++ h$debug_log("Looking up closure: " + v); ++ const r = eval(v); ++ h$debug_log(" -> Result: " + r); ++ if (!r) return 0; ++ // a RemoteRef is just the offset of a stable pointer ++ return h$makeStablePtr(r); ++} ++ ++// give access to these functions to the dynamically linked code ++globalThis.h$loadJS = h$loadJS; ++globalThis.h$lookupClosure = h$lookupClosure; ++global.require = require; ++global.module = module; ++ ++ ++function h$initInterp() { ++ h$debug_log("Welcome to GHC's JS interpreter"); ++ ++ function stdin_end() { ++ h$debug_log('GHC disconnected: goodbye.'); ++ process.exit(1); ++ }; ++ ++ // read until we find '\n' ++ // Accumulate bytes in "bytes" array ++ let bytes = []; ++ let decoder = new TextDecoder('utf8'); ++ ++ function stdin_readable() { ++ // read until we find '\n' ++ while (null !== (bs = process.stdin.read(1))) { ++ let b = bs[0]; ++ switch(b) { ++ case 10: // `\n` found. `bytes` must contain a command ++ let cmd = decoder.decode(new Uint8Array(bytes)); ++ bytes = []; ++ // we only supports 2 commands: LOAD, RUN_SERVER ++ if (cmd.startsWith("LOAD ")) { ++ h$loadJS(cmd.slice(5)); ++ } ++ else if (cmd.startsWith("RUN_SERVER ")) { ++ let uid = cmd.slice(11); ++ let root = eval("h$" + uid + "ZCGHCiziServerzidefaultServer"); ++ // remove listeners ++ process.stdin.removeListener('end', stdin_end); ++ process.stdin.removeListener('readable', stdin_readable); ++ // run the server ++ h$debug_log("Run server"); ++ h$main(root); ++ // break the loop ++ return; ++ } ++ else { ++ console.log("[JS interpreter] Invalid command received: " + cmd); ++ process.exit(1); ++ } ++ break; ++ default: ++ bytes.push(b); ++ } ++ } ++ }; ++ ++ // read commands on STDIN ++ process.stdin.on('end', stdin_end); ++ process.stdin.on('readable', stdin_readable); ++} ++ ++h$initInterp(); +diff --git a/hadrian/src/Base.hs b/hadrian/src/Base.hs +index 3fcc3bb3c6..00746ed085 100644 +--- a/hadrian/src/Base.hs ++++ b/hadrian/src/Base.hs +@@ -123,6 +123,7 @@ ghcLibDeps stage iplace = do + ps <- mapM (\f -> stageLibPath stage <&> (-/- f)) + [ "llvm-targets" + , "llvm-passes" ++ , "ghc-interp.js" + , "settings" + ] + cxxStdLib <- systemCxxStdLibConfPath (PackageDbLoc stage iplace) +diff --git a/hadrian/src/Rules/Generate.hs b/hadrian/src/Rules/Generate.hs +index 921253f2de..6110dc117a 100644 +--- a/hadrian/src/Rules/Generate.hs ++++ b/hadrian/src/Rules/Generate.hs +@@ -197,6 +197,7 @@ copyRules = do + prefix -/- "ghci-usage.txt" <~ return "driver" + prefix -/- "llvm-targets" <~ return "." + prefix -/- "llvm-passes" <~ return "." ++ prefix -/- "ghc-interp.js" <~ return "." + prefix -/- "template-hsc.h" <~ return (pkgPath hsc2hs -/- "data") + + prefix -/- "html/**" <~ return "utils/haddock/haddock-api/resources" +diff --git a/libraries/base/System/Posix/Internals.hs b/libraries/base/System/Posix/Internals.hs +index e4b45532b6..bd3d4db8ca 100644 +--- a/libraries/base/System/Posix/Internals.hs ++++ b/libraries/base/System/Posix/Internals.hs +@@ -139,10 +139,10 @@ ioe_unknownfiletype = IOError Nothing UnsupportedOperation "fdType" + Nothing + + fdGetMode :: FD -> IO IOMode +-#if defined(mingw32_HOST_OS) ++#if defined(mingw32_HOST_OS) || defined(javascript_HOST_ARCH) + fdGetMode _ = do + -- We don't have a way of finding out which flags are set on FDs +- -- on Windows, so make a handle that thinks that anything goes. ++ -- on Windows/JS, so make a handle that thinks that anything goes. + let flags = o_RDWR + #else + fdGetMode fd = do +diff --git a/libraries/base/jsbits/base.js b/libraries/base/jsbits/base.js +index 5b60d060e3..1613e3b676 100644 +--- a/libraries/base/jsbits/base.js ++++ b/libraries/base/jsbits/base.js +@@ -450,6 +450,15 @@ function h$base_c_s_isdir(mode) { + function h$base_c_s_isfifo(mode) { + return 0; + } ++function h$base_c_fcntl_read(fd,cmd) { ++ return -1; ++} ++function h$base_c_fcntl_write(fd,cmd,value) { ++ return -1; ++} ++function h$base_c_fcntl_lock(fd,cmd,ptr,ptr_o) { ++ return -1; ++} + + #ifndef GHCJS_BROWSER + function h$base_fillStat(fs, b, off) { +diff --git a/libraries/ghci/GHCi/RemoteTypes.hs b/libraries/ghci/GHCi/RemoteTypes.hs +index bbd7d32bed..77b663b2c4 100644 +--- a/libraries/ghci/GHCi/RemoteTypes.hs ++++ b/libraries/ghci/GHCi/RemoteTypes.hs +@@ -8,14 +8,29 @@ + -- compiler/GHC/Runtime/Interpreter.hs. + -- + module GHCi.RemoteTypes +- ( RemotePtr(..), toRemotePtr, fromRemotePtr, castRemotePtr ++ ( -- * Remote pointer ++ RemotePtr(..) ++ , toRemotePtr ++ , fromRemotePtr ++ , castRemotePtr ++ -- * RemoteRef: reference to some heap object (potentially remote) ++ , RemoteRef (..) ++ , mkRemoteRef ++ , localRef ++ , freeRemoteRef ++ , castRemoteRef ++ -- * ForeignRef: RemoteRef with a finalizer ++ , ForeignRef ++ , mkForeignRef ++ , withForeignRef ++ , finalizeForeignRef ++ , castForeignRef ++ , unsafeForeignRefToRemoteRef ++ -- * HValue + , HValue(..) +- , RemoteRef, mkRemoteRef, localRef, freeRemoteRef +- , HValueRef, toHValueRef +- , ForeignRef, mkForeignRef, withForeignRef ++ , HValueRef + , ForeignHValue +- , unsafeForeignRefToRemoteRef, finalizeForeignRef +- ) where ++) where + + import Prelude -- See note [Why do we import Prelude here?] + import Control.DeepSeq +@@ -23,7 +38,6 @@ import Data.Word + import Foreign hiding (newForeignPtr) + import Foreign.Concurrent + import Data.Binary +-import Unsafe.Coerce + import GHC.Exts + import GHC.ForeignPtr + +@@ -52,23 +66,28 @@ deriving instance Binary (RemotePtr a) + deriving instance NFData (RemotePtr a) + + -- ----------------------------------------------------------------------------- +--- HValueRef ++-- HValue: alias for Any + + newtype HValue = HValue Any + + instance Show HValue where + show _ = "" + +--- | A reference to a remote value. These are allocated and freed explicitly. ++-- For convenience ++type HValueRef = RemoteRef HValue ++type ForeignHValue = ForeignRef HValue ++ ++-- ----------------------------------------------------------------------------- ++-- RemoteRef: pointer to a Heap object ++ ++-- | A reference to a heap object. Potentially in a remote heap! ++-- These are allocated and freed explicitly. + newtype RemoteRef a = RemoteRef (RemotePtr ()) + deriving (Show, Binary) + + -- We can discard type information if we want +-toHValueRef :: RemoteRef a -> RemoteRef HValue +-toHValueRef = unsafeCoerce +- +--- For convenience +-type HValueRef = RemoteRef HValue ++castRemoteRef :: RemoteRef a -> RemoteRef b ++castRemoteRef = coerce + + -- | Make a reference to a local value that we can send remotely. + -- This reference will keep the value that it refers to alive until +@@ -78,34 +97,33 @@ mkRemoteRef a = do + sp <- newStablePtr a + return $! RemoteRef (toRemotePtr (castStablePtrToPtr sp)) + +--- | Convert an HValueRef to an HValue. Should only be used if the HValue +--- originated in this process. ++-- | Convert a RemoteRef to its carried type. Should only be used if the ++-- RemoteRef originated in this process. + localRef :: RemoteRef a -> IO a + localRef (RemoteRef w) = + deRefStablePtr (castPtrToStablePtr (fromRemotePtr w)) + +--- | Release an HValueRef that originated in this process ++-- | Release a RemoteRef that originated in this process + freeRemoteRef :: RemoteRef a -> IO () + freeRemoteRef (RemoteRef w) = + freeStablePtr (castPtrToStablePtr (fromRemotePtr w)) + +--- | An HValueRef with a finalizer ++-- | An RemoteRef with a finalizer + newtype ForeignRef a = ForeignRef (ForeignPtr ()) + + instance NFData (ForeignRef a) where + rnf x = x `seq` () + +-type ForeignHValue = ForeignRef HValue + + -- | Create a 'ForeignRef' from a 'RemoteRef'. The finalizer +--- should arrange to call 'freeHValueRef' on the 'HValueRef'. (since ++-- should arrange to call 'freeRemoteRef' on the 'RemoteRef'. (since + -- this function needs to be called in the process that created the +--- 'HValueRef', it cannot be called directly from the finalizer). ++-- 'RemoteRef', it cannot be called directly from the finalizer). + mkForeignRef :: RemoteRef a -> IO () -> IO (ForeignRef a) + mkForeignRef (RemoteRef hvref) finalizer = + ForeignRef <$> newForeignPtr (fromRemotePtr hvref) finalizer + +--- | Use a 'ForeignHValue' ++-- | Use a 'ForeignRef' + withForeignRef :: ForeignRef a -> (RemoteRef a -> IO b) -> IO b + withForeignRef (ForeignRef fp) f = + withForeignPtr fp (f . RemoteRef . toRemotePtr) +@@ -116,3 +134,6 @@ unsafeForeignRefToRemoteRef (ForeignRef fp) = + + finalizeForeignRef :: ForeignRef a -> IO () + finalizeForeignRef (ForeignRef fp) = finalizeForeignPtr fp ++ ++castForeignRef :: ForeignRef a -> ForeignRef b ++castForeignRef = coerce +diff --git a/libraries/ghci/GHCi/Run.hs b/libraries/ghci/GHCi/Run.hs +index fae2ac07f5..2074445270 100644 +--- a/libraries/ghci/GHCi/Run.hs ++++ b/libraries/ghci/GHCi/Run.hs +@@ -1,5 +1,5 @@ + {-# LANGUAGE GADTs, RecordWildCards, MagicHash, ScopedTypeVariables, CPP, +- UnboxedTuples #-} ++ UnboxedTuples, LambdaCase #-} + {-# OPTIONS_GHC -fno-warn-name-shadowing #-} + + -- | +@@ -13,8 +13,14 @@ module GHCi.Run + ) where + + import Prelude -- See note [Why do we import Prelude here?] ++ ++#if !defined(javascript_HOST_ARCH) + import GHCi.CreateBCO + import GHCi.InfoTable ++import Data.Binary ++import Data.Binary.Get ++#endif ++ + import GHCi.FFI + import GHCi.Message + import GHCi.ObjLink +@@ -27,8 +33,6 @@ import Control.Concurrent + import Control.DeepSeq + import Control.Exception + import Control.Monad +-import Data.Binary +-import Data.Binary.Get + import Data.ByteString (ByteString) + import qualified Data.ByteString.Unsafe as B + import GHC.Exts +@@ -49,19 +53,36 @@ foreign import ccall "revertCAFs" rts_revertCAFs :: IO () + + run :: Message a -> IO a + run m = case m of ++#if defined(javascript_HOST_ARCH) ++ LoadObj p -> withCString p loadJS ++ InitLinker -> notSupportedJS m ++ LoadDLL {} -> notSupportedJS m ++ LoadArchive {} -> notSupportedJS m ++ UnloadObj {} -> notSupportedJS m ++ AddLibrarySearchPath {} -> notSupportedJS m ++ RemoveLibrarySearchPath {} -> notSupportedJS m ++ MkConInfoTable {} -> notSupportedJS m ++ ResolveObjs -> notSupportedJS m ++ FindSystemLibrary {} -> notSupportedJS m ++ CreateBCOs {} -> notSupportedJS m ++ LookupClosure str -> lookupJSClosure str ++#else + InitLinker -> initObjLinker RetainCAFs +- RtsRevertCAFs -> rts_revertCAFs +- LookupSymbol str -> fmap toRemotePtr <$> lookupSymbol str +- LookupClosure str -> lookupClosure str + LoadDLL str -> loadDLL str + LoadArchive str -> loadArchive str + LoadObj str -> loadObj str + UnloadObj str -> unloadObj str + AddLibrarySearchPath str -> toRemotePtr <$> addLibrarySearchPath str + RemoveLibrarySearchPath ptr -> removeLibrarySearchPath (fromRemotePtr ptr) ++ MkConInfoTable tc ptrs nptrs tag ptrtag desc -> ++ toRemotePtr <$> mkConInfoTable tc ptrs nptrs tag ptrtag desc + ResolveObjs -> resolveObjs + FindSystemLibrary str -> findSystemLibrary str + CreateBCOs bcos -> createBCOs (concatMap (runGet get) bcos) ++ LookupClosure str -> lookupClosure str ++#endif ++ RtsRevertCAFs -> rts_revertCAFs ++ LookupSymbol str -> fmap toRemotePtr <$> lookupSymbol str + FreeHValueRefs rs -> mapM_ freeRemoteRef rs + AddSptEntry fpr r -> localRef r >>= sptAddEntry fpr + EvalStmt opts r -> evalStmt opts r +@@ -90,15 +111,38 @@ run m = case m of + MallocStrings bss -> mapM mkString0 bss + PrepFFI conv args res -> toRemotePtr <$> prepForeignCall conv args res + FreeFFI p -> freeForeignCallInfo (fromRemotePtr p) +- MkConInfoTable tc ptrs nptrs tag ptrtag desc -> +- toRemotePtr <$> mkConInfoTable tc ptrs nptrs tag ptrtag desc + StartTH -> startTH + GetClosure ref -> do + clos <- Heap.getClosureData =<< localRef ref + mapM (\(Heap.Box x) -> mkRemoteRef (HValue x)) clos + Seq ref -> doSeq ref + ResumeSeq ref -> resumeSeq ref +- _other -> error "GHCi.Run.run" ++ ++ Shutdown -> unexpectedMessage m ++ RunTH {} -> unexpectedMessage m ++ RunModFinalizers {} -> unexpectedMessage m ++ ++unexpectedMessage :: Message a -> b ++unexpectedMessage m = error ("GHCi.Run.Run: unexpected message: " ++ show m) ++ ++#if defined(javascript_HOST_ARCH) ++foreign import javascript "((ptr,off) => globalThis.h$loadJS(h$decodeUtf8z(ptr,off)))" loadJS :: CString -> IO () ++ ++foreign import javascript "((ptr,off) => globalThis.h$lookupClosure(h$decodeUtf8z(ptr,off)))" lookupJSClosure# :: CString -> State# RealWorld -> (# State# RealWorld, Int# #) ++ ++lookupJSClosure' :: String -> IO Int ++lookupJSClosure' str = withCString str $ \cstr -> IO (\s -> ++ case lookupJSClosure# cstr s of ++ (# s', r #) -> (# s', I# r #)) ++ ++lookupJSClosure :: String -> IO (Maybe HValueRef) ++lookupJSClosure str = lookupJSClosure' str >>= \case ++ 0 -> pure Nothing ++ r -> pure (Just (RemoteRef (RemotePtr (fromIntegral r)))) ++ ++notSupportedJS :: Message a -> b ++notSupportedJS m = error ("Message not supported with the JavaScript interpreter: " ++ show m) ++#endif + + evalStmt :: EvalOpts -> EvalExpr HValueRef -> IO (EvalStatus [HValueRef]) + evalStmt opts expr = do +diff --git a/libraries/ghci/ghci.cabal.in b/libraries/ghci/ghci.cabal.in +index 700b7d62ea..ce7dc10a3e 100644 +--- a/libraries/ghci/ghci.cabal.in ++++ b/libraries/ghci/ghci.cabal.in +@@ -50,7 +50,6 @@ library + if flag(internal-interpreter) + CPP-Options: -DHAVE_INTERNAL_INTERPRETER + exposed-modules: +- GHCi.InfoTable + GHCi.Run + GHCi.CreateBCO + GHCi.ObjLink +@@ -59,6 +58,10 @@ library + GHCi.TH + GHCi.Server + ++ if !arch(javascript) ++ exposed-modules: ++ GHCi.InfoTable ++ + exposed-modules: + GHCi.BreakArray + GHCi.BinaryArray +diff --git a/libraries/template-haskell/tests/all.T b/libraries/template-haskell/tests/all.T +index 48f05c64fa..6fb09fc3c7 100644 +--- a/libraries/template-haskell/tests/all.T ++++ b/libraries/template-haskell/tests/all.T +@@ -1,3 +1,3 @@ + # difficult to test TH with profiling, because we have to build twice +-test('dataToExpQUnit', [omit_ways(prof_ways), req_interp], compile, ['-v0']) +-test('pragCompletePpr', [omit_ways(prof_ways), req_interp], compile_and_run, ['']) ++test('dataToExpQUnit', [omit_ways(prof_ways), req_th], compile, ['-v0']) ++test('pragCompletePpr', [omit_ways(prof_ways), req_th], compile_and_run, ['']) diff --git a/overlays/patches/ghc/ghc-9.8-android-convert-os.patch b/overlays/patches/ghc/ghc-9.8-android-convert-os.patch new file mode 100644 index 0000000000..bdbf1db0ac --- /dev/null +++ b/overlays/patches/ghc/ghc-9.8-android-convert-os.patch @@ -0,0 +1,13 @@ +diff --git a/m4/ghc_convert_os.m4 b/m4/ghc_convert_os.m4 +index 586b33d09b..275bd997eb 100644 +--- a/m4/ghc_convert_os.m4 ++++ b/m4/ghc_convert_os.m4 +@@ -10,7 +10,7 @@ AC_DEFUN([GHC_CONVERT_OS],[ + ios|watchos|tvos) + $3="ios" + ;; +- linux-android*) ++ linux-android*|android) + $3="linux-android" + ;; + linux-*|linux) diff --git a/overlays/patches/ghc/ghc-9.8-hadrian-strip-cmd.patch b/overlays/patches/ghc/ghc-9.8-hadrian-strip-cmd.patch new file mode 100644 index 0000000000..e6dc4079e5 --- /dev/null +++ b/overlays/patches/ghc/ghc-9.8-hadrian-strip-cmd.patch @@ -0,0 +1,55 @@ +diff --git a/hadrian/cfg/system.config.in b/hadrian/cfg/system.config.in +index 4912673869..85b5c58c2a 100644 +--- a/hadrian/cfg/system.config.in ++++ b/hadrian/cfg/system.config.in +@@ -18,6 +18,7 @@ merge-objects = @MergeObjsCmd@ + system-merge-objects = @LD_STAGE0@ + objdump = @ObjdumpCmd@ + ranlib = @REAL_RANLIB_CMD@ ++strip = @StripCmd@ + sphinx-build = @SPHINXBUILD@ + system-ar = @AR_STAGE0@ + system-cc = @CC_STAGE0@ +diff --git a/hadrian/src/Oracles/Setting.hs b/hadrian/src/Oracles/Setting.hs +index a0f639d325..55f9a2f902 100644 +--- a/hadrian/src/Oracles/Setting.hs ++++ b/hadrian/src/Oracles/Setting.hs +@@ -73,6 +73,7 @@ data Setting = BuildArch + | ProjectPatchLevel + | ProjectPatchLevel1 + | ProjectPatchLevel2 ++ | Strip + | SystemGhc + | TargetArch + | TargetOs +@@ -176,6 +177,7 @@ setting key = lookupSystemConfig $ case key of + ProjectPatchLevel -> "project-patch-level" + ProjectPatchLevel1 -> "project-patch-level1" + ProjectPatchLevel2 -> "project-patch-level2" ++ Strip -> "strip" + SystemGhc -> "system-ghc" + TargetArch -> "target-arch" + TargetArmVersion -> "target-arm-version" +diff --git a/hadrian/src/Settings/Builders/Cabal.hs b/hadrian/src/Settings/Builders/Cabal.hs +index 75eb78ccd8..6904c973d4 100644 +--- a/hadrian/src/Settings/Builders/Cabal.hs ++++ b/hadrian/src/Settings/Builders/Cabal.hs +@@ -85,15 +85,11 @@ commonCabalArgs :: Stage -> Args + commonCabalArgs stage = do + verbosity <- expr getVerbosity + pkg <- getPackage ++ strip <- getSetting Strip + package_id <- expr $ pkgUnitId stage pkg + let prefix = "${pkgroot}" ++ (if windowsHost then "" else "/..") +- mconcat [ -- Don't strip libraries when cross compiling. +- -- TODO: We need to set @--with-strip=(stripCmdPath :: Action FilePath)@, +- -- and if it's @:@ disable stripping as well. As it is now, I believe +- -- we might have issues with stripping on Windows, as I can't see a +- -- consumer of 'stripCmdPath'. +- -- TODO: See https://github.com/snowleopard/hadrian/issues/549. +- flag CrossCompiling ? pure [ "--disable-executable-stripping" ++ mconcat [ notStage0 ? strip /= "" ? pure [ "--with-strip=" ++ strip ] ++ , flag CrossCompiling ? pure [ "--disable-executable-stripping" + , "--disable-library-stripping" ] + -- We don't want to strip the debug RTS + , S.package rts ? pure [ "--disable-executable-stripping" diff --git a/overlays/patches/ghc/ghc-9.8.3-f8beb54a1d5725bd0d8a4b0a909d1b41d742b50b.patch b/overlays/patches/ghc/ghc-9.8.3-f8beb54a1d5725bd0d8a4b0a909d1b41d742b50b.patch new file mode 100644 index 0000000000..6a6e2625b5 --- /dev/null +++ b/overlays/patches/ghc/ghc-9.8.3-f8beb54a1d5725bd0d8a4b0a909d1b41d742b50b.patch @@ -0,0 +1,81 @@ +From f8beb54a1d5725bd0d8a4b0a909d1b41d742b50b Mon Sep 17 00:00:00 2001 +From: Luite Stegeman +Date: Fri, 8 Dec 2023 12:12:20 +0100 +Subject: [PATCH] External plugins: try loading archive if loading dynamic + library fails + +--- + compiler/GHC/Driver/Plugins.hs | 27 ++++++++++----------------- + 1 file changed, 10 insertions(+), 17 deletions(-) + +diff --git a/compiler/GHC/Driver/Plugins.hs b/compiler/GHC/Driver/Plugins.hs +index 2f3bf44b408..8b06e8b16d5 100644 +--- a/compiler/GHC/Driver/Plugins.hs ++++ b/compiler/GHC/Driver/Plugins.hs +@@ -1,12 +1,9 @@ + {-# LANGUAGE RankNTypes #-} + {-# LANGUAGE CPP #-} + +-#if defined(CAN_LOAD_DLL) + {-# LANGUAGE MagicHash #-} + {-# LANGUAGE LambdaCase #-} + {-# LANGUAGE UnboxedTuples #-} +-#endif +- + + -- | Definitions for writing /plugins/ for GHC. Plugins can hook into + -- several areas of the compiler. See the 'Plugin' type. These plugins +@@ -103,11 +100,9 @@ import qualified Data.Semigroup + + import Control.Monad + +-#if defined(CAN_LOAD_DLL) + import GHCi.ObjLink + import GHC.Exts (addrToAny#, Ptr(..)) + import GHC.Utils.Encoding +-#endif + + + -- | Command line options gathered from the -PModule.Name:stuff syntax +@@ -372,10 +367,6 @@ defaultFrontendPlugin = FrontendPlugin { frontend = \_ _ -> return () } + -- | Load external plugins + loadExternalPlugins :: [ExternalPluginSpec] -> IO [ExternalPlugin] + loadExternalPlugins [] = return [] +-#if !defined(CAN_LOAD_DLL) +-loadExternalPlugins _ = do +- panic "loadExternalPlugins: loading shared libraries isn't supported by this compiler" +-#else + loadExternalPlugins ps = do + -- initialize the linker + initObjLinker RetainCAFs +@@ -400,17 +391,19 @@ loadExternalPlugins ps = do + + loadExternalPluginLib :: FilePath -> IO () + loadExternalPluginLib path = do +- -- load library ++ -- XXX we should probably use the filename to determine whether ++ -- the plugin is an archive or dynamic lib ++ ++ -- try loading it as a dynamic library + loadDLL path >>= \case +- Left errmsg -> pprPanic "loadExternalPluginLib" +- (vcat [ text "Can't load plugin library" +- , text " Library path: " <> text path +- , text " Error : " <> text errmsg +- ]) +- Right _ -> do ++ Left _errmsg -> ++ -- if that fails, try loading it as an archive ++ loadArchive path >> resolve ++ Right _ -> resolve ++ where ++ resolve = do + -- resolve objects + resolveObjs >>= \case + True -> return () + False -> pprPanic "loadExternalPluginLib" (text "Unable to resolve objects for library: " <> text path) + +-#endif +-- +GitLab + diff --git a/overlays/patches/ghc/ghc-9.8.3-iog.patch b/overlays/patches/ghc/ghc-9.8.3-iog.patch new file mode 100644 index 0000000000..8f2df690c4 --- /dev/null +++ b/overlays/patches/ghc/ghc-9.8.3-iog.patch @@ -0,0 +1,356 @@ +diff --git a/rts/Linker.c b/rts/Linker.c +index 1f229f8173..7f954702a3 100644 +--- a/rts/Linker.c ++++ b/rts/Linker.c +@@ -273,7 +273,7 @@ int ghciInsertSymbolTable( + RtsSymbolInfo *pinfo = lookupStrHashTable(table, key); + if (!pinfo) /* new entry */ + { +- pinfo = stgMallocBytes(sizeof (*pinfo), "ghciInsertToSymbolTable"); ++ pinfo = stgCallocBytes(1, sizeof (*pinfo), "ghciInsertToSymbolTable"); + pinfo->value = data; + pinfo->owner = owner; + pinfo->strength = strength; +@@ -1203,7 +1203,7 @@ mkOc( ObjectType type, pathchar *path, char *image, int imageSize, + + + IF_DEBUG(linker, debugBelch("mkOc: %" PATH_FMT "\n", path)); +- oc = stgMallocBytes(sizeof(ObjectCode), "mkOc(oc)"); ++ oc = stgCallocBytes(1, sizeof(ObjectCode), "mkOc(oc)"); + + oc->info = NULL; + oc->type = type; +@@ -1223,7 +1223,7 @@ mkOc( ObjectType type, pathchar *path, char *image, int imageSize, + oc->fileName = pathdup(path); + + if (archiveMemberName) { +- oc->archiveMemberName = stgMallocBytes( (pathlen(archiveMemberName)+1) * pathsize, ++ oc->archiveMemberName = stgCallocBytes(1, (pathlen(archiveMemberName)+1) * pathsize, + "loadObj" ); + pathcopy(oc->archiveMemberName, archiveMemberName); + } else { +@@ -1380,12 +1380,12 @@ preloadObjectFile (pathchar *path) + // reading the file, and then we misalign image on purpose so + // that the actual sections end up aligned again. + misalignment = machoGetMisalignment(f); +- image = stgMallocBytes(fileSize + misalignment, "loadObj(image)"); ++ image = stgCallocBytes(1, fileSize + misalignment, "loadObj(image)"); + image += misalignment; + + # else /* !defined(darwin_HOST_OS) */ + +- image = stgMallocBytes(fileSize, "loadObj(image)"); ++ image = stgCallocBytes(1, fileSize, "loadObj(image)"); + + #endif /* !defined(darwin_HOST_OS) */ + +@@ -1678,6 +1678,8 @@ static HsInt resolveObjs_ (void) + IF_DEBUG(linker, debugBelch("resolveObjs: start\n")); + + for (ObjectCode *oc = objects; oc; oc = oc->next) { ++ if(oc->status == OBJECT_RESOLVED) ++ continue; + int r = ocTryLoad(oc); + if (!r) { + errorBelch("Could not load Object Code %" PATH_FMT ".\n", OC_INFORMATIVE_FILENAME(oc)); +@@ -1806,7 +1808,7 @@ void + addProddableBlock ( ObjectCode* oc, void* start, int size ) + { + ProddableBlock* pb +- = stgMallocBytes(sizeof(ProddableBlock), "addProddableBlock"); ++ = stgCallocBytes(1,sizeof(ProddableBlock), "addProddableBlock"); + + IF_DEBUG(linker, debugBelch("addProddableBlock: %p %p %d\n", oc, start, size)); + ASSERT(size > 0); +diff --git a/rts/LinkerInternals.h b/rts/LinkerInternals.h +index e6098aa2b0..4b8992e817 100644 +--- a/rts/LinkerInternals.h ++++ b/rts/LinkerInternals.h +@@ -299,6 +299,10 @@ struct _ObjectCode { + int n_segments; + Segment *segments; + ++ // COMMON section ++ void * common_mem; ++ unsigned long common_size; ++ + // + // Garbage collection fields + // +diff --git a/rts/RtsUtils.c b/rts/RtsUtils.c +index 4cac10ba15..fe0d8ca40e 100644 +--- a/rts/RtsUtils.c ++++ b/rts/RtsUtils.c +@@ -104,6 +104,11 @@ stgCallocBytes (size_t count, size_t size, char *msg) + rtsConfig.mallocFailHook((W_) count*size, msg); + stg_exit(EXIT_INTERNAL_ERROR); + } ++ // If we run under qemu with jemalloc, calloc is not guaranteed ++ // to zero memory. ++ // - https://giters.com/jemalloc/jemalloc/issues/1844 ++ // - https://lists.nongnu.org/archive/html/qemu-devel/2020-05/msg03119.html ++ memset(space, 0, count*size); + return space; + } + +diff --git a/rts/linker/Elf.c b/rts/linker/Elf.c +index d181450190..1ad05fc286 100644 +--- a/rts/linker/Elf.c ++++ b/rts/linker/Elf.c +@@ -307,6 +307,15 @@ ocInit_ELF(ObjectCode * oc) + } + } + } ++ if(NULL != oc->common_mem) { ++#if RTS_LINKER_USE_MMAP ++ munmap(oc->common_mem, oc->common_size); ++#else ++ stgFree(oc->common_mem); ++#endif ++ } ++ oc->common_mem = NULL; ++ oc->common_size = 0; + } + + void +@@ -963,14 +972,17 @@ ocGetNames_ELF ( ObjectCode* oc ) + for (size_t j = 0; j < symTab->n_symbols; j++) { + ElfSymbol *symbol = &symTab->symbols[j]; + if (SHN_COMMON == symTab->symbols[j].elf_sym->st_shndx) { +- common_size += symbol->elf_sym->st_size; ++ // st_value holds the alignment. Adding alignment always ++ // should give us some wiggle room to get alignment right. ++ common_size += symbol->elf_sym->st_size + symbol->elf_sym->st_value; + } + } + } +- void * common_mem = NULL; ++ oc->common_mem = NULL; ++ oc->common_size = common_size; + if(common_size > 0) { +- common_mem = mmapAnonForLinker(common_size); +- if (common_mem == NULL) { ++ oc->common_mem = mmapAnonForLinker(common_size); ++ if (oc->common_mem == NULL) { + barf("ocGetNames_ELF: Failed to allocate memory for SHN_COMMONs"); + } + } +@@ -1011,9 +1023,10 @@ ocGetNames_ELF ( ObjectCode* oc ) + if (shndx == SHN_COMMON) { + isLocal = false; + CHECK(common_used < common_size); +- CHECK(common_mem); +- symbol->addr = (void*)((uintptr_t)common_mem + common_used); +- common_used += symbol->elf_sym->st_size; ++ CHECK(oc->common_mem); ++ int alignment = symbol->elf_sym->st_value-1; ++ symbol->addr = (void*)(((uintptr_t)oc->common_mem + common_used + alignment) & ~alignment); ++ common_used = (uintptr_t)symbol->addr - (uintptr_t)oc->common_mem + symbol->elf_sym->st_size; + CHECK(common_used <= common_size); + + IF_DEBUG(linker_verbose, +@@ -1027,7 +1040,9 @@ ocGetNames_ELF ( ObjectCode* oc ) + || ELF_ST_BIND(symbol->elf_sym->st_info) == STB_WEAK + ) + /* and not an undefined symbol */ +- && shndx != SHN_UNDEF ++ && (shndx != SHN_UNDEF ++ /* unless it's weak */ ++ || (shndx == SHN_UNDEF && ELF_ST_BIND(symbol->elf_sym->st_info) == STB_WEAK)) + /* and not in a "special section" */ + && (shndx < SHN_LORESERVE + #if defined(SHN_XINDEX) +@@ -1054,6 +1069,14 @@ ocGetNames_ELF ( ObjectCode* oc ) + (intptr_t) oc->sections[secno].start + + (intptr_t) symbol->elf_sym->st_value); + CHECK(symbol->addr != 0x0); ++ if(shndx == SHN_UNDEF && ELF_ST_BIND(symbol->elf_sym->st_info) == STB_WEAK) { ++ symbol->addr = NULL; ++ } else { ++ symbol->addr = (SymbolAddr*)( ++ (intptr_t) oc->sections[secno].start + ++ (intptr_t) symbol->elf_sym->st_value); ++ CHECK(symbol->addr != 0x0); ++ } + if (ELF_ST_BIND(symbol->elf_sym->st_info) == STB_LOCAL) { + isLocal = true; + isWeak = false; +@@ -1065,42 +1088,20 @@ ocGetNames_ELF ( ObjectCode* oc ) + isWeak = ELF_ST_BIND(symbol->elf_sym->st_info) + == STB_WEAK; + } +- } +- +- SymType sym_type; +- if (ELF_ST_TYPE(symbol->elf_sym->st_info) == STT_FUNC) { +- sym_type = SYM_TYPE_CODE; ++ } else if (ELF_ST_BIND(symbol->elf_sym->st_info) == STB_WEAK ++ && shndx == SHN_UNDEF ++ && (ELF_ST_TYPE(symbol->elf_sym->st_info) == STT_FUNC ++ || ELF_ST_TYPE(symbol->elf_sym->st_info) == STT_OBJECT ++ || ELF_ST_TYPE(symbol->elf_sym->st_info) == STT_NOTYPE)) { ++ symbol->addr = NULL; ++ isLocal = false; ++ isWeak = true; + } else { +- sym_type = SYM_TYPE_DATA; +- } +- +- /* And the decision is ... */ +- +- if (symbol->addr != NULL) { +- CHECK(nm != NULL); +- /* Acquire! */ +- if (!isLocal) { +- +- if (isWeak == HS_BOOL_TRUE) { +- setWeakSymbol(oc, nm); +- } +- if (!ghciInsertSymbolTable(oc->fileName, symhash, +- nm, symbol->addr, isWeak, sym_type, oc) +- ) { +- goto fail; +- } +- oc->symbols[curSymbol].name = nm; +- oc->symbols[curSymbol].addr = symbol->addr; +- oc->symbols[curSymbol].type = sym_type; +- curSymbol++; +- } +- } else { +- /* Skip. */ ++ /* Skip. */ + IF_DEBUG(linker_verbose, + debugBelch("skipping `%s'\n", + nm) + ); +- + /* + debugBelch( + "skipping bind = %d, type = %d, secno = %d `%s'\n", +@@ -1110,7 +1111,34 @@ ocGetNames_ELF ( ObjectCode* oc ) + nm + ); + */ ++ continue; + } ++ ++ SymType sym_type; ++ if (ELF_ST_TYPE(symbol->elf_sym->st_info) == STT_FUNC) { ++ sym_type = SYM_TYPE_CODE; ++ } else { ++ sym_type = SYM_TYPE_DATA; ++ } ++ ++ /* And the decision is ... */ ++ CHECK(nm != NULL); ++ /* Acquire! */ ++ if (!isLocal) { ++ ++ if (isWeak == HS_BOOL_TRUE) { ++ setWeakSymbol(oc, nm); ++ } ++ if (!ghciInsertSymbolTable(oc->fileName, symhash, ++ nm, symbol->addr, isWeak, sym_type, oc) ++ ) { ++ goto fail; ++ } ++ oc->symbols[curSymbol].name = nm; ++ oc->symbols[curSymbol].addr = symbol->addr; ++ oc->symbols[curSymbol].type = sym_type; ++ curSymbol++; ++ } + } + } + } +diff --git a/rts/linker/elf_plt.c b/rts/linker/elf_plt.c +index 5c6ef8ed44..314d49cbc6 100644 +--- a/rts/linker/elf_plt.c ++++ b/rts/linker/elf_plt.c +@@ -1,4 +1,5 @@ + #include "Rts.h" ++#include "RtsUtils.h" + #include "elf_plt.h" + + #include +@@ -51,7 +52,7 @@ makeStub(Section * section, + void* * addr, + uint8_t flags) { + +- Stub * s = calloc(1, sizeof(Stub)); ++ Stub * s = stgCallocBytes(1, sizeof(Stub), "makeStub"); + ASSERT(s != NULL); + s->target = *addr; + s->flags = flags; +diff --git a/rts/linker/elf_plt_aarch64.c b/rts/linker/elf_plt_aarch64.c +index 11354a63db..6b27a2c73d 100644 +--- a/rts/linker/elf_plt_aarch64.c ++++ b/rts/linker/elf_plt_aarch64.c +@@ -25,6 +25,7 @@ const size_t stubSizeAarch64 = 5 * 4; + */ + bool needStubForRelAarch64(Elf_Rel * rel) { + switch(ELF64_R_TYPE(rel->r_info)) { ++ case COMPAT_R_AARCH64_CONDBR19: + case COMPAT_R_AARCH64_CALL26: + case COMPAT_R_AARCH64_JUMP26: + return true; +@@ -34,6 +35,7 @@ bool needStubForRelAarch64(Elf_Rel * rel) { + } + bool needStubForRelaAarch64(Elf_Rela * rela) { + switch(ELF64_R_TYPE(rela->r_info)) { ++ case COMPAT_R_AARCH64_CONDBR19: + case COMPAT_R_AARCH64_CALL26: + case COMPAT_R_AARCH64_JUMP26: + return true; +diff --git a/rts/linker/elf_reloc_aarch64.c b/rts/linker/elf_reloc_aarch64.c +index 51d7178094..dc0724c4f1 100644 +--- a/rts/linker/elf_reloc_aarch64.c ++++ b/rts/linker/elf_reloc_aarch64.c +@@ -105,8 +105,24 @@ encodeAddendAarch64(Section * section, Elf_Rel * rel, int64_t addend) { + break; + } + /* - control flow relocations */ ++ case COMPAT_R_AARCH64_CONDBR19: { /* relocate b.* ... */ ++ // 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 ++ // 0 1 0 1 0 1 0 0 [ imm19 ... ++ // ++ // 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 ++ // ... imm19 ] 0 [ cond ] ++ CHECK(isInt64(19+2, addend)); /* X in range */ ++ *(inst_t *)P = (*(inst_t *)P & 0xff00001f) ++ | ((uint32_t)(addend << (5-2)) & 0x00ffffe0); ++ break; ++ } + case COMPAT_R_AARCH64_JUMP26: /* relocate b ... */ + case COMPAT_R_AARCH64_CALL26: { /* relocate bl ... */ ++ // 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 ++ // 0|1 0 0 1 0 1 [ imm26 ... ++ ++ // 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 ++ // ... imm26 ] + CHECK(isInt64(26+2, addend)); /* X in range */ + *(inst_t *)P = (*(inst_t *)P & 0xfc000000) /* keep upper 6 (32-6) + * bits */ +@@ -222,6 +238,23 @@ computeAddend(Section * section, Elf_Rel * rel, + case COMPAT_R_AARCH64_ADD_ABS_LO12_NC: + /* type: static, class: aarch64, op: S + A */ + return (S + A) & 0xfff; ++ case COMPAT_R_AARCH64_CONDBR19: { ++ int64_t V = S + A - P; ++ if(!isInt64(19+2, V)) { ++ /* need a stub */ ++ /* check if we already have that stub */ ++ if(findStub(section, (void**)&S, 0)) { ++ /* did not find it. Crete a new stub. */ ++ if(makeStub(section, (void**)&S, 0)) { ++ abort(/* could not find or make stub */); ++ } ++ } ++ ++ V = S + A -P; ++ assert(isInt64(19+2, V)); ++ } ++ return V; ++ } + case COMPAT_R_AARCH64_JUMP26: + case COMPAT_R_AARCH64_CALL26: { + // S+A-P diff --git a/overlays/patches/ghc/ghc-9.8.3-text-upper-bound.patch b/overlays/patches/ghc/ghc-9.8.3-text-upper-bound.patch new file mode 100644 index 0000000000..9a78784dad --- /dev/null +++ b/overlays/patches/ghc/ghc-9.8.3-text-upper-bound.patch @@ -0,0 +1,24 @@ +diff --git a/linters/lint-commit-msg/lint-commit-msg.cabal b/linters/lint-commit-msg/lint-commit-msg.cabal +index 7d1dbd0fcb..861ad6f03d 100644 +--- a/linters/lint-commit-msg/lint-commit-msg.cabal ++++ b/linters/lint-commit-msg/lint-commit-msg.cabal +@@ -26,4 +26,4 @@ executable lint-commit-msg + base + >= 4.14 && < 5, + text +- >= 1.2 && < 2.1 ++ >= 1.2 && < 2.2 +diff --git a/linters/lint-submodule-refs/lint-submodule-refs.cabal b/linters/lint-submodule-refs/lint-submodule-refs.cabal +index ce4012adfc..9ff85d2731 100644 +--- a/linters/lint-submodule-refs/lint-submodule-refs.cabal ++++ b/linters/lint-submodule-refs/lint-submodule-refs.cabal +@@ -15,7 +15,7 @@ executable lint-submodule-refs + base + >= 4.14 && < 5, + text +- >= 1.2 && < 2.1, ++ >= 1.2 && < 2.2, + linters-common + + ghc-options: + diff --git a/overlays/patches/ghc/ghc-9.8.4-remove-unused-containers-h-include13709.diff b/overlays/patches/ghc/ghc-9.8.4-remove-unused-containers-h-include13709.diff new file mode 100644 index 0000000000..75b7747ba3 --- /dev/null +++ b/overlays/patches/ghc/ghc-9.8.4-remove-unused-containers-h-include13709.diff @@ -0,0 +1,156 @@ +diff --git a/.gitlab/rel_eng/mk-ghcup-metadata/mk_ghcup_metadata.py b/.gitlab/rel_eng/mk-ghcup-metadata/mk_ghcup_metadata.py +index 6d97bda61c3037cecbe5f7fad42115927aa1a787..90b52076f37089e9bce8c1a55d49f757a6d178ff 100755 +--- a/.gitlab/rel_eng/mk-ghcup-metadata/mk_ghcup_metadata.py ++++ b/.gitlab/rel_eng/mk-ghcup-metadata/mk_ghcup_metadata.py +@@ -36,6 +36,7 @@ import os + import yaml + import gitlab + from urllib.request import urlopen ++from urllib.parse import urlparse + import hashlib + import sys + import json +@@ -80,7 +81,7 @@ source_artifact = Artifact('source-tarball' + test_artifact = Artifact('source-tarball' + , 'ghc-{version}-testsuite.tar.xz' + , 'ghc-{version}-testsuite.tar.xz' +- , 'ghc-{version}' ) ++ , 'ghc-{version}/testsuite' ) + + def debian(arch, n): + return linux_platform(arch, "{arch}-linux-deb{n}".format(arch=arch, n=n)) +@@ -156,13 +157,18 @@ def mk_one_metadata(release_mode, version, job_map, artifact): + eprint(f"Bindist URL: {url}") + eprint(f"Download URL: {final_url}") + +- #Download and hash from the release pipeline, this must not change anyway during upload. ++ # Download and hash from the release pipeline, this must not change anyway during upload. + h = download_and_hash(url) + + res = { "dlUri": final_url + , "dlSubdir": artifact.subdir.format(version=version) +- , "dlOutput": artifact.output_name.format(version=version) + , "dlHash" : h } ++ ++ # Only add dlOutput if it is inconsistent with the filename inferred from the URL ++ output = artifact.output_name.format(version=version) ++ if Path(urlparse(final_url).path).name != output: ++ res["dlOutput"] = output ++ + eprint(res) + return res + +diff --git a/compiler/GHC/Data/Word64Map.hs b/compiler/GHC/Data/Word64Map.hs +index 3893313b5e9e79748f7595ecc1cb03c6536fa54f..b5034ca9f528d77c5571f4bd771edc5e6184d8c5 100644 +--- a/compiler/GHC/Data/Word64Map.hs ++++ b/compiler/GHC/Data/Word64Map.hs +@@ -8,7 +8,6 @@ + {-# LANGUAGE MonoLocalBinds #-} + #endif + +-#include "containers.h" + + ----------------------------------------------------------------------------- + -- | +diff --git a/compiler/GHC/Data/Word64Map/Internal.hs b/compiler/GHC/Data/Word64Map/Internal.hs +index 6e60b7f5464aba8f4971ab876ccc698c2415b997..9dd92fb9efdd4b9f402cc595ca1e326bd60803dd 100644 +--- a/compiler/GHC/Data/Word64Map/Internal.hs ++++ b/compiler/GHC/Data/Word64Map/Internal.hs +@@ -14,7 +14,6 @@ + {-# OPTIONS_HADDOCK not-home #-} + {-# OPTIONS_GHC -fno-warn-incomplete-uni-patterns #-} + +-#include "containers.h" + + ----------------------------------------------------------------------------- + -- | +diff --git a/compiler/GHC/Data/Word64Map/Lazy.hs b/compiler/GHC/Data/Word64Map/Lazy.hs +index 0df84842e2a7ce2c6aacb91c404b8a8f3f5c512e..0c09f62937f4115f50cced65f0ba3c35090c2f7b 100644 +--- a/compiler/GHC/Data/Word64Map/Lazy.hs ++++ b/compiler/GHC/Data/Word64Map/Lazy.hs +@@ -3,7 +3,6 @@ + {-# LANGUAGE Safe #-} + #endif + +-#include "containers.h" + + ----------------------------------------------------------------------------- + -- | +diff --git a/compiler/GHC/Data/Word64Map/Strict.hs b/compiler/GHC/Data/Word64Map/Strict.hs +index 4de68d7f7c39560fffd7c5935042446311054574..ab7c1471fba741ab070f3ee47a0e13ccd7b615d1 100644 +--- a/compiler/GHC/Data/Word64Map/Strict.hs ++++ b/compiler/GHC/Data/Word64Map/Strict.hs +@@ -4,8 +4,6 @@ + {-# LANGUAGE Trustworthy #-} + #endif + +-#include "containers.h" +- + ----------------------------------------------------------------------------- + -- | + -- Module : Data.Word64Map.Strict +diff --git a/compiler/GHC/Data/Word64Map/Strict/Internal.hs b/compiler/GHC/Data/Word64Map/Strict/Internal.hs +index 1605565c9fd7a527fac61dbf162ce0a805f4f920..d998e6b6a9778e4aa3750d01b8b38a7a3eb6f104 100644 +--- a/compiler/GHC/Data/Word64Map/Strict/Internal.hs ++++ b/compiler/GHC/Data/Word64Map/Strict/Internal.hs +@@ -4,8 +4,6 @@ + + {-# OPTIONS_GHC -fno-warn-incomplete-uni-patterns #-} + +-#include "containers.h" +- + ----------------------------------------------------------------------------- + -- | + -- Module : Data.Word64Map.Strict.Internal +diff --git a/compiler/GHC/Data/Word64Set.hs b/compiler/GHC/Data/Word64Set.hs +index 81cfcbd4efbab00fc203a5da905c0c0ccd9abb11..3c5c047d948e339de596d0fc729ae0534a229b7a 100644 +--- a/compiler/GHC/Data/Word64Set.hs ++++ b/compiler/GHC/Data/Word64Set.hs +@@ -3,8 +3,6 @@ + {-# LANGUAGE Safe #-} + #endif + +-#include "containers.h" +- + ----------------------------------------------------------------------------- + -- | + -- Module : Data.Word64Set +diff --git a/compiler/GHC/Data/Word64Set/Internal.hs b/compiler/GHC/Data/Word64Set/Internal.hs +index b2df095adfb1f363ed0fdfebc1516c5b699b8106..569c312840a4bd8cadefb05a0e29210eef75d2c5 100644 +--- a/compiler/GHC/Data/Word64Set/Internal.hs ++++ b/compiler/GHC/Data/Word64Set/Internal.hs +@@ -12,8 +12,6 @@ + + {-# OPTIONS_HADDOCK not-home #-} + +-#include "containers.h" +- + ----------------------------------------------------------------------------- + -- | + -- Module : Data.Word64Set.Internal +diff --git a/compiler/GHC/Utils/Containers/Internal/BitUtil.hs b/compiler/GHC/Utils/Containers/Internal/BitUtil.hs +index b7484cfc2e07b00b717e64f507aed0779c39f649..3d938b64e434ccdd4de7fbb0aa6c1651d911ee27 100644 +--- a/compiler/GHC/Utils/Containers/Internal/BitUtil.hs ++++ b/compiler/GHC/Utils/Containers/Internal/BitUtil.hs +@@ -6,8 +6,6 @@ + {-# LANGUAGE Safe #-} + #endif + +-#include "containers.h" +- + ----------------------------------------------------------------------------- + -- | + -- Module : Utils.Containers.Internal.BitUtil +diff --git a/compiler/GHC/Utils/Containers/Internal/StrictPair.hs b/compiler/GHC/Utils/Containers/Internal/StrictPair.hs +index 65d3780ef071f2b9fc2f4b3ff5502314f6426abd..9a2cf89ca20588c7ecd919072d328673f7888828 100644 +--- a/compiler/GHC/Utils/Containers/Internal/StrictPair.hs ++++ b/compiler/GHC/Utils/Containers/Internal/StrictPair.hs +@@ -3,8 +3,6 @@ + {-# LANGUAGE Safe #-} + #endif + +-#include "containers.h" +- + -- | A strict pair + + module GHC.Utils.Containers.Internal.StrictPair (StrictPair(..), toPair) where diff --git a/overlays/patches/ghc/ghc-define-undefined-elf-st-visibility.patch b/overlays/patches/ghc/ghc-define-undefined-elf-st-visibility.patch new file mode 100644 index 0000000000..bd3b3ea604 --- /dev/null +++ b/overlays/patches/ghc/ghc-define-undefined-elf-st-visibility.patch @@ -0,0 +1,24 @@ +diff --git a/rts/linker/ElfTypes.h b/rts/linker/ElfTypes.h +index f5e2f819d9..7f75087738 100644 +--- a/rts/linker/ElfTypes.h ++++ b/rts/linker/ElfTypes.h +@@ -33,6 +33,9 @@ + #define Elf_Sym Elf64_Sym + #define Elf_Rel Elf64_Rel + #define Elf_Rela Elf64_Rela ++#if !defined(ELF64_ST_VISIBILITY) ++#define ELF64_ST_VISIBILITY(o) ((o)&0x3) ++#endif + #if !defined(ELF_ST_VISIBILITY) + #define ELF_ST_VISIBILITY ELF64_ST_VISIBILITY + #endif +@@ -60,6 +63,9 @@ + #define Elf_Sym Elf32_Sym + #define Elf_Rel Elf32_Rel + #define Elf_Rela Elf32_Rela ++#if !defined(ELF32_ST_VISIBILITY) ++#define ELF32_ST_VISIBILITY(o) ((o)&0x3) ++#endif + #if !defined(ELF_ST_VISIBILITY) + #define ELF_ST_VISIBILITY ELF32_ST_VISIBILITY + #endif /* ELF_ST_VISIBILITY */ diff --git a/overlays/patches/ghc/ghc-win32-io-manager-compilation.patch b/overlays/patches/ghc/ghc-win32-io-manager-compilation.patch new file mode 100644 index 0000000000..17cb024fcf --- /dev/null +++ b/overlays/patches/ghc/ghc-win32-io-manager-compilation.patch @@ -0,0 +1,127 @@ +From 710665bdd48b055d763c30b88d690fadd46a03af Mon Sep 17 00:00:00 2001 +From: Cheng Shao +Date: Mon, 6 May 2024 19:25:32 +0000 +Subject: [PATCH] rts: fix I/O manager compilation errors for win32 target + +This patch fixes I/O manager compilation errors for win32 target +discovered when cross-compiling to win32 using recent clang: + +``` +rts/win32/ThrIOManager.c:117:7: error: + error: call to undeclared function 'is_io_mng_native_p'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 117 | if (is_io_mng_native_p ()) { + | ^ + | +117 | if (is_io_mng_native_p ()) { + | ^ + +1 error generated. +`x86_64-w64-mingw32-clang' failed in phase `C Compiler'. (Exit code: 1) + +rts/fs.c:143:28: error: + error: a function declaration without a prototype is deprecated in all versions of C [-Werror,-Wstrict-prototypes] + 143 | int setErrNoFromWin32Error () { + | ^ + | void + | +143 | int setErrNoFromWin32Error () { + | ^ + +1 error generated. +`x86_64-w64-mingw32-clang' failed in phase `C Compiler'. (Exit code: 1) + +rts/win32/ConsoleHandler.c:227:9: error: + error: call to undeclared function 'interruptIOManagerEvent'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 227 | interruptIOManagerEvent (); + | ^ + | +227 | interruptIOManagerEvent (); + | ^ + +rts/win32/ConsoleHandler.c:227:9: error: + note: did you mean 'getIOManagerEvent'? + | +227 | interruptIOManagerEvent (); + | ^ + +rts/include/rts/IOInterface.h:27:10: error: + note: 'getIOManagerEvent' declared here + 27 | void * getIOManagerEvent (void); + | ^ + | +27 | void * getIOManagerEvent (void); + | ^ + +1 error generated. +`x86_64-w64-mingw32-clang' failed in phase `C Compiler'. (Exit code: 1) + +rts/win32/ConsoleHandler.c:196:9: error: + error: call to undeclared function 'setThreadLabel'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 196 | setThreadLabel(cap, t, "signal handler thread"); + | ^ + | +196 | setThreadLabel(cap, t, "signal handler thread"); + | ^ + +rts/win32/ConsoleHandler.c:196:9: error: + note: did you mean 'postThreadLabel'? + | +196 | setThreadLabel(cap, t, "signal handler thread"); + | ^ + +rts/eventlog/EventLog.h:118:6: error: + note: 'postThreadLabel' declared here + 118 | void postThreadLabel(Capability *cap, + | ^ + | +118 | void postThreadLabel(Capability *cap, + | ^ + +1 error generated. +`x86_64-w64-mingw32-clang' failed in phase `C Compiler'. (Exit code: 1) +``` +--- + rts/win32/ConsoleHandler.c | 2 ++ + rts/win32/ThrIOManager.c | 1 + + utils/fs/fs.c | 2 +- + 3 files changed, 4 insertions(+), 1 deletion(-) + +diff --git a/rts/win32/ConsoleHandler.c b/rts/win32/ConsoleHandler.c +index 848d29288d8a..f6018f34a8cd 100644 +--- a/rts/win32/ConsoleHandler.c ++++ b/rts/win32/ConsoleHandler.c +@@ -5,6 +5,8 @@ + * For the WINIO manager see base in the GHC.Event modules. + */ + #include "Rts.h" ++#include "MIOManager.h" ++#include "ThreadLabels.h" + #include + #include "ConsoleHandler.h" + #include "Schedule.h" +diff --git a/rts/win32/ThrIOManager.c b/rts/win32/ThrIOManager.c +index 023aee4c1922..61ccd5379c28 100644 +--- a/rts/win32/ThrIOManager.c ++++ b/rts/win32/ThrIOManager.c +@@ -9,6 +9,8 @@ + * ---------------------------------------------------------------------------*/ + + #include "Rts.h" ++#include "RtsFlags.h" ++#include "IOManager.h" + #include "ThrIOManager.h" + #include "MIOManager.h" + #include "rts/OSThreads.h" +diff --git a/utils/fs/fs.c b/utils/fs/fs.c +index a5377af7e2bc..d64094cae158 100644 +--- a/utils/fs/fs.c ++++ b/utils/fs/fs.c +@@ -140,7 +140,7 @@ static int setErrNoFromWin32Error (void); + This function should only be called when the creation of the fd actually + failed and you want to return -1 for the fd. */ + static +-int setErrNoFromWin32Error () { ++int setErrNoFromWin32Error (void) { + switch (GetLastError()) { + case ERROR_SUCCESS: + errno = 0; diff --git a/overlays/patches/ghc/libc-memory-symbols-armv7a.patch b/overlays/patches/ghc/libc-memory-symbols-armv7a.patch new file mode 100644 index 0000000000..c705bdda8f --- /dev/null +++ b/overlays/patches/ghc/libc-memory-symbols-armv7a.patch @@ -0,0 +1,42 @@ +diff --git a/rts/Linker.c b/rts/Linker.c +index 062159f..727fe74 100644 +--- a/rts/Linker.c ++++ b/rts/Linker.c +@@ -340,6 +340,20 @@ int ghciInsertSymbolTable( + call this function again to trigger the duplicate error. */ + return 1; + } ++ else if(strncmp(key, "fprintf", 7) == 0 ++ || strncmp(key, "printf", 6) == 0 ++ || strncmp(key, "sprintf", 7) == 0 ++ || strncmp(key, "snprintf", 8) == 0 ++ || strncmp(key, "getauxval", 9) == 0 ++ || strncmp(key, "free", 4) == 0 ++ || strncmp(key, "malloc", 6) == 0 ++ || strncmp(key, "calloc", 6) == 0 ++ || strncmp(key, "realloc", 7) == 0 ++ || strncmp(key, "reallocarray", 12) == 0 ++ ) { ++ /* symbols we link aginst the libc we link ghc or iserv against */ ++ return 1; ++ } + + pathchar* archiveName = NULL; + debugBelch( +diff --git a/rts/RtsSymbols.c b/rts/RtsSymbols.c +index 2acd634..b86b516 100644 +--- a/rts/RtsSymbols.c ++++ b/rts/RtsSymbols.c +@@ -1039,7 +1039,11 @@ + SymI_HasProto(printf) \ + SymI_HasProto(fprintf) \ + SymI_HasProto(sprintf) \ +- SymI_HasProto(snprintf) ++ SymI_HasProto(snprintf) \ ++ SymI_HasProto(free) \ ++ SymI_HasProto(malloc) \ ++ SymI_HasProto(calloc) \ ++ SymI_HasProto(realloc) + #else + #define RTS_STACK_PROTECTOR_SYMBOLS + #define RTS_LIBC_SYMBOLS \ No newline at end of file diff --git a/overlays/patches/ghc/libraries-prim-os-android-armv7a.patch b/overlays/patches/ghc/libraries-prim-os-android-armv7a.patch new file mode 100644 index 0000000000..23274bf737 --- /dev/null +++ b/overlays/patches/ghc/libraries-prim-os-android-armv7a.patch @@ -0,0 +1,13 @@ +diff --git a/libraries/ghc-prim/ghc-prim.cabal b/libraries/ghc-prim/ghc-prim.cabal +index 2bd51c0..aeaeacc 100644 +--- a/libraries/ghc-prim/ghc-prim.cabal ++++ b/libraries/ghc-prim/ghc-prim.cabal +@@ -67,7 +67,7 @@ Library + -- on Windows. Required because of mingw32. + extra-libraries: user32, mingw32, mingwex + +- if os(linux) ++ if os(linux) || os(android) || os(linux-android) + -- we need libm, but for musl and other's we might need libc, as libm + -- is just an empty shell. + extra-libraries: c, m diff --git a/overlays/patches/iserv-proxy-interpreter-9.3-android.patch b/overlays/patches/iserv-proxy-interpreter-9.3-android.patch index 12f3dda3fe..380698c571 100644 --- a/overlays/patches/iserv-proxy-interpreter-9.3-android.patch +++ b/overlays/patches/iserv-proxy-interpreter-9.3-android.patch @@ -3,7 +3,8 @@ new file mode 100644 index 0000000..d447895 --- /dev/null +++ b/cbits/symbols.c -@@ -0,0 +1,318 @@ +@@ -0,0 +1,327 @@ ++#define BIONIC_IOCTL_NO_SIGNEDNESS_OVERLOAD +#include +#include +#include @@ -68,6 +69,9 @@ index 0000000..d447895 +extern void __subtf3(void); +extern void __trunctfdf2(void); + ++extern void flock(void); ++extern void times(void); ++ +#define MISSING_FUN(f) void (f)(void) { printf("Unknown call to `%s'\n", #f); exit(1); } + +MISSING_FUN(c_format_unix_time) @@ -173,6 +177,7 @@ index 0000000..d447895 + SYM(stdout), + SYM(strftime), + SYM(utimes), ++ SYM(times), + SYM(setenv), + SYM(fpathconf), + SYM(exit), @@ -230,6 +235,7 @@ index 0000000..d447895 + SYM(openat),SYM(__open_2), + // string.h + SYM(strerror), ++ SYM(strerror_r), + SYM(strcmp), + SYM(memchr),SYM(strcpy),SYM(strchr),SYM(strncpy),SYM(strrchr), + SYM(strcat),SYM(strncmp),SYM(strdup), @@ -266,6 +272,7 @@ index 0000000..d447895 + SYM(fprintf), + SYM(vfprintf), + SYM(fopen), SYM(fclose), ++ SYM(flock), + SYM(getegid),SYM(getgid), + SYM(getpwent), + SYM(getgrent), @@ -283,6 +290,7 @@ index 0000000..d447895 + SYM(ferror), + SYM(fflush), + SYM(fgets),SYM(fputc),SYM(fputs), ++ SYM(puts), + SYM(fseek),SYM(ftell), + SYM(sscanf), + SYM(shutdown), @@ -316,6 +324,7 @@ index 0000000..d447895 + SYM(__multf3), + SYM(__subtf3), + SYM(__trunctfdf2), ++ SYM(getrusage), + { 0, 0, STRENGTH_NORMAL, 1 } /* sentinel */ +}; + @@ -324,14 +333,17 @@ index 0000000..d447895 +} \ No newline at end of file diff --git a/iserv-proxy.cabal b/iserv-proxy.cabal -index a0eeaeb..a146108 100644 +index 5f1449a..328b000 100644 --- a/iserv-proxy.cabal +++ b/iserv-proxy.cabal -@@ -103,6 +103,7 @@ Executable iserv-proxy +@@ -106,9 +106,7 @@ Executable iserv-proxy-interpreter -- We need to pass -fkeep-cafs to ensure that the interpreter retains CAFs -- Iserv and GHC do something similar. ghc-options: -fkeep-cafs +- -- no idea how to check for musl :-/ +- if os(linux) && arch(aarch64) +- c-sources: cbits/symbols.aarch64-musl.c + c-sources: cbits/symbols.c + Build-Depends: base >= 4 && < 5, iserv-proxy - diff --git a/overlays/patches/iserv-proxy-interpreter-9.3-android32.patch b/overlays/patches/iserv-proxy-interpreter-9.3-android32.patch index 7aeba03e07..46b20c378b 100644 --- a/overlays/patches/iserv-proxy-interpreter-9.3-android32.patch +++ b/overlays/patches/iserv-proxy-interpreter-9.3-android32.patch @@ -3,7 +3,7 @@ new file mode 100644 index 0000000..9974c73 --- /dev/null +++ b/cbits/symbols.c -@@ -0,0 +1,447 @@ +@@ -0,0 +1,456 @@ +#include +#include +#include @@ -167,6 +167,9 @@ index 0000000..9974c73 +extern void mmap64(void); +extern void mremap(void); +extern void readlink(void); ++extern void flock(void); ++extern void times(void); ++extern void getrusage(void); + +#define MISSING_FUN(f) void (f)(void) { printf("Unknown call to %s\n", #f); exit(1); } + @@ -237,6 +240,7 @@ index 0000000..9974c73 + SYM(raise), + SYM(strcmp), + SYM(strerror), ++ SYM(setenv), + SYM(unsetenv), + SYM(waitpid), + SYM(dup2), @@ -445,6 +449,11 @@ index 0000000..9974c73 + SYM(mmap64), + SYM(mremap), + SYM(readlink), ++ SYM(times), ++ SYM(strerror_r), ++ SYM(flock), ++ SYM(puts), ++ SYM(getrusage), + { 0, 0, STRENGTH_NORMAL, 1 } /* sentinel */ +}; + @@ -453,14 +462,17 @@ index 0000000..9974c73 +} \ No newline at end of file diff --git a/iserv-proxy.cabal b/iserv-proxy.cabal -index eca2047..51a125b 100644 +index 5f1449a..328b000 100644 --- a/iserv-proxy.cabal +++ b/iserv-proxy.cabal -@@ -104,6 +104,7 @@ Executable iserv-proxy-interpreter +@@ -106,9 +106,7 @@ Executable iserv-proxy-interpreter -- We need to pass -fkeep-cafs to ensure that the interpreter retains CAFs -- Iserv and GHC do something similar. ghc-options: -fkeep-cafs +- -- no idea how to check for musl :-/ +- if os(linux) && arch(aarch64) +- c-sources: cbits/symbols.aarch64-musl.c + c-sources: cbits/symbols.c + Build-Depends: base >= 4 && < 5, iserv-proxy - diff --git a/overlays/patches/node-lto.patch b/overlays/patches/node-lto.patch new file mode 100644 index 0000000000..8192878c75 --- /dev/null +++ b/overlays/patches/node-lto.patch @@ -0,0 +1,305 @@ +diff --git a/common.gypi b/common.gypi +index a6a79adc..160b6eb6 100644 +--- a/common.gypi ++++ b/common.gypi +@@ -185,9 +185,9 @@ + 'MSVC_runtimeType': 2 # MultiThreadedDLL (/MD) + }], + ['clang==1', { +- 'lto': ' -flto ', # Clang ++ 'lto': ' -flto=thin ', # Clang + }, { +- 'lto': ' -flto=4 -fuse-linker-plugin -ffat-lto-objects ', # GCC ++ 'lto': ' -flto=auto -fuse-linker-plugin -fno-fat-lto-objects ', # GCC + }], + ], + }, +diff --git a/deps/cares/configure b/deps/cares/configure +index d02f117d..468461f7 100755 +--- a/deps/cares/configure ++++ b/deps/cares/configure +@@ -16139,11 +16139,6 @@ _LT_EOF + + + _lt_libdeps_save_CFLAGS=$CFLAGS +-case "$CC $CFLAGS " in #( +-*\ -flto*\ *) CFLAGS="$CFLAGS -fno-lto" ;; +-*\ -fwhopr*\ *) CFLAGS="$CFLAGS -fno-whopr" ;; +-*\ -fuse-linker-plugin*\ *) CFLAGS="$CFLAGS -fno-use-linker-plugin" ;; +-esac + + if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 + (eval $ac_compile) 2>&5 +diff --git a/deps/cares/m4/libtool.m4 b/deps/cares/m4/libtool.m4 +index c4c02946..9f3d3662 100755 +--- a/deps/cares/m4/libtool.m4 ++++ b/deps/cares/m4/libtool.m4 +@@ -7537,11 +7537,6 @@ _LT_EOF + ]) + + _lt_libdeps_save_CFLAGS=$CFLAGS +-case "$CC $CFLAGS " in #( +-*\ -flto*\ *) CFLAGS="$CFLAGS -fno-lto" ;; +-*\ -fwhopr*\ *) CFLAGS="$CFLAGS -fno-whopr" ;; +-*\ -fuse-linker-plugin*\ *) CFLAGS="$CFLAGS -fno-use-linker-plugin" ;; +-esac + + dnl Parse the compiler output and extract the necessary + dnl objects, libraries and library flags. +diff --git a/deps/npm/node_modules/node-gyp/gyp/pylib/gyp/xcode_emulation.py b/deps/npm/node_modules/node-gyp/gyp/pylib/gyp/xcode_emulation.py +index 5f2c097f..42dad126 100644 +--- a/deps/npm/node_modules/node-gyp/gyp/pylib/gyp/xcode_emulation.py ++++ b/deps/npm/node_modules/node-gyp/gyp/pylib/gyp/xcode_emulation.py +@@ -638,7 +638,7 @@ class XcodeSettings: + # if the system clang isn't used, DYLD_LIBRARY_PATH needs to contain the + # path to the libLTO.dylib that matches the used clang. + if self._Test("LLVM_LTO", "YES", default="NO"): +- cflags.append("-flto") ++ cflags.append("-flto=thin") + + self._AppendPlatformVersionMinFlags(cflags) + +@@ -1101,7 +1101,7 @@ class XcodeSettings: + # For static libraries, no dSYMs are created. + result = [] + if ( +- self._Test("GCC_GENERATE_DEBUGGING_SYMBOLS", "YES", default="YES") ++ self._Test("GCC_GENERATE_DEBUGGING_SYMBOLS", "YES", default="NO") + and self._Test( + "DEBUG_INFORMATION_FORMAT", "dwarf-with-dsym", default="dwarf" + ) +diff --git a/deps/openssl/openssl-cli.gypi b/deps/openssl/openssl-cli.gypi +index b4c278b4..79cafd6b 100644 +--- a/deps/openssl/openssl-cli.gypi ++++ b/deps/openssl/openssl-cli.gypi +@@ -23,7 +23,7 @@ + }], + # Avoid excessive LTO + ['enable_lto=="true"', { +- 'ldflags': [ '-fno-lto' ], ++ 'ldflags': [], + }], + ], + } +diff --git a/deps/openssl/openssl.gyp b/deps/openssl/openssl.gyp +index ea3a2dc0..ea3780f7 100644 +--- a/deps/openssl/openssl.gyp ++++ b/deps/openssl/openssl.gyp +@@ -75,7 +75,7 @@ + }], + # Avoid excessive LTO + ['enable_lto=="true"', { +- 'ldflags': [ '-fno-lto' ], ++ 'ldflags': [], + }], + ] + }, { +diff --git a/node.gyp b/node.gyp +index a3688b8e..d320299f 100644 +--- a/node.gyp ++++ b/node.gyp +@@ -1069,7 +1069,7 @@ + }], + # Avoid excessive LTO + ['enable_lto=="true"', { +- 'ldflags': [ '-fno-lto' ], ++ 'ldflags': [], + }], + ], + }, # fuzz_env +@@ -1112,7 +1112,7 @@ + }], + # Avoid excessive LTO + ['enable_lto=="true"', { +- 'ldflags': [ '-fno-lto' ], ++ 'ldflags': [], + }], + ], + }, # fuzz_ClientHelloParser.cc +@@ -1157,7 +1157,7 @@ + }], + # Avoid excessive LTO + ['enable_lto=="true"', { +- 'ldflags': [ '-fno-lto' ], ++ 'ldflags': [], + }], + ], + }, # fuzz_strings +@@ -1235,7 +1235,7 @@ + }], + # Avoid excessive LTO + ['enable_lto=="true"', { +- 'ldflags': [ '-fno-lto' ], ++ 'ldflags': [], + }], + ], + }, # cctest +@@ -1291,7 +1291,7 @@ + }], + # Avoid excessive LTO + ['enable_lto=="true"', { +- 'ldflags': [ '-fno-lto' ], ++ 'ldflags': [], + }], + ], + }, # embedtest +@@ -1333,7 +1333,7 @@ + }], + # Avoid excessive LTO + ['enable_lto=="true"', { +- 'ldflags': [ '-fno-lto' ], ++ 'ldflags': [], + }], + ] + }, # overlapped-checker +@@ -1439,7 +1439,7 @@ + }], + # Avoid excessive LTO + ['enable_lto=="true"', { +- 'ldflags': [ '-fno-lto' ], ++ 'ldflags': [], + }], + ], + }, # node_mksnapshot +diff --git a/tools/gyp/pylib/gyp/xcode_emulation.py b/tools/gyp/pylib/gyp/xcode_emulation.py +index aee1a542..162881d1 100644 +--- a/tools/gyp/pylib/gyp/xcode_emulation.py ++++ b/tools/gyp/pylib/gyp/xcode_emulation.py +@@ -638,7 +638,7 @@ class XcodeSettings: + # if the system clang isn't used, DYLD_LIBRARY_PATH needs to contain the + # path to the libLTO.dylib that matches the used clang. + if self._Test("LLVM_LTO", "YES", default="NO"): +- cflags.append("-flto") ++ cflags.append("-flto=thin") + + self._AppendPlatformVersionMinFlags(cflags) + +@@ -1101,7 +1101,7 @@ class XcodeSettings: + # For static libraries, no dSYMs are created. + result = [] + if ( +- self._Test("GCC_GENERATE_DEBUGGING_SYMBOLS", "YES", default="YES") ++ self._Test("GCC_GENERATE_DEBUGGING_SYMBOLS", "YES", default="NO") + and self._Test( + "DEBUG_INFORMATION_FORMAT", "dwarf-with-dsym", default="dwarf" + ) +diff --git a/tools/icu/icu-generic.gyp b/tools/icu/icu-generic.gyp +index f007c652..ac69a873 100644 +--- a/tools/icu/icu-generic.gyp ++++ b/tools/icu/icu-generic.gyp +@@ -454,7 +454,7 @@ + 'conditions': [ + # Avoid excessive LTO + ['enable_lto=="true"', { +- 'ldflags': [ '-fno-lto' ], ++ 'ldflags': [], + }], + ], + }, +@@ -471,7 +471,7 @@ + 'conditions': [ + # Avoid excessive LTO + ['enable_lto=="true"', { +- 'ldflags': [ '-fno-lto' ], ++ 'ldflags': [], + }], + ], + }, +@@ -489,7 +489,7 @@ + 'conditions': [ + # Avoid excessive LTO + ['enable_lto=="true"', { +- 'ldflags': [ '-fno-lto' ], ++ 'ldflags': [], + }], + ], + }, +@@ -506,7 +506,7 @@ + 'conditions': [ + # Avoid excessive LTO + ['enable_lto=="true"', { +- 'ldflags': [ '-fno-lto' ], ++ 'ldflags': [], + }], + ], + }, +diff --git a/tools/v8_gypfiles/d8.gyp b/tools/v8_gypfiles/d8.gyp +index 4dd98972..27165061 100644 +--- a/tools/v8_gypfiles/d8.gyp ++++ b/tools/v8_gypfiles/d8.gyp +@@ -65,7 +65,7 @@ + }], + # Avoid excessive LTO + ['enable_lto=="true"', { +- 'ldflags': [ '-fno-lto' ], ++ 'ldflags': [], + }], + ], + }, +diff --git a/tools/v8_gypfiles/v8.gyp b/tools/v8_gypfiles/v8.gyp +index 88c1297b..a640a7ff 100644 +--- a/tools/v8_gypfiles/v8.gyp ++++ b/tools/v8_gypfiles/v8.gyp +@@ -1690,7 +1690,7 @@ + }], + # Avoid excessive LTO + ['enable_lto=="true"', { +- 'ldflags': [ '-fno-lto' ], ++ 'ldflags': [], + }], + ], + 'defines!': [ +@@ -1752,7 +1752,7 @@ + }], + # Avoid excessive LTO + ['enable_lto=="true"', { +- 'ldflags': [ '-fno-lto' ], ++ 'ldflags': [], + }], + ], + }, # mksnapshot +@@ -1769,7 +1769,7 @@ + }], + # Avoid excessive LTO + ['enable_lto=="true"', { +- 'ldflags': [ '-fno-lto' ], ++ 'ldflags': [], + }], + ], + 'defines!': [ +@@ -1807,7 +1807,7 @@ + }], + # Avoid excessive LTO + ['enable_lto=="true"', { +- 'ldflags': [ '-fno-lto' ], ++ 'ldflags': [], + }], + ], + 'dependencies': [ +@@ -1843,7 +1843,7 @@ + }], + # Avoid excessive LTO + ['enable_lto=="true"', { +- 'ldflags': [ '-fno-lto' ], ++ 'ldflags': [], + }], + ], + 'sources': [ +@@ -1863,7 +1863,7 @@ + }], + # Avoid excessive LTO + ['enable_lto=="true"', { +- 'ldflags': [ '-fno-lto' ], ++ 'ldflags': [], + }], + ], + 'actions': [ +@@ -1931,7 +1931,7 @@ + ], + 'conditions': [ + ['enable_lto=="true"', { +- 'cflags_cc': [ '-fno-lto' ], ++ 'cflags_cc': [], + }], + # Changes in push_registers_asm.cc in V8 v12.8 requires using + # push_registers_masm on Windows even with ClangCL on x64 \ No newline at end of file diff --git a/overlays/patches/wasm/llvm/gnu-install-dirs.patch b/overlays/patches/wasm/llvm/gnu-install-dirs.patch new file mode 100644 index 0000000000..30c660210b --- /dev/null +++ b/overlays/patches/wasm/llvm/gnu-install-dirs.patch @@ -0,0 +1,139 @@ +diff --git a/CMakeLists.txt b/CMakeLists.txt +index 73c4fc14f031..42284703a52c 100644 +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -1153,9 +1153,9 @@ if (NOT TENSORFLOW_AOT_PATH STREQUAL "") + add_subdirectory(${TENSORFLOW_AOT_PATH}/xla_aot_runtime_src + ${CMAKE_ARCHIVE_OUTPUT_DIRECTORY}/tf_runtime) + install(TARGETS tf_xla_runtime EXPORT LLVMExports +- ARCHIVE DESTINATION lib${LLVM_LIBDIR_SUFFIX} COMPONENT tf_xla_runtime) ++ ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR}${LLVM_LIBDIR_SUFFIX} COMPONENT tf_xla_runtime) + install(TARGETS tf_xla_runtime EXPORT LLVMDevelopmentExports +- ARCHIVE DESTINATION lib${LLVM_LIBDIR_SUFFIX} COMPONENT tf_xla_runtime) ++ ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR}${LLVM_LIBDIR_SUFFIX} COMPONENT tf_xla_runtime) + set_property(GLOBAL APPEND PROPERTY LLVM_EXPORTS tf_xla_runtime) + # Once we add more modules, we should handle this more automatically. + if (DEFINED LLVM_OVERRIDE_MODEL_HEADER_INLINERSIZEMODEL) +diff --git a/cmake/modules/AddLLVM.cmake b/cmake/modules/AddLLVM.cmake +index 52bf7ca0906a..ba2f4be17f08 100644 +--- a/cmake/modules/AddLLVM.cmake ++++ b/cmake/modules/AddLLVM.cmake +@@ -974,8 +974,8 @@ macro(add_llvm_library name) + endif() + install(TARGETS ${name} + ${export_to_llvmexports} +- LIBRARY DESTINATION lib${LLVM_LIBDIR_SUFFIX} COMPONENT ${name} +- ARCHIVE DESTINATION lib${LLVM_LIBDIR_SUFFIX} COMPONENT ${name} ++ LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}${LLVM_LIBDIR_SUFFIX} COMPONENT ${name} ++ ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR}${LLVM_LIBDIR_SUFFIX} COMPONENT ${name} + RUNTIME DESTINATION "${CMAKE_INSTALL_BINDIR}" COMPONENT ${name}) + + if (NOT LLVM_ENABLE_IDE) +@@ -2258,7 +2258,7 @@ function(llvm_install_library_symlink name dest type) + set(LLVM_LINK_OR_COPY copy) + endif() + +- set(output_dir lib${LLVM_LIBDIR_SUFFIX}) ++ set(output_dir ${CMAKE_INSTALL_FULL_LIBDIR}${LLVM_LIBDIR_SUFFIX}) + if((WIN32 OR CYGWIN) AND "${type}" STREQUAL "SHARED") + set(output_dir "${CMAKE_INSTALL_BINDIR}") + endif() +@@ -2534,15 +2534,37 @@ function(llvm_setup_rpath name) + + if (APPLE) + set(_install_name_dir INSTALL_NAME_DIR "@rpath") +- set(_install_rpath "@loader_path/../lib${LLVM_LIBDIR_SUFFIX}" ${extra_libdir}) ++ set(_install_rpath ${extra_libdir}) + elseif(${CMAKE_SYSTEM_NAME} MATCHES "AIX" AND BUILD_SHARED_LIBS) + # $ORIGIN is not interpreted at link time by aix ld. + # Since BUILD_SHARED_LIBS is only recommended for use by developers, + # hardcode the rpath to build/install lib dir first in this mode. + # FIXME: update this when there is better solution. +- set(_install_rpath "${LLVM_LIBRARY_OUTPUT_INTDIR}" "${CMAKE_INSTALL_PREFIX}/lib${LLVM_LIBDIR_SUFFIX}" ${extra_libdir}) ++ set(_install_rpath "${LLVM_LIBRARY_OUTPUT_INTDIR}" "${CMAKE_INSTALL_FULL_LIBDIR}${LLVM_LIBDIR_SUFFIX}" ${extra_libdir}) + elseif(UNIX) +- set(_install_rpath "\$ORIGIN/../lib${LLVM_LIBDIR_SUFFIX}" ${extra_libdir}) ++ # Note that we add `extra_libdir` (aka `LLVM_LIBRARY_DIR` in our case) back ++ # to `_install_rpath` here. ++ # ++ # In nixpkgs we do not build and install LLVM alongside rdeps of LLVM (i.e. ++ # clang); instead LLVM is its own package and thus lands at its own nix ++ # store path. This makes it so that the default relative rpath (`../lib/`) ++ # does not point at the LLVM shared objects. ++ # ++ # More discussion here: ++ # - https://github.com/NixOS/nixpkgs/pull/235624#discussion_r1220150329 ++ # - https://reviews.llvm.org/D146918 (16.0.5+) ++ # ++ # Note that we leave `extra_libdir` in `_build_rpath`: without FHS there is ++ # no potential that this will result in us pulling in the "wrong" LLVM. ++ # Adding this to the build rpath means we aren't forced to use ++ # `installCheckPhase` instead of `checkPhase` (i.e. binaries in the build ++ # dir, pre-install, will have the right rpath for LLVM). ++ # ++ # As noted in the differential above, an alternative solution is to have ++ # all rdeps of nixpkgs' LLVM (that use the AddLLVM.cmake machinery) set ++ # `CMAKE_INSTALL_RPATH`. ++ set(_build_rpath "\$ORIGIN/../lib${LLVM_LIBDIR_SUFFIX}" ${extra_libdir}) ++ set(_install_rpath ${extra_libdir}) + if(${CMAKE_SYSTEM_NAME} MATCHES "(FreeBSD|DragonFly)") + set_property(TARGET ${name} APPEND_STRING PROPERTY + LINK_FLAGS " -Wl,-z,origin ") +diff --git a/cmake/modules/AddOCaml.cmake b/cmake/modules/AddOCaml.cmake +index 2d9116b08a52..2dd7cad4ec66 100644 +--- a/cmake/modules/AddOCaml.cmake ++++ b/cmake/modules/AddOCaml.cmake +@@ -147,9 +147,9 @@ function(add_ocaml_library name) + endforeach() + + if( APPLE ) +- set(ocaml_rpath "@executable_path/../../../lib${LLVM_LIBDIR_SUFFIX}") ++ set(ocaml_rpath ${LLVM_LIBRARY_DIR}) + elseif( UNIX ) +- set(ocaml_rpath "\\$ORIGIN/../../../lib${LLVM_LIBDIR_SUFFIX}") ++ set(ocaml_rpath ${LLVM_LIBRARY_DIR}) + endif() + list(APPEND ocaml_flags "-ldopt" "-Wl,-rpath,${ocaml_rpath}") + +diff --git a/cmake/modules/CMakeLists.txt b/cmake/modules/CMakeLists.txt +index ef4cfa3acdb5..7478e157a7c2 100644 +--- a/cmake/modules/CMakeLists.txt ++++ b/cmake/modules/CMakeLists.txt +@@ -130,7 +130,7 @@ set(LLVM_CONFIG_INCLUDE_DIRS + ) + list(REMOVE_DUPLICATES LLVM_CONFIG_INCLUDE_DIRS) + +-extend_path(LLVM_CONFIG_LIBRARY_DIR "\${LLVM_INSTALL_PREFIX}" "lib\${LLVM_LIBDIR_SUFFIX}") ++extend_path(LLVM_CONFIG_LIBRARY_DIR "\${LLVM_INSTALL_PREFIX}" "${CMAKE_INSTALL_LIBDIR}\${LLVM_LIBDIR_SUFFIX}") + set(LLVM_CONFIG_LIBRARY_DIRS + "${LLVM_CONFIG_LIBRARY_DIR}" + # FIXME: Should there be other entries here? +diff --git a/tools/llvm-config/BuildVariables.inc.in b/tools/llvm-config/BuildVariables.inc.in +index e4e1d449bf4d..3aab6ea7bf8b 100644 +--- a/tools/llvm-config/BuildVariables.inc.in ++++ b/tools/llvm-config/BuildVariables.inc.in +@@ -23,6 +23,7 @@ + #define LLVM_CXXFLAGS "@LLVM_CXXFLAGS@" + #define LLVM_BUILDMODE "@LLVM_BUILDMODE@" + #define LLVM_LIBDIR_SUFFIX "@LLVM_LIBDIR_SUFFIX@" ++#define LLVM_INSTALL_LIBDIR "@CMAKE_INSTALL_LIBDIR@" + #define LLVM_INSTALL_INCLUDEDIR "@CMAKE_INSTALL_INCLUDEDIR@" + #define LLVM_INSTALL_PACKAGE_DIR "@LLVM_INSTALL_PACKAGE_DIR@" + #define LLVM_TARGETS_BUILT "@LLVM_TARGETS_BUILT@" +diff --git a/tools/llvm-config/llvm-config.cpp b/tools/llvm-config/llvm-config.cpp +index 49df8fdcb7f7..c7cb05b82821 100644 +--- a/tools/llvm-config/llvm-config.cpp ++++ b/tools/llvm-config/llvm-config.cpp +@@ -365,7 +365,11 @@ int main(int argc, char **argv) { + sys::fs::make_absolute(ActivePrefix, Path); + ActiveBinDir = std::string(Path); + } +- ActiveLibDir = ActivePrefix + "/lib" + LLVM_LIBDIR_SUFFIX; ++ { ++ SmallString<256> Path(LLVM_INSTALL_LIBDIR LLVM_LIBDIR_SUFFIX); ++ sys::fs::make_absolute(ActivePrefix, Path); ++ ActiveLibDir = std::string(Path); ++ } + { + SmallString<256> Path(LLVM_INSTALL_PACKAGE_DIR); + sys::fs::make_absolute(ActivePrefix, Path); diff --git a/overlays/patches/wasm/llvm/haskell-wasm-llvm-project.patch b/overlays/patches/wasm/llvm/haskell-wasm-llvm-project.patch new file mode 100644 index 0000000000..49e0986bb8 --- /dev/null +++ b/overlays/patches/wasm/llvm/haskell-wasm-llvm-project.patch @@ -0,0 +1,334 @@ +diff --git a/clang/lib/Driver/ToolChains/WebAssembly.cpp b/clang/lib/Driver/ToolChains/WebAssembly.cpp +index 5054868b5ff4..e4fcd949ff71 100644 +--- a/clang/lib/Driver/ToolChains/WebAssembly.cpp ++++ b/clang/lib/Driver/ToolChains/WebAssembly.cpp +@@ -6,6 +6,8 @@ + // + //===----------------------------------------------------------------------===// + ++#include ++ + #include "WebAssembly.h" + #include "Gnu.h" + #include "clang/Config/config.h" +@@ -17,6 +19,7 @@ + #include "llvm/Option/ArgList.h" + #include "llvm/Support/FileSystem.h" + #include "llvm/Support/Path.h" ++#include "llvm/Support/Process.h" + #include "llvm/Support/VirtualFileSystem.h" + + using namespace clang::driver; +@@ -179,21 +182,12 @@ void wasm::Linker::ConstructJob(Compilation &C, const JobAction &JA, + CmdArgs.push_back("-o"); + CmdArgs.push_back(Output.getFilename()); + +- // Don't use wasm-opt by default on `wasip2` as it doesn't have support for +- // components at this time. Retain the historical default otherwise, though, +- // of running `wasm-opt` by default. +- bool WasmOptDefault = !TargetBuildsComponents(ToolChain.getTriple()); +- bool RunWasmOpt = Args.hasFlag(options::OPT_wasm_opt, +- options::OPT_no_wasm_opt, WasmOptDefault); +- + // If wasm-opt is enabled and optimizations are happening look for the + // `wasm-opt` program. If it's not found auto-disable it. + std::string WasmOptPath; +- if (RunWasmOpt && Args.getLastArg(options::OPT_O_Group)) { +- WasmOptPath = ToolChain.GetProgramPath("wasm-opt"); +- if (WasmOptPath == "wasm-opt") { +- WasmOptPath = {}; +- } ++ WasmOptPath = ToolChain.GetProgramPath("wasm-opt"); ++ if (WasmOptPath == "wasm-opt") { ++ WasmOptPath = {}; + } + + if (!WasmOptPath.empty()) { +@@ -204,29 +198,27 @@ void wasm::Linker::ConstructJob(Compilation &C, const JobAction &JA, + ResponseFileSupport::AtFileCurCP(), + Linker, CmdArgs, Inputs, Output)); + +- if (Arg *A = Args.getLastArg(options::OPT_O_Group)) { +- if (!WasmOptPath.empty()) { +- StringRef OOpt = "s"; +- if (A->getOption().matches(options::OPT_O4) || +- A->getOption().matches(options::OPT_Ofast)) +- OOpt = "4"; +- else if (A->getOption().matches(options::OPT_O0)) +- OOpt = "0"; +- else if (A->getOption().matches(options::OPT_O)) +- OOpt = A->getValue(); +- +- if (OOpt != "0") { +- const char *WasmOpt = Args.MakeArgString(WasmOptPath); +- ArgStringList OptArgs; +- OptArgs.push_back(Output.getFilename()); +- OptArgs.push_back(Args.MakeArgString(llvm::Twine("-O") + OOpt)); +- OptArgs.push_back("-o"); +- OptArgs.push_back(Output.getFilename()); +- C.addCommand(std::make_unique( +- JA, *this, ResponseFileSupport::AtFileCurCP(), WasmOpt, OptArgs, +- Inputs, Output)); +- } ++ if (!WasmOptPath.empty() && Args.hasArg(options::OPT_shared) && ++ llvm::sys::Process::GetEnv("WASM_SO_OPT")) { ++ const char *WasmOpt = Args.MakeArgString(WasmOptPath); ++ ArgStringList OptArgs; ++ OptArgs.push_back(Output.getFilename()); ++ OptArgs.push_back("-o"); ++ OptArgs.push_back(Output.getFilename()); ++ ++ std::istringstream iss(llvm::sys::Process::GetEnv("WASM_SO_OPT").value()); ++ std::string arg; ++ ++ while (iss >> arg) { ++ auto *arg_heap = new char[arg.size() + 1]; ++ std::copy(arg.begin(), arg.end(), arg_heap); ++ arg_heap[arg.size()] = '\0'; ++ OptArgs.push_back(arg_heap); + } ++ ++ C.addCommand(std::make_unique(JA, *this, ++ ResponseFileSupport::AtFileCurCP(), ++ WasmOpt, OptArgs, Inputs, Output)); + } + } + +diff --git a/lld/wasm/InputChunks.cpp b/lld/wasm/InputChunks.cpp +index 181221a77b10..c813e62e7b93 100644 +--- a/lld/wasm/InputChunks.cpp ++++ b/lld/wasm/InputChunks.cpp +@@ -409,12 +409,11 @@ uint64_t InputChunk::getVA(uint64_t offset) const { + // Generate code to apply relocations to the data section at runtime. + // This is only called when generating shared libraries (PIC) where address are + // not known at static link time. +-bool InputChunk::generateRelocationCode(raw_ostream &os) const { ++void InputChunk::generateRelocationCode(std::vector &funcs) const { + LLVM_DEBUG(dbgs() << "generating runtime relocations: " << name + << " count=" << relocations.size() << "\n"); + + bool is64 = ctx.arg.is64.value_or(false); +- bool generated = false; + unsigned opcode_ptr_const = is64 ? WASM_OPCODE_I64_CONST + : WASM_OPCODE_I32_CONST; + unsigned opcode_ptr_add = is64 ? WASM_OPCODE_I64_ADD +@@ -433,6 +432,14 @@ bool InputChunk::generateRelocationCode(raw_ostream &os) const { + if (!requiresRuntimeReloc) + continue; + ++ if (funcs.empty() || funcs.back().size() >= 7654300) { ++ funcs.emplace_back(std::string()); ++ raw_string_ostream os(funcs.back()); ++ writeUleb128(os, 0, "num locals"); ++ } ++ ++ raw_string_ostream os(funcs.back()); ++ + LLVM_DEBUG(dbgs() << "gen reloc: type=" << relocTypeToString(rel.Type) + << " addend=" << rel.Addend << " index=" << rel.Index + << " output offset=" << offset << "\n"); +@@ -487,9 +494,7 @@ bool InputChunk::generateRelocationCode(raw_ostream &os) const { + writeU8(os, opcode_reloc_store, "I32_STORE"); + writeUleb128(os, 2, "align"); + writeUleb128(os, 0, "offset"); +- generated = true; + } +- return generated; + } + + // Split WASM_SEG_FLAG_STRINGS section. Such a section is a sequence of +diff --git a/lld/wasm/InputChunks.h b/lld/wasm/InputChunks.h +index 1fe78d76631f..2c721f5f92e8 100644 +--- a/lld/wasm/InputChunks.h ++++ b/lld/wasm/InputChunks.h +@@ -79,7 +79,7 @@ public: + size_t getNumRelocations() const { return relocations.size(); } + size_t getNumLiveRelocations() const; + void writeRelocations(llvm::raw_ostream &os) const; +- bool generateRelocationCode(raw_ostream &os) const; ++ void generateRelocationCode(std::vector &funcs) const; + + bool isTLS() const { return flags & llvm::wasm::WASM_SEG_FLAG_TLS; } + bool isRetained() const { return flags & llvm::wasm::WASM_SEG_FLAG_RETAIN; } +diff --git a/lld/wasm/SyntheticSections.cpp b/lld/wasm/SyntheticSections.cpp +index e1192706ea91..1b97039b1f1f 100644 +--- a/lld/wasm/SyntheticSections.cpp ++++ b/lld/wasm/SyntheticSections.cpp +@@ -312,6 +312,8 @@ void FunctionSection::writeBody() { + void FunctionSection::addFunction(InputFunction *func) { + if (!func->live) + return; ++ if (func->hasFunctionIndex()) ++ return; + uint32_t functionIndex = + out.importSec->getNumImportedFunctions() + inputFunctions.size(); + inputFunctions.emplace_back(func); +diff --git a/lld/wasm/Writer.cpp b/lld/wasm/Writer.cpp +index b704677d36c9..ac9eab2b9dd5 100644 +--- a/lld/wasm/Writer.cpp ++++ b/lld/wasm/Writer.cpp +@@ -1455,20 +1455,21 @@ void Writer::createStartFunction() { + void Writer::createApplyDataRelocationsFunction() { + LLVM_DEBUG(dbgs() << "createApplyDataRelocationsFunction\n"); + // First write the body's contents to a string. +- std::string bodyContent; ++ std::vector funcs; + { +- raw_string_ostream os(bodyContent); +- writeUleb128(os, 0, "num locals"); +- bool generated = false; + for (const OutputSegment *seg : segments) + if (!ctx.arg.sharedMemory || !seg->isTLS()) + for (const InputChunk *inSeg : seg->inputSegments) +- generated |= inSeg->generateRelocationCode(os); ++ inSeg->generateRelocationCode(funcs); ++ } + +- if (!generated) { +- LLVM_DEBUG(dbgs() << "skipping empty __wasm_apply_data_relocs\n"); +- return; +- } ++ if (funcs.empty()) { ++ LLVM_DEBUG(dbgs() << "skipping empty __wasm_apply_data_relocs\n"); ++ return; ++ } ++ ++ for (auto &func : funcs) { ++ raw_string_ostream os(func); + writeU8(os, WASM_OPCODE_END, "END"); + } + +@@ -1481,24 +1482,67 @@ void Writer::createApplyDataRelocationsFunction() { + make(nullSignature, "__wasm_apply_data_relocs")); + def->markLive(); + +- createFunction(def, bodyContent); ++ if (funcs.size() == 1) { ++ createFunction(def, funcs.back()); ++ return; ++ } ++ ++ std::string body; ++ { ++ raw_string_ostream os(body); ++ writeUleb128(os, 0, "num locals"); ++ ++ for (std::size_t i = 0; i < funcs.size(); ++i) { ++ auto &name = ++ *make("__wasm_apply_data_relocs_" + std::to_string(i)); ++ auto *func = make(nullSignature, name); ++ auto *def = symtab->addSyntheticFunction( ++ name, WASM_SYMBOL_VISIBILITY_HIDDEN, func); ++ def->markLive(); ++ // Normally this shouldn't be called manually for a synthetic ++ // function, since the function indices in ++ // ctx.syntheticFunctions will be calculated later (check ++ // functionSec->addFunction call hierarchy for details). ++ // However, at this point we already need the correct index. The ++ // solution is to place the new synthetic function eagerly, and ++ // also making addFunction idempotent by skipping when there's ++ // already a function index. ++ out.functionSec->addFunction(func); ++ createFunction(def, funcs[i]); ++ ++ writeU8(os, WASM_OPCODE_CALL, "CALL"); ++ writeUleb128(os, def->getFunctionIndex(), "function index"); ++ } ++ ++ writeU8(os, WASM_OPCODE_END, "END"); ++ } ++ createFunction(def, body); + } + + void Writer::createApplyTLSRelocationsFunction() { + LLVM_DEBUG(dbgs() << "createApplyTLSRelocationsFunction\n"); +- std::string bodyContent; ++ std::vector funcs; + { +- raw_string_ostream os(bodyContent); +- writeUleb128(os, 0, "num locals"); + for (const OutputSegment *seg : segments) + if (seg->isTLS()) + for (const InputChunk *inSeg : seg->inputSegments) +- inSeg->generateRelocationCode(os); ++ inSeg->generateRelocationCode(funcs); ++ } + ++ if (funcs.empty()) { ++ funcs.emplace_back(std::string()); ++ raw_string_ostream os(funcs.back()); ++ writeUleb128(os, 0, "num locals"); ++ } ++ ++ for (auto &func : funcs) { ++ raw_string_ostream os(func); + writeU8(os, WASM_OPCODE_END, "END"); + } + +- createFunction(ctx.sym.applyTLSRelocs, bodyContent); ++ assert(funcs.size() == 1); ++ ++ createFunction(ctx.sym.applyTLSRelocs, funcs.back()); + } + + // Similar to createApplyDataRelocationsFunction but generates relocation code +diff --git a/llvm/cmake/modules/AddLLVM.cmake b/llvm/cmake/modules/AddLLVM.cmake +index 83772ed8d2b1..0a7360d9357a 100644 +--- a/llvm/cmake/modules/AddLLVM.cmake ++++ b/llvm/cmake/modules/AddLLVM.cmake +@@ -2547,8 +2547,7 @@ function(llvm_setup_rpath name) + # FIXME: update this when there is better solution. + set(_install_rpath "${LLVM_LIBRARY_OUTPUT_INTDIR}" "${CMAKE_INSTALL_PREFIX}/lib${LLVM_LIBDIR_SUFFIX}" ${extra_libdir}) + elseif(UNIX) +- set(_build_rpath "\$ORIGIN/../lib${LLVM_LIBDIR_SUFFIX}" ${extra_libdir}) +- set(_install_rpath "\$ORIGIN/../lib${LLVM_LIBDIR_SUFFIX}") ++ set(_install_rpath "\$ORIGIN/../lib${LLVM_LIBDIR_SUFFIX}" ${extra_libdir}) + if(${CMAKE_SYSTEM_NAME} MATCHES "(FreeBSD|DragonFly)") + set_property(TARGET ${name} APPEND_STRING PROPERTY + LINK_FLAGS " -Wl,-z,origin ") +diff --git a/llvm/lib/MC/MCParser/WasmAsmParser.cpp b/llvm/lib/MC/MCParser/WasmAsmParser.cpp +index 1f824b80bcd4..1025d3ee3026 100644 +--- a/llvm/lib/MC/MCParser/WasmAsmParser.cpp ++++ b/llvm/lib/MC/MCParser/WasmAsmParser.cpp +@@ -228,7 +228,13 @@ public: + if (WasmSym->isFunction()) { + // Ignore .size directives for function symbols. They get their size + // set automatically based on their content. +- Warning(Loc, ".size directive ignored for function symbols"); ++ // ++ // Upstream LLVM treats this as a warning, we turn this into an ++ // error since it almost certainly signals severely malformed ++ // assembly due to miscompilation, and data/function symbol kind ++ // confusion is not always caught at link-time and might ++ // manifest as wasm runtime crashes :/ ++ Error(Loc, ".size directive ignored for function symbols"); + } else { + getStreamer().emitELFSize(Sym, Expr); + } +diff --git a/llvm/test/MC/WebAssembly/function-size-warning.s b/llvm/test/MC/WebAssembly/function-size-warning.s +index 627002dd3578..95e9294f80f7 100644 +--- a/llvm/test/MC/WebAssembly/function-size-warning.s ++++ b/llvm/test/MC/WebAssembly/function-size-warning.s +@@ -1,5 +1,4 @@ +-# RUN: llvm-mc -triple=wasm32-unknown-unknown -filetype=obj %s -o %t.o 2>&1 | FileCheck %s +-# RUN: llvm-objdump -t %t.o ++# RUN: not llvm-mc -triple=wasm32-unknown-unknown -filetype=obj %s -o %t.o 2>&1 | FileCheck %s + + foo: + .functype foo () -> () +@@ -12,4 +11,4 @@ foo: + # assembly files. + .size foo, 0 + +-# CHECK: warning: .size directive ignored for function symbols ++# CHECK: error: .size directive ignored for function symbols +diff --git a/llvm/test/MC/WebAssembly/null-output.s b/llvm/test/MC/WebAssembly/null-output.s +index fb15eecffc86..513e37d35039 100644 +--- a/llvm/test/MC/WebAssembly/null-output.s ++++ b/llvm/test/MC/WebAssembly/null-output.s +@@ -1,4 +1,5 @@ + # RUN: llvm-mc -triple=wasm32-unknown-unknown -filetype=obj -o /dev/null < %s ++# XFAIL: * + + .text + .section .text.main,"",@ diff --git a/overlays/patches/wine-add-dll-directory-10.patch b/overlays/patches/wine-add-dll-directory-10.patch new file mode 100644 index 0000000000..7db15ea981 --- /dev/null +++ b/overlays/patches/wine-add-dll-directory-10.patch @@ -0,0 +1,13 @@ +diff --git a/dlls/ntdll/loader.c b/dlls/ntdll/loader.c +index 85eb2976807..36d92b32d1c 100644 +--- a/dlls/ntdll/loader.c ++++ b/dlls/ntdll/loader.c +@@ -4620,7 +4620,7 @@ NTSTATUS WINAPI LdrAddDllDirectory( const UNICODE_STRING *dir, void **cookie ) + struct dll_dir_entry *ptr; + DOS_PATHNAME_TYPE type = RtlDetermineDosPathNameType_U( dir->Buffer ); + +- if (type != ABSOLUTE_PATH && type != ABSOLUTE_DRIVE_PATH && type != UNC_PATH) ++ if (type != ABSOLUTE_PATH && type != ABSOLUTE_DRIVE_PATH && type != UNC_PATH && type != DEVICE_PATH) + return STATUS_INVALID_PARAMETER; + + status = RtlDosPathNameToNtPathName_U_WithStatus( dir->Buffer, &nt_name, NULL, NULL ); diff --git a/overlays/rcodesign.nix b/overlays/rcodesign.nix new file mode 100644 index 0000000000..a99b1387e8 --- /dev/null +++ b/overlays/rcodesign.nix @@ -0,0 +1,34 @@ +# nixpkgs is using `rcodesign` 0.22 and it fails to build on recent +# versions of macOS (one of the tests fails validating signatures +# in `/usr/bin`). +final: prev: { + rcodesign = if builtins.compareVersions prev.rcodesign.version "0.27" >= 0 + then prev.rcodesign + else prev.rcodesign.override (old: final.lib.optionalAttrs (prev.rcodesign.version == "0.22.0") { + rustPlatform = old.rustPlatform // { + buildRustPackage = args: old.rustPlatform.buildRustPackage (args // { + version = "0.27.0"; + + src = final.fetchFromGitHub { + owner = "hamishmack"; + repo = "apple-platform-rs"; + rev = "hkm/cargo-update"; + hash = "sha256-gma2e73m2MDC8BAcIuclG/RPLhAHRLkehCa56f5835g="; + }; + + cargoHash = "sha256-4ra1oBQK/kXZTKvvq17kX2+49iKyXXT484Z6ON4bFbU="; + + buildInputs = final.lib.optionals final.stdenv.hostPlatform.isDarwin [ + final.darwin.apple_sdk_11_0.frameworks.Security + final.darwin.apple_sdk_11_0.frameworks.SystemConfiguration + ]; + + checkFlags = [ + # Does network IO + "--skip=ticket_lookup::test::lookup_ticket" + "--skip=cli_tests" + ]; + }); + }; + }); +} diff --git a/overlays/wasm.nix b/overlays/wasm.nix new file mode 100644 index 0000000000..2f8d55e43a --- /dev/null +++ b/overlays/wasm.nix @@ -0,0 +1,54 @@ +final: prev: prev.lib.optionalAttrs prev.stdenv.targetPlatform.isWasm { + llvmPackages = final.llvmPackages_21.override { + patchesFn = p: p // { "llvm/gnu-install-dirs.patch" = [{path = ./patches/wasm;}]; }; + monorepoSrc = + final.stdenv.mkDerivation { + pname = "llvm-source"; + version = final.llvmPackages_21.llvm.version + "-haskell"; + src = final.llvmPackages_21.llvm.monorepoSrc; + patches = ./patches/wasm/llvm/haskell-wasm-llvm-project.patch; + buildPhase = "true"; + installPhase = '' + cp -r . $out + ''; + }; + }; + wasilibc = prev.wasilibc.overrideAttrs (old: { + version = "25"; + src = final.buildPackages.fetchFromGitLab { + domain = "gitlab.haskell.org"; + owner = "haskell-wasm"; + repo = "wasi-libc"; + rev = "16aa8495f039918edb47046b277bf48b516a9776"; + hash = "sha256-cun3q5OKjryabVhXMNjwQ0bsmz+pS1eCupRP2he+f1k="; + fetchSubmodules = true; + }; + preBuild = '' + patchShebangs ./scripts + makeFlagsArray+=( + "default" + "libc_so" + ) + export BUILTINS_LIB=$($CC --print-libgcc-file-name) + ''; + postBuild = '' + mkdir -p ${builtins.placeholder "out"} + mkdir -p ${builtins.placeholder "dev"} + mkdir -p ${builtins.placeholder "share"} + cp -r sysroot/lib/wasm32-wasi ${builtins.placeholder "out"}/lib + cp -r sysroot/include/wasm32-wasi ${builtins.placeholder "dev"}/include + cp -r sysroot/share/wasm32-wasi ${builtins.placeholder "share"}/share + ''; + nativeBuildInputs = old.nativeBuildInputs or [] ++ [ final.buildPackages.lld ]; + }); + + haskell-nix = prev.haskell-nix // ({ + defaultModules = prev.haskell-nix.defaultModules ++ [ + ({ pkgs, ... }: { + testWrapper = ["HOME=$(mktemp -d)" (pkgs.pkgsBuildBuild.wasmtime + "/bin/wasmtime")]; + package-keys = ["clock"]; + packages.clock.ghcOptions = ["-optc-Wno-int-conversion"]; + }) + ]; + }); +} diff --git a/overlays/windows.nix b/overlays/windows.nix index 3df413b940..0ef407a63c 100644 --- a/overlays/windows.nix +++ b/overlays/windows.nix @@ -37,26 +37,32 @@ final: prev: configureFlags = (drv.configureFlags or []) ++ [ "--enable-static --disable-shared" ]; }); - haskell-nix = prev.haskell-nix // ({ + haskell-nix = prev.haskell-nix // final.lib.optionalAttrs final.stdenv.hostPlatform.isWindows ({ + templateHaskell = builtins.mapAttrs (_compiler-nix-name: iserv-proxy-exes: + import ./mingw_w64.nix { + inherit (final.stdenv) hostPlatform; + inherit (final.pkgsBuildBuild) lib writeShellScriptBin; + wine = final.pkgsBuildBuild.winePackages.minimal; + inherit (final.windows) mingw_w64_pthreads; + inherit (final) gmp; + inherit (final.pkgsBuildBuild) symlinkJoin; + # iserv-proxy needs to come from the buildPackages, as it needs to run on the + # build host. + inherit (iserv-proxy-exes) iserv-proxy iserv-proxy-interpreter iserv-proxy-interpreter-prof; + }) final.haskell-nix.iserv-proxy-exes; defaultModules = prev.haskell-nix.defaultModules ++ [ ({ pkgs, buildModules, config, lib, ... }: let - withTH = import ./mingw_w64.nix { - inherit (pkgs.stdenv) hostPlatform; - inherit (pkgs.pkgsBuildBuild) lib writeShellScriptBin; - wine = pkgs.pkgsBuildBuild.winePackages.minimal; - inherit (pkgs.windows) mingw_w64_pthreads; - inherit (pkgs) gmp; - inherit (pkgs.pkgsBuildBuild) symlinkJoin; - # iserv-proxy needs to come from the buildPackages, as it needs to run on the - # build host. - inherit (final.haskell-nix.iserv-proxy-exes.${config.compiler.nix-name}) iserv-proxy iserv-proxy-interpreter; - } // { - # we can perform testing of cross compiled test-suites by using wine. - # Therefore let's enable doCrossCheck here! - doCrossCheck = pkgs.stdenv.hostPlatform.isWindows; - }; + withTH = final.haskell-nix.templateHaskell.${config.compiler.nix-name}; in prev.haskell-nix.haskellLib.addPackageKeys { + inherit (withTH) configureFlags testWrapper; + + setupBuildFlags = map (opt: "--ghc-option=" + opt) withTH.ghcOptions; + + # we can perform testing of cross compiled test-suites by using wine. + # Therefore let's enable doCrossCheck here! + doCrossCheck = pkgs.stdenv.hostPlatform.isWindows; + packages = { # Apply https://github.com/haskell/cabal/pull/6055 @@ -81,7 +87,7 @@ final: prev: # http-client.patches = pkgs.lib.optionals pkgs.stdenv.hostPlatform.isWindows [ ({ version }: if version == "0.5.14" then ./patches/http-client-0.5.14.patch else null) ]; conduit.patches = pkgs.lib.optionals pkgs.stdenv.hostPlatform.isWindows [ ({ version }: if builtins.compareVersions version "1.3.1.1" < 0 then ./patches/conduit-1.3.0.2.patch else null) ]; - streaming-commons.patches = pkgs.lib.optionals pkgs.stdenv.hostPlatform.isWindows [ ./patches/streaming-commons-0.2.0.0.patch ]; + streaming-commons.patches = pkgs.lib.optionals pkgs.stdenv.hostPlatform.isWindows [ ({ version }: if builtins.compareVersions version "0.2.3.1" < 0 then ./patches/streaming-commons-0.2.0.0.patch else null) ]; x509-system.patches = pkgs.lib.optionals pkgs.stdenv.hostPlatform.isWindows [ ./patches/x509-system-1.6.6.patch ]; crypton-x509-system.patches = pkgs.lib.optionals pkgs.stdenv.hostPlatform.isWindows [ ./patches/crypton-x509-system.patch ]; @@ -115,7 +121,7 @@ final: prev: unix-time.components.library.libs = [ pkgs.windows.mingw_w64_pthreads ]; unix-time.postUnpack = "substituteInPlace */cbits/win_patch.h --replace Windows.h windows.h"; }; - } // withTH + } ) ]; }); diff --git a/overlays/wine.nix b/overlays/wine.nix index a4c5cb8462..32ae5c1249 100644 --- a/overlays/wine.nix +++ b/overlays/wine.nix @@ -1,11 +1,12 @@ -# fix wine at 5.4; later versions build with ucrt and this can break TH code (for instance accessing -# files from TH code) for GHC built with msvcrt (ghc<9.6). -# This will inevitably replace *any* wine version. Thus this might not really be what we ultimately want. -# Wine 5.4 does not build on macOS so that is not pinned and TH code will probably break. _final: prev: { winePackages = prev.winePackages // { minimal = prev.winePackages.minimal.overrideAttrs (oldAttrs: { - patches = oldAttrs.patches or [] ++ [ ./patches/wine-add-dll-directory.patch ]; + # Fix issue with UNC device file paths + patches = oldAttrs.patches or [] + ++ [(if builtins.compareVersions prev.winePackages.minimal.version "10.0" < 0 + then ./patches/wine-add-dll-directory.patch + else ./patches/wine-add-dll-directory-10.patch)]; + # Avoid dependency on X11 configureFlags = oldAttrs.configureFlags or [] ++ [ "--without-x" ]; }); }; diff --git a/scripts/check-compiler-materialization/default.nix b/scripts/check-compiler-materialization/default.nix index dad5565220..e5b54cd19c 100644 --- a/scripts/check-compiler-materialization/default.nix +++ b/scripts/check-compiler-materialization/default.nix @@ -17,41 +17,31 @@ in builtins.listToAttrs (builtins.concatMap (system: builtins.concatMap (compile in ([ # This set of derivations should be enough to ensure all the materialized files for a # given GHC version are checked. - { name = "${prefix}-extra"; value = (pkgs.haskell-nix.roots' compiler-nix-name).ghc-extra-projects-nix or {}; } + { name = "${prefix}-extra"; value = (pkgs.haskell-nix.roots' { inherit compiler-nix-name; }).ghc-extra-projects-nix or {}; } { name = "${prefix}-boot"; value = pkgs.ghc-boot-packages-nix.${compiler-nix-name}; } - { name = "${prefix}-iserv"; value = pkgs.haskell-nix.iserv-proxy-exes.${compiler-nix-name}.iserv-proxy.project.plan-nix; } - { name = "${prefix}-iserv-int"; value = pkgs.haskell-nix.iserv-proxy-exes.${compiler-nix-name}.iserv-proxy-interpreter.project.plan-nix; } { name = "${prefix}-hello"; value = (pkgs.haskell-nix.tool compiler-nix-name "hello" {}).project.plan-nix; } ] ++ eval.lib.optionals (!__elem system ["aarch64-darwin" "aarch64-linux" "x86_64-darwin"]) [ - { name = "${prefix}-windows"; value = (pkgsForWindows.pkgsCross.mingwW64.haskell-nix.roots' compiler-nix-name).ghc-extra-projects-nix or {}; } - { name = "${prefix}-iserv-windows"; value = pkgsForWindows.pkgsCross.mingwW64.haskell-nix.iserv-proxy-exes.${compiler-nix-name}.iserv-proxy.project.plan-nix; } - { name = "${prefix}-iserv-int-windows"; value = pkgsForWindows.pkgsCross.mingwW64.haskell-nix.iserv-proxy-exes.${compiler-nix-name}.iserv-proxy-interpreter.project.plan-nix; } + { name = "${prefix}-windows"; value = (pkgsForWindows.pkgsCross.mingwW64.haskell-nix.roots' { inherit compiler-nix-name; }).ghc-extra-projects-nix or {}; } { name = "${prefix}-hello-windows"; value = (pkgsForWindows.pkgsCross.mingwW64.haskell-nix.tool compiler-nix-name "hello" {}).project.plan-nix; } ] ++ eval.lib.optionals (system == "x86_64-linux") [ # In some cased you may need comment out one or more of these if the GHC version needed cannot be built. - { name = "${prefix}-musl"; value = (pkgs.pkgsCross.musl64.haskell-nix.roots' compiler-nix-name).ghc-extra-projects-nix or {}; } - { name = "${prefix}-iserv-musl"; value = pkgs.pkgsCross.musl64.haskell-nix.iserv-proxy-exes.${compiler-nix-name}.iserv-proxy.project.plan-nix; } - { name = "${prefix}-iserv-int-musl"; value = pkgs.pkgsCross.musl64.haskell-nix.iserv-proxy-exes.${compiler-nix-name}.iserv-proxy-interpreter.project.plan-nix; } + { name = "${prefix}-musl"; value = (pkgs.pkgsCross.musl64.haskell-nix.roots' { inherit compiler-nix-name; }).ghc-extra-projects-nix or {}; } { name = "${prefix}-hello-musl"; value = (pkgs.pkgsCross.musl64.haskell-nix.tool compiler-nix-name "hello" {}).project.plan-nix; } ] ++ eval.lib.optionals (system == "x86_64-linux" && !__elem compiler-nix-name ["ghc901" "ghc921" "ghc941" "ghc942" "ghc943"]) [ - { name = "${prefix}-arm"; value = (pkgs.pkgsCross.aarch64-multiplatform.haskell-nix.roots' compiler-nix-name).ghc-extra-projects-nix or {}; } - { name = "${prefix}-iserv-arm"; value = pkgs.pkgsCross.aarch64-multiplatform.haskell-nix.iserv-proxy-exes.${compiler-nix-name}.iserv-proxy.project.plan-nix; } - { name = "${prefix}-iserv-int-arm"; value = pkgs.pkgsCross.aarch64-multiplatform.haskell-nix.iserv-proxy-exes.${compiler-nix-name}.iserv-proxy-interpreter.project.plan-nix; } + { name = "${prefix}-arm"; value = (pkgs.pkgsCross.aarch64-multiplatform.haskell-nix.roots' { inherit compiler-nix-name; }).ghc-extra-projects-nix or {}; } { name = "${prefix}-hello-arm"; value = (pkgs.pkgsCross.aarch64-multiplatform.haskell-nix.tool compiler-nix-name "hello" {}).project.plan-nix; } ] ++ eval.lib.optionals ( (system == "aarch64-linux" && !__elem compiler-nix-name ["ghc8107" "ghc901" "ghc902" "ghc921" "ghc922" "ghc923" "ghc924" "ghc925" "ghc926" "ghc941" "ghc942" "ghc943"]) || (system == "x86_64-linux" && !__elem compiler-nix-name ["ghc8107" "ghc901" "ghc902" - "ghc921" "ghc922" "ghc923" "ghc924" "ghc925" "ghc926" "ghc941" "ghc942" "ghc943" "ghc944" "ghc945" "ghc947" "ghc961" "ghc962" "ghc963" "ghc964" "ghc965" "ghc9820230704"])) [ - { name = "${prefix}-arm-musl"; value = (pkgs.pkgsCross.aarch64-multiplatform-musl.haskell-nix.roots' compiler-nix-name).ghc-extra-projects-nix or {}; } - { name = "${prefix}-iserv-arm-musl"; value = pkgs.pkgsCross.aarch64-multiplatform-musl.haskell-nix.iserv-proxy-exes.${compiler-nix-name}.iserv-proxy.project.plan-nix; } - { name = "${prefix}-iserv-int-arm-musl"; value = pkgs.pkgsCross.aarch64-multiplatform-musl.haskell-nix.iserv-proxy-exes.${compiler-nix-name}.iserv-proxy-interpreter.project.plan-nix; } + "ghc921" "ghc922" "ghc923" "ghc924" "ghc925" "ghc926" "ghc941" "ghc942" "ghc943" "ghc944" "ghc945" "ghc947" "ghc961" "ghc962" "ghc963" "ghc964" "ghc965"])) [ + { name = "${prefix}-arm-musl"; value = (pkgs.pkgsCross.aarch64-multiplatform-musl.haskell-nix.roots' { inherit compiler-nix-name; }).ghc-extra-projects-nix or {}; } { name = "${prefix}-hello-arm-musl"; value = (pkgs.pkgsCross.aarch64-multiplatform-musl.haskell-nix.tool compiler-nix-name "hello" {}).project.plan-nix; } ] ++ eval.lib.optionals ( - (system == "x86_64-linux" && __elem compiler-nix-name ["ghc8107" "ghc961" "ghc962" "ghc963" "ghc964" "ghc965" "ghc981" "ghc982" "ghc9820230704"]) - || (system == "aarch64-linux" && __elem compiler-nix-name ["ghc961" "ghc962" "ghc963" "ghc964" "ghc965" "ghc981" "ghc982" "ghc9820230704"]) - || (system == "x86_64-darwin" && __elem compiler-nix-name ["ghc8107" "ghc961" "ghc962" "ghc963" "ghc964" "ghc964" "ghc981" "ghc982" "ghc9820230704"]) - || (system == "aarch64-darwin" && __elem compiler-nix-name ["ghc961" "ghc962" "ghc963" "ghc964" "ghc981" "ghc965" "ghc982" "ghc9820230704"])) [ + (system == "x86_64-linux" && __elem compiler-nix-name ["ghc8107" "ghc961" "ghc962" "ghc963" "ghc964" "ghc965" "ghc981" "ghc982" "ghc983" "ghc984" "ghc9101"]) + || (system == "aarch64-linux" && __elem compiler-nix-name ["ghc961" "ghc962" "ghc963" "ghc964" "ghc965" "ghc981" "ghc982" "ghc983" "ghc984" "ghc9101"]) + || (system == "x86_64-darwin" && __elem compiler-nix-name ["ghc8107" "ghc961" "ghc962" "ghc963" "ghc964" "ghc964" "ghc981" "ghc982" "ghc983" "ghc984" "ghc9101"]) + || (system == "aarch64-darwin" && __elem compiler-nix-name ["ghc961" "ghc962" "ghc963" "ghc964" "ghc981" "ghc965" "ghc982" "ghc983" "ghc984" "ghc9101"])) [ { name = "${prefix}-boot-ghcjs"; value = pkgs.pkgsCross.ghcjs.ghc-boot-packages-nix.${compiler-nix-name}; } - { name = "${prefix}-ghcjs"; value = (pkgs.pkgsCross.ghcjs.haskell-nix.roots' compiler-nix-name).ghc-extra-projects-nix or {}; } + { name = "${prefix}-ghcjs"; value = (pkgs.pkgsCross.ghcjs.haskell-nix.roots' { inherit compiler-nix-name; }).ghc-extra-projects-nix or {}; } { name = "${prefix}-hello-ghcjs"; value = (pkgs.pkgsCross.ghcjs.haskell-nix.tool compiler-nix-name "hello" {}).project.plan-nix; } ])) compiler-nix-names) systems) diff --git a/scripts/check-hydra.nix b/scripts/check-hydra.nix index 46f2e29dec..076b35508d 100644 --- a/scripts/check-hydra.nix +++ b/scripts/check-hydra.nix @@ -1,4 +1,4 @@ -{ stdenv, lib, writeScript, coreutils, time, gnutar, gzip, hydra_unstable, jq, gitMinimal }: +{ stdenv, lib, writeScript, coreutils, time, gnutar, gzip, nix-eval-jobs, jq, gitMinimal }: with lib; @@ -7,14 +7,14 @@ writeScript "check-hydra.sh" '' set -euo pipefail - export PATH="${makeBinPath [ coreutils time gnutar gzip hydra_unstable jq gitMinimal ]}" + export PATH="${makeBinPath [ coreutils time gnutar gzip nix-eval-jobs jq gitMinimal ]}" export NIX_PATH= echo '~~~ Evaluating release.nix with' "$@" HYDRA_CONFIG= command time --format '%e' -o eval-time.txt \ - hydra-eval-jobs \ + nix-eval-jobs \ --option allowed-uris "https://github.com/NixOS/%20https://github.com/input-output-hk/%20github:NixOS/nixpkgs/%20github:input-output-hk/hackage.nix/%20github:input-output-hk/stackage.nix/%20github:input-output-hk/flake-compat/%20github:stable-haskell/iserv-proxy/%20github:haskell/haskell-language-server/" \ - --flake $(pwd) > eval.json + --flake $(pwd)#hydraJobs --force-recurse > eval.json EVAL_EXIT_CODE="$?" if [ "$EVAL_EXIT_CODE" != 0 ] then @@ -24,8 +24,8 @@ writeScript "check-hydra.sh" '' fi EVAL_TIME=$(cat eval-time.txt) jq . < eval.json - ERRORS=$(jq -r 'map_values(.error)|to_entries[]|select(.value)|@text "\(.key): \(.value)"' < eval.json) - NUM_ERRORS=$(jq -r '[ map_values(.error)|to_entries[]|select(.value) ] |length' < eval.json) + ERRORS=$(jq 'select(.error)|@text "\(.attrPath|join(".")): \(.error)"' < eval.json) + NUM_ERRORS=$([ -z "$ERRORS" ] && echo 0 || echo "$ERRORS" | wc -l) rm eval.json eval-time.txt if [ "$NUM_ERRORS" != 0 ] diff --git a/scripts/update-docs.nix b/scripts/update-docs.nix index 0adcf47258..273006fcd8 100644 --- a/scripts/update-docs.nix +++ b/scripts/update-docs.nix @@ -3,10 +3,6 @@ with lib; -let - repo = "git@github.com:input-output-hk/haskell.nix.git"; - sshKey = "/run/keys/buildkite-haskell-dot-nix-ssh-private"; -in # update-docs depends on glibc which doesn't build on darwin meta.addMetaAttrs { platforms = platforms.linux; } (writeScript "update-docs.sh" '' #!${stdenv.shell} @@ -37,10 +33,4 @@ in check_staged echo "Committing changes..." git commit --no-gpg-sign --message "Update gh-pages for $rev" - - use_ssh_key ${sshKey} - - if [ "''${BUILDKITE_BRANCH:-}" = master ]; then - git push ${repo} HEAD:gh-pages - fi '') diff --git a/scripts/update-external.nix b/scripts/update-external.nix index aba071d091..e5777dece2 100644 --- a/scripts/update-external.nix +++ b/scripts/update-external.nix @@ -1,5 +1,5 @@ { stdenv, lib, writeScript, glibc, coreutils, git, openssh -, nix-tools, nixFlakes +, nix-tools, nixVersions , bash, curl, findutils, gawk, cabal-issue-8352-workaround }: { name, script }: @@ -15,7 +15,7 @@ in set -euo pipefail - export PATH="${makeBinPath ([ coreutils curl findutils gawk bash git openssh nix-tools nixFlakes ] ++ cabal-issue-8352-workaround ++ optional stdenv.isLinux glibc)}" + export PATH="${makeBinPath ([ coreutils curl findutils gawk bash git openssh nix-tools nixVersions.stable ] ++ cabal-issue-8352-workaround ++ optional stdenv.isLinux glibc)}" ${script} diff --git a/scripts/update-hackage.nix b/scripts/update-hackage.nix index 2e02aa429c..00308a95cd 100644 --- a/scripts/update-hackage.nix +++ b/scripts/update-hackage.nix @@ -1,5 +1,5 @@ { stdenv, lib, writeScript, coreutils, glibc, git, openssh -, nix-tools, nixFlakes +, nix-tools, nixVersions , gawk, bash, curl, findutils , update-index-state-hashes, cabal-issue-8352-workaround }@args: diff --git a/scripts/update-stackage.nix b/scripts/update-stackage.nix index 19bbf00ffb..1af620ad4e 100644 --- a/scripts/update-stackage.nix +++ b/scripts/update-stackage.nix @@ -1,5 +1,5 @@ { stdenv, lib, writeScript, coreutils, glibc, git, openssh -, nix-tools, nixFlakes +, nix-tools, nixVersions , gawk, bash, curl, findutils, cabal-issue-8352-workaround }@args: import ./update-external.nix args { diff --git a/snapshots.nix b/snapshots.nix index 252d39b157..c05af993ee 100644 --- a/snapshots.nix +++ b/snapshots.nix @@ -6,12 +6,13 @@ # A particular package in a snapshot would be accessed with: # snapshots."lts-13.18".conduit -{ lib, mkPkgSet, stackage, excludeBootPackages, ghc-boot-packages }: +{ lib, mkPkgSet, stackage, excludeBootPackages, ghc-boot-packages, hackage }: with lib; let mkSnapshot = name: pkg-def: (let pkgSet = mkPkgSet { + inherit hackage; pkg-def = excludeBootPackages null pkg-def; # ghc-boot-packages are needed for the reinstallable ghc library and # are constructed from the patched ghc source. diff --git a/stackage-src.json b/stackage-src.json deleted file mode 100644 index d20fc5eba6..0000000000 --- a/stackage-src.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "url": "https://github.com/input-output-hk/stackage.nix", - "rev": "452e9c671ca172a355dbd2582bdb50ef5133af26", - "date": "2021-08-05T01:03:17+00:00", - "path": "/nix/store/nhsdi6aglbqvrv4s2dzzfm4br40d96a0-stackage.nix-452e9c6", - "sha256": "0qmicvpr6xfnhyqllr3d87zv6q6njnasvj34ni19h7f9hakp0wjx", - "fetchSubmodules": false, - "deepClone": false, - "leaveDotGit": false -} diff --git a/test/annotations/default.nix b/test/annotations/default.nix index b41a6b1bd8..6412b44e43 100644 --- a/test/annotations/default.nix +++ b/test/annotations/default.nix @@ -9,9 +9,17 @@ let }; in recurseIntoAttrs { - meta.disabled = stdenv.hostPlatform.isGhcjs + meta.disabled = + # This fail looking for ghci. Adding ghci as a `build-depends` works, but should not be needed + stdenv.hostPlatform.isGhcjs || stdenv.hostPlatform.isWasm # Failed to lookup symbol: __aarch64_swp8_acq_rel - || (builtins.elem compiler-nix-name ["ghc947" "ghc948"] && haskellLib.isCrossHost && stdenv.hostPlatform.isAarch64); + || (builtins.elem compiler-nix-name ["ghc947" "ghc948"] && haskellLib.isCrossHost && stdenv.hostPlatform.isAarch64) + # unhandled ELF relocation(Rel) type 10 + || (stdenv.hostPlatform.isMusl && stdenv.hostPlatform.isx86_32) + # Disable for now (CI machines currently timing out) + || stdenv.hostPlatform.isWindows || stdenv.hostPlatform.isAndroid + || (stdenv.buildPlatform.isx86_64 && stdenv.hostPlatform.isAarch64) + ; ifdInputs = { inherit (project) plan-nix; }; diff --git a/test/cabal-22/default.nix b/test/cabal-22/default.nix index ddbb51a63d..071992ab9e 100644 --- a/test/cabal-22/default.nix +++ b/test/cabal-22/default.nix @@ -16,7 +16,7 @@ in recurseIntoAttrs { # ReferenceError: h$hs_clock_darwin_gettime is not defined # https://github.com/input-output-hk/haskell.nix/issues/925 # Also `hspec` now depends on `ghc`, which breaks this test for cross compilation - meta.disabled = stdenv.hostPlatform.isGhcjs || stdenv.hostPlatform.isWindows || stdenv.hostPlatform.isMusl; + meta.disabled = stdenv.hostPlatform.isGhcjs || stdenv.hostPlatform.isWasm || stdenv.hostPlatform.isWindows || stdenv.hostPlatform.isMusl; ifdInputs = { inherit (project) plan-nix; }; @@ -37,7 +37,7 @@ in recurseIntoAttrs { '' + # Aarch is statically linked and does not produce a .so file. # Musl is also statically linked, but it does make a .so file so we should check that still. - optionalString (!stdenv.hostPlatform.isAarch32 && !stdenv.hostPlatform.isAarch64) ('' + optionalString (!stdenv.hostPlatform.isAarch32 && !stdenv.hostPlatform.isAarch64 || stdenv.hostPlatform.isDarwin) ('' printf "checking that executable is dynamically linked to system libraries... " >& 2 '' + optionalString (stdenv.isLinux && !stdenv.hostPlatform.isMusl) '' ${haskellLib.lddForTests} $exe | grep 'libc[.]so' @@ -57,7 +57,7 @@ in recurseIntoAttrs { '' + optionalString stdenv.isLinux '' ${haskellLib.lddForTests} $sofile | grep libHSghc-prim '' + optionalString stdenv.isDarwin '' - otool -L $sofile | grep libHSghc-prim + otool -L $sofile | grep libHSghc- '')) + '' touch $out diff --git a/test/cabal-hpack/package.yaml b/test/cabal-hpack/package.yaml index 76fa770a1e..560db6b301 100644 --- a/test/cabal-hpack/package.yaml +++ b/test/cabal-hpack/package.yaml @@ -25,10 +25,15 @@ executables: cabal-hpack: main: Main.hs source-dirs: app - ghc-options: - - -threaded - - -rtsopts - - -with-rtsopts=-N + when: + - condition: arch(wasm32) + then: + ghc-options: [] + else: + ghc-options: + - -threaded + - -rtsopts + - -with-rtsopts=-N dependencies: - cabal-hpack diff --git a/test/cabal-project-nix-path/default.nix b/test/cabal-project-nix-path/default.nix index deeef9f904..d34643582e 100644 --- a/test/cabal-project-nix-path/default.nix +++ b/test/cabal-project-nix-path/default.nix @@ -1,17 +1,24 @@ { lib, cabalProject', tool, recurseIntoAttrs, testSrc, compiler-nix-name, evalPackages }: let + # Kind of round about way of getting the source for the hello package from hackage + # so we can use it in this test. + hello-src = evalPackages.runCommand "hello-src" { nativeBuildInputs = [ evalPackages.gnutar ]; } '' + mkdir -p $out + tar -xzf ${(tool compiler-nix-name "hello" { inherit evalPackages; }).src} -C $out + mv $out/hello-*/* $out + ''; project = cabalProject' { name = "cabal-project-nix-path"; inherit compiler-nix-name evalPackages; src = testSrc "cabal-project-nix-path"; cabalProject = '' - packages: ${(tool compiler-nix-name "hello" { inherit evalPackages; }).project.args.src} + packages: ${hello-src} ''; }; # The same but with source in a subdir of the store path projectSubDir = project.appendModule { cabalProject = lib.mkForce '' - packages: ${evalPackages.runCommand "hello-src" {} "mkdir -p $out && cp -r ${(tool compiler-nix-name "hello" { inherit evalPackages; }).project.args.src} $out/subdir"}/subdir + packages: ${evalPackages.runCommand "hello-src-in-subdir" {} "mkdir -p $out && cp -r ${hello-src} $out/subdir"}/subdir ''; }; diff --git a/test/cabal-simple-debug/default.nix b/test/cabal-simple-debug/default.nix index 9344f08a54..58d7aab01f 100644 --- a/test/cabal-simple-debug/default.nix +++ b/test/cabal-simple-debug/default.nix @@ -15,7 +15,7 @@ let in recurseIntoAttrs { # DWARF only works on linux with GHC 8.10.2 and newer # GHC 9.2.1 disabled because of https://github.com/input-output-hk/haskell.nix/issues/1332 - meta.disabled = __elem compiler-nix-name ["ghc865" "ghc884" "ghc921" "ghc922" "ghc923" "ghc924" "ghc925" "ghc926" "ghc927"] + meta.disabled = __elem compiler-nix-name ["ghc921" "ghc922" "ghc923" "ghc924" "ghc925" "ghc926" "ghc927"] || !stdenv.hostPlatform.isLinux || haskellLib.isCrossHost || stdenv.hostPlatform.isMusl || stdenv.hostPlatform.isAarch64 || lib.hasSuffix "llvm" compiler-nix-name; ifdInputs = { @@ -39,7 +39,7 @@ in recurseIntoAttrs { else '' (${dwarfdump}/bin/dwarfdump $exe || true) | grep -c 'libraries/base/[A-Za-z0-9/]*\.hs' ''} - (${dwarfdump}/bin/dwarfdump $exe || true) | grep -c '/Main\.hs' + (${dwarfdump}/bin/dwarfdump $exe || true) | grep -c 'Main\.hs' touch $out ''; diff --git a/test/cabal-simple-prof/default.nix b/test/cabal-simple-prof/default.nix index ac747f4887..d95fbf8f95 100644 --- a/test/cabal-simple-prof/default.nix +++ b/test/cabal-simple-prof/default.nix @@ -25,9 +25,11 @@ let inherit modules; }; + exe = (project.getComponent "cabal-simple:exe:cabal-simple") + .override (lib.optionalAttrs stdenv.hostPlatform.isAndroid { setupBuildFlags = ["--ghc-option=-optl-static" ]; }); + in recurseIntoAttrs { - # This test seeems to be broken on 8.6 and 8.8 and ghcjs - meta.disabled = compiler-nix-name == "ghc865" || compiler-nix-name == "ghc884" || stdenv.hostPlatform.isGhcjs; + meta.disabled = stdenv.hostPlatform.isGhcjs || stdenv.hostPlatform.isWasm; ifdInputs = { inherit (project) plan-nix; }; @@ -35,7 +37,7 @@ in recurseIntoAttrs { name = "cabal-simple-prof-test"; buildCommand = '' - exe="${(project.getComponent "cabal-simple:exe:cabal-simple").exePath}" + exe="${exe.exePath}" size=$(command stat --format '%s' "$exe") printf "size of executable $exe is $size. \n" >& 2 @@ -45,7 +47,7 @@ in recurseIntoAttrs { # Curiosity: cross compilers prodcing profiling with `+RTS -p -h` lead to the following cryptic message: # cabal-simple: invalid heap profile option: -h* # Hence we pass `-hc`. - ${toString (project.getComponent "cabal-simple:exe:cabal-simple").config.testWrapper} $exe +RTS -p -hc + ${toString exe.config.testWrapper} $exe +RTS -p -hc touch $out ''; diff --git a/test/cabal-simple/default.nix b/test/cabal-simple/default.nix index c98578cfe6..86c13739d2 100644 --- a/test/cabal-simple/default.nix +++ b/test/cabal-simple/default.nix @@ -35,7 +35,7 @@ in recurseIntoAttrs { cabal = { cabalProjectLocal = builtins.readFile ../cabal.project.local; }; hoogle = { cabalProjectLocal = builtins.readFile ../cabal.project.local; }; }; - withHoogle = true; + withHoogle = !stdenv.hostPlatform.isStatic; }).overrideAttrs (_: _: { meta = rec { platforms = lib.platforms.all; diff --git a/test/cabal.project.local b/test/cabal.project.local index db3a1f6521..b84eb85d66 100644 --- a/test/cabal.project.local +++ b/test/cabal.project.local @@ -1,21 +1,19 @@ -if impl(ghc>=9.10.1) +if impl(ghc>=9.12.1) -- allow newer packages, that are bound to be newer due to -- being shipped with a newer compiler. If you extend this -- be very careful to only extend it for absolutely necessary packages -- otherwise we risk running into broken build-plans down the line. - allow-newer: *:base, *:template-haskell, *:bytestring, *:text, *:ghc-prim, *:deepseq, *:Cabal -if impl(ghc > 9.11) - allow-newer: *:containers, *:time + allow-newer: *:base, *:template-haskell, *:ghc-prim, uuid-types:random, QuickCheck:random, cabal-install:random + +if impl(ghc > 9.13) + allow-newer: *:containers, *:time, *:ghc-bignum constraints: base-compat >=0.14.0, aeson >=2.2.1.0 -- From https://ghc.gitlab.haskell.org/head.hackage/cabal.constraints - constraints: extra ==1.7.14 + -- Nothing needed right now -- This prevents hsc2hs from causing old versions of packages from being added to plan.json allow-newer: hsc2hs:* -if impl(ghc >=9.10.1) - extra-packages: process - repository head.hackage.ghc.haskell.org url: https://ghc.gitlab.haskell.org/head.hackage/ secure: True @@ -24,27 +22,27 @@ repository head.hackage.ghc.haskell.org f76d08be13e9a61a377a85e2fb63f4c5435d40f8feb3e12eb05905edb8cdea89 26021a13b401500c8eb2761ca95c61f2d625bfef951b939a8124ed12ecf07329 7541f32a4ccca4f97aea3b22f5e593ba2c0267546016b992dfadcd2fe944e55d - --sha256: sha256-VFRuIfs3k6nyLVvT445wFRDy+bpcy1LVmLCMg1Oo/uE= + --sha256: sha256-Tc0SzZeJtkhLr7Fi99RPXBpaW/74/wfUqnfz9E7TJKg= repository ghcjs-overlay - url: https://raw.githubusercontent.com/input-output-hk/hackage-overlay-ghcjs/01ecad22c0a72e3c5a49262357cf0b062892d87f + url: https://raw.githubusercontent.com/input-output-hk/hackage-overlay-ghcjs/ffb32dce467b9a4d27be759fdd2740a6edd09d0b secure: True root-keys: key-threshold: 0 - --sha256: sha256-BjyXYh6oS4wE1iHlY/7as7vkmjxFOXzK6nOYzbzjQrM= + --sha256: sha256-RXRKmHMpOY7ePZGGabZ1YGhF42+eLslZEIMe2JUYwB0= if os(ghcjs) extra-packages: ghci constraints: ghci installed -if !impl(ghc>=9.11) && !os(ghcjs) +if !impl(ghc>=9.13) && !os(ghcjs) active-repositories: hackage.haskell.org -if impl(ghc>=9.11) && !os(ghcjs) +if impl(ghc>=9.13) && !os(ghcjs) active-repositories: hackage.haskell.org, head.hackage.ghc.haskell.org -if !impl(ghc>=9.11) && os(ghcjs) +if !impl(ghc>=9.13) && os(ghcjs) active-repositories: hackage.haskell.org, ghcjs-overlay:override -if impl(ghc>=9.11) && os(ghcjs) +if impl(ghc>=9.13) && os(ghcjs) active-repositories: hackage.haskell.org, head.hackage.ghc.haskell.org, ghcjs-overlay:override diff --git a/test/call-stack-to-nix/package.yaml b/test/call-stack-to-nix/package.yaml index 7903b38ff8..1ebdf419d5 100644 --- a/test/call-stack-to-nix/package.yaml +++ b/test/call-stack-to-nix/package.yaml @@ -29,10 +29,15 @@ executables: stack-simple-exe: main: Main.hs source-dirs: app - ghc-options: - - -threaded - - -rtsopts - - -with-rtsopts=-N + when: + - condition: arch(wasm32) + then: + ghc-options: [] + else: + ghc-options: + - -threaded + - -rtsopts + - -with-rtsopts=-N dependencies: - stack-simple @@ -40,9 +45,14 @@ tests: stack-simple-test: main: Spec.hs source-dirs: test - ghc-options: - - -threaded - - -rtsopts - - -with-rtsopts=-N + when: + - condition: arch(wasm32) + then: + ghc-options: [] + else: + ghc-options: + - -threaded + - -rtsopts + - -with-rtsopts=-N dependencies: - stack-simple diff --git a/test/coverage-no-libs/default.nix b/test/coverage-no-libs/default.nix index 52cf163327..02a9df5ee0 100644 --- a/test/coverage-no-libs/default.nix +++ b/test/coverage-no-libs/default.nix @@ -82,7 +82,7 @@ in recurseIntoAttrs ({ dirExistsEmpty "$pkga_basedir/mix" dirExists "$pkga_basedir/tix/pkga-0.1.0.0" dirExists "$project_basedir/tix/all" - '') ([cabalProj] ++ optional (compiler-nix-name == "ghc865") stackProj))} + '') ([cabalProj] ++ optional (compiler-nix-name == "ghc984") stackProj))} touch $out ''; diff --git a/test/coverage-no-libs/stack.yaml b/test/coverage-no-libs/stack.yaml index 0d1a82a502..30aa471e66 100644 --- a/test/coverage-no-libs/stack.yaml +++ b/test/coverage-no-libs/stack.yaml @@ -1,4 +1,4 @@ -resolver: lts-14.13 +resolver: lts-23.7 packages: -- pkga/ \ No newline at end of file +- pkga/ diff --git a/test/coverage/default.nix b/test/coverage/default.nix index d8c135ea69..512e85be8d 100644 --- a/test/coverage/default.nix +++ b/test/coverage/default.nix @@ -6,7 +6,6 @@ let projectArgs = { inherit evalPackages; src = testSrc "coverage"; - cabalProjectLocal = builtins.readFile ../cabal.project.local; modules = [{ # Coverage packages.pkga.components.library.doCoverage = true; @@ -16,15 +15,21 @@ let # We can easily select a different compiler when using cabal, # but for stack we would need a different resolver to be used.. - cabalProj = (cabalProject' (projectArgs // { inherit compiler-nix-name; })); + cabalProj = (cabalProject' (projectArgs // { + inherit compiler-nix-name; + cabalProjectLocal = builtins.readFile ../cabal.project.local; + })); stackProj = (stackProject' projectArgs); exeExt = stdenv.hostPlatform.extensions.executable; crossSuffix = lib.optionalString (stdenv.hostPlatform != stdenv.buildPlatform) "-${stdenv.hostPlatform.config}"; + crossSuffix' = lib.optionalString (stdenv.hostPlatform != stdenv.buildPlatform && stdenv.hostPlatform.isStatic) "-static" + crossSuffix; in recurseIntoAttrs ({ - # Does not work on ghcjs because it needs zlib. - meta.disabled = stdenv.hostPlatform.isGhcjs; + # Does not work on ghcjs because it needs zlib. Wasm needs network fixed. + meta.disabled = stdenv.hostPlatform.isGhcjs || stdenv.hostPlatform.isWasm + # For some reason the `.tix` file is not created on armv7a android (not sure why) + || stdenv.hostPlatform.isAndroid && stdenv.hostPlatform.isAarch32; run = stdenv.mkDerivation { name = "coverage-test"; @@ -80,14 +85,14 @@ in recurseIntoAttrs ({ fi } - ${concatStringsSep "\n" (map (project: '' + ${let check = project: inplaceSuffix: '' pkga_basedir="${project.hsPkgs.pkga.coverageReport}/share/hpc/vanilla" findFileExistsNonEmpty $pkga_basedir/mix/pkga-0.1.0.0* "PkgA.mix" dirExists "$pkga_basedir/tix/pkga-0.1.0.0" dirExists "$pkga_basedir/html/pkga-0.1.0.0" pkgb_basedir="${project.hsPkgs.pkgb.coverageReport}/share/hpc/vanilla" - testTix="$pkgb_basedir/tix/pkgb-test-tests${crossSuffix}-0.1.0.0-check${crossSuffix}/tests${exeExt}.tix" + testTix="$pkgb_basedir/tix/pkgb-test-tests${crossSuffix'}-0.1.0.0-check${crossSuffix}/tests${exeExt}.tix" libTix="$pkgb_basedir/tix/pkgb-0.1.0.0/pkgb-0.1.0.0.tix" fileExistsNonEmpty "$testTix" fileExistsNonEmpty "$libTix" @@ -104,19 +109,23 @@ in recurseIntoAttrs ({ project_basedir="${project.projectCoverageReport}/share/hpc/vanilla" fileExistsNonEmpty "$project_basedir/html/index.html" - dirExists "$project_basedir/html/pkga-0.1.0.0-inplace" - dirExists "$project_basedir/html/pkgb-0.1.0.0-inplace" + dirExists "$project_basedir/html/pkga-0.1.0.0${inplaceSuffix}" + dirExists "$project_basedir/html/pkgb-0.1.0.0${inplaceSuffix}" findFileExistsNonEmpty "$project_basedir/mix/" "PkgA.mix" findFileExistsNonEmpty "$project_basedir/mix/" "PkgB.mix" findFileExistsNonEmpty "$project_basedir/mix/" "ConduitExample.mix" dirExists "$project_basedir/tix/all" fileExistsNonEmpty "$project_basedir/tix/all/all.tix" - dirExists "$project_basedir/tix/pkga-0.1.0.0-inplace" - dirExists "$project_basedir/tix/pkgb-0.1.0.0-inplace" - fileExistsNonEmpty "$project_basedir/tix/pkgb-0.1.0.0-inplace/pkgb-0.1.0.0-inplace.tix" - dirExists "$project_basedir/tix/pkgb-test-tests${crossSuffix}-0.1.0.0-check${crossSuffix}" - fileExistsNonEmpty "$project_basedir/tix/pkgb-test-tests${crossSuffix}-0.1.0.0-check${crossSuffix}/tests${exeExt}.tix" - '') ([cabalProj] ++ optional (compiler-nix-name == "ghc865") stackProj))} + dirExists "$project_basedir/tix/pkga-0.1.0.0${inplaceSuffix}" + dirExists "$project_basedir/tix/pkgb-0.1.0.0${inplaceSuffix}" + fileExistsNonEmpty "$project_basedir/tix/pkgb-0.1.0.0${inplaceSuffix}/pkgb-0.1.0.0${inplaceSuffix}.tix" + dirExists "$project_basedir/tix/pkgb-test-tests${crossSuffix'}-0.1.0.0-check${crossSuffix}" + fileExistsNonEmpty "$project_basedir/tix/pkgb-test-tests${crossSuffix'}-0.1.0.0-check${crossSuffix}/tests${exeExt}.tix" + ''; + in '' + ${check cabalProj "-inplace"} + ${optionalString (compiler-nix-name == "ghc984") (check stackProj "")} + ''} touch $out ''; diff --git a/test/coverage/stack.yaml b/test/coverage/stack.yaml index a6509114e9..964ad8299f 100644 --- a/test/coverage/stack.yaml +++ b/test/coverage/stack.yaml @@ -1,5 +1,5 @@ -resolver: lts-14.13 +resolver: lts-23.7 packages: - pkga/ -- pkgb/ \ No newline at end of file +- pkgb/ diff --git a/test/exe-dlls/default.nix b/test/exe-dlls/default.nix index 7d9d304df4..f16960cbf2 100644 --- a/test/exe-dlls/default.nix +++ b/test/exe-dlls/default.nix @@ -8,12 +8,13 @@ let inherit compiler-nix-name evalPackages; src = testSrc "exe-dlls"; cabalProjectLocal = builtins.readFile ../cabal.project.local; + modules = import ../modules.nix; }; packages = project.hsPkgs; in recurseIntoAttrs rec { - meta.disabled = stdenv.hostPlatform.isGhcjs; + meta.disabled = stdenv.hostPlatform.isGhcjs || stdenv.hostPlatform.isWasm; ifdInputs = { inherit (project) plan-nix; diff --git a/test/exe-lib-dlls/default.nix b/test/exe-lib-dlls/default.nix index 466d07429a..467c08afbe 100644 --- a/test/exe-lib-dlls/default.nix +++ b/test/exe-lib-dlls/default.nix @@ -8,12 +8,13 @@ let inherit compiler-nix-name evalPackages; src = testSrc "exe-lib-dlls"; cabalProjectLocal = builtins.readFile ../cabal.project.local; + modules = import ../modules.nix; }; packages = project.hsPkgs; in recurseIntoAttrs rec { - meta.disabled = stdenv.hostPlatform.isGhcjs; + meta.disabled = stdenv.hostPlatform.isGhcjs || stdenv.hostPlatform.isWasm; ifdInputs = { inherit (project) plan-nix; diff --git a/test/external-static-plugin/default.nix b/test/external-static-plugin/default.nix index d5a4ac7384..1eff8ab632 100644 --- a/test/external-static-plugin/default.nix +++ b/test/external-static-plugin/default.nix @@ -1,13 +1,8 @@ -{ cabalProject', testSrc, compiler-nix-name, evalPackages, recurseIntoAttrs, haskellLib }: let +{ cabalProject', testSrc, compiler-nix-name, buildPackages, evalPackages, recurseIntoAttrs, haskellLib }: let project = cabalProject' { src = testSrc "external-static-plugin"; inherit compiler-nix-name evalPackages; modules = [ { - packages.prog.components.exes.prog.plugins = [ { - inherit (project.hsPkgs.plugin.components) library; - moduleName = "Plugin"; - args = [ "f1" "f2" ]; - } ]; packages.prog.postInstall = '' test -f f1 test -f f2 @@ -19,9 +14,9 @@ in recurseIntoAttrs { inherit (project) plan-nix; }; - meta.disabled = !(builtins.elem compiler-nix-name [ - "ghc810420210212" - ]) || haskellLib.isCrossHost; + meta.disabled = + __compareVersions buildPackages.haskell-nix.compiler.${compiler-nix-name}.version "9.6" < 0 + || haskellLib.isCrossHost; build = project.hsPkgs.prog.components.exes.prog; } diff --git a/test/external-static-plugin/plugin/src/Plugin.hs b/test/external-static-plugin/plugin/src/Plugin.hs index 391a653ec1..1041ed4263 100644 --- a/test/external-static-plugin/plugin/src/Plugin.hs +++ b/test/external-static-plugin/plugin/src/Plugin.hs @@ -1,7 +1,6 @@ module Plugin (plugin) where -import GhcPlugins -import MonadUtils +import GHC.Plugins import System.IO import Control.Monad diff --git a/test/external-static-plugin/prog/prog.cabal b/test/external-static-plugin/prog/prog.cabal index 147b7007eb..487f1ce0a1 100644 --- a/test/external-static-plugin/prog/prog.cabal +++ b/test/external-static-plugin/prog/prog.cabal @@ -7,6 +7,7 @@ extra-source-files: CHANGELOG.md executable prog main-is: Main.hs - build-depends: base + build-depends: base, plugin hs-source-dirs: app + ghc-options: -fplugin=Plugin -fplugin-opt=Plugin:f1 -fplugin-opt=Plugin:f2 default-language: Haskell2010 diff --git a/test/fully-static/default.nix b/test/fully-static/default.nix index a74edcb73f..9379b00f91 100644 --- a/test/fully-static/default.nix +++ b/test/fully-static/default.nix @@ -12,7 +12,7 @@ with lib; let # Grab the compiler name from stack-to-nix output. # compiler = (stack-pkgs.extras {}).compiler.nix-name; - compiler = "ghc865"; # fixme + compiler = "ghc984"; # fixme # IFD stack-to-nix project = { gpl ? true }: stackProject' { @@ -31,7 +31,7 @@ let packagesIntegerSimple = (project { gpl = false; }).hsPkgs; in recurseIntoAttrs { - meta.disabled = stdenv.hostPlatform.isGhcjs || compiler-nix-name != "ghc865"; + meta.disabled = stdenv.hostPlatform.isGhcjs || compiler-nix-name != compiler; ifdInputs = { stack-nix-gmp = (project { gpl = true; }).stack-nix; diff --git a/test/fully-static/stack.yaml b/test/fully-static/stack.yaml index 0112e4f5e4..de71e35b39 100644 --- a/test/fully-static/stack.yaml +++ b/test/fully-static/stack.yaml @@ -1,4 +1,4 @@ -resolver: lts-14.13 +resolver: lts-23.7 extra-deps: - pandoc-2.7.3 diff --git a/test/ghc-options/stack.nix b/test/ghc-options/stack.nix index 620809240e..c7841441be 100644 --- a/test/ghc-options/stack.nix +++ b/test/ghc-options/stack.nix @@ -9,18 +9,9 @@ let }; packages = project.hsPkgs; - # Get the names of all packages. This is a test to see - # whether there is a broken "$locals" package present. - hasIdentifier = p: p != null && p ? identifier; - packageNames = mapAttrsToList (name: p: - # TODO work out why these are `ghcide` and `hnix` are here in the first place - # it might be because we have patches in `modules/configuration.nix` - lib.optionalString (!__elem name ["ghcide" "hnix"]) p.identifier.name) - (filterAttrs (_name: hasIdentifier) packages); - in recurseIntoAttrs { # This test is somehow broken for ghcjs - meta.disabled = stdenv.hostPlatform.isGhcjs || compiler-nix-name != "ghc865"; + meta.disabled = stdenv.hostPlatform.isGhcjs || compiler-nix-name != "ghc984"; ifdInputs = { inherit (project) stack-nix; @@ -32,7 +23,7 @@ in recurseIntoAttrs { printf "checking whether executable runs... " >& 2 cat ${haskellLib.check packages.test-ghc-options.components.exes.test-ghc-options-exe}/test-stdout - echo '${concatStringsSep " " packageNames}' > $out + touch $out ''; meta = rec { diff --git a/test/ghc-options/stack.yaml b/test/ghc-options/stack.yaml index 2b93f9af35..370ec59469 100644 --- a/test/ghc-options/stack.yaml +++ b/test/ghc-options/stack.yaml @@ -1,4 +1,4 @@ -resolver: lts-14.13 +resolver: lts-23.7 packages: - . diff --git a/test/ghc-options/test-ghc-options.cabal b/test/ghc-options/test-ghc-options.cabal index e2a74555ad..9b8e708861 100644 --- a/test/ghc-options/test-ghc-options.cabal +++ b/test/ghc-options/test-ghc-options.cabal @@ -16,5 +16,6 @@ executable test-ghc-options-exe main-is: Main.hs build-depends: base >=4.7 && <5, test-ghc-options hs-source-dirs: app - ghc-options: -threaded -rtsopts -with-rtsopts=-N + if !arch(wasm32) + ghc-options: -threaded -rtsopts -with-rtsopts=-N default-language: Haskell2010 diff --git a/test/ghcjs-overlay/default.nix b/test/ghcjs-overlay/default.nix index 37ce2e06c7..956e800408 100644 --- a/test/ghcjs-overlay/default.nix +++ b/test/ghcjs-overlay/default.nix @@ -17,6 +17,9 @@ in recurseIntoAttrs { run = stdenv.mkDerivation { name = "ghcjs-overlay-test"; + # Double conversion needs updating for wasm + meta.disabled = stdenv.hostPlatform.isWasm; + buildCommand = '' exe="${packages.ghcjs-overlay-test.components.exes.ghcjs-overlay-test.exePath}" size=$(command stat --format '%s' "$exe") @@ -41,7 +44,6 @@ in recurseIntoAttrs { touch $out ''; meta.platforms = platforms.all; - meta.disabled = haskellLib.isCrossHost && stdenv.hostPlatform.isAarch64; passthru = { inherit project; }; diff --git a/test/gi-gtk/default.nix b/test/gi-gtk/default.nix index 665d3dfb86..8ceb1e1f69 100644 --- a/test/gi-gtk/default.nix +++ b/test/gi-gtk/default.nix @@ -8,19 +8,15 @@ let inherit compiler-nix-name evalPackages; src = testSrc "gi-gtk"; cabalProjectLocal = builtins.readFile ../cabal.project.local + '' - -- haskell-gi 0.26.12 breaks gi-gtkpixbuf - index-state: 2024-09-30T00:00:00Z -- The overloading feature of haskell-gi makes build times very long constraints: haskell-gi-overloading ==0.0 - if impl(ghc >=9.11) - constraints: filepath source ''; }; packages = project.hsPkgs; in recurseIntoAttrs rec { - meta.disabled = stdenv.hostPlatform.isGhcjs + meta.disabled = stdenv.hostPlatform.isGhcjs || stdenv.hostPlatform.isWasm # Gtk cross compilation seems to be broken in nixpkgs || stdenv.hostPlatform.isWindows # We can't make static libraries for Gtk @@ -29,7 +25,9 @@ in recurseIntoAttrs rec { # error: incompatible pointer to integer conversion assigning to 'ffi_arg' (aka 'unsigned long') from 'HsPtr' (aka 'void *') [-Wint-conversion] || builtins.elem compiler-nix-name ["ghc8107" "ghc902" "ghc928" "ghc948"] && stdenv.hostPlatform.isAarch64 # Cross compilation to aarch64 is also broken - || stdenv.hostPlatform.isAarch64 && !stdenv.buildPlatform.isAarch64; + || stdenv.hostPlatform.isAarch64 && !stdenv.buildPlatform.isAarch64 + # glu is marked ase broken for isAndroid + || stdenv.hostPlatform.isAndroid; ifdInputs = { inherit (project) plan-nix; diff --git a/test/githash/default.nix b/test/githash/default.nix index 89afd45c09..e3e9bfe171 100644 --- a/test/githash/default.nix +++ b/test/githash/default.nix @@ -42,7 +42,7 @@ let in recurseIntoAttrs { # githash runs git from TH code and this needs a cross compiled git exe - # to work correctly. Cross compiling git is currently brocken. + # to work correctly. Cross compiling git is currently broken. meta.disabled = __elem compiler-nix-name ["ghc901" "ghc902"] || haskellLib.isCrossHost || # TODO find out why TH fails for this (__elem compiler-nix-name ["ghc927" "ghc928"] && stdenv.hostPlatform.isAarch64 && stdenv.hostPlatform.isMusl); diff --git a/test/haskell-language-server/cabal.nix b/test/haskell-language-server/cabal.nix index 815ffe55fc..26cc6a4104 100644 --- a/test/haskell-language-server/cabal.nix +++ b/test/haskell-language-server/cabal.nix @@ -1,10 +1,10 @@ -{ stdenv, testSrc, haskell-nix, compiler-nix-name, evalPackages, recurseIntoAttrs, buildPackages }: +{ lib, stdenv, testSrc, haskell-nix, compiler-nix-name, evalPackages, recurseIntoAttrs, buildPackages }: let project = haskell-nix.cabalProject' { inherit compiler-nix-name evalPackages; name = "haskell-language-server"; - src = haskell-nix.sources."hls-2.8"; - configureArgs = "--disable-benchmarks --disable-tests"; + src = haskell-nix.sources."hls-2.11"; + configureArgs = "--disable-benchmarks --disable-tests"; # This makes cabalProject' more like the `tool` function }; in recurseIntoAttrs { ifdInputs = { @@ -16,5 +16,5 @@ in recurseIntoAttrs { meta.disabled = stdenv.hostPlatform != stdenv.buildPlatform || __compareVersions buildPackages.haskell-nix.compiler.${compiler-nix-name}.version "9.0.1" < 0 - || __compareVersions buildPackages.haskell-nix.compiler.${compiler-nix-name}.version "9.9.0" >= 0; + || __compareVersions buildPackages.haskell-nix.compiler.${compiler-nix-name}.version "9.13" >= 0; } diff --git a/test/js-template-haskell/default.nix b/test/js-template-haskell/default.nix index 423ed3dd40..fed9d0f71a 100644 --- a/test/js-template-haskell/default.nix +++ b/test/js-template-haskell/default.nix @@ -23,11 +23,26 @@ in recurseIntoAttrs { inherit (project) plan-nix; }; - meta.disabled = stdenv.buildPlatform != stdenv.hostPlatform && stdenv.hostPlatform.isAarch64; + meta.disabled = builtins.elem compiler-nix-name ["ghc91320241204"] + # Not sure why this is failing with a seg fault + || (builtins.elem compiler-nix-name ["ghc9102" "ghc9102llvm"] && stdenv.hostPlatform.isAndroid && stdenv.hostPlatform.isAarch32) + # unhandled ELF relocation(Rel) type 10 + || (stdenv.hostPlatform.isMusl && stdenv.hostPlatform.isx86_32) + + # Disable for now (CI machines currently hang without timing out) + || stdenv.hostPlatform.isWindows || stdenv.hostPlatform.isAndroid + || (stdenv.buildPlatform.isx86_64 && stdenv.hostPlatform.isAarch64) + ; build = packages.js-template-haskell.components.library; check = packages.js-template-haskell.checks.test; -} // optionalAttrs (!stdenv.hostPlatform.isGhcjs) { +} // optionalAttrs (!( + stdenv.hostPlatform.isGhcjs + || (builtins.elem compiler-nix-name ["ghc984" "ghc9122" "ghc9122llvm" "ghc91320250523"] && stdenv.buildPlatform.isx86_64 && stdenv.hostPlatform.isAarch64) + || (stdenv.hostPlatform.isAarch64 + && stdenv.hostPlatform.isMusl + && builtins.elem compiler-nix-name ["ghc9101" "ghc966"]) + )) { build-profiled = packages.js-template-haskell.components.library.profiled; check-profiled = packages.js-template-haskell.checks.test.profiled; } diff --git a/test/js-template-haskell/js-template-haskell.cabal b/test/js-template-haskell/js-template-haskell.cabal index 550b546918..9758060d78 100644 --- a/test/js-template-haskell/js-template-haskell.cabal +++ b/test/js-template-haskell/js-template-haskell.cabal @@ -12,6 +12,7 @@ library exposed-modules: MyLib build-depends: base , uri-bytestring + , th-orphans hs-source-dirs: src default-language: Haskell2010 diff --git a/test/modules.nix b/test/modules.nix new file mode 100644 index 0000000000..b0cc498149 --- /dev/null +++ b/test/modules.nix @@ -0,0 +1,22 @@ +[{ + package-keys = ["HsOpenSSL" "libsodium" "double-conversion"]; + # See https://github.com/haskell-cryptography/HsOpenSSL/issues/95 + packages.HsOpenSSL.ghcOptions = ["-optc=-Wno-incompatible-pointer-types"]; +} + +({pkgs, lib, ...}: lib.mkIf pkgs.stdenv.hostPlatform.isAndroid { + packages.libsodium.configureFlags = [ "--c2hs-option=--cppopts=-D_Null_unspecified=" ]; + packages.libsodium.components.library.hardeningDisable = ["fortify"]; +}) + +({pkgs, lib, ...}: lib.mkIf pkgs.stdenv.hostPlatform.isStatic { + packages.double-conversion.ghcOptions = [ + # stop putting U __gxx_personality_v0 into the library! + "-optcxx-fno-rtti" + "-optcxx-fno-exceptions" + # stop putting U __cxa_guard_release into the library! + "-optcxx-std=gnu++98" + "-optcxx-fno-threadsafe-statics" + ]; +}) +] diff --git a/test/overlay.nix b/test/overlay.nix new file mode 100644 index 0000000000..8d8d3dfada --- /dev/null +++ b/test/overlay.nix @@ -0,0 +1,8 @@ +final: prev: { + haskell-nix = prev.haskell-nix // { + extraPkgconfigMappings = prev.haskell-nix.extraPkgconfigMappings or {} // { + "libsodium" = [ "libsodium-18" ]; + }; + }; + libsodium-18 = (final.callPackage (final.haskell-nix.sources.nixpkgs-2311 + "/pkgs/development/libraries/libsodium") {}).overrideAttrs (_: { dontDisableStatic = true; }); +} diff --git a/test/plugin/default.nix b/test/plugin/default.nix index 893e85de42..ed550473d4 100644 --- a/test/plugin/default.nix +++ b/test/plugin/default.nix @@ -18,12 +18,12 @@ in recurseIntoAttrs { inherit (project) plan-nix; }; - # Not sure why this breaks for ghc 8.10.7 - meta.disabled = compiler-nix-name == "ghc8107" - || builtins.elem compiler-nix-name [ "ghc91120240918" ] + meta.disabled = + builtins.elem compiler-nix-name [ "ghc91320250523" ] || stdenv.hostPlatform.isMusl || stdenv.hostPlatform.isGhcjs + || stdenv.hostPlatform.isWasm || stdenv.hostPlatform.isWindows - || (haskellLib.isCrossHost && stdenv.hostPlatform.isAarch64); + || (haskellLib.isCrossHost && (stdenv.hostPlatform.isAarch64 || stdenv.hostPlatform.isAarch32)); build = packages.test.components.library; } diff --git a/test/project-flags/stack.nix b/test/project-flags/stack.nix index 257757aa33..6cb5334283 100644 --- a/test/project-flags/stack.nix +++ b/test/project-flags/stack.nix @@ -10,7 +10,7 @@ let packages = project.hsPkgs; in recurseIntoAttrs { - meta.disabled = compiler-nix-name != "ghc865"; + meta.disabled = compiler-nix-name != "ghc984"; ifdInputs = { inherit (project) stack-nix; }; diff --git a/test/project-flags/stack.yaml b/test/project-flags/stack.yaml index 3d2ab0a487..ca735863fc 100644 --- a/test/project-flags/stack.yaml +++ b/test/project-flags/stack.yaml @@ -1,4 +1,4 @@ -resolver: lts-14.13 +resolver: lts-23.7 packages: - . diff --git a/test/project-flags/test-project-flags.cabal b/test/project-flags/test-project-flags.cabal index 67b88a8f4e..5fae1f360e 100644 --- a/test/project-flags/test-project-flags.cabal +++ b/test/project-flags/test-project-flags.cabal @@ -22,7 +22,8 @@ executable test-project-flags-exe main-is: Main.hs build-depends: base >=4.7 && <5, test-project-flags hs-source-dirs: app - ghc-options: -threaded -rtsopts -with-rtsopts=-N + if !arch(wasm32) + ghc-options: -threaded -rtsopts -with-rtsopts=-N default-language: Haskell2010 if flag(test-flag) cpp-options: -DTEST_FLAG diff --git a/test/shell-for/.plan.nix/pkga.nix b/test/shell-for/.plan.nix/pkga.nix deleted file mode 100644 index 3f42602d8e..0000000000 --- a/test/shell-for/.plan.nix/pkga.nix +++ /dev/null @@ -1,42 +0,0 @@ -{ system - , compiler - , flags - , pkgs - , hsPkgs - , pkgconfPkgs - , errorHandler - , config - , ... }: - { - flags = {}; - package = { - specVersion = "2.2"; - identifier = { name = "pkga"; version = "0.1.0.0"; }; - license = "LicenseRef-PublicDomain"; - copyright = ""; - maintainer = "rodney.lorrimar@iohk.io"; - author = "Rodney Lorrimar"; - homepage = ""; - url = ""; - synopsis = ""; - description = ""; - buildType = "Simple"; - isLocal = true; - }; - components = { - "library" = { - depends = [ - (hsPkgs."base" or (errorHandler.buildDepError "base")) - (hsPkgs."lens" or (errorHandler.buildDepError "lens")) - (hsPkgs."text" or (errorHandler.buildDepError "text")) - ]; - buildable = true; - }; - exes = { - "pkga-exe" = { - depends = [ (hsPkgs."base" or (errorHandler.buildDepError "base")) ]; - buildable = true; - }; - }; - }; - } // rec { src = (pkgs.lib).mkDefault ../pkga; } \ No newline at end of file diff --git a/test/shell-for/.plan.nix/pkgb.nix b/test/shell-for/.plan.nix/pkgb.nix deleted file mode 100644 index 55431466fa..0000000000 --- a/test/shell-for/.plan.nix/pkgb.nix +++ /dev/null @@ -1,63 +0,0 @@ -{ system - , compiler - , flags - , pkgs - , hsPkgs - , pkgconfPkgs - , errorHandler - , config - , ... }: - { - flags = {}; - package = { - specVersion = "2.2"; - identifier = { name = "pkgb"; version = "0.1.0.0"; }; - license = "LicenseRef-PublicDomain"; - copyright = ""; - maintainer = "rodney.lorrimar@iohk.io"; - author = "Rodney Lorrimar"; - homepage = ""; - url = ""; - synopsis = ""; - description = ""; - buildType = "Simple"; - isLocal = true; - }; - components = { - "library" = { - depends = [ - (hsPkgs."base" or (errorHandler.buildDepError "base")) - (hsPkgs."pkga" or (errorHandler.buildDepError "pkga")) - (hsPkgs."conduit" or (errorHandler.buildDepError "conduit")) - (hsPkgs."conduit-extra" or (errorHandler.buildDepError "conduit-extra")) - (hsPkgs."directory" or (errorHandler.buildDepError "directory")) - (hsPkgs."resourcet" or (errorHandler.buildDepError "resourcet")) - ]; - buildable = true; - }; - exes = { - "pkgb" = { - depends = [ - (hsPkgs."base" or (errorHandler.buildDepError "base")) - (hsPkgs."pkgb" or (errorHandler.buildDepError "pkgb")) - (hsPkgs."optparse-applicative" or (errorHandler.buildDepError "optparse-applicative")) - (hsPkgs."text" or (errorHandler.buildDepError "text")) - ]; - buildable = true; - }; - }; - tests = { - "tests" = { - depends = [ - (hsPkgs."base" or (errorHandler.buildDepError "base")) - (hsPkgs."pkgb" or (errorHandler.buildDepError "pkgb")) - (hsPkgs."process" or (errorHandler.buildDepError "process")) - ]; - build-tools = [ - (hsPkgs.buildPackages.pkga.components.exes.pkga-exe or (pkgs.buildPackages.pkga-exe or (errorHandler.buildToolDepError "pkga:pkga-exe"))) - ]; - buildable = true; - }; - }; - }; - } // rec { src = (pkgs.lib).mkDefault ../pkgb; } \ No newline at end of file diff --git a/test/shell-for/default.nix b/test/shell-for/default.nix index a090c83f92..34f1b2ff06 100644 --- a/test/shell-for/default.nix +++ b/test/shell-for/default.nix @@ -1,49 +1,51 @@ -{ stdenv, lib, haskellLib, cabal-install, mkCabalProjectPkgSet, recurseIntoAttrs, runCommand, testSrc, compiler-nix-name, evalPackages }: +{ stdenv, lib, haskellLib, recurseIntoAttrs, testSrc, compiler-nix-name, evalPackages, project' }: with lib; let - pkgSet = mkCabalProjectPkgSet { - plan-pkgs = import ./pkgs.nix; - pkg-def-extras = [{ - pkga = ./.plan.nix/pkga.nix; - pkgb = ./.plan.nix/pkgb.nix; - }]; - modules = [{ - inherit evalPackages; - }]; + project = project' { + inherit compiler-nix-name evalPackages; + src = testSrc "shell-for"; + cabalProjectLocal = builtins.readFile ../cabal.project.local; + modules = [{ inherit evalPackages; }]; }; - env = pkgSet.config.hsPkgs.shellFor { - # Shell will provide the dependencies of pkga and pkgb, but not - # pkga and pkgb themselves. + packages = project.hsPkgs; + + env = project.shellFor { packages = ps: with ps; [ pkga pkgb ]; - # This adds cabal-install to the shell, which helps tests because - # they use a nix-shell --pure. Normally you would BYO cabal-install. - tools = { cabal = { cabalProjectLocal = builtins.readFile ../cabal.project.local; }; }; + tools = { + cabal.cabalProjectLocal = builtins.readFile ../cabal.project.local; + hoogle.cabalProjectLocal = builtins.readFile ../cabal.project.local; + }; exactDeps = true; - # Avoid duplicate package issues when runghc looks for packages packageSetupDeps = false; }; - envPkga = pkgSet.config.hsPkgs.shellFor { + envPkga = project.shellFor { # Shell will provide the dependencies of pkga packages = ps: with ps; [ pkga ]; # This adds cabal-install to the shell, which helps tests because # they use a nix-shell --pure. Normally you would BYO cabal-install. - tools = { cabal = { cabalProjectLocal = builtins.readFile ../cabal.project.local; }; }; + tools = { + cabal.cabalProjectLocal = builtins.readFile ../cabal.project.local; + hoogle.cabalProjectLocal = builtins.readFile ../cabal.project.local; + }; exactDeps = true; # Avoid duplicate package issues when runghc looks for packages packageSetupDeps = false; }; - envDefault = pkgSet.config.hsPkgs.shellFor { + envDefault = project.shellFor { # The default implementation of packages should use isLocal and the # result should be the same as: # packages = ps: with ps; [ pkga pkgb ]; # This adds cabal-install to the shell, which helps tests because # they use a nix-shell --pure. Normally you would BYO cabal-install. - tools = { cabal = { cabalProjectLocal = builtins.readFile ../cabal.project.local; }; }; + tools = { + cabal.cabalProjectLocal = builtins.readFile ../cabal.project.local; + hoogle.cabalProjectLocal = builtins.readFile ../cabal.project.local; + }; # Avoid duplicate package issues when runghc looks for packages packageSetupDeps = false; }; @@ -51,8 +53,11 @@ let in recurseIntoAttrs { # Does not work on ghcjs because it needs zlib. # Does not work on windows because it needs mintty. - meta.disabled = stdenv.hostPlatform.isMusl || stdenv.hostPlatform.isGhcjs || stdenv.hostPlatform.isWindows || (haskellLib.isCrossHost && stdenv.hostPlatform.isAarch64) - || compiler-nix-name != ((import ./pkgs.nix).pkgs null).compiler.nix-name; + meta.disabled = stdenv.hostPlatform.isMusl + || stdenv.hostPlatform.isGhcjs + || stdenv.hostPlatform.isWasm + || stdenv.hostPlatform.isWindows + || (haskellLib.isCrossHost && (stdenv.hostPlatform.isAarch64 || stdenv.hostPlatform.isAarch32)); inherit env envPkga envDefault; run = stdenv.mkDerivation { name = "shell-for-test"; @@ -61,7 +66,7 @@ in recurseIntoAttrs { ######################################################################## # test shell-for with an example program - cp ${./pkgb/src}/*.hs . + cp ${testSrc "shell-for" + "/pkgb/src"}/*.hs . printf "checking that the shell env has the dependencies...\n" >& 2 ${env.ghc}/bin/${env.ghc.targetPrefix}runghc conduit-test.hs @@ -77,8 +82,7 @@ in recurseIntoAttrs { }; passthru = { - # Used for debugging with nix repl - inherit pkgSet; + inherit project packages; # Used for testing externally with nix-shell (../tests.sh). inherit env envPkga envDefault; diff --git a/test/shell-for/pkgs.nix b/test/shell-for/pkgs.nix deleted file mode 100644 index c89a6253bf..0000000000 --- a/test/shell-for/pkgs.nix +++ /dev/null @@ -1,282 +0,0 @@ -{ - pkgs = hackage: - { - packages = { - "these".revision = (((hackage."these")."1.1.1.1").revisions).default; - "these".flags.assoc = true; - "binary".revision = (((hackage."binary")."0.8.8.0").revisions).default; - "streaming-commons".revision = (((hackage."streaming-commons")."0.2.2.1").revisions).default; - "streaming-commons".flags.use-bytestring-builder = false; - "bifunctors".revision = (((hackage."bifunctors")."5.5.11").revisions).default; - "bifunctors".flags.tagged = true; - "bifunctors".flags.semigroups = true; - "ghc-prim".revision = (((hackage."ghc-prim")."0.6.1").revisions).default; - "void".revision = (((hackage."void")."0.7.3").revisions).default; - "void".flags.safe = false; - "ansi-terminal".revision = (((hackage."ansi-terminal")."0.11").revisions).default; - "ansi-terminal".flags.example = false; - "unliftio-core".revision = (((hackage."unliftio-core")."0.2.0.1").revisions).default; - "free".revision = (((hackage."free")."5.1.7").revisions).default; - "exceptions".revision = (((hackage."exceptions")."0.10.4").revisions).default; - "array".revision = (((hackage."array")."0.5.4.0").revisions).default; - "integer-gmp".revision = (((hackage."integer-gmp")."1.0.3.0").revisions).default; - "mono-traversable".revision = (((hackage."mono-traversable")."1.0.15.1").revisions).default; - "conduit-extra".revision = (((hackage."conduit-extra")."1.3.5").revisions).default; - "call-stack".revision = (((hackage."call-stack")."0.4.0").revisions).default; - "template-haskell".revision = (((hackage."template-haskell")."2.16.0.0").revisions).default; - "hsc2hs".revision = (((hackage."hsc2hs")."0.68.7").revisions).default; - "hsc2hs".flags.in-ghc-tree = false; - "vector".revision = (((hackage."vector")."0.12.3.0").revisions).default; - "vector".flags.unsafechecks = false; - "vector".flags.internalchecks = false; - "vector".flags.boundschecks = true; - "vector".flags.wall = false; - "conduit".revision = (((hackage."conduit")."1.3.4.1").revisions).default; - "network".revision = (((hackage."network")."3.1.2.2").revisions).default; - "network".flags.devel = false; - "pretty".revision = (((hackage."pretty")."1.1.3.6").revisions).default; - "async".revision = (((hackage."async")."2.2.3").revisions).default; - "async".flags.bench = false; - "process".revision = (((hackage."process")."1.6.13.2").revisions).default; - "random".revision = (((hackage."random")."1.2.0").revisions).default; - "optparse-applicative".revision = (((hackage."optparse-applicative")."0.16.1.0").revisions).default; - "optparse-applicative".flags.process = true; - "parallel".revision = (((hackage."parallel")."3.2.2.0").revisions).default; - "scientific".revision = (((hackage."scientific")."0.3.7.0").revisions).default; - "scientific".flags.integer-simple = false; - "scientific".flags.bytestring-builder = false; - "distributive".revision = (((hackage."distributive")."0.6.2.1").revisions).default; - "distributive".flags.tagged = true; - "distributive".flags.semigroups = true; - "transformers-base".revision = (((hackage."transformers-base")."0.4.6").revisions).default; - "transformers-base".flags.orphaninstances = true; - "vector-algorithms".revision = (((hackage."vector-algorithms")."0.8.0.4").revisions).default; - "vector-algorithms".flags.unsafechecks = false; - "vector-algorithms".flags.llvm = false; - "vector-algorithms".flags.internalchecks = false; - "vector-algorithms".flags.bench = true; - "vector-algorithms".flags.boundschecks = true; - "vector-algorithms".flags.properties = true; - "base".revision = (((hackage."base")."4.14.3.0").revisions).default; - "rts".revision = (((hackage."rts")."1.0.1").revisions).default; - "text".revision = (((hackage."text")."1.2.4.1").revisions).default; - "mtl".revision = (((hackage."mtl")."2.2.2").revisions).default; - "time".revision = (((hackage."time")."1.9.3").revisions).default; - "unordered-containers".revision = (((hackage."unordered-containers")."0.2.14.0").revisions).default; - "unordered-containers".flags.debug = false; - "unix".revision = (((hackage."unix")."2.7.2.2").revisions).default; - "typed-process".revision = (((hackage."typed-process")."0.2.6.1").revisions).default; - "contravariant".revision = (((hackage."contravariant")."1.5.5").revisions).default; - "contravariant".flags.tagged = true; - "contravariant".flags.semigroups = true; - "contravariant".flags.statevar = true; - "bytestring".revision = (((hackage."bytestring")."0.10.12.0").revisions).default; - "ansi-wl-pprint".revision = (((hackage."ansi-wl-pprint")."0.6.9").revisions).default; - "ansi-wl-pprint".flags.example = false; - "reflection".revision = (((hackage."reflection")."2.1.6").revisions).default; - "reflection".flags.slow = false; - "reflection".flags.template-haskell = true; - "integer-logarithms".revision = (((hackage."integer-logarithms")."1.0.3.1").revisions).default; - "integer-logarithms".flags.check-bounds = false; - "integer-logarithms".flags.integer-gmp = true; - "lens".revision = (((hackage."lens")."5.0.1").revisions).default; - "lens".flags.test-templates = true; - "lens".flags.test-hunit = true; - "lens".flags.benchmark-uniplate = false; - "lens".flags.inlining = true; - "lens".flags.trustworthy = true; - "lens".flags.test-properties = true; - "lens".flags.dump-splices = false; - "lens".flags.j = false; - "containers".revision = (((hackage."containers")."0.6.5.1").revisions).default; - "semigroupoids".revision = (((hackage."semigroupoids")."5.3.5").revisions).default; - "semigroupoids".flags.distributive = true; - "semigroupoids".flags.comonad = true; - "semigroupoids".flags.contravariant = true; - "semigroupoids".flags.containers = true; - "semigroupoids".flags.tagged = true; - "semigroupoids".flags.unordered-containers = true; - "tagged".revision = (((hackage."tagged")."0.8.6.1").revisions).default; - "tagged".flags.deepseq = true; - "tagged".flags.transformers = true; - "base-orphans".revision = (((hackage."base-orphans")."0.8.5").revisions).default; - "primitive".revision = (((hackage."primitive")."0.7.2.0").revisions).default; - "directory".revision = (((hackage."directory")."1.3.6.0").revisions).default; - "transformers-compat".revision = (((hackage."transformers-compat")."0.7").revisions).default; - "transformers-compat".flags.two = false; - "transformers-compat".flags.five = false; - "transformers-compat".flags.four = false; - "transformers-compat".flags.generic-deriving = true; - "transformers-compat".flags.five-three = true; - "transformers-compat".flags.three = false; - "transformers-compat".flags.mtl = true; - "profunctors".revision = (((hackage."profunctors")."5.6.2").revisions).default; - "th-abstraction".revision = (((hackage."th-abstraction")."0.4.3.0").revisions).default; - "resourcet".revision = (((hackage."resourcet")."1.2.4.3").revisions).default; - "semigroups".revision = (((hackage."semigroups")."0.19.2").revisions).default; - "semigroups".flags.bytestring = true; - "semigroups".flags.deepseq = true; - "semigroups".flags.binary = true; - "semigroups".flags.containers = true; - "semigroups".flags.tagged = true; - "semigroups".flags.template-haskell = true; - "semigroups".flags.bytestring-builder = false; - "semigroups".flags.transformers = true; - "semigroups".flags.hashable = true; - "semigroups".flags.unordered-containers = true; - "semigroups".flags.text = true; - "ghc-boot-th".revision = (((hackage."ghc-boot-th")."8.10.7").revisions).default; - "splitmix".revision = (((hackage."splitmix")."0.1.0.3").revisions).default; - "splitmix".flags.optimised-mixer = false; - "filepath".revision = (((hackage."filepath")."1.4.2.1").revisions).default; - "deepseq".revision = (((hackage."deepseq")."1.4.4.0").revisions).default; - "kan-extensions".revision = (((hackage."kan-extensions")."5.2.3").revisions).default; - "strict".revision = (((hackage."strict")."0.4.0.1").revisions).default; - "strict".flags.assoc = true; - "attoparsec".revision = (((hackage."attoparsec")."0.14.1").revisions).default; - "attoparsec".flags.developer = false; - "transformers".revision = (((hackage."transformers")."0.5.6.2").revisions).default; - "colour".revision = (((hackage."colour")."2.3.6").revisions).default; - "invariant".revision = (((hackage."invariant")."0.5.4").revisions).default; - "hashable".revision = (((hackage."hashable")."1.3.3.0").revisions).default; - "hashable".flags.integer-gmp = true; - "hashable".flags.random-initial-seed = false; - "adjunctions".revision = (((hackage."adjunctions")."4.4").revisions).default; - "comonad".revision = (((hackage."comonad")."5.0.8").revisions).default; - "comonad".flags.distributive = true; - "comonad".flags.indexed-traversable = true; - "comonad".flags.containers = true; - "assoc".revision = (((hackage."assoc")."1.0.2").revisions).default; - "indexed-traversable".revision = (((hackage."indexed-traversable")."0.1.1").revisions).default; - "zlib".revision = (((hackage."zlib")."0.6.2.3").revisions).default; - "zlib".flags.non-blocking-ffi = false; - "zlib".flags.bundled-c-zlib = false; - "zlib".flags.pkg-config = false; - "indexed-traversable-instances".revision = (((hackage."indexed-traversable-instances")."0.1").revisions).default; - "split".revision = (((hackage."split")."0.2.3.4").revisions).default; - "StateVar".revision = (((hackage."StateVar")."1.2.2").revisions).default; - "stm".revision = (((hackage."stm")."2.5.0.1").revisions).default; - }; - compiler = { - version = "8.10.7"; - nix-name = "ghc8107"; - packages = { - "binary" = "0.8.8.0"; - "ghc-prim" = "0.6.1"; - "exceptions" = "0.10.4"; - "array" = "0.5.4.0"; - "integer-gmp" = "1.0.3.0"; - "template-haskell" = "2.16.0.0"; - "pretty" = "1.1.3.6"; - "process" = "1.6.13.2"; - "base" = "4.14.3.0"; - "rts" = "1.0.1"; - "text" = "1.2.4.1"; - "mtl" = "2.2.2"; - "time" = "1.9.3"; - "unix" = "2.7.2.2"; - "bytestring" = "0.10.12.0"; - "containers" = "0.6.5.1"; - "directory" = "1.3.6.0"; - "ghc-boot-th" = "8.10.7"; - "filepath" = "1.4.2.1"; - "deepseq" = "1.4.4.0"; - "transformers" = "0.5.6.2"; - "stm" = "2.5.0.1"; - }; - }; - }; - extras = _hackage: - { - packages = { pkgb = ./.plan.nix/pkgb.nix; pkga = ./.plan.nix/pkga.nix; }; - }; - modules = [ - ({ lib, ... }: - { packages = { "pkgb" = { flags = {}; }; "pkga" = { flags = {}; }; }; }) - ({ lib, ... }: - { - packages = { - "tagged".components.library.planned = lib.mkOverride 900 true; - "containers".components.library.planned = lib.mkOverride 900 true; - "lens".components.library.planned = lib.mkOverride 900 true; - "semigroupoids".components.library.planned = lib.mkOverride 900 true; - "bifunctors".components.library.planned = lib.mkOverride 900 true; - "streaming-commons".components.library.planned = lib.mkOverride 900 true; - "binary".components.library.planned = lib.mkOverride 900 true; - "these".components.library.planned = lib.mkOverride 900 true; - "ghc-prim".components.library.planned = lib.mkOverride 900 true; - "StateVar".components.library.planned = lib.mkOverride 900 true; - "stm".components.library.planned = lib.mkOverride 900 true; - "split".components.library.planned = lib.mkOverride 900 true; - "hsc2hs".components.exes."hsc2hs".planned = lib.mkOverride 900 true; - "indexed-traversable-instances".components.library.planned = lib.mkOverride 900 true; - "indexed-traversable".components.library.planned = lib.mkOverride 900 true; - "assoc".components.library.planned = lib.mkOverride 900 true; - "zlib".components.library.planned = lib.mkOverride 900 true; - "comonad".components.library.planned = lib.mkOverride 900 true; - "pkga".components.library.planned = lib.mkOverride 900 true; - "adjunctions".components.library.planned = lib.mkOverride 900 true; - "hashable".components.library.planned = lib.mkOverride 900 true; - "attoparsec".components.library.planned = lib.mkOverride 900 true; - "colour".components.library.planned = lib.mkOverride 900 true; - "transformers".components.library.planned = lib.mkOverride 900 true; - "invariant".components.library.planned = lib.mkOverride 900 true; - "parallel".components.library.planned = lib.mkOverride 900 true; - "optparse-applicative".components.library.planned = lib.mkOverride 900 true; - "random".components.library.planned = lib.mkOverride 900 true; - "process".components.library.planned = lib.mkOverride 900 true; - "scientific".components.library.planned = lib.mkOverride 900 true; - "async".components.library.planned = lib.mkOverride 900 true; - "conduit".components.library.planned = lib.mkOverride 900 true; - "network".components.library.planned = lib.mkOverride 900 true; - "pkgb".components.library.planned = lib.mkOverride 900 true; - "pretty".components.library.planned = lib.mkOverride 900 true; - "vector".components.library.planned = lib.mkOverride 900 true; - "template-haskell".components.library.planned = lib.mkOverride 900 true; - "mono-traversable".components.library.planned = lib.mkOverride 900 true; - "integer-gmp".components.library.planned = lib.mkOverride 900 true; - "call-stack".components.library.planned = lib.mkOverride 900 true; - "array".components.library.planned = lib.mkOverride 900 true; - "conduit-extra".components.library.planned = lib.mkOverride 900 true; - "ansi-terminal".components.library.planned = lib.mkOverride 900 true; - "free".components.library.planned = lib.mkOverride 900 true; - "unliftio-core".components.library.planned = lib.mkOverride 900 true; - "exceptions".components.library.planned = lib.mkOverride 900 true; - "void".components.library.planned = lib.mkOverride 900 true; - "integer-logarithms".components.library.planned = lib.mkOverride 900 true; - "ansi-wl-pprint".components.library.planned = lib.mkOverride 900 true; - "reflection".components.library.planned = lib.mkOverride 900 true; - "pkga".components.exes."pkga-exe".planned = lib.mkOverride 900 true; - "bytestring".components.library.planned = lib.mkOverride 900 true; - "pkgb".components.tests."tests".planned = lib.mkOverride 900 true; - "pkgb".components.exes."pkgb".planned = lib.mkOverride 900 true; - "contravariant".components.library.planned = lib.mkOverride 900 true; - "typed-process".components.library.planned = lib.mkOverride 900 true; - "unix".components.library.planned = lib.mkOverride 900 true; - "text".components.library.planned = lib.mkOverride 900 true; - "base".components.library.planned = lib.mkOverride 900 true; - "rts".components.library.planned = lib.mkOverride 900 true; - "unordered-containers".components.library.planned = lib.mkOverride 900 true; - "mtl".components.library.planned = lib.mkOverride 900 true; - "time".components.library.planned = lib.mkOverride 900 true; - "transformers-base".components.library.planned = lib.mkOverride 900 true; - "distributive".components.library.planned = lib.mkOverride 900 true; - "vector-algorithms".components.library.planned = lib.mkOverride 900 true; - "deepseq".components.library.planned = lib.mkOverride 900 true; - "filepath".components.library.planned = lib.mkOverride 900 true; - "kan-extensions".components.library.planned = lib.mkOverride 900 true; - "strict".components.library.planned = lib.mkOverride 900 true; - "splitmix".components.library.planned = lib.mkOverride 900 true; - "semigroups".components.library.planned = lib.mkOverride 900 true; - "ghc-boot-th".components.library.planned = lib.mkOverride 900 true; - "resourcet".components.library.planned = lib.mkOverride 900 true; - "profunctors".components.library.planned = lib.mkOverride 900 true; - "base-orphans".components.library.planned = lib.mkOverride 900 true; - "directory".components.library.planned = lib.mkOverride 900 true; - "th-abstraction".components.library.planned = lib.mkOverride 900 true; - "primitive".components.library.planned = lib.mkOverride 900 true; - "transformers-compat".components.library.planned = lib.mkOverride 900 true; - }; - }) - ]; - } \ No newline at end of file diff --git a/test/stack-compiler/default.nix b/test/stack-compiler/default.nix index d602858b4e..614de24341 100644 --- a/test/stack-compiler/default.nix +++ b/test/stack-compiler/default.nix @@ -8,7 +8,7 @@ let packages = project.hsPkgs; in recurseIntoAttrs { - meta.disabled = compiler-nix-name != "ghc947"; + meta.disabled = compiler-nix-name != "ghc9101"; ifdInputs = { inherit (project) stack-nix; }; diff --git a/test/stack-compiler/stack.yaml b/test/stack-compiler/stack.yaml index 3ccf10688d..047e1bc718 100644 --- a/test/stack-compiler/stack.yaml +++ b/test/stack-compiler/stack.yaml @@ -1,5 +1,5 @@ -resolver: lts-21.9 -compiler: ghc-9.4.7 +resolver: lts-23.7 +compiler: ghc-9.10.1 compiler-check: match-exact packages: - . diff --git a/test/stack-local-resolver-subdir/default.nix b/test/stack-local-resolver-subdir/default.nix index b06ef29329..fe0520d2f4 100644 --- a/test/stack-local-resolver-subdir/default.nix +++ b/test/stack-local-resolver-subdir/default.nix @@ -8,7 +8,7 @@ let packages = project.hsPkgs; in recurseIntoAttrs { - meta.disabled = compiler-nix-name != "ghc865"; + meta.disabled = compiler-nix-name != "ghc984"; ifdInputs = { inherit (project) stack-nix; }; diff --git a/test/stack-local-resolver-subdir/snapshot/snapshot.yaml b/test/stack-local-resolver-subdir/snapshot/snapshot.yaml index d175fc8f66..42449bc135 100644 --- a/test/stack-local-resolver-subdir/snapshot/snapshot.yaml +++ b/test/stack-local-resolver-subdir/snapshot/snapshot.yaml @@ -1,4 +1,4 @@ name: local-snapshot -resolver: lts-14.13 +resolver: lts-23.7 packages: [] diff --git a/test/stack-local-resolver/default.nix b/test/stack-local-resolver/default.nix index 0acc3f2e78..640d9ada4b 100644 --- a/test/stack-local-resolver/default.nix +++ b/test/stack-local-resolver/default.nix @@ -8,7 +8,7 @@ let packages = project.hsPkgs; in recurseIntoAttrs { - meta.disabled = compiler-nix-name != "ghc865"; + meta.disabled = compiler-nix-name != "ghc984"; ifdInputs = { inherit (project) stack-nix; }; diff --git a/test/stack-local-resolver/snapshot.yaml b/test/stack-local-resolver/snapshot.yaml index d175fc8f66..42449bc135 100644 --- a/test/stack-local-resolver/snapshot.yaml +++ b/test/stack-local-resolver/snapshot.yaml @@ -1,4 +1,4 @@ name: local-snapshot -resolver: lts-14.13 +resolver: lts-23.7 packages: [] diff --git a/test/stack-remote-resolver/default.nix b/test/stack-remote-resolver/default.nix index 95f45180fa..83468a56bc 100644 --- a/test/stack-remote-resolver/default.nix +++ b/test/stack-remote-resolver/default.nix @@ -3,13 +3,13 @@ let project = project' { src = testSrc "stack-remote-resolver"; - resolverSha256 = "1rldkqqsxd8zxybrkqhc25bcxinhz212kz45jcz8jinfihc91jl7"; + resolverSha256 = "sha256-Vw1i0woTpbnbfl7KLAWZW6tfMHV7MOGLtzSlacM5sLE="; inherit evalPackages; }; packages = project.hsPkgs; in recurseIntoAttrs { - meta.disabled = compiler-nix-name != "ghc865"; + meta.disabled = compiler-nix-name != "ghc984"; ifdInputs = { inherit (project) stack-nix; }; diff --git a/test/stack-simple/default.nix b/test/stack-simple/default.nix index 30814dfa50..5c8be4a197 100644 --- a/test/stack-simple/default.nix +++ b/test/stack-simple/default.nix @@ -3,23 +3,22 @@ with lib; let - # ./pkgs.nix and ./stack-simple.nix are generated by running - # stack-to-nix -o . - pkgSet = mkStackPkgSet { - stack-pkgs = import ./pkgs.nix; - pkg-def-extras = []; - modules = [{inherit evalPackages;}]; + project = pkgs.haskell-nix.stackProject' { + src = testSrc "stack-simple"; + stackYaml = "stack-${compiler-nix-name}.yaml"; + inherit evalPackages; }; - packages = pkgSet.config.hsPkgs; + packages = project.hsPkgs; in pkgs.recurseIntoAttrs { - meta.disabled = compiler-nix-name != "ghc865"; + meta.disabled = !builtins.pathExists ./stack-${compiler-nix-name}.yaml; stack-simple-exe = (haskellLib.check packages.stack-simple.components.exes.stack-simple-exe) // { # Attributes used for debugging with nix repl inherit pkgSet packages; }; stack-simple-test = packages.stack-simple.checks.stack-simple-test; stack-simple-checks = packages.stack-simple.checks; - stack-simple-shell = packages.shellFor { tools = { cabal = "3.6.2.0"; }; }; + # Shells for stack project don't work. + # stack-simple-shell = project.shellFor { tools = { cabal = "3.6.2.0"; }; }; } diff --git a/test/stack-simple/package.yaml b/test/stack-simple/package.yaml index 7903b38ff8..1ebdf419d5 100644 --- a/test/stack-simple/package.yaml +++ b/test/stack-simple/package.yaml @@ -29,10 +29,15 @@ executables: stack-simple-exe: main: Main.hs source-dirs: app - ghc-options: - - -threaded - - -rtsopts - - -with-rtsopts=-N + when: + - condition: arch(wasm32) + then: + ghc-options: [] + else: + ghc-options: + - -threaded + - -rtsopts + - -with-rtsopts=-N dependencies: - stack-simple @@ -40,9 +45,14 @@ tests: stack-simple-test: main: Spec.hs source-dirs: test - ghc-options: - - -threaded - - -rtsopts - - -with-rtsopts=-N + when: + - condition: arch(wasm32) + then: + ghc-options: [] + else: + ghc-options: + - -threaded + - -rtsopts + - -with-rtsopts=-N dependencies: - stack-simple diff --git a/test/stack-simple/stack-ghc9102.yaml b/test/stack-simple/stack-ghc9102.yaml new file mode 100644 index 0000000000..ca11e78eef --- /dev/null +++ b/test/stack-simple/stack-ghc9102.yaml @@ -0,0 +1,69 @@ +# This file was automatically generated by 'stack init' +# +# Some commonly used options have been documented as comments in this file. +# For advanced use and comprehensive documentation of the format, please see: +# https://docs.haskellstack.org/en/stable/yaml_configuration/ + +# Resolver to choose a 'specific' stackage snapshot or a compiler version. +# A snapshot resolver dictates the compiler version and the set of packages +# to be used for project dependencies. For example: +# +# resolver: lts-3.5 +# resolver: nightly-2015-09-21 +# resolver: ghc-7.10.2 +# +# The location of a snapshot can be provided as a file or url. Stack assumes +# a snapshot provided as a file might change, whereas a url resource does not. +# +# resolver: ./custom-snapshot.yaml +# resolver: https://example.com/snapshots/2018-01-01.yaml +resolver: nightly-2025-07-14 + +# User packages to be built. +# Various formats can be used as shown in the example below. +# +# packages: +# - some-directory +# - https://example.com/foo/bar/baz-0.0.2.tar.gz +# - location: +# git: https://github.com/commercialhaskell/stack.git +# commit: e7b331f14bcffb8367cd58fbfc8b40ec7642100a +# - location: https://github.com/commercialhaskell/stack/commit/e7b331f14bcffb8367cd58fbfc8b40ec7642100a +# subdirs: +# - auto-update +# - wai +packages: +- . +# Dependency packages to be pulled from upstream that are not in the resolver +# using the same syntax as the packages field. +# (e.g., acme-missiles-0.3) +extra-deps: + # Work around http://hackage.haskell.org/package/transformers-0.5.5.0/transformers.cabal + # This is the version of transformers which ships with GHC-8.6.4 + - transformers-0.5.6.2 + # ghc-8.6.4 ships with process-1.6.5.0, not 1.6.3.0 as stackage claims. 1.6.3.0 isn't even compatible with + # base 4.12 that ghc ships. + - process-1.6.5.0 +# Override default flag values for local packages and extra-deps +# flags: {} + +# Extra package databases containing global packages +# extra-package-dbs: [] + +# Control whether we use the GHC we find on the path +# system-ghc: true +# +# Require a specific version of stack, using version ranges +# require-stack-version: -any # Default +# require-stack-version: ">=1.9" +# +# Override the architecture used by stack, especially useful on Windows +# arch: i386 +# arch: x86_64 +# +# Extra directories used by stack for building +# extra-include-dirs: [/path/to/dir] +# extra-lib-dirs: [/path/to/dir] +# +# Allow a newer minor version of GHC than the snapshot specifies +# compiler-check: newer-minor diff --git a/test/stack-simple/stack-ghc9122.yaml b/test/stack-simple/stack-ghc9122.yaml new file mode 100644 index 0000000000..f8614f8de4 --- /dev/null +++ b/test/stack-simple/stack-ghc9122.yaml @@ -0,0 +1,69 @@ +# This file was automatically generated by 'stack init' +# +# Some commonly used options have been documented as comments in this file. +# For advanced use and comprehensive documentation of the format, please see: +# https://docs.haskellstack.org/en/stable/yaml_configuration/ + +# Resolver to choose a 'specific' stackage snapshot or a compiler version. +# A snapshot resolver dictates the compiler version and the set of packages +# to be used for project dependencies. For example: +# +# resolver: lts-3.5 +# resolver: nightly-2015-09-21 +# resolver: ghc-7.10.2 +# +# The location of a snapshot can be provided as a file or url. Stack assumes +# a snapshot provided as a file might change, whereas a url resource does not. +# +# resolver: ./custom-snapshot.yaml +# resolver: https://example.com/snapshots/2018-01-01.yaml +resolver: nightly-2025-07-26 + +# User packages to be built. +# Various formats can be used as shown in the example below. +# +# packages: +# - some-directory +# - https://example.com/foo/bar/baz-0.0.2.tar.gz +# - location: +# git: https://github.com/commercialhaskell/stack.git +# commit: e7b331f14bcffb8367cd58fbfc8b40ec7642100a +# - location: https://github.com/commercialhaskell/stack/commit/e7b331f14bcffb8367cd58fbfc8b40ec7642100a +# subdirs: +# - auto-update +# - wai +packages: +- . +# Dependency packages to be pulled from upstream that are not in the resolver +# using the same syntax as the packages field. +# (e.g., acme-missiles-0.3) +extra-deps: + # Work around http://hackage.haskell.org/package/transformers-0.5.5.0/transformers.cabal + # This is the version of transformers which ships with GHC-8.6.4 + - transformers-0.5.6.2 + # ghc-8.6.4 ships with process-1.6.5.0, not 1.6.3.0 as stackage claims. 1.6.3.0 isn't even compatible with + # base 4.12 that ghc ships. + - process-1.6.5.0 +# Override default flag values for local packages and extra-deps +# flags: {} + +# Extra package databases containing global packages +# extra-package-dbs: [] + +# Control whether we use the GHC we find on the path +# system-ghc: true +# +# Require a specific version of stack, using version ranges +# require-stack-version: -any # Default +# require-stack-version: ">=1.9" +# +# Override the architecture used by stack, especially useful on Windows +# arch: i386 +# arch: x86_64 +# +# Extra directories used by stack for building +# extra-include-dirs: [/path/to/dir] +# extra-lib-dirs: [/path/to/dir] +# +# Allow a newer minor version of GHC than the snapshot specifies +# compiler-check: newer-minor diff --git a/test/stack-simple/stack-ghc984.yaml b/test/stack-simple/stack-ghc984.yaml new file mode 100644 index 0000000000..6327798808 --- /dev/null +++ b/test/stack-simple/stack-ghc984.yaml @@ -0,0 +1,69 @@ +# This file was automatically generated by 'stack init' +# +# Some commonly used options have been documented as comments in this file. +# For advanced use and comprehensive documentation of the format, please see: +# https://docs.haskellstack.org/en/stable/yaml_configuration/ + +# Resolver to choose a 'specific' stackage snapshot or a compiler version. +# A snapshot resolver dictates the compiler version and the set of packages +# to be used for project dependencies. For example: +# +# resolver: lts-3.5 +# resolver: nightly-2015-09-21 +# resolver: ghc-7.10.2 +# +# The location of a snapshot can be provided as a file or url. Stack assumes +# a snapshot provided as a file might change, whereas a url resource does not. +# +# resolver: ./custom-snapshot.yaml +# resolver: https://example.com/snapshots/2018-01-01.yaml +resolver: lts-23.7 + +# User packages to be built. +# Various formats can be used as shown in the example below. +# +# packages: +# - some-directory +# - https://example.com/foo/bar/baz-0.0.2.tar.gz +# - location: +# git: https://github.com/commercialhaskell/stack.git +# commit: e7b331f14bcffb8367cd58fbfc8b40ec7642100a +# - location: https://github.com/commercialhaskell/stack/commit/e7b331f14bcffb8367cd58fbfc8b40ec7642100a +# subdirs: +# - auto-update +# - wai +packages: +- . +# Dependency packages to be pulled from upstream that are not in the resolver +# using the same syntax as the packages field. +# (e.g., acme-missiles-0.3) +extra-deps: + # Work around http://hackage.haskell.org/package/transformers-0.5.5.0/transformers.cabal + # This is the version of transformers which ships with GHC-8.6.4 + - transformers-0.5.6.2 + # ghc-8.6.4 ships with process-1.6.5.0, not 1.6.3.0 as stackage claims. 1.6.3.0 isn't even compatible with + # base 4.12 that ghc ships. + - process-1.6.5.0 +# Override default flag values for local packages and extra-deps +# flags: {} + +# Extra package databases containing global packages +# extra-package-dbs: [] + +# Control whether we use the GHC we find on the path +# system-ghc: true +# +# Require a specific version of stack, using version ranges +# require-stack-version: -any # Default +# require-stack-version: ">=1.9" +# +# Override the architecture used by stack, especially useful on Windows +# arch: i386 +# arch: x86_64 +# +# Extra directories used by stack for building +# extra-include-dirs: [/path/to/dir] +# extra-lib-dirs: [/path/to/dir] +# +# Allow a newer minor version of GHC than the snapshot specifies +# compiler-check: newer-minor diff --git a/test/stack-simple/stack-simple.cabal b/test/stack-simple/stack-simple.cabal index e4c2c26e4c..74cb9e62d6 100644 --- a/test/stack-simple/stack-simple.cabal +++ b/test/stack-simple/stack-simple.cabal @@ -1,10 +1,10 @@ cabal-version: 1.12 --- This file has been generated from package.yaml by hpack version 0.31.1. +-- This file has been generated from package.yaml by hpack version 0.36.1. -- -- see: https://github.com/sol/hpack -- --- hash: 0df70dbda375296766e47fd09b809934bff5ee3edb5a16e93681d4cb37cef875 +-- hash: 05dd43c0f3d2b6e620434a836103dff6a38dc186400eb95a0ac4a041f42444ae name: stack-simple version: 0.1.0.0 @@ -41,11 +41,13 @@ executable stack-simple-exe Paths_stack_simple hs-source-dirs: app - ghc-options: -threaded -rtsopts -with-rtsopts=-N build-depends: base >=4.7 && <5 , stack-simple default-language: Haskell2010 + if arch(wasm32) + else + ghc-options: -threaded -rtsopts -with-rtsopts=-N test-suite stack-simple-test type: exitcode-stdio-1.0 @@ -54,8 +56,10 @@ test-suite stack-simple-test Paths_stack_simple hs-source-dirs: test - ghc-options: -threaded -rtsopts -with-rtsopts=-N build-depends: base >=4.7 && <5 , stack-simple default-language: Haskell2010 + if arch(wasm32) + else + ghc-options: -threaded -rtsopts -with-rtsopts=-N diff --git a/test/stack-simple/stack.yaml b/test/stack-simple/stack.yaml deleted file mode 100644 index cb9479b8dc..0000000000 --- a/test/stack-simple/stack.yaml +++ /dev/null @@ -1,69 +0,0 @@ -# This file was automatically generated by 'stack init' -# -# Some commonly used options have been documented as comments in this file. -# For advanced use and comprehensive documentation of the format, please see: -# https://docs.haskellstack.org/en/stable/yaml_configuration/ - -# Resolver to choose a 'specific' stackage snapshot or a compiler version. -# A snapshot resolver dictates the compiler version and the set of packages -# to be used for project dependencies. For example: -# -# resolver: lts-3.5 -# resolver: nightly-2015-09-21 -# resolver: ghc-7.10.2 -# -# The location of a snapshot can be provided as a file or url. Stack assumes -# a snapshot provided as a file might change, whereas a url resource does not. -# -# resolver: ./custom-snapshot.yaml -# resolver: https://example.com/snapshots/2018-01-01.yaml -resolver: lts-14.13 - -# User packages to be built. -# Various formats can be used as shown in the example below. -# -# packages: -# - some-directory -# - https://example.com/foo/bar/baz-0.0.2.tar.gz -# - location: -# git: https://github.com/commercialhaskell/stack.git -# commit: e7b331f14bcffb8367cd58fbfc8b40ec7642100a -# - location: https://github.com/commercialhaskell/stack/commit/e7b331f14bcffb8367cd58fbfc8b40ec7642100a -# subdirs: -# - auto-update -# - wai -packages: -- . -# Dependency packages to be pulled from upstream that are not in the resolver -# using the same syntax as the packages field. -# (e.g., acme-missiles-0.3) -extra-deps: - # Work around http://hackage.haskell.org/package/transformers-0.5.5.0/transformers.cabal - # This is the version of transformers which ships with GHC-8.6.4 - - transformers-0.5.6.2 - # ghc-8.6.4 ships with process-1.6.5.0, not 1.6.3.0 as stackage claims. 1.6.3.0 isn't even compatible with - # base 4.12 that ghc ships. - - process-1.6.5.0 -# Override default flag values for local packages and extra-deps -# flags: {} - -# Extra package databases containing global packages -# extra-package-dbs: [] - -# Control whether we use the GHC we find on the path -# system-ghc: true -# -# Require a specific version of stack, using version ranges -# require-stack-version: -any # Default -# require-stack-version: ">=1.9" -# -# Override the architecture used by stack, especially useful on Windows -# arch: i386 -# arch: x86_64 -# -# Extra directories used by stack for building -# extra-include-dirs: [/path/to/dir] -# extra-lib-dirs: [/path/to/dir] -# -# Allow a newer minor version of GHC than the snapshot specifies -# compiler-check: newer-minor diff --git a/test/stack-source-repo/default.nix b/test/stack-source-repo/default.nix index 795fd99adf..f6ace1c6f0 100644 --- a/test/stack-source-repo/default.nix +++ b/test/stack-source-repo/default.nix @@ -1,4 +1,4 @@ -{ stackProject', recurseIntoAttrs, testSrc, compiler-nix-name, evalPackages }: +{ stdenv, stackProject', recurseIntoAttrs, testSrc, compiler-nix-name, evalPackages }: let project = stackProject' { @@ -8,7 +8,7 @@ let packages = project.hsPkgs; in recurseIntoAttrs { - meta.disabled = compiler-nix-name != "ghc865"; + meta.disabled = compiler-nix-name != "ghc984" || stdenv.hostPlatform.isGhcjs; ifdInputs = { inherit (project) stack-nix; }; diff --git a/test/stack-source-repo/stack.yaml b/test/stack-source-repo/stack.yaml index 4039658458..4529f5d8f5 100644 --- a/test/stack-source-repo/stack.yaml +++ b/test/stack-source-repo/stack.yaml @@ -1,4 +1,4 @@ -resolver: lts-14.13 +resolver: lts-23.7 packages: - . diff --git a/test/sublib-docs/default.nix b/test/sublib-docs/default.nix index 640141f8fd..e106dc1da2 100644 --- a/test/sublib-docs/default.nix +++ b/test/sublib-docs/default.nix @@ -14,7 +14,7 @@ let in recurseIntoAttrs { # Haddock is not included with cross compilers currently - meta.disabled = haskellLib.isCrossHost; + meta.disabled = haskellLib.isCrossHost || stdenv.hostPlatform.isStatic; ifdInputs = { inherit (project) plan-nix; }; @@ -43,7 +43,7 @@ in recurseIntoAttrs { printf "check that it looks like we have docs..." >& 2 test -f "${packages.sublib-docs.components.library.doc}/share/doc/sublib-docs/html/Lib.html" - test -f "${packages.sublib-docs.components.sublibs.slib.doc}/share/doc/sublib-docs/html/Slib.html" + test -f "${packages.sublib-docs.components.sublibs.slib.doc}/share/doc/sublib-docs/html/slib/Slib.html" touch $out ''; diff --git a/test/supported-langauges/default.nix b/test/supported-langauges/default.nix index d0f28c16c1..cb1b31d834 100644 --- a/test/supported-langauges/default.nix +++ b/test/supported-langauges/default.nix @@ -1,7 +1,7 @@ { stdenv, pkgs, lib, recurseIntoAttrs, testSrc, compiler-nix-name, evalPackages, buildPackages }: let - ghc = buildPackages.haskell-nix.compiler.${compiler-nix-name}; + ghc = buildPackages.haskell-nix.compiler.${compiler-nix-name}.override { ghcEvalPackages = evalPackages; }; supported-langauges = import ../../lib/supported-languages.nix { inherit pkgs evalPackages ghc; diff --git a/test/tests.sh b/test/tests.sh index 41480f0575..9e525432eb 100755 --- a/test/tests.sh +++ b/test/tests.sh @@ -1,5 +1,5 @@ #! /usr/bin/env nix-shell -#! nix-shell -I "nixpkgs=channel:nixos-22.11" -i bash -p bash jq nix gnused +#! nix-shell -I "nixpkgs=channel:nixos-24.11" -i bash -p bash jq nix gnused set -euo pipefail @@ -107,7 +107,7 @@ fi # These tests still use manually generated `pkgs`. They were left that way # so that we would still be testing that workflow. -SHELL_FOR_GHC="ghc8107" +SHELL_FOR_GHC="ghc967" if [ "$TESTS" == "shellFor-single-package" ] || [ "$TESTS" == "all" ]; then printf "*** Checking shellFor works for a cabal project, multiple packages...\n" >& 2 nix-shell $NIX_BUILD_ARGS \ diff --git a/test/th-dlls-minimal/default.nix b/test/th-dlls-minimal/default.nix index 0e6ccb3be7..43837f7ef1 100644 --- a/test/th-dlls-minimal/default.nix +++ b/test/th-dlls-minimal/default.nix @@ -32,7 +32,10 @@ let in recurseIntoAttrs { # This test is just for windows currently (the full th-dlls test runs on other platforms) - meta.disabled = !stdenv.hostPlatform.isWindows; + meta.disabled = !stdenv.hostPlatform.isWindows + # Disable for now (CI machines currently hang without timing out) + || stdenv.hostPlatform.isWindows + ; ifdInputs = { inherit (project true) plan-nix; diff --git a/test/th-dlls/default.nix b/test/th-dlls/default.nix index db8816a362..f4d90c9b3c 100644 --- a/test/th-dlls/default.nix +++ b/test/th-dlls/default.nix @@ -7,23 +7,46 @@ let project = externalInterpreter: project' { inherit compiler-nix-name evalPackages; src = testSrc "th-dlls"; - cabalProjectLocal = builtins.readFile ../cabal.project.local; - modules = [({pkgs, ...}: lib.optionalAttrs externalInterpreter { + # TODO figure out why TH breaks with pkgsStatic for `libsodium` and `HsOpenSSL` + # `libsodium` fails with the unhandled ELF relocation(RelA) type 23 + # `HsOpenSSL` segfaults in ghcizm9zi12zi2zminplace_GHCiziObjLink_resolveObjs1_info + cabalProjectLocal = lib.optionalString stdenv.hostPlatform.isStatic '' + package th-dlls + flags: -libsodium -openssl + ''; + modules = import ../modules.nix ++ [({pkgs, ...}: lib.optionalAttrs externalInterpreter { packages.th-dlls.components.library.ghcOptions = [ "-fexternal-interpreter" ]; # Static openssl seems to fail to load in iserv for musl packages.HsOpenSSL.components.library.libs = lib.optional pkgs.stdenv.hostPlatform.isMusl (pkgs.openssl.override { static = false; }); })]; + shell.nativeBuildInputs = [ buildPackages.haskell-nix.nix-tools-unchecked.exes.cabal ]; }; packages = (project false).hsPkgs; packages-ei = (project true).hsPkgs; in recurseIntoAttrs { - meta.disabled = stdenv.hostPlatform.isGhcjs - # On aarch64 this test also breaks form musl builds (including cross compiles on x86_64-linux) - || (stdenv.hostPlatform.isAarch64 && stdenv.hostPlatform.isMusl) + meta.disabled = stdenv.hostPlatform.isGhcjs || stdenv.hostPlatform.isWasm + # On aarch64 this test breaks form musl cross compiles on x86_64-linux + # Error is: + # iserv-proxy-interpreter: internal error: 0x0 address for .LANCHOR1 + 0 of type 562 + # in tmp/nix/store/kgprix3jn2w320flxpf7yr29f7dczykr-libsodium-aarch64-unknown-linux-musl-1.0.18/lib/libsodium.a + # (#103:librdrand_la-randombytes_internal_random.o) for relocation 4 in section 1 of kind: 0 + || (stdenv.hostPlatform.isAarch64 && stdenv.hostPlatform.isMusl && !stdenv.buildPlatform.isAarch64) + # Not sure why this is failing with a seg fault + || (builtins.elem compiler-nix-name ["ghc9102" "ghc9102llvm"] && stdenv.hostPlatform.isAndroid && stdenv.hostPlatform.isAarch32) + # unhandled ELF relocation(Rel) type 10 + || (stdenv.hostPlatform.isMusl && stdenv.hostPlatform.isx86_32) + + ## Old GHC versions (TODO remove) # Failed to lookup symbol: __aarch64_swp8_acq_rel || (builtins.elem compiler-nix-name ["ghc947" "ghc948"] && haskellLib.isCrossHost && stdenv.hostPlatform.isAarch64) + # We have been unable to get windows cross compilation of th-orphans to work for GHC 8.10 using the latest nixpkgs + || (compiler-nix-name == "ghc8107" && stdenv.hostPlatform.isWindows) + + # Disable for now (CI machines currently hang without timing out) + || stdenv.hostPlatform.isWindows || stdenv.hostPlatform.isAndroid + || (stdenv.buildPlatform.isx86_64 && stdenv.hostPlatform.isAarch64) ; ifdInputs = { @@ -31,9 +54,20 @@ in recurseIntoAttrs { }; build = packages.th-dlls.components.library; - build-profiled = packages.th-dlls.components.library.profiled; - just-template-haskell = packages.th-dlls.components.exes.just-template-haskell; + just-template-haskell = haskellLib.check packages.th-dlls.components.exes.just-template-haskell; build-ei = packages-ei.th-dlls.components.library; + just-template-haskell-ei = haskellLib.check packages-ei.th-dlls.components.exes.just-template-haskell; +} // optionalAttrs + (!(builtins.elem compiler-nix-name ["ghc984" "ghc9122" "ghc9122llvm" "ghc91320250523"] && stdenv.buildPlatform.isx86_64 && stdenv.hostPlatform.isAarch64 + # The dependency on `math-functions` somehow breaks GHC 9.6.7 musl profiled builds (only with the external interpreter though) + || (compiler-nix-name == "ghc967" && stdenv.hostPlatform.isMusl && stdenv.hostPlatform.isx86_64))) { + # On for aarch64 cross compile on GHC this test is fails sometimes for non profiled builds + # (and always for the profiled builds). + # This may be related to the memory allocation changes made in 9.8.4 that + # replace the pool allocator patches we used in earlier versions. + + # Interestingly GHC 9.10.1 and HEAD are wotking while 9.8.4 and 9.12 seem break. + # Perhaps there is a fix in GHC HEAD? + build-profiled = packages.th-dlls.components.library.profiled; build-profiled-ei = packages-ei.th-dlls.components.library.profiled; - just-template-haskell-ei = packages-ei.th-dlls.components.exes.just-template-haskell; } diff --git a/test/th-dlls/src/Lib.hs b/test/th-dlls/src/Lib.hs index 242532ba0d..f4903d4306 100644 --- a/test/th-dlls/src/Lib.hs +++ b/test/th-dlls/src/Lib.hs @@ -1,14 +1,30 @@ +{-# LANGUAGE CPP #-} {-# LANGUAGE TemplateHaskell #-} module Lib where import Control.Monad.IO.Class (liftIO) +import Language.Haskell.TH.Syntax (Exp(..), Lit(..)) +import Data.Text as T + +#ifdef MIN_VERSION_HsOpenSSL import OpenSSL (withOpenSSL) import OpenSSL.BN (withBN) +#endif + +#ifdef MIN_VERSION_libsodium import Libsodium (sodium_init) -import Language.Haskell.TH.Syntax (Exp(..), Lit(..)) -import Data.Text as T +#endif + +#ifdef MIN_VERSION_double_conversion import Data.Double.Conversion.Text (toShortest) +#endif +#ifdef MIN_VERSION_HsOpenSSL x = $(liftIO (withOpenSSL (withBN 0 (\_ -> return (LitE (IntegerL 0)))))) +#endif +#ifdef MIN_VERSION_libsodium y = $(liftIO (sodium_init >> return (LitE (IntegerL 0)))) +#endif +#ifdef MIN_VERSION_double_conversion z = $(liftIO (return (LitE (IntegerL (fromIntegral (T.length (toShortest 1.0))))))) +#endif diff --git a/test/th-dlls/th-dlls.cabal b/test/th-dlls/th-dlls.cabal index c0ab360a32..cebce44b5b 100644 --- a/test/th-dlls/th-dlls.cabal +++ b/test/th-dlls/th-dlls.cabal @@ -6,14 +6,37 @@ author: Hamish Mackenzie maintainer: Hamish.K.Mackenzie@gmail.com build-type: Simple +flag libsodium + description: Enable libsodium support + default: True + manual: True + +flag openssl + description: Enable OpenSSL support + default: True + manual: True + +flag double-conversion + description: Enable double-conversion support + default: True + manual: True + library - build-depends: base - , HsOpenSSL - , libsodium - , template-haskell - , text - , double-conversion - , unix-time + build-depends: + base + , template-haskell + , text + , unix-time + , th-orphans + , ghc-prim + , math-functions + , erf + if flag(openssl) + build-depends: HsOpenSSL + if flag(libsodium) + build-depends: libsodium + if flag(double-conversion) + build-depends: double-conversion exposed-modules: Lib hs-source-dirs: src default-language: Haskell2010