nixpkgs/pkgs/applications/misc/evopedia/default.nix

27 lines
650 B
Nix
Raw Normal View History

{stdenv, fetchgit, bzip2, qt4, libX11}:
stdenv.mkDerivation rec {
2015-04-05 18:08:52 +03:00
name = "evopedia-${version}";
version = "0.4.4";
src = fetchgit {
2015-04-05 18:08:52 +03:00
url = https://github.com/evopedia/evopedia_qt;
rev = "refs/tags/v${version}";
sha256 = "1biq9zaj8nhxx1pixidsn97iwp9qy1yslgl0znpa4d4p35jcg48g";
};
configurePhase = ''
qmake PREFIX=$out
'';
buildInputs = [ bzip2 qt4 libX11 ];
meta = {
description = "Offline Wikipedia Viewer";
homepage = http://www.evopedia.info;
license = stdenv.lib.licenses.gpl3Plus;
2015-04-05 18:08:52 +03:00
maintainers = with stdenv.lib.maintainers; [ qknight ];
platforms = with stdenv.lib.platforms; linux;
};
}