2023-10-09 19:29:22 +00:00
|
|
|
{ stdenv
|
|
|
|
, lib
|
|
|
|
, fetchgit
|
|
|
|
, dos2unix
|
|
|
|
, qtbase
|
|
|
|
, qttools
|
|
|
|
, qtx11extras
|
|
|
|
, wrapQtAppsHook
|
|
|
|
, cmake }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2021-12-06 16:07:01 +00:00
|
|
|
pname = "qscreenshot";
|
2023-10-09 19:29:22 +00:00
|
|
|
version = "unstable-2021-10-18";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2023-10-09 19:29:22 +00:00
|
|
|
src = fetchgit {
|
|
|
|
url = "https://git.code.sf.net/p/qscreenshot/code";
|
|
|
|
rev = "e340f06ae2f1a92a353eaa68e103d1c840adc12d";
|
|
|
|
sha256 = "0mdiwn74vngiyazr3lq72f3jnv5zw8wyd2dw6rik6dbrvfs69jig";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2023-10-09 19:29:22 +00:00
|
|
|
preConfigure = "cd qScreenshot";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2023-10-09 19:29:22 +00:00
|
|
|
nativeBuildInputs = [
|
|
|
|
cmake
|
|
|
|
qttools
|
|
|
|
wrapQtAppsHook
|
|
|
|
];
|
|
|
|
buildInputs = [
|
|
|
|
qtbase
|
|
|
|
qtx11extras
|
|
|
|
];
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
description = "Simple creation and editing of screenshots";
|
|
|
|
homepage = "https://sourceforge.net/projects/qscreenshot/";
|
|
|
|
license = licenses.gpl2;
|
|
|
|
platforms = platforms.all;
|
|
|
|
maintainers = [ maintainers.bjornfor ];
|
|
|
|
};
|
|
|
|
}
|