Merge pull request #54749 from dtzWill/feature/birdfont
birdfont: init at 2.25.0 (and add dep xmlbird)
This commit is contained in:
commit
70f56d8f3b
29
pkgs/tools/misc/birdfont/default.nix
Normal file
29
pkgs/tools/misc/birdfont/default.nix
Normal file
@ -0,0 +1,29 @@
|
|||||||
|
{ stdenv, fetchurl, pkgconfig, python3, xmlbird,
|
||||||
|
cairo, gdk_pixbuf, libgee, glib, gtk3, webkitgtk, libnotify, sqlite, vala,
|
||||||
|
gobject-introspection, gsettings-desktop-schemas, wrapGAppsHook }:
|
||||||
|
|
||||||
|
stdenv.mkDerivation rec {
|
||||||
|
pname = "birdfont";
|
||||||
|
version = "2.25.0";
|
||||||
|
|
||||||
|
src = fetchurl {
|
||||||
|
url = "https://birdfont.org/releases/${pname}-${version}.tar.xz";
|
||||||
|
sha256 = "0fi86km9iaxs9b8lqz81079vppzp346kqiqk44vk45dclr5r6x22";
|
||||||
|
};
|
||||||
|
|
||||||
|
nativeBuildInputs = [ python3 pkgconfig vala gobject-introspection wrapGAppsHook ];
|
||||||
|
buildInputs = [ xmlbird libgee cairo gdk_pixbuf glib gtk3 webkitgtk libnotify sqlite gsettings-desktop-schemas ];
|
||||||
|
|
||||||
|
postPatch = "patchShebangs .";
|
||||||
|
|
||||||
|
buildPhase = "./build.py";
|
||||||
|
|
||||||
|
installPhase = "./install.py";
|
||||||
|
|
||||||
|
meta = with stdenv.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 ];
|
||||||
|
};
|
||||||
|
}
|
28
pkgs/tools/misc/birdfont/xmlbird.nix
Normal file
28
pkgs/tools/misc/birdfont/xmlbird.nix
Normal file
@ -0,0 +1,28 @@
|
|||||||
|
{ stdenv, fetchurl, python3, pkgconfig, vala, glib, gobject-introspection }:
|
||||||
|
|
||||||
|
stdenv.mkDerivation rec {
|
||||||
|
pname = "xmlbird";
|
||||||
|
version = "1.2.10";
|
||||||
|
|
||||||
|
src = fetchurl {
|
||||||
|
url = "https://birdfont.org/${pname}-releases/lib${pname}-${version}.tar.xz";
|
||||||
|
sha256 = "0qpqpqqd4wj711jzczfsr38fgcz1rzxchrqbssxnan659ycd9c78";
|
||||||
|
};
|
||||||
|
|
||||||
|
nativeBuildInputs = [ python3 pkgconfig vala gobject-introspection ];
|
||||||
|
|
||||||
|
buildInputs = [ glib ];
|
||||||
|
|
||||||
|
postPatch = "patchShebangs .";
|
||||||
|
|
||||||
|
buildPhase = "./build.py";
|
||||||
|
|
||||||
|
installPhase = "./install.py";
|
||||||
|
|
||||||
|
meta = with stdenv.lib; {
|
||||||
|
description = "XML parser for Vala and C programs";
|
||||||
|
homepage = https://birdfont.org/xmlbird.php;
|
||||||
|
license = licenses.lgpl3;
|
||||||
|
maintainers = with maintainers; [ dtzWill ];
|
||||||
|
};
|
||||||
|
}
|
@ -1739,6 +1739,9 @@ in
|
|||||||
|
|
||||||
biber = callPackage ../tools/typesetting/biber { };
|
biber = callPackage ../tools/typesetting/biber { };
|
||||||
|
|
||||||
|
birdfont = callPackage ../tools/misc/birdfont { };
|
||||||
|
xmlbird = callPackage ../tools/misc/birdfont/xmlbird.nix { };
|
||||||
|
|
||||||
blastem = callPackage ../misc/emulators/blastem {
|
blastem = callPackage ../misc/emulators/blastem {
|
||||||
inherit (python27Packages) pillow;
|
inherit (python27Packages) pillow;
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user