nixpkgs/pkgs/tools/package-management/cargo-deps/default.nix

23 lines
634 B
Nix
Raw Normal View History

2019-10-15 17:42:03 +00:00
{ lib, fetchFromGitHub, rustPlatform }:
rustPlatform.buildRustPackage rec {
pname = "cargo-deps";
2020-02-27 17:18:20 +00:00
version = "1.4.1";
2019-10-15 17:42:03 +00:00
src = fetchFromGitHub {
owner = "m-cat";
repo = pname;
2020-02-27 17:18:20 +00:00
rev = "4033018eaa53134fd6169653b709b195a5f5958b";
sha256 = "1cdmgdag9chjifsp2hxr9j15hb6l6anqq38y8srj1nk047a3kbcw";
2019-10-15 17:42:03 +00:00
};
cargoSha256 = "15pf4x2aw8sl65g63cz4yv9y78yc2wi25h9khpqx6i7gyd7dxbsc";
2019-10-15 17:42:03 +00:00
meta = with lib; {
description = "Cargo subcommand for building dependency graphs of Rust projects";
homepage = "https://github.com/m-cat/cargo-deps";
2019-10-15 17:42:03 +00:00
license = licenses.mit;
maintainers = with maintainers; [ arcnmx ];
};
}