Merge pull request #198370 from j0lol/master

Add package paper-note
This commit is contained in:
Pierre Bourdon 2022-10-29 19:02:55 +02:00 committed by GitHub
commit b487f96d8f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 66 additions and 0 deletions

View File

@ -6000,6 +6000,12 @@
github = "j0hax";
githubId = 3802620;
};
j0lol = {
name = "Jo";
email = "me@j0.lol";
github = "j0lol";
githubId = 24716467;
};
j4m3s = {
name = "James Landrein";
email = "github@j4m3s.eu";

View File

@ -0,0 +1,58 @@
{ lib
, stdenv
, fetchFromGitLab
, meson
, ninja
, pkg-config
, vala
, gtk4
, libgee
, libadwaita
, gtksourceview5
, blueprint-compiler
, wrapGAppsHook4
, appstream-glib
, desktop-file-utils
}:
stdenv.mkDerivation rec {
pname = "paper-note";
version = "22.11";
src = fetchFromGitLab {
owner = "posidon_software";
repo = "paper";
rev = version;
hash = "sha256-o5MYagflHE8Aup8CbqauRBrdt3TrSlffs35psYT7hyE=";
};
nativeBuildInputs = [
meson
ninja
vala
pkg-config
wrapGAppsHook4
appstream-glib
desktop-file-utils
blueprint-compiler
];
buildInputs = [
gtk4
libadwaita
libgee
gtksourceview5
];
postInstall = ''
ln -s $out/bin/io.posidon.Paper $out/bin/paper
'';
meta = with lib; {
description = "Take notes in Markdown";
homepage = "https://posidon.io/paper/";
license = licenses.gpl3;
platforms = platforms.unix;
maintainers = with maintainers; [ j0lol ];
};
}

View File

@ -10106,6 +10106,8 @@ with pkgs;
pamtester = callPackage ../tools/security/pamtester { };
paper-note = callPackage ../applications/office/paper-note { };
paperless-ngx = callPackage ../applications/office/paperless-ngx { };
paperoni = callPackage ../tools/text/paperoni {