nixpkgs/pkgs/desktops/lxqt/screengrab/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

60 lines
1.1 KiB
Nix
Raw Normal View History

{
lib,
2024-04-18 17:21:42 +00:00
stdenv,
fetchFromGitHub,
cmake,
2024-04-18 17:21:42 +00:00
autoPatchelfHook,
gitUpdater,
kwindowsystem,
2024-04-18 17:21:42 +00:00
libXdmcp,
libpthreadstubs,
libqtxdg,
2021-04-16 20:32:42 +00:00
perl,
2024-04-18 17:21:42 +00:00
pkg-config,
qtbase,
qtsvg,
qttools,
wrapQtAppsHook,
}:
2024-04-18 17:21:42 +00:00
stdenv.mkDerivation rec {
2019-02-05 23:14:54 +00:00
pname = "screengrab";
2024-11-07 02:22:17 +00:00
version = "2.9.0";
2017-11-02 02:09:14 +00:00
src = fetchFromGitHub {
owner = "lxqt";
2019-02-05 23:14:54 +00:00
repo = pname;
rev = version;
2024-11-07 02:22:17 +00:00
hash = "sha256-V5ulRkckeSX2EsYmhmA9phVssDtix31M5oZXkOgF660=";
};
2019-02-05 23:14:54 +00:00
nativeBuildInputs = [
cmake
2021-01-17 02:21:50 +00:00
pkg-config
2021-04-16 20:32:42 +00:00
perl # needed by LXQtTranslateDesktop.cmake
2023-11-05 20:23:51 +00:00
qttools
2019-02-05 23:14:54 +00:00
autoPatchelfHook # fix libuploader.so and libextedit.so not found
2024-04-18 17:21:42 +00:00
wrapQtAppsHook
2019-02-05 23:14:54 +00:00
];
buildInputs = [
2017-02-25 15:44:29 +00:00
kwindowsystem
2024-04-18 17:21:42 +00:00
libXdmcp
libpthreadstubs
2017-02-25 15:44:29 +00:00
libqtxdg
2024-04-18 17:21:42 +00:00
qtbase
qtsvg
];
passthru.updateScript = gitUpdater { };
meta = with lib; {
2020-01-22 21:16:56 +00:00
homepage = "https://github.com/lxqt/screengrab";
description = "Crossplatform tool for fast making screenshots";
mainProgram = "screengrab";
license = licenses.gpl2Plus;
platforms = platforms.linux;
2022-04-14 13:52:15 +00:00
maintainers = teams.lxqt.members;
};
}