1 { lib, stdenv, binutils , fetchurl, ncurses5 }:
3 stdenv.mkDerivation rec {
8 url = "https://github.com/kythe/kythe/releases/download/v${version}/${pname}-v${version}.tar.gz";
9 sha256 = "12bwhqkxfbkh3mm4wfvqflwhmbzpmlhlfykdpy6h7p9ih9ky8w6r";
21 for exe in http_server \
22 kythe read_entries triples verifier \
23 write_entries write_tables entrystream; do
25 patchelf --interpreter "$(cat $NIX_CC/nix-support/dynamic-linker)" $exe
26 patchelf --set-rpath "${lib.makeLibraryPath [ stdenv.cc.cc ncurses5 ]}" $exe
30 ln -s $out/tools $out/bin
34 description = "Pluggable, (mostly) language-agnostic ecosystem for building tools that work with code";
36 The Kythe project was founded to provide and support tools and standards
37 that encourage interoperability among programs that manipulate source
38 code. At a high level, the main goal of Kythe is to provide a standard,
39 language-agnostic interchange mechanism, allowing tools that operate on
40 source code — including build systems, compilers, interpreters, static
41 analyses, editors, code-review applications, and more — to share
42 information with each other smoothly. '';
43 homepage = "https://kythe.io/";
44 sourceProvenance = with sourceTypes; [ binaryNativeCode ];
45 license = licenses.asl20;
46 platforms = platforms.linux;
47 maintainers = [ maintainers.mpickering ];