spectrwm: 2.7.2 -> 3.3.0

- Update to the latest version.
- Stop using unstable `fetchurl` for GitHub archive reference #32997.
- Take maintainership as requested by jb55 in #86265.
This commit is contained in:
Christian Harke 2020-04-29 00:45:56 +02:00
parent 30fce6f31b
commit 68f56479e1
No known key found for this signature in database
GPG key ID: 830A9728630966F4
2 changed files with 22 additions and 26 deletions

View file

@ -1406,6 +1406,16 @@
githubId = 1103294;
name = "Christopher Rosset";
};
christianharke = {
email = "christian@harke.ch";
github = "christianharke";
githubId = 13007345;
name = "Christian Harke";
keys = [{
longkeyid = "rsa4096/0x830A9728630966F4";
fingerprint = "4EBB 30F1 E89A 541A A7F2 52BE 830A 9728 6309 66F4";
}];
};
christopherpoole = {
email = "mail@christopherpoole.net";
github = "christopherpoole";

View file

@ -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 = "spectrwm";
version = "2.7.2";
version = "3.3.0";
src = fetchurl {
url = "https://github.com/conformal/spectrwm/archive/SPECTRWM_2_7_2.tar.gz";
sha256 = "1yssqnhxlfl1b60gziqp8c5pzs1lr8p6anrnp9ga1zfdql3b7993";
src = fetchFromGitHub {
owner = "conformal";
repo = "spectrwm";
rev = "SPECTRWM_3_3_0";
sha256 = "139mswlr0z5dbp5migm98qqg84syq0py1qladp3226xy6q3bnn08";
};
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 "osx" else "linux";
in "spectrwm-SPECTRWM_2_7_2/${subdir}";
in "source/${subdir}";
makeFlags = [ "PREFIX=$(out)" ];
installPhase = "PREFIX=$out make install";
makeFlags = [ "PREFIX=${placeholder "out"}" ];
meta = with stdenv.lib; {
description = "A tiling window manager";
homepage = "https://github.com/conformal/spectrwm";
maintainers = with maintainers; [ jb55 ];
maintainers = with maintainers; [ christianharke ];
license = licenses.isc;
platforms = platforms.all;