1 { lib, stdenv, fetchurl, makeWrapper
2 , coreutils, ffmpeg, gawk, gnugrep, gnused, imagemagick, mplayer
8 gopt = if stdenv.hostPlatform.isLinux then util-linux else getopt;
10 coreutils ffmpeg gawk gnugrep gnused imagemagick mplayer gopt
17 url = "http://p.outlyer.net/files/vcs/vcs-${version}.bash";
18 sha256 = "0nhwcpffp3skz24kdfg4445i6j37ks6a0qsbpfd3dbi4vnpa60a0";
21 unpackCmd = "mkdir src; cp $curSrc src/vcs";
22 patches = [ ./fonts.patch ];
23 nativeBuildInputs = [ makeWrapper ];
29 substituteAllInPlace $out/bin/vcs
31 wrapProgram $out/bin/vcs --argv0 vcs --set PATH "${lib.makeBinPath runtimeDeps}"
35 description = "Generates contact sheets from video files";
36 homepage = "http://p.outlyer.net/vcs";
37 license = licenses.lgpl21Plus;
38 maintainers = with maintainers; [ elitak ];
39 platforms = with platforms; unix;