tony / oxwm

reflect package change from nixpkgs Browse files
Sigmanificient committed 2025-12-14 parent d265668 commit 99e47a7741ea58c5e54c5335ec2c836ff7975415
Showing 1 changed file with 13 additions and 14 deletions. UnifiedSplit
+13 −14 default.nix
@@ -2,7 +2,9 @@
2 2 lib,
3 3 rustPlatform,
4 4 pkg-config,
5 - xorg,
5 + libX11,
6 + libXft,
7 + libXrender,
6 8 freetype,
7 9 fontconfig,
8 10 gitRev ? "unkown",
@@ -13,22 +15,19 @@ rustPlatform.buildRustPackage (finalAttrs: {
13 15
14 16 src = ./.;
15 17
16 - cargoLock = {
17 - lockFile = ./Cargo.lock;
18 - };
18 + cargoLock.lockFile = ./Cargo.lock;
19 19
20 - nativeBuildInputs = [
21 - pkg-config
22 - ];
20 + nativeBuildInputs = [pkg-config];
23 21
24 22 buildInputs = [
25 - xorg.libX11
26 - xorg.libXft
27 - xorg.libXrender
23 + libX11
24 + libXft
25 + libXrender
28 26 freetype
29 27 fontconfig
30 28 ];
31 29
30 + # tests require a running X server
32 31 doCheck = false;
33 32
34 33 postInstall = ''
@@ -39,11 +38,11 @@ rustPlatform.buildRustPackage (finalAttrs: {
39 38
40 39 passthru.providedSessions = ["oxwm"];
41 40
42 - meta = with lib; {
43 - description = "A dynamic window manager written in Rust, inspired by dwm";
41 + meta = {
42 + description = "Dynamic window manager written in Rust, inspired by dwm";
44 43 homepage = "https://github.com/tonybanters/oxwm";
45 - license = licenses.gpl3;
46 - platforms = platforms.linux;
44 + license = lib.licenses.gpl3Only;
45 + platforms = lib.platforms.linux;
47 46 mainProgram = "oxwm";
48 47 };
49 48 })