bear: init at 2.2.0

+34
+32
pkgs/development/tools/build-managers/bear/default.nix
···
··· 1 + { stdenv, fetchFromGitHub, cmake, python }: 2 + 3 + stdenv.mkDerivation rec { 4 + name = "bear-${version}"; 5 + version = "2.2.0"; 6 + 7 + src = fetchFromGitHub { 8 + owner = "rizsotto"; 9 + repo = "Bear"; 10 + rev = version; 11 + sha256 = "08llfqg8y6d7vfwaw5plrk1rrqzs0ywi2ldnlwvy917603971rg0"; 12 + }; 13 + 14 + nativeBuildInputs = [ cmake ]; 15 + buildInputs = [ python ]; # just for shebang of bin/bear 16 + 17 + doCheck = false; # all fail 18 + 19 + meta = with stdenv.lib; { 20 + description = "Tool that generates a compilation database for clang tooling"; 21 + longDescription = '' 22 + Note: the bear command is very useful to generate compilation commands 23 + e.g. for YouCompleteMe. You just enter your development nix-shell 24 + and run `bear make`. It's not perfect, but it gets a long way. 25 + ''; 26 + homepage = https://github.com/rizsotto/Bear; 27 + license = licenses.gpl3Plus; 28 + platforms = platforms.unix; 29 + maintainers = [ maintainers.vcunat ]; 30 + }; 31 + } 32 +
+2
pkgs/top-level/all-packages.nix
··· 6145 6146 bazel = callPackage ../development/tools/build-managers/bazel { jdk = openjdk8; }; 6147 6148 bin_replace_string = callPackage ../development/tools/misc/bin_replace_string { }; 6149 6150 binutils = if stdenv.isDarwin then self.darwin.binutils else self.binutils-raw;
··· 6145 6146 bazel = callPackage ../development/tools/build-managers/bazel { jdk = openjdk8; }; 6147 6148 + bear = callPackage ../development/tools/build-managers/bear { }; 6149 + 6150 bin_replace_string = callPackage ../development/tools/misc/bin_replace_string { }; 6151 6152 binutils = if stdenv.isDarwin then self.darwin.binutils else self.binutils-raw;