From 02d12c9ff68b3bcae1d53e6de422c0d5aa750158 Mon Sep 17 00:00:00 2001 From: Michael Raskin <7c6f434c@mail.ru> Date: Wed, 20 Jun 2007 12:20:39 +0000 Subject: [PATCH] Added Dia. svn path=/nixpkgs/trunk/; revision=8903 --- pkgs/applications/graphics/dia/default.nix | 11 +++++++++++ pkgs/top-level/all-packages.nix | 7 +++++++ 2 files changed, 18 insertions(+) create mode 100644 pkgs/applications/graphics/dia/default.nix diff --git a/pkgs/applications/graphics/dia/default.nix b/pkgs/applications/graphics/dia/default.nix new file mode 100644 index 000000000000..7d1a7df9e43c --- /dev/null +++ b/pkgs/applications/graphics/dia/default.nix @@ -0,0 +1,11 @@ +{stdenv, fetchurl, gtk, pkgconfig, glib, perl, perlXMLParser, libxml2, gettext, python, libxml2Python, docbook5, docbook_xsl, libxslt }: +stdenv.mkDerivation { + name = "dia"; + + src = fetchurl { + url = http://ftp.gnome.org.nyud.net:8080/pub/gnome/sources/dia/0.96/dia-0.96.1.tar.bz2; + md5 = "7b81b22baa2df55efe4845865dddc7b6"; + }; + + buildInputs = [gtk glib perl pkgconfig perlXMLParser libxml2 gettext python libxml2Python docbook5 libxslt docbook_xsl]; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index b9d567405336..c12343f4c7a8 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -2726,6 +2726,13 @@ rec { inherit fetchurl stdenv ghc zlib ncurses curl; }; + dia = import ../applications/graphics/dia { + inherit stdenv fetchurl pkgconfig perl perlXMLParser + libxml2 gettext python libxml2Python docbook5 docbook_xsl + libxslt; + inherit (gtkLibs) gtk glib; + }; + eclipse = plugins : import ../applications/editors/eclipse { inherit fetchurl stdenv makeWrapper jdk;