diff options
Diffstat (limited to 'nixpkgs/pkgs/desktops/deepin/core/dde-network-core/default.nix')
-rw-r--r-- | nixpkgs/pkgs/desktops/deepin/core/dde-network-core/default.nix | 62 |
1 files changed, 62 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/desktops/deepin/core/dde-network-core/default.nix b/nixpkgs/pkgs/desktops/deepin/core/dde-network-core/default.nix new file mode 100644 index 000000000000..24d46698765e --- /dev/null +++ b/nixpkgs/pkgs/desktops/deepin/core/dde-network-core/default.nix @@ -0,0 +1,62 @@ +{ stdenv +, lib +, fetchFromGitHub +, cmake +, qttools +, pkg-config +, wrapQtAppsHook +, qtbase +, qtsvg +, dtkwidget +, dde-dock +, dde-control-center +, dde-session-shell +, networkmanager-qt +, glib +, gtest +}: + +stdenv.mkDerivation rec { + pname = "dde-network-core"; + version = "2.0.15"; + + src = fetchFromGitHub { + owner = "linuxdeepin"; + repo = pname; + rev = version; + hash = "sha256-AMuWEz3Eyw0tG0srLWpqS7MO7Z4ZzIay4z59cZQZU0o="; + }; + + nativeBuildInputs = [ + cmake + qttools + pkg-config + wrapQtAppsHook + ]; + + buildInputs = [ + qtbase + qtsvg + dtkwidget + dde-dock + dde-control-center + dde-session-shell + networkmanager-qt + glib + gtest + ]; + + cmakeFlags = [ + "-DVERSION=${version}" + ]; + + strictDeps = true; + + meta = with lib; { + description = "DDE network library framework"; + homepage = "https://github.com/linuxdeepin/dde-network-core"; + license = licenses.gpl3Plus; + platforms = platforms.linux; + maintainers = teams.deepin.members; + }; +} |