1
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs synced 2024-10-19 03:47:13 -04:00
nixpkgs/pkgs/desktops/lxqt/optional/screengrab/default.nix

38 lines
970 B
Nix
Raw Normal View History

2017-02-25 10:44:29 -05:00
{ stdenv, fetchFromGitHub, cmake, pkgconfig, qtbase, qttools, qtx11extras, qtsvg, kwindowsystem, libqtxdg, xorg }:
stdenv.mkDerivation rec {
2017-02-19 09:45:02 -05:00
name = "screengrab-unstable-2017-02-18";
srcs = fetchFromGitHub {
owner = "QtDesktop";
repo = "screengrab";
2017-02-19 09:45:02 -05:00
rev = "6fc03c70fe132b89f35d4cef2f62c9d804de3b64";
sha256 = "1h3rlpmaqxzysaibcw7s5msbrwaxkg6sz7a8xv6cqzjvggv09my0";
};
nativeBuildInputs = [ cmake pkgconfig ];
buildInputs = [
2017-02-25 10:44:29 -05:00
qtbase
qttools
qtx11extras
qtsvg
kwindowsystem
libqtxdg
xorg.libpthreadstubs
xorg.libXdmcp
];
cmakeFlags = [ "-DSG_USE_SYSTEM_QXT=ON" "-DCMAKE_INSTALL_LIBDIR=lib" ];
NIX_CFLAGS_COMPILE = [ "-std=c++11" ];
meta = with stdenv.lib; {
description = "Crossplatform tool for fast making screenshots";
homepage = https://github.com/lxde/screengrab;
license = licenses.gpl2;
platforms = with platforms; unix;
maintainers = with maintainers; [ romildo ];
};
}