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; githubId = 1103294;
name = "Christopher Rosset"; 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 = { christopherpoole = {
email = "mail@christopherpoole.net"; email = "mail@christopherpoole.net";
github = "christopherpoole"; github = "christopherpoole";

View file

@ -1,51 +1,37 @@
{ fetchurl { stdenv, fetchFromGitHub, pkgconfig, xorg }:
, libX11
, libXrandr
, libXcursor
, libXft
, libXt
, libxcb
, xcbutil
, xcb-util-cursor
, xcbutilkeysyms
, xcbutilwm
, stdenv
}:
stdenv.mkDerivation { stdenv.mkDerivation {
pname = "spectrwm"; pname = "spectrwm";
version = "2.7.2"; version = "3.3.0";
src = fetchurl { src = fetchFromGitHub {
url = "https://github.com/conformal/spectrwm/archive/SPECTRWM_2_7_2.tar.gz"; owner = "conformal";
sha256 = "1yssqnhxlfl1b60gziqp8c5pzs1lr8p6anrnp9ga1zfdql3b7993"; repo = "spectrwm";
rev = "SPECTRWM_3_3_0";
sha256 = "139mswlr0z5dbp5migm98qqg84syq0py1qladp3226xy6q3bnn08";
}; };
nativeBuildInputs = [ pkgconfig ];
buildInputs = [ buildInputs = with xorg; [
libX11
libxcb
libXrandr libXrandr
libXcursor libXcursor
libXft libXft
libXt libXt
xcbutil xcbutil
xcb-util-cursor
xcbutilkeysyms xcbutilkeysyms
xcbutilwm xcbutilwm
]; ];
sourceRoot = let sourceRoot = let
subdir = if stdenv.isDarwin then "osx" else "linux"; subdir = if stdenv.isDarwin then "osx" else "linux";
in "spectrwm-SPECTRWM_2_7_2/${subdir}"; in "source/${subdir}";
makeFlags = [ "PREFIX=$(out)" ]; makeFlags = [ "PREFIX=${placeholder "out"}" ];
installPhase = "PREFIX=$out make install";
meta = with stdenv.lib; { meta = with stdenv.lib; {
description = "A tiling window manager"; description = "A tiling window manager";
homepage = "https://github.com/conformal/spectrwm"; homepage = "https://github.com/conformal/spectrwm";
maintainers = with maintainers; [ jb55 ]; maintainers = with maintainers; [ christianharke ];
license = licenses.isc; license = licenses.isc;
platforms = platforms.all; platforms = platforms.all;