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
76 lines
1.3 KiB
Nix
76 lines
1.3 KiB
Nix
{
|
|
lib,
|
|
stdenv,
|
|
fetchFromGitHub,
|
|
pkg-config,
|
|
python3,
|
|
xmlbird,
|
|
cairo,
|
|
gdk-pixbuf,
|
|
libgee,
|
|
glib,
|
|
gtk3,
|
|
webkitgtk_4_1,
|
|
libnotify,
|
|
sqlite,
|
|
vala,
|
|
gobject-introspection,
|
|
gsettings-desktop-schemas,
|
|
wrapGAppsHook3,
|
|
autoPatchelfHook,
|
|
nix-update-script,
|
|
}:
|
|
|
|
stdenv.mkDerivation (finalAttrs: {
|
|
pname = "birdfont";
|
|
version = "2.33.6";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "johanmattssonm";
|
|
repo = "birdfont";
|
|
tag = "v${finalAttrs.version}";
|
|
sha256 = "sha256-7xVjY/yH7pMlUBpQc5Gb4t4My24Mx5KkARVp2KSr+Iw=";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
python3
|
|
pkg-config
|
|
vala
|
|
gobject-introspection
|
|
wrapGAppsHook3
|
|
autoPatchelfHook
|
|
];
|
|
buildInputs = [
|
|
xmlbird
|
|
libgee
|
|
cairo
|
|
gdk-pixbuf
|
|
glib
|
|
gtk3
|
|
webkitgtk_4_1
|
|
libnotify
|
|
sqlite
|
|
gsettings-desktop-schemas
|
|
];
|
|
|
|
postPatch = ''
|
|
substituteInPlace install.py \
|
|
--replace 'platform.version()' '"Nix"'
|
|
|
|
patchShebangs .
|
|
'';
|
|
|
|
buildPhase = "./build.py";
|
|
|
|
installPhase = "./install.py";
|
|
|
|
passthru.updateScript = nix-update-script { };
|
|
|
|
meta = with lib; {
|
|
description = "Font editor which can generate fonts in TTF, EOT, SVG and BIRDFONT format";
|
|
homepage = "https://birdfont.org";
|
|
license = licenses.gpl3;
|
|
maintainers = with maintainers; [ dtzWill ];
|
|
};
|
|
})
|