biglybt: 3.5.0.0 -> 3.6.0.0
[NixPkgs.git] / pkgs / applications / video / devede / default.nix
blob22689e27d6e9ac3f518fe308f70caf778e021753
1 { lib, fetchFromGitLab, python3Packages, ffmpeg, mplayer, vcdimager, cdrkit, dvdauthor
2 , gtk3, gettext, wrapGAppsHook, gdk-pixbuf, gobject-introspection }:
4 let
5   inherit (python3Packages) dbus-python buildPythonApplication pygobject3 urllib3 setuptools;
6 in buildPythonApplication rec {
7   pname = "devede";
8   version = "4.17.0";
9   namePrefix = "";
11   src = fetchFromGitLab {
12     owner = "rastersoft";
13     repo = "devedeng";
14     rev = version;
15     sha256 = "sha256-CdntdD5DRA/eXTBRBRszkbYFeFxj+0odb8XHkAFdobU=";
16   };
18   nativeBuildInputs = [
19     gettext wrapGAppsHook
20     gobject-introspection
21   ];
23   buildInputs = [
24     ffmpeg
25   ];
27   propagatedBuildInputs = [
28     gtk3 pygobject3 gdk-pixbuf dbus-python ffmpeg mplayer dvdauthor vcdimager cdrkit urllib3 setuptools
29   ];
31   postPatch = ''
32     substituteInPlace setup.py --replace "'/usr'," ""
33     substituteInPlace src/devedeng/configuration_data.py \
34       --replace "/usr/share" "$out/share" \
35       --replace "/usr/local/share" "$out/share"
36   '';
38   meta = with lib; {
39     description = "DVD Creator for Linux";
40     homepage = "http://www.rastersoft.com/programas/devede.html";
41     license = licenses.gpl3;
42     maintainers = [ maintainers.bdimcheff ];
43   };