Files
nixpkgs/pkgs/by-name/ca/cargo-duplicates/package.nix
Michael Daniels 1d0bb7b61b treewide: drop figsoda as maintainer (part 3)
s/^\s*figsoda\s*$//
2025-11-02 20:16:11 -05:00

47 lines
888 B
Nix

{
lib,
rustPlatform,
fetchFromGitHub,
curl,
pkg-config,
libgit2,
openssl,
zlib,
}:
rustPlatform.buildRustPackage rec {
pname = "cargo-duplicates";
version = "0.8.4";
src = fetchFromGitHub {
owner = "Keruspe";
repo = "cargo-duplicates";
rev = "v${version}";
hash = "sha256-JzS1+BHSCEcZM5MokbQsck/AGJ7EeSwbzjNz0uLQsgE=";
};
cargoHash = "sha256-58H6wFToCgW+J7QYXb6W6BiCFUVIG8MmxgZtWnPNkrI=";
nativeBuildInputs = [
curl
pkg-config
];
buildInputs = [
curl
libgit2
openssl
zlib
];
meta = with lib; {
description = "Cargo subcommand for displaying when different versions of a same dependency are pulled in";
mainProgram = "cargo-duplicates";
homepage = "https://github.com/Keruspe/cargo-duplicates";
license = licenses.mit;
maintainers = with maintainers; [
matthiasbeyer
];
};
}