17 stdenv.mkDerivation (finalAttrs: {
22 url = "https://d2atcrkye2ik4e.cloudfront.net/download/linux/linux_deb_x64/ticktick-${finalAttrs.version}-amd64.deb";
23 hash = "sha256-e5N20FL2c6XdkDax0SMGigLuatXKZxb9c53sqQ5XVtM=";
42 # Needed to make the process get past zygote_linux fork()'ing
43 runtimeDependencies = [
50 mkdir -p "$out/share" "$out/opt/${finalAttrs.pname}" "$out/bin"
51 dpkg-deb --fsys-tarfile "$src" | tar --extract --directory="$out"
59 cp -av $out/opt/TickTick/* $out/opt/${finalAttrs.pname}
60 cp -av $out/usr/share/* $out/share
61 rm -rf $out/usr $out/opt/TickTick
62 ln -sf "$out/opt/${finalAttrs.pname}/${finalAttrs.pname}" "$out/bin/${finalAttrs.pname}"
64 substituteInPlace "$out/share/applications/${finalAttrs.pname}.desktop" \
65 --replace "Exec=/opt/TickTick/ticktick" "Exec=$out/bin/${finalAttrs.pname}"
71 description = "Powerful to-do & task management app with seamless cloud synchronization across all your devices";
72 homepage = "https://ticktick.com/home/";
73 license = licenses.unfree;
74 maintainers = with maintainers; [ hbjydev ];
75 platforms = [ "x86_64-linux" ];
76 sourceProvenance = with sourceTypes; [ binaryNativeCode ];