2019-03-21 13:26:50 +00:00
|
|
|
{ stdenv
|
|
|
|
, fetchgit
|
|
|
|
, pkgconfig
|
|
|
|
, glib
|
|
|
|
, vala
|
|
|
|
, dee
|
|
|
|
, gobject-introspection
|
|
|
|
, libdbusmenu
|
|
|
|
, gtk3
|
|
|
|
, intltool
|
|
|
|
, python3
|
|
|
|
, autoreconfHook
|
|
|
|
}:
|
2018-08-04 22:37:34 +01:00
|
|
|
|
2019-08-13 22:52:01 +01:00
|
|
|
stdenv.mkDerivation {
|
2018-08-04 22:37:34 +01:00
|
|
|
pname = "libunity";
|
2019-03-21 13:26:50 +00:00
|
|
|
version = "unstable-2019-03-19";
|
2018-08-04 22:37:34 +01:00
|
|
|
|
2019-03-21 13:26:50 +00:00
|
|
|
outputs = [ "out" "dev" "py" ];
|
2018-08-04 22:37:34 +01:00
|
|
|
|
2019-03-21 13:26:50 +00:00
|
|
|
src = fetchgit {
|
|
|
|
url = "https://git.launchpad.net/ubuntu/+source/libunity";
|
|
|
|
rev = "import/7.1.4+19.04.20190319-0ubuntu1";
|
|
|
|
sha256 = "15b49v88v74q20a5c0lq867qnlz7fx20xifl6j8ha359r0zkfwzj";
|
2018-08-04 22:37:34 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
2019-03-21 13:26:50 +00:00
|
|
|
autoreconfHook
|
2018-12-02 11:41:15 +00:00
|
|
|
gobject-introspection
|
2018-08-04 22:37:34 +01:00
|
|
|
intltool
|
|
|
|
pkgconfig
|
|
|
|
python3
|
|
|
|
vala
|
|
|
|
];
|
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
glib
|
|
|
|
gtk3
|
|
|
|
];
|
|
|
|
|
2019-03-21 13:26:50 +00:00
|
|
|
propagatedBuildInputs = [
|
|
|
|
dee
|
|
|
|
libdbusmenu
|
|
|
|
];
|
2018-08-04 22:37:34 +01:00
|
|
|
|
2019-09-21 22:27:36 +01:00
|
|
|
patches = [
|
|
|
|
# See: https://gitlab.gnome.org/GNOME/vala/issues/766
|
|
|
|
./fix-vala.patch
|
|
|
|
];
|
|
|
|
|
2019-03-21 13:26:50 +00:00
|
|
|
preConfigure = ''
|
|
|
|
intltoolize
|
|
|
|
'';
|
2018-08-04 22:37:34 +01:00
|
|
|
|
|
|
|
configureFlags = [
|
2019-09-03 17:38:57 +01:00
|
|
|
"--with-pygi-overrides-dir=${placeholder "py"}/${python3.sitePackages}/gi/overrides"
|
2018-08-04 22:37:34 +01:00
|
|
|
];
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "A library for instrumenting and integrating with all aspects of the Unity shell";
|
|
|
|
homepage = https://launchpad.net/libunity;
|
|
|
|
license = licenses.lgpl3;
|
|
|
|
platforms = platforms.linux;
|
|
|
|
maintainers = with maintainers; [ worldofpeace ];
|
|
|
|
};
|
|
|
|
}
|