bcb2f287e1
GitOrigin-RevId: d603719ec6e294f034936c0d0dc06f689d91b6c3
36 lines
1,011 B
Nix
36 lines
1,011 B
Nix
{ lib, stdenv, fetchFromGitHub, substituteAll, glib, gnome, gettext, jq, intltool }:
|
|
|
|
stdenv.mkDerivation (finalAttrs: {
|
|
pname = "gnome-shell-extension-EasyScreenCast";
|
|
version = "1.9.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "EasyScreenCast";
|
|
repo = "EasyScreenCast";
|
|
rev = finalAttrs.version;
|
|
hash = "sha256-rRRMFAdWseTxW6W194TE3yNlnpPX7gLViLPLQW6zuSI=";
|
|
};
|
|
|
|
patches = [
|
|
(substituteAll {
|
|
src = ./fix-gi-path.patch;
|
|
gnomeShell = gnome.gnome-shell;
|
|
})
|
|
];
|
|
|
|
nativeBuildInputs = [
|
|
glib gettext jq intltool
|
|
];
|
|
|
|
makeFlags = [ "INSTALLBASE=$(out)/share/gnome-shell/extensions" ];
|
|
|
|
passthru.extensionUuid = "EasyScreenCast@iacopodeenosee.gmail.com";
|
|
|
|
meta = with lib; {
|
|
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;
|
|
};
|
|
})
|