lol

Merge pull request #170259 from armeenm/bump-wmii

authored by

Sandro and committed by
GitHub
34c7bd6d a65b7ef4

+104 -75
-46
pkgs/applications/window-managers/wmii-hg/default.nix
··· 1 - { lib, stdenv, fetchurl, unzip, pkg-config, libixp_hg, txt2tags, dash, python2, which 2 - , libX11 , libXrender, libXext, libXinerama, libXrandr, libXft }: 3 - 4 - stdenv.mkDerivation rec { 5 - rev = "2823"; 6 - version = "hg-2012-12-09"; 7 - pname = "wmii"; 8 - 9 - src = fetchurl { 10 - url = "https://storage.googleapis.com/google-code-archive-source/v2/code.google.com/wmii/source-archive.zip"; 11 - sha256 = "1wmkq14zvmfrmydl8752xz852cy7agrx3qp4fy2cc5asb2r9abaz"; 12 - }; 13 - 14 - # for dlopen-ing 15 - patchPhase = '' 16 - substituteInPlace lib/libstuff/x11/xft.c --replace "libXft.so" "$(pkg-config --variable=libdir xft)/libXft.so.2" 17 - substituteInPlace cmd/wmii.sh.sh --replace "\$(which which)" "${which}/bin/which" 18 - ''; 19 - 20 - configurePhase = '' 21 - for file in $(grep -lr '#!.*sh'); do 22 - sed -i 's|#!.*sh|#!${dash}/bin/dash|' $file 23 - done 24 - 25 - cat <<EOF >> config.mk 26 - PREFIX = $out 27 - LIBIXP = ${libixp_hg}/lib/libixp.a 28 - BINSH = ${dash}/bin/dash 29 - EOF 30 - ''; 31 - 32 - nativeBuildInputs = [ pkg-config unzip ]; 33 - buildInputs = [ libixp_hg txt2tags dash python2 which 34 - libX11 libXrender libXext libXinerama libXrandr libXft ]; 35 - 36 - # For some reason including mercurial in buildInputs did not help 37 - makeFlags = [ "WMII_HGVERSION=hg${rev}" ]; 38 - 39 - meta = { 40 - homepage = "https://suckless.org/"; # https://wmii.suckless.org/ does not exist anymore 41 - description = "A small window manager controlled by a 9P filesystem"; 42 - maintainers = with lib.maintainers; [ kovirobi ]; 43 - license = lib.licenses.mit; 44 - platforms = with lib.platforms; linux; 45 - }; 46 - }
+72
pkgs/applications/window-managers/wmii/default.nix
··· 1 + { lib, stdenv 2 + , fetchFromGitHub 3 + , dash 4 + , libX11 5 + , libXext 6 + , libXft 7 + , libXinerama 8 + , libXrandr 9 + , libXrender 10 + , libixp 11 + , pkg-config 12 + , txt2tags 13 + , unzip 14 + , which 15 + }: 16 + 17 + stdenv.mkDerivation rec { 18 + pname = "wmii"; 19 + version = "unstable-2022-04-04"; 20 + 21 + src = fetchFromGitHub { 22 + owner = "0intro"; 23 + repo = "wmii"; 24 + rev = "ff120c7fee6e1b3a30a4a800074394327fb1da9d"; 25 + hash = "sha256-KEmWnobpT/5TdgT2HGPCpG1duz9Q6Z6PFSEBs2Ce+7g="; 26 + }; 27 + 28 + # for dlopen-ing 29 + postPatch = '' 30 + substituteInPlace lib/libstuff/x11/xft.c --replace "libXft.so" "$(pkg-config --variable=libdir xft)/libXft.so.2" 31 + substituteInPlace cmd/wmii.sh.sh --replace "\$(which which)" "${which}/bin/which" 32 + ''; 33 + 34 + postConfigure = '' 35 + for file in $(grep -lr '#!.*sh'); do 36 + sed -i 's|#!.*sh|#!${dash}/bin/dash|' $file 37 + done 38 + 39 + cat <<EOF >> config.mk 40 + PREFIX = $out 41 + LIBIXP = ${libixp}/lib/libixp.a 42 + BINSH = ${dash}/bin/dash 43 + EOF 44 + ''; 45 + 46 + # Remove optional python2 functionality 47 + postInstall = '' 48 + rm -rf $out/lib/python* $out/etc/wmii-hg/python 49 + ''; 50 + 51 + nativeBuildInputs = [ pkg-config unzip ]; 52 + buildInputs = [ 53 + dash 54 + libX11 55 + libXext 56 + libXft 57 + libXinerama 58 + libXrandr 59 + libXrender 60 + libixp 61 + txt2tags 62 + which 63 + ]; 64 + 65 + meta = { 66 + homepage = "https://github.com/0intro/wmii"; 67 + description = "A small, scriptable window manager, with a 9P filesystem interface and an acme-like layout"; 68 + maintainers = with lib.maintainers; [ kovirobi ]; 69 + license = lib.licenses.mit; 70 + platforms = with lib.platforms; linux; 71 + }; 72 + }
-27
pkgs/development/libraries/libixp-hg/default.nix
··· 1 - { lib, stdenv, fetchurl, unzip, txt2tags }: 2 - 3 - stdenv.mkDerivation rec { 4 - rev = "148"; 5 - version = "hg-2012-12-02"; 6 - pname = "libixp"; 7 - 8 - src = fetchurl { 9 - url = "https://storage.googleapis.com/google-code-archive-source/v2/code.google.com/libixp/source-archive.zip"; 10 - sha256 = "0kcdvdcrkw6q39v563ncis6d7ini64xbgn5fd3b4aa95fp9sj3is"; 11 - }; 12 - 13 - configurePhase = '' 14 - sed -i -e "s|^PREFIX.*=.*$|PREFIX = $out|" config.mk 15 - ''; 16 - 17 - nativeBuildInputs = [ unzip ]; 18 - buildInputs = [ txt2tags ]; 19 - 20 - meta = { 21 - homepage = "http://repo.cat-v.org/libixp/"; # see also https://libs.suckless.org/deprecated/libixp 22 - description = "Portable, simple C-language 9P client and server libary"; 23 - maintainers = with lib.maintainers; [ kovirobi ]; 24 - license = lib.licenses.mit; 25 - platforms = with lib.platforms; unix; 26 - }; 27 - }
+28
pkgs/development/libraries/libixp/default.nix
··· 1 + { lib, stdenv, fetchFromGitHub, unzip, txt2tags }: 2 + 3 + stdenv.mkDerivation rec { 4 + pname = "libixp"; 5 + version = "unstable-2022-04-04"; 6 + 7 + src = fetchFromGitHub { 8 + owner = "0intro"; 9 + repo = "libixp"; 10 + rev = "ca2acb2988e4f040022f0e2094c69ab65fa6ec53"; 11 + hash = "sha256-S25DmXJ7fN0gXLV0IzUdz8hXPTYEHmaSG7Mnli6GQVc="; 12 + }; 13 + 14 + postConfigure = '' 15 + sed -i -e "s|^PREFIX.*=.*$|PREFIX = $out|" config.mk 16 + ''; 17 + 18 + nativeBuildInputs = [ unzip ]; 19 + buildInputs = [ txt2tags ]; 20 + 21 + meta = { 22 + homepage = "https://github.com/0intro/libixp"; 23 + description = "Portable, simple C-language 9P client and server libary"; 24 + maintainers = with lib.maintainers; [ kovirobi ]; 25 + license = lib.licenses.mit; 26 + platforms = with lib.platforms; unix; 27 + }; 28 + }
+2
pkgs/top-level/aliases.nix
··· 652 652 libgroove = throw "libgroove has been removed, because it depends on an outdated and insecure version of ffmpeg"; # Added 2022-01-21 653 653 libgumbo = throw "'libgumbo' has been renamed to/replaced by 'gumbo'"; # Converted to throw 2022-02-22 654 654 libintlOrEmpty = lib.optional (!stdenv.isLinux || stdenv.hostPlatform.libc != "glibc") gettext; # Added 2018-03-14 655 + libixp_hg = libixp; 655 656 libjpeg_drop = libjpeg_original; # Added 2020-06-05 656 657 libjson_rpc_cpp = throw "'libjson_rpc_cpp' has been renamed to/replaced by 'libjson-rpc-cpp'"; # Converted to throw 2022-02-22 657 658 libkml = throw "libkml has been removed from nixpkgs, as it's abandoned and no package needed it"; # Added 2021-11-09 ··· 1365 1366 winpdb = throw "winpdb has been removed: abandoned by upstream"; # Added 2022-04-22 1366 1367 winusb = throw "'winusb' has been renamed to/replaced by 'woeusb'"; # Converted to throw 2022-02-22 1367 1368 wireguard = throw "'wireguard' has been renamed to/replaced by 'wireguard-tools'"; # Converted to throw 2022-02-22 1369 + wmii_hg = wmii; 1368 1370 wxmupen64plus = throw "wxmupen64plus was removed because the upstream disappeared"; # Added 2022-01-31 1369 1371 1370 1372 ### X ###
+2 -2
pkgs/top-level/all-packages.nix
··· 19340 19340 19341 19341 libxsmm = callPackage ../development/libraries/libxsmm { }; 19342 19342 19343 - libixp_hg = callPackage ../development/libraries/libixp-hg { }; 19343 + libixp = callPackage ../development/libraries/libixp { }; 19344 19344 19345 19345 libwpe = callPackage ../development/libraries/libwpe { }; 19346 19346 ··· 30417 30417 30418 30418 wmderlandc = callPackage ../applications/window-managers/wmderlandc { }; 30419 30419 30420 - wmii_hg = callPackage ../applications/window-managers/wmii-hg { }; 30420 + wmii = callPackage ../applications/window-managers/wmii { }; 30421 30421 30422 30422 wofi = callPackage ../applications/misc/wofi { }; 30423 30423