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
65 lines
1.0 KiB
Nix
65 lines
1.0 KiB
Nix
{
|
|
lib,
|
|
stdenv,
|
|
fetchFromGitHub,
|
|
cmake,
|
|
pkg-config,
|
|
ninja,
|
|
opencv,
|
|
SDL2,
|
|
gtk3,
|
|
catch2_3,
|
|
spdlog,
|
|
exiv2,
|
|
wrapGAppsHook3,
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "xpano";
|
|
version = "0.19.3";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "krupkat";
|
|
repo = "xpano";
|
|
tag = "v${version}";
|
|
sha256 = "sha256-f2qoBpZ5lPBocPas8KMsY5bSYL20gO+ZHLz2R66qSig=";
|
|
fetchSubmodules = true;
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
cmake
|
|
ninja
|
|
pkg-config
|
|
wrapGAppsHook3
|
|
];
|
|
|
|
buildInputs = [
|
|
opencv
|
|
SDL2
|
|
gtk3
|
|
spdlog
|
|
exiv2
|
|
];
|
|
|
|
checkInputs = [
|
|
catch2_3
|
|
];
|
|
|
|
doCheck = true;
|
|
|
|
cmakeFlags = [
|
|
"-DBUILD_TESTING=ON"
|
|
"-DXPANO_INSTALL_DESKTOP_FILES=ON"
|
|
];
|
|
|
|
meta = {
|
|
description = "Panorama stitching tool";
|
|
mainProgram = "Xpano";
|
|
homepage = "https://krupkat.github.io/xpano/";
|
|
changelog = "https://github.com/krupkat/xpano/releases/tag/v${version}";
|
|
license = lib.licenses.gpl3Plus;
|
|
maintainers = with lib.maintainers; [ krupkat ];
|
|
platforms = lib.platforms.linux;
|
|
};
|
|
}
|