nixpkgs/pkgs/desktops/gnome-3/core/rest/default.nix
Jan Tojnar a51a99c690
gobject-introspection: rename package
camelCase package name was a huge inconsistency in GNOME package set.
2018-12-02 12:42:29 +01:00

32 lines
896 B
Nix

{ stdenv, fetchurl, pkgconfig, glib, libsoup, gobject-introspection, gnome3 }:
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";
sha256 = "0513aad38e5d3cedd4ae3c551634e3be1b9baaa79775e53b2dba9456f15b01c9";
};
nativeBuildInputs = [ pkgconfig ];
buildInputs = [ glib libsoup gobject-introspection];
configureFlags = [ "--with-ca-certificates=/etc/ssl/certs/ca-certificates.crt" ];
passthru = {
updateScript = gnome3.updateScript {
packageName = pname;
attrPath = "gnome3.${pname}";
};
};
meta = with stdenv.lib; {
homepage = https://wiki.gnome.org/Projects/Librest;
license = licenses.lgpl21;
platforms = platforms.linux;
maintainers = gnome3.maintainers;
};
}