parent
c517e54328
commit
92d2d74c40
|
@ -1,31 +1,28 @@
|
||||||
{ stdenv, fetchFromGitHub, scons, pkgconfig, gnome3, gmime, webkitgtk24x
|
{ stdenv, fetchFromGitHub, scons, pkgconfig, gnome3, gmime, webkitgtk24x
|
||||||
, libsass, notmuch, boost, makeWrapper }:
|
, libsass, notmuch, boost, wrapGAppsHook }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "astroid-${version}";
|
name = "astroid-${version}";
|
||||||
version = "0.6";
|
version = "0.7";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "astroidmail";
|
owner = "astroidmail";
|
||||||
repo = "astroid";
|
repo = "astroid";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "0zashjmqv8ips9q8ckyhgm9hfyf01wpgs6g21cwl05q5iklc5x7r";
|
sha256 = "0r3hqwwr68bjhqaa1r3l9brbmvdp11pf8vhsjlvm5zv520z5y1rf";
|
||||||
};
|
};
|
||||||
|
|
||||||
patches = [ ./propagate-environment.patch ];
|
patches = [ ./propagate-environment.patch ];
|
||||||
|
|
||||||
buildInputs = [ scons pkgconfig gnome3.gtkmm gmime webkitgtk24x libsass
|
nativeBuildInputs = [ scons pkgconfig wrapGAppsHook ];
|
||||||
gnome3.libpeas notmuch boost gnome3.gsettings_desktop_schemas
|
|
||||||
makeWrapper ];
|
buildInputs = [ gnome3.gtkmm gmime webkitgtk24x libsass gnome3.libpeas
|
||||||
|
notmuch boost gnome3.gsettings_desktop_schemas
|
||||||
|
gnome3.adwaita-icon-theme ];
|
||||||
|
|
||||||
buildPhase = "scons --prefix=$out build";
|
buildPhase = "scons --prefix=$out build";
|
||||||
installPhase = "scons --prefix=$out install";
|
installPhase = "scons --prefix=$out install";
|
||||||
|
|
||||||
preFixup = ''
|
|
||||||
wrapProgram "$out/bin/astroid" \
|
|
||||||
--prefix XDG_DATA_DIRS : "$GSETTINGS_SCHEMAS_PATH:${gnome3.adwaita-icon-theme}/share"
|
|
||||||
'';
|
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
homepage = "https://astroidmail.github.io/";
|
homepage = "https://astroidmail.github.io/";
|
||||||
description = "GTK+ frontend to the notmuch mail system";
|
description = "GTK+ frontend to the notmuch mail system";
|
||||||
|
|
Loading…
Reference in New Issue