Unverified Commit 407c4acd authored by Nick Cao's avatar Nick Cao Committed by GitHub
Browse files

Merge pull request #254970 from figsoda/ztags

ztags: unstable-2023-08-29 -> unstable-2023-09-07
parents 78c81d2b 095ba6ee
Loading
Loading
Loading
Loading
+9 −3
Original line number Diff line number Diff line
{ lib
, stdenv
, fetchFromGitHub
, scdoc
, zig_0_11
}:

stdenv.mkDerivation {
  pname = "ztags";
  version = "unstable-2023-08-29";
  version = "unstable-2023-09-07";

  src = fetchFromGitHub {
    owner = "gpanders";
    repo = "ztags";
    rev = "87dbc4ba7993fa1537ddce942c6ce4cf90ce0809";
    hash = "sha256-FZZZnTmz4mxhiRXs16A41fz0WYIg6oGM7xj2cECRkrM=";
    rev = "6cdbd6dcdeda0d1ab9ad30261000e3d21b2407e6";
    hash = "sha256-lff5L7MG8RJdJM/YebJKDkKfkG4oumC0HytiCUOUG5Q=";
  };

  nativeBuildInputs = [
    scdoc
    zig_0_11.hook
  ];

  postInstall = ''
    zig build docs --prefix $out
  '';

  meta = with lib; {
    description = "Generate tags files for Zig projects";
    homepage = "https://github.com/gpanders/ztags";