Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ 2 lib, 3 rustPlatform, 4 fetchFromGitHub, 5 stdenv, 6}: 7 8rustPlatform.buildRustPackage rec { 9 pname = "git-graph"; 10 version = "0.6.0"; 11 12 src = fetchFromGitHub { 13 owner = "mlange-42"; 14 repo = "git-graph"; 15 tag = version; 16 hash = "sha256-xYUpLujePO1MS0c25UJX5rRdmPzkaFgF5zJonzQOJqM="; 17 }; 18 19 cargoHash = "sha256-tN70YyhVkLD5OiYNm64vbY5NtKAG2sFp4Ry6vFpXvtE="; 20 21 meta = with lib; { 22 description = "Command line tool to show clear git graphs arranged for your branching model"; 23 homepage = "https://github.com/mlange-42/git-graph"; 24 license = licenses.mit; 25 broken = stdenv.hostPlatform.isDarwin; 26 maintainers = with maintainers; [ 27 cafkafk 28 matthiasbeyer 29 ]; 30 mainProgram = "git-graph"; 31 }; 32}