mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-17 23:36:17 +01:00
tootle: format, drop gobject-introspection
This commit is contained in:
parent
836d2ee1c1
commit
918b578211
1 changed files with 31 additions and 14 deletions
|
@ -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,8 +58,8 @@ 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; {
|
||||
|
|
Loading…
Reference in a new issue