13 , libstartup_notification
14 , gobject-introspection
23 stdenv.mkDerivation rec {
27 outputs = [ "out" "dev" "devdoc" ];
30 url = "https://git.launchpad.net/~unity-team/bamf";
32 sha256 = "7U+2GcuDjPU8quZjkd8bLADGlG++tl6wSo0mUQkjAXQ=";
36 (python3.withPackages (ps: with ps; [ lxml ])) # Tests
53 libstartup_notification
58 # https://bugs.launchpad.net/bamf/+bug/1780557
60 substituteInPlace data/Makefile.am \
61 --replace '/usr/lib/systemd/user' '@prefix@/lib/systemd/user'
66 "--enable-headless-tests"
71 "INTROSPECTION_GIRDIR=${placeholder "dev"}/share/gir-1.0/"
72 "INTROSPECTION_TYPELIBDIR=${placeholder "out"}/lib/girepository-1.0"
75 # TODO: Requires /etc/machine-id
78 # Ignore deprecation errors
79 NIX_CFLAGS_COMPILE = "-DGLIB_DISABLE_DEPRECATION_WARNINGS";
81 passthru.updateScript = gitUpdater {
82 ignoredVersions = ".ubuntu.*";
86 description = "Application matching framework";
88 Removes the headache of applications matching
89 into a simple DBus daemon and c wrapper library.
91 homepage = "https://launchpad.net/bamf";
92 license = licenses.lgpl3;
93 platforms = platforms.linux;
94 maintainers = with maintainers; [ davidak ] ++ teams.pantheon.members;