vapoursynth-editor: init at R19

This commit is contained in:
Tadeo Kondrak 2019-06-25 16:53:32 -06:00 committed by Matthieu Coudron
parent 5e30ad610a
commit 969a23fa50
2 changed files with 43 additions and 0 deletions

View file

@ -0,0 +1,41 @@
{ stdenv, fetchFromBitbucket, makeWrapper
, python3, vapoursynth
, qmake, qtbase, qtwebsockets
}:
stdenv.mkDerivation rec {
pname = "vapoursynth-editor";
version = "R19";
src = fetchFromBitbucket {
owner = "mystery_keeper";
repo = pname;
rev = stdenv.lib.toLower version;
sha256 = "1zlaynkkvizf128ln50yvzz3b764f5a0yryp6993s9fkwa7djb6n";
};
nativeBuildInputs = [ qmake makeWrapper ];
buildInputs = [ qtbase vapoursynth qtwebsockets ];
preConfigure = "cd pro";
installPhase = ''
cd ../build/release*
mkdir -p $out/bin
for bin in vsedit{,-job-server{,-watcher}}; do
mv $bin $out/bin
wrapProgram $out/bin/$bin \
--prefix PYTHONPATH : ${vapoursynth}/${python3.sitePackages} \
--prefix LD_LIBRARY_PATH : ${vapoursynth}/lib
done
'';
meta = with stdenv.lib; {
description = "Cross-platform editor for VapourSynth scripts";
homepage = "https://bitbucket.org/mystery_keeper/vapoursynth-editor";
license = licenses.mit;
maintainers = with maintainers; [ tadeokondrak ];
platforms = platforms.all;
};
}

View file

@ -22059,6 +22059,8 @@ in
inherit (darwin.apple_sdk.frameworks) ApplicationServices; inherit (darwin.apple_sdk.frameworks) ApplicationServices;
}; };
vapoursynth-editor = libsForQt5.callPackage ../development/libraries/vapoursynth/editor.nix { };
vapoursynth-mvtools = callPackage ../development/libraries/vapoursynth-mvtools { }; vapoursynth-mvtools = callPackage ../development/libraries/vapoursynth-mvtools { };
vassal = callPackage ../games/vassal { }; vassal = callPackage ../games/vassal { };