2015-02-10 13:25:23 +00:00
|
|
|
{ callPackage, gtk3, glib, libxml2, gnuplot, makeWrapper, stdenv, gnome3, gdk_pixbuf, librsvg }:
|
2015-02-10 01:27:04 +00:00
|
|
|
let pkg = import ./base.nix {
|
|
|
|
version = "3.0.0";
|
|
|
|
pkgName = "image-analyzer";
|
|
|
|
pkgSha256 = "1rb3f7c08dxc02zrwrkfvq7qlzlmm0kd2ah1fhxj6ajiyshi8q4v";
|
|
|
|
};
|
|
|
|
in callPackage pkg {
|
2015-02-10 13:25:23 +00:00
|
|
|
buildInputs = [ glib gtk3 libxml2 gnuplot (callPackage ./libmirage.nix {}) makeWrapper gnome3.gnome_icon_theme_symbolic gnome3.gnome_icon_theme gdk_pixbuf librsvg ];
|
2015-02-10 01:27:04 +00:00
|
|
|
drvParams = {
|
|
|
|
postFixup = ''
|
|
|
|
wrapProgram $out/bin/image-analyzer \
|
2015-02-10 12:14:25 +00:00
|
|
|
--prefix XDG_DATA_DIRS : "$out/share:$GSETTINGS_SCHEMAS_PATH:$XDG_DATA_DIRS"
|
2015-02-10 01:27:04 +00:00
|
|
|
'';
|
|
|
|
};
|
|
|
|
}
|