nixpkgs/pkgs/applications/video/devede/default.nix

44 lines
1.1 KiB
Nix
Raw Normal View History

{ stdenv, fetchFromGitHub, python3Packages, ffmpeg, mplayer, vcdimager, cdrkit, dvdauthor
2017-03-05 14:48:22 +01:00
, gtk3, gettext, wrapGAppsHook, gdk_pixbuf }:
2014-12-22 02:43:33 +01:00
let
2017-03-05 14:48:22 +01:00
inherit (python3Packages) dbus-python buildPythonApplication pygobject3 urllib3;
2014-12-22 02:43:33 +01:00
in buildPythonApplication rec {
2017-03-05 14:48:22 +01:00
name = "devede-4.8.8";
2014-12-22 02:43:33 +01:00
namePrefix = "";
2017-03-05 14:48:22 +01:00
src = fetchFromGitHub {
owner = "rastersoft";
repo = "devedeng";
rev = "c518683fbcd793aa92249e4fecafc3c3fea7da68";
sha256 = "0ncb8nykchrjlllbzfjpvirmfvfaps9qhilc56kvcw3nzqrnkx8q";
2014-12-22 02:43:33 +01:00
};
2017-03-05 14:48:22 +01:00
nativeBuildInputs = [
gettext wrapGAppsHook
];
2014-12-22 02:43:33 +01:00
2017-03-05 14:48:22 +01:00
buildInputs = [
ffmpeg
];
propagatedBuildInputs = [
gtk3 pygobject3 gdk_pixbuf dbus-python ffmpeg mplayer dvdauthor vcdimager cdrkit urllib3
];
2014-12-22 02:43:33 +01:00
postPatch = ''
2017-03-05 14:48:22 +01:00
substituteInPlace setup.py --replace "'/usr'," ""
substituteInPlace src/devedeng/configuration_data.py \
--replace "/usr/share" "$out/share" \
--replace "/usr/local/share" "$out/share"
2014-12-22 02:43:33 +01:00
'';
meta = with stdenv.lib; {
description = "DVD Creator for Linux";
homepage = http://www.rastersoft.com/programas/devede.html;
license = licenses.gpl3;
maintainers = [ maintainers.bdimcheff ];
};
}