2017-02-04 21:27:33 +01:00
|
|
|
{ callPackage, gtk3, glib, libxml2, gnuplot, makeWrapper, stdenv, gnome3, gdk_pixbuf, librsvg, intltool }:
|
2015-02-10 02:27:04 +01:00
|
|
|
let pkg = import ./base.nix {
|
2017-05-31 20:57:08 +02:00
|
|
|
version = "3.1.0";
|
2015-02-10 02:27:04 +01:00
|
|
|
pkgName = "image-analyzer";
|
2017-05-31 20:57:08 +02:00
|
|
|
pkgSha256 = "1pr23kxx83xp83h27fkdv86f3bxclkx056f9jx8jhnpn113xp7r2";
|
2015-02-10 02:27:04 +01:00
|
|
|
};
|
|
|
|
in callPackage pkg {
|
2015-05-19 14:44:27 +02:00
|
|
|
buildInputs = [ glib gtk3 libxml2 gnuplot (callPackage ./libmirage.nix {}) makeWrapper
|
2017-02-04 21:27:33 +01:00
|
|
|
gnome3.defaultIconTheme gdk_pixbuf librsvg intltool ];
|
2015-02-10 02:27:04 +01:00
|
|
|
drvParams = {
|
|
|
|
postFixup = ''
|
|
|
|
wrapProgram $out/bin/image-analyzer \
|
2015-02-10 14:44:29 +01:00
|
|
|
--prefix XDG_DATA_DIRS : "$out/share:$XDG_ICON_DIRS:$GSETTINGS_SCHEMAS_PATH"
|
2015-02-10 02:27:04 +01:00
|
|
|
'';
|
|
|
|
};
|
|
|
|
}
|