-
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
Jan 23, 2024
1 parent
bd2d081
commit fd52ea2
Showing
63 changed files
with
2,277 additions
and
3 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
54 changes: 54 additions & 0 deletions
54
...ategories-0.6.0.2-r0-9c54fbdc4ba1d959bd74bc079cbd1af281eab6b87e8178e0c37c8bd3196bbc53.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,54 @@ | ||
{ system | ||
, compiler | ||
, flags | ||
, pkgs | ||
, hsPkgs | ||
, pkgconfPkgs | ||
, errorHandler | ||
, config | ||
, ... }: | ||
{ | ||
flags = {}; | ||
package = { | ||
specVersion = "3.0"; | ||
identifier = { name = "FiniteCategories"; version = "0.6.0.2"; }; | ||
license = "GPL-3.0-or-later"; | ||
copyright = ""; | ||
maintainer = "[email protected]"; | ||
author = "Guillaume Sabbagh"; | ||
homepage = "https://gitlab.utc.fr/gsabbagh/FiniteCategories"; | ||
url = ""; | ||
synopsis = "Finite categories and usual categorical constructions on them."; | ||
description = "This package provides tools to create categories at the value level. This is different from the __Hask__ category where types are objects in a category with an infinite collection of objects and functions, here we construct categories where objects and arrows are arbitrary values so that we can change categories during runtime. Each category implements two functions following the category structure axioms : @ar@ which returns arrows between two objects of the category and @identity@ which returns the identity of an object. A FiniteCategory implements an additional function : @ob@ which returns objects of the category. Thanks to these functions, we can construct automatically all the usual constructions on the categories (limits and colimits, adjunctions, Yoneda embedding, etc.) Functors are different from usual @Functor@ typeclass, we store functors as mapping between objects and morphisms of two categories. This package is also different from the package @data-category@ because we can enumerate objects and arrows in a finite category. This allows us to construct limit, colimits, adjunctions, etc. automatically for arbitrary finite categories. On the other hand, we loose typecheck at compilation time which ensures that composition is sound in __Hask__, composition in our package might lead to an error raised during runtime. See the Readme file for installation help. See the package FiniteCategoriesGraphViz to visualize categories with graphviz."; | ||
buildType = "Simple"; | ||
}; | ||
components = { | ||
"library" = { | ||
depends = [ | ||
(hsPkgs."base" or (errorHandler.buildDepError "base")) | ||
(hsPkgs."random" or (errorHandler.buildDepError "random")) | ||
(hsPkgs."WeakSets" or (errorHandler.buildDepError "WeakSets")) | ||
(hsPkgs."containers" or (errorHandler.buildDepError "containers")) | ||
(hsPkgs."text" or (errorHandler.buildDepError "text")) | ||
(hsPkgs."filepath" or (errorHandler.buildDepError "filepath")) | ||
(hsPkgs."directory" or (errorHandler.buildDepError "directory")) | ||
]; | ||
buildable = true; | ||
}; | ||
tests = { | ||
"FiniteCategories-test" = { | ||
depends = [ | ||
(hsPkgs."FiniteCategories" or (errorHandler.buildDepError "FiniteCategories")) | ||
(hsPkgs."base" or (errorHandler.buildDepError "base")) | ||
(hsPkgs."random" or (errorHandler.buildDepError "random")) | ||
(hsPkgs."WeakSets" or (errorHandler.buildDepError "WeakSets")) | ||
(hsPkgs."containers" or (errorHandler.buildDepError "containers")) | ||
(hsPkgs."text" or (errorHandler.buildDepError "text")) | ||
(hsPkgs."filepath" or (errorHandler.buildDepError "filepath")) | ||
(hsPkgs."directory" or (errorHandler.buildDepError "directory")) | ||
]; | ||
buildable = true; | ||
}; | ||
}; | ||
}; | ||
} |
68 changes: 68 additions & 0 deletions
68
...dahdit-midi-0.5.1-r0-106700dd9a1c00506f63825c2e8418954d35a36c7acfa5faf7c73e4ee7d84c9f.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,68 @@ | ||
{ system | ||
, compiler | ||
, flags | ||
, pkgs | ||
, hsPkgs | ||
, pkgconfPkgs | ||
, errorHandler | ||
, config | ||
, ... }: | ||
{ | ||
flags = {}; | ||
package = { | ||
specVersion = "1.12"; | ||
identifier = { name = "dahdit-midi"; version = "0.5.1"; }; | ||
license = "BSD-3-Clause"; | ||
copyright = "(c) 2023 Eric Conlon"; | ||
maintainer = "[email protected]"; | ||
author = "Eric Conlon"; | ||
homepage = "https://github.com/ejconlon/dahdit#readme"; | ||
url = ""; | ||
synopsis = "MIDI and OSC parsing/printing with dahdit"; | ||
description = "Please see the README on GitHub at <https://github.com/ejconlon/dahdit#readme>"; | ||
buildType = "Simple"; | ||
}; | ||
components = { | ||
"library" = { | ||
depends = [ | ||
(hsPkgs."base" or (errorHandler.buildDepError "base")) | ||
(hsPkgs."bytestring" or (errorHandler.buildDepError "bytestring")) | ||
(hsPkgs."containers" or (errorHandler.buildDepError "containers")) | ||
(hsPkgs."dahdit" or (errorHandler.buildDepError "dahdit")) | ||
(hsPkgs."data-sword" or (errorHandler.buildDepError "data-sword")) | ||
(hsPkgs."hashable" or (errorHandler.buildDepError "hashable")) | ||
(hsPkgs."nanotime" or (errorHandler.buildDepError "nanotime")) | ||
(hsPkgs."newtype" or (errorHandler.buildDepError "newtype")) | ||
(hsPkgs."primitive" or (errorHandler.buildDepError "primitive")) | ||
(hsPkgs."text" or (errorHandler.buildDepError "text")) | ||
(hsPkgs."vector" or (errorHandler.buildDepError "vector")) | ||
]; | ||
buildable = true; | ||
}; | ||
tests = { | ||
"dahdit-midi-test" = { | ||
depends = [ | ||
(hsPkgs."base" or (errorHandler.buildDepError "base")) | ||
(hsPkgs."bytestring" or (errorHandler.buildDepError "bytestring")) | ||
(hsPkgs."containers" or (errorHandler.buildDepError "containers")) | ||
(hsPkgs."dahdit" or (errorHandler.buildDepError "dahdit")) | ||
(hsPkgs."dahdit-midi" or (errorHandler.buildDepError "dahdit-midi")) | ||
(hsPkgs."dahdit-test" or (errorHandler.buildDepError "dahdit-test")) | ||
(hsPkgs."data-sword" or (errorHandler.buildDepError "data-sword")) | ||
(hsPkgs."daytripper" or (errorHandler.buildDepError "daytripper")) | ||
(hsPkgs."directory" or (errorHandler.buildDepError "directory")) | ||
(hsPkgs."falsify" or (errorHandler.buildDepError "falsify")) | ||
(hsPkgs."filepath" or (errorHandler.buildDepError "filepath")) | ||
(hsPkgs."hashable" or (errorHandler.buildDepError "hashable")) | ||
(hsPkgs."nanotime" or (errorHandler.buildDepError "nanotime")) | ||
(hsPkgs."newtype" or (errorHandler.buildDepError "newtype")) | ||
(hsPkgs."primitive" or (errorHandler.buildDepError "primitive")) | ||
(hsPkgs."tasty" or (errorHandler.buildDepError "tasty")) | ||
(hsPkgs."text" or (errorHandler.buildDepError "text")) | ||
(hsPkgs."vector" or (errorHandler.buildDepError "vector")) | ||
]; | ||
buildable = true; | ||
}; | ||
}; | ||
}; | ||
} |
58 changes: 58 additions & 0 deletions
58
...directory-1.3.8.2-r1-d89ce90e8fd3be639ea79ede5d9613992b4943593d573c9931658db9c8cde9c4.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,58 @@ | ||
{ system | ||
, compiler | ||
, flags | ||
, pkgs | ||
, hsPkgs | ||
, pkgconfPkgs | ||
, errorHandler | ||
, config | ||
, ... }: | ||
{ | ||
flags = { os-string = false; }; | ||
package = { | ||
specVersion = "2.2"; | ||
identifier = { name = "directory"; version = "1.3.8.2"; }; | ||
license = "BSD-3-Clause"; | ||
copyright = ""; | ||
maintainer = "[email protected]"; | ||
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")) | ||
] ++ (if system.isWindows | ||
then [ (hsPkgs."Win32" or (errorHandler.buildDepError "Win32")) ] | ||
else [ | ||
(hsPkgs."unix" or (errorHandler.buildDepError "unix")) | ||
])) ++ (if flags.os-string | ||
then [ | ||
(hsPkgs."filepath" or (errorHandler.buildDepError "filepath")) | ||
(hsPkgs."os-string" or (errorHandler.buildDepError "os-string")) | ||
] | ||
else [ | ||
(hsPkgs."filepath" or (errorHandler.buildDepError "filepath")) | ||
]); | ||
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; | ||
}; | ||
}; | ||
}; | ||
} |
49 changes: 49 additions & 0 deletions
49
...-generate-0.1.0.3-r0-3dad1937444f41ceaaaac50906e5e0d6fb7ea855c5dffd27a53de460c4e65c96.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,49 @@ | ||
{ system | ||
, compiler | ||
, flags | ||
, pkgs | ||
, hsPkgs | ||
, pkgconfPkgs | ||
, errorHandler | ||
, config | ||
, ... }: | ||
{ | ||
flags = {}; | ||
package = { | ||
specVersion = "1.12"; | ||
identifier = { name = "enum-subset-generate"; version = "0.1.0.3"; }; | ||
license = "BSD-3-Clause"; | ||
copyright = "2018 Georg Rudoy"; | ||
maintainer = "[email protected]"; | ||
author = "Georg Rudoy"; | ||
homepage = "https://github.com/0xd34df00d/enum-subset-generate#readme"; | ||
url = ""; | ||
synopsis = "Generate an ADT being a subset of another ADT, and the corresponding mappings."; | ||
description = "Please see the README on GitHub at <https://github.com/0xd34df00d/enum-subset-generate#readme>"; | ||
buildType = "Simple"; | ||
}; | ||
components = { | ||
"library" = { | ||
depends = [ | ||
(hsPkgs."base" or (errorHandler.buildDepError "base")) | ||
(hsPkgs."microlens" or (errorHandler.buildDepError "microlens")) | ||
(hsPkgs."template-haskell" or (errorHandler.buildDepError "template-haskell")) | ||
]; | ||
buildable = true; | ||
}; | ||
tests = { | ||
"enum-subset-generate-test" = { | ||
depends = [ | ||
(hsPkgs."QuickCheck" or (errorHandler.buildDepError "QuickCheck")) | ||
(hsPkgs."base" or (errorHandler.buildDepError "base")) | ||
(hsPkgs."enum-subset-generate" or (errorHandler.buildDepError "enum-subset-generate")) | ||
(hsPkgs."generic-random" or (errorHandler.buildDepError "generic-random")) | ||
(hsPkgs."hspec" or (errorHandler.buildDepError "hspec")) | ||
(hsPkgs."microlens" or (errorHandler.buildDepError "microlens")) | ||
(hsPkgs."template-haskell" or (errorHandler.buildDepError "template-haskell")) | ||
]; | ||
buildable = true; | ||
}; | ||
}; | ||
}; | ||
} |
86 changes: 86 additions & 0 deletions
86
...e/ghcitui-0.1.0.0-r0-7be340db1eaddf3186b5707e078370ca47cd5bb546fe4190165d2440e5fdcd8c.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,86 @@ | ||
{ system | ||
, compiler | ||
, flags | ||
, pkgs | ||
, hsPkgs | ||
, pkgconfPkgs | ||
, errorHandler | ||
, config | ||
, ... }: | ||
{ | ||
flags = {}; | ||
package = { | ||
specVersion = "2.4"; | ||
identifier = { name = "ghcitui"; version = "0.1.0.0"; }; | ||
license = "BSD-3-Clause"; | ||
copyright = "Jordan 'Crystal' R AW"; | ||
maintainer = "[email protected]"; | ||
author = "Jordan 'Crystal' R AW"; | ||
homepage = "https://github.com/CrystalSplitter/ghcitui"; | ||
url = ""; | ||
synopsis = "A Terminal User Interface (TUI) for GHCi"; | ||
description = "A terminal user interface for GHCi debug mode.\n\nFeatures:\n\n* A source view window, with debug keybindings.\n\n* Live variable bindings.\n\n* Live loaded modules.\n\n* Visible trace history.\n\n* An GHCi session in the current context."; | ||
buildType = "Simple"; | ||
}; | ||
components = { | ||
"library" = { | ||
depends = [ | ||
(hsPkgs."base" or (errorHandler.buildDepError "base")) | ||
(hsPkgs."array" or (errorHandler.buildDepError "array")) | ||
(hsPkgs."containers" or (errorHandler.buildDepError "containers")) | ||
(hsPkgs."errors" or (errorHandler.buildDepError "errors")) | ||
(hsPkgs."extra" or (errorHandler.buildDepError "extra")) | ||
(hsPkgs."ghcid" or (errorHandler.buildDepError "ghcid")) | ||
(hsPkgs."regex-base" or (errorHandler.buildDepError "regex-base")) | ||
(hsPkgs."regex-tdfa" or (errorHandler.buildDepError "regex-tdfa")) | ||
(hsPkgs."string-interpolate" or (errorHandler.buildDepError "string-interpolate")) | ||
(hsPkgs."text" or (errorHandler.buildDepError "text")) | ||
(hsPkgs."transformers" or (errorHandler.buildDepError "transformers")) | ||
(hsPkgs."utf8-string" or (errorHandler.buildDepError "utf8-string")) | ||
]; | ||
buildable = true; | ||
}; | ||
sublibs = { | ||
"ghcitui-brick" = { | ||
depends = [ | ||
(hsPkgs."base" or (errorHandler.buildDepError "base")) | ||
(hsPkgs."brick" or (errorHandler.buildDepError "brick")) | ||
(hsPkgs."containers" or (errorHandler.buildDepError "containers")) | ||
(hsPkgs."errors" or (errorHandler.buildDepError "errors")) | ||
(hsPkgs."file-embed" or (errorHandler.buildDepError "file-embed")) | ||
(hsPkgs."ghcitui" or (errorHandler.buildDepError "ghcitui")) | ||
(hsPkgs."microlens" or (errorHandler.buildDepError "microlens")) | ||
(hsPkgs."microlens-th" or (errorHandler.buildDepError "microlens-th")) | ||
(hsPkgs."text" or (errorHandler.buildDepError "text")) | ||
(hsPkgs."text-zipper" or (errorHandler.buildDepError "text-zipper")) | ||
(hsPkgs."vector" or (errorHandler.buildDepError "vector")) | ||
(hsPkgs."vty" or (errorHandler.buildDepError "vty")) | ||
(hsPkgs."word-wrap" or (errorHandler.buildDepError "word-wrap")) | ||
]; | ||
buildable = true; | ||
}; | ||
}; | ||
exes = { | ||
"ghcitui" = { | ||
depends = [ | ||
(hsPkgs."base" or (errorHandler.buildDepError "base")) | ||
(hsPkgs."ghcitui".components.sublibs.ghcitui-brick or (errorHandler.buildDepError "ghcitui:ghcitui-brick")) | ||
(hsPkgs."optparse-applicative" or (errorHandler.buildDepError "optparse-applicative")) | ||
(hsPkgs."ghcitui" or (errorHandler.buildDepError "ghcitui")) | ||
(hsPkgs."text" or (errorHandler.buildDepError "text")) | ||
]; | ||
buildable = true; | ||
}; | ||
}; | ||
tests = { | ||
"spec" = { | ||
depends = [ | ||
(hsPkgs."base" or (errorHandler.buildDepError "base")) | ||
(hsPkgs."ghcitui" or (errorHandler.buildDepError "ghcitui")) | ||
(hsPkgs."hspec" or (errorHandler.buildDepError "hspec")) | ||
]; | ||
buildable = true; | ||
}; | ||
}; | ||
}; | ||
} |
Oops, something went wrong.