Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ 2 lib, 3 stdenv, 4 fetchFromGitHub, 5 autoreconfHook, 6}: 7 8stdenv.mkDerivation rec { 9 pname = "mp4fpsmod"; 10 version = "0.27-unstable-2023-12-30"; 11 12 src = fetchFromGitHub { 13 owner = "nu774"; 14 repo = "mp4fpsmod"; 15 rev = "e2dd065012f4d2c7e42d4acdefee2ffdc50d3d86"; 16 hash = "sha256-54pkjlvLLi4pLlQA/l+v4Mx5HlloR6GiB2GP71A0x/g="; 17 }; 18 19 nativeBuildInputs = [ autoreconfHook ]; 20 21 enableParallelBuilding = true; 22 23 preConfigure = '' 24 ./bootstrap.sh 25 ''; 26 27 meta = with lib; { 28 description = "Tiny mp4 time code editor"; 29 longDescription = '' 30 Tiny mp4 time code editor. You can use this for changing fps, 31 delaying audio tracks, executing DTS compression, extracting 32 time codes of mp4. 33 ''; 34 inherit (src.meta) homepage; 35 license = with licenses; [ 36 # All files are distributed as Public Domain, except for the followings: 37 publicDomain 38 mpl11 # mp4v2 39 boost # Boost 40 bsd2 # FreeBSD CVS 41 ]; 42 platforms = platforms.unix; 43 maintainers = with maintainers; [ huggy ]; 44 mainProgram = "mp4fpsmod"; 45 }; 46}