1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-25 23:20:55 +00:00
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 12:03:39 +01:00
, gtk3, gettext, wrapGAppsHook, gdk-pixbuf, gobject-introspection }:
2014-12-22 01:43:33 +00:00
let
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 = [
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 ];
};
}