Merge master into staging-next

authored by

github-actions[bot] and committed by
GitHub
459eb2d9 e090cb1f

+104 -14
+11 -2
nixos/modules/services/x11/window-managers/herbstluftwm.nix
··· 11 services.xserver.windowManager.herbstluftwm = { 12 enable = mkEnableOption "herbstluftwm"; 13 14 configFile = mkOption { 15 default = null; 16 type = with types; nullOr path; ··· 31 (cfg.configFile != null) 32 ''-c "${cfg.configFile}"'' 33 ; 34 - in "${pkgs.herbstluftwm}/bin/herbstluftwm ${configFileClause}"; 35 }; 36 - environment.systemPackages = [ pkgs.herbstluftwm ]; 37 }; 38 }
··· 11 services.xserver.windowManager.herbstluftwm = { 12 enable = mkEnableOption "herbstluftwm"; 13 14 + package = mkOption { 15 + type = types.package; 16 + default = pkgs.herbstluftwm; 17 + defaultText = "pkgs.herbstluftwm"; 18 + description = '' 19 + Herbstluftwm package to use. 20 + ''; 21 + }; 22 + 23 configFile = mkOption { 24 default = null; 25 type = with types; nullOr path; ··· 40 (cfg.configFile != null) 41 ''-c "${cfg.configFile}"'' 42 ; 43 + in "${cfg.package}/bin/herbstluftwm ${configFileClause}"; 44 }; 45 + environment.systemPackages = [ cfg.package ]; 46 }; 47 }
+79
pkgs/applications/window-managers/dwl/default.nix
···
··· 1 + { stdenv 2 + , lib 3 + , fetchFromGitHub 4 + , pkg-config 5 + , libxcb 6 + , libxkbcommon 7 + , wayland 8 + , wayland-protocols 9 + , wlroots 10 + , enable-xwayland ? true, xwayland, libX11 11 + , patches ? [ ] 12 + , conf ? null 13 + , writeText 14 + }: 15 + 16 + stdenv.mkDerivation rec { 17 + pname = "dwl"; 18 + version = "0.1"; 19 + 20 + src = fetchFromGitHub { 21 + owner = "djpohly"; 22 + repo = pname; 23 + rev = "v${version}"; 24 + sha256 = "QoKaeF5DbSX0xciwc/0VKpubn/001cJjoZ+UzVDX4qE="; 25 + }; 26 + 27 + nativeBuildInputs = [ pkg-config ]; 28 + buildInputs = [ 29 + libxcb 30 + libxkbcommon 31 + wayland 32 + wayland-protocols 33 + wlroots 34 + ] ++ lib.optionals enable-xwayland [ xwayland libX11 ]; 35 + 36 + # Allow users to set their own list of patches 37 + inherit patches; 38 + 39 + prePatch = lib.optionalString enable-xwayland '' 40 + sed -i -e '$ s|^#||' config.mk 41 + ''; 42 + 43 + # Allow users to set an alternative config.def.h 44 + postPatch = let 45 + configFile = if lib.isDerivation conf || builtins.isPath conf 46 + then conf 47 + else writeText "config.def.h" conf; 48 + in lib.optionalString (conf != null) "cp ${configFile} config.def.h"; 49 + 50 + dontConfigure = true; 51 + 52 + installPhase = '' 53 + runHook preInstall 54 + install -d $out/bin 55 + install -m755 dwl $out/bin 56 + runHook postInstall 57 + ''; 58 + 59 + meta = with lib; { 60 + homepage = "https://github.com/djpohly/dwl/"; 61 + description = "Dynamic window manager for Wayland"; 62 + longDescription = '' 63 + dwl is a compact, hackable compositor for Wayland based on wlroots. It is 64 + intended to fill the same space in the Wayland world that dwm does in X11, 65 + primarily in terms of philosophy, and secondarily in terms of 66 + functionality. Like dwm, dwl is: 67 + 68 + - Easy to understand, hack on, and extend with patches 69 + - One C source file (or a very small number) configurable via config.h 70 + - Limited to 2000 SLOC to promote hackability 71 + - Tied to as few external dependencies as possible 72 + ''; 73 + license = licenses.gpl3Only; 74 + maintainers = with maintainers; [ AndersonTorres ]; 75 + platforms = with platforms; linux; 76 + }; 77 + } 78 + # TODO: custom patches from upstream website 79 + # TODO: investigate the modifications in the upstream unstable version
+3 -3
pkgs/development/tools/wire/default.nix
··· 2 3 buildGoModule rec { 4 pname = "wire"; 5 - version = "0.4.0"; 6 7 src = fetchFromGitHub { 8 owner = "google"; 9 repo = "wire"; 10 rev = "v${version}"; 11 - sha256 = "0fYXo/LnxKV/qoaP59XCyEtLLAysZm/WhRdm3RnLdvw="; 12 }; 13 14 - vendorSha256 = "ZFUX4LgPte6oAf94D82Man/P9VMpx+CDNCTMBwiy9Fc="; 15 16 subPackages = [ "cmd/wire" ]; 17
··· 2 3 buildGoModule rec { 4 pname = "wire"; 5 + version = "0.5.0"; 6 7 src = fetchFromGitHub { 8 owner = "google"; 9 repo = "wire"; 10 rev = "v${version}"; 11 + sha256 = "sha256-9xjymiyPFMKbysgZULmcBEMI26naUrLMgTA+d7Q+DA0="; 12 }; 13 14 + vendorSha256 = "sha256-ZFUX4LgPte6oAf94D82Man/P9VMpx+CDNCTMBwiy9Fc="; 15 16 subPackages = [ "cmd/wire" ]; 17
+2 -2
pkgs/development/web/lucky-cli/default.nix
··· 2 3 crystal.buildCrystalPackage rec { 4 pname = "lucky-cli"; 5 - version = "0.25.0"; 6 7 src = fetchFromGitHub { 8 owner = "luckyframework"; 9 repo = "lucky_cli"; 10 rev = "v${version}"; 11 - sha256 = "sha256-/DKDg2lJO6PikF7+kbwRX8ClS8rflH8KdrZNx7AR36g="; 12 }; 13 14 # the integration tests will try to clone a remote repos
··· 2 3 crystal.buildCrystalPackage rec { 4 pname = "lucky-cli"; 5 + version = "0.26.0"; 6 7 src = fetchFromGitHub { 8 owner = "luckyframework"; 9 repo = "lucky_cli"; 10 rev = "v${version}"; 11 + sha256 = "sha256-bZWyAZrAYG45fqmEQYXsk8YLKurpppaahOkALAQXGhY="; 12 }; 13 14 # the integration tests will try to clone a remote repos
+2 -2
pkgs/development/web/nodejs/v10.nix
··· 8 in 9 buildNodejs { 10 inherit enableNpm; 11 - version = "10.23.2"; 12 - sha256 = "1iyvs56x5zvvqmpr6kkamgpfj70n2rj1fh7afc7q8hj3bq7f1985"; 13 patches = lib.optional stdenv.isDarwin ./bypass-xcodebuild.diff; 14 }
··· 8 in 9 buildNodejs { 10 inherit enableNpm; 11 + version = "10.23.3"; 12 + sha256 = "13za06bz17k71gcxyrx41l2j8al1kr3j627b8m7kqrf3l7rdfnsi"; 13 patches = lib.optional stdenv.isDarwin ./bypass-xcodebuild.diff; 14 }
+2 -2
pkgs/development/web/nodejs/v14.nix
··· 8 in 9 buildNodejs { 10 inherit enableNpm; 11 - version = "14.15.4"; 12 - sha256 = "177cxp4fhmglyx035j8smiy1bp5fz6q2phlcl0a2mdbldkvfrdxd"; 13 patches = lib.optional stdenv.isDarwin ./bypass-xcodebuild.diff; 14 }
··· 8 in 9 buildNodejs { 10 inherit enableNpm; 11 + version = "14.15.5"; 12 + sha256 = "0nv576mlmnf8pfs6yn7vsvwyg0a0xvs7m9pm4k131zjqx501v6z1"; 13 patches = lib.optional stdenv.isDarwin ./bypass-xcodebuild.diff; 14 }
+3 -3
pkgs/os-specific/linux/compsize/default.nix
··· 2 3 stdenv.mkDerivation rec { 4 pname = "compsize"; 5 - version = "1.4"; 6 7 src = fetchFromGitHub { 8 owner = "kilobyte"; 9 repo = pname; 10 rev = "v${version}"; 11 - sha256 = "0gk2vibfl9fh7biznlbr3dwknrwbm5q5602q95jbjvk185g9z126"; 12 }; 13 14 buildInputs = [ btrfs-progs ]; ··· 23 meta = with lib; { 24 description = "btrfs: Find compression type/ratio on a file or set of files"; 25 homepage = "https://github.com/kilobyte/compsize"; 26 - license = licenses.gpl2; 27 maintainers = with maintainers; [ CrazedProgrammer ]; 28 platforms = platforms.linux; 29 };
··· 2 3 stdenv.mkDerivation rec { 4 pname = "compsize"; 5 + version = "1.5"; 6 7 src = fetchFromGitHub { 8 owner = "kilobyte"; 9 repo = pname; 10 rev = "v${version}"; 11 + sha256 = "sha256-OX41ChtHX36lVRL7O2gH21Dfw6GPPEClD+yafR/PFm8="; 12 }; 13 14 buildInputs = [ btrfs-progs ]; ··· 23 meta = with lib; { 24 description = "btrfs: Find compression type/ratio on a file or set of files"; 25 homepage = "https://github.com/kilobyte/compsize"; 26 + license = licenses.gpl2Plus; 27 maintainers = with maintainers; [ CrazedProgrammer ]; 28 platforms = platforms.linux; 29 };
+2
pkgs/top-level/all-packages.nix
··· 21688 inherit (gnome2) libgnomeui; 21689 }; 21690 21691 dwm = callPackage ../applications/window-managers/dwm { }; 21692 21693 dwm-status = callPackage ../applications/window-managers/dwm/dwm-status.nix { };
··· 21688 inherit (gnome2) libgnomeui; 21689 }; 21690 21691 + dwl = callPackage ../applications/window-managers/dwl { }; 21692 + 21693 dwm = callPackage ../applications/window-managers/dwm { }; 21694 21695 dwm-status = callPackage ../applications/window-managers/dwm/dwm-status.nix { };