mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-18 07:46:09 +01:00
38 lines
1,007 B
Nix
38 lines
1,007 B
Nix
{ stdenv, fetchFromGitHub, wrapGAppsHook, gtk2, boost, gnome2, scons,
|
|
mjpegtools, libdvdread, dvdauthor, gettext, dvdplusrwtools, libxmlxx, ffmpeg,
|
|
enca, pkgconfig }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "bombono-${version}";
|
|
version = "1.2.4";
|
|
src = fetchFromGitHub {
|
|
owner = "muravjov";
|
|
repo = "bombono-dvd";
|
|
rev = version;
|
|
sha256 = "1lz1vik6abn1i1pvxhm55c9g47nxxv755wb2ijszwswwrwgvq5b9";
|
|
};
|
|
|
|
nativeBuildInputs = [ wrapGAppsHook scons pkgconfig gettext ];
|
|
|
|
buildInputs = [
|
|
gtk2 gnome2.gtkmm mjpegtools libdvdread dvdauthor boost dvdplusrwtools
|
|
libxmlxx ffmpeg enca
|
|
];
|
|
|
|
buildPhase = ''
|
|
scons PREFIX=$out -j$NIX_BUILD_CORES -l$NIX_BUILD_CORES
|
|
'';
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
installPhase = ''
|
|
scons install
|
|
'';
|
|
|
|
meta = {
|
|
description = "a DVD authoring program for personal computers";
|
|
homepage = "http://www.bombono.org/";
|
|
license = stdenv.lib.licenses.gpl2;
|
|
maintainers = with stdenv.lib.maintainers; [ symphorien ];
|
|
};
|
|
}
|