2023-10-09 19:29:22 +00:00
|
|
|
{ lib, rustPlatform, fetchCrate }:
|
2021-09-18 10:52:07 +00:00
|
|
|
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
|
|
pname = "textplots";
|
2024-01-25 14:12:00 +00:00
|
|
|
version = "0.8.5";
|
2021-09-18 10:52:07 +00:00
|
|
|
|
|
|
|
src = fetchCrate {
|
|
|
|
inherit pname version;
|
2024-01-25 14:12:00 +00:00
|
|
|
hash = "sha256-83EAe6O8ETsuGJ5MK6kt68OnJL+r+BAYkFzvzlxHyp4=";
|
2021-09-18 10:52:07 +00:00
|
|
|
};
|
|
|
|
|
2024-01-25 14:12:00 +00:00
|
|
|
cargoHash = "sha256-O47b00PGRXTWWxywitS2V15gXahzgjNvFKUvE+VMXaM=";
|
2023-10-09 19:29:22 +00:00
|
|
|
|
|
|
|
buildFeatures = [ "tool" ];
|
2021-09-18 10:52:07 +00:00
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Terminal plotting written in Rust";
|
|
|
|
homepage = "https://github.com/loony-bean/textplots-rs";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ figsoda ];
|
2024-01-02 11:29:13 +00:00
|
|
|
mainProgram = "textplots";
|
2021-09-18 10:52:07 +00:00
|
|
|
};
|
|
|
|
}
|