2017-10-14 17:46:58 +01:00
|
|
|
{ stdenv, fetchFromGitHub, scons, pkgconfig, gnome3, gmime3, webkitgtk24x-gtk3
|
2017-02-09 13:44:04 +00:00
|
|
|
, libsass, notmuch, boost, wrapGAppsHook }:
|
2016-12-31 23:14:09 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "astroid-${version}";
|
2017-10-14 17:46:58 +01:00
|
|
|
version = "0.10.2";
|
2016-12-31 23:14:09 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "astroidmail";
|
|
|
|
repo = "astroid";
|
|
|
|
rev = "v${version}";
|
2017-10-14 17:46:58 +01:00
|
|
|
sha256 = "0y1i40xbjjvnylqpdkvj0m9fl6f5k9zk1z4pqg3vhj8x1ys8am1c";
|
2016-12-31 23:14:09 +00:00
|
|
|
};
|
|
|
|
|
2017-02-09 13:44:04 +00:00
|
|
|
nativeBuildInputs = [ scons pkgconfig wrapGAppsHook ];
|
|
|
|
|
2017-10-14 17:46:58 +01:00
|
|
|
buildInputs = [ gnome3.gtkmm gmime3 webkitgtk24x-gtk3 libsass gnome3.libpeas
|
2018-02-25 02:23:58 +00:00
|
|
|
notmuch boost gnome3.gsettings-desktop-schemas ];
|
2016-12-31 23:14:09 +00:00
|
|
|
|
2017-04-03 04:37:24 +01:00
|
|
|
buildPhase = "scons --propagate-environment --prefix=$out build";
|
|
|
|
installPhase = "scons --propagate-environment --prefix=$out install";
|
2016-12-31 23:14:09 +00:00
|
|
|
|
2017-10-14 17:46:58 +01:00
|
|
|
meta = with stdenv.lib; {
|
2017-08-01 21:03:30 +01:00
|
|
|
homepage = https://astroidmail.github.io/;
|
2016-12-31 23:14:09 +00:00
|
|
|
description = "GTK+ frontend to the notmuch mail system";
|
2017-10-14 17:46:58 +01:00
|
|
|
maintainers = with maintainers; [ bdimcheff SuprDewd ];
|
|
|
|
license = licenses.gpl3Plus;
|
|
|
|
platforms = platforms.linux;
|
2016-12-31 23:14:09 +00:00
|
|
|
};
|
|
|
|
}
|