nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at netboot-syslinux-multiplatform 89 lines 1.9 kB view raw
1{ lib 2, stdenv 3, fetchFromGitHub 4, meson 5, ninja 6, gettext 7, python3 8, pkg-config 9, libxml2 10, json-glib 11, sqlite 12, itstool 13, yelp-tools 14, vala 15, gsettings-desktop-schemas 16, gtk3 17, gnome 18, desktop-file-utils 19, wrapGAppsHook 20, gobject-introspection 21, libsoup 22, glib-networking 23, webkitgtk 24}: 25 26stdenv.mkDerivation rec { 27 pname = "font-manager"; 28 version = "0.8.8"; 29 30 src = fetchFromGitHub { 31 owner = "FontManager"; 32 repo = "master"; 33 rev = version; 34 sha256 = "sha256-M13Q9d2cKhc0tudkvw0zgqPAFTlmXwK+LltXeuDPWxo="; 35 }; 36 37 nativeBuildInputs = [ 38 pkg-config 39 meson 40 ninja 41 gettext 42 python3 43 itstool 44 desktop-file-utils 45 vala 46 yelp-tools 47 wrapGAppsHook 48 # For https://github.com/FontManager/master/blob/master/lib/unicode/meson.build 49 gobject-introspection 50 ]; 51 52 buildInputs = [ 53 libxml2 54 json-glib 55 sqlite 56 gsettings-desktop-schemas # for font settings 57 gtk3 58 gnome.adwaita-icon-theme 59 libsoup 60 glib-networking # for SSL so that Google Fonts can load 61 webkitgtk 62 ]; 63 64 mesonFlags = [ 65 "-Dreproducible=true" # Do not hardcode build directory… 66 ]; 67 68 postPatch = '' 69 chmod +x meson_post_install.py 70 patchShebangs meson_post_install.py 71 ''; 72 73 meta = with lib; { 74 homepage = "https://fontmanager.github.io/"; 75 description = "Simple font management for GTK desktop environments"; 76 longDescription = '' 77 Font Manager is intended to provide a way for average users to 78 easily manage desktop fonts, without having to resort to command 79 line tools or editing configuration files by hand. While designed 80 primarily with the Gnome Desktop Environment in mind, it should 81 work well with other GTK desktop environments. 82 83 Font Manager is NOT a professional-grade font management solution. 84 ''; 85 license = licenses.gpl3Plus; 86 platforms = platforms.unix; 87 maintainers = [ maintainers.romildo ]; 88 }; 89}