depot/third_party/nixpkgs/pkgs/development/tools/analysis/egypt/default.nix
Default email 8ac5e011d6 Project import generated by Copybara.
GitOrigin-RevId: 2c3273caa153ee8eb5786bc8141b85b859e7efd7
2020-04-24 19:36:52 -04:00

32 lines
1 KiB
Nix

{ stdenv, fetchurl, perlPackages }:
perlPackages.buildPerlPackage rec {
pname = "egypt";
version = "1.10";
src = fetchurl {
sha256 = "0r0wj6v8z9fzlh9pb5617kyjdf92ppmlbzajaarrq729bbb6ln5m";
url = "https://www.gson.org/egypt/download/${pname}-${version}.tar.gz";
};
outputs = [ "out" ];
enableParallelBuilding = true;
doCheck = true;
meta = with stdenv.lib; {
description = "Tool for making call graphs of C programmes";
longDescription = ''
Egypt is a simple tool for creating call graphs of C programs. It neither
analyzes source code nor lays out graphs. Instead, it leaves the source
code analysis to GCC and the graph layout to Graphviz, both of which are
better at their respective jobs than egypt itself could ever hope to be.
Egypt is simply a very small Perl script that glues these existing tools
together.
'';
homepage = "http://www.gson.org/egypt/";
license = with licenses; [ artistic1 gpl1Plus ];
platforms = platforms.unix;
};
}