nixpkgs/pkgs/applications/networking/mailreaders/astroid/default.nix

31 lines
996 B
Nix
Raw Normal View History

{ stdenv, fetchFromGitHub, scons, pkgconfig, gnome3, gmime3, webkitgtk24x-gtk3
, libsass, notmuch, boost, wrapGAppsHook }:
2016-12-31 23:14:09 +00:00
stdenv.mkDerivation rec {
name = "astroid-${version}";
version = "0.10.2";
2016-12-31 23:14:09 +00:00
src = fetchFromGitHub {
owner = "astroidmail";
repo = "astroid";
rev = "v${version}";
sha256 = "0y1i40xbjjvnylqpdkvj0m9fl6f5k9zk1z4pqg3vhj8x1ys8am1c";
2016-12-31 23:14:09 +00:00
};
nativeBuildInputs = [ scons pkgconfig wrapGAppsHook ];
buildInputs = [ gnome3.gtkmm gmime3 webkitgtk24x-gtk3 libsass gnome3.libpeas
notmuch boost gnome3.gsettings-desktop-schemas ];
2016-12-31 23:14:09 +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 = with stdenv.lib; {
homepage = https://astroidmail.github.io/;
2016-12-31 23:14:09 +00:00
description = "GTK+ frontend to the notmuch mail system";
maintainers = with maintainers; [ bdimcheff SuprDewd ];
license = licenses.gpl3Plus;
platforms = platforms.linux;
2016-12-31 23:14:09 +00:00
};
}