packages/webfont-kit-generator: init at 1.0.3
This commit is contained in:
parent
a8c6f5d4cf
commit
11ea81e01e
2 changed files with 54 additions and 0 deletions
52
packages/apps/webfont-kit-generator/default.nix
Normal file
52
packages/apps/webfont-kit-generator/default.nix
Normal file
|
@ -0,0 +1,52 @@
|
|||
{ 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
|
||||
'';
|
||||
}
|
|
@ -76,5 +76,7 @@ in
|
|||
|
||||
vaults = pkgs.callPackage ./apps/vaults { };
|
||||
|
||||
webfont-kit-generator = pkgs.callPackage ./apps/webfont-kit-generator { };
|
||||
|
||||
wike = sandbox ./nixpak/wike { };
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue