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 { };