Merge pull request #240221 from figsoda/journal

This commit is contained in:
figsoda 2023-06-29 12:19:48 -04:00 committed by GitHub
commit 73b1a45dd7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 46 additions and 0 deletions

View file

@ -0,0 +1,44 @@
{ lib
, rustPlatform
, fetchFromGitHub
, pkg-config
, libgit2
, openssl
, zlib
, stdenv
, darwin
}:
rustPlatform.buildRustPackage rec {
pname = "tui-journal";
version = "0.2.0";
src = fetchFromGitHub {
owner = "AmmarAbouZor";
repo = "tui-journal";
rev = "v${version}";
hash = "sha256-B3GxxkFT2Z7WtV9RSmtKBjvzRRqmcoukUKc6LUZ/JyM=";
};
cargoHash = "sha256-DCKW8eGLSTx9U7mkGruPphzFpDlpL8ULCOKhj6HJwhw=";
nativeBuildInputs = [
pkg-config
];
buildInputs = [
libgit2
openssl
zlib
] ++ lib.optionals stdenv.isDarwin [
darwin.apple_sdk.frameworks.Security
];
meta = with lib; {
description = "Your journal app if you live in a terminl";
homepage = "https://github.com/AmmarAbouZor/tui-journal";
changelog = "https://github.com/AmmarAbouZor/tui-journal/blob/${src.rev}/CHANGELOG.ron";
license = licenses.mit;
maintainers = with maintainers; [ figsoda ];
};
}

View file

@ -13503,6 +13503,8 @@ with pkgs;
tuhi = callPackage ../applications/misc/tuhi { };
tui-journal = callPackage ../applications/misc/tui-journal { };
tuir = callPackage ../applications/misc/tuir { };
tuifeed = callPackage ../applications/networking/feedreaders/tuifeed {