2015-12-20 03:47:06 +01:00
|
|
|
{ stdenv, fetchFromGitHub, cmake, boost, botan, snappy, libopus, libuuid
|
|
|
|
, libXScrnSaver, openssl, qtbase, qtmultimedia }:
|
2015-04-26 20:51:50 +02:00
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
|
|
|
name = "firestr-0.8";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "mempko";
|
|
|
|
repo = "firestr";
|
|
|
|
rev = "f888890f71d49953d05bccdd27a1c4f6690e165c";
|
|
|
|
sha256 = "0s2kdi8rw3i3f8gbiy0ykyi6xj5n8p80m0d1i86mhh8jpagvbfzb";
|
|
|
|
};
|
|
|
|
|
2015-12-20 03:47:06 +01:00
|
|
|
buildInputs = [ cmake boost botan snappy libopus libuuid qtbase qtmultimedia
|
2015-05-31 19:10:36 +02:00
|
|
|
libXScrnSaver openssl ];
|
|
|
|
|
2015-04-26 20:51:50 +02:00
|
|
|
patches = ./return.patch;
|
|
|
|
|
2015-05-31 19:10:36 +02:00
|
|
|
postPatch = ''
|
2015-04-26 20:51:50 +02:00
|
|
|
substituteInPlace CMakeLists.txt \
|
|
|
|
--replace "set(Boost_USE_STATIC_LIBS on)" "" \
|
|
|
|
--replace "/usr/include/botan" "${botan}/include/botan" \
|
|
|
|
--replace "libopus.a" "libopus.so" \
|
|
|
|
--replace "libsnappy.a" "libsnappy.so" \
|
|
|
|
--replace "libbotan-1.10.a" "libbotan-1.10.so.0"
|
2015-05-31 19:10:36 +02:00
|
|
|
'';
|
2015-04-26 20:51:50 +02:00
|
|
|
|
2015-05-31 19:10:36 +02:00
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "Grass computing platform";
|
|
|
|
homepage = http://firestr.com/;
|
|
|
|
license = licenses.gpl3;
|
2015-12-05 22:41:25 +01:00
|
|
|
maintainers = [ maintainers.ehmry ];
|
2015-05-31 19:10:36 +02:00
|
|
|
platforms = platforms.linux;
|
2016-05-09 12:58:17 +02:00
|
|
|
broken = true;
|
2015-05-31 19:10:36 +02:00
|
|
|
};
|
2015-04-26 20:51:50 +02:00
|
|
|
}
|