1
+ { system
2
+ , compiler
3
+ , flags
4
+ , pkgs
5
+ , hsPkgs
6
+ , pkgconfPkgs
7
+ , errorHandler
8
+ , config
9
+ , ... } :
10
+ {
11
+ flags = { debug = false ; } ;
12
+ package = {
13
+ specVersion = "1.12" ;
14
+ identifier = { name = "gpu-vulkan-middle" ; version = "0.1.0.70" ; } ;
15
+ license = "BSD-3-Clause" ;
16
+ copyright = "2022 Yoshikuni Jujo" ;
17
+
18
+ author = "Yoshikuni Jujo" ;
19
+ homepage = "https://github.com/YoshikuniJujo/gpu-vulkan-middle#readme" ;
20
+ url = "" ;
21
+ synopsis = "Medium wrapper for Vulkan API" ;
22
+ description = "Please see the README on GitHub at <https://github.com/YoshikuniJujo/gpu-vulkan-middle#readme>" ;
23
+ buildType = "Simple" ;
24
+ } ;
25
+ components = {
26
+ "library" = {
27
+ depends = [
28
+ ( hsPkgs . "base" or ( errorHandler . buildDepError "base" ) )
29
+ ( hsPkgs . "bytestring" or ( errorHandler . buildDepError "bytestring" ) )
30
+ ( hsPkgs . "c-enum" or ( errorHandler . buildDepError "c-enum" ) )
31
+ ( hsPkgs . "containers" or ( errorHandler . buildDepError "containers" ) )
32
+ ( hsPkgs . "data-default" or ( errorHandler . buildDepError "data-default" ) )
33
+ ( hsPkgs . "exception-hierarchy" or ( errorHandler . buildDepError "exception-hierarchy" ) )
34
+ ( hsPkgs . "gpu-vulkan-core" or ( errorHandler . buildDepError "gpu-vulkan-core" ) )
35
+ ( hsPkgs . "hetero-parameter-list" or ( errorHandler . buildDepError "hetero-parameter-list" ) )
36
+ ( hsPkgs . "language-spir-v" or ( errorHandler . buildDepError "language-spir-v" ) )
37
+ ( hsPkgs . "mtl" or ( errorHandler . buildDepError "mtl" ) )
38
+ ( hsPkgs . "mtl-misc-yj" or ( errorHandler . buildDepError "mtl-misc-yj" ) )
39
+ ( hsPkgs . "ranged-list" or ( errorHandler . buildDepError "ranged-list" ) )
40
+ ( hsPkgs . "stm" or ( errorHandler . buildDepError "stm" ) )
41
+ ( hsPkgs . "storable-hetero-list" or ( errorHandler . buildDepError "storable-hetero-list" ) )
42
+ ( hsPkgs . "storable-peek-poke" or ( errorHandler . buildDepError "storable-peek-poke" ) )
43
+ ( hsPkgs . "template-haskell" or ( errorHandler . buildDepError "template-haskell" ) )
44
+ ( hsPkgs . "text" or ( errorHandler . buildDepError "text" ) )
45
+ ( hsPkgs . "text-misc-yj" or ( errorHandler . buildDepError "text-misc-yj" ) )
46
+ ( hsPkgs . "typelevel-tools-yj" or ( errorHandler . buildDepError "typelevel-tools-yj" ) )
47
+ ( hsPkgs . "union-color" or ( errorHandler . buildDepError "union-color" ) )
48
+ ( hsPkgs . "uuid" or ( errorHandler . buildDepError "uuid" ) )
49
+ ] ;
50
+ buildable = true ;
51
+ } ;
52
+ tests = {
53
+ "gpu-vulkan-middle-test" = {
54
+ depends = [
55
+ ( hsPkgs . "base" or ( errorHandler . buildDepError "base" ) )
56
+ ( hsPkgs . "bytestring" or ( errorHandler . buildDepError "bytestring" ) )
57
+ ( hsPkgs . "c-enum" or ( errorHandler . buildDepError "c-enum" ) )
58
+ ( hsPkgs . "containers" or ( errorHandler . buildDepError "containers" ) )
59
+ ( hsPkgs . "data-default" or ( errorHandler . buildDepError "data-default" ) )
60
+ ( hsPkgs . "exception-hierarchy" or ( errorHandler . buildDepError "exception-hierarchy" ) )
61
+ ( hsPkgs . "gpu-vulkan-core" or ( errorHandler . buildDepError "gpu-vulkan-core" ) )
62
+ ( hsPkgs . "gpu-vulkan-middle" or ( errorHandler . buildDepError "gpu-vulkan-middle" ) )
63
+ ( hsPkgs . "hetero-parameter-list" or ( errorHandler . buildDepError "hetero-parameter-list" ) )
64
+ ( hsPkgs . "language-spir-v" or ( errorHandler . buildDepError "language-spir-v" ) )
65
+ ( hsPkgs . "mtl" or ( errorHandler . buildDepError "mtl" ) )
66
+ ( hsPkgs . "mtl-misc-yj" or ( errorHandler . buildDepError "mtl-misc-yj" ) )
67
+ ( hsPkgs . "ranged-list" or ( errorHandler . buildDepError "ranged-list" ) )
68
+ ( hsPkgs . "stm" or ( errorHandler . buildDepError "stm" ) )
69
+ ( hsPkgs . "storable-hetero-list" or ( errorHandler . buildDepError "storable-hetero-list" ) )
70
+ ( hsPkgs . "storable-peek-poke" or ( errorHandler . buildDepError "storable-peek-poke" ) )
71
+ ( hsPkgs . "template-haskell" or ( errorHandler . buildDepError "template-haskell" ) )
72
+ ( hsPkgs . "text" or ( errorHandler . buildDepError "text" ) )
73
+ ( hsPkgs . "text-misc-yj" or ( errorHandler . buildDepError "text-misc-yj" ) )
74
+ ( hsPkgs . "typelevel-tools-yj" or ( errorHandler . buildDepError "typelevel-tools-yj" ) )
75
+ ( hsPkgs . "union-color" or ( errorHandler . buildDepError "union-color" ) )
76
+ ( hsPkgs . "uuid" or ( errorHandler . buildDepError "uuid" ) )
77
+ ] ;
78
+ buildable = true ;
79
+ } ;
80
+ } ;
81
+ } ;
82
+ }
0 commit comments