2018-12-02 11:41:15 +00:00
|
|
|
{ stdenv, fetchurl, pkgconfig, glib, intltool, json-glib, rest, libsoup, gnome-online-accounts, gnome3, gobject-introspection }:
|
2018-03-03 05:37:42 +00:00
|
|
|
let
|
|
|
|
pname = "libzapojit";
|
|
|
|
version = "0.0.3";
|
|
|
|
in
|
2016-09-18 20:35:23 +01:00
|
|
|
stdenv.mkDerivation rec {
|
2018-03-03 05:37:42 +00:00
|
|
|
name = "${pname}-${version}";
|
2016-09-18 20:35:23 +01:00
|
|
|
|
2018-03-15 12:25:25 +00:00
|
|
|
outputs = [ "out" "dev" ];
|
|
|
|
|
2016-09-18 20:35:23 +01:00
|
|
|
src = fetchurl {
|
2018-10-05 01:12:11 +01:00
|
|
|
url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${name}.tar.xz";
|
2016-09-18 20:35:23 +01:00
|
|
|
sha256 = "0zn3s7ryjc3k1abj4k55dr2na844l451nrg9s6cvnnhh569zj99x";
|
|
|
|
};
|
|
|
|
|
2018-12-02 11:41:15 +00:00
|
|
|
nativeBuildInputs = [ pkgconfig intltool gobject-introspection ];
|
2018-03-15 12:25:25 +00:00
|
|
|
propagatedBuildInputs = [ glib json-glib rest libsoup gnome-online-accounts ]; # zapojit-0.0.pc
|
2018-03-03 05:37:42 +00:00
|
|
|
|
|
|
|
passthru = {
|
|
|
|
updateScript = gnome3.updateScript {
|
|
|
|
packageName = pname;
|
|
|
|
attrPath = "gnome3.${pname}";
|
|
|
|
};
|
|
|
|
};
|
2016-09-18 20:35:23 +01:00
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
2017-10-03 02:26:42 +01:00
|
|
|
description = "GObject wrapper for the SkyDrive and Hotmail REST APIs";
|
2018-03-03 05:37:42 +00:00
|
|
|
license = licenses.lgpl21Plus;
|
|
|
|
maintainers = gnome3.maintainers;
|
2016-09-18 20:35:23 +01:00
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|