Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

44 lines
1.1 KiB
Nix
Raw Permalink Normal View History

{
lib,
stdenv,
2024-03-29 14:23:18 +02:00
fetchurl,
dpkg,
nautilus-python,
2024-03-29 14:23:18 +02:00
}:
stdenv.mkDerivation (finalAttrs: {
pname = "insync-nautilus";
version = "3.9.5.60024";
2024-03-29 14:23:18 +02:00
pyproject = true;
# Download latest from: https://www.insynchq.com/downloads/linux#nautilus
src = fetchurl rec {
2024-03-29 14:23:18 +02:00
urls = [
"https://cdn.insynchq.com/builds/linux/${finalAttrs.version}/insync-nautilus_${finalAttrs.version}_all.deb"
"https://web.archive.org/web/20250502162242/${builtins.elemAt urls 0}"
2024-03-29 14:23:18 +02:00
];
hash = "sha256-yfPZ58xWZknpCqE8cJ7e7fR4+nzsCdprgBFRL0U0LvM=";
2024-03-29 14:23:18 +02:00
};
nativeBuildInputs = [ dpkg ];
2024-03-29 14:23:18 +02:00
buildInputs = [ nautilus-python ];
2024-03-29 14:23:18 +02:00
installPhase = ''
runHook preInstall
cp -r usr $out
2024-03-29 14:23:18 +02:00
runHook postInstall
'';
meta = {
2024-03-29 14:23:18 +02:00
platforms = [ "x86_64-linux" ];
sourceProvenance = with lib.sourceTypes; [ fromSource ];
license = lib.licenses.unfree;
maintainers = with lib.maintainers; [ hellwolf ];
2024-03-29 14:23:18 +02:00
homepage = "https://www.insynchq.com";
description = "This package contains the Python extension and icons for integrating Insync with Nautilus";
};
})