
This patch was produced in Vim by me, a human being. All errors are the fault of the operator. I did try to be careful. Co-authored-by: Peder Bergebakken Sundt <pbsds@hotmail.com> Co-authored-by: dotlambda <nix@dotlambda.de>
36 lines
813 B
Nix
36 lines
813 B
Nix
{
|
|
lib,
|
|
fetchFromGitHub,
|
|
rustPlatform,
|
|
testers,
|
|
gitMinimal,
|
|
serie,
|
|
}:
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
pname = "serie";
|
|
version = "0.4.6";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "lusingander";
|
|
repo = "serie";
|
|
rev = "v${version}";
|
|
hash = "sha256-26B/bwXz60fcZrh6H1RPROiML44S1Pt1J3VrJh2gRrI=";
|
|
};
|
|
|
|
useFetchCargoVendor = true;
|
|
cargoHash = "sha256-Bdk553tECJiMxJlXj147Sv2LzH+nM+/Cm5BpBr78I4o=";
|
|
|
|
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";
|
|
};
|
|
}
|