2023-03-27 19:17:25 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub, substituteAll, glib, gnome, gettext, jq, intltool }:
|
2020-12-07 07:45:13 +00:00
|
|
|
|
2023-10-09 19:29:22 +00:00
|
|
|
stdenv.mkDerivation (finalAttrs: {
|
2020-12-07 07:45:13 +00:00
|
|
|
pname = "gnome-shell-extension-EasyScreenCast";
|
2023-02-22 10:55:15 +00:00
|
|
|
version = "1.7.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";
|
2023-10-09 19:29:22 +00:00
|
|
|
rev = finalAttrs.version;
|
2023-02-22 10:55:15 +00:00
|
|
|
hash = "sha256-+cH/gczCdxoSrLp5nD82Spo8bSGyRnUUut3Xkmr9f3o=";
|
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 = [
|
2023-03-27 19:17:25 +00:00
|
|
|
glib gettext jq intltool
|
2020-12-07 07:45:13 +00:00
|
|
|
];
|
|
|
|
|
|
|
|
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;
|
2023-03-27 19:17:25 +00:00
|
|
|
broken = true;
|
2020-12-07 07:45:13 +00:00
|
|
|
};
|
2023-10-09 19:29:22 +00:00
|
|
|
})
|