15 src = fetchFromGitHub {
18 rev = "refs/tags/v${version}";
19 hash = "sha256-w48I7HU/pA53Pq6ZVwtby+YvFddVUjj8orL40Gifqoo=";
22 vendorHash = "sha256-aKhHC3sPRyi/l9BxeUgx+3TdYulb0cI9WxuPvbLoswg=";
24 nativeBuildInputs = [ installShellFiles ];
29 "-X=github.com/dundee/gdu/v${lib.versions.major version}/build.Version=${version}"
33 substituteInPlace cmd/gdu/app/app_test.go \
34 --replace-fail "development" "${version}"
41 doCheck = !stdenv.hostPlatform.isDarwin;
44 # https://github.com/dundee/gdu/issues/371
45 "-skip=TestStoredAnalyzer"
48 passthru.tests.version = testers.testVersion { package = gdu; };
51 description = "Disk usage analyzer with console interface";
53 Gdu is intended primarily for SSD disks where it can fully
54 utilize parallel processing. However HDDs work as well, but
55 the performance gain is not so huge.
57 homepage = "https://github.com/dundee/gdu";
58 changelog = "https://github.com/dundee/gdu/releases/tag/v${version}";
59 license = with licenses; [ mit ];
60 maintainers = with maintainers; [