Merge pull request #2656 from hrdinka/haskell-glfw-b
haskell-glfw-b: add package version 1.4.6
This commit is contained in:
commit
b43bf3d388
17
pkgs/development/libraries/haskell/GLFW-b/default.nix
Normal file
17
pkgs/development/libraries/haskell/GLFW-b/default.nix
Normal file
|
@ -0,0 +1,17 @@
|
|||
{ cabal, bindingsGLFW, HUnit, testFramework, testFrameworkHunit }:
|
||||
|
||||
cabal.mkDerivation (self: {
|
||||
pname = "GLFW-b";
|
||||
version = "1.4.6";
|
||||
sha256 = "1d9vacb9nsf5cqqwxhn49wsfbhmw1263kgimk5qxpqpg1jiy35hy";
|
||||
buildDepends = [ bindingsGLFW ];
|
||||
testDepends = [
|
||||
bindingsGLFW HUnit testFramework testFrameworkHunit
|
||||
];
|
||||
doCheck = false;
|
||||
meta = {
|
||||
description = "Bindings to GLFW OpenGL library";
|
||||
license = self.stdenv.lib.licenses.bsd3;
|
||||
platforms = self.ghc.meta.platforms;
|
||||
};
|
||||
})
|
18
pkgs/development/libraries/haskell/bindings-GLFW/default.nix
Normal file
18
pkgs/development/libraries/haskell/bindings-GLFW/default.nix
Normal file
|
@ -0,0 +1,18 @@
|
|||
{ cabal, bindingsDSL, HUnit, libX11, libXext, libXfixes, libXi, libXrandr, libXxf86vm
|
||||
, mesa, testFramework, testFrameworkHunit
|
||||
}:
|
||||
|
||||
cabal.mkDerivation (self: {
|
||||
pname = "bindings-GLFW";
|
||||
version = "3.0.3.2";
|
||||
sha256 = "1w4y2ha5x678fiyan79jd59mjrkf4q25v8049sj20fbmabgdqla9";
|
||||
buildDepends = [ bindingsDSL ];
|
||||
testDepends = [ HUnit testFramework testFrameworkHunit ];
|
||||
extraLibraries = [ libX11 libXext libXfixes libXi libXrandr libXxf86vm mesa ];
|
||||
doCheck = false;
|
||||
meta = {
|
||||
description = "Low-level bindings to GLFW OpenGL library";
|
||||
license = self.stdenv.lib.licenses.bsd3;
|
||||
platforms = self.ghc.meta.platforms;
|
||||
};
|
||||
})
|
|
@ -236,6 +236,8 @@ self : let callPackage = x : y : modifyPrio (newScope self x y); in
|
|||
|
||||
bindingsDSL = callPackage ../development/libraries/haskell/bindings-DSL {};
|
||||
|
||||
bindingsGLFW = callPackage ../development/libraries/haskell/bindings-GLFW {};
|
||||
|
||||
bindingsLibusb = callPackage ../development/libraries/haskell/bindings-libusb {
|
||||
libusb = pkgs.libusb1;
|
||||
};
|
||||
|
@ -821,6 +823,8 @@ self : let callPackage = x : y : modifyPrio (newScope self x y); in
|
|||
|
||||
GLFW = callPackage ../development/libraries/haskell/GLFW {};
|
||||
|
||||
GLFWb = callPackage ../development/libraries/haskell/GLFW-b {};
|
||||
|
||||
glib = callPackage ../development/libraries/haskell/glib {
|
||||
glib = pkgs.glib;
|
||||
libc = pkgs.stdenv.gcc.libc;
|
||||
|
|
Loading…
Reference in a new issue