Unverified Commit 05ea779b authored by Sandro Jäckel's avatar Sandro Jäckel Committed by GitHub
Browse files

hxtools: init at 2023122 (#337016)

parents ba168ce6 348a1278
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
@@ -13173,6 +13173,13 @@
    githubId = 191622;
    name = "Denys Pavlov";
  };
  meator = {
    email = "meator.dev@gmail.com";
    github = "meator";
    githubId = 67633081;
    name = "meator";
    keys = [ { fingerprint = "7B0F 58A5 E0F1 A2EA 1157  8A73 1A14 CB34 64CB E5BF"; } ];
  };
  meditans = {
    email = "meditans@gmail.com";
    github = "meditans";
+43 −0
Original line number Diff line number Diff line
{
  lib,
  stdenv,
  fetchurl,
  pkg-config,
  zstd,
  libHX,
}:

stdenv.mkDerivation (finalAttrs: {
  pname = "hxtools";
  version = "20231224";

  src = fetchurl {
    url = "https://inai.de/files/hxtools/hxtools-${finalAttrs.version}.tar.zst";
    hash = "sha256-TyT9bsp9qqGKQsSyWCfd2lH8ULjqJ5puMTw2TgWHV5c=";
  };

  nativeBuildInputs = [
    pkg-config
    zstd
  ];

  buildInputs = [
    libHX
  ];

  strictDeps = true;

  meta = {
    homepage = "https://inai.de/projects/hxtools/";
    description = "Collection of small tools over the years by j.eng";
    # Taken from https://codeberg.org/jengelh/hxtools/src/branch/master/LICENSES.txt
    license = with lib.licenses; [
      mit
      bsd2Patent
      lgpl21Plus
      gpl2Plus
    ];
    maintainers = with lib.maintainers; [ meator ];
    platforms = lib.platforms.all;
  };
})