Merge pull request #141680 from AndersonTorres/new-ciano

ciano: init at 0.2.4

authored by

Anderson Torres and committed by
GitHub
1cab3e23 a0ede55a

+82
+76
pkgs/applications/graphics/ciano/default.nix
··· 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
··· 2265 2265 2266 2266 bs-platform = callPackage ../development/compilers/bs-platform {}; 2267 2267 2268 + ciano = callPackage ../applications/graphics/ciano { 2269 + inherit (pantheon) granite; 2270 + python = python3; 2271 + gtk = gtk3; 2272 + }; 2273 + 2268 2274 c3d = callPackage ../applications/graphics/c3d { 2269 2275 inherit (darwin.apple_sdk.frameworks) Cocoa; 2270 2276 };