diff options
Diffstat (limited to 'pkgs/desktops/lxqt/screengrab/default.nix')
-rw-r--r-- | pkgs/desktops/lxqt/screengrab/default.nix | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/pkgs/desktops/lxqt/screengrab/default.nix b/pkgs/desktops/lxqt/screengrab/default.nix new file mode 100644 index 000000000000..8890d3f47808 --- /dev/null +++ b/pkgs/desktops/lxqt/screengrab/default.nix @@ -0,0 +1,34 @@ +{ stdenv, fetchFromGitHub, cmake, pkgconfig, qtbase, qttools, qtx11extras, qtsvg, kwindowsystem, libqtxdg, xorg }: + +stdenv.mkDerivation rec { + name = "screengrab-${version}"; + version = "1.98"; + + src = fetchFromGitHub { + owner = "lxqt"; + repo = "screengrab"; + rev = version; + sha256 = "1y3r29220z6y457cajpad3pjnr883smbvh0kai8hc5hh4k4kxs6v"; + }; + + 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/lxqt/screengrab; + license = licenses.gpl2; + platforms = with platforms; unix; + maintainers = with maintainers; [ romildo ]; + }; +} |