3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/libraries/tinyxml-2/default.nix
volth 46420bbaa3 treewide: name -> pname (easy cases) (#66585)
treewide replacement of

stdenv.mkDerivation rec {
  name = "*-${version}";
  version = "*";

to pname
2019-08-15 13:41:18 +01:00

23 lines
543 B
Nix

{ stdenv, fetchFromGitHub, cmake }:
stdenv.mkDerivation rec {
pname = "tinyxml-2";
version = "6.0.0";
src = fetchFromGitHub {
repo = "tinyxml2";
owner = "leethomason";
rev = version;
sha256 = "031fmhpah449h3rkyamzzdpzccrrfrvjb4qn6vx2vjm47jwc54qv";
};
nativeBuildInputs = [ cmake ];
meta = {
description = "A simple, small, efficient, C++ XML parser";
homepage = http://www.grinninglizard.com/tinyxml2/index.html;
platforms = stdenv.lib.platforms.unix;
license = stdenv.lib.licenses.zlib;
};
}