summary refs log tree commit diff
path: root/pkgs/development/libraries/libgsystem/default.nix
diff options
context:
space:
mode:
authorVladimír Čunát <vcunat@gmail.com>2015-04-18 11:00:58 +0200
committerVladimír Čunát <vcunat@gmail.com>2015-04-18 11:22:20 +0200
commitbf414c9d4f892fd4e392a5f42016b57e84402a8b (patch)
tree08c000d609ed8e608ca542fa78360e4217f3fc36 /pkgs/development/libraries/libgsystem/default.nix
parent29901451700a7382f3f9d5a0a23cd55b187e5585 (diff)
parent9de9669496a05f64ea436c01f9b66c057cd74f90 (diff)
downloadnixpkgs-bf414c9d4f892fd4e392a5f42016b57e84402a8b.tar
nixpkgs-bf414c9d4f892fd4e392a5f42016b57e84402a8b.tar.gz
nixpkgs-bf414c9d4f892fd4e392a5f42016b57e84402a8b.tar.bz2
nixpkgs-bf414c9d4f892fd4e392a5f42016b57e84402a8b.tar.lz
nixpkgs-bf414c9d4f892fd4e392a5f42016b57e84402a8b.tar.xz
nixpkgs-bf414c9d4f892fd4e392a5f42016b57e84402a8b.tar.zst
nixpkgs-bf414c9d4f892fd4e392a5f42016b57e84402a8b.zip
Merge 'staging' into closure-size
- there were many easy merge conflicts
- cc-wrapper needed nontrivial changes

Many other problems might've been created by interaction of the branches,
but stdenv and a few other packages build fine now.
Diffstat (limited to 'pkgs/development/libraries/libgsystem/default.nix')
-rw-r--r--pkgs/development/libraries/libgsystem/default.nix32
1 files changed, 32 insertions, 0 deletions
diff --git a/pkgs/development/libraries/libgsystem/default.nix b/pkgs/development/libraries/libgsystem/default.nix
new file mode 100644
index 00000000000..b37503df5d9
--- /dev/null
+++ b/pkgs/development/libraries/libgsystem/default.nix
@@ -0,0 +1,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
+  '';
+}