at 23.11-beta 22 lines 766 B view raw
1{ lib, rustPlatform, fetchFromGitHub }: 2rustPlatform.buildRustPackage rec { 3 pname = "cargo-graph"; 4 version = "0.2.0-d895af1"; 5 6 src = fetchFromGitHub { 7 owner = "kbknapp"; 8 repo = "cargo-graph"; 9 # The last release (v0.2.0) is from 2015. Since then there have been some 10 # bug fixes committed that would be good to have. 11 rev = "d895af1b7840c7ae8eddaf4e990bfa594c22ba01"; 12 sha256 = "0myg26cssmbakz53dl61lswsbaqnjqlbc30c2571pq8f7gvz2qv5"; 13 }; 14 15 cargoSha256 = "0wyvly7aq4njlxnmgpfgbh08fxgqh85kw7d938pm6qxmj27zn4p2"; 16 17 meta = with lib; { 18 description = "A cargo subcommand for creating GraphViz DOT files and dependency graphs"; 19 license = with licenses; [ mit ]; 20 maintainers = with maintainers; [ basvandijk matthiasbeyer ]; 21 }; 22}