Skip to content

Commit

Permalink
Merge pull request #56132 from balsoft/master
Browse files Browse the repository at this point in the history
wmfs: init at 201902
  • Loading branch information
joachifm authored Mar 22, 2019
2 parents 11318d1 + cd8a8ba commit 91943f7
Show file tree
Hide file tree
Showing 2 changed files with 44 additions and 0 deletions.
42 changes: 42 additions & 0 deletions pkgs/applications/window-managers/wmfs/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
{ stdenv, fetchFromGitHub, gnumake,
libX11, libXinerama, libXrandr, libXpm, libXft, imlib2 }:
stdenv.mkDerivation rec {
name = "wmfs-${version}";

version = "201902";

src = fetchFromGitHub {
owner = "xorg62";
repo = "wmfs";
sha256 = "sha256:1m7dsmmlhq2qipim659cp9aqlriz1cwrrgspl8baa5pncln0gd5c";
rev = "b7b8ff812d28c79cb22a73db2739989996fdc6c2";
};

nativeBuildInputs = [
gnumake
];

buildInputs = [
imlib2
libX11
libXinerama
libXrandr
libXpm
libXft
];

preConfigure = "substituteInPlace configure --replace '-lxft' '-lXft'";

makeFlags = [
"PREFIX=${placeholder "out"}"
"XDG_CONFIG_DIR=${placeholder "out"}/etc/xdg"
"MANPREFIX=${placeholder "out"}/share/man"
];

meta = with stdenv.lib; {
description = "Window manager from scratch";
license = licenses.bsd2;
maintainers = [ maintainers.balsoft ];
platforms = platforms.linux;
};
}
2 changes: 2 additions & 0 deletions pkgs/top-level/all-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -17820,6 +17820,8 @@ in

wmfocus = callPackage ../applications/window-managers/i3/wmfocus.nix { };

wmfs = callPackage ../applications/window-managers/wmfs/default.nix { };

i810switch = callPackage ../os-specific/linux/i810switch { };

icewm = callPackage ../applications/window-managers/icewm {};
Expand Down

0 comments on commit 91943f7

Please sign in to comment.