Unverified Commit d27bff62 authored by Arne Keller's avatar Arne Keller Committed by GitHub
Browse files

mp4fpsmod: init at 0.27 (#333636)

parents 18d36696 a2faa154
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -9532,6 +9532,12 @@
    githubId = 1592375;
    name = "Walter Huf";
  };
  huggy = {
    email = "nixpkgs@huggy.moe";
    github = "makeding";
    githubId = 6511667;
    name = "huggy";
  };
  hughmandalidis = {
    name = "Hugh Mandalidis";
    email = "mandalidis.hugh@gmail.com";
+46 −0
Original line number Diff line number Diff line
{
  lib,
  stdenv,
  fetchFromGitHub,
  autoreconfHook,
}:

stdenv.mkDerivation rec {
  pname = "mp4fpsmod";
  version = "0.27-unstable-2023-12-30";

  src = fetchFromGitHub {
    owner = "nu774";
    repo = "mp4fpsmod";
    rev = "e2dd065012f4d2c7e42d4acdefee2ffdc50d3d86";
    hash = "sha256-54pkjlvLLi4pLlQA/l+v4Mx5HlloR6GiB2GP71A0x/g=";
  };

  nativeBuildInputs = [ autoreconfHook ];

  enableParallelBuilding = true;

  preConfigure = ''
    ./bootstrap.sh
  '';

  meta = with lib; {
    description = "Tiny mp4 time code editor";
    longDescription = ''
      Tiny mp4 time code editor. You can use this for changing fps,
      delaying audio tracks, executing DTS compression, extracting
      time codes of mp4.
    '';
    inherit (src.meta) homepage;
    license = with licenses; [
      # All files are distributed as Public Domain, except for the followings:
      publicDomain
      mpl11 # mp4v2
      boost # Boost
      bsd2 # FreeBSD CVS
    ];
    platforms = platforms.unix;
    maintainers = with maintainers; [ huggy ];
    mainProgram = "mp4fpsmod";
  };
}