Files
nixpkgs/pkgs/by-name/vi/vipsdisp/package.nix
Dark Steveneq 646b892680
Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
push sheeet
2025-10-09 14:15:47 +02:00

56 lines
942 B
Nix

{
stdenv,
lib,
fetchFromGitHub,
fetchpatch2,
meson,
ninja,
pkg-config,
wrapGAppsHook4,
vips,
gtk4,
python3,
}:
stdenv.mkDerivation rec {
pname = "vipsdisp";
version = "4.1.2";
src = fetchFromGitHub {
owner = "jcupitt";
repo = "vipsdisp";
tag = "v${version}";
hash = "sha256-9L8l/afD6phq8T3ReYqQQgD1CztW5gw0MME23Ut/lEE=";
};
postPatch = ''
chmod +x ./meson_post_install.py
patchShebangs ./meson_post_install.py
'';
nativeBuildInputs = [
meson
ninja
pkg-config
wrapGAppsHook4
];
buildInputs = [
vips
gtk4
python3
];
# No tests implemented.
doCheck = false;
meta = {
homepage = "https://github.com/jcupitt/vipsdisp";
description = "Tiny image viewer with libvips";
license = lib.licenses.mit;
mainProgram = "vipsdisp";
maintainers = with lib.maintainers; [ foo-dogsquared ];
platforms = lib.platforms.unix;
};
}