1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-24 14:41:17 +00:00
nixpkgs/pkgs/tools/misc/flameshot/default.nix

27 lines
697 B
Nix
Raw Normal View History

2020-10-14 19:59:19 +01:00
{ mkDerivation, lib, fetchFromGitHub, qtbase, cmake, qttools, qtsvg }:
2018-01-21 06:47:57 +00:00
mkDerivation rec {
pname = "flameshot";
2020-11-01 09:39:21 +00:00
version = "0.8.5";
2018-01-21 06:47:57 +00:00
src = fetchFromGitHub {
2020-10-14 19:59:19 +01:00
owner = "flameshot-org";
2018-01-21 06:47:57 +00:00
repo = "flameshot";
rev = "v${version}";
2020-11-01 09:39:21 +00:00
sha256 = "1z77igs60lz106vsf6wsayxjafxm3llf2lm4dpvsqyyrxybfq191";
2018-01-21 06:47:57 +00:00
};
2020-10-14 19:59:19 +01:00
nativeBuildInputs = [ cmake qttools qtsvg ];
buildInputs = [ qtbase ];
2018-01-21 06:47:57 +00:00
enableParallelBuilding = true;
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";
2018-01-21 06:47:57 +00:00
maintainers = [ maintainers.scode ];
2020-10-14 19:59:19 +01:00
license = lib.licenses.gpl3Plus;
platforms = lib.platforms.linux;
2018-01-21 06:47:57 +00:00
};
}