blob: 287c185385fa8cddfe7f66cb8f251e249af5ecd1 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
|
{ stdenv
, fetchgit
, pkg-config
, glib
, vala
, dee
, gobject-introspection
, libdbusmenu
, gtk3
, intltool
, python3
, autoreconfHook
}:
stdenv.mkDerivation {
pname = "libunity";
version = "unstable-2019-03-19";
outputs = [ "out" "dev" "py" ];
src = fetchgit {
url = "https://git.launchpad.net/ubuntu/+source/libunity";
rev = "import/7.1.4+19.04.20190319-0ubuntu1";
sha256 = "15b49v88v74q20a5c0lq867qnlz7fx20xifl6j8ha359r0zkfwzj";
};
nativeBuildInputs = [
autoreconfHook
gobject-introspection
intltool
pkg-config
python3
vala
];
buildInputs = [
glib
gtk3
];
propagatedBuildInputs = [
dee
libdbusmenu
];
patches = [
# See: https://gitlab.gnome.org/GNOME/vala/issues/766
./fix-vala.patch
];
preConfigure = ''
intltoolize
'';
configureFlags = [
"--with-pygi-overrides-dir=${placeholder "py"}/${python3.sitePackages}/gi/overrides"
];
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 ];
};
}
|