3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/desktops/gnome-3/core/rest/default.nix

33 lines
896 B
Nix
Raw Normal View History

{ stdenv, fetchurl, pkgconfig, glib, libsoup, gobject-introspection, gnome3 }:
2018-03-03 01:26:34 +00:00
let
pname = "rest";
version = "0.8.1";
in stdenv.mkDerivation rec {
name = "${pname}-${version}";
src = fetchurl {
url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${name}.tar.xz";
2017-12-03 23:03:55 +00:00
sha256 = "0513aad38e5d3cedd4ae3c551634e3be1b9baaa79775e53b2dba9456f15b01c9";
};
nativeBuildInputs = [ pkgconfig ];
buildInputs = [ glib libsoup gobject-introspection];
2018-07-25 22:44:21 +01:00
configureFlags = [ "--with-ca-certificates=/etc/ssl/certs/ca-certificates.crt" ];
2018-03-03 01:26:34 +00:00
passthru = {
updateScript = gnome3.updateScript {
packageName = pname;
attrPath = "gnome3.${pname}";
};
};
meta = with stdenv.lib; {
2018-03-03 01:26:34 +00:00
homepage = https://wiki.gnome.org/Projects/Librest;
license = licenses.lgpl21;
platforms = platforms.linux;
maintainers = gnome3.maintainers;
};
}