-
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 25, 2024
1 parent
c9889ce
commit c9ccd30
Showing
18 changed files
with
545 additions
and
0 deletions.
There are no files selected for viewing
54 changes: 54 additions & 0 deletions
54
...ategories-0.6.2.0-r0-c1cc5a6073b66952c6efaccc2e5afce263c21d137d7c07869e454aeb26ae6ed0.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.2.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; | ||
}; | ||
}; | ||
}; | ||
} |
42 changes: 42 additions & 0 deletions
42
hackage/crackNum-3.6-r0-a3ba7ecc0edad959a7111d30e464dd0fe1bde50c65db7c90ff83cda08fa9a699.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 = "2.2"; | ||
identifier = { name = "crackNum"; version = "3.6"; }; | ||
license = "BSD-3-Clause"; | ||
copyright = "Levent Erkok"; | ||
maintainer = "[email protected]"; | ||
author = "Levent Erkok"; | ||
homepage = "http://github.com/LeventErkok/CrackNum"; | ||
url = ""; | ||
synopsis = "Crack various integer and floating-point data formats"; | ||
description = "Crack IEEE-754 float formats and arbitrary sized words and integers, showing the layout.\n\nFor details, please see: <http://github.com/LeventErkok/crackNum/>"; | ||
buildType = "Simple"; | ||
}; | ||
components = { | ||
exes = { | ||
"crackNum" = { | ||
depends = [ | ||
(hsPkgs."base" or (errorHandler.buildDepError "base")) | ||
(hsPkgs."libBF" or (errorHandler.buildDepError "libBF")) | ||
(hsPkgs."sbv" or (errorHandler.buildDepError "sbv")) | ||
(hsPkgs."tasty" or (errorHandler.buildDepError "tasty")) | ||
(hsPkgs."tasty-golden" or (errorHandler.buildDepError "tasty-golden")) | ||
(hsPkgs."filepath" or (errorHandler.buildDepError "filepath")) | ||
(hsPkgs."directory" or (errorHandler.buildDepError "directory")) | ||
(hsPkgs."process" or (errorHandler.buildDepError "process")) | ||
]; | ||
buildable = true; | ||
}; | ||
}; | ||
}; | ||
} |
59 changes: 59 additions & 0 deletions
59
hackage/ghc-tags-1.8-r0-092a788da80f974310456b4f2942d5d9a9b08d55fbde3cf274b2307ec29d491a.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,59 @@ | ||
{ system | ||
, compiler | ||
, flags | ||
, pkgs | ||
, hsPkgs | ||
, pkgconfPkgs | ||
, errorHandler | ||
, config | ||
, ... }: | ||
{ | ||
flags = { ghc-lib = false; }; | ||
package = { | ||
specVersion = "3.0"; | ||
identifier = { name = "ghc-tags"; version = "1.8"; }; | ||
license = "MPL-2.0"; | ||
copyright = "Andrzej Rybczak"; | ||
maintainer = "[email protected]"; | ||
author = "Andrzej Rybczak"; | ||
homepage = "https://github.com/arybczak/ghc-tags"; | ||
url = ""; | ||
synopsis = "Utility for generating ctags and etags with GHC API."; | ||
description = "Utility for generating etags (Emacs) and ctags (Vim and other\neditors) with GHC API for efficient project navigation."; | ||
buildType = "Simple"; | ||
}; | ||
components = { | ||
exes = { | ||
"ghc-tags" = { | ||
depends = [ | ||
(hsPkgs."base" or (errorHandler.buildDepError "base")) | ||
(hsPkgs."aeson" or (errorHandler.buildDepError "aeson")) | ||
(hsPkgs."async" or (errorHandler.buildDepError "async")) | ||
(hsPkgs."attoparsec" or (errorHandler.buildDepError "attoparsec")) | ||
(hsPkgs."bytestring" or (errorHandler.buildDepError "bytestring")) | ||
(hsPkgs."containers" or (errorHandler.buildDepError "containers")) | ||
(hsPkgs."deepseq" or (errorHandler.buildDepError "deepseq")) | ||
(hsPkgs."directory" or (errorHandler.buildDepError "directory")) | ||
(hsPkgs."filepath" or (errorHandler.buildDepError "filepath")) | ||
(hsPkgs."ghc-paths" or (errorHandler.buildDepError "ghc-paths")) | ||
(hsPkgs."stm" or (errorHandler.buildDepError "stm")) | ||
(hsPkgs."optparse-applicative" or (errorHandler.buildDepError "optparse-applicative")) | ||
(hsPkgs."process" or (errorHandler.buildDepError "process")) | ||
(hsPkgs."temporary" or (errorHandler.buildDepError "temporary")) | ||
(hsPkgs."text" or (errorHandler.buildDepError "text")) | ||
(hsPkgs."time" or (errorHandler.buildDepError "time")) | ||
(hsPkgs."vector" or (errorHandler.buildDepError "vector")) | ||
(hsPkgs."yaml" or (errorHandler.buildDepError "yaml")) | ||
] ++ (if !flags.ghc-lib && (compiler.isGhc && ((compiler.version).ge "9.8" && (compiler.version).lt "9.9")) | ||
then [ | ||
(hsPkgs."ghc" or (errorHandler.buildDepError "ghc")) | ||
(hsPkgs."ghc-boot" or (errorHandler.buildDepError "ghc-boot")) | ||
] | ||
else [ | ||
(hsPkgs."ghc-lib" or (errorHandler.buildDepError "ghc-lib")) | ||
]); | ||
buildable = true; | ||
}; | ||
}; | ||
}; | ||
} |
36 changes: 36 additions & 0 deletions
36
...n-imports-0.2.0.0-r0-1136d138fa72beab23943afa2f84d4651422c25230936ecdcb7f91963d7c48ef.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,36 @@ | ||
{ system | ||
, compiler | ||
, flags | ||
, pkgs | ||
, hsPkgs | ||
, pkgconfPkgs | ||
, errorHandler | ||
, config | ||
, ... }: | ||
{ | ||
flags = {}; | ||
package = { | ||
specVersion = "3.0"; | ||
identifier = { name = "om-plugin-imports"; version = "0.2.0.0"; }; | ||
license = "MIT"; | ||
copyright = "2022 Rick Owens"; | ||
maintainer = "[email protected]"; | ||
author = "Rick Owens"; | ||
homepage = "https://github.com/owensmurray/om-plugin-imports"; | ||
url = ""; | ||
synopsis = "Plugin-based import warnings"; | ||
description = "This is a plutin that acts similar to\n`-ddump-minimal-imports`, but the style\nof imports dumped to the dump directory\nis better. Where \"better\" means it will\nsatisfy `-Wmissing-import-lists` (which\n`-ddump-minimal-imports does not always), and it\nwill omit the explicit import list for imports\nthat are already qualified. The files are dumped\nto <dump-dir>/<module-name>.full-imports. No files\nwill be dumped unless `-dumpdir` is explicitly\npassed by the user."; | ||
buildType = "Simple"; | ||
}; | ||
components = { | ||
"library" = { | ||
depends = [ | ||
(hsPkgs."base" or (errorHandler.buildDepError "base")) | ||
(hsPkgs."containers" or (errorHandler.buildDepError "containers")) | ||
(hsPkgs."ghc" or (errorHandler.buildDepError "ghc")) | ||
(hsPkgs."safe" or (errorHandler.buildDepError "safe")) | ||
]; | ||
buildable = true; | ||
}; | ||
}; | ||
} |
36 changes: 36 additions & 0 deletions
36
...n-imports-0.2.0.0-r1-7b692a7be07f7a39842fdfa4182f5ccb0f3f0674640562ec9d08d46570a67467.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,36 @@ | ||
{ system | ||
, compiler | ||
, flags | ||
, pkgs | ||
, hsPkgs | ||
, pkgconfPkgs | ||
, errorHandler | ||
, config | ||
, ... }: | ||
{ | ||
flags = {}; | ||
package = { | ||
specVersion = "3.0"; | ||
identifier = { name = "om-plugin-imports"; version = "0.2.0.0"; }; | ||
license = "MIT"; | ||
copyright = "2022 Rick Owens"; | ||
maintainer = "[email protected]"; | ||
author = "Rick Owens"; | ||
homepage = "https://github.com/owensmurray/om-plugin-imports"; | ||
url = ""; | ||
synopsis = "Plugin-based import warnings"; | ||
description = "See the README at https://github.com/owensmurray/om-plugin-imports/tree/master/#om-plugin-imports"; | ||
buildType = "Simple"; | ||
}; | ||
components = { | ||
"library" = { | ||
depends = [ | ||
(hsPkgs."base" or (errorHandler.buildDepError "base")) | ||
(hsPkgs."containers" or (errorHandler.buildDepError "containers")) | ||
(hsPkgs."ghc" or (errorHandler.buildDepError "ghc")) | ||
(hsPkgs."safe" or (errorHandler.buildDepError "safe")) | ||
]; | ||
buildable = true; | ||
}; | ||
}; | ||
} |
40 changes: 40 additions & 0 deletions
40
...fied-base-0.8.0.0-r0-60d7986935a40c15d9fdf7791110529be06f0fa2d6cdf383e5d4d24ba9110f3b.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.10"; | ||
identifier = { | ||
name = "phonetic-languages-simplified-base"; | ||
version = "0.8.0.0"; | ||
}; | ||
license = "MIT"; | ||
copyright = "Oleksandr Zhabenko"; | ||
maintainer = "[email protected]"; | ||
author = "OleksandrZhabenko"; | ||
homepage = "https://hackage.haskell.org/package/phonetic-languages-simlified-base"; | ||
url = ""; | ||
synopsis = "A basics of the phonetic-languages functionality that can be groupped."; | ||
description = "The common for different realizations of PhLADiPreLiO functionality. Just the necessary one."; | ||
buildType = "Simple"; | ||
}; | ||
components = { | ||
"library" = { | ||
depends = [ | ||
(hsPkgs."base" or (errorHandler.buildDepError "base")) | ||
(hsPkgs."monoid-insertleft" or (errorHandler.buildDepError "monoid-insertleft")) | ||
(hsPkgs."phonetic-languages-permutations-array" or (errorHandler.buildDepError "phonetic-languages-permutations-array")) | ||
(hsPkgs."phonetic-languages-basis" or (errorHandler.buildDepError "phonetic-languages-basis")) | ||
(hsPkgs."minmax" or (errorHandler.buildDepError "minmax")) | ||
]; | ||
buildable = true; | ||
}; | ||
}; | ||
} |
46 changes: 46 additions & 0 deletions
46
...vant-serf-0.3.1.6-r0-afc900ff90919097ea4bb19ab9b34f584b8e1f3a6e23fdf646f878ef17864060.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,46 @@ | ||
{ system | ||
, compiler | ||
, flags | ||
, pkgs | ||
, hsPkgs | ||
, pkgconfPkgs | ||
, errorHandler | ||
, config | ||
, ... }: | ||
{ | ||
flags = { pedantic = false; }; | ||
package = { | ||
specVersion = "2.0"; | ||
identifier = { name = "servant-serf"; version = "0.3.1.6"; }; | ||
license = "MIT"; | ||
copyright = ""; | ||
maintainer = "ACI Learning"; | ||
author = ""; | ||
homepage = ""; | ||
url = ""; | ||
synopsis = "Automatically generate Servant API modules."; | ||
description = "= servant-serf\n\nservant-serf is a preprocessor for GHC that automatically generates Servant\nAPI modules. It is similar to the @hspec-discover@ package.\n\n== Example input\n\n> {-# OPTIONS_GHC -F -pgmF servant-serf #-}\n\n== Example output\n\n> {-# LINE 1 \"Example.hs\" #-}\n> {-# OPTIONS_GHC -w #-}\n>\n> module Example where\n>\n> import qualified Servant\n>\n> import qualified Example.One\n> import qualified Example.Two\n>\n> type API\n> = Example.One.API\n> Servant.:<|> Example.Two.API\n>\n> server\n> = Example.One.server\n> Servant.:<|> Example.Two.server\n\n== Options\n\nTo pass options into servant-serf, use @-optF@. For example:\n\n> {-# OPTIONS_GHC -F -pgmF servant-serf -optF --depth=shallow #-}\n\n- @--module-name=STRING@: Sets the name to use for the generated module. By\ndefault this is determined from the source file path. For example @src/X.hs@\nwould use the module name @X@.\n\n- @--depth=deep|shallow@: Controls whether to search through only one\ndierctory (@shallow@) or recursively (@deep@). Defaults to @deep@.\n\n- @--api-name=STRING@: Sets the name to use for the API type. Defaults to\n@API@. Note that the same name is used for both referenced API types and the\ngenerated API type.\n\n- @--server-name=STRING@: Sets the name to use for the server value. Defaults\nto @server@. Note that the same name is used for both referenced server\nvalues and the generated server value.\n\n== Notes\n\n- The input module is completely ignored.\n\n- Modules are sorted by name. There is no way to customize how they are\nsorted.\n\n- All modules below the current module are included. There is no way to\ncustomize which modules are included or excluded.\n\n- The generated server value does not have a type signature. It should have\ntype @Servant.ServerT API m@ for some @m@, but that @m@ can change and is\neasily inferred by GHC."; | ||
buildType = "Simple"; | ||
}; | ||
components = { | ||
"library" = { | ||
depends = [ | ||
(hsPkgs."base" or (errorHandler.buildDepError "base")) | ||
(hsPkgs."Cabal-syntax" or (errorHandler.buildDepError "Cabal-syntax")) | ||
(hsPkgs."directory" or (errorHandler.buildDepError "directory")) | ||
(hsPkgs."exceptions" or (errorHandler.buildDepError "exceptions")) | ||
(hsPkgs."filepath" or (errorHandler.buildDepError "filepath")) | ||
]; | ||
buildable = true; | ||
}; | ||
exes = { | ||
"servant-serf" = { | ||
depends = [ | ||
(hsPkgs."base" or (errorHandler.buildDepError "base")) | ||
(hsPkgs."servant-serf" or (errorHandler.buildDepError "servant-serf")) | ||
]; | ||
buildable = true; | ||
}; | ||
}; | ||
}; | ||
} |
Oops, something went wrong.