stb: init at 20180211
This commit is contained in:
parent
2d1d17032b
commit
07b9fd14df
28
pkgs/development/libraries/stb/default.nix
Normal file
28
pkgs/development/libraries/stb/default.nix
Normal file
@ -0,0 +1,28 @@
|
||||
{ stdenv, fetchFromGitHub }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "stb-${version}";
|
||||
version = "20180211";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "nothings";
|
||||
repo = "stb";
|
||||
rev = "e6afb9cbae4064da8c3e69af3ff5c4629579c1d2";
|
||||
sha256 = "079nsn9bnb8c0vfq26g5l53q6gzx19a5x9q2nb55mpcljxsgxnmf";
|
||||
};
|
||||
|
||||
dontBuild = true;
|
||||
|
||||
installPhase = ''
|
||||
mkdir -p $out/include/stb
|
||||
cp *.h $out/include/stb/
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Single-file public domain libraries for C/C++";
|
||||
homepage = https://github.com/nothings/stb;
|
||||
license = licenses.publicDomain;
|
||||
platforms = platforms.all;
|
||||
maintainers = with maintainers; [ jfrankenau ];
|
||||
};
|
||||
}
|
@ -11874,6 +11874,8 @@ with pkgs;
|
||||
libpcap = if stdenv.isLinux then libpcap else null;
|
||||
};
|
||||
|
||||
stb = callPackage ../development/libraries/stb { };
|
||||
|
||||
stxxl = callPackage ../development/libraries/stxxl { parallel = true; };
|
||||
|
||||
sqlite = lowPrio (callPackage ../development/libraries/sqlite { });
|
||||
|
Loading…
Reference in New Issue
Block a user