summary refs log tree commit diff
path: root/pkgs/development
diff options
context:
space:
mode:
authorworldofpeace <worldofpeace@users.noreply.github.com>2018-08-04 17:37:34 -0400
committerworldofpeace <worldofpeace@users.noreply.github.com>2018-08-04 17:37:34 -0400
commit7f57ebd2c4d9e39eadc4d908ff53976cce49e22e (patch)
tree369fb6b63c14c9d694a909b94fe1a13834a93afa /pkgs/development
parentd31f89df44666fcd0c854a1cc8da434929e73832 (diff)
downloadnixpkgs-7f57ebd2c4d9e39eadc4d908ff53976cce49e22e.tar
nixpkgs-7f57ebd2c4d9e39eadc4d908ff53976cce49e22e.tar.gz
nixpkgs-7f57ebd2c4d9e39eadc4d908ff53976cce49e22e.tar.bz2
nixpkgs-7f57ebd2c4d9e39eadc4d908ff53976cce49e22e.tar.lz
nixpkgs-7f57ebd2c4d9e39eadc4d908ff53976cce49e22e.tar.xz
nixpkgs-7f57ebd2c4d9e39eadc4d908ff53976cce49e22e.tar.zst
nixpkgs-7f57ebd2c4d9e39eadc4d908ff53976cce49e22e.zip
libunity: init at 7.1.4
Diffstat (limited to 'pkgs/development')
-rw-r--r--pkgs/development/libraries/libunity/default.nix53
1 files changed, 53 insertions, 0 deletions
diff --git a/pkgs/development/libraries/libunity/default.nix b/pkgs/development/libraries/libunity/default.nix
new file mode 100644
index 00000000000..3d3764e9258
--- /dev/null
+++ b/pkgs/development/libraries/libunity/default.nix
@@ -0,0 +1,53 @@
+{ stdenv, fetchurl, pkgconfig, automake, autoconf, libtool
+, glib, vala, dee, gobjectIntrospection, libdbusmenu-glib
+, gtk3, intltool, gnome-common, python3, icu }:
+
+stdenv.mkDerivation rec {
+  pname = "libunity";
+  version = "7.1.4";
+
+  name = "${pname}-${version}";
+
+  outputs = [ "out" "dev" ];
+
+  src = fetchurl {
+    url = "https://launchpad.net/ubuntu/+archive/primary/+files/${pname}_${version}+15.10.20151002.orig.tar.gz";
+    sha256 = "1sf98qcjkxfibxk03firnc12dm6il8jzaq5763qam8ydg4li4gij";
+  };
+
+  nativeBuildInputs = [
+    autoconf
+    automake
+    gnome-common
+    gobjectIntrospection
+    intltool
+    libtool
+    pkgconfig
+    python3
+    vala
+  ];
+
+  buildInputs = [
+    glib
+    gtk3
+  ];
+
+  propagatedBuildInputs = [ dee libdbusmenu-glib ];
+
+  preConfigure = "NOCONFIGURE=1 ./autogen.sh";
+
+  configureFlags = [
+    "--disable-static"
+    "--with-pygi-overrides-dir=$(out)/${python3.sitePackages}/gi/overrides"
+  ];
+
+  NIX_LDFLAGS = "-L${icu}/lib";
+
+  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 ];
+  };
+}