bamf: cleanup

This commit is contained in:
worldofpeace 2019-11-13 14:25:17 -05:00
parent b0012a9736
commit 1f23abf3b6

View File

@ -1,6 +1,25 @@
{ stdenv, fetchpatch, autoconf, automake, libtool, gnome3, which, fetchgit, libgtop, libwnck3, glib, vala, pkgconfig { stdenv
, libstartup_notification, gobject-introspection, gtk-doc, docbook_xsl , pantheon
, xorgserver, dbus, python3, wrapGAppsHook }: , autoconf
, automake
, libtool
, gnome3
, which
, fetchgit
, libgtop
, libwnck3
, glib
, vala
, pkgconfig
, libstartup_notification
, gobject-introspection
, gtk-doc
, docbook_xsl
, xorgserver
, dbus
, python3
, wrapGAppsHook
}:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "bamf"; pname = "bamf";
@ -15,8 +34,10 @@ stdenv.mkDerivation rec {
}; };
nativeBuildInputs = [ nativeBuildInputs = [
(python3.withPackages (ps: with ps; [ lxml ])) # Tests
autoconf autoconf
automake automake
dbus
docbook_xsl docbook_xsl
gnome3.gnome-common gnome3.gnome-common
gobject-introspection gobject-introspection
@ -25,11 +46,8 @@ stdenv.mkDerivation rec {
pkgconfig pkgconfig
vala vala
which which
# Tests
(python3.withPackages(ps: with ps; [ lxml ]))
dbus
xorgserver
wrapGAppsHook wrapGAppsHook
xorgserver
]; ];
buildInputs = [ buildInputs = [
@ -52,8 +70,8 @@ stdenv.mkDerivation rec {
''; '';
configureFlags = [ configureFlags = [
"--enable-headless-tests"
"--enable-gtk-doc" "--enable-gtk-doc"
"--enable-headless-tests"
]; ];
# fix paths # fix paths
@ -70,7 +88,9 @@ stdenv.mkDerivation rec {
doCheck = false; doCheck = false;
# glib-2.62 deprecations # glib-2.62 deprecations
NIX_CFLAGS_COMPILE = [ "-DGLIB_DISABLE_DEPRECATION_WARNINGS" ]; NIX_CFLAGS_COMPILE = [
"-DGLIB_DISABLE_DEPRECATION_WARNINGS"
];
meta = with stdenv.lib; { meta = with stdenv.lib; {
description = "Application matching framework"; description = "Application matching framework";
@ -81,6 +101,6 @@ stdenv.mkDerivation rec {
homepage = https://launchpad.net/bamf; homepage = https://launchpad.net/bamf;
license = licenses.lgpl3; license = licenses.lgpl3;
platforms = platforms.linux; platforms = platforms.linux;
maintainers = with maintainers; [ davidak ]; maintainers = with maintainers; [ davidak ] ++ pantheon.maintainers;
}; };
} }