-
Notifications
You must be signed in to change notification settings - Fork 17
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 27, 2023
1 parent
b8dad72
commit 2dcd42c
Showing
40 changed files
with
1,731 additions
and
4 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
105 changes: 105 additions & 0 deletions
105
hackage/BNFC-2.5.0.1-r0-2cfb14b7c34d05a60a7ba9b5071cbe3cd670095a94ababe9e274039eda79ef5c.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,105 @@ | ||
{ system | ||
, compiler | ||
, flags | ||
, pkgs | ||
, hsPkgs | ||
, pkgconfPkgs | ||
, errorHandler | ||
, config | ||
, ... }: | ||
{ | ||
flags = { haskell-tests = true; java-tests = true; c-tests = true; }; | ||
package = { | ||
specVersion = "1.10"; | ||
identifier = { name = "BNFC"; version = "2.5.0.1"; }; | ||
license = "LicenseRef-GPL"; | ||
copyright = "(c) Krasimir Angelov, Jean-Philippe Bernardy, Bjorn Bringert, Johan Broberg, Paul Callaghan, Markus Forsberg, Ola Frid, Peter Gammie, Patrik Jansson, Kristofer Johannisson, Antti-Juhani Kaijanaho, Ulf Norell, Michael Pellauer and Aarne Ranta 2002 - 2012. Free software under GNU General Public License (GPL)."; | ||
maintainer = "bnfc-dev@googlegroups.com"; | ||
author = ""; | ||
homepage = "http://bnfc.digitalgrammars.com/"; | ||
url = ""; | ||
synopsis = "A compiler front-end generator."; | ||
description = "The BNF Converter is a compiler construction tool generating a compiler front-end\nfrom a Labelled BNF grammar. It was originally written to generate Haskell,\nbut starting from Version 2.0, it can also be used for generating Java, C++, and C.\n\nGiven a Labelled BNF grammar the tool produces:\nan abstract syntax as a Haskell/C++/C module or Java directory,\na case skeleton for the abstract syntax in the same language,\nan Alex, JLex, or Flex lexer generator file,\na Happy, CUP, or Bison parser generator file,\na pretty-printer as a Haskell/Java/C++/C module,\na Latex file containing a readable specification of the language."; | ||
buildType = "Simple"; | ||
}; | ||
components = { | ||
"library" = { | ||
depends = [ | ||
(hsPkgs."base" or (errorHandler.buildDepError "base")) | ||
(hsPkgs."array" or (errorHandler.buildDepError "array")) | ||
]; | ||
buildable = true; | ||
}; | ||
exes = { | ||
"bnfc" = { | ||
depends = [ | ||
(hsPkgs."base" or (errorHandler.buildDepError "base")) | ||
(hsPkgs."mtl" or (errorHandler.buildDepError "mtl")) | ||
(hsPkgs."directory" or (errorHandler.buildDepError "directory")) | ||
(hsPkgs."array" or (errorHandler.buildDepError "array")) | ||
(hsPkgs."process" or (errorHandler.buildDepError "process")) | ||
(hsPkgs."containers" or (errorHandler.buildDepError "containers")) | ||
(hsPkgs."pretty" or (errorHandler.buildDepError "pretty")) | ||
(hsPkgs."filepath" or (errorHandler.buildDepError "filepath")) | ||
]; | ||
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 = true; | ||
}; | ||
}; | ||
tests = { | ||
"system-tests-haskell" = { | ||
depends = [ | ||
(hsPkgs."base" or (errorHandler.buildDepError "base")) | ||
(hsPkgs."HUnit" or (errorHandler.buildDepError "HUnit")) | ||
(hsPkgs."test-framework" or (errorHandler.buildDepError "test-framework")) | ||
(hsPkgs."test-framework-hunit" or (errorHandler.buildDepError "test-framework-hunit")) | ||
(hsPkgs."shelly" or (errorHandler.buildDepError "shelly")) | ||
(hsPkgs."system-filepath" or (errorHandler.buildDepError "system-filepath")) | ||
(hsPkgs."text" or (errorHandler.buildDepError "text")) | ||
]; | ||
buildable = if flags.haskell-tests then true else false; | ||
}; | ||
"system-tests-java" = { | ||
depends = [ | ||
(hsPkgs."base" or (errorHandler.buildDepError "base")) | ||
(hsPkgs."HUnit" or (errorHandler.buildDepError "HUnit")) | ||
(hsPkgs."test-framework" or (errorHandler.buildDepError "test-framework")) | ||
(hsPkgs."test-framework-hunit" or (errorHandler.buildDepError "test-framework-hunit")) | ||
(hsPkgs."shelly" or (errorHandler.buildDepError "shelly")) | ||
(hsPkgs."system-filepath" or (errorHandler.buildDepError "system-filepath")) | ||
(hsPkgs."text" or (errorHandler.buildDepError "text")) | ||
]; | ||
buildable = if flags.java-tests then true else false; | ||
}; | ||
"system-tests-c" = { | ||
depends = [ | ||
(hsPkgs."base" or (errorHandler.buildDepError "base")) | ||
(hsPkgs."HUnit" or (errorHandler.buildDepError "HUnit")) | ||
(hsPkgs."test-framework" or (errorHandler.buildDepError "test-framework")) | ||
(hsPkgs."test-framework-hunit" or (errorHandler.buildDepError "test-framework-hunit")) | ||
(hsPkgs."shelly" or (errorHandler.buildDepError "shelly")) | ||
(hsPkgs."system-filepath" or (errorHandler.buildDepError "system-filepath")) | ||
(hsPkgs."text" or (errorHandler.buildDepError "text")) | ||
]; | ||
buildable = if flags.c-tests then true else false; | ||
}; | ||
"unit-tests" = { | ||
depends = [ | ||
(hsPkgs."base" or (errorHandler.buildDepError "base")) | ||
(hsPkgs."mtl" or (errorHandler.buildDepError "mtl")) | ||
(hsPkgs."directory" or (errorHandler.buildDepError "directory")) | ||
(hsPkgs."array" or (errorHandler.buildDepError "array")) | ||
(hsPkgs."process" or (errorHandler.buildDepError "process")) | ||
(hsPkgs."filepath" or (errorHandler.buildDepError "filepath")) | ||
(hsPkgs."HUnit" or (errorHandler.buildDepError "HUnit")) | ||
(hsPkgs."test-framework" or (errorHandler.buildDepError "test-framework")) | ||
(hsPkgs."test-framework-hunit" or (errorHandler.buildDepError "test-framework-hunit")) | ||
]; | ||
buildable = true; | ||
}; | ||
}; | ||
}; | ||
} |
79 changes: 79 additions & 0 deletions
79
hackage/BNFC-2.7.0.2-r0-e5497b1353b8a2a29486b32dd51bc55820948fea62dc7e8d00304ccaa45ce81d.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,79 @@ | ||
{ system | ||
, compiler | ||
, flags | ||
, pkgs | ||
, hsPkgs | ||
, pkgconfPkgs | ||
, errorHandler | ||
, config | ||
, ... }: | ||
{ | ||
flags = {}; | ||
package = { | ||
specVersion = "1.10"; | ||
identifier = { name = "BNFC"; version = "2.7.0.2"; }; | ||
license = "GPL-2.0-only"; | ||
copyright = "(c) Krasimir Angelov, Jean-Philippe Bernardy, Bjorn Bringert, Johan Broberg, Paul Callaghan, Markus Forsberg, Ola Frid, Peter Gammie, Patrik Jansson, Kristofer Johannisson, Antti-Juhani Kaijanaho, Ulf Norell, Michael Pellauer and Aarne Ranta 2002 - 2012. Free software under GNU General Public License (GPL)."; | ||
maintainer = "bnfc-dev@googlegroups.com"; | ||
author = ""; | ||
homepage = "https://bnfc.digitalgrammars.com/"; | ||
url = ""; | ||
synopsis = "A compiler front-end generator."; | ||
description = "The BNF Converter is a compiler construction tool generating a compiler front-end\nfrom a Labelled BNF grammar. It was originally written to generate Haskell,\nbut starting from Version 2.0, it can also be used for generating Java, C++, and C.\n\nGiven a Labelled BNF grammar the tool produces:\nan abstract syntax as a Haskell/C++/C module or Java directory,\na case skeleton for the abstract syntax in the same language,\nan Alex, JLex, or Flex lexer generator file,\na Happy, CUP, or Bison parser generator file,\na pretty-printer as a Haskell/Java/C++/C module,\na Latex file containing a readable specification of the language."; | ||
buildType = "Simple"; | ||
}; | ||
components = { | ||
"library" = { | ||
depends = [ | ||
(hsPkgs."base" or (errorHandler.buildDepError "base")) | ||
(hsPkgs."array" or (errorHandler.buildDepError "array")) | ||
]; | ||
buildable = true; | ||
}; | ||
exes = { | ||
"bnfc" = { | ||
depends = [ | ||
(hsPkgs."base" or (errorHandler.buildDepError "base")) | ||
(hsPkgs."mtl" or (errorHandler.buildDepError "mtl")) | ||
(hsPkgs."directory" or (errorHandler.buildDepError "directory")) | ||
(hsPkgs."array" or (errorHandler.buildDepError "array")) | ||
(hsPkgs."process" or (errorHandler.buildDepError "process")) | ||
(hsPkgs."containers" or (errorHandler.buildDepError "containers")) | ||
(hsPkgs."pretty" or (errorHandler.buildDepError "pretty")) | ||
(hsPkgs."filepath" or (errorHandler.buildDepError "filepath")) | ||
(hsPkgs."deepseq" or (errorHandler.buildDepError "deepseq")) | ||
]; | ||
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 = true; | ||
}; | ||
}; | ||
tests = { | ||
"unit-tests" = { | ||
depends = [ | ||
(hsPkgs."base" or (errorHandler.buildDepError "base")) | ||
(hsPkgs."mtl" or (errorHandler.buildDepError "mtl")) | ||
(hsPkgs."directory" or (errorHandler.buildDepError "directory")) | ||
(hsPkgs."array" or (errorHandler.buildDepError "array")) | ||
(hsPkgs."process" or (errorHandler.buildDepError "process")) | ||
(hsPkgs."filepath" or (errorHandler.buildDepError "filepath")) | ||
(hsPkgs."pretty" or (errorHandler.buildDepError "pretty")) | ||
(hsPkgs."hspec" or (errorHandler.buildDepError "hspec")) | ||
(hsPkgs."QuickCheck" or (errorHandler.buildDepError "QuickCheck")) | ||
(hsPkgs."HUnit" or (errorHandler.buildDepError "HUnit")) | ||
(hsPkgs."temporary" or (errorHandler.buildDepError "temporary")) | ||
(hsPkgs."containers" or (errorHandler.buildDepError "containers")) | ||
(hsPkgs."deepseq" or (errorHandler.buildDepError "deepseq")) | ||
]; | ||
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"))) | ||
(hsPkgs.buildPackages.hspec-discover.components.exes.hspec-discover or (pkgs.buildPackages.hspec-discover or (errorHandler.buildToolDepError "hspec-discover:hspec-discover"))) | ||
]; | ||
buildable = true; | ||
}; | ||
}; | ||
}; | ||
} |
35 changes: 35 additions & 0 deletions
35
...-appimage-0.4.0.2-r0-807d043a31ac591f66be958852fb20772dd2e8ec0d84a816f3d09b99eaa6523c.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,35 @@ | ||
{ system | ||
, compiler | ||
, flags | ||
, pkgs | ||
, hsPkgs | ||
, pkgconfPkgs | ||
, errorHandler | ||
, config | ||
, ... }: | ||
{ | ||
flags = {}; | ||
package = { | ||
specVersion = "2.0"; | ||
identifier = { name = "cabal-appimage"; version = "0.4.0.2"; }; | ||
license = "AGPL-3.0-only"; | ||
copyright = "2020-2023 Gabriele Sales"; | ||
maintainer = "gbrsales@gmail.com"; | ||
author = "Gabriele Sales"; | ||
homepage = "https://github.com/gbrsales/cabal-appimage"; | ||
url = ""; | ||
synopsis = "Cabal support for creating AppImage applications"; | ||
description = "This package provides a build hook automating the\ncreation of AppImage bundles."; | ||
buildType = "Simple"; | ||
}; | ||
components = { | ||
"library" = { | ||
depends = [ | ||
(hsPkgs."base" or (errorHandler.buildDepError "base")) | ||
(hsPkgs."Cabal" or (errorHandler.buildDepError "Cabal")) | ||
(hsPkgs."filepath" or (errorHandler.buildDepError "filepath")) | ||
]; | ||
buildable = true; | ||
}; | ||
}; | ||
} |
59 changes: 59 additions & 0 deletions
59
...e/cue-sheet-2.0.2-r2-bdbbb9a5a9088fdc44b496aec78c0565ec9570a46009741e60975d9d2a433163.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 = { dev = false; }; | ||
package = { | ||
specVersion = "2.4"; | ||
identifier = { name = "cue-sheet"; version = "2.0.2"; }; | ||
license = "BSD-3-Clause"; | ||
copyright = ""; | ||
maintainer = "Mark Karpov <markkarpov92@gmail.com>"; | ||
author = "Mark Karpov <markkarpov92@gmail.com>"; | ||
homepage = "https://github.com/mrkkrp/cue-sheet"; | ||
url = ""; | ||
synopsis = "Support for construction, rendering, and parsing of CUE sheets"; | ||
description = "Support for construction, rendering, and parsing of CUE sheets."; | ||
buildType = "Simple"; | ||
}; | ||
components = { | ||
"library" = { | ||
depends = [ | ||
(hsPkgs."QuickCheck" or (errorHandler.buildDepError "QuickCheck")) | ||
(hsPkgs."base" or (errorHandler.buildDepError "base")) | ||
(hsPkgs."bytestring" or (errorHandler.buildDepError "bytestring")) | ||
(hsPkgs."containers" or (errorHandler.buildDepError "containers")) | ||
(hsPkgs."exceptions" or (errorHandler.buildDepError "exceptions")) | ||
(hsPkgs."megaparsec" or (errorHandler.buildDepError "megaparsec")) | ||
(hsPkgs."mtl" or (errorHandler.buildDepError "mtl")) | ||
(hsPkgs."text" or (errorHandler.buildDepError "text")) | ||
]; | ||
buildable = true; | ||
}; | ||
tests = { | ||
"tests" = { | ||
depends = [ | ||
(hsPkgs."QuickCheck" or (errorHandler.buildDepError "QuickCheck")) | ||
(hsPkgs."base" or (errorHandler.buildDepError "base")) | ||
(hsPkgs."bytestring" or (errorHandler.buildDepError "bytestring")) | ||
(hsPkgs."cue-sheet" or (errorHandler.buildDepError "cue-sheet")) | ||
(hsPkgs."exceptions" or (errorHandler.buildDepError "exceptions")) | ||
(hsPkgs."hspec" or (errorHandler.buildDepError "hspec")) | ||
(hsPkgs."hspec-megaparsec" or (errorHandler.buildDepError "hspec-megaparsec")) | ||
(hsPkgs."megaparsec" or (errorHandler.buildDepError "megaparsec")) | ||
(hsPkgs."text" or (errorHandler.buildDepError "text")) | ||
]; | ||
build-tools = [ | ||
(hsPkgs.buildPackages.hspec-discover.components.exes.hspec-discover or (pkgs.buildPackages.hspec-discover or (errorHandler.buildToolDepError "hspec-discover:hspec-discover"))) | ||
]; | ||
buildable = true; | ||
}; | ||
}; | ||
}; | ||
} |
71 changes: 71 additions & 0 deletions
71
...op-portal-0.4.0.0-r0-21fe93678fd7a9b1349f2e8fd01b200cb2a1c75ddc0d71993e9566bcab0a2c27.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,71 @@ | ||
{ system | ||
, compiler | ||
, flags | ||
, pkgs | ||
, hsPkgs | ||
, pkgconfPkgs | ||
, errorHandler | ||
, config | ||
, ... }: | ||
{ | ||
flags = {}; | ||
package = { | ||
specVersion = "1.12"; | ||
identifier = { name = "desktop-portal"; version = "0.4.0.0"; }; | ||
license = "MIT"; | ||
copyright = ""; | ||
maintainer = "garethdanielsmith@gmail.com"; | ||
author = ""; | ||
homepage = "https://github.com/Dretch/haskell-desktop-portal#readme"; | ||
url = ""; | ||
synopsis = "Desktop Portal."; | ||
description = "A Haskell wrapper for the XDG Desktop Portal DBUS API."; | ||
buildType = "Simple"; | ||
}; | ||
components = { | ||
"library" = { | ||
depends = [ | ||
(hsPkgs."base" or (errorHandler.buildDepError "base")) | ||
(hsPkgs."binary" or (errorHandler.buildDepError "binary")) | ||
(hsPkgs."bytestring" or (errorHandler.buildDepError "bytestring")) | ||
(hsPkgs."containers" or (errorHandler.buildDepError "containers")) | ||
(hsPkgs."data-default-class" or (errorHandler.buildDepError "data-default-class")) | ||
(hsPkgs."dbus" or (errorHandler.buildDepError "dbus")) | ||
(hsPkgs."directory" or (errorHandler.buildDepError "directory")) | ||
(hsPkgs."modern-uri" or (errorHandler.buildDepError "modern-uri")) | ||
(hsPkgs."network" or (errorHandler.buildDepError "network")) | ||
(hsPkgs."random" or (errorHandler.buildDepError "random")) | ||
(hsPkgs."text" or (errorHandler.buildDepError "text")) | ||
(hsPkgs."unix" or (errorHandler.buildDepError "unix")) | ||
]; | ||
buildable = true; | ||
}; | ||
tests = { | ||
"spec" = { | ||
depends = [ | ||
(hsPkgs."base" or (errorHandler.buildDepError "base")) | ||
(hsPkgs."binary" or (errorHandler.buildDepError "binary")) | ||
(hsPkgs."bytestring" or (errorHandler.buildDepError "bytestring")) | ||
(hsPkgs."containers" or (errorHandler.buildDepError "containers")) | ||
(hsPkgs."data-default-class" or (errorHandler.buildDepError "data-default-class")) | ||
(hsPkgs."dbus" or (errorHandler.buildDepError "dbus")) | ||
(hsPkgs."desktop-portal" or (errorHandler.buildDepError "desktop-portal")) | ||
(hsPkgs."directory" or (errorHandler.buildDepError "directory")) | ||
(hsPkgs."hspec" or (errorHandler.buildDepError "hspec")) | ||
(hsPkgs."hspec-expectations" or (errorHandler.buildDepError "hspec-expectations")) | ||
(hsPkgs."modern-uri" or (errorHandler.buildDepError "modern-uri")) | ||
(hsPkgs."network" or (errorHandler.buildDepError "network")) | ||
(hsPkgs."process" or (errorHandler.buildDepError "process")) | ||
(hsPkgs."random" or (errorHandler.buildDepError "random")) | ||
(hsPkgs."temporary" or (errorHandler.buildDepError "temporary")) | ||
(hsPkgs."text" or (errorHandler.buildDepError "text")) | ||
(hsPkgs."unix" or (errorHandler.buildDepError "unix")) | ||
]; | ||
build-tools = [ | ||
(hsPkgs.buildPackages.hspec-discover.components.exes.hspec-discover or (pkgs.buildPackages.hspec-discover or (errorHandler.buildToolDepError "hspec-discover:hspec-discover"))) | ||
]; | ||
buildable = true; | ||
}; | ||
}; | ||
}; | ||
} |
Oops, something went wrong.