1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-21 05:25:38 +00:00
nixpkgs/pkgs/development/tools/build-managers/bear/default.nix
R. RyanTM ab5e09bb36 bear: 2.3.11 -> 2.3.12
Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/bear/versions.
2018-08-08 20:26:21 -07:00

34 lines
1,019 B
Nix

{ stdenv, fetchFromGitHub, cmake, python }:
stdenv.mkDerivation rec {
name = "bear-${version}";
version = "2.3.12";
src = fetchFromGitHub {
owner = "rizsotto";
repo = "Bear";
rev = version;
sha256 = "1zzz2yiiny9pm4h6ayb82xzxc2j5djcpf8va2wagcw92m7w6miqw";
};
nativeBuildInputs = [ cmake ];
buildInputs = [ python ]; # just for shebang of bin/bear
doCheck = false; # all fail
patches = [ ./ignore_wrapper.patch ./cmakepaths.patch ];
meta = with stdenv.lib; {
description = "Tool that generates a compilation database for clang tooling";
longDescription = ''
Note: the bear command is very useful to generate compilation commands
e.g. for YouCompleteMe. You just enter your development nix-shell
and run `bear make`. It's not perfect, but it gets a long way.
'';
homepage = https://github.com/rizsotto/Bear;
license = licenses.gpl3Plus;
platforms = platforms.unix;
maintainers = [ maintainers.vcunat maintainers.babariviere ];
};
}