Files
nixpkgs/pkgs/by-name/co/code-minimap/package.nix
Dark Steveneq 646b892680
Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
push sheeet
2025-10-09 14:15:47 +02:00

35 lines
752 B
Nix

{
lib,
stdenv,
rustPlatform,
fetchFromGitHub,
libiconv,
}:
rustPlatform.buildRustPackage rec {
pname = "code-minimap";
version = "0.6.8";
src = fetchFromGitHub {
owner = "wfxr";
repo = "code-minimap";
rev = "v${version}";
sha256 = "sha256-unf7gFc/tQiUw3VqQ0KC96Srxn1E27WsmJviSggaCF4=";
};
cargoHash = "sha256-35qMpxROBnXfnTIAkCRUg7zRQTvSIIA2qGD0Vu9r488=";
buildInputs = lib.optional stdenv.hostPlatform.isDarwin libiconv;
meta = with lib; {
description = "High performance code minimap render";
homepage = "https://github.com/wfxr/code-minimap";
license = with licenses; [
asl20 # or
mit
];
maintainers = with maintainers; [ bsima ];
mainProgram = "code-minimap";
};
}