2017-04-02 18:41:43 +01:00
|
|
|
{ stdenv, fetchFromGitHub, bzip2, qt4, qmake4Hook, libX11 }:
|
2010-12-11 22:04:13 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2015-04-05 16:08:52 +01:00
|
|
|
name = "evopedia-${version}";
|
|
|
|
version = "0.4.4";
|
2010-12-11 22:04:13 +00:00
|
|
|
|
2017-04-02 18:41:43 +01:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "evopedia";
|
|
|
|
repo = "evopedia_qt";
|
|
|
|
rev = "v${version}";
|
2016-06-02 12:26:44 +01:00
|
|
|
sha256 = "0snp5qiywj306kfaywvkl7j34fivgxcb8dids1lzmbqq5xcpqqvc";
|
2010-12-11 22:04:13 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ bzip2 qt4 libX11 ];
|
2016-04-17 00:31:33 +01:00
|
|
|
nativeBuildInputs = [ qmake4Hook ];
|
2010-12-11 22:04:13 +00:00
|
|
|
|
2017-04-02 18:41:43 +01:00
|
|
|
meta = with stdenv.lib; {
|
2010-12-11 22:04:13 +00:00
|
|
|
description = "Offline Wikipedia Viewer";
|
|
|
|
homepage = http://www.evopedia.info;
|
2017-04-02 18:41:43 +01:00
|
|
|
license = licenses.gpl3Plus;
|
|
|
|
maintainers = [ maintainers.qknight ];
|
|
|
|
platforms = platforms.linux;
|
2010-12-11 22:04:13 +00:00
|
|
|
};
|
|
|
|
}
|