1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-20 12:42:24 +00:00
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-03-15 10:18:13 +00:00
version = "0.2.0";
2021-02-14 17:49:00 +00:00
src = fetchFromGitHub {
owner = "eyeplum";
repo = "cicero-tui";
rev = "v${version}";
2021-03-15 10:18:13 +00:00
sha256 = "sha256-TNNPTKLO5qjSeCxWb7bB4yV1J4Seu+tBKNs0Oav/pPE=";
2021-02-14 17:49:00 +00:00
};
nativeBuildInputs = [
cmake
pkg-config
];
buildInputs = [
expat
fontconfig
freetype
];
2021-03-15 10:18:13 +00:00
cargoSha256 = "sha256-kzU+i5DLmZULdJPURz10URE5sMUG6eQg0pCoEiyfgco=";
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;
};
}