mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-07 14:23:19 +00:00
eb04659fc2
This was achieved using the following command: sd 'wrapGAppsHook\b' wrapGAppsHook3 (rg -l 'wrapGAppsHook\b') And then manually reverted the following changes: - alias in top-level.nix - function name in wrap-gapps-hook.sh - comment in postFixup of at-spi2-core - comment in gtk4 - comment in preFixup of 1password-gui/linux.nix - comment in postFixup of qgis/unwrapped-ltr.nix and qgis/unwrapped.nix - comment in postFixup of telegram-desktop - comment in postFixup of fwupd - buildCommand of mongodb-compass - postFixup of xflux-gui - comment in a patch in kdePackages.kde-gtk-config and plasma5Packages.kde-gtk-config - description of programs.sway.wrapperFeatures.gtk NixOS option (manual rebuild)
64 lines
1.0 KiB
Nix
64 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.18.1";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "krupkat";
|
|
repo = pname;
|
|
rev = "v${version}";
|
|
sha256 = "iPGvCJz2iywpSePBZ3c8OiccKfwaGAToGaJfRhruUPk=";
|
|
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 = with lib; {
|
|
description = "A panorama stitching tool";
|
|
mainProgram = "Xpano";
|
|
homepage = "https://krupkat.github.io/xpano/";
|
|
changelog = "https://github.com/krupkat/xpano/releases/tag/v${version}";
|
|
license = licenses.gpl3Plus;
|
|
maintainers = with maintainers; [ krupkat ];
|
|
platforms = platforms.linux;
|
|
};
|
|
}
|