1{
2 lib,
3 fetchFromGitHub,
4 rustPlatform,
5}:
6
7rustPlatform.buildRustPackage rec {
8 pname = "dfrs";
9 version = "0.0.7";
10
11 src = fetchFromGitHub {
12 owner = "anthraxx";
13 repo = "dfrs";
14 rev = version;
15 sha256 = "01h00328kbw83q11yrsvcly69p0hql3kw49b4jx6gwkrdm8c2amk";
16 };
17
18 cargoHash = "sha256-U6z0YMHRmjGobLYdyBaMWJam9mDrHUQEOv5MjOpNfHU=";
19
20 meta = with lib; {
21 description = "Display file system space usage using graphs and colors";
22 homepage = "https://github.com/anthraxx/dfrs";
23 license = licenses.mit;
24 maintainers = with maintainers; [ wamserma ];
25 mainProgram = "dfrs";
26 };
27}