diff options
author | Jörg Thalheim <Mic92@users.noreply.github.com> | 2020-04-29 22:12:32 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-29 22:12:32 +0100 |
commit | bb5e20e4c0e5df59ed9c192294ae9604c3170c76 (patch) | |
tree | 72165e848704cc891fb536cd64c08f72ff9df31d /pkgs/applications | |
parent | 1330dcff094bd6ec40ee1d5fa0c400a09555490b (diff) | |
parent | 68f56479e148c04ab97b1393c385f090c6e983be (diff) | |
download | nixlib-bb5e20e4c0e5df59ed9c192294ae9604c3170c76.tar nixlib-bb5e20e4c0e5df59ed9c192294ae9604c3170c76.tar.gz nixlib-bb5e20e4c0e5df59ed9c192294ae9604c3170c76.tar.bz2 nixlib-bb5e20e4c0e5df59ed9c192294ae9604c3170c76.tar.lz nixlib-bb5e20e4c0e5df59ed9c192294ae9604c3170c76.tar.xz nixlib-bb5e20e4c0e5df59ed9c192294ae9604c3170c76.tar.zst nixlib-bb5e20e4c0e5df59ed9c192294ae9604c3170c76.zip |
Merge pull request #86265 from christianharke/spectrwm-bump
spectrwm: 2.7.2 -> 3.3.0
Diffstat (limited to 'pkgs/applications')
-rw-r--r-- | pkgs/applications/window-managers/spectrwm/default.nix | 38 |
1 files changed, 12 insertions, 26 deletions
diff --git a/pkgs/applications/window-managers/spectrwm/default.nix b/pkgs/applications/window-managers/spectrwm/default.nix index 1eb19e2de6f9..b38cb9906178 100644 --- a/pkgs/applications/window-managers/spectrwm/default.nix +++ b/pkgs/applications/window-managers/spectrwm/default.nix @@ -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; |