diff options
author | SCOTT-HAMILTON <sgn.hamilton+github@protonmail.com> | 2021-02-14 18:49:00 +0100 |
---|---|---|
committer | SCOTT-HAMILTON <sgn.hamilton+github@protonmail.com> | 2021-02-15 10:28:51 +0100 |
commit | 8ac123a729ea590d3cc560ff347316f948bef092 (patch) | |
tree | 489b2f4b8c2519b8c56981f2d4095e4e13d8da0e /pkgs | |
parent | 2ed859799985f12da6531126e4c7a1f8ac0fe745 (diff) |
cicero-tui: init at 0.1.4
Diffstat (limited to 'pkgs')
-rw-r--r-- | pkgs/tools/misc/cicero-tui/default.nix | 41 | ||||
-rw-r--r-- | pkgs/top-level/all-packages.nix | 2 |
2 files changed, 43 insertions, 0 deletions
diff --git a/pkgs/tools/misc/cicero-tui/default.nix b/pkgs/tools/misc/cicero-tui/default.nix new file mode 100644 index 0000000000000..e00ceb9517f60 --- /dev/null +++ b/pkgs/tools/misc/cicero-tui/default.nix @@ -0,0 +1,41 @@ +{ lib +, rustPlatform +, fetchFromGitHub +, cmake +, pkg-config +, expat +, fontconfig +, freetype +}: + +rustPlatform.buildRustPackage rec { + pname = "cicero-tui"; + version = "0.1.4"; + + src = fetchFromGitHub { + owner = "eyeplum"; + repo = "cicero-tui"; + rev = "v${version}"; + sha256 = "1bz2y37qf9c3fxc73chb42rffdivp5krczhgd9rnwq5r6n6bdgq7"; + }; + + nativeBuildInputs = [ + cmake + pkg-config + ]; + buildInputs = [ + expat + fontconfig + freetype + ]; + + cargoSha256 = "04359gf9mirczqwh8jv3rf0cc4pp05r8ncqyz0n8r7x5qv77kgcp"; + + meta = with lib; { + description = "Unicode tool with a terminal user interface"; + homepage = "https://github.com/eyeplum/cicero-tui"; + license = with licenses; [ gpl3Plus ]; + maintainers = with maintainers; [ shamilton ]; + platforms = platforms.linux; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 5fb8b0cd463b3..d935592108112 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -3094,6 +3094,8 @@ in chunksync = callPackage ../tools/backup/chunksync { }; + cicero-tui = callPackage ../tools/misc/cicero-tui { }; + cipherscan = callPackage ../tools/security/cipherscan { openssl = if stdenv.hostPlatform.system == "x86_64-linux" then openssl-chacha |