continuation of #109595 pkgconfig was aliased in 2018, however, it remained in all-packages.nix due to its wide usage. This cleans up the remaining references to pkgs.pkgsconfig and moves the entry to aliases.nix. python3Packages.pkgconfig remained unchanged because it's the canonical name of the upstream package on pypi.
35 lines
740 B
Nix
35 lines
740 B
Nix
{ build-idris-package
|
|
, fetchFromGitHub
|
|
, effects
|
|
, lib
|
|
, pkgs
|
|
}:
|
|
build-idris-package {
|
|
name = "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 ];
|
|
};
|
|
}
|