Merge master into staging-next

This commit is contained in:
github-actions[bot] 2023-04-22 18:00:58 +00:00 committed by GitHub
commit c1093794b3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
39 changed files with 4060 additions and 1682 deletions

View File

@ -108,7 +108,7 @@ haskell.compiler.ghcjs ghcjs-8.10.7
Each of those compiler versions has a corresponding attribute set built using
it. However, the non-standard package sets are not tested regularly and, as a
result, contain fewer working packages. The corresponding package set for GHC
9.4.4 is `haskell.packages.ghc944`. In fact `haskellPackages` is just an alias
9.4.5 is `haskell.packages.ghc945`. In fact `haskellPackages` is just an alias
for `haskell.packages.ghc927`:
```console

View File

@ -26,7 +26,8 @@ log = logging.getLogger()
log.addHandler(logging.StreamHandler())
ROOT = Path(os.path.dirname(os.path.abspath(inspect.getfile(inspect.currentframe())))).parent.parent # type: ignore
from pluginupdate import Editor, update_plugins, FetchConfig, CleanEnvironment
import pluginupdate
from pluginupdate import update_plugins, FetchConfig, CleanEnvironment
PKG_LIST="maintainers/scripts/luarocks-packages.csv"
TMP_FILE="$(mktemp)"
@ -70,7 +71,7 @@ class LuaPlugin:
return self.name.replace(".", "-")
# rename Editor to LangUpdate/ EcosystemUpdater
class LuaEditor(Editor):
class LuaEditor(pluginupdate.Editor):
def get_current_plugins(self):
return []
@ -87,6 +88,9 @@ class LuaEditor(Editor):
luaPackages.append(plugin)
return luaPackages
def update(self, args):
update_plugins(self, args)
def generate_nix(
self,
results: List[Tuple[LuaPlugin, str]],
@ -203,7 +207,7 @@ def main():
default_out = ROOT.joinpath(GENERATED_NIXFILE)
)
editor.run()
editor.run()
if __name__ == "__main__":

View File

@ -553,7 +553,7 @@ in
${replaceSecretBin} '#internaltoken#' '${internalToken}' '${runConfig}'
${lib.optionalString cfg.lfs.enable ''
${replaceSecretBin} '#lfsjwtsecret#' '${lfsJwtSecret}' '${runConfig}'"
${replaceSecretBin} '#lfsjwtsecret#' '${lfsJwtSecret}' '${runConfig}'
''}
${lib.optionalString (cfg.mailerPasswordFile != null) ''

View File

@ -338,25 +338,6 @@ in {
};
config = mkIf (config.boot.initrd.enable && cfg.enable) {
assertions = map (name: {
assertion = config.boot.initrd.${name} == "";
message = ''
systemd stage 1 does not support 'boot.initrd.${name}'. Please
convert it to analogous systemd units in 'boot.initrd.systemd'.
Definitions:
${lib.concatMapStringsSep "\n" ({ file, ... }: "- ${file}") options.boot.initrd.${name}.definitionsWithLocations}
'';
}) [
"preFailCommands"
"preDeviceCommands"
"preLVMCommands"
"postDeviceCommands"
"postMountCommands"
"extraUtilsCommands"
"extraUtilsCommandsTest"
];
system.build = { inherit initialRamdisk; };
boot.initrd.availableKernelModules = [

View File

@ -475,10 +475,10 @@
elpaBuild {
pname = "boxy";
ename = "boxy";
version = "1.1.2";
version = "1.1.3";
src = fetchurl {
url = "https://elpa.gnu.org/packages/boxy-1.1.2.tar";
sha256 = "0gqfs8rwqb3clwqgvv9wibl2mfx0njkdcpwl662p4bwnapl4hsi9";
url = "https://elpa.gnu.org/packages/boxy-1.1.3.tar";
sha256 = "1z153lccj6rgix9kj5xk8xzdc44ixq8flia7ppjxpj7c0slr3sm2";
};
packageRequires = [ emacs ];
meta = {
@ -569,10 +569,10 @@
elpaBuild {
pname = "cape";
ename = "cape";
version = "0.13";
version = "0.15";
src = fetchurl {
url = "https://elpa.gnu.org/packages/cape-0.13.tar";
sha256 = "1rd4ja5dlg9jnh75h24a475cfn8v6icxljya190yfp44vwl5q9v0";
url = "https://elpa.gnu.org/packages/cape-0.15.tar";
sha256 = "1gy99a7zg8kbh7f4fqqq7cpwjmq7af066m6z6c1wrv438sfsd3kz";
};
packageRequires = [ compat emacs ];
meta = {
@ -832,10 +832,10 @@
elpaBuild {
pname = "consult";
ename = "consult";
version = "0.33";
version = "0.34";
src = fetchurl {
url = "https://elpa.gnu.org/packages/consult-0.33.tar";
sha256 = "0v84v61hc5w9z71i11bglp4m2fvjpp4l9xp9j731aj6psdhahd8a";
url = "https://elpa.gnu.org/packages/consult-0.34.tar";
sha256 = "12dljbs0x5gbayibzb0mb3bn78wlfx9078b8l0fyfpvbhd9lxhfl";
};
packageRequires = [ compat emacs ];
meta = {
@ -907,10 +907,10 @@
elpaBuild {
pname = "counsel";
ename = "counsel";
version = "0.13.4";
version = "0.14.0";
src = fetchurl {
url = "https://elpa.gnu.org/packages/counsel-0.13.4.tar";
sha256 = "094zfapfn1l8wjf3djkipk0d9nks0g77sbk107pfsbr3skkzh031";
url = "https://elpa.gnu.org/packages/counsel-0.14.0.tar";
sha256 = "03n1qk66dcbh9xlnlzpwkb441c2xdpfc7bzx4i2szw0xh4a6g5sj";
};
packageRequires = [ emacs ivy swiper ];
meta = {
@ -1312,10 +1312,10 @@
elpaBuild {
pname = "doc-toc";
ename = "doc-toc";
version = "1.1";
version = "1.2";
src = fetchurl {
url = "https://elpa.gnu.org/packages/doc-toc-1.1.tar";
sha256 = "145k0w84nda1gq5g8zd9510kxhqqqk72ladi3av6hpydvym6bszz";
url = "https://elpa.gnu.org/packages/doc-toc-1.2.tar";
sha256 = "0vz2jyqgx0sf3mhxnnm0fl395a9mcd9fg661pp3mz0pywpl3ymax";
};
packageRequires = [ emacs ];
meta = {
@ -1487,10 +1487,10 @@
elpaBuild {
pname = "eglot";
ename = "eglot";
version = "1.13";
version = "1.14";
src = fetchurl {
url = "https://elpa.gnu.org/packages/eglot-1.13.tar";
sha256 = "1yg6ddldd2qnnhlhc2r5rq7rjc0pigqjgzpvnqqb33nssw1lkw82";
url = "https://elpa.gnu.org/packages/eglot-1.14.tar";
sha256 = "0aw28gdx90k87czxf436r9bva58bal55cdnp90ga36c89wzdjznj";
};
packageRequires = [
eldoc
@ -1531,10 +1531,10 @@
elpaBuild {
pname = "eldoc";
ename = "eldoc";
version = "1.13.0";
version = "1.14.0";
src = fetchurl {
url = "https://elpa.gnu.org/packages/eldoc-1.13.0.tar";
sha256 = "0c05dzrs7vrhibj46jpz625482ah6xywji7way6wcvwc711y74fz";
url = "https://elpa.gnu.org/packages/eldoc-1.14.0.tar";
sha256 = "15bg61nbfb6l51frlsn430ga3vscns2651wvi6377vlyra7kgn39";
};
packageRequires = [ emacs ];
meta = {
@ -1591,10 +1591,10 @@
elpaBuild {
pname = "embark";
ename = "embark";
version = "0.21.1";
version = "0.22.1";
src = fetchurl {
url = "https://elpa.gnu.org/packages/embark-0.21.1.tar";
sha256 = "157km8r8lrvp81l90vqrhvisd794qf0rsqfazl5r47gg1ba7szv5";
url = "https://elpa.gnu.org/packages/embark-0.22.1.tar";
sha256 = "0dxbvrp057a0kyydnf8vfwnf4m3q3jy4180agcmizlr64lm2pmh1";
};
packageRequires = [ compat emacs ];
meta = {
@ -1636,10 +1636,10 @@
elpaBuild {
pname = "ement";
ename = "ement";
version = "0.8.1";
version = "0.8.3";
src = fetchurl {
url = "https://elpa.gnu.org/packages/ement-0.8.1.tar";
sha256 = "0h5xqi5szmfxrs6hl85vkd363mrkrzi1niph3v3aybisffxlfyxg";
url = "https://elpa.gnu.org/packages/ement-0.8.3.tar";
sha256 = "074ah73y2v285rlgzn3q2kcqmbra2qdz4hmjs8xd5hpk7za53c7w";
};
packageRequires = [
emacs
@ -1665,10 +1665,10 @@
elpaBuild {
pname = "emms";
ename = "emms";
version = "14";
version = "15";
src = fetchurl {
url = "https://elpa.gnu.org/packages/emms-14.tar";
sha256 = "0525vmi397q604z8i35zld3c4fkwbvxwir5lf4f1ji1bbvkzqavc";
url = "https://elpa.gnu.org/packages/emms-15.tar";
sha256 = "0kd9qx93cgcxyqsnbp95xx414s08rd5bb35aif3c7qyab5w05yi6";
};
packageRequires = [ cl-lib nadvice seq ];
meta = {
@ -1880,10 +1880,10 @@
elpaBuild {
pname = "flymake";
ename = "flymake";
version = "1.2.2";
version = "1.3.4";
src = fetchurl {
url = "https://elpa.gnu.org/packages/flymake-1.2.2.tar";
sha256 = "04pa6mayyqrhrijk0rmmrd7k7al9caqyrb5qzkzwbna9ykb1j4zp";
url = "https://elpa.gnu.org/packages/flymake-1.3.4.tar";
sha256 = "0gm08rj83if9cs0jz7zig363zfqp809j6lgaqdb0apzh48fbznkd";
};
packageRequires = [ eldoc emacs project ];
meta = {
@ -2489,10 +2489,10 @@
elpaBuild {
pname = "ivy";
ename = "ivy";
version = "0.13.4";
version = "0.14.0";
src = fetchurl {
url = "https://elpa.gnu.org/packages/ivy-0.13.4.tar";
sha256 = "0qpza1c45mr8fcpnm32cck4v22fnzz1yb7kww05rzgq1k9iivx5v";
url = "https://elpa.gnu.org/packages/ivy-0.14.0.tar";
sha256 = "1fzl7xcmxjg005g4676ac3jcshgmcmdr81ywmxvjcs8wj71v56jv";
};
packageRequires = [ emacs ];
meta = {
@ -2504,10 +2504,10 @@
elpaBuild {
pname = "ivy-avy";
ename = "ivy-avy";
version = "0.13.4";
version = "0.14.0";
src = fetchurl {
url = "https://elpa.gnu.org/packages/ivy-avy-0.13.4.tar";
sha256 = "1q5caxm4rnh4jy5n88dhkdbx1afsshmfki5dl8xsqbdb3y0zq7yi";
url = "https://elpa.gnu.org/packages/ivy-avy-0.14.0.tar";
sha256 = "0gjpvjahhkxsakqrcni78v71fsrh3f0jrs55a4kqc5hv6qyn8hk9";
};
packageRequires = [ avy emacs ivy ];
meta = {
@ -2534,10 +2534,10 @@
elpaBuild {
pname = "ivy-hydra";
ename = "ivy-hydra";
version = "0.13.5";
version = "0.14.0";
src = fetchurl {
url = "https://elpa.gnu.org/packages/ivy-hydra-0.13.5.tar";
sha256 = "06rln9bnq5hli5rqlm47fb68b8llpqrmzwqqv4rn7mx3854i9a5x";
url = "https://elpa.gnu.org/packages/ivy-hydra-0.14.0.tar";
sha256 = "1gsjr2yny9qcj56cb4xy47la11z0lszq0f2qws0yzyh02ng30k1n";
};
packageRequires = [ emacs hydra ivy ];
meta = {
@ -2614,10 +2614,10 @@
elpaBuild {
pname = "jinx";
ename = "jinx";
version = "0.4";
version = "0.7";
src = fetchurl {
url = "https://elpa.gnu.org/packages/jinx-0.4.tar";
sha256 = "1jxgj419rc4aha133c6zggzgzvr2zdx6mi6x4ipydk3x2l19k5lr";
url = "https://elpa.gnu.org/packages/jinx-0.7.tar";
sha256 = "0kfi5sjzrbxkbcql3h5qi0gd4dsbrxbjg5wldid8vjgqm9cnzvw4";
};
packageRequires = [ compat emacs ];
meta = {
@ -2644,10 +2644,10 @@
elpaBuild {
pname = "js2-mode";
ename = "js2-mode";
version = "20220710";
version = "20230408";
src = fetchurl {
url = "https://elpa.gnu.org/packages/js2-mode-20220710.tar";
sha256 = "1wvkqkfbnk3qanbz9167z8dik3667ihgyca8brbkh2b1ld10f9yq";
url = "https://elpa.gnu.org/packages/js2-mode-20230408.tar";
sha256 = "1rzlbqddvaa51dz13did5ylj0ggwqnl0wii8735sylfcv6b82241";
};
packageRequires = [ cl-lib emacs ];
meta = {
@ -2959,10 +2959,10 @@
elpaBuild {
pname = "marginalia";
ename = "marginalia";
version = "1.1";
version = "1.2";
src = fetchurl {
url = "https://elpa.gnu.org/packages/marginalia-1.1.tar";
sha256 = "1pldbgsjs9xsrp3y9rp8yz8p67xbhb3gy80sv5q215f6mwhphjqm";
url = "https://elpa.gnu.org/packages/marginalia-1.2.tar";
sha256 = "1hhq09ghc8pcphgjhp5mc81i7j4xkkf5sc0swd6xr6mrxd044fnj";
};
packageRequires = [ compat emacs ];
meta = {
@ -3264,10 +3264,10 @@
elpaBuild {
pname = "nano-agenda";
ename = "nano-agenda";
version = "0.2.1";
version = "0.3";
src = fetchurl {
url = "https://elpa.gnu.org/packages/nano-agenda-0.2.1.tar";
sha256 = "0j29fwc273mjdlj83h1a46sb7z3j066qqnp2i78kn2pmgjg27szb";
url = "https://elpa.gnu.org/packages/nano-agenda-0.3.tar";
sha256 = "1ip21vjapcrla6j0qbjkcrdhs6xq773cswmwbhnsxb3xpzsa1z7x";
};
packageRequires = [ emacs ];
meta = {
@ -3523,10 +3523,10 @@
elpaBuild {
pname = "org";
ename = "org";
version = "9.6.2";
version = "9.6.4";
src = fetchurl {
url = "https://elpa.gnu.org/packages/org-9.6.2.tar";
sha256 = "0sgf2c6pl3ldyv47kpz0180frayxipv6z9zafmdd97bkbl82aarz";
url = "https://elpa.gnu.org/packages/org-9.6.4.tar";
sha256 = "1g0yi308bviw9fypikx67n2g4hvr63cin4pxnhv8s70np7754kf2";
};
packageRequires = [ emacs ];
meta = {
@ -3688,10 +3688,10 @@
elpaBuild {
pname = "osm";
ename = "osm";
version = "0.10";
version = "0.11";
src = fetchurl {
url = "https://elpa.gnu.org/packages/osm-0.10.tar";
sha256 = "1lpbc98ais0wrrpj9cmra3ha8jnja4d3pqzw1kdml91drhqifpmw";
url = "https://elpa.gnu.org/packages/osm-0.11.tar";
sha256 = "17bll1p3s5gkhaiisab8w5q9ygsmqgmzfq5irghl71vlac0r2gsk";
};
packageRequires = [ compat emacs ];
meta = {
@ -3838,10 +3838,10 @@
elpaBuild {
pname = "phps-mode";
ename = "phps-mode";
version = "0.4.44";
version = "0.4.46";
src = fetchurl {
url = "https://elpa.gnu.org/packages/phps-mode-0.4.44.tar";
sha256 = "0xzhigj8dvhaqj87wk1z9lhbhjsk944ydp4h6pn4lqa9lgb0kfkl";
url = "https://elpa.gnu.org/packages/phps-mode-0.4.46.tar";
sha256 = "128pbn2ndqwvaxxagwz23xa9adr3m5dac1cid7dichddsis849z8";
};
packageRequires = [ emacs ];
meta = {
@ -3868,10 +3868,10 @@
elpaBuild {
pname = "plz";
ename = "plz";
version = "0.4";
version = "0.5.4";
src = fetchurl {
url = "https://elpa.gnu.org/packages/plz-0.4.tar";
sha256 = "05139hmgh35qibb6i9qdyxalw66ghcpvpqbs4ai8x98s8c5vl509";
url = "https://elpa.gnu.org/packages/plz-0.5.4.tar";
sha256 = "0dmjza49135x3baczk6q0lv9ib8lvfkdbbw4ps5hkr45wfxr64vc";
};
packageRequires = [ emacs ];
meta = {
@ -4003,10 +4003,10 @@
elpaBuild {
pname = "pyim";
ename = "pyim";
version = "5.3.1";
version = "5.3.2";
src = fetchurl {
url = "https://elpa.gnu.org/packages/pyim-5.3.1.tar";
sha256 = "0lkshw52xdrcbdrgmjb665bpyga61qlk29rrzrrj7s82n09bq9kv";
url = "https://elpa.gnu.org/packages/pyim-5.3.2.tar";
sha256 = "13irkmhlfq99glyy0vhj559si5672cqcysjxlxn7lvckxr298vzc";
};
packageRequires = [ async emacs xr ];
meta = {
@ -4108,10 +4108,10 @@
elpaBuild {
pname = "rcirc-color";
ename = "rcirc-color";
version = "0.4.4";
version = "0.4.5";
src = fetchurl {
url = "https://elpa.gnu.org/packages/rcirc-color-0.4.4.tar";
sha256 = "1jwx9fd3m7zl6c7q91v185iy7b8q1bncvif80xi6hbi2srz9rlfg";
url = "https://elpa.gnu.org/packages/rcirc-color-0.4.5.tar";
sha256 = "0j2bcx2dplcy5zgh9zdhla8i12rq916ilbnw4ns83xdg7k0dwncf";
};
packageRequires = [ emacs ];
meta = {
@ -4684,10 +4684,10 @@
elpaBuild {
pname = "sml-mode";
ename = "sml-mode";
version = "6.11";
version = "6.12";
src = fetchurl {
url = "https://elpa.gnu.org/packages/sml-mode-6.11.tar";
sha256 = "05vga709kphbx6jacqh57cq5gyicwrxxf81gask5lbq7vzfzlbfc";
url = "https://elpa.gnu.org/packages/sml-mode-6.12.tar";
sha256 = "19wyxsnw60lmjbb7ijislpv9vzk9996rh1b0iw7wyrqszfxy2p20";
};
packageRequires = [ cl-lib emacs ];
meta = {
@ -4883,10 +4883,10 @@
elpaBuild {
pname = "substitute";
ename = "substitute";
version = "0.1.7";
version = "0.1.8";
src = fetchurl {
url = "https://elpa.gnu.org/packages/substitute-0.1.7.tar";
sha256 = "1mgpmc5ndsqv32zlsz96gnahg2x2329r0mxn45ajqsjf3b4pyxi6";
url = "https://elpa.gnu.org/packages/substitute-0.1.8.tar";
sha256 = "1xa1ny4iblifrylxkj2i99vnayrxh669dlbpcbk4rb7alvv1npnz";
};
packageRequires = [ emacs ];
meta = {
@ -4958,10 +4958,10 @@
elpaBuild {
pname = "swiper";
ename = "swiper";
version = "0.13.4";
version = "0.14.0";
src = fetchurl {
url = "https://elpa.gnu.org/packages/swiper-0.13.4.tar";
sha256 = "197pq2cvvskib87aky907wv2am55vilr7y5dabmmm07a8vr9py0v";
url = "https://elpa.gnu.org/packages/swiper-0.14.0.tar";
sha256 = "1p2qil6gj4y8y3ydqs8pbxn8j16q9r42nnc2f61c30hws504pkms";
};
packageRequires = [ emacs ivy ];
meta = {
@ -4969,6 +4969,21 @@
license = lib.licenses.free;
};
}) {};
switchy-window = callPackage ({ compat, elpaBuild, emacs, fetchurl, lib }:
elpaBuild {
pname = "switchy-window";
ename = "switchy-window";
version = "1.3";
src = fetchurl {
url = "https://elpa.gnu.org/packages/switchy-window-1.3.tar";
sha256 = "1ax63fksjmjsgai7xxzm1mj5bhbc7dzk7c389abd280g637z2cy7";
};
packageRequires = [ compat emacs ];
meta = {
homepage = "https://elpa.gnu.org/packages/switchy-window.html";
license = lib.licenses.free;
};
}) {};
sxhkdrc-mode = callPackage ({ elpaBuild, emacs, fetchurl, lib }:
elpaBuild {
pname = "sxhkdrc-mode";
@ -5282,10 +5297,10 @@
elpaBuild {
pname = "triples";
ename = "triples";
version = "0.2.6";
version = "0.2.7";
src = fetchurl {
url = "https://elpa.gnu.org/packages/triples-0.2.6.tar";
sha256 = "09vr8r78vpycpxglacbgy2fy01khmvhh42panilwz2n9nhjy6xzm";
url = "https://elpa.gnu.org/packages/triples-0.2.7.tar";
sha256 = "1p980liprsnir4wqvf0ixzykv61iaaprkc6wc0vi7a4q2pj7ra6f";
};
packageRequires = [ emacs seq ];
meta = {

View File

@ -13,8 +13,6 @@ in
agda2-mode = callPackage ./manual-packages/agda2-mode { };
bqn-mode = callPackage ./manual-packages/bqn-mode { };
cask = callPackage ./manual-packages/cask { };
control-lock = callPackage ./manual-packages/control-lock { };
@ -49,6 +47,8 @@ in
jam-mode = callPackage ./manual-packages/jam-mode { };
ligo-mode = callPackage ./manual-packages/ligo-mode { };
llvm-mode = callPackage ./manual-packages/llvm-mode { };
lsp-bridge = callPackage ./manual-packages/lsp-bridge {

View File

@ -1,22 +0,0 @@
{ lib
, trivialBuild
, fetchFromGitHub
}:
trivialBuild {
pname = "bqn-mode";
version = "0.pre+date=2022-09-14";
src = fetchFromGitHub {
owner = "museoa";
repo = "bqn-mode";
rev = "3e3d4758c0054b35f047bf6d9e03b1bea425d013";
hash = "sha256:0pz3m4jp4dn8bsmc9n51sxwdk6g52mxb6y6f6a4g4hggb35shy2a";
};
meta = with lib; {
description = "Emacs mode for BQN programming language";
license = licenses.gpl3Only;
maintainers = with maintainers; [ sternenseemann AndersonTorres ];
};
}

View File

@ -0,0 +1,43 @@
{ lib
, melpaBuild
, fetchFromGitLab
, writeText
, unstableGitUpdater
}:
let
pname = "ligo-mode";
version = "20230302.1616";
commit = "d1073474efc9e0a020a4bcdf5e0c12a217265a3a";
in
melpaBuild {
inherit pname version commit;
src = fetchFromGitLab {
owner = "ligolang";
repo = "ligo";
rev = commit;
hash = "sha256-wz9DF9mqi8WUt1Ebd+ueUTA314rKkdbjmoWF8cKuS8I=";
};
packageRequires = [ ];
buildInputs = [ ];
checkInputs = [ ];
recipe = writeText "recipe" ''
(ligo-mode :fetcher gitlab
:repo "ligolang/ligo"
:files ("tools/emacs/ligo-mode.el"))
'';
passthru.updateScript = unstableGitUpdater { };
meta = with lib; {
description = "A blazingly fast LSP client for Emacs";
homepage = "https://github.com/manateelazycat/lsp-bridge";
license = licenses.gpl3Only;
maintainers = with maintainers; [ ];
};
}

View File

@ -125,7 +125,7 @@ let
ligo-mode =
if super.ligo-mode.version == "0.3"
then markBroken super.ligo-mode
else super.ligo-mode;
else null; # auto-updater is failing; use manual one
# upstream issue: missing file header
link = markBroken super.link;

View File

@ -156,10 +156,10 @@
elpaBuild {
pname = "autothemer";
ename = "autothemer";
version = "0.2.14";
version = "0.2.18";
src = fetchurl {
url = "https://elpa.nongnu.org/nongnu/autothemer-0.2.14.tar";
sha256 = "14y8b807d75qym1qviiqy1s85495z9g7jvvfqqz42ngdnk87l3qb";
url = "https://elpa.nongnu.org/nongnu/autothemer-0.2.18.tar";
sha256 = "1gn7n8xd07sks49xirwah1y039s2hn02p0y1j4lmqh7m47l0fvl2";
};
packageRequires = [ dash emacs ];
meta = {
@ -261,10 +261,10 @@
elpaBuild {
pname = "buttercup";
ename = "buttercup";
version = "1.30";
version = "1.31";
src = fetchurl {
url = "https://elpa.nongnu.org/nongnu/buttercup-1.30.tar";
sha256 = "152w8f6yy7jd6vawq4dh3fnmlxm2x3i99w9hd6kv4bs7c2y2dkj8";
url = "https://elpa.nongnu.org/nongnu/buttercup-1.31.tar";
sha256 = "1aw9k3dfscqpq2jkk1yqh6i3682yjs85fnm7rzc5i9qawrl9db6h";
};
packageRequires = [ emacs ];
meta = {
@ -605,10 +605,10 @@
elpaBuild {
pname = "eat";
ename = "eat";
version = "0.6.1";
version = "0.8";
src = fetchurl {
url = "https://elpa.nongnu.org/nongnu/eat-0.6.1.tar";
sha256 = "0gs7cg4liz2qy3x82z8f5hddixvsh5nqvc3xkzvqqvvrwqbhf6za";
url = "https://elpa.nongnu.org/nongnu/eat-0.8.tar";
sha256 = "1nvwd8iryjdcbm3v2xjgnf4ifcbs4d8hxn7xydxw6i7c5l8vya9f";
};
packageRequires = [ emacs ];
meta = {
@ -1874,10 +1874,10 @@
elpaBuild {
pname = "minibar";
ename = "minibar";
version = "0.2";
version = "0.3";
src = fetchurl {
url = "https://elpa.nongnu.org/nongnu/minibar-0.2.tar";
sha256 = "0idb91vp0pbichv2gfs314av6cgx5mkrn9w3yxwj81if1bvsmw0h";
url = "https://elpa.nongnu.org/nongnu/minibar-0.3.tar";
sha256 = "1mgkkjaav9hkg1c0lvn887armxv18hn99zd3dy1dx2lnjv2kfdcp";
};
packageRequires = [ emacs ];
meta = {
@ -2728,10 +2728,10 @@
elpaBuild {
pname = "subed";
ename = "subed";
version = "1.2.1";
version = "1.2.2";
src = fetchurl {
url = "https://elpa.nongnu.org/nongnu/subed-1.2.1.tar";
sha256 = "09a3ggnqsm4lxqhj0z9z3df6qzibvv9lpwqij2gpiifbb4lkvj4b";
url = "https://elpa.nongnu.org/nongnu/subed-1.2.2.tar";
sha256 = "1xlh4kqa8516rvmzy67pzs0ghk9rc919nq5b2sywd5mvzi5spxnh";
};
packageRequires = [ emacs ];
meta = {
@ -2989,10 +2989,10 @@
elpaBuild {
pname = "undo-fu-session";
ename = "undo-fu-session";
version = "0.4";
version = "0.5";
src = fetchurl {
url = "https://elpa.nongnu.org/nongnu/undo-fu-session-0.4.tar";
sha256 = "1p9qr9hzqiv1kgnglskny7m7lh2f8r4l0cf53431nf8hrp806qah";
url = "https://elpa.nongnu.org/nongnu/undo-fu-session-0.5.tar";
sha256 = "002srqa08kpgzsp171n88k1bz7qin16lpr7yafg13i29x37v6yzq";
};
packageRequires = [ emacs ];
meta = {
@ -3197,10 +3197,10 @@
elpaBuild {
pname = "xah-fly-keys";
ename = "xah-fly-keys";
version = "23.8.20230331200914";
version = "23.10.20230407101020";
src = fetchurl {
url = "https://elpa.nongnu.org/nongnu/xah-fly-keys-23.8.20230331200914.tar";
sha256 = "0zh7h04zy014ss36bzz820574jj2xnx7yb3rnl02m9vynrss2i3m";
url = "https://elpa.nongnu.org/nongnu/xah-fly-keys-23.10.20230407101020.tar";
sha256 = "1gdzl5s80hhfnskngjsw1wy18rs6k5hr5cvnj7pdli9ai10alx9y";
};
packageRequires = [ emacs ];
meta = {

View File

@ -9966,6 +9966,18 @@ final: prev:
meta.homepage = "https://github.com/moll/vim-bbye/";
};
vim-be-good = buildVimPluginFrom2Nix {
pname = "vim-be-good";
version = "2022-11-08";
src = fetchFromGitHub {
owner = "ThePrimeagen";
repo = "vim-be-good";
rev = "c290810728a4f75e334b07dc0f3a4cdea908d351";
sha256 = "1xnydbqyjrmwj7cpj3qcr1icg8v75ny847i1qpj94dafjzzmi4wl";
};
meta.homepage = "https://github.com/ThePrimeagen/vim-be-good/";
};
vim-beancount = buildVimPluginFrom2Nix {
pname = "vim-beancount";
version = "2023-01-02";

View File

@ -839,6 +839,7 @@ https://github.com/benizi/vim-automkdir/,,
https://github.com/gioele/vim-autoswap/,,
https://github.com/bazelbuild/vim-bazel/,,
https://github.com/moll/vim-bbye/,,
https://github.com/ThePrimeagen/vim-be-good/,HEAD,
https://github.com/nathangrigg/vim-beancount/,,
https://github.com/sheoak/vim-bepoptimist/,HEAD,
https://github.com/ntpeters/vim-better-whitespace/,,

View File

@ -1,32 +1,49 @@
{ lib, stdenv, fetchurl, libSM, libX11, libICE, SDL, alsa-lib, gcc-unwrapped, libXext }:
{ lib
, stdenv
, fetchurl
, SDL
, alsa-lib
, gcc-unwrapped
, libICE
, libSM
, libX11
, libXext
}:
stdenv.mkDerivation rec {
stdenv.mkDerivation (finalAttrs: {
pname = "atari++";
version = "1.83";
version = "1.85";
src = fetchurl {
url = "http://www.xl-project.com/download/${pname}_${version}.tar.gz";
sha256 = "04fm2ic2qi4a52mi72wcaxyrpll4k8vvchx3qrik8rhg3jrxgm47";
url = "http://www.xl-project.com/download/atari++_${finalAttrs.version}.tar.gz";
hash = "sha256-LbGTVUs1XXR+QfDhCxX9UMkQ3bnk4z0ckl94Cwwe9IQ=";
};
buildInputs = [ libSM libX11 SDL libICE alsa-lib gcc-unwrapped libXext ];
buildInputs = [
SDL
alsa-lib
gcc-unwrapped
libICE
libSM
libX11
libXext
];
postFixup = ''
patchelf --set-rpath ${lib.makeLibraryPath buildInputs} "$out/bin/atari++"
patchelf --set-rpath ${lib.makeLibraryPath finalAttrs.buildInputs} "$out/bin/atari++"
'';
meta = with lib; {
homepage = "http://www.xl-project.com/";
description = "An enhanced, cycle-accurated Atari emulator";
longDescription = ''
The Atari++ Emulator is a Unix based emulator of the Atari eight
bit computers, namely the Atari 400 and 800, the Atari 400XL,
800XL and 130XE, and the Atari 5200 game console. The emulator
is auto-configurable and will compile on a variety of systems
(Linux, Solaris, Irix).
The Atari++ Emulator is a Unix based emulator of the Atari eight bit
computers, namely the Atari 400 and 800, the Atari 400XL, 800XL and 130XE,
and the Atari 5200 game console. The emulator is auto-configurable and
will compile on a variety of systems (Linux, Solaris, Irix).
'';
maintainers = [ maintainers.AndersonTorres ];
license = licenses.gpl2Plus;
platforms = lib.platforms.linux;
};
}
})

View File

@ -30,26 +30,26 @@
, unrarSupport ? false
}:
stdenv.mkDerivation rec {
stdenv.mkDerivation (finalAttrs: {
pname = "calibre";
version = "6.16.0";
src = fetchurl {
url = "https://download.calibre-ebook.com/${version}/${pname}-${version}.tar.xz";
url = "https://download.calibre-ebook.com/${finalAttrs.version}/calibre-${finalAttrs.version}.tar.xz";
hash = "sha256-2Lhp9PBZ19svq26PoldJ1H8tmt95MwY0l7+g6mPUvFI=";
};
# https://sources.debian.org/patches/calibre/${version}+dfsg-1
# https://sources.debian.org/patches/calibre/${finalAttrs.version}+dfsg-1
patches = [
# allow for plugin update check, but no calibre version check
(fetchpatch {
name = "0001-only-plugin-update.patch";
url = "https://raw.githubusercontent.com/debian-calibre/calibre/debian/${version}-1/debian/patches/0001-only-plugin-update.patch";
url = "https://raw.githubusercontent.com/debian-calibre/calibre/debian/${finalAttrs.version}-1/debian/patches/0001-only-plugin-update.patch";
hash = "sha256-uL1mSjgCl5ZRLbSuKxJM6XTfvVwog70F7vgKtQzQNEQ=";
})
(fetchpatch {
name = "0007-Hardening-Qt-code.patch";
url = "https://raw.githubusercontent.com/debian-calibre/calibre/debian/${version}-1/debian/patches/0007-Hardening-Qt-code.patch";
url = "https://raw.githubusercontent.com/debian-calibre/calibre/debian/${finalAttrs.version}-1/debian/patches/0007-Hardening-Qt-code.patch";
hash = "sha256-9P1kGrQbWAWDzu5EUiQr7TiCPHRWUA8hxPpEvFpK20k=";
})
]
@ -191,7 +191,7 @@ stdenv.mkDerivation rec {
disallowedReferences = [ podofo.dev ];
meta = with lib; {
meta = {
homepage = "https://calibre-ebook.com";
description = "Comprehensive e-book software";
longDescription = ''
@ -200,8 +200,12 @@ stdenv.mkDerivation rec {
it takes things a step beyond normal e-book software. Its also completely
free and open source and great for both casual users and computer experts.
'';
license = with licenses; if unrarSupport then unfreeRedistributable else gpl3Plus;
maintainers = with maintainers; [ pSub AndersonTorres ];
platforms = platforms.linux;
changelog = "https://github.com/kovidgoyal/calibre/releases/tag/v${finalAttrs.version}";
license = if unrarSupport
then lib.licenses.unfreeRedistributable
else lib.licenses.gpl3Plus;
maintainers = with lib.maintainers; [ pSub AndersonTorres ];
platforms = lib.platforms.unix;
broken = stdenv.isDarwin;
};
}
})

View File

@ -3,8 +3,9 @@
, fetchFromGitHub
, libxkbcommon
, pkg-config
, wayland
, wayland-protocols
, wayland-scanner
, wayland
}:
stdenv.mkDerivation rec {
@ -18,14 +19,18 @@ stdenv.mkDerivation rec {
hash = "sha256-jvGm2gFdMS61otETF7gOEpYn6IuLfqI95IpEVfIv+C4=";
};
nativeBuildInputs = [
depsBuildBuild = [
pkg-config
];
nativeBuildInputs = [
wayland-protocols
wayland-scanner
];
buildInputs = [
libxkbcommon
wayland
wayland-protocols
];
dontConfigure = true;
@ -37,6 +42,8 @@ stdenv.mkDerivation rec {
install -D -m 644 README.md -t $out/share/doc/${pname}-${version}/
'';
enableParallelBuilding = true;
meta = with lib; {
homepage = "https://github.com/ii8/havoc";
description = "A minimal terminal emulator for Wayland";

View File

@ -5,6 +5,7 @@
, curl
, darwin
, libgit2
, gtk3
, libssh2
, openssl
, sqlite
@ -145,6 +146,11 @@ in
buildInputs = [ gdk-pixbuf ];
};
gtk-sys = attrs: {
buildInputs = [ gtk3 ];
nativeBuildInputs = [ pkg-config ];
};
gtk4-sys = attrs: {
buildInputs = [ gtk4 ];
nativeBuildInputs = [ pkg-config ];

View File

@ -27,11 +27,11 @@
stdenv.mkDerivation rec {
pname = "gnome-maps";
version = "44.0";
version = "44.1";
src = fetchurl {
url = "mirror://gnome/sources/${pname}/${lib.versions.major version}/${pname}-${version}.tar.xz";
sha256 = "sha256-YAPrc92f0mm0qRvtm/A+6askDFEk7tq/KL4io/77pZU=";
sha256 = "sha256-tmeG6mr/kRH3WDVu4qEV9jR9Q3lTt77Kq+FDORnzGf8=";
};
doCheck = true;

View File

@ -49,6 +49,7 @@
, polkit
, python3
, samba
, shadow
, shared-mime-info
, sound-theme-freedesktop
, tracker
@ -64,18 +65,18 @@
stdenv.mkDerivation rec {
pname = "gnome-control-center";
version = "44.0";
version = "44.1";
src = fetchurl {
url = "mirror://gnome/sources/${pname}/${lib.versions.major version}/${pname}-${version}.tar.xz";
sha256 = "sha256-vb+rTPI9BXNAltsfn2+sfu0/y52jK/Sx8m7ToE5avGY=";
sha256 = "sha256-er02UBjihnne9gpezTBJ2w+4XebaSaltrdIfuo2wAuc=";
};
patches = [
(substituteAll {
src = ./paths.patch;
gcm = gnome-color-manager;
inherit glibc libgnomekbd tzdata;
inherit glibc libgnomekbd tzdata shadow;
inherit cups networkmanagerapplet;
})
];

View File

@ -166,6 +166,19 @@ index 86f53d4fc..0b052856f 100644
argv[1] = NULL;
envp = g_get_environ ();
diff --git a/panels/user-accounts/user-utils.c b/panels/user-accounts/user-utils.c
index 83d4cd091..e8784c722 100644
--- a/panels/user-accounts/user-utils.c
+++ b/panels/user-accounts/user-utils.c
@@ -486,7 +486,7 @@ is_valid_username_async (const gchar *username,
* future, so it would be nice to have some official way for this
* instead of relying on the current "--login" implementation.
*/
- argv[0] = "/usr/sbin/usermod";
+ argv[0] = "@shadow@/bin/usermod";
argv[1] = "--login";
argv[2] = data->username;
argv[3] = "--";
diff --git a/tests/datetime/test-endianess.c b/tests/datetime/test-endianess.c
index 9cb92007a..84d2f0fa3 100644
--- a/tests/datetime/test-endianess.c

View File

@ -12,7 +12,6 @@
, glib
, libnotify
, libgnomekbd
, lcms2
, libpulseaudio
, alsa-lib
, libcanberra-gtk3
@ -42,11 +41,11 @@
stdenv.mkDerivation rec {
pname = "gnome-settings-daemon";
version = "44.0";
version = "44.1";
src = fetchurl {
url = "mirror://gnome/sources/gnome-settings-daemon/${lib.versions.major version}/${pname}-${version}.tar.xz";
sha256 = "tBetocE0KozymDfs8t7Jvc23VCNbGhYbZDXD0R8hCZk=";
sha256 = "EmU7ctgfFRMApH1wCslBCsG8zjjoPxvdGc3tKTKUOYk=";
};
patches = [
@ -84,7 +83,6 @@ stdenv.mkDerivation rec {
libnotify
libgnomekbd # for org.gnome.libgnomekbd.keyboard schema
gnome-desktop
lcms2
libpulseaudio
alsa-lib
libcanberra-gtk3

View File

@ -45,11 +45,11 @@ in
stdenv.mkDerivation rec {
pname = "gnome-software";
version = "44.0";
version = "44.1";
src = fetchurl {
url = "mirror://gnome/sources/gnome-software/${lib.versions.major version}/${pname}-${version}.tar.xz";
sha256 = "YZcZ+VKeC7Ha0w+tu3gNex2ZlAptsfcd9RvHNzQYMK8=";
sha256 = "ncZVFRLPCibQPg159JSHCmkW1DwU2CGZxDoR2cwK1ao=";
};
patches = [

View File

@ -1,6 +1,7 @@
{ lib
, stdenv
, fetchurl
, fetchpatch2
, meson
, ninja
, pkg-config
@ -56,6 +57,14 @@ stdenv.mkDerivation rec {
src = ./fix-paths.patch;
inherit tracker;
})
# Fix crash during search after "copy"/"cut" action selection
# Can be removed in 44.1
# https://gitlab.gnome.org/GNOME/nautilus/-/merge_requests/1155
(fetchpatch2 {
url = "https://gitlab.gnome.org/GNOME/nautilus/-/commit/f0f6c372802aabe7ba098d3af1f81cbc03eba27b.patch";
sha256 = "mlrLvNgDQvi4maa81ozu6DsDBVx9NrsgYzWN+oSboVQ=";
})
];
nativeBuildInputs = [

View File

@ -0,0 +1,389 @@
# DO NOT port this expression to hadrian. It is not possible to build a GHC
# cross compiler with 9.4.* and hadrian.
{ lib, stdenv, pkgsBuildTarget, pkgsHostTarget, targetPackages
# build-tools
, bootPkgs
, autoconf, automake, coreutils, fetchpatch, fetchurl, perl, python3, m4, sphinx
, xattr, autoSignDarwinBinariesHook
, bash
, libiconv ? null, ncurses
, glibcLocales ? null
, # GHC can be built with system libffi or a bundled one.
libffi ? null
, useLLVM ? !(stdenv.targetPlatform.isx86
|| stdenv.targetPlatform.isPower
|| stdenv.targetPlatform.isSparc
|| (stdenv.targetPlatform.isAarch64 && stdenv.targetPlatform.isDarwin))
, # LLVM is conceptually a run-time-only depedendency, but for
# non-x86, we need LLVM to bootstrap later stages, so it becomes a
# build-time dependency too.
buildTargetLlvmPackages, llvmPackages
, # If enabled, GHC will be built with the GPL-free but slightly slower native
# bignum backend instead of the faster but GPLed gmp backend.
enableNativeBignum ? !(lib.meta.availableOn stdenv.hostPlatform gmp
&& lib.meta.availableOn stdenv.targetPlatform gmp)
, gmp
, # If enabled, use -fPIC when compiling static libs.
enableRelocatedStaticLibs ? stdenv.targetPlatform != stdenv.hostPlatform
# aarch64 outputs otherwise exceed 2GB limit
, enableProfiledLibs ? !stdenv.targetPlatform.isAarch64
, # Whether to build dynamic libs for the standard library (on the target
# platform). Static libs are always built.
enableShared ? with stdenv.targetPlatform; !isWindows && !useiOSPrebuilt && !isStatic
, # Whether to build terminfo.
enableTerminfo ? !stdenv.targetPlatform.isWindows
, # What flavour to build. An empty string indicates no
# specific flavour and falls back to ghc default values.
ghcFlavour ? lib.optionalString (stdenv.targetPlatform != stdenv.hostPlatform)
(if useLLVM then "perf-cross" else "perf-cross-ncg")
, # Whether to build sphinx documentation.
enableDocs ? (
# Docs disabled for musl and cross because it's a large task to keep
# all `sphinx` dependencies building in those environments.
# `sphinx` pulls in among others:
# Ruby, Python, Perl, Rust, OpenGL, Xorg, gtk, LLVM.
(stdenv.targetPlatform == stdenv.hostPlatform)
&& !stdenv.hostPlatform.isMusl
)
, enableHaddockProgram ?
# Disabled for cross; see note [HADDOCK_DOCS].
(stdenv.targetPlatform == stdenv.hostPlatform)
, # Whether to disable the large address space allocator
# necessary fix for iOS: https://www.reddit.com/r/haskell/comments/4ttdz1/building_an_osxi386_to_iosarm64_cross_compiler/d5qvd67/
disableLargeAddressSpace ? stdenv.targetPlatform.isiOS
}:
assert !enableNativeBignum -> gmp != null;
# Cross cannot currently build the `haddock` program for silly reasons,
# see note [HADDOCK_DOCS].
assert (stdenv.targetPlatform != stdenv.hostPlatform) -> !enableHaddockProgram;
let
inherit (stdenv) buildPlatform hostPlatform targetPlatform;
inherit (bootPkgs) ghc;
# TODO(@Ericson2314) Make unconditional
targetPrefix = lib.optionalString
(targetPlatform != hostPlatform)
"${targetPlatform.config}-";
buildMK = ''
BuildFlavour = ${ghcFlavour}
ifneq \"\$(BuildFlavour)\" \"\"
include mk/flavours/\$(BuildFlavour).mk
endif
BUILD_SPHINX_HTML = ${if enableDocs then "YES" else "NO"}
BUILD_SPHINX_PDF = NO
'' +
# Note [HADDOCK_DOCS]:
# Unfortunately currently `HADDOCK_DOCS` controls both whether the `haddock`
# program is built (which we generally always want to have a complete GHC install)
# and whether it is run on the GHC sources to generate hyperlinked source code
# (which is impossible for cross-compilation); see:
# https://gitlab.haskell.org/ghc/ghc/-/issues/20077
# This implies that currently a cross-compiled GHC will never have a `haddock`
# program, so it can never generate haddocks for any packages.
# If this is solved in the future, we'd like to unconditionally
# build the haddock program (removing the `enableHaddockProgram` option).
''
HADDOCK_DOCS = ${if enableHaddockProgram then "YES" else "NO"}
# Build haddocks for boot packages with hyperlinking
EXTRA_HADDOCK_OPTS += --hyperlinked-source --quickjump
DYNAMIC_GHC_PROGRAMS = ${if enableShared then "YES" else "NO"}
BIGNUM_BACKEND = ${if enableNativeBignum then "native" else "gmp"}
'' + lib.optionalString (targetPlatform != hostPlatform) ''
Stage1Only = ${if targetPlatform.system == hostPlatform.system then "NO" else "YES"}
CrossCompilePrefix = ${targetPrefix}
'' + lib.optionalString (!enableProfiledLibs) ''
GhcLibWays = "v dyn"
'' +
# -fexternal-dynamic-refs apparently (because it's not clear from the documentation)
# makes the GHC RTS able to load static libraries, which may be needed for TemplateHaskell.
# This solution was described in https://www.tweag.io/blog/2020-09-30-bazel-static-haskell
lib.optionalString enableRelocatedStaticLibs ''
GhcLibHcOpts += -fPIC -fexternal-dynamic-refs
GhcRtsHcOpts += -fPIC -fexternal-dynamic-refs
'' + lib.optionalString targetPlatform.useAndroidPrebuilt ''
EXTRA_CC_OPTS += -std=gnu99
'';
# Splicer will pull out correct variations
libDeps = platform: lib.optional enableTerminfo ncurses
++ [libffi]
++ lib.optional (!enableNativeBignum) gmp
++ lib.optional (platform.libc != "glibc" && !targetPlatform.isWindows) libiconv;
# TODO(@sternenseemann): is buildTarget LLVM unnecessary?
# GHC doesn't seem to have {LLC,OPT}_HOST
toolsForTarget = [
pkgsBuildTarget.targetPackages.stdenv.cc
] ++ lib.optional useLLVM buildTargetLlvmPackages.llvm;
targetCC = builtins.head toolsForTarget;
# Sometimes we have to dispatch between the bintools wrapper and the unwrapped
# derivation for certain tools depending on the platform.
bintoolsFor = {
# GHC needs install_name_tool on all darwin platforms. On aarch64-darwin it is
# part of the bintools wrapper (due to codesigning requirements), but not on
# x86_64-darwin.
install_name_tool =
if stdenv.targetPlatform.isAarch64
then targetCC.bintools
else targetCC.bintools.bintools;
# Same goes for strip.
strip =
# TODO(@sternenseemann): also use wrapper if linker == "bfd" or "gold"
if stdenv.targetPlatform.isAarch64 && stdenv.targetPlatform.isDarwin
then targetCC.bintools
else targetCC.bintools.bintools;
};
# Use gold either following the default, or to avoid the BFD linker due to some bugs / perf issues.
# But we cannot avoid BFD when using musl libc due to https://sourceware.org/bugzilla/show_bug.cgi?id=23856
# see #84670 and #49071 for more background.
useLdGold = targetPlatform.linker == "gold" ||
(targetPlatform.linker == "bfd" && (targetCC.bintools.bintools.hasGold or false) && !targetPlatform.isMusl);
# Makes debugging easier to see which variant is at play in `nix-store -q --tree`.
variantSuffix = lib.concatStrings [
(lib.optionalString stdenv.hostPlatform.isMusl "-musl")
(lib.optionalString enableNativeBignum "-native-bignum")
];
in
# C compiler, bintools and LLVM are used at build time, but will also leak into
# the resulting GHC's settings file and used at runtime. This means that we are
# currently only able to build GHC if hostPlatform == buildPlatform.
assert targetCC == pkgsHostTarget.targetPackages.stdenv.cc;
assert buildTargetLlvmPackages.llvm == llvmPackages.llvm;
assert stdenv.targetPlatform.isDarwin -> buildTargetLlvmPackages.clang == llvmPackages.clang;
stdenv.mkDerivation (rec {
version = "9.4.5";
pname = "${targetPrefix}ghc${variantSuffix}";
src = fetchurl {
url = "https://downloads.haskell.org/ghc/${version}/ghc-${version}-src.tar.xz";
sha256 = "6256cf9caf6d6dc7b611dcfbb247df2d528e85aa39d22a698e870e5a590e8601";
};
enableParallelBuilding = true;
outputs = [ "out" "doc" ];
patches = [
# Don't generate code that doesn't compile when --enable-relocatable is passed to Setup.hs
# Can be removed if the Cabal library included with ghc backports the linked fix
(fetchpatch {
url = "https://github.com/haskell/cabal/commit/6c796218c92f93c95e94d5ec2d077f6956f68e98.patch";
stripLen = 1;
extraPrefix = "libraries/Cabal/";
sha256 = "sha256-yRQ6YmMiwBwiYseC5BsrEtDgFbWvst+maGgDtdD0vAY=";
})
# Fix docs build with sphinx >= 6.0
# https://gitlab.haskell.org/ghc/ghc/-/issues/22766
(fetchpatch {
name = "ghc-docs-sphinx-6.0.patch";
url = "https://gitlab.haskell.org/ghc/ghc/-/commit/10e94a556b4f90769b7fd718b9790d58ae566600.patch";
sha256 = "0kmhfamr16w8gch0lgln2912r8aryjky1hfcda3jkcwa5cdzgjdv";
})
];
postPatch = "patchShebangs .";
# GHC needs the locale configured during the Haddock phase.
LANG = "en_US.UTF-8";
# GHC is a bit confused on its cross terminology.
# TODO(@sternenseemann): investigate coreutils dependencies and pass absolute paths
preConfigure = ''
for env in $(env | grep '^TARGET_' | sed -E 's|\+?=.*||'); do
export "''${env#TARGET_}=''${!env}"
done
# GHC is a bit confused on its cross terminology, as these would normally be
# the *host* tools.
export CC="${targetCC}/bin/${targetCC.targetPrefix}cc"
export CXX="${targetCC}/bin/${targetCC.targetPrefix}c++"
# Use gold to work around https://sourceware.org/bugzilla/show_bug.cgi?id=16177
export LD="${targetCC.bintools}/bin/${targetCC.bintools.targetPrefix}ld${lib.optionalString useLdGold ".gold"}"
export AS="${targetCC.bintools.bintools}/bin/${targetCC.bintools.targetPrefix}as"
export AR="${targetCC.bintools.bintools}/bin/${targetCC.bintools.targetPrefix}ar"
export NM="${targetCC.bintools.bintools}/bin/${targetCC.bintools.targetPrefix}nm"
export RANLIB="${targetCC.bintools.bintools}/bin/${targetCC.bintools.targetPrefix}ranlib"
export READELF="${targetCC.bintools.bintools}/bin/${targetCC.bintools.targetPrefix}readelf"
export STRIP="${bintoolsFor.strip}/bin/${bintoolsFor.strip.targetPrefix}strip"
'' + lib.optionalString (stdenv.targetPlatform.linker == "cctools") ''
export OTOOL="${targetCC.bintools.bintools}/bin/${targetCC.bintools.targetPrefix}otool"
export INSTALL_NAME_TOOL="${bintoolsFor.install_name_tool}/bin/${bintoolsFor.install_name_tool.targetPrefix}install_name_tool"
'' + lib.optionalString useLLVM ''
export LLC="${lib.getBin buildTargetLlvmPackages.llvm}/bin/llc"
export OPT="${lib.getBin buildTargetLlvmPackages.llvm}/bin/opt"
'' + lib.optionalString (useLLVM && stdenv.targetPlatform.isDarwin) ''
# LLVM backend on Darwin needs clang: https://downloads.haskell.org/~ghc/latest/docs/html/users_guide/codegens.html#llvm-code-generator-fllvm
export CLANG="${buildTargetLlvmPackages.clang}/bin/${buildTargetLlvmPackages.clang.targetPrefix}clang"
'' + ''
echo -n "${buildMK}" > mk/build.mk
sed -i -e 's|-isysroot /Developer/SDKs/MacOSX10.5.sdk||' configure
'' + lib.optionalString (stdenv.isLinux && hostPlatform.libc == "glibc") ''
export LOCALE_ARCHIVE="${glibcLocales}/lib/locale/locale-archive"
'' + lib.optionalString (!stdenv.isDarwin) ''
export NIX_LDFLAGS+=" -rpath $out/lib/ghc-${version}"
'' + lib.optionalString stdenv.isDarwin ''
export NIX_LDFLAGS+=" -no_dtrace_dof"
# GHC tries the host xattr /usr/bin/xattr by default which fails since it expects python to be 2.7
export XATTR=${lib.getBin xattr}/bin/xattr
'' + lib.optionalString targetPlatform.useAndroidPrebuilt ''
sed -i -e '5i ,("armv7a-unknown-linux-androideabi", ("e-m:e-p:32:32-i64:64-v128:64:128-a:0:32-n32-S64", "cortex-a8", ""))' llvm-targets
'' + lib.optionalString targetPlatform.isMusl ''
echo "patching llvm-targets for musl targets..."
echo "Cloning these existing '*-linux-gnu*' targets:"
grep linux-gnu llvm-targets | sed 's/^/ /'
echo "(go go gadget sed)"
sed -i 's,\(^.*linux-\)gnu\(.*\)$,\0\n\1musl\2,' llvm-targets
echo "llvm-targets now contains these '*-linux-musl*' targets:"
grep linux-musl llvm-targets | sed 's/^/ /'
echo "And now patching to preserve '-musleabi' as done with '-gnueabi'"
# (aclocal.m4 is actual source, but patch configure as well since we don't re-gen)
for x in configure aclocal.m4; do
substituteInPlace $x \
--replace '*-android*|*-gnueabi*)' \
'*-android*|*-gnueabi*|*-musleabi*)'
done
''
# HACK: allow bootstrapping with GHC 8.10 which works fine, as we don't have
# binary 9.0 packaged. Bootstrapping with 9.2 is broken without hadrian.
+ ''
substituteInPlace configure --replace \
'MinBootGhcVersion="9.0"' \
'MinBootGhcVersion="8.10"'
'';
# TODO(@Ericson2314): Always pass "--target" and always prefix.
configurePlatforms = [ "build" "host" ]
++ lib.optional (targetPlatform != hostPlatform) "target";
# `--with` flags for libraries needed for RTS linker
configureFlags = [
"--datadir=$doc/share/doc/ghc"
"--with-curses-includes=${ncurses.dev}/include" "--with-curses-libraries=${ncurses.out}/lib"
] ++ lib.optionals (libffi != null) [
"--with-system-libffi"
"--with-ffi-includes=${targetPackages.libffi.dev}/include"
"--with-ffi-libraries=${targetPackages.libffi.out}/lib"
] ++ lib.optionals (targetPlatform == hostPlatform && !enableNativeBignum) [
"--with-gmp-includes=${targetPackages.gmp.dev}/include"
"--with-gmp-libraries=${targetPackages.gmp.out}/lib"
] ++ lib.optionals (targetPlatform == hostPlatform && hostPlatform.libc != "glibc" && !targetPlatform.isWindows) [
"--with-iconv-includes=${libiconv}/include"
"--with-iconv-libraries=${libiconv}/lib"
] ++ lib.optionals (targetPlatform != hostPlatform) [
"--enable-bootstrap-with-devel-snapshot"
] ++ lib.optionals useLdGold [
"CFLAGS=-fuse-ld=gold"
"CONF_GCC_LINKER_OPTS_STAGE1=-fuse-ld=gold"
"CONF_GCC_LINKER_OPTS_STAGE2=-fuse-ld=gold"
] ++ lib.optionals (disableLargeAddressSpace) [
"--disable-large-address-space"
];
# Make sure we never relax`$PATH` and hooks support for compatibility.
strictDeps = true;
# Dont add -liconv to LDFLAGS automatically so that GHC will add it itself.
dontAddExtraLibs = true;
nativeBuildInputs = [
perl autoconf automake m4 python3
ghc bootPkgs.alex bootPkgs.happy bootPkgs.hscolour
] ++ lib.optionals (stdenv.isDarwin && stdenv.isAarch64) [
autoSignDarwinBinariesHook
] ++ lib.optionals enableDocs [
sphinx
];
# For building runtime libs
depsBuildTarget = toolsForTarget;
buildInputs = [ perl bash ] ++ (libDeps hostPlatform);
depsTargetTarget = map lib.getDev (libDeps targetPlatform);
depsTargetTargetPropagated = map (lib.getOutput "out") (libDeps targetPlatform);
# required, because otherwise all symbols from HSffi.o are stripped, and
# that in turn causes GHCi to abort
stripDebugFlags = [ "-S" ] ++ lib.optional (!targetPlatform.isDarwin) "--keep-file-symbols";
checkTarget = "test";
hardeningDisable =
[ "format" ]
# In nixpkgs, musl based builds currently enable `pie` hardening by default
# (see `defaultHardeningFlags` in `make-derivation.nix`).
# But GHC cannot currently produce outputs that are ready for `-pie` linking.
# Thus, disable `pie` hardening, otherwise `recompile with -fPIE` errors appear.
# See:
# * https://github.com/NixOS/nixpkgs/issues/129247
# * https://gitlab.haskell.org/ghc/ghc/-/issues/19580
++ lib.optional stdenv.targetPlatform.isMusl "pie";
# big-parallel allows us to build with more than 2 cores on
# Hydra which already warrants a significant speedup
requiredSystemFeatures = [ "big-parallel" ];
postInstall = ''
# Install the bash completion file.
install -D -m 444 utils/completion/ghc.bash $out/share/bash-completion/completions/${targetPrefix}ghc
'';
passthru = {
inherit bootPkgs targetPrefix;
inherit llvmPackages;
inherit enableShared;
# This is used by the haskell builder to query
# the presence of the haddock program.
hasHaddock = enableHaddockProgram;
# Our Cabal compiler name
haskellCompilerName = "ghc-${version}";
};
meta = {
homepage = "http://haskell.org/ghc";
description = "The Glasgow Haskell Compiler";
maintainers = with lib.maintainers; [
guibou
] ++ lib.teams.haskell.members;
timeout = 24 * 3600;
inherit (ghc.meta) license platforms;
};
} // lib.optionalAttrs targetPlatform.useAndroidPrebuilt {
dontStrip = true;
dontPatchELF = true;
noAuditTmpdir = true;
})

View File

@ -20,11 +20,11 @@
stdenv.mkDerivation rec {
pname = "xdg-desktop-portal-gnome";
version = "44.0";
version = "44.1";
src = fetchurl {
url = "mirror://gnome/sources/${pname}/${lib.versions.major version}/${pname}-${version}.tar.xz";
sha256 = "VQEeV/ZLfK8IN0Be+gNKM2uec965+E5cFMyfeo4OezQ=";
sha256 = "NoLFRsgZIqW6adYthvacDCaxfJCWgj9YFJ0LVbvw7ts=";
};
nativeBuildInputs = [

View File

@ -15,7 +15,7 @@
buildPythonPackage rec {
pname = "bc-detect-secrets";
version = "1.4.19";
version = "1.4.20";
format = "setuptools";
disabled = pythonOlder "3.8";
@ -24,7 +24,7 @@ buildPythonPackage rec {
owner = "bridgecrewio";
repo = "detect-secrets";
rev = "refs/tags/${version}";
hash = "sha256-MIl0nobcQb8PRwLeam1tgP5JLHNAv3fP3wpwi64IJa4=";
hash = "sha256-PrKosbXZYp7mpQoqJLrm9hRV23XcthgVNu1UtvORfWo=";
};
propagatedBuildInputs = [

View File

@ -7,14 +7,14 @@
buildPythonPackage rec {
pname = "beartype";
version = "0.12.0";
version = "0.13.1";
format = "setuptools";
disabled = pythonOlder "3.6";
src = fetchPypi {
inherit pname version;
hash = "sha256-O3VFs/MzprBwQraLECFBVUya3S6Xnat7D47WN49699c=";
hash = "sha256-KQOUeooetgMCZOMBCKpyyxqAXPyQUMD0AUxK7ToXoAs=";
};
nativeCheckInputs = [

View File

@ -19,7 +19,7 @@
buildPythonPackage rec {
pname = "myst-nb";
version = "0.17.1";
version = "0.17.2";
format = "flit";
@ -27,7 +27,7 @@ buildPythonPackage rec {
src = fetchPypi {
inherit pname version;
hash = "sha256-FN9yXz4Ay17+9PhjvwwnNJDIxmLf7jntins3S/JWGTM=";
hash = "sha256-D2E4ZRX6sHxzZGrcqX//L2n0HpDTE6JgIXxbvkGdhYs=";
};
nativeBuildInputs = [
@ -57,7 +57,7 @@ buildPythonPackage rec {
meta = with lib; {
description = "A Jupyter Notebook Sphinx reader built on top of the MyST markdown parser";
homepage = "https://github.com/executablebooks/myst-nb";
homepage = "https://github.com/executablebooks/MyST-NB";
changelog = "https://github.com/executablebooks/MyST-NB/raw/v${version}/CHANGELOG.md";
license = licenses.mit;
maintainers = with maintainers; [ marsam ];

View File

@ -11,7 +11,7 @@
buildPythonPackage rec {
pname = "optax";
version = "0.1.4";
version = "0.1.5";
format = "setuptools";
disabled = pythonOlder "3.7";
@ -20,7 +20,7 @@ buildPythonPackage rec {
owner = "deepmind";
repo = pname;
rev = "refs/tags/v${version}";
hash = "sha256-BvmRFA1KNS7F6kozH9LMG8v4XJY/T2DwKgf9IIY2shE=";
hash = "sha256-vhPpynKq0dboSt+fQ4lvVv9ytDXnZKRrc7lF03Mm39g=";
};
outputs = [

View File

@ -15,4 +15,6 @@ buildLinux (args // rec {
url = "mirror://kernel/linux/kernel/v6.x/linux-${version}.tar.xz";
sha256 = "149h95r5msvqah868zd36y92ls9h41cr1rb5vzinl20mxdn46wnb";
};
# TODO: possible to remove after any rebuild, e.g. after update.
extraConfig = lib.optionalString (buildPackages.stdenv.system == "x86_64-linux") "\n";
} // (args.argsOverride or { }))

View File

@ -6,13 +6,13 @@
, buildPackages
}:
stdenv.mkDerivation rec {
stdenv.mkDerivation (finalAttrs: {
pname = "tcsh";
version = "6.24.07";
version = "6.24.10";
src = fetchurl {
url = "mirror://tcsh/${pname}-${version}.tar.gz";
hash = "sha256-dOTpgFy9lBPtNLT/odcvyNDvgaW3lHaFQJFBbOkzaZU=";
url = "mirror://tcsh/tcsh-${finalAttrs.version}.tar.gz";
hash = "sha256-E0dcD763QTnTPteTvwD/u7KsLcn7HURGekEHYKujZmQ=";
};
strictDeps = true;
@ -26,7 +26,9 @@ stdenv.mkDerivation rec {
ncurses
];
meta = with lib; {
passthru.shellPath = "/bin/tcsh";
meta = {
homepage = "https://www.tcsh.org/";
description = "An enhanced version of the Berkeley UNIX C shell (csh)";
longDescription = ''
@ -41,10 +43,8 @@ stdenv.mkDerivation rec {
- history mechanism
- job control
'';
license = licenses.bsd2;
maintainers = with maintainers; [ AndersonTorres ];
platforms = platforms.unix;
license = lib.licenses.bsd2;
maintainers = with lib.maintainers; [ AndersonTorres ];
platforms = lib.platforms.unix;
};
passthru.shellPath = "/bin/tcsh";
}
})

1689
pkgs/tools/misc/codemov/Cargo.lock generated Normal file

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,54 @@
{ lib
, rustPlatform
, fetchFromGitHub
, makeBinaryWrapper
, pkg-config
, oniguruma
, ffmpeg
, git
}:
rustPlatform.buildRustPackage {
pname = "codemov";
version = "unstable-2022-10-24";
src = fetchFromGitHub {
owner = "sloganking";
repo = "codemov";
rev = "d51e83246eafef32c3a3f54407fe49eb9801f5ea";
hash = "sha256-4Z3XASFlALCnX1guDqhBfvGNZ0V1XSruJvvSm0xr/t4=";
};
cargoLock = {
lockFile = ./Cargo.lock;
};
postPatch = ''
ln -s ${./Cargo.lock} Cargo.lock
'';
nativeBuildInputs = [
makeBinaryWrapper
pkg-config
];
buildInputs = [
oniguruma
];
env = {
RUSTONIG_SYSTEM_LIBONIG = true;
};
postInstall = ''
wrapProgram $out/bin/codemov \
--prefix PATH : ${lib.makeBinPath [ ffmpeg git ]}
'';
meta = with lib; {
description = "Create a video of how a git repository's code changes over time";
homepage = "https://github.com/sloganking/codemov";
license = licenses.mit;
maintainers = with maintainers; [ figsoda ];
};
}

View File

@ -9,7 +9,10 @@
assert enableCurrenciesUpdater -> pythonPackages != null;
stdenv.mkDerivation rec {
let pythonEnv = pythonPackages.python.withPackages(ps: [
ps.requests
]);
in stdenv.mkDerivation rec {
pname = "units";
version = "2.22";
@ -18,16 +21,12 @@ stdenv.mkDerivation rec {
sha256 = "sha256-XRPhIHch/ncm2Qa6HZLcDt2qn8JnWe0i47jRp5MSWEg=";
};
pythonEnv = pythonPackages.python.withPackages(ps: [
ps.requests
]);
buildInputs = [ readline ]
++ lib.optionals enableCurrenciesUpdater [
pythonEnv
]
;
prePatch = ''
prePatch = lib.optionalString enableCurrenciesUpdater ''
substituteInPlace units_cur \
--replace "#!/usr/bin/env python" ${pythonEnv}/bin/python
'';

View File

@ -15,13 +15,13 @@
stdenv.mkDerivation rec {
pname = "rnp";
version = "0.16.2";
version = "0.16.3";
src = fetchFromGitHub {
owner = "rnpgp";
repo = "rnp";
rev = "v${version}";
sha256 = "sha256-KHItrpuKXaLGF1mcpju/RJFnm2yPZyYq4eIoRGqf5Y8=";
sha256 = "sha256-kM3gBc5rbLJU7UXvWz4a9c+Ahi/d0z8R9S5t0B9Fts0=";
};
buildInputs = [ zlib bzip2 json_c botan2 ];

View File

@ -15,6 +15,10 @@ stdenv.mkDerivation rec {
done
'';
configureFlags = [
"--with-libgcrypt-prefix=${lib.getDev libgcrypt}"
];
nativeBuildInputs = [ pkg-config asciidoc ];
buildInputs = [ poppler libgcrypt pcre ];

View File

@ -6454,6 +6454,8 @@ with pkgs;
codebraid = callPackage ../tools/misc/codebraid { };
codemov = callPackage ../tools/misc/codemov { };
codevis = callPackage ../tools/misc/codevis { };
compass = callPackage ../development/tools/compass { };

View File

@ -24,6 +24,7 @@ let
"ghc942"
"ghc943"
"ghc944"
"ghc945"
"ghc94"
"ghc96"
"ghc961"
@ -42,6 +43,7 @@ let
"ghc942"
"ghc943"
"ghc944"
"ghc945"
"ghc96"
"ghc961"
"ghcHEAD"
@ -302,7 +304,31 @@ in {
buildTargetLlvmPackages = pkgsBuildTarget.llvmPackages_12;
llvmPackages = pkgs.llvmPackages_12;
};
ghc94 = ghc944;
ghc945 = callPackage ../development/compilers/ghc/9.4.5.nix {
bootPkgs =
# Building with 9.2 is broken due to
# https://gitlab.haskell.org/ghc/ghc/-/issues/21914
# Use 8.10 as a workaround where possible to keep bootstrap path short.
# On ARM text won't build with GHC 8.10.*
if stdenv.hostPlatform.isAarch then
# TODO(@sternenseemann): package bindist
packages.ghc902
# No suitable bindists for powerpc64le
else if stdenv.hostPlatform.isPower64 && stdenv.hostPlatform.isLittleEndian then
packages.ghc902
else
packages.ghc8107Binary;
inherit (buildPackages.python3Packages) sphinx;
# Need to use apple's patched xattr until
# https://github.com/xattr/xattr/issues/44 and
# https://github.com/xattr/xattr/issues/55 are solved.
inherit (buildPackages.darwin) xattr autoSignDarwinBinariesHook;
# Support range >= 10 && < 14
buildTargetLlvmPackages = pkgsBuildTarget.llvmPackages_12;
llvmPackages = pkgs.llvmPackages_12;
};
ghc94 = ghc945;
ghc961 = callPackage ../development/compilers/ghc/9.6.1.nix {
bootPkgs =
# For GHC 9.2 no armv7l bindists are available.
@ -475,7 +501,12 @@ in {
ghc = bh.compiler.ghc944;
compilerConfig = callPackage ../development/haskell-modules/configuration-ghc-9.4.x.nix { };
};
ghc94 = ghc944;
ghc945 = callPackage ../development/haskell-modules {
buildHaskellPackages = bh.packages.ghc945;
ghc = bh.compiler.ghc945;
compilerConfig = callPackage ../development/haskell-modules/configuration-ghc-9.4.x.nix { };
};
ghc94 = ghc945;
ghc961 = callPackage ../development/haskell-modules {
buildHaskellPackages = bh.packages.ghc961;
ghc = bh.compiler.ghc961;

View File

@ -67,7 +67,7 @@ let
ghc925
ghc926
ghc927
ghc944
ghc945
ghc961
];
@ -533,7 +533,7 @@ let
compilerNames.ghc925
compilerNames.ghc926
compilerNames.ghc927
compilerNames.ghc944
compilerNames.ghc945
];
weeder = [
compilerNames.ghc8107
@ -542,7 +542,7 @@ let
compilerNames.ghc925
compilerNames.ghc926
compilerNames.ghc927
compilerNames.ghc944
compilerNames.ghc945
];
})
{