2019-06-22 15:15:16 +01:00
|
|
|
{ lib, rustPlatform, fetchFromGitHub }:
|
|
|
|
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
|
|
pname = "dua";
|
2019-08-02 20:42:21 +01:00
|
|
|
version = "2.1.11";
|
2019-06-22 15:15:16 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "Byron";
|
|
|
|
repo = "dua-cli";
|
|
|
|
rev = "v${version}";
|
2019-08-02 20:42:21 +01:00
|
|
|
sha256 = "08zgi2yiynb20l1f9rhly4a7zgqnr7lq3cr5vkmh1jnfs6z27dv6";
|
2019-06-22 15:15:16 +01:00
|
|
|
};
|
|
|
|
|
2019-08-02 20:42:21 +01:00
|
|
|
cargoSha256 = "0ca9gaih0b9qg7bdgyhvb9gr1mq23r62pi0845vwc216jfaag079";
|
2019-06-22 15:15:16 +01:00
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "A tool to conveniently learn about the disk usage of directories, fast!";
|
|
|
|
homepage = "https://github.com/Byron/dua-cli";
|
|
|
|
license = with licenses; [ mit ];
|
|
|
|
maintainers = with maintainers; [ killercup ];
|
|
|
|
platforms = platforms.all;
|
|
|
|
};
|
|
|
|
}
|