3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/tools/misc/cicero-tui/default.nix

42 lines
815 B
Nix
Raw Normal View History

2021-02-14 17:49:00 +00:00
{ lib
, rustPlatform
, fetchFromGitHub
, cmake
, pkg-config
, expat
, fontconfig
, freetype
}:
rustPlatform.buildRustPackage rec {
pname = "cicero-tui";
2021-08-13 03:29:35 +01:00
version = "0.2.2";
2021-02-14 17:49:00 +00:00
src = fetchFromGitHub {
owner = "eyeplum";
repo = "cicero-tui";
rev = "v${version}";
2021-08-13 03:29:35 +01:00
sha256 = "sha256-j/AIuNE5WBNdUeXuKvvc4NqsVVk252tm4KR3w0e6bT8=";
2021-02-14 17:49:00 +00:00
};
nativeBuildInputs = [
cmake
pkg-config
];
buildInputs = [
expat
fontconfig
freetype
];
2021-08-13 03:29:35 +01:00
cargoSha256 = "sha256-yup6hluGF2x+0XDwK+JETyNu4TFNPmqD4Y0Wthxrbcc=";
2021-02-14 17:49:00 +00:00
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;
};
}