libpanel: init at 1.0.1
https://gitlab.gnome.org/GNOME/libpanel/-/compare/1.0.alpha...1.0.alpha1 https://gitlab.gnome.org/GNOME/libpanel/-/compare/1.0.alpha1...1.0.0 https://gitlab.gnome.org/GNOME/libpanel/-/compare/1.0.0...1.0.1 Changelog-Reviewed-By: Jan Tojnar <jtojnar@gmail.com>
This commit is contained in:
parent
014189b312
commit
67b50b7dd3
2 changed files with 67 additions and 0 deletions
65
pkgs/development/libraries/libpanel/default.nix
Normal file
65
pkgs/development/libraries/libpanel/default.nix
Normal file
|
@ -0,0 +1,65 @@
|
|||
{ stdenv
|
||||
, lib
|
||||
, fetchurl
|
||||
, meson
|
||||
, ninja
|
||||
, pkg-config
|
||||
, gobject-introspection
|
||||
, vala
|
||||
, gi-docgen
|
||||
, glib
|
||||
, gtk4
|
||||
, libadwaita
|
||||
, gnome
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "libpanel";
|
||||
version = "1.0.1";
|
||||
|
||||
outputs = [ "out" "dev" "devdoc" ];
|
||||
outputBin = "dev";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://gnome/sources/libpanel/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
|
||||
sha256 = "hBtqtx6wcv1lIAI+H3Gqx/8lDGbq37sXyVXaa/QeIwY=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
meson
|
||||
ninja
|
||||
pkg-config
|
||||
gobject-introspection
|
||||
vala
|
||||
gi-docgen
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
glib
|
||||
gtk4
|
||||
libadwaita
|
||||
];
|
||||
|
||||
mesonFlags = [
|
||||
"-Dinstall-examples=true"
|
||||
];
|
||||
|
||||
postFixup = ''
|
||||
# Cannot be in postInstall, otherwise _multioutDocs hook in preFixup will move right back.
|
||||
moveToOutput "share/doc" "$devdoc"
|
||||
'';
|
||||
|
||||
passthru = {
|
||||
updateScript = gnome.updateScript {
|
||||
packageName = pname;
|
||||
};
|
||||
};
|
||||
|
||||
meta = with lib; {
|
||||
description = "Dock/panel library for GTK 4";
|
||||
homepage = "https://gitlab.gnome.org/GNOME/libpanel";
|
||||
license = licenses.lgpl21Plus;
|
||||
maintainers = teams.gnome.members;
|
||||
platforms = platforms.unix;
|
||||
};
|
||||
}
|
|
@ -20247,6 +20247,8 @@ with pkgs;
|
|||
|
||||
libpam-wrapper = callPackage ../development/libraries/libpam-wrapper { };
|
||||
|
||||
libpanel = callPackage ../development/libraries/libpanel { };
|
||||
|
||||
libpar2 = callPackage ../development/libraries/libpar2 { };
|
||||
|
||||
libpcap = callPackage ../development/libraries/libpcap { };
|
||||
|
|
Loading…
Reference in a new issue