2017-05-26 13:43:25 +00:00
|
|
|
{ stdenv, fetchFromGitHub, scons, pkgconfig, gnome3, gmime, 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-05-15 13:37:38 +00:00
|
|
|
version = "0.9.1";
|
2016-12-31 23:14:09 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "astroidmail";
|
|
|
|
repo = "astroid";
|
|
|
|
rev = "v${version}";
|
2017-05-15 13:37:38 +00:00
|
|
|
sha256 = "0ha2jd3fvc54amh0x8f58s9ac4r8xgyhvkwd4jvs0h4mfh6cg496";
|
2016-12-31 23:14:09 +00:00
|
|
|
};
|
|
|
|
|
2017-02-09 13:44:04 +00:00
|
|
|
nativeBuildInputs = [ scons pkgconfig wrapGAppsHook ];
|
|
|
|
|
2017-05-26 13:43:25 +00:00
|
|
|
buildInputs = [ gnome3.gtkmm gmime webkitgtk24x-gtk3 libsass gnome3.libpeas
|
2017-02-09 13:44:04 +00:00
|
|
|
notmuch boost gnome3.gsettings_desktop_schemas
|
|
|
|
gnome3.adwaita-icon-theme ];
|
2016-12-31 23:14:09 +00:00
|
|
|
|
2017-04-03 03:37:24 +00:00
|
|
|
buildPhase = "scons --propagate-environment --prefix=$out build";
|
|
|
|
installPhase = "scons --propagate-environment --prefix=$out install";
|
2016-12-31 23:14:09 +00:00
|
|
|
|
|
|
|
meta = {
|
2017-08-01 20:03:30 +00:00
|
|
|
homepage = https://astroidmail.github.io/;
|
2016-12-31 23:14:09 +00:00
|
|
|
description = "GTK+ frontend to the notmuch mail system";
|
|
|
|
maintainers = [ stdenv.lib.maintainers.bdimcheff ];
|
|
|
|
license = stdenv.lib.licenses.gpl3Plus;
|
|
|
|
platforms = stdenv.lib.platforms.linux;
|
|
|
|
};
|
|
|
|
}
|