Conflicts: pkgs/applications/networking/browsers/firefox/common.nix between f6c57619358d51e71a5298503c84e1c1ce4f9f12 and a373324120a271fdbff202b61895e06aecf98923.
···1-{ lib, stdenv, fetchurl, pkg-config, libusb1-axoloti }:
2-3-stdenv.mkDerivation rec {
4- pname = "dfu-util";
5- version = "0.8";
6-7- nativeBuildInputs = [ pkg-config ];
8- buildInputs = [ libusb1-axoloti ];
9-10- src = fetchurl {
11- url = "http://dfu-util.sourceforge.net/releases/${pname}-${version}.tar.gz";
12- sha256 = "0n7h08avlzin04j93m6hkq9id6hxjiiix7ff9gc2n89aw6dxxjsm";
13- };
14-15- meta = with lib; {
16- description = "Device firmware update (DFU) USB programmer";
17- longDescription = ''
18- dfu-util is a program that implements the host (PC) side of the USB
19- DFU 1.0 and 1.1 (Universal Serial Bus Device Firmware Upgrade) protocol.
20-21- DFU is intended to download and upload firmware to devices connected over
22- USB. It ranges from small devices like micro-controller boards up to mobile
23- phones. With dfu-util you are able to download firmware to your device or
24- upload firmware from it.
25- '';
26- homepage = "http://dfu-util.sourceforge.net";
27- license = licenses.gpl2Plus;
28- platforms = platforms.unix;
29- maintainers = [ ];
30- };
31-}
···1-diff --git a/ement.el b/ement.el
2-index c9596a7..1b33045 100644
3---- a/ement.el
4-+++ b/ement.el
5-@@ -682,14 +682,15 @@ can cause undesirable underlining."
6 "Return a copy of IMAGE set to MAX-WIDTH and MAX-HEIGHT.
7 IMAGE should be one as created by, e.g. `create-image'."
8 ;; It would be nice if the image library had some simple functions to do this sort of thing.
···24+ (image-property new-image :max-height) max-height)
25+ new-image)))
2627- ;;;;; Reading/writing sessions
28-
···1+diff --git a/ement-lib.el b/ement-lib.el
2+index f0b2738..025a191 100644
3+--- a/ement-lib.el
4++++ b/ement-lib.el
5+@@ -644,14 +644,15 @@ can cause undesirable underlining."
6 "Return a copy of IMAGE set to MAX-WIDTH and MAX-HEIGHT.
7 IMAGE should be one as created by, e.g. `create-image'."
8 ;; It would be nice if the image library had some simple functions to do this sort of thing.
···24+ (image-property new-image :max-height) max-height)
25+ new-image)))
2627+ (defun ement--room-alias (room)
28+ "Return latest m.room.canonical_alias event in ROOM."
···531 };
532 } ./vim-command-check-hook.sh) {};
5330000000000534 inherit (import ./build-vim-plugin.nix {
535- inherit lib stdenv rtpPath vim vimGenDocHook vimCommandCheckHook;
536 }) buildVimPlugin buildVimPluginFrom2Nix;
537538539 # TODO placeholder to ease working on automatic plugin detection
540 # this should be a luarocks "flat" install with appropriate vim hooks
541- buildNeovimPluginFrom2Nix = buildVimPluginFrom2Nix;
00542543 # used to figure out which python dependencies etc. neovim needs
544 requiredPlugins = {
···531 };
532 } ./vim-command-check-hook.sh) {};
533534+ neovimRequireCheckHook = callPackage ({ neovim-unwrapped }:
535+ makeSetupHook {
536+ name = "neovim-require-check-hook";
537+ deps = [ neovim-unwrapped ];
538+ substitutions = {
539+ nvimBinary = "${neovim-unwrapped}/bin/nvim";
540+ inherit rtpPath;
541+ };
542+ } ./neovim-require-check-hook.sh) {};
543+544 inherit (import ./build-vim-plugin.nix {
545+ inherit lib stdenv rtpPath vim vimGenDocHook vimCommandCheckHook neovimRequireCheckHook;
546 }) buildVimPlugin buildVimPluginFrom2Nix;
547548549 # TODO placeholder to ease working on automatic plugin detection
550 # this should be a luarocks "flat" install with appropriate vim hooks
551+ buildNeovimPluginFrom2Nix = attrs: let drv = (buildVimPluginFrom2Nix attrs); in drv.overrideAttrs(oa: {
552+ nativeBuildInputs = oa.nativeBuildInputs ++ [ neovimRequireCheckHook ];
553+ });
554555 # used to figure out which python dependencies etc. neovim needs
556 requiredPlugins = {
+4-5
pkgs/applications/emulators/ryujinx/default.nix
···58 pulseaudio
59 ];
60000061 patches = [
62 ./appdir.patch # Ryujinx attempts to write to the nix store. This patch redirects it to "~/.config/Ryujinx" on Linux.
63 ];
···66 # workaround for https://github.com/Ryujinx/Ryujinx/issues/2349
67 mkdir -p $out/lib/sndio-6
68 ln -s ${sndio}/lib/libsndio.so $out/lib/sndio-6/libsndio.so.6
69-70- # Ryujinx tries to use ffmpeg from PATH
71- makeWrapperArgs+=(
72- --suffix PATH : ${lib.makeBinPath [ ffmpeg ]}
73- )
74 '';
7576 preFixup = ''
···58 pulseaudio
59 ];
6061+ makeWrapperArgs = [
62+ "--suffix PATH : ${lib.getBin ffmpeg}"
63+ ];
64+65 patches = [
66 ./appdir.patch # Ryujinx attempts to write to the nix store. This patch redirects it to "~/.config/Ryujinx" on Linux.
67 ];
···70 # workaround for https://github.com/Ryujinx/Ryujinx/issues/2349
71 mkdir -p $out/lib/sndio-6
72 ln -s ${sndio}/lib/libsndio.so $out/lib/sndio-6/libsndio.so.6
0000073 '';
7475 preFixup = ''
···175 done
176 '';
177178+ # Until https://github.com/NixOS/nixpkgs/pull/172617 is applied,
179+ # parallel builds do not always work because of a bug in dlltool.
180+ enableParallelBuilding = false;
181182 # https://bugs.winehq.org/show_bug.cgi?id=43530
183 # https://github.com/NixOS/nixpkgs/issues/31989
···2425in stdenv.mkDerivation rec {
26 pname = "signal-desktop";
27- version = "5.42.0"; # Please backport all updates to the stable channel.
28 # All releases have a limited lifetime and "expire" 90 days after the release.
29 # When releases "expire" the application becomes unusable until an update is
30 # applied. The expiration date for the current release can be extracted with:
···3435 src = fetchurl {
36 url = "https://updates.signal.org/desktop/apt/pool/main/s/signal-desktop/signal-desktop_${version}_amd64.deb";
37- sha256 = "sha256-xjSj7eKaDV8WB0SiPb4orxKK8mV2a2EWiMBK7BE8mgU=";
38 };
3940 nativeBuildInputs = [
···2425in stdenv.mkDerivation rec {
26 pname = "signal-desktop";
27+ version = "5.43.0"; # Please backport all updates to the stable channel.
28 # All releases have a limited lifetime and "expire" 90 days after the release.
29 # When releases "expire" the application becomes unusable until an update is
30 # applied. The expiration date for the current release can be extracted with:
···3435 src = fetchurl {
36 url = "https://updates.signal.org/desktop/apt/pool/main/s/signal-desktop/signal-desktop_${version}_amd64.deb";
37+ sha256 = "sha256-DYJ3WZbaalKhQXhVQO3qhJiGj92Cc+pwRDx/YBIi6gg=";
38 };
3940 nativeBuildInputs = [
···23stdenv.mkDerivation {
4 pname = "netperf";
5+ version = "20210121";
67 src = fetchFromGitHub {
8 owner = "HewlettPackard";
9 repo = "netperf";
10+ rev = "3bc455b23f901dae377ca0a558e1e32aa56b31c4";
11+ sha256 = "s4G1ZN+6LERdEMDkc+12ZQgTi6K+ppUYUCGn4faCS9c=";
12 };
1314 buildInputs = lib.optional (with stdenv.hostPlatform; isx86 && isLinux) libsmbios;
···22 meta = {
23 description = "Benchmark to measure the performance of many different types of networking";
24 homepage = "http://www.netperf.org/netperf/";
25+ license = lib.licenses.mit;
2627 platforms = lib.platforms.unix;
28 maintainers = [ lib.maintainers.mmlb ];
+5
pkgs/applications/networking/twtxt/default.nix
···2324 checkInputs = [ pytestCheckHook tox ];
250000026 meta = with lib; {
27 description = "Decentralised, minimalist microblogging service for hackers";
28 homepage = "https://github.com/buckket/twtxt";
···2324 checkInputs = [ pytestCheckHook tox ];
2526+ disabledTests = [
27+ # Disable test using relative date and time
28+ "test_tweet_relative_datetime"
29+ ];
30+31 meta = with lib; {
32 description = "Decentralised, minimalist microblogging service for hackers";
33 homepage = "https://github.com/buckket/twtxt";
···1+{ lib
2+, stdenv
3+, fetchFromGitHub
4+, cmake
5+, primesieve
6+}:
7+8+stdenv.mkDerivation rec {
9+ pname = "primecount";
10+ version = "7.3";
11+12+ src = fetchFromGitHub {
13+ owner = "kimwalisch";
14+ repo = "primecount";
15+ rev = "v${version}";
16+ hash = "sha256-hxnn1uiGSB6XRC7yK+SXTwTsJfjhemWXsMNhhL7Ghek=";
17+ };
18+19+ nativeBuildInputs = [ cmake ];
20+21+ buildInputs = [ primesieve ];
22+23+ cmakeFlags = [
24+ "-DBUILD_LIBPRIMESIEVE=ON"
25+ "-DBUILD_PRIMECOUNT=ON"
26+ "-DBUILD_SHARED_LIBS=ON"
27+ "-DBUILD_STATIC_LIBS=OFF"
28+ "-DBUILD_TESTS=ON"
29+ ];
30+31+ meta = with lib; {
32+ homepage = "https://github.com/kimwalisch/primecount";
33+ description = "Fast prime counting function implementations";
34+ longDescription = ''
35+ primecount is a command-line program and C/C++ library that counts the
36+ primes below an integer x ≤ 10^31 using highly optimized implementations
37+ of the combinatorial prime counting algorithms.
38+39+ primecount includes implementations of all important combinatorial prime
40+ counting algorithms known up to this date all of which have been
41+ parallelized using OpenMP. primecount contains the first ever open source
42+ implementations of the Deleglise-Rivat algorithm and Xavier Gourdon's
43+ algorithm (that works). primecount also features a novel load balancer
44+ that is shared amongst all implementations and that scales up to hundreds
45+ of CPU cores. primecount has already been used to compute several prime
46+ counting function world records.
47+ '';
48+ license = licenses.bsd2;
49+ inherit (primesieve.meta) maintainers platforms;
50+ };
51+}
···1+{ lib
2+, stdenv
3+, fetchFromGitHub
4+, cmake
5+}:
6+7+stdenv.mkDerivation rec {
8+ pname = "primesieve";
9+ version = "7.9";
10+11+ src = fetchFromGitHub {
12+ owner = "kimwalisch";
13+ repo = "primesieve";
14+ rev = "v${version}";
15+ hash = "sha256-lwT+adKFoNI125y5FuJMovtMh8sFi9oqMLYGLabzrCI=";
16+ };
17+18+ nativeBuildInputs = [ cmake ];
19+20+ meta = with lib; {
21+ homepage = "https://primesieve.org/";
22+ description = "Fast C/C++ prime number generator";
23+ longDescription = ''
24+ primesieve is a command-line program and C/C++ library for quickly
25+ generating prime numbers. It is very cache efficient, it detects your
26+ CPU's L1 & L2 cache sizes and allocates its main data structures
27+ accordingly. It is also multi-threaded by default, it uses all available
28+ CPU cores whenever possible i.e. if sequential ordering is not
29+ required. primesieve can generate primes and prime k-tuplets up to 264.
30+ '';
31+ license = licenses.bsd2;
32+ maintainers = teams.sage.members ++
33+ (with maintainers; [ abbradar AndersonTorres ]);
34+ platforms = platforms.unix;
35+ };
36+}
···23 sha256 = "K1cAvmqWEfS6EY4MKAtjXb388XLYHtouxNM70PWgFig=";
24 };
2526- workaround-opencollective-buildfailures = stdenv.mkDerivation {
27- # FIXME: This should be removed when a complete fix is available
28- # https://github.com/svanderburg/node2nix/issues/145
29- name = "workaround-opencollective-buildfailures";
30- dontUnpack = true;
31- installPhase = ''
32- mkdir -p $out/bin
33- touch $out/bin/opencollective-postinstall
34- chmod +x $out/bin/opencollective-postinstall
35- '';
36- };
37-38 client = nodePackages.epgstation-client.override (drv: {
39 # FIXME: remove this option if possible
40 #
···49 server = nodePackages.epgstation.override (drv: {
50 inherit src;
5152- bypassCache = false;
53-54 # This is set to false to keep devDependencies at build time. Build time
55 # dependencies are pruned afterwards.
56 production = false;
5758- buildInputs = [ bash ];
59- nativeBuildInputs = [
60- nodejs
61- workaround-opencollective-buildfailures
62 makeWrapper
63- ] ++ (with nodePackages; [
64- node-pre-gyp
65- node-gyp-build
66- ]);
6768 preRebuild = ''
69 # Fix for not being able to connect to mysql using domain sockets.
···23 sha256 = "K1cAvmqWEfS6EY4MKAtjXb388XLYHtouxNM70PWgFig=";
24 };
2500000000000026 client = nodePackages.epgstation-client.override (drv: {
27 # FIXME: remove this option if possible
28 #
···37 server = nodePackages.epgstation.override (drv: {
38 inherit src;
390040 # This is set to false to keep devDependencies at build time. Build time
41 # dependencies are pruned afterwards.
42 production = false;
4344+ buildInputs = (drv.buildInputs or [ ]) ++ [ bash ];
45+ nativeBuildInputs = (drv.nativeBuildInputs or [ ]) ++ [
0046 makeWrapper
47+ ];
0004849 preRebuild = ''
50 # Fix for not being able to connect to mysql using domain sockets.
···118 liquidhaskell = markBroken super.liquidhaskell;
119120 # This became a core library in ghc 8.10., so we don‘t have an "exception" attribute anymore.
121- exceptions = super.exceptions_0_10_4;
122123 # ghc versions which don‘t match the ghc-lib-parser-ex version need the
124 # additional dependency to compile successfully.
···118 liquidhaskell = markBroken super.liquidhaskell;
119120 # This became a core library in ghc 8.10., so we don‘t have an "exception" attribute anymore.
121+ exceptions = super.exceptions_0_10_5;
122123 # ghc versions which don‘t match the ghc-lib-parser-ex version need the
124 # additional dependency to compile successfully.
···2122 meta = with lib; {
23 description = "Bisect_ppx is a code coverage tool for OCaml and Reason. It helps you test thoroughly by showing what's not tested.";
24- license = licenses.mit;
25 homepage = "https://github.com/aantron/bisect_ppx";
026 maintainers = with maintainers; [ ];
027 };
28}
···2122 meta = with lib; {
23 description = "Bisect_ppx is a code coverage tool for OCaml and Reason. It helps you test thoroughly by showing what's not tested.";
024 homepage = "https://github.com/aantron/bisect_ppx";
25+ license = licenses.mit;
26 maintainers = with maintainers; [ ];
27+ mainProgram = "bisect-ppx-report";
28 };
29}
···27 ];
2829 meta = with lib; {
30- homepage = "https://github.com/serokell/ocaml-recovery-parser";
31 description = "A simple fork of OCaml parser with support for error recovery";
032 license = with licenses; [ lgpl2Only mit mpl20 ];
33 maintainers = with maintainers; [ romildo ];
034 };
35}
···27 ];
2829 meta = with lib; {
030 description = "A simple fork of OCaml parser with support for error recovery";
31+ homepage = "https://github.com/serokell/ocaml-recovery-parser";
32 license = with licenses; [ lgpl2Only mit mpl20 ];
33 maintainers = with maintainers; [ romildo ];
34+ mainProgram = "menhir-recover";
35 };
36}
···94 avxsynth = throw "avxsynth was removed because it was broken"; # Added 2021-05-18
95 awesome-4-0 = awesome; # Added 2022-05-05
96 aws-okta = throw "aws-okta is on indefinite hiatus. See https://github.com/segmentio/aws-okta/issues/278"; # Added 2022-04-05;
097 azureus = throw "azureus is now known as vuze and the version in nixpkgs was really outdated"; # Added 2021-08-02
9899 ### B ###
···205 cpuminer-multi = throw "cpuminer-multi has been removed: deleted by upstream"; # Added 2022-01-07
206 crafty = throw "crafty has been removed: deleted by upstream"; # Added 2022-01-07
207 cryptol = throw "cryptol was removed due to prolonged broken build"; # Added 2020-08-21
0208209 # CUDA Toolkit
210 cudatoolkit_6 = throw "cudatoolkit_6 has been removed in favor of newer versions"; # Added 2021-02-14
···315 demjson = with python3Packages; toPythonApplication demjson; # Added 2022-01-18
316 desktop_file_utils = throw "'desktop_file_utils' has been renamed to/replaced by 'desktop-file-utils'"; # Converted to throw 2022-02-22
317 devicemapper = throw "'devicemapper' has been renamed to/replaced by 'lvm2'"; # Converted to throw 2022-02-22
0318 dhall-text = throw "'dhall-text' has been deprecated in favor of the 'dhall text' command from 'dhall'"; # Added 2022-03-26
319 digikam5 = throw "'digikam5' has been renamed to/replaced by 'digikam'"; # Converted to throw 2022-02-22
0320 disper = throw "disper has been removed: abandoned by upstream"; # Added 2022-03-18
321 displaycal = throw "displaycal has been removed from nixpkgs, as it hasn't migrated to python3"; # Added 2022-01-12
322 dmtx = throw "'dmtx' has been renamed to/replaced by 'dmtx-utils'"; # Converted to throw 2022-02-22
···695 libudev = throw "'libudev' has been renamed to/replaced by 'udev'"; # Converted to throw 2022-02-22
696 libungif = giflib; # Added 2020-02-12
697 libusb = libusb1; # Added 2020-04-28
0698 libva-full = throw "'libva-full' has been renamed to/replaced by 'libva'"; # Converted to throw 2022-02-22
699 libva1-full = throw "'libva1-full' has been renamed to/replaced by 'libva1'"; # Converted to throw 2022-02-22
700 libwnck3 = libwnck;
···94 avxsynth = throw "avxsynth was removed because it was broken"; # Added 2021-05-18
95 awesome-4-0 = awesome; # Added 2022-05-05
96 aws-okta = throw "aws-okta is on indefinite hiatus. See https://github.com/segmentio/aws-okta/issues/278"; # Added 2022-04-05;
97+ axoloti = throw "axoloti has been removed: abandoned by upstream"; # Added 2022-05-13
98 azureus = throw "azureus is now known as vuze and the version in nixpkgs was really outdated"; # Added 2021-08-02
99100 ### B ###
···206 cpuminer-multi = throw "cpuminer-multi has been removed: deleted by upstream"; # Added 2022-01-07
207 crafty = throw "crafty has been removed: deleted by upstream"; # Added 2022-01-07
208 cryptol = throw "cryptol was removed due to prolonged broken build"; # Added 2020-08-21
209+ ctl = throw "ctl has been removed: abandoned by upstream"; # Added 2022-05-13
210211 # CUDA Toolkit
212 cudatoolkit_6 = throw "cudatoolkit_6 has been removed in favor of newer versions"; # Added 2021-02-14
···317 demjson = with python3Packages; toPythonApplication demjson; # Added 2022-01-18
318 desktop_file_utils = throw "'desktop_file_utils' has been renamed to/replaced by 'desktop-file-utils'"; # Converted to throw 2022-02-22
319 devicemapper = throw "'devicemapper' has been renamed to/replaced by 'lvm2'"; # Converted to throw 2022-02-22
320+ dfu-util-axoloti = throw "dfu-util-axoloti has been removed: abandoned by upstream"; # Added 2022-05-13
321 dhall-text = throw "'dhall-text' has been deprecated in favor of the 'dhall text' command from 'dhall'"; # Added 2022-03-26
322 digikam5 = throw "'digikam5' has been renamed to/replaced by 'digikam'"; # Converted to throw 2022-02-22
323+ dirmngr = throw "dirmngr has been removed: merged into gnupg"; # Added 2022-05-13
324 disper = throw "disper has been removed: abandoned by upstream"; # Added 2022-03-18
325 displaycal = throw "displaycal has been removed from nixpkgs, as it hasn't migrated to python3"; # Added 2022-01-12
326 dmtx = throw "'dmtx' has been renamed to/replaced by 'dmtx-utils'"; # Converted to throw 2022-02-22
···699 libudev = throw "'libudev' has been renamed to/replaced by 'udev'"; # Converted to throw 2022-02-22
700 libungif = giflib; # Added 2020-02-12
701 libusb = libusb1; # Added 2020-04-28
702+ libusb1-axoloti = throw "libusb1-axoloti has been removed: axoloti has been removed"; # Added 2022-05-13
703 libva-full = throw "'libva-full' has been renamed to/replaced by 'libva'"; # Converted to throw 2022-02-22
704 libva1-full = throw "'libva1-full' has been renamed to/replaced by 'libva1'"; # Converted to throw 2022-02-22
705 libwnck3 = libwnck;