mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-10 16:45:51 +03:00
Add SDL2_net v2.0.0
This commit is contained in:
parent
549fae8676
commit
85cdd7ce33
@ -72,6 +72,7 @@
|
||||
mornfall = "Petr Ročkai <me@mornfall.net>";
|
||||
msackman = "Matthew Sackman <matthew@wellquite.org>";
|
||||
nathan-gs = "Nathan Bijnens <nathan@nathan.gs>";
|
||||
MP2E = "Cray Elliott <MP2E@archlinux.us>";
|
||||
notthemessiah = "Brian Cohen <brian.cohen.88@gmail.com>";
|
||||
ocharles = "Oliver Charles <ollie@ocharles.org.uk>";
|
||||
offline = "Jaka Hudoklin <jakahudoklin@gmail.com>";
|
||||
|
22
pkgs/development/libraries/SDL2_net/default.nix
Normal file
22
pkgs/development/libraries/SDL2_net/default.nix
Normal file
@ -0,0 +1,22 @@
|
||||
{ stdenv, fetchurl, SDL2 }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "SDL2_net-2.0.0";
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://www.libsdl.org/projects/SDL_net/release/${name}.tar.gz";
|
||||
sha256 = "d715be30783cc99e541626da52079e308060b21d4f7b95f0224b1d06c1faacab";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [SDL2];
|
||||
|
||||
postInstall = "ln -s $out/include/SDL2/SDL_net.h $out/include/";
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "SDL multiplatform networking library";
|
||||
homepage = https://www.libsdl.org/projects/SDL_net;
|
||||
license = licenses.zlib;
|
||||
maintainers = [ maintainers.MP2E ];
|
||||
platforms = platforms.all;
|
||||
};
|
||||
}
|
@ -6179,6 +6179,8 @@ let
|
||||
|
||||
SDL2_mixer = callPackage ../development/libraries/SDL2_mixer { };
|
||||
|
||||
SDL2_net = callPackage ../development/libraries/SDL2_net { };
|
||||
|
||||
SDL2_gfx = callPackage ../development/libraries/SDL2_gfx { };
|
||||
|
||||
serd = callPackage ../development/libraries/serd {};
|
||||
|
Loading…
Reference in New Issue
Block a user