mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-29 10:23:29 +00:00
5c5c20919b
It is widely used outside gnome – although it probably should not be.
22 lines
766 B
Nix
22 lines
766 B
Nix
{ cmake, pkg-config, callPackage, gobject-introspection, wrapGAppsHook3
|
|
, python3Packages, libxml2, gnuplot, adwaita-icon-theme, gdk-pixbuf, intltool, libmirage }:
|
|
python3Packages.buildPythonApplication {
|
|
|
|
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 adwaita-icon-theme gdk-pixbuf ];
|
|
propagatedBuildInputs = with python3Packages; [ pygobject3 matplotlib ];
|
|
nativeBuildInputs = [ cmake pkg-config wrapGAppsHook3 intltool gobject-introspection ];
|
|
|
|
pyproject = false;
|
|
dontWrapGApps = true;
|
|
preFixup = ''
|
|
makeWrapperArgs+=("''${gappsWrapperArgs[@]}")
|
|
'';
|
|
|
|
}
|