nixpkgs/pkgs/desktops/lxqt/optional/screengrab/default.nix
José Romildo Malaquias 8d7341e10b screengrab: small fixes
2017-11-02 00:09:14 -02:00

35 lines
828 B
Nix

{ stdenv, fetchFromGitHub, cmake, pkgconfig, qtbase, qttools, qtx11extras, qtsvg, kwindowsystem, libqtxdg, xorg }:
stdenv.mkDerivation rec {
name = "screengrab-${version}";
version = "1.97";
src = fetchFromGitHub {
owner = "QtDesktop";
repo = "screengrab";
rev = version;
sha256 = "0qhdxnv1pz745qgvdv5x7kyfx9dz9rrq0wxyfimppzxcszv4pl2z";
};
nativeBuildInputs = [ cmake pkgconfig ];
buildInputs = [
qtbase
qttools
qtx11extras
qtsvg
kwindowsystem
libqtxdg
xorg.libpthreadstubs
xorg.libXdmcp
];
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 ];
};
}