git.iko.soy/typeable/nixpkgs
on master help sign in
spacefm: update and add dep
commiteaa5e2309f8de5320ce00e0af1158f5e0573f56c authorArseniy Seroka <ars.seroka@gmail.com> dateTue 5 May 2015, 02:58 (12 years ago) parentb7aeeee
3 files changed+54−15
pkgs/applications/misc/spacefm/default.nix+21−15 pkgs/development/libraries/ffmpegthumbnailer/default.nix+31 pkgs/top-level/all-packages.nix+2
pkgs/applications/misc/spacefm/default.nix+21−15
@@ -1,30 +1,36 @@
1−{ pkgs, fetchurl, stdenv, gtk3, udev, desktop_file_utils, shared_mime_info
2−, intltool, pkgconfig, makeWrapper
3−}:
1+{ pkgs, fetchurl, stdenv, gtk3, udev, desktop_file_utils, shared_mime_info , intltool, pkgconfig, makeWrapper, ffmpegthumbnailer, jmtpfs, ifuse, lsof, udisks }:
42
5−let
6− version = "0.9.2";
7−
8−in stdenv.mkDerivation rec {
3+stdenv.mkDerivation rec {
94 name = "spacefm-${version}";
5+ version = "1.0.1";
106
117 src = fetchurl {
12− url = "https://github.com/IgnorantGuru/spacefm/blob/pkg/${version}/${name}.tar.xz?raw=true";
13− sha256 = "3767137d74aa78597ffb42a6121784e91a4276efcd5d718b3793b9790f82268c";
8+ url = "https://github.com/IgnorantGuru/spacefm/archive/${version}.tar.gz";
9+ sha256 = "0mps6akwzr4mkljgywpimwgqf6ajnd7gq615877h20wyjf4h46vz";
1410 };
1511
16− buildInputs = [ gtk3 udev desktop_file_utils shared_mime_info intltool pkgconfig makeWrapper ];
12+ configureFlags = [
13+ "--with-bash-path=${pkgs.bash}/bin/bash"
14+ "--with-preferable-sudo=${pkgs.sudo}/bin/sudo"
15+ ];
16+
17+ buildInputs = [ gtk3 udev desktop_file_utils shared_mime_info intltool pkgconfig makeWrapper ffmpegthumbnailer jmtpfs ifuse lsof udisks ];
1718
1819 preFixup = ''
1920 wrapProgram "$out/bin/spacefm" \
2021 --prefix XDG_DATA_DIRS : "$GSETTINGS_SCHEMAS_PATH"
2122 '';
2223
23− meta = {
24− description = "Multi-panel tabbed file and desktop manager for Linux with built-in VFS, udev- or HAL-based device manager, customizable menu system, and bash integration";
25− platforms = pkgs.lib.platforms.linux;
26− license = pkgs.lib.licenses.gpl3;
24+ meta = with stdenv.lib; {
25+ description = "A multi-panel tabbed file manager";
26+ longDescription = "Multi-panel tabbed file and desktop manager for Linux
27+ with built-in VFS, udev- or HAL-based device manager,
28+ customizable menu system, and bash integration
29+ ";
30+ homepage = http://ignorantguru.github.io/spacefm/;
31+ platforms = platforms.linux;
32+ license = licenses.gpl3;
33+ maintainers = [ maintainers.jagajaga ];
2734 };
2835
2936}
30−
pkgs/development/libraries/ffmpegthumbnailer/default.nixnew file+31
@@ -0,0 +1,31 @@
1+{ pkgs, fetchurl, stdenv, ffmpeg, cmake, libpng, pkgconfig
2+}:
3+
4+stdenv.mkDerivation rec {
5+ name = "ffmpegthumbnailer-${version}";
6+ version = "2.0.10";
7+
8+ src = fetchurl {
9+ url = "https://github.com/dirkvdb/ffmpegthumbnailer/releases/download/${version}/${name}.tar.bz2";
10+ sha256 = "0q7ws7ysw2rwr6ja8rhdjcc7x1hrlga7n514wi4lhw1yma32q0m3";
11+ };
12+
13+ buildInputs = [ ffmpeg cmake libpng pkgconfig ];
14+
15+ meta = with stdenv.lib; {
16+ homepage = https://github.com/dirkvdb/ffmpegthumbnailer;
17+ description = "A lightweight video thumbnailer";
18+ longDescription = "FFmpegthumbnailer is a lightweight video
19+ thumbnailer that can be used by file managers to create thumbnails
20+ for your video files. The thumbnailer uses ffmpeg o decode frames
21+ from the video files, so supported videoformats depend on the
22+ configuration flags of ffmpeg.
23+ This thumbnailer was designed to be as fast and lightweight as possible.
24+ The only dependencies are ffmpeg and libpng.
25+ ";
26+ platforms = platforms.linux;
27+ license = licenses.gpl2;
28+ maintainers = [ maintainers.jagajaga ];
29+ };
30+
31+}
pkgs/top-level/all-packages.nix+2
@@ -5770,6 +5770,8 @@ let
57705770 ffmpeg_2 = ffmpeg_2_5;
57715771 ffmpeg = ffmpeg_2;
57725772
5773+ ffmpegthumbnailer = callPackage ../development/libraries/ffmpegthumbnailer { };
5774+
57735775 ffms = callPackage ../development/libraries/ffms { };
57745776
57755777 fftw = callPackage ../development/libraries/fftw { };