-
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
Sep 2, 2024
1 parent
9037fca
commit 77bd073
Showing
34 changed files
with
1,676 additions
and
5 deletions.
There are no files selected for viewing
246 changes: 246 additions & 0 deletions
246
hackage/LPFP-1.1.1-r2-15b23bbb6257eea1bacfb7c77fdba5260a5de126c3826c8add210fc29a290c34.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,246 @@ | ||
{ system | ||
, compiler | ||
, flags | ||
, pkgs | ||
, hsPkgs | ||
, pkgconfPkgs | ||
, errorHandler | ||
, config | ||
, ... }: | ||
{ | ||
flags = {}; | ||
package = { | ||
specVersion = "1.12"; | ||
identifier = { name = "LPFP"; version = "1.1.1"; }; | ||
license = "BSD-3-Clause"; | ||
copyright = "2023 Scott N. Walck"; | ||
maintainer = "[email protected]"; | ||
author = "Scott N. Walck"; | ||
homepage = "https://lpfp.io"; | ||
url = ""; | ||
synopsis = "Code for the book Learn Physics with Functional Programming"; | ||
description = "Haskell code to help the user learn mechanics of one particle,\nmechanics of multiple interacting particles, and electromagnetic theory."; | ||
buildType = "Simple"; | ||
}; | ||
components = { | ||
"library" = { | ||
depends = [ | ||
(hsPkgs."base" or (errorHandler.buildDepError "base")) | ||
(hsPkgs."SpatialMath" or (errorHandler.buildDepError "SpatialMath")) | ||
(hsPkgs."containers" or (errorHandler.buildDepError "containers")) | ||
(hsPkgs."linear" or (errorHandler.buildDepError "linear")) | ||
(hsPkgs."Vis" or (errorHandler.buildDepError "Vis")) | ||
(hsPkgs."diagrams-cairo" or (errorHandler.buildDepError "diagrams-cairo")) | ||
(hsPkgs."diagrams-lib" or (errorHandler.buildDepError "diagrams-lib")) | ||
(hsPkgs."gloss" or (errorHandler.buildDepError "gloss")) | ||
(hsPkgs."gnuplot" or (errorHandler.buildDepError "gnuplot")) | ||
]; | ||
buildable = true; | ||
}; | ||
exes = { | ||
"LPFP-hello" = { | ||
depends = [ | ||
(hsPkgs."LPFP" or (errorHandler.buildDepError "LPFP")) | ||
(hsPkgs."base" or (errorHandler.buildDepError "base")) | ||
]; | ||
buildable = true; | ||
}; | ||
"LPFP-MakeTrajectoryGraph" = { | ||
depends = [ | ||
(hsPkgs."LPFP" or (errorHandler.buildDepError "LPFP")) | ||
(hsPkgs."base" or (errorHandler.buildDepError "base")) | ||
(hsPkgs."gnuplot" or (errorHandler.buildDepError "gnuplot")) | ||
]; | ||
buildable = true; | ||
}; | ||
"LPFP-GlossDisplay" = { | ||
depends = [ | ||
(hsPkgs."LPFP" or (errorHandler.buildDepError "LPFP")) | ||
(hsPkgs."base" or (errorHandler.buildDepError "base")) | ||
(hsPkgs."gloss" or (errorHandler.buildDepError "gloss")) | ||
]; | ||
buildable = true; | ||
}; | ||
"LPFP-GlossDisplay2" = { | ||
depends = [ | ||
(hsPkgs."LPFP" or (errorHandler.buildDepError "LPFP")) | ||
(hsPkgs."base" or (errorHandler.buildDepError "base")) | ||
(hsPkgs."gloss" or (errorHandler.buildDepError "gloss")) | ||
]; | ||
buildable = true; | ||
}; | ||
"LPFP-GlossAnimate" = { | ||
depends = [ | ||
(hsPkgs."LPFP" or (errorHandler.buildDepError "LPFP")) | ||
(hsPkgs."base" or (errorHandler.buildDepError "base")) | ||
(hsPkgs."gloss" or (errorHandler.buildDepError "gloss")) | ||
]; | ||
buildable = true; | ||
}; | ||
"LPFP-GlossSimulate" = { | ||
depends = [ | ||
(hsPkgs."LPFP" or (errorHandler.buildDepError "LPFP")) | ||
(hsPkgs."base" or (errorHandler.buildDepError "base")) | ||
(hsPkgs."gloss" or (errorHandler.buildDepError "gloss")) | ||
]; | ||
buildable = true; | ||
}; | ||
"LPFP-GlossSimulate2" = { | ||
depends = [ | ||
(hsPkgs."LPFP" or (errorHandler.buildDepError "LPFP")) | ||
(hsPkgs."base" or (errorHandler.buildDepError "base")) | ||
(hsPkgs."gloss" or (errorHandler.buildDepError "gloss")) | ||
]; | ||
buildable = true; | ||
}; | ||
"LPFP-VisDisplay" = { | ||
depends = [ | ||
(hsPkgs."LPFP" or (errorHandler.buildDepError "LPFP")) | ||
(hsPkgs."base" or (errorHandler.buildDepError "base")) | ||
(hsPkgs."Vis" or (errorHandler.buildDepError "Vis")) | ||
]; | ||
buildable = true; | ||
}; | ||
"LPFP-VisDisplay2" = { | ||
depends = [ | ||
(hsPkgs."LPFP" or (errorHandler.buildDepError "LPFP")) | ||
(hsPkgs."base" or (errorHandler.buildDepError "base")) | ||
(hsPkgs."Vis" or (errorHandler.buildDepError "Vis")) | ||
(hsPkgs."linear" or (errorHandler.buildDepError "linear")) | ||
]; | ||
buildable = true; | ||
}; | ||
"LPFP-VisDisplay3" = { | ||
depends = [ | ||
(hsPkgs."LPFP" or (errorHandler.buildDepError "LPFP")) | ||
(hsPkgs."base" or (errorHandler.buildDepError "base")) | ||
(hsPkgs."Vis" or (errorHandler.buildDepError "Vis")) | ||
(hsPkgs."linear" or (errorHandler.buildDepError "linear")) | ||
(hsPkgs."SpatialMath" or (errorHandler.buildDepError "SpatialMath")) | ||
]; | ||
buildable = true; | ||
}; | ||
"LPFP-VisAnimate" = { | ||
depends = [ | ||
(hsPkgs."LPFP" or (errorHandler.buildDepError "LPFP")) | ||
(hsPkgs."base" or (errorHandler.buildDepError "base")) | ||
(hsPkgs."Vis" or (errorHandler.buildDepError "Vis")) | ||
(hsPkgs."SpatialMath" or (errorHandler.buildDepError "SpatialMath")) | ||
]; | ||
buildable = true; | ||
}; | ||
"LPFP-VisSimulate" = { | ||
depends = [ | ||
(hsPkgs."LPFP" or (errorHandler.buildDepError "LPFP")) | ||
(hsPkgs."base" or (errorHandler.buildDepError "base")) | ||
(hsPkgs."Vis" or (errorHandler.buildDepError "Vis")) | ||
]; | ||
buildable = true; | ||
}; | ||
"LPFP-GlossHalley" = { | ||
depends = [ | ||
(hsPkgs."LPFP" or (errorHandler.buildDepError "LPFP")) | ||
(hsPkgs."base" or (errorHandler.buildDepError "base")) | ||
(hsPkgs."gloss" or (errorHandler.buildDepError "gloss")) | ||
]; | ||
buildable = true; | ||
}; | ||
"LPFP-GlossProjectile" = { | ||
depends = [ | ||
(hsPkgs."LPFP" or (errorHandler.buildDepError "LPFP")) | ||
(hsPkgs."base" or (errorHandler.buildDepError "base")) | ||
(hsPkgs."gloss" or (errorHandler.buildDepError "gloss")) | ||
]; | ||
buildable = true; | ||
}; | ||
"LPFP-VisProjectile" = { | ||
depends = [ | ||
(hsPkgs."LPFP" or (errorHandler.buildDepError "LPFP")) | ||
(hsPkgs."base" or (errorHandler.buildDepError "base")) | ||
(hsPkgs."Vis" or (errorHandler.buildDepError "Vis")) | ||
]; | ||
buildable = true; | ||
}; | ||
"LPFP-Mech3Proton" = { | ||
depends = [ | ||
(hsPkgs."LPFP" or (errorHandler.buildDepError "LPFP")) | ||
(hsPkgs."base" or (errorHandler.buildDepError "base")) | ||
(hsPkgs."gloss" or (errorHandler.buildDepError "gloss")) | ||
]; | ||
buildable = true; | ||
}; | ||
"LPFP-GlossProton" = { | ||
depends = [ | ||
(hsPkgs."LPFP" or (errorHandler.buildDepError "LPFP")) | ||
(hsPkgs."base" or (errorHandler.buildDepError "base")) | ||
(hsPkgs."gloss" or (errorHandler.buildDepError "gloss")) | ||
]; | ||
buildable = true; | ||
}; | ||
"LPFP-VisTwoSprings" = { | ||
depends = [ | ||
(hsPkgs."LPFP" or (errorHandler.buildDepError "LPFP")) | ||
(hsPkgs."base" or (errorHandler.buildDepError "base")) | ||
(hsPkgs."Vis" or (errorHandler.buildDepError "Vis")) | ||
]; | ||
buildable = true; | ||
}; | ||
"LPFP-GlossBilliard" = { | ||
depends = [ | ||
(hsPkgs."LPFP" or (errorHandler.buildDepError "LPFP")) | ||
(hsPkgs."base" or (errorHandler.buildDepError "base")) | ||
(hsPkgs."gloss" or (errorHandler.buildDepError "gloss")) | ||
]; | ||
buildable = true; | ||
}; | ||
"LPFP-GlossWave" = { | ||
depends = [ | ||
(hsPkgs."LPFP" or (errorHandler.buildDepError "LPFP")) | ||
(hsPkgs."base" or (errorHandler.buildDepError "base")) | ||
(hsPkgs."gloss" or (errorHandler.buildDepError "gloss")) | ||
]; | ||
buildable = true; | ||
}; | ||
"LPFP-GnuplotWave" = { | ||
depends = [ | ||
(hsPkgs."LPFP" or (errorHandler.buildDepError "LPFP")) | ||
(hsPkgs."base" or (errorHandler.buildDepError "base")) | ||
(hsPkgs."gnuplot" or (errorHandler.buildDepError "gnuplot")) | ||
]; | ||
buildable = true; | ||
}; | ||
"LPFP-GlossBilliardAnimate" = { | ||
depends = [ | ||
(hsPkgs."LPFP" or (errorHandler.buildDepError "LPFP")) | ||
(hsPkgs."base" or (errorHandler.buildDepError "base")) | ||
]; | ||
buildable = true; | ||
}; | ||
"LPFP-ProtonEB" = { | ||
depends = [ | ||
(hsPkgs."LPFP" or (errorHandler.buildDepError "LPFP")) | ||
(hsPkgs."base" or (errorHandler.buildDepError "base")) | ||
(hsPkgs."Vis" or (errorHandler.buildDepError "Vis")) | ||
]; | ||
buildable = true; | ||
}; | ||
"LPFP-Hydrogen" = { | ||
depends = [ | ||
(hsPkgs."LPFP" or (errorHandler.buildDepError "LPFP")) | ||
(hsPkgs."base" or (errorHandler.buildDepError "base")) | ||
(hsPkgs."Vis" or (errorHandler.buildDepError "Vis")) | ||
]; | ||
buildable = true; | ||
}; | ||
"LPFP-ElectricWave" = { | ||
depends = [ | ||
(hsPkgs."LPFP" or (errorHandler.buildDepError "LPFP")) | ||
(hsPkgs."base" or (errorHandler.buildDepError "base")) | ||
(hsPkgs."diagrams-cairo" or (errorHandler.buildDepError "diagrams-cairo")) | ||
(hsPkgs."diagrams-lib" or (errorHandler.buildDepError "diagrams-lib")) | ||
]; | ||
buildable = true; | ||
}; | ||
}; | ||
}; | ||
} |
113 changes: 113 additions & 0 deletions
113
...age/aeson-2.2.3.0-r2-011fa2d67d7a821aa5ec5c825adc919bb067d42dde8fac7c6e5db23239a58866.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 = { ordered-keymap = true; }; | ||
package = { | ||
specVersion = "2.2"; | ||
identifier = { name = "aeson"; version = "2.2.3.0"; }; | ||
license = "BSD-3-Clause"; | ||
copyright = "(c) 2011-2016 Bryan O'Sullivan\n(c) 2011 MailRank, Inc."; | ||
maintainer = "Adam Bergmark <[email protected]>"; | ||
author = "Bryan O'Sullivan <[email protected]>"; | ||
homepage = "https://github.com/haskell/aeson"; | ||
url = ""; | ||
synopsis = "Fast JSON parsing and encoding"; | ||
description = "A JSON parsing and encoding library optimized for ease of use\nand high performance.\n\nTo get started, see the documentation for the @Data.Aeson@ module\nbelow.\n\n(A note on naming: in Greek mythology, Aeson was the father of Jason.)"; | ||
buildType = "Simple"; | ||
}; | ||
components = { | ||
"library" = { | ||
depends = [ | ||
(hsPkgs."base" or (errorHandler.buildDepError "base")) | ||
(hsPkgs."bytestring" or (errorHandler.buildDepError "bytestring")) | ||
(hsPkgs."containers" or (errorHandler.buildDepError "containers")) | ||
(hsPkgs."deepseq" or (errorHandler.buildDepError "deepseq")) | ||
(hsPkgs."exceptions" or (errorHandler.buildDepError "exceptions")) | ||
(hsPkgs."ghc-prim" or (errorHandler.buildDepError "ghc-prim")) | ||
(hsPkgs."template-haskell" or (errorHandler.buildDepError "template-haskell")) | ||
(hsPkgs."text" or (errorHandler.buildDepError "text")) | ||
(hsPkgs."time" or (errorHandler.buildDepError "time")) | ||
(hsPkgs."generically" or (errorHandler.buildDepError "generically")) | ||
(hsPkgs."time-compat" or (errorHandler.buildDepError "time-compat")) | ||
(hsPkgs."character-ps" or (errorHandler.buildDepError "character-ps")) | ||
(hsPkgs."data-fix" or (errorHandler.buildDepError "data-fix")) | ||
(hsPkgs."dlist" or (errorHandler.buildDepError "dlist")) | ||
(hsPkgs."hashable" or (errorHandler.buildDepError "hashable")) | ||
(hsPkgs."indexed-traversable" or (errorHandler.buildDepError "indexed-traversable")) | ||
(hsPkgs."integer-conversion" or (errorHandler.buildDepError "integer-conversion")) | ||
(hsPkgs."integer-logarithms" or (errorHandler.buildDepError "integer-logarithms")) | ||
(hsPkgs."network-uri" or (errorHandler.buildDepError "network-uri")) | ||
(hsPkgs."OneTuple" or (errorHandler.buildDepError "OneTuple")) | ||
(hsPkgs."primitive" or (errorHandler.buildDepError "primitive")) | ||
(hsPkgs."QuickCheck" or (errorHandler.buildDepError "QuickCheck")) | ||
(hsPkgs."scientific" or (errorHandler.buildDepError "scientific")) | ||
(hsPkgs."semialign" or (errorHandler.buildDepError "semialign")) | ||
(hsPkgs."strict" or (errorHandler.buildDepError "strict")) | ||
(hsPkgs."tagged" or (errorHandler.buildDepError "tagged")) | ||
(hsPkgs."text-iso8601" or (errorHandler.buildDepError "text-iso8601")) | ||
(hsPkgs."text-short" or (errorHandler.buildDepError "text-short")) | ||
(hsPkgs."th-abstraction" or (errorHandler.buildDepError "th-abstraction")) | ||
(hsPkgs."these" or (errorHandler.buildDepError "these")) | ||
(hsPkgs."unordered-containers" or (errorHandler.buildDepError "unordered-containers")) | ||
(hsPkgs."uuid-types" or (errorHandler.buildDepError "uuid-types")) | ||
(hsPkgs."vector" or (errorHandler.buildDepError "vector")) | ||
(hsPkgs."witherable" or (errorHandler.buildDepError "witherable")) | ||
] ++ pkgs.lib.optional (!(compiler.isGhc && compiler.version.ge "9.0")) (hsPkgs."integer-gmp" or (errorHandler.buildDepError "integer-gmp")); | ||
buildable = true; | ||
}; | ||
tests = { | ||
"aeson-tests" = { | ||
depends = ([ | ||
(hsPkgs."aeson" or (errorHandler.buildDepError "aeson")) | ||
(hsPkgs."base" or (errorHandler.buildDepError "base")) | ||
(hsPkgs."base-compat" or (errorHandler.buildDepError "base-compat")) | ||
(hsPkgs."base-orphans" or (errorHandler.buildDepError "base-orphans")) | ||
(hsPkgs."base16-bytestring" or (errorHandler.buildDepError "base16-bytestring")) | ||
(hsPkgs."bytestring" or (errorHandler.buildDepError "bytestring")) | ||
(hsPkgs."containers" or (errorHandler.buildDepError "containers")) | ||
(hsPkgs."data-fix" or (errorHandler.buildDepError "data-fix")) | ||
(hsPkgs."deepseq" or (errorHandler.buildDepError "deepseq")) | ||
(hsPkgs."Diff" or (errorHandler.buildDepError "Diff")) | ||
(hsPkgs."directory" or (errorHandler.buildDepError "directory")) | ||
(hsPkgs."dlist" or (errorHandler.buildDepError "dlist")) | ||
(hsPkgs."filepath" or (errorHandler.buildDepError "filepath")) | ||
(hsPkgs."generic-deriving" or (errorHandler.buildDepError "generic-deriving")) | ||
(hsPkgs."generically" or (errorHandler.buildDepError "generically")) | ||
(hsPkgs."ghc-prim" or (errorHandler.buildDepError "ghc-prim")) | ||
(hsPkgs."hashable" or (errorHandler.buildDepError "hashable")) | ||
(hsPkgs."indexed-traversable" or (errorHandler.buildDepError "indexed-traversable")) | ||
(hsPkgs."integer-logarithms" or (errorHandler.buildDepError "integer-logarithms")) | ||
(hsPkgs."network-uri" or (errorHandler.buildDepError "network-uri")) | ||
(hsPkgs."OneTuple" or (errorHandler.buildDepError "OneTuple")) | ||
(hsPkgs."primitive" or (errorHandler.buildDepError "primitive")) | ||
(hsPkgs."QuickCheck" or (errorHandler.buildDepError "QuickCheck")) | ||
(hsPkgs."quickcheck-instances" or (errorHandler.buildDepError "quickcheck-instances")) | ||
(hsPkgs."scientific" or (errorHandler.buildDepError "scientific")) | ||
(hsPkgs."strict" or (errorHandler.buildDepError "strict")) | ||
(hsPkgs."tagged" or (errorHandler.buildDepError "tagged")) | ||
(hsPkgs."tasty" or (errorHandler.buildDepError "tasty")) | ||
(hsPkgs."tasty-golden" or (errorHandler.buildDepError "tasty-golden")) | ||
(hsPkgs."tasty-hunit" or (errorHandler.buildDepError "tasty-hunit")) | ||
(hsPkgs."tasty-quickcheck" or (errorHandler.buildDepError "tasty-quickcheck")) | ||
(hsPkgs."template-haskell" or (errorHandler.buildDepError "template-haskell")) | ||
(hsPkgs."text" or (errorHandler.buildDepError "text")) | ||
(hsPkgs."text-short" or (errorHandler.buildDepError "text-short")) | ||
(hsPkgs."these" or (errorHandler.buildDepError "these")) | ||
(hsPkgs."time" or (errorHandler.buildDepError "time")) | ||
(hsPkgs."time-compat" or (errorHandler.buildDepError "time-compat")) | ||
(hsPkgs."unordered-containers" or (errorHandler.buildDepError "unordered-containers")) | ||
(hsPkgs."uuid-types" or (errorHandler.buildDepError "uuid-types")) | ||
(hsPkgs."vector" or (errorHandler.buildDepError "vector")) | ||
] ++ pkgs.lib.optional (!(compiler.isGhc && compiler.version.ge "9.0")) (hsPkgs."integer-gmp" or (errorHandler.buildDepError "integer-gmp"))) ++ pkgs.lib.optional (compiler.isGhc && (compiler.version.ge "9.2" && compiler.version.lt "9.7")) (hsPkgs."nothunks" or (errorHandler.buildDepError "nothunks")); | ||
buildable = true; | ||
}; | ||
}; | ||
}; | ||
} |
Oops, something went wrong.