From c696fc516bf7406d342594c1326f271172033568 Mon Sep 17 00:00:00 2001 From: Petr Hodina Date: Wed, 10 Nov 2021 01:25:52 +0100 Subject: [PATCH v3 5/8] gnu: Add python-gbinder. * gnu/packages/glib.scm (python-gbinder): New variable. diff --git a/gnu/packages/glib.scm b/gnu/packages/glib.scm index 7155856cf3..7dd32d5b73 100644 --- a/gnu/packages/glib.scm +++ b/gnu/packages/glib.scm @@ -1034,6 +1034,33 @@ (define-public libglibutil (description "This package provides library of glib utilities.") (license license:bsd-3))) +(define-public python-gbinder + (package + (name "python-gbinder") + (version "1.0.0") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/erfanoabdi/gbinder-python") + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "0jgblzakjgsy0cj93bmh5gr7qnl2xgsrm0wzc6xjvzry9lrbs360")))) + (build-system python-build-system) + (arguments + (list #:phases #~(modify-phases %standard-phases + (replace 'build + (lambda* _ + (invoke "python" "setup.py" "build_ext" + "--inplace" "--cython")))))) + (native-inputs (list python-cython pkg-config)) + (inputs (list glib libgbinder libglibutil)) + (home-page "https://github.com/erfanoabdi/gbinder-python") + (synopsis "Python bindings for libgbinder") + (description "This package provides Python bindings for libgbinder.") + (license license:gpl3+))) + (define-public python-pygobject (package (name "python-pygobject") -- 2.37.2