bamf: 0.5.5 -> 0.5.6

This commit is contained in:
Bobby Rong 2022-02-27 10:55:42 +08:00
parent f1143cb501
commit 4ec18cd57e
No known key found for this signature in database
GPG Key ID: ED07364437C91161

View File

@ -1,8 +1,7 @@
{ lib, stdenv
, pantheon
, autoconf
, automake
, libtool
{ stdenv
, lib
, autoreconfHook
, gitUpdater
, gnome
, which
, fetchgit
@ -23,26 +22,24 @@
stdenv.mkDerivation rec {
pname = "bamf";
version = "0.5.5";
version = "0.5.6";
outputs = [ "out" "dev" "devdoc" ];
src = fetchgit {
url = "https://git.launchpad.net/~unity-team/bamf";
rev = "${version}+21.10.20210710-0ubuntu1";
sha256 = "0iwz5z5cz9r56pmfjvjd2kcjlk416dw6g38svs33ynssjgsqbdm0";
rev = version;
sha256 = "7U+2GcuDjPU8quZjkd8bLADGlG++tl6wSo0mUQkjAXQ=";
};
nativeBuildInputs = [
(python3.withPackages (ps: with ps; [ lxml ])) # Tests
autoconf
automake
autoreconfHook
dbus
docbook_xsl
gnome.gnome-common
gobject-introspection
gtk-doc
libtool
pkg-config
vala
which
@ -69,22 +66,23 @@ stdenv.mkDerivation rec {
"--enable-headless-tests"
];
# fix paths
# Fix paths
makeFlags = [
"INTROSPECTION_GIRDIR=${placeholder "dev"}/share/gir-1.0/"
"INTROSPECTION_TYPELIBDIR=${placeholder "out"}/lib/girepository-1.0"
];
preConfigure = ''
./autogen.sh
'';
# TODO: Requires /etc/machine-id
doCheck = false;
# glib-2.62 deprecations
# Ignore deprecation errors
NIX_CFLAGS_COMPILE = "-DGLIB_DISABLE_DEPRECATION_WARNINGS";
passthru.updateScript = gitUpdater {
inherit pname version;
ignoredVersions = ".ubuntu.*";
};
meta = with lib; {
description = "Application matching framework";
longDescription = ''