-
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
Oct 11, 2023
1 parent
cc114a9
commit d927508
Showing
164 changed files
with
6,661 additions
and
20 deletions.
There are no files selected for viewing
113 changes: 113 additions & 0 deletions
113
hackage/Agda-2.6.4-r1-298bc3b261ad034bf4ee788834a4d296aa5c2f6ea17ac4bef44e3daea53a7cd8.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,113 @@ | ||
{ system | ||
, compiler | ||
, flags | ||
, pkgs | ||
, hsPkgs | ||
, pkgconfPkgs | ||
, errorHandler | ||
, config | ||
, ... }: | ||
{ | ||
flags = { | ||
debug = false; | ||
enable-cluster-counting = false; | ||
optimise-heavily = false; | ||
}; | ||
package = { | ||
specVersion = "2.4"; | ||
identifier = { name = "Agda"; version = "2.6.4"; }; | ||
license = "MIT"; | ||
copyright = "(c) 2005-2023 The Agda Team."; | ||
maintainer = "The Agda Team"; | ||
author = "The Agda Team, see https://agda.readthedocs.io/en/latest/team.html"; | ||
homepage = "https://wiki.portal.chalmers.se/agda/"; | ||
url = ""; | ||
synopsis = "A dependently typed functional programming language and proof assistant"; | ||
description = "Agda is a dependently typed functional programming language: It has\ninductive families, which are similar to Haskell's GADTs, but they\ncan be indexed by values and not just types. It also has\nparameterised modules, mixfix operators, Unicode characters, and an\ninteractive Emacs interface (the type checker can assist in the\ndevelopment of your code).\n\nAgda is also a proof assistant: It is an interactive system for\nwriting and checking proofs. Agda is based on intuitionistic type\ntheory, a foundational system for constructive mathematics developed\nby the Swedish logician Per Martin-Löf. It has many\nsimilarities with other proof assistants based on dependent types,\nsuch as Coq, Idris, Lean and NuPRL.\n\nThis package includes both a command-line program (agda) and an\nEmacs mode. If you want to use the Emacs mode you can set it up by\nrunning @agda-mode setup@ (see the README).\n\nNote that the Agda package does not follow the package versioning\npolicy, because it is not intended to be used by third-party\npackages."; | ||
buildType = "Custom"; | ||
setup-depends = [ | ||
(hsPkgs.buildPackages.base or (pkgs.buildPackages.base or (errorHandler.setupDepError "base"))) | ||
(hsPkgs.buildPackages.Cabal or (pkgs.buildPackages.Cabal or (errorHandler.setupDepError "Cabal"))) | ||
(hsPkgs.buildPackages.directory or (pkgs.buildPackages.directory or (errorHandler.setupDepError "directory"))) | ||
(hsPkgs.buildPackages.filepath or (pkgs.buildPackages.filepath or (errorHandler.setupDepError "filepath"))) | ||
(hsPkgs.buildPackages.process or (pkgs.buildPackages.process or (errorHandler.setupDepError "process"))) | ||
]; | ||
}; | ||
components = { | ||
"library" = { | ||
depends = ([ | ||
(hsPkgs."aeson" or (errorHandler.buildDepError "aeson")) | ||
(hsPkgs."ansi-terminal" or (errorHandler.buildDepError "ansi-terminal")) | ||
(hsPkgs."array" or (errorHandler.buildDepError "array")) | ||
(hsPkgs."async" or (errorHandler.buildDepError "async")) | ||
(hsPkgs."base" or (errorHandler.buildDepError "base")) | ||
(hsPkgs."binary" or (errorHandler.buildDepError "binary")) | ||
(hsPkgs."blaze-html" or (errorHandler.buildDepError "blaze-html")) | ||
(hsPkgs."boxes" or (errorHandler.buildDepError "boxes")) | ||
(hsPkgs."bytestring" or (errorHandler.buildDepError "bytestring")) | ||
(hsPkgs."case-insensitive" or (errorHandler.buildDepError "case-insensitive")) | ||
(hsPkgs."containers" or (errorHandler.buildDepError "containers")) | ||
(hsPkgs."data-hash" or (errorHandler.buildDepError "data-hash")) | ||
(hsPkgs."deepseq" or (errorHandler.buildDepError "deepseq")) | ||
(hsPkgs."directory" or (errorHandler.buildDepError "directory")) | ||
(hsPkgs."dlist" or (errorHandler.buildDepError "dlist")) | ||
(hsPkgs."edit-distance" or (errorHandler.buildDepError "edit-distance")) | ||
(hsPkgs."equivalence" or (errorHandler.buildDepError "equivalence")) | ||
(hsPkgs."exceptions" or (errorHandler.buildDepError "exceptions")) | ||
(hsPkgs."filepath" or (errorHandler.buildDepError "filepath")) | ||
(hsPkgs."ghc-compact" or (errorHandler.buildDepError "ghc-compact")) | ||
(hsPkgs."gitrev" or (errorHandler.buildDepError "gitrev")) | ||
(hsPkgs."hashable" or (errorHandler.buildDepError "hashable")) | ||
(hsPkgs."haskeline" or (errorHandler.buildDepError "haskeline")) | ||
(hsPkgs."monad-control" or (errorHandler.buildDepError "monad-control")) | ||
(hsPkgs."mtl" or (errorHandler.buildDepError "mtl")) | ||
(hsPkgs."murmur-hash" or (errorHandler.buildDepError "murmur-hash")) | ||
(hsPkgs."parallel" or (errorHandler.buildDepError "parallel")) | ||
(hsPkgs."peano" or (errorHandler.buildDepError "peano")) | ||
(hsPkgs."pretty" or (errorHandler.buildDepError "pretty")) | ||
(hsPkgs."process" or (errorHandler.buildDepError "process")) | ||
(hsPkgs."regex-tdfa" or (errorHandler.buildDepError "regex-tdfa")) | ||
(hsPkgs."split" or (errorHandler.buildDepError "split")) | ||
(hsPkgs."stm" or (errorHandler.buildDepError "stm")) | ||
(hsPkgs."STMonadTrans" or (errorHandler.buildDepError "STMonadTrans")) | ||
(hsPkgs."strict" or (errorHandler.buildDepError "strict")) | ||
(hsPkgs."text" or (errorHandler.buildDepError "text")) | ||
(hsPkgs."time" or (errorHandler.buildDepError "time")) | ||
(hsPkgs."time-compat" or (errorHandler.buildDepError "time-compat")) | ||
(hsPkgs."transformers" or (errorHandler.buildDepError "transformers")) | ||
(hsPkgs."unordered-containers" or (errorHandler.buildDepError "unordered-containers")) | ||
(hsPkgs."uri-encode" or (errorHandler.buildDepError "uri-encode")) | ||
(hsPkgs."vector" or (errorHandler.buildDepError "vector")) | ||
(hsPkgs."vector-hashtables" or (errorHandler.buildDepError "vector-hashtables")) | ||
(hsPkgs."zlib" or (errorHandler.buildDepError "zlib")) | ||
] ++ (pkgs.lib).optional (flags.enable-cluster-counting) (hsPkgs."text-icu" or (errorHandler.buildDepError "text-icu"))) ++ (pkgs.lib).optional (system.isWindows) (hsPkgs."Win32" or (errorHandler.buildDepError "Win32")); | ||
build-tools = [ | ||
(hsPkgs.buildPackages.alex.components.exes.alex or (pkgs.buildPackages.alex or (errorHandler.buildToolDepError "alex:alex"))) | ||
(hsPkgs.buildPackages.happy.components.exes.happy or (pkgs.buildPackages.happy or (errorHandler.buildToolDepError "happy:happy"))) | ||
]; | ||
buildable = (if compiler.isGhc && (compiler.version).eq "8.6.1" | ||
then false | ||
else true) && (if system.isWindows && (compiler.isGhc && (compiler.version).eq "8.6.3") | ||
then false | ||
else true); | ||
}; | ||
exes = { | ||
"agda" = { | ||
depends = [ | ||
(hsPkgs."Agda" or (errorHandler.buildDepError "Agda")) | ||
(hsPkgs."base" or (errorHandler.buildDepError "base")) | ||
]; | ||
buildable = true; | ||
}; | ||
"agda-mode" = { | ||
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")) | ||
]; | ||
buildable = true; | ||
}; | ||
}; | ||
}; | ||
} |
54 changes: 54 additions & 0 deletions
54
...ategories-0.4.0.0-r0-5b952548d1d802adc9a74b2408a706cf5a6997a1be2bec25bc89e2d78124fc11.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.4.0.0"; }; | ||
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; | ||
}; | ||
}; | ||
}; | ||
} |
54 changes: 54 additions & 0 deletions
54
...ategories-0.5.0.0-r0-a1b1c3fed6ee0bd72d2c4e1114d1d51a88b9f9bf431286e2d06bbc244b911290.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.5.0.0"; }; | ||
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; | ||
}; | ||
}; | ||
}; | ||
} |
62 changes: 62 additions & 0 deletions
62
...sGraphViz-0.2.0.0-r0-9f2f95dae4e8d0b4c055c902d5f01ffbdb15c2926e4d330e792ff95ff85ae9f1.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 = "FiniteCategoriesGraphViz"; version = "0.2.0.0"; }; | ||
license = "GPL-3.0-or-later"; | ||
copyright = ""; | ||
maintainer = "[email protected]"; | ||
author = "Guillaume Sabbagh"; | ||
homepage = "https://gitlab.utc.fr/gsabbagh/FiniteCategoriesGraphViz"; | ||
url = ""; | ||
synopsis = "Transform objects of the package FiniteCategories into graphs using GraphViz."; | ||
description = "A way to visualize finite categories of the package FiniteCategories thanks to GraphViz. See FiniteCategories for examples of categories."; | ||
buildType = "Simple"; | ||
}; | ||
components = { | ||
"library" = { | ||
depends = [ | ||
(hsPkgs."base" or (errorHandler.buildDepError "base")) | ||
(hsPkgs."containers" or (errorHandler.buildDepError "containers")) | ||
(hsPkgs."directory" or (errorHandler.buildDepError "directory")) | ||
(hsPkgs."filepath" or (errorHandler.buildDepError "filepath")) | ||
(hsPkgs."fgl" or (errorHandler.buildDepError "fgl")) | ||
(hsPkgs."graphviz" or (errorHandler.buildDepError "graphviz")) | ||
(hsPkgs."text" or (errorHandler.buildDepError "text")) | ||
(hsPkgs."process" or (errorHandler.buildDepError "process")) | ||
(hsPkgs."random" or (errorHandler.buildDepError "random")) | ||
(hsPkgs."WeakSets" or (errorHandler.buildDepError "WeakSets")) | ||
(hsPkgs."FiniteCategories" or (errorHandler.buildDepError "FiniteCategories")) | ||
]; | ||
buildable = true; | ||
}; | ||
tests = { | ||
"FiniteCategories-test" = { | ||
depends = [ | ||
(hsPkgs."FiniteCategoriesGraphViz" or (errorHandler.buildDepError "FiniteCategoriesGraphViz")) | ||
(hsPkgs."base" or (errorHandler.buildDepError "base")) | ||
(hsPkgs."containers" or (errorHandler.buildDepError "containers")) | ||
(hsPkgs."directory" or (errorHandler.buildDepError "directory")) | ||
(hsPkgs."filepath" or (errorHandler.buildDepError "filepath")) | ||
(hsPkgs."fgl" or (errorHandler.buildDepError "fgl")) | ||
(hsPkgs."graphviz" or (errorHandler.buildDepError "graphviz")) | ||
(hsPkgs."text" or (errorHandler.buildDepError "text")) | ||
(hsPkgs."process" or (errorHandler.buildDepError "process")) | ||
(hsPkgs."random" or (errorHandler.buildDepError "random")) | ||
(hsPkgs."WeakSets" or (errorHandler.buildDepError "WeakSets")) | ||
(hsPkgs."FiniteCategories" or (errorHandler.buildDepError "FiniteCategories")) | ||
]; | ||
buildable = true; | ||
}; | ||
}; | ||
}; | ||
} |
Oops, something went wrong.