Merge pull request #282044 from leo248/deskreen

deskreen: init at 2.0.4
This commit is contained in:
Pol Dellaiera 2024-01-25 19:31:14 +01:00 committed by GitHub
commit 2047e2ce33
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 52 additions and 0 deletions

View file

@ -10478,6 +10478,14 @@
githubId = 31388299; githubId = 31388299;
name = "Leonardo Eugênio"; name = "Leonardo Eugênio";
}; };
leo248 = {
github ="leo248";
githubId = 95365184;
keys = [{
fingerprint = "81E3 418D C1A2 9687 2C4D 96DC BB1A 818F F295 26D2";
}];
name = "leo248";
};
leo60228 = { leo60228 = {
email = "leo@60228.dev"; email = "leo@60228.dev";
matrix = "@leo60228:matrix.org"; matrix = "@leo60228:matrix.org";

View file

@ -0,0 +1,44 @@
{ lib
, stdenvNoCC
, fetchurl
, appimageTools
}:
stdenvNoCC.mkDerivation (finalAttrs: {
pname = "deskreen";
version = "2.0.4";
src = fetchurl {
url = "https://github.com/pavlobu/deskreen/releases/download/v${finalAttrs.version}/Deskreen-${finalAttrs.version}.AppImage";
hash = "sha256-0jI/mbXaXanY6ay2zn+dPWGvsqWRcF8aYHRvfGVsObE=";
};
deskreenUnwrapped = appimageTools.wrapType2 {
name = "deskreen";
src = finalAttrs.src;
};
buildInputs = [
finalAttrs.deskreenUnwrapped
];
dontUnpack = true;
dontBuild = true;
installPhase = ''
runHook preInstall
mkdir -p $out/bin
ln -s ${finalAttrs.deskreenUnwrapped}/bin/deskreen $out/bin/deskreen
runHook postInstall
'';
meta = {
description = "Turn any device into a secondary screen for your computer";
homepage = "https://deskreen.com";
license = lib.licenses.agpl3;
mainProgram = "deskreen";
maintainers = with lib.maintainers; [ leo248 drupol ];
platforms = lib.platforms.linux;
};
})