2024-05-15 15:35:15 +00:00
|
|
|
{ stdenv, cmake, pkg-config, callPackage, makeWrapper, gobject-introspection, wrapGAppsHook3
|
2021-05-20 23:08:51 +00:00
|
|
|
, python3Packages, gtk3, glib, libxml2, gnuplot, gnome, gdk-pixbuf, librsvg, intltool, libmirage }:
|
2024-05-15 15:35:15 +00:00
|
|
|
stdenv.mkDerivation {
|
|
|
|
|
|
|
|
inherit (callPackage ./common-drv-attrs.nix {
|
|
|
|
version = "3.2.6";
|
|
|
|
pname = "image-analyzer";
|
|
|
|
hash = "sha256-7I8RUgd+k3cEzskJGbziv1f0/eo5QQXn62wGh/Y5ozc=";
|
|
|
|
}) pname version src meta;
|
|
|
|
|
|
|
|
buildInputs = [ libxml2 gnuplot libmirage gnome.adwaita-icon-theme gdk-pixbuf librsvg
|
|
|
|
python3Packages.pygobject3 python3Packages.matplotlib ];
|
|
|
|
nativeBuildInputs = [ cmake pkg-config wrapGAppsHook3 intltool ];
|
|
|
|
|
|
|
|
dontWrapGApps = true;
|
|
|
|
postFixup = ''
|
|
|
|
wrapProgram $out/bin/image-analyzer \
|
|
|
|
''${gappsWrapperArgs[@]} \
|
|
|
|
--set PYTHONPATH "$PYTHONPATH"
|
|
|
|
'';
|
2020-04-24 23:36:52 +00:00
|
|
|
}
|