Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 9808a1ccea07
Choose a base ref
...
head repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 3b56224dfd6b
Choose a head ref
  • 4 commits
  • 1 file changed
  • 2 contributors

Commits on Oct 20, 2020

  1. todoist-electron: 1.23.0 -> 1.24.0

    Imran Hossain committed Oct 20, 2020
    Copy the full SHA
    173bf39 View commit details
  2. todoist-electron: Switch to MIT license

    Imran Hossain committed Oct 20, 2020
    Copy the full SHA
    5945562 View commit details
  3. todoist-electron: Use desktop icon

    Imran Hossain committed Oct 20, 2020
    Copy the full SHA
    8cfeba2 View commit details

Commits on Nov 27, 2020

  1. Copy the full SHA
    3b56224 View commit details
Showing with 9 additions and 5 deletions.
  1. +9 −5 pkgs/applications/misc/todoist-electron/default.nix
14 changes: 9 additions & 5 deletions pkgs/applications/misc/todoist-electron/default.nix
Original file line number Diff line number Diff line change
@@ -4,16 +4,18 @@

stdenv.mkDerivation rec {
pname = "todoist-electron";
version = "1.23.0";
version = "1.24.0";

src = fetchurl {
url = "https://github.com/KryDos/todoist-linux/releases/download/${version}/Todoist_${version}_amd64.deb";
sha256 = "1yxa0fdc3fnffny6jf1hm7545792pw7828mc27il17l4kn346g98";
sha256 = "0g35518z6nf6pnfyx4ax75rq8b8br72mi6wv6jzgac9ric1q4h2s";
};

desktopItem = makeDesktopItem {
name = "Todoist";
exec = "todoist";
exec = "todoist %U";
icon = "todoist";
comment = "Todoist for Linux";
desktopName = "Todoist";
categories = "Utility";
};
@@ -35,6 +37,7 @@ stdenv.mkDerivation rec {
in ''
mkdir -p "$out/bin"
mv opt "$out/"
mv usr/share "$out/share"
# Patch binary
patchelf \
@@ -48,14 +51,15 @@ stdenv.mkDerivation rec {
# Desktop item
mkdir -p "$out/share"
ln -s "${desktopItem}/share/applications" "$out/share/applications"
rm -r "$out/share/applications"
cp -r "${desktopItem}/share/applications" "$out/share/applications"
'';

meta = with lib; {
homepage = "https://github.com/KryDos/todoist-linux";
description = "The Linux wrapper for Todoist web version";
platforms = [ "x86_64-linux" ];
license = licenses.isc;
license = licenses.mit;
maintainers = with maintainers; [ i077 ];
};
}