@@ -0,0 +1,32 @@
1+{ stdenv, fetchurl, buildPerlPackage }:
2+
3+let version = "1.10"; in
4+buildPerlPackage rec {
5+ name = "egypt-${version}";
6+
7+ src = fetchurl {
8+ sha256 = "0r0wj6v8z9fzlh9pb5617kyjdf92ppmlbzajaarrq729bbb6ln5m";
9+ url = "http://www.gson.org/egypt/download/${name}.tar.gz";
10+ };
11+
12+ meta = with stdenv.lib; {
13+ inherit version;
14+ description = "Tool for making call graphs of C programmes";
15+ longDescription = ''
16+ Egypt is a simple tool for creating call graphs of C programs. It neither
17+ analyzes source code nor lays out graphs. Instead, it leaves the source
18+ code analysis to GCC and the graph layout to Graphviz, both of which are
19+ better at their respective jobs than egypt itself could ever hope to be.
20+ Egypt is simply a very small Perl script that glues these existing tools
21+ together.
22+ '';
23+ homepage = http://www.gson.org/egypt/;
24+ license = with licenses; [ artistic1 gpl1Plus ];
25+ platforms = with platforms; linux;
26+ maintainers = with maintainers; [ nckx ];
27+ };
28+
29+ enableParallelBuilding = true;
30+
31+ doCheck = true;
32+}