87b968e858
+small style changes (though almost all string changed) svn path=/nixpkgs/trunk/; revision=29389
29 lines
934 B
Nix
29 lines
934 B
Nix
{stdenv, fetchurl_gnome, gtk, pkgconfig, perl, perlXMLParser, libxml2, gettext
|
|
, python, libxml2Python, docbook5, docbook_xsl, libxslt, intltool, libart_lgpl
|
|
, withGNOME ? false, libgnomeui }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
inherit (src) name;
|
|
|
|
src = fetchurl_gnome {
|
|
project = "dia";
|
|
major = "0"; minor = "97"; patchlevel = "1";
|
|
sha256 = "0hli89fdzzbshqdznxrbgyqw55qlr4z5xpn86jcg5fl7kln8pzld";
|
|
};
|
|
|
|
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";
|
|
|
|
meta = {
|
|
description = "Gnome Diagram drawing software";
|
|
homepage = http://live.gnome.org/Dia;
|
|
maintainers = with stdenv.lib.maintainers; [raskin urkud];
|
|
platforms = stdenv.lib.platforms.linux;
|
|
};
|
|
}
|