2021-04-05 11:40:55 +00:00
|
|
|
{ mkDerivation, lib, fetchFromGitHub, qtbase, cmake, qttools, qtsvg }:
|
|
|
|
|
|
|
|
mkDerivation rec {
|
|
|
|
pname = "flameshot";
|
|
|
|
version = "0.9.0";
|
|
|
|
|
|
|
|
#src = lib.cleanSourceWith {
|
|
|
|
# filter = path: type: type != "directory" || (
|
|
|
|
# baseNameOf path != "build" && baseNameOf path != ".git"
|
|
|
|
# );
|
|
|
|
# src = /home/lukegb/Projects/flameshot;
|
|
|
|
#};
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "lukegb";
|
|
|
|
repo = "flameshot";
|
2021-04-05 13:57:59 +00:00
|
|
|
rev = "72ca3ffc84fed71d5199c8d235afb047649a9de1";
|
|
|
|
sha256 = "sha256:0s1jrwmpz5r2qdbbg2m6wjwpxjngx54x2xq2gwyjsf3kpi4d5dl2";
|
2021-04-05 11:40:55 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
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 = [ maintainers.scode ];
|
|
|
|
license = lib.licenses.gpl3Plus;
|
|
|
|
platforms = lib.platforms.linux;
|
|
|
|
};
|
|
|
|
}
|