insync-emblem-icons: init at 3.8.7.50516

This commit is contained in:
hellwolf 2024-04-21 00:10:37 +03:00
parent 761e5a30e7
commit f840a51a49
No known key found for this signature in database
GPG Key ID: 1080B4863AD0F5D1

View File

@ -0,0 +1,47 @@
{
lib,
stdenv,
fetchurl,
dpkg,
}:
stdenv.mkDerivation (finalAttrs: {
pname = "insync-emblem-icons";
version = "3.8.7.50516";
src = fetchurl rec {
urls = [
"https://cdn.insynchq.com/builds/linux/insync-emblem-icons_${finalAttrs.version}_all.deb"
"https://web.archive.org/web/20240409081214/${builtins.elemAt urls 0}"
];
hash = "sha256-uALaIxETEEkjDTx331uIsb4VswWk2K0dGuDMYH8v5U8=";
};
nativeBuildInputs = [ dpkg ];
unpackPhase = ''
runHook preUnpack
dpkg-deb --fsys-tarfile "$src" | tar -x --no-same-permissions --no-same-owner
runHook postUnpack
'';
installPhase = ''
runHook preInstall
mkdir -p $out
cp -R usr/* $out/
runHook postInstall
'';
meta = with lib; {
platforms = [ "x86_64-linux" ];
sourceProvenance = with lib.sourceTypes; [ binaryNativeCode ];
license = licenses.unfree;
maintainers = with maintainers; [ hellwolf ];
homepage = "https://www.insynchq.com";
description = "This package contains the file manager emblem icons for Insync file manager extensions";
};
})