Files
nixpkgs/pkgs/development/octave-modules/image/default.nix
K900 ebadae9eae octavePackages: drop mesa dependencies
Those don't do anything. statistics tests still pass, image tests
also pass but the hook doesn't know how to handle xfail so the build
fails.
2026-06-17 18:47:21 +03:00

41 lines
1.0 KiB
Nix

{
buildOctavePackage,
lib,
fetchurl,
gnuplot,
makeFontsConf,
writableTmpDirAsHomeHook,
}:
buildOctavePackage rec {
pname = "image";
version = "2.20.0";
src = fetchurl {
url = "mirror://sourceforge/octave/${pname}-${version}.tar.gz";
sha256 = "sha256-X42X7X99GM6FSoF0u/gZ6eOnA7zRyyyosa0Vue8ylSI=";
};
nativeOctavePkgTestInputs = [
gnuplot
writableTmpDirAsHomeHook
];
octavePkgTestEnv.FONTCONFIG_FILE = makeFontsConf { fontDirectories = [ ]; };
__structuredAttrs = true;
meta = {
homepage = "https://gnu-octave.github.io/packages/image/";
license = lib.licenses.gpl3Plus;
maintainers = with lib.maintainers; [ ravenjoad ];
description = "Functions for processing images";
longDescription = ''
The Octave-forge Image package provides functions for processing
images. The package also provides functions for feature extraction,
image statistics, spatial and geometric transformations, morphological
operations, linear filtering, and much more.
'';
};
}