41 lines
817 B
Nix
41 lines
817 B
Nix
{ 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;
|
|
};
|
|
}
|