nixpkgs/pkgs/development/libraries/appstream-glib/default.nix

32 lines
1.1 KiB
Nix
Raw Normal View History

{ stdenv, fetchFromGitHub, pkgconfig, gettext, gtk3, intltool, glib
2015-04-10 18:02:57 +03:00
, gtk_doc, autoconf, automake, libtool, libarchive, libyaml
, gobjectIntrospection, sqlite, libsoup, gcab, attr, acl, docbook_xsl
, libuuid, json_glib
2015-04-10 18:02:57 +03:00
}:
stdenv.mkDerivation rec {
name = "appstream-glib-0.5.11";
2015-04-10 18:02:57 +03:00
src = fetchFromGitHub {
owner = "hughsie";
repo = "appstream-glib";
rev = stdenv.lib.replaceStrings ["." "-"] ["_" "_"] name;
sha256 = "1rvfncm9z29h70pd718j73cd263g6yyxkxrg7zfzy0gj6wwzvhkh";
2015-04-10 18:02:57 +03:00
};
nativeBuildInputs = [ autoconf automake libtool pkgconfig intltool ];
buildInputs = [ glib gtk_doc gettext sqlite libsoup
gcab attr acl docbook_xsl libuuid json_glib
libarchive libyaml gtk3 gobjectIntrospection ];
2015-04-10 18:02:57 +03:00
configureScript = "./autogen.sh";
meta = with stdenv.lib; {
description = "Objects and helper methods to read and write AppStream metadata";
homepage = https://github.com/hughsie/appstream-glib;
license = licenses.lgpl21Plus;
platforms = platforms.linux;
maintainers = with maintainers; [ lethalman matthewbauer ];
2015-04-10 18:02:57 +03:00
};
}