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

47 lines
791 B
Nix
Raw Normal View History

2021-05-14 14:50:43 +01:00
{ stdenv
, lib
2020-02-07 05:51:27 +00:00
, fetchFromGitHub
, meson
, ninja
, pkg-config
2020-02-07 05:51:27 +00:00
, gtk-doc
, docbook-xsl-nons
, docbook_xml_dtd_45
, glib
}:
stdenv.mkDerivation rec {
pname = "libportal";
2021-05-14 14:50:43 +01:00
version = "0.4";
2020-02-07 05:51:27 +00:00
outputs = [ "out" "dev" "devdoc" ];
src = fetchFromGitHub {
owner = "flatpak";
repo = pname;
rev = version;
2021-05-14 14:50:43 +01:00
sha256 = "fuYZWGkdazq6H0rThqpF6KIcvwgc17o+CiISb1LjBso=";
2020-02-07 05:51:27 +00:00
};
nativeBuildInputs = [
meson
ninja
pkg-config
2020-02-07 05:51:27 +00:00
gtk-doc
docbook-xsl-nons
docbook_xml_dtd_45
];
propagatedBuildInputs = [
glib
];
meta = with lib; {
2020-02-07 05:51:27 +00:00
description = "Flatpak portal library";
homepage = "https://github.com/flatpak/libportal";
license = licenses.lgpl2Plus;
maintainers = with maintainers; [ jtojnar ];
platforms = platforms.linux;
};
}