Commit 2cf39baf authored by Vilhelm Bergsøe's avatar Vilhelm Bergsøe
Browse files

spectrwm: 3.5.1 -> 3.6.0

parent 02dad1a5
Loading
Loading
Loading
Loading
+5 −5
Original line number Diff line number Diff line
{ lib, stdenv, fetchFromGitHub, pkg-config, xorg }:
{ lib, stdenv, fetchFromGitHub, libbsd, pkg-config, xorg }:

stdenv.mkDerivation (finalAttrs: {
  pname = "spectrwm";
  version = "3.5.1";
  version = "3.6.0";

  src = fetchFromGitHub {
    owner = "conformal";
    repo = "spectrwm";
    rev = "SPECTRWM_${lib.replaceStrings ["."] ["_"] finalAttrs.version}";
    hash = "sha256-Nlzo35OsNqFbR6nl3nnGXDWmwc8JlP4tyDuIGtKTnIY=";
    hash = "sha256-Dnn/iIrceiAVuMR8iMGcc7LqNhWC496eT5gNrYOInRU=";
  };

  nativeBuildInputs = [ pkg-config ];
  buildInputs = with xorg; [
  buildInputs = (with xorg; [
    libXrandr
    libXcursor
    libXft
@@ -20,7 +20,7 @@ stdenv.mkDerivation (finalAttrs: {
    xcbutil
    xcbutilkeysyms
    xcbutilwm
  ];
  ] ++ [ libbsd ]);

  prePatch = let
    subdir = if stdenv.isDarwin then "osx" else "linux";