Merge pull request #329823 from ExpidusOS/fix/pkgsllvm/elfutils
[NixPkgs.git] / pkgs / by-name / he / hexxy / package.nix
blobceed202985eda7c30ca566668f2caf671a4e19b5
2   lib,
3   buildGoModule,
4   fetchFromGitHub,
5   nix-update-script,
6 }:
7 buildGoModule {
8   pname = "hexxy";
9   version = "0-unstable-2024-02-23";
10   src = fetchFromGitHub {
11     owner = "sweetbbak";
12     repo = "hexxy";
13     # upstream does not publish releases, i.e., there are no tags
14     rev = "30e0aa5549bbafeb8204fe34b0d37019f9acc975";
15     hash = "sha256-KBgxZD95UT7i/eYeKLm0LVLliKgK/KiJYXVY9zzwbvk=";
16   };
18   vendorHash = "sha256-qkBpSVLWZPRgS9bqOVUWHpyj8z/nheQJON3vJOwPUj4=";
19   ldflags = [
20     "-s"
21     "-w"
22   ];
24   passthru.updateScript = nix-update-script {
25     extraArgs = [
26       "--version"
27       "branch"
28     ];
29   };
31   meta = {
32     description = "A modern and beautiful alternative to xxd and hexdump";
33     homepage = "https://github.com/sweetbbak/hexxy";
34     license = lib.licenses.mit;
35     maintainers = [ lib.maintainers.NotAShelf ];
36     mainProgram = "hexxy";
37   };