15 stdenv.mkDerivation (finalAttrs: {
19 src = fetchFromGitHub {
22 rev = "v${finalAttrs.version}";
23 sha256 = "sha256-mlBceYMfsAE7MI6J7xnkJHBJ8RInePooXH5YW9I47YM=";
26 cargoRoot = "src/fuzzy-finder";
27 cargoDeps = rustPlatform.fetchCargoTarball {
29 sourceRoot = "${finalAttrs.src.name}/src/fuzzy-finder";
30 hash = "sha256-CDKlmwA2Wj78xPaSiYPmIJ7xmiE5Co+oGGejZU3v1zI=";
36 rustPlatform.cargoSetupHook
52 "-DVPV_VERSION=v${finalAttrs.version}"
57 homepage = "https://github.com/kidanger/vpv";
58 description = "Image viewer for image processing experts";
59 maintainers = [ lib.maintainers.kidanger ];
60 license = lib.licenses.gpl3;
61 broken = stdenv.isDarwin; # the CMake expects the SDL2::SDL2main target for darwin