2019-03-21 14:02:29 +00:00
|
|
|
{ stdenv
|
|
|
|
, fetchgit
|
|
|
|
, pkgconfig
|
|
|
|
, glib
|
|
|
|
, icu
|
|
|
|
, gobject-introspection
|
|
|
|
, dbus-glib
|
2019-07-22 08:06:59 +01:00
|
|
|
, vala_0_40
|
2019-03-21 14:02:29 +00:00
|
|
|
, python3
|
|
|
|
, autoreconfHook
|
|
|
|
}:
|
2016-03-28 14:45:10 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-03-21 14:02:29 +00:00
|
|
|
pname = "dee";
|
|
|
|
version = "unstable-2017-06-16";
|
2016-03-28 14:45:10 +01:00
|
|
|
|
2019-03-21 14:02:29 +00:00
|
|
|
outputs = [ "out" "dev" "py" ];
|
|
|
|
|
|
|
|
src = fetchgit {
|
|
|
|
url = "https://git.launchpad.net/ubuntu/+source/dee";
|
|
|
|
rev = "import/1.2.7+17.10.20170616-4ubuntu1";
|
|
|
|
sha256 = "0q3d9d6ahcyibp6x23g1wvjfcppjh9v614s328yjmx47216z7394";
|
2016-03-28 14:45:10 +01:00
|
|
|
};
|
|
|
|
|
2019-03-21 14:02:29 +00:00
|
|
|
patches = [
|
|
|
|
"${src}/debian/patches/gtkdocize.patch"
|
|
|
|
"${src}/debian/patches/strict-prototype.patch"
|
|
|
|
"${src}/debian/patches/icu-pkg-config.patch"
|
|
|
|
];
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
|
|
|
pkgconfig
|
2019-07-22 08:06:59 +01:00
|
|
|
# https://gitlab.gnome.org/GNOME/vala/issues/803
|
|
|
|
vala_0_40
|
2019-03-21 14:02:29 +00:00
|
|
|
autoreconfHook
|
|
|
|
gobject-introspection
|
|
|
|
python3
|
|
|
|
];
|
2016-03-28 14:45:10 +01:00
|
|
|
|
2019-03-21 14:02:29 +00:00
|
|
|
buildInputs = [
|
|
|
|
glib
|
|
|
|
icu
|
|
|
|
dbus-glib
|
|
|
|
];
|
2017-08-26 09:48:06 +01:00
|
|
|
|
2019-03-21 14:02:29 +00:00
|
|
|
configureFlags = [
|
|
|
|
"--disable-gtk-doc"
|
|
|
|
"--with-pygi-overrides-dir=${placeholder ''py''}/${python3.sitePackages}/gi/overrides"
|
|
|
|
];
|
2016-03-28 14:45:10 +01:00
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "A library that uses DBus to provide objects allowing you to create Model-View-Controller type programs across DBus";
|
2017-08-01 21:03:30 +01:00
|
|
|
homepage = https://launchpad.net/dee;
|
2016-03-28 14:45:10 +01:00
|
|
|
license = licenses.lgpl3;
|
|
|
|
platforms = platforms.linux;
|
2019-03-21 14:02:29 +00:00
|
|
|
maintainers = with maintainers; [ abbradar worldofpeace ];
|
2016-03-28 14:45:10 +01:00
|
|
|
};
|
|
|
|
}
|