mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-24 14:41:17 +00:00
46420bbaa3
treewide replacement of stdenv.mkDerivation rec { name = "*-${version}"; version = "*"; to pname
23 lines
604 B
Nix
23 lines
604 B
Nix
{ stdenv, fetchurl, SDL }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "SDL_net";
|
|
version = "1.2.8";
|
|
|
|
src = fetchurl {
|
|
url = "http://www.libsdl.org/projects/SDL_net/release/${pname}-${version}.tar.gz";
|
|
sha256 = "1d5c9xqlf4s1c01gzv6cxmg0r621pq9kfgxcg3197xw4p25pljjz";
|
|
};
|
|
|
|
configureFlags = stdenv.lib.optional stdenv.isDarwin "--disable-sdltest";
|
|
|
|
propagatedBuildInputs = [ SDL ];
|
|
|
|
meta = with stdenv.lib; {
|
|
description = "SDL networking library";
|
|
platforms = platforms.unix;
|
|
license = licenses.zlib;
|
|
homepage = https://www.libsdl.org/projects/SDL_net/release-1.2.html;
|
|
};
|
|
}
|