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

54 lines
1.5 KiB
Nix
Raw Normal View History

{ stdenv, fetchFromGitHub, python3Packages, ffmpeg, mplayer, vcdimager, cdrkit, dvdauthor
2019-05-22 13:03:39 +02:00
, gtk3, gettext, wrapGAppsHook, gdk-pixbuf, gobject-introspection }:
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
2019-08-13 23:52:01 +02:00
in buildPythonApplication {
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
};
2019-05-17 03:31:16 +02:00
# Temporary fix
# See https://github.com/NixOS/nixpkgs/issues/61578
# and https://github.com/NixOS/nixpkgs/issues/56943
strictDeps = false;
2017-03-05 14:48:22 +01:00
nativeBuildInputs = [
gettext wrapGAppsHook
2019-05-17 03:31:16 +02:00
# Temporary fix
# See https://github.com/NixOS/nixpkgs/issues/61578
# and https://github.com/NixOS/nixpkgs/issues/56943
gobject-introspection
2017-03-05 14:48:22 +01:00
];
2014-12-22 02:43:33 +01:00
2017-03-05 14:48:22 +01:00
buildInputs = [
ffmpeg
];
propagatedBuildInputs = [
2019-05-22 13:03:39 +02:00
gtk3 pygobject3 gdk-pixbuf dbus-python ffmpeg mplayer dvdauthor vcdimager cdrkit urllib3
2017-03-05 14:48:22 +01:00
];
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 ];
};
}