deepin: format with nixpkgs-fmt

This commit is contained in:
José Romildo Malaquias 2020-05-03 16:52:19 -03:00
parent 8bceb7c876
commit 6783884389
46 changed files with 779 additions and 239 deletions

View File

@ -1,4 +1,10 @@
{ stdenv, fetchFromGitHub, jq, libxml2, go-dbus-generator, deepin }: { stdenv
, fetchFromGitHub
, jq
, libxml2
, go-dbus-generator
, deepin
}:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "dbus-factory"; pname = "dbus-factory";
@ -17,7 +23,9 @@ stdenv.mkDerivation rec {
go-dbus-generator go-dbus-generator
]; ];
makeFlags = [ "GOPATH=${placeholder "out"}/share/go" ]; makeFlags = [
"GOPATH=${placeholder "out"}/share/go"
];
postPatch = '' postPatch = ''
sed -i -e 's:/share/gocode:/share/go:' Makefile sed -i -e 's:/share/gocode:/share/go:' Makefile

View File

@ -1,25 +1,28 @@
{ stdenv, buildGoPackage, fetchFromGitHub, pkgconfig, { stdenv
alsaLib, , buildGoPackage
bc, , fetchFromGitHub
blur-effect, , pkgconfig
coreutils, , alsaLib
dbus-factory, , bc
deepin, , blur-effect
deepin-gettext-tools, , coreutils
fontconfig, , dbus-factory
go, , deepin
go-dbus-factory, , deepin-gettext-tools
go-gir-generator, , fontconfig
go-lib, , go
grub2, , go-dbus-factory
gtk3, , go-gir-generator
libcanberra, , go-lib
libgudev, , grub2
librsvg, , gtk3
poppler, , libcanberra
pulseaudio, , libgudev
rfkill, , librsvg
xcur2png , poppler
, pulseaudio
, rfkill
, xcur2png
}: }:
buildGoPackage rec { buildGoPackage rec {

View File

@ -1,5 +1,13 @@
{ stdenv, mkDerivation, fetchFromGitHub, pkgconfig, cmake, qttools, { stdenv
deepin-gettext-tools, dtkcore, dtkwidget, deepin , mkDerivation
, fetchFromGitHub
, pkgconfig
, cmake
, qttools
, deepin-gettext-tools
, dtkcore
, dtkwidget
, deepin
}: }:
mkDerivation rec { mkDerivation rec {

View File

@ -1,9 +1,40 @@
{ stdenv, mkDerivation, fetchFromGitHub, pkgconfig, cmake, deepin, qttools, qtdeclarative, { stdenv
networkmanager, qtsvg, qtx11extras, dtkcore, dtkwidget, geoip, gsettings-qt, , mkDerivation
dde-network-utils, networkmanager-qt, xorg, mtdev, fontconfig, freetype, dde-api, , fetchFromGitHub
dde-daemon, qt5integration, deepin-desktop-base, deepin-desktop-schemas, dbus, , pkgconfig
systemd, dde-qt-dbus-factory, qtmultimedia, qtbase, glib, gnome3, which, , cmake
substituteAll, tzdata, wrapGAppsHook , deepin
, qttools
, qtdeclarative
, networkmanager
, qtsvg
, qtx11extras
, dtkcore
, dtkwidget
, geoip
, gsettings-qt
, dde-network-utils
, networkmanager-qt
, xorg
, mtdev
, fontconfig
, freetype
, dde-api
, dde-daemon
, qt5integration
, deepin-desktop-base
, deepin-desktop-schemas
, dbus
, systemd
, dde-qt-dbus-factory
, qtmultimedia
, qtbase
, glib
, gnome3
, which
, substituteAll
, tzdata
, wrapGAppsHook
}: }:
mkDerivation rec { mkDerivation rec {

View File

@ -1,10 +1,38 @@
{ stdenv, buildGoPackage, fetchFromGitHub, fetchpatch, pkgconfig, { stdenv
dbus-factory, go-dbus-factory, go-gir-generator, go-lib, , buildGoPackage
deepin-gettext-tools, gettext, dde-api, deepin-desktop-schemas, , fetchFromGitHub
deepin-wallpapers, deepin-desktop-base, alsaLib, glib, gtk3, , fetchpatch
libgudev, libinput, libnl, librsvg, linux-pam, networkmanager, , pkgconfig
pulseaudio, python3, hicolor-icon-theme, glibc, tzdata, go, , dbus-factory
deepin, makeWrapper, xkeyboard_config, wrapGAppsHook }: , go-dbus-factory
, go-gir-generator
, go-lib
, deepin-gettext-tools
, gettext
, dde-api
, deepin-desktop-schemas
, deepin-wallpapers
, deepin-desktop-base
, alsaLib
, glib
, gtk3
, libgudev
, libinput
, libnl
, librsvg
, linux-pam
, networkmanager
, pulseaudio
, python3
, hicolor-icon-theme
, glibc
, tzdata
, go
, deepin
, makeWrapper
, xkeyboard_config
, wrapGAppsHook
}:
buildGoPackage rec { buildGoPackage rec {
pname = "dde-daemon"; pname = "dde-daemon";

View File

@ -1,8 +1,28 @@
{ stdenv, mkDerivation, fetchFromGitHub, cmake, pkgconfig, qttools, qtx11extras, { stdenv
qtsvg, polkit, gsettings-qt, dtkcore, dtkwidget, , mkDerivation
dde-qt-dbus-factory, dde-network-utils, dde-daemon, , fetchFromGitHub
deepin-desktop-schemas, xorg, glib, wrapGAppsHook, deepin, , cmake
plugins ? [], symlinkJoin, makeWrapper, libdbusmenu }: , pkgconfig
, qttools
, qtx11extras
, qtsvg
, polkit
, gsettings-qt
, dtkcore
, dtkwidget
, dde-qt-dbus-factory
, dde-network-utils
, dde-daemon
, deepin-desktop-schemas
, xorg
, glib
, wrapGAppsHook
, deepin
, plugins ? [ ]
, symlinkJoin
, makeWrapper
, libdbusmenu
}:
let let
unwrapped = mkDerivation rec { unwrapped = mkDerivation rec {
@ -87,7 +107,9 @@ unwrapped = mkDerivation rec {
}; };
}; };
in if plugins == [] then unwrapped in
if plugins == [ ]
then unwrapped
else import ./wrapper.nix { else import ./wrapper.nix {
inherit makeWrapper symlinkJoin plugins; inherit makeWrapper symlinkJoin plugins;
dde-dock = unwrapped; dde-dock = unwrapped;

View File

@ -1,4 +1,8 @@
{ makeWrapper, symlinkJoin, dde-dock, plugins }: { makeWrapper
, symlinkJoin
, dde-dock
, plugins
}:
symlinkJoin { symlinkJoin {
name = "dde-dock-with-plugins-${dde-dock.version}"; name = "dde-dock-with-plugins-${dde-dock.version}";

View File

@ -1,13 +1,52 @@
{ stdenv, mkDerivation, fetchFromGitHub, pkgconfig, avfs, dde-daemon, { stdenv
dde-dock, dde-polkit-agent, dde-qt-dbus-factory, deepin, , mkDerivation
deepin-anything, deepin-desktop-schemas, deepin-gettext-tools, , fetchFromGitHub
deepin-movie-reborn, deepin-shortcut-viewer, deepin-terminal, , pkgconfig
disomaster, dtkcore, dtkwidget, ffmpegthumbnailer, file, glib, , avfs
gnugrep, gsettings-qt, gvfs, jemalloc, kcodecs, libX11, libsecret, , dde-daemon
polkit, polkit-qt, poppler, procps, qmake, qt5integration, , dde-dock
qtmultimedia, qtsvg, qttools, qtx11extras, runtimeShell, samba, , dde-polkit-agent
shadow, taglib, udisks2-qt5, xdg-user-dirs, xorg, zlib, , dde-qt-dbus-factory
wrapGAppsHook }: , deepin
, deepin-anything
, deepin-desktop-schemas
, deepin-gettext-tools
, deepin-movie-reborn
, deepin-shortcut-viewer
, deepin-terminal
, disomaster
, dtkcore
, dtkwidget
, ffmpegthumbnailer
, file
, glib
, gnugrep
, gsettings-qt
, gvfs
, jemalloc
, kcodecs
, libX11
, libsecret
, polkit
, polkit-qt
, poppler
, procps
, qmake
, qt5integration
, qtmultimedia
, qtsvg
, qttools
, qtx11extras
, runtimeShell
, samba
, shadow
, taglib
, udisks2-qt5
, xdg-user-dirs
, xorg
, zlib
, wrapGAppsHook
}:
mkDerivation rec { mkDerivation rec {
pname = "dde-file-manager"; pname = "dde-file-manager";

View File

@ -74,7 +74,9 @@ mkDerivation rec {
# Need to add kwayland around: # Need to add kwayland around:
# * https://github.com/linuxdeepin/dde-kwin/blob/5226bb984c844129f9fa589da56e77decb7b39a1/plugins/kwineffects/blur/CMakeLists.txt#L14 # * https://github.com/linuxdeepin/dde-kwin/blob/5226bb984c844129f9fa589da56e77decb7b39a1/plugins/kwineffects/blur/CMakeLists.txt#L14
NIX_CFLAGS_COMPILE = "-I${kwayland.dev}/include/KF5"; NIX_CFLAGS_COMPILE = [
"-I${kwayland.dev}/include/KF5"
];
cmakeFlags = [ cmakeFlags = [
"-DKWIN_VERSION=${(builtins.parseDrvName kwin.name).version}" "-DKWIN_VERSION=${(builtins.parseDrvName kwin.name).version}"

View File

@ -1,7 +1,24 @@
{ stdenv, mkDerivation, fetchFromGitHub, pkgconfig, cmake, dde-qt-dbus-factory, { stdenv
dde-session-ui, deepin, deepin-desktop-schemas, deepin-wallpapers, , mkDerivation
dtkcore, dtkwidget, gsettings-qt, qtsvg, qttools, qtx11extras, , fetchFromGitHub
which, xdg_utils, wrapGAppsHook, glib }: , pkgconfig
, cmake
, dde-qt-dbus-factory
, dde-session-ui
, deepin
, deepin-desktop-schemas
, deepin-wallpapers
, dtkcore
, dtkwidget
, gsettings-qt
, qtsvg
, qttools
, qtx11extras
, which
, xdg_utils
, wrapGAppsHook
, glib
}:
mkDerivation rec { mkDerivation rec {
pname = "dde-launcher"; pname = "dde-launcher";

View File

@ -1,5 +1,15 @@
{ stdenv, mkDerivation, fetchFromGitHub, substituteAll, qmake, pkgconfig, qttools, { stdenv
dde-qt-dbus-factory, proxychains, which, deepin }: , mkDerivation
, fetchFromGitHub
, substituteAll
, qmake
, pkgconfig
, qttools
, dde-qt-dbus-factory
, proxychains
, which
, deepin
}:
mkDerivation rec { mkDerivation rec {
pname = "dde-network-utils"; pname = "dde-network-utils";

View File

@ -1,5 +1,15 @@
{ stdenv, mkDerivation, fetchFromGitHub, pkgconfig, qmake, qttools, polkit-qt, { stdenv
dtkcore, dtkwidget, dde-qt-dbus-factory, deepin }: , mkDerivation
, fetchFromGitHub
, pkgconfig
, qmake
, qttools
, polkit-qt
, dtkcore
, dtkwidget
, dde-qt-dbus-factory
, deepin
}:
mkDerivation rec { mkDerivation rec {
pname = "dde-polkit-agent"; pname = "dde-polkit-agent";

View File

@ -1,4 +1,9 @@
{ stdenv, fetchFromGitHub, qmake, python3, deepin }: { stdenv
, fetchFromGitHub
, qmake
, python3
, deepin
}:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "dde-qt-dbus-factory"; pname = "dde-qt-dbus-factory";

View File

@ -1,9 +1,33 @@
{ stdenv, mkDerivation, fetchFromGitHub, pkgconfig, qmake, dbus, dde-daemon, { stdenv
dde-qt-dbus-factory, deepin, deepin-desktop-schemas, , mkDerivation
deepin-gettext-tools, deepin-icon-theme, deepin-wallpapers, dtkcore, , fetchFromGitHub
dtkwidget, gnugrep, gsettings-qt, lightdm_qt, , pkgconfig
onboard, qtsvg, qttools, qtx11extras, setxkbmap, utillinux, which, , qmake
xkeyboard_config, xorg, xrandr, wrapGAppsHook }: , dbus
, dde-daemon
, dde-qt-dbus-factory
, deepin
, deepin-desktop-schemas
, deepin-gettext-tools
, deepin-icon-theme
, deepin-wallpapers
, dtkcore
, dtkwidget
, gnugrep
, gsettings-qt
, lightdm_qt
, onboard
, qtsvg
, qttools
, qtx11extras
, setxkbmap
, utillinux
, which
, xkeyboard_config
, xorg
, xrandr
, wrapGAppsHook
}:
mkDerivation rec { mkDerivation rec {
pname = "dde-session-ui"; pname = "dde-session-ui";

View File

@ -1,5 +1,14 @@
{ stdenv, mkDerivation, fetchFromGitHub, fetchpatch, pkgconfig, qtbase, udisks2-qt5, utillinux, { stdenv
dtkcore, deepin }: , mkDerivation
, fetchFromGitHub
, fetchpatch
, pkgconfig
, qtbase
, udisks2-qt5
, utillinux
, dtkcore
, deepin
}:
mkDerivation rec { mkDerivation rec {
pname = "deepin-anything"; pname = "deepin-anything";

View File

@ -1,5 +1,14 @@
{ stdenv, mkDerivation, fetchFromGitHub, pkgconfig, qmake, qttools, qtsvg, dtkcore, { stdenv
dtkwidget, deepin }: , mkDerivation
, fetchFromGitHub
, pkgconfig
, qmake
, qttools
, qtsvg
, dtkcore
, dtkwidget
, deepin
}:
mkDerivation rec { mkDerivation rec {
pname = "deepin-calculator"; pname = "deepin-calculator";

View File

@ -1,4 +1,8 @@
{ stdenv, fetchFromGitHub, deepin-wallpapers, deepin }: { stdenv
, fetchFromGitHub
, deepin-wallpapers
, deepin
}:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "deepin-desktop-base"; pname = "deepin-desktop-base";
@ -11,9 +15,13 @@ stdenv.mkDerivation rec {
sha256 = "0rs7bjy35k5gc5nbba1cijhdz16zny30lgmcf2ckx1pkdszk2vra"; sha256 = "0rs7bjy35k5gc5nbba1cijhdz16zny30lgmcf2ckx1pkdszk2vra";
}; };
nativeBuildInputs = [ deepin.setupHook ]; nativeBuildInputs = [
deepin.setupHook
];
buildInputs = [ deepin-wallpapers ]; buildInputs = [
deepin-wallpapers
];
# TODO: Fedora recommended dependencies: # TODO: Fedora recommended dependencies:
# deepin-wallpapers # deepin-wallpapers

View File

@ -1,5 +1,14 @@
{ stdenv, fetchFromGitHub, python3, dconf, glib, deepin-gtk-theme, { stdenv
deepin-icon-theme, deepin-sound-theme, deepin-wallpapers, deepin }: , fetchFromGitHub
, python3
, dconf
, glib
, deepin-gtk-theme
, deepin-icon-theme
, deepin-sound-theme
, deepin-wallpapers
, deepin
}:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "deepin-desktop-schemas"; pname = "deepin-desktop-schemas";
@ -46,7 +55,9 @@ stdenv.mkDerivation rec {
# /usr/share/desktop-directories # /usr/share/desktop-directories
''; '';
makeFlags = [ "PREFIX=${placeholder "out"}" ]; makeFlags = [
"PREFIX=${placeholder "out"}"
];
doCheck = true; doCheck = true;
checkTarget = "test"; checkTarget = "test";

View File

@ -1,6 +1,15 @@
{ stdenv, mkDerivation, fetchFromGitHub, pkgconfig, cmake, deepin, { stdenv
dtkcore, dtkwidget, kcodecs, qttools, syntax-highlighting, , mkDerivation
wrapQtAppsHook , fetchFromGitHub
, pkgconfig
, cmake
, deepin
, dtkcore
, dtkwidget
, kcodecs
, qttools
, syntax-highlighting
, wrapQtAppsHook
}: }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {

View File

@ -1,4 +1,10 @@
{ stdenv, fetchFromGitHub, gettext, python3Packages, perlPackages, deepin }: { stdenv
, fetchFromGitHub
, gettext
, python3Packages
, perlPackages
, deepin
}:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "deepin-gettext-tools"; pname = "deepin-gettext-tools";
@ -23,7 +29,9 @@ stdenv.mkDerivation rec {
python3Packages.python python3Packages.python
]; ];
makeFlags = [ "PREFIX=${placeholder "out"}" ]; makeFlags = [
"PREFIX=${placeholder "out"}"
];
postPatch = '' postPatch = ''
sed -e 's/sudo cp/cp/' -i src/generate_mo.py sed -e 's/sudo cp/cp/' -i src/generate_mo.py

View File

@ -1,4 +1,8 @@
{ stdenv, fetchFromGitHub, gtk-engine-murrine, deepin }: { stdenv
, fetchFromGitHub
, gtk-engine-murrine
, deepin
}:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "deepin-gtk-theme"; pname = "deepin-gtk-theme";
@ -11,9 +15,13 @@ stdenv.mkDerivation rec {
sha256 = "0zs6mq70yd1k3d9zm3q6zxnw1md56r4imad5imdxwx58yxdx47fw"; sha256 = "0zs6mq70yd1k3d9zm3q6zxnw1md56r4imad5imdxwx58yxdx47fw";
}; };
propagatedUserEnvPkgs = [ gtk-engine-murrine ]; propagatedUserEnvPkgs = [
gtk-engine-murrine
];
makeFlags = [ "PREFIX=${placeholder "out"}" ]; makeFlags = [
"PREFIX=${placeholder "out"}"
];
passthru.updateScript = deepin.updateScript { name = "${pname}-${version}"; }; passthru.updateScript = deepin.updateScript { name = "${pname}-${version}"; };

View File

@ -1,4 +1,11 @@
{ stdenv, fetchFromGitHub, gtk3, xcursorgen, papirus-icon-theme, deepin, hicolor-icon-theme }: { stdenv
, fetchFromGitHub
, gtk3
, xcursorgen
, papirus-icon-theme
, deepin
, hicolor-icon-theme
}:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "deepin-icon-theme"; pname = "deepin-icon-theme";
@ -11,7 +18,10 @@ stdenv.mkDerivation rec {
sha256 = "12rzzjp906np95ckbxrd4mb345lm198wz69kxy48f8q1zg78q8iw"; sha256 = "12rzzjp906np95ckbxrd4mb345lm198wz69kxy48f8q1zg78q8iw";
}; };
nativeBuildInputs = [ gtk3 xcursorgen ]; nativeBuildInputs = [
gtk3
xcursorgen
];
propagatedBuildInputs = [ propagatedBuildInputs = [
papirus-icon-theme papirus-icon-theme

View File

@ -1,6 +1,18 @@
{ stdenv, mkDerivation, fetchFromGitHub, pkgconfig, qmake, qttools, qtsvg, { stdenv
qtx11extras, dtkcore, dtkwidget, qt5integration, freeimage, libraw, , mkDerivation
libexif, deepin , fetchFromGitHub
, pkgconfig
, qmake
, qttools
, qtsvg
, qtx11extras
, dtkcore
, dtkwidget
, qt5integration
, freeimage
, libraw
, libexif
, deepin
}: }:
mkDerivation rec { mkDerivation rec {

View File

@ -1,5 +1,13 @@
{ stdenv, mkDerivation, fetchFromGitHub, pkgconfig, qmake, dtkcore, dtkwidget, { stdenv
qt5integration, deepin }: , mkDerivation
, fetchFromGitHub
, pkgconfig
, qmake
, dtkcore
, dtkwidget
, qt5integration
, deepin
}:
mkDerivation rec { mkDerivation rec {
pname = "deepin-menu"; pname = "deepin-menu";

View File

@ -1,6 +1,22 @@
{ stdenv, mkDerivation, fetchFromGitHub, fetchpatch, cmake, pkgconfig, qttools, qtx11extras, { stdenv
dtkcore, dtkwidget, ffmpeg, ffmpegthumbnailer, mpv, pulseaudio, , mkDerivation
libdvdnav, libdvdread, xorg, deepin }: , fetchFromGitHub
, fetchpatch
, cmake
, pkgconfig
, qttools
, qtx11extras
, dtkcore
, dtkwidget
, ffmpeg
, ffmpegthumbnailer
, mpv
, pulseaudio
, libdvdnav
, libdvdread
, xorg
, deepin
}:
mkDerivation rec { mkDerivation rec {
pname = "deepin-movie-reborn"; pname = "deepin-movie-reborn";
@ -48,7 +64,6 @@ mkDerivation rec {
NIX_LDFLAGS = "-ldvdnav"; NIX_LDFLAGS = "-ldvdnav";
postPatch = '' postPatch = ''
searchHardCodedPaths # debugging searchHardCodedPaths # debugging

View File

@ -1,6 +1,19 @@
{ stdenv, mkDerivation, fetchFromGitHub, fetchpatch, cmake, pkgconfig, xdg_utils, qttools, qtx11extras, { stdenv
dtkcore, dtkwidget, dtkwm, deepin-turbo, deepin-shortcut-viewer, , mkDerivation
deepin }: , fetchFromGitHub
, fetchpatch
, cmake
, pkgconfig
, xdg_utils
, qttools
, qtx11extras
, dtkcore
, dtkwidget
, dtkwm
, deepin-turbo
, deepin-shortcut-viewer
, deepin
}:
mkDerivation rec { mkDerivation rec {
pname = "deepin-screenshot"; pname = "deepin-screenshot";

View File

@ -1,5 +1,13 @@
{ stdenv, mkDerivation, fetchFromGitHub, pkgconfig, qmake, dtkcore, dtkwidget, { stdenv
qt5integration, deepin }: , mkDerivation
, fetchFromGitHub
, pkgconfig
, qmake
, dtkcore
, dtkwidget
, qt5integration
, deepin
}:
mkDerivation rec { mkDerivation rec {
pname = "deepin-shortcut-viewer"; pname = "deepin-shortcut-viewer";

View File

@ -1,4 +1,7 @@
{ stdenv, fetchFromGitHub, deepin }: { stdenv
, fetchFromGitHub
, deepin
}:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "deepin-sound-theme"; pname = "deepin-sound-theme";
@ -11,7 +14,9 @@ stdenv.mkDerivation rec {
sha256 = "1sw4nrn7q7wk1hpicm05apyc0mihaw42iqm52wb8ib8gm1qiylr9"; sha256 = "1sw4nrn7q7wk1hpicm05apyc0mihaw42iqm52wb8ib8gm1qiylr9";
}; };
makeFlags = [ "PREFIX=${placeholder "out"}" ]; makeFlags = [
"PREFIX=${placeholder "out"}"
];
passthru.updateScript = deepin.updateScript { name = "${pname}-${version}"; }; passthru.updateScript = deepin.updateScript { name = "${pname}-${version}"; };

View File

@ -1,8 +1,39 @@
{ stdenv, fetchFromGitHub, pkgconfig, cmake, ninja, vala_0_40, fetchpatch, { stdenv
gettext, at-spi2-core, dbus, epoxy, expect, gtk3, json-glib, , fetchFromGitHub
libXdmcp, libgee, libpthreadstubs, librsvg, libsecret, libtasn1, , pkgconfig
libxcb, libxkbcommon, p11-kit, pcre, vte, wnck, libselinux, gnutls, pcre2, , cmake
libsepol, utillinux, deepin-menu, deepin-shortcut-viewer, deepin, wrapGAppsHook }: , ninja
, vala_0_40
, fetchpatch
, gettext
, at-spi2-core
, dbus
, epoxy
, expect
, gtk3
, json-glib
, libXdmcp
, libgee
, libpthreadstubs
, librsvg
, libsecret
, libtasn1
, libxcb
, libxkbcommon
, p11-kit
, pcre
, vte
, wnck
, libselinux
, gnutls
, pcre2
, libsepol
, utillinux
, deepin-menu
, deepin-shortcut-viewer
, deepin
, wrapGAppsHook
}:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "deepin-terminal"; pname = "deepin-terminal";

View File

@ -1,4 +1,11 @@
{ stdenv, mkDerivation, fetchFromGitHub, cmake, pkgconfig, qtbase, deepin }: { stdenv
, mkDerivation
, fetchFromGitHub
, cmake
, pkgconfig
, qtbase
, deepin
}:
mkDerivation rec { mkDerivation rec {
pname = "deepin-turbo"; pname = "deepin-turbo";

View File

@ -1,4 +1,8 @@
{ stdenv, fetchFromGitHub, dde-api, deepin }: { stdenv
, fetchFromGitHub
, dde-api
, deepin
}:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "deepin-wallpapers"; pname = "deepin-wallpapers";
@ -11,7 +15,10 @@ stdenv.mkDerivation rec {
sha256 = "09cfnxbpms98ibqbi4xd51181q3az5n8rmndcdr9w12kyzniz7xv"; sha256 = "09cfnxbpms98ibqbi4xd51181q3az5n8rmndcdr9w12kyzniz7xv";
}; };
nativeBuildInputs = [ dde-api deepin.setupHook ]; nativeBuildInputs = [
dde-api
deepin.setupHook
];
postPatch = '' postPatch = ''
searchHardCodedPaths # debugging searchHardCodedPaths # debugging

View File

@ -1,5 +1,4 @@
{ pkgs, makeScope, libsForQt5 }: { pkgs, makeScope, libsForQt5 }:
let let
packages = self: with self; { packages = self: with self; {
setupHook = ./setup-hook.sh; setupHook = ./setup-hook.sh;

View File

@ -1,4 +1,12 @@
{ stdenv, mkDerivation, fetchFromGitHub, pkgconfig, qmake, qtbase, libisoburn, deepin }: { stdenv
, mkDerivation
, fetchFromGitHub
, pkgconfig
, qmake
, qtbase
, libisoburn
, deepin
}:
mkDerivation rec { mkDerivation rec {
pname = "disomaster"; pname = "disomaster";

View File

@ -1,5 +1,12 @@
{ stdenv, fetchFromGitHub, pkgconfig, qmake, qttools, gnome3, { stdenv
dde-polkit-agent, deepin }: , fetchFromGitHub
, pkgconfig
, qmake
, qttools
, gnome3
, dde-polkit-agent
, deepin
}:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "dpa-ext-gnomekeyring"; pname = "dpa-ext-gnomekeyring";

View File

@ -1,4 +1,12 @@
{ stdenv, mkDerivation, fetchFromGitHub, pkgconfig, qmake, gsettings-qt, pythonPackages, deepin }: { stdenv
, mkDerivation
, fetchFromGitHub
, pkgconfig
, qmake
, gsettings-qt
, pythonPackages
, deepin
}:
mkDerivation rec { mkDerivation rec {
pname = "dtkcore"; pname = "dtkcore";

View File

@ -1,6 +1,19 @@
{ stdenv, mkDerivation, fetchFromGitHub, pkgconfig, qmake, qttools, qtmultimedia, { stdenv
qtsvg, qtx11extras, librsvg, libstartup_notification, gsettings-qt, , mkDerivation
dde-qt-dbus-factory, dtkcore, deepin }: , fetchFromGitHub
, pkgconfig
, qmake
, qttools
, qtmultimedia
, qtsvg
, qtx11extras
, librsvg
, libstartup_notification
, gsettings-qt
, dde-qt-dbus-factory
, dtkcore
, deepin
}:
mkDerivation rec { mkDerivation rec {
pname = "dtkwidget"; pname = "dtkwidget";

View File

@ -1,4 +1,13 @@
{ stdenv, mkDerivation, fetchFromGitHub, fetchpatch, pkgconfig, qmake, qtx11extras, dtkcore, deepin }: { stdenv
, mkDerivation
, fetchFromGitHub
, fetchpatch
, pkgconfig
, qmake
, qtx11extras
, dtkcore
, deepin
}:
mkDerivation rec { mkDerivation rec {
pname = "dtkwm"; pname = "dtkwm";

View File

@ -1,4 +1,7 @@
{ stdenv, fetchFromGitHub, deepin }: { stdenv
, fetchFromGitHub
, deepin
}:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "go-dbus-factory"; pname = "go-dbus-factory";
@ -11,7 +14,9 @@ stdenv.mkDerivation rec {
sha256 = "06fqyad9f50gcjsjkh7929yyaprahdjhnd0dr4gl2797a7wysl3f"; sha256 = "06fqyad9f50gcjsjkh7929yyaprahdjhnd0dr4gl2797a7wysl3f";
}; };
makeFlags = [ "PREFIX=${placeholder "out"}" ]; makeFlags = [
"PREFIX=${placeholder "out"}"
];
postPatch = '' postPatch = ''
sed -i -e 's:/share/gocode:/share/go:' Makefile sed -i -e 's:/share/gocode:/share/go:' Makefile

View File

@ -1,4 +1,9 @@
{ stdenv, fetchFromGitHub, go, go-lib, deepin }: { stdenv
, fetchFromGitHub
, go
, go-lib
, deepin
}:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "go-dbus-generator"; pname = "go-dbus-generator";

View File

@ -1,5 +1,12 @@
{ stdenv, fetchpatch, fetchFromGitHub, pkgconfig, go, gobject-introspection, { stdenv
libgudev, deepin }: , fetchpatch
, fetchFromGitHub
, pkgconfig
, go
, gobject-introspection
, libgudev
, deepin
}:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "go-gir-generator"; pname = "go-gir-generator";

View File

@ -1,5 +1,12 @@
{ stdenv, fetchFromGitHub, glib, xorg, gdk-pixbuf, pulseaudio, { stdenv
mobile-broadband-provider-info, deepin }: , fetchFromGitHub
, glib
, xorg
, gdk-pixbuf
, pulseaudio
, mobile-broadband-provider-info
, deepin
}:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "go-lib"; pname = "go-lib";

View File

@ -1,8 +1,31 @@
{ stdenv, mkDerivation, fetchFromGitHub, pkgconfig, cmake, qtbase, qttools, { stdenv
qtwebchannel, qtx11extras, , mkDerivation
gnome2, nss, nspr, alsaLib, atk, cairo, cups, dbus, , fetchFromGitHub
expat, fontconfig, gdk-pixbuf, glib, gtk2, , pkgconfig
libxcb, pango, pulseaudio, xorg, deepin }: , cmake
, qtbase
, qttools
, qtwebchannel
, qtx11extras
, gnome2
, nss
, nspr
, alsaLib
, atk
, cairo
, cups
, dbus
, expat
, fontconfig
, gdk-pixbuf
, glib
, gtk2
, libxcb
, pango
, pulseaudio
, xorg
, deepin
}:
let let
rpahtLibraries = [ rpahtLibraries = [
@ -35,9 +58,10 @@ let
xorg.libXrender xorg.libXrender
xorg.libXtst xorg.libXtst
]; ];
libPath = stdenv.lib.makeLibraryPath rpahtLibraries;
in
libPath = stdenv.lib.makeLibraryPath rpahtLibraries;
in
mkDerivation rec { mkDerivation rec {
pname = "qcef"; pname = "qcef";
version = "1.1.7"; version = "1.1.7";

View File

@ -1,5 +1,15 @@
{ stdenv, mkDerivation, fetchFromGitHub, pkgconfig, qmake, qtx11extras, libSM, { stdenv
mtdev, cairo, deepin, qtbase }: , mkDerivation
, fetchFromGitHub
, pkgconfig
, qmake
, qtx11extras
, libSM
, mtdev
, cairo
, deepin
, qtbase
}:
mkDerivation rec { mkDerivation rec {
pname = "qt5dxcb-plugin"; pname = "qt5dxcb-plugin";

View File

@ -1,6 +1,19 @@
{ stdenv, mkDerivation, fetchFromGitHub, pkgconfig, qmake, mtdev, { stdenv
lxqt, qtx11extras, qtmultimedia, qtsvg, , mkDerivation
qt5dxcb-plugin, qtstyleplugins, dtkcore, dtkwidget, deepin }: , fetchFromGitHub
, pkgconfig
, qmake
, mtdev
, lxqt
, qtx11extras
, qtmultimedia
, qtsvg
, qt5dxcb-plugin
, qtstyleplugins
, dtkcore
, dtkwidget
, deepin
}:
mkDerivation rec { mkDerivation rec {
pname = "qt5integration"; pname = "qt5integration";

View File

@ -1,10 +1,40 @@
{ stdenv, buildGoPackage, fetchFromGitHub, pkgconfig, alsaLib, { stdenv
coreutils, dbus-factory, dde-api, dde-daemon, dde-dock, , buildGoPackage
dde-file-manager, dde-polkit-agent, dde-session-ui, deepin, , fetchFromGitHub
deepin-desktop-base, deepin-desktop-schemas, deepin-turbo, , pkgconfig
dde-kwin, glib, gnome3, go, go-dbus-factory, go-gir-generator, , alsaLib
go-lib, gtk3, jq, kmod, libX11, libXi, libcgroup, pciutils, psmisc, , coreutils
pulseaudio, systemd, xorg, wrapGAppsHook }: , dbus-factory
, dde-api
, dde-daemon
, dde-dock
, dde-file-manager
, dde-polkit-agent
, dde-session-ui
, deepin
, deepin-desktop-base
, deepin-desktop-schemas
, deepin-turbo
, dde-kwin
, glib
, gnome3
, go
, go-dbus-factory
, go-gir-generator
, go-lib
, gtk3
, jq
, kmod
, libX11
, libXi
, libcgroup
, pciutils
, psmisc
, pulseaudio
, systemd
, xorg
, wrapGAppsHook
}:
buildGoPackage rec { buildGoPackage rec {
name = "${pname}-${version}"; name = "${pname}-${version}";

View File

@ -1,4 +1,10 @@
{ stdenv, mkDerivation, fetchFromGitHub, qmake, qtbase, deepin }: { stdenv
, mkDerivation
, fetchFromGitHub
, qmake
, qtbase
, deepin
}:
mkDerivation rec { mkDerivation rec {
pname = "udisks2-qt5"; pname = "udisks2-qt5";