forked from mirrors/nixpkgs
9fb8020e4e
This will probably be mandatory soon, and is a step in the right direction. Removes the deprecated meta.version, and move some meta sections to the end of the file where I should have put them in the first place.
32 lines
1 KiB
Nix
32 lines
1 KiB
Nix
{ stdenv, fetchurl, buildPerlPackage }:
|
|
|
|
buildPerlPackage rec {
|
|
name = "egypt-${version}";
|
|
version = "1.10";
|
|
|
|
src = fetchurl {
|
|
sha256 = "0r0wj6v8z9fzlh9pb5617kyjdf92ppmlbzajaarrq729bbb6ln5m";
|
|
url = "http://www.gson.org/egypt/download/${name}.tar.gz";
|
|
};
|
|
|
|
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.linux;
|
|
maintainers = with maintainers; [ nckx ];
|
|
};
|
|
}
|