2011-09-20 08:31:37 +02:00
|
|
|
{stdenv, fetchurl_gnome, gtk, pkgconfig, perl, perlXMLParser, libxml2, gettext
|
|
|
|
, python, libxml2Python, docbook5, docbook_xsl, libxslt, intltool, libart_lgpl
|
|
|
|
, withGNOME ? false, libgnomeui }:
|
2007-06-20 14:20:39 +02:00
|
|
|
|
2011-09-20 08:31:37 +02:00
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
inherit (src) name;
|
|
|
|
|
|
|
|
src = fetchurl_gnome {
|
|
|
|
project = "dia";
|
|
|
|
major = "0"; minor = "97"; patchlevel = "1";
|
|
|
|
sha256 = "0hli89fdzzbshqdznxrbgyqw55qlr4z5xpn86jcg5fl7kln8pzld";
|
2007-06-20 14:20:39 +02:00
|
|
|
};
|
|
|
|
|
2011-09-20 08:31:37 +02:00
|
|
|
buildInputs =
|
|
|
|
[ gtk perlXMLParser libxml2 gettext python libxml2Python docbook5
|
|
|
|
libxslt docbook_xsl libart_lgpl
|
|
|
|
] ++ stdenv.lib.optional withGNOME libgnomeui;
|
|
|
|
|
|
|
|
buildNativeInputs = [ pkgconfig intltool perl ];
|
|
|
|
|
|
|
|
configureFlags = stdenv.lib.optionalString withGNOME "--enable-gnome";
|
2007-06-26 13:49:45 +02:00
|
|
|
|
|
|
|
meta = {
|
2011-09-20 08:31:37 +02:00
|
|
|
description = "Gnome Diagram drawing software";
|
2010-01-15 11:51:44 +01:00
|
|
|
homepage = http://live.gnome.org/Dia;
|
2011-09-20 08:31:37 +02:00
|
|
|
maintainers = with stdenv.lib.maintainers; [raskin urkud];
|
|
|
|
platforms = stdenv.lib.platforms.linux;
|
2007-06-26 13:49:45 +02:00
|
|
|
};
|
2007-06-20 14:20:39 +02:00
|
|
|
}
|