nix/pkgs: init my flameshot fork
This commit is contained in:
parent
549b4f1ccc
commit
e11229d070
2 changed files with 31 additions and 0 deletions
|
@ -26,5 +26,6 @@
|
|||
enigma = import ./enigma.nix args;
|
||||
alertmanager-discord = pkgs.callPackage ./alertmanager-discord.nix {};
|
||||
prometheus-snmp-config = import ./prometheus-snmp-config args;
|
||||
flameshot = pkgs.libsForQt5.callPackage ./flameshot {};
|
||||
} // (import ./heptapod-runner.nix args)
|
||||
// (import ./lightspeed args)
|
||||
|
|
30
nix/pkgs/flameshot/default.nix
Normal file
30
nix/pkgs/flameshot/default.nix
Normal file
|
@ -0,0 +1,30 @@
|
|||
{ 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;
|
||||
};
|
||||
}
|
Loading…
Reference in a new issue