From 91ddedf4a00031802ebaa6fb2da2fced9e2e1b28 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Romildo=20Malaquias?= Date: Sat, 8 Sep 2018 12:26:43 -0300 Subject: [PATCH 1/6] deepin-sound-theme: init at 15.10.3 --- .../deepin/deepin-sound-theme/default.nix | 23 +++++++++++++++++++ pkgs/desktops/deepin/default.nix | 1 + 2 files changed, 24 insertions(+) create mode 100644 pkgs/desktops/deepin/deepin-sound-theme/default.nix diff --git a/pkgs/desktops/deepin/deepin-sound-theme/default.nix b/pkgs/desktops/deepin/deepin-sound-theme/default.nix new file mode 100644 index 00000000000..f12419a615b --- /dev/null +++ b/pkgs/desktops/deepin/deepin-sound-theme/default.nix @@ -0,0 +1,23 @@ +{ stdenv, fetchFromGitHub }: + +stdenv.mkDerivation rec { + name = "deepin-sound-theme-${version}"; + version = "15.10.3"; + + src = fetchFromGitHub { + owner = "linuxdeepin"; + repo = "deepin-sound-theme"; + rev = version; + sha256 = "1sw4nrn7q7wk1hpicm05apyc0mihaw42iqm52wb8ib8gm1qiylr9"; + }; + + makeFlags = [ "PREFIX=$(out)" ]; + + meta = with stdenv.lib; { + description = "Deepin sound theme"; + homepage = https://github.com/linuxdeepin/deepin-sound-theme; + license = licenses.gpl3; + platforms = platforms.linux; + maintainers = [ maintainers.romildo ]; + }; +} diff --git a/pkgs/desktops/deepin/default.nix b/pkgs/desktops/deepin/default.nix index c1438012ef5..50d77749283 100644 --- a/pkgs/desktops/deepin/default.nix +++ b/pkgs/desktops/deepin/default.nix @@ -10,6 +10,7 @@ let deepin-menu = callPackage ./deepin-menu { }; deepin-mutter = callPackage ./deepin-mutter { }; deepin-shortcut-viewer = callPackage ./deepin-shortcut-viewer { }; + deepin-sound-theme = callPackage ./deepin-sound-theme { }; deepin-terminal = callPackage ./deepin-terminal { inherit (pkgs.gnome3) libgee vte; wnck = pkgs.libwnck3; From 2c7c248a534bab9f9f6adbfb1e4c31934574d2ed Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Romildo=20Malaquias?= Date: Sat, 8 Sep 2018 12:30:30 -0300 Subject: [PATCH 2/6] go-gir-generator: init at 1.0.4 --- pkgs/desktops/deepin/default.nix | 1 + .../deepin/go-gir-generator/default.nix | 37 +++++++++++++++++++ 2 files changed, 38 insertions(+) create mode 100644 pkgs/desktops/deepin/go-gir-generator/default.nix diff --git a/pkgs/desktops/deepin/default.nix b/pkgs/desktops/deepin/default.nix index 50d77749283..dff959bd9b0 100644 --- a/pkgs/desktops/deepin/default.nix +++ b/pkgs/desktops/deepin/default.nix @@ -17,6 +17,7 @@ let }; dtkcore = callPackage ./dtkcore { }; dtkwidget = callPackage ./dtkwidget { }; + go-gir-generator = callPackage ./go-gir-generator { }; qt5dxcb-plugin = callPackage ./qt5dxcb-plugin { }; qt5integration = callPackage ./qt5integration { }; diff --git a/pkgs/desktops/deepin/go-gir-generator/default.nix b/pkgs/desktops/deepin/go-gir-generator/default.nix new file mode 100644 index 00000000000..cc05f6f055b --- /dev/null +++ b/pkgs/desktops/deepin/go-gir-generator/default.nix @@ -0,0 +1,37 @@ +{ stdenv, fetchFromGitHub, pkgconfig, go, gobjectIntrospection, libgudev }: + +stdenv.mkDerivation rec { + name = "${pname}-${version}"; + pname = "go-gir-generator"; + version = "1.0.4"; + + src = fetchFromGitHub { + owner = "linuxdeepin"; + repo = pname; + rev = version; + sha256 = "0yi3lsgkxi8ghz2c7msf2df20jxkvzj8s47slvpzz4m57i82vgzl"; + }; + + nativeBuildInputs = [ + pkgconfig + go + ]; + + buildInputs = [ + gobjectIntrospection + libgudev + ]; + + makeFlags = [ + "PREFIX=$(out)" + "HOME=$(TMP)" + ]; + + meta = with stdenv.lib; { + description = "Generate static golang bindings for GObject"; + homepage = https://github.com/linuxdeepin/go-gir-generator; + license = licenses.gpl3; + platforms = platforms.linux; + maintainers = with maintainers; [ romildo ]; + }; +} From a36e9a415c5e575c044175c0d7f0f6f7d41efa16 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Romildo=20Malaquias?= Date: Sat, 8 Sep 2018 12:32:00 -0300 Subject: [PATCH 3/6] go-lib: init at 1.2.16.1 --- pkgs/desktops/deepin/default.nix | 1 + pkgs/desktops/deepin/go-lib/default.nix | 34 +++++++++++++++++++++++++ 2 files changed, 35 insertions(+) create mode 100644 pkgs/desktops/deepin/go-lib/default.nix diff --git a/pkgs/desktops/deepin/default.nix b/pkgs/desktops/deepin/default.nix index dff959bd9b0..4aa5e6c3bbb 100644 --- a/pkgs/desktops/deepin/default.nix +++ b/pkgs/desktops/deepin/default.nix @@ -18,6 +18,7 @@ let dtkcore = callPackage ./dtkcore { }; dtkwidget = callPackage ./dtkwidget { }; go-gir-generator = callPackage ./go-gir-generator { }; + go-lib = callPackage ./go-lib { }; qt5dxcb-plugin = callPackage ./qt5dxcb-plugin { }; qt5integration = callPackage ./qt5integration { }; diff --git a/pkgs/desktops/deepin/go-lib/default.nix b/pkgs/desktops/deepin/go-lib/default.nix new file mode 100644 index 00000000000..44de8889df2 --- /dev/null +++ b/pkgs/desktops/deepin/go-lib/default.nix @@ -0,0 +1,34 @@ +{ stdenv, fetchFromGitHub, glib, xorg, gdk_pixbuf, pulseaudio, + mobile-broadband-provider-info +}: + +stdenv.mkDerivation rec { + name = "${pname}-${version}"; + pname = "go-lib"; + version = "1.2.16.1"; + + src = fetchFromGitHub { + owner = "linuxdeepin"; + repo = pname; + rev = version; + sha256 = "0nl35dm0bdca38qhnzdpsv6b0vds9ccvm4c86rs42a7c6v655b1q"; + }; + + buildInputs = [ + glib + xorg.libX11 + gdk_pixbuf + pulseaudio + mobile-broadband-provider-info + ]; + + makeFlags = [ "PREFIX=$(out)" ]; + + meta = with stdenv.lib; { + description = "Go bindings for Deepin Desktop Environment development"; + homepage = https://github.com/linuxdeepin/go-lib; + license = licenses.gpl3; + platforms = platforms.linux; + maintainers = with maintainers; [ romildo ]; + }; +} From 3f28e941e490c605d427342f0d85e0f7e3a0f2a0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Romildo=20Malaquias?= Date: Sat, 8 Sep 2018 12:33:13 -0300 Subject: [PATCH 4/6] go-dbus-generator: init at 0.6.6 --- pkgs/desktops/deepin/default.nix | 1 + .../deepin/go-dbus-generator/default.nix | 33 +++++++++++++++++++ 2 files changed, 34 insertions(+) create mode 100644 pkgs/desktops/deepin/go-dbus-generator/default.nix diff --git a/pkgs/desktops/deepin/default.nix b/pkgs/desktops/deepin/default.nix index 4aa5e6c3bbb..3a9a2e24b06 100644 --- a/pkgs/desktops/deepin/default.nix +++ b/pkgs/desktops/deepin/default.nix @@ -17,6 +17,7 @@ let }; dtkcore = callPackage ./dtkcore { }; dtkwidget = callPackage ./dtkwidget { }; + go-dbus-generator = callPackage ./go-dbus-generator { }; go-gir-generator = callPackage ./go-gir-generator { }; go-lib = callPackage ./go-lib { }; qt5dxcb-plugin = callPackage ./qt5dxcb-plugin { }; diff --git a/pkgs/desktops/deepin/go-dbus-generator/default.nix b/pkgs/desktops/deepin/go-dbus-generator/default.nix new file mode 100644 index 00000000000..2933c58f8d9 --- /dev/null +++ b/pkgs/desktops/deepin/go-dbus-generator/default.nix @@ -0,0 +1,33 @@ +{ stdenv, fetchFromGitHub, go, go-lib }: + +stdenv.mkDerivation rec { + name = "${pname}-${version}"; + pname = "go-dbus-generator"; + version = "0.6.6"; + + src = fetchFromGitHub { + owner = "linuxdeepin"; + repo = pname; + rev = version; + sha256 = "17rzicqizyyrhjjf4rild7py1cyd07b2zdcd9nabvwn4gvj6lhfb"; + }; + + nativeBuildInputs = [ + go + go-lib + ]; + + makeFlags = [ + "PREFIX=$(out)" + "GOPATH=$(GGOPATH):${go-lib}/share/gocode" + "HOME=$(TMP)" + ]; + + meta = with stdenv.lib; { + description = "Convert dbus interfaces to go-lang or qml wrapper code"; + homepage = https://github.com/linuxdeepin/go-dbus-generator; + license = licenses.gpl3; + platforms = platforms.linux; + maintainers = with maintainers; [ romildo ]; + }; +} From c1d1207463d5894e17cc32c584eacea56faeaa97 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Romildo=20Malaquias?= Date: Sat, 8 Sep 2018 12:35:45 -0300 Subject: [PATCH 5/6] go-dbus-factory: init at 0.0.7.1 --- pkgs/desktops/deepin/default.nix | 1 + .../deepin/go-dbus-factory/default.nix | 26 +++++++++++++++++++ 2 files changed, 27 insertions(+) create mode 100644 pkgs/desktops/deepin/go-dbus-factory/default.nix diff --git a/pkgs/desktops/deepin/default.nix b/pkgs/desktops/deepin/default.nix index 3a9a2e24b06..1d52038cdd9 100644 --- a/pkgs/desktops/deepin/default.nix +++ b/pkgs/desktops/deepin/default.nix @@ -17,6 +17,7 @@ let }; dtkcore = callPackage ./dtkcore { }; dtkwidget = callPackage ./dtkwidget { }; + go-dbus-factory = callPackage ./go-dbus-factory { }; go-dbus-generator = callPackage ./go-dbus-generator { }; go-gir-generator = callPackage ./go-gir-generator { }; go-lib = callPackage ./go-lib { }; diff --git a/pkgs/desktops/deepin/go-dbus-factory/default.nix b/pkgs/desktops/deepin/go-dbus-factory/default.nix new file mode 100644 index 00000000000..a488bd7202c --- /dev/null +++ b/pkgs/desktops/deepin/go-dbus-factory/default.nix @@ -0,0 +1,26 @@ +{ stdenv, fetchFromGitHub }: + +stdenv.mkDerivation rec { + name = "${pname}-${version}"; + pname = "go-dbus-factory"; + version = "0.0.7.1"; + + src = fetchFromGitHub { + owner = "linuxdeepin"; + repo = pname; + rev = version; + sha256 = "0gj2xxv45gh7wr5ry3mcsi46kdsyq9nbd7znssn34kapiv40ixcx"; + }; + + makeFlags = [ + "PREFIX=$(out)" + ]; + + meta = with stdenv.lib; { + description = "GoLang DBus factory for the Deepin Desktop Environment"; + homepage = https://github.com/linuxdeepin/go-dbus-factory; + license = licenses.gpl3; + platforms = platforms.linux; + maintainers = with maintainers; [ romildo ]; + }; +} From 2c57a6a70450009489ce2efd97e3fc764a9e081f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Romildo=20Malaquias?= Date: Sat, 8 Sep 2018 12:36:43 -0300 Subject: [PATCH 6/6] dbus-factory: init at 3.1.17 --- pkgs/desktops/deepin/dbus-factory/default.nix | 30 +++++++++++++++++++ pkgs/desktops/deepin/default.nix | 1 + 2 files changed, 31 insertions(+) create mode 100644 pkgs/desktops/deepin/dbus-factory/default.nix diff --git a/pkgs/desktops/deepin/dbus-factory/default.nix b/pkgs/desktops/deepin/dbus-factory/default.nix new file mode 100644 index 00000000000..66d28cbcaf3 --- /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 1d52038cdd9..49da151eefe 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 { };