-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
IOHK
committed
Jul 30, 2024
1 parent
f010266
commit fd504f8
Showing
40 changed files
with
1,458 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
42 changes: 42 additions & 0 deletions
42
...-openapi3-0.2.1.4-r0-9466e3e1cad90b11c8d839dc2528cb95b394f3ca8cb667fb18ef1df71b78b9d2.nix
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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; | ||
}; | ||
}; | ||
} |
40 changes: 40 additions & 0 deletions
40
...-swagger2-0.0.1.4-r0-2c74414d5385d8f4e1a2a9ddc30dd34db7bf69b0b10255b597c1ae4b79f7a882.nix
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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; | ||
}; | ||
}; | ||
} |
40 changes: 40 additions & 0 deletions
40
...-swagger2-0.1.0.0-r0-ef9985bacec96b85ba1709221b148d57723edbb8a3f52167b989c101694d40bc.nix
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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; | ||
}; | ||
}; | ||
} |
62 changes: 62 additions & 0 deletions
62
...chart-svg-0.6.1.0-r0-c9cb5af7dab3e3b3f2627954f235c6415253c5d185d0db1dd5666b837e6e0981.nix
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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; | ||
}; | ||
}; | ||
}; | ||
} |
61 changes: 61 additions & 0 deletions
61
...tring-1.4.100.3.1-r0-e21c6e40fe07a58e733db9896ca936f9d71a2e0d661353fa63a5a156fd5fc37a.nix
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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; | ||
}; | ||
}; | ||
}; | ||
} |
61 changes: 61 additions & 0 deletions
61
...tring-1.4.100.3.2-r0-2f0ce0ef5ebf94b3a689aa3399b10ff83fd44a345e58fbf9a7640264f208b343.nix
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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; | ||
}; | ||
}; | ||
}; | ||
} |
52 changes: 52 additions & 0 deletions
52
...-throttle-0.1.0.0-r0-dd6e9141398ed450e4b5cfe3028a902722392409746a2bc90d554f4e9458cc69.nix
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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; | ||
}; | ||
}; | ||
}; | ||
} |
Oops, something went wrong.