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