diff options
author | José Romildo Malaquias <malaquias@gmail.com> | 2018-09-08 12:36:43 -0300 |
---|---|---|
committer | José Romildo Malaquias <malaquias@gmail.com> | 2018-09-08 12:36:43 -0300 |
commit | 2c57a6a70450009489ce2efd97e3fc764a9e081f (patch) | |
tree | 0215019fc4a012d3024828be185658ba06e14850 /pkgs/desktops | |
parent | c1d1207463d5894e17cc32c584eacea56faeaa97 (diff) |
dbus-factory: init at 3.1.17
Diffstat (limited to 'pkgs/desktops')
-rw-r--r-- | pkgs/desktops/deepin/dbus-factory/default.nix | 30 | ||||
-rw-r--r-- | pkgs/desktops/deepin/default.nix | 1 |
2 files changed, 31 insertions, 0 deletions
diff --git a/pkgs/desktops/deepin/dbus-factory/default.nix b/pkgs/desktops/deepin/dbus-factory/default.nix new file mode 100644 index 0000000000000..66d28cbcaf3ec --- /dev/null +++ b/pkgs/desktops/deepin/dbus-factory/default.nix @@ -0,0 +1,30 @@ +{ stdenv, fetchFromGitHub, jq, libxml2, go-dbus-generator }: + +stdenv.mkDerivation rec { + name = "${pname}-${version}"; + pname = "dbus-factory"; + version = "3.1.17"; + + src = fetchFromGitHub { + owner = "linuxdeepin"; + repo = pname; + rev = version; + sha256 = "1llq8wzgikgpzj7z36fyzk8kjych2h9nzi3x6zv53z0xc1xn4256"; + }; + + nativeBuildInputs = [ + jq + libxml2 + go-dbus-generator + ]; + + makeFlags = [ "GOPATH=$(out)/share/gocode" ]; + + meta = with stdenv.lib; { + description = "Generates static DBus bindings for Golang and QML at build-time"; + homepage = https://github.com/linuxdeepin/dbus-factory; + license = licenses.gpl3; + platforms = platforms.linux; + maintainers = with maintainers; [ romildo ]; + }; +} diff --git a/pkgs/desktops/deepin/default.nix b/pkgs/desktops/deepin/default.nix index 1d52038cdd926..49da151eefee7 100644 --- a/pkgs/desktops/deepin/default.nix +++ b/pkgs/desktops/deepin/default.nix @@ -3,6 +3,7 @@ let packages = self: with self; { + dbus-factory = callPackage ./dbus-factory { }; dde-qt-dbus-factory = callPackage ./dde-qt-dbus-factory { }; deepin-gettext-tools = callPackage ./deepin-gettext-tools { }; deepin-gtk-theme = callPackage ./deepin-gtk-theme { }; |