2018-07-21 01:44:44 +01:00
|
|
|
{ stdenv, fetchFromGitHub, python3Packages, ffmpeg, mplayer, vcdimager, cdrkit, dvdauthor
|
2019-05-22 12:03:39 +01:00
|
|
|
, gtk3, gettext, wrapGAppsHook, gdk-pixbuf, gobject-introspection }:
|
2014-12-22 01:43:33 +00:00
|
|
|
|
|
|
|
let
|
2020-02-24 02:39:43 +00:00
|
|
|
inherit (python3Packages) dbus-python buildPythonApplication pygobject3 urllib3 setuptools;
|
2014-12-22 01:43:33 +00:00
|
|
|
|
2019-08-13 22:52:01 +01:00
|
|
|
in buildPythonApplication {
|
2017-03-05 13:48:22 +00:00
|
|
|
name = "devede-4.8.8";
|
2014-12-22 01:43:33 +00:00
|
|
|
namePrefix = "";
|
|
|
|
|
2017-03-05 13:48:22 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "rastersoft";
|
|
|
|
repo = "devedeng";
|
|
|
|
rev = "c518683fbcd793aa92249e4fecafc3c3fea7da68";
|
|
|
|
sha256 = "0ncb8nykchrjlllbzfjpvirmfvfaps9qhilc56kvcw3nzqrnkx8q";
|
2014-12-22 01:43:33 +00:00
|
|
|
};
|
|
|
|
|
2019-05-17 02:31:16 +01:00
|
|
|
# Temporary fix
|
|
|
|
# See https://github.com/NixOS/nixpkgs/issues/61578
|
|
|
|
# and https://github.com/NixOS/nixpkgs/issues/56943
|
|
|
|
strictDeps = false;
|
|
|
|
|
2017-03-05 13:48:22 +00:00
|
|
|
nativeBuildInputs = [
|
|
|
|
gettext wrapGAppsHook
|
2019-05-17 02:31:16 +01:00
|
|
|
|
|
|
|
# Temporary fix
|
|
|
|
# See https://github.com/NixOS/nixpkgs/issues/61578
|
|
|
|
# and https://github.com/NixOS/nixpkgs/issues/56943
|
|
|
|
gobject-introspection
|
2017-03-05 13:48:22 +00:00
|
|
|
];
|
2014-12-22 01:43:33 +00:00
|
|
|
|
2017-03-05 13:48:22 +00:00
|
|
|
buildInputs = [
|
|
|
|
ffmpeg
|
|
|
|
];
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
2020-02-24 02:39:43 +00:00
|
|
|
gtk3 pygobject3 gdk-pixbuf dbus-python ffmpeg mplayer dvdauthor vcdimager cdrkit urllib3 setuptools
|
2017-03-05 13:48:22 +00:00
|
|
|
];
|
2014-12-22 01:43:33 +00:00
|
|
|
|
|
|
|
postPatch = ''
|
2017-03-05 13:48:22 +00: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 01:43:33 +00:00
|
|
|
'';
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "DVD Creator for Linux";
|
|
|
|
homepage = http://www.rastersoft.com/programas/devede.html;
|
|
|
|
license = licenses.gpl3;
|
|
|
|
maintainers = [ maintainers.bdimcheff ];
|
|
|
|
};
|
|
|
|
}
|