pkgsStatic.capnproto: fix build

Static builds don't seem to work with the autotools-based build
system, but they work fine with the CMake one, so let's just switch to
that.

+3 -1
+3 -1
pkgs/development/libraries/capnproto/default.nix
··· 1 - { lib, stdenv, fetchurl }: 2 3 stdenv.mkDerivation rec { 4 pname = "capnproto"; ··· 8 url = "https://capnproto.org/capnproto-c++-${version}.tar.gz"; 9 sha256 = "sha256-soBUp6K/6kK/w5LI0AljDZTXLozoaiOtbxi15yV0Bk8="; 10 }; 11 12 meta = with lib; { 13 homepage = "https://capnproto.org/";
··· 1 + { lib, stdenv, fetchurl, cmake }: 2 3 stdenv.mkDerivation rec { 4 pname = "capnproto"; ··· 8 url = "https://capnproto.org/capnproto-c++-${version}.tar.gz"; 9 sha256 = "sha256-soBUp6K/6kK/w5LI0AljDZTXLozoaiOtbxi15yV0Bk8="; 10 }; 11 + 12 + nativeBuildInputs = [ cmake ]; 13 14 meta = with lib; { 15 homepage = "https://capnproto.org/";