mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 00:12:56 +00:00
commit
24c71ff72c
@ -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 = ''
|
||||
|
Loading…
Reference in New Issue
Block a user