diff --git a/pkgs/development/haskell-modules/configuration-nix.nix b/pkgs/development/haskell-modules/configuration-nix.nix index 87c0b23de5998..0484220e09e5b 100644 --- a/pkgs/development/haskell-modules/configuration-nix.nix +++ b/pkgs/development/haskell-modules/configuration-nix.nix @@ -1647,7 +1647,7 @@ builtins.intersectAttrs super { overrideCabal (old: { passthru = old.passthru or { } // { - nixPackage = pkgs.nixVersions.nix_2_28; + nixPackage = pkgs.nixVersions.nix_2_31; }; }) ( diff --git a/pkgs/development/haskell-modules/replacements-by-name/cabal-pkg-config-version-hook.nix b/pkgs/development/haskell-modules/replacements-by-name/cabal-pkg-config-version-hook.nix new file mode 100644 index 0000000000000..0381063b16893 --- /dev/null +++ b/pkgs/development/haskell-modules/replacements-by-name/cabal-pkg-config-version-hook.nix @@ -0,0 +1,24 @@ +{ + mkDerivation, + base, + Cabal, + containers, + lens, + lib, + process, +}: +mkDerivation { + pname = "cabal-pkg-config-version-hook"; + version = "0.1.1.0"; + sha256 = "18l87dcq2854vqchg21bvv85sdm4126nbk8sj9ilr5819qslk26f"; + libraryHaskellDepends = [ + base + Cabal + containers + lens + process + ]; + homepage = "https://github.com/hercules-ci/hercules-ci-agent/tree/master/cabal-pkg-config-version-hook#readme"; + description = "Make Cabal aware of pkg-config package versions"; + license = lib.licensesSpdx."BSD-3-Clause"; +} diff --git a/pkgs/development/haskell-modules/replacements-by-name/hercules-ci-agent.nix b/pkgs/development/haskell-modules/replacements-by-name/hercules-ci-agent.nix new file mode 100644 index 0000000000000..ff02b6fb32d22 --- /dev/null +++ b/pkgs/development/haskell-modules/replacements-by-name/hercules-ci-agent.nix @@ -0,0 +1,255 @@ +{ + mkDerivation, + aeson, + async, + attoparsec, + base, + base64-bytestring, + bifunctors, + binary, + binary-conduit, + boost, + bytestring, + Cabal, + cabal-pkg-config-version-hook, + cachix, + cachix-api, + conduit, + conduit-extra, + containers, + directory, + dlist, + exceptions, + file-embed, + filepath, + hercules-ci-api, + hercules-ci-api-agent, + hercules-ci-api-core, + hercules-ci-cnix-expr, + hercules-ci-cnix-store, + hostname, + hspec, + hspec-discover, + http-client, + http-client-tls, + http-conduit, + HUnit, + inline-c, + inline-c-cpp, + katip, + lens, + lens-aeson, + lib, + lifted-async, + lifted-base, + monad-control, + mtl, + network, + network-uri, + nix, + optparse-applicative, + process, + process-extras, + profunctors, + protolude, + QuickCheck, + safe-exceptions, + scientific, + servant, + servant-auth-client, + servant-client, + servant-client-core, + stm, + tagged, + temporary, + text, + time, + tls, + tomland, + transformers, + transformers-base, + unbounded-delays, + unix, + unliftio, + unliftio-core, + unordered-containers, + uuid, + vector, + websockets, + wuss, +}: +mkDerivation { + pname = "hercules-ci-agent"; + version = "0.10.8"; + sha256 = "0f8d5xfix0bsxdvanf6zn1l2qs80aivva86qf3j1clfr2dny4g59"; + isLibrary = true; + isExecutable = true; + setupHaskellDepends = [ + base + Cabal + cabal-pkg-config-version-hook + ]; + libraryHaskellDepends = [ + aeson + async + base + binary + binary-conduit + bytestring + conduit + containers + directory + dlist + exceptions + file-embed + filepath + hercules-ci-api-agent + hercules-ci-api-core + hercules-ci-cnix-expr + hercules-ci-cnix-store + katip + lens + lens-aeson + lifted-async + lifted-base + monad-control + mtl + network + network-uri + process + process-extras + protolude + safe-exceptions + stm + tagged + temporary + text + time + tls + transformers + transformers-base + unbounded-delays + unix + unliftio + unliftio-core + uuid + vector + websockets + wuss + ]; + executableHaskellDepends = [ + aeson + async + attoparsec + base + base64-bytestring + bifunctors + binary + binary-conduit + bytestring + cachix + cachix-api + conduit + conduit-extra + containers + directory + dlist + exceptions + filepath + hercules-ci-api + hercules-ci-api-agent + hercules-ci-api-core + hercules-ci-cnix-expr + hercules-ci-cnix-store + hostname + http-client + http-client-tls + http-conduit + inline-c + inline-c-cpp + katip + lens + lens-aeson + lifted-async + lifted-base + monad-control + mtl + network + network-uri + optparse-applicative + process + process-extras + profunctors + protolude + safe-exceptions + scientific + servant + servant-auth-client + servant-client + servant-client-core + stm + temporary + text + time + tomland + transformers + transformers-base + unix + unliftio + unliftio-core + unordered-containers + uuid + vector + websockets + wuss + ]; + executableSystemDepends = [ boost ]; + executablePkgconfigDepends = [ nix ]; + testHaskellDepends = [ + aeson + async + attoparsec + base + bifunctors + binary + binary-conduit + bytestring + conduit + containers + exceptions + filepath + hercules-ci-api-agent + hercules-ci-api-core + hercules-ci-cnix-store + hspec + HUnit + katip + lens + lens-aeson + lifted-async + lifted-base + monad-control + mtl + process + profunctors + protolude + QuickCheck + safe-exceptions + scientific + stm + tagged + temporary + text + tomland + transformers + transformers-base + unliftio-core + unordered-containers + uuid + vector + ]; + testToolDepends = [ hspec-discover ]; + homepage = "https://docs.hercules-ci.com"; + description = "Runs Continuous Integration tasks on your machines"; + license = lib.licensesSpdx."Apache-2.0"; +} diff --git a/pkgs/development/haskell-modules/replacements-by-name/hercules-ci-cli.nix b/pkgs/development/haskell-modules/replacements-by-name/hercules-ci-cli.nix new file mode 100644 index 0000000000000..e06ec7fbfc1e2 --- /dev/null +++ b/pkgs/development/haskell-modules/replacements-by-name/hercules-ci-cli.nix @@ -0,0 +1,132 @@ +{ + mkDerivation, + aeson, + aeson-pretty, + async, + atomic-write, + attoparsec, + base, + bytestring, + conduit, + containers, + data-has, + directory, + exceptions, + filepath, + hercules-ci-agent, + hercules-ci-api, + hercules-ci-api-agent, + hercules-ci-api-core, + hercules-ci-cnix-expr, + hercules-ci-cnix-store, + hercules-ci-optparse-applicative, + hostname, + hspec, + http-client, + http-client-tls, + http-types, + inline-c-cpp, + katip, + lens, + lens-aeson, + lib, + lifted-base, + monad-control, + network-uri, + process, + protolude, + QuickCheck, + retry, + rio, + safe-exceptions, + servant, + servant-auth-client, + servant-client, + servant-client-core, + servant-conduit, + temporary, + text, + tls, + transformers, + transformers-base, + unix, + unliftio, + unliftio-core, + unordered-containers, + uuid, +}: +mkDerivation { + pname = "hercules-ci-cli"; + version = "0.3.9"; + sha256 = "091j83ac4byr6vbmd0wq1b86p23d1z7sn5ls6w24l72dp8fvfjjp"; + isLibrary = true; + isExecutable = true; + libraryHaskellDepends = [ + aeson + aeson-pretty + async + atomic-write + attoparsec + base + bytestring + conduit + containers + data-has + directory + exceptions + filepath + hercules-ci-agent + hercules-ci-api + hercules-ci-api-agent + hercules-ci-api-core + hercules-ci-cnix-expr + hercules-ci-cnix-store + hercules-ci-optparse-applicative + hostname + http-client + http-client-tls + http-types + inline-c-cpp + katip + lens + lens-aeson + lifted-base + monad-control + network-uri + process + protolude + retry + rio + safe-exceptions + servant + servant-auth-client + servant-client + servant-client-core + servant-conduit + temporary + text + tls + transformers + transformers-base + unix + unliftio + unliftio-core + unordered-containers + uuid + ]; + executableHaskellDepends = [ base ]; + testHaskellDepends = [ + aeson + base + bytestring + containers + hspec + protolude + QuickCheck + unordered-containers + ]; + homepage = "https://docs.hercules-ci.com"; + description = "The hci command for working with Hercules CI"; + license = lib.licenses.asl20; + mainProgram = "hci"; +} diff --git a/pkgs/development/haskell-modules/replacements-by-name/hercules-ci-cnix-expr.nix b/pkgs/development/haskell-modules/replacements-by-name/hercules-ci-cnix-expr.nix new file mode 100644 index 0000000000000..90ad7e7240a56 --- /dev/null +++ b/pkgs/development/haskell-modules/replacements-by-name/hercules-ci-cnix-expr.nix @@ -0,0 +1,82 @@ +{ + mkDerivation, + aeson, + base, + boost, + bytestring, + Cabal, + cabal-pkg-config-version-hook, + conduit, + containers, + directory, + exceptions, + filepath, + hercules-ci-cnix-store, + hspec, + hspec-discover, + inline-c, + inline-c-cpp, + lib, + nix, + process, + protolude, + QuickCheck, + scientific, + temporary, + text, + unliftio, + unordered-containers, + vector, +}: +mkDerivation { + pname = "hercules-ci-cnix-expr"; + version = "0.5.1.0"; + sha256 = "01m6l915yy3v6qpc53xq48kp3mi39bclsjdwswvgwvp9z9hjvg0p"; + setupHaskellDepends = [ + base + Cabal + cabal-pkg-config-version-hook + ]; + libraryHaskellDepends = [ + aeson + base + bytestring + conduit + containers + directory + exceptions + filepath + hercules-ci-cnix-store + inline-c + inline-c-cpp + protolude + scientific + text + unliftio + unordered-containers + vector + ]; + librarySystemDepends = [ boost ]; + libraryPkgconfigDepends = [ nix ]; + testHaskellDepends = [ + aeson + base + bytestring + containers + filepath + hercules-ci-cnix-store + hspec + process + protolude + QuickCheck + scientific + temporary + text + unordered-containers + vector + ]; + testToolDepends = [ hspec-discover ]; + homepage = "https://docs.hercules-ci.com"; + description = "Bindings for the Nix evaluator"; + license = lib.licensesSpdx."Apache-2.0"; +} diff --git a/pkgs/development/haskell-modules/replacements-by-name/hercules-ci-cnix-store.nix b/pkgs/development/haskell-modules/replacements-by-name/hercules-ci-cnix-store.nix new file mode 100644 index 0000000000000..7fd0763154ea2 --- /dev/null +++ b/pkgs/development/haskell-modules/replacements-by-name/hercules-ci-cnix-store.nix @@ -0,0 +1,65 @@ +{ + mkDerivation, + base, + boost, + bytestring, + Cabal, + cabal-pkg-config-version-hook, + conduit, + containers, + exceptions, + hspec, + hspec-discover, + inline-c, + inline-c-cpp, + lib, + nix, + protolude, + template-haskell, + temporary, + text, + unix, + unliftio-core, + vector, +}: +mkDerivation { + pname = "hercules-ci-cnix-store"; + version = "0.4.1.0"; + sha256 = "0jy7p69jhv81rg8xikd7smgpg3vwccjzly3k8hs7ipdp2mprwffc"; + setupHaskellDepends = [ + base + Cabal + cabal-pkg-config-version-hook + ]; + libraryHaskellDepends = [ + base + bytestring + conduit + containers + inline-c + inline-c-cpp + protolude + template-haskell + unix + unliftio-core + vector + ]; + librarySystemDepends = [ boost ]; + libraryPkgconfigDepends = [ nix ]; + testHaskellDepends = [ + base + bytestring + containers + exceptions + hspec + inline-c + inline-c-cpp + protolude + temporary + text + ]; + testToolDepends = [ hspec-discover ]; + homepage = "https://docs.hercules-ci.com"; + description = "Haskell bindings for Nix's libstore"; + license = lib.licensesSpdx."Apache-2.0"; +}