mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-29 02:13:23 +00:00
755b915a15
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"[Aa]n?' pkgs \ | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Aa]n? (.)/\1\U\2/'
49 lines
852 B
Nix
49 lines
852 B
Nix
{ lib
|
|
, stdenv
|
|
, fetchFromGitHub
|
|
, autoreconfHook
|
|
, libGL
|
|
, libpng
|
|
, pkg-config
|
|
, xorg
|
|
, file
|
|
, freetype
|
|
, fontconfig
|
|
, alsa-lib
|
|
, 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
|
|
alsa-lib
|
|
libXrender
|
|
];
|
|
|
|
meta = with lib; {
|
|
homepage = "https://github.com/sphair/ClanLib";
|
|
description = "Cross platform toolkit library with a primary focus on game creation";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ nixinator ];
|
|
platforms = [ "x86_64-linux" ];
|
|
};
|
|
}
|