tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
imagination: init at 3.6
Austin Butler
4 years ago
990a17bd
fce02064
+47
2 changed files
expand all
collapse all
unified
split
pkgs
applications
video
imagination
default.nix
top-level
all-packages.nix
+45
pkgs/applications/video/imagination/default.nix
···
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
···
1
+
{ lib, stdenv, fetchurl, autoreconfHook, docbook_xsl, ffmpeg-full, glib, gtk3
2
+
, intltool, libxslt, pkg-config, sox, wrapGAppsHook }:
3
+
4
+
stdenv.mkDerivation rec {
5
+
pname = "imagination";
6
+
version = "3.6";
7
+
8
+
src = fetchurl {
9
+
url = "mirror://sourceforge/${pname}/${pname}-${version}.tar.gz";
10
+
sha256 = "139dgb9vfr2q7bxvjskykdz526xxwrn0bh463ir8m2p7rx5a3pw5";
11
+
};
12
+
13
+
nativeBuildInputs = [
14
+
autoreconfHook
15
+
docbook_xsl
16
+
intltool
17
+
libxslt
18
+
pkg-config
19
+
wrapGAppsHook
20
+
];
21
+
22
+
buildInputs = [ ffmpeg-full glib gtk3 sox ];
23
+
24
+
preBuild = ''
25
+
substituteInPlace src/main-window.c \
26
+
--replace 'gtk_icon_theme_load_icon(icon_theme,"image", 20, 0, NULL)' \
27
+
'gtk_icon_theme_load_icon(icon_theme,"insert-image", 20, 0, NULL)' \
28
+
--replace 'gtk_icon_theme_load_icon(icon_theme,"sound", 20, 0, NULL)' \
29
+
'gtk_icon_theme_load_icon(icon_theme,"audio-x-generic", 20, 0, NULL)'
30
+
'';
31
+
32
+
preFixup = ''
33
+
gappsWrapperArgs+=(
34
+
--prefix PATH : "${lib.makeBinPath [ ffmpeg-full sox ]}"
35
+
)
36
+
'';
37
+
38
+
meta = with lib; {
39
+
description = "Lightweight and simple DVD slide show maker";
40
+
homepage = "http://imagination.sourceforge.net";
41
+
license = licenses.gpl3Only;
42
+
maintainers = with maintainers; [ austinbutler ];
43
+
platforms = platforms.linux;
44
+
};
45
+
}
+2
pkgs/top-level/all-packages.nix
···
24578
inherit (darwin.apple_sdk.frameworks) ApplicationServices Foundation;
24579
});
24580
0
0
24581
inherit (nodePackages) imapnotify;
24582
24583
img2pdf = with python3Packages; toPythonApplication img2pdf;
···
24578
inherit (darwin.apple_sdk.frameworks) ApplicationServices Foundation;
24579
});
24580
24581
+
imagination = callPackage ../applications/video/imagination { };
24582
+
24583
inherit (nodePackages) imapnotify;
24584
24585
img2pdf = with python3Packages; toPythonApplication img2pdf;