cozy-drive: Add Cozy Drive package. (#138730)
* pkg(cozy-drive): Add Cozy Drive package. * fix(cozy-drive): Remove unwanted file. * fix(cozy-drive): Fix unwanted deletion on clipcat rl * pkg(cozy-drive): Add rl-2111 section ran with script * cozy-drive: init - release-note Delete useless release note entry. Co-authored-by: Sandro <sandro.jaeckel@gmail.com> * cozy-drive: init fix syntax Fix syntax on with meta lib Co-authored-by: Sandro <sandro.jaeckel@gmail.com> * maintainers: add Simarra * cozy-drive: init. Fix maintenair name * cozy-drive: init. remove unwanted rl section * cozy-drive: init. set 3.30.0 version * cozy-drive: v3.30.0>v3.30.1 Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
This commit is contained in:
parent
bb7816aa99
commit
9b60125d5d
|
@ -10300,6 +10300,12 @@
|
||||||
fingerprint = "ADF4 C13D 0E36 1240 BD01 9B51 D1DE 6D7F 6936 63A5";
|
fingerprint = "ADF4 C13D 0E36 1240 BD01 9B51 D1DE 6D7F 6936 63A5";
|
||||||
}];
|
}];
|
||||||
};
|
};
|
||||||
|
simarra = {
|
||||||
|
name = "simarra";
|
||||||
|
email = "loic.martel@protonmail.com";
|
||||||
|
github = "simarra";
|
||||||
|
githubId = 14372987;
|
||||||
|
};
|
||||||
simonchatts = {
|
simonchatts = {
|
||||||
email = "code@chatts.net";
|
email = "code@chatts.net";
|
||||||
github = "simonchatts";
|
github = "simonchatts";
|
||||||
|
|
35
pkgs/applications/networking/cozy-drive/default.nix
Normal file
35
pkgs/applications/networking/cozy-drive/default.nix
Normal file
|
@ -0,0 +1,35 @@
|
||||||
|
{ lib
|
||||||
|
, fetchurl
|
||||||
|
, appimageTools
|
||||||
|
}:
|
||||||
|
|
||||||
|
let
|
||||||
|
pname = "cozydrive";
|
||||||
|
version = "3.30.1";
|
||||||
|
name = "${pname}-${version}";
|
||||||
|
|
||||||
|
src = fetchurl {
|
||||||
|
url = "https://github.com/cozy-labs/cozy-desktop/releases/download/v${version}/Cozy-Drive-${version}-x86_64.AppImage";
|
||||||
|
sha256 = "06w305l5iadd4k70jvrvw2scwlfxycign2nz0f2vrwwhqy8bpfqs";
|
||||||
|
};
|
||||||
|
appimageContents = appimageTools.extract { inherit name src; };
|
||||||
|
|
||||||
|
in
|
||||||
|
appimageTools.wrapType2 {
|
||||||
|
inherit name src;
|
||||||
|
extraInstallCommands = ''
|
||||||
|
mv $out/bin/${name} $out/bin/${pname}
|
||||||
|
install -m 444 -D ${appimageContents}/cozydrive.desktop -t $out/share/applications
|
||||||
|
substituteInPlace $out/share/applications/cozydrive.desktop \
|
||||||
|
--replace 'Exec=AppRun' 'Exec=${pname}'
|
||||||
|
cp -r ${appimageContents}/usr/share/icons $out/share
|
||||||
|
'';
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
description = "Cozy Drive is a synchronization tool for your files and folders with Cozy Cloud.";
|
||||||
|
homepage = "https://cozy.io";
|
||||||
|
license = licenses.gpl3Only;
|
||||||
|
maintainers = with maintainers; [ "Simarra" ];
|
||||||
|
platforms = [ "x86_64-linux" ];
|
||||||
|
};
|
||||||
|
}
|
|
@ -23925,6 +23925,8 @@ with pkgs;
|
||||||
buildGoPackage = buildGo115Package;
|
buildGoPackage = buildGo115Package;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
cozy-drive = callPackage ../applications/networking/cozy-drive {};
|
||||||
|
|
||||||
cq-editor = libsForQt5.callPackage ../applications/graphics/cq-editor {
|
cq-editor = libsForQt5.callPackage ../applications/graphics/cq-editor {
|
||||||
python3Packages = python37Packages;
|
python3Packages = python37Packages;
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue