libadwaita: init at unstable-2021-05-01
This commit is contained in:
parent
8e4fe32876
commit
7b3df91236
2 changed files with 69 additions and 0 deletions
67
pkgs/development/libraries/libadwaita/default.nix
Normal file
67
pkgs/development/libraries/libadwaita/default.nix
Normal file
|
@ -0,0 +1,67 @@
|
|||
{ lib
|
||||
, stdenv
|
||||
, fetchFromGitLab
|
||||
, docbook_xsl
|
||||
, gtk-doc
|
||||
, meson
|
||||
, ninja
|
||||
, pkg-config
|
||||
, sassc
|
||||
, vala
|
||||
, gobject-introspection
|
||||
, gtk4
|
||||
, xvfb_run
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "libadwaita";
|
||||
version = "unstable-2021-05-01";
|
||||
|
||||
outputs = [ "out" "dev" "devdoc" ];
|
||||
outputBin = [ "dev" ];
|
||||
|
||||
src = fetchFromGitLab {
|
||||
domain = "gitlab.gnome.org";
|
||||
owner = "GNOME";
|
||||
repo = "libadwaita";
|
||||
rev = "8d66b987a19979d9d7b85dacc6bad5ce0c8743fe";
|
||||
sha256 = "0i3wav6jsyi4w4i2r1rad769m5y5s9djj4zqb7dfyh0bad24ba3q";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
docbook_xsl
|
||||
gtk-doc
|
||||
meson
|
||||
ninja
|
||||
pkg-config
|
||||
sassc
|
||||
vala
|
||||
];
|
||||
|
||||
mesonFlags = [
|
||||
"-Dgtk_doc=true"
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
gobject-introspection
|
||||
gtk4
|
||||
];
|
||||
|
||||
checkInputs = [
|
||||
xvfb_run
|
||||
];
|
||||
|
||||
doCheck = true;
|
||||
|
||||
checkPhase = ''
|
||||
xvfb-run meson test
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "Library to help with developing UI for mobile devices using GTK/GNOME";
|
||||
homepage = "https://gitlab.gnome.org/GNOME/libadwaita";
|
||||
license = licenses.lgpl21Plus;
|
||||
maintainers = with maintainers; [ dotlambda ];
|
||||
platforms = platforms.linux;
|
||||
};
|
||||
}
|
|
@ -15239,6 +15239,8 @@ in
|
|||
|
||||
libacr38u = callPackage ../tools/security/libacr38u { };
|
||||
|
||||
libadwaita = callPackage ../development/libraries/libadwaita { };
|
||||
|
||||
libaec = callPackage ../development/libraries/libaec { };
|
||||
|
||||
libagar = callPackage ../development/libraries/libagar { };
|
||||
|
|
Loading…
Reference in a new issue