lol

garcosim: Added tracefilegen and tracefilesim

authored by

Roger Qiu and committed by
Roger Qiu
c02bc80d d2387e3c

+72
+17
pkgs/development/tools/analysis/garcosim/tracefilegen/builder.sh
··· 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/"
+25
pkgs/development/tools/analysis/garcosim/tracefilegen/default.nix
··· 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 = "69b056298cf570debd3718b2e2cb7e63ad9465919c8190cf38043791ce61d0d6"; 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 + }
+26
pkgs/development/tools/analysis/garcosim/tracefilesim/default.nix
··· 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 = "22dfb60d1680ce6c98d60d12c0d0950073f02359605fcdef625e3049bca07809"; 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 + }
+4
pkgs/top-level/all-packages.nix
··· 3521 3521 3522 3522 tracebox = callPackage ../tools/networking/tracebox { }; 3523 3523 3524 + tracefilegen = callPackage ../development/tools/analysis/garcosim/tracefilegen { }; 3525 + 3526 + tracefilesim = callPackage ../development/tools/analysis/garcosim/tracefilesim { }; 3527 + 3524 3528 trash-cli = callPackage ../tools/misc/trash-cli { }; 3525 3529 3526 3530 trickle = callPackage ../tools/networking/trickle {};