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

39 lines
897 B
Nix
Raw Normal View History

{ lib, mkDerivation, fetchFromGitHub, cmake, pkgconfig, qtbase, qttools, qtx11extras, qtsvg, kwindowsystem, libqtxdg, xorg, autoPatchelfHook }:
mkDerivation rec {
2019-02-06 00:14:54 +01:00
pname = "screengrab";
2019-02-26 22:32:38 +01:00
version = "1.101";
2017-11-02 03:09:14 +01:00
src = fetchFromGitHub {
owner = "lxqt";
2019-02-06 00:14:54 +01:00
repo = pname;
rev = version;
2019-02-26 22:32:38 +01:00
sha256 = "111gnkhp77qkch7xqr7k3h8zrg4871gapyd4vvlpaj0gjhirjg6h";
};
2019-02-06 00:14:54 +01:00
nativeBuildInputs = [
cmake
pkgconfig
autoPatchelfHook # fix libuploader.so and libextedit.so not found
];
buildInputs = [
2017-02-25 16:44:29 +01:00
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 = platforms.linux;
maintainers = with maintainers; [ romildo ];
};
}