tootle: format, drop gobject-introspection

This commit is contained in:
worldofpeace 2019-10-14 16:48:53 -04:00
parent 836d2ee1c1
commit 918b578211

View file

@ -1,14 +1,25 @@
{ stdenv, fetchFromGitHub, fetchpatch
, vala, meson, ninja, pkgconfig, python3, libgee, gsettings-desktop-schemas
, gnome3, pantheon, gobject-introspection, wrapGAppsHook
, gtk3, json-glib, glib, glib-networking
{ stdenv
, fetchFromGitHub
, fetchpatch
, vala
, meson
, ninja
, pkgconfig
, python3
, libgee
, gsettings-desktop-schemas
, gnome3
, pantheon
, wrapGAppsHook
, gtk3
, json-glib
, glib
, glib-networking
}:
let
stdenv.mkDerivation rec {
pname = "tootle";
version = "0.2.0";
in stdenv.mkDerivation {
name = "${pname}-${version}";
src = fetchFromGitHub {
owner = "bleakgrey";
@ -18,7 +29,6 @@ in stdenv.mkDerivation {
};
nativeBuildInputs = [
gobject-introspection
meson
ninja
pkgconfig
@ -26,9 +36,16 @@ in stdenv.mkDerivation {
vala
wrapGAppsHook
];
buildInputs = [
gtk3 pantheon.granite json-glib glib glib-networking
libgee gnome3.libsoup gsettings-desktop-schemas
glib
glib-networking
gnome3.libsoup
gsettings-desktop-schemas
gtk3
json-glib
libgee
pantheon.granite
];
patches = [
@ -41,14 +58,14 @@ in stdenv.mkDerivation {
];
postPatch = ''
chmod +x ./meson/post_install.py
patchShebangs ./meson/post_install.py
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;
homepage = https://github.com/bleakgrey/tootle;
license = licenses.gpl3;
maintainers = with maintainers; [ dtzWill ];
};
}