nixpkgs/pkgs/tools/misc/flameshot/default.nix
2021-07-19 13:19:21 +02:00

25 lines
662 B
Nix

{ mkDerivation, lib, fetchFromGitHub, qtbase, cmake, qttools, qtsvg }:
mkDerivation rec {
pname = "flameshot";
version = "0.10.0";
src = fetchFromGitHub {
owner = "flameshot-org";
repo = "flameshot";
rev = "v${version}";
sha256 = "1m0mx8qhy9ycsqh5dj6c7mwwpbhqxlds31dqdxxk0krwl750smi2";
};
nativeBuildInputs = [ cmake qttools qtsvg ];
buildInputs = [ qtbase ];
meta = with lib; {
description = "Powerful yet simple to use screenshot software";
homepage = "https://github.com/flameshot-org/flameshot";
maintainers = with maintainers; [ scode ];
license = licenses.gpl3Plus;
platforms = platforms.linux;
};
}