diff options
author | worldofpeace <worldofpeace@users.noreply.github.com> | 2019-03-21 10:02:29 -0400 |
---|---|---|
committer | worldofpeace <worldofpeace@users.noreply.github.com> | 2019-03-21 10:41:01 -0400 |
commit | dafe2bd977911e9b43fe00257bc4ce7c6be28c2f (patch) | |
tree | 447827990feac584d3ce57c3217d1bd58cdc181b /pkgs/development/libraries/dee | |
parent | dea05e36a119e9325f55e0766589b7b9e48a9b58 (diff) | |
download | nixpkgs-dafe2bd977911e9b43fe00257bc4ce7c6be28c2f.tar nixpkgs-dafe2bd977911e9b43fe00257bc4ce7c6be28c2f.tar.gz nixpkgs-dafe2bd977911e9b43fe00257bc4ce7c6be28c2f.tar.bz2 nixpkgs-dafe2bd977911e9b43fe00257bc4ce7c6be28c2f.tar.lz nixpkgs-dafe2bd977911e9b43fe00257bc4ce7c6be28c2f.tar.xz nixpkgs-dafe2bd977911e9b43fe00257bc4ce7c6be28c2f.tar.zst nixpkgs-dafe2bd977911e9b43fe00257bc4ce7c6be28c2f.zip |
dee: 1.2.7 -> 2017-06-16
Changelog: https://bazaar.launchpad.net/~ci-train-bot/dee/dee-ubuntu-artful-2824/view/head:/debian/changelog
Diffstat (limited to 'pkgs/development/libraries/dee')
-rw-r--r-- | pkgs/development/libraries/dee/default.nix | 54 |
1 files changed, 42 insertions, 12 deletions
diff --git a/pkgs/development/libraries/dee/default.nix b/pkgs/development/libraries/dee/default.nix index fb7ec512319..f0f31ae1ffc 100644 --- a/pkgs/development/libraries/dee/default.nix +++ b/pkgs/development/libraries/dee/default.nix @@ -1,27 +1,57 @@ -{ stdenv, fetchurl, python, pkgconfig -, glib, icu, gobject-introspection }: +{ stdenv +, fetchgit +, pkgconfig +, glib +, icu +, gobject-introspection +, dbus-glib +, vala +, python3 +, autoreconfHook +}: stdenv.mkDerivation rec { - name = "dee-${version}"; - version = "1.2.7"; + pname = "dee"; + version = "unstable-2017-06-16"; - src = fetchurl { - url = "https://launchpad.net/dee/1.0/${version}/+download/${name}.tar.gz"; - sha256 = "12mzffk0lyd566y46x57jlvb9af152b4dqpasr40zal4wrn37w0v"; + 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"; }; - buildInputs = [ glib gobject-introspection icu ]; - nativeBuildInputs = [ python pkgconfig ]; + 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 + ]; - NIX_CFLAGS_COMPILE = [ "-Wno-error=misleading-indentation" ]; # gcc-6 + buildInputs = [ + glib + icu + dbus-glib + ]; - enableParallelBuilding = true; + configureFlags = [ + "--disable-gtk-doc" + "--with-pygi-overrides-dir=${placeholder ''py''}/${python3.sitePackages}/gi/overrides" + ]; 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; license = licenses.lgpl3; platforms = platforms.linux; - maintainers = with maintainers; [ abbradar ]; + maintainers = with maintainers; [ abbradar worldofpeace ]; }; } |