Skip to content

Commit

Permalink
pls: 0.0.1-beta.8 -> 0.0.1-beta.9, link libgit2 dynamically
Browse files Browse the repository at this point in the history
  • Loading branch information
TomaSajt committed Jan 4, 2025
1 parent 90c106c commit 95a3328
Showing 1 changed file with 13 additions and 5 deletions.
18 changes: 13 additions & 5 deletions pkgs/by-name/pl/pls/package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2,23 +2,31 @@
lib,
rustPlatform,
fetchFromGitHub,
pkg-config,
libgit2,
}:

rustPlatform.buildRustPackage rec {
pname = "pls";
version = "0.0.1-beta.8";
version = "0.0.1-beta.9";

src = fetchFromGitHub {
owner = "pls-rs";
repo = "pls";
rev = "v${version}";
hash = "sha256-gJufm2krZSTdBbbfZ+355M9e3MJQbDEpSPf0EbZEayQ=";
tag = "v${version}";
hash = "sha256-ofwdhGpqYlADDY2BLe0SkoHWqSeRNtQaXK61zWVFXzw=";
};

cargoHash = "sha256-cDAHzK3pgpn5zEFdLBltf1e28yFFkXOzcF+nvDb8aWI=";
cargoHash = "sha256-u9uge44epAi9UiROThUewCNzmgeEi/Gy9h9NxVUb0YM=";

env.LIBGIT2_NO_VENDOR = "1";

nativeBuildInputs = [ pkg-config ];

buildInputs = [ libgit2 ];

meta = {
changelog = "https://github.com/pls-rs/pls/releases/tag/${src.rev}";
changelog = "https://github.com/pls-rs/pls/releases/tag/${src.tag}";
description = "Prettier and powerful ls";
homepage = "http://pls.cli.rs";
license = lib.licenses.gpl3Plus;
Expand Down

0 comments on commit 95a3328

Please sign in to comment.