mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 23:03:40 +01:00
parent
c517e54328
commit
92d2d74c40
1 changed files with 8 additions and 11 deletions
|
@ -1,31 +1,28 @@
|
|||
{ stdenv, fetchFromGitHub, scons, pkgconfig, gnome3, gmime, webkitgtk24x
|
||||
, libsass, notmuch, boost, makeWrapper }:
|
||||
, libsass, notmuch, boost, wrapGAppsHook }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "astroid-${version}";
|
||||
version = "0.6";
|
||||
version = "0.7";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "astroidmail";
|
||||
repo = "astroid";
|
||||
rev = "v${version}";
|
||||
sha256 = "0zashjmqv8ips9q8ckyhgm9hfyf01wpgs6g21cwl05q5iklc5x7r";
|
||||
sha256 = "0r3hqwwr68bjhqaa1r3l9brbmvdp11pf8vhsjlvm5zv520z5y1rf";
|
||||
};
|
||||
|
||||
patches = [ ./propagate-environment.patch ];
|
||||
|
||||
buildInputs = [ scons pkgconfig gnome3.gtkmm gmime webkitgtk24x libsass
|
||||
gnome3.libpeas notmuch boost gnome3.gsettings_desktop_schemas
|
||||
makeWrapper ];
|
||||
nativeBuildInputs = [ scons pkgconfig wrapGAppsHook ];
|
||||
|
||||
buildInputs = [ gnome3.gtkmm gmime webkitgtk24x libsass gnome3.libpeas
|
||||
notmuch boost gnome3.gsettings_desktop_schemas
|
||||
gnome3.adwaita-icon-theme ];
|
||||
|
||||
buildPhase = "scons --prefix=$out build";
|
||||
installPhase = "scons --prefix=$out install";
|
||||
|
||||
preFixup = ''
|
||||
wrapProgram "$out/bin/astroid" \
|
||||
--prefix XDG_DATA_DIRS : "$GSETTINGS_SCHEMAS_PATH:${gnome3.adwaita-icon-theme}/share"
|
||||
'';
|
||||
|
||||
meta = {
|
||||
homepage = "https://astroidmail.github.io/";
|
||||
description = "GTK+ frontend to the notmuch mail system";
|
||||
|
|
Loading…
Reference in a new issue