clfswm: Add fresh CLFSWM built via lisp-packages, based on StumpWM

This commit is contained in:
Michael White 2021-01-11 16:27:38 -07:00
parent f0a7fce6ee
commit 02f9353c90
4 changed files with 43 additions and 0 deletions

View File

@ -0,0 +1,25 @@
args @ { fetchurl, ... }:
rec {
baseName = ''clfswm'';
version = ''20161204-git'';
description = ''CLFSWM: Fullscreen Window Manager'';
deps = [ args."clx" ];
src = fetchurl {
url = ''http://beta.quicklisp.org/archive/clfswm/2016-12-04/clfswm-20161204-git.tgz'';
sha256 = ''1jgz127721dgcv3qm1knc335gy04vzh9gl0hshp256rxi82cpp73'';
};
packageName = "clfswm";
asdFilesToKeep = ["clfswm.asd"];
overrides = x: x;
}
/* (SYSTEM clfswm DESCRIPTION CLFSWM: Fullscreen Window Manager SHA256
1jgz127721dgcv3qm1knc335gy04vzh9gl0hshp256rxi82cpp73 URL
http://beta.quicklisp.org/archive/clfswm/2016-12-04/clfswm-20161204-git.tgz
MD5 dc976785ef899837ab0fc50a4ed6b740 NAME clfswm FILENAME clfswm DEPS
((NAME clx FILENAME clx)) DEPENDENCIES (clx) VERSION 20161204-git SIBLINGS
NIL PARASITES NIL) */

View File

@ -231,4 +231,14 @@ $out/lib/common-lisp/query-fs"
cl-cffi-gtk-gdk = addNativeLibs [pkgs.gtk3];
cl-cffi-gtk-gtk3 = addNativeLibs [pkgs.gtk3];
cl-webkit2 = addNativeLibs [pkgs.webkitgtk];
clfswm = x: {
overrides = y: (x.overrides y) // {
postInstall = ''
export NIX_LISP_PRELAUNCH_HOOK="nix_lisp_build_system clfswm '(function clfswm:main)'"
"$out/bin/clfswm-lisp-launcher.sh"
cp "$out/lib/common-lisp/clfswm/clfswm" "$out/bin"
'';
};
};
}

View File

@ -82,6 +82,7 @@ cl-utilities
cl-vectors
cl-webkit2
cl-who
clfswm
clx
collectors
command-line-arguments

View File

@ -2848,6 +2848,13 @@ let quicklisp-to-nix-packages = rec {
"fiasco" = quicklisp-to-nix-packages."fiasco";
}));
"clfswm" = buildLispPackage
((f: x: (x // (f x)))
(qlOverrides."clfswm" or (x: {}))
(import ./quicklisp-to-nix-output/clfswm.nix {
inherit fetchurl;
"clx" = quicklisp-to-nix-packages."clx";
}));
"cl-who" = buildLispPackage
((f: x: (x // (f x)))