From 7f9f26f942f651111cc3472b1fe35a8e3ec1a174 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mihai-Drosi=20C=C3=A2ju?= Date: Fri, 1 Oct 2021 23:13:09 +0300 Subject: [PATCH] python3Packages.gbinder-python: Init at 1.0.0 --- .../python-modules/gbinder-python/default.nix | 39 +++++++++++++++++++ pkgs/top-level/python-packages.nix | 2 + 2 files changed, 41 insertions(+) create mode 100644 pkgs/development/python-modules/gbinder-python/default.nix diff --git a/pkgs/development/python-modules/gbinder-python/default.nix b/pkgs/development/python-modules/gbinder-python/default.nix new file mode 100644 index 000000000000..caa848a19a39 --- /dev/null +++ b/pkgs/development/python-modules/gbinder-python/default.nix @@ -0,0 +1,39 @@ +{ stdenv +, lib +, fetchFromGitHub +, buildPythonPackage +, cython +, pkg-config +, libgbinder +}: + +buildPythonPackage rec { + pname = "gbinder-python"; + version = "1.0.0"; + + src = fetchFromGitHub { + owner = "erfanoabdi"; + repo = pname; + rev = version; + sha256 = "0jgblzakjgsy0cj93bmh5gr7qnl2xgsrm0wzc6xjvzry9lrbs360"; + }; + + buildInputs = [ + libgbinder + ]; + + nativeBuildInputs = [ + cython + pkg-config + ]; + + setupPyGlobalFlags = [ "--cython" ]; + + meta = with lib; { + description = "Python bindings for libgbinder"; + homepage = "https://github.com/erfanoabdi/gbinder-python"; + license = licenses.gpl3; + maintainers = with maintainers; [ mcaju ]; + platforms = platforms.linux; + }; +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 648a94ff4211..4376b63c2eca 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -2882,6 +2882,8 @@ in { garages-amsterdam = callPackage ../development/python-modules/garages-amsterdam { }; + gbinder-python = callPackage ../development/python-modules/gbinder-python { }; + gcovr = callPackage ../development/python-modules/gcovr { }; gcsfs = callPackage ../development/python-modules/gcsfs { };