From b0c14635a2ee8afee561ce7c34904ecd15ac59b5 Mon Sep 17 00:00:00 2001 From: Petr Hodina Date: Wed, 10 Nov 2021 01:25:52 +0100 Subject: [PATCH v2 5/7] 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 82765f60f0..adad0313b2 100644 --- a/gnu/packages/glib.scm +++ b/gnu/packages/glib.scm @@ -954,6 +954,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.36.1