1 { lib, stdenv, fetchurl, python3, pkg-config, vala, glib, gobject-introspection }:
3 stdenv.mkDerivation rec {
8 url = "https://birdfont.org/${pname}-releases/lib${pname}-${version}.tar.xz";
9 sha256 = "sha256-8GX4ijF+AxaGGFlSxRPOAoUezRG6592jOrifz/mWTRM=";
12 nativeBuildInputs = [ python3 pkg-config vala gobject-introspection ];
14 buildInputs = [ glib ];
17 substituteInPlace configure \
18 --replace 'platform.dist()[0]' '"nix"'
22 buildPhase = "./build.py";
24 installPhase = "./install.py";
27 description = "XML parser for Vala and C programs";
28 homepage = "https://birdfont.org/xmlbird.php";
29 license = licenses.lgpl3;
30 maintainers = with maintainers; [ dtzWill ];