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