forked from input-output-hk/hackage.nix
-
Notifications
You must be signed in to change notification settings - Fork 0
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
1 parent
128f8e9
commit 91d1c54
Showing
44 changed files
with
1,749 additions
and
0 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
119 changes: 119 additions & 0 deletions
119
...age/Yampa-0.14.12-r0-0cdab48409b2327dac801214d7b593298bec1b8ce64d4cd0c0b10956f7b641bf.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,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.12"; }; | ||
license = "BSD-3-Clause"; | ||
copyright = ""; | ||
maintainer = "Ivan Perez ([email protected])"; | ||
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; | ||
}; | ||
}; | ||
}; | ||
} |
67 changes: 67 additions & 0 deletions
67
...xtensions-0.2.5.6-r0-a600b95333a94afb421c6815d32c370ac9fc0075470f83de3b99e067a97a21fe.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,67 @@ | ||
{ system | ||
, compiler | ||
, flags | ||
, pkgs | ||
, hsPkgs | ||
, pkgconfPkgs | ||
, errorHandler | ||
, config | ||
, ... }: | ||
{ | ||
flags = {}; | ||
package = { | ||
specVersion = "1.10"; | ||
identifier = { name = "commonmark-extensions"; version = "0.2.5.6"; }; | ||
license = "BSD-3-Clause"; | ||
copyright = "2018-2021 John MacFarlane"; | ||
maintainer = "[email protected]"; | ||
author = "John MacFarlane"; | ||
homepage = "https://github.com/jgm/commonmark-hs"; | ||
url = ""; | ||
synopsis = "Pure Haskell commonmark parser."; | ||
description = "This library provides some useful extensions to core commonmark\nsyntax: smart quotes, definition lists, tables, footnotes, math,\nand more."; | ||
buildType = "Simple"; | ||
}; | ||
components = { | ||
"library" = { | ||
depends = [ | ||
(hsPkgs."base" or (errorHandler.buildDepError "base")) | ||
(hsPkgs."text" or (errorHandler.buildDepError "text")) | ||
(hsPkgs."parsec" or (errorHandler.buildDepError "parsec")) | ||
(hsPkgs."containers" or (errorHandler.buildDepError "containers")) | ||
(hsPkgs."transformers" or (errorHandler.buildDepError "transformers")) | ||
(hsPkgs."filepath" or (errorHandler.buildDepError "filepath")) | ||
(hsPkgs."network-uri" or (errorHandler.buildDepError "network-uri")) | ||
(hsPkgs."commonmark" or (errorHandler.buildDepError "commonmark")) | ||
(hsPkgs."emojis" or (errorHandler.buildDepError "emojis")) | ||
]; | ||
buildable = true; | ||
}; | ||
tests = { | ||
"test-commonmark-extensions" = { | ||
depends = [ | ||
(hsPkgs."base" or (errorHandler.buildDepError "base")) | ||
(hsPkgs."commonmark" or (errorHandler.buildDepError "commonmark")) | ||
(hsPkgs."commonmark-extensions" or (errorHandler.buildDepError "commonmark-extensions")) | ||
(hsPkgs."text" or (errorHandler.buildDepError "text")) | ||
(hsPkgs."tasty" or (errorHandler.buildDepError "tasty")) | ||
(hsPkgs."tasty-hunit" or (errorHandler.buildDepError "tasty-hunit")) | ||
(hsPkgs."parsec" or (errorHandler.buildDepError "parsec")) | ||
]; | ||
buildable = true; | ||
}; | ||
}; | ||
benchmarks = { | ||
"benchmark-commonmark-extensions" = { | ||
depends = [ | ||
(hsPkgs."commonmark" or (errorHandler.buildDepError "commonmark")) | ||
(hsPkgs."commonmark-extensions" or (errorHandler.buildDepError "commonmark-extensions")) | ||
(hsPkgs."base" or (errorHandler.buildDepError "base")) | ||
(hsPkgs."text" or (errorHandler.buildDepError "text")) | ||
(hsPkgs."tasty-bench" or (errorHandler.buildDepError "tasty-bench")) | ||
]; | ||
buildable = true; | ||
}; | ||
}; | ||
}; | ||
} |
37 changes: 37 additions & 0 deletions
37
...rk-pandoc-0.2.2.3-r0-24d6c38573b6400cd3c984c62d9977d9e6d83bb53d50a2cb0bce608a65334f80.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,37 @@ | ||
{ system | ||
, compiler | ||
, flags | ||
, pkgs | ||
, hsPkgs | ||
, pkgconfPkgs | ||
, errorHandler | ||
, config | ||
, ... }: | ||
{ | ||
flags = {}; | ||
package = { | ||
specVersion = "1.10"; | ||
identifier = { name = "commonmark-pandoc"; version = "0.2.2.3"; }; | ||
license = "BSD-3-Clause"; | ||
copyright = "2018-2021 John MacFarlane"; | ||
maintainer = "[email protected]"; | ||
author = "John MacFarlane"; | ||
homepage = "https://github.com/jgm/commonmark-hs"; | ||
url = ""; | ||
synopsis = "Bridge between commonmark and pandoc AST."; | ||
description = "This library provides typeclasses for rendering\ncommonmark to Pandoc types."; | ||
buildType = "Simple"; | ||
}; | ||
components = { | ||
"library" = { | ||
depends = [ | ||
(hsPkgs."base" or (errorHandler.buildDepError "base")) | ||
(hsPkgs."commonmark" or (errorHandler.buildDepError "commonmark")) | ||
(hsPkgs."commonmark-extensions" or (errorHandler.buildDepError "commonmark-extensions")) | ||
(hsPkgs."pandoc-types" or (errorHandler.buildDepError "pandoc-types")) | ||
(hsPkgs."text" or (errorHandler.buildDepError "text")) | ||
]; | ||
buildable = true; | ||
}; | ||
}; | ||
} |
76 changes: 76 additions & 0 deletions
76
...-vulkan-0.1.0.155-r0-61f14fb2627884673077ae49ced49359eaf37206ff2aa0a63220049d0a5e6b13.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,76 @@ | ||
{ system | ||
, compiler | ||
, flags | ||
, pkgs | ||
, hsPkgs | ||
, pkgconfPkgs | ||
, errorHandler | ||
, config | ||
, ... }: | ||
{ | ||
flags = { debug = false; }; | ||
package = { | ||
specVersion = "1.12"; | ||
identifier = { name = "gpu-vulkan"; version = "0.1.0.155"; }; | ||
license = "BSD-3-Clause"; | ||
copyright = "2023 Yoshikuni Jujo"; | ||
maintainer = "[email protected]"; | ||
author = "Yoshikuni Jujo"; | ||
homepage = "https://github.com/YoshikuniJujo/gpu-vulkan#readme"; | ||
url = ""; | ||
synopsis = "Vulkan library"; | ||
description = "Please see the README on GitHub at <https://github.com/YoshikuniJujo/gpu-vulkan#readme>"; | ||
buildType = "Simple"; | ||
}; | ||
components = { | ||
"library" = { | ||
depends = [ | ||
(hsPkgs."base" or (errorHandler.buildDepError "base")) | ||
(hsPkgs."bytestring" or (errorHandler.buildDepError "bytestring")) | ||
(hsPkgs."containers" or (errorHandler.buildDepError "containers")) | ||
(hsPkgs."data-default" or (errorHandler.buildDepError "data-default")) | ||
(hsPkgs."gpu-vulkan-middle" or (errorHandler.buildDepError "gpu-vulkan-middle")) | ||
(hsPkgs."hetero-parameter-list" or (errorHandler.buildDepError "hetero-parameter-list")) | ||
(hsPkgs."hetero-parameter-list-with-typelevel-tools" or (errorHandler.buildDepError "hetero-parameter-list-with-typelevel-tools")) | ||
(hsPkgs."language-spir-v" or (errorHandler.buildDepError "language-spir-v")) | ||
(hsPkgs."mono-traversable" or (errorHandler.buildDepError "mono-traversable")) | ||
(hsPkgs."stm" or (errorHandler.buildDepError "stm")) | ||
(hsPkgs."storable-hetero-list" or (errorHandler.buildDepError "storable-hetero-list")) | ||
(hsPkgs."storable-peek-poke" or (errorHandler.buildDepError "storable-peek-poke")) | ||
(hsPkgs."template-haskell" or (errorHandler.buildDepError "template-haskell")) | ||
(hsPkgs."temporary" or (errorHandler.buildDepError "temporary")) | ||
(hsPkgs."text" or (errorHandler.buildDepError "text")) | ||
(hsPkgs."time" or (errorHandler.buildDepError "time")) | ||
(hsPkgs."tools-yj" or (errorHandler.buildDepError "tools-yj")) | ||
(hsPkgs."typelevel-tools-yj" or (errorHandler.buildDepError "typelevel-tools-yj")) | ||
]; | ||
buildable = true; | ||
}; | ||
tests = { | ||
"gpu-vulkan-test" = { | ||
depends = [ | ||
(hsPkgs."base" or (errorHandler.buildDepError "base")) | ||
(hsPkgs."bytestring" or (errorHandler.buildDepError "bytestring")) | ||
(hsPkgs."containers" or (errorHandler.buildDepError "containers")) | ||
(hsPkgs."data-default" or (errorHandler.buildDepError "data-default")) | ||
(hsPkgs."gpu-vulkan" or (errorHandler.buildDepError "gpu-vulkan")) | ||
(hsPkgs."gpu-vulkan-middle" or (errorHandler.buildDepError "gpu-vulkan-middle")) | ||
(hsPkgs."hetero-parameter-list" or (errorHandler.buildDepError "hetero-parameter-list")) | ||
(hsPkgs."hetero-parameter-list-with-typelevel-tools" or (errorHandler.buildDepError "hetero-parameter-list-with-typelevel-tools")) | ||
(hsPkgs."language-spir-v" or (errorHandler.buildDepError "language-spir-v")) | ||
(hsPkgs."mono-traversable" or (errorHandler.buildDepError "mono-traversable")) | ||
(hsPkgs."stm" or (errorHandler.buildDepError "stm")) | ||
(hsPkgs."storable-hetero-list" or (errorHandler.buildDepError "storable-hetero-list")) | ||
(hsPkgs."storable-peek-poke" or (errorHandler.buildDepError "storable-peek-poke")) | ||
(hsPkgs."template-haskell" or (errorHandler.buildDepError "template-haskell")) | ||
(hsPkgs."temporary" or (errorHandler.buildDepError "temporary")) | ||
(hsPkgs."text" or (errorHandler.buildDepError "text")) | ||
(hsPkgs."time" or (errorHandler.buildDepError "time")) | ||
(hsPkgs."tools-yj" or (errorHandler.buildDepError "tools-yj")) | ||
(hsPkgs."typelevel-tools-yj" or (errorHandler.buildDepError "typelevel-tools-yj")) | ||
]; | ||
buildable = true; | ||
}; | ||
}; | ||
}; | ||
} |
80 changes: 80 additions & 0 deletions
80
...ckage-revdeps-0.1-r0-0f4ad82d1585e4e1f28fa7fef477b74cabdbad6e433baf9679ffcf039fe5e650.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,80 @@ | ||
{ system | ||
, compiler | ||
, flags | ||
, pkgs | ||
, hsPkgs | ||
, pkgconfPkgs | ||
, errorHandler | ||
, config | ||
, ... }: | ||
{ | ||
flags = { cabal-syntax = false; }; | ||
package = { | ||
specVersion = "2.2"; | ||
identifier = { name = "hackage-revdeps"; version = "0.1"; }; | ||
license = "BSD-3-Clause"; | ||
copyright = ""; | ||
maintainer = "[email protected]"; | ||
author = "Bodigrim"; | ||
homepage = ""; | ||
url = ""; | ||
synopsis = "List Hackage reverse dependencies"; | ||
description = "Command-line tool to list Hackage reverse dependencies.\nIt is different from how Hackage itself tracks them:\nthis tool accounts for all package components, including\ntests and benchmarks, and counts dependencies only\nacross the latest releases. The approach is roughly\nequivalent to what <https://packdeps.haskellers.com> used to do."; | ||
buildType = "Simple"; | ||
}; | ||
components = { | ||
"library" = { | ||
depends = [ | ||
(hsPkgs."alfred-margaret" or (errorHandler.buildDepError "alfred-margaret")) | ||
(hsPkgs."base" or (errorHandler.buildDepError "base")) | ||
(hsPkgs."bytestring" or (errorHandler.buildDepError "bytestring")) | ||
(hsPkgs."containers" or (errorHandler.buildDepError "containers")) | ||
(hsPkgs."filepath" or (errorHandler.buildDepError "filepath")) | ||
(hsPkgs."tar" or (errorHandler.buildDepError "tar")) | ||
(hsPkgs."text" or (errorHandler.buildDepError "text")) | ||
(hsPkgs."time" or (errorHandler.buildDepError "time")) | ||
] ++ (if flags.cabal-syntax | ||
then [ | ||
(hsPkgs."Cabal-syntax" or (errorHandler.buildDepError "Cabal-syntax")) | ||
] | ||
else [ (hsPkgs."Cabal" or (errorHandler.buildDepError "Cabal")) ]); | ||
buildable = true; | ||
}; | ||
exes = { | ||
"hackage-revdeps" = { | ||
depends = [ | ||
(hsPkgs."base" or (errorHandler.buildDepError "base")) | ||
(hsPkgs."ansi-terminal" or (errorHandler.buildDepError "ansi-terminal")) | ||
(hsPkgs."bytestring" or (errorHandler.buildDepError "bytestring")) | ||
(hsPkgs."cabal-install-parsers" or (errorHandler.buildDepError "cabal-install-parsers")) | ||
(hsPkgs."containers" or (errorHandler.buildDepError "containers")) | ||
(hsPkgs."hackage-revdeps" or (errorHandler.buildDepError "hackage-revdeps")) | ||
(hsPkgs."optparse-applicative" or (errorHandler.buildDepError "optparse-applicative")) | ||
(hsPkgs."time" or (errorHandler.buildDepError "time")) | ||
] ++ (if flags.cabal-syntax | ||
then [ | ||
(hsPkgs."Cabal-syntax" or (errorHandler.buildDepError "Cabal-syntax")) | ||
] | ||
else [ (hsPkgs."Cabal" or (errorHandler.buildDepError "Cabal")) ]); | ||
buildable = true; | ||
}; | ||
"hackage-revdeps-history" = { | ||
depends = [ | ||
(hsPkgs."base" or (errorHandler.buildDepError "base")) | ||
(hsPkgs."ansi-terminal" or (errorHandler.buildDepError "ansi-terminal")) | ||
(hsPkgs."bytestring" or (errorHandler.buildDepError "bytestring")) | ||
(hsPkgs."cabal-install-parsers" or (errorHandler.buildDepError "cabal-install-parsers")) | ||
(hsPkgs."containers" or (errorHandler.buildDepError "containers")) | ||
(hsPkgs."hackage-revdeps" or (errorHandler.buildDepError "hackage-revdeps")) | ||
(hsPkgs."optparse-applicative" or (errorHandler.buildDepError "optparse-applicative")) | ||
(hsPkgs."time" or (errorHandler.buildDepError "time")) | ||
] ++ (if flags.cabal-syntax | ||
then [ | ||
(hsPkgs."Cabal-syntax" or (errorHandler.buildDepError "Cabal-syntax")) | ||
] | ||
else [ (hsPkgs."Cabal" or (errorHandler.buildDepError "Cabal")) ]); | ||
buildable = true; | ||
}; | ||
}; | ||
}; | ||
} |
Oops, something went wrong.