3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/applications/window-managers/clfswm/default.nix

45 lines
1.2 KiB
Nix
Raw Normal View History

2015-11-04 14:15:52 +00:00
{ stdenv, pkgs, fetchgit, autoconf, sbcl, lispPackages, xdpyinfo, texinfo4
, makeWrapper , rlwrap, gnused, gnugrep, coreutils, xprop
, extraModulePaths ? [] }:
stdenv.mkDerivation rec {
name = "clfswm";
src = fetchgit {
url = "https://gitlab.common-lisp.net/clfswm/clfswm.git";
rev = "refs/heads/master";
sha256 = "1hkm6bn5xww932w34l13bg87m5hsnwnd0i1lka6sw0cq8whndya0";
};
buildInputs = [
texinfo4 makeWrapper autoconf
sbcl
lispPackages.clx
lispPackages.cl-ppcre
xdpyinfo
];
patches = [ ./require-clx.patch ];
# Stripping destroys the generated SBCL image
dontStrip = true;
installPhase = ''
mkdir -pv $out/bin
make DESTDIR=$out install
# Paths in the compressed image $out/bin/clfswm are not
# recognized by Nix. Add explicit reference here.
mkdir $out/nix-support
echo ${xdpyinfo} ${lispPackages.clx} ${lispPackages.cl-ppcre} > $out/nix-support/depends
'';
meta = with stdenv.lib; {
description = "A(nother) Common Lisp FullScreen Window Manager";
homepage = https://common-lisp.net/project/clfswm/;
license = licenses.gpl3;
2015-11-11 05:54:17 +00:00
maintainers = with maintainers; [ robgssp ];
2015-11-04 14:15:52 +00:00
platforms = platforms.linux;
};
}