{ lib, fetchFromGitHub, rustPlatform, testers, gitMinimal, serie, }: rustPlatform.buildRustPackage rec { pname = "serie"; version = "0.5.1"; src = fetchFromGitHub { owner = "lusingander"; repo = "serie"; rev = "v${version}"; hash = "sha256-Pv9dCe3oGNDj6cRFaIBLCtGqnDHVBIbxxOo46a7OFSE="; }; cargoHash = "sha256-oOH4OyeB1fevLH7KbEZo7XVWaT6wa3WCcVLsEvCrrD8="; nativeCheckInputs = [ gitMinimal ]; passthru.tests.version = testers.testVersion { package = serie; }; meta = with lib; { description = "Rich git commit graph in your terminal, like magic"; homepage = "https://github.com/lusingander/serie"; license = with licenses; [ mit ]; maintainers = with maintainers; [ matthiasbeyer ]; mainProgram = "serie"; }; }