2018-10-13 01:10:38 +02:00
|
|
|
{ stdenv, fetchurl, perlPackages }:
|
2015-05-04 15:42:24 +02:00
|
|
|
|
2018-10-13 01:10:38 +02:00
|
|
|
perlPackages.buildPerlPackage rec {
|
2019-06-20 15:07:56 +02:00
|
|
|
pname = "egypt";
|
2016-01-24 20:31:44 +01:00
|
|
|
version = "1.10";
|
2015-05-04 15:42:24 +02:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
sha256 = "0r0wj6v8z9fzlh9pb5617kyjdf92ppmlbzajaarrq729bbb6ln5m";
|
2019-06-20 15:07:56 +02:00
|
|
|
url = "https://www.gson.org/egypt/download/${pname}-${version}.tar.gz";
|
2015-05-04 15:42:24 +02:00
|
|
|
};
|
|
|
|
|
2016-04-25 16:16:21 +02:00
|
|
|
outputs = [ "out" ];
|
|
|
|
|
2016-01-24 20:31:44 +01:00
|
|
|
enableParallelBuilding = true;
|
|
|
|
|
|
|
|
doCheck = true;
|
|
|
|
|
2015-05-04 15:42:24 +02:00
|
|
|
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 ];
|
2019-02-17 14:00:33 +01:00
|
|
|
platforms = platforms.unix;
|
2015-05-04 15:42:24 +02:00
|
|
|
};
|
|
|
|
}
|