blob: 8ffc6a58793587e13476b182c17562c30848d056 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
{
stdenv,
fetchgit,
xorg,
libnotify,
pkg-config,
inputs,
...
}:
stdenv.mkDerivation {
pname = "YATwm";
version = "0.0.1";
src = fetchgit {
url = "https://git.tehbox.org/cgit/boss/YATwm.git/";
rev = "v0.0.1";
hash = "sha256-yQoyXGJE8JrSon/P5uhyN1rRwBH/kz0LCGIly3yNDhg=";
};
installPhase = ''
runHook preInstall
mkdir -p $out/bin
install -D -m 755 YATwm $out/bin/YATwm
install -D -m 644 yat.desktop $out/usr/share/xsessions/yat.desktop
install -D -m 644 config $out/etc/YATwm/config
runHook postInstall
'';
buildInputs = [
xorg.libX11
xorg.libXrandr
libnotify
pkg-config
];
}
|