2021-05-20 23:08:51 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub, substituteAll, glib, gnome, gettext }:
|
2020-12-07 07:45:13 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "gnome-shell-extension-EasyScreenCast";
|
2021-10-28 06:52:43 +00:00
|
|
|
version = "1.4.0";
|
2020-12-07 07:45:13 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
2021-10-28 06:52:43 +00:00
|
|
|
owner = "EasyScreenCast";
|
2020-12-07 07:45:13 +00:00
|
|
|
repo = "EasyScreenCast";
|
2021-10-28 06:52:43 +00:00
|
|
|
rev = version;
|
|
|
|
sha256 = "sha256-+lh/hqYC9+DUvLE016KuAY4Ybw8KrqEEG7WG4pUbg2k=";
|
2020-12-07 07:45:13 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
patches = [
|
|
|
|
(substituteAll {
|
|
|
|
src = ./fix-gi-path.patch;
|
2021-05-20 23:08:51 +00:00
|
|
|
gnomeShell = gnome.gnome-shell;
|
2020-12-07 07:45:13 +00:00
|
|
|
})
|
|
|
|
];
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
|
|
|
glib gettext
|
|
|
|
];
|
|
|
|
|
|
|
|
makeFlags = [ "INSTALLBASE=$(out)/share/gnome-shell/extensions" ];
|
|
|
|
|
2021-07-14 22:03:04 +00:00
|
|
|
passthru.extensionUuid = "EasyScreenCast@iacopodeenosee.gmail.com";
|
2020-12-07 07:45:13 +00:00
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-12-07 07:45:13 +00:00
|
|
|
description = "Simplifies the use of the video recording function integrated in gnome shell";
|
|
|
|
homepage = "https://github.com/EasyScreenCast/EasyScreenCast";
|
|
|
|
license = licenses.gpl3Plus;
|
|
|
|
maintainers = with maintainers; [ doronbehar ];
|
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|
|
|
|
|