Merge pull request #282044 from leo248/deskreen
deskreen: init at 2.0.4
This commit is contained in:
commit
2047e2ce33
2 changed files with 52 additions and 0 deletions
|
@ -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";
|
||||||
|
|
44
pkgs/by-name/de/deskreen/package.nix
Normal file
44
pkgs/by-name/de/deskreen/package.nix
Normal 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;
|
||||||
|
};
|
||||||
|
})
|
Loading…
Reference in a new issue