Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
49 lines
922 B
Nix
49 lines
922 B
Nix
{
|
|
lib,
|
|
stdenv,
|
|
fetchurl,
|
|
pkg-config,
|
|
libxml2,
|
|
gtk3,
|
|
gnome,
|
|
intltool,
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "gdl";
|
|
version = "3.40.0";
|
|
|
|
src = fetchurl {
|
|
url = "mirror://gnome/sources/gdl/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
|
|
sha256 = "NkHU/WadHhgYrv88+f+3iH/Fw2eFC3jCjHdeukq2pVU=";
|
|
};
|
|
|
|
env = lib.optionalAttrs stdenv.cc.isGNU {
|
|
# https://gitlab.gnome.org/Archive/gdl/-/issues/9
|
|
NIX_CFLAGS_COMPILE = "-Wno-error=incompatible-pointer-types";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
pkg-config
|
|
intltool
|
|
];
|
|
buildInputs = [
|
|
libxml2
|
|
gtk3
|
|
];
|
|
|
|
passthru = {
|
|
updateScript = gnome.updateScript {
|
|
packageName = "gdl";
|
|
};
|
|
};
|
|
|
|
meta = with lib; {
|
|
description = "Gnome docking library";
|
|
homepage = "https://developer.gnome.org/gdl/";
|
|
teams = [ teams.gnome ];
|
|
license = licenses.gpl2;
|
|
platforms = platforms.unix;
|
|
};
|
|
}
|