bdb851ee2d
elementary OS's ecosystem is curated around Ubuntu's LTS releases. This means the development platform for their curated applications always includes a LTS version of vala (in 18.04 it's 0.40). Because of how vala development works it suspect some of these applications to have serious issues if complied with the latest vala. However in the past year or so, for Pantheon at least, I don't think their applications will have much issues with latest vala, and if there is I don't think they'd be difficult to fix. In this single regard they've become more responsive since their preferred language is vala. As for the curated applications I have less of this confidence in. So I'd have to be accept less applications, but that's something I'm willing to compromise on. And this is easily reversible or could be done on a per-application basis. And nix already makes this trivial.
46 lines
1.1 KiB
Nix
46 lines
1.1 KiB
Nix
{ stdenv, fetchFromGitHub
|
|
, vala, meson, ninja, pkgconfig, python3, libgee, gsettings-desktop-schemas
|
|
, gnome3, pantheon, gobject-introspection, wrapGAppsHook
|
|
, gtk3, json-glib, glib, glib-networking, hicolor-icon-theme
|
|
}:
|
|
|
|
let
|
|
pname = "tootle";
|
|
version = "0.2.0";
|
|
in stdenv.mkDerivation {
|
|
name = "${pname}-${version}";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "bleakgrey";
|
|
repo = pname;
|
|
rev = version;
|
|
sha256 = "1z3wyx316nns6gi7vlvcfmalhvxncmvcmmlgclbv6b6hwl5x2ysi";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
gobject-introspection
|
|
meson
|
|
ninja
|
|
pkgconfig
|
|
python3
|
|
vala
|
|
wrapGAppsHook
|
|
];
|
|
buildInputs = [
|
|
gtk3 pantheon.granite json-glib glib glib-networking hicolor-icon-theme
|
|
libgee gnome3.libsoup gsettings-desktop-schemas
|
|
];
|
|
|
|
postPatch = ''
|
|
chmod +x ./meson/post_install.py
|
|
patchShebangs ./meson/post_install.py
|
|
'';
|
|
|
|
meta = with stdenv.lib; {
|
|
description = "Simple Mastodon client designed for elementary OS";
|
|
homepage = https://github.com/bleakgrey/tootle;
|
|
license = licenses.gpl3;
|
|
maintainers = with maintainers; [ dtzWill ];
|
|
};
|
|
}
|