nixpkgs/pkgs/by-name/ci/cicero-tui/package.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

49 lines
936 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";
2022-09-18 08:05:13 +00:00
version = "0.4.0";
2021-02-14 17:49:00 +00:00
src = fetchFromGitHub {
owner = "eyeplum";
repo = "cicero-tui";
rev = "v${version}";
2022-09-18 08:05:13 +00:00
sha256 = "sha256-2raSkIycXCdT/TSlaQviI6Eql7DONgRVsPP2B2YuW8U=";
2021-02-14 17:49:00 +00:00
};
nativeBuildInputs = [
cmake
pkg-config
];
buildInputs = [
expat
fontconfig
freetype
];
cargoLock = {
lockFile = ./Cargo.lock;
outputHashes = {
"unic-0.9.0" = "sha256-ZE4C+rrtmHdqTmenP5c7QGNTW/n7pi8nh7lqLhHgi3w=";
};
};
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;
2023-11-27 01:17:53 +00:00
mainProgram = "cicero";
2021-02-14 17:49:00 +00:00
};
}