libadwaita: unstable-2021-05-01 -> 1.0.0-alpha.1
This commit is contained in:
parent
6a3befb135
commit
16817d94f3
|
@ -2,35 +2,40 @@
|
||||||
, stdenv
|
, stdenv
|
||||||
, fetchFromGitLab
|
, fetchFromGitLab
|
||||||
, docbook-xsl-nons
|
, docbook-xsl-nons
|
||||||
|
, gi-docgen
|
||||||
, gtk-doc
|
, gtk-doc
|
||||||
|
, libxml2
|
||||||
, meson
|
, meson
|
||||||
, ninja
|
, ninja
|
||||||
, pkg-config
|
, pkg-config
|
||||||
, sassc
|
, sassc
|
||||||
, vala
|
, vala
|
||||||
, gobject-introspection
|
, gobject-introspection
|
||||||
|
, fribidi
|
||||||
, gtk4
|
, gtk4
|
||||||
, xvfb-run
|
, xvfb-run
|
||||||
}:
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "libadwaita";
|
pname = "libadwaita";
|
||||||
version = "unstable-2021-05-01";
|
version = "1.0.0-alpha.1";
|
||||||
|
|
||||||
outputs = [ "out" "dev" "devdoc" ];
|
outputs = [ "out" "dev" "devdoc" ];
|
||||||
outputBin = "dev";
|
outputBin = "devdoc"; # demo app
|
||||||
|
|
||||||
src = fetchFromGitLab {
|
src = fetchFromGitLab {
|
||||||
domain = "gitlab.gnome.org";
|
domain = "gitlab.gnome.org";
|
||||||
owner = "GNOME";
|
owner = "GNOME";
|
||||||
repo = "libadwaita";
|
repo = "libadwaita";
|
||||||
rev = "8d66b987a19979d9d7b85dacc6bad5ce0c8743fe";
|
rev = version;
|
||||||
sha256 = "0i3wav6jsyi4w4i2r1rad769m5y5s9djj4zqb7dfyh0bad24ba3q";
|
sha256 = "1v52md62kaqykv8b6kxxbxwnbdzlda4ir7n5wh2iizadcailyw7p";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
docbook-xsl-nons
|
docbook-xsl-nons
|
||||||
|
gi-docgen
|
||||||
gtk-doc
|
gtk-doc
|
||||||
|
libxml2 # for xmllint
|
||||||
meson
|
meson
|
||||||
ninja
|
ninja
|
||||||
pkg-config
|
pkg-config
|
||||||
|
@ -43,6 +48,7 @@ stdenv.mkDerivation rec {
|
||||||
];
|
];
|
||||||
|
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
|
fribidi
|
||||||
gobject-introspection
|
gobject-introspection
|
||||||
gtk4
|
gtk4
|
||||||
];
|
];
|
||||||
|
@ -57,6 +63,10 @@ stdenv.mkDerivation rec {
|
||||||
xvfb-run meson test
|
xvfb-run meson test
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
postInstall = ''
|
||||||
|
mv $out/share/{doc,gtk-doc}
|
||||||
|
'';
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Library to help with developing UI for mobile devices using GTK/GNOME";
|
description = "Library to help with developing UI for mobile devices using GTK/GNOME";
|
||||||
homepage = "https://gitlab.gnome.org/GNOME/libadwaita";
|
homepage = "https://gitlab.gnome.org/GNOME/libadwaita";
|
||||||
|
|
Loading…
Reference in a new issue