3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/libraries/libzapojit/default.nix

32 lines
1,014 B
Nix
Raw Normal View History

{ lib, stdenv, fetchurl, pkg-config, glib, intltool, json-glib, librest, libsoup, gnome, gnome-online-accounts, gobject-introspection }:
stdenv.mkDerivation rec {
2018-03-03 05:37:42 +00:00
pname = "libzapojit";
version = "0.0.3";
2018-03-15 12:25:25 +00:00
outputs = [ "out" "dev" ];
src = fetchurl {
url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
sha256 = "0zn3s7ryjc3k1abj4k55dr2na844l451nrg9s6cvnnhh569zj99x";
};
nativeBuildInputs = [ pkg-config intltool gobject-introspection ];
propagatedBuildInputs = [ glib json-glib librest libsoup gnome-online-accounts ]; # zapojit-0.0.pc
2018-03-03 05:37:42 +00:00
passthru = {
updateScript = gnome.updateScript {
2018-03-03 05:37:42 +00:00
packageName = pname;
versionPolicy = "odd-unstable";
2018-03-03 05:37:42 +00:00
};
};
meta = with lib; {
2017-10-03 02:26:42 +01:00
description = "GObject wrapper for the SkyDrive and Hotmail REST APIs";
homepage = "https://wiki.gnome.org/Projects/Zapojit";
2018-03-03 05:37:42 +00:00
license = licenses.lgpl21Plus;
maintainers = teams.gnome.members;
platforms = platforms.linux;
};
}