nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at devShellTools-shell 47 lines 902 B view raw
1{ 2 lib, 3 rustPlatform, 4 fetchFromGitHub, 5 curl, 6 pkg-config, 7 libgit2, 8 openssl, 9 zlib, 10}: 11 12rustPlatform.buildRustPackage rec { 13 pname = "cargo-duplicates"; 14 version = "0.8.4"; 15 16 src = fetchFromGitHub { 17 owner = "Keruspe"; 18 repo = "cargo-duplicates"; 19 rev = "v${version}"; 20 hash = "sha256-JzS1+BHSCEcZM5MokbQsck/AGJ7EeSwbzjNz0uLQsgE="; 21 }; 22 23 cargoHash = "sha256-58H6wFToCgW+J7QYXb6W6BiCFUVIG8MmxgZtWnPNkrI="; 24 25 nativeBuildInputs = [ 26 curl 27 pkg-config 28 ]; 29 30 buildInputs = [ 31 curl 32 libgit2 33 openssl 34 zlib 35 ]; 36 37 meta = with lib; { 38 description = "Cargo subcommand for displaying when different versions of a same dependency are pulled in"; 39 mainProgram = "cargo-duplicates"; 40 homepage = "https://github.com/Keruspe/cargo-duplicates"; 41 license = licenses.mit; 42 maintainers = with maintainers; [ 43 figsoda 44 matthiasbeyer 45 ]; 46 }; 47}