Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ 2 lib, 3 rustPlatform, 4 fetchCrate, 5}: 6 7rustPlatform.buildRustPackage rec { 8 pname = "textplots"; 9 version = "0.8.5"; 10 11 src = fetchCrate { 12 inherit pname version; 13 hash = "sha256-83EAe6O8ETsuGJ5MK6kt68OnJL+r+BAYkFzvzlxHyp4="; 14 }; 15 16 cargoHash = "sha256-ep7gXTWHRhWpGo6n/EgjY0d/vqIqd3yEikzy9sLTtf8="; 17 18 buildFeatures = [ "tool" ]; 19 20 meta = with lib; { 21 description = "Terminal plotting written in Rust"; 22 homepage = "https://github.com/loony-bean/textplots-rs"; 23 license = licenses.mit; 24 maintainers = with maintainers; [ figsoda ]; 25 mainProgram = "textplots"; 26 }; 27}