nixpkgs/pkgs/tools/misc/flameshot/default.nix

25 lines
662 B
Nix
Raw Normal View History

2020-10-14 18:59:19 +00:00
{ mkDerivation, lib, fetchFromGitHub, qtbase, cmake, qttools, qtsvg }:
2018-01-21 06:47:57 +00:00
mkDerivation rec {
pname = "flameshot";
2021-07-19 11:08:08 +00:00
version = "0.10.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}";
2021-07-19 11:08:08 +00:00
sha256 = "1m0mx8qhy9ycsqh5dj6c7mwwpbhqxlds31dqdxxk0krwl750smi2";
2018-01-21 06:47:57 +00:00
};
2020-10-14 18:59:19 +00:00
nativeBuildInputs = [ cmake qttools qtsvg ];
buildInputs = [ qtbase ];
meta = with lib; {
2018-01-21 06:47:57 +00:00
description = "Powerful yet simple to use screenshot software";
homepage = "https://github.com/flameshot-org/flameshot";
2021-07-19 11:08:08 +00:00
maintainers = with maintainers; [ scode ];
license = licenses.gpl3Plus;
platforms = platforms.linux;
2018-01-21 06:47:57 +00:00
};
}