2022-04-26 22:51:32 +00:00
|
|
|
{ stdenv
|
|
|
|
, lib
|
|
|
|
, fetchgit
|
|
|
|
, qtbase
|
|
|
|
, qttools
|
|
|
|
, qtx11extras
|
|
|
|
, wrapQtAppsHook
|
|
|
|
, cmake }:
|
2016-05-25 16:27:13 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2021-11-07 20:29:51 +00:00
|
|
|
pname = "qscreenshot";
|
2022-04-26 22:51:32 +00:00
|
|
|
version = "unstable-2021-10-18";
|
2016-05-25 16:27:13 +00:00
|
|
|
|
2022-04-26 22:51:32 +00:00
|
|
|
src = fetchgit {
|
|
|
|
url = "https://git.code.sf.net/p/qscreenshot/code";
|
|
|
|
rev = "e340f06ae2f1a92a353eaa68e103d1c840adc12d";
|
|
|
|
sha256 = "0mdiwn74vngiyazr3lq72f3jnv5zw8wyd2dw6rik6dbrvfs69jig";
|
2016-05-25 16:27:13 +00:00
|
|
|
};
|
|
|
|
|
2022-04-26 22:51:32 +00:00
|
|
|
preConfigure = "cd qScreenshot";
|
2016-05-25 16:27:13 +00:00
|
|
|
|
2022-04-26 22:51:32 +00:00
|
|
|
nativeBuildInputs = [
|
|
|
|
cmake
|
|
|
|
qttools
|
|
|
|
wrapQtAppsHook
|
|
|
|
];
|
|
|
|
buildInputs = [
|
|
|
|
qtbase
|
|
|
|
qtx11extras
|
|
|
|
];
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2016-05-25 16:27:13 +00:00
|
|
|
description = "Simple creation and editing of screenshots";
|
2024-03-19 02:14:51 +00:00
|
|
|
mainProgram = "qScreenshot";
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "https://sourceforge.net/projects/qscreenshot/";
|
2016-05-25 16:27:13 +00:00
|
|
|
license = licenses.gpl2;
|
|
|
|
platforms = platforms.all;
|
|
|
|
maintainers = [ maintainers.bjornfor ];
|
|
|
|
};
|
|
|
|
}
|