3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/tools/misc/flameshot/default.nix

39 lines
779 B
Nix
Raw Normal View History

{ mkDerivation
, lib
, fetchFromGitHub
, qtbase
, cmake
, qttools
, qtsvg
, nix-update-script
}:
2018-01-21 06:47:57 +00:00
mkDerivation rec {
pname = "flameshot";
2021-07-26 02:38:02 +01:00
version = "0.10.1";
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}";
2021-07-26 02:38:02 +01:00
sha256 = "1ncknjayl6am740f49g0lc28z1zsifbicxz1j1kwps3ksj15nl7a";
2018-01-21 06:47:57 +00:00
};
passthru = {
updateScript = nix-update-script {
attrPath = pname;
};
};
2020-10-14 19:59:19 +01: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 12:08:08 +01:00
maintainers = with maintainers; [ scode ];
license = licenses.gpl3Plus;
platforms = platforms.linux;
2018-01-21 06:47:57 +00:00
};
}