3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/libraries/clanlib/default.nix
nixinator 11bb46fdc6 clanlib: init at 4.1.0
Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
2021-05-02 18:12:31 -07:00

51 lines
884 B
Nix

{ lib
, stdenv
, fetchFromGitHub
, autoreconfHook
, libGL
, libpng
, pkg-config
, xorg
, file
, freetype
, fontconfig
, xlibsWrapper
, alsaLib
, libXrender
}:
stdenv.mkDerivation rec {
pname = "clanlib";
version = "4.1.0";
src = fetchFromGitHub {
repo = "ClanLib";
owner = "sphair";
rev = "v${version}";
sha256 = "sha256-SVsLWcTP+PCIGDWLkadMpJPj4coLK9dJrW4sc2+HotE=";
};
nativeBuildInputs = [
pkg-config
autoreconfHook
];
buildInputs = [
libGL
libpng
xorg.xorgproto
freetype
fontconfig
xlibsWrapper
alsaLib
libXrender
];
meta = with lib; {
homepage = "https://github.com/sphair/ClanLib";
description = "A cross platform toolkit library with a primary focus on game creation";
license = licenses.mit;
maintainers = with maintainers; [ nixinator ];
platforms = [ "x86_64-linux" ];
};
}