2020-10-14 20:59:19 +02:00
|
|
|
{ mkDerivation, lib, fetchFromGitHub, qtbase, cmake, qttools, qtsvg }:
|
2018-01-21 07:47:57 +01:00
|
|
|
|
2019-08-01 08:36:51 +02:00
|
|
|
mkDerivation rec {
|
|
|
|
pname = "flameshot";
|
2021-02-28 13:05:38 +01:00
|
|
|
version = "0.9.0";
|
2018-01-21 07:47:57 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
2020-10-14 20:59:19 +02:00
|
|
|
owner = "flameshot-org";
|
2018-01-21 07:47:57 +01:00
|
|
|
repo = "flameshot";
|
|
|
|
rev = "v${version}";
|
2021-02-28 13:05:38 +01:00
|
|
|
sha256 = "sha256-E5J61k1tVpbwlzYHbCY1rf9+GODcJRRAQwb0jR4s7BU=";
|
2018-01-21 07:47:57 +01:00
|
|
|
};
|
|
|
|
|
2020-10-14 20:59:19 +02:00
|
|
|
nativeBuildInputs = [ cmake qttools qtsvg ];
|
2019-02-06 09:27:05 +01:00
|
|
|
buildInputs = [ qtbase ];
|
|
|
|
|
2019-08-01 08:36:51 +02:00
|
|
|
meta = with lib; {
|
2018-01-21 07:47:57 +01:00
|
|
|
description = "Powerful yet simple to use screenshot software";
|
2020-11-06 09:32:57 +01:00
|
|
|
homepage = "https://github.com/flameshot-org/flameshot";
|
2018-01-21 07:47:57 +01:00
|
|
|
maintainers = [ maintainers.scode ];
|
2020-10-14 20:59:19 +02:00
|
|
|
license = lib.licenses.gpl3Plus;
|
2019-08-01 08:36:51 +02:00
|
|
|
platforms = lib.platforms.linux;
|
2018-01-21 07:47:57 +01:00
|
|
|
};
|
|
|
|
}
|