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