summary refs log tree commit diff
path: root/pkgs/development/libraries/libgsystem/default.nix
blob: b37503df5d9d5cf0c3b859b16d6ad4f50a63dc6e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
{ stdenv, fetchFromGitHub, autoreconfHook, pkgconfig, gtk_doc, gobjectIntrospection
, glib, attr, systemd
}:

stdenv.mkDerivation {
  name = "libgsystem-2015.1";

  meta = with stdenv.lib; {
    description = "GIO-based library with Unix/Linux specific API";
    homepage    = "https://wiki.gnome.org/Projects/LibGSystem";
    license     = licenses.lgpl2Plus;
    platforms   = platforms.linux;
    maintainers = with maintainers; [ iyzsong ];
  };

  src = fetchFromGitHub {
    owner = "GNOME";
    repo = "libgsystem";
    rev = "v2015.1";
    sha256 = "0j5dqn1pnspfxifklw4wkikqlbxr4faib07550n5gi58m89gg68n";
  };

  nativeBuildInputs = [
    autoreconfHook pkgconfig gtk_doc gobjectIntrospection
  ];

  propagatedBuildInputs = [ glib attr systemd ];

  preAutoreconf = ''
    mkdir m4
  '';
}