komikku: init at 1.15.0

authored by

Chuang Zhu and committed by
Anderson Torres
b7a30876 7e1d3820

+148
+94
pkgs/applications/graphics/komikku/default.nix
··· 1 + { lib 2 + , fetchFromGitLab 3 + , desktop-file-utils 4 + , gettext 5 + , glib 6 + , gobject-introspection 7 + , gtk4 8 + , libadwaita 9 + , libnotify 10 + , webkitgtk_5_0 11 + , meson 12 + , ninja 13 + , pkg-config 14 + , python3 15 + , wrapGAppsHook4 16 + , nix-update-script 17 + }: 18 + 19 + python3.pkgs.buildPythonApplication rec { 20 + pname = "komikku"; 21 + version = "1.15.0"; 22 + 23 + format = "other"; 24 + 25 + src = fetchFromGitLab { 26 + owner = "valos"; 27 + repo = "Komikku"; 28 + rev = "v${version}"; 29 + hash = "sha256-dmi8a9Gf4ixq5oW6ewDGZYRmxY2qmUrD42DfjskRpHk="; 30 + }; 31 + 32 + nativeBuildInputs = [ 33 + meson 34 + ninja 35 + pkg-config 36 + wrapGAppsHook4 37 + gettext 38 + glib # for glib-compile-resources 39 + desktop-file-utils 40 + gobject-introspection 41 + ]; 42 + 43 + buildInputs = [ 44 + glib 45 + gtk4 46 + libadwaita 47 + libnotify 48 + webkitgtk_5_0 49 + gobject-introspection 50 + ]; 51 + 52 + propagatedBuildInputs = with python3.pkgs; [ 53 + pygobject3 54 + beautifulsoup4 55 + brotli 56 + cloudscraper 57 + dateparser 58 + emoji 59 + keyring 60 + lxml 61 + python-magic 62 + natsort 63 + piexif 64 + pillow 65 + pure-protobuf 66 + rarfile 67 + unidecode 68 + ]; 69 + 70 + # Tests require network 71 + doCheck = false; 72 + 73 + # Prevent double wrapping. 74 + dontWrapGApps = true; 75 + 76 + preFixup = '' 77 + makeWrapperArgs+=( 78 + "''${gappsWrapperArgs[@]}" 79 + ) 80 + ''; 81 + 82 + passthru = { 83 + updateScript = nix-update-script { 84 + attrPath = "komikku"; 85 + }; 86 + }; 87 + 88 + meta = with lib; { 89 + description = "Manga reader for GNOME"; 90 + homepage = "https://valos.gitlab.io/Komikku/"; 91 + license = licenses.gpl3Plus; 92 + maintainers = with maintainers; [ chuangzhu ]; 93 + }; 94 + }
+50
pkgs/development/python-modules/pure-protobuf/default.nix
··· 1 + { lib 2 + , buildPythonPackage 3 + , pythonOlder 4 + , fetchFromGitHub 5 + , setuptools-scm 6 + , toml 7 + , pytestCheckHook 8 + , pytest-benchmark 9 + , hatch-vcs 10 + , hatchling 11 + }: 12 + 13 + buildPythonPackage rec { 14 + pname = "pure-protobuf"; 15 + version = "2.2.3"; 16 + 17 + format = "pyproject"; 18 + disabled = pythonOlder "3.7"; 19 + 20 + # PyPi lacks tests. 21 + src = fetchFromGitHub { 22 + owner = "eigenein"; 23 + repo = "protobuf"; 24 + rev = version; 25 + hash = "sha256-FsVWlYPav4uusdEPXc5hScLeNJWfbSjGOLuZ7yZXyCw="; 26 + }; 27 + 28 + SETUPTOOLS_SCM_PRETEND_VERSION = version; 29 + 30 + nativeBuildInputs = [ 31 + hatch-vcs 32 + hatchling 33 + ]; 34 + 35 + checkInputs = [ 36 + pytestCheckHook 37 + pytest-benchmark 38 + ]; 39 + 40 + pythonImportsCheck = [ 41 + "pure_protobuf" 42 + ]; 43 + 44 + meta = with lib; { 45 + description = "Python implementation of Protocol Buffers with dataclass-based schemas"; 46 + homepage = "https://github.com/eigenein/protobuf"; 47 + license = licenses.mit; 48 + maintainers = with maintainers; [ chuangzhu ]; 49 + }; 50 + }
+2
pkgs/top-level/all-packages.nix
··· 29645 29645 29646 29646 kerbrute = callPackage ../tools/security/kerbrute { }; 29647 29647 29648 + komikku = callPackage ../applications/graphics/komikku { }; 29649 + 29648 29650 kvmtool = callPackage ../applications/virtualization/kvmtool { }; 29649 29651 29650 29652 exrtools = callPackage ../applications/graphics/exrtools { };
+2
pkgs/top-level/python-packages.nix
··· 7779 7779 7780 7780 purepng = callPackage ../development/python-modules/purepng { }; 7781 7781 7782 + pure-protobuf = callPackage ../development/python-modules/pure-protobuf { }; 7783 + 7782 7784 pure-python-adb = callPackage ../development/python-modules/pure-python-adb { }; 7783 7785 7784 7786 pure-python-adb-homeassistant = callPackage ../development/python-modules/pure-python-adb-homeassistant { };