nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{ fetchurl, stdenv, pkgconfig, intltool, gettext, glib, libxml2, zlib, bzip2
2, python, perl, gdk_pixbuf, libiconv, libintl, gnome3 }:
3
4stdenv.mkDerivation rec {
5 pname = "libgsf";
6 version = "1.14.45";
7
8 src = fetchurl {
9 url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
10 sha256 = "1yk91ccf7z9b8d8ac6vip3gc5c0pkwgabqy6l0pj0kf43l7jrg2w";
11 };
12
13 nativeBuildInputs = [ pkgconfig intltool libintl ];
14
15 buildInputs = [ gettext bzip2 zlib python ];
16 checkInputs = [ perl ];
17
18 propagatedBuildInputs = [ libxml2 glib gdk_pixbuf libiconv ];
19
20 outputs = [ "out" "dev" ];
21
22 doCheck = true;
23 preCheck = "patchShebangs ./tests/";
24
25 passthru = {
26 updateScript = gnome3.updateScript {
27 packageName = pname;
28 };
29 };
30
31 meta = with stdenv.lib; {
32 description = "GNOME's Structured File Library";
33 homepage = https://www.gnome.org/projects/libgsf;
34 license = licenses.lgpl2Plus;
35 maintainers = with maintainers; [ lovek323 ];
36 platforms = stdenv.lib.platforms.unix;
37
38 longDescription = ''
39 Libgsf aims to provide an efficient extensible I/O abstraction for
40 dealing with different structured file formats.
41 '';
42 };
43}