mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-02 20:03:16 +00:00
26 lines
618 B
Nix
26 lines
618 B
Nix
{ buildGoModule, fetchFromGitHub, lib }:
|
|
|
|
buildGoModule rec {
|
|
pname = "godu";
|
|
version = "1.5.2";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "viktomas";
|
|
repo = pname;
|
|
rev = "v${version}";
|
|
hash = "sha256-z1LCPweaf8e/HWkSrRCiMYZl4F4dKo4/wDkWgY+eTvk=";
|
|
};
|
|
|
|
vendorHash = "sha256-8cZCeZ0gqxqbwB0WuEOFmEUNQd3/KcLeN0eLGfWG8BY=";
|
|
|
|
ldflags = [ "-s" "-w" ];
|
|
|
|
meta = with lib; {
|
|
description = "Utility helping to discover large files/folders";
|
|
homepage = "https://github.com/viktomas/godu";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ rople380 ];
|
|
mainProgram = "godu";
|
|
};
|
|
}
|