nixpkgs/pkgs/desktops/lxqt/screengrab/default.nix
worldofpeace 3167eb3780 lxqt: use qt5's mkDerivation
This should also ensure that the applications get wrapped
appropriately.
2019-08-19 21:22:18 -04:00

39 lines
902 B
Nix

{ lib, mkDerivation, fetchFromGitHub, cmake, pkgconfig, qtbase, qttools, qtx11extras, qtsvg, kwindowsystem, libqtxdg, xorg, autoPatchelfHook }:
mkDerivation rec {
pname = "screengrab";
version = "1.101";
src = fetchFromGitHub {
owner = "lxqt";
repo = pname;
rev = version;
sha256 = "111gnkhp77qkch7xqr7k3h8zrg4871gapyd4vvlpaj0gjhirjg6h";
};
nativeBuildInputs = [
cmake
pkgconfig
autoPatchelfHook # fix libuploader.so and libextedit.so not found
];
buildInputs = [
qtbase
qttools
qtx11extras
qtsvg
kwindowsystem
libqtxdg
xorg.libpthreadstubs
xorg.libXdmcp
];
meta = with lib; {
description = "Crossplatform tool for fast making screenshots";
homepage = https://github.com/lxqt/screengrab;
license = licenses.gpl2;
platforms = with platforms; unix;
maintainers = with maintainers; [ romildo ];
};
}