tui-journal: init at 0.2.0

https://github.com/AmmarAbouZor/tui-journal
This commit is contained in:
figsoda 2023-06-27 19:36:52 -04:00
parent dde8c4b5df
commit 3254fd4715
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

@ -13477,6 +13477,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 {