Merge staging-next into staging

authored by github-actions[bot] and committed by GitHub 05798fee cd2bab45

+462 -505
+10
nixos/doc/manual/from_md/release-notes/rl-2211.section.xml
··· 259 </listitem> 260 <listitem> 261 <para> 262 (Neo)Vim can not be configured with 263 <literal>configure.pathogen</literal> anymore to reduce 264 maintainance burden. Use <literal>configure.packages</literal>
··· 259 </listitem> 260 <listitem> 261 <para> 262 + The <literal>services.graphite.api</literal> and 263 + <literal>services.graphite.beacon</literal> NixOS options, and 264 + the <literal>python3.pkgs.graphite_api</literal>, 265 + <literal>python3.pkgs.graphite_beacon</literal> and 266 + <literal>python3.pkgs.influxgraph</literal> packages, have 267 + been removed due to lack of upstream maintenance. 268 + </para> 269 + </listitem> 270 + <listitem> 271 + <para> 272 (Neo)Vim can not be configured with 273 <literal>configure.pathogen</literal> anymore to reduce 274 maintainance burden. Use <literal>configure.packages</literal>
+5
nixos/doc/manual/release-notes/rl-2211.section.md
··· 99 100 - riak package removed along with `services.riak` module, due to lack of maintainer to update the package. 101 102 - (Neo)Vim can not be configured with `configure.pathogen` anymore to reduce maintainance burden. 103 Use `configure.packages` instead. 104
··· 99 100 - riak package removed along with `services.riak` module, due to lack of maintainer to update the package. 101 102 + - The `services.graphite.api` and `services.graphite.beacon` NixOS options, and 103 + the `python3.pkgs.graphite_api`, `python3.pkgs.graphite_beacon` and 104 + `python3.pkgs.influxgraph` packages, have been removed due to lack of upstream 105 + maintenance. 106 + 107 - (Neo)Vim can not be configured with `configure.pathogen` anymore to reduce maintainance burden. 108 Use `configure.packages` instead. 109
+3 -157
nixos/modules/services/monitoring/graphite.nix
··· 24 + cfg.web.extraConfig 25 ); 26 27 - graphiteApiConfig = pkgs.writeText "graphite-api.yaml" '' 28 - search_index: ${dataDir}/index 29 - ${optionalString (config.time.timeZone != null) "time_zone: ${config.time.timeZone}"} 30 - ${optionalString (cfg.api.finders != []) "finders:"} 31 - ${concatMapStringsSep "\n" (f: " - " + f.moduleName) cfg.api.finders} 32 - ${optionalString (cfg.api.functions != []) "functions:"} 33 - ${concatMapStringsSep "\n" (f: " - " + f) cfg.api.functions} 34 - ${cfg.api.extraConfig} 35 - ''; 36 - 37 seyrenConfig = { 38 SEYREN_URL = cfg.seyren.seyrenUrl; 39 MONGO_URL = cfg.seyren.mongoUrl; ··· 72 in { 73 74 imports = [ 75 (mkRemovedOptionModule ["services" "graphite" "pager"] "") 76 ]; 77 ··· 115 }; 116 }; 117 118 - api = { 119 - enable = mkOption { 120 - description = '' 121 - Whether to enable graphite api. Graphite api is lightweight alternative 122 - to graphite web, with api and without dashboard. It's advised to use 123 - grafana as alternative dashboard and influxdb as alternative to 124 - graphite carbon. 125 - 126 - For more information visit 127 - <link xlink:href="https://graphite-api.readthedocs.org/en/latest/"/> 128 - ''; 129 - default = false; 130 - type = types.bool; 131 - }; 132 - 133 - finders = mkOption { 134 - description = "List of finder plugins to load."; 135 - default = []; 136 - example = literalExpression "[ pkgs.python3Packages.influxgraph ]"; 137 - type = types.listOf types.package; 138 - }; 139 - 140 - functions = mkOption { 141 - description = "List of functions to load."; 142 - default = [ 143 - "graphite_api.functions.SeriesFunctions" 144 - "graphite_api.functions.PieFunctions" 145 - ]; 146 - type = types.listOf types.str; 147 - }; 148 - 149 - listenAddress = mkOption { 150 - description = "Graphite web service listen address."; 151 - default = "127.0.0.1"; 152 - type = types.str; 153 - }; 154 - 155 - port = mkOption { 156 - description = "Graphite api service port."; 157 - default = 8080; 158 - type = types.int; 159 - }; 160 - 161 - package = mkOption { 162 - description = "Package to use for graphite api."; 163 - default = pkgs.python3Packages.graphite_api; 164 - defaultText = literalExpression "pkgs.python3Packages.graphite_api"; 165 - type = types.package; 166 - }; 167 - 168 - extraConfig = mkOption { 169 - description = "Extra configuration for graphite api."; 170 - default = '' 171 - whisper: 172 - directories: 173 - - ${dataDir}/whisper 174 - ''; 175 - defaultText = literalExpression '' 176 - ''' 177 - whisper: 178 - directories: 179 - - ''${config.${opt.dataDir}}/whisper 180 - ''' 181 - ''; 182 - example = '' 183 - allowed_origins: 184 - - dashboard.example.com 185 - cheat_times: true 186 - influxdb: 187 - host: localhost 188 - port: 8086 189 - user: influxdb 190 - pass: influxdb 191 - db: metrics 192 - cache: 193 - CACHE_TYPE: 'filesystem' 194 - CACHE_DIR: '/tmp/graphite-api-cache' 195 - ''; 196 - type = types.lines; 197 - }; 198 - }; 199 - 200 carbon = { 201 config = mkOption { 202 description = "Content of carbon configuration file."; ··· 354 ''; 355 }; 356 }; 357 - 358 - beacon = { 359 - enable = mkEnableOption "graphite beacon"; 360 - 361 - config = mkOption { 362 - description = "Graphite beacon configuration."; 363 - default = {}; 364 - type = types.attrs; 365 - }; 366 - }; 367 }; 368 369 ###### implementation ··· 489 environment.systemPackages = [ pkgs.python3Packages.graphite-web ]; 490 })) 491 492 - (mkIf cfg.api.enable { 493 - systemd.services.graphiteApi = { 494 - description = "Graphite Api Interface"; 495 - wantedBy = [ "multi-user.target" ]; 496 - after = [ "network.target" ]; 497 - environment = { 498 - PYTHONPATH = let 499 - aenv = pkgs.python3.buildEnv.override { 500 - extraLibs = [ cfg.api.package pkgs.cairo pkgs.python3Packages.cffi ] ++ cfg.api.finders; 501 - }; 502 - in "${aenv}/${pkgs.python3.sitePackages}"; 503 - GRAPHITE_API_CONFIG = graphiteApiConfig; 504 - LD_LIBRARY_PATH = "${pkgs.cairo.out}/lib"; 505 - }; 506 - serviceConfig = { 507 - ExecStart = '' 508 - ${pkgs.python3Packages.waitress}/bin/waitress-serve \ 509 - --host=${cfg.api.listenAddress} --port=${toString cfg.api.port} \ 510 - graphite_api.app:app 511 - ''; 512 - User = "graphite"; 513 - Group = "graphite"; 514 - PermissionsStartOnly = true; 515 - }; 516 - preStart = '' 517 - if ! test -e ${dataDir}/db-created; then 518 - mkdir -p ${dataDir}/cache/ 519 - chmod 0700 ${dataDir}/cache/ 520 - 521 - chown graphite:graphite ${cfg.dataDir} 522 - chown -R graphite:graphite ${cfg.dataDir}/cache 523 - 524 - touch ${dataDir}/db-created 525 - fi 526 - ''; 527 - }; 528 - }) 529 - 530 (mkIf cfg.seyren.enable { 531 systemd.services.seyren = { 532 description = "Graphite Alerting Dashboard"; ··· 550 services.mongodb.enable = mkDefault true; 551 }) 552 553 - (mkIf cfg.beacon.enable { 554 - systemd.services.graphite-beacon = { 555 - description = "Grpahite Beacon Alerting Daemon"; 556 - wantedBy = [ "multi-user.target" ]; 557 - serviceConfig = { 558 - ExecStart = '' 559 - ${pkgs.python3Packages.graphite_beacon}/bin/graphite-beacon \ 560 - --config=${pkgs.writeText "graphite-beacon.json" (builtins.toJSON cfg.beacon.config)} 561 - ''; 562 - User = "graphite"; 563 - Group = "graphite"; 564 - }; 565 - }; 566 - }) 567 - 568 (mkIf ( 569 cfg.carbon.enableCache || cfg.carbon.enableAggregator || cfg.carbon.enableRelay || 570 - cfg.web.enable || cfg.api.enable || 571 - cfg.seyren.enable || cfg.beacon.enable 572 ) { 573 users.users.graphite = { 574 uid = config.ids.uids.graphite;
··· 24 + cfg.web.extraConfig 25 ); 26 27 seyrenConfig = { 28 SEYREN_URL = cfg.seyren.seyrenUrl; 29 MONGO_URL = cfg.seyren.mongoUrl; ··· 62 in { 63 64 imports = [ 65 + (mkRemovedOptionModule ["services" "graphite" "api"] "") 66 + (mkRemovedOptionModule ["services" "graphite" "beacon"] "") 67 (mkRemovedOptionModule ["services" "graphite" "pager"] "") 68 ]; 69 ··· 107 }; 108 }; 109 110 carbon = { 111 config = mkOption { 112 description = "Content of carbon configuration file."; ··· 264 ''; 265 }; 266 }; 267 }; 268 269 ###### implementation ··· 389 environment.systemPackages = [ pkgs.python3Packages.graphite-web ]; 390 })) 391 392 (mkIf cfg.seyren.enable { 393 systemd.services.seyren = { 394 description = "Graphite Alerting Dashboard"; ··· 412 services.mongodb.enable = mkDefault true; 413 }) 414 415 (mkIf ( 416 cfg.carbon.enableCache || cfg.carbon.enableAggregator || cfg.carbon.enableRelay || 417 + cfg.web.enable || cfg.seyren.enable 418 ) { 419 users.users.graphite = { 420 uid = config.ids.uids.graphite;
+2
nixos/modules/services/monitoring/prometheus/exporters/node.nix
··· 44 ]; 45 # The timex collector needs to access clock APIs 46 ProtectClock = any (collector: collector == "timex") cfg.disabledCollectors; 47 }; 48 }; 49 }
··· 44 ]; 45 # The timex collector needs to access clock APIs 46 ProtectClock = any (collector: collector == "timex") cfg.disabledCollectors; 47 + # Allow space monitoring under /home 48 + ProtectHome = true; 49 }; 50 }; 51 }
+24 -8
nixos/modules/services/web-apps/hedgedoc.nix
··· 13 then "hedgedoc" 14 else "codimd"; 15 16 prettyJSON = conf: 17 pkgs.runCommandLocal "hedgedoc-config.json" { 18 nativeBuildInputs = [ pkgs.jq ]; 19 } '' 20 - echo '${builtins.toJSON conf}' | jq \ 21 - '{production:del(.[]|nulls)|del(.[][]?|nulls)}' > $out 22 ''; 23 in 24 { 25 imports = [ 26 (mkRenamedOptionModule [ "services" "codimd" ] [ "services" "hedgedoc" ]) 27 ]; 28 29 options.services.hedgedoc = { ··· 45 ''; 46 }; 47 48 - configuration = { 49 debug = mkEnableOption "debug mode"; 50 domain = mkOption { 51 type = types.nullOr types.str; ··· 960 default = null; 961 description = "Configure the SAML integration."; 962 }; 963 }; 964 965 environmentFile = mkOption { ··· 1000 Package that provides HedgeDoc. 1001 ''; 1002 }; 1003 }; 1004 1005 config = mkIf cfg.enable { 1006 assertions = [ 1007 - { assertion = cfg.configuration.db == {} -> ( 1008 - cfg.configuration.dbURL != "" && cfg.configuration.dbURL != null 1009 ); 1010 message = "Database configuration for HedgeDoc missing."; } 1011 ]; ··· 1026 preStart = '' 1027 ${pkgs.envsubst}/bin/envsubst \ 1028 -o ${cfg.workDir}/config.json \ 1029 - -i ${prettyJSON cfg.configuration} 1030 - mkdir -p ${cfg.configuration.uploadsPath} 1031 ''; 1032 serviceConfig = { 1033 WorkingDirectory = cfg.workDir; 1034 - StateDirectory = [ cfg.workDir cfg.configuration.uploadsPath ]; 1035 ExecStart = "${cfg.package}/bin/hedgedoc"; 1036 EnvironmentFile = mkIf (cfg.environmentFile != null) [ cfg.environmentFile ]; 1037 Environment = [
··· 13 then "hedgedoc" 14 else "codimd"; 15 16 + settingsFormat = pkgs.formats.json {}; 17 + 18 prettyJSON = conf: 19 pkgs.runCommandLocal "hedgedoc-config.json" { 20 nativeBuildInputs = [ pkgs.jq ]; 21 } '' 22 + jq '{production:del(.[]|nulls)|del(.[][]?|nulls)}' \ 23 + < ${settingsFormat.generate "hedgedoc-ugly.json" cfg.settings} \ 24 + > $out 25 ''; 26 in 27 { 28 imports = [ 29 (mkRenamedOptionModule [ "services" "codimd" ] [ "services" "hedgedoc" ]) 30 + (mkRenamedOptionModule 31 + [ "services" "hedgedoc" "configuration" ] [ "services" "hedgedoc" "settings" ]) 32 ]; 33 34 options.services.hedgedoc = { ··· 50 ''; 51 }; 52 53 + settings = let options = { 54 debug = mkEnableOption "debug mode"; 55 domain = mkOption { 56 type = types.nullOr types.str; ··· 965 default = null; 966 description = "Configure the SAML integration."; 967 }; 968 + }; in lib.mkOption { 969 + type = lib.types.submodule { 970 + freeformType = settingsFormat.type; 971 + inherit options; 972 + }; 973 + description = '' 974 + HedgeDoc configuration, see 975 + <link xlink:href="https://docs.hedgedoc.org/configuration/"/> 976 + for documentation. 977 + ''; 978 }; 979 980 environmentFile = mkOption { ··· 1015 Package that provides HedgeDoc. 1016 ''; 1017 }; 1018 + 1019 }; 1020 1021 config = mkIf cfg.enable { 1022 assertions = [ 1023 + { assertion = cfg.settings.db == {} -> ( 1024 + cfg.settings.dbURL != "" && cfg.settings.dbURL != null 1025 ); 1026 message = "Database configuration for HedgeDoc missing."; } 1027 ]; ··· 1042 preStart = '' 1043 ${pkgs.envsubst}/bin/envsubst \ 1044 -o ${cfg.workDir}/config.json \ 1045 + -i ${prettyJSON cfg.settings} 1046 + mkdir -p ${cfg.settings.uploadsPath} 1047 ''; 1048 serviceConfig = { 1049 WorkingDirectory = cfg.workDir; 1050 + StateDirectory = [ cfg.workDir cfg.settings.uploadsPath ]; 1051 ExecStart = "${cfg.package}/bin/hedgedoc"; 1052 EnvironmentFile = mkIf (cfg.environmentFile != null) [ cfg.environmentFile ]; 1053 Environment = [
+1
nixos/tests/all-tests.nix
··· 278 libreddit = handleTest ./libreddit.nix {}; 279 libresprite = handleTest ./libresprite.nix {}; 280 libreswan = handleTest ./libreswan.nix {}; 281 lidarr = handleTest ./lidarr.nix {}; 282 lightdm = handleTest ./lightdm.nix {}; 283 limesurvey = handleTest ./limesurvey.nix {};
··· 278 libreddit = handleTest ./libreddit.nix {}; 279 libresprite = handleTest ./libresprite.nix {}; 280 libreswan = handleTest ./libreswan.nix {}; 281 + librewolf = handleTest ./firefox.nix { firefoxPackage = pkgs.librewolf; }; 282 lidarr = handleTest ./lidarr.nix {}; 283 lightdm = handleTest ./lightdm.nix {}; 284 limesurvey = handleTest ./limesurvey.nix {};
+14 -5
nixos/tests/firefox.nix
··· 1 - import ./make-test-python.nix ({ pkgs, firefoxPackage, ... }: { 2 - name = "firefox"; 3 meta = with pkgs.lib.maintainers; { 4 maintainers = [ eelco shlevy ]; 5 }; ··· 9 10 { imports = [ ./common/x11.nix ]; 11 environment.systemPackages = [ 12 - firefoxPackage 13 pkgs.xdotool 14 ]; 15 ··· 88 89 with subtest("Wait until Firefox has finished loading the Valgrind docs page"): 90 machine.execute( 91 - "xterm -e 'firefox file://${pkgs.valgrind.doc}/share/doc/valgrind/html/index.html' >&2 &" 92 ) 93 machine.wait_for_window("Valgrind") 94 machine.sleep(40) ··· 96 with subtest("Check whether Firefox can play sound"): 97 with record_audio(machine): 98 machine.succeed( 99 - "firefox file://${pkgs.sound-theme-freedesktop}/share/sounds/freedesktop/stereo/phone-incoming-call.oga >&2 &" 100 ) 101 wait_for_sound(machine) 102 machine.copy_from_vm("/tmp/record.wav")
··· 1 + import ./make-test-python.nix ({ pkgs, firefoxPackage, ... }: 2 + let firefoxPackage' = firefoxPackage.override (args: { 3 + extraPrefsFiles = (args.extraPrefsFiles or []) ++ [ 4 + # make sure that autoplay is enabled by default for the audio test 5 + (builtins.toString (builtins.toFile "autoplay-pref.js" ''defaultPref("media.autoplay.default",0);'')) 6 + ]; 7 + }); 8 + 9 + in 10 + { 11 + name = firefoxPackage'.unwrapped.binaryName; 12 meta = with pkgs.lib.maintainers; { 13 maintainers = [ eelco shlevy ]; 14 }; ··· 18 19 { imports = [ ./common/x11.nix ]; 20 environment.systemPackages = [ 21 + firefoxPackage' 22 pkgs.xdotool 23 ]; 24 ··· 97 98 with subtest("Wait until Firefox has finished loading the Valgrind docs page"): 99 machine.execute( 100 + "xterm -e '${firefoxPackage'.unwrapped.binaryName} file://${pkgs.valgrind.doc}/share/doc/valgrind/html/index.html' >&2 &" 101 ) 102 machine.wait_for_window("Valgrind") 103 machine.sleep(40) ··· 105 with subtest("Check whether Firefox can play sound"): 106 with record_audio(machine): 107 machine.succeed( 108 + "${firefoxPackage'.unwrapped.binaryName} file://${pkgs.sound-theme-freedesktop}/share/sounds/freedesktop/stereo/phone-incoming-call.oga >&2 &" 109 ) 110 wait_for_sound(machine) 111 machine.copy_from_vm("/tmp/record.wav")
-12
nixos/tests/graphite.nix
··· 12 SECRET_KEY = "abcd"; 13 ''; 14 }; 15 - api = { 16 - enable = true; 17 - port = 8082; 18 - finders = [ ]; 19 - }; 20 carbon.enableCache = true; 21 seyren.enable = false; # Implicitely requires openssl-1.0.2u which is marked insecure 22 - beacon.enable = true; 23 }; 24 }; 25 }; ··· 28 start_all() 29 one.wait_for_unit("default.target") 30 one.wait_for_unit("graphiteWeb.service") 31 - one.wait_for_unit("graphiteApi.service") 32 - one.wait_for_unit("graphite-beacon.service") 33 one.wait_for_unit("carbonCache.service") 34 # The services above are of type "simple". systemd considers them active immediately 35 # even if they're still in preStart (which takes quite long for graphiteWeb). 36 # Wait for ports to open so we're sure the services are up and listening. 37 one.wait_for_open_port(8080) 38 - one.wait_for_open_port(8082) 39 one.wait_for_open_port(2003) 40 one.succeed('echo "foo 1 `date +%s`" | nc -N localhost 2003') 41 one.wait_until_succeeds( 42 "curl 'http://localhost:8080/metrics/find/?query=foo&format=treejson' --silent | grep foo >&2" 43 - ) 44 - one.wait_until_succeeds( 45 - "curl 'http://localhost:8082/metrics/find/?query=foo&format=treejson' --silent | grep foo >&2" 46 ) 47 ''; 48 })
··· 12 SECRET_KEY = "abcd"; 13 ''; 14 }; 15 carbon.enableCache = true; 16 seyren.enable = false; # Implicitely requires openssl-1.0.2u which is marked insecure 17 }; 18 }; 19 }; ··· 22 start_all() 23 one.wait_for_unit("default.target") 24 one.wait_for_unit("graphiteWeb.service") 25 one.wait_for_unit("carbonCache.service") 26 # The services above are of type "simple". systemd considers them active immediately 27 # even if they're still in preStart (which takes quite long for graphiteWeb). 28 # Wait for ports to open so we're sure the services are up and listening. 29 one.wait_for_open_port(8080) 30 one.wait_for_open_port(2003) 31 one.succeed('echo "foo 1 `date +%s`" | nc -N localhost 2003') 32 one.wait_until_succeeds( 33 "curl 'http://localhost:8080/metrics/find/?query=foo&format=treejson' --silent | grep foo >&2" 34 ) 35 ''; 36 })
+2 -2
nixos/tests/hedgedoc.nix
··· 11 services = { 12 hedgedoc = { 13 enable = true; 14 - configuration.dbURL = "sqlite:///var/lib/hedgedoc/hedgedoc.db"; 15 }; 16 }; 17 }; ··· 21 services = { 22 hedgedoc = { 23 enable = true; 24 - configuration.dbURL = "postgres://hedgedoc:\${DB_PASSWORD}@localhost:5432/hedgedocdb"; 25 26 /* 27 * Do not use pkgs.writeText for secrets as
··· 11 services = { 12 hedgedoc = { 13 enable = true; 14 + settings.dbURL = "sqlite:///var/lib/hedgedoc/hedgedoc.db"; 15 }; 16 }; 17 }; ··· 21 services = { 22 hedgedoc = { 23 enable = true; 24 + settings.dbURL = "postgres://hedgedoc:\${DB_PASSWORD}@localhost:5432/hedgedocdb"; 25 26 /* 27 * Do not use pkgs.writeText for secrets as
+2 -2
pkgs/applications/editors/notepad-next/default.nix
··· 2 3 mkDerivation rec { 4 pname = "notepad-next"; 5 - version = "0.5.2"; 6 7 src = fetchFromGitHub { 8 owner = "dail8859"; 9 repo = "NotepadNext"; 10 rev = "v${version}"; 11 - sha256 = "sha256-LyUV85wW6FGlkV0qSIfkLMHpXXj1qvRnGZuYy8ASwZ8="; 12 # External dependencies - https://github.com/dail8859/NotepadNext/issues/135 13 fetchSubmodules = true; 14 };
··· 2 3 mkDerivation rec { 4 pname = "notepad-next"; 5 + version = "0.5.3"; 6 7 src = fetchFromGitHub { 8 owner = "dail8859"; 9 repo = "NotepadNext"; 10 rev = "v${version}"; 11 + sha256 = "sha256-9VbtSpWiSVNRydqpTJ0Zd2/9mXy18Drl6q61BHZ0zrs="; 12 # External dependencies - https://github.com/dail8859/NotepadNext/issues/135 13 fetchSubmodules = true; 14 };
+2 -1
pkgs/applications/networking/browsers/librewolf/default.nix
··· 1 - { stdenv, lib, callPackage, buildMozillaMach }: 2 3 let 4 librewolf-src = callPackage ./librewolf.nix { }; ··· 22 maxSilent = 14400; # 4h, double the default of 7200s (c.f. #129212, #129115) 23 license = lib.licenses.mpl20; 24 }; 25 updateScript = callPackage ./update.nix { 26 attrPath = "librewolf-unwrapped"; 27 };
··· 1 + { stdenv, lib, callPackage, buildMozillaMach, nixosTests }: 2 3 let 4 librewolf-src = callPackage ./librewolf.nix { }; ··· 22 maxSilent = 14400; # 4h, double the default of 7200s (c.f. #129212, #129115) 23 license = lib.licenses.mpl20; 24 }; 25 + tests = [ nixosTests.librewolf ]; 26 updateScript = callPackage ./update.nix { 27 attrPath = "librewolf-unwrapped"; 28 };
+3 -2
pkgs/applications/science/logic/coq/default.nix
··· 8 { lib, stdenv, fetchzip, writeText, pkg-config, gnumake42 9 , customOCamlPackages ? null 10 , ocamlPackages_4_05, ocamlPackages_4_09, ocamlPackages_4_10, ocamlPackages_4_12, ncurses 11 - , buildIde ? true 12 , glib, gnome, wrapGAppsHook, makeDesktopItem, copyDesktopItems 13 , csdp ? null 14 - , version, coq-version ? null, 15 }@args: 16 let lib' = lib; in 17 let lib = import ../../../../build-support/coq/extra-lib.nix {lib = lib';}; in ··· 59 version = fetched.version; 60 coq-version = args.coq-version or (if version != "dev" then versions.majorMinor version else "dev"); 61 coqAtLeast = v: coq-version == "dev" || versionAtLeast coq-version v; 62 ideFlags = optionalString (buildIde && !coqAtLeast "8.10") 63 "-lablgtkdir ${ocamlPackages.lablgtk}/lib/ocaml/*/site-lib/lablgtk2 -coqide opt"; 64 csdpPatch = if csdp != null then ''
··· 8 { lib, stdenv, fetchzip, writeText, pkg-config, gnumake42 9 , customOCamlPackages ? null 10 , ocamlPackages_4_05, ocamlPackages_4_09, ocamlPackages_4_10, ocamlPackages_4_12, ncurses 11 + , buildIde ? null # default is true for Coq < 8.14 and false for Coq >= 8.14 12 , glib, gnome, wrapGAppsHook, makeDesktopItem, copyDesktopItems 13 , csdp ? null 14 + , version, coq-version ? null 15 }@args: 16 let lib' = lib; in 17 let lib = import ../../../../build-support/coq/extra-lib.nix {lib = lib';}; in ··· 59 version = fetched.version; 60 coq-version = args.coq-version or (if version != "dev" then versions.majorMinor version else "dev"); 61 coqAtLeast = v: coq-version == "dev" || versionAtLeast coq-version v; 62 + buildIde = args.buildIde or (!coqAtLeast "8.14"); 63 ideFlags = optionalString (buildIde && !coqAtLeast "8.10") 64 "-lablgtkdir ${ocamlPackages.lablgtk}/lib/ocaml/*/site-lib/lablgtk2 -coqide opt"; 65 csdpPatch = if csdp != null then ''
+14 -1
pkgs/applications/version-management/git-and-tools/git-extras/default.nix
··· 1 - { lib, stdenv, fetchFromGitHub, unixtools, which }: 2 3 stdenv.mkDerivation rec { 4 pname = "git-extras"; ··· 10 rev = version; 11 sha256 = "sha256-Cn7IXMzgg0QIsNIHz+X14Gkmop0UbsSBlGlGkmg71ek="; 12 }; 13 14 postPatch = '' 15 patchShebangs check_dependencies.sh
··· 1 + { lib 2 + , stdenv 3 + , fetchFromGitHub 4 + , fetchpatch 5 + , unixtools 6 + , which 7 + }: 8 9 stdenv.mkDerivation rec { 10 pname = "git-extras"; ··· 16 rev = version; 17 sha256 = "sha256-Cn7IXMzgg0QIsNIHz+X14Gkmop0UbsSBlGlGkmg71ek="; 18 }; 19 + 20 + patches = [ 21 + (fetchpatch { 22 + url = "https://github.com/tj/git-extras/commit/66961ad4911cd0f1a908530f2b725bacc7d198e1.patch"; 23 + sha256 = "sha256-iC1lUf/NmuAPADxDWZ2JScHIMgYjIaR0edlGpq0qCOc="; 24 + }) 25 + ]; 26 27 postPatch = '' 28 patchShebangs check_dependencies.sh
+2 -2
pkgs/data/icons/papirus-icon-theme/default.nix
··· 2 3 stdenvNoCC.mkDerivation rec { 4 pname = "papirus-icon-theme"; 5 - version = "20220606"; 6 7 src = fetchFromGitHub { 8 owner = "PapirusDevelopmentTeam"; 9 repo = pname; 10 rev = version; 11 - sha256 = "sha256-HJb77ArzwMX9ZYTp0Ffxxtst1/xhPAa+eEP5n950DSs="; 12 }; 13 14 nativeBuildInputs = [ gtk3 papirus-folders ];
··· 2 3 stdenvNoCC.mkDerivation rec { 4 pname = "papirus-icon-theme"; 5 + version = "20220710"; 6 7 src = fetchFromGitHub { 8 owner = "PapirusDevelopmentTeam"; 9 repo = pname; 10 rev = version; 11 + sha256 = "sha256-CInoUlWMmLwc4mMi1krmXr2a2JCWZ7XcPe20wFSNjqk="; 12 }; 13 14 nativeBuildInputs = [ gtk3 papirus-folders ];
+52
pkgs/development/compilers/gcc/12/PR106102-musl-poison-cpp.patch
···
··· 1 + https://gcc.gnu.org/git/?p=gcc.git;a=commitdiff;h=3b21c21f3f5726823e19728fdd1571a14aae0fb3 2 + https://gcc.gnu.org/PR106102 3 + --- a/gcc/cp/mapper-client.cc 4 + +++ b/gcc/cp/mapper-client.cc 5 + @@ -27,6 +27,7 @@ along with GCC; see the file COPYING3. If not see 6 + #define INCLUDE_STRING 7 + #define INCLUDE_VECTOR 8 + #define INCLUDE_MAP 9 + +#define INCLUDE_MEMORY 10 + #include "system.h" 11 + 12 + #include "line-map.h" 13 + --- a/gcc/cp/mapper-resolver.cc 14 + +++ b/gcc/cp/mapper-resolver.cc 15 + @@ -25,6 +25,7 @@ along with GCC; see the file COPYING3. If not see 16 + #define INCLUDE_VECTOR 17 + #define INCLUDE_ALGORITHM 18 + #define INCLUDE_MAP 19 + +#define INCLUDE_MEMORY 20 + #include "system.h" 21 + 22 + // We don't want or need to be aware of networking 23 + --- a/gcc/cp/module.cc 24 + +++ b/gcc/cp/module.cc 25 + @@ -206,6 +206,7 @@ Classes used: 26 + 27 + #define _DEFAULT_SOURCE 1 /* To get TZ field of struct tm, if available. */ 28 + #include "config.h" 29 + +#define INCLUDE_MEMORY 30 + #define INCLUDE_STRING 31 + #define INCLUDE_VECTOR 32 + #include "system.h" 33 + --- a/libcc1/libcc1plugin.cc 34 + +++ b/libcc1/libcc1plugin.cc 35 + @@ -31,6 +31,7 @@ 36 + #undef PACKAGE_TARNAME 37 + #undef PACKAGE_VERSION 38 + 39 + +#define INCLUDE_MEMORY 40 + #include "gcc-plugin.h" 41 + #include "system.h" 42 + #include "coretypes.h" 43 + --- a/libcc1/libcp1plugin.cc 44 + +++ b/libcc1/libcp1plugin.cc 45 + @@ -32,6 +32,7 @@ 46 + #undef PACKAGE_TARNAME 47 + #undef PACKAGE_VERSION 48 + 49 + +#define INCLUDE_MEMORY 50 + #include "gcc-plugin.h" 51 + #include "system.h" 52 + #include "coretypes.h"
+67
pkgs/development/compilers/gcc/12/PR106102-musl-poison-jit.patch
···
··· 1 + https://gcc.gnu.org/git/?p=gcc.git;a=commitdiff;h=49d508065bdd36fb1a9b6aad9666b1edb5e06474 2 + https://gcc.gnu.org/PR106102 3 + --- a/gcc/jit/jit-playback.cc 4 + +++ b/gcc/jit/jit-playback.cc 5 + @@ -19,6 +19,7 @@ along with GCC; see the file COPYING3. If not see 6 + <http://www.gnu.org/licenses/>. */ 7 + 8 + #include "config.h" 9 + +#define INCLUDE_PTHREAD_H 10 + #include "system.h" 11 + #include "coretypes.h" 12 + #include "target.h" 13 + @@ -41,8 +42,6 @@ along with GCC; see the file COPYING3. If not see 14 + #include "diagnostic.h" 15 + #include "stmt.h" 16 + 17 + -#include <pthread.h> 18 + - 19 + #include "jit-playback.h" 20 + #include "jit-result.h" 21 + #include "jit-builtins.h" 22 + --- a/gcc/jit/jit-recording.cc 23 + +++ b/gcc/jit/jit-recording.cc 24 + @@ -19,13 +19,13 @@ along with GCC; see the file COPYING3. If not see 25 + <http://www.gnu.org/licenses/>. */ 26 + 27 + #include "config.h" 28 + +#define INCLUDE_PTHREAD_H 29 + #include "system.h" 30 + #include "coretypes.h" 31 + #include "tm.h" 32 + #include "pretty-print.h" 33 + #include "toplev.h" 34 + 35 + -#include <pthread.h> 36 + 37 + #include "jit-builtins.h" 38 + #include "jit-recording.h" 39 + --- a/gcc/jit/libgccjit.cc 40 + +++ b/gcc/jit/libgccjit.cc 41 + @@ -19,12 +19,12 @@ along with GCC; see the file COPYING3. If not see 42 + <http://www.gnu.org/licenses/>. */ 43 + 44 + #include "config.h" 45 + +#define INCLUDE_PTHREAD_H 46 + #include "system.h" 47 + #include "coretypes.h" 48 + #include "timevar.h" 49 + #include "typed-splay-tree.h" 50 + #include "cppbuiltin.h" 51 + -#include <pthread.h> 52 + 53 + #include "libgccjit.h" 54 + #include "jit-recording.h" 55 + --- a/gcc/system.h 56 + +++ b/gcc/system.h 57 + @@ -753,6 +753,10 @@ extern int vsnprintf (char *, size_t, const char *, va_list); 58 + #endif 59 + #endif 60 + 61 + +#ifdef INCLUDE_PTHREAD_H 62 + +#include <pthread.h> 63 + +#endif 64 + + 65 + #ifdef INCLUDE_ISL 66 + #ifdef HAVE_isl 67 + #include <isl/options.h>
+3
pkgs/development/compilers/gcc/12/default.nix
··· 69 ../gnat-cflags-11.patch 70 ../gcc-12-gfortran-driving.patch 71 ../ppc-musl.patch 72 ] ++ optional (stdenv.isDarwin && stdenv.isAarch64) (fetchpatch { 73 url = "https://github.com/fxcoudert/gcc/compare/releases/gcc-11.1.0...gcc-11.1.0-arm-20210504.diff"; 74 sha256 = "sha256-JqCGJAfbOxSmkNyq49aFHteK/RFsCSLQrL9mzUCnaD0=";
··· 69 ../gnat-cflags-11.patch 70 ../gcc-12-gfortran-driving.patch 71 ../ppc-musl.patch 72 + # Backports. Should be removed with 12.2.0 release: 73 + ./PR106102-musl-poison-cpp.patch 74 + ./PR106102-musl-poison-jit.patch 75 ] ++ optional (stdenv.isDarwin && stdenv.isAarch64) (fetchpatch { 76 url = "https://github.com/fxcoudert/gcc/compare/releases/gcc-11.1.0...gcc-11.1.0-arm-20210504.diff"; 77 sha256 = "sha256-JqCGJAfbOxSmkNyq49aFHteK/RFsCSLQrL9mzUCnaD0=";
+61
pkgs/development/coq-modules/coqide/default.nix
···
··· 1 + { lib 2 + , makeDesktopItem 3 + , copyDesktopItems 4 + , wrapGAppsHook 5 + , glib 6 + , gnome 7 + , mkCoqDerivation 8 + , coq 9 + , version ? null }: 10 + 11 + with lib; mkCoqDerivation rec { 12 + pname = "coqide"; 13 + inherit version; 14 + 15 + inherit (coq) src; 16 + release."${coq.version}" = {}; 17 + 18 + defaultVersion = if versions.isGe "8.14" coq.version then coq.version else null; 19 + 20 + preConfigure = '' 21 + patchShebangs dev/tools/ 22 + ''; 23 + prefixKey = "-prefix "; 24 + 25 + useDune2 = true; 26 + 27 + buildInputs = [ 28 + copyDesktopItems 29 + wrapGAppsHook 30 + coq.ocamlPackages.lablgtk3-sourceview3 31 + glib 32 + gnome.adwaita-icon-theme 33 + ]; 34 + 35 + buildPhase = '' 36 + runHook preBuild 37 + dune build -p ${pname} -j $NIX_BUILD_CORES 38 + runHook postBuild 39 + ''; 40 + installPhase = '' 41 + runHook preInstall 42 + dune install --prefix $out ${pname} 43 + runHook postInstall 44 + ''; 45 + 46 + desktopItems = makeDesktopItem { 47 + name = "coqide"; 48 + exec = "coqide"; 49 + icon = "coq"; 50 + desktopName = "CoqIDE"; 51 + comment = "Graphical interface for the Coq proof assistant"; 52 + categories = [ "Development" "Science" "Math" "IDE" "GTK" ]; 53 + }; 54 + 55 + meta = with lib; { 56 + homepage = "https://coq.inria.fr"; 57 + description = "The CoqIDE user interface for the Coq proof assistant"; 58 + license = licenses.lgpl21Plus; 59 + maintainers = [ maintainers.Zimmi48 ]; 60 + }; 61 + }
+3 -3
pkgs/development/dhall-modules/dhall-grafana.nix
··· 4 name = "grafana"; 5 owner = "weeezes"; 6 repo = "dhall-grafana"; 7 - # 2021-11-12 8 - rev = "d5630dc55deacf5100a99802a4df1d9680b263b3"; 9 - sha256 = "01320hpqgr5r4grsydmdl9yznmly1ssnlc9gcwa8rj1ah0a8xlgz"; 10 dependencies = [ Prelude ]; 11 }
··· 4 name = "grafana"; 5 owner = "weeezes"; 6 repo = "dhall-grafana"; 7 + # 2022-07-10 8 + rev = "49a3ee4801cf64f479e3f0bad839a5dd8e5b4932"; 9 + sha256 = "1i8b98xx20b73afkmr78l4x4ci3dk2sc737hxkcaxp3sgncwnz1b"; 10 dependencies = [ Prelude ]; 11 }
+2 -2
pkgs/development/libraries/libadwaita/default.nix
··· 21 22 stdenv.mkDerivation rec { 23 pname = "libadwaita"; 24 - version = "1.1.2"; 25 26 outputs = [ "out" "dev" "devdoc" ]; 27 outputBin = "devdoc"; # demo app ··· 31 owner = "GNOME"; 32 repo = "libadwaita"; 33 rev = version; 34 - hash = "sha256-OyjuUWfKE8GoGFCmaCS7YAf5GAS0VwMPht7cvFtkA/Y="; 35 }; 36 37 nativeBuildInputs = [
··· 21 22 stdenv.mkDerivation rec { 23 pname = "libadwaita"; 24 + version = "1.1.3"; 25 26 outputs = [ "out" "dev" "devdoc" ]; 27 outputBin = "devdoc"; # demo app ··· 31 owner = "GNOME"; 32 repo = "libadwaita"; 33 rev = version; 34 + hash = "sha256-Mjv4Z9YaIT9atD8ekepBAA1ZV30kWnMnV8+kOuGULnw="; 35 }; 36 37 nativeBuildInputs = [
+3 -3
pkgs/development/ocaml-modules/erm_xmpp/default.nix
··· 3 }: 4 5 stdenv.mkDerivation rec { 6 - version = "0.3+20200317"; 7 pname = "ocaml${ocaml.version}-erm_xmpp"; 8 9 src = fetchFromGitHub { 10 owner = "hannesm"; 11 repo = "xmpp"; 12 - rev = "7fa5bea252671fd88625c6af109998b879ca564f"; 13 - sha256 = "0spzyd9kbyizzwl8y3mq8z19zlkzxnkh2fppry4lyc7vaw7bqrwq"; 14 }; 15 16 nativeBuildInputs = [ ocaml findlib ocamlbuild camlp4 ];
··· 3 }: 4 5 stdenv.mkDerivation rec { 6 + version = "0.3+20220404"; 7 pname = "ocaml${ocaml.version}-erm_xmpp"; 8 9 src = fetchFromGitHub { 10 owner = "hannesm"; 11 repo = "xmpp"; 12 + rev = "e54d54e142ac9770c37e144693473692bf473530"; 13 + sha256 = "sha256-Ize8Em4LI54Cy1Xuzr9BjQGV7JMr3W6KI1YzI8G1q/U="; 14 }; 15 16 nativeBuildInputs = [ ocaml findlib ocamlbuild camlp4 ];
+38
pkgs/development/python-modules/aioaladdinconnect/default.nix
···
··· 1 + { lib 2 + , aiohttp 3 + , buildPythonPackage 4 + , fetchPypi 5 + , pythonOlder 6 + }: 7 + 8 + buildPythonPackage rec { 9 + pname = "aioaladdinconnect"; 10 + version = "0.1.21"; 11 + format = "setuptools"; 12 + 13 + disabled = pythonOlder "3.7"; 14 + 15 + src = fetchPypi { 16 + pname = "AIOAladdinConnect"; 17 + inherit version; 18 + hash = "sha256-Zr9QLiQNmphPpAVnFVpoOlVbuWUVtWXIacYKAnth+E4="; 19 + }; 20 + 21 + propagatedBuildInputs = [ 22 + aiohttp 23 + ]; 24 + 25 + # Module has no tests 26 + doCheck = false; 27 + 28 + pythonImportsCheck = [ 29 + "AIOAladdinConnect" 30 + ]; 31 + 32 + meta = with lib; { 33 + description = "Library for controlling Genie garage doors connected to Aladdin Connect devices"; 34 + homepage = "https://github.com/mkmer/AIOAladdinConnect"; 35 + license = with licenses; [ mit ]; 36 + maintainers = with maintainers; [ fab ]; 37 + }; 38 + }
+2 -2
pkgs/development/python-modules/aiomusiccast/default.nix
··· 8 9 buildPythonPackage rec { 10 pname = "aiomusiccast"; 11 - version = "0.14.4"; 12 13 format = "pyproject"; 14 disabled = pythonOlder "3.8"; ··· 17 owner = "vigonotion"; 18 repo = "aiomusiccast"; 19 rev = "refs/tags/${version}"; 20 - hash = "sha256-vSf4Fcioz+ZrXCaFQQbHzhz7vOknCOEFJXduXJlO/wE="; 21 }; 22 23 postPatch = ''
··· 8 9 buildPythonPackage rec { 10 pname = "aiomusiccast"; 11 + version = "0.14.5"; 12 13 format = "pyproject"; 14 disabled = pythonOlder "3.8"; ··· 17 owner = "vigonotion"; 18 repo = "aiomusiccast"; 19 rev = "refs/tags/${version}"; 20 + hash = "sha256-YssBrG4sFtQtrzKU/O/tWEVL9eq8dpszejY/1So5Mec="; 21 }; 22 23 postPatch = ''
-46
pkgs/development/python-modules/graphite-api/default.nix
··· 1 - { stdenv, buildPythonPackage, fetchFromGitHub, lib, flask, flask-caching, cairocffi, pyparsing, pytz, pyyaml 2 - , raven, six, structlog, tzlocal, nose, mock, cairo, isPyPy 3 - }: 4 - 5 - buildPythonPackage rec { 6 - pname = "graphite-api"; 7 - version = "1.1.3"; 8 - 9 - disabled = isPyPy; 10 - 11 - src = fetchFromGitHub { 12 - owner = "brutasse"; 13 - repo = "graphite-api"; 14 - rev = version; 15 - sha256 = "0sz3kav2024ms2z4q03pigcf080gsr5v774z9bp3zw29k2p47ass"; 16 - }; 17 - 18 - # https://github.com/brutasse/graphite-api/pull/239 rebased onto 1.1.3 19 - patches = [ ./flask-caching-rebased.patch ]; 20 - 21 - checkPhase = "nosetests"; 22 - 23 - propagatedBuildInputs = [ 24 - flask 25 - flask-caching 26 - cairocffi 27 - pyparsing 28 - pytz 29 - pyyaml 30 - raven 31 - six 32 - structlog 33 - tzlocal 34 - ]; 35 - 36 - checkInputs = [ nose mock ]; 37 - 38 - LD_LIBRARY_PATH = "${cairo.out}/lib"; 39 - 40 - meta = with lib; { 41 - broken = stdenv.isDarwin; 42 - description = "Graphite-web, without the interface. Just the rendering HTTP API"; 43 - homepage = "https://github.com/brutasse/graphite-api"; 44 - license = licenses.asl20; 45 - }; 46 - }
···
-132
pkgs/development/python-modules/graphite-api/flask-caching-rebased.patch
··· 1 - diff --git a/graphite_api/config.py b/graphite_api/config.py 2 - index 5e1e382..dc033a8 100644 3 - --- a/graphite_api/config.py 4 - +++ b/graphite_api/config.py 5 - @@ -112,11 +112,11 @@ def configure(app): 6 - app.cache = None 7 - if 'cache' in config: 8 - try: 9 - - from flask.ext.cache import Cache 10 - + from flask_caching import Cache 11 - except ImportError: 12 - warnings.warn("'cache' is provided in the configuration but " 13 - - "Flask-Cache is not installed. Please `pip install " 14 - - "Flask-Cache`.") 15 - + "flask-caching is not installed. Please `pip " 16 - + "install flask-caching`.") 17 - else: 18 - cache_conf = {'CACHE_DEFAULT_TIMEOUT': 60, 19 - 'CACHE_KEY_PREFIX': 'graphite-api:'} 20 - diff --git a/requirements.txt b/requirements.txt 21 - index c68b446..7826b0c 100644 22 - --- a/requirements.txt 23 - +++ b/requirements.txt 24 - @@ -1,5 +1,5 @@ 25 - Flask 26 - -Flask-Cache 27 - +Flask-Caching 28 - cairocffi 29 - pyparsing>=1.5.7 30 - pytz 31 - diff --git a/setup.py b/setup.py 32 - index 0337cbe..df07989 100644 33 - --- a/setup.py 34 - +++ b/setup.py 35 - @@ -38,7 +38,7 @@ setup( 36 - extras_require={ 37 - 'sentry': ['raven[flask]'], 38 - 'cyanite': ['cyanite'], 39 - - 'cache': ['Flask-Cache'], 40 - + 'cache': ['Flask-Caching'], 41 - 'statsd': ['statsd'], 42 - }, 43 - zip_safe=False, 44 - diff --git a/tests/test_render.py b/tests/test_render.py 45 - index be5609d..a0e7190 100644 46 - --- a/tests/test_render.py 47 - +++ b/tests/test_render.py 48 - @@ -8,7 +8,7 @@ from graphite_api._vendor import whisper 49 - from . import TestCase, WHISPER_DIR 50 - 51 - try: 52 - - from flask.ext.cache import Cache 53 - + from flask_caching import Cache 54 - except ImportError: 55 - Cache = None 56 - 57 - diff --git a/tox.ini b/tox.ini 58 - index 85a0abb..c820393 100644 59 - --- a/tox.ini 60 - +++ b/tox.ini 61 - @@ -47,7 +47,7 @@ basepython = python2.7 62 - deps = 63 - {[testenv]deps} 64 - Flask 65 - - Flask-Cache 66 - + Flask-Caching 67 - pyparsing 68 - mock 69 - 70 - @@ -56,7 +56,7 @@ basepython = python3.3 71 - deps = 72 - {[testenv]deps} 73 - Flask 74 - - Flask-Cache 75 - + Flask-Caching 76 - pyparsing 77 - 78 - [testenv:py34] 79 - @@ -66,7 +66,7 @@ commands = 80 - deps = 81 - {[testenv]deps} 82 - Flask 83 - - Flask-Cache 84 - + Flask-Caching 85 - pyparsing 86 - 87 - [testenv:py35] 88 - @@ -76,7 +76,7 @@ commands = 89 - deps = 90 - {[testenv]deps} 91 - Flask 92 - - Flask-Cache 93 - + Flask-Caching 94 - pyparsing 95 - 96 - [testenv:pyparsing1] 97 - @@ -84,7 +84,7 @@ basepython = python2.7 98 - deps = 99 - {[testenv]deps} 100 - Flask 101 - - Flask-Cache 102 - + Flask-Caching 103 - pyparsing==1.5.7 104 - mock 105 - 106 - @@ -93,7 +93,7 @@ basepython = pypy 107 - deps = 108 - {[testenv]deps} 109 - Flask 110 - - Flask-Cache 111 - + Flask-Caching 112 - pyparsing 113 - mock 114 - 115 - @@ -102,7 +102,7 @@ basepython = python2.7 116 - deps = 117 - {[testenv]deps} 118 - Flask<0.9 119 - - Flask-Cache 120 - + Flask-Caching 121 - pyparsing 122 - mock 123 - 124 - @@ -111,7 +111,7 @@ basepython = python2.7 125 - deps = 126 - {[testenv]deps} 127 - Flask<0.10 128 - - Flask-Cache 129 - + Flask-Caching 130 - pyparsing 131 - mock 132 -
···
-33
pkgs/development/python-modules/graphite_beacon/default.nix
··· 1 - { lib, buildPythonPackage, fetchPypi 2 - , tornado_5, pyyaml, funcparserlib 3 - , nixosTests 4 - }: 5 - 6 - buildPythonPackage rec { 7 - pname = "graphite_beacon"; 8 - version = "0.27.0"; 9 - 10 - src = fetchPypi { 11 - inherit pname version; 12 - sha256 = "03bp4wyfn3xhcqyvs5hnk1n87m4smsmm1p7qp459m7j8hwpbq2ks"; 13 - }; 14 - 15 - propagatedBuildInputs = [ tornado_5 pyyaml funcparserlib ]; 16 - 17 - postPatch = '' 18 - substituteInPlace requirements.txt --replace "==" ">=" 19 - ''; 20 - 21 - pythonImportsCheck = [ "graphite_beacon" ]; 22 - 23 - passthru.tests = { 24 - nixos = nixosTests.graphite; 25 - }; 26 - 27 - meta = with lib; { 28 - description = "A simple alerting application for Graphite metrics"; 29 - homepage = "https://github.com/klen/graphite-beacon"; 30 - maintainers = [ maintainers.offline ]; 31 - license = licenses.mit; 32 - }; 33 - }
···
+13 -3
pkgs/development/python-modules/humanize/default.nix
··· 2 , buildPythonPackage 3 , fetchFromGitHub 4 , freezegun 5 , importlib-metadata 6 , pytestCheckHook 7 , pythonOlder ··· 10 }: 11 12 buildPythonPackage rec { 13 - version = "4.1.0"; 14 pname = "humanize"; 15 format = "pyproject"; 16 ··· 20 owner = "python-humanize"; 21 repo = pname; 22 rev = version; 23 - hash = "sha256-5xL3gfEohDjnF085Pgx/PBXWWM76X4FU2KR+8OGshMw="; 24 }; 25 26 SETUPTOOLS_SCM_PRETEND_VERSION = version; 27 28 nativeBuildInputs = [ 29 setuptools-scm 30 ]; 31 32 propagatedBuildInputs = [ ··· 35 importlib-metadata 36 ]; 37 38 checkInputs = [ 39 freezegun 40 pytestCheckHook ··· 48 description = "Python humanize utilities"; 49 homepage = "https://github.com/python-humanize/humanize"; 50 license = licenses.mit; 51 - maintainers = with maintainers; [ rmcgibbo ]; 52 }; 53 }
··· 2 , buildPythonPackage 3 , fetchFromGitHub 4 , freezegun 5 + , gettext 6 , importlib-metadata 7 , pytestCheckHook 8 , pythonOlder ··· 11 }: 12 13 buildPythonPackage rec { 14 + version = "4.2.3"; 15 pname = "humanize"; 16 format = "pyproject"; 17 ··· 21 owner = "python-humanize"; 22 repo = pname; 23 rev = version; 24 + hash = "sha256-cAlNtN9sUnDAkCQj2bJfT72B2TQDYRBB4P4NJY9mUU0="; 25 }; 26 27 SETUPTOOLS_SCM_PRETEND_VERSION = version; 28 29 nativeBuildInputs = [ 30 setuptools-scm 31 + gettext 32 ]; 33 34 propagatedBuildInputs = [ ··· 37 importlib-metadata 38 ]; 39 40 + postBuild = '' 41 + scripts/generate-translation-binaries.sh 42 + ''; 43 + 44 + postInstall = '' 45 + cp -r 'src/humanize/locale' "$out/lib/"*'/site-packages/humanize/' 46 + ''; 47 + 48 checkInputs = [ 49 freezegun 50 pytestCheckHook ··· 58 description = "Python humanize utilities"; 59 homepage = "https://github.com/python-humanize/humanize"; 60 license = licenses.mit; 61 + maintainers = with maintainers; [ rmcgibbo Luflosi ]; 62 }; 63 }
-24
pkgs/development/python-modules/influxgraph/default.nix
··· 1 - { lib, buildPythonPackage, fetchPypi, isPy3k 2 - , influxdb, graphite_api, python-memcached 3 - }: 4 - 5 - buildPythonPackage rec { 6 - pname = "influxgraph"; 7 - version = "1.5.0"; 8 - 9 - src = fetchPypi { 10 - inherit pname version; 11 - sha256 = "0l33sfwdh4bfprmzp2kx0d9098g6yxbnhyyx9qr3kzczpm0jg9vy"; 12 - }; 13 - 14 - propagatedBuildInputs = [ influxdb graphite_api python-memcached ]; 15 - 16 - passthru.moduleName = "influxgraph.InfluxDBFinder"; 17 - 18 - meta = with lib; { 19 - description = "InfluxDB storage plugin for Graphite-API"; 20 - homepage = "https://github.com/InfluxGraph/influxgraph"; 21 - license = licenses.asl20; 22 - maintainers = with maintainers; [ basvandijk ]; 23 - }; 24 - }
···
+8 -1
pkgs/development/python-modules/python-swiftclient/default.nix
··· 1 { lib 2 , buildPythonApplication 3 , fetchPypi 4 , mock 5 , openstacksdk 6 , pbr ··· 21 hash = "sha256-V7bx/yO0ZoQ4AqaBb0trvGiWtq0F1ld6/udiK+OilTg="; 22 }; 23 24 propagatedBuildInputs = [ 25 pbr 26 python-keystoneclient ··· 33 ]; 34 35 postInstall = '' 36 - install -Dm644 tools/swift.bash_completion $out/share/bash_completion.d/swift 37 ''; 38 39 checkPhase = ''
··· 1 { lib 2 , buildPythonApplication 3 , fetchPypi 4 + , installShellFiles 5 , mock 6 , openstacksdk 7 , pbr ··· 22 hash = "sha256-V7bx/yO0ZoQ4AqaBb0trvGiWtq0F1ld6/udiK+OilTg="; 23 }; 24 25 + nativeBuildInputs = [ 26 + installShellFiles 27 + ]; 28 + 29 propagatedBuildInputs = [ 30 pbr 31 python-keystoneclient ··· 38 ]; 39 40 postInstall = '' 41 + installShellCompletion --cmd swift \ 42 + --bash tools/swift.bash_completion 43 + installManPage doc/manpages/* 44 ''; 45 46 checkPhase = ''
+25 -4
pkgs/development/python-modules/softlayer/default.nix
··· 14 , testtools 15 , tkinter 16 , urllib3 17 }: 18 19 buildPythonPackage rec { 20 pname = "softlayer"; 21 - version = "5.9.9"; 22 disabled = pythonOlder "3.5"; 23 24 src = fetchFromGitHub { 25 owner = pname; 26 repo = "softlayer-python"; 27 rev = "v${version}"; 28 - sha256 = "sha256-LskPz5KXOi7olb3+DUP9uEFESQeo6ec/ZLx9B/w6Ni0="; 29 }; 30 31 propagatedBuildInputs = [ 32 click 33 prompt-toolkit ··· 35 pygments 36 requests 37 urllib3 38 ]; 39 40 checkInputs = [ ··· 43 sphinx 44 testtools 45 tkinter 46 ]; 47 48 pythonImportsCheck = [ "SoftLayer" ]; 49 50 meta = with lib; { 51 - broken = (stdenv.isLinux && stdenv.isAarch64) || stdenv.isDarwin; 52 description = "Python libraries that assist in calling the SoftLayer API"; 53 homepage = "https://github.com/softlayer/softlayer-python"; 54 license = licenses.mit; 55 - maintainers = with maintainers; [ ]; 56 }; 57 }
··· 14 , testtools 15 , tkinter 16 , urllib3 17 + , prettytable 18 + , rich 19 + , zeep 20 }: 21 22 buildPythonPackage rec { 23 pname = "softlayer"; 24 + version = "6.1.0"; 25 disabled = pythonOlder "3.5"; 26 27 src = fetchFromGitHub { 28 owner = pname; 29 repo = "softlayer-python"; 30 rev = "v${version}"; 31 + sha256 = "sha256-T49KVAsgcAZySkaJi47IrFcMHGZvEkGDjPWsdMarzwM="; 32 }; 33 34 + postPatch = '' 35 + substituteInPlace setup.py \ 36 + --replace 'rich == 12.3.0' 'rich >= 12.3.0' 37 + ''; 38 + 39 propagatedBuildInputs = [ 40 click 41 prompt-toolkit ··· 43 pygments 44 requests 45 urllib3 46 + prettytable 47 + rich 48 ]; 49 50 checkInputs = [ ··· 53 sphinx 54 testtools 55 tkinter 56 + zeep 57 + ]; 58 + 59 + # Otherwise soap_tests.py will fail to create directory 60 + # Permission denied: '/homeless-shelter' 61 + preCheck = '' 62 + export HOME=$(mktemp -d) 63 + ''; 64 + 65 + disabledTestPaths = [ 66 + # Test fails with ConnectionError trying to connect to api.softlayer.com 67 + "tests/transports/soap_tests.py" 68 ]; 69 70 pythonImportsCheck = [ "SoftLayer" ]; 71 72 meta = with lib; { 73 description = "Python libraries that assist in calling the SoftLayer API"; 74 homepage = "https://github.com/softlayer/softlayer-python"; 75 license = licenses.mit; 76 + maintainers = with maintainers; [ onny ]; 77 }; 78 }
+9 -1
pkgs/development/python-modules/swift/default.nix
··· 6 , eventlet 7 , greenlet 8 , iana-etc 9 , libredirect 10 , lxml 11 , mock ··· 35 rm test/functional/s3api/{__init__.py,s3_test_client.py} 36 ''; 37 38 - nativeBuildInputs = [ pbr ]; 39 40 propagatedBuildInputs = [ 41 cryptography ··· 50 six 51 xattr 52 ]; 53 54 checkInputs = [ 55 boto3
··· 6 , eventlet 7 , greenlet 8 , iana-etc 9 + , installShellFiles 10 , libredirect 11 , lxml 12 , mock ··· 36 rm test/functional/s3api/{__init__.py,s3_test_client.py} 37 ''; 38 39 + nativeBuildInputs = [ 40 + installShellFiles 41 + pbr 42 + ]; 43 44 propagatedBuildInputs = [ 45 cryptography ··· 54 six 55 xattr 56 ]; 57 + 58 + postInstall = '' 59 + installManPage doc/manpages/* 60 + ''; 61 62 checkInputs = [ 63 boto3
+5 -1
pkgs/development/tools/ocaml/ocamlformat/default.nix
··· 27 version = "0.22.4"; 28 }; 29 30 - ocamlformat = ocamlformat_0_22_4; 31 }
··· 27 version = "0.22.4"; 28 }; 29 30 + ocamlformat_0_23_0 = mkOCamlformat { 31 + version = "0.23.0"; 32 + }; 33 + 34 + ocamlformat = ocamlformat_0_23_0; 35 }
+1
pkgs/development/tools/ocaml/ocamlformat/generic.nix
··· 12 "0.20.1" = "sha256-fTpRZFQW+ngoc0T6A69reEUAZ6GmHkeQvxspd5zRAjU="; 13 "0.21.0" = "sha256-KhgX9rxYH/DM6fCqloe4l7AnJuKrdXSe6Y1XY3BXMy0="; 14 "0.22.4" = "sha256-61TeK4GsfMLmjYGn3ICzkagbc3/Po++Wnqkb2tbJwGA="; 15 }."${version}"; 16 }; 17 ocamlPackages = ocaml-ng.ocamlPackages;
··· 12 "0.20.1" = "sha256-fTpRZFQW+ngoc0T6A69reEUAZ6GmHkeQvxspd5zRAjU="; 13 "0.21.0" = "sha256-KhgX9rxYH/DM6fCqloe4l7AnJuKrdXSe6Y1XY3BXMy0="; 14 "0.22.4" = "sha256-61TeK4GsfMLmjYGn3ICzkagbc3/Po++Wnqkb2tbJwGA="; 15 + "0.23.0" = "sha256-m9Pjz7DaGy917M1GjyfqG5Lm5ne7YSlJF2SVcDHe3+0="; 16 }."${version}"; 17 }; 18 ocamlPackages = ocaml-ng.ocamlPackages;
+17 -18
pkgs/misc/cups/drivers/canon/default.nix
··· 27 }: 28 29 let 30 - 31 i686_NIX_GCC = pkgsi686Linux.callPackage ({ gcc }: gcc) { }; 32 ld32 = 33 if stdenv.hostPlatform.system == "x86_64-linux" then "${stdenv.cc}/nix-support/dynamic-linker-m32" ··· 46 }; 47 48 buildInputs = [ cups zlib jbigkit glib gtk3 pkg-config gnome2.libglade libxml2 gdk-pixbuf pango cairo atk ]; 49 - 50 in 51 - 52 - 53 stdenv.mkDerivation rec { 54 pname = "canon-cups-ufr2"; 55 inherit version; 56 src = src_canon; 57 58 postUnpack = '' 59 - (cd $sourceRoot; tar -xzf Sources/cnrdrvcups-lb-${version}-1.tar.gz) 60 - (cd $sourceRoot; sed -ie "s@_prefix=/usr@_prefix=$out@" cnrdrvcups-common-${version}/allgen.sh) 61 - (cd $sourceRoot; sed -ie "s@_libdir=/usr/lib@_libdir=$out/lib@" cnrdrvcups-common-${version}/allgen.sh) 62 - (cd $sourceRoot; sed -ie "s@_bindir=/usr/bin@_libdir=$out/bin@" cnrdrvcups-common-${version}/allgen.sh) 63 - (cd $sourceRoot; sed -ie "s@etc/cngplp@$out/etc/cngplp@" cnrdrvcups-common-${version}/cngplp/Makefile.am) 64 - (cd $sourceRoot; sed -ie "s@usr/share/cngplp@$out/usr/share/cngplp@" cnrdrvcups-common-${version}/cngplp/src/Makefile.am) 65 - (cd $sourceRoot; patchShebangs cnrdrvcups-common-${version}) 66 67 - (cd $sourceRoot; sed -ie "s@_prefix=/usr@_prefix=$out@" cnrdrvcups-lb-${version}/allgen.sh) 68 - (cd $sourceRoot; sed -ie "s@_libdir=/usr/lib@_libdir=$out/lib@" cnrdrvcups-lb-${version}/allgen.sh) 69 - (cd $sourceRoot; sed -ie "s@_bindir=/usr/bin@_libdir=$out/bin@" cnrdrvcups-lb-${version}/allgen.sh) 70 - (cd $sourceRoot; sed -ie '/^cd \.\.\/cngplp/,/^cd files/{/^cd files/!{d}}' cnrdrvcups-lb-${version}/allgen.sh) 71 - (cd $sourceRoot; sed -ie "s@cd \.\./pdftocpca@cd pdftocpca@" cnrdrvcups-lb-${version}/allgen.sh) 72 - (cd $sourceRoot; sed -i "/CNGPLPDIR/d" cnrdrvcups-lb-${version}/Makefile) 73 - (cd $sourceRoot; patchShebangs cnrdrvcups-lb-${version}) 74 ''; 75 76 nativeBuildInputs = [ makeWrapper unzip autoconf automake libtool_1_5 ];
··· 27 }: 28 29 let 30 i686_NIX_GCC = pkgsi686Linux.callPackage ({ gcc }: gcc) { }; 31 ld32 = 32 if stdenv.hostPlatform.system == "x86_64-linux" then "${stdenv.cc}/nix-support/dynamic-linker-m32" ··· 45 }; 46 47 buildInputs = [ cups zlib jbigkit glib gtk3 pkg-config gnome2.libglade libxml2 gdk-pixbuf pango cairo atk ]; 48 in 49 stdenv.mkDerivation rec { 50 pname = "canon-cups-ufr2"; 51 inherit version; 52 src = src_canon; 53 54 postUnpack = '' 55 + ( 56 + cd $sourceRoot 57 + tar -xzf Sources/cnrdrvcups-lb-${version}-1.tar.gz 58 + sed -ie "s@_prefix=/usr@_prefix=$out@" cnrdrvcups-common-${version}/allgen.sh 59 + sed -ie "s@_libdir=/usr/lib@_libdir=$out/lib@" cnrdrvcups-common-${version}/allgen.sh 60 + sed -ie "s@_bindir=/usr/bin@_bindir=$out/bin@" cnrdrvcups-common-${version}/allgen.sh 61 + sed -ie "s@etc/cngplp@$out/etc/cngplp@" cnrdrvcups-common-${version}/cngplp/Makefile.am 62 + sed -ie "s@usr/share/cngplp@$out/usr/share/cngplp@" cnrdrvcups-common-${version}/cngplp/src/Makefile.am 63 + patchShebangs cnrdrvcups-common-${version} 64 65 + sed -ie "s@_prefix=/usr@_prefix=$out@" cnrdrvcups-lb-${version}/allgen.sh 66 + sed -ie "s@_libdir=/usr/lib@_libdir=$out/lib@" cnrdrvcups-lb-${version}/allgen.sh 67 + sed -ie "s@_bindir=/usr/bin@_bindir=$out/bin@" cnrdrvcups-lb-${version}/allgen.sh 68 + sed -ie '/^cd \.\.\/cngplp/,/^cd files/{/^cd files/!{d}}' cnrdrvcups-lb-${version}/allgen.sh 69 + sed -ie "s@cd \.\./pdftocpca@cd pdftocpca@" cnrdrvcups-lb-${version}/allgen.sh 70 + sed -i "/CNGPLPDIR/d" cnrdrvcups-lb-${version}/Makefile 71 + patchShebangs cnrdrvcups-lb-${version} 72 + ) 73 ''; 74 75 nativeBuildInputs = [ makeWrapper unzip autoconf automake libtool_1_5 ];
+3
pkgs/os-specific/linux/kernel/common-config.nix
··· 41 (whenBetween "5.2" "5.18" yes) 42 ]; 43 DEBUG_INFO_DWARF_TOOLCHAIN_DEFAULT = whenAtLeast "5.18" yes; 44 # Disabled on 32-bit platforms, fails to build on 5.15+ with `Failed to parse base BTF 'vmlinux': -22` 45 DEBUG_INFO_BTF = whenAtLeast "5.2" (option (if stdenv.hostPlatform.is32bit && (versionAtLeast version "5.15") then no else yes)); 46 BPF_LSM = whenAtLeast "5.7" (option yes);
··· 41 (whenBetween "5.2" "5.18" yes) 42 ]; 43 DEBUG_INFO_DWARF_TOOLCHAIN_DEFAULT = whenAtLeast "5.18" yes; 44 + # Reduced debug info conflict with BTF and have been enabled in 45 + # aarch64 defconfig since 5.13 46 + DEBUG_INFO_REDUCED = whenAtLeast "5.13" (option no); 47 # Disabled on 32-bit platforms, fails to build on 5.15+ with `Failed to parse base BTF 'vmlinux': -22` 48 DEBUG_INFO_BTF = whenAtLeast "5.2" (option (if stdenv.hostPlatform.is32bit && (versionAtLeast version "5.15") then no else yes)); 49 BPF_LSM = whenAtLeast "5.7" (option yes);
+3 -1
pkgs/servers/home-assistant/component-packages.nix
··· 61 aioairzone 62 ]; 63 "aladdin_connect" = ps: with ps; [ 64 - ]; # missing inputs: AIOAladdinConnect 65 "alarm_control_panel" = ps: with ps; [ 66 ]; 67 "alarmdecoder" = ps: with ps; [ ··· 3232 "airtouch4" 3233 "airvisual" 3234 "airzone" 3235 "alarm_control_panel" 3236 "alarmdecoder" 3237 "alert"
··· 61 aioairzone 62 ]; 63 "aladdin_connect" = ps: with ps; [ 64 + aioaladdinconnect 65 + ]; 66 "alarm_control_panel" = ps: with ps; [ 67 ]; 68 "alarmdecoder" = ps: with ps; [ ··· 3233 "airtouch4" 3234 "airvisual" 3235 "airzone" 3236 + "aladdin_connect" 3237 "alarm_control_panel" 3238 "alarmdecoder" 3239 "alert"
+2 -2
pkgs/servers/roundcube/default.nix
··· 2 3 stdenv.mkDerivation rec { 4 pname = "roundcube"; 5 - version = "1.5.2"; 6 7 src = fetchurl { 8 url = "https://github.com/roundcube/roundcubemail/releases/download/${version}/roundcubemail-${version}-complete.tar.gz"; 9 - sha256 = "sha256-8DloOBFW/nkNhYr34GnFVQqFd/uWT5ZiRDSJUnIFODg="; 10 }; 11 12 patches = [ ./0001-Don-t-resolve-symlinks-when-trying-to-find-INSTALL_P.patch ];
··· 2 3 stdenv.mkDerivation rec { 4 pname = "roundcube"; 5 + version = "1.5.3"; 6 7 src = fetchurl { 8 url = "https://github.com/roundcube/roundcubemail/releases/download/${version}/roundcubemail-${version}-complete.tar.gz"; 9 + sha256 = "sha256-S8+sIZ8uAAXJEtrDIndDzB7Q3tacgi90yBpw0EHlo70="; 10 }; 11 12 patches = [ ./0001-Don-t-resolve-symlinks-when-trying-to-find-INSTALL_P.patch ];
+2 -2
pkgs/tools/backup/discordchatexporter-cli/default.nix
··· 8 9 buildDotnetModule rec { 10 pname = "discordchatexporter-cli"; 11 - version = "2.34.1"; 12 13 src = fetchFromGitHub { 14 owner = "tyrrrz"; 15 repo = "discordchatexporter"; 16 rev = version; 17 - sha256 = "U+AwxHvyLD2BwrJH3h0yKKHBsgBM/D657TuG9IgllPs="; 18 }; 19 20 projectFile = "DiscordChatExporter.Cli/DiscordChatExporter.Cli.csproj";
··· 8 9 buildDotnetModule rec { 10 pname = "discordchatexporter-cli"; 11 + version = "2.35"; 12 13 src = fetchFromGitHub { 14 owner = "tyrrrz"; 15 repo = "discordchatexporter"; 16 rev = version; 17 + sha256 = "xPHXs7lk7WaSTr5jH7q8mN1O6Z9cdD2EACx2CmLelJ8="; 18 }; 19 20 projectFile = "DiscordChatExporter.Cli/DiscordChatExporter.Cli.csproj";
+3
pkgs/tools/backup/discordchatexporter-cli/deps.nix
··· 1 { fetchNuGet }: [ 2 (fetchNuGet { pname = "CliFx"; version = "2.2.5"; sha256 = "1bk716rdswy28h53qy68xywci8k1h2iqdy2iz1yf7v8g0sa2n79p"; }) 3 (fetchNuGet { pname = "Gress"; version = "2.0.1"; sha256 = "00xhyfkrlc38nbl6aymr7zwxc3kj0rxvx5gwk6fkfrvi1pzgq0wc"; }) 4 (fetchNuGet { pname = "JsonExtensions"; version = "1.2.0"; sha256 = "0g54hibabbqqfhxjlnxwv1rxagpali5agvnpymp2w3dk8h6q66xy"; }) 5 (fetchNuGet { pname = "MiniRazor.CodeGen"; version = "2.2.1"; sha256 = "1mrjw3vq59pbiqvayilazjgv6l87j20j8hmhcpbacz9p5bl1hvvr"; }) ··· 7 (fetchNuGet { pname = "Polly"; version = "7.2.3"; sha256 = "1iws4jd5iqj5nlfp16fg9p5vfqqas1si0cgh8xcj64y433a933cv"; }) 8 (fetchNuGet { pname = "Spectre.Console"; version = "0.44.0"; sha256 = "0f4q52rmib0q3vg7ij6z73mnymyas7c7wrm8dfdhrkdzn53zwl6p"; }) 9 (fetchNuGet { pname = "Superpower"; version = "3.0.0"; sha256 = "0p6riay4732j1fahc081dzgs9q4z3n2fpxrin4zfpj6q2226dhz4"; }) 10 ]
··· 1 { fetchNuGet }: [ 2 + (fetchNuGet { pname = "AdvancedStringBuilder"; version = "0.1.0"; sha256 = "1lpv5sggdxza0bmcqmzf5r4i340f0m7nr5073lac18naj5697q5g"; }) 3 (fetchNuGet { pname = "CliFx"; version = "2.2.5"; sha256 = "1bk716rdswy28h53qy68xywci8k1h2iqdy2iz1yf7v8g0sa2n79p"; }) 4 + (fetchNuGet { pname = "DotnetRuntimeBootstrapper"; version = "2.3.1"; sha256 = "0zsicyizachdam64mjm1brh5a3nzf7j8nalyhwnw26wk3v3rgmc9"; }) 5 (fetchNuGet { pname = "Gress"; version = "2.0.1"; sha256 = "00xhyfkrlc38nbl6aymr7zwxc3kj0rxvx5gwk6fkfrvi1pzgq0wc"; }) 6 (fetchNuGet { pname = "JsonExtensions"; version = "1.2.0"; sha256 = "0g54hibabbqqfhxjlnxwv1rxagpali5agvnpymp2w3dk8h6q66xy"; }) 7 (fetchNuGet { pname = "MiniRazor.CodeGen"; version = "2.2.1"; sha256 = "1mrjw3vq59pbiqvayilazjgv6l87j20j8hmhcpbacz9p5bl1hvvr"; }) ··· 9 (fetchNuGet { pname = "Polly"; version = "7.2.3"; sha256 = "1iws4jd5iqj5nlfp16fg9p5vfqqas1si0cgh8xcj64y433a933cv"; }) 10 (fetchNuGet { pname = "Spectre.Console"; version = "0.44.0"; sha256 = "0f4q52rmib0q3vg7ij6z73mnymyas7c7wrm8dfdhrkdzn53zwl6p"; }) 11 (fetchNuGet { pname = "Superpower"; version = "3.0.0"; sha256 = "0p6riay4732j1fahc081dzgs9q4z3n2fpxrin4zfpj6q2226dhz4"; }) 12 + (fetchNuGet { pname = "WebMarkupMin.Core"; version = "2.9.0"; sha256 = "1m184n0zdfxzk9vi2q9y8c8987a0c044vy97i9iginndzxvwazgg"; }) 13 ]
+3 -6
pkgs/tools/misc/hdf5/1.10.nix
··· 12 let inherit (lib) optional optionals; in 13 14 stdenv.mkDerivation rec { 15 - # pinned to 1.10.6 for pythonPackages.tables v3.6.1. tables has test errors for hdf5 > 1.10.6. https://github.com/PyTables/PyTables/issues/845 16 - version = "1.10.6"; 17 pname = "hdf5"; 18 src = fetchurl { 19 url = "https://support.hdfgroup.org/ftp/HDF5/releases/hdf5-${lib.versions.majorMinor version}/${pname}-${version}/src/${pname}-${version}.tar.bz2"; 20 - sha256 = "1gf38x51128hn00744358w27xgzjk0ff4wra4yxh2lk804ck1mh9"; 21 }; 22 23 outputs = [ "out" "dev" ]; ··· 31 configureFlags = optional enableShared "--enable-shared" 32 ++ optional javaSupport "--enable-java"; 33 34 - patches = [ 35 - ./bin-mv.patch 36 - ]; 37 38 postInstall = '' 39 find "$out" -type f -exec remove-references-to -t ${stdenv.cc} '{}' +
··· 12 let inherit (lib) optional optionals; in 13 14 stdenv.mkDerivation rec { 15 + version = "1.10.9"; 16 pname = "hdf5"; 17 src = fetchurl { 18 url = "https://support.hdfgroup.org/ftp/HDF5/releases/hdf5-${lib.versions.majorMinor version}/${pname}-${version}/src/${pname}-${version}.tar.bz2"; 19 + sha256 = "sha256-AMS+cJbzb9yvpPl04SbGwUEkKOOOvHsYHZB0WeeB8ZE="; 20 }; 21 22 outputs = [ "out" "dev" ]; ··· 30 configureFlags = optional enableShared "--enable-shared" 31 ++ optional javaSupport "--enable-java"; 32 33 + patches = [ ]; 34 35 postInstall = '' 36 find "$out" -type f -exec remove-references-to -t ${stdenv.cc} '{}' +
+39 -17
pkgs/tools/misc/trackma/default.nix
··· 6 , gobject-introspection 7 , glib 8 , gtk3 9 , withCurses ? false 10 - , withGtk ? false 11 }: 12 - 13 python3.pkgs.buildPythonApplication rec { 14 pname = "trackma"; 15 version = "0.8.4"; ··· 19 repo = "trackma"; 20 rev = "v${version}"; 21 sha256 = "sha256-drc39ID4WYBQ/L2py57CB5OkQNfRKNigPQW0Lp8GIMc="; 22 }; 23 24 - nativeBuildInputs = lib.optionals withGtk [ wrapGAppsHook ]; 25 26 - buildInputs = lib.optionals withGtk [ glib gobject-introspection gtk3 ]; 27 28 - propagatedBuildInputs = [ python3.pkgs.urllib3 python3.pkgs.dbus-python ] 29 - ++ lib.optionals withGtk [ python3.pkgs.pillow python3.pkgs.pygobject3 python3.pkgs.pycairo ] 30 - ++ lib.optionals withCurses [ python3.pkgs.urwid ] 31 - ++ lib.optionals stdenv.isLinux [ python3.pkgs.pyinotify ]; 32 33 # broken with gobject-introspection setup hook, see https://github.com/NixOS/nixpkgs/issues/56943 34 strictDeps = false; 35 36 - dontWrapGApps = true; # prevent double wrapping 37 38 - preFixup = '' 39 - makeWrapperArgs+=("''${gappsWrapperArgs[@]}") 40 ''; 41 42 doCheck = false; 43 44 pythonImportsCheck = [ "trackma" ]; 45 46 - # FIXME(trackma-qt): https://github.com/NixOS/nixpkgs/pull/179715#issuecomment-1171371059 47 - postDist = '' 48 - rm $out/bin/trackma-qt 49 - ${lib.optionalString (!withGtk) "rm $out/bin/trackma-gtk"} 50 - ${lib.optionalString (!withCurses) "rm $out/bin/trackma-curses"} 51 - ''; 52 53 passthru.updateScript = ./update.sh; 54
··· 6 , gobject-introspection 7 , glib 8 , gtk3 9 + , qt5 10 + , makeDesktopItem 11 + , copyDesktopItems 12 , withCurses ? false 13 + , withGTK ? false 14 + , withQT ? false 15 }: 16 + let 17 + mkDesktopItem = name: desktopName: comment: terminal: makeDesktopItem { 18 + inherit name desktopName comment terminal; 19 + icon = "trackma"; 20 + exec = name + " %u"; 21 + type = "Application"; 22 + categories = [ "Network" ]; 23 + }; 24 + in 25 python3.pkgs.buildPythonApplication rec { 26 pname = "trackma"; 27 version = "0.8.4"; ··· 31 repo = "trackma"; 32 rev = "v${version}"; 33 sha256 = "sha256-drc39ID4WYBQ/L2py57CB5OkQNfRKNigPQW0Lp8GIMc="; 34 + fetchSubmodules = true; # for anime-relations submodule 35 }; 36 37 + nativeBuildInputs = [ copyDesktopItems ] 38 + ++ lib.optionals withGTK [ wrapGAppsHook ] 39 + ++ lib.optionals withQT [ qt5.wrapQtAppsHook ]; 40 41 + buildInputs = lib.optionals withGTK [ glib gobject-introspection gtk3 ]; 42 43 + propagatedBuildInputs = with python3.pkgs; ([ urllib3 ] 44 + ++ lib.optionals withQT [ pyqt5 ] 45 + ++ lib.optionals withGTK [ pycairo ] 46 + ++ lib.optionals withCurses [ urwid ] 47 + ++ lib.optionals stdenv.isLinux [ dbus-python pygobject3 pyinotify ] 48 + ++ lib.optionals (withGTK || withQT) [ pillow ]); 49 50 # broken with gobject-introspection setup hook, see https://github.com/NixOS/nixpkgs/issues/56943 51 strictDeps = false; 52 53 + dontWrapQtApps = true; 54 + dontWrapGApps = true; 55 + 56 + preFixup = lib.optional withQT "wrapQtApp $out/bin/trackma-qt" 57 + ++ lib.optional withGTK "wrapGApp $out/bin/trackma-gtk"; 58 59 + desktopItems = lib.optional withQT (mkDesktopItem "trackma-qt" "Trackma (Qt)" "Trackma Updater (Qt-frontend)" false) 60 + ++ lib.optional withGTK (mkDesktopItem "trackma-gtk" "Trackma (GTK)" "Trackma Updater (Gtk-frontend)" false) 61 + ++ lib.optional withCurses (mkDesktopItem "trackma-curses" "Trackma (ncurses)" "Trackma Updater (ncurses frontend)" true); 62 + 63 + postInstall = '' 64 + install -Dvm444 $src/trackma/data/icon.png $out/share/pixmaps/trackma.png 65 ''; 66 67 doCheck = false; 68 69 pythonImportsCheck = [ "trackma" ]; 70 71 + postDist = lib.optional (!withQT) "rm $out/bin/trackma-qt" 72 + ++ lib.optional (!withGTK) "rm $out/bin/trackma-gtk" 73 + ++ lib.optional (!withCurses) "rm $out/bin/trackma-curses"; 74 75 passthru.updateScript = ./update.sh; 76
+3 -3
pkgs/tools/security/jadx/default.nix
··· 2 3 let 4 pname = "jadx"; 5 - version = "1.3.5"; 6 7 src = fetchFromGitHub { 8 owner = "skylot"; 9 repo = pname; 10 rev = "v${version}"; 11 - hash = "sha256-uDNHjajGqEeXOIC5SaluhHWOkA2j3LUvB6O3MHB2+YA="; 12 }; 13 14 deps = stdenv.mkDerivation { ··· 40 ''; 41 42 outputHashMode = "recursive"; 43 - outputHash = "sha256-SFj3VPCIxEA2mj/xsibXZ1MDmV/BnmvQJUBav1gfEGM="; 44 }; 45 in stdenv.mkDerivation { 46 inherit pname version src;
··· 2 3 let 4 pname = "jadx"; 5 + version = "1.4.2"; 6 7 src = fetchFromGitHub { 8 owner = "skylot"; 9 repo = pname; 10 rev = "v${version}"; 11 + hash = "sha256-WSQyym9RMrCiWlb2O4Cd7/ra2UNTL8XsaSNnSTAmhjs="; 12 }; 13 14 deps = stdenv.mkDerivation { ··· 40 ''; 41 42 outputHashMode = "recursive"; 43 + outputHash = "sha256-LCF03nTC7T2YxlLIWO3zgrbJVTCQOU8Who9NIqvicb4="; 44 }; 45 in stdenv.mkDerivation { 46 inherit pname version src;
+4 -2
pkgs/top-level/all-packages.nix
··· 11239 11240 trackma-curses = trackma.override { withCurses = true; }; 11241 11242 - trackma-gtk = trackma.override { withGtk = true; }; 11243 11244 tpmmanager = libsForQt5.callPackage ../applications/misc/tpmmanager { }; 11245 ··· 13893 inherit (callPackage ../development/tools/ocaml/ocamlformat { }) 13894 ocamlformat # latest version 13895 ocamlformat_0_19_0 ocamlformat_0_20_0 ocamlformat_0_20_1 ocamlformat_0_21_0 13896 - ocamlformat_0_22_4; 13897 13898 orc = callPackage ../development/compilers/orc { }; 13899
··· 11239 11240 trackma-curses = trackma.override { withCurses = true; }; 11241 11242 + trackma-gtk = trackma.override { withGTK = true; }; 11243 + 11244 + trackma-qt = trackma.override { withQT = true; }; 11245 11246 tpmmanager = libsForQt5.callPackage ../applications/misc/tpmmanager { }; 11247 ··· 13895 inherit (callPackage ../development/tools/ocaml/ocamlformat { }) 13896 ocamlformat # latest version 13897 ocamlformat_0_19_0 ocamlformat_0_20_0 ocamlformat_0_20_1 ocamlformat_0_21_0 13898 + ocamlformat_0_22_4 ocamlformat_0_23_0; 13899 13900 orc = callPackage ../development/compilers/orc { }; 13901
+1
pkgs/top-level/coq-packages.nix
··· 36 coq-record-update = callPackage ../development/coq-modules/coq-record-update { }; 37 coqeal = callPackage ../development/coq-modules/coqeal {}; 38 coqhammer = callPackage ../development/coq-modules/coqhammer {}; 39 coqprime = callPackage ../development/coq-modules/coqprime {}; 40 coqtail-math = callPackage ../development/coq-modules/coqtail-math {}; 41 coquelicot = callPackage ../development/coq-modules/coquelicot {};
··· 36 coq-record-update = callPackage ../development/coq-modules/coq-record-update { }; 37 coqeal = callPackage ../development/coq-modules/coqeal {}; 38 coqhammer = callPackage ../development/coq-modules/coqhammer {}; 39 + coqide = callPackage ../development/coq-modules/coqide {}; 40 coqprime = callPackage ../development/coq-modules/coqprime {}; 41 coqtail-math = callPackage ../development/coq-modules/coqtail-math {}; 42 coquelicot = callPackage ../development/coq-modules/coquelicot {};
+3
pkgs/top-level/python-aliases.nix
··· 79 glances = throw "glances has moved to pkgs.glances"; # added 2020-20-28 80 google_api_python_client = google-api-python-client; # added 2021-03-19 81 googleapis_common_protos = googleapis-common-protos; # added 2021-03-19 82 grpc_google_iam_v1 = grpc-google-iam-v1; # added 2021-08-21 83 ha-av = throw "ha-av was removed, because it is no longer maintained"; # added 2022-04-06 84 HAP-python = hap-python; # added 2021-06-01 ··· 87 hyperkitty = throw "Please use pkgs.mailmanPackages.hyperkitty"; # added 2022-04-29 88 IMAPClient = imapclient; # added 2021-10-28 89 ipaddress = throw "ipaddress has been removed because it is no longer required since python 2.7."; # added 2022-05-30 90 jupyter_client = jupyter-client; # added 2021-10-15 91 Keras = keras; # added 2021-11-25 92 lammps-cython = throw "lammps-cython no longer builds and is unmaintained"; # added 2021-07-04
··· 79 glances = throw "glances has moved to pkgs.glances"; # added 2020-20-28 80 google_api_python_client = google-api-python-client; # added 2021-03-19 81 googleapis_common_protos = googleapis-common-protos; # added 2021-03-19 82 + graphite_api = throw "graphite_api was removed, because it is no longer maintained"; # added 2022-07-10 83 + graphite_beacon = throw "graphite_beacon was removed, because it is no longer maintained"; # added 2022-07-09 84 grpc_google_iam_v1 = grpc-google-iam-v1; # added 2021-08-21 85 ha-av = throw "ha-av was removed, because it is no longer maintained"; # added 2022-04-06 86 HAP-python = hap-python; # added 2021-06-01 ··· 89 hyperkitty = throw "Please use pkgs.mailmanPackages.hyperkitty"; # added 2022-04-29 90 IMAPClient = imapclient; # added 2021-10-28 91 ipaddress = throw "ipaddress has been removed because it is no longer required since python 2.7."; # added 2022-05-30 92 + influxgraph = throw "influxgraph has been removed because it is no longer maintained"; # added 2022-07-10 93 jupyter_client = jupyter-client; # added 2021-10-15 94 Keras = keras; # added 2021-11-25 95 lammps-cython = throw "lammps-cython no longer builds and is unmaintained"; # added 2021-07-04
+3 -7
pkgs/top-level/python-packages.nix
··· 249 250 aioairzone = callPackage ../development/python-modules/aioairzone { }; 251 252 aioambient = callPackage ../development/python-modules/aioambient { }; 253 254 aioapns = callPackage ../development/python-modules/aioapns { }; ··· 3757 3758 grapheme = callPackage ../development/python-modules/grapheme { }; 3759 3760 - graphite_api = callPackage ../development/python-modules/graphite-api { }; 3761 - 3762 - graphite_beacon = callPackage ../development/python-modules/graphite_beacon { }; 3763 - 3764 graphite-web = callPackage ../development/python-modules/graphite-web { }; 3765 3766 graphene = callPackage ../development/python-modules/graphene { }; ··· 4281 influxdb = callPackage ../development/python-modules/influxdb { }; 4282 4283 influxdb-client = callPackage ../development/python-modules/influxdb-client { }; 4284 - 4285 - influxgraph = callPackage ../development/python-modules/influxgraph { }; 4286 4287 inform = callPackage ../development/python-modules/inform { }; 4288 ··· 10664 # Used by circus and grab-site, 2020-08-29 10665 tornado_4 = callPackage ../development/python-modules/tornado/4.nix { }; 10666 10667 - # Used by streamlit, graphite_beacon, 2021-01-29 10668 tornado_5 = callPackage ../development/python-modules/tornado/5.nix { }; 10669 10670 torrequest = callPackage ../development/python-modules/torrequest { };
··· 249 250 aioairzone = callPackage ../development/python-modules/aioairzone { }; 251 252 + aioaladdinconnect = callPackage ../development/python-modules/aioaladdinconnect { }; 253 + 254 aioambient = callPackage ../development/python-modules/aioambient { }; 255 256 aioapns = callPackage ../development/python-modules/aioapns { }; ··· 3759 3760 grapheme = callPackage ../development/python-modules/grapheme { }; 3761 3762 graphite-web = callPackage ../development/python-modules/graphite-web { }; 3763 3764 graphene = callPackage ../development/python-modules/graphene { }; ··· 4279 influxdb = callPackage ../development/python-modules/influxdb { }; 4280 4281 influxdb-client = callPackage ../development/python-modules/influxdb-client { }; 4282 4283 inform = callPackage ../development/python-modules/inform { }; 4284 ··· 10660 # Used by circus and grab-site, 2020-08-29 10661 tornado_4 = callPackage ../development/python-modules/tornado/4.nix { }; 10662 10663 + # Used by streamlit, 2021-01-29 10664 tornado_5 = callPackage ../development/python-modules/tornado/5.nix { }; 10665 10666 torrequest = callPackage ../development/python-modules/torrequest { };