mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-24 16:03:23 +00:00
deepin-wm: init at 1.9.32
This commit is contained in:
parent
f44a2267fd
commit
a8623de307
58
pkgs/desktops/deepin/deepin-wm/default.nix
Normal file
58
pkgs/desktops/deepin/deepin-wm/default.nix
Normal file
@ -0,0 +1,58 @@
|
||||
{ stdenv, fetchFromGitHub, pkgconfig, intltool, libtool, vala, gnome3,
|
||||
bamf, clutter-gtk, granite, libcanberra-gtk3, libwnck3,
|
||||
deepin-mutter, deepin-wallpapers, deepin-desktop-schemas,
|
||||
hicolor-icon-theme }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "${pname}-${version}";
|
||||
pname = "deepin-wm";
|
||||
version = "1.9.32";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "linuxdeepin";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
sha256 = "02vwbkfpxcwv01vqa70pg7dm0lhm1lwhdqhk057r147a9cjb3ssc";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
pkgconfig
|
||||
intltool
|
||||
libtool
|
||||
gnome3.gnome-common
|
||||
vala
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
gnome3.gnome-desktop
|
||||
gnome3.libgee
|
||||
bamf
|
||||
clutter-gtk
|
||||
granite
|
||||
libcanberra-gtk3
|
||||
libwnck3
|
||||
deepin-mutter
|
||||
deepin-wallpapers
|
||||
deepin-desktop-schemas
|
||||
hicolor-icon-theme
|
||||
];
|
||||
|
||||
postPatch = ''
|
||||
sed -i src/Background/BackgroundSource.vala \
|
||||
-e 's;/usr/share/backgrounds/default_background.jpg;${deepin-wallpapers}/share/backgrounds/deepin/desktop.jpg;'
|
||||
'';
|
||||
|
||||
preConfigure = ''
|
||||
./autogen.sh
|
||||
'';
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Deepin Window Manager";
|
||||
homepage = https://github.com/linuxdeepin/deepin-wm;
|
||||
license = licenses.gpl3;
|
||||
platforms = platforms.linux;
|
||||
maintainers = with maintainers; [ romildo ];
|
||||
};
|
||||
}
|
@ -21,6 +21,7 @@ let
|
||||
wnck = pkgs.libwnck3;
|
||||
};
|
||||
deepin-wallpapers = callPackage ./deepin-wallpapers { };
|
||||
deepin-wm = callPackage ./deepin-wm { };
|
||||
dtkcore = callPackage ./dtkcore { };
|
||||
dtkwm = callPackage ./dtkwm { };
|
||||
dtkwidget = callPackage ./dtkwidget { };
|
||||
|
Loading…
Reference in New Issue
Block a user