tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
ciano: init at 0.2.4
AndersonTorres
4 years ago
33bbcaca
40f33745
+82
2 changed files
expand all
collapse all
unified
split
pkgs
applications
graphics
ciano
default.nix
top-level
all-packages.nix
+76
pkgs/applications/graphics/ciano/default.nix
···
1
1
+
{ lib
2
2
+
, stdenv
3
3
+
, fetchFromGitHub
4
4
+
, desktop-file-utils
5
5
+
, ffmpeg
6
6
+
, gobject-introspection
7
7
+
, granite
8
8
+
, gtk
9
9
+
, imagemagick
10
10
+
, libgee
11
11
+
, libhandy
12
12
+
, libsecret
13
13
+
, libsoup
14
14
+
, meson
15
15
+
, ninja
16
16
+
, pkg-config
17
17
+
, python
18
18
+
, vala
19
19
+
, wrapGAppsHook
20
20
+
}:
21
21
+
22
22
+
stdenv.mkDerivation rec {
23
23
+
pname = "ciano";
24
24
+
version = "0.2.4";
25
25
+
26
26
+
src = fetchFromGitHub {
27
27
+
owner = "robertsanseries";
28
28
+
repo = pname;
29
29
+
rev = version;
30
30
+
hash = "sha256-nubm6vBWwsHrrmvFAL/cIzYPxg9B1EhnpC79IJMNuFY=";
31
31
+
};
32
32
+
33
33
+
nativeBuildInputs = [
34
34
+
desktop-file-utils
35
35
+
meson
36
36
+
ninja
37
37
+
pkg-config
38
38
+
python
39
39
+
vala
40
40
+
wrapGAppsHook
41
41
+
];
42
42
+
43
43
+
buildInputs = [
44
44
+
ffmpeg
45
45
+
imagemagick
46
46
+
granite
47
47
+
gtk
48
48
+
];
49
49
+
50
50
+
postPatch = ''
51
51
+
chmod +x meson/post_install.py
52
52
+
patchShebangs meson/post_install.py
53
53
+
'';
54
54
+
55
55
+
dontWrapGApps = true;
56
56
+
57
57
+
postFixup = let
58
58
+
binPath = lib.makeBinPath [
59
59
+
ffmpeg
60
60
+
imagemagick
61
61
+
];
62
62
+
in
63
63
+
''
64
64
+
wrapProgram $out/bin/com.github.robertsanseries.ciano \
65
65
+
--prefix PATH : ${binPath} "''${gappsWrapperArgs[@]}"
66
66
+
ln -s $out/bin/com.github.robertsanseries.ciano $out/bin/ciano
67
67
+
'';
68
68
+
69
69
+
meta = with lib; {
70
70
+
homepage = "https://github.com/robertsanseries/ciano";
71
71
+
description = "A multimedia file converter focused on simplicity";
72
72
+
license = licenses.gpl3Plus;
73
73
+
maintainers = with maintainers; [ AndersonTorres ];
74
74
+
platforms = platforms.linux;
75
75
+
};
76
76
+
}
+6
pkgs/top-level/all-packages.nix
···
2150
2150
2151
2151
bs-platform = callPackage ../development/compilers/bs-platform {};
2152
2152
2153
2153
+
ciano = callPackage ../applications/graphics/ciano {
2154
2154
+
inherit (pantheon) granite;
2155
2155
+
python = python3;
2156
2156
+
gtk = gtk3;
2157
2157
+
};
2158
2158
+
2153
2159
c3d = callPackage ../applications/graphics/c3d {
2154
2160
inherit (darwin.apple_sdk.frameworks) Cocoa;
2155
2161
};