Unverified Commit a2faa154 authored by huggy's avatar huggy
Browse files

mp4fpsmod: init at 0.27



Update pkgs/by-name/mp/mp4fpsmod/package.nix

Co-authored-by: default avatarYohann Boniface <edhyjox@gmail.com>

Update pkgs/by-name/mp/mp4fpsmod/package.nix

Co-authored-by: default avatarYohann Boniface <edhyjox@gmail.com>

mp4fpsmod: #333636 platforms.all -> lib.platforms.all

Update pkgs/by-name/mp/mp4fpsmod/package.nix

Co-authored-by: default avatarArne Keller <2012gdwu+github@posteo.de>

platforms.all to platforms.unix(does not support windows)

Co-authored-by: default avatarArne Keller <2012gdwu+github@posteo.de>
parent 3e663c9e
Loading
Loading
Loading
Loading
+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";
  };
}