csfml: init at 2.4 (#33000)
This commit is contained in:
parent
d54384bb80
commit
e9886dde9b
@ -325,6 +325,7 @@
|
|||||||
joko = "Ioannis Koutras <ioannis.koutras@gmail.com>";
|
joko = "Ioannis Koutras <ioannis.koutras@gmail.com>";
|
||||||
jonafato = "Jon Banafato <jon@jonafato.com>";
|
jonafato = "Jon Banafato <jon@jonafato.com>";
|
||||||
joncojonathan = "Jonathan Haddock <joncojonathan@gmail.com>";
|
joncojonathan = "Jonathan Haddock <joncojonathan@gmail.com>";
|
||||||
|
jpdoyle = "Joe Doyle <joethedoyle@gmail.com>";
|
||||||
jpierre03 = "Jean-Pierre PRUNARET <nix@prunetwork.fr>";
|
jpierre03 = "Jean-Pierre PRUNARET <nix@prunetwork.fr>";
|
||||||
jpotier = "Martin Potier <jpo.contributes.to.nixos@marvid.fr>";
|
jpotier = "Martin Potier <jpo.contributes.to.nixos@marvid.fr>";
|
||||||
jraygauthier = "Raymond Gauthier <jraygauthier@gmail.com>";
|
jraygauthier = "Raymond Gauthier <jraygauthier@gmail.com>";
|
||||||
|
31
pkgs/development/libraries/csfml/default.nix
Normal file
31
pkgs/development/libraries/csfml/default.nix
Normal file
@ -0,0 +1,31 @@
|
|||||||
|
{ stdenv, fetchFromGitHub, cmake, sfml }:
|
||||||
|
|
||||||
|
let
|
||||||
|
version = "2.4";
|
||||||
|
in
|
||||||
|
|
||||||
|
stdenv.mkDerivation {
|
||||||
|
name = "csfml-${version}";
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "SFML";
|
||||||
|
repo = "CSFML";
|
||||||
|
rev = "b5facb85d13bff451a5fd2d088a97472a685576c";
|
||||||
|
sha256 = "1q716gd7c7jlxzwpq5z4rjj5lsrn71ql2djphccdf9jannllqizn";
|
||||||
|
};
|
||||||
|
buildInputs = [ cmake sfml ];
|
||||||
|
cmakeFlags = [ "-DCMAKE_MODULE_PATH=${sfml}/share/SFML/cmake/Modules/" ];
|
||||||
|
|
||||||
|
meta = with stdenv.lib; {
|
||||||
|
homepage = http://www.sfml-dev.org/;
|
||||||
|
description = "Simple and fast multimedia library";
|
||||||
|
longDescription = ''
|
||||||
|
SFML is a simple, fast, cross-platform and object-oriented multimedia API.
|
||||||
|
It provides access to windowing, graphics, audio and network.
|
||||||
|
It is written in C++, and has bindings for various languages such as C, .Net, Ruby, Python.
|
||||||
|
'';
|
||||||
|
license = licenses.zlib;
|
||||||
|
maintainers = [ maintainers.jpdoyle ];
|
||||||
|
|
||||||
|
platforms = platforms.linux ++ platforms.darwin;
|
||||||
|
};
|
||||||
|
}
|
@ -10838,6 +10838,7 @@ with pkgs;
|
|||||||
simp_le = callPackage ../tools/admin/simp_le { };
|
simp_le = callPackage ../tools/admin/simp_le { };
|
||||||
|
|
||||||
sfml = callPackage ../development/libraries/sfml { };
|
sfml = callPackage ../development/libraries/sfml { };
|
||||||
|
csfml = callPackage ../development/libraries/csfml { };
|
||||||
|
|
||||||
shapelib = callPackage ../development/libraries/shapelib { };
|
shapelib = callPackage ../development/libraries/shapelib { };
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user