cargo-dephell: init at 0.5.1

figsoda c9845d4d 4baebb5c

+29
+26
pkgs/development/tools/rust/cargo-dephell/default.nix
··· 1 + { lib, rustPlatform, fetchFromGitHub, pkg-config, openssl, stdenv, Security }: 2 + 3 + rustPlatform.buildRustPackage rec { 4 + pname = "cargo-dephell"; 5 + version = "0.5.1"; 6 + 7 + src = fetchFromGitHub { 8 + owner = "mimoo"; 9 + repo = pname; 10 + rev = "v${version}"; 11 + sha256 = "1v3psrkjhgbkq9lm3698ac77qgk090jbly4r187nryj0vcmf9s1l"; 12 + }; 13 + 14 + cargoSha256 = "0fwj782dbyj3ps16hxmq61drf8714863jb0d3mhivn3zlqawyyil"; 15 + 16 + nativeBuildInputs = [ pkg-config ]; 17 + 18 + buildInputs = [ openssl ] ++ lib.optional stdenv.isDarwin Security; 19 + 20 + meta = with lib; { 21 + description = "A tool to analyze the third-party dependencies imported by a rust crate or rust workspace"; 22 + homepage = "https://github.com/mimoo/cargo-dephell"; 23 + license = with licenses; [ mit /* or */ asl20 ]; 24 + maintainers = with maintainers; [ figsoda ]; 25 + }; 26 + }
+3
pkgs/top-level/all-packages.nix
··· 12396 12396 cargo-deny = callPackage ../development/tools/rust/cargo-deny { 12397 12397 inherit (darwin.apple_sdk.frameworks) Security; 12398 12398 }; 12399 + cargo-dephell = callPackage ../development/tools/rust/cargo-dephell { 12400 + inherit (darwin.apple_sdk.frameworks) Security; 12401 + }; 12399 12402 cargo-diet = callPackage ../development/tools/rust/cargo-diet { }; 12400 12403 cargo-embed = callPackage ../development/tools/rust/cargo-embed { 12401 12404 inherit (darwin.apple_sdk.frameworks) AppKit;