Revert "rr: bump version, 64bit support"

This reverts commit 12a3db89ba.

The prior commit was broken a bit; rr will take a little more work to
support a 64bit build.
This commit is contained in:
Austin Seipp 2014-12-04 17:49:13 -06:00
parent 22dfaefea5
commit 73651e6c01

View file

@ -1,22 +1,18 @@
{ stdenv, fetchFromGitHub, cmake, libpfm, zlib, python }:
with stdenv.lib;
{ stdenv, fetchFromGitHub, cmake, libpfm, zlib }:
stdenv.mkDerivation rec {
name = "rr-${version}";
version = "2.0.0-f2b02c4";
version = "2.0.0";
name = "rr-${version}";
src = fetchFromGitHub {
owner = "mozilla";
repo = "rr";
rev = "f2b02c4144584dec092d10eb42be2396069ea546";
sha256 = "1vdhgh3bp287z21lxfj3rb9r3fbar18n9pl0v31h8axjn57l70h7";
owner = "mozilla";
repo = "rr";
rev = version;
sha256 = "0mlxkj35zmm15dgnc7rfynnh2s2hpym01147vwc8pwv8qgab903s";
};
buildInputs = [ cmake libpfm zlib python ];
cmakeFlags =
"-DCMAKE_C_FLAGS_RELEASE:STRING= -DCMAKE_CXX_FLAGS_RELEASE:STRING="
+ (optionalString (stdenv.system == "x86_64-linux") " -Dforce64bit=ON");
buildInputs = [ cmake libpfm zlib ];
cmakeFlags = "-DCMAKE_C_FLAGS_RELEASE:STRING= -DCMAKE_CXX_FLAGS_RELEASE:STRING=";
meta = {
homepage = http://rr-project.org/;
@ -28,8 +24,8 @@ stdenv.mkDerivation rec {
time the same execution is replayed.
'';
license = "custom";
maintainers = with stdenv.lib.maintainers; [ pierron thoughtpolice ];
platforms = stdenv.lib.platforms.linux;
license = "custom";
maintainers = [ stdenv.lib.maintainers.pierron ];
platforms = [ "i686-linux" ];
};
}