nixpkgs/pkgs/development/libraries/libgsf/default.nix

39 lines
1.1 KiB
Nix
Raw Normal View History

{ fetchurl, stdenv, pkgconfig, intltool, gettext, glib, libxml2, zlib, bzip2
2018-03-14 19:15:06 +00:00
, python, perl, gdk_pixbuf, libiconv, libintl }:
let inherit (stdenv.lib) optionals; in
stdenv.mkDerivation rec {
libgsf: 1.14.41 -> 1.14.42 Semi-automatic update. These checks were performed: - built on NixOS - ran `/nix/store/r5m45cyq4pdbqf6a3fal3x7dgy69hqiv-libgsf-1.14.42/bin/gsf -h` got 0 exit code - ran `/nix/store/r5m45cyq4pdbqf6a3fal3x7dgy69hqiv-libgsf-1.14.42/bin/gsf --help` got 0 exit code - ran `/nix/store/r5m45cyq4pdbqf6a3fal3x7dgy69hqiv-libgsf-1.14.42/bin/gsf help` got 0 exit code - ran `/nix/store/r5m45cyq4pdbqf6a3fal3x7dgy69hqiv-libgsf-1.14.42/bin/gsf -v` and found version 1.14.42 - ran `/nix/store/r5m45cyq4pdbqf6a3fal3x7dgy69hqiv-libgsf-1.14.42/bin/gsf --version` and found version 1.14.42 - ran `/nix/store/r5m45cyq4pdbqf6a3fal3x7dgy69hqiv-libgsf-1.14.42/bin/gsf -h` and found version 1.14.42 - ran `/nix/store/r5m45cyq4pdbqf6a3fal3x7dgy69hqiv-libgsf-1.14.42/bin/gsf --help` and found version 1.14.42 - ran `/nix/store/r5m45cyq4pdbqf6a3fal3x7dgy69hqiv-libgsf-1.14.42/bin/gsf-vba-dump -h` got 0 exit code - ran `/nix/store/r5m45cyq4pdbqf6a3fal3x7dgy69hqiv-libgsf-1.14.42/bin/gsf-vba-dump --help` got 0 exit code - ran `/nix/store/r5m45cyq4pdbqf6a3fal3x7dgy69hqiv-libgsf-1.14.42/bin/gsf-vba-dump help` got 0 exit code - ran `/nix/store/r5m45cyq4pdbqf6a3fal3x7dgy69hqiv-libgsf-1.14.42/bin/gsf-office-thumbnailer -h` got 0 exit code - ran `/nix/store/r5m45cyq4pdbqf6a3fal3x7dgy69hqiv-libgsf-1.14.42/bin/gsf-office-thumbnailer --help` got 0 exit code - found 1.14.42 with grep in /nix/store/r5m45cyq4pdbqf6a3fal3x7dgy69hqiv-libgsf-1.14.42 - found 1.14.42 in filename of file in /nix/store/r5m45cyq4pdbqf6a3fal3x7dgy69hqiv-libgsf-1.14.42 cc "@lovek323"
2018-02-27 04:30:24 +00:00
name = "libgsf-1.14.42";
src = fetchurl {
url = "mirror://gnome/sources/libgsf/1.14/${name}.tar.xz";
libgsf: 1.14.41 -> 1.14.42 Semi-automatic update. These checks were performed: - built on NixOS - ran `/nix/store/r5m45cyq4pdbqf6a3fal3x7dgy69hqiv-libgsf-1.14.42/bin/gsf -h` got 0 exit code - ran `/nix/store/r5m45cyq4pdbqf6a3fal3x7dgy69hqiv-libgsf-1.14.42/bin/gsf --help` got 0 exit code - ran `/nix/store/r5m45cyq4pdbqf6a3fal3x7dgy69hqiv-libgsf-1.14.42/bin/gsf help` got 0 exit code - ran `/nix/store/r5m45cyq4pdbqf6a3fal3x7dgy69hqiv-libgsf-1.14.42/bin/gsf -v` and found version 1.14.42 - ran `/nix/store/r5m45cyq4pdbqf6a3fal3x7dgy69hqiv-libgsf-1.14.42/bin/gsf --version` and found version 1.14.42 - ran `/nix/store/r5m45cyq4pdbqf6a3fal3x7dgy69hqiv-libgsf-1.14.42/bin/gsf -h` and found version 1.14.42 - ran `/nix/store/r5m45cyq4pdbqf6a3fal3x7dgy69hqiv-libgsf-1.14.42/bin/gsf --help` and found version 1.14.42 - ran `/nix/store/r5m45cyq4pdbqf6a3fal3x7dgy69hqiv-libgsf-1.14.42/bin/gsf-vba-dump -h` got 0 exit code - ran `/nix/store/r5m45cyq4pdbqf6a3fal3x7dgy69hqiv-libgsf-1.14.42/bin/gsf-vba-dump --help` got 0 exit code - ran `/nix/store/r5m45cyq4pdbqf6a3fal3x7dgy69hqiv-libgsf-1.14.42/bin/gsf-vba-dump help` got 0 exit code - ran `/nix/store/r5m45cyq4pdbqf6a3fal3x7dgy69hqiv-libgsf-1.14.42/bin/gsf-office-thumbnailer -h` got 0 exit code - ran `/nix/store/r5m45cyq4pdbqf6a3fal3x7dgy69hqiv-libgsf-1.14.42/bin/gsf-office-thumbnailer --help` got 0 exit code - found 1.14.42 with grep in /nix/store/r5m45cyq4pdbqf6a3fal3x7dgy69hqiv-libgsf-1.14.42 - found 1.14.42 in filename of file in /nix/store/r5m45cyq4pdbqf6a3fal3x7dgy69hqiv-libgsf-1.14.42 cc "@lovek323"
2018-02-27 04:30:24 +00:00
sha256 = "1hhdz0ymda26q6bl5ygickkgrh998lxqq4z9i8dzpcvqna3zpzr9";
};
2018-03-14 19:15:06 +00:00
nativeBuildInputs = [ pkgconfig intltool libintl ];
buildInputs = [ gettext bzip2 zlib python ]
++ stdenv.lib.optional doCheck perl;
2018-03-14 19:15:06 +00:00
propagatedBuildInputs = [ libxml2 glib gdk_pixbuf libiconv ];
2017-03-30 21:51:15 +01:00
outputs = [ "out" "dev" ];
doCheck = true;
preCheck = "patchShebangs ./tests/";
meta = with stdenv.lib; {
description = "GNOME's Structured File Library";
homepage = https://www.gnome.org/projects/libgsf;
license = licenses.lgpl2Plus;
maintainers = with maintainers; [ lovek323 ];
platforms = stdenv.lib.platforms.unix;
longDescription = ''
Libgsf aims to provide an efficient extensible I/O abstraction for
dealing with different structured file formats.
'';
};
}