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

24 lines
665 B
Nix
Raw Normal View History

2019-10-15 18:42:03 +01: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 18:42:03 +01:00
src = fetchFromGitHub {
owner = "m-cat";
repo = pname;
2020-02-27 17:18:20 +00:00
rev = "4033018eaa53134fd6169653b709b195a5f5958b";
sha256 = "1cdmgdag9chjifsp2hxr9j15hb6l6anqq38y8srj1nk047a3kbcw";
2019-10-15 18:42:03 +01:00
};
2020-02-27 17:18:20 +00:00
cargoSha256 = "1gjbvgpicy9n311qh9a5n0gdyd2rnc0b9zypnzk2ibn1pgaikafy";
2019-10-15 18:42:03 +01: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 18:42:03 +01:00
license = licenses.mit;
maintainers = with maintainers; [ arcnmx ];
platforms = platforms.all;
};
}