30 lines
895 B
Nix
30 lines
895 B
Nix
{ 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";
|
|
rev = "6f4feb5277f868943cc4ae82bcb0c0f12523e93f";
|
|
sha256 = "sha256:066jl5mm9jbhzh5ly0hljlrpxadilwylpyhnakynmvfkj2567dq1";
|
|
};
|
|
|
|
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;
|
|
};
|
|
}
|