nixpkgs/pkgs/desktops/gnome-3/core/libzapojit/default.nix

33 lines
970 B
Nix
Raw Normal View History

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