Unverified Commit 45b28983 authored by Weijia Wang's avatar Weijia Wang Committed by GitHub
Browse files

spectrwm: 3.5.1 -> 3.6.0 (#340731)

parents 1a40f271 2cf39baf
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";