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";
|
2021-08-05 21:33:18 +00:00
|
|
|
version = "0.10.1";
|
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}";
|
2021-08-05 21:33:18 +00:00
|
|
|
sha256 = "1ncknjayl6am740f49g0lc28z1zsifbicxz1j1kwps3ksj15nl7a";
|
|
|
|
};
|
|
|
|
|
|
|
|
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-07-21 07:28:18 +00:00
|
|
|
maintainers = with maintainers; [ scode ];
|
|
|
|
license = licenses.gpl3Plus;
|
|
|
|
platforms = platforms.linux;
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|