1{
2 stdenv,
3 lib,
4 fetchFromGitHub,
5 autoreconfHook,
6 sbcl,
7 texinfo,
8}:
9
10stdenv.mkDerivation (finalAttrs: {
11 pname = "stumpwm";
12 version = "24.11";
13
14 src = fetchFromGitHub {
15 owner = "stumpwm";
16 repo = "stumpwm";
17 rev = "${finalAttrs.version}";
18 hash = "sha256-Ba2HcAmNcZvnqU0jpLTxsBe8L+4aHbO/oM4Bp/IYEC0=";
19 };
20
21 nativeBuildInputs = [
22 autoreconfHook
23 sbcl
24 texinfo
25 ];
26
27 doCheck = true;
28
29 postConfigure = ''
30 export ASDF_OUTPUT_TRANSLATIONS=$(pwd):$(pwd)
31 '';
32
33 meta = {
34 description = "Tiling, keyboard driven window manager";
35 homepage = "https://stumpwm.github.io/";
36 license = lib.licenses.gpl2Plus;
37 mainProgram = "stumpwm";
38 teams = [ lib.teams.lisp ];
39 platforms = lib.platforms.unix;
40 };
41})