git.iko.soy/typeable/nixpkgs
on master help sign in
Add egypt 1.10: create simple C call graphs
commit2c62a0a930cba21ccb18995396bda6b8d4f50d09 authorTobias Geerinckx-Rice <tobias.geerinckx.rice@gmail.com> dateMon 4 May 2015, 15:42 (12 years ago) parent5359809
2 files changed+34
pkgs/development/tools/analysis/egypt/default.nix+32 pkgs/top-level/all-packages.nix+2
pkgs/development/tools/analysis/egypt/default.nixnew file+32
@@ -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+}
pkgs/top-level/all-packages.nix+2
@@ -5135,6 +5135,8 @@ let
51355135
51365136 eggdbus = callPackage ../development/tools/misc/eggdbus { };
51375137
5138+ egypt = callPackage ../development/tools/analysis/egypt { };
5139+
51385140 elfutils = callPackage ../development/tools/misc/elfutils { };
51395141
51405142 epm = callPackage ../development/tools/misc/epm { };