2021-08-05 21:33:18 +00:00
|
|
|
{ mkDerivation
|
|
|
|
, lib
|
|
|
|
, fetchFromGitHub
|
|
|
|
, qtbase
|
|
|
|
, cmake
|
|
|
|
, qttools
|
|
|
|
, qtsvg
|
|
|
|
, nix-update-script
|
|
|
|
}:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
mkDerivation rec {
|
|
|
|
pname = "flameshot";
|
2022-01-19 23:45:15 +00:00
|
|
|
version = "11.0.0";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
2020-11-03 02:18:15 +00:00
|
|
|
owner = "flameshot-org";
|
2020-04-24 23:36:52 +00:00
|
|
|
repo = "flameshot";
|
|
|
|
rev = "v${version}";
|
2022-01-19 23:45:15 +00:00
|
|
|
sha256 = "sha256-SlnEXW3Uhdgl0icwYyYsKQOcYkAtHpAvL6LMXBF2gWM=";
|
2021-08-05 21:33:18 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
passthru = {
|
|
|
|
updateScript = nix-update-script {
|
|
|
|
attrPath = pname;
|
|
|
|
};
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2020-11-03 02:18:15 +00:00
|
|
|
nativeBuildInputs = [ cmake qttools qtsvg ];
|
2020-04-24 23:36:52 +00:00
|
|
|
buildInputs = [ qtbase ];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Powerful yet simple to use screenshot software";
|
2020-11-21 19:51:51 +00:00
|
|
|
homepage = "https://github.com/flameshot-org/flameshot";
|
2021-10-28 06:52:43 +00:00
|
|
|
maintainers = with maintainers; [ scode oxalica ];
|
2021-07-21 07:28:18 +00:00
|
|
|
license = licenses.gpl3Plus;
|
|
|
|
platforms = platforms.linux;
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|