lol

Merge remote-tracking branch 'origin/master' into staging-next

Conflicts:
nixos/doc/manual/release-notes/rl-2105.xml
pkgs/tools/security/sequoia/default.nix

+2445 -1530
+6
maintainers/maintainer-list.nix
··· 3591 3591 githubId = 606000; 3592 3592 name = "Gabriel Adomnicai"; 3593 3593 }; 3594 + Gabriel439 = { 3595 + email = "Gabriel439@gmail.com"; 3596 + github = "Gabriel439"; 3597 + githubId = 1313787; 3598 + name = "Gabriel Gonzalez"; 3599 + }; 3594 3600 gal_bolle = { 3595 3601 email = "florent.becker@ens-lyon.org"; 3596 3602 github = "FlorentBecker";
+96 -11
maintainers/scripts/haskell/hydra-report.hs
··· 17 17 {-# LANGUAGE BlockArguments #-} 18 18 {-# LANGUAGE DeriveAnyClass #-} 19 19 {-# LANGUAGE DeriveGeneric #-} 20 + {-# LANGUAGE DerivingStrategies #-} 20 21 {-# LANGUAGE DuplicateRecordFields #-} 21 22 {-# LANGUAGE LambdaCase #-} 22 23 {-# LANGUAGE MultiWayIf #-} ··· 36 37 encodeFile, 37 38 ) 38 39 import Data.Foldable (Foldable (toList), foldl') 39 - import Data.Function ((&)) 40 - import Data.Functor ((<&>)) 41 40 import Data.List.NonEmpty (NonEmpty, nonEmpty) 42 41 import qualified Data.List.NonEmpty as NonEmpty 43 42 import Data.Map.Strict (Map) ··· 71 70 import System.Environment (getArgs) 72 71 import System.Process (readProcess) 73 72 import Prelude hiding (id) 74 - import qualified Prelude 75 73 76 74 newtype JobsetEvals = JobsetEvals 77 75 { evals :: Seq Eval ··· 132 130 133 131 hydraEvalCommand :: FilePath 134 132 hydraEvalCommand = "hydra-eval-jobs" 133 + 135 134 hydraEvalParams :: [String] 136 135 hydraEvalParams = ["-I", ".", "pkgs/top-level/release-haskell.nix"] 136 + 137 137 handlesCommand :: FilePath 138 138 handlesCommand = "nix-instantiate" 139 + 139 140 handlesParams :: [String] 140 141 handlesParams = ["--eval", "--strict", "--json", "-"] 142 + 141 143 handlesExpression :: String 142 144 handlesExpression = "with import ./. {}; with lib; zipAttrsWith (_: builtins.head) (mapAttrsToList (_: v: if v ? github then { \"${v.email}\" = v.github; } else {}) (import maintainers/maintainer-list.nix))" 143 145 144 - newtype Maintainers = Maintainers {maintainers :: Maybe Text} deriving (Generic, ToJSON, FromJSON) 146 + -- | This newtype is used to parse a Hydra job output from @hydra-eval-jobs@. 147 + -- The only field we are interested in is @maintainers@, which is why this 148 + -- is just a newtype. 149 + -- 150 + -- Note that there are occassionally jobs that don't have a maintainers 151 + -- field, which is why this has to be @Maybe Text@. 152 + newtype Maintainers = Maintainers { maintainers :: Maybe Text } 153 + deriving stock (Generic, Show) 154 + deriving anyclass (FromJSON, ToJSON) 145 155 156 + -- | This is a 'Map' from Hydra job name to maintainer email addresses. 157 + -- 158 + -- It has values similar to the following: 159 + -- 160 + -- @@ 161 + -- fromList 162 + -- [ ("arion.aarch64-linux", Maintainers (Just "robert@example.com")) 163 + -- , ("bench.x86_64-linux", Maintainers (Just "")) 164 + -- , ("conduit.x86_64-linux", Maintainers (Just "snoy@man.com, web@ber.com")) 165 + -- , ("lens.x86_64-darwin", Maintainers (Just "ek@category.com")) 166 + -- ] 167 + -- @@ 168 + -- 169 + -- Note that Hydra jobs without maintainers will have an empty string for the 170 + -- maintainer list. 146 171 type HydraJobs = Map Text Maintainers 172 + 173 + -- | Map of email addresses to GitHub handles. 174 + -- This is built from the file @../../maintainer-list.nix@. 175 + -- 176 + -- It has values similar to the following: 177 + -- 178 + -- @@ 179 + -- fromList 180 + -- [ ("robert@example.com", "rob22") 181 + -- , ("ek@category.com", "edkm") 182 + -- ] 183 + -- @@ 184 + type EmailToGitHubHandles = Map Text Text 185 + 186 + -- | Map of Hydra jobs to maintainer GitHub handles. 187 + -- 188 + -- It has values similar to the following: 189 + -- 190 + -- @@ 191 + -- fromList 192 + -- [ ("arion.aarch64-linux", ["rob22"]) 193 + -- , ("conduit.x86_64-darwin", ["snoyb", "webber"]) 194 + -- ] 195 + -- @@ 147 196 type MaintainerMap = Map Text (NonEmpty Text) 148 197 198 + -- | Generate a mapping of Hydra job names to maintainer GitHub handles. 149 199 getMaintainerMap :: IO MaintainerMap 150 200 getMaintainerMap = do 151 - hydraJobs :: HydraJobs <- get hydraEvalCommand hydraEvalParams "" "Failed to decode hydra-eval-jobs output: " 152 - handlesMap :: Map Text Text <- get handlesCommand handlesParams handlesExpression "Failed to decode nix output for lookup of github handles: " 153 - pure $ hydraJobs & Map.mapMaybe (nonEmpty . mapMaybe (`Map.lookup` handlesMap) . Text.splitOn ", " . fromMaybe "" . maintainers) 154 - where 155 - get c p i e = readProcess c p i <&> \x -> either (error . (<> " Raw:'" <> take 1000 x <> "'") . (e <>)) Prelude.id . eitherDecodeStrict' . encodeUtf8 . Text.pack $ x 201 + hydraJobs :: HydraJobs <- 202 + readJSONProcess hydraEvalCommand hydraEvalParams "" "Failed to decode hydra-eval-jobs output: " 203 + handlesMap :: EmailToGitHubHandles <- 204 + readJSONProcess handlesCommand handlesParams handlesExpression "Failed to decode nix output for lookup of github handles: " 205 + pure $ Map.mapMaybe (splitMaintainersToGitHubHandles handlesMap) hydraJobs 206 + where 207 + -- Split a comma-spearated string of Maintainers into a NonEmpty list of 208 + -- GitHub handles. 209 + splitMaintainersToGitHubHandles 210 + :: EmailToGitHubHandles -> Maintainers -> Maybe (NonEmpty Text) 211 + splitMaintainersToGitHubHandles handlesMap (Maintainers maint) = 212 + nonEmpty . mapMaybe (`Map.lookup` handlesMap) . Text.splitOn ", " $ fromMaybe "" maint 213 + 214 + -- | Run a process that produces JSON on stdout and and decode the JSON to a 215 + -- data type. 216 + -- 217 + -- If the JSON-decoding fails, throw the JSON-decoding error. 218 + readJSONProcess 219 + :: FromJSON a 220 + => FilePath -- ^ Filename of executable. 221 + -> [String] -- ^ Arguments 222 + -> String -- ^ stdin to pass to the process 223 + -> String -- ^ String to prefix to JSON-decode error. 224 + -> IO a 225 + readJSONProcess exe args input err = do 226 + output <- readProcess exe args input 227 + let eitherDecodedOutput = eitherDecodeStrict' . encodeUtf8 . Text.pack $ output 228 + case eitherDecodedOutput of 229 + Left decodeErr -> error $ err <> decodeErr <> "\nRaw: '" <> take 1000 output <> "'" 230 + Right decodedOutput -> pure decodedOutput 156 231 157 232 -- BuildStates are sorted by subjective importance/concerningness 158 - data BuildState = Failed | DependencyFailed | OutputLimitExceeded | Unknown (Maybe Int) | TimedOut | Canceled | HydraFailure | Unfinished | Success deriving (Show, Eq, Ord) 233 + data BuildState 234 + = Failed 235 + | DependencyFailed 236 + | OutputLimitExceeded 237 + | Unknown (Maybe Int) 238 + | TimedOut 239 + | Canceled 240 + | HydraFailure 241 + | Unfinished 242 + | Success 243 + deriving stock (Show, Eq, Ord) 159 244 160 245 icon :: BuildState -> Text 161 246 icon = \case ··· 243 328 printSingleRow set = "- [ ] " <> printState set <> " " <> makeJobSearchLink set (makePkgName set) <> " " <> maintainers 244 329 makePkgName set = (if Text.null set then "" else set <> ".") <> name 245 330 printState set = Text.intercalate " " $ map (\pf -> maybe "" (label pf) $ Map.lookup (set, pf) mapping) platforms 246 - makeJobSearchLink set linkLabel= makeSearchLink evalId linkLabel (makePkgName set <> ".") -- Append '.' to the search query to prevent e.g. "hspec." matching "hspec-golden.x86_64-linux" 331 + makeJobSearchLink set linkLabel= makeSearchLink evalId linkLabel (makePkgName set) 247 332 sets = toList $ Set.fromList (fst <$> Map.keys mapping) 248 333 platforms = toList $ Set.fromList (snd <$> Map.keys mapping) 249 334 label pf (BuildResult s i) = "[[" <> platformIcon pf <> icon s <> "]](https://hydra.nixos.org/build/" <> showT i <> ")"
+4 -4
nixos/doc/manual/installation/installing-from-other-distro.xml
··· 84 84 </para> 85 85 <para> 86 86 You'll need <literal>nixos-generate-config</literal> and 87 - <literal>nixos-install</literal> and we'll throw in some man pages and 88 - <literal>nixos-enter</literal> just in case you want to chroot into your 89 - NixOS partition. They are installed by default on NixOS, but you don't have 87 + <literal>nixos-install</literal>, but this also makes some man pages 88 + and <literal>nixos-enter</literal> available, just in case you want to chroot into your 89 + NixOS partition. NixOS installs these by default, but you don't have 90 90 NixOS yet.. 91 91 </para> 92 - <screen><prompt>$ </prompt>nix-env -f '&lt;nixpkgs/nixos&gt;' --arg configuration {} -iA config.system.build.{nixos-generate-config,nixos-install,nixos-enter,manual.manpages}</screen> 92 + <screen><prompt>$ </prompt>nix-env -f '&lt;nixpkgs>' -iA nixos-install-tools</screen> 93 93 </listitem> 94 94 <listitem> 95 95 <note>
+13
nixos/doc/manual/release-notes/rl-2105.xml
··· 112 112 it is deprecated. 113 113 </para> 114 114 </listitem> 115 + <listitem> 116 + <para> 117 + <link xlink:href="https://libreswan.org/">Libreswan</link> has been updated 118 + to version 4.4. The package now includes example configurations and manual 119 + pages by default. The NixOS module has been changed to use the upstream 120 + systemd units and write the configuration in the <literal>/etc/ipsec.d/ 121 + </literal> directory. In addition, two new options have been added to 122 + specify connection policies 123 + (<xref linkend="opt-services.libreswan.policies"/>) 124 + and disable send/receive redirects 125 + (<xref linkend="opt-services.libreswan.disableRedirects"/>). 126 + </para> 127 + </listitem> 115 128 </itemizedlist> 116 129 </section> 117 130
+7 -6
nixos/modules/services/audio/mpd.nix
··· 233 233 { 234 234 User = "${cfg.user}"; 235 235 ExecStart = "${pkgs.mpd}/bin/mpd --no-daemon /run/mpd/mpd.conf"; 236 - ExecStartPre = pkgs.writeShellScript "mpd-start-pre" '' 236 + ExecStartPre = pkgs.writeShellScript "mpd-start-pre" ('' 237 237 set -euo pipefail 238 238 install -m 600 ${mpdConf} /run/mpd/mpd.conf 239 - ${optionalString (cfg.credentials != []) 240 - "${pkgs.replace}/bin/replace-literal -fe ${ 241 - concatStringsSep " -a " (imap0 (i: c: "\"{{password-${toString i}}}\" \"$(cat ${c.passwordFile})\"") cfg.credentials) 242 - } /run/mpd/mpd.conf"} 243 - ''; 239 + '' + optionalString (cfg.credentials != []) 240 + (concatStringsSep "\n" 241 + (imap0 242 + (i: c: ''${pkgs.replace-secret}/bin/replace-secret '{{password-${toString i}}}' '${c.passwordFile}' /run/mpd/mpd.conf'') 243 + cfg.credentials)) 244 + ); 244 245 RuntimeDirectory = "mpd"; 245 246 Type = "notify"; 246 247 LimitRTPRIO = 50;
+1 -1
nixos/modules/services/audio/mpdscribble.nix
··· 59 59 60 60 replaceSecret = secretFile: placeholder: targetFile: 61 61 optionalString (secretFile != null) '' 62 - ${pkgs.replace}/bin/replace-literal -ef ${placeholder} "$(cat ${secretFile})" ${targetFile}''; 62 + ${pkgs.replace-secret}/bin/replace-secret '${placeholder}' '${secretFile}' '${targetFile}' ''; 63 63 64 64 preStart = pkgs.writeShellScript "mpdscribble-pre-start" '' 65 65 cp -f "${cfgTemplate}" "${cfgFile}"
+1 -13
nixos/modules/services/desktops/flatpak.nix
··· 15 15 options = { 16 16 services.flatpak = { 17 17 enable = mkEnableOption "flatpak"; 18 - 19 - guiPackages = mkOption { 20 - internal = true; 21 - type = types.listOf types.package; 22 - default = []; 23 - example = literalExample "[ pkgs.gnome.gnome-software ]"; 24 - description = '' 25 - Packages that provide an interface for flatpak 26 - (like gnome-software) that will be automatically available 27 - to all users when flatpak is enabled. 28 - ''; 29 - }; 30 18 }; 31 19 }; 32 20 ··· 40 28 } 41 29 ]; 42 30 43 - environment.systemPackages = [ pkgs.flatpak ] ++ cfg.guiPackages; 31 + environment.systemPackages = [ pkgs.flatpak ]; 44 32 45 33 services.dbus.packages = [ pkgs.flatpak ]; 46 34
+2 -3
nixos/modules/services/misc/gitlab.nix
··· 952 952 path = with pkgs; [ 953 953 jq 954 954 openssl 955 - replace 955 + replace-secret 956 956 git 957 957 ]; 958 958 serviceConfig = { ··· 994 994 ${optionalString cfg.smtp.enable '' 995 995 install -m u=rw ${smtpSettings} ${cfg.statePath}/config/initializers/smtp_settings.rb 996 996 ${optionalString (cfg.smtp.passwordFile != null) '' 997 - smtp_password=$(<'${cfg.smtp.passwordFile}') 998 - replace-literal -e '@smtpPassword@' "$smtp_password" '${cfg.statePath}/config/initializers/smtp_settings.rb' 997 + replace-secret '@smtpPassword@' '${cfg.smtp.passwordFile}' '${cfg.statePath}/config/initializers/smtp_settings.rb' 999 998 ''} 1000 999 ''} 1001 1000
+29 -4
nixos/modules/services/misc/matrix-synapse.nix
··· 86 86 ${optionalString (cfg.account_threepid_delegates.email != null) "email: ${cfg.account_threepid_delegates.email}"} 87 87 ${optionalString (cfg.account_threepid_delegates.msisdn != null) "msisdn: ${cfg.account_threepid_delegates.msisdn}"} 88 88 89 - room_invite_state_types: ${builtins.toJSON cfg.room_invite_state_types} 89 + room_prejoin_state: 90 + disable_default_event_types: ${boolToString cfg.room_prejoin_state.disable_default_event_types} 91 + additional_event_types: ${builtins.toJSON cfg.room_prejoin_state.additional_event_types} 90 92 ${optionalString (cfg.macaroon_secret_key != null) '' 91 93 macaroon_secret_key: "${cfg.macaroon_secret_key}" 92 94 ''} ··· 577 579 Delegate SMS sending to this local process (https://localhost:8090) 578 580 ''; 579 581 }; 580 - room_invite_state_types = mkOption { 582 + room_prejoin_state.additional_event_types = mkOption { 583 + default = []; 581 584 type = types.listOf types.str; 582 - default = ["m.room.join_rules" "m.room.canonical_alias" "m.room.avatar" "m.room.name"]; 583 585 description = '' 584 - A list of event types that will be included in the room_invite_state 586 + Additional events to share with users who received an invite. 587 + ''; 588 + }; 589 + room_prejoin_state.disable_default_event_types = mkOption { 590 + default = false; 591 + type = types.bool; 592 + description = '' 593 + Whether to disable the default state-event types for users invited to a room. 594 + These are: 595 + 596 + <itemizedlist> 597 + <listitem><para>m.room.join_rules</para></listitem> 598 + <listitem><para>m.room.canonical_alias</para></listitem> 599 + <listitem><para>m.room.avatar</para></listitem> 600 + <listitem><para>m.room.encryption</para></listitem> 601 + <listitem><para>m.room.name</para></listitem> 602 + <listitem><para>m.room.create</para></listitem> 603 + </itemizedlist> 585 604 ''; 586 605 }; 587 606 macaroon_secret_key = mkOption { ··· 728 747 <nixpkgs/nixos/tests/matrix-synapse.nix> 729 748 '') 730 749 (mkRemovedOptionModule [ "services" "matrix-synapse" "web_client" ] "") 750 + (mkRemovedOptionModule [ "services" "matrix-synapse" "room_invite_state_types" ] '' 751 + You may add additional event types via 752 + `services.matrix-synapse.room_prejoin_state.additional_event_types` and 753 + disable the default events via 754 + `services.matrix-synapse.room_prejoin_state.disable_default_event_types`. 755 + '') 731 756 ]; 732 757 733 758 meta.doc = ./matrix-synapse.xml;
+44 -15
nixos/modules/services/monitoring/grafana.nix
··· 42 42 AUTH_ANONYMOUS_ENABLED = boolToString cfg.auth.anonymous.enable; 43 43 AUTH_ANONYMOUS_ORG_NAME = cfg.auth.anonymous.org_name; 44 44 AUTH_ANONYMOUS_ORG_ROLE = cfg.auth.anonymous.org_role; 45 + AUTH_GOOGLE_ENABLED = boolToString cfg.auth.google.enable; 46 + AUTH_GOOGLE_ALLOW_SIGN_UP = boolToString cfg.auth.google.allowSignUp; 47 + AUTH_GOOGLE_CLIENT_ID = cfg.auth.google.clientId; 45 48 46 49 ANALYTICS_REPORTING_ENABLED = boolToString cfg.analytics.reporting.enable; 47 50 ··· 528 531 }; 529 532 }; 530 533 531 - auth.anonymous = { 532 - enable = mkOption { 533 - description = "Whether to allow anonymous access."; 534 - default = false; 535 - type = types.bool; 534 + auth = { 535 + anonymous = { 536 + enable = mkOption { 537 + description = "Whether to allow anonymous access."; 538 + default = false; 539 + type = types.bool; 540 + }; 541 + org_name = mkOption { 542 + description = "Which organization to allow anonymous access to."; 543 + default = "Main Org."; 544 + type = types.str; 545 + }; 546 + org_role = mkOption { 547 + description = "Which role anonymous users have in the organization."; 548 + default = "Viewer"; 549 + type = types.str; 550 + }; 536 551 }; 537 - org_name = mkOption { 538 - description = "Which organization to allow anonymous access to."; 539 - default = "Main Org."; 540 - type = types.str; 541 - }; 542 - org_role = mkOption { 543 - description = "Which role anonymous users have in the organization."; 544 - default = "Viewer"; 545 - type = types.str; 552 + google = { 553 + enable = mkOption { 554 + description = "Whether to allow Google OAuth2."; 555 + default = false; 556 + type = types.bool; 557 + }; 558 + allowSignUp = mkOption { 559 + description = "Whether to allow sign up with Google OAuth2."; 560 + default = false; 561 + type = types.bool; 562 + }; 563 + clientId = mkOption { 564 + description = "Google OAuth2 client ID."; 565 + default = ""; 566 + type = types.str; 567 + }; 568 + clientSecretFile = mkOption { 569 + description = "Google OAuth2 client secret."; 570 + default = null; 571 + type = types.nullOr types.path; 572 + }; 546 573 }; 547 - 548 574 }; 549 575 550 576 analytics.reporting = { ··· 609 635 QT_QPA_PLATFORM = "offscreen"; 610 636 } // mapAttrs' (n: v: nameValuePair "GF_${n}" (toString v)) envOptions; 611 637 script = '' 638 + ${optionalString (cfg.auth.google.clientSecretFile != null) '' 639 + export GF_AUTH_GOOGLE_CLIENT_SECRET="$(cat ${escapeShellArg cfg.auth.google.clientSecretFile})" 640 + ''} 612 641 ${optionalString (cfg.database.passwordFile != null) '' 613 642 export GF_DATABASE_PASSWORD="$(cat ${escapeShellArg cfg.database.passwordFile})" 614 643 ''}
+86 -55
nixos/modules/services/networking/libreswan.nix
··· 9 9 libexec = "${pkgs.libreswan}/libexec/ipsec"; 10 10 ipsec = "${pkgs.libreswan}/sbin/ipsec"; 11 11 12 - trim = chars: str: let 13 - nonchars = filter (x : !(elem x.value chars)) 14 - (imap0 (i: v: {ind = i; value = v;}) (stringToCharacters str)); 15 - in 16 - if length nonchars == 0 then "" 17 - else substring (head nonchars).ind (add 1 (sub (last nonchars).ind (head nonchars).ind)) str; 12 + trim = chars: str: 13 + let 14 + nonchars = filter (x : !(elem x.value chars)) 15 + (imap0 (i: v: {ind = i; value = v;}) (stringToCharacters str)); 16 + in 17 + if length nonchars == 0 then "" 18 + else substring (head nonchars).ind (add 1 (sub (last nonchars).ind (head nonchars).ind)) str; 18 19 indent = str: concatStrings (concatMap (s: [" " (trim [" " "\t"] s) "\n"]) (splitString "\n" str)); 19 20 configText = indent (toString cfg.configSetup); 20 21 connectionText = concatStrings (mapAttrsToList (n: v: 21 22 '' 22 23 conn ${n} 23 24 ${indent v} 25 + '') cfg.connections); 24 26 25 - '') cfg.connections); 26 - configFile = pkgs.writeText "ipsec.conf" 27 + configFile = pkgs.writeText "ipsec-nixos.conf" 27 28 '' 28 29 config setup 29 30 ${configText} ··· 31 32 ${connectionText} 32 33 ''; 33 34 35 + policyFiles = mapAttrs' (name: text: 36 + { name = "ipsec.d/policies/${name}"; 37 + value.source = pkgs.writeText "ipsec-policy-${name}" text; 38 + }) cfg.policies; 39 + 34 40 in 35 41 36 42 { ··· 41 47 42 48 services.libreswan = { 43 49 44 - enable = mkEnableOption "libreswan ipsec service"; 50 + enable = mkEnableOption "Libreswan IPsec service"; 45 51 46 52 configSetup = mkOption { 47 53 type = types.lines; 48 54 default = '' 49 55 protostack=netkey 50 - nat_traversal=yes 51 56 virtual_private=%v4:10.0.0.0/8,%v4:192.168.0.0/16,%v4:172.16.0.0/12,%v4:25.0.0.0/8,%v4:100.64.0.0/10,%v6:fd00::/8,%v6:fe80::/10 52 57 ''; 53 58 example = '' 54 59 secretsfile=/root/ipsec.secrets 55 60 protostack=netkey 56 - nat_traversal=yes 57 61 virtual_private=%v4:10.0.0.0/8,%v4:192.168.0.0/16,%v4:172.16.0.0/12,%v4:25.0.0.0/8,%v4:100.64.0.0/10,%v6:fd00::/8,%v6:fe80::/10 58 62 ''; 59 - description = "Options to go in the 'config setup' section of the libreswan ipsec configuration"; 63 + description = "Options to go in the 'config setup' section of the Libreswan IPsec configuration"; 60 64 }; 61 65 62 66 connections = mkOption { 63 67 type = types.attrsOf types.lines; 64 68 default = {}; 65 - example = { 66 - myconnection = '' 67 - auto=add 68 - left=%defaultroute 69 - leftid=@user 69 + example = literalExample '' 70 + { myconnection = ''' 71 + auto=add 72 + left=%defaultroute 73 + leftid=@user 74 + 75 + right=my.vpn.com 76 + 77 + ikev2=no 78 + ikelifetime=8h 79 + '''; 80 + } 81 + ''; 82 + description = "A set of connections to define for the Libreswan IPsec service"; 83 + }; 84 + 85 + policies = mkOption { 86 + type = types.attrsOf types.lines; 87 + default = {}; 88 + example = literalExample '' 89 + { private-or-clear = ''' 90 + # Attempt opportunistic IPsec for the entire Internet 91 + 0.0.0.0/0 92 + ::/0 93 + '''; 94 + } 95 + ''; 96 + description = '' 97 + A set of policies to apply to the IPsec connections. 70 98 71 - right=my.vpn.com 99 + <note><para> 100 + The policy name must match the one of connection it needs to apply to. 101 + </para></note> 102 + ''; 103 + }; 72 104 73 - ikev2=no 74 - ikelifetime=8h 75 - ''; 76 - }; 77 - description = "A set of connections to define for the libreswan ipsec service"; 105 + disableRedirects = mkOption { 106 + type = types.bool; 107 + default = true; 108 + description = '' 109 + Whether to disable send and accept redirects for all nework interfaces. 110 + See the Libreswan <link xlink:href="https://libreswan.org/wiki/FAQ#Why_is_it_recommended_to_disable_send_redirects_in_.2Fproc.2Fsys.2Fnet_.3F"> 111 + FAQ</link> page for why this is recommended. 112 + ''; 78 113 }; 114 + 79 115 }; 80 116 81 117 }; ··· 85 121 86 122 config = mkIf cfg.enable { 87 123 124 + # Install package, systemd units, etc. 88 125 environment.systemPackages = [ pkgs.libreswan pkgs.iproute2 ]; 126 + systemd.packages = [ pkgs.libreswan ]; 127 + systemd.tmpfiles.packages = [ pkgs.libreswan ]; 128 + 129 + # Install configuration files 130 + environment.etc = { 131 + "ipsec.secrets".source = "${pkgs.libreswan}/etc/ipsec.secrets"; 132 + "ipsec.conf".source = "${pkgs.libreswan}/etc/ipsec.conf"; 133 + "ipsec.d/01-nixos.conf".source = configFile; 134 + } // policyFiles; 135 + 136 + # Create NSS database directory 137 + systemd.tmpfiles.rules = [ "d /var/lib/ipsec/nss 755 root root -" ]; 89 138 90 139 systemd.services.ipsec = { 91 140 description = "Internet Key Exchange (IKE) Protocol Daemon for IPsec"; 92 - path = [ 93 - "${pkgs.libreswan}" 94 - "${pkgs.iproute2}" 95 - "${pkgs.procps}" 96 - "${pkgs.nssTools}" 97 - "${pkgs.iptables}" 98 - "${pkgs.nettools}" 99 - ]; 100 - 101 - wants = [ "network-online.target" ]; 102 - after = [ "network-online.target" ]; 103 141 wantedBy = [ "multi-user.target" ]; 104 - 105 - serviceConfig = { 106 - Type = "simple"; 107 - Restart = "always"; 108 - EnvironmentFile = "-${pkgs.libreswan}/etc/sysconfig/pluto"; 109 - ExecStartPre = [ 110 - "${libexec}/addconn --config ${configFile} --checkconfig" 111 - "${libexec}/_stackmanager start" 112 - "${ipsec} --checknss" 113 - "${ipsec} --checknflog" 114 - ]; 115 - ExecStart = "${libexec}/pluto --config ${configFile} --nofork \$PLUTO_OPTIONS"; 116 - ExecStop = "${libexec}/whack --shutdown"; 117 - ExecStopPost = [ 118 - "${pkgs.iproute2}/bin/ip xfrm policy flush" 119 - "${pkgs.iproute2}/bin/ip xfrm state flush" 120 - "${ipsec} --stopnflog" 121 - ]; 122 - ExecReload = "${libexec}/whack --listen"; 123 - }; 124 - 142 + restartTriggers = [ configFile ] ++ mapAttrsToList (n: v: v.source) policyFiles; 143 + path = with pkgs; [ 144 + libreswan 145 + iproute2 146 + procps 147 + nssTools 148 + iptables 149 + nettools 150 + ]; 151 + preStart = optionalString cfg.disableRedirects '' 152 + # Disable send/receive redirects 153 + echo 0 | tee /proc/sys/net/ipv4/conf/*/send_redirects 154 + echo 0 | tee /proc/sys/net/ipv{4,6}/conf/*/accept_redirects 155 + ''; 125 156 }; 126 157 127 158 };
+4 -6
nixos/modules/services/web-apps/discourse.nix
··· 661 661 ]; 662 662 path = cfg.package.runtimeDeps ++ [ 663 663 postgresqlPackage 664 - pkgs.replace 664 + pkgs.replace-secret 665 665 cfg.package.rake 666 666 ]; 667 667 environment = cfg.package.runtimeEnv // { ··· 688 688 689 689 mkSecretReplacement = file: 690 690 lib.optionalString (file != null) '' 691 - ( 692 - password=$(<'${file}') 693 - replace-literal -fe '${file}' "$password" /run/discourse/config/discourse.conf 694 - ) 691 + replace-secret '${file}' '${file}' /run/discourse/config/discourse.conf 695 692 ''; 696 693 in '' 697 694 set -o errexit -o pipefail -o nounset -o errtrace ··· 713 710 cfg.siteSettings 714 711 "/run/discourse/config/nixos_site_settings.json" 715 712 } 716 - install -T -m 0400 -o discourse ${discourseConf} /run/discourse/config/discourse.conf 713 + install -T -m 0600 -o discourse ${discourseConf} /run/discourse/config/discourse.conf 717 714 ${mkSecretReplacement cfg.database.passwordFile} 718 715 ${mkSecretReplacement cfg.mail.outgoing.passwordFile} 719 716 ${mkSecretReplacement cfg.redis.passwordFile} 720 717 ${mkSecretReplacement cfg.secretKeyBaseFile} 718 + chmod 0400 /run/discourse/config/discourse.conf 721 719 ) 722 720 723 721 discourse-rake db:migrate >>/var/log/discourse/db_migration.log
+4 -2
nixos/modules/services/web-apps/keycloak.nix
··· 633 633 after = databaseServices; 634 634 bindsTo = databaseServices; 635 635 wantedBy = [ "multi-user.target" ]; 636 + path = with pkgs; [ 637 + replace-secret 638 + ]; 636 639 environment = { 637 640 JBOSS_LOG_DIR = "/var/log/keycloak"; 638 641 JBOSS_BASE_DIR = "/run/keycloak"; ··· 653 656 install -m 0600 ${cfg.package}/standalone/configuration/*.properties /run/keycloak/configuration 654 657 install -T -m 0600 ${keycloakConfig} /run/keycloak/configuration/standalone.xml 655 658 656 - db_password="$(</run/keycloak/secrets/db_password)" 657 - ${pkgs.replace}/bin/replace-literal -fe '@db-password@' "$db_password" /run/keycloak/configuration/standalone.xml 659 + replace-secret '@db-password@' '/run/keycloak/secrets/db_password' /run/keycloak/configuration/standalone.xml 658 660 659 661 export JAVA_OPTS=-Djboss.server.config.user.dir=/run/keycloak/configuration 660 662 ${cfg.package}/bin/add-user-keycloak.sh -u admin -p '${cfg.initialAdminPassword}'
+33 -30
nixos/modules/services/x11/desktop-managers/gnome.nix
··· 292 292 293 293 # If gnome is installed, build vim for gtk3 too. 294 294 nixpkgs.config.vim.gui = "gtk3"; 295 - 296 - # Install gnome-software if flatpak is enabled 297 - services.flatpak.guiPackages = [ 298 - pkgs.gnome.gnome-software 299 - ]; 300 295 }) 301 296 302 297 (mkIf flashbackEnabled { ··· 467 462 468 463 # Adapt from https://gitlab.gnome.org/GNOME/gnome-build-meta/blob/gnome-3-38/elements/core/meta-gnome-core-utilities.bst 469 464 (mkIf serviceCfg.core-utilities.enable { 470 - environment.systemPackages = (with pkgs.gnome; removePackagesByName [ 471 - baobab 472 - cheese 473 - eog 474 - epiphany 475 - gedit 476 - gnome-calculator 477 - gnome-calendar 478 - gnome-characters 479 - gnome-clocks 480 - gnome-contacts 481 - gnome-font-viewer 482 - gnome-logs 483 - gnome-maps 484 - gnome-music 485 - pkgs.gnome-photos 486 - gnome-screenshot 487 - gnome-system-monitor 488 - gnome-weather 489 - nautilus 490 - pkgs.gnome-connections 491 - simple-scan 492 - totem 493 - yelp 494 - ] config.environment.gnome.excludePackages); 465 + environment.systemPackages = 466 + with pkgs.gnome; 467 + removePackagesByName 468 + ([ 469 + baobab 470 + cheese 471 + eog 472 + epiphany 473 + gedit 474 + gnome-calculator 475 + gnome-calendar 476 + gnome-characters 477 + gnome-clocks 478 + gnome-contacts 479 + gnome-font-viewer 480 + gnome-logs 481 + gnome-maps 482 + gnome-music 483 + pkgs.gnome-photos 484 + gnome-screenshot 485 + gnome-system-monitor 486 + gnome-weather 487 + nautilus 488 + pkgs.gnome-connections 489 + simple-scan 490 + totem 491 + yelp 492 + ] ++ lib.optionals config.services.flatpak.enable [ 493 + # Since PackageKit Nix support is not there yet, 494 + # only install gnome-software if flatpak is enabled. 495 + gnome-software 496 + ]) 497 + config.environment.gnome.excludePackages; 495 498 496 499 # Enable default program modules 497 500 # Since some of these have a corresponding package, we only
+4 -1
nixos/modules/virtualisation/qemu-guest-agent.nix
··· 30 30 systemd.services.qemu-guest-agent = { 31 31 description = "Run the QEMU Guest Agent"; 32 32 serviceConfig = { 33 - ExecStart = "${cfg.package}/bin/qemu-ga"; 33 + ExecStart = "${cfg.package}/bin/qemu-ga --statedir /run/qemu-ga"; 34 34 Restart = "always"; 35 35 RestartSec = 0; 36 + # Runtime directory and mode 37 + RuntimeDirectory = "qemu-ga"; 38 + RuntimeDirectoryMode = "0755"; 36 39 }; 37 40 }; 38 41 }
+1
nixos/tests/all-tests.nix
··· 217 217 latestKernel.login = handleTest ./login.nix { latestKernel = true; }; 218 218 leaps = handleTest ./leaps.nix {}; 219 219 lidarr = handleTest ./lidarr.nix {}; 220 + libreswan = handleTest ./libreswan.nix {}; 220 221 lightdm = handleTest ./lightdm.nix {}; 221 222 limesurvey = handleTest ./limesurvey.nix {}; 222 223 locate = handleTest ./locate.nix {};
+2 -2
nixos/tests/cagebreak.nix
··· 33 33 34 34 hardware.opengl.enable = true; 35 35 programs.xwayland.enable = true; 36 - environment.systemPackages = [ pkgs.cagebreak pkgs.wallutils ]; 36 + environment.systemPackages = [ pkgs.cagebreak pkgs.wayland-utils ]; 37 37 38 38 virtualisation.memorySize = 1024; 39 39 # Need to switch to a different VGA card / GPU driver than the default one (std) so that Cagebreak can launch: ··· 51 51 machine.wait_for_file("${XDG_RUNTIME_DIR}/wayland-0") 52 52 53 53 with subtest("ensure wayland works with wayinfo from wallutils"): 54 - print(machine.succeed("env XDG_RUNTIME_DIR=${XDG_RUNTIME_DIR} wayinfo")) 54 + print(machine.succeed("env XDG_RUNTIME_DIR=${XDG_RUNTIME_DIR} wayland-info")) 55 55 56 56 # TODO: Fix the XWayland test (log the cagebreak output to debug): 57 57 # with subtest("ensure xwayland works with xterm"):
+134
nixos/tests/libreswan.nix
··· 1 + # This test sets up a host-to-host IPsec VPN between Alice and Bob, each on its 2 + # own network and with Eve as the only route between each other. We check that 3 + # Eve can eavesdrop the plaintext traffic between Alice and Bob, but once they 4 + # enable the secure tunnel Eve's spying becomes ineffective. 5 + 6 + import ./make-test-python.nix ({ lib, pkgs, ... }: 7 + 8 + let 9 + 10 + # IPsec tunnel between Alice and Bob 11 + tunnelConfig = { 12 + services.libreswan.enable = true; 13 + services.libreswan.connections.tunnel = 14 + '' 15 + leftid=@alice 16 + left=fd::a 17 + rightid=@bob 18 + right=fd::b 19 + authby=secret 20 + auto=add 21 + ''; 22 + environment.etc."ipsec.d/tunnel.secrets" = 23 + { text = ''@alice @bob : PSK "j1JbIi9WY07rxwcNQ6nbyThKCf9DGxWOyokXIQcAQUnafsNTUJxfsxwk9WYK8fHj"''; 24 + mode = "600"; 25 + }; 26 + }; 27 + 28 + # Common network setup 29 + baseNetwork = { 30 + # shared hosts file 31 + extraHosts = lib.mkVMOverride '' 32 + fd::a alice 33 + fd::b bob 34 + fd::e eve 35 + ''; 36 + # remove all automatic addresses 37 + useDHCP = false; 38 + interfaces.eth1.ipv4.addresses = lib.mkVMOverride []; 39 + interfaces.eth2.ipv4.addresses = lib.mkVMOverride []; 40 + # open a port for testing 41 + firewall.allowedUDPPorts = [ 1234 ]; 42 + }; 43 + 44 + # Adds an address and route from a to b via Eve 45 + addRoute = a: b: { 46 + interfaces.eth1.ipv6.addresses = 47 + [ { address = a; prefixLength = 64; } ]; 48 + interfaces.eth1.ipv6.routes = 49 + [ { address = b; prefixLength = 128; via = "fd::e"; } ]; 50 + }; 51 + 52 + in 53 + 54 + { 55 + name = "libreswan"; 56 + meta = with lib.maintainers; { 57 + maintainers = [ rnhmjoj ]; 58 + }; 59 + 60 + # Our protagonist 61 + nodes.alice = { ... }: { 62 + virtualisation.vlans = [ 1 ]; 63 + networking = baseNetwork // addRoute "fd::a" "fd::b"; 64 + } // tunnelConfig; 65 + 66 + # Her best friend 67 + nodes.bob = { ... }: { 68 + virtualisation.vlans = [ 2 ]; 69 + networking = baseNetwork // addRoute "fd::b" "fd::a"; 70 + } // tunnelConfig; 71 + 72 + # The malicious network operator 73 + nodes.eve = { ... }: { 74 + virtualisation.vlans = [ 1 2 ]; 75 + networking = lib.mkMerge 76 + [ baseNetwork 77 + { interfaces.br0.ipv6.addresses = 78 + [ { address = "fd::e"; prefixLength = 64; } ]; 79 + bridges.br0.interfaces = [ "eth1" "eth2" ]; 80 + } 81 + ]; 82 + environment.systemPackages = [ pkgs.tcpdump ]; 83 + boot.kernel.sysctl."net.ipv6.conf.all.forwarding" = true; 84 + }; 85 + 86 + testScript = 87 + '' 88 + def alice_to_bob(msg: str): 89 + """ 90 + Sends a message as Alice to Bob 91 + """ 92 + bob.execute("nc -lu ::0 1234 >/tmp/msg &") 93 + alice.sleep(1) 94 + alice.succeed(f"echo '{msg}' | nc -uw 0 bob 1234") 95 + bob.succeed(f"grep '{msg}' /tmp/msg") 96 + 97 + 98 + def eavesdrop(): 99 + """ 100 + Starts eavesdropping on Alice and Bob 101 + """ 102 + match = "src host alice and dst host bob" 103 + eve.execute(f"tcpdump -i br0 -c 1 -Avv {match} >/tmp/log &") 104 + 105 + 106 + start_all() 107 + 108 + with subtest("Network is up"): 109 + alice.wait_until_succeeds("ping -c1 bob") 110 + 111 + with subtest("Eve can eavesdrop cleartext traffic"): 112 + eavesdrop() 113 + alice_to_bob("I secretly love turnip") 114 + eve.sleep(1) 115 + eve.succeed("grep turnip /tmp/log") 116 + 117 + with subtest("Libreswan is ready"): 118 + alice.wait_for_unit("ipsec") 119 + bob.wait_for_unit("ipsec") 120 + alice.succeed("ipsec verify 1>&2") 121 + 122 + with subtest("Alice and Bob can start the tunnel"): 123 + alice.execute("ipsec auto --start tunnel &") 124 + bob.succeed("ipsec auto --start tunnel") 125 + # apparently this is needed to "wake" the tunnel 126 + bob.execute("ping -c1 alice") 127 + 128 + with subtest("Eve no longer can eavesdrop"): 129 + eavesdrop() 130 + alice_to_bob("Just kidding, I actually like rhubarb") 131 + eve.sleep(1) 132 + eve.fail("grep rhubarb /tmp/log") 133 + ''; 134 + })
-2
pkgs/applications/audio/gnome-podcasts/default.nix
··· 8 8 , python3 9 9 , pkg-config 10 10 , glib 11 - , cmake 12 11 , libhandy 13 12 , gtk3 14 13 , appstream-glib ··· 53 52 54 53 buildInputs = [ 55 54 appstream-glib 56 - cmake 57 55 desktop-file-utils 58 56 glib 59 57 gtk3
+5 -4
pkgs/applications/blockchains/trezor-suite/default.nix
··· 8 8 9 9 let 10 10 pname = "trezor-suite"; 11 - version = "21.4.1"; 11 + version = "21.5.1"; 12 12 name = "${pname}-${version}"; 13 13 14 14 suffix = { ··· 18 18 19 19 src = fetchurl { 20 20 url = "https://github.com/trezor/${pname}/releases/download/v${version}/Trezor-Suite-${version}-${suffix}.AppImage"; 21 - sha256 = { 22 - aarch64-linux = "51ea8a5210f008d13a729ac42085563b5e8b971b17ed766f84d69d76dcb2db0c"; 23 - x86_64-linux = "9219168a504356152b3b807e1e7282e21952461d277596c6b82ddfe81ac2419c"; 21 + # sha512 hashes are obtained from latest-linux-arm64.yml and latest-linux.yml 22 + sha512 = { 23 + aarch64-linux = "sha512-nqwfonWySc+wBSJjC8BW9vm+v5zHbKqbbrTTRmoZdEYBJg2SthMtTULNLVpXaX9NHxr6guZnOWdBlzVk2dQkfQ=="; 24 + x86_64-linux = "sha512-tfvdNXsjMe8YXJwTuujz4tKTdfsCuR/9VECF8EkcRP95YM7vuDV8dumru1jKtdiv0gaS1GT3SPEeAfmczY5jGg=="; 24 25 }.${stdenv.hostPlatform.system} or (throw "Unsupported system: ${stdenv.hostPlatform.system}"); 25 26 }; 26 27
+2 -2
pkgs/applications/graphics/krita/default.nix
··· 1 1 { mkDerivation, lib, stdenv, makeWrapper, fetchurl, cmake, extra-cmake-modules 2 2 , karchive, kconfig, kwidgetsaddons, kcompletion, kcoreaddons 3 3 , kguiaddons, ki18n, kitemmodels, kitemviews, kwindowsystem 4 - , kio, kcrash 4 + , kio, kcrash, breeze-icons 5 5 , boost, libraw, fftw, eigen, exiv2, libheif, lcms2, gsl, openexr, giflib 6 6 , openjpeg, opencolorio, vc, poppler, curl, ilmbase 7 7 , qtmultimedia, qtx11extras, quazip ··· 21 21 22 22 buildInputs = [ 23 23 karchive kconfig kwidgetsaddons kcompletion kcoreaddons kguiaddons 24 - ki18n kitemmodels kitemviews kwindowsystem kio kcrash 24 + ki18n kitemmodels kitemviews kwindowsystem kio kcrash breeze-icons 25 25 boost libraw fftw eigen exiv2 lcms2 gsl openexr libheif giflib 26 26 openjpeg opencolorio poppler curl ilmbase 27 27 qtmultimedia qtx11extras quazip
+5 -3
pkgs/applications/misc/megasync/default.nix
··· 7 7 , curl 8 8 , doxygen 9 9 , fetchFromGitHub 10 - , ffmpeg 10 + #, ffmpeg 11 11 , libmediainfo 12 12 , libraw 13 13 , libsodium ··· 52 52 c-ares 53 53 cryptopp 54 54 curl 55 - ffmpeg 55 + # temporarily disable until patched for ffmpeg 4.4 56 + #ffmpeg 56 57 libmediainfo 57 58 libraw 58 59 libsodium ··· 94 95 "--with-cares" 95 96 "--with-cryptopp" 96 97 "--with-curl" 97 - "--with-ffmpeg" 98 + # temporarily disable until patched for ffmpeg 4.4 99 + #"--with-ffmpeg" 98 100 "--without-freeimage" # unreferenced even when found 99 101 "--without-readline" 100 102 "--without-termcap"
+1 -1
pkgs/applications/misc/spacenav-cube-example/default.nix
··· 10 10 11 11 buildInputs = [ libX11 mesa_glu libspnav ]; 12 12 13 - configureFlags = [ "--disable-debug" ]; 13 + makeFlags = [ "CC=${stdenv.cc.targetPrefix}cc" ]; 14 14 15 15 installPhase = '' 16 16 runHook preInstall
+2 -2
pkgs/applications/networking/cluster/argo/default.nix
··· 19 19 in 20 20 buildGoModule rec { 21 21 pname = "argo"; 22 - version = "3.0.3"; 22 + version = "3.0.4"; 23 23 24 24 src = fetchFromGitHub { 25 25 owner = "argoproj"; 26 26 repo = "argo"; 27 27 rev = "v${version}"; 28 - sha256 = "sha256-6w0FwVmzICsjWH7lE2ZnIhictNFTpo8pQ2Wvsyn925A="; 28 + sha256 = "sha256-zswX6nt7AxxTMznbY4Rk0A8j2PpSNht+gbTMbDr2yuY="; 29 29 }; 30 30 31 31 vendorSha256 = "sha256-YjVAoMyGKMHLGEPeOOkCKCzeWFiUsXfJIKcw5GYoljg=";
+3 -3
pkgs/applications/networking/instant-messengers/kdeltachat/default.nix
··· 12 12 13 13 mkDerivation rec { 14 14 pname = "kdeltachat"; 15 - version = "unstable-2021-05-16"; 15 + version = "unstable-2021-05-18"; 16 16 17 17 src = fetchFromSourcehut { 18 18 owner = "~link2xt"; 19 19 repo = "kdeltachat"; 20 - rev = "670960e18a7e9a1d994f26af27a12c73a7413c9a"; 21 - sha256 = "1k065pvz1p2wm1rvw4nlcmknc4z10ya4qfch5kz77bbhkf9vfw2l"; 20 + rev = "837336dc93b66912d48a3b7a2e8c1991b4d3650f"; 21 + sha256 = "17ms6dcfdz0y24285fqpmgvw391bxrkagsiiy4g5cyp8gfppkgaj"; 22 22 }; 23 23 24 24 nativeBuildInputs = [
+2 -2
pkgs/applications/networking/sniffers/etherape/default.nix
··· 2 2 popt, itstool, libxml2 }: 3 3 4 4 stdenv.mkDerivation rec { 5 - name = "etherape-0.9.19"; 5 + name = "etherape-0.9.20"; 6 6 src = fetchurl { 7 7 url = "mirror://sourceforge/etherape/${name}.tar.gz"; 8 - sha256 = "0w63vg2q6if3wvy2md66in8b6cdw9q40hny5xy6yrxky58l4kmg7"; 8 + sha256 = "sha256-9UsQtWOXB1yYofGS4rMIF+ISWBsJKd0DBOFfqOr1n5Y="; 9 9 }; 10 10 11 11 nativeBuildInputs = [ itstool pkg-config (lib.getBin libxml2) ];
+14 -12
pkgs/applications/science/math/bcal/default.nix
··· 1 - { lib, stdenv, fetchFromGitHub, python3Packages, readline, bc }: 2 - 3 - with lib; 1 + { lib 2 + , stdenv 3 + , fetchFromGitHub 4 + , readline 5 + , bc 6 + , python3Packages 7 + }: 4 8 5 9 stdenv.mkDerivation rec { 6 10 pname = "bcal"; ··· 13 17 sha256 = "4vR5rcbNkoEdSRNoMH9qMHP3iWFxejkVfXNiYfwbo/A="; 14 18 }; 15 19 16 - nativeBuildInputs = [ python3Packages.pytest ]; 17 - 18 20 buildInputs = [ readline ]; 19 21 22 + installFlags = [ "PREFIX=$(out)" ]; 23 + 20 24 doCheck = true; 21 - checkInputs = [ bc ]; 22 - checkPhase = '' 23 - python3 -m pytest test.py 24 - ''; 25 + 26 + checkInputs = [ bc python3Packages.pytestCheckHook ]; 25 27 26 - installFlags = [ "DESTDIR=$(out)" "PREFIX=" ]; 28 + pytestFlagsArray = [ "test.py" ]; 27 29 28 - meta = { 30 + meta = with lib; { 29 31 description = "Storage conversion and expression calculator"; 30 32 homepage = "https://github.com/jarun/bcal"; 31 33 license = licenses.gpl3Only; 32 - platforms = [ "aarch64-linux" "x86_64-darwin" "x86_64-linux" ]; 34 + platforms = platforms.unix; 33 35 maintainers = with maintainers; [ jfrankenau ]; 34 36 }; 35 37 }
+13 -4
pkgs/applications/science/math/pari/default.nix
··· 12 12 13 13 stdenv.mkDerivation rec { 14 14 pname = "pari"; 15 - version = "2.11.4"; 15 + version = "2.13.1"; 16 16 17 17 src = fetchurl { 18 - # Versions with current majorMinor values are at http://pari.math.u-bordeaux.fr/pub/pari/unix/${pname}-${version}.tar.gz 19 - url = "https://pari.math.u-bordeaux.fr/pub/pari/OLD/${lib.versions.majorMinor version}/${pname}-${version}.tar.gz"; 20 - sha256 = "sha256-v8iPxPc1L0hA5uNSxy8DacvqikVAOxg0piafNwmXCxw="; 18 + urls = [ 19 + "https://pari.math.u-bordeaux.fr/pub/pari/unix/${pname}-${version}.tar.gz" 20 + # old versions are at the url below 21 + "https://pari.math.u-bordeaux.fr/pub/pari/OLD/${lib.versions.majorMinor version}/${pname}-${version}.tar.gz" 22 + ]; 23 + sha256 = "sha256-gez31wzNquIwFlz/Ynyc4uwpe48i+fQHQiedhfht/LE="; 21 24 }; 25 + 26 + patches = [ 27 + # rebased version of 3edb98db78, see 28 + # https://pari.math.u-bordeaux.fr/cgi-bin/bugreport.cgi?bug=2284 29 + ./rnfdisc.patch 30 + ]; 22 31 23 32 buildInputs = [ 24 33 gmp
+51
pkgs/applications/science/math/pari/rnfdisc.patch
··· 1 + commit 0d8a3ac970291c62b56104172418b3f2ca30927c 2 + Author: Bill Allombert <Bill.Allombert@math.u-bordeaux.fr> 3 + Date: Sun Mar 28 13:27:24 2021 +0200 4 + 5 + rnfdisc_factored: remove spurious Q_primpart [#2284] 6 + 7 + diff --git a/src/basemath/base2.c b/src/basemath/base2.c 8 + index 7e7d0db9d..c461826f4 100644 9 + --- a/src/basemath/base2.c 10 + +++ b/src/basemath/base2.c 11 + @@ -3582,7 +3582,7 @@ rnfdisc_factored(GEN nf, GEN pol, GEN *pd) 12 + 13 + nf = checknf(nf); 14 + pol = rnfdisc_get_T(nf, pol, &lim); 15 + - disc = nf_to_scalar_or_basis(nf, nfX_disc(nf, Q_primpart(pol))); 16 + + disc = nf_to_scalar_or_basis(nf, nfX_disc(nf, pol)); 17 + pol = nfX_to_monic(nf, pol, NULL); 18 + fa = idealfactor_partial(nf, disc, lim); 19 + P = gel(fa,1); l = lg(P); 20 + diff --git a/src/test/32/rnf b/src/test/32/rnf 21 + index 1e743f415..c016dce00 100644 22 + --- a/src/test/32/rnf 23 + +++ b/src/test/32/rnf 24 + @@ -853,9 +853,10 @@ error("inconsistent dimensions in idealtwoelt.") 25 + 0 26 + 0 27 + 1 28 + -[[7361, 3786, 318, 5823; 0, 1, 0, 0; 0, 0, 1, 0; 0, 0, 0, 1], [-3, 6, -2, 0] 29 + -~] 30 + -[2, -1] 31 + +[[433, 322, 318, 1318/17; 0, 1, 0, 12/17; 0, 0, 1, 5/17; 0, 0, 0, 1/17], [25 32 + +/17, -12/17, 12/17, 16/17]~] 33 + +[1, -1] 34 + +[[12, 0, 0, 0; 0, 12, 4, 0; 0, 0, 4, 0; 0, 0, 0, 4], [6, 5, -1, 2]~] 35 + *** at top-level: rnfdedekind(nf,P,pr2,1) 36 + *** ^----------------------- 37 + *** rnfdedekind: sorry, Dedekind in the difficult case is not yet implemented. 38 + diff --git a/src/test/in/rnf b/src/test/in/rnf 39 + index 7851ae291..318d5349e 100644 40 + --- a/src/test/in/rnf 41 + +++ b/src/test/in/rnf 42 + @@ -212,6 +212,9 @@ k = nfinit(y^4 + 10*y^2 + 17); 43 + rnfdisc(k, x^2 - x + 1/Mod(y,k.pol)) 44 + rnfdisc(k, x^2 - x + 1/2) 45 + 46 + +k = nfinit(y^4 - 10*y^2 + 1); 47 + +rnfdisc(k,x^2-(y^3/2+y^2-5*y/2+1)) 48 + + 49 + \\ ERRORS, keep at end of file 50 + rnfdedekind(nf, P, pr2, 1) 51 + rnfdedekind(nf, P)
+12
pkgs/applications/science/math/sage/sage-src.nix
··· 78 78 79 79 # ignore a deprecation warning for usage of `cmp` in the attrs library in the doctests 80 80 ./patches/ignore-cmp-deprecation.patch 81 + 82 + # https://trac.sagemath.org/ticket/30801. this patch has 83 + # positive_review but has not been merged upstream yet, so we 84 + # don't use fetchSageDiff because it returns a file that contains 85 + # each commit as a separate patch instead of a single diff, and 86 + # some commits from the pari update branch are already in 9.3.rc5 87 + # (auto-resolvable merge conflicts). 88 + (fetchpatch { 89 + name = "pari-2.13.1.patch"; 90 + url = "https://github.com/sagemath/sagetrac-mirror/compare/d6c5cd9be78cc448ee4c54bac93385b1244a234c...10a4531721d2700fd717e2b3a1364508ffd971c3.diff"; 91 + sha256 = "sha256-zMjRMEReoiTvmt+vvV0Ij1jtyLSLwSXBEVXqgvmq1D4="; 92 + }) 81 93 ]; 82 94 83 95 patches = nixPatches ++ bugfixPatches ++ packageUpgradePatches;
+2 -2
pkgs/applications/version-management/git-and-tools/gh/default.nix
··· 2 2 3 3 buildGoModule rec { 4 4 pname = "gh"; 5 - version = "1.10.0"; 5 + version = "1.10.1"; 6 6 7 7 src = fetchFromGitHub { 8 8 owner = "cli"; 9 9 repo = "cli"; 10 10 rev = "v${version}"; 11 - sha256 = "sha256-nQc10uTb7yQoH9rlMQiexttdAnnPRGaHCrzZNqkZcIc="; 11 + sha256 = "sha256-ESwgG1sMkR44KpO7k5HNR3gPBgOqIADpS6fSOqqNn2Q="; 12 12 }; 13 13 14 14 vendorSha256 = "sha256-A7Bo0HQ5Z2SXY32jWCYgwvvInD3xYLSXvipzeaQTDiM=";
+12 -5
pkgs/applications/virtualization/podman-compose/default.nix
··· 1 - { lib, buildPythonApplication, fetchPypi, pyyaml }: 1 + { lib, buildPythonApplication, fetchFromGitHub, pyyaml }: 2 2 3 3 buildPythonApplication rec { 4 - version = "0.1.5"; 4 + version = "0.2.0pre-2021-05-18"; 5 5 pname = "podman-compose"; 6 6 7 - src = fetchPypi { 8 - inherit pname version; 9 - sha256 = "1sgbc889zq127qhxa9frhswa1mid19fs5qnyzfihx648y5i968pv"; 7 + # "This project is still under development." -- README.md 8 + # 9 + # As of May 2021, the latest release (0.1.5) has fewer than half of all 10 + # commits. This project seems to have no release management, so the last 11 + # commit is the best one until proven otherwise. 12 + src = fetchFromGitHub { 13 + repo = "podman-compose"; 14 + owner = "containers"; 15 + rev = "62d2024feecf312e9591cc145f49cee9c70ab4fe"; 16 + sha256 = "17992imkvi6129wvajsp0iz5iicfmh53i20qy2mzz17kcz30r2pp"; 10 17 }; 11 18 12 19 propagatedBuildInputs = [ pyyaml ];
+2 -2
pkgs/applications/virtualization/runc/default.nix
··· 16 16 17 17 buildGoPackage rec { 18 18 pname = "runc"; 19 - version = "1.0.0-rc94"; 19 + version = "1.0.0-rc95"; 20 20 21 21 src = fetchFromGitHub { 22 22 owner = "opencontainers"; 23 23 repo = "runc"; 24 24 rev = "v${version}"; 25 - sha256 = "sha256-53P48jNSfC6ELpZNI30yAf7kofUsrJpNY96u0UT+ITg="; 25 + sha256 = "sha256-q4sXcvJO9gyo7m0vlaMrwh7ZZHYa58FJy3GatWndS6M="; 26 26 }; 27 27 28 28 goPackagePath = "github.com/opencontainers/runc";
+35
pkgs/build-support/replace-secret/replace-secret.nix
··· 1 + { stdenv, lib, python3 }: 2 + 3 + stdenv.mkDerivation { 4 + name = "replace-secret"; 5 + buildInputs = [ python3 ]; 6 + phases = [ "installPhase" "checkPhase" ]; 7 + installPhase = '' 8 + install -D ${./replace-secret.py} $out/bin/replace-secret 9 + patchShebangs $out 10 + ''; 11 + doCheck = true; 12 + checkPhase = '' 13 + install -m 0600 ${./test/input_file} long_test 14 + $out/bin/replace-secret "replace this" ${./test/passwd} long_test 15 + $out/bin/replace-secret "and this" ${./test/rsa} long_test 16 + diff ${./test/expected_long_output} long_test 17 + 18 + install -m 0600 ${./test/input_file} short_test 19 + $out/bin/replace-secret "replace this" <(echo "a") short_test 20 + $out/bin/replace-secret "and this" <(echo "b") short_test 21 + diff ${./test/expected_short_output} short_test 22 + ''; 23 + meta = with lib; { 24 + platforms = platforms.all; 25 + maintainers = with maintainers; [ talyz ]; 26 + license = licenses.mit; 27 + description = "Replace a string in one file with a secret from a second file"; 28 + longDescription = '' 29 + Replace a string in one file with a secret from a second file. 30 + 31 + Since the secret is read from a file, it won't be leaked through 32 + '/proc/<pid>/cmdline', unlike when 'sed' or 'replace' is used. 33 + ''; 34 + }; 35 + }
+28
pkgs/build-support/replace-secret/replace-secret.py
··· 1 + #!/usr/bin/env python 2 + 3 + import argparse 4 + from argparse import RawDescriptionHelpFormatter 5 + 6 + description = """ 7 + Replace a string in one file with a secret from a second file. 8 + 9 + Since the secret is read from a file, it won't be leaked through 10 + '/proc/<pid>/cmdline', unlike when 'sed' or 'replace' is used. 11 + """ 12 + 13 + parser = argparse.ArgumentParser( 14 + description=description, 15 + formatter_class=RawDescriptionHelpFormatter 16 + ) 17 + parser.add_argument("string_to_replace", help="the string to replace") 18 + parser.add_argument("secret_file", help="the file containing the secret") 19 + parser.add_argument("file", help="the file to perform the replacement on") 20 + args = parser.parse_args() 21 + 22 + with open(args.secret_file) as sf, open(args.file, 'r+') as f: 23 + old = f.read() 24 + secret = sf.read().strip("\n") 25 + new_content = old.replace(args.string_to_replace, secret) 26 + f.seek(0) 27 + f.write(new_content) 28 + f.truncate()
+30
pkgs/build-support/replace-secret/test/expected_long_output
··· 1 + beginning 2 + middle $6$UcbJUl5g$HRMfKNKsLTfVbcQb.P5o0bmZUfHDYkWseMSuZ8F5jSIGZZcI3Jnit23f8ZeZOGi4KL86HVM9RYqrpYySOu/fl0 not this 3 + -----BEGIN RSA PRIVATE KEY----- 4 + MIIEowIBAAKCAQEAzrru6v5tfwQl6L+rOUjtLo8kbhMUlCLXP7TYngSGrkzPMWe+ 5 + 0gB04UAmiPZXfBmvj5fPqYiFjIaEDHE/SD41vJB/RJKKtId2gCAIHhBLkbr+4+60 6 + yEbLkJci5i4kJC1dt8OKFEzXkaVnwOSgjH+0NwO3bstZ+E70zMXS9+NS71qGsIEb 7 + 5J1TnacwW/u6CdFyakLljWOXOR14rLIpiPBBFLf+oZiepjIhlWXWHqsxZOb7zMI0 8 + T4W5WJ2dwGFsJ8rkYaGZ+A5qzYbi/KmHqaSPaNDsyoi7yJhAhKPByALJU916+8QO 9 + xOnqZxWGki3PDzCslRwW4i3mGbZlBQMnlfbN3QIDAQABAoIBAHDn1W7QkFrLmCy6 10 + 6bf6pVdFZF8d2qJhOPAZRClhTXFKj+pqv+QPzcXr9F/fMr6bhK/G+Oqdnlq2aM4m 11 + 16oMF+spe+impEyeo1CsreJFghBQcb9o8qFjUPBiKvROBP0hLcscZ4BYy29HSBgo 12 + harWYEWfqQJA251q+fYQoP0z0WrZKddOZbRRnJ0ICRxAE7IEtDT6EYt8R9oGi2j4 13 + /rpdW+rYGjW3TcmzdR7lpVMJRLlbMbSdR8n6cI6rnfySygcoE5tFX5t/YZSNbBPg 14 + GebKCbEHYNTTG8bC1qjUyzlbEQ6XYWvFO7HTKU7105XpjYTQFByeo0IVkin0o5KW 15 + t7eQWb0CgYEA6zZUWsYoQ13nXEU6Ky89Q9uhesMfaJ/F2X5ikQSRqRvrR3QR+ULe 16 + eNnCl10O9SiFpR4b5gSbLSHMffxGN60P1nEO4CiIKE+gOii8Kdk5htIJFy/dcZUc 17 + PuPM+zD9/6Is5sAWUZo45bnT6685h6EjM2+6zNZtx/XMjSfWbHaY+HMCgYEA4QAy 18 + 6ZEgd6FHnNfM/q2o8XU3d6OCdhcu26u6ydnCalbSpPSKWOi6gnHK4ZnGdryXgIYw 19 + hRkvYINfiONkShYytotIh4YxUbgpwdvJRyKa2ZdWhcMmtFzZOcEVzQTKBasFT74C 20 + Wo0iybZ++XZh3M0+n7oyyx39aR7diZ+/zq6PnG8CgYB8B1QH4cHNdDDRqPd5WhmW 21 + NLQ7xbREOSvc+hYDnkMoxz4TmZL4u1gQpdNEeZ+visSeQvg3HGqvK8lnDaYBKdLW 22 + IxvS+8yAZSx6PoyqDI+XFh4RCf5dLGGOkBTAyB7Hs761lsiuEwK5sHmdJ/LQIBot 23 + v1bjOJb/AA/yxvT8kLUtHQKBgGIA9iwqXJv/EfRNQytDdS0HQ4vHGtJZMr3YRVoa 24 + kcZD3yieo4wqguLCsf4mPv4FE3CWAphW6f39+yTi9xIWLSy56nOtjdnsf7PDCh8E 25 + AbL5amSFJly1fKDda6OLjHt/jKa5Osk6ZIa8CP6cA/BrLfXg4rL6cyDQouqJPMDH 26 + 5CHdAoGBAIChjbTyoYvANkoANCK4SuqLUYeiYREfiM3sqHe1xirK1PPHw03ZLITl 27 + ltjo9qE6kPXWcTBVckTKGFlntyCT283FC0/vMmHo8dTdtxF4/wSbkqs3ORuJ3p5J 28 + cNtLYGD3vgwLmg6tTur4U60XN+tYDzWGteez8J9GwTMfKJmuS9af 29 + -----END RSA PRIVATE KEY----- 30 + end
+4
pkgs/build-support/replace-secret/test/expected_short_output
··· 1 + beginning 2 + middle a not this 3 + b 4 + end
+4
pkgs/build-support/replace-secret/test/input_file
··· 1 + beginning 2 + middle replace this not this 3 + and this 4 + end
+1
pkgs/build-support/replace-secret/test/passwd
··· 1 + $6$UcbJUl5g$HRMfKNKsLTfVbcQb.P5o0bmZUfHDYkWseMSuZ8F5jSIGZZcI3Jnit23f8ZeZOGi4KL86HVM9RYqrpYySOu/fl0
+27
pkgs/build-support/replace-secret/test/rsa
··· 1 + -----BEGIN RSA PRIVATE KEY----- 2 + MIIEowIBAAKCAQEAzrru6v5tfwQl6L+rOUjtLo8kbhMUlCLXP7TYngSGrkzPMWe+ 3 + 0gB04UAmiPZXfBmvj5fPqYiFjIaEDHE/SD41vJB/RJKKtId2gCAIHhBLkbr+4+60 4 + yEbLkJci5i4kJC1dt8OKFEzXkaVnwOSgjH+0NwO3bstZ+E70zMXS9+NS71qGsIEb 5 + 5J1TnacwW/u6CdFyakLljWOXOR14rLIpiPBBFLf+oZiepjIhlWXWHqsxZOb7zMI0 6 + T4W5WJ2dwGFsJ8rkYaGZ+A5qzYbi/KmHqaSPaNDsyoi7yJhAhKPByALJU916+8QO 7 + xOnqZxWGki3PDzCslRwW4i3mGbZlBQMnlfbN3QIDAQABAoIBAHDn1W7QkFrLmCy6 8 + 6bf6pVdFZF8d2qJhOPAZRClhTXFKj+pqv+QPzcXr9F/fMr6bhK/G+Oqdnlq2aM4m 9 + 16oMF+spe+impEyeo1CsreJFghBQcb9o8qFjUPBiKvROBP0hLcscZ4BYy29HSBgo 10 + harWYEWfqQJA251q+fYQoP0z0WrZKddOZbRRnJ0ICRxAE7IEtDT6EYt8R9oGi2j4 11 + /rpdW+rYGjW3TcmzdR7lpVMJRLlbMbSdR8n6cI6rnfySygcoE5tFX5t/YZSNbBPg 12 + GebKCbEHYNTTG8bC1qjUyzlbEQ6XYWvFO7HTKU7105XpjYTQFByeo0IVkin0o5KW 13 + t7eQWb0CgYEA6zZUWsYoQ13nXEU6Ky89Q9uhesMfaJ/F2X5ikQSRqRvrR3QR+ULe 14 + eNnCl10O9SiFpR4b5gSbLSHMffxGN60P1nEO4CiIKE+gOii8Kdk5htIJFy/dcZUc 15 + PuPM+zD9/6Is5sAWUZo45bnT6685h6EjM2+6zNZtx/XMjSfWbHaY+HMCgYEA4QAy 16 + 6ZEgd6FHnNfM/q2o8XU3d6OCdhcu26u6ydnCalbSpPSKWOi6gnHK4ZnGdryXgIYw 17 + hRkvYINfiONkShYytotIh4YxUbgpwdvJRyKa2ZdWhcMmtFzZOcEVzQTKBasFT74C 18 + Wo0iybZ++XZh3M0+n7oyyx39aR7diZ+/zq6PnG8CgYB8B1QH4cHNdDDRqPd5WhmW 19 + NLQ7xbREOSvc+hYDnkMoxz4TmZL4u1gQpdNEeZ+visSeQvg3HGqvK8lnDaYBKdLW 20 + IxvS+8yAZSx6PoyqDI+XFh4RCf5dLGGOkBTAyB7Hs761lsiuEwK5sHmdJ/LQIBot 21 + v1bjOJb/AA/yxvT8kLUtHQKBgGIA9iwqXJv/EfRNQytDdS0HQ4vHGtJZMr3YRVoa 22 + kcZD3yieo4wqguLCsf4mPv4FE3CWAphW6f39+yTi9xIWLSy56nOtjdnsf7PDCh8E 23 + AbL5amSFJly1fKDda6OLjHt/jKa5Osk6ZIa8CP6cA/BrLfXg4rL6cyDQouqJPMDH 24 + 5CHdAoGBAIChjbTyoYvANkoANCK4SuqLUYeiYREfiM3sqHe1xirK1PPHw03ZLITl 25 + ltjo9qE6kPXWcTBVckTKGFlntyCT283FC0/vMmHo8dTdtxF4/wSbkqs3ORuJ3p5J 26 + cNtLYGD3vgwLmg6tTur4U60XN+tYDzWGteez8J9GwTMfKJmuS9af 27 + -----END RSA PRIVATE KEY-----
+36 -3
pkgs/build-support/trivial-builders/test.nix
··· 1 - { lib, nixosTest, path, writeText, hello, figlet, stdenvNoCC }: 1 + { lib, nixosTest, pkgs, writeText, hello, figlet, stdenvNoCC }: 2 2 3 + # -------------------------------------------------------------------------- # 4 + # 5 + # trivial-builders test 6 + # 7 + # -------------------------------------------------------------------------- # 8 + # 9 + # This file can be run independently (quick): 10 + # 11 + # $ pkgs/build-support/trivial-builders/test.sh 12 + # 13 + # or in the build sandbox with a ~20s VM overhead 14 + # 15 + # $ nix-build -A tests.trivial-builders 16 + # 17 + # -------------------------------------------------------------------------- # 18 + 19 + let 20 + invokeSamples = file: 21 + lib.concatStringsSep " " ( 22 + lib.attrValues (import file { inherit pkgs; }) 23 + ); 24 + in 3 25 nixosTest { 4 26 name = "nixpkgs-trivial-builders"; 5 27 nodes.machine = { ... }: { ··· 10 32 environment.etc."pre-built-paths".source = writeText "pre-built-paths" ( 11 33 builtins.toJSON [hello figlet stdenvNoCC] 12 34 ); 35 + environment.variables = { 36 + SAMPLE = invokeSamples ./test/sample.nix; 37 + REFERENCES = invokeSamples ./test/invoke-writeReferencesToFile.nix; 38 + DIRECT_REFS = invokeSamples ./test/invoke-writeDirectReferencesToFile.nix; 39 + }; 13 40 }; 14 41 testScript = '' 15 42 machine.succeed(""" 16 - cd ${lib.cleanSource path} 17 - ./pkgs/build-support/trivial-builders/test.sh 2>/dev/console 43 + ${./test.sh} 2>/dev/console 18 44 """) 19 45 ''; 46 + meta = { 47 + license = lib.licenses.mit; # nixpkgs license 48 + maintainers = with lib.maintainers; [ 49 + roberth 50 + ]; 51 + description = "Run the Nixpkgs trivial builders tests"; 52 + }; 20 53 }
+24 -25
pkgs/build-support/trivial-builders/test.sh
··· 25 25 26 26 cd "$(dirname ${BASH_SOURCE[0]})" # nixpkgs root 27 27 28 - testDirectReferences() { 29 - expr="$1" 28 + if [[ -z ${SAMPLE:-} ]]; then 29 + sample=( `nix-build test/sample.nix` ) 30 + directRefs=( `nix-build test/invoke-writeDirectReferencesToFile.nix` ) 31 + references=( `nix-build test/invoke-writeReferencesToFile.nix` ) 32 + else 33 + # Injected by Nix (to avoid evaluating in a derivation) 34 + # turn them into arrays 35 + sample=($SAMPLE) 36 + directRefs=($DIRECT_REFS) 37 + references=($REFERENCES) 38 + fi 39 + 40 + echo >&2 Testing direct references... 41 + for i in "${!sample[@]}"; do 42 + echo >&2 Checking '#'$i ${sample[$i]} ${directRefs[$i]} 30 43 diff -U3 \ 31 - <(sort <$(nix-build --no-out-link --expr "with import ../../.. {}; writeDirectReferencesToFile ($expr)")) \ 32 - <(nix-store -q --references $(nix-build --no-out-link --expr "with import ../../.. {}; ($expr)") | sort) 33 - } 44 + <(sort <${directRefs[$i]}) \ 45 + <(nix-store -q --references ${sample[$i]} | sort) 46 + done 34 47 35 - testDirectReferences 'hello' 36 - testDirectReferences 'figlet' 37 - testDirectReferences 'writeText "hi" "hello"' 38 - testDirectReferences 'writeText "hi" "hello ${hello}"' 39 - testDirectReferences 'writeText "hi" "hello ${hello} ${figlet}"' 40 - 41 - 42 - 43 - testClosure() { 44 - expr="$1" 48 + echo >&2 Testing closure... 49 + for i in "${!sample[@]}"; do 50 + echo >&2 Checking '#'$i ${sample[$i]} ${references[$i]} 45 51 diff -U3 \ 46 - <(sort <$(nix-build --no-out-link --expr "with import ../../.. {}; writeReferencesToFile ($expr)")) \ 47 - <(nix-store -q --requisites $(nix-build --no-out-link --expr "with import ../../.. {}; ($expr)") | sort) 48 - } 49 - 50 - testClosure 'hello' 51 - testClosure 'figlet' 52 - testClosure 'writeText "hi" "hello"' 53 - testClosure 'writeText "hi" "hello ${hello}"' 54 - testClosure 'writeText "hi" "hello ${hello} ${figlet}"' 55 - 52 + <(sort <${references[$i]}) \ 53 + <(nix-store -q --requisites ${sample[$i]} | sort) 54 + done 56 55 57 56 echo 'OK!'
+4
pkgs/build-support/trivial-builders/test/invoke-writeDirectReferencesToFile.nix
··· 1 + { pkgs ? import ../../../.. { config = {}; overlays = []; } }: 2 + pkgs.lib.mapAttrs 3 + (k: v: pkgs.writeDirectReferencesToFile v) 4 + (import ./sample.nix { inherit pkgs; })
+4
pkgs/build-support/trivial-builders/test/invoke-writeReferencesToFile.nix
··· 1 + { pkgs ? import ../../../.. { config = {}; overlays = []; } }: 2 + pkgs.lib.mapAttrs 3 + (k: v: pkgs.writeReferencesToFile v) 4 + (import ./sample.nix { inherit pkgs; })
+15
pkgs/build-support/trivial-builders/test/sample.nix
··· 1 + { pkgs ? import ../../../.. { config = {}; overlays = []; } }: 2 + let 3 + inherit (pkgs) 4 + figlet 5 + hello 6 + writeText 7 + ; 8 + in 9 + { 10 + hello = hello; 11 + figlet = figlet; 12 + norefs = writeText "hi" "hello"; 13 + helloRef = writeText "hi" "hello ${hello}"; 14 + helloFigletRef = writeText "hi" "hello ${hello} ${figlet}"; 15 + }
+4 -4
pkgs/data/misc/hackage/pin.json
··· 1 1 { 2 - "commit": "b963dde27c24394c4be0031039dae4cb6a363aed", 3 - "url": "https://github.com/commercialhaskell/all-cabal-hashes/archive/b963dde27c24394c4be0031039dae4cb6a363aed.tar.gz", 4 - "sha256": "1yr9j4ldpi2p2zgdq4mky6y5yh7nilasdmskapbdxp9fxwba2r0x", 5 - "msg": "Update from Hackage at 2021-05-10T22:01:59Z" 2 + "commit": "2295bd36e0d36af6e862dfdb7b0694fba2e7cb58", 3 + "url": "https://github.com/commercialhaskell/all-cabal-hashes/archive/2295bd36e0d36af6e862dfdb7b0694fba2e7cb58.tar.gz", 4 + "sha256": "1bzqy6kbw0i1ryg3ia5spg6m62zkc46xhhn0h76pfq7mfmm3fqf8", 5 + "msg": "Update from Hackage at 2021-05-12T11:46:04Z" 6 6 }
+18 -5
pkgs/data/themes/adwaita-qt/default.nix
··· 1 - { mkDerivation, lib, fetchFromGitHub, nix-update-script, cmake, ninja, qtbase, pantheon }: 1 + { mkDerivation 2 + , stdenv 3 + , lib 4 + , fetchFromGitHub 5 + , nix-update-script 6 + , cmake 7 + , ninja 8 + , qtbase 9 + , qt5 10 + , xorg 11 + }: 2 12 3 13 mkDerivation rec { 4 14 pname = "adwaita-qt"; 5 - version = "1.1.4"; 15 + version = "1.3.0"; 6 16 7 17 src = fetchFromGitHub { 8 18 owner = "FedoraQt"; 9 19 repo = pname; 10 20 rev = version; 11 - sha256 = "19s97wm96g3828dp8m85j3lsn1n6h5h2zqk4652hcqcgq6xb6gv5"; 21 + sha256 = "1fkivdiz4al84nhgg1srj33l109j9si63biw3asy339cyyzj28c9"; 12 22 }; 13 23 14 24 nativeBuildInputs = [ ··· 18 28 19 29 buildInputs = [ 20 30 qtbase 31 + qt5.qtx11extras 32 + ] ++ lib.optionals stdenv.isLinux [ 33 + xorg.libxcb 21 34 ]; 22 35 23 36 postPatch = '' 24 37 # Fix plugin dir 25 - substituteInPlace style/CMakeLists.txt \ 38 + substituteInPlace src/style/CMakeLists.txt \ 26 39 --replace "DESTINATION \"\''${QT_PLUGINS_DIR}/styles" "DESTINATION \"$qtPluginPrefix/styles" 27 40 ''; 28 41 ··· 37 50 homepage = "https://github.com/FedoraQt/adwaita-qt"; 38 51 license = licenses.gpl2Plus; 39 52 maintainers = teams.gnome.members ++ (with maintainers; [ ]); 40 - platforms = platforms.linux; 53 + platforms = platforms.all; 41 54 }; 42 55 }
+3 -5
pkgs/desktops/gnome/extensions/fuzzy-app-search/default.nix
··· 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "gnome-shell-extension-fuzzy-app-search"; 5 - version = "4"; 5 + version = "4.0.1"; 6 6 7 7 src = fetchFromGitLab { 8 8 owner = "Czarlie"; 9 9 repo = "gnome-fuzzy-app-search"; 10 - rev = "da9c15d39958d9c3b38df3b616fd40b85aed24e5"; 11 - sha256 = "1r3qha530s97x818znn1wi76f4x9bhlgi7jlxfwjnrwys62cv5fn"; 10 + rev = "v${version}"; 11 + sha256 = "127n3jc5d6cl0yrpjf8acdj76br97knks1wx4f6jcswkx9x47w0a"; 12 12 }; 13 13 14 14 uuid = "gnome-fuzzy-app-search@gnome-shell-extensions.Czarlie.gitlab.com"; 15 15 16 16 nativeBuildInputs = [ glib ]; 17 - 18 - patches = [ ./fix-desktop-file-paths.patch ]; 19 17 20 18 makeFlags = [ "INSTALL_PATH=$(out)/share/gnome-shell/extensions" ]; 21 19
-50
pkgs/desktops/gnome/extensions/fuzzy-app-search/fix-desktop-file-paths.patch
··· 1 - diff --git a/applicationsUtils.js b/applicationsUtils.js 2 - index 728223b..aa9f291 100644 3 - --- a/applicationsUtils.js 4 - +++ b/applicationsUtils.js 5 - @@ -44,27 +44,24 @@ var Search = new Lang.Class({ 6 - * @return {Void} 7 - */ 8 - _init: function () { 9 - - let dir = [ 10 - - "/usr/share/applications", 11 - - GLib.get_home_dir() + "/.local/share/applications", 12 - - ]; 13 - - 14 - - // listen object - file/monitor list 15 - - this._listen = dir.map((path) => { 16 - - let file = Gio.File.new_for_path(path); 17 - - let monitor = file.monitor(Gio.FileMonitorFlags.NONE, null); 18 - - 19 - - // refresh on each directory change 20 - - monitor.connect( 21 - - "changed", 22 - - Lang.bind(this, this._handleMonitorChanged) 23 - - ); 24 - - 25 - - return { 26 - - file: file, 27 - - monitor: monitor, 28 - - }; 29 - - }); 30 - + this._listen = [...new Set(GLib.get_system_data_dirs())] 31 - + .filter((path) => path.endsWith("/share")) 32 - + .map((path) => Gio.File.new_for_path(path + "/applications")) 33 - + .filter((file) => file.query_exists(null)) 34 - + .map((file) => { 35 - + let monitor = file.monitor(Gio.FileMonitorFlags.NONE, null); 36 - + 37 - + // refresh on each directory change 38 - + monitor.connect( 39 - + "changed", 40 - + Lang.bind(this, this._handleMonitorChanged) 41 - + ); 42 - + 43 - + return { 44 - + file: file, 45 - + monitor: monitor, 46 - + }; 47 - + }); 48 - this._interval = null; 49 - this._data = {}; 50 -
+3
pkgs/development/arduino/platformio/core.nix
··· 135 135 postPatch = '' 136 136 substitute platformio/package/manifest/schema.py platformio/package/manifest/schema.py \ 137 137 --subst-var-by SPDX_LICENSE_LIST_DATA '${spdx-license-list-data}' 138 + 139 + substituteInPlace setup.py \ 140 + --replace "zeroconf==0.28.*" "zeroconf" 138 141 ''; 139 142 140 143 meta = with lib; {
+5 -1
pkgs/development/compilers/ghc/head.nix
··· 10 10 , # GHC can be built with system libffi or a bundled one. 11 11 libffi ? null 12 12 13 - , enableDwarf ? !stdenv.targetPlatform.isDarwin && 13 + # Libdw.c only supports x86_64, i686 and s390x 14 + , enableDwarf ? stdenv.targetPlatform.isx86 && 15 + !stdenv.targetPlatform.isDarwin && 14 16 !stdenv.targetPlatform.isWindows 15 17 , elfutils # for DWARF support 16 18 ··· 259 261 description = "The Glasgow Haskell Compiler"; 260 262 maintainers = with lib.maintainers; [ marcweber andres peti ]; 261 263 inherit (ghc.meta) license platforms; 264 + # ghcHEAD times out on aarch64-linux on Hydra. 265 + hydraPlatforms = builtins.filter (p: p != "aarch64-linux") ghc.meta.platforms; 262 266 }; 263 267 264 268 dontStrip = (targetPlatform.useAndroidPrebuilt || targetPlatform.isWasm);
+24
pkgs/development/haskell-modules/configuration-arm.nix
··· 62 62 hsemail-ns = dontCheck super.hsemail-ns; 63 63 openapi3 = dontCheck super.openapi3; 64 64 strict-writer = dontCheck super.strict-writer; 65 + xml-html-qq = dontCheck super.xml-html-qq; 66 + static = dontCheck super.static; 67 + hhp = dontCheck super.hhp; 68 + groupBy = dontCheck super.groupBy; 69 + greskell = dontCheck super.greskell; 70 + html-validator-cli = dontCheck super.html-validator-cli; 71 + hw-fingertree-strict = dontCheck super.hw-fingertree-strict; 72 + hw-prim = dontCheck super.hw-prim; 73 + hw-packed-vector = dontCheck super.hw-packed-vector; 74 + hw-xml = dontCheck super.hw-xml; 75 + lens-regex = dontCheck super.lens-regex; 76 + meep = dontCheck super.meep; 77 + ranged-list = dontCheck super.ranged-list; 78 + rank2classes = dontCheck super.rank2classes; 79 + schedule = dontCheck super.schedule; 80 + twiml = dontCheck super.twiml; 81 + twitter-conduit = dontCheck super.twitter-conduit; 82 + validationt = dontCheck super.validationt; 83 + vgrep = dontCheck super.vgrep; 84 + vulkan-utils = dontCheck super.vulkan-utils; 85 + yaml-combinators = dontCheck super.yaml-combinators; 86 + yesod-paginator = dontCheck super.yesod-paginator; 87 + grammatical-parsers = dontCheck super.grammatical-parsers; 88 + construct = dontCheck super.construct; 65 89 66 90 # https://github.com/ekmett/half/issues/35 67 91 half = dontCheck super.half;
+52 -9
pkgs/development/haskell-modules/configuration-common.nix
··· 170 170 # base bound 171 171 digit = doJailbreak super.digit; 172 172 173 - # 2020-06-05: HACK: does not pass own build suite - `dontCheck` 174 173 hnix = generateOptparseApplicativeCompletion "hnix" 175 174 (overrideCabal super.hnix (drv: { 175 + # 2020-06-05: HACK: does not pass own build suite - `dontCheck` 176 176 doCheck = false; 177 - prePatch = '' 178 - # fix encoding problems when patching 179 - ${pkgs.dos2unix}/bin/dos2unix hnix.cabal 180 - '' + (drv.prePatch or ""); 177 + # 2021-05-12: Revert a few dependency cleanups which depend on release 178 + # that are not in stackage yet: 179 + # * Depend on semialign-indexed for Data.Semialign.Indexed 180 + # (remove when semialign >= 1.2 in stackage) 181 + # * Readd dependencies to text and unordered-containers. 182 + # (remove when relude >= 1.0.0.0 is in stackage, see 183 + # https://github.com/haskell-nix/hnix/issues/933) 184 + libraryHaskellDepends = [ 185 + self.semialign-indexed 186 + ] ++ drv.libraryHaskellDepends; 181 187 patches = [ 182 - # support ref-tf in hnix 0.12.0.1, can be removed after 183 - # https://github.com/haskell-nix/hnix/pull/918 184 - ./patches/hnix-ref-tf-0.5-support.patch 188 + # depend on semialign-indexed again 189 + (pkgs.fetchpatch { 190 + url = "https://github.com/haskell-nix/hnix/commit/16fc342a4f2974f855968472252cd9274609f177.patch"; 191 + sha256 = "0gm4gy3jpn4dqnrhnqlsavfpw9c1j1xa8002v54knnlw6vpk9niy"; 192 + revert = true; 193 + }) 194 + # depend on text again 195 + (pkgs.fetchpatch { 196 + url = "https://github.com/haskell-nix/hnix/commit/73057618576e86bb87dfd42f62b855d24bbdf469.patch"; 197 + sha256 = "03cyk96d5ad362i1pnz9bs8ifr84kpv8phnr628gys4j6a0bqwzc"; 198 + revert = true; 199 + }) 200 + # depend on unordered-containers again 201 + (pkgs.fetchpatch { 202 + url = "https://github.com/haskell-nix/hnix/commit/70643481883ed448b51221a030a76026fb5eb731.patch"; 203 + sha256 = "0pqmijfkysjixg3gb4kmrqdif7s2saz8qi6k337jf15i0npzln8d"; 204 + revert = true; 205 + }) 185 206 ] ++ (drv.patches or []); 186 207 })); 187 208 ··· 922 943 # https://github.com/commercialhaskell/stackage/issues/5795 923 944 # This issue can be mitigated with 'dontCheck' which skips the tests and their compilation. 924 945 dhall-json = generateOptparseApplicativeCompletions ["dhall-to-json" "dhall-to-yaml"] (dontCheck super.dhall-json); 925 - dhall-nix = generateOptparseApplicativeCompletion "dhall-to-nix" super.dhall-nix; 946 + # dhall-nix, dhall-nixpkgs: pull updated cabal files with updated bounds. 947 + # Remove at next hackage update. 948 + dhall-nix = generateOptparseApplicativeCompletion "dhall-to-nix" (overrideCabal super.dhall-nix { 949 + revision = "2"; 950 + editedCabalFile = "1w90jrkzmbv5nasafkkv0kyfmnqkngldx2lr891113h2mqbbr3wx"; 951 + }); 952 + dhall-nixpkgs = overrideCabal super.dhall-nixpkgs { 953 + revision = "1"; 954 + editedCabalFile = "1y08jxg51sbxx0i7ra45ii2v81plzf4hssmwlrw35l8n5gib1vcg"; 955 + }; 926 956 dhall-yaml = generateOptparseApplicativeCompletions ["dhall-to-yaml-ng" "yaml-to-dhall"] super.dhall-yaml; 927 957 928 958 # https://github.com/haskell-hvr/netrc/pull/2#issuecomment-469526558 ··· 1378 1408 # 2021-04-09: test failure 1379 1409 # PR pending https://github.com/expipiplus1/update-nix-fetchgit/pull/60 1380 1410 doCheck = false; 1411 + 1412 + patches = [ 1413 + # 2021-05-17 compile with hnix >= 0.13 1414 + # https://github.com/expipiplus1/update-nix-fetchgit/pull/64 1415 + (pkgs.fetchpatch { 1416 + url = "https://github.com/expipiplus1/update-nix-fetchgit/commit/bc28c8b26c38093aa950574802012c0cd8447ce8.patch"; 1417 + sha256 = "1dwd1jdsrx3ss6ql1bk2ch7ln74mkq6jy9ms8vi8kmf3gbg8l9fg"; 1418 + }) 1419 + ] ++ (drv.patches or []); 1381 1420 })); 1382 1421 1383 1422 # Our quickcheck-instances is too old for the newer binary-instances, but ··· 1896 1935 bson = appendConfigureFlag (super.bson.override { 1897 1936 network = self.network-bsd; 1898 1937 }) "-f-_old_network"; 1938 + 1939 + # 2021-05-14: Testsuite is failing. 1940 + # https://github.com/kcsongor/generic-lens/issues/133 1941 + generic-optics = dontCheck super.generic-optics; 1899 1942 1900 1943 } // import ./configuration-tensorflow.nix {inherit pkgs haskellLib;} self super
+3 -1
pkgs/development/haskell-modules/configuration-hackage2nix/broken.yaml
··· 1510 1510 - generic-lens-labels 1511 1511 - generic-lucid-scaffold 1512 1512 - generic-maybe 1513 - - generic-optics 1514 1513 - generic-override-aeson 1515 1514 - generic-pretty 1516 1515 - genericserialize ··· 1676 1675 - grasp 1677 1676 - gray-code 1678 1677 - greencard 1678 + - greenclip 1679 1679 - greg-client 1680 1680 - gremlin-haskell 1681 1681 - Grempa ··· 3037 3037 - multext-east-msd 3038 3038 - multiaddr 3039 3039 - multiarg 3040 + - multi-except 3040 3041 - multihash 3041 3042 - multi-instance 3042 3043 - multilinear ··· 5155 5156 - yampa-glut 5156 5157 - yampa-sdl2 5157 5158 - YampaSynth 5159 + - yampa-test 5158 5160 - yam-servant 5159 5161 - yandex-translate 5160 5162 - yaop
+137 -62
pkgs/development/haskell-modules/configuration-hackage2nix/main.yaml
··· 85 85 - ghcide == 1.2.* 86 86 - hls-plugin-api == 1.1.0.0 87 87 - hls-explicit-imports-plugin < 1.0.0.2 88 + # 2021-05-12: remove once versions >= 5.0.0 is in stackage 89 + - futhark < 0.19.5 88 90 89 91 extra-packages: 90 92 - base16-bytestring < 1 # required for cabal-install etc. ··· 115 117 - ShellCheck == 0.7.1 # 2021-05-09: haskell-ci 0.12.1 pins this version 116 118 117 119 package-maintainers: 120 + abbradar: 121 + - Agda 122 + bdesham: 123 + - pinboard-notes-backup 124 + cdepillabout: 125 + - password 126 + - password-instances 127 + - pretty-simple 128 + - spago 129 + - termonad 130 + Gabriel439: 131 + - annah 132 + - bench 133 + - break 134 + - dhall-bash 135 + - dhall-docs 136 + - dhall-json 137 + - dhall-lsp-server 138 + - dhall-nix 139 + - dhall-nixpkgs 140 + - dhall-openapi 141 + - dhall-text 142 + - dhall-yaml 143 + - dhall 144 + - dirstream 145 + - errors 146 + - foldl 147 + - index-core 148 + - lens-tutorial 149 + - list-transformer 150 + - managed 151 + - mmorph 152 + - morte 153 + - mvc-updates 154 + - mvc 155 + - nix-derivation 156 + - nix-diff 157 + - optional-args 158 + - optparse-generic 159 + - pipes-bytestring 160 + - pipes-concurrency 161 + - pipes-csv 162 + - pipes-extras 163 + - pipes-group 164 + - pipes-http 165 + - pipes-parse 166 + - pipes-safe 167 + - pipes 168 + - server-generic 169 + - total 170 + - turtle 171 + - typed-spreadsheet 172 + gridaphobe: 173 + - located-base 174 + jb55: 175 + # - bson-lens 176 + - cased 177 + - elm-export-persistent 178 + # - pipes-mongodb 179 + - streaming-wai 180 + kiwi: 181 + - config-schema 182 + - config-value 183 + - glirc 184 + - irc-core 185 + - matterhorn 186 + - mattermost-api 187 + - mattermost-api-qc 188 + - Unique 189 + maralorn: 190 + - arbtt 191 + - cabal-fmt 192 + - generic-optics 193 + - ghcup 194 + - haskell-language-server 195 + - hedgehog 196 + - hmatrix 197 + - iCalendar 198 + - neuron 199 + - optics 200 + - reflex-dom 201 + - releaser 202 + - req 203 + - shake-bench 204 + - shh 205 + - snap 206 + - stm-containers 207 + - streamly 208 + - taskwarrior 209 + pacien: 210 + - ldgallery-compiler 118 211 peti: 119 212 - cabal-install 120 213 - cabal2nix ··· 140 233 - titlecase 141 234 - xmonad 142 235 - xmonad-contrib 143 - gridaphobe: 144 - - located-base 145 - jb55: 146 - # - bson-lens 147 - - cased 148 - - elm-export-persistent 149 - # - pipes-mongodb 150 - - streaming-wai 151 - kiwi: 152 - - config-schema 153 - - config-value 154 - - glirc 155 - - irc-core 156 - - matterhorn 157 - - mattermost-api 158 - - mattermost-api-qc 159 - - Unique 236 + poscat: 237 + - hinit 160 238 psibi: 161 239 - path-pieces 162 240 - persistent 163 241 - persistent-sqlite 164 242 - persistent-template 165 243 - shakespeare 166 - abbradar: 167 - - Agda 168 244 roberth: 169 245 - arion-compose 170 246 - hercules-ci-agent ··· 174 250 - hercules-ci-cli 175 251 - hercules-ci-cnix-expr 176 252 - hercules-ci-cnix-store 177 - cdepillabout: 178 - - pretty-simple 179 - - spago 180 - terlar: 181 - - nix-diff 182 - maralorn: 183 - - reflex-dom 184 - - cabal-fmt 185 - - shh 186 - - neuron 187 - - releaser 188 - - taskwarrior 189 - - haskell-language-server 190 - - shake-bench 191 - - iCalendar 192 - - stm-containers 253 + rvl: 254 + - taffybar 255 + - arbtt 256 + - lentil 193 257 sorki: 194 258 - cayenne-lpp 195 259 - data-stm32 ··· 200 264 - ttn-client 201 265 - update-nix-fetchgit 202 266 - zre 203 - utdemir: 204 - - nix-tree 205 - turion: 206 - - rhine 207 - - rhine-gloss 208 - - essence-of-live-coding 209 - - essence-of-live-coding-gloss 210 - - essence-of-live-coding-pulse 211 - - essence-of-live-coding-quickcheck 212 - - Agda 213 - - dunai 214 - - finite-typelits 215 - - pulse-simple 216 - - simple-affine-space 217 267 sternenseemann: 218 268 # also maintain upstream package 219 269 - spacecookie ··· 229 279 - yarn-lock 230 280 - yarn2nix 231 281 - large-hashable 232 - poscat: 233 - - hinit 234 - bdesham: 235 - - pinboard-notes-backup 236 - rvl: 237 - - taffybar 238 - - arbtt 239 - - lentil 282 + terlar: 283 + - nix-diff 284 + turion: 285 + - rhine 286 + - rhine-gloss 287 + - essence-of-live-coding 288 + - essence-of-live-coding-gloss 289 + - essence-of-live-coding-pulse 290 + - essence-of-live-coding-quickcheck 291 + - Agda 292 + - dunai 293 + - finite-typelits 294 + - pulse-simple 295 + - simple-affine-space 296 + utdemir: 297 + - nix-tree 240 298 241 299 unsupported-platforms: 242 300 Allure: [ x86_64-darwin ] ··· 248 306 bdcs-api: [ x86_64-darwin ] 249 307 bindings-directfb: [ x86_64-darwin ] 250 308 bindings-sane: [ x86_64-darwin ] 309 + charsetdetect: [ aarch64-linux ] # not supported by vendored lib / not configured properly https://github.com/batterseapower/libcharsetdetect/issues/3 251 310 cut-the-crap: [ x86_64-darwin ] 252 311 d3d11binding: [ i686-linux, x86_64-linux, x86_64-darwin, aarch64-linux, armv7l-linux ] 253 312 DirectSound: [ i686-linux, x86_64-linux, x86_64-darwin, aarch64-linux, armv7l-linux ] ··· 255 314 dx9d3d: [ i686-linux, x86_64-linux, x86_64-darwin, aarch64-linux, armv7l-linux ] 256 315 dx9d3dx: [ i686-linux, x86_64-linux, x86_64-darwin, aarch64-linux, armv7l-linux ] 257 316 Euterpea: [ x86_64-darwin ] 317 + follow-file: [ x86_64-darwin ] 258 318 freenect: [ x86_64-darwin ] 259 319 FTGL: [ x86_64-darwin ] 260 320 ghcjs-dom-hello: [ x86_64-darwin ] 321 + gi-dbusmenugtk3: [ x86_64-darwin ] 261 322 gi-dbusmenu: [ x86_64-darwin ] 262 - gi-dbusmenugtk3: [ x86_64-darwin ] 263 323 gi-ggit: [ x86_64-darwin ] 264 324 gi-ibus: [ x86_64-darwin ] 265 325 gi-ostree: [ x86_64-darwin ] ··· 271 331 hcwiid: [ x86_64-darwin ] 272 332 HFuse: [ x86_64-darwin ] 273 333 hidapi: [ x86_64-darwin ] 334 + hinotify-bytestring: [ x86_64-darwin ] 274 335 hommage-ds: [ i686-linux, x86_64-linux, x86_64-darwin, aarch64-linux, armv7l-linux ] 336 + honk: [ x86_64-darwin ] 275 337 hpapi: [ x86_64-darwin ] 276 338 HSoM: [ x86_64-darwin ] 277 339 iwlib: [ x86_64-darwin ] ··· 283 345 libtelnet: [ x86_64-darwin ] 284 346 libzfs: [ x86_64-darwin ] 285 347 linearEqSolver: [ aarch64-linux ] 348 + linux-evdev: [ x86_64-darwin ] 349 + linux-file-extents: [ x86_64-darwin ] 350 + linux-inotify: [ x86_64-darwin ] 351 + linux-mount: [ x86_64-darwin ] 352 + linux-namespaces: [ x86_64-darwin ] 286 353 lio-fs: [ x86_64-darwin ] 287 354 logging-facade-journald: [ x86_64-darwin ] 288 355 midi-alsa: [ x86_64-darwin ] 356 + mpi-hs: [ aarch64-linux, x86_64-darwin ] 289 357 mpi-hs-binary: [ aarch64-linux, x86_64-darwin ] 290 358 mpi-hs-cereal: [ aarch64-linux, x86_64-darwin ] 291 359 mpi-hs-store: [ aarch64-linux, x86_64-darwin ] 292 - mpi-hs: [ aarch64-linux, x86_64-darwin ] 293 360 mplayer-spot: [ aarch64-linux ] 361 + netlink: [ x86_64-darwin ] 294 362 oculus: [ x86_64-darwin ] 295 363 pam: [ x86_64-darwin ] 364 + parport: [ x86_64-darwin ] 365 + password: [ aarch64-linux, armv7l-linux ] # uses scrypt, which requries x86 366 + password-instances: [ aarch64-linux, armv7l-linux ] # uses scrypt, which requries x86 367 + persist-state: [ aarch64-linux, armv7l-linux ] # https://github.com/minad/persist-state/blob/6fd68c0b8b93dec78218f6d5a1f4fa06ced4e896/src/Data/PersistState.hs#L122-L128 296 368 piyo: [ x86_64-darwin ] 297 369 PortMidi-simple: [ x86_64-darwin ] 298 370 PortMidi: [ x86_64-darwin ] ··· 305 377 rtlsdr: [ x86_64-darwin ] 306 378 rubberband: [ x86_64-darwin ] 307 379 sbv: [ aarch64-linux ] 380 + scat: [ aarch64-linux, armv7l-linux ] # uses scrypt, which requries x86 381 + scrypt: [ aarch64-linux, armv7l-linux ] # https://github.com/informatikr/scrypt/issues/8 308 382 sdl2-mixer: [ x86_64-darwin ] 309 383 sdl2-ttf: [ x86_64-darwin ] 310 384 synthesizer-alsa: [ x86_64-darwin ] ··· 312 386 termonad: [ x86_64-darwin ] 313 387 tokyotyrant-haskell: [ x86_64-darwin ] 314 388 udev: [ x86_64-darwin ] 389 + Unixutils-shadow: [ x86_64-darwin ] 315 390 verifiable-expressions: [ aarch64-linux ] 316 391 vrpn: [ x86_64-darwin ] 317 - vulkan-utils: [ x86_64-darwin ] 318 392 vulkan: [ i686-linux, armv7l-linux, x86_64-darwin ] 319 393 VulkanMemoryAllocator: [ i686-linux, armv7l-linux, x86_64-darwin ] 394 + vulkan-utils: [ x86_64-darwin ] 320 395 webkit2gtk3-javascriptcore: [ x86_64-darwin ] 321 396 Win32-console: [ i686-linux, x86_64-linux, x86_64-darwin, aarch64-linux, armv7l-linux ] 322 397 Win32-dhcp-server: [ i686-linux, x86_64-linux, x86_64-darwin, aarch64-linux, armv7l-linux ] 323 398 Win32-errors: [ i686-linux, x86_64-linux, x86_64-darwin, aarch64-linux, armv7l-linux ] 324 399 Win32-extras: [ i686-linux, x86_64-linux, x86_64-darwin, aarch64-linux, armv7l-linux ] 400 + Win32: [ i686-linux, x86_64-linux, x86_64-darwin, aarch64-linux, armv7l-linux ] 325 401 Win32-junction-point: [ i686-linux, x86_64-linux, x86_64-darwin, aarch64-linux, armv7l-linux ] 326 402 Win32-notify: [ i686-linux, x86_64-linux, x86_64-darwin, aarch64-linux, armv7l-linux ] 327 403 Win32-security: [ i686-linux, x86_64-linux, x86_64-darwin, aarch64-linux, armv7l-linux ] 328 - Win32-services-wrapper: [ i686-linux, x86_64-linux, x86_64-darwin, aarch64-linux, armv7l-linux ] 329 404 Win32-services: [ i686-linux, x86_64-linux, x86_64-darwin, aarch64-linux, armv7l-linux ] 330 - Win32: [ i686-linux, x86_64-linux, x86_64-darwin, aarch64-linux, armv7l-linux ] 405 + Win32-services-wrapper: [ i686-linux, x86_64-linux, x86_64-darwin, aarch64-linux, armv7l-linux ] 331 406 xattr: [ x86_64-darwin ] 332 407 xgboost-haskell: [ aarch64-linux, armv7l-linux ] 333 408 XInput: [ i686-linux, x86_64-linux, x86_64-darwin, aarch64-linux, armv7l-linux ]
+1 -1
pkgs/development/haskell-modules/configuration-hackage2nix/transitive-broken.yaml
··· 942 942 - ghcjs-hplay 943 943 - ghc-mod 944 944 - ghc-tags-plugin 945 - - ghcup 946 945 - ghc-vis 947 946 - ght 948 947 - gi-cairo-again ··· 3276 3275 - yu-launch 3277 3276 - yuuko 3278 3277 - zasni-gerna 3278 + - Z-Botan 3279 3279 - zephyr 3280 3280 - zerobin 3281 3281 - zeromq3-conduit
+33 -2
pkgs/development/haskell-modules/configuration-nix.nix
··· 485 485 486 486 # Compile manpages (which are in RST and are compiled with Sphinx). 487 487 futhark = with pkgs; 488 - overrideCabal (addBuildTools super.futhark [makeWrapper python37Packages.sphinx]) 488 + overrideCabal (addBuildTools super.futhark [makeWrapper python3Packages.sphinx]) 489 489 (_drv: { 490 490 postBuild = (_drv.postBuild or "") + '' 491 491 make -C docs man ··· 616 616 primitive_0_7_1_0 = dontCheck super.primitive_0_7_1_0; 617 617 618 618 cut-the-crap = 619 - let path = pkgs.lib.makeBinPath [ pkgs.ffmpeg_3 pkgs.youtube-dl ]; 619 + let path = pkgs.lib.makeBinPath [ pkgs.ffmpeg pkgs.youtube-dl ]; 620 620 in overrideCabal (addBuildTool super.cut-the-crap pkgs.makeWrapper) (_drv: { 621 621 postInstall = '' 622 622 wrapProgram $out/bin/cut-the-crap \ ··· 747 747 platforms = pkgs.lib.platforms.x86; 748 748 }; 749 749 750 + # uses x86 intrinsics 751 + blake3 = overrideCabal super.blake3 { 752 + platforms = pkgs.lib.platforms.x86; 753 + }; 754 + 755 + # uses x86 intrinsics, see also https://github.com/NixOS/nixpkgs/issues/122014 756 + crc32c = overrideCabal super.crc32c { 757 + platforms = pkgs.lib.platforms.x86; 758 + }; 759 + 760 + # uses x86 intrinsics 761 + seqalign = overrideCabal super.seqalign { 762 + platforms = pkgs.lib.platforms.x86; 763 + }; 764 + 750 765 hls-brittany-plugin = overrideCabal super.hls-brittany-plugin (drv: { 751 766 testToolDepends = [ pkgs.git ]; 752 767 preCheck = '' ··· 772 787 export HOME=$TMPDIR/home 773 788 ''; 774 789 }); 790 + 791 + taglib = overrideCabal super.taglib (drv: { 792 + librarySystemDepends = [ 793 + pkgs.zlib 794 + ] ++ (drv.librarySystemDepends or []); 795 + }); 796 + 797 + # uses x86 assembler 798 + inline-asm = overrideCabal super.inline-asm { 799 + platforms = pkgs.lib.platforms.x86; 800 + }; 801 + 802 + # uses x86 assembler in C bits 803 + hw-prim-bits = overrideCabal super.hw-prim-bits { 804 + platforms = pkgs.lib.platforms.x86; 805 + }; 775 806 }
+552 -75
pkgs/development/haskell-modules/hackage-packages.nix
··· 20313 20313 libraryHaskellDepends = [ base unix ]; 20314 20314 description = "A simple interface to shadow passwords (aka, shadow.h)"; 20315 20315 license = lib.licenses.bsd3; 20316 + platforms = [ 20317 + "aarch64-linux" "armv7l-linux" "i686-linux" "x86_64-linux" 20318 + ]; 20316 20319 }) {}; 20317 20320 20318 20321 "Updater" = callPackage ··· 21748 21751 license = lib.licenses.bsd3; 21749 21752 hydraPlatforms = lib.platforms.none; 21750 21753 }) {inherit (pkgs) readline;}; 21754 + 21755 + "Z-Botan" = callPackage 21756 + ({ mkDerivation, base, Cabal, directory, filepath, ghc-prim, hspec 21757 + , hspec-discover, HUnit, integer-gmp, QuickCheck 21758 + , quickcheck-instances, scientific, stm, time, Z-Data, Z-IO 21759 + }: 21760 + mkDerivation { 21761 + pname = "Z-Botan"; 21762 + version = "0.2.0.0"; 21763 + sha256 = "0xxi19gfzglp93jxxq7sq9z1ijxa5jys917a156gd4hrcqqhwi63"; 21764 + enableSeparateDataOutput = true; 21765 + setupHaskellDepends = [ base Cabal directory filepath ]; 21766 + libraryHaskellDepends = [ 21767 + base ghc-prim integer-gmp scientific stm time Z-Data Z-IO 21768 + ]; 21769 + libraryToolDepends = [ hspec-discover ]; 21770 + testHaskellDepends = [ 21771 + base hspec HUnit QuickCheck quickcheck-instances Z-Data Z-IO 21772 + ]; 21773 + description = "Crypto for Haskell"; 21774 + license = lib.licenses.bsd3; 21775 + hydraPlatforms = lib.platforms.none; 21776 + }) {}; 21751 21777 21752 21778 "Z-Data" = callPackage 21753 21779 ({ mkDerivation, base, bytestring, Cabal, case-insensitive ··· 29519 29545 license = lib.licenses.gpl3Only; 29520 29546 }) {}; 29521 29547 29548 + "amqp-utils_0_6_1_1" = callPackage 29549 + ({ mkDerivation, amqp, base, bytestring, connection, containers 29550 + , data-default-class, directory, hinotify, magic, network, process 29551 + , text, time, tls, unix, utf8-string, x509-system 29552 + }: 29553 + mkDerivation { 29554 + pname = "amqp-utils"; 29555 + version = "0.6.1.1"; 29556 + sha256 = "1lffc76ybvk73k57qn5m6788m2nkfsqavs7mfs1kaqw38pya940c"; 29557 + isLibrary = false; 29558 + isExecutable = true; 29559 + executableHaskellDepends = [ 29560 + amqp base bytestring connection containers data-default-class 29561 + directory hinotify magic network process text time tls unix 29562 + utf8-string x509-system 29563 + ]; 29564 + description = "AMQP toolset for the command line"; 29565 + license = lib.licenses.gpl3Only; 29566 + hydraPlatforms = lib.platforms.none; 29567 + }) {}; 29568 + 29522 29569 "amqp-worker" = callPackage 29523 29570 ({ mkDerivation, aeson, amqp, base, bytestring, data-default 29524 29571 , exceptions, monad-control, monad-loops, mtl, resource-pool ··· 29990 30037 description = "Medium-level language that desugars to Morte"; 29991 30038 license = lib.licenses.bsd3; 29992 30039 hydraPlatforms = lib.platforms.none; 30040 + maintainers = with lib.maintainers; [ Gabriel439 ]; 29993 30041 }) {}; 29994 30042 29995 30043 "annihilator" = callPackage ··· 32045 32093 ]; 32046 32094 description = "Automatic Rule-Based Time Tracker"; 32047 32095 license = lib.licenses.gpl2Only; 32048 - maintainers = with lib.maintainers; [ rvl ]; 32096 + maintainers = with lib.maintainers; [ maralorn rvl ]; 32049 32097 }) {}; 32050 32098 32051 32099 "arcgrid" = callPackage ··· 39310 39358 ]; 39311 39359 description = "Command-line benchmark tool"; 39312 39360 license = lib.licenses.bsd3; 39361 + maintainers = with lib.maintainers; [ Gabriel439 ]; 39313 39362 }) {}; 39314 39363 39315 39364 "bench-graph" = callPackage ··· 41955 42004 }) {}; 41956 42005 41957 42006 "bisc" = callPackage 41958 - ({ mkDerivation, base, configurator, directory, filepath, mtl 41959 - , selda, selda-sqlite, text 42007 + ({ mkDerivation, base, bytestring, configurator, data-default 42008 + , directory, exceptions, filepath, leveldb-haskell, mtl, selda 42009 + , selda-sqlite, snappy, text 41960 42010 }: 41961 42011 mkDerivation { 41962 42012 pname = "bisc"; 41963 - version = "0.2.3.0"; 41964 - sha256 = "0x03smkfx0qnsxznlp1591gi938f15w057hywfp9497mhvkr7mxg"; 42013 + version = "0.3.0.0"; 42014 + sha256 = "097b25pp6pi7rq4xhk19g1i5v7v9hyx7ldyq0y3aj1cm50s2356m"; 41965 42015 isLibrary = false; 41966 42016 isExecutable = true; 41967 42017 executableHaskellDepends = [ 41968 - base configurator directory filepath mtl selda selda-sqlite text 42018 + base bytestring configurator data-default directory exceptions 42019 + filepath leveldb-haskell mtl selda selda-sqlite text 41969 42020 ]; 41970 - description = "A small tool that clears qutebrowser cookies"; 42021 + executableSystemDepends = [ snappy ]; 42022 + description = "A small tool that clears cookies (and more)"; 41971 42023 license = lib.licenses.gpl3Only; 41972 - }) {}; 42024 + }) {inherit (pkgs) snappy;}; 41973 42025 41974 42026 "bisect-binary" = callPackage 41975 42027 ({ mkDerivation, base, bytestring, directory, filepath, hashable ··· 45238 45290 libraryHaskellDepends = [ base mtl transformers ]; 45239 45291 description = "Break from a loop"; 45240 45292 license = lib.licenses.bsd3; 45293 + maintainers = with lib.maintainers; [ Gabriel439 ]; 45241 45294 }) {}; 45242 45295 45243 45296 "breakout" = callPackage ··· 52920 52973 libraryHaskellDepends = [ base bytestring ]; 52921 52974 description = "Character set detection using Mozilla's Universal Character Set Detector"; 52922 52975 license = "LGPL"; 52976 + platforms = [ 52977 + "armv7l-linux" "i686-linux" "x86_64-darwin" "x86_64-linux" 52978 + ]; 52923 52979 }) {}; 52924 52980 52925 52981 "charsetdetect-ae" = callPackage ··· 57399 57455 }: 57400 57456 mkDerivation { 57401 57457 pname = "code-conjure"; 57402 - version = "0.2.2"; 57403 - sha256 = "1rf9d6mwg965r4bnjxbcw2dzcf4fxqn9hnysxzyqxnyhrr8q4149"; 57458 + version = "0.2.4"; 57459 + sha256 = "1xb8c791zcbfywz4pcqx5n5iq6a2fh0fl2mzwl6cxapj2y700dbp"; 57404 57460 libraryHaskellDepends = [ 57405 57461 base express leancheck speculate template-haskell 57406 57462 ]; ··· 58047 58103 license = lib.licenses.bsd3; 58048 58104 }) {}; 58049 58105 58106 + "collect-errors_0_1_3_0" = callPackage 58107 + ({ mkDerivation, base, containers, deepseq, QuickCheck }: 58108 + mkDerivation { 58109 + pname = "collect-errors"; 58110 + version = "0.1.3.0"; 58111 + sha256 = "03gzaqlgivlzlsqrzr8g1ijvi825p9kxzihhrrd06vib34bqswv8"; 58112 + libraryHaskellDepends = [ base containers deepseq QuickCheck ]; 58113 + description = "Error monad with a Float instance"; 58114 + license = lib.licenses.bsd3; 58115 + hydraPlatforms = lib.platforms.none; 58116 + }) {}; 58117 + 58050 58118 "collection-json" = callPackage 58051 58119 ({ mkDerivation, aeson, base, bytestring, hspec, hspec-discover 58052 58120 , network-arbitrary, network-uri, network-uri-json, QuickCheck ··· 66458 66526 }: 66459 66527 mkDerivation { 66460 66528 pname = "css-easings"; 66461 - version = "0.2.0.0"; 66462 - sha256 = "0i969cp4j154ddq7x2821p53qh8dnsr7f74rsdi4y9rbbls1fnpv"; 66529 + version = "0.2.1.0"; 66530 + sha256 = "0mn3h7fqp4bs7rqjzc05k29man8i77dg1avcajdyysf84azklyrw"; 66463 66531 libraryHaskellDepends = [ 66464 66532 aeson base blaze-markup data-default QuickCheck scientific 66465 66533 shakespeare text ··· 66478 66546 }: 66479 66547 mkDerivation { 66480 66548 pname = "css-selectors"; 66481 - version = "0.4.0.1"; 66482 - sha256 = "0wj16835xcr33kqpwlrqgsain0dv6dl9cxcxncxhp0c0z5bl4ysd"; 66549 + version = "0.4.0.2"; 66550 + sha256 = "1299xqp1ssxarz2i9wgzcyj4zmjry6cq02jb2a9n0vw61gw6z5g4"; 66483 66551 libraryHaskellDepends = [ 66484 66552 aeson array base binary blaze-markup bytestring data-default 66485 66553 Decimal hashable QuickCheck shakespeare template-haskell text zlib ··· 73263 73331 description = "A configuration language guaranteed to terminate"; 73264 73332 license = lib.licenses.bsd3; 73265 73333 hydraPlatforms = lib.platforms.none; 73334 + maintainers = with lib.maintainers; [ Gabriel439 ]; 73266 73335 }) {}; 73267 73336 73268 73337 "dhall" = callPackage ··· 73286 73355 pname = "dhall"; 73287 73356 version = "1.38.1"; 73288 73357 sha256 = "0g70x2crdrkwf41gvwr718am25dmbn9bg4cml9f9va7i1vx5rsgk"; 73358 + revision = "1"; 73359 + editedCabalFile = "1830jbh5q7g7r4i5n1vhs1h8fj8zzig3l6qr9kbkk00dhhgywv8b"; 73289 73360 isLibrary = true; 73290 73361 isExecutable = true; 73291 73362 enableSeparateDataOutput = true; ··· 73317 73388 doCheck = false; 73318 73389 description = "A configuration language guaranteed to terminate"; 73319 73390 license = lib.licenses.bsd3; 73391 + maintainers = with lib.maintainers; [ Gabriel439 ]; 73320 73392 }) {}; 73321 73393 73322 73394 "dhall-bash" = callPackage ··· 73340 73412 ]; 73341 73413 description = "Compile Dhall to Bash"; 73342 73414 license = lib.licenses.bsd3; 73415 + maintainers = with lib.maintainers; [ Gabriel439 ]; 73343 73416 }) {}; 73344 73417 73345 73418 "dhall-check" = callPackage ··· 73372 73445 pname = "dhall-docs"; 73373 73446 version = "1.0.5"; 73374 73447 sha256 = "00s1vhwilnr6hvv56w98kc1md08lw6v80v8a7yhwrmg9qggwdc12"; 73448 + revision = "1"; 73449 + editedCabalFile = "0y8a02jxz5cap0q4b2106ck4av7haxqlv5vjhm0nmrsq10cl4nss"; 73375 73450 isLibrary = true; 73376 73451 isExecutable = true; 73377 73452 enableSeparateDataOutput = true; ··· 73388 73463 description = "Generate HTML docs from a dhall package"; 73389 73464 license = lib.licenses.bsd3; 73390 73465 hydraPlatforms = lib.platforms.none; 73466 + maintainers = with lib.maintainers; [ Gabriel439 ]; 73391 73467 }) {}; 73392 73468 73393 73469 "dhall-fly" = callPackage ··· 73451 73527 ]; 73452 73528 description = "Convert between Dhall and JSON or YAML"; 73453 73529 license = lib.licenses.bsd3; 73530 + maintainers = with lib.maintainers; [ Gabriel439 ]; 73454 73531 }) {}; 73455 73532 73456 73533 "dhall-lex" = callPackage ··· 73499 73576 ]; 73500 73577 description = "Language Server Protocol (LSP) server for Dhall"; 73501 73578 license = lib.licenses.mit; 73579 + maintainers = with lib.maintainers; [ Gabriel439 ]; 73502 73580 }) {}; 73503 73581 73504 73582 "dhall-nix" = callPackage ··· 73522 73600 ]; 73523 73601 description = "Dhall to Nix compiler"; 73524 73602 license = lib.licenses.bsd3; 73603 + maintainers = with lib.maintainers; [ Gabriel439 ]; 73525 73604 }) {}; 73526 73605 73527 73606 "dhall-nixpkgs" = callPackage ··· 73543 73622 ]; 73544 73623 description = "Convert Dhall projects to Nix packages"; 73545 73624 license = lib.licenses.bsd3; 73625 + maintainers = with lib.maintainers; [ Gabriel439 ]; 73546 73626 }) {}; 73547 73627 73548 73628 "dhall-openapi" = callPackage ··· 73567 73647 ]; 73568 73648 description = "Convert an OpenAPI specification to a Dhall package"; 73569 73649 license = lib.licenses.bsd3; 73650 + maintainers = with lib.maintainers; [ Gabriel439 ]; 73570 73651 }) {}; 73571 73652 73572 73653 "dhall-recursive-adt" = callPackage ··· 73605 73686 description = "Template text using Dhall"; 73606 73687 license = lib.licenses.bsd3; 73607 73688 hydraPlatforms = lib.platforms.none; 73689 + maintainers = with lib.maintainers; [ Gabriel439 ]; 73608 73690 broken = true; 73609 73691 }) {}; 73610 73692 ··· 73664 73746 ]; 73665 73747 description = "Convert between Dhall and YAML"; 73666 73748 license = lib.licenses.gpl3Only; 73749 + maintainers = with lib.maintainers; [ Gabriel439 ]; 73667 73750 }) {}; 73668 73751 73669 73752 "dhcp-lease-parser" = callPackage ··· 75649 75732 ]; 75650 75733 description = "Easily stream directory contents in constant memory"; 75651 75734 license = lib.licenses.bsd3; 75735 + maintainers = with lib.maintainers; [ Gabriel439 ]; 75652 75736 }) {}; 75653 75737 75654 75738 "dirtree" = callPackage ··· 79489 79573 }: 79490 79574 mkDerivation { 79491 79575 pname = "dual-tree"; 79492 - version = "0.2.2.1"; 79493 - sha256 = "17kdfnf0df0z5pkiifxrlmyd1xd7hjjaazd2kzyajl0gd00vbszx"; 79576 + version = "0.2.3.0"; 79577 + sha256 = "0qyn7kb42wvlcvb1wbf1qx3isc2y6k3hzp5iq6ab0r0llw9g6qlg"; 79494 79578 libraryHaskellDepends = [ 79495 79579 base monoid-extras newtype-generics semigroups 79496 79580 ]; ··· 84534 84618 ]; 84535 84619 description = "Simplified error-handling"; 84536 84620 license = lib.licenses.bsd3; 84621 + maintainers = with lib.maintainers; [ Gabriel439 ]; 84537 84622 }) {}; 84538 84623 84539 84624 "errors-ext" = callPackage ··· 93100 93185 benchmarkHaskellDepends = [ base criterion ]; 93101 93186 description = "Composable, streaming, and efficient left folds"; 93102 93187 license = lib.licenses.bsd3; 93188 + maintainers = with lib.maintainers; [ Gabriel439 ]; 93103 93189 }) {}; 93104 93190 93105 93191 "foldl-exceptions" = callPackage ··· 93320 93406 ]; 93321 93407 description = "Be notified when a file gets appended, solely with what was added. Warning - only works on linux and for files that are strictly appended, like log files."; 93322 93408 license = lib.licenses.bsd3; 93409 + platforms = [ 93410 + "aarch64-linux" "armv7l-linux" "i686-linux" "x86_64-linux" 93411 + ]; 93323 93412 }) {}; 93324 93413 93325 93414 "follower" = callPackage ··· 96755 96844 license = lib.licenses.isc; 96756 96845 }) {}; 96757 96846 96847 + "futhark_0_19_5" = callPackage 96848 + ({ mkDerivation, aeson, alex, ansi-terminal, array, base, binary 96849 + , blaze-html, bmp, bytestring, bytestring-to-vector, cmark-gfm 96850 + , containers, directory, directory-tree, dlist, file-embed 96851 + , filepath, free, gitrev, happy, hashable, haskeline 96852 + , language-c-quote, mainland-pretty, megaparsec, mtl 96853 + , neat-interpolation, parallel, parser-combinators, pcg-random 96854 + , process, process-extras, QuickCheck, regex-tdfa, srcloc, tasty 96855 + , tasty-hunit, tasty-quickcheck, template-haskell, temporary 96856 + , terminal-size, text, time, transformers, unordered-containers 96857 + , utf8-string, vector, vector-binary-instances, versions 96858 + , zip-archive, zlib 96859 + }: 96860 + mkDerivation { 96861 + pname = "futhark"; 96862 + version = "0.19.5"; 96863 + sha256 = "1x922g3iq50an8jv75370qr0qslmxnrrqbwr7adca30ljaa7nfvh"; 96864 + isLibrary = true; 96865 + isExecutable = true; 96866 + libraryHaskellDepends = [ 96867 + aeson ansi-terminal array base binary blaze-html bmp bytestring 96868 + bytestring-to-vector cmark-gfm containers directory directory-tree 96869 + dlist file-embed filepath free gitrev hashable haskeline 96870 + language-c-quote mainland-pretty megaparsec mtl neat-interpolation 96871 + parallel pcg-random process process-extras regex-tdfa srcloc 96872 + template-haskell temporary terminal-size text time transformers 96873 + unordered-containers utf8-string vector vector-binary-instances 96874 + versions zip-archive zlib 96875 + ]; 96876 + libraryToolDepends = [ alex happy ]; 96877 + executableHaskellDepends = [ base text ]; 96878 + testHaskellDepends = [ 96879 + base containers megaparsec mtl parser-combinators QuickCheck tasty 96880 + tasty-hunit tasty-quickcheck text 96881 + ]; 96882 + description = "An optimising compiler for a functional, array-oriented language"; 96883 + license = lib.licenses.isc; 96884 + hydraPlatforms = lib.platforms.none; 96885 + }) {}; 96886 + 96758 96887 "futhask" = callPackage 96759 96888 ({ mkDerivation, base, directory, raw-strings-qq, split }: 96760 96889 mkDerivation { ··· 98605 98734 ]; 98606 98735 description = "Generically derive traversals, lenses and prisms"; 98607 98736 license = lib.licenses.bsd3; 98608 - hydraPlatforms = lib.platforms.none; 98609 - broken = true; 98737 + maintainers = with lib.maintainers; [ maralorn ]; 98610 98738 }) {}; 98611 98739 98612 98740 "generic-optics-lite" = callPackage ··· 101636 101764 pname = "ghcide"; 101637 101765 version = "1.2.0.2"; 101638 101766 sha256 = "0r3n23i4b51bb92q6pch9knj079a26jbz0q70qfpv66154d00wld"; 101767 + revision = "1"; 101768 + editedCabalFile = "1hv74yx0x6hh506kwg7ygkajkcczfn3l00f8rc4jnr3hkhkm5v85"; 101639 101769 isLibrary = true; 101640 101770 isExecutable = true; 101641 101771 libraryHaskellDepends = [ ··· 102050 102180 }) {}; 102051 102181 102052 102182 "ghcup" = callPackage 102053 - ({ mkDerivation, aeson, aeson-pretty, ascii-string, async, base 102183 + ({ mkDerivation, aeson, aeson-pretty, async, base 102054 102184 , base16-bytestring, binary, bytestring, bz2, case-insensitive 102055 102185 , casing, concurrent-output, containers, cryptohash-sha256 102056 102186 , generic-arbitrary, generics-sop, haskus-utils-types ··· 102067 102197 }: 102068 102198 mkDerivation { 102069 102199 pname = "ghcup"; 102070 - version = "0.1.14.1"; 102071 - sha256 = "1lx6ahn4mvjzs3x4qm32sdn1n8w4v7jqj2jslvan008zk664d5l2"; 102072 - revision = "1"; 102073 - editedCabalFile = "0a9c2ha61mlz9ci652djy4vmmzi4s1g8rwl1a2miymrw5b36zsmq"; 102200 + version = "0.1.14.2"; 102201 + sha256 = "1k18ira2i2ja4hd65fdxk3ab21xzh4fvd982q2rfjshzkds1a3hv"; 102074 102202 isLibrary = true; 102075 102203 isExecutable = true; 102076 102204 libraryHaskellDepends = [ 102077 - aeson ascii-string async base base16-bytestring binary bytestring 102078 - bz2 case-insensitive casing concurrent-output containers 102205 + aeson async base base16-bytestring binary bytestring bz2 102206 + case-insensitive casing concurrent-output containers 102079 102207 cryptohash-sha256 generics-sop haskus-utils-types 102080 102208 haskus-utils-variant hpath hpath-directory hpath-filepath hpath-io 102081 102209 hpath-posix libarchive lzma-static megaparsec monad-logger mtl ··· 102100 102228 ]; 102101 102229 description = "ghc toolchain installer"; 102102 102230 license = lib.licenses.lgpl3Only; 102103 - hydraPlatforms = lib.platforms.none; 102231 + maintainers = with lib.maintainers; [ maralorn ]; 102104 102232 }) {}; 102105 102233 102106 102234 "ghczdecode" = callPackage ··· 110624 110752 110625 110753 "greenclip" = callPackage 110626 110754 ({ mkDerivation, base, binary, bytestring, directory, exceptions 110627 - , hashable, libXau, microlens, microlens-mtl, protolude, text, unix 110628 - , vector, wordexp, X11, xcb, xdmcp, xlibsWrapper 110755 + , hashable, libXau, microlens, microlens-mtl, protolude, text 110756 + , tomland, unix, vector, wordexp, X11, xcb, xdmcp, xlibsWrapper 110757 + , xscrnsaver 110629 110758 }: 110630 110759 mkDerivation { 110631 110760 pname = "greenclip"; 110632 - version = "3.4.0"; 110633 - sha256 = "0763nnh7k4blkamlswnapwxyqfn1l0g6ibpz7k1w2w2asj7a3q98"; 110761 + version = "4.1.0"; 110762 + sha256 = "1z52ffb3f0iflls3bjlwzpz4w3a904vj67c1zsdyql6j2xpln6n4"; 110634 110763 isLibrary = false; 110635 110764 isExecutable = true; 110636 110765 executableHaskellDepends = [ 110637 110766 base binary bytestring directory exceptions hashable microlens 110638 - microlens-mtl protolude text unix vector wordexp X11 110767 + microlens-mtl protolude text tomland unix vector wordexp X11 110639 110768 ]; 110640 - executablePkgconfigDepends = [ libXau xcb xdmcp xlibsWrapper ]; 110769 + executablePkgconfigDepends = [ 110770 + libXau xcb xdmcp xlibsWrapper xscrnsaver 110771 + ]; 110641 110772 description = "Simple clipboard manager to be integrated with rofi"; 110642 110773 license = lib.licenses.bsd3; 110774 + hydraPlatforms = lib.platforms.none; 110775 + broken = true; 110643 110776 }) {inherit (pkgs.xorg) libXau; xcb = null; xdmcp = null; 110644 - inherit (pkgs) xlibsWrapper;}; 110777 + inherit (pkgs) xlibsWrapper; xscrnsaver = null;}; 110645 110778 110646 110779 "greg-client" = callPackage 110647 110780 ({ mkDerivation, base, binary, bytestring, clock, hostname, network ··· 113414 113547 ]; 113415 113548 description = "Access cabal-install's Hackage database via Data.Map"; 113416 113549 license = lib.licenses.bsd3; 113550 + maintainers = with lib.maintainers; [ peti ]; 113551 + }) {}; 113552 + 113553 + "hackage-db_2_1_1" = callPackage 113554 + ({ mkDerivation, aeson, base, bytestring, Cabal, containers 113555 + , directory, exceptions, filepath, tar, time, utf8-string 113556 + }: 113557 + mkDerivation { 113558 + pname = "hackage-db"; 113559 + version = "2.1.1"; 113560 + sha256 = "16y1iqb3y019hjdsq7q3zx51qy834ky3mw5vszqmzzhflqpicd31"; 113561 + isLibrary = true; 113562 + isExecutable = true; 113563 + libraryHaskellDepends = [ 113564 + aeson base bytestring Cabal containers directory exceptions 113565 + filepath tar time utf8-string 113566 + ]; 113567 + description = "Access cabal-install's Hackage database via Data.Map"; 113568 + license = lib.licenses.bsd3; 113569 + hydraPlatforms = lib.platforms.none; 113417 113570 maintainers = with lib.maintainers; [ peti ]; 113418 113571 }) {}; 113419 113572 ··· 124293 124446 ]; 124294 124447 description = "Release with confidence"; 124295 124448 license = lib.licenses.bsd3; 124449 + maintainers = with lib.maintainers; [ maralorn ]; 124296 124450 }) {}; 124297 124451 124298 124452 "hedgehog-checkers" = callPackage ··· 128048 128202 ]; 128049 128203 ({ mkDerivation, base, bytestring, bytestring-nums, bytestring-trie 128050 128204 license = lib.licenses.bsd3; 128205 + platforms = [ 128206 + "aarch64-linux" "armv7l-linux" "i686-linux" "x86_64-linux" 128207 + ]; 128051 128208 }) {}; 128052 128209 128053 128210 ({ mkDerivation, base, bytestring, bytestring-nums, bytestring-trie ··· 130103 130260 librarySystemDepends = [ openblasCompat ]; 130104 130261 ({ mkDerivation, base, bytestring, bytestring-nums, bytestring-trie 130105 130262 license = lib.licenses.bsd3; 130263 + maintainers = with lib.maintainers; [ maralorn ]; 130106 130264 }) {inherit (pkgs) openblasCompat;}; 130107 130265 130108 130266 ({ mkDerivation, base, bytestring, bytestring-nums, bytestring-trie ··· 130752 130910 ({ mkDerivation, base, bytestring, bytestring-nums, bytestring-trie 130753 130911 ({ mkDerivation, base, bytestring, bytestring-nums, bytestring-trie 130754 130912 ({ mkDerivation, base, bytestring, bytestring-nums, bytestring-trie 130755 - ({ mkDerivation, base, bytestring, bytestring-nums, bytestring-trie 130756 - ({ mkDerivation, base, bytestring, bytestring-nums, bytestring-trie 130913 + , prettyprinter, process, ref-tf, regex-tdfa, relude, repline 130914 + , scientific, semialign, serialise, some, split, syb, tasty 130757 130915 ({ mkDerivation, base, bytestring, bytestring-nums, bytestring-trie 130758 - ({ mkDerivation, base, bytestring, bytestring-nums, bytestring-trie 130759 - ({ mkDerivation, base, bytestring, bytestring-nums, bytestring-trie 130916 + , th-lift-instances, these, time, transformers, transformers-base 130917 + , unix, unordered-containers, vector, xml 130760 130918 }: 130761 130919 mkDerivation { 130762 130920 ({ mkDerivation, base, bytestring, bytestring-nums, bytestring-trie 130763 - version = "0.12.0.1"; 130764 - ({ mkDerivation, base, bytestring, bytestring-nums, bytestring-trie 130765 - revision = "1"; 130766 - ({ mkDerivation, base, bytestring, bytestring-nums, bytestring-trie 130921 + version = "0.13.0.1"; 130922 + sha256 = "1c01ns9h7va6ri568c0hzcdkmr0jdiay5z1vwwva7cv7dlvn6wl7"; 130767 130923 isLibrary = true; 130768 130924 isExecutable = true; 130769 130925 enableSeparateDataOutput = true; ··· 130775 130931 ({ mkDerivation, base, bytestring, bytestring-nums, bytestring-trie 130776 130932 ({ mkDerivation, base, bytestring, bytestring-nums, bytestring-trie 130777 130933 ({ mkDerivation, base, bytestring, bytestring-nums, bytestring-trie 130778 - ({ mkDerivation, base, bytestring, bytestring-nums, bytestring-trie 130779 - ({ mkDerivation, base, bytestring, bytestring-nums, bytestring-trie 130934 + regex-tdfa relude scientific semialign serialise some split syb 130935 + template-haskell text th-lift-instances these time transformers 130780 130936 ({ mkDerivation, base, bytestring, bytestring-nums, bytestring-trie 130781 130937 ]; 130782 130938 executableHaskellDepends = [ 130783 - ({ mkDerivation, base, bytestring, bytestring-nums, bytestring-trie 130784 - ({ mkDerivation, base, bytestring, bytestring-nums, bytestring-trie 130785 - ({ mkDerivation, base, bytestring, bytestring-nums, bytestring-trie 130786 - text time transformers unordered-containers 130939 + aeson base comonad containers data-fix deepseq exceptions filepath 130940 + free haskeline optparse-applicative pretty-show prettyprinter 130941 + ref-tf relude repline serialise template-haskell time 130787 130942 ]; 130788 130943 testHaskellDepends = [ 130789 - ({ mkDerivation, base, bytestring, bytestring-nums, bytestring-trie 130790 - ({ mkDerivation, base, bytestring, bytestring-nums, bytestring-trie 130791 - ({ mkDerivation, base, bytestring, bytestring-nums, bytestring-trie 130792 - ({ mkDerivation, base, bytestring, bytestring-nums, bytestring-trie 130793 - template-haskell text time transformers unix unordered-containers 130944 + base containers data-fix Diff directory exceptions filepath Glob 130945 + hedgehog megaparsec neat-interpolation optparse-applicative 130946 + pretty-show prettyprinter process relude serialise split tasty 130947 + tasty-hedgehog tasty-hunit tasty-th template-haskell time unix 130794 130948 ]; 130795 130949 benchmarkHaskellDepends = [ 130796 - ({ mkDerivation, base, bytestring, bytestring-nums, bytestring-trie 130797 - ({ mkDerivation, base, bytestring, bytestring-nums, bytestring-trie 130798 - template-haskell text time transformers unordered-containers 130950 + base criterion data-fix exceptions filepath optparse-applicative 130951 + relude serialise template-haskell time 130799 130952 ]; 130800 130953 ({ mkDerivation, base, bytestring, bytestring-nums, bytestring-trie 130801 130954 license = lib.licenses.bsd3; ··· 131586 131739 libraryHaskellDepends = [ base ]; 131587 131740 ({ mkDerivation, base, bytestring, bytestring-nums, bytestring-trie 131588 131741 license = lib.licenses.asl20; 131742 + platforms = [ 131743 + "aarch64-linux" "armv7l-linux" "i686-linux" "x86_64-linux" 131744 + ]; 131589 131745 }) {}; 131590 131746 131591 131747 ({ mkDerivation, base, bytestring, bytestring-nums, bytestring-trie ··· 136884 137040 license = lib.licenses.mit; 136885 137041 }) {}; 136886 137042 137043 + "hspec_2_8_1" = callPackage 137044 + ({ mkDerivation, base, hspec-core, hspec-discover 137045 + , hspec-expectations, QuickCheck 137046 + }: 137047 + mkDerivation { 137048 + pname = "hspec"; 137049 + version = "2.8.1"; 137050 + sha256 = "1lk7xylld960wld755j1f81zaydxgxq3840np4h6xcp729cf0cq5"; 137051 + libraryHaskellDepends = [ 137052 + base hspec-core hspec-discover hspec-expectations QuickCheck 137053 + ]; 137054 + description = "A Testing Framework for Haskell"; 137055 + license = lib.licenses.mit; 137056 + hydraPlatforms = lib.platforms.none; 137057 + }) {}; 137058 + 136887 137059 "hspec-attoparsec" = callPackage 136888 137060 ({ mkDerivation, attoparsec, base, bytestring, hspec 136889 137061 , hspec-expectations, text ··· 136966 137138 license = lib.licenses.mit; 136967 137139 }) {}; 136968 137140 137141 + "hspec-core_2_8_1" = callPackage 137142 + ({ mkDerivation, ansi-terminal, array, base, call-stack, clock 137143 + , deepseq, directory, filepath, hspec-expectations, hspec-meta 137144 + , HUnit, process, QuickCheck, quickcheck-io, random, setenv 137145 + , silently, stm, temporary, tf-random, transformers 137146 + }: 137147 + mkDerivation { 137148 + pname = "hspec-core"; 137149 + version = "2.8.1"; 137150 + sha256 = "1yha64zfc226pc4952zqwv229kbl8p5grhl7c6wxn2y948rb688a"; 137151 + libraryHaskellDepends = [ 137152 + ansi-terminal array base call-stack clock deepseq directory 137153 + filepath hspec-expectations HUnit QuickCheck quickcheck-io random 137154 + setenv stm tf-random transformers 137155 + ]; 137156 + testHaskellDepends = [ 137157 + ansi-terminal array base call-stack clock deepseq directory 137158 + filepath hspec-expectations hspec-meta HUnit process QuickCheck 137159 + quickcheck-io random setenv silently stm temporary tf-random 137160 + transformers 137161 + ]; 137162 + testToolDepends = [ hspec-meta ]; 137163 + testTarget = "--test-option=--skip --test-option='Test.Hspec.Core.Runner.hspecResult runs specs in parallel'"; 137164 + description = "A Testing Framework for Haskell"; 137165 + license = lib.licenses.mit; 137166 + hydraPlatforms = lib.platforms.none; 137167 + }) {}; 137168 + 136969 137169 "hspec-dirstream" = callPackage 136970 137170 ({ mkDerivation, base, dirstream, filepath, hspec, hspec-core 136971 137171 , pipes, pipes-safe, system-filepath, text ··· 137003 137203 license = lib.licenses.mit; 137004 137204 }) {}; 137005 137205 137206 + "hspec-discover_2_8_1" = callPackage 137207 + ({ mkDerivation, base, directory, filepath, hspec-meta, QuickCheck 137208 + }: 137209 + mkDerivation { 137210 + pname = "hspec-discover"; 137211 + version = "2.8.1"; 137212 + sha256 = "05xzxsxpxf7hyg6zdf7mxx6xb79rxrhd3pz3pwj32a0phbjkicdn"; 137213 + isLibrary = true; 137214 + isExecutable = true; 137215 + libraryHaskellDepends = [ base directory filepath ]; 137216 + executableHaskellDepends = [ base directory filepath ]; 137217 + testHaskellDepends = [ 137218 + base directory filepath hspec-meta QuickCheck 137219 + ]; 137220 + testToolDepends = [ hspec-meta ]; 137221 + description = "Automatically discover and run Hspec tests"; 137222 + license = lib.licenses.mit; 137223 + hydraPlatforms = lib.platforms.none; 137224 + }) {}; 137225 + 137006 137226 "hspec-expectations" = callPackage 137007 137227 ({ mkDerivation, base, call-stack, HUnit, nanospec }: 137008 137228 mkDerivation { ··· 146150 146370 description = "Indexed Types"; 146151 146371 license = lib.licenses.bsd3; 146152 146372 hydraPlatforms = lib.platforms.none; 146373 + maintainers = with lib.maintainers; [ Gabriel439 ]; 146153 146374 broken = true; 146154 146375 }) {}; 146155 146376 ··· 153160 153381 }: 153161 153382 mkDerivation { 153162 153383 pname = "jvm-binary"; 153163 - version = "0.9.0"; 153164 - sha256 = "1ks5mbp1anrgm100sf3ycv1prwm3vj1vyag7l0ihs4cr2sqzq3a2"; 153384 + version = "0.10.0"; 153385 + sha256 = "11c3rhny06zjw8xv830khq1kdjbpzkr7wmzzymld4zcmhfmk9qda"; 153165 153386 enableSeparateDataOutput = true; 153166 153387 libraryHaskellDepends = [ 153167 153388 attoparsec base binary bytestring containers data-binary-ieee754 ··· 160276 160497 description = "Tutorial for the lens library"; 160277 160498 license = lib.licenses.bsd3; 160278 160499 hydraPlatforms = lib.platforms.none; 160500 + maintainers = with lib.maintainers; [ Gabriel439 ]; 160279 160501 broken = true; 160280 160502 }) {}; 160281 160503 ··· 163082 163304 libraryHaskellDepends = [ base bytestring time unix ]; 163083 163305 description = "Bindings to Linux evdev input device interface"; 163084 163306 license = lib.licenses.bsd3; 163307 + platforms = [ 163308 + "aarch64-linux" "armv7l-linux" "i686-linux" "x86_64-linux" 163309 + ]; 163085 163310 }) {}; 163086 163311 163087 163312 "linux-file-extents" = callPackage ··· 163095 163320 libraryHaskellDepends = [ base unix ]; 163096 163321 description = "Retrieve file fragmentation information under Linux"; 163097 163322 license = lib.licenses.bsd3; 163323 + platforms = [ 163324 + "aarch64-linux" "armv7l-linux" "i686-linux" "x86_64-linux" 163325 + ]; 163098 163326 }) {}; 163099 163327 163100 163328 "linux-framebuffer" = callPackage ··· 163118 163346 libraryHaskellDepends = [ base bytestring hashable unix ]; 163119 163347 description = "Thinner binding to the Linux Kernel's inotify interface"; 163120 163348 license = lib.licenses.bsd3; 163349 + platforms = [ 163350 + "aarch64-linux" "armv7l-linux" "i686-linux" "x86_64-linux" 163351 + ]; 163121 163352 }) {}; 163122 163353 163123 163354 "linux-kmod" = callPackage ··· 163143 163374 libraryHaskellDepends = [ base bytestring ]; 163144 163375 description = "Mount and unmount filesystems"; 163145 163376 license = lib.licenses.bsd3; 163377 + platforms = [ 163378 + "aarch64-linux" "armv7l-linux" "i686-linux" "x86_64-linux" 163379 + ]; 163146 163380 }) {}; 163147 163381 163148 163382 "linux-namespaces" = callPackage ··· 163154 163388 libraryHaskellDepends = [ base bytestring unix ]; 163155 163389 description = "Work with linux namespaces: create new or enter existing ones"; 163156 163390 license = lib.licenses.bsd3; 163391 + platforms = [ 163392 + "aarch64-linux" "armv7l-linux" "i686-linux" "x86_64-linux" 163393 + ]; 163157 163394 }) {}; 163158 163395 163159 163396 "linux-perf" = callPackage ··· 163873 164110 testHaskellDepends = [ base doctest ]; 163874 164111 description = "List monad transformer"; 163875 164112 license = lib.licenses.bsd3; 164113 + maintainers = with lib.maintainers; [ Gabriel439 ]; 163876 164114 }) {}; 163877 164115 163878 164116 "list-tries" = callPackage ··· 168550 168788 libraryHaskellDepends = [ base transformers ]; 168551 168789 description = "A monad for managed values"; 168552 168790 license = lib.licenses.bsd3; 168791 + maintainers = with lib.maintainers; [ Gabriel439 ]; 168553 168792 }) {}; 168554 168793 168555 168794 "manatee" = callPackage ··· 174494 174733 license = lib.licenses.bsd3; 174495 174734 }) {}; 174496 174735 174736 + "mixed-types-num_0_5_1_0" = callPackage 174737 + ({ mkDerivation, base, collect-errors, hspec, hspec-smallcheck, mtl 174738 + , QuickCheck, smallcheck, template-haskell 174739 + }: 174740 + mkDerivation { 174741 + pname = "mixed-types-num"; 174742 + version = "0.5.1.0"; 174743 + sha256 = "09dkrx05mlbdvy1334q6zg3ay6k0ydl87naxhg4zr5p51i9p8lsg"; 174744 + libraryHaskellDepends = [ 174745 + base collect-errors hspec hspec-smallcheck mtl QuickCheck 174746 + smallcheck template-haskell 174747 + ]; 174748 + testHaskellDepends = [ 174749 + base collect-errors hspec hspec-smallcheck QuickCheck smallcheck 174750 + ]; 174751 + description = "Alternative Prelude with numeric and logic expressions typed bottom-up"; 174752 + license = lib.licenses.bsd3; 174753 + hydraPlatforms = lib.platforms.none; 174754 + }) {}; 174755 + 174497 174756 "mixpanel-client" = callPackage 174498 174757 ({ mkDerivation, aeson, base, base64-bytestring, bytestring, hspec 174499 174758 , hspec-discover, http-client, http-client-tls, markdown-unlit ··· 174749 175008 description = "Monad morphisms"; 174750 175009 license = lib.licenses.bsd3; 174751 175010 hydraPlatforms = lib.platforms.none; 175011 + maintainers = with lib.maintainers; [ Gabriel439 ]; 174752 175012 }) {}; 174753 175013 174754 175014 "mmorph" = callPackage ··· 174764 175024 ]; 174765 175025 description = "Monad morphisms"; 174766 175026 license = lib.licenses.bsd3; 175027 + maintainers = with lib.maintainers; [ Gabriel439 ]; 174767 175028 }) {}; 174768 175029 174769 175030 "mmsyn2" = callPackage ··· 175022 175283 175023 175284 "mnist-idx-conduit" = callPackage 175024 175285 ({ mkDerivation, base, binary, bytestring, conduit, containers 175025 - , exceptions, resourcet, vector 175286 + , exceptions, hspec, resourcet, vector 175026 175287 }: 175027 175288 mkDerivation { 175028 175289 pname = "mnist-idx-conduit"; 175029 - version = "0.2.0.0"; 175030 - sha256 = "1m6xxw59yyf60zp0s3qd2pmsps482qws2vlnfqjz2wgr4rj0cp1x"; 175290 + version = "0.3.0.0"; 175291 + sha256 = "0vqb4yhb51lykcd66kgh9dn14nf4xfr74hamg72s35aa22lhw932"; 175031 175292 libraryHaskellDepends = [ 175032 - base binary bytestring conduit containers exceptions resourcet 175033 - vector 175293 + base binary bytestring conduit containers exceptions hspec 175294 + resourcet vector 175034 175295 ]; 175296 + testHaskellDepends = [ base bytestring conduit hspec vector ]; 175035 175297 description = "conduit utilities for MNIST IDX files"; 175036 175298 license = lib.licenses.bsd3; 175037 175299 }) {}; ··· 178189 178451 description = "A bare-bones calculus of constructions"; 178190 178452 license = lib.licenses.bsd3; 178191 178453 hydraPlatforms = lib.platforms.none; 178454 + maintainers = with lib.maintainers; [ Gabriel439 ]; 178192 178455 broken = true; 178193 178456 }) {}; 178194 178457 ··· 179773 180036 license = lib.licenses.bsd3; 179774 180037 }) {}; 179775 180038 180039 + "multi-except" = callPackage 180040 + ({ mkDerivation, base, dlist }: 180041 + mkDerivation { 180042 + pname = "multi-except"; 180043 + version = "0.1.0.0"; 180044 + sha256 = "0gqmj28anzl596akgkqpgk5cd4b1ic2m6dxzv3hhnvifyxxflli8"; 180045 + revision = "1"; 180046 + editedCabalFile = "1w1zzsd87qzzad8yqq28hf5amg17i94x9snxvya4pn5raibn24sm"; 180047 + libraryHaskellDepends = [ base dlist ]; 180048 + description = "Multiple Exceptions"; 180049 + license = lib.licenses.mit; 180050 + hydraPlatforms = lib.platforms.none; 180051 + broken = true; 180052 + }) {}; 180053 + 179776 180054 "multi-instance" = callPackage 179777 180055 ({ mkDerivation, base, doctest }: 179778 180056 mkDerivation { ··· 181072 181350 description = "Model-view-controller"; 181073 181351 license = lib.licenses.bsd3; 181074 181352 hydraPlatforms = lib.platforms.none; 181353 + maintainers = with lib.maintainers; [ Gabriel439 ]; 181075 181354 broken = true; 181076 181355 }) {}; 181077 181356 ··· 181085 181364 description = "Concurrent and combinable updates"; 181086 181365 license = lib.licenses.bsd3; 181087 181366 hydraPlatforms = lib.platforms.none; 181367 + maintainers = with lib.maintainers; [ Gabriel439 ]; 181088 181368 }) {}; 181089 181369 181090 181370 "mvclient" = callPackage ··· 183488 183768 executableHaskellDepends = [ base ]; 183489 183769 description = "Netlink communication for Haskell"; 183490 183770 license = lib.licenses.bsd3; 183771 + platforms = [ 183772 + "aarch64-linux" "armv7l-linux" "i686-linux" "x86_64-linux" 183773 + ]; 183491 183774 }) {}; 183492 183775 183493 183776 "netlist" = callPackage ··· 185792 186075 benchmarkHaskellDepends = [ attoparsec base criterion text ]; 185793 186076 description = "Parse and render *.drv files"; 185794 186077 license = lib.licenses.bsd3; 185795 - maintainers = with lib.maintainers; [ sorki ]; 186078 + maintainers = with lib.maintainers; [ Gabriel439 sorki ]; 185796 186079 }) {}; 185797 186080 185798 186081 "nix-diff" = callPackage ··· 185812 186095 ]; 185813 186096 description = "Explain why two Nix derivations differ"; 185814 186097 license = lib.licenses.bsd3; 185815 - maintainers = with lib.maintainers; [ terlar ]; 186098 + maintainers = with lib.maintainers; [ Gabriel439 terlar ]; 185816 186099 }) {}; 185817 186100 185818 186101 "nix-eval" = callPackage ··· 191079 191362 ]; 191080 191363 description = "Optics as an abstract interface"; 191081 191364 license = lib.licenses.bsd3; 191365 + maintainers = with lib.maintainers; [ maralorn ]; 191082 191366 }) {}; 191083 191367 191084 191368 "optics_0_4" = callPackage ··· 191108 191392 description = "Optics as an abstract interface"; 191109 191393 license = lib.licenses.bsd3; 191110 191394 hydraPlatforms = lib.platforms.none; 191395 + maintainers = with lib.maintainers; [ maralorn ]; 191111 191396 }) {}; 191112 191397 191113 191398 "optics-core" = callPackage ··· 191368 191653 libraryHaskellDepends = [ base ]; 191369 191654 description = "Optional function arguments"; 191370 191655 license = lib.licenses.bsd3; 191656 + maintainers = with lib.maintainers; [ Gabriel439 ]; 191371 191657 }) {}; 191372 191658 191373 191659 "options" = callPackage ··· 191494 191780 ]; 191495 191781 description = "Auto-generate a command-line parser for your datatype"; 191496 191782 license = lib.licenses.bsd3; 191783 + maintainers = with lib.maintainers; [ Gabriel439 ]; 191497 191784 }) {}; 191498 191785 191499 191786 "optparse-helper" = callPackage ··· 191774 192061 }: 191775 192062 mkDerivation { 191776 192063 pname = "ordinal"; 191777 - version = "0.4.0.0"; 191778 - sha256 = "1k0hpp5p546zlvwsy1d8hypryfwqvqdifmk3cqifw3xsdrqv3d8y"; 192064 + version = "0.4.0.3"; 192065 + sha256 = "1ar7l68cx9zci7mi6qx7a6ja7vp9axxjczyzxrbnjrvd2k3zxg51"; 191779 192066 libraryHaskellDepends = [ 191780 - base containers data-default regex template-haskell text time 191781 - vector 192067 + base containers data-default QuickCheck regex template-haskell text 192068 + time vector 191782 192069 ]; 191783 192070 testHaskellDepends = [ base hspec QuickCheck text ]; 191784 192071 testToolDepends = [ hspec-discover ]; ··· 193894 194181 license = lib.licenses.bsd3; 193895 194182 }) {}; 193896 194183 194184 + "pantry_0_5_2" = callPackage 194185 + ({ mkDerivation, aeson, ansi-terminal, base, bytestring, Cabal 194186 + , casa-client, casa-types, conduit, conduit-extra, containers 194187 + , cryptonite, cryptonite-conduit, digest, exceptions, filelock 194188 + , generic-deriving, hackage-security, hedgehog, hpack, hspec 194189 + , http-client, http-client-tls, http-conduit, http-download 194190 + , http-types, memory, mtl, network-uri, path, path-io, persistent 194191 + , persistent-sqlite, persistent-template, primitive, QuickCheck 194192 + , raw-strings-qq, resourcet, rio, rio-orphans, rio-prettyprint 194193 + , tar-conduit, text, text-metrics, time, transformers, unix-compat 194194 + , unliftio, unordered-containers, vector, yaml, zip-archive 194195 + }: 194196 + mkDerivation { 194197 + pname = "pantry"; 194198 + version = "0.5.2"; 194199 + sha256 = "0gg4fzqsh4c41vydrwr12kb8ahj0xy0vy7axwpd9j39dzxwcksnv"; 194200 + libraryHaskellDepends = [ 194201 + aeson ansi-terminal base bytestring Cabal casa-client casa-types 194202 + conduit conduit-extra containers cryptonite cryptonite-conduit 194203 + digest filelock generic-deriving hackage-security hpack http-client 194204 + http-client-tls http-conduit http-download http-types memory mtl 194205 + network-uri path path-io persistent persistent-sqlite 194206 + persistent-template primitive resourcet rio rio-orphans 194207 + rio-prettyprint tar-conduit text text-metrics time transformers 194208 + unix-compat unliftio unordered-containers vector yaml zip-archive 194209 + ]; 194210 + testHaskellDepends = [ 194211 + aeson ansi-terminal base bytestring Cabal casa-client casa-types 194212 + conduit conduit-extra containers cryptonite cryptonite-conduit 194213 + digest exceptions filelock generic-deriving hackage-security 194214 + hedgehog hpack hspec http-client http-client-tls http-conduit 194215 + http-download http-types memory mtl network-uri path path-io 194216 + persistent persistent-sqlite persistent-template primitive 194217 + QuickCheck raw-strings-qq resourcet rio rio-orphans rio-prettyprint 194218 + tar-conduit text text-metrics time transformers unix-compat 194219 + unliftio unordered-containers vector yaml zip-archive 194220 + ]; 194221 + description = "Content addressable Haskell package management"; 194222 + license = lib.licenses.bsd3; 194223 + hydraPlatforms = lib.platforms.none; 194224 + }) {}; 194225 + 193897 194226 "pantry-tmp" = callPackage 193898 194227 ({ mkDerivation, aeson, ansi-terminal, array, base, base-orphans 193899 194228 , base64-bytestring, bytestring, Cabal, conduit, conduit-extra ··· 194754 195083 libraryHaskellDepends = [ array base ]; 194755 195084 description = "Simply interfacing the parallel port on linux"; 194756 195085 license = "GPL"; 195086 + platforms = [ 195087 + "aarch64-linux" "armv7l-linux" "i686-linux" "x86_64-linux" 195088 + ]; 194757 195089 }) {}; 194758 195090 194759 195091 "parquet-hs" = callPackage ··· 195640 195972 ]; 195641 195973 description = "Hashing and checking of passwords"; 195642 195974 license = lib.licenses.bsd3; 195975 + platforms = [ "i686-linux" "x86_64-darwin" "x86_64-linux" ]; 195976 + maintainers = with lib.maintainers; [ cdepillabout ]; 195643 195977 }) {}; 195644 195978 195645 195979 "password-instances" = callPackage ··· 195663 195997 ]; 195664 195998 description = "typeclass instances for password package"; 195665 195999 license = lib.licenses.bsd3; 196000 + platforms = [ "i686-linux" "x86_64-darwin" "x86_64-linux" ]; 196001 + maintainers = with lib.maintainers; [ cdepillabout ]; 195666 196002 }) {}; 195667 196003 195668 196004 "password-types" = callPackage ··· 197798 198134 ]; 197799 198135 description = "Serialization library with state and leb128 encoding"; 197800 198136 license = lib.licenses.bsd3; 198137 + platforms = [ "i686-linux" "x86_64-darwin" "x86_64-linux" ]; 197801 198138 }) {}; 197802 198139 197803 198140 "persist2er" = callPackage ··· 197885 198222 maintainers = with lib.maintainers; [ psibi ]; 197886 198223 }) {}; 197887 198224 197888 - "persistent_2_13_0_0" = callPackage 198225 + "persistent_2_13_0_1" = callPackage 197889 198226 ({ mkDerivation, aeson, attoparsec, base, base64-bytestring 197890 198227 , blaze-html, bytestring, conduit, containers, criterion, deepseq 197891 198228 , deepseq-generics, fast-logger, file-embed, hspec, http-api-data ··· 197897 198234 }: 197898 198235 mkDerivation { 197899 198236 pname = "persistent"; 197900 - version = "2.13.0.0"; 197901 - sha256 = "1addkfiaixk076qkdlhjmx97f8bgfmxwna9dv0h7hfvnq8v35bkf"; 197902 - revision = "2"; 197903 - editedCabalFile = "12ylw4rzrjlk2m0qfgqx481k0ifhv5i8z0vy70knjrkgx8d9sfvx"; 198237 + version = "2.13.0.1"; 198238 + sha256 = "0yvipx9y33pr1vz7818w2ylr5zf9bmng8ka70mdb4f563l4ynp96"; 197904 198239 libraryHaskellDepends = [ 197905 198240 aeson attoparsec base base64-bytestring blaze-html bytestring 197906 198241 conduit containers fast-logger http-api-data lift-type monad-logger ··· 200680 201015 ]; 200681 201016 description = "Compositional pipelines"; 200682 201017 license = lib.licenses.bsd3; 201018 + maintainers = with lib.maintainers; [ Gabriel439 ]; 200683 201019 }) {}; 200684 201020 200685 201021 "pipes-aeson" = callPackage ··· 200845 201181 ]; 200846 201182 description = "ByteString support for pipes"; 200847 201183 license = lib.licenses.bsd3; 201184 + maintainers = with lib.maintainers; [ Gabriel439 ]; 200848 201185 }) {}; 200849 201186 200850 201187 "pipes-bzip" = callPackage ··· 201013 201350 testHaskellDepends = [ async base pipes stm ]; 201014 201351 description = "Concurrency for the pipes ecosystem"; 201015 201352 license = lib.licenses.bsd3; 201353 + maintainers = with lib.maintainers; [ Gabriel439 ]; 201016 201354 }) {}; 201017 201355 201018 201356 "pipes-conduit" = callPackage ··· 201075 201413 ]; 201076 201414 description = "Fast, streaming csv parser"; 201077 201415 license = lib.licenses.mit; 201416 + maintainers = with lib.maintainers; [ Gabriel439 ]; 201078 201417 }) {}; 201079 201418 201080 201419 "pipes-errors" = callPackage ··· 201134 201473 ]; 201135 201474 description = "Extra utilities for pipes"; 201136 201475 license = lib.licenses.bsd3; 201476 + maintainers = with lib.maintainers; [ Gabriel439 ]; 201137 201477 }) {}; 201138 201478 201139 201479 "pipes-fastx" = callPackage ··· 201217 201557 testHaskellDepends = [ base doctest lens-family-core ]; 201218 201558 description = "Group streams into substreams"; 201219 201559 license = lib.licenses.bsd3; 201560 + maintainers = with lib.maintainers; [ Gabriel439 ]; 201220 201561 }) {}; 201221 201562 201222 201563 "pipes-http" = callPackage ··· 201234 201575 ]; 201235 201576 description = "HTTP client with pipes interface"; 201236 201577 license = lib.licenses.bsd3; 201578 + maintainers = with lib.maintainers; [ Gabriel439 ]; 201237 201579 }) {}; 201238 201580 201239 201581 "pipes-illumina" = callPackage ··· 201495 201837 libraryHaskellDepends = [ base pipes transformers ]; 201496 201838 description = "Parsing infrastructure for the pipes ecosystem"; 201497 201839 license = lib.licenses.bsd3; 201840 + maintainers = with lib.maintainers; [ Gabriel439 ]; 201498 201841 }) {}; 201499 201842 201500 201843 "pipes-postgresql-simple" = callPackage ··· 201617 201960 ]; 201618 201961 description = "Safety for the pipes ecosystem"; 201619 201962 license = lib.licenses.bsd3; 201963 + maintainers = with lib.maintainers; [ Gabriel439 ]; 201620 201964 }) {}; 201621 201965 201622 201966 "pipes-shell" = callPackage ··· 202619 202963 ]; 202620 202964 description = "Example binaries for plot-light"; 202621 202965 license = lib.licenses.bsd3; 202966 + }) {}; 202967 + 202968 + "ploterific" = callPackage 202969 + ({ mkDerivation, base, bytestring, cassava, containers, hvega 202970 + , hvega-theme, lens, mtl, optparse-generic, text 202971 + }: 202972 + mkDerivation { 202973 + pname = "ploterific"; 202974 + version = "0.1.0.1"; 202975 + sha256 = "03m0zi7izlv8n5jsisym595sn7cfl2p1mhch086ajyd2g6zlxya7"; 202976 + isLibrary = true; 202977 + isExecutable = true; 202978 + libraryHaskellDepends = [ 202979 + base bytestring cassava containers hvega hvega-theme lens mtl 202980 + optparse-generic text 202981 + ]; 202982 + executableHaskellDepends = [ base mtl optparse-generic text ]; 202983 + description = "Basic plotting of tabular data for the command line"; 202984 + license = lib.licenses.gpl3Only; 202622 202985 }) {}; 202623 202986 202624 202987 "plotfont" = callPackage ··· 209849 210212 license = lib.licenses.asl20; 209850 210213 }) {}; 209851 210214 210215 + "proto3-wire_1_2_2" = callPackage 210216 + ({ mkDerivation, base, bytestring, cereal, containers, deepseq 210217 + , doctest, ghc-prim, hashable, parameterized, primitive, QuickCheck 210218 + , safe, tasty, tasty-hunit, tasty-quickcheck, text, transformers 210219 + , unordered-containers, vector 210220 + }: 210221 + mkDerivation { 210222 + pname = "proto3-wire"; 210223 + version = "1.2.2"; 210224 + sha256 = "1fdzml0nsbz1bqf3lskvmfn46pgl5rnrc4b7azq8f0csm0v9ah4d"; 210225 + libraryHaskellDepends = [ 210226 + base bytestring cereal containers deepseq ghc-prim hashable 210227 + parameterized primitive QuickCheck safe text transformers 210228 + unordered-containers vector 210229 + ]; 210230 + testHaskellDepends = [ 210231 + base bytestring cereal doctest QuickCheck tasty tasty-hunit 210232 + tasty-quickcheck text transformers vector 210233 + ]; 210234 + description = "A low-level implementation of the Protocol Buffers (version 3) wire format"; 210235 + license = lib.licenses.asl20; 210236 + hydraPlatforms = lib.platforms.none; 210237 + }) {}; 210238 + 209852 210239 "protobuf" = callPackage 209853 210240 ({ mkDerivation, base, base-orphans, bytestring, cereal, containers 209854 210241 , data-binary-ieee754, deepseq, hex, HUnit, mtl, QuickCheck, tagged ··· 220685 221072 doCheck = false; 220686 221073 description = "Easy-to-use, type-safe, expandable, high-level HTTP client library"; 220687 221074 license = lib.licenses.bsd3; 221075 + maintainers = with lib.maintainers; [ maralorn ]; 220688 221076 }) {}; 220689 221077 220690 221078 "req-conduit" = callPackage ··· 226978 227366 ]; 226979 227367 description = "Generates unique passwords for various websites from a single password"; 226980 227368 license = lib.licenses.bsd3; 227369 + platforms = [ "i686-linux" "x86_64-darwin" "x86_64-linux" ]; 226981 227370 }) {}; 226982 227371 226983 227372 "scc" = callPackage ··· 228137 228526 ]; 228138 228527 description = "Stronger password hashing via sequential memory-hard functions"; 228139 228528 license = lib.licenses.bsd3; 228529 + platforms = [ "i686-linux" "x86_64-darwin" "x86_64-linux" ]; 228140 228530 }) {}; 228141 228531 228142 228532 "scrz" = callPackage ··· 233042 233432 description = "Auto-generate a server for your datatype"; 233043 233433 license = lib.licenses.bsd3; 233044 233434 hydraPlatforms = lib.platforms.none; 233435 + maintainers = with lib.maintainers; [ Gabriel439 ]; 233045 233436 broken = true; 233046 233437 }) {}; 233047 233438 ··· 239408 239799 ]; 239409 239800 description = "Top-level package for the Snap Web Framework"; 239410 239801 license = lib.licenses.bsd3; 239802 + maintainers = with lib.maintainers; [ maralorn ]; 239411 239803 }) {}; 239412 239804 239413 239805 "snap-accept" = callPackage ··· 247555 247947 ]; 247556 247948 description = "Beautiful Streaming, Concurrent and Reactive Composition"; 247557 247949 license = lib.licenses.bsd3; 247950 + maintainers = with lib.maintainers; [ maralorn ]; 247558 247951 }) {}; 247559 247952 247560 247953 "streamly-archive" = callPackage ··· 248228 248621 ({ mkDerivation, base, bytestring, text }: 248229 248622 mkDerivation { 248230 248623 pname = "string-like"; 248231 - version = "0.1.0.0"; 248232 - sha256 = "1b87532fhv2wn6pnzsaw20lzj5j399smlfn7lai0h0ph2axb2dbi"; 248624 + version = "0.1.0.1"; 248625 + sha256 = "1sadf4cdxs3ilax99w1yvkfz2v1n77rj9grck4csjbwswxw2d2dn"; 248233 248626 libraryHaskellDepends = [ base bytestring text ]; 248234 248627 description = "A package that aims to provide a uniform interface to string-like types"; 248235 248628 license = lib.licenses.bsd3; ··· 256106 256499 platforms = [ 256107 256500 "aarch64-linux" "armv7l-linux" "i686-linux" "x86_64-linux" 256108 256501 ]; 256502 + maintainers = with lib.maintainers; [ cdepillabout ]; 256109 256503 }) {inherit (pkgs) gtk3; inherit (pkgs) pcre2; 256110 256504 vte_291 = pkgs.vte;}; 256111 256505 ··· 262275 262669 libraryHaskellDepends = [ base void ]; 262276 262670 description = "Exhaustive pattern matching using lenses, traversals, and prisms"; 262277 262671 license = lib.licenses.bsd3; 262672 + maintainers = with lib.maintainers; [ Gabriel439 ]; 262278 262673 }) {}; 262279 262674 262280 262675 "total-alternative" = callPackage ··· 265151 265546 benchmarkHaskellDepends = [ base criterion text ]; 265152 265547 description = "Shell programming, Haskell-style"; 265153 265548 license = lib.licenses.bsd3; 265549 + maintainers = with lib.maintainers; [ Gabriel439 ]; 265154 265550 }) {}; 265155 265551 265156 265552 "turtle-options" = callPackage ··· 265184 265580 license = lib.licenses.bsd3; 265185 265581 }) {}; 265186 265582 265583 + "twain" = callPackage 265584 + ({ mkDerivation, aeson, base, bytestring, case-insensitive, cookie 265585 + , either, http-types, text, time, transformers, wai, wai-extra 265586 + , warp 265587 + }: 265588 + mkDerivation { 265589 + pname = "twain"; 265590 + version = "1.0.0.0"; 265591 + sha256 = "0brxvqddnhxs4q5hm9g8fzkznk3xjagivy0glfiqrx24p4k8s9yb"; 265592 + libraryHaskellDepends = [ 265593 + aeson base bytestring case-insensitive cookie either http-types 265594 + text time transformers wai wai-extra warp 265595 + ]; 265596 + description = "Tiny web application framework for WAI"; 265597 + license = lib.licenses.bsd3; 265598 + }) {}; 265599 + 265187 265600 "tweak" = callPackage 265188 265601 ({ mkDerivation, base, containers, lens, stm, transformers }: 265189 265602 mkDerivation { ··· 266761 267174 description = "Typed and composable spreadsheets"; 266762 267175 license = lib.licenses.bsd3; 266763 267176 hydraPlatforms = lib.platforms.none; 267177 + maintainers = with lib.maintainers; [ Gabriel439 ]; 266764 267178 }) {}; 266765 267179 266766 267180 "typed-streams" = callPackage ··· 284540 284954 ]; 284541 284955 description = "Testing library for Yampa"; 284542 284956 license = lib.licenses.bsd3; 284957 + hydraPlatforms = lib.platforms.none; 284958 + broken = true; 284543 284959 }) {}; 284544 284960 284545 284961 "yampa2048" = callPackage ··· 285511 285927 license = lib.licenses.mit; 285512 285928 }) {}; 285513 285929 285930 + "yesod-auth-oauth2_0_6_3_1" = callPackage 285931 + ({ mkDerivation, aeson, base, bytestring, cryptonite, errors 285932 + , hoauth2, hspec, http-client, http-conduit, http-types, memory 285933 + , microlens, mtl, safe-exceptions, text, unliftio, uri-bytestring 285934 + , yesod-auth, yesod-core 285935 + }: 285936 + mkDerivation { 285937 + pname = "yesod-auth-oauth2"; 285938 + version = "0.6.3.1"; 285939 + sha256 = "1q49a99n2h1b06zm0smqqxr9jr487b14cf8xmayvkqr0q1q5xrwa"; 285940 + isLibrary = true; 285941 + isExecutable = true; 285942 + libraryHaskellDepends = [ 285943 + aeson base bytestring cryptonite errors hoauth2 http-client 285944 + http-conduit http-types memory microlens mtl safe-exceptions text 285945 + unliftio uri-bytestring yesod-auth yesod-core 285946 + ]; 285947 + testHaskellDepends = [ base hspec uri-bytestring ]; 285948 + description = "OAuth 2.0 authentication plugins"; 285949 + license = lib.licenses.mit; 285950 + hydraPlatforms = lib.platforms.none; 285951 + }) {}; 285952 + 285514 285953 "yesod-auth-pam" = callPackage 285515 285954 ({ mkDerivation, base, hamlet, pam, text, yesod-auth, yesod-core 285516 285955 , yesod-form ··· 285727 286166 ]; 285728 286167 description = "Creation of type-safe, RESTful web applications"; 285729 286168 license = lib.licenses.mit; 286169 + }) {}; 286170 + 286171 + "yesod-core_1_6_20" = callPackage 286172 + ({ mkDerivation, aeson, async, auto-update, base, blaze-html 286173 + , blaze-markup, bytestring, case-insensitive, cereal, clientsession 286174 + , conduit, conduit-extra, containers, cookie, deepseq, entropy 286175 + , fast-logger, gauge, hspec, hspec-expectations, http-types, HUnit 286176 + , memory, monad-logger, mtl, network, parsec, path-pieces 286177 + , primitive, random, resourcet, shakespeare, streaming-commons 286178 + , template-haskell, text, time, transformers, unix-compat, unliftio 286179 + , unordered-containers, vector, wai, wai-extra, wai-logger, warp 286180 + , word8 286181 + }: 286182 + mkDerivation { 286183 + pname = "yesod-core"; 286184 + version = "1.6.20"; 286185 + sha256 = "1f3imbd22i9vl30760063p308byddwxafpl5hdric2z7vmnxayqy"; 286186 + libraryHaskellDepends = [ 286187 + aeson auto-update base blaze-html blaze-markup bytestring 286188 + case-insensitive cereal clientsession conduit conduit-extra 286189 + containers cookie deepseq entropy fast-logger http-types memory 286190 + monad-logger mtl parsec path-pieces primitive random resourcet 286191 + ({ mkDerivation, base, bytestring, bytestring-nums, bytestring-trie 286192 + unliftio unordered-containers vector wai wai-extra wai-logger warp 286193 + word8 286194 + ]; 286195 + testHaskellDepends = [ 286196 + async base bytestring clientsession conduit conduit-extra 286197 + containers cookie hspec hspec-expectations http-types HUnit network 286198 + path-pieces random resourcet shakespeare streaming-commons 286199 + template-haskell text transformers unliftio wai wai-extra warp 286200 + ]; 286201 + benchmarkHaskellDepends = [ 286202 + base blaze-html bytestring gauge shakespeare text 286203 + ]; 286204 + description = "Creation of type-safe, RESTful web applications"; 286205 + license = lib.licenses.mit; 286206 + hydraPlatforms = lib.platforms.none; 285730 286207 }) {}; 285731 286208 285732 286209 "yesod-crud" = callPackage
-34
pkgs/development/haskell-modules/patches/hnix-ref-tf-0.5-support.patch
··· 1 - diff '--color=auto' '--color=never' -r --unified hnix-0.12.0.1/hnix.cabal hnix-patched/hnix.cabal 2 - --- hnix-0.12.0.1/hnix.cabal 2001-09-09 03:46:40.000000000 +0200 3 - +++ hnix-patched/hnix.cabal 2021-05-05 12:07:38.388267353 +0200 4 - @@ -430,7 +430,7 @@ 5 - , parser-combinators >= 1.0.1 && < 1.3 6 - , prettyprinter >= 1.7.0 && < 1.8 7 - , process >= 1.6.3 && < 1.7 8 - - , ref-tf >= 0.4.0 && < 0.5 9 - + , ref-tf >= 0.5 10 - , regex-tdfa >= 1.2.3 && < 1.4 11 - , scientific >= 0.3.6 && < 0.4 12 - , semialign >= 1 && < 1.2 13 - diff '--color=auto' '--color=never' -r --unified hnix-0.12.0.1/src/Nix/Fresh.hs hnix-patched/src/Nix/Fresh.hs 14 - --- hnix-0.12.0.1/src/Nix/Fresh.hs 2001-09-09 03:46:40.000000000 +0200 15 - +++ hnix-patched/src/Nix/Fresh.hs 2021-05-05 12:07:45.841267497 +0200 16 - @@ -65,18 +65,3 @@ 17 - 18 - runFreshIdT :: Functor m => Var m i -> FreshIdT i m a -> m a 19 - runFreshIdT i m = runReaderT (unFreshIdT m) i 20 - - 21 - --- Orphan instance needed by Infer.hs and Lint.hs 22 - - 23 - --- Since there's no forking, it's automatically atomic. 24 - -instance MonadAtomicRef (ST s) where 25 - - atomicModifyRef r f = do 26 - - v <- readRef r 27 - - let (a, b) = f v 28 - - writeRef r a 29 - - return b 30 - - atomicModifyRef' r f = do 31 - - v <- readRef r 32 - - let (a, b) = f v 33 - - writeRef r $! a 34 - - return b
+2 -2
pkgs/development/libraries/gensio/default.nix
··· 8 8 9 9 stdenv.mkDerivation rec { 10 10 pname = "gensio"; 11 - version = "2.2.4"; 11 + version = "2.2.5"; 12 12 13 13 src = fetchFromGitHub { 14 14 owner = "cminyard"; 15 15 repo = pname; 16 16 rev = "v${version}"; 17 - sha256 = "sha256-tdMdIudB8zZWXF+Q0YhFo9Q4VHjLJh3rdfQsYhgo2DU="; 17 + sha256 = "sha256-QC07NGgZa++qHyGZY3fjosjJVuRFfc7HYmdGxQHAz4s="; 18 18 }; 19 19 20 20 passthru = {
+6
pkgs/development/libraries/gtk-sharp/3.0.nix
··· 42 42 url = "https://github.com/mono/gtk-sharp/commit/401df51bc461de93c1a78b6a7a0d5adc63cf186c.patch"; 43 43 sha256 = "0hrkcr5a7wkixnyp60v4d6j3arsb63h54rd30lc5ajfjb3p92kcf"; 44 44 }) 45 + # @see https://github.com/mono/gtk-sharp/pull/263 46 + (fetchpatch { 47 + name = "disambiguate_Gtk.Range.patch"; 48 + url = "https://github.com/mono/gtk-sharp/commit/a00552ad68ae349e89e440dca21b86dbd6bccd30.patch"; 49 + sha256 = "1ylplr9g9x7ybsgrydsgr6p3g7w6i46yng1hnl3afgn4vj45rag2"; 50 + }) 45 51 ]; 46 52 47 53 dontStrip = true;
+2 -1
pkgs/development/libraries/libspnav/default.nix
··· 1 - { stdenv, lib, fetchFromGitHub, libX11}: 1 + { stdenv, lib, fetchFromGitHub, libX11, fixDarwinDylibNames }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 version = "0.2.3"; ··· 11 11 sha256 = "098h1jhlj87axpza5zgy58prp0zn94wyrbch6x0s7q4mzh7dc8ba"; 12 12 }; 13 13 14 + nativeBuildInputs = lib.optional stdenv.isDarwin fixDarwinDylibNames; 14 15 buildInputs = [ libX11 ]; 15 16 16 17 configureFlags = [ "--disable-debug"];
+2 -2
pkgs/development/python-modules/brother/default.nix
··· 11 11 12 12 buildPythonPackage rec { 13 13 pname = "brother"; 14 - version = "1.0.1"; 14 + version = "1.0.2"; 15 15 disabled = pythonOlder "3.8"; 16 16 17 17 src = fetchFromGitHub { 18 18 owner = "bieniu"; 19 19 repo = pname; 20 20 rev = version; 21 - sha256 = "sha256-Cfut6Y4Hln32g4V13xbOo5JdjPv2cH6FCDqvRRyijIA="; 21 + sha256 = "sha256-xs/GIsJUuKKbDotV1BeT/ng86UVkNsH48uHR4i3vqow="; 22 22 }; 23 23 24 24 nativeBuildInputs = [
+31 -5
pkgs/development/python-modules/clickhouse-driver/default.nix
··· 1 1 { lib 2 2 , buildPythonPackage 3 - , fetchPypi 3 + , fetchFromGitHub 4 4 , setuptools 5 5 , pytz 6 6 , tzlocal ··· 10 10 , freezegun 11 11 , mock 12 12 , nose 13 + , pytestCheckHook 14 + , pytest-xdist 13 15 }: 14 16 15 17 buildPythonPackage rec { 16 18 pname = "clickhouse-driver"; 17 19 version = "0.2.0"; 18 20 19 - src = fetchPypi { 20 - inherit pname version; 21 - sha256 = "62d37f93872d5a13eb6b0d52bab2b593ed0e14cf9200949aa2d02f9801064c0f"; 21 + # pypi source doesn't contain tests 22 + src = fetchFromGitHub { 23 + owner = "mymarilyn"; 24 + repo = "clickhouse-driver"; 25 + rev = "96b7ba448c63ca2670cc9aa70d4a0e08826fb650"; 26 + sha256 = "sha256-HFKUxJOlBCVlu7Ia8heGpwX6+HdKuwSy92s3v+GKGwE="; 22 27 }; 23 28 24 29 propagatedBuildInputs = [ ··· 34 39 freezegun 35 40 mock 36 41 nose 42 + pytest-xdist 43 + pytestCheckHook 37 44 ]; 38 45 39 - doCheck = true; 46 + postPatch = '' 47 + substituteInPlace setup.py \ 48 + --replace "lz4<=3.0.1" "lz4<=4" 49 + ''; 50 + 51 + # remove source to prevent pytest testing source instead of the build artifacts 52 + # (the source doesn't contain the extension modules) 53 + preCheck = '' 54 + rm -rf clickhouse_driver 55 + ''; 56 + 57 + # some test in test_buffered_reader.py doesn't seem to return 58 + disabledTestPaths = [ "tests/test_buffered_reader.py" ]; 59 + 60 + pytestFlagsArray = [ "-n" "$NIX_BUILD_CORES" ]; 61 + 62 + # most tests require `clickhouse` 63 + # TODO: enable tests after `clickhouse` unbroken 64 + doCheck = false; 65 + 40 66 pythonImportsCheck = [ "clickhouse_driver" ]; 41 67 42 68 meta = with lib; {
+4 -4
pkgs/development/python-modules/flask-appbuilder/default.nix
··· 1 1 { lib 2 2 , buildPythonPackage 3 3 , fetchPypi 4 - , nose 5 4 , apispec 6 5 , colorama 7 6 , click ··· 27 26 28 27 buildPythonPackage rec { 29 28 pname = "flask-appbuilder"; 30 - version = "3.2.3"; 29 + version = "3.3.0"; 31 30 32 31 src = fetchPypi { 33 32 pname = "Flask-AppBuilder"; 34 33 inherit version; 35 - sha256 = "sha256-+ZYrn2LnVORyYsnZtsH3JX+4XbGgAZZ/Eh6O5gUP+y4="; 34 + sha256 = "00dsfv1apl6483wy20aj91f9h5ak2casbx5vcajv2nd3i7c7v8gx"; 36 35 }; 37 36 38 37 patches = [ 38 + # https://github.com/dpgaspar/Flask-AppBuilder/pull/1610 39 39 (fetchpatch { 40 40 name = "flask_jwt_extended-and-pyjwt-patch"; 41 41 url = "https://github.com/dpgaspar/Flask-AppBuilder/commit/7097a7b133f27c78d2b54d2a46e4a4c24478a066.patch"; ··· 75 75 --replace "marshmallow-sqlalchemy>=0.22.0, <0.24.0" "marshmallow-sqlalchemy >=0.22.0, <0.25.0" 76 76 ''; 77 77 78 - # majority of tests require network access or mongo 78 + # Majority of tests require network access or mongo 79 79 doCheck = false; 80 80 81 81 pythonImportsCheck = [ "flask_appbuilder" ];
+2 -7
pkgs/development/python-modules/karton-asciimagic/default.nix
··· 7 7 8 8 buildPythonPackage rec { 9 9 pname = "karton-asciimagic"; 10 - version = "1.0.0"; 10 + version = "1.0.1"; 11 11 12 12 src = fetchFromGitHub { 13 13 owner = "CERT-Polska"; 14 14 repo = pname; 15 15 rev = "v${version}"; 16 - sha256 = "0yvd0plpwy5qkd2jljpd6wm6dlj2g8csvj1q2md23vsgx7h7v2vm"; 16 + sha256 = "0d15fhb3y0jpwdfm4y11i6pmfa9szr943cm6slvf0ir31f9nznyz"; 17 17 }; 18 18 19 19 propagatedBuildInputs = [ 20 20 karton-core 21 21 ]; 22 - 23 - postPatch = '' 24 - substituteInPlace requirements.txt \ 25 - --replace "karton.core==4.0.5" "karton-core" 26 - ''; 27 22 28 23 checkPhase = '' 29 24 runHook preCheck
+2 -3
pkgs/development/python-modules/karton-classifier/default.nix
··· 9 9 10 10 buildPythonPackage rec { 11 11 pname = "karton-classifier"; 12 - version = "1.0.0"; 12 + version = "1.1.0"; 13 13 14 14 src = fetchFromGitHub { 15 15 owner = "CERT-Polska"; 16 16 repo = pname; 17 17 rev = "v${version}"; 18 - sha256 = "05pxv0smrzgmljykc6yx0rx8b85ck7fa09xjkjw0dd7lb6bb19a6"; 18 + sha256 = "0s09mzsw546klnvm59wzj9vdwd2hyzgxvapi20k86q3prs9ncds6"; 19 19 }; 20 20 21 21 propagatedBuildInputs = [ ··· 27 27 postPatch = '' 28 28 substituteInPlace requirements.txt \ 29 29 --replace "chardet==3.0.4" "chardet" \ 30 - --replace "karton-core==4.0.4" "karton-core" \ 31 30 --replace "python-magic==0.4.18" "python-magic" 32 31 ''; 33 32
+2 -2
pkgs/development/python-modules/karton-config-extractor/default.nix
··· 7 7 8 8 buildPythonPackage rec { 9 9 pname = "karton-config-extractor"; 10 - version = "2.0.0"; 10 + version = "2.0.1"; 11 11 12 12 src = fetchFromGitHub { 13 13 owner = "CERT-Polska"; 14 14 repo = pname; 15 15 rev = "v${version}"; 16 - sha256 = "sha256-vijyqki2x813H2xbmz2JIXlh87J5l6NFoZcOu8xi61o="; 16 + sha256 = "1kq0gbfz9y0n0bcblyrmwv4la3lcf86lf80794sdvyvn49g0brny"; 17 17 }; 18 18 19 19 propagatedBuildInputs = [
+3 -4
pkgs/development/python-modules/karton-dashboard/default.nix
··· 9 9 10 10 buildPythonPackage rec { 11 11 pname = "karton-dashboard"; 12 - version = "1.1.0"; 12 + version = "1.2.0"; 13 13 14 14 src = fetchFromGitHub { 15 15 owner = "CERT-Polska"; 16 16 repo = pname; 17 17 rev = "v${version}"; 18 - sha256 = "101qmx6nmiim0vrz2ldk973ns498hnxla1xy7nys9kh9wijg4msk"; 18 + sha256 = "0qygv9lkd1jad5b4l0zz6hsi7m8q0fmpwaa6hpp7p9x6ql7gnyl8"; 19 19 }; 20 20 21 21 propagatedBuildInputs = [ ··· 27 27 28 28 postPatch = '' 29 29 substituteInPlace requirements.txt \ 30 - --replace "Flask==1.1.1" "Flask" \ 31 - --replace "karton-core==4.1.0" "karton-core" 30 + --replace "Flask==1.1.1" "Flask" 32 31 ''; 33 32 34 33 # Project has no tests. pythonImportsCheck requires MinIO configuration
+3 -4
pkgs/development/python-modules/karton-mwdb-reporter/default.nix
··· 7 7 8 8 buildPythonPackage rec { 9 9 pname = "karton-mwdb-reporter"; 10 - version = "1.0.0"; 10 + version = "1.0.1"; 11 11 12 12 src = fetchFromGitHub { 13 13 owner = "CERT-Polska"; 14 14 repo = pname; 15 15 rev = "v${version}"; 16 - sha256 = "0ks8jrc4v87q6zhwqg40w6xv2wfkzslmnfmsmmkfjj8mak8nk70f"; 16 + sha256 = "0jrn5c83nhcjny4bc879wrsgcr7mbazm51jzdkxmxyqf543cc841"; 17 17 }; 18 18 19 19 propagatedBuildInputs = [ ··· 23 23 24 24 postPatch = '' 25 25 substituteInPlace requirements.txt \ 26 - --replace "karton-core==4.0.4" "karton-core" \ 27 - --replace "mwdblib==3.3.1" "mwdblib" 26 + --replace "mwdblib==3.4.0" "mwdblib" 28 27 ''; 29 28 30 29 # Project has no tests
+2 -2
pkgs/development/python-modules/pyflume/default.nix
··· 12 12 13 13 buildPythonPackage rec { 14 14 pname = "pyflume"; 15 - version = "0.6.4"; 15 + version = "0.7.0"; 16 16 disabled = pythonOlder "3.7"; 17 17 18 18 src = fetchFromGitHub { 19 19 owner = "ChrisMandich"; 20 20 repo = "PyFlume"; 21 21 rev = "v${version}"; 22 - sha256 = "1dm560hh6fl1waiwsq8m31apmvvwhc3y95bfdb7449bs8k96dmxq"; 22 + sha256 = "129sz33a270v120bzl9l98nmvdzn7ns4cf9w2v18lmzlldbyz2vn"; 23 23 }; 24 24 25 25 prePatch = ''
+2 -2
pkgs/development/python-modules/pysonos/default.nix
··· 14 14 15 15 buildPythonPackage rec { 16 16 pname = "pysonos"; 17 - version = "0.0.46"; 17 + version = "0.0.49"; 18 18 19 19 disabled = !isPy3k; 20 20 ··· 23 23 owner = "amelchio"; 24 24 repo = pname; 25 25 rev = "v${version}"; 26 - sha256 = "sha256-5vQBSKDgzwdWkyGduq2cWa7Eq5l01gbs236H2Syc/Dc="; 26 + sha256 = "sha256-f8MBf2E7kHzvdt7oBwdJZ91jlU6I5np1FhOmxgxbqYw="; 27 27 }; 28 28 29 29 propagatedBuildInputs = [
+34 -28
pkgs/development/python-modules/pythonnet/default.nix
··· 2 2 , fetchPypi 3 3 , fetchNuGet 4 4 , buildPythonPackage 5 - , python 6 - , pytest 5 + , pytestCheckHook 7 6 , pycparser 8 7 , psutil 9 8 , pkg-config ··· 15 14 16 15 let 17 16 18 - UnmanagedExports127 = fetchNuGet { 19 - baseName = "UnmanagedExports"; 20 - version = "1.2.7"; 21 - sha256 = "0bfrhpmq556p0swd9ssapw4f2aafmgp930jgf00sy89hzg2bfijf"; 22 - outputFiles = [ "*" ]; 23 - }; 24 - 25 - NUnit371 = fetchNuGet { 26 - baseName = "NUnit"; 27 - version = "3.7.1"; 28 - sha256 = "1yc6dwaam4w2ss1193v735nnl79id78yswmpvmjr1w4bgcbdza4l"; 29 - outputFiles = [ "*" ]; 30 - }; 17 + dotnetPkgs = [ 18 + (fetchNuGet { 19 + baseName = "UnmanagedExports"; 20 + version = "1.2.7"; 21 + sha256 = "0bfrhpmq556p0swd9ssapw4f2aafmgp930jgf00sy89hzg2bfijf"; 22 + outputFiles = [ "*" ]; 23 + }) 24 + (fetchNuGet { 25 + baseName = "NUnit"; 26 + version = "3.12.0"; 27 + sha256 = "1880j2xwavi8f28vxan3hyvdnph4nlh5sbmh285s4lc9l0b7bdk2"; 28 + outputFiles = [ "*" ]; 29 + }) 30 + (fetchNuGet { 31 + baseName = "System.ValueTuple"; 32 + version = "4.5.0"; 33 + sha256 = "00k8ja51d0f9wrq4vv5z2jhq8hy31kac2rg0rv06prylcybzl8cy"; 34 + outputFiles = [ "*" ]; 35 + }) 36 + ]; 31 37 32 38 in 33 39 34 40 buildPythonPackage rec { 35 41 pname = "pythonnet"; 36 - version = "2.4.0"; 42 + version = "2.5.2"; 37 43 38 44 src = fetchPypi { 39 45 inherit pname version; 40 - sha256 = "1ach9jic7a9rd3vmc4bphkr9fq01a0qk81f8a7gr9npwzmkqx8x3"; 46 + sha256 = "1qzdc6jd7i9j7p6bcihnr98y005gv1358xqdr1plpbpnl6078a5p"; 41 47 }; 42 48 43 49 postPatch = '' ··· 50 56 ''; 51 57 52 58 nativeBuildInputs = [ 53 - pytest 54 59 pycparser 55 60 56 61 pkg-config ··· 59 64 60 65 mono 61 66 62 - NUnit371 63 - UnmanagedExports127 64 - ]; 67 + ] ++ dotnetPkgs; 65 68 66 69 buildInputs = [ 67 70 glib 68 71 mono 72 + ]; 73 + 74 + checkInputs = [ 75 + pytestCheckHook 69 76 psutil # needed for memory leak tests 70 77 ]; 71 78 ··· 73 80 rm -rf packages 74 81 mkdir packages 75 82 76 - ln -s ${NUnit371}/lib/dotnet/NUnit/ packages/NUnit.3.7.1 77 - ln -s ${UnmanagedExports127}/lib/dotnet/NUnit/ packages/UnmanagedExports.1.2.7 83 + ${builtins.concatStringsSep "\n" ( 84 + builtins.map ( 85 + x: ''ln -s ${x}/lib/dotnet/${x.baseName} ./packages/${x.baseName}.${x.version}'' 86 + ) dotnetPkgs)} 78 87 79 88 # Setting TERM=xterm fixes an issue with terminfo in mono: System.Exception: Magic number is wrong: 542 80 89 export TERM=xterm 81 90 ''; 82 91 83 - checkPhase = '' 84 - ${python.interpreter} -m pytest 85 - ''; 86 - 87 92 meta = with lib; { 88 93 description = ".Net and Mono integration for Python"; 89 94 homepage = "https://pythonnet.github.io"; 90 95 license = licenses.mit; 96 + # <https://github.com/pythonnet/pythonnet/issues/898> 97 + badPlatforms = [ "aarch64-linux" ]; 91 98 maintainers = with maintainers; [ jraygauthier ]; 92 - broken = true; 93 99 }; 94 100 }
+20 -8
pkgs/development/python-modules/requests-http-signature/default.nix
··· 1 1 { lib 2 2 , buildPythonPackage 3 3 , fetchFromGitHub 4 - , requests 5 4 , cryptography 6 - , python 5 + , requests 6 + , pytestCheckHook 7 7 }: 8 8 9 9 buildPythonPackage rec { 10 10 pname = "requests-http-signature"; 11 - version = "0.1.0"; 11 + version = "0.2.0"; 12 12 13 13 # .pem files for tests aren't present on PyPI 14 14 src = fetchFromGitHub { 15 15 owner = "pyauth"; 16 16 repo = pname; 17 17 rev = "v${version}"; 18 - sha256 = "0y96wsbci296m1rcxx0ybx8r44rdvyb59p1jl27p7rgz7isr3kx1"; 18 + sha256 = "1jsplqrxadjsc86f0kb6dgpblgwplxrpi0ql1a714w8pbbz4z3h7"; 19 19 }; 20 20 21 - propagatedBuildInputs = [ requests cryptography ]; 21 + propagatedBuildInputs = [ 22 + cryptography 23 + requests 24 + ]; 22 25 23 - checkPhase = '' 24 - ${python.interpreter} test/test.py 25 - ''; 26 + checkInputs = [ 27 + pytestCheckHook 28 + ]; 29 + 30 + pytestFlagsArray = [ "test/test.py" ]; 31 + 32 + disabledTests = [ 33 + # Test require network access 34 + "test_readme_example" 35 + ]; 36 + 37 + pythonImportsCheck = [ "requests_http_signature" ]; 26 38 27 39 meta = with lib; { 28 40 description = "A Requests auth module for HTTP Signature";
+28
pkgs/development/python-modules/sphinxcontrib-actdiag/default.nix
··· 1 + { lib 2 + , buildPythonPackage 3 + , fetchPypi 4 + , sphinx 5 + , actdiag 6 + , blockdiag 7 + }: 8 + 9 + buildPythonPackage rec { 10 + pname = "sphinxcontrib-actdiag"; 11 + version = "2.0.0"; 12 + 13 + src = fetchPypi { 14 + inherit pname version; 15 + hash = "sha256-TtuFZOLkig4MULLndDQlrTTx8RiGw34MsjmXoPladMY="; 16 + }; 17 + 18 + propagatedBuildInputs = [ sphinx actdiag blockdiag ]; 19 + 20 + pythonImportsCheck = [ "sphinxcontrib.actdiag" ]; 21 + 22 + meta = with lib; { 23 + description = "Sphinx actdiag extension"; 24 + homepage = "https://github.com/blockdiag/sphinxcontrib-actdiag"; 25 + maintainers = with maintainers; [ davidtwco ]; 26 + license = licenses.bsd2; 27 + }; 28 + }
+28
pkgs/development/python-modules/sphinxcontrib-nwdiag/default.nix
··· 1 + { lib 2 + , buildPythonPackage 3 + , fetchPypi 4 + , sphinx 5 + , blockdiag 6 + , nwdiag 7 + }: 8 + 9 + buildPythonPackage rec { 10 + pname = "sphinxcontrib-nwdiag"; 11 + version = "2.0.0"; 12 + 13 + src = fetchPypi { 14 + inherit pname version; 15 + hash = "sha256-bula1DutRv6NwfZRhciZfLHRZmXu42p+qvbeExN/+Fk="; 16 + }; 17 + 18 + propagatedBuildInputs = [ sphinx blockdiag nwdiag ]; 19 + 20 + pythonImportsCheck = [ "sphinxcontrib.nwdiag" ]; 21 + 22 + meta = with lib; { 23 + description = "Sphinx nwdiag extension"; 24 + homepage = "https://github.com/blockdiag/sphinxcontrib-nwdiag"; 25 + maintainers = with maintainers; [ davidtwco ]; 26 + license = licenses.bsd2; 27 + }; 28 + }
+28
pkgs/development/python-modules/sphinxcontrib-seqdiag/default.nix
··· 1 + { lib 2 + , buildPythonPackage 3 + , fetchPypi 4 + , sphinx 5 + , blockdiag 6 + , seqdiag 7 + }: 8 + 9 + buildPythonPackage rec { 10 + pname = "sphinxcontrib-seqdiag"; 11 + version = "2.0.0"; 12 + 13 + src = fetchPypi { 14 + inherit pname version; 15 + hash = "sha256-THJ1ra/W2X/lQaDjGbL27VMn0lWPJApwgKMrPhL0JY0="; 16 + }; 17 + 18 + propagatedBuildInputs = [ sphinx blockdiag seqdiag ]; 19 + 20 + pythonImportsCheck = [ "sphinxcontrib.seqdiag" ]; 21 + 22 + meta = with lib; { 23 + description = "Sphinx seqdiag extension"; 24 + homepage = "https://github.com/blockdiag/sphinxcontrib-seqdiag"; 25 + maintainers = with maintainers; [ davidtwco ]; 26 + license = licenses.bsd2; 27 + }; 28 + }
+2
pkgs/development/python-modules/stem/default.nix
··· 12 12 postPatch = '' 13 13 rm test/unit/installation.py 14 14 sed -i "/test.unit.installation/d" test/settings.cfg 15 + # https://github.com/torproject/stem/issues/56 16 + sed -i '/MOCK_VERSION/d' run_tests.py 15 17 ''; 16 18 17 19 checkInputs = [ mock ];
+2 -2
pkgs/development/python-modules/zeroconf/default.nix
··· 9 9 10 10 buildPythonPackage rec { 11 11 pname = "zeroconf"; 12 - version = "0.30.0"; 12 + version = "0.31.0"; 13 13 disabled = pythonOlder "3.6"; 14 14 15 15 src = fetchPypi { 16 16 inherit pname version; 17 - sha256 = "sha256-elpjZq4FpI2wTf1ciILumKE/LQ4fxtCaXxvQo9HRCcc="; 17 + sha256 = "sha256-U6GAJIRxxvgb0f/8vOA+2T19jq8QkFyRIaweqZbRmEQ="; 18 18 }; 19 19 20 20 propagatedBuildInputs = [ ifaddr ];
+1
pkgs/development/r-modules/default.nix
··· 379 379 packagesWithBuildInputs = { 380 380 # sort -t '=' -k 2 381 381 gam = lib.optionals stdenv.isDarwin [ pkgs.libiconv ]; 382 + RcppArmadillo = lib.optionals stdenv.isDarwin [ pkgs.libiconv ]; 382 383 quantreg = lib.optionals stdenv.isDarwin [ pkgs.libiconv ]; 383 384 rmutil = lib.optionals stdenv.isDarwin [ pkgs.libiconv ]; 384 385 robustbase = lib.optionals stdenv.isDarwin [ pkgs.libiconv ];
+8 -4
pkgs/development/tools/analysis/nix-linter/default.nix
··· 17 17 , containers 18 18 , hnix 19 19 , bytestring 20 + , fetchpatch 20 21 }: 21 22 22 23 mkDerivation rec { ··· 36 37 executableHaskellDepends = [ streamly mtl path pretty-terminal text base aeson cmdargs containers hnix bytestring path-io ]; 37 38 testHaskellDepends = [ tasty tasty-hunit tasty-th ]; 38 39 39 - # Relax upper bound on hnix https://github.com/Synthetica9/nix-linter/pull/46 40 - postPatch = '' 41 - substituteInPlace nix-linter.cabal --replace "hnix >=0.8 && < 0.11" "hnix >=0.8" 42 - ''; 40 + patches = [ 41 + # Fix compatibility with hnix≥0.13.0 https://github.com/Synthetica9/nix-linter/pull/51 42 + (fetchpatch { 43 + url = "https://github.com/Synthetica9/nix-linter/commit/f73acacd8623dc25c9a35f8e04e4ff33cc596af8.patch"; 44 + sha256 = "139fm21hdg3vcw8hv35kxj4awd52bjqbb76mpzx191hzi9plj8qc"; 45 + }) 46 + ]; 43 47 44 48 description = "Linter for Nix(pkgs), based on hnix"; 45 49 homepage = "https://github.com/Synthetica9/nix-linter";
+2 -2
pkgs/development/tools/luaformatter/default.nix
··· 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "luaformatter"; 5 - version = "1.3.5"; 5 + version = "1.3.6"; 6 6 7 7 src = fetchFromGitHub { 8 8 owner = "koihik"; 9 9 repo = "luaformatter"; 10 10 rev = version; 11 - sha256 = "sha256-TMo6zRfhVAXVh0tIC0PecaJCKr0ev45jOKm2+reTtS4="; 11 + sha256 = "0440kdab5i0vhlk71sbprdrhg362al8jqpy7w2vdhcz1fpi5cm0b"; 12 12 fetchSubmodules = true; 13 13 }; 14 14
+5 -3
pkgs/development/tools/misc/texlab/default.nix
··· 3 3 , rustPlatform 4 4 , fetchFromGitHub 5 5 , installShellFiles 6 + , libiconv 6 7 , Security 8 + , CoreServices 7 9 }: 8 10 9 11 rustPlatform.buildRustPackage rec { ··· 23 25 24 26 nativeBuildInputs = [ installShellFiles ]; 25 27 26 - buildInputs = lib.optionals stdenv.isDarwin [ Security ]; 28 + buildInputs = lib.optionals stdenv.isDarwin [ libiconv Security CoreServices ]; 27 29 28 30 postInstall = '' 29 31 installManPage texlab.1 ··· 32 34 # links to the generated rlib and doesn't reference the dylib. I 33 35 # couldn't find any way to prevent building this by passing cargo flags. 34 36 # See https://gitlab.com/Kanedias/html2md/-/blob/0.2.10/Cargo.toml#L20 35 - rm "$out/lib/libhtml2md.so" 37 + rm "$out/lib/libhtml2md${stdenv.hostPlatform.extensions.sharedLibrary}" 36 38 rmdir "$out/lib" 37 - ''; 39 + ''; 38 40 39 41 meta = with lib; { 40 42 description = "An implementation of the Language Server Protocol for LaTeX";
+1 -1
pkgs/development/tools/ocaml/dune/1.nix
··· 2 2 3 3 if !lib.versionAtLeast ocaml.version "4.02" 4 4 || lib.versionAtLeast ocaml.version "4.12" 5 - then throw "dune is not available for OCaml ${ocaml.version}" 5 + then throw "dune 1 is not available for OCaml ${ocaml.version}" 6 6 else 7 7 8 8 stdenv.mkDerivation rec {
+1 -1
pkgs/development/tools/ocaml/dune/2.nix
··· 1 1 { lib, stdenv, fetchurl, ocaml, findlib }: 2 2 3 3 if lib.versionOlder ocaml.version "4.08" 4 - then throw "dune is not available for OCaml ${ocaml.version}" 4 + then throw "dune 2 is not available for OCaml ${ocaml.version}" 5 5 else 6 6 7 7 stdenv.mkDerivation rec {
+5 -6
pkgs/development/tools/scenebuilder/default.nix
··· 1 - { lib, stdenv, fetchFromGitHub, jdk, gradleGen, makeDesktopItem, copyDesktopItems, perl, writeText, runtimeShell, makeWrapper, glib, wrapGAppsHook }: 1 + { lib, stdenv, fetchFromGitHub, jdk11, gradleGen, makeDesktopItem, copyDesktopItems, perl, writeText, runtimeShell, makeWrapper, glib, wrapGAppsHook }: 2 2 let 3 - # The default one still uses jdk8 (#89731) 4 - gradle = (gradleGen.override (old: { java = jdk; })).gradle_6_8; 3 + gradle = (gradleGen.override (old: { java = jdk11; })).gradle_6_8; 5 4 6 5 pname = "scenebuilder"; 7 6 version = "15.0.1"; ··· 17 16 name = "${pname}-deps"; 18 17 inherit src; 19 18 20 - nativeBuildInputs = [ jdk perl gradle ]; 19 + nativeBuildInputs = [ jdk11 perl gradle ]; 21 20 22 21 buildPhase = '' 23 22 export GRADLE_USER_HOME=$(mktemp -d); ··· 77 76 in stdenv.mkDerivation rec { 78 77 inherit pname src version; 79 78 80 - nativeBuildInputs = [ jdk gradle makeWrapper glib wrapGAppsHook ]; 79 + nativeBuildInputs = [ jdk11 gradle makeWrapper glib wrapGAppsHook ]; 81 80 82 81 dontWrapGApps = true; # prevent double wrapping 83 82 ··· 101 100 ''; 102 101 103 102 postFixup = '' 104 - makeWrapper ${jdk}/bin/java $out/bin/${pname} --add-flags "-jar $out/share/${pname}/${pname}.jar" "''${gappsWrapperArgs[@]}" 103 + makeWrapper ${jdk11}/bin/java $out/bin/${pname} --add-flags "-jar $out/share/${pname}/${pname}.jar" "''${gappsWrapperArgs[@]}" 105 104 ''; 106 105 107 106 desktopItems = [ desktopItem ];
+2 -2
pkgs/development/web/cog/default.nix
··· 17 17 18 18 stdenv.mkDerivation rec { 19 19 pname = "cog"; 20 - version = "0.8.0"; 20 + version = "0.8.1"; 21 21 22 22 src = fetchFromGitHub { 23 23 owner = "igalia"; 24 24 repo = "cog"; 25 25 rev = "v${version}"; 26 - sha256 = "sha256-E6rACj25rdV5dww91PzYEX1r2A9YLNgAVyiYceP1KI8="; 26 + sha256 = "sha256-eF7rvOjZntcMmn622342yqfp4ksZ6R/FFBT36bYCViE="; 27 27 }; 28 28 29 29 buildInputs = [
+3 -1
pkgs/development/web/deno/default.nix
··· 11 11 , CoreServices 12 12 , Metal 13 13 , Foundation 14 + , QuartzCore 14 15 , librusty_v8 ? callPackage ./librusty_v8.nix { } 15 16 }: 16 17 ··· 31 32 32 33 buildAndTestSubdir = "cli"; 33 34 34 - buildInputs = lib.optionals stdenv.isDarwin [ libiconv libobjc Security CoreServices Metal Foundation ]; 35 + buildInputs = lib.optionals stdenv.isDarwin 36 + [ libiconv libobjc Security CoreServices Metal Foundation QuartzCore ]; 35 37 36 38 # The rusty_v8 package will try to download a `librusty_v8.a` release at build time to our read-only filesystem 37 39 # To avoid this we pre-download the file and place it in the locations it will require it in advance
+14 -3
pkgs/misc/drivers/spacenavd/default.nix
··· 1 - { stdenv, lib, fetchFromGitHub, libX11 }: 1 + { stdenv, lib, fetchFromGitHub, fetchpatch, libX11, IOKit }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 version = "0.8"; ··· 11 11 sha256 = "1zz0cm5cgvp9s5n4nzksl8rb11c7sw214bdafzra74smvqfjcjcf"; 12 12 }; 13 13 14 - buildInputs = [ libX11 ]; 14 + patches = [ 15 + # Fixes Darwin: https://github.com/FreeSpacenav/spacenavd/pull/38 16 + (fetchpatch { 17 + url = "https://github.com/FreeSpacenav/spacenavd/commit/d6a25d5c3f49b9676d039775efc8bf854737c43c.patch"; 18 + sha256 = "02pdgcvaqc20qf9hi3r73nb9ds7yk2ps9nnxaj0x9p50xjnhfg5c"; 19 + }) 20 + ]; 15 21 16 - configureFlags = [ "--disable-debug"]; 22 + buildInputs = [ libX11 ] 23 + ++ lib.optional stdenv.isDarwin IOKit; 24 + 25 + configureFlags = [ "--disable-debug" ]; 26 + 27 + makeFlags = [ "CC=${stdenv.cc.targetPrefix}cc" ]; 17 28 18 29 meta = with lib; { 19 30 homepage = "http://spacenav.sourceforge.net/";
+5 -2
pkgs/misc/t-rec/default.nix
··· 1 - { lib, imagemagick, ffmpeg, rustPlatform, fetchFromGitHub, makeWrapper }: 1 + { lib, stdenv, imagemagick, ffmpeg, rustPlatform, fetchFromGitHub, makeWrapper 2 + , libiconv, Foundation }: 2 3 3 4 let 4 5 binPath = lib.makeBinPath [ ··· 17 18 sha256 = "InArrBqfhDrsonjmCIPTBVOA/s2vYml9Ay6cdrKLd7c="; 18 19 }; 19 20 20 - buildInputs = [ imagemagick ]; 21 21 nativeBuildInputs = [ makeWrapper ]; 22 + buildInputs = [ imagemagick ] 23 + ++ lib.optionals stdenv.isDarwin [ libiconv Foundation ]; 24 + 22 25 postInstall = '' 23 26 wrapProgram "$out/bin/t-rec" --prefix PATH : "${binPath}" 24 27 '';
+2 -2
pkgs/misc/vscode-extensions/terraform/default.nix
··· 3 3 mktplcRef = { 4 4 name = "terraform"; 5 5 publisher = "hashicorp"; 6 - version = "2.10.2"; 6 + version = "2.11.0"; 7 7 }; 8 8 9 9 vsix = fetchurl { 10 10 name = "${mktplcRef.publisher}-${mktplcRef.name}.zip"; 11 11 url = "https://github.com/hashicorp/vscode-terraform/releases/download/v${mktplcRef.version}/${mktplcRef.name}-${mktplcRef.version}.vsix"; 12 - sha256 = "0fkkjkybjshgzbkc933jscxyxqwmqnhq3718pnw9hsac8qv0grrz"; 12 + sha256 = "0wqdya353b415qxs8jczmis3q6d8fddv1pdd8jdd0w64s1ibv3sy"; 13 13 }; 14 14 15 15 patches = [ ./fix-terraform-ls.patch ];
+5 -5
pkgs/misc/vscode-extensions/terraform/fix-terraform-ls.patch
··· 1 1 diff --git a/out/extension.js b/out/extension.js 2 - index e815393..aeade0e 100644 2 + index e932d27..099126b 100644 3 3 --- a/out/extension.js 4 4 +++ b/out/extension.js 5 - @@ -141,25 +141,6 @@ function updateLanguageServer() { 5 + @@ -143,25 +143,6 @@ function updateLanguageServer() { 6 6 return __awaiter(this, void 0, void 0, function* () { 7 - const delay = 1000 * 60 * 24; 8 - setTimeout(updateLanguageServer, delay); // check for new updates every 24hrs 7 + const delay = 1000 * 60 * 60 * 24; 8 + languageServerUpdater.timeout(updateLanguageServer, delay); // check for new updates every 24hrs 9 9 - // skip install if a language server binary path is set 10 10 - if (!vscodeUtils_1.config('terraform').get('languageServer.pathToBinary')) { 11 11 - const installer = new languageServerInstaller_1.LanguageServerInstaller(installPath, reporter); ··· 28 28 return startClients(); // on repeat runs with no install, this will be a no-op 29 29 }); 30 30 } 31 - @@ -257,7 +238,7 @@ function pathToBinary() { 31 + @@ -259,7 +240,7 @@ function pathToBinary() { 32 32 reporter.sendTelemetryEvent('usePathToBinary'); 33 33 } 34 34 else {
-302
pkgs/os-specific/linux/ati-drivers/builder.sh
··· 1 - # TODO gentoo removes some tools because there are xorg sources (?) 2 - 3 - source $stdenv/setup 4 - set -x 5 - 6 - die(){ echo $@; exit 1; } 7 - 8 - unzip $src 9 - run_file=fglrx-$build/amd-driver-installer-$build-x86.x86_64.run 10 - sh $run_file --extract . 11 - 12 - for patch in $patches;do 13 - patch -p1 < $patch 14 - done 15 - 16 - case "$system" in 17 - x86_64-linux) 18 - arch=x86_64 19 - lib_arch=lib64 20 - DIR_DEPENDING_ON_XORG_VERSION=xpic_64a 21 - ;; 22 - i686-linux) 23 - arch=x86 24 - lib_arch=lib 25 - DIR_DEPENDING_ON_XORG_VERSION=xpic 26 - ;; 27 - *) exit 1;; 28 - esac 29 - 30 - # Handle/Build the kernel module. 31 - 32 - if test -z "$libsOnly"; then 33 - 34 - kernelVersion=$(cd ${kernelDir}/lib/modules && ls) 35 - kernelBuild=$(echo ${kernelDir}/lib/modules/$kernelVersion/build) 36 - linuxsources=$(echo ${kernelDir}/lib/modules/$kernelVersion/source) 37 - 38 - # note: maybe the .config file should be used to determine this ? 39 - # current kbuild infrastructure allows using CONFIG_* defines 40 - # but ati sources don't use them yet.. 41 - # copy paste from make.sh 42 - 43 - setSMP(){ 44 - 45 - linuxincludes=$kernelBuild/include 46 - 47 - # copied and stripped. source: make.sh: 48 - # 3 49 - # linux/autoconf.h may contain this: #define CONFIG_SMP 1 50 - 51 - # Before 2.6.33 autoconf.h is under linux/. 52 - # For 2.6.33 and later autoconf.h is under generated/. 53 - if [ -f $linuxincludes/generated/autoconf.h ]; then 54 - autoconf_h=$linuxincludes/generated/autoconf.h 55 - else 56 - autoconf_h=$linuxincludes/linux/autoconf.h 57 - fi 58 - src_file=$autoconf_h 59 - 60 - [ -e $src_file ] || die "$src_file not found" 61 - 62 - if [ `cat $src_file | grep "#undef" | grep "CONFIG_SMP" -c` = 0 ]; then 63 - SMP=`cat $src_file | grep CONFIG_SMP | cut -d' ' -f3` 64 - echo "file $src_file says: SMP=$SMP" 65 - fi 66 - 67 - if [ "$SMP" = 0 ]; then 68 - echo "assuming default: SMP=$SMP" 69 - fi 70 - # act on final result 71 - if [ ! "$SMP" = 0 ]; then 72 - smp="-SMP" 73 - def_smp=-D__SMP__ 74 - fi 75 - 76 - } 77 - 78 - setModVersions(){ 79 - ! grep CONFIG_MODVERSIONS=y $kernelBuild/.config || 80 - def_modversions="-DMODVERSIONS" 81 - # make.sh contains much more code to determine this whether its enabled 82 - } 83 - 84 - # ============================================================== 85 - # resolve if we are building for a kernel with a fix for CVE-2010-3081 86 - # On kernels with the fix, use arch_compat_alloc_user_space instead 87 - # of compat_alloc_user_space since the latter is GPL-only 88 - 89 - COMPAT_ALLOC_USER_SPACE=arch_compat_alloc_user_space 90 - 91 - for src_file in \ 92 - $kernelBuild/arch/x86/include/asm/compat.h \ 93 - $linuxsources/arch/x86/include/asm/compat.h \ 94 - $kernelBuild/include/asm-x86_64/compat.h \ 95 - $linuxsources/include/asm-x86_64/compat.h \ 96 - $kernelBuild/include/asm/compat.h; 97 - do 98 - if [ -e $src_file ]; 99 - then 100 - break 101 - fi 102 - done 103 - if [ ! -e $src_file ]; 104 - then 105 - echo "Warning: x86 compat.h not found in kernel headers" 106 - echo "neither arch/x86/include/asm/compat.h nor include/asm-x86_64/compat.h" 107 - echo "could be found in $kernelBuild or $linuxsources" 108 - echo "" 109 - else 110 - if [ `cat $src_file | grep -c arch_compat_alloc_user_space` -gt 0 ] 111 - then 112 - COMPAT_ALLOC_USER_SPACE=arch_compat_alloc_user_space 113 - fi 114 - echo "file $src_file says: COMPAT_ALLOC_USER_SPACE=$COMPAT_ALLOC_USER_SPACE" 115 - fi 116 - 117 - # make.sh contains some code figuring out whether to use these or not.. 118 - PAGE_ATTR_FIX=0 119 - setSMP 120 - setModVersions 121 - CC=gcc 122 - MODULE=fglrx 123 - LIBIP_PREFIX=$TMP/arch/$arch/lib/modules/fglrx/build_mod 124 - [ -d $LIBIP_PREFIX ] 125 - GCC_MAJOR="`gcc --version | grep -o -e ") ." | head -1 | cut -d " " -f 2`" 126 - 127 - { # build .ko module 128 - cd ./common/lib/modules/fglrx/build_mod/2.6.x 129 - echo .lib${MODULE}_ip.a.GCC${GCC_MAJOR}.cmd 130 - echo 'This is a dummy file created to suppress this warning: could not find /lib/modules/fglrx/build_mod/2.6.x/.libfglrx_ip.a.GCC4.cmd for /lib/modules/fglrx/build_mod/2.6.x/libfglrx_ip.a.GCC4' > lib${MODULE}_ip.a.GCC${GCC_MAJOR}.cmd 131 - 132 - sed -i -e "s@COMPAT_ALLOC_USER_SPACE@$COMPAT_ALLOC_USER_SPACE@" ../kcl_ioctl.c 133 - 134 - make CC=${CC} \ 135 - LIBIP_PREFIX=$(echo "$LIBIP_PREFIX" | sed -e 's|^\([^/]\)|../\1|') \ 136 - MODFLAGS="-DMODULE -DATI -DFGL -DPAGE_ATTR_FIX=$PAGE_ATTR_FIX -DCOMPAT_ALLOC_USER_SPACE=$COMPAT_ALLOC_USER_SPACE $def_smp $def_modversions" \ 137 - KVER=$kernelVersion \ 138 - KDIR=$kernelBuild \ 139 - PAGE_ATTR_FIX=$PAGE_ATTR_FIX \ 140 - -j4 141 - 142 - cd $TMP 143 - } 144 - 145 - fi 146 - 147 - { # install 148 - mkdir -p $out/lib/xorg 149 - cp -r common/usr/include $out 150 - cp -r common/usr/sbin $out 151 - cp -r common/usr/share $out 152 - mkdir $out/bin/ 153 - cp -f common/usr/X11R6/bin/* $out/bin/ 154 - # cp -r arch/$arch/lib $out/lib 155 - # what are those files used for? 156 - cp -r common/etc $out 157 - cp -r $DIR_DEPENDING_ON_XORG_VERSION/usr/X11R6/$lib_arch/* $out/lib/xorg 158 - 159 - # install kernel module 160 - if test -z "$libsOnly"; then 161 - t=$out/lib/modules/${kernelVersion}/kernel/drivers/misc 162 - mkdir -p $t 163 - 164 - cp ./common/lib/modules/fglrx/build_mod/2.6.x/fglrx.ko $t 165 - fi 166 - 167 - # should this be installed at all? 168 - # its used by the example fglrx_gamma only 169 - # don't use $out/lib/modules/dri because this will cause the kernel module 170 - # aggregator code to see both: kernel version and the dri direcotry. It'll 171 - # fail saying different kernel versions 172 - cp -r $TMP/arch/$arch/usr/X11R6/$lib_arch/modules/dri $out/lib 173 - cp -r $TMP/arch/$arch/usr/X11R6/$lib_arch/modules/dri/* $out/lib 174 - cp -r $TMP/arch/$arch/usr/X11R6/$lib_arch/*.so* $out/lib 175 - cp -r $TMP/arch/$arch/usr/X11R6/$lib_arch/fglrx/fglrx-libGL.so.1.2 $out/lib/fglrx-libGL.so.1.2 176 - cp -r $TMP/arch/$arch/usr/$lib_arch/* $out/lib 177 - ln -s libatiuki.so.1.0 $out/lib/libatiuki.so.1 178 - ln -s fglrx-libGL.so.1.2 $out/lib/libGL.so.1 179 - ln -s fglrx-libGL.so.1.2 $out/lib/libGL.so 180 - # FIXME : This file is missing or has changed versions 181 - #ln -s libfglrx_gamma.so.1.0 $out/lib/libfglrx_gamma.so.1 182 - # make xorg use the ati version 183 - ln -s $out/lib/xorg/modules/extensions/{fglrx/fglrx-libglx.so,libglx.so} 184 - # Correct some paths that are hardcoded into binary libs. 185 - if [ "$arch" == "x86_64" ]; then 186 - for lib in \ 187 - xorg/modules/extensions/fglrx/fglrx-libglx.so \ 188 - xorg/modules/glesx.so \ 189 - dri/fglrx_dri.so \ 190 - fglrx_dri.so \ 191 - fglrx-libGL.so.1.2 192 - do 193 - oldPaths="/usr/X11R6/lib/modules/dri" 194 - newPaths="/run/opengl-driver/lib/dri" 195 - sed -i -e "s|$oldPaths|$newPaths|" $out/lib/$lib 196 - done 197 - else 198 - oldPaths="/usr/X11R6/lib32/modules/dri\x00/usr/lib32/dri" 199 - newPaths="/run/opengl-driver-32/lib/dri\x00/dev/null/dri" 200 - sed -i -e "s|$oldPaths|$newPaths|" \ 201 - $out/lib/xorg/modules/extensions/fglrx/fglrx-libglx.so 202 - 203 - for lib in \ 204 - dri/fglrx_dri.so \ 205 - fglrx_dri.so \ 206 - xorg/modules/glesx.so 207 - do 208 - oldPaths="/usr/X11R6/lib32/modules/dri/" 209 - newPaths="/run/opengl-driver-32/lib/dri" 210 - sed -i -e "s|$oldPaths|$newPaths|" $out/lib/$lib 211 - done 212 - 213 - oldPaths="/usr/X11R6/lib32/modules/dri\x00" 214 - newPaths="/run/opengl-driver-32/lib/dri" 215 - sed -i -e "s|$oldPaths|$newPaths|" $out/lib/fglrx-libGL.so.1.2 216 - fi 217 - # libstdc++ and gcc are needed by some libs 218 - for pelib1 in \ 219 - fglrx_dri.so \ 220 - dri/fglrx_dri.so 221 - do 222 - patchelf --remove-needed libX11.so.6 $out/lib/$pelib1 223 - done 224 - 225 - for pelib2 in \ 226 - libatiadlxx.so \ 227 - xorg/modules/glesx.so \ 228 - dri/fglrx_dri.so \ 229 - fglrx_dri.so \ 230 - libaticaldd.so 231 - do 232 - patchelf --set-rpath $glibcDir/lib/:$libStdCxx/lib/ $out/lib/$pelib2 233 - done 234 - } 235 - 236 - if test -z "$libsOnly"; then 237 - 238 - { # build samples 239 - mkdir -p $out/bin 240 - mkdir -p samples 241 - cd samples 242 - tar xfz ../common/usr/src/ati/fglrx_sample_source.tgz 243 - eval "$patchPhaseSamples" 244 - 245 - 246 - ( # build and install fgl_glxgears 247 - cd fgl_glxgears; 248 - gcc -DGL_ARB_texture_multisample=1 -g \ 249 - -I$libGL/include -I$libGLU/include \ 250 - -I$out/include \ 251 - -L$libGL/lib -L$libGLU/lib -lGL -lGLU -lX11 -lm \ 252 - -o $out/bin/fgl_glxgears -Wall fgl_glxgears.c 253 - ) 254 - 255 - true || ( # build and install 256 - 257 - ### 258 - ## FIXME ? 259 - # doesn't build undefined reference to `FGLRX_X11SetGamma' 260 - # which should be contained in -lfglrx_gamma 261 - # This should create $out/lib/libfglrx_gamma.so.1.0 ? because there is 262 - # a symlink named libfglrx_gamma.so.1 linking to libfglrx_gamma.so.1.0 in $out/lib/ 263 - 264 - cd programs/fglrx_gamma 265 - gcc -fPIC -I${libXxf86vm.dev}/include \ 266 - -I${xorgproto}/include \ 267 - -I$out/X11R6/include \ 268 - -L$out/lib \ 269 - -Wall -lm -lfglrx_gamma -lX11 -lXext -o $out/bin/fglrx_xgamma fglrx_xgamma.c 270 - ) 271 - 272 - { 273 - # patch and copy statically linked qt libs used by amdcccle 274 - patchelf --set-interpreter $(echo $glibcDir/lib/ld-linux*.so.2) $TMP/arch/$arch/usr/share/ati/$lib_arch/libQtCore.so.4 && 275 - patchelf --set-rpath $gcc/$lib_arch/ $TMP/arch/$arch/usr/share/ati/$lib_arch/libQtCore.so.4 && 276 - patchelf --set-rpath $gcc/$lib_arch/:$out/share/ati/:$libXrender/lib/:$libSM/lib/:$libICE/lib/:$libfontconfig/lib/:$libfreetype/lib/ $TMP/arch/$arch/usr/share/ati/$lib_arch/libQtGui.so.4 && 277 - mkdir -p $out/share/ati 278 - cp -r $TMP/arch/$arch/usr/share/ati/$lib_arch/libQtCore.so.4 $out/share/ati/ 279 - cp -r $TMP/arch/$arch/usr/share/ati/$lib_arch/libQtGui.so.4 $out/share/ati/ 280 - # copy binaries and wrap them: 281 - BIN=$TMP/arch/$arch/usr/X11R6/bin 282 - patchelf --set-rpath $gcc/$lib_arch/:$out/share/ati/:$libXinerama/lib/:$libXrandr/lib/ $TMP/arch/$arch/usr/X11R6/bin/amdcccle 283 - patchelf --set-rpath $libXrender/lib/:$libXrandr/lib/ $TMP/arch/$arch/usr/X11R6/bin/aticonfig 284 - patchelf --shrink-rpath $BIN/amdcccle 285 - for prog in $BIN/*; do 286 - cp -f $prog $out/bin && 287 - patchelf --set-interpreter $(echo $glibcDir/lib/ld-linux*.so.2) $out/bin/$(basename $prog) && 288 - wrapProgram $out/bin/$(basename $prog) --prefix LD_LIBRARY_PATH : $out/lib/:$gcc/lib/:$out/share/ati/:$libXinerama/lib/:$libXrandr/lib/:$libfontconfig/lib/:$libfreetype/lib/${LD_LIBRARY_PATH:+:}$LD_LIBRARY_PATH 289 - done 290 - } 291 - 292 - rm -f $out/lib/fglrx/switchlibglx && rm -f $out/lib/fglrx/switchlibGL 293 - 294 - } 295 - 296 - fi 297 - 298 - for p in $extraDRIlibs; do 299 - for lib in $p/lib/*.so*; do 300 - ln -s $lib $out/lib/ 301 - done 302 - done
-140
pkgs/os-specific/linux/ati-drivers/default.nix
··· 1 - { stdenv, lib, fetchurl, kernel ? null, which 2 - , xorg, makeWrapper, glibc, patchelf, unzip 3 - , fontconfig, freetype, libGLU, libGL # for fgl_glxgears 4 - , # Whether to build the libraries only (i.e. not the kernel module or 5 - # driver utils). Used to support 32-bit binaries on 64-bit 6 - # Linux. 7 - libsOnly ? false 8 - }: 9 - 10 - assert (!libsOnly) -> kernel != null; 11 - 12 - with lib; 13 - 14 - # This derivation requires a maximum of gcc49, Linux kernel 4.1 and xorg.xserver 1.17 15 - # and will not build or run using versions newer 16 - 17 - # If you want to use a different Xorg version probably 18 - # DIR_DEPENDING_ON_XORG_VERSION in builder.sh has to be adopted (?) 19 - # make sure libglx.so of ati is used. xorg.xorgserver does provide it as well 20 - # which is a problem because it doesn't contain the xorgserver patch supporting 21 - # the XORG_DRI_DRIVER_PATH env var. 22 - # See https://marc.info/?l=nix-dev&m=139641585515351 for a 23 - # workaround (TODO) 24 - 25 - # The gentoo ebuild contains much more "magic" and is usually a great resource to 26 - # find patches XD 27 - 28 - # http://wiki.cchtml.com/index.php/Main_Page 29 - 30 - # /usr/lib/dri/fglrx_dri.so must point to /run/opengl-driver/lib/fglrx_dri.so 31 - # This is done in the builder script. 32 - 33 - stdenv.mkDerivation rec { 34 - 35 - version = "15.12"; 36 - pname = "ati-drivers"; 37 - build = "15.302"; 38 - 39 - linuxonly = 40 - if stdenv.hostPlatform.system == "i686-linux" then 41 - true 42 - else if stdenv.hostPlatform.system == "x86_64-linux" then 43 - true 44 - else throw "ati-drivers are Linux only. Sorry. The build was stopped."; 45 - 46 - name = pname + "-" + version + (optionalString (!libsOnly) "-${kernelDir.version}"); 47 - 48 - builder = ./builder.sh; 49 - gcc = stdenv.cc.cc; 50 - libXinerama = xorg.libXinerama; 51 - libXrandr = xorg.libXrandr; 52 - libXrender = xorg.libXrender; 53 - libXxf86vm = xorg.libXxf86vm; 54 - xorgproto = xorg.xorgproto; 55 - libSM = xorg.libSM; 56 - libICE = xorg.libICE; 57 - libfreetype = freetype; 58 - libfontconfig = fontconfig; 59 - libStdCxx = stdenv.cc.cc.lib; 60 - 61 - src = fetchurl { 62 - url = 63 - "https://www2.ati.com/drivers/linux/radeon-crimson-15.12-15.302-151217a-297685e.zip"; 64 - sha256 = "704f2dfc14681f76dae3b4120c87b1ded33cf43d5a1d800b6de5ca292bb61e58"; 65 - curlOpts = "--referer https://www.amd.com/en/support"; 66 - }; 67 - 68 - hardeningDisable = [ "pic" "format" ]; 69 - 70 - patchPhaseSamples = "patch -p2 < ${./patches/patch-samples.patch}"; 71 - patches = [ 72 - ./patches/15.12-xstate-fp.patch 73 - ./patches/15.9-kcl_str.patch 74 - ./patches/15.9-mtrr.patch 75 - ./patches/15.9-preempt.patch 76 - ./patches/15.9-sep_printf.patch ] 77 - ++ optionals ( kernel != null && 78 - (lib.versionAtLeast kernel.version "4.6") ) 79 - [ ./patches/kernel-4.6-get_user_pages.patch 80 - ./patches/kernel-4.6-page_cache_release-put_page.patch ] 81 - ++ optionals ( kernel != null && 82 - (lib.versionAtLeast kernel.version "4.7") ) 83 - [ ./patches/4.7-arch-cpu_has_pge-v2.patch ] 84 - ++ optionals ( kernel != null && 85 - (lib.versionAtLeast kernel.version "4.9") ) 86 - [ ./patches/4.9-get_user_pages.patch ]; 87 - 88 - nativeBuildInputs = [ unzip ]; 89 - buildInputs = 90 - [ xorg.libXrender xorg.libXext xorg.libX11 xorg.libXinerama xorg.libSM 91 - xorg.libXrandr xorg.libXxf86vm xorg.xorgproto xorg.imake xorg.libICE 92 - patchelf 93 - libGLU libGL 94 - fontconfig 95 - freetype 96 - makeWrapper 97 - which 98 - ]; 99 - 100 - inherit libsOnly; 101 - 102 - kernelDir = if libsOnly then null else kernel.dev; 103 - 104 - # glibc only used for setting the binaries interpreter 105 - glibcDir = glibc.out; 106 - 107 - # outputs TODO: probably many fixes are needed; 108 - LD_LIBRARY_PATH = makeLibraryPath 109 - [ xorg.libXrender xorg.libXext xorg.libX11 xorg.libXinerama xorg.libSM 110 - xorg.libXrandr xorg.libXxf86vm xorg.xorgproto xorg.imake xorg.libICE 111 - libGLU libGL 112 - fontconfig 113 - freetype 114 - stdenv.cc.cc 115 - ]; 116 - 117 - # without this some applications like blender don't start, but they start 118 - # with nvidia. This causes them to be symlinked to $out/lib so that they 119 - # appear in /run/opengl-driver/lib which get's added to LD_LIBRARY_PATH 120 - 121 - extraDRIlibs = [ xorg.libXrandr.out xorg.libXrender.out xorg.libXext.out 122 - xorg.libX11.out xorg.libXinerama.out xorg.libSM.out 123 - xorg.libICE.out ]; 124 - 125 - inherit libGLU libGL; # only required to build the examples 126 - 127 - enableParallelBuilding = true; 128 - 129 - meta = with lib; { 130 - description = "ATI Catalyst display drivers"; 131 - homepage = "http://support.amd.com/us/gpudownload/Pages/index.aspx"; 132 - license = licenses.unfree; 133 - maintainers = with maintainers; [ marcweber offline jerith666 ]; 134 - platforms = platforms.linux; 135 - hydraPlatforms = []; 136 - # Copied from the nvidia default.nix to prevent a store collision. 137 - priority = 4; 138 - }; 139 - 140 - }
-26
pkgs/os-specific/linux/ati-drivers/patches/15.12-xstate-fp.patch
··· 1 - From: Krzysztof Kolasa <kkolasa@winsoft.pl> 2 - Date: Thu, 26 Nov 2015 14:28:46 +0100 3 - Subject: [PATCH] Patch for kernel 4.4.0-rc2 4 - 5 - constant change of name XSTATE_XP to name XFEATURE_MASK_FP 6 - --- 7 - firegl_public.c | 6 +++++- 8 - 1 file changed, 5 insertions(+), 1 deletion(-) 9 - 10 - diff --git a/common/lib/modules/fglrx/build_mod/firegl_public.c b/common/lib/modules/fglrx/build_mod/firegl_public.c 11 - index 3626c7b..f071d42 100644 12 - --- a/common/lib/modules/fglrx/build_mod/firegl_public.c 13 - +++ b/common/lib/modules/fglrx/build_mod//firegl_public.c 14 - @@ -6463,7 +6463,11 @@ static int KCL_fpu_save_init(struct task_struct *tsk) 15 - if (!(fpu->state->xsave.xsave_hdr.xstate_bv & XSTATE_FP)) 16 - #else 17 - copy_xregs_to_kernel(&fpu->state.xsave); 18 - - if (!(fpu->state.xsave.header.xfeatures & XSTATE_FP)) 19 - +#if LINUX_VERSION_CODE >= KERNEL_VERSION(4,4,0) 20 - + if (!(fpu->state.xsave.header.xfeatures & XFEATURE_MASK_FP)) 21 - +#else 22 - + if (!(fpu->state.xsave.header.xfeatures & XSTATE_FP)) 23 - +#endif 24 - #endif 25 - return 1; 26 - } else if (static_cpu_has(X86_FEATURE_FXSR)) {
-14
pkgs/os-specific/linux/ati-drivers/patches/15.9-kcl_str.patch
··· 1 - --- a/common/lib/modules/fglrx/build_mod/kcl_str.c 2015-09-13 13:47:30.000000000 -0400 2 - +++ b/common/lib/modules/fglrx/build_mod/kcl_str.c 2015-09-13 13:49:42.000000000 -0400 3 - @@ -169,7 +169,11 @@ int ATI_API_CALL KCL_STR_Strnicmp(const 4 - const char* s2, 5 - KCL_TYPE_SizeSigned count) 6 - { 7 - +#if LINUX_VERSION_CODE < KERNEL_VERSION(4,0,0) 8 - return strnicmp(s1, s2, count); 9 - +#else 10 - + return strncasecmp(s1, s2, count); 11 - +#endif 12 - } 13 - 14 - /** \brief Locate character in string
-27
pkgs/os-specific/linux/ati-drivers/patches/15.9-mtrr.patch
··· 1 - --- a/common/lib/modules/fglrx/build_mod/firegl_public.c 2015-09-19 23:43:22.000000000 -0400 2 - +++ b/common/lib/modules/fglrx/build_mod/firegl_public.c 2015-09-19 23:52:07.000000000 -0400 3 - @@ -3442,7 +3442,11 @@ int ATI_API_CALL KCL_MEM_MTRR_Support(vo 4 - int ATI_API_CALL KCL_MEM_MTRR_AddRegionWc(unsigned long base, unsigned long size) 5 - { 6 - #ifdef CONFIG_MTRR 7 - +#if LINUX_VERSION_CODE >= KERNEL_VERSION(4,3,0) 8 - + return arch_phys_wc_add(base, size); 9 - +#else 10 - return mtrr_add(base, size, MTRR_TYPE_WRCOMB, 1); 11 - +#endif 12 - #else /* !CONFIG_MTRR */ 13 - return -EPERM; 14 - #endif /* !CONFIG_MTRR */ 15 - @@ -3451,7 +3455,12 @@ int ATI_API_CALL KCL_MEM_MTRR_AddRegionW 16 - int ATI_API_CALL KCL_MEM_MTRR_DeleteRegion(int reg, unsigned long base, unsigned long size) 17 - { 18 - #ifdef CONFIG_MTRR 19 - +#if LINUX_VERSION_CODE >= KERNEL_VERSION(4,3,0) 20 - + arch_phys_wc_del(reg); 21 - + return reg; 22 - +#else 23 - return mtrr_del(reg, base, size); 24 - +#endif 25 - #else /* !CONFIG_MTRR */ 26 - return -EPERM; 27 - #endif /* !CONFIG_MTRR */
-103
pkgs/os-specific/linux/ati-drivers/patches/15.9-preempt.patch
··· 1 - --- a/common/lib/modules/fglrx/build_mod/firegl_public.c 2015-08-30 17:36:02.000000000 -0400 2 - +++ b/common/lib/modules/fglrx/build_mod/firegl_public.c 2015-08-30 17:39:36.000000000 -0400 3 - @@ -21,6 +21,8 @@ 4 - !!! since it requires changes to linux/init/main.c. 5 - #endif /* !MODULE */ 6 - 7 - +#include <linux/preempt.h> 8 - + 9 - // ============================================================ 10 - #include <linux/version.h> 11 - 12 - @@ -4997,7 +4999,9 @@ static unsigned int kas_spin_unlock(kas_ 13 - unsigned long ATI_API_CALL KAS_GetExecutionLevel(void) 14 - { 15 - unsigned long ret; 16 - + preempt_disable(); 17 - ret = kas_GetExecutionLevel(); 18 - + preempt_enable(); 19 - return ret; 20 - } 21 - 22 - @@ -5022,8 +5026,10 @@ unsigned int ATI_API_CALL KAS_Ih_Execute 23 - KCL_DEBUG5(FN_FIREGL_KAS,"0x%08X, 0x%08X\n", ih_routine, ih_context); 24 - 25 - //Prevent simultaneous entry on some SMP systems. 26 - + preempt_disable(); 27 - if (test_and_set_bit(0, (void *)&(kasContext.in_interrupts[smp_processor_id()]))) 28 - { 29 - + preempt_enable(); 30 - KCL_DEBUG1(FN_FIREGL_KAS, "The processor is handling the interrupt\n"); 31 - return IRQ_NONE; 32 - } 33 - @@ -5036,9 +5042,9 @@ unsigned int ATI_API_CALL KAS_Ih_Execute 34 - 35 - kasSetExecutionLevel(orig_level); 36 - spin_unlock(&kasContext.lock_ih); 37 - - 38 - clear_bit(0, (void *)&(kasContext.in_interrupts[smp_processor_id()])); 39 - KCL_DEBUG5(FN_FIREGL_KAS,"%d\n", ret); 40 - + preempt_enable(); 41 - 42 - return ret; 43 - } 44 - @@ -5256,6 +5262,7 @@ unsigned int ATI_API_CALL KAS_Spinlock_A 45 - 46 - KCL_DEBUG5(FN_FIREGL_KAS,"0x%08X\n", hSpinLock); 47 - 48 - + preempt_disable(); 49 - spin_lock_info.routine_type = spinlock_obj->routine_type; 50 - spin_lock_info.plock = &(spinlock_obj->lock); 51 - 52 - @@ -5263,6 +5270,7 @@ unsigned int ATI_API_CALL KAS_Spinlock_A 53 - 54 - spinlock_obj->acquire_type = spin_lock_info.acquire_type; 55 - spinlock_obj->flags = spin_lock_info.flags; 56 - + preempt_enable(); 57 - 58 - KCL_DEBUG5(FN_FIREGL_KAS,"%d\n", ret); 59 - return ret; 60 - @@ -6034,6 +6042,8 @@ unsigned int ATI_API_CALL KAS_Interlocke 61 - 62 - KCL_DEBUG5(FN_FIREGL_KAS,"0x%08X, 0x%08X, 0x%08X\n", hListHead, hListEntry, phPrevEntry); 63 - 64 - + preempt_disable(); 65 - + 66 - /* Protect the operation with spinlock */ 67 - spin_lock_info.routine_type = listhead_obj->routine_type; 68 - spin_lock_info.plock = &(listhead_obj->lock); 69 - @@ -6041,6 +6051,7 @@ unsigned int ATI_API_CALL KAS_Interlocke 70 - if (!kas_spin_lock(&spin_lock_info)) 71 - { 72 - KCL_DEBUG_ERROR("Unable to grab list spinlock\n"); 73 - + preempt_enable(); 74 - return 0; /* No spinlock - no operation */ 75 - } 76 - 77 - @@ -6065,6 +6076,7 @@ unsigned int ATI_API_CALL KAS_Interlocke 78 - spin_unlock_info.flags = spin_lock_info.flags; 79 - 80 - ret = kas_spin_unlock(&spin_unlock_info); 81 - + preempt_enable(); 82 - KCL_DEBUG5(FN_FIREGL_KAS,"%d", ret); 83 - return ret; 84 - } 85 - @@ -6153,8 +6165,10 @@ unsigned int ATI_API_CALL KAS_Interlocke 86 - spin_lock_info.routine_type = listhead_obj->routine_type; 87 - spin_lock_info.plock = &(listhead_obj->lock); 88 - 89 - + preempt_disable(); 90 - if (!kas_spin_lock(&spin_lock_info)) 91 - { 92 - + preempt_enable(); 93 - KCL_DEBUG_ERROR("Unable to grab list spinlock"); 94 - return 0; /* No spinlock - no operation */ 95 - } 96 - @@ -6178,6 +6192,7 @@ unsigned int ATI_API_CALL KAS_Interlocke 97 - spin_unlock_info.flags = spin_lock_info.flags; 98 - 99 - ret = kas_spin_unlock(&spin_unlock_info); 100 - + preempt_enable(); 101 - KCL_DEBUG5(FN_FIREGL_KAS,"%d", ret); 102 - return ret; 103 - }
-11
pkgs/os-specific/linux/ati-drivers/patches/15.9-sep_printf.patch
··· 1 - --- a/common/lib/modules/fglrx/build_mod/firegl_public.c 2015-09-14 15:14:36.000000000 -0400 2 - +++ b/common/lib/modules/fglrx/build_mod/firegl_public.c 2015-09-14 16:18:58.000000000 -0400 3 - @@ -649,6 +649,8 @@ static int firegl_major_proc_read(struct 4 - *eof = 1; 5 - 6 - len = snprintf(buf, request, "%d\n", major); 7 - +#elif LINUX_VERSION_CODE >= KERNEL_VERSION(4,3,0) 8 - + seq_printf(m, "%d\n", major); 9 - #else 10 - len = seq_printf(m, "%d\n", major); 11 - #endif
-70
pkgs/os-specific/linux/ati-drivers/patches/4.7-arch-cpu_has_pge-v2.patch
··· 1 - diff -uNr 16.8/common/lib/modules/fglrx/build_mod/firegl_public.c 16.8b/common/lib/modules/fglrx/build_mod/firegl_public.c 2 - --- 16.8/common/lib/modules/fglrx/build_mod/firegl_public.c 2015-12-18 19:47:41.000000000 +0100 3 - +++ 16.8b/common/lib/modules/fglrx/build_mod/firegl_public.c 2016-08-15 15:09:37.228538907 +0200 4 - @@ -4518,7 +4518,11 @@ 5 - write_cr0(cr0); 6 - wbinvd(); 7 - 8 - +#if LINUX_VERSION_CODE >= KERNEL_VERSION(4,7,0) 9 - + if (boot_cpu_has(X86_FEATURE_PGE)) 10 - +#else 11 - if (cpu_has_pge) 12 - +#endif 13 - { 14 - cr4 = READ_CR4(); 15 - WRITE_CR4(cr4 & ~X86_CR4_PGE); 16 - @@ -4532,7 +4536,11 @@ 17 - wbinvd(); 18 - __flush_tlb(); 19 - write_cr0(cr0 & 0xbfffffff); 20 - +#if LINUX_VERSION_CODE >= KERNEL_VERSION(4,7,0) 21 - + if (boot_cpu_has(X86_FEATURE_PGE)) 22 - +#else 23 - if (cpu_has_pge) 24 - +#endif 25 - { 26 - WRITE_CR4(cr4); 27 - } 28 - @@ -4559,7 +4567,11 @@ 29 - write_cr0(cr0); 30 - wbinvd(); 31 - 32 - +#if LINUX_VERSION_CODE >= KERNEL_VERSION(4,7,0) 33 - + if (boot_cpu_has(X86_FEATURE_PGE)) 34 - +#else 35 - if (cpu_has_pge) 36 - +#endif 37 - { 38 - cr4 = READ_CR4(); 39 - WRITE_CR4(cr4 & ~X86_CR4_PGE); 40 - @@ -4572,7 +4584,11 @@ 41 - wbinvd(); 42 - __flush_tlb(); 43 - write_cr0(cr0 & 0xbfffffff); 44 - +#if LINUX_VERSION_CODE >= KERNEL_VERSION(4,7,0) 45 - + if (boot_cpu_has(X86_FEATURE_PGE)) 46 - +#else 47 - if (cpu_has_pge) 48 - +#endif 49 - { 50 - WRITE_CR4(cr4); 51 - } 52 - diff -uNr 16.8/common/lib/modules/fglrx/build_mod/firegl_public.h 16.8b/common/lib/modules/fglrx/build_mod/firegl_public.h 53 - --- 16.8/common/lib/modules/fglrx/build_mod/firegl_public.h 2015-12-18 19:47:41.000000000 +0100 54 - +++ 16.8b/common/lib/modules/fglrx/build_mod/firegl_public.h 2016-08-15 15:09:05.815141238 +0200 55 - @@ -650,9 +650,15 @@ 56 - #define cpu_has_pat test_bit(X86_FEATURE_PAT, (void *) &boot_cpu_data.x86_capability) 57 - #endif 58 - 59 - +#if LINUX_VERSION_CODE >= KERNEL_VERSION(4,7,0) 60 - +#ifndef boot_cpu_has(X86_FEATURE_PGE) 61 - +#define boot_cpu_has(X86_FEATURE_PGE) test_bit(X86_FEATURE_PGE, &boot_cpu_data.x86_capability) 62 - +#endif 63 - +#else 64 - #ifndef cpu_has_pge 65 - #define cpu_has_pge test_bit(X86_FEATURE_PGE, &boot_cpu_data.x86_capability) 66 - #endif 67 - +#endif 68 - 69 - /* 2.6.29 defines pgprot_writecombine as a macro which resolves to a 70 - * GPL-only function with the same name. So we always use our own
-28
pkgs/os-specific/linux/ati-drivers/patches/4.9-get_user_pages.patch
··· 1 - commit b3e4353fc68a6a024dcb95e2d61aa0afd7370233 2 - Author: Matt McHenry <matt@mchenryfamily.org> 3 - Date: Fri Feb 3 20:19:41 2017 4 - 5 - patch for 4.9 only 6 - 7 - diff --git a/common/lib/modules/fglrx/build_mod/firegl_public.c b/common/lib/modules/fglrx/build_mod/firegl_public.c 8 - index 4ce095f..3b591e1 100755 9 - --- a/common/lib/modules/fglrx/build_mod/firegl_public.c 10 - +++ b/common/lib/modules/fglrx/build_mod/firegl_public.c 11 - @@ -3224,7 +3224,7 @@ int ATI_API_CALL KCL_LockUserPages(unsigned long vaddr, unsigned long* page_list 12 - int ret; 13 - 14 - down_read(&current->mm->mmap_sem); 15 - - ret = get_user_pages(vaddr, page_cnt, 1, 0, (struct page **)page_list, NULL); 16 - + ret = get_user_pages(vaddr, page_cnt, 1, (struct page **)page_list, NULL); 17 - up_read(&current->mm->mmap_sem); 18 - 19 - return ret; 20 - @@ -3242,7 +3242,7 @@ int ATI_API_CALL KCL_LockReadOnlyUserPages(unsigned long vaddr, unsigned long* p 21 - int ret; 22 - 23 - down_read(&current->mm->mmap_sem); 24 - - ret = get_user_pages(vaddr, page_cnt, 0, 0, (struct page **)page_list, NULL); 25 - + ret = get_user_pages(vaddr, page_cnt, 0, (struct page **)page_list, NULL); 26 - up_read(&current->mm->mmap_sem); 27 - 28 - return ret;
-25
pkgs/os-specific/linux/ati-drivers/patches/kernel-4.6-get_user_pages.patch
··· 1 - diff --git a/common/lib/modules/fglrx/build_mod/firegl_public.c b/common/lib/modules/fglrx/build_mod/firegl_public.c 2 - index 9c70211..b2242af 100755 3 - --- a/common/lib/modules/fglrx/build_mod/firegl_public.c 4 - +++ b/common/lib/modules/fglrx/build_mod/firegl_public.c 5 - @@ -3220,7 +3220,7 @@ int ATI_API_CALL KCL_LockUserPages(unsigned long vaddr, unsigned long* page_list 6 - int ret; 7 - 8 - down_read(&current->mm->mmap_sem); 9 - - ret = get_user_pages(current, current->mm, vaddr, page_cnt, 1, 0, (struct page **)page_list, NULL); 10 - + ret = get_user_pages(vaddr, page_cnt, 1, 0, (struct page **)page_list, NULL); 11 - up_read(&current->mm->mmap_sem); 12 - 13 - return ret; 14 - @@ -3238,7 +3238,7 @@ int ATI_API_CALL KCL_LockReadOnlyUserPages(unsigned long vaddr, unsigned long* p 15 - int ret; 16 - 17 - down_read(&current->mm->mmap_sem); 18 - - ret = get_user_pages(current, current->mm, vaddr, page_cnt, 0, 0, (struct page **)page_list, NULL); 19 - + ret = get_user_pages(vaddr, page_cnt, 0, 0, (struct page **)page_list, NULL); 20 - up_read(&current->mm->mmap_sem); 21 - 22 - return ret; 23 - -- 24 - 2.9.2 25 -
-16
pkgs/os-specific/linux/ati-drivers/patches/kernel-4.6-page_cache_release-put_page.patch
··· 1 - diff --git a/common/lib/modules/fglrx/build_mod/firegl_public.c b/common/lib/modules/fglrx/build_mod/firegl_public.c 2 - index b2242af..586129c 100755 3 - --- a/common/lib/modules/fglrx/build_mod/firegl_public.c 4 - +++ b/common/lib/modules/fglrx/build_mod/firegl_public.c 5 - @@ -3249,7 +3249,7 @@ void ATI_API_CALL KCL_UnlockUserPages(unsigned long* page_list, unsigned int pag 6 - unsigned int i; 7 - for (i=0; i<page_cnt; i++) 8 - { 9 - - page_cache_release((struct page*)page_list[i]); 10 - + put_page((struct page*)page_list[i]); 11 - } 12 - } 13 - 14 - -- 15 - 2.9.2 16 -
-26
pkgs/os-specific/linux/ati-drivers/patches/patch-samples.patch
··· 1 - diff --git a/samples/fgl_glxgears/fgl_glxgears.c b/samples/fgl_glxgears/fgl_glxgears.c 2 - index 6c8e313..2b8d035 100644 3 - --- a/samples/fgl_glxgears/fgl_glxgears.c 4 - +++ b/samples/fgl_glxgears/fgl_glxgears.c 5 - @@ -1096,8 +1096,6 @@ static void event_loop(void) 6 - view_rotx -= 5.0; 7 - } 8 - else { 9 - - r = XLookupString(&event.xkey, buffer, sizeof(buffer), 10 - - NULL, NULL); 11 - if (buffer[0] == 27) { 12 - /* escape */ 13 - return; 14 - 15 - 16 - diff -Nur a/samples/fgl_glxgears/fgl_glxgears.c b/samples/fgl_glxgears/fgl_glxgears.c 17 - --- a/samples/fgl_glxgears/fgl_glxgears.c 2012-08-29 09:59:03.000000000 +0300 18 - +++ b/samples/fgl_glxgears/fgl_glxgears.c 2013-09-07 09:26:11.034723135 +0300 19 - @@ -78,7 +78,6 @@ 20 - #endif // _WIN32 21 - 22 - #define INT_PTR ptrdiff_t 23 - -#include <GL/glATI.h> 24 - 25 - #ifdef _WIN32 26 - #include <GL/wglATI.h>
+2 -2
pkgs/os-specific/linux/ena/default.nix
··· 1 1 { lib, stdenv, fetchFromGitHub, kernel }: 2 2 3 3 stdenv.mkDerivation rec { 4 - version = "2.4.1"; 4 + version = "2.5.0"; 5 5 name = "ena-${version}-${kernel.version}"; 6 6 7 7 src = fetchFromGitHub { 8 8 owner = "amzn"; 9 9 repo = "amzn-drivers"; 10 10 rev = "ena_linux_${version}"; 11 - sha256 = "0f3i878g11yfw6n68p3qf125jsnggy706jhc8sc0z1xgap6qgh09"; 11 + sha256 = "sha256-uOf/1624UtjaZtrk7XyQpeUGdTNVDnzZJZMgU86i+SM="; 12 12 }; 13 13 14 14 hardeningDisable = [ "pic" ];
+9 -10
pkgs/os-specific/linux/rtl8814au/default.nix
··· 1 1 { lib, stdenv, fetchFromGitHub, kernel }: 2 2 3 - stdenv.mkDerivation rec { 4 - name = "rtl8814au-${kernel.version}-${version}"; 5 - version = "4.3.21"; 3 + stdenv.mkDerivation { 4 + pname = "rtl8814au"; 5 + version = "${kernel.version}-unstable-2021-05-18"; 6 6 7 7 src = fetchFromGitHub { 8 - owner = "zebulon2"; 9 - repo = "rtl8814au"; 10 - rev = "a58c56a5a6cb99ffb872f07cb67b68197911854f"; 11 - sha256 = "1ffm67da183nz009gm5v9w1bab081hrm113kk8knl9s5qbqnn13q"; 8 + owner = "morrownr"; 9 + repo = "8814au"; 10 + rev = "388786c864f9b1437fc4d934b1eccf6d7f1e1355"; 11 + sha256 = "sha256-2EnheODPFWTGN/fz45LWRSOGeV6pTENEUrehahj+PJ4="; 12 12 }; 13 13 14 14 buildInputs = kernel.moduleBuildDependencies; ··· 31 31 32 32 meta = with lib; { 33 33 description = "Realtek 8814AU USB WiFi driver"; 34 - homepage = "https://github.com/zebulon2/rtl8814au"; 35 - license = licenses.gpl2; 34 + homepage = "https://github.com/morrownr/8814au"; 35 + license = licenses.gpl2Only; 36 36 maintainers = [ maintainers.lassulus ]; 37 - platforms = [ "x86_64-linux" "i686-linux" ]; 38 37 }; 39 38 }
+1
pkgs/os-specific/linux/rtl8821ce/default.nix
··· 33 33 homepage = "https://github.com/tomaspinho/rtl8821ce"; 34 34 license = licenses.gpl2Only; 35 35 platforms = platforms.linux; 36 + broken = stdenv.isAarch64; 36 37 maintainers = with maintainers; [ hhm ]; 37 38 }; 38 39 }
+2 -2
pkgs/servers/home-assistant/component-packages.nix
··· 89 89 "bloomsky" = ps: with ps; [ ]; 90 90 "blueprint" = ps: with ps; [ ]; 91 91 "bluesound" = ps: with ps; [ xmltodict ]; 92 - "bluetooth_le_tracker" = ps: with ps; [ ]; # missing inputs: pygatt[GATTTOOL] 92 + "bluetooth_le_tracker" = ps: with ps; [ pygatt ]; 93 93 "bluetooth_tracker" = ps: with ps; [ bt_proximity pybluez ]; 94 94 "bme280" = ps: with ps; [ smbus-cffi ]; # missing inputs: i2csense 95 95 "bme680" = ps: with ps; [ bme680 smbus-cffi ]; ··· 755 755 "sinch" = ps: with ps; [ ]; # missing inputs: clx-sdk-xms 756 756 "sisyphus" = ps: with ps; [ ]; # missing inputs: sisyphus-control 757 757 "sky_hub" = ps: with ps; [ ]; # missing inputs: pyskyqhub 758 - "skybeacon" = ps: with ps; [ ]; # missing inputs: pygatt[GATTTOOL] 758 + "skybeacon" = ps: with ps; [ pygatt ]; 759 759 "skybell" = ps: with ps; [ skybellpy ]; 760 760 "slack" = ps: with ps; [ slackclient ]; 761 761 "sleepiq" = ps: with ps; [ sleepyq ];
+263 -14
pkgs/servers/home-assistant/default.nix
··· 2 2 , lib 3 3 , fetchFromGitHub 4 4 , python3 5 + , inetutils 5 6 , nixosTests 6 7 7 8 # Look up dependencies of specified components in component-packages.nix ··· 54 55 # https://github.com/tchellomello/python-ring-doorbell/issues/240 55 56 (mkOverride "ring-doorbell" "0.6.2" 56 57 "fbd537722a27b3b854c26506d894b7399bb8dc57ff36083285971227a2d46560") 58 + 59 + # Pinned due to API changes in pyflunearyou>=2.0 60 + (self: super: { 61 + pyflunearyou = super.pyflunearyou.overridePythonAttrs (oldAttrs: rec { 62 + version = "1.0.7"; 63 + src = fetchFromGitHub { 64 + owner = "bachya"; 65 + repo = "pyflunearyou"; 66 + rev = version; 67 + sha256 = "0hq55k298m9a90qb3lasw9bi093hzndrah00rfq94bp53aq0is99"; 68 + }; 69 + postPatch = '' 70 + substituteInPlace pyproject.toml \ 71 + --replace "poetry.masonry.api" "poetry.core.masonry.api" \ 72 + --replace 'msgpack = "^0.6.2"' 'msgpack = "*"' \ 73 + --replace 'ujson = "^1.35"' 'ujson = "*"' 74 + ''; 75 + }); 76 + }) 77 + 78 + # Pinned due to API changes in pylast 4.2.1 79 + (mkOverride "pylast" "4.2.0" 80 + "0zd0dn2l738ndz62vpa751z0ldnm91dcz9zzbvxv53r08l0s9yf3") 81 + 82 + # Pinned due to API changes in pyopenuv>=1.1.0 83 + (self: super: { 84 + pyopenuv = super.pyopenuv.overridePythonAttrs (oldAttrs: rec { 85 + version = "1.0.13"; 86 + src = fetchFromGitHub { 87 + owner = "bachya"; 88 + repo = "pyopenuv"; 89 + rev = version; 90 + sha256 = "1gx9xjkyvqqy8410lnbshq1j5y4cb0cdc4m505g17rwdzdwb01y8"; 91 + }; 92 + postPatch = '' 93 + substituteInPlace pyproject.toml \ 94 + --replace "poetry.masonry.api" "poetry.core.masonry.api" 95 + ''; 96 + }); 97 + }) 57 98 58 99 # Pinned due to API changes in pyruckus>0.12 59 100 (self: super: { ··· 199 240 # services. Before adding new components to this list make sure we have all 200 241 # its dependencies packaged and listed in ./component-packages.nix. 201 242 componentTests = [ 243 + "abode" 202 244 "accuweather" 245 + "acmeda" 246 + "adguard" 247 + "advantage_air" 248 + "agent_dvr" 249 + "air_quality" 203 250 "airly" 251 + "airnow" 252 + "airvisual" 253 + "alarm_control_panel" 254 + "alarmdecoder" 255 + "alert" 256 + "alexa" 257 + "almond" 258 + "ambiclimate" 259 + "ambient_station" 204 260 "analytics" 205 261 "androidtv" 206 - "alert" 262 + "apache_kafka" 207 263 "api" 264 + "apple_tv" 265 + "apprise" 266 + "arlo" 267 + "asuswrt" 268 + "august" 269 + "aurora" 208 270 "auth" 209 271 "automation" 272 + "awair" 273 + "aws" 210 274 "axis" 211 275 "bayesian" 212 276 "binary_sensor" 277 + "blackbird" 278 + "blueprint" 279 + "bluetooth_le_tracker" 280 + "braviatv" 281 + "broadlink" 213 282 "brother" 283 + "bsblan" 214 284 "caldav" 215 285 "calendar" 216 286 "camera" 217 287 "canary" 218 288 "cast" 289 + "cert_expiry" 219 290 "climacell" 220 291 "climate" 221 292 "cloud" 293 + "cloudflare" 222 294 "comfoconnect" 223 295 "command_line" 296 + "compensation" 224 297 "config" 225 298 "configurator" 226 299 "conversation" 300 + "coronavirus" 227 301 "counter" 228 302 "cover" 303 + "daikin" 304 + "darksky" 305 + "datadog" 229 306 "deconz" 230 307 "default_config" 231 308 "demo" ··· 235 312 "device_sun_light_trigger" 236 313 "device_tracker" 237 314 "devolo_home_control" 315 + "dexcom" 238 316 "dhcp" 317 + "dialogflow" 239 318 "discovery" 240 319 "dsmr" 320 + "dte_energy_bridge" 321 + "duckdns" 322 + "dyson" 323 + "eafm" 241 324 "econet" 325 + "efergy" 326 + "emonitor" 242 327 "emulated_hue" 243 328 "esphome" 329 + "everlights" 330 + "ezviz" 331 + "faa_delays" 332 + "facebook" 333 + "facebox" 334 + "fail2ban" 244 335 "fan" 245 - "faa_delays" 336 + "feedreader" 246 337 "ffmpeg" 338 + "fido" 247 339 "file" 248 340 "filesize" 249 341 "filter" 342 + "firmata" 343 + "flo" 344 + "flume" 345 + "flunearyou" 250 346 "flux" 251 347 "folder" 252 348 "folder_watcher" 253 349 "freebox" 350 + "freedns" 254 351 "fritz" 255 352 "fritzbox" 256 353 "fritzbox_callmonitor" ··· 259 356 "generic_thermostat" 260 357 "geo_json_events" 261 358 "geo_location" 359 + "geofency" 360 + "glances" 361 + "google" 362 + "google_assistant" 363 + "google_domains" 364 + "google_pubsub" 365 + "google_translate" 366 + "google_travel_time" 367 + "google_wifi" 368 + "gpslogger" 369 + "graphite" 262 370 "group" 371 + "guardian" 372 + "harmony" 373 + "hassio" 263 374 "hddtemp" 264 375 "history" 265 376 "history_stats" 266 377 "home_connect" 267 378 "home_plus_control" 379 + "homeassistant" 268 380 "homekit" 269 381 "homekit_controller" 270 - "homeassistant" 271 382 "homematic" 272 383 "homematicip_cloud" 273 384 "html5" 274 385 "http" 275 386 "hue" 387 + "humidifier" 276 388 "hyperion" 389 + "ialarm" 277 390 "iaqualink" 391 + "icloud" 278 392 "ifttt" 279 393 "image" 280 394 "image_processing" 395 + "imap_email_content" 281 396 "influxdb" 282 397 "input_boolean" 283 398 "input_datetime" 284 - "input_text" 285 399 "input_number" 286 400 "input_select" 401 + "input_text" 402 + "insteon" 403 + "integration" 287 404 "intent" 288 405 "intent_script" 406 + "ios" 289 407 "ipp" 408 + "iqvia" 290 409 "islamic_prayer_times" 291 410 "jewish_calendar" 411 + "kira" 292 412 "kmtronic" 293 413 "knx" 294 414 "kodi" 415 + "lastfm" 416 + "lcn" 295 417 "light" 296 418 "litterrobot" 297 419 "local_file" 298 420 "local_ip" 421 + "locative" 299 422 "lock" 300 423 "logbook" 301 424 "logentries" 302 425 "logger" 426 + "london_air" 303 427 "lovelace" 428 + "luftdaten" 304 429 "lutron_caseta" 430 + "lyric" 431 + "mailbox" 305 432 "manual" 306 433 "manual_mqtt" 307 434 "mazda" 308 435 "media_player" 309 436 "media_source" 437 + "meraki" 310 438 "met" 311 439 "met_eireann" 440 + "microsoft_face" 441 + "microsoft_face_detect" 442 + "microsoft_face_identify" 443 + "mikrotik" 444 + "min_max" 312 445 "minecraft_server" 446 + "minio" 313 447 "mobile_app" 314 448 "modbus" 449 + "mold_indicator" 315 450 "moon" 316 451 "motioneye" 317 452 "mqtt" ··· 321 456 "mqtt_statestream" 322 457 "mullvad" 323 458 "mutesync" 459 + "my" 460 + "myq" 461 + "mysensors" 462 + "namecheapdns" 463 + "neato" 464 + "netatmo" 324 465 "nexia" 466 + "no_ip" 325 467 "notify" 326 468 "notion" 469 + "nuki" 327 470 "number" 471 + "nws" 328 472 "nx584" 329 473 "omnilogic" 474 + "onboarding" 330 475 "ondilo_ico" 476 + "openalpr_cloud" 477 + "openalpr_local" 331 478 "openerz" 479 + "openhardwaremonitor" 332 480 "opentherm_gw" 481 + "openuv" 482 + "openweathermap" 483 + "opnsense" 333 484 "ovo_energy" 485 + "owntracks" 334 486 "ozw" 335 487 "panel_custom" 336 488 "panel_iframe" 337 489 "persistent_notification" 338 490 "person" 339 491 "philips_js" 492 + "pi_hole" 493 + "picnic" 494 + "ping" 340 495 "plaato" 496 + "plant" 497 + "plex" 341 498 "plugwise" 499 + "poolsense" 500 + "profiler" 342 501 "prometheus" 343 502 "proximity" 344 503 "push" 504 + "pushbullet" 345 505 "pvpc_hourly_pricing" 346 506 "python_script" 507 + "rachio" 508 + "radarr" 509 + "rainmachine" 347 510 "random" 511 + "recollect_waste" 348 512 "recorder" 513 + "reddit" 514 + "remote" 349 515 "rest" 350 516 "rest_command" 517 + "ring" 518 + "risco" 351 519 "rituals_perfume_genie" 352 520 "rmvtransport" 353 521 "roku" ··· 355 523 "rss_feed_template" 356 524 "ruckus_unleashed" 357 525 "safe_mode" 526 + "samsungtv" 358 527 "scene" 359 528 "screenlogic" 360 529 "script" 361 530 "search" 531 + "season" 532 + "sensor" 533 + "sentry" 534 + "sharkiq" 362 535 "shell_command" 536 + "shelly" 363 537 "shopping_list" 538 + "sigfox" 539 + "sighthound" 364 540 "simplisafe" 365 541 "simulated" 542 + "slack" 366 543 "sleepiq" 367 544 "sma" 368 - "smhi" 369 - "sensor" 370 - "slack" 545 + "smappee" 371 546 "smartthings" 372 547 "smarttub" 548 + "smhi" 373 549 "smtp" 374 - "smappee" 550 + "snips" 375 551 "solaredge" 552 + "soma" 553 + "somfy" 376 554 "sonos" 555 + "soundtouch" 556 + "spaceapi" 557 + "speedtestdotnet" 377 558 "spotify" 378 559 "sql" 560 + "squeezebox" 379 561 "ssdp" 562 + "startca" 563 + "statistics" 564 + "statsd" 380 565 "stream" 566 + "stt" 381 567 "subaru" 382 568 "sun" 383 569 "surepetcare" 384 570 "switch" 571 + "switcher_kis" 385 572 "system_health" 386 573 "system_log" 574 + "tado" 387 575 "tag" 388 576 "tasmota" 389 577 "tcp" 578 + "telegram" 579 + "tellduslive" 390 580 "template" 391 581 "tesla" 392 582 "threshold" 583 + "tile" 393 584 "time_date" 394 585 "timer" 395 586 "tod" 587 + "tomato" 588 + "toon" 589 + "tplink" 396 590 "trace" 591 + "transmission" 592 + "trend" 397 593 "tts" 594 + "tuya" 595 + "twentemilieu" 596 + "twilio" 597 + "twinkly" 598 + "twitch" 599 + "uk_transport" 600 + "unifi" 601 + "unifi_direct" 398 602 "universal" 399 603 "updater" 400 604 "upnp" 401 605 "uptime" 606 + "usgs_earthquakes_feed" 607 + "utility_meter" 608 + "uvc" 402 609 "vacuum" 610 + "velbus" 611 + "vera" 403 612 "verisure" 404 613 "version" 405 614 "vesync" 615 + "vizio" 616 + "voicerss" 617 + "volumio" 618 + "vultr" 619 + "wake_on_lan" 620 + "water_heater" 621 + "waze_travel_time" 406 622 "weather" 407 623 "webhook" 624 + "webostv" 408 625 "websocket_api" 409 626 "wemo" 627 + "wiffi" 628 + "wilight" 410 629 "wled" 411 630 "workday" 412 631 "worldclock" 632 + "wsdot" 633 + "wunderground" 634 + "xiaomi" 635 + "xiaomi_aqara" 413 636 "xiaomi_miio" 637 + "yamaha" 414 638 "yandex_transport" 639 + "yandextts" 415 640 "yeelight" 416 641 "zeroconf" 642 + "zerproc" 417 643 "zha" 644 + "zodiac" 418 645 "zone" 419 646 "zwave" 420 647 "zwave_js" ··· 423 650 ]; 424 651 425 652 pytestFlagsArray = [ 426 - # limit amout of runners to reduce race conditions 427 - "-n auto" 653 + # parallelize test run 654 + "--numprocesses auto" 655 + # assign tests grouped by file to workers 656 + "--dist loadfile" 428 657 # retry racy tests that end in "RuntimeError: Event loop is closed" 429 658 "--reruns 3" 430 659 "--only-rerun RuntimeError" 431 - # assign tests grouped by file to workers 432 - "--dist loadfile" 433 660 # enable full variable printing on error 434 661 "--showlocals" 435 - # tests are located in tests/ 436 - "tests" 437 662 # screenlogic/test_config_flow.py: Tries to send out UDP broadcasts 438 663 "--deselect tests/components/screenlogic/test_config_flow.py::test_form_cannot_connect" 664 + # asuswrt/test_config_flow.py: Sandbox network limitations, fails with unexpected error 665 + "--deselect tests/components/asuswrt/test_config_flow.py::test_on_connect_failed" 666 + # shelly/test_config_flow.py: Tries to join multicast group 667 + "--deselect tests/components/shelly/test_config_flow.py::test_form" 668 + "--deselect tests/components/shelly/test_config_flow.py::test_title_without_name" 669 + "--deselect tests/components/shelly/test_config_flow.py::test_form_auth" 670 + "--deselect tests/components/shelly/test_config_flow.py::test_form_errors_test_connection" 671 + "--deselect tests/components/shelly/test_config_flow.py::test_user_setup_ignored_device" 672 + "--deselect tests/components/shelly/test_config_flow.py::test_form_auth_errors_test_connection" 673 + "--deselect tests/components/shelly/test_config_flow.py::test_form_auth_errors_test_connection" 674 + "--deselect tests/components/shelly/test_config_flow.py::test_form_auth_errors_test_connection" 675 + "--deselect tests/components/shelly/test_config_flow.py::test_zeroconf" 676 + "--deselect tests/components/shelly/test_config_flow.py::test_zeroconf_sleeping_device" 677 + "--deselect tests/components/shelly/test_config_flow.py::test_zeroconf_sleeping_device_error" 678 + "--deselect tests/components/shelly/test_config_flow.py::test_zeroconf_sleeping_device_error" 679 + "--deselect tests/components/shelly/test_config_flow.py::test_zeroconf_require_auth" 680 + # tests are located in tests/ 681 + "tests" 439 682 # dynamically add packages required for component tests 440 683 ] ++ map (component: "tests/components/" + component) componentTests; 441 684 ··· 464 707 "test_executor_shutdown_can_interrupt_threads" 465 708 # {'theme_color': '#03A9F4'} != {'theme_color': 'blue'} 466 709 "test_webhook_handle_get_config" 710 + # onboarding tests rpi_power component, for which we are lacking rpi_bad_power library 711 + "test_onboarding_core_sets_up_rpi_power" 712 + "test_onboarding_core_no_rpi_power" 467 713 ]; 468 714 469 715 preCheck = '' ··· 471 717 472 718 # the tests require the existance of a media dir 473 719 mkdir /build/media 720 + 721 + # put ping binary into PATH, e.g. for wake_on_lan tests 722 + export PATH=${inetutils}/bin:$PATH 474 723 475 724 # error out when component test directory is missing, otherwise hidden by xdist execution :( 476 725 for component in ${lib.concatStringsSep " " (map lib.escapeShellArg componentTests)}; do
+3 -3
pkgs/servers/http/gitlab-pages/default.nix
··· 2 2 3 3 buildGoModule rec { 4 4 pname = "gitlab-pages"; 5 - version = "1.38.0"; 5 + version = "1.39.0"; 6 6 7 7 src = fetchFromGitLab { 8 8 owner = "gitlab-org"; 9 9 repo = "gitlab-pages"; 10 10 rev = "v${version}"; 11 - sha256 = "sha256-QaqZGTkNAzQEqlwccAWPDP91BSc9vRDEsCBca/lEXW4="; 11 + sha256 = "sha256-eyg2o/5k7/zagYjkYJOnJrHeoszbRkmdl7UgO+rmKyc="; 12 12 }; 13 13 14 - vendorSha256 = "sha256-uuwuiGQWLIQ5UJuCKDBEvCPo2+AXtJ54ARK431qiakc="; 14 + vendorSha256 = "sha256-aedJ7vsv70aybjqBfUnSr4qhlFdY7jUUOSas3vXskpM="; 15 15 subPackages = [ "." ]; 16 16 17 17 meta = with lib; {
+2 -2
pkgs/servers/jackett/default.nix
··· 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "jackett"; 5 - version = "0.17.1027"; 5 + version = "0.18.15"; 6 6 7 7 src = fetchurl { 8 8 url = "https://github.com/Jackett/Jackett/releases/download/v${version}/Jackett.Binaries.Mono.tar.gz"; 9 - sha256 = "sha256:1kmi4f1ghx82rfd8y4laggg8cs9apnhcdkakfi0mah7hqcnqmhm3"; 9 + sha256 = "sha256-z2xmF4FIv+z7ybPE7b8ZeC1+jlFi2H2J7HT09Bqyyhs="; 10 10 }; 11 11 12 12 nativeBuildInputs = [ makeWrapper ];
+2 -2
pkgs/servers/matrix-synapse/default.nix
··· 12 12 in 13 13 buildPythonApplication rec { 14 14 pname = "matrix-synapse"; 15 - version = "1.33.2"; 15 + version = "1.34.0"; 16 16 17 17 src = fetchPypi { 18 18 inherit pname version; 19 - sha256 = "sha256-9WZjuVvWpzCR1MjeMXfja/YV2YFHdo7QbjgUWDymCpM="; 19 + sha256 = "sha256-lXVJfhcH9lKOCHn5f4Lc/OjgEYa5IpauKRhBsFXNWLw="; 20 20 }; 21 21 22 22 patches = [
+21 -8
pkgs/tools/filesystems/blobfuse/default.nix
··· 1 - { lib, stdenv, fetchFromGitHub, cmake, pkg-config, curl, gnutls, libgcrypt, libuuid, fuse }: 2 - 3 - stdenv.mkDerivation rec { 4 - pname = "blobfuse"; 5 - version = "1.0.2"; 1 + { lib, stdenv, fetchFromGitHub, cmake, pkg-config, curl, gnutls, libgcrypt, libuuid, fuse, boost }: 6 2 3 + let 4 + version = "1.3.7"; 7 5 src = fetchFromGitHub { 8 6 owner = "Azure"; 9 7 repo = "azure-storage-fuse"; 10 - rev = "v${version}"; 11 - sha256 = "1qh04z1fsj1l6l12sz9yl2sy9hwlrnzac54hwrr7wvsgv90n9gbp"; 8 + rev = "blobfuse-${version}-Linux"; 9 + sha256 = "sha256-yihIuS4AG489U7eBi/p7H6S7Cg54kkQeNVCexxQZ60A="; 10 + }; 11 + cpplite = stdenv.mkDerivation rec { 12 + pname = "cpplite"; 13 + inherit version src; 14 + 15 + sourceRoot = "source/cpplite"; 16 + patches = [ ./install-adls.patch ]; 17 + 18 + cmakeFlags = [ "-DBUILD_ADLS=ON" "-DUSE_OPENSSL=OFF" ]; 19 + 20 + buildInputs = [ curl libuuid gnutls ]; 21 + nativeBuildInputs = [ cmake pkg-config ]; 12 22 }; 23 + in stdenv.mkDerivation rec { 24 + pname = "blobfuse"; 25 + inherit version src; 13 26 14 27 NIX_CFLAGS_COMPILE = "-Wno-error=catch-value"; 15 28 16 - buildInputs = [ curl gnutls libgcrypt libuuid fuse ]; 29 + buildInputs = [ curl gnutls libgcrypt libuuid fuse boost cpplite ]; 17 30 nativeBuildInputs = [ cmake pkg-config ]; 18 31 19 32 meta = with lib; {
+14
pkgs/tools/filesystems/blobfuse/install-adls.patch
··· 1 + diff --git a/adls/CMakeLists.txt b/adls/CMakeLists.txt 2 + index 1fb7146..22e663a 100644 3 + --- a/adls/CMakeLists.txt 4 + +++ b/adls/CMakeLists.txt 5 + @@ -50,3 +50,9 @@ if(BUILD_TESTS) 6 + string(REGEX REPLACE "([^;]+)" "${CMAKE_CURRENT_SOURCE_DIR}/\\1" AZURE_STORAGE_ADLS_TEST_SOURCES "${AZURE_STORAGE_ADLS_TEST_SOURCES}") 7 + set(AZURE_STORAGE_ADLS_TEST_SOURCES ${AZURE_STORAGE_ADLS_TEST_SOURCES} PARENT_SCOPE) 8 + endif() 9 + + 10 + +install(TARGETS azure-storage-adls 11 + + ARCHIVE DESTINATION lib 12 + + LIBRARY DESTINATION lib 13 + + RUNTIME DESTINATION bin) 14 + +
+3 -3
pkgs/tools/misc/macchina/default.nix
··· 3 3 4 4 rustPlatform.buildRustPackage rec { 5 5 pname = "macchina"; 6 - version = "0.7.2"; 6 + version = "0.8.1"; 7 7 8 8 src = fetchFromGitHub { 9 9 owner = "Macchina-CLI"; 10 10 repo = pname; 11 11 rev = "v${version}"; 12 - sha256 = "sha256-ICiU0emo5lEs6996TwkauuBWb2+Yy6lL+/x7zQgO470="; 12 + sha256 = "04ya8sa0qhj0g3h5fi5fmx0xg1glg993xad4glfm317spgkff6z7"; 13 13 }; 14 14 15 - cargoSha256 = "sha256-OfOh0YXeLT/kBuR9SOV7pHa8Z4b6+JvtVwqqwd1hCJY="; 15 + cargoSha256 = "1gch2742zv0f23mq8ppmi75lmjj5m3s14wlsr72nd8hyn3ff7kbw"; 16 16 17 17 nativeBuildInputs = [ installShellFiles ]; 18 18 buildInputs = lib.optionals stdenv.isDarwin [ libiconv Foundation ];
+2 -1
pkgs/tools/misc/silicon/default.nix
··· 13 13 , AppKit 14 14 , CoreText 15 15 , Security 16 + , fira-code 16 17 }: 17 18 18 19 rustPlatform.buildRustPackage rec { ··· 28 29 29 30 cargoSha256 = "sha256-sUPOf9er+BOMqDJ8C6+Xjjqj6NQUV2JTzGA4yUWtDWM="; 30 31 31 - buildInputs = [ llvmPackages.libclang expat freetype ] 32 + buildInputs = [ llvmPackages.libclang expat freetype fira-code ] 32 33 ++ lib.optionals stdenv.isLinux [ libxcb ] 33 34 ++ lib.optionals stdenv.isDarwin [ libiconv AppKit CoreText Security ]; 34 35
+1 -1
pkgs/tools/misc/xvfb-run/default.nix
··· 23 23 ''; 24 24 25 25 meta = with lib; { 26 - platforms = platforms.unix; 26 + platforms = platforms.linux; 27 27 license = licenses.gpl2; 28 28 }; 29 29 }
+96 -48
pkgs/tools/networking/libreswan/default.nix
··· 1 - { lib, stdenv, fetchurl, makeWrapper, 2 - pkg-config, systemd, gmp, unbound, bison, flex, pam, libevent, libcap_ng, curl, nspr, 3 - bash, iproute2, iptables, procps, coreutils, gnused, gawk, nss, which, python3, 4 - docs ? false, xmlto, libselinux, ldns 5 - }: 1 + { lib 2 + , stdenv 3 + , fetchurl 4 + , fetchpatch 5 + , nixosTests 6 + , pkg-config 7 + , systemd 8 + , gmp 9 + , unbound 10 + , bison 11 + , flex 12 + , pam 13 + , libevent 14 + , libcap_ng 15 + , curl 16 + , nspr 17 + , bash 18 + , iproute2 19 + , iptables 20 + , procps 21 + , coreutils 22 + , gnused 23 + , gawk 24 + , nss 25 + , which 26 + , python3 27 + , libselinux 28 + , ldns 29 + , xmlto 30 + , docbook_xml_dtd_412 31 + , docbook_xsl 32 + , findXMLCatalogs 33 + }: 6 34 7 35 let 36 + # Tools needed by ipsec scripts 8 37 binPath = lib.makeBinPath [ 9 - bash iproute2 iptables procps coreutils gnused gawk nss.tools which python3 38 + iproute2 iptables procps 39 + coreutils gnused gawk 40 + nss.tools which 10 41 ]; 11 42 in 12 43 13 - assert docs -> xmlto != null; 14 - assert stdenv.isLinux -> libselinux != null; 15 - 16 44 stdenv.mkDerivation rec { 17 45 pname = "libreswan"; 18 - version = "3.32"; 46 + version = "4.4"; 19 47 20 48 src = fetchurl { 21 49 url = "https://download.libreswan.org/${pname}-${version}.tar.gz"; 22 - sha256 = "0bj3g6qwd3ir3gk6hdl9npy3k44shf56vcgjahn30qpmx3z5fsr3"; 50 + sha256 = "0xj974yc0y1r7235zl4jhvxqz3bpb8js2fy9ic820zq9swh0lgsz"; 23 51 }; 24 52 25 53 strictDeps = true; 26 54 27 - # These flags were added to compile v3.18. Try to lift them when updating. 28 - NIX_CFLAGS_COMPILE = toString [ "-Wno-error=redundant-decls" "-Wno-error=format-nonliteral" 29 - # these flags were added to build with gcc7 30 - "-Wno-error=implicit-fallthrough" 31 - "-Wno-error=format-truncation" 32 - "-Wno-error=pointer-compare" 33 - "-Wno-error=stringop-truncation" 34 - # The following flag allows libreswan v3.32 to work with NSS 3.22, see 35 - # https://github.com/libreswan/libreswan/issues/334. 36 - # This flag should not be needed for libreswan v3.33 (which is not yet released). 37 - "-DNSS_PKCS11_2_0_COMPAT=1" 38 - ]; 39 - 40 55 nativeBuildInputs = [ 41 56 bison 42 57 flex 43 - makeWrapper 44 58 pkg-config 59 + xmlto 60 + docbook_xml_dtd_412 61 + docbook_xsl 62 + findXMLCatalogs 45 63 ]; 46 64 47 - buildInputs = [ bash iproute2 iptables systemd coreutils gnused gawk gmp unbound pam libevent 48 - libcap_ng curl nspr nss python3 ldns ] 49 - ++ lib.optional docs xmlto 50 - ++ lib.optional stdenv.isLinux libselinux; 65 + buildInputs = [ 66 + systemd coreutils 67 + gnused gawk gmp unbound pam libevent 68 + libcap_ng curl nspr nss ldns 69 + # needed to patch shebangs 70 + python3 bash 71 + ] ++ lib.optional stdenv.isLinux libselinux; 72 + 73 + patches = [ 74 + # Fix compilation on aarch64, remove on next update 75 + (fetchpatch { 76 + url = "https://github.com/libreswan/libreswan/commit/ea50d36d2886e44317ba5ba841de1d1bf91aee6c.patch"; 77 + sha256 = "1jp89rm9jp55zmiyimyhg7yadj0fwwxaw7i5gyclrs38w3y1aacj"; 78 + }) 79 + ]; 51 80 52 81 prePatch = '' 53 - # Correct bash path 54 - sed -i -e 's|/bin/bash|/usr/bin/env bash|' mk/config.mk 82 + # Correct iproute2 path 83 + sed -e 's|"/sbin/ip"|"${iproute2}/bin/ip"|' \ 84 + -e 's|"/sbin/iptables"|"${iptables}/bin/iptables"|' \ 85 + -i initsystems/systemd/ipsec.service.in \ 86 + programs/verify/verify.in 55 87 56 - # Fix systemd unit directory, and prevent the makefile from trying to reload the 57 - # systemd daemon or create tmpfiles 58 - sed -i -e 's|UNITDIR=.*$|UNITDIR=$\{out}/etc/systemd/system/|g' \ 59 - -e 's|TMPFILESDIR=.*$|TMPFILESDIR=$\{out}/tmpfiles.d/|g' \ 60 - -e 's|systemctl|true|g' \ 61 - -e 's|systemd-tmpfiles|true|g' \ 62 - initsystems/systemd/Makefile 88 + # Prevent the makefile from trying to 89 + # reload the systemd daemon or create tmpfiles 90 + sed -e 's|systemctl|true|g' \ 91 + -e 's|systemd-tmpfiles|true|g' \ 92 + -i initsystems/systemd/Makefile 63 93 64 94 # Fix the ipsec program from crushing the PATH 65 - sed -i -e 's|\(PATH=".*"\):.*$|\1:$PATH|' programs/ipsec/ipsec.in 95 + sed -e 's|\(PATH=".*"\):.*$|\1:$PATH|' -i programs/ipsec/ipsec.in 66 96 67 97 # Fix python script to use the correct python 68 - sed -i -e 's|#!/usr/bin/python|#!/usr/bin/env python|' -e 's/^\(\W*\)installstartcheck()/\1sscmd = "ss"\n\0/' programs/verify/verify.in 98 + sed -e 's/^\(\W*\)installstartcheck()/\1sscmd = "ss"\n\0/' \ 99 + -i programs/verify/verify.in 100 + 101 + # Replace wget with curl to save a dependency 102 + curlArgs='-s --remote-name-all --output-dir' 103 + sed -e "s|wget -q -P|${curl}/bin/curl $curlArgs|g" \ 104 + -i programs/letsencrypt/letsencrypt.in 105 + 106 + # Patch the Makefile: 107 + # 1. correct the pam.d directory install path 108 + # 2. do not create the /var/lib/ directory 109 + sed -e 's|$(DESTDIR)/etc/pam.d|$(out)/etc/pam.d|' \ 110 + -e '/test ! -d $(NSSDIR)/,+3d' \ 111 + -i configs/Makefile 69 112 ''; 70 113 71 114 # Set appropriate paths for build ··· 73 116 74 117 makeFlags = [ 75 118 "INITSYSTEM=systemd" 76 - (if docs then "all" else "base") 119 + "UNITDIR=$(out)/etc/systemd/system/" 120 + "TMPFILESDIR=$(out)/lib/tmpfiles.d/" 77 121 ]; 78 122 79 - installTargets = [ (if docs then "install" else "install-base") ]; 80 123 # Hack to make install work 81 124 installFlags = [ 82 125 "FINALVARDIR=\${out}/var" ··· 84 127 ]; 85 128 86 129 postInstall = '' 87 - for i in $out/bin/* $out/libexec/ipsec/*; do 88 - wrapProgram "$i" --prefix PATH ':' "$out/bin:${binPath}" 89 - done 130 + # Install examples directory (needed for letsencrypt) 131 + cp -r docs/examples $out/share/doc/libreswan/examples 90 132 ''; 91 133 92 - enableParallelBuilding = true; 134 + postFixup = '' 135 + # Add a PATH to the main "ipsec" script 136 + sed -e '0,/^$/{s||export PATH=${binPath}:$PATH|}' \ 137 + -i $out/bin/ipsec 138 + ''; 139 + 140 + passthru.tests.libreswan = nixosTests.libreswan; 93 141 94 142 meta = with lib; { 95 143 homepage = "https://libreswan.org"; 96 144 description = "A free software implementation of the VPN protocol based on IPSec and the Internet Key Exchange"; 97 145 platforms = platforms.linux ++ platforms.freebsd; 98 - license = licenses.gpl2; 99 - maintainers = [ maintainers.afranchuk ]; 146 + license = with licenses; [ gpl2Plus mpl20 ] ; 147 + maintainers = with maintainers; [ afranchuk rnhmjoj ]; 100 148 }; 101 149 }
+7 -37
pkgs/tools/networking/tinyproxy/default.nix
··· 1 - { lib, stdenv, fetchFromGitHub, autoreconfHook, asciidoc, libxml2, 2 - libxslt, docbook_xsl }: 1 + { lib, stdenv, fetchFromGitHub, autoreconfHook, perl, withDebug ? false }: 3 2 4 3 stdenv.mkDerivation rec { 5 4 pname = "tinyproxy"; 6 - version = "1.10.0"; 5 + version = "1.11.0"; 7 6 8 7 src = fetchFromGitHub { 9 - sha256 = "0gzapnllzyc005l3rs6iarjk1p5fc8mf9ysbck1mbzbd8xg6w35s"; 8 + sha256 = "13fhkmmrwzl657dq04x2wagkpjwdrzhkl141qvzr7y7sli8j0w1n"; 10 9 rev = version; 11 10 repo = "tinyproxy"; 12 11 owner = "tinyproxy"; 13 12 }; 14 13 15 - nativeBuildInputs = [ autoreconfHook asciidoc libxml2 libxslt docbook_xsl ]; 16 - 17 - # -z flag is not supported in darwin 18 - preAutoreconf = lib.optionalString stdenv.isDarwin '' 19 - substituteInPlace configure.ac --replace \ 20 - 'LDFLAGS="-Wl,-z,defs $LDFLAGS"' \ 21 - 'LDFLAGS="-Wl, $LDFLAGS"' 22 - ''; 23 - 24 - # See: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=154624 25 - postConfigure = '' 26 - substituteInPlace docs/man5/Makefile --replace \ 27 - "-f manpage" \ 28 - "--xsltproc-opts=--nonet \\ 29 - -f manpage \\ 30 - -L" 31 - substituteInPlace docs/man8/Makefile --replace \ 32 - "-f manpage" \ 33 - "--xsltproc-opts=--nonet \\ 34 - -f manpage \\ 35 - -L" 36 - ''; 14 + # perl is needed for man page generation. 15 + nativeBuildInputs = [ autoreconfHook perl ]; 37 16 38 - configureFlags = [ 39 - "--disable-debug" # Turn off debugging 40 - "--enable-xtinyproxy" # Compile in support for the XTinyproxy header, which is sent to any web server in your domain. 41 - "--enable-filter" # Allows Tinyproxy to filter out certain domains and URLs. 42 - "--enable-upstream" # Enable support for proxying connections through another proxy server. 43 - "--enable-transparent" # Allow Tinyproxy to be used as a transparent proxy daemon. 44 - "--enable-reverse" # Enable reverse proxying. 45 - ] ++ 46 - # See: https://github.com/tinyproxy/tinyproxy/issues/1 47 - lib.optional stdenv.isDarwin "--disable-regexcheck"; 17 + configureFlags = lib.optionals withDebug [ "--enable-debug" ]; # Enable debugging support code and methods. 48 18 49 19 meta = with lib; { 50 20 homepage = "https://tinyproxy.github.io/"; 51 21 description = "A light-weight HTTP/HTTPS proxy daemon for POSIX operating systems"; 52 - license = licenses.gpl2; 22 + license = licenses.gpl2Only; 53 23 platforms = platforms.all; 54 24 maintainers = [ maintainers.carlosdagos ]; 55 25 };
+67
pkgs/tools/nix/nixos-install-tools/default.nix
··· 1 + { 2 + buildEnv, 3 + lib, 4 + man, 5 + nixos, 6 + # TODO: replace indirect self-reference by proper self-reference 7 + # https://github.com/NixOS/nixpkgs/pull/119942 8 + nixos-install-tools, 9 + runCommand, 10 + }: 11 + let 12 + inherit (nixos {}) config; 13 + version = config.system.nixos.version; 14 + in 15 + (buildEnv { 16 + name = "nixos-install-tools-${version}"; 17 + paths = lib.attrValues { 18 + # See nixos/modules/installer/tools/tools.nix 19 + inherit (config.system.build) 20 + nixos-install nixos-generate-config nixos-enter; 21 + 22 + # Required for --help. 23 + inherit (config.system.build.manual) manpages; 24 + }; 25 + 26 + extraOutputsToInstall = ["man"]; 27 + 28 + meta = { 29 + description = "The essential commands from the NixOS installer as a package"; 30 + longDescription = '' 31 + With this package, you get the commands like nixos-generate-config and 32 + nixos-install that you would otherwise only find on a NixOS system, such 33 + as an installer image. 34 + 35 + This way, you can install NixOS using a machine that only has Nix. 36 + ''; 37 + license = lib.licenses.mit; 38 + homepage = "https://nixos.org"; 39 + platforms = lib.platforms.linux; 40 + }; 41 + 42 + passthru.tests = { 43 + nixos-install-help = runCommand "test-nixos-install-help" { 44 + nativeBuildInputs = [ 45 + man 46 + nixos-install-tools 47 + ]; 48 + meta.description = '' 49 + Make sure that --help works. It's somewhat non-trivial because it 50 + requires man. 51 + ''; 52 + } '' 53 + nixos-install --help | grep -F 'NixOS Reference Pages' 54 + nixos-install --help | grep -F 'configuration.nix' 55 + nixos-generate-config --help | grep -F 'NixOS Reference Pages' 56 + nixos-generate-config --help | grep -F 'hardware-configuration.nix' 57 + 58 + # FIXME: Tries to call unshare, which it must not do for --help 59 + # nixos-enter --help | grep -F 'NixOS Reference Pages' 60 + 61 + touch $out 62 + ''; 63 + }; 64 + }).overrideAttrs (o: { 65 + inherit version; 66 + pname = "nixos-install-tools"; 67 + })
+3 -3
pkgs/tools/security/sequoia/default.nix
··· 25 25 pname = "sequoia"; 26 26 # Upstream has separate version numbering for the library and the CLI frontend. 27 27 # This derivation provides the CLI frontend, and thus uses its version number. 28 - version = "0.24.0"; 28 + version = "0.25.0"; 29 29 30 30 src = fetchFromGitLab { 31 31 owner = "sequoia-pgp"; 32 32 repo = "sequoia"; 33 33 rev = "sq/v${version}"; 34 - sha256 = "0zavkf0grkqljyiywcprsiv8igidk8vc3yfj3fzqvbhm43vnnbdw"; 34 + sha256 = "13f582g10vba0cpbdmqkkfzgd5jgagb640jaz1w425wf5nbh6q50"; 35 35 }; 36 36 37 - cargoSha256 = "0zv6mnjbp44vp85rw4l1nqk4yb7dzqp031r8rgqq2avbnq018yhk"; 37 + cargoSha256 = "sha256-qIGP48uj2iQ6MVgy5anKI9QrX9vnuKh46Fmmcczda4w="; 38 38 39 39 nativeBuildInputs = [ 40 40 pkg-config
+5 -11
pkgs/tools/system/gdu/default.nix
··· 1 1 { lib 2 + , stdenv 2 3 , buildGoModule 3 4 , fetchFromGitHub 4 5 , installShellFiles ··· 6 7 7 8 buildGoModule rec { 8 9 pname = "gdu"; 9 - version = "4.11.1"; 10 + version = "4.11.2"; 10 11 11 12 src = fetchFromGitHub { 12 13 owner = "dundee"; 13 14 repo = pname; 14 15 rev = "v${version}"; 15 - sha256 = "sha256-e9TYArmNWnK8XXcniAQCegrfWAUfTKKuClgdSTQep0U="; 16 + sha256 = "sha256-IrlyHYAcoRvF5CA0LMKHTb8aYSawvEcU7s+a03QYI1c="; 16 17 }; 17 18 18 19 vendorSha256 = "sha256-QiO5p0x8kmIN6f0uYS0IR2MlWtRYTHeZpW6Nmupjias="; ··· 27 28 ]; 28 29 29 30 postPatch = '' 30 - substituteInPlace cmd/app/app_test.go --replace "development" "${version}" 31 + substituteInPlace cmd/gdu/app/app_test.go --replace "development" "${version}" 31 32 ''; 32 33 33 34 postInstall = '' 34 35 installManPage gdu.1 35 36 ''; 36 37 37 - # tests fail with: 38 - # dir_test.go:76: 39 - # Error Trace: dir_test.go:76 40 - # Error: Not equal: 41 - # expected: 0 42 - # actual : 512 43 - # Test: TestFlags 44 - doCheck = false; 38 + doCheck = !(stdenv.isAarch64 || stdenv.isDarwin); 45 39 46 40 meta = with lib; { 47 41 description = "Disk usage analyzer with console interface";
+19 -7
pkgs/top-level/all-packages.nix
··· 3907 3907 3908 3908 deno = callPackage ../development/web/deno { 3909 3909 inherit (darwin) libobjc; 3910 - inherit (darwin.apple_sdk.frameworks) Security CoreServices Metal Foundation; 3910 + inherit (darwin.apple_sdk.frameworks) 3911 + Security CoreServices Metal Foundation QuartzCore; 3911 3912 }; 3912 3913 3913 3914 detox = callPackage ../tools/misc/detox { }; ··· 13434 13435 13435 13436 lttv = callPackage ../development/tools/misc/lttv { }; 13436 13437 13437 - luaformatter = callPackage ../development/tools/luaformatter { }; 13438 + luaformatter = callPackage ../development/tools/luaformatter 13439 + (lib.optionalAttrs stdenv.isDarwin { 13440 + stdenv = overrideCC stdenv llvmPackages_latest.clang; 13441 + }); 13438 13442 13439 13443 massif-visualizer = libsForQt5.callPackage ../development/tools/analysis/massif-visualizer { }; 13440 13444 ··· 13671 13675 13672 13676 remake = callPackage ../development/tools/build-managers/remake { }; 13673 13677 13678 + replace-secret = callPackage ../build-support/replace-secret/replace-secret.nix { }; 13679 + 13674 13680 replacement = callPackage ../development/tools/misc/replacement { }; 13675 13681 13676 13682 retdec = callPackage ../development/tools/analysis/retdec { ··· 13876 13882 texi2mdoc = callPackage ../tools/misc/texi2mdoc { }; 13877 13883 13878 13884 texlab = callPackage ../development/tools/misc/texlab { 13879 - inherit (darwin.apple_sdk.frameworks) Security; 13885 + inherit (darwin.apple_sdk.frameworks) Security CoreServices; 13880 13886 }; 13881 13887 13882 13888 tflint = callPackage ../development/tools/analysis/tflint { }; ··· 20458 20464 20459 20465 bbswitch = callPackage ../os-specific/linux/bbswitch {}; 20460 20466 20461 - ati_drivers_x11 = callPackage ../os-specific/linux/ati-drivers { }; 20467 + ati_drivers_x11 = throw "ati drivers are no longer supported by any kernel >=4.1"; # added 2021-05-18 20462 20468 20463 20469 chipsec = callPackage ../tools/security/chipsec { 20464 20470 inherit kernel; ··· 26794 26800 26795 26801 lavalauncher = callPackage ../applications/misc/lavalauncher { }; 26796 26802 26797 - t-rec = callPackage ../misc/t-rec { }; 26803 + t-rec = callPackage ../misc/t-rec { 26804 + inherit (darwin.apple_sdk.frameworks) Foundation; 26805 + }; 26798 26806 26799 26807 ulauncher = callPackage ../applications/misc/ulauncher { }; 26800 26808 ··· 26847 26855 26848 26856 utox = callPackage ../applications/networking/instant-messengers/utox { }; 26849 26857 26850 - valentina = libsForQt514.callPackage ../applications/misc/valentina { }; 26858 + valentina = libsForQt512.callPackage ../applications/misc/valentina { }; 26851 26859 26852 26860 vbindiff = callPackage ../applications/editors/vbindiff { }; 26853 26861 ··· 30538 30546 (import ../../nixos/lib/make-options-doc/default.nix) 30539 30547 ({ inherit pkgs lib; } // attrs); 30540 30548 30549 + nixos-install-tools = callPackage ../tools/nix/nixos-install-tools { }; 30550 + 30541 30551 nixui = callPackage ../tools/package-management/nixui { node_webkit = nwjs_0_12; }; 30542 30552 30543 30553 nixdoc = callPackage ../tools/nix/nixdoc {}; ··· 30899 30909 hasktags = haskellPackages.hasktags; 30900 30910 }; 30901 30911 30902 - spacenavd = callPackage ../misc/drivers/spacenavd { }; 30912 + spacenavd = callPackage ../misc/drivers/spacenavd { 30913 + inherit (darwin.apple_sdk.frameworks) IOKit; 30914 + }; 30903 30915 30904 30916 spacenav-cube-example = callPackage ../applications/misc/spacenav-cube-example { }; 30905 30917
+1 -1
pkgs/top-level/haskell-packages.nix
··· 86 86 llvmPackages = pkgs.llvmPackages_10; 87 87 }; 88 88 ghcHEAD = callPackage ../development/compilers/ghc/head.nix { 89 - bootPkgs = packages.ghc8104; # no binary yet 89 + bootPkgs = packages.ghc901; # no binary yet 90 90 inherit (buildPackages.python3Packages) sphinx; 91 91 buildLlvmPackages = buildPackages.llvmPackages_10; 92 92 llvmPackages = pkgs.llvmPackages_10;
+8 -2
pkgs/top-level/python-packages.nix
··· 6694 6694 6695 6695 pythonnet = callPackage 6696 6696 ../development/python-modules/pythonnet { 6697 - # `mono >= 4.6` required to prevent crashes encountered with earlier versions. 6698 - mono = pkgs.mono4; 6697 + # Using `mono > 5`, tests are failing.. 6698 + mono = pkgs.mono5; 6699 6699 }; 6700 6700 6701 6701 python-nmap = callPackage ../development/python-modules/python-nmap { }; ··· 7770 7770 7771 7771 spinners = callPackage ../development/python-modules/spinners { }; 7772 7772 7773 + sphinxcontrib-actdiag = callPackage ../development/python-modules/sphinxcontrib-actdiag { }; 7774 + 7773 7775 sphinxcontrib-applehelp = callPackage ../development/python-modules/sphinxcontrib-applehelp { }; 7774 7776 7775 7777 sphinxcontrib-autoapi = callPackage ../development/python-modules/sphinxcontrib-autoapi { }; ··· 7792 7794 7793 7795 sphinxcontrib-katex = callPackage ../development/python-modules/sphinxcontrib-katex { }; 7794 7796 7797 + sphinxcontrib-nwdiag = callPackage ../development/python-modules/sphinxcontrib-nwdiag { }; 7798 + 7795 7799 sphinxcontrib_newsfeed = callPackage ../development/python-modules/sphinxcontrib_newsfeed { }; 7796 7800 7797 7801 sphinxcontrib-openapi = callPackage ../development/python-modules/sphinxcontrib-openapi { }; ··· 7803 7807 sphinxcontrib-qthelp = callPackage ../development/python-modules/sphinxcontrib-qthelp { }; 7804 7808 7805 7809 sphinxcontrib-serializinghtml = callPackage ../development/python-modules/sphinxcontrib-serializinghtml { }; 7810 + 7811 + sphinxcontrib-seqdiag = callPackage ../development/python-modules/sphinxcontrib-seqdiag { }; 7806 7812 7807 7813 sphinxcontrib-spelling = callPackage ../development/python-modules/sphinxcontrib-spelling { }; 7808 7814
+11 -3
pkgs/top-level/release-haskell.nix
··· 1 1 /* 2 + This is the Hydra jobset for the `haskell-updates` branch in Nixpkgs. 3 + You can see the status of this jobset at 4 + https://hydra.nixos.org/jobset/nixpkgs/haskell-updates. 5 + 2 6 To debug this expression you can use `hydra-eval-jobs` from 3 7 `pkgs.hydra-unstable` which prints the jobset description 4 8 to `stdout`: ··· 144 148 koka 145 149 krank 146 150 lambdabot 147 - ldgallery 148 151 madlang 149 152 matterhorn 150 153 mueval ··· 205 208 cabal-install = all; 206 209 Cabal_3_4_0_0 = with compilerNames; [ ghc884 ghc8104 ]; 207 210 funcmp = all; 208 - haskell-language-server = all; 211 + # Doesn't currently work on ghc-9.0: 212 + # https://github.com/haskell/haskell-language-server/issues/297 213 + haskell-language-server = with compilerNames; [ ghc884 ghc8104 ]; 209 214 hoogle = all; 210 215 hsdns = all; 211 216 jailbreak-cabal = all; ··· 226 231 constituents = accumulateDerivations [ 227 232 # haskell specific tests 228 233 jobs.tests.haskell 229 - jobs.tests.writers # writeHaskell{,Bin} 234 + # writeHaskell and writeHaskellBin 235 + # TODO: writeHaskell currently fails on darwin 236 + jobs.tests.writers.x86_64-linux 237 + jobs.tests.writers.aarch64-linux 230 238 # important top-level packages 231 239 jobs.cabal-install 232 240 jobs.cabal2nix