mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-21 11:34:13 +00:00
tootle: format, drop gobject-introspection
This commit is contained in:
parent
836d2ee1c1
commit
918b578211
@ -1,14 +1,25 @@
|
|||||||
{ stdenv, fetchFromGitHub, fetchpatch
|
{ stdenv
|
||||||
, vala, meson, ninja, pkgconfig, python3, libgee, gsettings-desktop-schemas
|
, fetchFromGitHub
|
||||||
, gnome3, pantheon, gobject-introspection, wrapGAppsHook
|
, fetchpatch
|
||||||
, gtk3, json-glib, glib, glib-networking
|
, vala
|
||||||
|
, meson
|
||||||
|
, ninja
|
||||||
|
, pkgconfig
|
||||||
|
, python3
|
||||||
|
, libgee
|
||||||
|
, gsettings-desktop-schemas
|
||||||
|
, gnome3
|
||||||
|
, pantheon
|
||||||
|
, wrapGAppsHook
|
||||||
|
, gtk3
|
||||||
|
, json-glib
|
||||||
|
, glib
|
||||||
|
, glib-networking
|
||||||
}:
|
}:
|
||||||
|
|
||||||
let
|
stdenv.mkDerivation rec {
|
||||||
pname = "tootle";
|
pname = "tootle";
|
||||||
version = "0.2.0";
|
version = "0.2.0";
|
||||||
in stdenv.mkDerivation {
|
|
||||||
name = "${pname}-${version}";
|
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "bleakgrey";
|
owner = "bleakgrey";
|
||||||
@ -18,7 +29,6 @@ in stdenv.mkDerivation {
|
|||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
gobject-introspection
|
|
||||||
meson
|
meson
|
||||||
ninja
|
ninja
|
||||||
pkgconfig
|
pkgconfig
|
||||||
@ -26,9 +36,16 @@ in stdenv.mkDerivation {
|
|||||||
vala
|
vala
|
||||||
wrapGAppsHook
|
wrapGAppsHook
|
||||||
];
|
];
|
||||||
|
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
gtk3 pantheon.granite json-glib glib glib-networking
|
glib
|
||||||
libgee gnome3.libsoup gsettings-desktop-schemas
|
glib-networking
|
||||||
|
gnome3.libsoup
|
||||||
|
gsettings-desktop-schemas
|
||||||
|
gtk3
|
||||||
|
json-glib
|
||||||
|
libgee
|
||||||
|
pantheon.granite
|
||||||
];
|
];
|
||||||
|
|
||||||
patches = [
|
patches = [
|
||||||
@ -41,14 +58,14 @@ in stdenv.mkDerivation {
|
|||||||
];
|
];
|
||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
chmod +x ./meson/post_install.py
|
chmod +x meson/post_install.py
|
||||||
patchShebangs ./meson/post_install.py
|
patchShebangs meson/post_install.py
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
description = "Simple Mastodon client designed for elementary OS";
|
description = "Simple Mastodon client designed for elementary OS";
|
||||||
homepage = https://github.com/bleakgrey/tootle;
|
homepage = https://github.com/bleakgrey/tootle;
|
||||||
license = licenses.gpl3;
|
license = licenses.gpl3;
|
||||||
maintainers = with maintainers; [ dtzWill ];
|
maintainers = with maintainers; [ dtzWill ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user