Skip to content

Commit

Permalink
Automatic Update
Browse files Browse the repository at this point in the history
  • Loading branch information
IOHK committed Aug 9, 2024
1 parent eb1bd3b commit f318344
Show file tree
Hide file tree
Showing 26 changed files with 1,413 additions and 5 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,119 @@
{ system
, compiler
, flags
, pkgs
, hsPkgs
, pkgconfPkgs
, errorHandler
, config
, ... }:
{
flags = {
test-hlint = false;
test-doc-coverage = false;
examples = false;
expose-core = false;
};
package = {
specVersion = "1.10";
identifier = { name = "Yampa"; version = "0.14.10"; };
license = "BSD-3-Clause";
copyright = "";
maintainer = "Ivan Perez (ivan.perez@keera.co.uk)";
author = "Henrik Nilsson, Antony Courtney";
homepage = "https://github.com/ivanperez-keera/Yampa/";
url = "";
synopsis = "Elegant Functional Reactive Programming Language for Hybrid Systems";
description = "Domain-specific language embedded in Haskell for programming hybrid (mixed\ndiscrete-time and continuous-time) systems. Yampa is based on the concepts of\nFunctional Reactive Programming (FRP).";
buildType = "Simple";
};
components = {
"library" = {
depends = [
(hsPkgs."base" or (errorHandler.buildDepError "base"))
(hsPkgs."deepseq" or (errorHandler.buildDepError "deepseq"))
(hsPkgs."random" or (errorHandler.buildDepError "random"))
(hsPkgs."simple-affine-space" or (errorHandler.buildDepError "simple-affine-space"))
] ++ pkgs.lib.optional (!(compiler.isGhc && compiler.version.ge "8.0")) (hsPkgs."fail" or (errorHandler.buildDepError "fail"));
buildable = true;
};
exes = {
"yampa-examples-sdl-bouncingbox" = {
depends = pkgs.lib.optionals (flags.examples) [
(hsPkgs."base" or (errorHandler.buildDepError "base"))
(hsPkgs."deepseq" or (errorHandler.buildDepError "deepseq"))
(hsPkgs."random" or (errorHandler.buildDepError "random"))
(hsPkgs."SDL" or (errorHandler.buildDepError "SDL"))
(hsPkgs."Yampa" or (errorHandler.buildDepError "Yampa"))
];
buildable = if flags.examples then true else false;
};
"yampa-examples-sdl-circlingmouse" = {
depends = pkgs.lib.optionals (flags.examples) [
(hsPkgs."base" or (errorHandler.buildDepError "base"))
(hsPkgs."deepseq" or (errorHandler.buildDepError "deepseq"))
(hsPkgs."random" or (errorHandler.buildDepError "random"))
(hsPkgs."SDL" or (errorHandler.buildDepError "SDL"))
(hsPkgs."Yampa" or (errorHandler.buildDepError "Yampa"))
];
buildable = if flags.examples then true else false;
};
"yampa-examples-sdl-wiimote" = {
depends = pkgs.lib.optionals (flags.examples) [
(hsPkgs."base" or (errorHandler.buildDepError "base"))
(hsPkgs."deepseq" or (errorHandler.buildDepError "deepseq"))
(hsPkgs."hcwiid" or (errorHandler.buildDepError "hcwiid"))
(hsPkgs."random" or (errorHandler.buildDepError "random"))
(hsPkgs."SDL" or (errorHandler.buildDepError "SDL"))
(hsPkgs."Yampa" or (errorHandler.buildDepError "Yampa"))
];
buildable = if flags.examples then true else false;
};
"yampa-examples-elevator" = {
depends = pkgs.lib.optionals (flags.examples) [
(hsPkgs."base" or (errorHandler.buildDepError "base"))
(hsPkgs."Yampa" or (errorHandler.buildDepError "Yampa"))
];
buildable = if flags.examples then true else false;
};
"yampa-examples-tailgatingdetector" = {
depends = pkgs.lib.optionals (flags.examples) [
(hsPkgs."base" or (errorHandler.buildDepError "base"))
(hsPkgs."Yampa" or (errorHandler.buildDepError "Yampa"))
];
buildable = if flags.examples then true else false;
};
};
tests = {
"hlint" = {
depends = pkgs.lib.optionals (!!flags.test-hlint) [
(hsPkgs."base" or (errorHandler.buildDepError "base"))
(hsPkgs."hlint" or (errorHandler.buildDepError "hlint"))
];
buildable = if !flags.test-hlint then false else true;
};
"haddock-coverage" = {
depends = pkgs.lib.optionals (!!flags.test-doc-coverage) [
(hsPkgs."base" or (errorHandler.buildDepError "base"))
(hsPkgs."directory" or (errorHandler.buildDepError "directory"))
(hsPkgs."filepath" or (errorHandler.buildDepError "filepath"))
(hsPkgs."process" or (errorHandler.buildDepError "process"))
(hsPkgs."regex-posix" or (errorHandler.buildDepError "regex-posix"))
];
buildable = if !flags.test-doc-coverage then false else true;
};
};
benchmarks = {
"yampa-bench" = {
depends = [
(hsPkgs."base" or (errorHandler.buildDepError "base"))
(hsPkgs."criterion" or (errorHandler.buildDepError "criterion"))
(hsPkgs."filepath" or (errorHandler.buildDepError "filepath"))
(hsPkgs."time" or (errorHandler.buildDepError "time"))
(hsPkgs."Yampa" or (errorHandler.buildDepError "Yampa"))
];
buildable = true;
};
};
};
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,113 @@
{ system
, compiler
, flags
, pkgs
, hsPkgs
, pkgconfPkgs
, errorHandler
, config
, ... }:
{
flags = { os-string = false; };
package = {
specVersion = "2.4";
identifier = { name = "file-io"; version = "0.1.3"; };
license = "BSD-3-Clause";
copyright = "Julian Ospald 2022";
maintainer = "hasufell@posteo.de";
author = "Julian Ospald";
homepage = "https://github.com/hasufell/file-io";
url = "";
synopsis = "Basic file IO operations via 'OsPath'";
description = "Basic file IO operations like Prelude, but for 'OsPath'.";
buildType = "Simple";
};
components = {
"library" = {
depends = ([
(hsPkgs."base" or (errorHandler.buildDepError "base"))
(hsPkgs."bytestring" or (errorHandler.buildDepError "bytestring"))
(hsPkgs."deepseq" or (errorHandler.buildDepError "deepseq"))
] ++ (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 = {
"T15" = {
depends = [
(hsPkgs."base" or (errorHandler.buildDepError "base"))
(hsPkgs."tasty" or (errorHandler.buildDepError "tasty"))
(hsPkgs."tasty-hunit" or (errorHandler.buildDepError "tasty-hunit"))
(hsPkgs."file-io" or (errorHandler.buildDepError "file-io"))
(hsPkgs."filepath" or (errorHandler.buildDepError "filepath"))
(hsPkgs."temporary" or (errorHandler.buildDepError "temporary"))
] ++ pkgs.lib.optional (system.isWindows) (hsPkgs."Win32" or (errorHandler.buildDepError "Win32"));
buildable = true;
};
"T15Win" = {
depends = if system.isWindows
then [
(hsPkgs."base" or (errorHandler.buildDepError "base"))
(hsPkgs."tasty" or (errorHandler.buildDepError "tasty"))
(hsPkgs."tasty-hunit" or (errorHandler.buildDepError "tasty-hunit"))
(hsPkgs."file-io" or (errorHandler.buildDepError "file-io"))
(hsPkgs."filepath" or (errorHandler.buildDepError "filepath"))
(hsPkgs."temporary" or (errorHandler.buildDepError "temporary"))
(hsPkgs."Win32" or (errorHandler.buildDepError "Win32"))
]
else [ (hsPkgs."base" or (errorHandler.buildDepError "base")) ];
buildable = true;
};
"T14" = {
depends = [
(hsPkgs."base" or (errorHandler.buildDepError "base"))
(hsPkgs."file-io" or (errorHandler.buildDepError "file-io"))
(hsPkgs."filepath" or (errorHandler.buildDepError "filepath"))
(hsPkgs."temporary" or (errorHandler.buildDepError "temporary"))
];
buildable = true;
};
"T8" = {
depends = [
(hsPkgs."base" or (errorHandler.buildDepError "base"))
(hsPkgs."bytestring" or (errorHandler.buildDepError "bytestring"))
(hsPkgs."file-io" or (errorHandler.buildDepError "file-io"))
(hsPkgs."filepath" or (errorHandler.buildDepError "filepath"))
(hsPkgs."temporary" or (errorHandler.buildDepError "temporary"))
];
buildable = true;
};
"CLC237" = {
depends = [
(hsPkgs."base" or (errorHandler.buildDepError "base"))
(hsPkgs."file-io" or (errorHandler.buildDepError "file-io"))
(hsPkgs."filepath" or (errorHandler.buildDepError "filepath"))
(hsPkgs."temporary" or (errorHandler.buildDepError "temporary"))
];
buildable = true;
};
"Properties" = {
depends = [
(hsPkgs."base" or (errorHandler.buildDepError "base"))
(hsPkgs."bytestring" or (errorHandler.buildDepError "bytestring"))
(hsPkgs."tasty" or (errorHandler.buildDepError "tasty"))
(hsPkgs."tasty-hunit" or (errorHandler.buildDepError "tasty-hunit"))
(hsPkgs."file-io" or (errorHandler.buildDepError "file-io"))
(hsPkgs."filepath" or (errorHandler.buildDepError "filepath"))
(hsPkgs."temporary" or (errorHandler.buildDepError "temporary"))
];
buildable = true;
};
};
};
}
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 = "2.4";
identifier = { name = "ghc-tags"; version = "1.6"; };
license = "MPL-2.0";
copyright = "(c) 2021, Andrzej Rybczak";
maintainer = "andrzej@rybczak.net";
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.4" && compiler.version.lt "9.5"))
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;
};
};
};
}
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 = "2.4";
identifier = { name = "ghc-tags"; version = "1.7"; };
license = "MPL-2.0";
copyright = "(c) 2021, Andrzej Rybczak";
maintainer = "andrzej@rybczak.net";
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.6" && compiler.version.lt "9.7"))
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;
};
};
};
}
Loading

0 comments on commit f318344

Please sign in to comment.