1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-29 00:54:11 +00:00

dwm-git: drop

This commit is contained in:
06kellyjac 2021-02-07 12:24:58 +00:00
parent 159f0efe20
commit f5d906922b
3 changed files with 1 additions and 41 deletions

View file

@ -1,36 +0,0 @@
{ lib, stdenv, fetchgit, libX11, libXinerama, libXft, writeText, patches ? [ ]
, conf ? null }:
stdenv.mkDerivation {
pname = "dwm-git";
version = "20200303";
src = fetchgit {
url = "git://git.suckless.org/dwm";
rev = "61bb8b2241d4db08bea4261c82e27cd9797099e7";
sha256 = "1j3vly8dln35vnwnwwlaa8ql9fmnlmrv43jcyc8dbfhfxiw6f34l";
};
buildInputs = [ libX11 libXinerama libXft ];
prePatch = ''sed -i "s@/usr/local@$out@" config.mk'';
# Allow users set their own list of patches
inherit patches;
# Allow users to set the config.def.h file containing the configuration
postPatch = let
configFile = if lib.isDerivation conf || builtins.isPath conf then
conf
else
writeText "config.def.h" conf;
in lib.optionalString (conf != null) "cp ${configFile} config.def.h";
meta = with lib; {
homepage = "https://suckless.org/";
description = "Dynamic window manager for X, development version";
license = licenses.mit;
maintainers = with maintainers; [ xeji ];
platforms = platforms.unix;
};
}

View file

@ -150,6 +150,7 @@ mapAliases ({
dydisnix = throw "dydisnix has been removed."; # added 2021-01-27
dysnomia = throw "dysnomia has been removed."; # added 2021-01-27
dwarf_fortress = dwarf-fortress; # added 2016-01-23
dwm-git = throw "dwm-git has been removed from nixpkgs, as it had no updates for 2 years not serving it's purpose."; # added 2021-02-07
elasticmq = throw "elasticmq has been removed in favour of elasticmq-server-bin"; # added 2021-01-17
emacsPackagesGen = emacsPackagesFor; # added 2018-08-18
emacsPackagesNgGen = emacsPackagesFor; # added 2018-08-18

View file

@ -21682,11 +21682,6 @@ in
patches = config.dwm.patches or [];
};
dwm-git = callPackage ../applications/window-managers/dwm/git.nix {
patches = config.dwm.patches or [];
conf = config.dwm.conf or null;
};
dwm-status = callPackage ../applications/window-managers/dwm/dwm-status.nix { };
dynamips = callPackage ../applications/virtualization/dynamips { };