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

32 lines
750 B
Nix
Raw Normal View History

{ stdenv, fetchFromGitHub, autoreconfHook, pkgconfig, gtk-doc, gobjectIntrospection
2014-11-07 08:24:45 +03:00
, glib, attr, systemd
}:
stdenv.mkDerivation {
2015-01-28 05:35:20 +03:00
name = "libgsystem-2015.1";
2014-11-07 08:24:45 +03:00
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;
};
src = fetchFromGitHub {
owner = "GNOME";
repo = "libgsystem";
2015-01-28 05:35:20 +03:00
rev = "v2015.1";
sha256 = "0j5dqn1pnspfxifklw4wkikqlbxr4faib07550n5gi58m89gg68n";
2014-11-07 08:24:45 +03:00
};
nativeBuildInputs = [
autoreconfHook pkgconfig gtk-doc gobjectIntrospection
2014-11-07 08:24:45 +03:00
];
propagatedBuildInputs = [ glib attr systemd ];
preAutoreconf = ''
mkdir m4
'';
}