3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/libraries/SDL_net/default.nix

24 lines
647 B
Nix
Raw Normal View History

2021-12-16 07:21:55 +00:00
{ lib, stdenv, fetchurl, SDL, pkg-config }:
stdenv.mkDerivation rec {
pname = "SDL_net";
2013-12-18 11:27:17 +00:00
version = "1.2.8";
src = fetchurl {
url = "http://www.libsdl.org/projects/SDL_net/release/${pname}-${version}.tar.gz";
2013-12-18 11:27:17 +00:00
sha256 = "1d5c9xqlf4s1c01gzv6cxmg0r621pq9kfgxcg3197xw4p25pljjz";
};
configureFlags = lib.optional stdenv.isDarwin "--disable-sdltest";
2017-11-11 01:22:15 +00:00
2021-12-16 07:21:55 +00:00
nativeBuildInputs = [ pkg-config ];
propagatedBuildInputs = [ SDL ];
meta = with lib; {
description = "SDL networking library";
platforms = platforms.unix;
license = licenses.zlib;
homepage = "https://www.libsdl.org/projects/SDL_net/release-1.2.html";
};
}