about summary refs log tree commit diff
path: root/pkgs/development/libraries/appstream
diff options
context:
space:
mode:
author宋文武 <iyzsong@gmail.com>2015-01-22 15:02:54 +0800
committer宋文武 <iyzsong@gmail.com>2015-01-22 15:05:17 +0800
commit9bf9d5b9ad8508d074971c80cedf345bd248e5b7 (patch)
treecc4ac5e0a36fc6c2d528fe6a7cccab41a7bbc898 /pkgs/development/libraries/appstream
parent00f93c494b847da1fcd556ae3afc7ad7840cd6ec (diff)
downloadnixlib-9bf9d5b9ad8508d074971c80cedf345bd248e5b7.tar
nixlib-9bf9d5b9ad8508d074971c80cedf345bd248e5b7.tar.gz
nixlib-9bf9d5b9ad8508d074971c80cedf345bd248e5b7.tar.bz2
nixlib-9bf9d5b9ad8508d074971c80cedf345bd248e5b7.tar.lz
nixlib-9bf9d5b9ad8508d074971c80cedf345bd248e5b7.tar.xz
nixlib-9bf9d5b9ad8508d074971c80cedf345bd248e5b7.tar.zst
nixlib-9bf9d5b9ad8508d074971c80cedf345bd248e5b7.zip
appstream: New package
Diffstat (limited to 'pkgs/development/libraries/appstream')
-rw-r--r--pkgs/development/libraries/appstream/default.nix36
1 files changed, 36 insertions, 0 deletions
diff --git a/pkgs/development/libraries/appstream/default.nix b/pkgs/development/libraries/appstream/default.nix
new file mode 100644
index 000000000000..328ef8c6ee5b
--- /dev/null
+++ b/pkgs/development/libraries/appstream/default.nix
@@ -0,0 +1,36 @@
+{ stdenv, fetchurl, cmake, pkgconfig, gettext, intltool
+, xmlto, docbook_xsl, docbook_xml_dtd_45
+, glib, xapian, libxml2, libyaml, gobjectIntrospection
+}:
+
+stdenv.mkDerivation {
+  name = "appstream-0.7.6";
+
+  meta = with stdenv.lib; {
+    description = "Software metadata handling library";
+    homepage    = "http://www.freedesktop.org/wiki/Distributions/AppStream/Software/";
+    longDescription =
+    ''
+      AppStream is a cross-distro effort for building Software-Center applications
+      and enhancing metadata provided by software components.  It provides
+      specifications for meta-information which is shipped by upstream projects and
+      can be consumed by other software.
+    '';
+    license     = licenses.lgpl21Plus;
+    platforms   = platforms.linux;
+    maintainers = with maintainers; [ iyzsong ];
+ };
+
+  src = fetchurl {
+    url = "https://github.com/ximion/appstream/archive/APPSTREAM_0_7_6.tar.gz";
+    sha256 = "0djbngda3qbhvz1p0cqlsxy5iyshyrya0vh8xvc75y99agsrijkz";
+  };
+
+  nativeBuildInputs = [
+    cmake pkgconfig gettext intltool
+    xmlto docbook_xsl docbook_xml_dtd_45
+    gobjectIntrospection
+  ];
+
+  buildInputs = [ glib xapian libxml2 libyaml ];
+}