Merge master into staging-next

authored by

github-actions[bot] and committed by
GitHub
2692c2e4 4fc47932

+368 -249
+4 -4
lib/attrsets.nix
··· 5 5 inherit (builtins) head tail length; 6 6 inherit (lib.trivial) and; 7 7 inherit (lib.strings) concatStringsSep sanitizeDerivationName; 8 - inherit (lib.lists) fold concatMap concatLists; 8 + inherit (lib.lists) fold foldr concatMap concatLists; 9 9 in 10 10 11 11 rec { ··· 152 152 => { a = [ 2 3 ]; } 153 153 */ 154 154 foldAttrs = op: nul: list_of_attrs: 155 - fold (n: a: 156 - fold (name: o: 155 + foldr (n: a: 156 + foldr (name: o: 157 157 o // { ${name} = op n.${name} (a.${name} or nul); } 158 158 ) a (attrNames n) 159 159 ) {} list_of_attrs; ··· 455 455 => true 456 456 */ 457 457 matchAttrs = pattern: attrs: assert isAttrs pattern; 458 - fold and true (attrValues (zipAttrsWithNames (attrNames pattern) (n: values: 458 + foldr and true (attrValues (zipAttrsWithNames (attrNames pattern) (n: values: 459 459 let pat = head values; val = head (tail values); in 460 460 if length values == 1 then false 461 461 else if isAttrs pat then isAttrs val && matchAttrs pat val
+5 -5
lib/deprecated.nix
··· 77 77 # Output : are reqs satisfied? It's asserted. 78 78 checkReqs = attrSet: argList: condList: 79 79 ( 80 - fold lib.and true 80 + foldr lib.and true 81 81 (map (x: let name = (head x); in 82 82 83 83 ((checkFlag attrSet name) -> 84 - (fold lib.and true 84 + (foldr lib.and true 85 85 (map (y: let val=(getValue attrSet argList y); in 86 86 (val!=null) && (val!=false)) 87 87 (tail x))))) condList)); ··· 177 177 # merge attributes with custom function handling the case that the attribute 178 178 # exists in both sets 179 179 mergeAttrsWithFunc = f: set1: set2: 180 - fold (n: set: if set ? ${n} 180 + foldr (n: set: if set ? ${n} 181 181 then setAttr set n (f set.${n} set2.${n}) 182 182 else set ) 183 183 (set2 // set1) (attrNames set2); ··· 196 196 mergeAttrsNoOverride = { mergeLists ? ["buildInputs" "propagatedBuildInputs"], 197 197 overrideSnd ? [ "buildPhase" ] 198 198 }: attrs1: attrs2: 199 - fold (n: set: 199 + foldr (n: set: 200 200 setAttr set n ( if set ? ${n} 201 201 then # merge 202 202 if elem n mergeLists # attribute contains list, merge them by concatenating ··· 224 224 mergeAttrBy2 = { mergeAttrBy = lib.mergeAttrs; } 225 225 // (maybeAttr "mergeAttrBy" {} x) 226 226 // (maybeAttr "mergeAttrBy" {} y); in 227 - fold lib.mergeAttrs {} [ 227 + foldr lib.mergeAttrs {} [ 228 228 x y 229 229 (mapAttrs ( a: v: # merge special names using given functions 230 230 if x ? ${a}
+1 -1
lib/trivial.nix
··· 308 308 309 309 info = msg: builtins.trace "INFO: ${msg}"; 310 310 311 - showWarnings = warnings: res: lib.fold (w: x: warn w x) res warnings; 311 + showWarnings = warnings: res: lib.foldr (w: x: warn w x) res warnings; 312 312 313 313 ## Function annotations 314 314
+6
maintainers/maintainer-list.nix
··· 4939 4939 fingerprint = "7EB1 C02A B62B B464 6D7C E4AE D1D0 9DE1 69EA 19A0"; 4940 4940 }]; 4941 4941 }; 4942 + jgart = { 4943 + email = "jgart@dismail.de"; 4944 + github = "jgarte"; 4945 + githubId = 47760695; 4946 + name = "Jorge Gomez"; 4947 + }; 4942 4948 jgeerds = { 4943 4949 email = "jascha@geerds.org"; 4944 4950 github = "jgeerds";
+1 -1
nixos/doc/manual/default.nix
··· 12 12 # E.g. if some `options` came from modules in ${pkgs.customModules}/nix, 13 13 # you'd need to include `extraSources = [ pkgs.customModules ]` 14 14 prefixesToStrip = map (p: "${toString p}/") ([ ../../.. ] ++ extraSources); 15 - stripAnyPrefixes = lib.flip (lib.fold lib.removePrefix) prefixesToStrip; 15 + stripAnyPrefixes = lib.flip (lib.foldr lib.removePrefix) prefixesToStrip; 16 16 17 17 optionsDoc = buildPackages.nixosOptionsDoc { 18 18 inherit options revision;
+1 -1
nixos/modules/config/users-groups.nix
··· 396 396 }; 397 397 }; 398 398 399 - idsAreUnique = set: idAttr: !(fold (name: args@{ dup, acc }: 399 + idsAreUnique = set: idAttr: !(foldr (name: args@{ dup, acc }: 400 400 let 401 401 id = builtins.toString (builtins.getAttr idAttr (builtins.getAttr name set)); 402 402 exists = builtins.hasAttr id acc;
+1 -1
nixos/modules/misc/nixpkgs.nix
··· 39 39 if c x then true 40 40 else lib.traceSeqN 1 x false; 41 41 in traceXIfNot isConfig; 42 - merge = args: fold (def: mergeConfig def.value) {}; 42 + merge = args: foldr (def: mergeConfig def.value) {}; 43 43 }; 44 44 45 45 overlayType = mkOptionType {
+1 -1
nixos/modules/services/backup/znapzend.nix
··· 279 279 src_plan = plan; 280 280 tsformat = timestampFormat; 281 281 zend_delay = toString sendDelay; 282 - } // fold (a: b: a // b) {} ( 282 + } // foldr (a: b: a // b) {} ( 283 283 map mkDestAttrs (builtins.attrValues destinations) 284 284 ); 285 285
+2 -2
nixos/modules/services/mail/postfix.nix
··· 194 194 # We need to handle the last column specially here, because it's 195 195 # open-ended (command + args). 196 196 lines = [ labels labelDefaults ] ++ (map (l: init l ++ [""]) masterCf); 197 - in fold foldLine (genList (const 0) (length labels)) lines; 197 + in foldr foldLine (genList (const 0) (length labels)) lines; 198 198 199 199 # Pad a string with spaces from the right (opposite of fixedWidthString). 200 200 pad = width: str: let ··· 203 203 in str + optionalString (padWidth > 0) padding; 204 204 205 205 # It's + 2 here, because that's the amount of spacing between columns. 206 - fullWidth = fold (width: acc: acc + width + 2) 0 maxWidths; 206 + fullWidth = foldr (width: acc: acc + width + 2) 0 maxWidths; 207 207 208 208 formatLine = line: concatStringsSep " " (zipListsWith pad maxWidths line); 209 209
+1 -1
nixos/modules/services/networking/autossh.nix
··· 79 79 80 80 systemd.services = 81 81 82 - lib.fold ( s : acc : acc // 82 + lib.foldr ( s : acc : acc // 83 83 { 84 84 "autossh-${s.name}" = 85 85 let
+1 -1
nixos/modules/services/networking/nylon.nix
··· 160 160 161 161 users.groups.nylon.gid = config.ids.gids.nylon; 162 162 163 - systemd.services = fold (a: b: a // b) {} nylonUnits; 163 + systemd.services = foldr (a: b: a // b) {} nylonUnits; 164 164 165 165 }; 166 166 }
+1 -1
nixos/modules/services/networking/quicktun.nix
··· 87 87 }; 88 88 89 89 config = mkIf (cfg != []) { 90 - systemd.services = fold (a: b: a // b) {} ( 90 + systemd.services = foldr (a: b: a // b) {} ( 91 91 mapAttrsToList (name: qtcfg: { 92 92 "quicktun-${name}" = { 93 93 wantedBy = [ "multi-user.target" ];
+1 -1
nixos/modules/services/networking/tinc.nix
··· 351 351 352 352 config = mkIf (cfg.networks != { }) { 353 353 354 - environment.etc = fold (a: b: a // b) { } 354 + environment.etc = foldr (a: b: a // b) { } 355 355 (flip mapAttrsToList cfg.networks (network: data: 356 356 flip mapAttrs' data.hosts (host: text: nameValuePair 357 357 ("tinc/${network}/hosts/${host}")
+1 -1
nixos/modules/services/networking/wakeonlan.nix
··· 19 19 ${ethtool} -s ${interface} ${methodParameter {inherit method password;}} 20 20 ''; 21 21 22 - concatStrings = fold (x: y: x + y) ""; 22 + concatStrings = foldr (x: y: x + y) ""; 23 23 lines = concatStrings (map (l: line l) interfaces); 24 24 25 25 in
+1 -1
nixos/modules/system/activation/top-level.nix
··· 125 125 else showWarnings config.warnings baseSystem; 126 126 127 127 # Replace runtime dependencies 128 - system = fold ({ oldDependency, newDependency }: drv: 128 + system = foldr ({ oldDependency, newDependency }: drv: 129 129 pkgs.replaceDependency { inherit oldDependency newDependency drv; } 130 130 ) baseSystemAssertWarn config.system.replaceRuntimeDependencies; 131 131
+1 -1
nixos/modules/system/boot/loader/grub/grub.nix
··· 75 75 else "${convertedFont}"); 76 76 }); 77 77 78 - bootDeviceCounters = fold (device: attr: attr // { ${device} = (attr.${device} or 0) + 1; }) {} 78 + bootDeviceCounters = foldr (device: attr: attr // { ${device} = (attr.${device} or 0) + 1; }) {} 79 79 (concatMap (args: args.devices) cfg.mirroredBoots); 80 80 81 81 convertedFont = (pkgs.runCommand "grub-font-converted.pf2" {}
+1 -1
nixos/modules/tasks/encrypted-devices.nix
··· 8 8 keyedEncDevs = filter (dev: dev.encrypted.keyFile != null) encDevs; 9 9 keylessEncDevs = filter (dev: dev.encrypted.keyFile == null) encDevs; 10 10 anyEncrypted = 11 - fold (j: v: v || j.encrypted.enable) false encDevs; 11 + foldr (j: v: v || j.encrypted.enable) false encDevs; 12 12 13 13 encryptedFSOptions = { 14 14
+10 -1
pkgs/applications/misc/calibre/default.nix
··· 1 1 { lib 2 2 , mkDerivation 3 3 , fetchurl 4 + , fetchFromGitHub 4 5 , poppler_utils 5 6 , pkg-config 6 7 , libpng ··· 94 95 python 95 96 regex 96 97 sip 97 - zeroconf 98 + (zeroconf.overrideAttrs (oldAttrs: rec { 99 + version = "0.31.0"; 100 + src = fetchFromGitHub { 101 + owner = "jstasiak"; 102 + repo = "python-zeroconf"; 103 + rev = version; 104 + sha256 = "158dqay74zvnz6kmpvip4ml0kw59nf2aaajwgaamx0zc8ci1p5pj"; 105 + }; 106 + })) 98 107 # the following are distributed with calibre, but we use upstream instead 99 108 odfpy 100 109 ] ++ lib.optional (unrarSupport) unrardll
+33
pkgs/applications/misc/coregarage/default.nix
··· 1 + { mkDerivation, lib, fetchFromGitLab, qtbase, libarchive, libarchive-qt, libcprime, cmake, ninja }: 2 + 3 + mkDerivation rec { 4 + pname = "coregarage"; 5 + version = "4.2.0"; 6 + 7 + src = fetchFromGitLab { 8 + owner = "cubocore/coreapps"; 9 + repo = pname; 10 + rev = "v${version}"; 11 + sha256 = "sha256-2pOQwSj+QKwpHVJp7VCyq6QpVW5wLUf/BE7ReXrJ78s="; 12 + }; 13 + 14 + nativeBuildInputs = [ 15 + cmake 16 + ninja 17 + ]; 18 + 19 + buildInputs = [ 20 + qtbase 21 + libcprime 22 + libarchive 23 + libarchive-qt 24 + ]; 25 + 26 + meta = with lib; { 27 + description = "A settings manager for the C Suite"; 28 + homepage = "https://gitlab.com/cubocore/coreapps/coregarage"; 29 + license = licenses.gpl3Plus; 30 + maintainers = with maintainers; [ dan4ik605743 ]; 31 + platforms = platforms.linux; 32 + }; 33 + }
+6 -4
pkgs/applications/networking/mailreaders/notmuch-bower/default.nix
··· 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "notmuch-bower"; 5 - version = "0.12"; 5 + version = "0.13"; 6 6 7 7 src = fetchFromGitHub { 8 8 owner = "wangp"; 9 9 repo = "bower"; 10 10 rev = version; 11 - sha256 = "0hvvlbvad6h73iiyn9xshlj073p2ddchgh0pyizh9gi8niir4fn5"; 11 + sha256 = "0r5s16pc3ym5nd33lv9ljv1p1gpb7yysrdni4g7w7yvjrnwk35l6"; 12 12 }; 13 13 14 14 nativeBuildInputs = [ gawk mercury pandoc ]; ··· 18 18 makeFlags = [ "PARALLEL=-j$(NIX_BUILD_CORES)" "bower" "man" ]; 19 19 20 20 installPhase = '' 21 + runHook preInstall 21 22 mkdir -p $out/bin 22 23 mv bower $out/bin/ 23 24 mkdir -p $out/share/man/man1 24 25 mv bower.1 $out/share/man/man1/ 26 + runHook postInstall 25 27 ''; 26 28 27 29 enableParallelBuilding = true; ··· 29 31 meta = with lib; { 30 32 homepage = "https://github.com/wangp/bower"; 31 33 description = "A curses terminal client for the Notmuch email system"; 32 - maintainers = with maintainers; [ erictapen ]; 33 - license = licenses.gpl3; 34 + maintainers = with maintainers; [ jgart ]; 35 + license = licenses.gpl3Plus; 34 36 platforms = platforms.linux; 35 37 }; 36 38 }
+4 -3
pkgs/applications/office/gnucash/default.nix
··· 11 11 name = perl.name + "-wrapper-for-gnucash"; 12 12 nativeBuildInputs = [ makeWrapper ]; 13 13 buildInputs = [ perl ] ++ (with perlPackages; [ FinanceQuote DateManip ]); 14 - phases = [ "installPhase" ]; 14 + dontUnpack = true; 15 + 15 16 installPhase = '' 16 17 mkdir -p $out/bin 17 18 for script in ${perl}/bin/*; do ··· 40 41 }) 41 42 ]; 42 43 43 - nativeBuildInputs = [ pkg-config makeWrapper cmake gtest ]; 44 + nativeBuildInputs = [ pkg-config makeWrapper cmake gtest swig ]; 44 45 45 46 buildInputs = [ 46 - boost icu libxml2 libxslt gettext swig isocodes gtk3 glibcLocales 47 + boost icu libxml2 libxslt gettext isocodes gtk3 glibcLocales 47 48 webkitgtk dconf libofx aqbanking gwenhywfar libdbi 48 49 libdbiDrivers guile 49 50 perlWrapper perl
+2 -2
pkgs/applications/office/portfolio/default.nix
··· 24 24 in 25 25 stdenv.mkDerivation rec { 26 26 pname = "PortfolioPerformance"; 27 - version = "0.53.1"; 27 + version = "0.54.1"; 28 28 29 29 src = fetchurl { 30 30 url = "https://github.com/buchen/portfolio/releases/download/${version}/PortfolioPerformance-${version}-linux.gtk.x86_64.tar.gz"; 31 - sha256 = "0hddq1nijxhr6kgf7gydw0nh07lh86fs8srkhm29ik4hmv8ch19p"; 31 + sha256 = "16sv938sdbs01byqwngrfqmzb81zfhvk72ar53l68cg8qjvzs5ml"; 32 32 }; 33 33 34 34 nativeBuildInputs = [
-9
pkgs/applications/science/biology/mrbayes/builder.sh
··· 1 - # builder for mrbayes - note: only builds on Unix 2 - 3 - source $stdenv/setup 4 - 5 - tar xvfz $src 6 - cd mrbayes-* 7 - make 8 - mkdir -p $out/bin 9 - cp -v mb $out/bin
+12 -11
pkgs/applications/science/biology/mrbayes/default.nix
··· 1 - {lib, stdenv, fetchurl, readline}: 1 + { lib, stdenv, fetchFromGitHub, readline }: 2 2 3 3 stdenv.mkDerivation rec { 4 - # FIXME: replace Makefile so we can build MPI & MAC support 4 + pname = "mrbayes"; 5 + version = "3.2.7"; 5 6 6 - name = "mrbayes-3.1.2"; 7 - src = fetchurl { 8 - url = "mirror://sourceforge/mrbayes/${name}.tar.gz"; 9 - sha256 = "1x7j8ca5wjrqrxmcpvd375ydm3s2pbkzykv8xfhg1jc037g560n6"; 7 + src = fetchFromGitHub { 8 + owner = "NBISweden"; 9 + repo = "MrBayes"; 10 + rev = "v${version}"; 11 + sha256 = "sha256-J0r4CxxQuZ3exvfCMRbLmyEd8ROaXNQG4afwiAs6H+M="; 10 12 }; 11 - builder = ./builder.sh; 12 - buildInputs = [readline]; 13 13 14 14 meta = with lib; { 15 - description = "Bayesian Inference of Phylogeny"; 15 + description = "Bayesian Inference of Phylogeny"; 16 16 longDescription = '' 17 17 Bayesian inference of phylogeny is based upon a 18 18 quantity called the posterior probability distribution of trees, which is ··· 22 22 MrBayes uses a simulation technique called Markov chain Monte Carlo (or 23 23 MCMC) to approximate the posterior probabilities of trees. 24 24 ''; 25 - license = licenses.gpl2; 26 - homepage = "http://mrbayes.csit.fsu.edu/"; 25 + maintainers = with maintainers; [ ]; 26 + license = licenses.gpl2Plus; 27 + homepage = "https://nbisweden.github.io/MrBayes/"; 27 28 platforms = platforms.linux; 28 29 }; 29 30 }
+2 -2
pkgs/applications/video/ccextractor/default.nix
··· 4 4 with lib; 5 5 stdenv.mkDerivation rec { 6 6 pname = "ccextractor"; 7 - version = "0.90"; 7 + version = "0.91"; 8 8 9 9 src = fetchFromGitHub { 10 10 owner = "CCExtractor"; 11 11 repo = pname; 12 12 rev = "v${version}"; 13 - sha256 = "sha256-NVFCwUZZVt8GrWXWyvoF8UrUZ/ix+GWubKtc3218k7o="; 13 + sha256 = "sha256-VqJQaYzH8psQJfnDariV4q7SkDiXRz9byR51C8DzVEs="; 14 14 }; 15 15 16 16 sourceRoot = "source/src";
+2 -1
pkgs/applications/video/vlc/default.nix
··· 8 8 , libmtp, unzip, taglib, libkate, libtiger, libv4l, samba, libssh2, liboggz 9 9 , libass, libva, libdvbpsi, libdc1394, libraw1394, libopus 10 10 , libvdpau, libsamplerate, live555, fluidsynth, wayland, wayland-protocols 11 + , ncurses 11 12 , onlyLibVLC ? false 12 13 , withQt5 ? true, qtbase, qtsvg, qtx11extras, wrapQtAppsHook 13 14 , jackSupport ? false ··· 42 43 libkate libtiger libv4l samba libssh2 liboggz libass libdvbpsi libva 43 44 xorg.xlibsWrapper xorg.libXv xorg.libXvMC xorg.libXpm xorg.xcbutilkeysyms 44 45 libdc1394 libraw1394 libopus libebml libmatroska libvdpau libsamplerate 45 - fluidsynth wayland wayland-protocols 46 + fluidsynth wayland wayland-protocols ncurses 46 47 ] ++ optional (!stdenv.hostPlatform.isAarch64) live555 47 48 ++ optionals withQt5 [ qtbase qtsvg qtx11extras ] 48 49 ++ optionals skins2Support (with xorg; [ libXpm freetype libXext libXinerama ])
-30
pkgs/applications/virtualization/8086tiny/builder.sh
··· 1 - 2 - source $stdenv/setup 3 - 4 - unpackPhase 5 - cd $sourceRoot 6 - 7 - make 8086tiny 8 - 9 - if [ $bios ]; then 10 - cd bios_source 11 - nasm -f bin bios.asm -o bios 12 - cd .. 13 - fi 14 - 15 - mkdir -p $out/bin $out/share/$name $out/share/doc/$name/images 16 - 17 - install -m 755 8086tiny $out/bin 18 - install -m 644 fd.img $out/share/$name/8086tiny-floppy.img 19 - install -m 644 bios_source/bios.asm $out/share/$name/8086tiny-bios-src.asm 20 - install -m 644 docs/8086tiny.css $out/share/doc/$name 21 - install -m 644 docs/doc.html $out/share/doc/$name 22 - for i in docs/images/*.gif 23 - do 24 - install -m 644 $i $out/share/doc/$name/images 25 - done 26 - if [ $bios ]; then 27 - install -m 644 bios_source/bios $out/share/$name/8086tiny-bios 28 - else 29 - install -m 644 bios $out/share/$name/8086tiny-bios 30 - fi
-43
pkgs/applications/virtualization/8086tiny/default.nix
··· 1 - { lib, stdenv, fetchFromGitHub 2 - , localBios ? true, nasm ? null 3 - , sdlSupport ? true, SDL ? null }: 4 - 5 - assert sdlSupport -> (SDL != null); 6 - 7 - stdenv.mkDerivation rec { 8 - 9 - pname = "8086tiny"; 10 - version = "1.25"; 11 - 12 - src = fetchFromGitHub { 13 - owner = "adriancable"; 14 - repo = pname; 15 - rev = "c79ca2a34d96931d55ef724c815b289d0767ae3a"; 16 - sha256 = "00aydg8f28sgy8l3rd2a7jvp56lx3b63hhak43p7g7vjdikv495w"; 17 - }; 18 - 19 - buildInputs = with lib; 20 - optionals localBios [ nasm ] 21 - ++ optionals sdlSupport [ SDL ]; 22 - 23 - bios = localBios; 24 - 25 - builder = ./builder.sh; 26 - 27 - meta = with lib; { 28 - description = "An open-source small 8086 emulator"; 29 - longDescription = '' 30 - 8086tiny is a tiny, open-source (MIT), portable (little-endian hosts) 31 - Intel PC emulator, powerful enough to run DOS, Windows 3.0, Excel, MS 32 - Flight Simulator, AutoCAD, Lotus 1-2-3, and similar applications. 8086tiny 33 - emulates a "late 80's era" PC XT-type machine. 34 - 35 - 8086tiny is based on an IOCCC 2013 winning entry. In fact that is the 36 - "unobfuscated" version :) 37 - ''; 38 - homepage = "https://github.com/adriancable/8086tiny"; 39 - license = licenses.mit; 40 - maintainers = [ maintainers.AndersonTorres ]; 41 - platforms = platforms.linux; 42 - }; 43 - }
+68
pkgs/applications/virtualization/tiny8086/default.nix
··· 1 + { lib 2 + , stdenv 3 + , fetchFromGitHub 4 + , localBios ? true 5 + , nasm 6 + , sdlSupport ? true 7 + , SDL 8 + }: 9 + 10 + stdenv.mkDerivation rec { 11 + pname = "8086tiny"; 12 + version = "1.25"; 13 + 14 + src = fetchFromGitHub { 15 + owner = "adriancable"; 16 + repo = pname; 17 + rev = "c79ca2a34d96931d55ef724c815b289d0767ae3a"; 18 + sha256 = "00aydg8f28sgy8l3rd2a7jvp56lx3b63hhak43p7g7vjdikv495w"; 19 + }; 20 + 21 + buildInputs = lib.optional localBios nasm 22 + ++ lib.optional sdlSupport SDL; 23 + 24 + makeFlags = [ "8086tiny" ]; 25 + 26 + postBuild = lib.optionalString localBios '' 27 + ( 28 + cd bios_source 29 + nasm -f bin bios.asm -o bios 30 + ) 31 + ''; 32 + 33 + installPhase = '' 34 + mkdir -p $out/bin $out/share/8086tiny $out/share/doc/8086tiny/images 35 + 36 + install -m 755 8086tiny $out/bin 37 + install -m 644 fd.img $out/share/8086tiny/8086tiny-floppy.img 38 + install -m 644 bios_source/bios.asm $out/share/8086tiny/8086tiny-bios-src.asm 39 + install -m 644 docs/8086tiny.css $out/share/doc/8086tiny 40 + install -m 644 docs/doc.html $out/share/doc/$name 41 + 42 + for i in docs/images/\*.gif; do 43 + install -m 644 $i $out/share/doc/8086tiny/images 44 + done 45 + 46 + ${if localBios then 47 + "install -m 644 bios_source/bios $out/share/8086tiny/8086tiny-bios" 48 + else 49 + "install -m 644 bios $out/share/8086tiny/8086tiny-bios"} 50 + ''; 51 + 52 + meta = with lib; { 53 + description = "An open-source small 8086 emulator"; 54 + longDescription = '' 55 + 8086tiny is a tiny, open-source (MIT), portable (little-endian hosts) 56 + Intel PC emulator, powerful enough to run DOS, Windows 3.0, Excel, MS 57 + Flight Simulator, AutoCAD, Lotus 1-2-3, and similar applications. 8086tiny 58 + emulates a "late 80's era" PC XT-type machine. 59 + 60 + 8086tiny is based on an IOCCC 2013 winning entry. In fact that is the 61 + "unobfuscated" version :) 62 + ''; 63 + homepage = "https://github.com/adriancable/8086tiny"; 64 + license = licenses.mit; 65 + maintainers = [ maintainers.AndersonTorres ]; 66 + platforms = platforms.linux; 67 + }; 68 + }
+11 -9
pkgs/data/misc/xorg-rgb/default.nix
··· 1 - {lib, stdenv, fetchurl, pkg-config, xorgproto}: 1 + { lib, stdenv, fetchurl, pkg-config, xorgproto }: 2 + 2 3 stdenv.mkDerivation rec { 3 4 pname = "rgb"; 4 5 version = "1.0.6"; 5 6 6 7 src = fetchurl { 7 - url = "http://xorg.freedesktop.org/archive/individual/app/rgb-${version}.tar.bz2"; 8 + url = "https://xorg.freedesktop.org/archive/individual/app/rgb-${version}.tar.bz2"; 8 9 sha256 = "1c76zcjs39ljil6f6jpx1x17c8fnvwazz7zvl3vbjfcrlmm7rjmv"; 9 10 }; 10 11 11 - nativeBuildInputs = [pkg-config]; 12 - buildInputs = [xorgproto]; 13 - meta = { 12 + nativeBuildInputs = [ pkg-config ]; 13 + buildInputs = [ xorgproto ]; 14 + 15 + meta = with lib; { 14 16 description = "X11 colorname to RGB mapping database"; 15 - license = lib.licenses.mit; 16 - maintainers = [lib.maintainers.raskin]; 17 - platforms = lib.platforms.linux; 18 - homepage = "http://xorg.freedesktop.org/"; 17 + license = licenses.mit; 18 + maintainers = [ maintainers.raskin ]; 19 + platforms = platforms.linux; 20 + homepage = "https://xorg.freedesktop.org/"; 19 21 }; 20 22 }
+3 -2
pkgs/development/libraries/libelf/default.nix
··· 1 1 { lib, stdenv 2 - , fetchurl, autoreconfHook, gettext 2 + , fetchurl, autoreconfHook, gettext, netbsd 3 3 }: 4 4 5 5 # Note: this package is used for bootstrapping fetchurl, and thus ··· 33 33 # on Darwin, so disable NLS for now. 34 34 ++ lib.optional stdenv.hostPlatform.isDarwin "--disable-nls"; 35 35 36 - nativeBuildInputs = [ gettext ] 36 + nativeBuildInputs = 37 + if stdenv.hostPlatform.isNetBSD then [ netbsd.gencat ] else [ gettext ] 37 38 # Need to regenerate configure script with newer version in order to pass 38 39 # "mr_cv_target_elf=yes", but `autoreconfHook` brings in `makeWrapper` 39 40 # which doesn't work with the bootstrapTools bash, so can only do this
+27 -10
pkgs/development/libraries/wolfssl/default.nix
··· 1 - { lib, stdenv, fetchFromGitHub, autoreconfHook }: 1 + { lib 2 + , stdenv 3 + , fetchFromGitHub 4 + , autoreconfHook 5 + }: 2 6 3 7 stdenv.mkDerivation rec { 4 8 pname = "wolfssl"; 5 - version = "4.8.0"; 9 + version = "4.8.1"; 6 10 7 11 src = fetchFromGitHub { 8 12 owner = "wolfSSL"; ··· 11 15 sha256 = "1w9gs9cq2yhj5s3diz3x1l15pgrc1pbm00jccizvcjyibmwyyf2h"; 12 16 }; 13 17 14 - # almost same as Debian but for now using --enable-all --enable-reproducible-build instead of --enable-distro to ensure options.h gets installed 15 - configureFlags = [ "--enable-all" "--enable-reproducible-build" "--enable-pkcs11" "--enable-tls13" "--enable-base64encode" ]; 18 + # Almost same as Debian but for now using --enable-all --enable-reproducible-build instead of --enable-distro to ensure options.h gets installed 19 + configureFlags = [ 20 + "--enable-all" 21 + "--enable-base64encode" 22 + "--enable-pkcs11" 23 + "--enable-reproducible-build" 24 + "--enable-tls13" 25 + ]; 16 26 17 - outputs = [ "out" "dev" "doc" "lib" ]; 27 + outputs = [ 28 + "dev" 29 + "doc" 30 + "lib" 31 + "out" 32 + ]; 18 33 19 - nativeBuildInputs = [ autoreconfHook ]; 34 + nativeBuildInputs = [ 35 + autoreconfHook 36 + ]; 20 37 21 38 postInstall = '' 22 39 # fix recursive cycle: ··· 28 45 29 46 meta = with lib; { 30 47 description = "A small, fast, portable implementation of TLS/SSL for embedded devices"; 31 - homepage = "https://www.wolfssl.com/"; 32 - platforms = platforms.all; 33 - license = licenses.gpl2Plus; 34 - maintainers = with maintainers; [ mcmtroffaes ]; 48 + homepage = "https://www.wolfssl.com/"; 49 + platforms = platforms.all; 50 + license = licenses.gpl2Plus; 51 + maintainers = with maintainers; [ fab mcmtroffaes ]; 35 52 }; 36 53 }
+4 -2
pkgs/development/python-modules/inotify-simple/default.nix
··· 2 2 3 3 buildPythonPackage rec { 4 4 pname = "inotify-simple"; 5 - version = "1.2.1"; 5 + version = "1.3.5"; 6 6 7 7 src = fetchPypi { 8 8 pname = "inotify_simple"; 9 9 inherit version; 10 - sha256 = "132craajflksgxxwjawj73nn1ssv8jn58j3k5vvyiq03avbz4sfv"; 10 + sha256 = "0a61bh087cq5wfrvz680hg5pmykb9gmy26kwyn6ims2akkjgyh44"; 11 11 }; 12 12 13 13 # The package has no tests 14 14 doCheck = false; 15 + 16 + pythonImportsCheck = [ "inotify_simple" ]; 15 17 16 18 meta = with lib; { 17 19 description = "A simple Python wrapper around inotify";
+2 -2
pkgs/development/python-modules/prawcore/default.nix
··· 14 14 15 15 buildPythonPackage rec { 16 16 pname = "prawcore"; 17 - version = "2.2.0"; 17 + version = "2.3.0"; 18 18 disabled = pythonOlder "3.6"; 19 19 20 20 src = fetchPypi { 21 21 inherit pname version; 22 - sha256 = "bde42fad459c4dcfe0f22a18921ef4981ee7cd286ea1de3eb697ba91838c9123"; 22 + sha256 = "0vgmhjddqxnz5vy70dyqvakak51fg1nk6j3xavkc83d8nzacrwfs"; 23 23 }; 24 24 25 25 propagatedBuildInputs = [
+2 -2
pkgs/development/python-modules/pyrituals/default.nix
··· 7 7 8 8 buildPythonPackage rec { 9 9 pname = "pyrituals"; 10 - version = "0.0.5"; 10 + version = "0.0.6"; 11 11 format = "pyproject"; 12 12 disabled = pythonOlder "3.8"; 13 13 ··· 15 15 owner = "milanmeu"; 16 16 repo = pname; 17 17 rev = version; 18 - sha256 = "sha256-iWJhjAUXkoH3MMJ5PFj2rjIy2e0nn57cRoEF6KMfrQg="; 18 + sha256 = "0ynjz7khp67bwxjp580w3zijxr9yn44nmnbvkxjxq9scyb2mjf6g"; 19 19 }; 20 20 21 21 propagatedBuildInputs = [ aiohttp ];
+6 -6
pkgs/development/python-modules/pyupgrade/default.nix
··· 1 - { buildPythonPackage 1 + { lib 2 + , buildPythonPackage 2 3 , fetchFromGitHub 3 - , isPy27 4 - , lib 4 + , pythonOlder 5 5 , pytestCheckHook 6 6 , tokenize-rt 7 7 }: 8 8 9 9 buildPythonPackage rec { 10 10 pname = "pyupgrade"; 11 - version = "2.21.0"; 12 - disabled = isPy27; 11 + version = "2.23.0"; 12 + disabled = pythonOlder "3.6"; 13 13 14 14 src = fetchFromGitHub { 15 15 owner = "asottile"; 16 16 repo = pname; 17 17 rev = "v${version}"; 18 - sha256 = "sha256-W0zaziTkXReEuLhcd6jEHH/dS1YSZNiWDro+tTH7Ftg="; 18 + sha256 = "0w1r9s3kr539vwfb7ld7jmr8q4jkr7jsnk51x50wji7jzs627a8i"; 19 19 }; 20 20 21 21 checkInputs = [ pytestCheckHook ];
+2 -2
pkgs/development/python-modules/ttp/default.nix
··· 19 19 in 20 20 buildPythonPackage rec { 21 21 pname = "ttp"; 22 - version = "0.7.1"; 22 + version = "0.7.2"; 23 23 format = "setuptools"; 24 24 25 25 src = fetchFromGitHub { 26 26 owner = "dmulyalin"; 27 27 repo = pname; 28 28 rev = version; 29 - sha256 = "1fmg5gz297bpr550s4vfq6vs7j042bp1mrdmqz1b7nz29c2khbz6"; 29 + sha256 = "sha256-dYjE+EMfCVHLRAqT1KM7o8VEopJ/TwAEMphYXuj38Wk="; 30 30 }; 31 31 32 32 propagatedBuildInputs = [
+1 -1
pkgs/development/tools/apktool/default.nix
··· 12 12 sha256 = "1r4z0z2c1drjd4ynpf36dklxs3hq1wdnzh63mk2yk4mmk75xg4mk"; 13 13 }; 14 14 15 - phases = [ "installPhase" ]; 15 + dontUnpack = true; 16 16 17 17 nativeBuildInputs = [ makeWrapper ]; 18 18
+16 -16
pkgs/development/tools/electron/default.nix
··· 105 105 headers = "0c7qms8vbirblg6z86s19p5l472p3h8lw1rj7ckgnwna4b68vn33"; 106 106 }; 107 107 108 - electron_12 = mkElectron "12.0.14" { 109 - x86_64-linux = "a75886b5aad27c64232ec0ec47d8c3c1d696ab968007cd8bfa5db87b33e8a5e7"; 110 - x86_64-darwin = "03b30610f23be9ef835a78e9d4babc52ff32e29ff33c51218b1b8970c3bd6062"; 111 - i686-linux = "0bb86208173da28250f261b162657c3614b859fb561df54cbd25b566d619c75c"; 112 - armv7l-linux = "bd743c6eec434aedb80e7e5eef58dfe9f133bc48015d263dc12a119dd1276e32"; 113 - aarch64-linux = "1f287496cc61c67db25339f8f79d09ace952edeaca47ea664766425ceaebc2a3"; 114 - aarch64-darwin = "50171b32c927ab5b658da5b4459eca5ddb5df89cc655ae753cc6d02b4ed9b30d"; 115 - headers = "1znhnily1gl2f58f0ny1fa3yilmm4xn5fcdvqkjh4czv5c12rrbg"; 108 + electron_12 = mkElectron "12.0.15" { 109 + x86_64-linux = "0ba1803ba64f2c155dcfc5452a4b7c034390aaea6197395b6195693b5d0bf605"; 110 + x86_64-darwin = "7da73a8e3eb82a035f0d720709dbbb44cac0166d52ad4858fca9f3d96e6a32ed"; 111 + i686-linux = "597f5710e6e55e4fb75c769af6e3c7db1924f6795f417e3ff6b37c4da2ae39fc"; 112 + armv7l-linux = "01138b036812e5461a5871c2f8912baf0adf316df6597eb5c4fd3df8d41fb95e"; 113 + aarch64-linux = "fe24cf90e3768cafa9939a0107261a97b4f132f9dec24bf0d1d15b591cdad2d6"; 114 + aarch64-darwin = "c48323f1fd6cd4ebc67a248a83bd7c460a640bf32613d4fecf6be705f3d6803c"; 115 + headers = "1gbnjgf1pfbca2czn8j74rafiwmgc64nxi6drzm1b7qy2f6lxrl0"; 116 116 }; 117 117 118 - electron_13 = mkElectron "13.1.6" { 119 - x86_64-linux = "6f28af0a3ccb20b0d2e4f26ea4698d5b89b81e860cbd40a446c2a8223fdf0101"; 120 - x86_64-darwin = "e2bde9b3b2ee092b80d18439780c4ecb4620da1ead9fcae00cc603f3a56fda3e"; 121 - i686-linux = "7c266148fba83c3eb912c5ccd7cd7c24829bc93b380378cba0480b02c38f5d42"; 122 - armv7l-linux = "8d54ec6babc06b118038d2d4f49cab84ec6d5617c645266b88dd829c02354e77"; 123 - aarch64-linux = "d24ba0e3f8624ec611fb2e9165c08b227ba799196b0f2787cad8c60f1cc23b5b"; 124 - aarch64-darwin = "0fa29c1ba89ab906c5ba20216c505b6d8d3fbccdc58cd397146783bddeff1dd4"; 125 - headers = "122ppxayj1fijzfdpnh3wqyi636dq53j8imyf46ik8fkvgmrw2mz"; 118 + electron_13 = mkElectron "13.1.7" { 119 + x86_64-linux = "0bb38a5e45609a8c46dd6173447a45477651f3c2ea58f724807d79c8e4a8876e"; 120 + x86_64-darwin = "be8d05a7f853b9e7020c095c3d8075269832ccf821ca9785135884e6bc893df8"; 121 + i686-linux = "2a1c84ca8fd2a5b10b918bda11c5e546f4b77f85484a32af24ed44d6f877587d"; 122 + armv7l-linux = "3d4ed4cbd2ea9dd01d5ad09ed5b408762c69b5827be6fdae2e19681f2a159509"; 123 + aarch64-linux = "68e174bee2a686926ec2da193831aefc16ff8ec43b46e423044918e6d25d5925"; 124 + aarch64-darwin = "95489cc66c5638d95cde80189a5ae3477ce09c6cfa4c421b1e8bceea94f4dfba"; 125 + headers = "0zsnkgixch0c6ihg4drdx9a7gsl35wwfsphgiz80mhbw84slvq0n"; 126 126 }; 127 127 }
+3 -3
pkgs/development/tools/frugal/default.nix
··· 2 2 3 3 buildGoModule rec { 4 4 pname = "frugal"; 5 - version = "3.14.6"; 5 + version = "3.14.7"; 6 6 7 7 src = fetchFromGitHub { 8 8 owner = "Workiva"; 9 9 repo = pname; 10 10 rev = "v${version}"; 11 - sha256 = "sha256-MtQz/9+e2l4FQ1E299KtRzFpX67FynHdsvcMA4CqKUo="; 11 + sha256 = "sha256-mCfM2G+FhKDwPg0NqLIAe8F5MRZVJ0tcIY9FBuLpRpE="; 12 12 }; 13 13 14 14 subPackages = [ "." ]; 15 15 16 - vendorSha256 = "sha256-Y7lh+U4FKiht2PgACWSXwGTx+y8aJi22KEhqxHPooCw="; 16 + vendorSha256 = "sha256-onbvW3vjuAL+grLfvJR14jxVpoue+YZAeFMOS8ktS1A="; 17 17 18 18 meta = with lib; { 19 19 description = "Thrift improved";
+4 -2
pkgs/development/tools/libsigrokdecode/default.nix
··· 1 - { lib, stdenv, fetchurl, pkg-config, glib, python3, libsigrok, check }: 1 + { lib, stdenv, fetchurl, pkg-config, glib, python3, check }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "libsigrokdecode"; ··· 10 10 }; 11 11 12 12 nativeBuildInputs = [ pkg-config ]; 13 - buildInputs = [ glib python3 libsigrok check ]; 13 + buildInputs = [ glib python3 ]; 14 + checkInputs = [ check ]; 15 + doCheck = true; 14 16 15 17 meta = with lib; { 16 18 description = "Protocol decoding library for the sigrok signal analysis software suite";
+2 -1
pkgs/os-specific/linux/firmware/facetimehd-firmware/default.nix
··· 43 43 curlOpts = "-r ${dmgRange}"; 44 44 }; 45 45 46 - phases = [ "buildPhase" ]; 46 + dontUnpack = true; 47 + dontInstall = true; 47 48 48 49 buildInputs = [ cpio xz ]; 49 50
+4 -2
pkgs/os-specific/linux/firmware/openelec-dvb-firmware/default.nix
··· 9 9 sha256 = "cef3ce537d213e020af794cecf9de207e2882c375ceda39102eb6fa2580bad8d"; 10 10 }; 11 11 12 - phases = [ "unpackPhase" "installPhase" ]; 13 - 14 12 installPhase = '' 13 + runHook preInstall 14 + 15 15 DESTDIR="$out" ./install 16 16 find $out \( -name 'README.*' -or -name 'LICEN[SC]E.*' -or -name '*.txt' \) | xargs rm 17 + 18 + runHook postInstall 17 19 ''; 18 20 19 21 meta = with lib; {
+1 -1
pkgs/os-specific/linux/kernel/generic.nix
··· 70 70 71 71 let 72 72 # Combine the `features' attribute sets of all the kernel patches. 73 - kernelFeatures = lib.fold (x: y: (x.features or {}) // y) ({ 73 + kernelFeatures = lib.foldr (x: y: (x.features or {}) // y) ({ 74 74 iwlwifi = true; 75 75 efiBootStub = true; 76 76 needsCifsUtils = true;
+2 -2
pkgs/os-specific/linux/kernel/linux-xanmod.nix
··· 1 1 { lib, stdenv, buildLinux, fetchFromGitHub, ... } @ args: 2 2 3 3 let 4 - version = "5.13.4"; 4 + version = "5.13.5"; 5 5 suffix = "xanmod1-cacule"; 6 6 in 7 7 buildLinux (args // rec { ··· 12 12 owner = "xanmod"; 13 13 repo = "linux"; 14 14 rev = modDirVersion; 15 - sha256 = "sha256-jSV5dL6myB4WeokYBwoBtQaOfLaUgvseYtReyjLGOhU="; 15 + sha256 = "sha256-Vhshu3mNkQ58TEOUBOuF7jLBlablxg/BioUyd96lI5g="; 16 16 }; 17 17 18 18 structuredExtraConfig = with lib.kernel; {
-8
pkgs/servers/dict/wiktionary/builder.sh
··· 1 - source $stdenv/setup 2 - 3 - mkdir -p $out/share/dictd/ 4 - cd $out/share/dictd 5 - 6 - python -O "$convert" "$src" 7 - dictzip wiktionary-en.dict 8 - echo en_US.UTF-8 > locale
+15 -5
pkgs/servers/dict/wiktionary/default.nix
··· 1 1 { lib, stdenv, fetchurl, python2, dict, glibcLocales }: 2 2 3 3 stdenv.mkDerivation rec { 4 - version = "20210201"; 5 4 pname = "dict-db-wiktionary"; 5 + version = "20210201"; 6 6 7 7 src = fetchurl { 8 8 url = "https://dumps.wikimedia.org/enwiktionary/${version}/enwiktionary-${version}-pages-articles.xml.bz2"; 9 9 sha256 = "0dc34cbadsg0f6lhfcyx0np7zjnlg6837piqhlvnn0b45xnzn0cs"; 10 10 }; 11 11 12 - convert = ./wiktionary2dict.py; 13 - buildInputs = [ python2 dict glibcLocales ]; 14 - builder = ./builder.sh; 12 + # script in nixpkgs does not support python2 13 + nativeBuildInputs = [ python2 dict glibcLocales ]; 14 + 15 + dontUnpack = true; 16 + 17 + installPhase = '' 18 + mkdir -p $out/share/dictd/ 19 + cd $out/share/dictd 20 + 21 + ${python2.interpreter} -O ${./wiktionary2dict.py} "${src}" 22 + dictzip wiktionary-en.dict 23 + echo en_US.UTF-8 > locale 24 + ''; 15 25 16 26 passthru.updateScript = ./update.sh; 17 27 18 28 meta = with lib; { 19 29 description = "DICT version of English Wiktionary"; 20 - homepage = "http://en.wiktionary.org/"; 30 + homepage = "https://en.wiktionary.org/"; 21 31 maintainers = with maintainers; [ qyliss ]; 22 32 platforms = platforms.all; 23 33 license = with licenses; [ cc-by-sa-30 fdl11Plus ];
+4 -6
pkgs/servers/mail/postfix/default.nix
··· 23 23 ++ lib.optional withLDAP "-lldap"); 24 24 25 25 in stdenv.mkDerivation rec { 26 - 27 26 pname = "postfix"; 28 - 29 27 version = "3.6.1"; 30 28 31 29 src = fetchurl { ··· 35 33 36 34 nativeBuildInputs = [ makeWrapper m4 ]; 37 35 buildInputs = [ db openssl cyrus_sasl icu libnsl pcre ] 38 - ++ lib.optional withPgSQL postgresql 39 - ++ lib.optional withMySQL libmysqlclient 40 - ++ lib.optional withSQLite sqlite 41 - ++ lib.optional withLDAP openldap; 36 + ++ lib.optional withPgSQL postgresql 37 + ++ lib.optional withMySQL libmysqlclient 38 + ++ lib.optional withSQLite sqlite 39 + ++ lib.optional withLDAP openldap; 42 40 43 41 hardeningDisable = [ "format" ]; 44 42 hardeningEnable = [ "pie" ];
+4 -11
pkgs/tools/audio/tts/default.nix
··· 1 1 { lib 2 - , python38 2 + , python3 3 3 , fetchFromGitHub 4 4 , fetchpatch 5 5 }: ··· 10 10 # $ tts-server --model_name tts_models/en/ljspeech/glow-tts --vocoder_name vocoder_models/universal/libri-tts/fullband-melgan 11 11 # 12 12 # If you upgrade from an old version you may have to delete old models from ~/.local/share/tts 13 - # Also note that your tts version might not support all available models so check: 14 - # https://github.com/coqui-ai/TTS/releases/tag/v0.1.2 15 13 # 16 14 # For now, for deployment check the systemd unit in the pull request: 17 15 # https://github.com/NixOS/nixpkgs/pull/103851#issue-521121136 18 16 19 - let 20 - python3 = python38; 21 - in python3.pkgs.buildPythonApplication rec { 17 + python3.pkgs.buildPythonApplication rec { 22 18 pname = "tts"; 23 - version = "0.1.2"; 24 - 25 - # https://github.com/coqui-ai/TTS/issues/570 26 - disabled = python3.pythonAtLeast "3.9"; 19 + version = "0.1.3"; 27 20 28 21 src = fetchFromGitHub { 29 22 owner = "coqui-ai"; 30 23 repo = "TTS"; 31 24 rev = "v${version}"; 32 - sha256 = "1qgiaqn7iqxyf54qgnpmli69nw9s3gmi9qv874jsgycykc10hjg4"; 25 + sha256 = "0akhiaaqz53bf5zyps3vgjifmgh5wvcc9r4lrq9hmj3dds03vkjq"; 33 26 }; 34 27 35 28 postPatch = ''
+2 -2
pkgs/tools/misc/bdf2psf/default.nix
··· 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "bdf2psf"; 5 - version = "1.204"; 5 + version = "1.205"; 6 6 7 7 src = fetchurl { 8 8 url = "mirror://debian/pool/main/c/console-setup/bdf2psf_${version}_all.deb"; 9 - sha256 = "sha256-oyBkt52mWM2FiaM++s5Uoe7Wd0v1oLM7HjWKDjIonGE="; 9 + sha256 = "sha256-elFmsqtndo4ReR4IoyhC56k0PMqy5QrUxOGUQLGeu0I="; 10 10 }; 11 11 12 12 nativeBuildInputs = [ dpkg ];
+2 -2
pkgs/tools/misc/disfetch/default.nix
··· 4 4 5 5 stdenv.mkDerivation rec { 6 6 pname = "disfetch"; 7 - version = "1.24"; 7 + version = "2.2"; 8 8 9 9 src = fetchFromGitHub { 10 10 owner = "llathasa-veleth"; 11 11 repo = "disfetch"; 12 12 rev = version; 13 - sha256 = "sha256-Uoc5xSyLXXEqdyYn71NK8c8A/1wQ6djYn/HHJwGg5vc="; 13 + sha256 = "sha256-93nh1MDE2YO53lH2jDdKxgHh6v2KkAFo2Oyg+6ZpD+M="; 14 14 }; 15 15 16 16 dontBuild = true;
+15 -1
pkgs/tools/misc/flameshot/default.nix
··· 1 - { mkDerivation, lib, fetchFromGitHub, qtbase, cmake, qttools, qtsvg }: 1 + { mkDerivation 2 + , lib 3 + , fetchFromGitHub 4 + , qtbase 5 + , cmake 6 + , qttools 7 + , qtsvg 8 + , nix-update-script 9 + }: 2 10 3 11 mkDerivation rec { 4 12 pname = "flameshot"; ··· 9 17 repo = "flameshot"; 10 18 rev = "v${version}"; 11 19 sha256 = "1m0mx8qhy9ycsqh5dj6c7mwwpbhqxlds31dqdxxk0krwl750smi2"; 20 + }; 21 + 22 + passthru = { 23 + updateScript = nix-update-script { 24 + attrPath = pname; 25 + }; 12 26 }; 13 27 14 28 nativeBuildInputs = [ cmake qttools qtsvg ];
+39
pkgs/tools/misc/interactsh/default.nix
··· 1 + { lib 2 + , buildGoModule 3 + , fetchFromGitHub 4 + }: 5 + 6 + buildGoModule rec { 7 + pname = "interactsh"; 8 + version = "0.0.3"; 9 + 10 + src = fetchFromGitHub { 11 + owner = "projectdiscovery"; 12 + repo = pname; 13 + rev = "v${version}"; 14 + sha256 = "0a3jfdnhh5idf2j14gppjxmdhqnyymg42z7nlnbr2zaigkvgz487"; 15 + }; 16 + 17 + vendorSha256 = "sha256-hLnxtARre+7HqEtU7bB9SvEieOaAoBM6VFUnKvLCD60="; 18 + 19 + modRoot = "."; 20 + subPackages = [ 21 + "cmd/interactsh-client" 22 + "cmd/interactsh-server" 23 + ]; 24 + 25 + # Test files are not part of the release tarball 26 + doCheck = false; 27 + 28 + meta = with lib; { 29 + description = "An Out of bounds interaction gathering server and client library"; 30 + longDescription = '' 31 + Interactsh is an Open-Source Solution for Out of band Data Extraction, 32 + A tool designed to detect bugs that cause external interactions, 33 + For example - Blind SQLi, Blind CMDi, SSRF, etc. 34 + ''; 35 + homepage = "https://github.com/projectdiscovery/interactsh"; 36 + license = licenses.mit; 37 + maintainers = with maintainers; [ hanemile ]; 38 + }; 39 + }
+2 -2
pkgs/tools/security/exploitdb/default.nix
··· 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "exploitdb"; 5 - version = "2021-07-24"; 5 + version = "2021-07-27"; 6 6 7 7 src = fetchFromGitHub { 8 8 owner = "offensive-security"; 9 9 repo = pname; 10 10 rev = version; 11 - sha256 = "sha256-UMajZExQjrbXon/tNYt+xp9LM7QRVXefGHDYuu949AQ="; 11 + sha256 = "077y7rzvmv0kzwrhm592fsjd2lv839b5wzf59vq9cd3j313bdaab"; 12 12 }; 13 13 14 14 installPhase = ''
+3 -3
pkgs/tools/security/fido2luks/default.nix
··· 9 9 10 10 rustPlatform.buildRustPackage rec { 11 11 pname = "fido2luks"; 12 - version = "0.2.17"; 12 + version = "0.2.19"; 13 13 14 14 src = fetchFromGitHub { 15 15 owner = "shimunn"; 16 16 repo = pname; 17 17 rev = version; 18 - sha256 = "sha256-rrtPMCgp2Xe8LXzFN57rzay2kyPaLT1+2m1NZQ9EsW4="; 18 + sha256 = "sha256-o21KdsAE9KznobdMMKfVmVnENsLW3cMZjssnrsoN+KY="; 19 19 }; 20 20 21 21 buildInputs = [ cryptsetup ]; ··· 25 25 export LIBCLANG_PATH="${llvmPackages.libclang.lib}/lib" 26 26 ''; 27 27 28 - cargoSha256 = "sha256-5CzQuzmKuEi4KTR1jNh4avwqA3qYzTj+rV/zbIeUjAM="; 28 + cargoSha256 = "sha256-8JFe3mivf2Ewu1nLMugeeK+9ZXAGPHaqCyKfWfwLOc8="; 29 29 30 30 meta = with lib; { 31 31 description = "Decrypt your LUKS partition using a FIDO2 compatible authenticator";
+11 -10
pkgs/tools/security/fulcio/default.nix
··· 2 2 3 3 buildGoModule rec { 4 4 pname = "fulcio"; 5 - version = "0.1.0"; 5 + version = "0.1.1"; 6 6 7 7 src = fetchFromGitHub { 8 8 owner = "sigstore"; 9 9 repo = pname; 10 - rev = version; 11 - sha256 = "sha256-+HWzhg+LTKpr9VJ9mzQghwOuGgp3EBb4/zltaqp0zHw="; 10 + rev = "v${version}"; 11 + sha256 = "sha256-MvLQMGPyJYqYUljLqsr+qJeeYnxdH9aNGkWpDRvOeh8="; 12 12 }; 13 - vendorSha256 = "sha256-1tR1vUm5eFBS93kELQoKWEyFlfMF28GBI8VEHxTyeM4="; 13 + vendorSha256 = "sha256-pRL0et+UOi/tzuQz/Q7UmSA+pVhLJYR8lG8NAbPN9PU="; 14 14 15 15 ldflags = [ "-s" "-w" ]; 16 16 ··· 18 18 nativeBuildInputs = [ installShellFiles ]; 19 19 20 20 postInstall = '' 21 - installShellCompletion --cmd fulcio \ 22 - --bash <($out/bin/fulcio completion bash) \ 23 - --fish <($out/bin/fulcio completion fish) \ 24 - --zsh <($out/bin/fulcio completion zsh) 21 + mv $out/bin/fulcio $out/bin/fulcio-server 22 + installShellCompletion --cmd fulcio-server \ 23 + --bash <($out/bin/fulcio-server completion bash) \ 24 + --fish <($out/bin/fulcio-server completion fish) \ 25 + --zsh <($out/bin/fulcio-server completion zsh) 25 26 ''; 26 27 27 28 doInstallCheck = true; 28 29 installCheckPhase = '' 29 30 runHook preInstallCheck 30 - $out/bin/fulcio --help 31 + $out/bin/fulcio-server --help 31 32 runHook postInstallCheck 32 33 ''; 33 34 34 35 meta = with lib; { 35 36 homepage = "https://github.com/sigstore/fulcio"; 36 - changelog = "https://github.com/sigstore/fulcio/releases/tag/${version}"; 37 + changelog = "https://github.com/sigstore/fulcio/releases/tag/v${version}"; 37 38 description = "A Root-CA for code signing certs - issuing certificates based on an OIDC email address"; 38 39 license = licenses.asl20; 39 40 maintainers = with maintainers; [ lesuisse jk ];
+3 -3
pkgs/tools/text/angle-grinder/default.nix
··· 5 5 6 6 rustPlatform.buildRustPackage rec { 7 7 pname = "angle-grinder"; 8 - version = "0.16"; 8 + version = "0.17.0"; 9 9 10 10 src = fetchFromGitHub { 11 11 owner = "rcoh"; 12 12 repo = pname; 13 13 rev = "v${version}"; 14 - sha256 = "sha256-cGYhGcNalmc/Gr7mY1Fycs8cZYaIy622DFIL64LT+gE="; 14 + sha256 = "sha256-jG3jHFqFOrIT/e5oyLOEckw5C3LIs7amFAa4QDEI/EY="; 15 15 }; 16 16 17 - cargoSha256 = "sha256-LJ7zudUeso28zJqLhqWGWqf+L4o75rJjtTx9BpWKRIE="; 17 + cargoSha256 = "sha256-Rkex+fnnacV+DCRpX3Zh9J3vGuG4QfFhFezHTs33peY="; 18 18 19 19 meta = with lib; { 20 20 description = "Slice and dice logs on the command line";
+1 -1
pkgs/tools/typesetting/tex/nix/default.nix
··· 77 77 in if fn != null then [{key = fn;}] ++ xs 78 78 else xs; 79 79 80 - in pkgs.lib.fold foundDeps [] deps; 80 + in pkgs.lib.foldr foundDeps [] deps; 81 81 }; 82 82 83 83
+8 -2
pkgs/top-level/all-packages.nix
··· 2931 2931 2932 2932 inklecate = callPackage ../development/compilers/inklecate {}; 2933 2933 2934 + interactsh = callPackage ../tools/misc/interactsh { }; 2935 + 2934 2936 interlock = callPackage ../servers/interlock {}; 2935 2937 2936 2938 iotools = callPackage ../tools/misc/iotools { }; ··· 3905 3907 code-browser-gtk = callPackage ../applications/editors/code-browser { withGtk = true; 3906 3908 qtbase = qt5.qtbase; 3907 3909 }; 3910 + 3911 + coregarage = libsForQt5.callPackage ../applications/misc/coregarage { }; 3908 3912 3909 3913 c14 = callPackage ../applications/networking/c14 { }; 3910 3914 ··· 9359 9363 9360 9364 tinycbor = callPackage ../development/libraries/tinycbor { }; 9361 9365 9362 - tiny8086 = callPackage ../applications/virtualization/8086tiny { }; 9366 + tiny8086 = callPackage ../applications/virtualization/tiny8086 { }; 9363 9367 9364 9368 tinyemu = callPackage ../applications/virtualization/tinyemu { }; 9365 9369 ··· 13459 13463 sha256 = "0l3h7zvn3w4c1b9dgvl3hirc4aj1csfkgbk87jkpl7bgl03nk4j3"; 13460 13464 }; 13461 13465 13462 - libsigrokdecode = callPackage ../development/tools/libsigrokdecode { }; 13466 + libsigrokdecode = callPackage ../development/tools/libsigrokdecode { 13467 + python3 = python38; 13468 + }; 13463 13469 13464 13470 # special forks used for dsview 13465 13471 libsigrok4dsl = callPackage ../applications/science/electronics/dsview/libsigrok4dsl.nix { };