nixpkgs/pkgs/development/libraries/dee/default.nix

58 lines
1.2 KiB
Nix
Raw Normal View History

{ stdenv
, fetchgit
, pkgconfig
, glib
, icu
, gobject-introspection
, dbus-glib
, vala
, python3
, autoreconfHook
}:
2016-03-28 14:45:10 +01:00
stdenv.mkDerivation rec {
pname = "dee";
version = "unstable-2017-06-16";
2016-03-28 14:45:10 +01: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
};
patches = [
"${src}/debian/patches/gtkdocize.patch"
"${src}/debian/patches/strict-prototype.patch"
"${src}/debian/patches/icu-pkg-config.patch"
];
nativeBuildInputs = [
pkgconfig
vala
autoreconfHook
gobject-introspection
python3
];
2016-03-28 14:45:10 +01:00
buildInputs = [
glib
icu
dbus-glib
];
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";
homepage = https://launchpad.net/dee;
2016-03-28 14:45:10 +01:00
license = licenses.lgpl3;
platforms = platforms.linux;
maintainers = with maintainers; [ abbradar worldofpeace ];
2016-03-28 14:45:10 +01:00
};
}