Merge pull request #240221 from figsoda/journal
This commit is contained in:
commit
73b1a45dd7
2 changed files with 46 additions and 0 deletions
44
pkgs/applications/misc/tui-journal/default.nix
Normal file
44
pkgs/applications/misc/tui-journal/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue