nixpkgs/pkgs/development/libraries/tinyxml-2/default.nix
Tuomas Tynkkynen 2258b21e4b treewide: Add lots of platforms to packages with no meta
Build-tested on x86_64 Linux and on Darwin.
2016-08-02 21:17:44 +03:00

15 lines
382 B
Nix

{ stdenv, fetchurl, cmake }:
let version = "3.0.0";
in stdenv.mkDerivation rec {
name = "tinyxml-2-${version}";
src = fetchurl {
url = "https://github.com/leethomason/tinyxml2/archive/${version}.tar.gz";
sha256 = "0ispg7ngkry8vhzzawbq42y8gkj53xjipkycw0rkhh487ras32hj";
};
nativeBuildInputs = [ cmake ];
meta = {
platforms = stdenv.lib.platforms.unix;
};
}