summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJörg Thalheim <Mic92@users.noreply.github.com>2017-03-06 14:19:50 +0100
committerGitHub <noreply@github.com>2017-03-06 14:19:50 +0100
commit550f65a0f4130482cdb13a8f358ae3293ebd638e (patch)
treee177889fb548338698ebaf587bd877bd61607ce0
parent55e376078a1a3837ec42204d955e6c0181b8acb9 (diff)
parent13a9059c5556a1fecc35dd6f2a7242e73b7c5b34 (diff)
Merge pull request #23517 from michalrus/devede
devede: 3.23.0 → 4.8.8
-rw-r--r--pkgs/applications/video/devede/default.nix33
1 files changed, 23 insertions, 10 deletions
diff --git a/pkgs/applications/video/devede/default.nix b/pkgs/applications/video/devede/default.nix
index 824ef9661b8e..157e4903e52e 100644
--- a/pkgs/applications/video/devede/default.nix
+++ b/pkgs/applications/video/devede/default.nix
@@ -1,23 +1,37 @@
-{ pkgs, stdenv, fetchurl, pythonPackages, ffmpeg, mplayer, vcdimager, cdrkit, dvdauthor }:
+{ pkgs, stdenv, fetchFromGitHub, python3Packages, ffmpeg, mplayer, vcdimager, cdrkit, dvdauthor
+, gtk3, gettext, wrapGAppsHook, gdk_pixbuf }:
let
- inherit (pythonPackages) dbus-python buildPythonApplication pygtk;
+ inherit (python3Packages) dbus-python buildPythonApplication pygobject3 urllib3;
in buildPythonApplication rec {
- name = "devede-3.23.0";
+ name = "devede-4.8.8";
namePrefix = "";
- src = fetchurl {
- url = "http://www.rastersoft.com/descargas/${name}.tar.bz2";
- sha256 = "9e217ca46f5f275cb0c3cadbe8c830fa1fde774c004bd95a343d1255be6f25e1";
+ src = fetchFromGitHub {
+ owner = "rastersoft";
+ repo = "devedeng";
+ rev = "c518683fbcd793aa92249e4fecafc3c3fea7da68";
+ sha256 = "0ncb8nykchrjlllbzfjpvirmfvfaps9qhilc56kvcw3nzqrnkx8q";
};
- buildInputs = [ ffmpeg ];
+ nativeBuildInputs = [
+ gettext wrapGAppsHook
+ ];
- propagatedBuildInputs = [ pygtk dbus-python ffmpeg mplayer dvdauthor vcdimager cdrkit ];
+ buildInputs = [
+ ffmpeg
+ ];
+
+ propagatedBuildInputs = [
+ gtk3 pygobject3 gdk_pixbuf dbus-python ffmpeg mplayer dvdauthor vcdimager cdrkit urllib3
+ ];
postPatch = ''
- substituteInPlace devede --replace "/usr/share/devede" "$out/share/devede"
+ substituteInPlace setup.py --replace "'/usr'," ""
+ substituteInPlace src/devedeng/configuration_data.py \
+ --replace "/usr/share" "$out/share" \
+ --replace "/usr/local/share" "$out/share"
'';
meta = with stdenv.lib; {
@@ -25,6 +39,5 @@ in buildPythonApplication rec {
homepage = http://www.rastersoft.com/programas/devede.html;
license = licenses.gpl3;
maintainers = [ maintainers.bdimcheff ];
- broken = true; # tarball is gone
};
}