3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/tools/package-management/cargo-deps/default.nix

24 lines
663 B
Nix
Raw Normal View History

2019-10-15 18:42:03 +01:00
{ lib, fetchFromGitHub, rustPlatform }:
rustPlatform.buildRustPackage rec {
pname = "cargo-deps";
version = "1.1.1";
src = fetchFromGitHub {
owner = "m-cat";
repo = pname;
rev = "ab93f5655900e49fb0360ccaf72b2b61b6b428ef";
sha256 = "16181p7ghvy9mqippg1xi2cw7yxvicis8v6n39wly5qw05i57aw2";
};
cargoSha256 = "1a9svdw1cgk6s7gqpsq3r25wxa2gr2xddqkc1cjk7hf6sk327cpv";
meta = with lib; {
description = "Cargo subcommand for building dependency graphs of Rust projects";
homepage = https://github.com/m-cat/cargo-deps;
license = licenses.mit;
maintainers = with maintainers; [ arcnmx ];
platforms = platforms.all;
};
}