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