Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mawled: init at 20170517 #25858

Closed
wants to merge 2 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
34 changes: 34 additions & 0 deletions pkgs/applications/window-managers/mawled/default.nix
@@ -0,0 +1,34 @@
{ stdenv, fetchFromGitHub, dale, libX11 }:

let version = "20170517";

in stdenv.mkDerivation {
name = "mawled-${version}";

src = fetchFromGitHub {
owner = "tomhrr";
repo = "mawled";
rev = "d8e9714cf1d4b739ceeb4ed16b8adf1dccc12484";
sha256 = "0py00lgw0cj9c9lvxqc0852g7mvhz2gjp4x0dybwyfcb8kj5nc0w";
};

buildInputs = [ dale libX11 ];

postPatch = ''
substituteInPlace ./Makefile --replace /usr/local $out
'';

hardeningDisable = "bindnow"; # Dale utilizes RTLD_LAZY dlopen flag

meta = with stdenv.lib; {
description = "A minimalist window manager written in Dale";
longDescription = ''
Mawled is a basic X11 tiling window manager,
inspired by XMonad, though with fewer features.
'';
homepage = "https://github.com/tomhrr/mawled";
license = licenses.bsd3;
maintainers = with maintainers; [ amiloradovsky ];
platforms = platforms.all;
};
}
2 changes: 2 additions & 0 deletions pkgs/top-level/all-packages.nix
Expand Up @@ -1012,6 +1012,8 @@ with pkgs;

masscan = callPackage ../tools/security/masscan { };

mawled = callPackage ../applications/window-managers/mawled { };

meson = callPackage ../development/tools/build-managers/meson { };

metricbeat = callPackage ../misc/logging/metricbeat { };
Expand Down