52 lines
921 B
Nix
52 lines
921 B
Nix
{ fetchFromGitHub
|
|
, meson, pkg-config, ninja
|
|
, python3
|
|
, glib, appstream-glib , desktop-file-utils
|
|
, gobject-introspection, gtk4, libadwaita
|
|
, wrapGAppsHook
|
|
, gnome
|
|
, gtksourceview5
|
|
, libsoup_3
|
|
}:
|
|
|
|
python3.pkgs.buildPythonApplication rec {
|
|
pname = "webfont-kit-generator";
|
|
version = "1.0.3";
|
|
format = "other";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "rafaelmardojai";
|
|
repo = pname;
|
|
rev = version;
|
|
sha256 = "sha256-aD/1moWIiU4zpLTW+VHH9n/sj10vCZ8UzB2ey3mR0/k=";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
meson
|
|
pkg-config
|
|
ninja
|
|
appstream-glib
|
|
desktop-file-utils
|
|
gobject-introspection
|
|
wrapGAppsHook
|
|
];
|
|
|
|
buildInputs = [
|
|
glib
|
|
gtk4
|
|
libadwaita
|
|
gtksourceview5
|
|
libsoup_3
|
|
gnome.adwaita-icon-theme
|
|
];
|
|
|
|
propagatedBuildInputs = with python3.pkgs; [
|
|
pygobject3
|
|
fonttools
|
|
brotli
|
|
];
|
|
|
|
postPatch = ''
|
|
patchShebangs build-aux/meson/postinstall.py
|
|
'';
|
|
}
|