1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-24 14:41:17 +00:00
nixpkgs/pkgs/tools/misc/code-minimap/default.nix

26 lines
605 B
Nix
Raw Normal View History

{ lib
, rustPlatform
, fetchFromGitHub
}:
rustPlatform.buildRustPackage rec {
pname = "code-minimap";
2021-02-06 09:33:52 +00:00
version = "0.5.0";
src = fetchFromGitHub {
owner = "wfxr";
repo = pname;
rev = "v${version}";
2021-02-06 09:33:52 +00:00
sha256 = "sha256-t+zHAneINLd8JHkhaR+aF55gAWJmphYEqbx74CqAmM8=";
};
2021-02-06 09:33:52 +00:00
cargoSha256 = "sha256-eVh+6gTzKTelZ3MypkqYMXHr9QwaNG8H0xS82kilR/s=";
meta = with lib; {
description = "A high performance code minimap render";
homepage = "https://github.com/wfxr/code-minimap";
license = with licenses; [ asl20 /* or */ mit ];
maintainers = with maintainers; [ bsima ];
};
}