Skip to content

Commit

Permalink
joplin-desktop: init at 1.0.120
Browse files Browse the repository at this point in the history
  • Loading branch information
raquelgb committed Jan 28, 2019
1 parent c259cbe commit 3a5481c
Show file tree
Hide file tree
Showing 3 changed files with 53 additions and 0 deletions.
10 changes: 10 additions & 0 deletions maintainers/maintainer-list.nix
Expand Up @@ -3694,6 +3694,16 @@
fingerprint = "7573 56D7 79BB B888 773E 415E 736C CDF9 EF51 BD97";
}];
};
rafaelgg = {
email = "rafael.garcia.gallego@gmail.com";
github = "rafaelgg";
name = "Rafael García";
};
raquelgb = {
email = "raquel.garcia.bautista@gmail.com";
github = "raquelgb";
name = "Raquel García";
};
ragge = {
email = "r.dahlen@gmail.com";
github = "ragnard";
Expand Down
41 changes: 41 additions & 0 deletions pkgs/applications/misc/joplin-desktop/default.nix
@@ -0,0 +1,41 @@
{ stdenv, appimage-run, fetchurl }:

let
version = "1.0.120";
sha256 = "0j32rg6hm5dirdcibhfhrclnx7vm37fbm4iwkzzinqhzj4jfgbfm";
in
stdenv.mkDerivation rec {
name = "joplin-${version}";

src = fetchurl {
url = "https://github.com/laurent22/joplin/releases/download/v${version}/Joplin-${version}-x86_64.AppImage";
inherit sha256;
};

buildInputs = [ appimage-run ];

unpackPhase = ":";

installPhase = ''
mkdir -p $out/{bin,share}
cp $src $out/share/joplin.AppImage
echo "#!/bin/sh" > $out/bin/joplin-desktop
echo "${appimage-run}/bin/appimage-run $out/share/joplin.AppImage" >> $out/bin/joplin-desktop
chmod +x $out/bin/joplin-desktop $out/share/joplin.AppImage
'';

meta = with stdenv.lib; {
description = "An open source note taking and to-do application with synchronisation capabilities";
longDescription = ''
Joplin is a free, open source note taking and to-do application, which can
handle a large number of notes organised into notebooks. The notes are
searchable, can be copied, tagged and modified either from the
applications directly or from your own text editor. The notes are in
Markdown format.
'';
homepage = https://joplin.cozic.net/;
license = licenses.mit;
maintainers = with maintainers; [ rafaelgg raquelgb ];
platforms = [ "x86_64-linux" ];
};
}
2 changes: 2 additions & 0 deletions pkgs/top-level/all-packages.nix
Expand Up @@ -3517,6 +3517,8 @@ in

john = callPackage ../tools/security/john { };

joplin-desktop = callPackage ../applications/misc/joplin-desktop { };

journalbeat = callPackage ../tools/system/journalbeat { };

journaldriver = callPackage ../tools/misc/journaldriver { };
Expand Down

0 comments on commit 3a5481c

Please sign in to comment.