nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{ stdenv, fetchFromGitHub, autoreconfHook, pkgconfig, gtk_doc, gobjectIntrospection
2, glib, attr, systemd
3}:
4
5stdenv.mkDerivation {
6 name = "libgsystem-2015.1";
7
8 meta = with stdenv.lib; {
9 description = "GIO-based library with Unix/Linux specific API";
10 homepage = "https://wiki.gnome.org/Projects/LibGSystem";
11 license = licenses.lgpl2Plus;
12 platforms = platforms.linux;
13 };
14
15 src = fetchFromGitHub {
16 owner = "GNOME";
17 repo = "libgsystem";
18 rev = "v2015.1";
19 sha256 = "0j5dqn1pnspfxifklw4wkikqlbxr4faib07550n5gi58m89gg68n";
20 };
21
22 nativeBuildInputs = [
23 autoreconfHook pkgconfig gtk_doc gobjectIntrospection
24 ];
25
26 propagatedBuildInputs = [ glib attr systemd ];
27
28 preAutoreconf = ''
29 mkdir m4
30 '';
31}