-
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 7, 2024
1 parent
640eaab
commit ecd98fb
Showing
53 changed files
with
2,512 additions
and
8 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
51 changes: 51 additions & 0 deletions
51
...ge/GLFW-b-3.3.9.0-r0-c941f014db49c5519f7f3e221002aafe738dacfcb49156a4d40d643b49467af8.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,51 @@ | ||
{ system | ||
, compiler | ||
, flags | ||
, pkgs | ||
, hsPkgs | ||
, pkgconfPkgs | ||
, errorHandler | ||
, config | ||
, ... }: | ||
{ | ||
flags = {}; | ||
package = { | ||
specVersion = "1.10"; | ||
identifier = { name = "GLFW-b"; version = "3.3.9.0"; }; | ||
license = "BSD-3-Clause"; | ||
copyright = ""; | ||
maintainer = "Brian Lewis <[email protected]>\n, Schell Scivally <[email protected]>\n, Pavel Krajcevski <[email protected]>"; | ||
author = "Brian Lewis <[email protected]>"; | ||
homepage = ""; | ||
url = ""; | ||
synopsis = "Bindings to GLFW OpenGL library"; | ||
description = "Bindings to GLFW (<http://www.glfw.org/>), an open source, multi-platform\nlibrary for creating windows with OpenGL contexts and managing input and\nevents.\n\nGLFW-b depends on bindings-GLFW\n(<http://hackage.haskell.org/package/bindings-GLFW>), which, as of the time\nof this writing, binds to GLFW 3.3.9, released 2023-12-13\n(<http://www.glfw.org/Version-3.3.0-released.html>\n<http://www.glfw.org/changelog.html>).\n\nIf you've used GLFW < 3 before, you should read the transition guide\n(<http://www.glfw.org/docs/3.0/moving.html>)."; | ||
buildType = "Simple"; | ||
}; | ||
components = { | ||
"library" = { | ||
depends = [ | ||
(hsPkgs."base" or (errorHandler.buildDepError "base")) | ||
(hsPkgs."deepseq" or (errorHandler.buildDepError "deepseq")) | ||
(hsPkgs."array" or (errorHandler.buildDepError "array")) | ||
(hsPkgs."bindings-GLFW" or (errorHandler.buildDepError "bindings-GLFW")) | ||
]; | ||
buildable = true; | ||
}; | ||
tests = { | ||
"main" = { | ||
depends = [ | ||
(hsPkgs."GLFW-b" or (errorHandler.buildDepError "GLFW-b")) | ||
(hsPkgs."HUnit" or (errorHandler.buildDepError "HUnit")) | ||
(hsPkgs."base" or (errorHandler.buildDepError "base")) | ||
(hsPkgs."array" or (errorHandler.buildDepError "array")) | ||
(hsPkgs."bindings-GLFW" or (errorHandler.buildDepError "bindings-GLFW")) | ||
(hsPkgs."deepseq" or (errorHandler.buildDepError "deepseq")) | ||
(hsPkgs."test-framework" or (errorHandler.buildDepError "test-framework")) | ||
(hsPkgs."test-framework-hunit" or (errorHandler.buildDepError "test-framework-hunit")) | ||
]; | ||
buildable = true; | ||
}; | ||
}; | ||
}; | ||
} |
35 changes: 35 additions & 0 deletions
35
...e/HSvm-0.1.2.3.25-r0-a64ae18520f5d0724eb9fc48e7758f16709afe569fe78fe33550149f36b1f87a.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.2"; | ||
identifier = { name = "HSvm"; version = "0.1.2.3.25"; }; | ||
license = "BSD-3-Clause"; | ||
copyright = "(c) 2009 Paolo Losi, 2017 Pavel Ryzhov"; | ||
maintainer = "Pavel Ryzhov <[email protected]>"; | ||
author = "Paolo Losi <[email protected]>"; | ||
homepage = ""; | ||
url = ""; | ||
synopsis = "Haskell Bindings for libsvm"; | ||
description = "The library embeds libsvm and provides a type-safe interface into SVM models."; | ||
buildType = "Simple"; | ||
}; | ||
components = { | ||
"library" = { | ||
depends = [ | ||
(hsPkgs."base" or (errorHandler.buildDepError "base")) | ||
(hsPkgs."containers" or (errorHandler.buildDepError "containers")) | ||
]; | ||
libs = [ (pkgs."stdc++" or (errorHandler.sysDepError "stdc++")) ]; | ||
buildable = true; | ||
}; | ||
}; | ||
} |
35 changes: 35 additions & 0 deletions
35
...e/HSvm-0.1.2.3.32-r0-3501332759879f782e7b49d54ba9e596336a155ab471ba3785878ab58e0ef486.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.2"; | ||
identifier = { name = "HSvm"; version = "0.1.2.3.32"; }; | ||
license = "BSD-3-Clause"; | ||
copyright = "(c) 2009 Paolo Losi, 2017 Pavel Ryzhov"; | ||
maintainer = "Pavel Ryzhov <[email protected]>"; | ||
author = "Paolo Losi <[email protected]>"; | ||
homepage = ""; | ||
url = ""; | ||
synopsis = "Haskell Bindings for libsvm"; | ||
description = "The library embeds libsvm and provides a type-safe interface into SVM models."; | ||
buildType = "Simple"; | ||
}; | ||
components = { | ||
"library" = { | ||
depends = [ | ||
(hsPkgs."base" or (errorHandler.buildDepError "base")) | ||
(hsPkgs."containers" or (errorHandler.buildDepError "containers")) | ||
]; | ||
libs = [ (pkgs."stdc++" or (errorHandler.sysDepError "stdc++")) ]; | ||
buildable = true; | ||
}; | ||
}; | ||
} |
35 changes: 35 additions & 0 deletions
35
...age/HSvm-1.0.3.32-r0-e9651262cad4a26633fe2c7499f885ffd32b8b2298e92d753751c73af6e3bb9d.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 = "3.0"; | ||
identifier = { name = "HSvm"; version = "1.0.3.32"; }; | ||
license = "BSD-2-Clause"; | ||
copyright = "(c) 2009 Paolo Losi, 2017 Pavel Ryzhov"; | ||
maintainer = "Pavel Ryzhov <[email protected]>"; | ||
author = "Paolo Losi <[email protected]>"; | ||
homepage = ""; | ||
url = ""; | ||
synopsis = "Haskell Bindings for libsvm"; | ||
description = "The library embeds libsvm and provides a type-safe interface into SVM models."; | ||
buildType = "Simple"; | ||
}; | ||
components = { | ||
"library" = { | ||
depends = [ | ||
(hsPkgs."base" or (errorHandler.buildDepError "base")) | ||
(hsPkgs."containers" or (errorHandler.buildDepError "containers")) | ||
]; | ||
libs = [ (pkgs."stdc++" or (errorHandler.sysDepError "stdc++")) ]; | ||
buildable = true; | ||
}; | ||
}; | ||
} |
35 changes: 35 additions & 0 deletions
35
...age/acquire-0.3.5-r0-50fdfd5d9755703aec92192b39cace1678776173307d65860ad2f912710a0c69.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 = "3.0"; | ||
identifier = { name = "acquire"; version = "0.3.5"; }; | ||
license = "MIT"; | ||
copyright = "(c) 2013 Gabriel Gonzalez, 2018 Metrix.AI, 2020 Nikita Volkov"; | ||
maintainer = "Nikita Volkov <[email protected]>"; | ||
author = "Nikita Volkov <[email protected]>"; | ||
homepage = "https://github.com/metrix-ai/acquire"; | ||
url = ""; | ||
synopsis = "Abstraction over management of resources"; | ||
description = "An implementation of the abstraction suggested in\n<http://www.haskellforall.com/2013/06/the-resource-applicative.html a blog-post by Gabriel Gonzalez>."; | ||
buildType = "Simple"; | ||
}; | ||
components = { | ||
"library" = { | ||
depends = [ | ||
(hsPkgs."base" or (errorHandler.buildDepError "base")) | ||
(hsPkgs."mtl" or (errorHandler.buildDepError "mtl")) | ||
(hsPkgs."transformers" or (errorHandler.buildDepError "transformers")) | ||
]; | ||
buildable = true; | ||
}; | ||
}; | ||
} |
88 changes: 88 additions & 0 deletions
88
...ings-GLFW-3.3.9.0-r0-78f7452c92445cdfcf9f044dd8f2ccc83b4fe71d8f96167b0213f4800d4e8886.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,88 @@ | ||
{ system | ||
, compiler | ||
, flags | ||
, pkgs | ||
, hsPkgs | ||
, pkgconfPkgs | ||
, errorHandler | ||
, config | ||
, ... }: | ||
{ | ||
flags = { | ||
system-glfw = false; | ||
macosxusechdir = true; | ||
macosxusemenubar = true; | ||
macosxuseretina = true; | ||
x = true; | ||
wayland = false; | ||
osmesa = false; | ||
exposenative = false; | ||
}; | ||
package = { | ||
specVersion = "1.10"; | ||
identifier = { name = "bindings-GLFW"; version = "3.3.9.0"; }; | ||
license = "BSD-3-Clause"; | ||
copyright = ""; | ||
maintainer = "Brian Lewis <[email protected]>\n, Schell Scivally <[email protected]>\n, Javier Jaramago <[email protected]>\n, Pavel Krajcevski <[email protected]>"; | ||
author = "Brian Lewis <[email protected]>"; | ||
homepage = ""; | ||
url = ""; | ||
synopsis = "Low-level bindings to GLFW OpenGL library"; | ||
description = "Low-level bindings to GLFW (<http://www.glfw.org/>), an open source,\nmulti-platform library for creating windows with OpenGL contexts and managing\ninput and events.\n\nThe binding is to GLFW 3.3, released 2019-04-15\n(<http://www.glfw.org/Version-3.3-released.html>\n<http://www.glfw.org/changelog.html>).\n\n/These bindings are too low-level for normal use./ For higher-level bindings,\nsee GLFW-b (<http://hackage.haskell.org/package/GLFW-b>).\n\nIf you've used GLFW before, you were probably using 2.7.x. There are some\nsignificant differences in 3.x.x. Please see the transition guide\n(<http://www.glfw.org/docs/3.3/moving.html>)."; | ||
buildType = "Simple"; | ||
}; | ||
components = { | ||
"library" = { | ||
depends = [ | ||
(hsPkgs."base" or (errorHandler.buildDepError "base")) | ||
(hsPkgs."bindings-DSL" or (errorHandler.buildDepError "bindings-DSL")) | ||
]; | ||
libs = (pkgs.lib).optionals (!flags.system-glfw) ((pkgs.lib).optionals (system.isLinux || system.isFreebsd) [ | ||
(pkgs."GL" or (errorHandler.sysDepError "GL")) | ||
(pkgs."X11" or (errorHandler.sysDepError "X11")) | ||
(pkgs."Xi" or (errorHandler.sysDepError "Xi")) | ||
(pkgs."Xrandr" or (errorHandler.sysDepError "Xrandr")) | ||
(pkgs."Xxf86vm" or (errorHandler.sysDepError "Xxf86vm")) | ||
(pkgs."Xcursor" or (errorHandler.sysDepError "Xcursor")) | ||
(pkgs."Xinerama" or (errorHandler.sysDepError "Xinerama")) | ||
(pkgs."pthread" or (errorHandler.sysDepError "pthread")) | ||
] ++ (pkgs.lib).optionals (system.isWindows) [ | ||
(pkgs."opengl32" or (errorHandler.sysDepError "opengl32")) | ||
(pkgs."Gdi32" or (errorHandler.sysDepError "Gdi32")) | ||
]); | ||
frameworks = (pkgs.lib).optionals (!flags.system-glfw) ((pkgs.lib).optionals (system.isOsx) [ | ||
(pkgs."AGL" or (errorHandler.sysDepError "AGL")) | ||
(pkgs."Cocoa" or (errorHandler.sysDepError "Cocoa")) | ||
(pkgs."OpenGL" or (errorHandler.sysDepError "OpenGL")) | ||
(pkgs."IOKit" or (errorHandler.sysDepError "IOKit")) | ||
(pkgs."CoreFoundation" or (errorHandler.sysDepError "CoreFoundation")) | ||
(pkgs."CoreVideo" or (errorHandler.sysDepError "CoreVideo")) | ||
]); | ||
pkgconfig = (pkgs.lib).optional (flags.system-glfw) (pkgconfPkgs."glfw3" or (errorHandler.pkgConfDepError "glfw3")); | ||
build-tools = [ | ||
(hsPkgs.buildPackages.hsc2hs.components.exes.hsc2hs or (pkgs.buildPackages.hsc2hs or (errorHandler.buildToolDepError "hsc2hs:hsc2hs"))) | ||
]; | ||
buildable = true; | ||
}; | ||
tests = { | ||
"main" = { | ||
depends = [ | ||
(hsPkgs."bindings-GLFW" or (errorHandler.buildDepError "bindings-GLFW")) | ||
(hsPkgs."HUnit" or (errorHandler.buildDepError "HUnit")) | ||
(hsPkgs."base" or (errorHandler.buildDepError "base")) | ||
(hsPkgs."test-framework" or (errorHandler.buildDepError "test-framework")) | ||
(hsPkgs."test-framework-hunit" or (errorHandler.buildDepError "test-framework-hunit")) | ||
]; | ||
frameworks = [ | ||
(pkgs."AGL" or (errorHandler.sysDepError "AGL")) | ||
(pkgs."Cocoa" or (errorHandler.sysDepError "Cocoa")) | ||
(pkgs."OpenGL" or (errorHandler.sysDepError "OpenGL")) | ||
(pkgs."IOKit" or (errorHandler.sysDepError "IOKit")) | ||
(pkgs."CoreFoundation" or (errorHandler.sysDepError "CoreFoundation")) | ||
(pkgs."CoreVideo" or (errorHandler.sysDepError "CoreVideo")) | ||
]; | ||
buildable = true; | ||
}; | ||
}; | ||
}; | ||
} |
88 changes: 88 additions & 0 deletions
88
...ings-GLFW-3.3.9.1-r0-4a28ae8d916b85e1a59aa8910c8cf2e416488ff72183011e6646e36b1837fa88.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,88 @@ | ||
{ system | ||
, compiler | ||
, flags | ||
, pkgs | ||
, hsPkgs | ||
, pkgconfPkgs | ||
, errorHandler | ||
, config | ||
, ... }: | ||
{ | ||
flags = { | ||
system-glfw = false; | ||
macosxusechdir = true; | ||
macosxusemenubar = true; | ||
macosxuseretina = true; | ||
x = true; | ||
wayland = false; | ||
osmesa = false; | ||
exposenative = false; | ||
}; | ||
package = { | ||
specVersion = "1.10"; | ||
identifier = { name = "bindings-GLFW"; version = "3.3.9.1"; }; | ||
license = "BSD-3-Clause"; | ||
copyright = ""; | ||
maintainer = "Brian Lewis <[email protected]>\n, Schell Scivally <[email protected]>\n, Javier Jaramago <[email protected]>\n, Pavel Krajcevski <[email protected]>"; | ||
author = "Brian Lewis <[email protected]>"; | ||
homepage = ""; | ||
url = ""; | ||
synopsis = "Low-level bindings to GLFW OpenGL library"; | ||
description = "Low-level bindings to GLFW (<http://www.glfw.org/>), an open source,\nmulti-platform library for creating windows with OpenGL contexts and managing\ninput and events.\n\nThe binding is to GLFW 3.3, released 2019-04-15\n(<http://www.glfw.org/Version-3.3-released.html>\n<http://www.glfw.org/changelog.html>).\n\n/These bindings are too low-level for normal use./ For higher-level bindings,\nsee GLFW-b (<http://hackage.haskell.org/package/GLFW-b>).\n\nIf you've used GLFW before, you were probably using 2.7.x. There are some\nsignificant differences in 3.x.x. Please see the transition guide\n(<http://www.glfw.org/docs/3.3/moving.html>)."; | ||
buildType = "Simple"; | ||
}; | ||
components = { | ||
"library" = { | ||
depends = [ | ||
(hsPkgs."base" or (errorHandler.buildDepError "base")) | ||
(hsPkgs."bindings-DSL" or (errorHandler.buildDepError "bindings-DSL")) | ||
]; | ||
libs = (pkgs.lib).optionals (!flags.system-glfw) ((pkgs.lib).optionals (system.isLinux || system.isFreebsd) [ | ||
(pkgs."GL" or (errorHandler.sysDepError "GL")) | ||
(pkgs."X11" or (errorHandler.sysDepError "X11")) | ||
(pkgs."Xi" or (errorHandler.sysDepError "Xi")) | ||
(pkgs."Xrandr" or (errorHandler.sysDepError "Xrandr")) | ||
(pkgs."Xxf86vm" or (errorHandler.sysDepError "Xxf86vm")) | ||
(pkgs."Xcursor" or (errorHandler.sysDepError "Xcursor")) | ||
(pkgs."Xinerama" or (errorHandler.sysDepError "Xinerama")) | ||
(pkgs."pthread" or (errorHandler.sysDepError "pthread")) | ||
] ++ (pkgs.lib).optionals (system.isWindows) [ | ||
(pkgs."opengl32" or (errorHandler.sysDepError "opengl32")) | ||
(pkgs."Gdi32" or (errorHandler.sysDepError "Gdi32")) | ||
]); | ||
frameworks = (pkgs.lib).optionals (!flags.system-glfw) ((pkgs.lib).optionals (system.isOsx) [ | ||
(pkgs."AGL" or (errorHandler.sysDepError "AGL")) | ||
(pkgs."Cocoa" or (errorHandler.sysDepError "Cocoa")) | ||
(pkgs."OpenGL" or (errorHandler.sysDepError "OpenGL")) | ||
(pkgs."IOKit" or (errorHandler.sysDepError "IOKit")) | ||
(pkgs."CoreFoundation" or (errorHandler.sysDepError "CoreFoundation")) | ||
(pkgs."CoreVideo" or (errorHandler.sysDepError "CoreVideo")) | ||
]); | ||
pkgconfig = (pkgs.lib).optional (flags.system-glfw) (pkgconfPkgs."glfw3" or (errorHandler.pkgConfDepError "glfw3")); | ||
build-tools = [ | ||
(hsPkgs.buildPackages.hsc2hs.components.exes.hsc2hs or (pkgs.buildPackages.hsc2hs or (errorHandler.buildToolDepError "hsc2hs:hsc2hs"))) | ||
]; | ||
buildable = true; | ||
}; | ||
tests = { | ||
"main" = { | ||
depends = [ | ||
(hsPkgs."bindings-GLFW" or (errorHandler.buildDepError "bindings-GLFW")) | ||
(hsPkgs."HUnit" or (errorHandler.buildDepError "HUnit")) | ||
(hsPkgs."base" or (errorHandler.buildDepError "base")) | ||
(hsPkgs."test-framework" or (errorHandler.buildDepError "test-framework")) | ||
(hsPkgs."test-framework-hunit" or (errorHandler.buildDepError "test-framework-hunit")) | ||
]; | ||
frameworks = [ | ||
(pkgs."AGL" or (errorHandler.sysDepError "AGL")) | ||
(pkgs."Cocoa" or (errorHandler.sysDepError "Cocoa")) | ||
(pkgs."OpenGL" or (errorHandler.sysDepError "OpenGL")) | ||
(pkgs."IOKit" or (errorHandler.sysDepError "IOKit")) | ||
(pkgs."CoreFoundation" or (errorHandler.sysDepError "CoreFoundation")) | ||
(pkgs."CoreVideo" or (errorHandler.sysDepError "CoreVideo")) | ||
]; | ||
buildable = true; | ||
}; | ||
}; | ||
}; | ||
} |
Oops, something went wrong.