blob: f67b65bb71f7d729bafa325a84873e055dff4f64 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
{ build-idris-package
, fetchFromGitHub
, effects
, lib
, pkgs
}:
build-idris-package {
pname = "glfw";
version = "2016-12-05";
idrisDeps = [ effects ];
nativeBuildInputs = [ pkgs.pkg-config ];
extraBuildInputs = [ pkgs.glfw ];
postPatch = ''
substituteInPlace src/MakefileGlfw \
--replace glfw3 "glfw3 gl"
'';
src = fetchFromGitHub {
owner = "eckart";
repo = "glfw-idris";
rev = "10220a734b69f3b884683041a1a9c533800b663a";
sha256 = "045ylaj66g5m4syzhqxlaxmivy8y7jznkcf1y7w4awa4y5znyqqd";
};
meta = {
description = "GLFW bindings for Idris";
homepage = "https://github.com/eckart/glfw-idris";
license = lib.licenses.mit;
maintainers = [ lib.maintainers.brainrape ];
};
}
|