@ -1,51 +1,37 @@
{ fetchurl
, libX11
, libXrandr
, libXcursor
, libXft
, libXt
, libxcb
, xcbutil
, xcb-util-cursor
, xcbutilkeysyms
, xcbutilwm
, stdenv
} :
{ stdenv , fetchFromGitHub , pkgconfig , xorg }:
stdenv . mkDerivation {
pname = " s p e c t r w m " ;
version = " 2 . 7 . 2 " ;
version = " 3 . 3 . 0 " ;
src = fetchurl {
url = " h t t p s : / / g i t h u b . c o m / c o n f o r m a l / s p e c t r w m / a r c h i v e / S P E C T R W M _ 2 _ 7 _ 2 . t a r . g z " ;
sha256 = " 1 y s s q n h x l f l 1 b 6 0 g z i q p 8 c 5 p z s 1 l r 8 p 6 a n r n p 9 g a 1 z f d q l 3 b 7 9 9 3 " ;
src = fetchFromGitHub {
owner = " c o n f o r m a l " ;
repo = " s p e c t r w m " ;
rev = " S P E C T R W M _ 3 _ 3 _ 0 " ;
sha256 = " 1 3 9 m s w l r 0 z 5 d b p 5 m i g m 9 8 q q g 8 4 s y q 0 p y 1 q l a d p 3 2 2 6 x y 6 q 3 b n n 0 8 " ;
} ;
buildInputs = [
libX11
libxcb
nativeBuildInputs = [ pkgconfig ] ;
buildInputs = with xorg ; [
libXrandr
libXcursor
libXft
libXt
xcbutil
xcb-util-cursor
xcbutilkeysyms
xcbutilwm
] ;
sourceRoot = let
subdir = if stdenv . isDarwin then " o s x " else " l i n u x " ;
in " s p e c t r w m - S P E C T R W M _ 2 _ 7 _ 2 / ${ subdir } " ;
in " s o u r c e / ${ subdir } " ;
makeFlags = [ " P R E F I X = $ ( o u t ) " ] ;
installPhase = " P R E F I X = $ o u t m a k e i n s t a l l " ;
makeFlags = [ " P R E F I X = ${ placeholder " o u t " } " ] ;
meta = with stdenv . lib ; {
description = " A t i l i n g w i n d o w m a n a g e r " ;
homepage = " h t t p s : / / g i t h u b . c o m / c o n f o r m a l / s p e c t r w m " ;
maintainers = with maintainers ; [ jb55 ] ;
maintainers = with maintainers ; [ christianharke ] ;
license = licenses . isc ;
platforms = platforms . all ;