all repos — nix-packages @ 1bed6543a82d3672001158d2b39e1f8e85cab0b5

My personal collection of packages for nix

pkgs/dirstat-rs/default.nix (view raw)

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
{ lib
, rustPlatform
, fetchFromGitHub
,
}:

rustPlatform.buildRustPackage rec {
  pname = "dirstat-rs";
  version = "0.3.7";

  src = fetchFromGitHub {
    owner = "scullionw";
    repo = "dirstat-rs";
    rev = "v${version}";
    hash = "sha256-gDIUYhc+GWbQsn5DihnBJdOJ45zdwm24J2ZD2jEwGyE=";
  };

  useFetchCargoVendor = true;
  cargoHash = "sha256-SdxTiIrsK3U4mcrcilOhMkkp12yEUkWlXmlT+C75dZw=";

  meta = {
    description = "Fastest(?) disk usage cli, similar to windirstat";
    homepage = "https://github.com/scullionw/dirstat-rs";
    license = lib.licenses.mit;
    maintainers = with lib.maintainers; [ alanpearce ];
    mainProgram = "dirstat-rs";
  };
}