nixpkgs/pkgs/applications/version-management/git-and-tools/delta/default.nix

24 lines
655 B
Nix
Raw Normal View History

2019-10-04 02:20:00 -07:00
{ lib, fetchFromGitHub, rustPlatform }:
rustPlatform.buildRustPackage rec {
pname = "delta";
version = "0.0.15";
2019-10-04 02:20:00 -07:00
src = fetchFromGitHub {
owner = "dandavison";
repo = pname;
rev = version;
sha256 = "1c2zqvkzkrj8rcz226vfk43yw113b1fdcz2gx0xh8fs72arqx6wh";
2019-10-04 02:20:00 -07:00
};
cargoSha256 = "1888bvkpalfcw9bc9zmf9bmil6x35l9ia31x6mx1h2dvrfpw3bb1";
meta = with lib; {
homepage = "https://github.com/dandavison/delta";
description = "A syntax-highlighting pager for git";
changelog = "https://github.com/dandavison/delta/releases/tag/${version}";
2019-10-04 02:20:00 -07:00
license = licenses.mit;
maintainers = with maintainers; [ marsam ma27 ];
2019-10-04 02:20:00 -07:00
};
}