nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 82 lines 1.4 kB view raw
1{ 2 lib, 3 fetchFromGitLab, 4 python3Packages, 5 ffmpeg, 6 mplayer, 7 vcdimager, 8 cdrkit, 9 dvdauthor, 10 gtk3, 11 gettext, 12 wrapGAppsHook3, 13 gdk-pixbuf, 14 gobject-introspection, 15 nix-update-script, 16}: 17 18let 19 inherit (python3Packages) 20 dbus-python 21 buildPythonApplication 22 pygobject3 23 urllib3 24 setuptools 25 ; 26in 27buildPythonApplication rec { 28 pname = "devede"; 29 version = "4.21.0"; 30 format = "setuptools"; 31 namePrefix = ""; 32 33 src = fetchFromGitLab { 34 owner = "rastersoft"; 35 repo = "devedeng"; 36 rev = version; 37 hash = "sha256-sLJkIKw0ciX6spugbdO0eZ1dIkoHfuu5e/f2XwA70a0="; 38 }; 39 40 nativeBuildInputs = [ 41 gettext 42 wrapGAppsHook3 43 gobject-introspection 44 ]; 45 46 buildInputs = [ 47 ffmpeg 48 ]; 49 50 propagatedBuildInputs = [ 51 gtk3 52 pygobject3 53 gdk-pixbuf 54 dbus-python 55 ffmpeg 56 mplayer 57 dvdauthor 58 vcdimager 59 cdrkit 60 urllib3 61 setuptools 62 ]; 63 64 postPatch = '' 65 substituteInPlace setup.py --replace "'/usr'," "" 66 substituteInPlace src/devedeng/configuration_data.py \ 67 --replace "/usr/share" "$out/share" \ 68 --replace "/usr/local/share" "$out/share" 69 ''; 70 71 passthru.updateScript = nix-update-script { }; 72 73 meta = { 74 description = "DVD Creator for Linux"; 75 homepage = "https://www.rastersoft.com/programas/devede.html"; 76 license = lib.licenses.gpl3; 77 maintainers = [ 78 lib.maintainers.bdimcheff 79 lib.maintainers.baksa 80 ]; 81 }; 82}