Skip to content

Commit

Permalink
Automatic Update
Browse files Browse the repository at this point in the history
  • Loading branch information
IOHK committed Jul 30, 2024
1 parent f010266 commit fd504f8
Show file tree
Hide file tree
Showing 40 changed files with 1,458 additions and 0 deletions.
1 change: 1 addition & 0 deletions default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -7462,6 +7462,7 @@ with builtins; mapAttrs (_: mapAttrs (_: data: rec {
"haskell-src-meta" = import ./nix/haskell-src-meta.nix;
"haskell-src-meta-mwotton" = import ./nix/haskell-src-meta-mwotton.nix;
"haskell-stack-trace-plugin" = import ./nix/haskell-stack-trace-plugin.nix;
"haskell-throttle" = import ./nix/haskell-throttle.nix;
"haskell-time-range" = import ./nix/haskell-time-range.nix;
"haskell-to-elm" = import ./nix/haskell-to-elm.nix;
"haskell-token-utils" = import ./nix/haskell-token-utils.nix;
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
{ system
, compiler
, flags
, pkgs
, hsPkgs
, pkgconfPkgs
, errorHandler
, config
, ... }:
{
flags = {};
package = {
specVersion = "1.12";
identifier = { name = "autodocodec-openapi3"; version = "0.2.1.4"; };
license = "MIT";
copyright = "2021-2022 Tom Sydney Kerckhove";
maintainer = "[email protected]";
author = "Tom Sydney Kerckhove";
homepage = "https://github.com/NorfairKing/autodocodec#readme";
url = "";
synopsis = "Autodocodec interpreters for openapi3";
description = "";
buildType = "Simple";
};
components = {
"library" = {
depends = [
(hsPkgs."aeson" or (errorHandler.buildDepError "aeson"))
(hsPkgs."autodocodec" or (errorHandler.buildDepError "autodocodec"))
(hsPkgs."base" or (errorHandler.buildDepError "base"))
(hsPkgs."insert-ordered-containers" or (errorHandler.buildDepError "insert-ordered-containers"))
(hsPkgs."lens" or (errorHandler.buildDepError "lens"))
(hsPkgs."mtl" or (errorHandler.buildDepError "mtl"))
(hsPkgs."openapi3" or (errorHandler.buildDepError "openapi3"))
(hsPkgs."scientific" or (errorHandler.buildDepError "scientific"))
(hsPkgs."text" or (errorHandler.buildDepError "text"))
(hsPkgs."unordered-containers" or (errorHandler.buildDepError "unordered-containers"))
];
buildable = true;
};
};
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
{ system
, compiler
, flags
, pkgs
, hsPkgs
, pkgconfPkgs
, errorHandler
, config
, ... }:
{
flags = {};
package = {
specVersion = "1.12";
identifier = { name = "autodocodec-swagger2"; version = "0.0.1.4"; };
license = "MIT";
copyright = "2021 Tom Sydney Kerckhove";
maintainer = "[email protected]";
author = "Tom Sydney Kerckhove";
homepage = "https://github.com/NorfairKing/autodocodec#readme";
url = "";
synopsis = "Autodocodec interpreters for swagger2";
description = "";
buildType = "Simple";
};
components = {
"library" = {
depends = [
(hsPkgs."aeson" or (errorHandler.buildDepError "aeson"))
(hsPkgs."autodocodec" or (errorHandler.buildDepError "autodocodec"))
(hsPkgs."base" or (errorHandler.buildDepError "base"))
(hsPkgs."insert-ordered-containers" or (errorHandler.buildDepError "insert-ordered-containers"))
(hsPkgs."scientific" or (errorHandler.buildDepError "scientific"))
(hsPkgs."swagger2" or (errorHandler.buildDepError "swagger2"))
(hsPkgs."text" or (errorHandler.buildDepError "text"))
(hsPkgs."unordered-containers" or (errorHandler.buildDepError "unordered-containers"))
];
buildable = true;
};
};
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
{ system
, compiler
, flags
, pkgs
, hsPkgs
, pkgconfPkgs
, errorHandler
, config
, ... }:
{
flags = {};
package = {
specVersion = "1.12";
identifier = { name = "autodocodec-swagger2"; version = "0.1.0.0"; };
license = "MIT";
copyright = "2021 Tom Sydney Kerckhove";
maintainer = "[email protected]";
author = "Tom Sydney Kerckhove";
homepage = "https://github.com/NorfairKing/autodocodec#readme";
url = "";
synopsis = "Autodocodec interpreters for swagger2";
description = "";
buildType = "Simple";
};
components = {
"library" = {
depends = [
(hsPkgs."aeson" or (errorHandler.buildDepError "aeson"))
(hsPkgs."autodocodec" or (errorHandler.buildDepError "autodocodec"))
(hsPkgs."base" or (errorHandler.buildDepError "base"))
(hsPkgs."insert-ordered-containers" or (errorHandler.buildDepError "insert-ordered-containers"))
(hsPkgs."scientific" or (errorHandler.buildDepError "scientific"))
(hsPkgs."swagger2" or (errorHandler.buildDepError "swagger2"))
(hsPkgs."text" or (errorHandler.buildDepError "text"))
(hsPkgs."unordered-containers" or (errorHandler.buildDepError "unordered-containers"))
];
buildable = true;
};
};
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@
{ system
, compiler
, flags
, pkgs
, hsPkgs
, pkgconfPkgs
, errorHandler
, config
, ... }:
{
flags = {};
package = {
specVersion = "3.0";
identifier = { name = "chart-svg"; version = "0.6.1.0"; };
license = "BSD-3-Clause";
copyright = "Tony Day (c) 2017";
maintainer = "[email protected]";
author = "Tony Day";
homepage = "https://github.com/tonyday567/chart-svg#readme";
url = "";
synopsis = "Charting library targetting SVGs.";
description = "This package provides a charting library targetting SVG as the rendered output.\n\n== Usage\n\n>>> :set -XOverloadedLabels\n>>> :set -XOverloadedStrings\n>>> import Chart\n>>> import Optics.Core\n>>> let lines = [[Point 0.0 1.0, Point 1.0 1.0, Point 2.0 5.0],[Point 0.0 0.0, Point 2.8 3.0],[Point 0.5 4.0, Point 0.5 0]]\n>>> let styles = (\\c -> defaultLineStyle & set #color (palette c) & set #size 0.015) <$> [0..2]\n>>> let cs = zipWith (\\s x -> LineChart s [x]) styles lines\n>>> let lineExample = mempty & set #chartTree (named \"line\" cs) & set #hudOptions defaultHudOptions :: ChartOptions\n>>> writeChartOptions \"other/usage.svg\" lineExample\n\n![usage example](docs/other/usage.svg)\n\nSee \"Chart\" for concept design notes, and \"Chart.Examples\" for practical usage.";
buildType = "Simple";
};
components = {
"library" = {
depends = [
(hsPkgs."Color" or (errorHandler.buildDepError "Color"))
(hsPkgs."adjunctions" or (errorHandler.buildDepError "adjunctions"))
(hsPkgs."attoparsec" or (errorHandler.buildDepError "attoparsec"))
(hsPkgs."base" or (errorHandler.buildDepError "base"))
(hsPkgs."bytestring" or (errorHandler.buildDepError "bytestring"))
(hsPkgs."containers" or (errorHandler.buildDepError "containers"))
(hsPkgs."cubicbezier" or (errorHandler.buildDepError "cubicbezier"))
(hsPkgs."flatparse" or (errorHandler.buildDepError "flatparse"))
(hsPkgs."foldl" or (errorHandler.buildDepError "foldl"))
(hsPkgs."formatn" or (errorHandler.buildDepError "formatn"))
(hsPkgs."markup-parse" or (errorHandler.buildDepError "markup-parse"))
(hsPkgs."mtl" or (errorHandler.buildDepError "mtl"))
(hsPkgs."numhask" or (errorHandler.buildDepError "numhask"))
(hsPkgs."numhask-array" or (errorHandler.buildDepError "numhask-array"))
(hsPkgs."numhask-space" or (errorHandler.buildDepError "numhask-space"))
(hsPkgs."optics-core" or (errorHandler.buildDepError "optics-core"))
(hsPkgs."random" or (errorHandler.buildDepError "random"))
(hsPkgs."string-interpolate" or (errorHandler.buildDepError "string-interpolate"))
(hsPkgs."text" or (errorHandler.buildDepError "text"))
(hsPkgs."time" or (errorHandler.buildDepError "time"))
];
buildable = true;
};
tests = {
"doctests" = {
depends = [
(hsPkgs."base" or (errorHandler.buildDepError "base"))
(hsPkgs."chart-svg" or (errorHandler.buildDepError "chart-svg"))
(hsPkgs."doctest-parallel" or (errorHandler.buildDepError "doctest-parallel"))
];
buildable = true;
};
};
};
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
{ system
, compiler
, flags
, pkgs
, hsPkgs
, pkgconfPkgs
, errorHandler
, config
, ... }:
{
flags = {};
package = {
specVersion = "1.18";
identifier = { name = "filepath-bytestring"; version = "1.4.100.3.1"; };
license = "BSD-3-Clause";
copyright = "Neil Mitchell 2005-2019\nJoey Hess 2019-2021";
maintainer = "Joey Hess <[email protected]>";
author = "Neil Mitchell <[email protected]>";
homepage = "";
url = "";
synopsis = "Library for manipulating RawFilePaths in a cross platform way.";
description = "This package provides functionality for manipulating @RawFilePath@\nvalues. It can be used as a drop in replacement for the filepath library\nto get the benefits of using ByteStrings. It provides three modules:\n\n* \"System.FilePath.Posix.ByteString\" manipulates POSIX\\/Linux style @RawFilePath@ values (with @\\/@ as the path separator).\n\n* \"System.FilePath.Windows.ByteString\" manipulates Windows style @RawFilePath@ values (with either @\\\\@ or @\\/@ as the path separator, and deals with drives).\n\n* \"System.FilePath.ByteString\" is an alias for the module appropriate to your platform.\n\nAll three modules provide the same API, and the same documentation (calling out differences in the different variants).\n\nThis package is now deprecated, since filepath 1.4.100.0 provides an\nOsPath type that is based on a bytestring. See\nhttps://hasufell.github.io/posts/2022-06-29-fixing-haskell-filepaths.html";
buildType = "Simple";
};
components = {
"library" = {
depends = [
(hsPkgs."base" or (errorHandler.buildDepError "base"))
(hsPkgs."bytestring" or (errorHandler.buildDepError "bytestring"))
] ++ (if system.isWindows
then [
(hsPkgs."utf8-string" or (errorHandler.buildDepError "utf8-string"))
]
else [ (hsPkgs."unix" or (errorHandler.buildDepError "unix")) ]);
buildable = true;
};
tests = {
"filepath-tests" = {
depends = [
(hsPkgs."filepath-bytestring" or (errorHandler.buildDepError "filepath-bytestring"))
(hsPkgs."base" or (errorHandler.buildDepError "base"))
(hsPkgs."bytestring" or (errorHandler.buildDepError "bytestring"))
(hsPkgs."QuickCheck" or (errorHandler.buildDepError "QuickCheck"))
(hsPkgs."filepath" or (errorHandler.buildDepError "filepath"))
];
buildable = true;
};
};
benchmarks = {
"filepath-bench" = {
depends = [
(hsPkgs."base" or (errorHandler.buildDepError "base"))
(hsPkgs."criterion" or (errorHandler.buildDepError "criterion"))
(hsPkgs."filepath-bytestring" or (errorHandler.buildDepError "filepath-bytestring"))
(hsPkgs."filepath" or (errorHandler.buildDepError "filepath"))
];
buildable = true;
};
};
};
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
{ system
, compiler
, flags
, pkgs
, hsPkgs
, pkgconfPkgs
, errorHandler
, config
, ... }:
{
flags = {};
package = {
specVersion = "1.18";
identifier = { name = "filepath-bytestring"; version = "1.4.100.3.2"; };
license = "BSD-3-Clause";
copyright = "Neil Mitchell 2005-2019\nJoey Hess 2019-2021";
maintainer = "Joey Hess <[email protected]>";
author = "Neil Mitchell <[email protected]>";
homepage = "";
url = "";
synopsis = "Library for manipulating RawFilePaths in a cross platform way.";
description = "This package provides functionality for manipulating @RawFilePath@\nvalues. It can be used as a drop in replacement for the filepath library\nto get the benefits of using ByteStrings. It provides three modules:\n\n* \"System.FilePath.Posix.ByteString\" manipulates POSIX\\/Linux style @RawFilePath@ values (with @\\/@ as the path separator).\n\n* \"System.FilePath.Windows.ByteString\" manipulates Windows style @RawFilePath@ values (with either @\\\\@ or @\\/@ as the path separator, and deals with drives).\n\n* \"System.FilePath.ByteString\" is an alias for the module appropriate to your platform.\n\nAll three modules provide the same API, and the same documentation (calling out differences in the different variants).\n\nThis package is now deprecated, since filepath 1.4.100.0 provides an\nOsPath type that is based on a bytestring. See\nhttps://hasufell.github.io/posts/2022-06-29-fixing-haskell-filepaths.html";
buildType = "Simple";
};
components = {
"library" = {
depends = [
(hsPkgs."base" or (errorHandler.buildDepError "base"))
(hsPkgs."bytestring" or (errorHandler.buildDepError "bytestring"))
] ++ (if system.isWindows
then [
(hsPkgs."utf8-string" or (errorHandler.buildDepError "utf8-string"))
]
else [ (hsPkgs."unix" or (errorHandler.buildDepError "unix")) ]);
buildable = true;
};
tests = {
"filepath-tests" = {
depends = [
(hsPkgs."filepath-bytestring" or (errorHandler.buildDepError "filepath-bytestring"))
(hsPkgs."base" or (errorHandler.buildDepError "base"))
(hsPkgs."bytestring" or (errorHandler.buildDepError "bytestring"))
(hsPkgs."QuickCheck" or (errorHandler.buildDepError "QuickCheck"))
(hsPkgs."filepath" or (errorHandler.buildDepError "filepath"))
];
buildable = true;
};
};
benchmarks = {
"filepath-bench" = {
depends = [
(hsPkgs."base" or (errorHandler.buildDepError "base"))
(hsPkgs."criterion" or (errorHandler.buildDepError "criterion"))
(hsPkgs."filepath-bytestring" or (errorHandler.buildDepError "filepath-bytestring"))
(hsPkgs."filepath" or (errorHandler.buildDepError "filepath"))
];
buildable = true;
};
};
};
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
{ system
, compiler
, flags
, pkgs
, hsPkgs
, pkgconfPkgs
, errorHandler
, config
, ... }:
{
flags = {};
package = {
specVersion = "3.0";
identifier = { name = "haskell-throttle"; version = "0.1.0.0"; };
license = "AGPL-3.0-or-later";
copyright = "";
maintainer = "[email protected]";
author = "Przemysław Kamiński";
homepage = "";
url = "";
synopsis = "A simple throttling library, which drops messages from same group.";
description = "A [throttle](https://en.wikipedia.org/wiki/Rate_limiting)\nimplementation using\n[Control.Concurrent.STM.TChan](https://hackage.haskell.org/package/stm-2.5.3.1/docs/Control-Concurrent-STM-TChan.html).\n\n== Rationale\n\nCurrent Haskell throttle implementations\n(e.g. [Data.Conduit.Throttle](https://hackage.haskell.org/package/conduit-throttle-0.3.1.0/docs/Data-Conduit-Throttle.html)\nor [io-throttle](https://hackage.haskell.org/package/io-throttle))\nwork by just __slowing down__ incoming messages. However, sometimes we\ndon't care about delivering __all__ messages, but just want to limit\ntheir rate. Hence this module is born.\n\nThe main function is in\n[Control.Concurrent.Throttle](./src/Control/Concurrent/Throttle.hs):\n\n throttle :: (Ord id, Eq id, Show id) => Int -> TChan.TChan (id, a) -> (a -> IO ()) -> IO ()\n\nIt takes as arguments:\n\n* resolution (in milliseconds)\n* a ``TChan`` where `(id, a)` tuples are sent\n* ``action`` which, for given ``a`` calls some ``IO`` action\n\nIn the above we have 2 types:\n\n* ``a`` represents the incoming message which will be called with the supplied `action`\n* ``id`` represents some identifier associated with the message. By\n using this ``id`` we can perform grouping of messages and throttle\n them accordingly.\n\nThe ``throttle`` function itself should be spawned in a separate\nthread. It then awaits for incoming messages on the given `TChan`.\n\nSee [test directory](./test) for a sample usage.\n\n== Design\n\nCurrently, the ``throttle`` function spawns a ``mapCleaner`` thread\nwhich, periodically, checks the internal ``TVar`` value for values to\nclean up and values to hold before the given delay happens.";
buildType = "Simple";
};
components = {
"library" = {
depends = [
(hsPkgs."base" or (errorHandler.buildDepError "base"))
(hsPkgs."async" or (errorHandler.buildDepError "async"))
(hsPkgs."containers" or (errorHandler.buildDepError "containers"))
(hsPkgs."stm" or (errorHandler.buildDepError "stm"))
(hsPkgs."time" or (errorHandler.buildDepError "time"))
];
buildable = true;
};
tests = {
"haskell-trottle-test" = {
depends = [
(hsPkgs."base" or (errorHandler.buildDepError "base"))
(hsPkgs."haskell-trottle" or (errorHandler.buildDepError "haskell-trottle"))
(hsPkgs."async" or (errorHandler.buildDepError "async"))
(hsPkgs."containers" or (errorHandler.buildDepError "containers"))
(hsPkgs."stm" or (errorHandler.buildDepError "stm"))
(hsPkgs."tasty" or (errorHandler.buildDepError "tasty"))
(hsPkgs."tasty-hunit" or (errorHandler.buildDepError "tasty-hunit"))
(hsPkgs."time" or (errorHandler.buildDepError "time"))
];
buildable = true;
};
};
};
}
Loading

0 comments on commit fd504f8

Please sign in to comment.