git.iko.soy/typeable/nixpkgs
on master help sign in
Merge #15354: add tracefilegen and tracefilesim
commitda2788c3d723cb66c3df219364b9cb62e596213f authorVladimír Čunát <vcunat@gmail.com> dateThu 19 May 2016, 10:29 (11 years ago) parent028cf1570c66e9
5 files changed+73
lib/maintainers.nix+1 pkgs/development/tools/analysis/garcosim/tracefilegen/builder.sh+17 pkgs/development/tools/analysis/garcosim/tracefilegen/default.nix+25 pkgs/development/tools/analysis/garcosim/tracefilesim/default.nix+26 pkgs/top-level/all-packages.nix+4
lib/maintainers.nix+1
@@ -76,6 +76,7 @@
7676 choochootrain = "Hurshal Patel <hurshal@imap.cc>";
7777 christopherpoole = "Christopher Mark Poole <mail@christopherpoole.net>";
7878 cleverca22 = "Michael Bishop <cleverca22@gmail.com>";
79+ cmcdragonkai = "Roger Qiu <roger.qiu@matrix.ai>";
7980 coconnor = "Corey O'Connor <coreyoconnor@gmail.com>";
8081 codsl = "codsl <codsl@riseup.net>";
8182 codyopel = "Cody Opel <codyopel@gmail.com>";
pkgs/development/tools/analysis/garcosim/tracefilegen/builder.shnew file+17
@@ -0,0 +1,17 @@
1+source "$stdenv"/setup
2+
3+cp --recursive "$src" ./
4+
5+chmod --recursive u=rwx ./"$(basename "$src")"
6+
7+cd ./"$(basename "$src")"
8+
9+cmake ./
10+
11+make
12+
13+mkdir --parents "$out"/bin
14+cp ./TraceFileGen "$out"/bin
15+
16+mkdir --parents "$out"/share/doc/"$name"/html
17+cp --recursive ./Documentation/html/* "$out/share/doc/$name/html/"
pkgs/development/tools/analysis/garcosim/tracefilegen/default.nixnew file+25
@@ -0,0 +1,25 @@
1+{ stdenv, fetchgit, cmake }:
2+
3+stdenv.mkDerivation rec {
4+
5+ name = "tracefilegen-2015-11-14";
6+
7+ src = fetchgit {
8+ url = "https://github.com/GarCoSim/TraceFileGen.git";
9+ rev = "4acf75b142683cc475c6b1c841a221db0753b404";
10+ sha256 = "0mh661l9d1lczv0mr2y9swzqqlwikyqiv1hdd71r9v8cvm54y5ij";
11+ };
12+
13+ buildInputs = [ cmake ];
14+
15+ builder = ./builder.sh;
16+
17+ meta = with stdenv.lib; {
18+ description = "Automatically generate all types of basic memory management operations and write into trace files";
19+ homepage = "https://github.com/GarCoSim";
20+ maintainers = [ maintainers.cmcdragonkai ];
21+ license = licenses.gpl2;
22+ platforms = platforms.linux;
23+ };
24+
25+}
pkgs/development/tools/analysis/garcosim/tracefilesim/default.nixnew file+26
@@ -0,0 +1,26 @@
1+{ stdenv, fetchgit }:
2+
3+stdenv.mkDerivation {
4+
5+ name = "tracefilesim-2015-11-07";
6+
7+ src = fetchgit {
8+ url = "https://github.com/GarCoSim/TraceFileSim.git";
9+ rev = "368aa6b1d6560e7ecbd16fca47000c8f528f3da2";
10+ sha256 = "156m92k38ap4bzidbr8dzl065rni8lrib71ih88myk9z5y1x5nxm";
11+ };
12+
13+ installPhase = ''
14+ mkdir --parents "$out/bin"
15+ cp ./traceFileSim "$out/bin"
16+ '';
17+
18+ meta = with stdenv.lib; {
19+ description = "Ease the analysis of existing memory management techniques, as well as the prototyping of new memory management techniques.";
20+ homepage = "https://github.com/GarCoSim";
21+ maintainers = [ maintainers.cmcdragonkai ];
22+ licenses = licenses.gpl2;
23+ platforms = platforms.linux;
24+ };
25+
26+}
pkgs/top-level/all-packages.nix+4
@@ -3535,6 +3535,10 @@ in
35353535
35363536 tracebox = callPackage ../tools/networking/tracebox { };
35373537
3538+ tracefilegen = callPackage ../development/tools/analysis/garcosim/tracefilegen { };
3539+
3540+ tracefilesim = callPackage ../development/tools/analysis/garcosim/tracefilesim { };
3541+
35383542 trash-cli = callPackage ../tools/misc/trash-cli { };
35393543
35403544 trickle = callPackage ../tools/networking/trickle {};