+/config
my dotfiles and nix configuration
git clone https://git.julia.blue/+/config
a24e151
main
1{ lib , python3 , fetchFromGitHub , ffmpeg } : 2python3 . pkgs . buildPythonApplication ( finalAttrs :{ 3pname = "slp2mp4" ; 4version = "3.1.1" ; 5pyproject = true ; 6 7src = fetchFromGitHub { 8owner = "davisdude" ; 9repo = "slp2mp4" ; 10tag = finalAttrs . version ; 11hash = "sha256-lhveXygC/mKa1REzvAWVZqB2Ocw4z27fDeKX81ae30M=" ; 12}; 13 14build-system = with python3 . pkgs ; [ 15hatch-vcs 16hatchling 17]; 18 19dependencies = with python3 . pkgs ; [ 20pathvalidate 21tkinter 22tomli-w 23]; 24 25nativeBuildInputs = [ 26python3 . pkgs . wrapPython 27]; 28 29pythonImportsCheck = [ 30"slp2mp4" 31]; 32 33postInstall = '' 34wrapProgram $ out /bin/slp2mp4 \ 35--prefix PATH : ${ lib . makeBinPath [ ffmpeg ]} 36wrapProgram $ out /bin/slp2mp4_gui \ 37--prefix PATH : ${ lib . makeBinPath [ ffmpeg ]} 38'' ; 39 40meta = { 41description = "Convert slippi replay files for Super Smash Bros Melee to videos" ; 42homepage = "https://github.com/davisdude/slp2mp4" ; 43license = lib . licenses . mit ; 44mainProgram = "slp2mp4" ; 45}; 46})