lol

Merge remote-tracking branch 'upstream/python-wip' into HEAD

+1581 -662
+3
nixos/modules/rename.nix
··· 25 25 (mkRenamedOptionModule [ "services" "sslh" "host" ] [ "services" "sslh" "listenAddress" ]) 26 26 (mkRenamedOptionModule [ "services" "statsd" "host" ] [ "services" "statsd" "listenAddress" ]) 27 27 (mkRenamedOptionModule [ "services" "subsonic" "host" ] [ "services" "subsonic" "listenAddress" ]) 28 + (mkRenamedOptionModule [ "services" "tor" "relay" "portSpec" ] [ "services" "tor" "relay" "port" ]) 28 29 (mkRenamedOptionModule [ "jobs" ] [ "systemd" "services" ]) 29 30 30 31 (mkRenamedOptionModule [ "services" "gitlab" "stateDir" ] [ "services" "gitlab" "statePath" ]) ··· 195 196 (mkRemovedOptionModule [ "services" "openvpn" "enable" ] "") 196 197 (mkRemovedOptionModule [ "services" "printing" "cupsFilesConf" ] "") 197 198 (mkRemovedOptionModule [ "services" "printing" "cupsdConf" ] "") 199 + (mkRemovedOptionModule [ "services" "tor" "relay" "isBridge" ] "Use services.tor.relay.role instead.") 200 + (mkRemovedOptionModule [ "services" "tor" "relay" "isExit" ] "Use services.tor.relay.role instead.") 198 201 (mkRemovedOptionModule [ "services" "xserver" "startGnuPGAgent" ] 199 202 "See the 16.09 release notes for more information.") 200 203 (mkRemovedOptionModule [ "services" "phpfpm" "phpIni" ] "")
+2 -2
nixos/modules/security/pam.nix
··· 281 281 "auth optional ${pkgs.pam_mount}/lib/security/pam_mount.so"} 282 282 ${optionalString cfg.enableKwallet 283 283 ("auth optional ${pkgs.plasma5.kwallet-pam}/lib/security/pam_kwallet5.so" + 284 - " kwalletd=${pkgs.libsForQt5.kwallet}/bin/kwalletd5")} 284 + " kwalletd=${pkgs.libsForQt5.kwallet.bin}/bin/kwalletd5")} 285 285 '') + '' 286 286 ${optionalString cfg.unixAuth 287 287 "auth sufficient pam_unix.so ${optionalString cfg.allowNullPassword "nullok"} likeauth try_first_pass"} ··· 350 350 "session optional ${pkgs.apparmor-pam}/lib/security/pam_apparmor.so order=user,group,default debug"} 351 351 ${optionalString (cfg.enableKwallet) 352 352 ("session optional ${pkgs.plasma5.kwallet-pam}/lib/security/pam_kwallet5.so" + 353 - " kwalletd=${pkgs.libsForQt5.kwallet}/bin/kwalletd5")} 353 + " kwalletd=${pkgs.libsForQt5.kwallet.bin}/bin/kwalletd5")} 354 354 ''); 355 355 }; 356 356
+1 -1
nixos/modules/services/misc/bepasty.nix
··· 3 3 with lib; 4 4 let 5 5 gunicorn = pkgs.pythonPackages.gunicorn; 6 - bepasty = pkgs.pythonPackages.bepasty-server; 6 + bepasty = pkgs.bepasty; 7 7 gevent = pkgs.pythonPackages.gevent; 8 8 python = pkgs.pythonPackages.python; 9 9 cfg = config.services.bepasty;
+291 -127
nixos/modules/services/security/tor.nix
··· 7 7 torDirectory = "/var/lib/tor"; 8 8 9 9 opt = name: value: optionalString (value != null) "${name} ${value}"; 10 - optint = name: value: optionalString (value != 0) "${name} ${toString value}"; 10 + optint = name: value: optionalString (value != null && value != 0) "${name} ${toString value}"; 11 11 12 12 torRc = '' 13 13 User tor ··· 17 17 GeoIPv6File ${pkgs.tor.geoip}/share/tor/geoip6 18 18 ''} 19 19 20 - ${optint "ControlPort" cfg.controlPort} 20 + ${optint "ControlPort" (toString cfg.controlPort)} 21 21 '' 22 22 # Client connection config 23 23 + optionalString cfg.client.enable '' ··· 27 27 '' 28 28 # Relay config 29 29 + optionalString cfg.relay.enable '' 30 - ORPort ${cfg.relay.portSpec} 30 + ORPort ${toString cfg.relay.port} 31 + ${opt "Address" cfg.relay.address} 31 32 ${opt "Nickname" cfg.relay.nickname} 32 33 ${opt "ContactInfo" cfg.relay.contactInfo} 33 34 ··· 36 37 ${opt "AccountingMax" cfg.relay.accountingMax} 37 38 ${opt "AccountingStart" cfg.relay.accountingStart} 38 39 39 - ${if cfg.relay.isExit then 40 + ${if (cfg.relay.role == "exit") then 40 41 opt "ExitPolicy" cfg.relay.exitPolicy 41 42 else 42 43 "ExitPolicy reject *:*"} 43 44 44 - ${optionalString cfg.relay.isBridge '' 45 + ${optionalString (elem cfg.relay.role ["bridge" "private-bridge"]) '' 45 46 BridgeRelay 1 46 47 ServerTransportPlugin obfs2,obfs3 exec ${pkgs.pythonPackages.obfsproxy}/bin/obfsproxy managed 48 + ExtORPort auto 49 + ${optionalString (cfg.relay.role == "private-bridge") '' 50 + ExtraInfoStatistics 0 51 + PublishServerDescriptor 0 52 + ''} 47 53 ''} 48 54 '' 49 - + hiddenServices 55 + # Hidden services 56 + + concatStrings (flip mapAttrsToList cfg.hiddenServices (n: v: '' 57 + HiddenServiceDir ${torDirectory}/onion/${v.name} 58 + ${flip concatMapStrings v.map (p: '' 59 + HiddenServicePort ${toString p.port} ${p.destination} 60 + '')} 61 + '')) 50 62 + cfg.extraConfig; 51 63 52 - hiddenServices = concatStrings (mapAttrsToList (hiddenServiceDir: hs: 53 - let 54 - hsports = concatStringsSep "\n" (map mkHiddenServicePort hs.hiddenServicePorts); 55 - in 56 - "HiddenServiceDir ${hiddenServiceDir}\n${hsports}\n${hs.extraConfig}\n" 57 - ) cfg.hiddenServices); 64 + torRcFile = pkgs.writeText "torrc" torRc; 58 65 59 - mkHiddenServicePort = hsport: let 60 - trgt = optionalString (hsport.target != null) (" " + hsport.target); 61 - in "HiddenServicePort ${toString hsport.virtualPort}${trgt}"; 62 - 63 - torRcFile = pkgs.writeText "torrc" torRc; 64 66 in 65 67 { 66 68 options = { ··· 96 98 }; 97 99 98 100 controlPort = mkOption { 99 - type = types.int; 100 - default = 0; 101 + type = types.nullOr (types.either types.int types.str); 102 + default = null; 101 103 example = 9051; 102 104 description = '' 103 105 If set, Tor will accept connections on the specified port ··· 133 135 example = "192.168.0.1:9101"; 134 136 description = '' 135 137 Bind to this address to listen for connections from 136 - Socks-speaking applications. Same as socksListenAddress 137 - but uses weaker circuit isolation to provide performance 138 - suitable for a web browser. 138 + Socks-speaking applications. Same as 139 + <option>socksListenAddress</option> but uses weaker 140 + circuit isolation to provide performance suitable for a 141 + web browser. 139 142 ''; 140 143 }; 141 144 ··· 145 148 example = "accept 192.168.0.0/16, reject *"; 146 149 description = '' 147 150 Entry policies to allow/deny SOCKS requests based on IP 148 - address. First entry that matches wins. If no SocksPolicy 151 + address. First entry that matches wins. If no SocksPolicy 149 152 is set, we accept all (and only) requests from 150 - SocksListenAddress. 153 + <option>socksListenAddress</option>. 151 154 ''; 152 155 }; 153 156 ··· 176 179 description = '' 177 180 Whether to enable relaying TOR traffic for others. 178 181 179 - See https://www.torproject.org/docs/tor-doc-relay for details. 182 + See <link xlink:href="https://www.torproject.org/docs/tor-doc-relay" /> 183 + for details. 184 + 185 + Setting this to true requires setting 186 + <option>services.tor.relay.role</option> 187 + and 188 + <option>services.tor.relay.port</option> 189 + options. 180 190 ''; 181 191 }; 182 192 183 - isBridge = mkOption { 184 - type = types.bool; 185 - default = false; 193 + role = mkOption { 194 + type = types.enum [ "exit" "relay" "bridge" "private-bridge" ]; 186 195 description = '' 187 - Bridge relays (or "bridges") are Tor relays that aren't 188 - listed in the main directory. Since there is no complete 189 - public list of them, even if an ISP is filtering 190 - connections to all the known Tor relays, they probably 191 - won't be able to block all the bridges. 196 + Your role in Tor network. There're several options: 197 + 198 + <variablelist> 199 + <varlistentry> 200 + <term><literal>exit</literal></term> 201 + <listitem> 202 + <para> 203 + An exit relay. This allows Tor users to access regular 204 + Internet services through your public IP. 205 + </para> 206 + 207 + <important><para> 208 + Running an exit relay may expose you to abuse 209 + complaints. See 210 + <link xlink:href="https://www.torproject.org/faq.html.en#ExitPolicies" /> 211 + for more info. 212 + </para></important> 213 + 214 + <para> 215 + You can specify which services Tor users may access via 216 + your exit relay using <option>exitPolicy</option> option. 217 + </para> 218 + </listitem> 219 + </varlistentry> 220 + 221 + <varlistentry> 222 + <term><literal>relay</literal></term> 223 + <listitem> 224 + <para> 225 + Regular relay. This allows Tor users to relay onion 226 + traffic to other Tor nodes, but not to public 227 + Internet. 228 + </para> 229 + 230 + <important><para> 231 + Note that some misconfigured and/or disrespectful 232 + towards privacy sites will block you even if your 233 + relay is not an exit relay. That is, just being listed 234 + in a public relay directory can have unwanted 235 + consequences. 192 236 193 - A bridge relay can't be an exit relay. 237 + Which means you might not want to use 238 + this role if you browse public Internet from the same 239 + network as your relay, unless you want to write 240 + e-mails to those sites (you should!). 241 + </para></important> 194 242 195 - You need to set relay.enable to true for this option to 196 - take effect. 243 + <para> 244 + See 245 + <link xlink:href="https://www.torproject.org/docs/tor-doc-relay.html.en" /> 246 + for more info. 247 + </para> 248 + </listitem> 249 + </varlistentry> 197 250 198 - The bridge is set up with an obfuscated transport proxy. 251 + <varlistentry> 252 + <term><literal>bridge</literal></term> 253 + <listitem> 254 + <para> 255 + Regular bridge. Works like a regular relay, but 256 + doesn't list you in the public relay directory and 257 + hides your Tor node behind obfsproxy. 258 + </para> 199 259 200 - See https://www.torproject.org/bridges.html.en for more info. 201 - ''; 202 - }; 260 + <para> 261 + Using this option will make Tor advertise your bridge 262 + to users through various mechanisms like 263 + <link xlink:href="https://bridges.torproject.org/" />, though. 264 + </para> 203 265 204 - isExit = mkOption { 205 - type = types.bool; 206 - default = false; 207 - description = '' 208 - An exit relay allows Tor users to access regular Internet 209 - services. 266 + <important> 267 + <para> 268 + WARNING: THE FOLLOWING PARAGRAPH IS NOT LEGAL ADVISE. 269 + Consult with your lawer when in doubt. 270 + </para> 210 271 211 - Unlike running a non-exit relay, running an exit relay may 212 - expose you to abuse complaints. See 213 - https://www.torproject.org/faq.html.en#ExitPolicies for 214 - more info. 272 + <para> 273 + This role should be safe to use in most situations 274 + (unless the act of forwarding traffic for others is 275 + a punishable offence under your local laws, which 276 + would be pretty insane as it would make ISP 277 + illegal). 278 + </para> 279 + </important> 215 280 216 - You can specify which services Tor users may access via 217 - your exit relay using exitPolicy option. 281 + <para> 282 + See <link xlink:href="https://www.torproject.org/docs/bridges.html.en" /> 283 + for more info. 284 + </para> 285 + </listitem> 286 + </varlistentry> 287 + 288 + <varlistentry> 289 + <term><literal>private-bridge</literal></term> 290 + <listitem> 291 + <para> 292 + Private bridge. Works like regular bridge, but does 293 + not advertise your node in any way. 294 + </para> 295 + 296 + <para> 297 + Using this role means that you won't contribute to Tor 298 + network in any way unless you advertise your node 299 + yourself in some way. 300 + </para> 301 + 302 + <para> 303 + Use this if you want to run a private bridge, for 304 + example because you'll give out your bridge address 305 + manually to your friends. 306 + </para> 307 + 308 + <para> 309 + Switching to this role after measurable time in 310 + "bridge" role is pretty useless as some Tor users 311 + would have learned about your node already. In the 312 + latter case you can still change 313 + <option>port</option> option. 314 + </para> 315 + 316 + <para> 317 + See <link xlink:href="https://www.torproject.org/docs/bridges.html.en" /> 318 + for more info. 319 + </para> 320 + </listitem> 321 + </varlistentry> 322 + </variablelist> 218 323 ''; 219 324 }; 220 325 ··· 268 373 }; 269 374 270 375 bandwidthRate = mkOption { 271 - type = types.int; 272 - default = 0; 376 + type = types.nullOr types.int; 377 + default = null; 273 378 example = 100; 274 379 description = '' 275 380 Specify this to limit the bandwidth usage of relayed (server) ··· 278 383 }; 279 384 280 385 bandwidthBurst = mkOption { 281 - type = types.int; 386 + type = types.nullOr types.int; 282 387 default = cfg.relay.bandwidthRate; 283 388 example = 200; 284 389 description = '' ··· 288 393 ''; 289 394 }; 290 395 291 - portSpec = mkOption { 292 - type = types.str; 293 - example = "143"; 396 + address = mkOption { 397 + type = types.nullOr types.str; 398 + default = null; 399 + example = "noname.example.com"; 400 + description = '' 401 + The IP address or full DNS name for advertised address of your relay. 402 + Leave unset and Tor will guess. 403 + ''; 404 + }; 405 + 406 + port = mkOption { 407 + type = types.either types.int types.str; 408 + example = 143; 294 409 description = '' 295 410 What port to advertise for Tor connections. This corresponds to the 296 411 <literal>ORPort</literal> section in the Tor manual; see ··· 313 428 considered first to last, and the first match wins. If you 314 429 want to _replace_ the default exit policy, end this with 315 430 either a reject *:* or an accept *:*. Otherwise, you're 316 - _augmenting_ (prepending to) the default exit 317 - policy. Leave commented to just use the default, which is 431 + _augmenting_ (prepending to) the default exit policy. 432 + Leave commented to just use the default, which is 318 433 available in the man page or at 319 - https://www.torproject.org/documentation.html 434 + <link xlink:href="https://www.torproject.org/documentation.html" />. 320 435 321 - Look at https://www.torproject.org/faq-abuse.html#TypicalAbuses 322 - for issues you might encounter if you use the default exit policy. 436 + Look at 437 + <link xlink:href="https://www.torproject.org/faq-abuse.html#TypicalAbuses" /> 438 + for issues you might encounter if you use the default 439 + exit policy. 323 440 324 441 If certain IPs and ports are blocked externally, e.g. by 325 442 your firewall, you should update your exit policy to ··· 330 447 }; 331 448 332 449 hiddenServices = mkOption { 333 - type = types.attrsOf (types.submodule ({ 450 + description = '' 451 + A set of static hidden services that terminate their Tor 452 + circuits at this node. 453 + 454 + Every element in this set declares a virtual onion host. 455 + 456 + You can specify your onion address by putting corresponding 457 + private key to an appropriate place in ${torDirectory}. 458 + 459 + For services without private keys in ${torDirectory} Tor 460 + daemon will generate random key pairs (which implies random 461 + onion addresses) on restart. The latter could take a while, 462 + please be patient. 463 + 464 + <note><para> 465 + Hidden services can be useful even if you don't intend to 466 + actually <emphasis>hide</emphasis> them, since they can 467 + also be seen as a kind of NAT traversal mechanism. 468 + 469 + E.g. the example will make your sshd, whatever runs on 470 + "8080" and your mail server available from anywhere where 471 + the Tor network is available (which, with the help from 472 + bridges, is pretty much everywhere), even if both client 473 + and server machines are behind NAT you have no control 474 + over. 475 + </para></note> 476 + ''; 477 + default = {}; 478 + example = literalExample '' 479 + { "my-hidden-service-example".map = [ 480 + { port = 22; } # map ssh port to this machine's ssh 481 + { port = 80; toPort = 8080; } # map http port to whatever runs on 8080 482 + { port = "sip"; toHost = "mail.example.com"; toPort = "imap"; } # because we can 483 + ]; 484 + } 485 + ''; 486 + type = types.loaOf (types.submodule ({name, config, ...}: { 334 487 options = { 335 - hiddenServicePorts = mkOption { 336 - type = types.listOf (types.submodule { 337 - options = { 338 - virtualPort = mkOption { 339 - type = types.int; 340 - example = 80; 341 - description = "Virtual port."; 342 - }; 343 - target = mkOption { 344 - type = types.nullOr types.str; 345 - default = null; 346 - example = "127.0.0.1:8080"; 347 - description = '' 348 - Target virtual Port shall be mapped to. 488 + 489 + name = mkOption { 490 + type = types.str; 491 + description = '' 492 + Name of this tor hidden service. 493 + 494 + This is purely descriptive. 495 + 496 + After restarting Tor daemon you should be able to 497 + find your .onion address in 498 + <literal>${torDirectory}/onion/$name/hostname</literal>. 499 + ''; 500 + }; 501 + 502 + map = mkOption { 503 + default = []; 504 + description = "Port mapping for this hidden service."; 505 + type = types.listOf (types.submodule ({config, ...}: { 506 + options = { 507 + 508 + port = mkOption { 509 + type = types.either types.int types.str; 510 + example = 80; 511 + description = '' 512 + Hidden service port to "bind to". 513 + ''; 514 + }; 515 + 516 + destination = mkOption { 517 + internal = true; 518 + type = types.str; 519 + description = "Forward these connections where?"; 520 + }; 349 521 350 - You may override the target port, address, or both by 351 - specifying a target of addr, port, addr:port, or 352 - unix:path. (You can specify an IPv6 target as 353 - [addr]:port. Unix paths may be quoted, and may use 354 - standard C escapes.) 355 - ''; 356 - }; 357 - }; 358 - }); 359 - example = [ { virtualPort = 80; target = "127.0.0.1:8080"; } { virtualPort = 6667; } ]; 360 - description = '' 361 - If target is <literal>null</literal> the virtual port is mapped 362 - to the same port on 127.0.0.1 over TCP. You may use 363 - <literal>target</literal> to overwrite this behaviour (see 364 - description of target). 522 + toHost = mkOption { 523 + type = types.str; 524 + default = "127.0.0.1"; 525 + description = "Mapping destination host."; 526 + }; 365 527 366 - This corresponds to the <literal>HiddenServicePort VIRTPORT 367 - [TARGET]</literal> option by looking at the tor manual 368 - <citerefentry><refentrytitle>tor</refentrytitle> 369 - <manvolnum>1</manvolnum></citerefentry> for more information. 370 - ''; 371 - }; 372 - extraConfig = mkOption { 373 - type = types.str; 374 - default = ""; 375 - description = '' 376 - Extra configuration. Contents will be added in the current 377 - hidden service context. 378 - ''; 379 - }; 380 - }; 381 - })); 382 - default = {}; 383 - example = { 384 - "/var/lib/tor/webserver" = { 385 - hiddenServicePorts = [ { virtualPort = 80; } ]; 528 + toPort = mkOption { 529 + type = types.either types.int types.str; 530 + example = 8080; 531 + description = "Mapping destination port."; 532 + }; 533 + 534 + }; 535 + 536 + config = { 537 + toPort = mkDefault config.port; 538 + destination = mkDefault "${config.toHost}:${toString config.toPort}"; 539 + }; 540 + })); 541 + }; 542 + 386 543 }; 387 - }; 388 - description = '' 389 - Configure hidden services. 390 544 391 - Please consult the tor manual 392 - <citerefentry><refentrytitle>tor</refentrytitle> 393 - <manvolnum>1</manvolnum></citerefentry> for a more detailed 394 - explanation. (search for 'HIDDEN'). 395 - ''; 545 + config = { 546 + name = mkDefault name; 547 + }; 548 + })); 396 549 }; 397 550 }; 398 551 }; 399 552 400 553 config = mkIf cfg.enable { 401 - assertions = singleton 402 - { message = "Can't be both an exit and a bridge relay at the same time"; 403 - assertion = 404 - cfg.relay.enable -> !(cfg.relay.isBridge && cfg.relay.isExit); 405 - }; 554 + # Not sure if `cfg.relay.role == "private-bridge"` helps as tor 555 + # sends a lot of stats 556 + warnings = optional (cfg.relay.enable && cfg.hiddenServices != {}) 557 + '' 558 + Running Tor hidden services on a public relay makes the 559 + presence of hidden services visible through simple statistical 560 + analysis of publicly available data. 561 + 562 + You can safely ignore this warning if you don't intend to 563 + actually hide your hidden services. In either case, you can 564 + always create a container/VM with a separate Tor daemon instance. 565 + ''; 406 566 407 567 users.extraGroups.tor.gid = config.ids.gids.tor; 408 568 users.extraUsers.tor = ··· 422 582 restartTriggers = [ torRcFile ]; 423 583 424 584 # Translated from the upstream contrib/dist/tor.service.in 585 + preStart = '' 586 + install -o tor -g tor -d ${torDirectory}/onion 587 + ${pkgs.tor}/bin/tor -f ${torRcFile} --verify-config 588 + ''; 589 + 425 590 serviceConfig = 426 591 { Type = "simple"; 427 - ExecStartPre = "${pkgs.tor}/bin/tor -f ${torRcFile} --verify-config"; 428 592 ExecStart = "${pkgs.tor}/bin/tor -f ${torRcFile} --RunAsDaemon 0"; 429 593 ExecReload = "${pkgs.coreutils}/bin/kill -HUP $MAINPID"; 430 594 KillSignal = "SIGINT";
+4 -4
pkgs/applications/editors/vscode-with-extensions/default.nix
··· 2 2 , vscodeExtensions ? [] }: 3 3 4 4 /* 5 - `vsixExtensions` 5 + `vscodeExtensions` 6 6 : A set of vscode extensions to be installed alongside the editor. Here's a an 7 7 example: 8 8 ··· 10 10 vscode-with-extensions.override { 11 11 12 12 # When the extension is already available in the default extensions set. 13 - vscodeExtensions = with vscodeExtensions; [ 14 - nix 13 + vscodeExtensions = with vscode-extensions; [ 14 + bbenoist.Nix 15 15 ] 16 16 17 17 # Concise version from the vscode market place when not available in the default set. 18 - ++ vscodeUtils.extensionsFromVscodeMarketplace [ 18 + ++ vscode-utils.extensionsFromVscodeMarketplace [ 19 19 { 20 20 name = "code-runner"; 21 21 publisher = "formulahendry";
+2 -2
pkgs/applications/misc/buku/default.nix
··· 1 - { stdenv, pythonPackages, fetchFromGitHub }: 1 + { stdenv, python3, fetchFromGitHub }: 2 2 3 - with pythonPackages; buildPythonApplication rec { 3 + with python3.pkgs; buildPythonApplication rec { 4 4 version = "3.0"; # When updating to 3.1, make sure to remove the marked line in preCheck 5 5 name = "buku-${version}"; 6 6
+3 -3
pkgs/applications/networking/dropbox/default.nix
··· 24 24 let 25 25 # NOTE: When updating, please also update in current stable, 26 26 # as older versions stop working 27 - version = "32.4.23"; 27 + version = "33.4.23"; 28 28 sha256 = { 29 - "x86_64-linux" = "11jh3cyax652crhvjshi8gnvb8mpp7hfbgwqjx5n1q3j1rswm3d1"; 30 - "i686-linux" = "0xf0in3ywgd53v19h0v2sg69b6y2lbvr5y6jz10x3cighzr31qfp"; 29 + "x86_64-linux" = "0z8sd71v0xfbq4x8gw0rjhg7kbd7r0465b1cqk1ls2fivb25qqxz"; 30 + "i686-linux" = "07sj1ixpml56bx83jawslak6scb12wxwn53nnabvgnivhb9vzq97"; 31 31 }."${stdenv.system}" or (throw "system ${stdenv.system} not supported"); 32 32 33 33 arch = {
+2 -2
pkgs/applications/networking/newsreaders/quiterss/default.nix
··· 2 2 3 3 stdenv.mkDerivation rec { 4 4 name = "quiterss-${version}"; 5 - version = "0.18.6"; 5 + version = "0.18.7"; 6 6 7 7 src = fetchFromGitHub { 8 8 owner = "QuiteRSS"; 9 9 repo = "quiterss"; 10 10 rev = "${version}"; 11 - sha256 = "0qklgdv6b3zg4xil9yglja33vaa25d4i7vipv5aafhlavjz16mh6"; 11 + sha256 = "031n07s8dd0n3d5d4v9pza59iyvaim484n1qdnpbgamls2p8iwn6"; 12 12 }; 13 13 14 14 nativeBuildInputs = [ pkgconfig qmake ];
+1 -1
pkgs/applications/office/fava/default.nix
··· 16 16 sha256 = "0yn2psbn436g1w5ixn94z8ca6dfd54izg98979arn0k7slpiccvz"; 17 17 }; 18 18 19 - buildInputs = with python3Packages; [ pytest_30 ]; 19 + checkInputs = with python3Packages; [ pytest ]; 20 20 21 21 checkPhase = '' 22 22 # pyexcel is optional
+5 -5
pkgs/build-support/fetchurl/mirrors.nix
··· 159 159 cpan = [ 160 160 http://ftp.gwdg.de/pub/languages/perl/CPAN/ 161 161 ftp://download.xs4all.nl/pub/mirror/CPAN/ 162 - ftp://ftp.nl.uu.net/pub/CPAN/ 162 + http://ftp.tuwien.ac.at/pub/CPAN/ 163 163 http://ftp.funet.fi/pub/CPAN/ 164 + https://cpan.metacpan.org/ 164 165 http://cpan.perl.org/ 165 166 http://backpan.perl.org/ # for old releases 166 167 ]; ··· 266 267 # Apache mirrors (see http://www.apache.org/mirrors/). 267 268 apache = [ 268 269 http://www.eu.apache.org/dist/ 269 - ftp://ftp.inria.fr/pub/Apache/ 270 - http://apache.cict.fr/ 270 + http://wwwftp.ciril.fr/pub/apache/ 271 271 ftp://ftp.fu-berlin.de/unix/www/apache/ 272 - ftp://crysys.hit.bme.hu/pub/apache/dist/ 272 + http://ftp.tudelft.nl/apache/ 273 273 http://mirror.cc.columbia.edu/pub/software/apache/ 274 274 http://www.apache.org/dist/ 275 275 http://archive.apache.org/dist/ # fallback for old releases 276 276 ftp://ftp.funet.fi/pub/mirrors/apache.org/ 277 - http://apache.cs.uu.nl/dist/ 277 + http://apache.cs.uu.nl/ 278 278 http://apache.cs.utah.edu/ 279 279 ]; 280 280
+29
pkgs/development/libraries/ntbtls/default.nix
··· 1 + { stdenv, fetchurl, libgpgerror, libgcrypt, libksba, zlib }: 2 + 3 + with stdenv.lib; 4 + 5 + stdenv.mkDerivation rec { 6 + name = "ntbtls-${version}"; 7 + version = "0.1.1"; 8 + 9 + src = fetchurl { 10 + url = "mirror://gnupg/ntbtls/ntbtls-${version}.tar.bz2"; 11 + sha256 = "0d322kgih43vr0gvy7kdj4baql1d6fa71vgpv0z63ira9pk4q9rd"; 12 + }; 13 + 14 + outputs = [ "dev" "out" ]; 15 + 16 + buildInputs = [ libgcrypt libgpgerror libksba zlib ]; 17 + 18 + postInstall = '' 19 + moveToOutput "bin/ntbtls-config" $dev 20 + ''; 21 + 22 + meta = { 23 + description = "A tiny TLS 1.2 only implementation"; 24 + homepage = https://www.gnupg.org/software/ntbtls/index.html; 25 + license = licenses.gpl3Plus; 26 + platforms = platforms.unix; 27 + maintainers = with maintainers; [ joachifm ]; 28 + }; 29 + }
+2 -2
pkgs/development/python-modules/Cython/default.nix
··· 14 14 buildPythonPackage rec { 15 15 pname = "Cython"; 16 16 name = "${pname}-${version}"; 17 - version = "0.25.2"; 17 + version = "0.26"; 18 18 19 19 src = fetchPypi { 20 20 inherit pname version; 21 - sha256 = "01h3lrf6d98j07iakifi81qjszh6faa37ibx7ylva1vsqbwx2hgi"; 21 + sha256 = "4c24e2c22ddaed624d35229dc5db25049e9e225c6f64f3364326836cad8f2c66"; 22 22 }; 23 23 24 24 # With Python 2.x on i686-linux or 32-bit ARM this test fails because the
+35
pkgs/development/python-modules/Flask-PyMongo/default.nix
··· 1 + { buildPythonPackage 2 + , fetchPypi 3 + , flask 4 + , pymongo 5 + , lib 6 + , pytest 7 + }: 8 + 9 + buildPythonPackage rec { 10 + pname = "Flask-PyMongo"; 11 + name = "${pname}-${version}"; 12 + version = "0.5.1"; 13 + 14 + src = fetchPypi { 15 + inherit pname version; 16 + sha256 = "2baaa2ba5107d72b3a8bd4b5c0c8881316e35340ad1ae979cc13f1f3c8843b3d"; 17 + }; 18 + 19 + checkInputs = [ pytest ]; 20 + 21 + checkPhase = '' 22 + py.test tests 23 + ''; 24 + 25 + # Tests seem to hang 26 + doCheck = false; 27 + 28 + propagatedBuildInputs = [ flask pymongo ]; 29 + 30 + meta = { 31 + homepage = "http://flask-pymongo.readthedocs.org/"; 32 + description = "PyMongo support for Flask applications"; 33 + license = lib.licenses.bsd2; 34 + }; 35 + }
+2 -2
pkgs/development/python-modules/aafigure/default.nix
··· 2 2 3 3 buildPythonPackage rec { 4 4 pname = "aafigure"; 5 - version = "0.5"; 5 + version = "0.6"; 6 6 name = "${pname}-${version}"; 7 7 8 8 src = fetchPypi { 9 9 inherit pname version; 10 - sha256 = "090c88beb091d28a233f854e239713aa15d8d1906ea16211855345c912e8a091"; 10 + sha256 = "49f2c1fd2b579c1fffbac1386a2670b3f6f475cc7ff6cc04d8b984888c2d9e1e"; 11 11 }; 12 12 13 13 propagatedBuildInputs = [ pillow ];
+2 -2
pkgs/development/python-modules/adal/default.nix
··· 3 3 4 4 buildPythonPackage rec { 5 5 pname = "adal"; 6 - version = "0.1.0"; 6 + version = "0.4.6"; 7 7 name = "${pname}-${version}"; 8 8 9 9 src = fetchPypi { 10 10 inherit pname version; 11 - sha256 = "1f32k18ck54adqlgvh6fjhy4yavcyrwy813prjyqppqqq4bn1a09"; 11 + sha256 = "7c5bbf4d8a17d535e6e857b28a41cedddc2767fc57424c15d484fa779bb97325"; 12 12 }; 13 13 14 14 propagatedBuildInputs = [ requests pyjwt ];
+2 -2
pkgs/development/python-modules/aiodns/default.nix
··· 3 3 4 4 buildPythonPackage rec { 5 5 pname = "aiodns"; 6 - version = "1.0.1"; 6 + version = "1.1.1"; 7 7 name = "${pname}-${version}"; 8 8 9 9 src = fetchPypi { 10 10 inherit pname version; 11 - sha256 = "595b78b8d54115d937cf60d778c02dad76b6f789fd527dab308f99e5601e7f3d"; 11 + sha256 = "d8677adc679ce8d0ef706c14d9c3d2f27a0e0cc11d59730cdbaf218ad52dd9ea"; 12 12 }; 13 13 14 14 propagatedBuildInputs = with stdenv.lib; [ pycares ]
+2 -2
pkgs/development/python-modules/alembic/default.nix
··· 6 6 buildPythonPackage rec { 7 7 name = "${pname}-${version}"; 8 8 pname = "alembic"; 9 - version = "0.9.3"; 9 + version = "0.9.5"; 10 10 11 11 src = fetchPypi { 12 12 inherit pname version; 13 - sha256 = "57f2ede554c0b18f1cf811cfbb3b02c586a5422df94922e3821883ba0b8c616c"; 13 + sha256 = "8bdcb4babaa16b9a826f8084949cc2665cb328ecf7b89b3224b0ab85bd16fd05"; 14 14 }; 15 15 16 16 buildInputs = [ pytest pytestcov mock coverage ];
+2 -2
pkgs/development/python-modules/argcomplete/default.nix
··· 4 4 buildPythonPackage rec { 5 5 name = "${pname}-${version}"; 6 6 pname = "argcomplete"; 7 - version = "1.8.2"; 7 + version = "1.9.2"; 8 8 9 9 src = fetchPypi { 10 10 inherit pname version; 11 - sha256 = "0sslhl1klvh92c8hjsz3y3mmnpcqspcgi49g5cik2rpbfkhcsb3s"; 11 + sha256 = "d6ea272a93bb0387f758def836e73c36fff0c54170258c212de3e84f7db8d5ed"; 12 12 }; 13 13 14 14 doCheck = false; # bash-completion test fails with "compgen: command not found".
+2 -2
pkgs/development/python-modules/asgi_ipc/default.nix
··· 2 2 asgiref, msgpack, posix_ipc 3 3 }: 4 4 buildPythonPackage rec { 5 - version = "1.4.0"; 5 + version = "1.4.1"; 6 6 pname = "asgi_ipc"; 7 7 name = "${pname}-${version}"; 8 8 9 9 src = fetchurl { 10 10 url = "mirror://pypi/a/asgi_ipc/${name}.tar.gz"; 11 - sha256 = "1bae453d771eb92c0ec558b826fc0bce75a2a61bf21187784d4e4dc11710e588"; 11 + sha256 = "87cc9dda476d28f335261b73f0f3070f28847718de2e64da9a80492638203e43"; 12 12 }; 13 13 14 14 propagatedBuildInputs = [ asgiref msgpack posix_ipc ];
+2 -2
pkgs/development/python-modules/astropy/default.nix
··· 9 9 buildPythonPackage rec { 10 10 11 11 pname = "astropy"; 12 - version = "1.3.3"; 12 + version = "2.0.1"; 13 13 14 14 name = "${pname}-${version}"; 15 15 doCheck = false; #Some tests are failing. More importantly setup.py hangs on completion. Needs fixing with a proper shellhook. 16 16 src = fetchPypi { 17 17 inherit pname version; 18 - sha256 = "ed093e033fcbee5a3ec122420c3376f8a80f74663214560727d3defe82170a99"; 18 + sha256 = "25e0881a392a2e03b4a705cf9592f01894d23f64797323b21387efa8ea9ec03e"; 19 19 }; 20 20 propagatedBuildInputs = [ numpy cython h5py scipy ]; 21 21
+2 -2
pkgs/development/python-modules/async_timeout/default.nix
··· 7 7 8 8 let 9 9 pname = "async-timeout"; 10 - version = "1.2.1"; 10 + version = "1.3.0"; 11 11 in buildPythonPackage rec { 12 12 name = "${pname}-${version}"; 13 13 14 14 src = fetchurl { 15 15 url = "mirror://pypi/${builtins.substring 0 1 pname}/${pname}/${name}.tar.gz"; 16 - sha256 = "380e9bfd4c009a14931ffe487499b0906b00b3378bb743542cfd9fbb6d8e4657"; 16 + sha256 = "f4651f122a9877049930ce31a8422bc202a47937627295fe5e411b2c2083481f"; 17 17 }; 18 18 19 19 buildInputs = [ pytestrunner ];
+2 -2
pkgs/development/python-modules/audioread/default.nix
··· 6 6 buildPythonPackage rec { 7 7 pname = "audioread"; 8 8 name = "${pname}-${version}"; 9 - version = "2.1.1"; 9 + version = "2.1.5"; 10 10 11 11 src = fetchPypi { 12 12 inherit pname version; 13 - sha256 = "ffb601de7a9e40850d4ec3256a3a6bbe8fa40466dafb5c65f41b08e4bb963f1e"; 13 + sha256 = "36c3b118f097c58ba073b7d040c4319eff200756f094295677567e256282d0d7"; 14 14 }; 15 15 16 16 # No tests, need to disable or py3k breaks
+2 -2
pkgs/development/python-modules/autobahn/default.nix
··· 6 6 buildPythonPackage rec { 7 7 name = "${pname}-${version}"; 8 8 pname = "autobahn"; 9 - version = "17.5.1"; 9 + version = "17.8.1"; 10 10 11 11 src = fetchurl { 12 12 url = "mirror://pypi/a/${pname}/${name}.tar.gz"; 13 - sha256 = "0p2xx20g0rj6pnp4h3231mn8zk4ag8msv69f93gai2hzl5vglcia"; 13 + sha256 = "72b1b1e30bd41d52e7454ef6fe78fe80ebf2341a747616e2cd854a76203a0ec4"; 14 14 }; 15 15 16 16 # Upstream claim python2 support, but tests require pytest-asyncio which
+2 -2
pkgs/development/python-modules/bottleneck/default.nix
··· 9 9 buildPythonPackage rec { 10 10 pname = "Bottleneck"; 11 11 name = "Bottleneck-${version}"; 12 - version = "1.2.0"; 12 + version = "1.2.1"; 13 13 src = fetchPypi { 14 14 inherit pname version; 15 - sha256 = "3bec84564a4adbe97c24e875749b949a19cfba4e4588be495cc441db7c6b05e8"; 15 + sha256 = "6efcde5f830aed64feafca0359b51db0e184c72af8ba6675b4a99f263922eb36"; 16 16 }; 17 17 18 18 checkInputs = [ nose ];
+2 -2
pkgs/development/python-modules/breathe/default.nix
··· 1 1 { lib, fetchurl, buildPythonPackage, docutils, six, sphinx, isPy3k }: 2 2 3 3 buildPythonPackage rec { 4 - version = "4.6.0"; 4 + version = "4.7.2"; 5 5 pname = "breathe"; 6 6 name = "${pname}-${version}"; 7 7 8 8 src = fetchurl { 9 9 url = "mirror://pypi/b/breathe/${name}.tar.gz"; 10 - sha256 = "9db2ba770f824da323b9ea3db0b98d613a4e0af094c82ccb0a82991da81b736a"; 10 + sha256 = "dd15efc66d65180e4c994edd15fcb642812ad04ac9c36738b28bf248d7c0be32"; 11 11 }; 12 12 13 13 propagatedBuildInputs = [ docutils six sphinx ];
+2 -2
pkgs/development/python-modules/certifi/default.nix
··· 5 5 6 6 buildPythonPackage rec { 7 7 pname = "certifi"; 8 - version = "2017.4.17"; 8 + version = "2017.7.27.1"; 9 9 name = "${pname}-${version}"; 10 10 11 11 src = fetchPypi { 12 12 inherit pname version; 13 - sha256 = "f7527ebf7461582ce95f7a9e03dd141ce810d40590834f4ec20cddd54234c10a"; 13 + sha256 = "40523d2efb60523e113b44602298f0960e900388cf3bb6043f645cf57ea9e3f5"; 14 14 }; 15 15 16 16 meta = {
+2 -2
pkgs/development/python-modules/chai/default.nix
··· 2 2 3 3 buildPythonPackage rec { 4 4 pname = "chai"; 5 - version = "1.1.1"; 5 + version = "1.1.2"; 6 6 name = "${pname}-${version}"; 7 7 8 8 src = fetchPypi { 9 9 inherit pname version; 10 - sha256 = "016kf3irrclpkpvcm7q0gmkfibq7jgy30a9v73pp42bq9h9a32bl"; 10 + sha256 = "ff8d2b6855f660cd23cd5ec79bd10264d39f24f6235773331b48e7fcd637d6cc"; 11 11 }; 12 12 13 13 meta = with stdenv.lib; {
+2 -2
pkgs/development/python-modules/confluent-kafka/default.nix
··· 2 2 3 3 buildPythonPackage rec { 4 4 name = "${pname}-${version}"; 5 - version = "0.9.4"; 5 + version = "0.11.0"; 6 6 pname = "confluent-kafka"; 7 7 8 8 src = fetchPypi { 9 9 inherit pname version; 10 - sha256 = "1v8apw9f8l01ql42jg1sfqv41yxvcbxn1a3ar01y0ni428swq6wk"; 10 + sha256 = "4c34bfe8f823ee3777d93820ec6578365d2bde3cd1302cbd0e44c86b68643667"; 11 11 }; 12 12 13 13 buildInputs = [ rdkafka requests ] ++ (if isPy3k then [ avro3k ] else [ avro ]) ;
+2 -2
pkgs/development/python-modules/coveralls/default.nix
··· 13 13 buildPythonPackage rec { 14 14 pname = "coveralls"; 15 15 name = "${pname}-python-${version}"; 16 - version = "1.1"; 16 + version = "1.2.0"; 17 17 18 18 # wanted by tests 19 19 src = fetchPypi { 20 20 inherit pname version; 21 - sha256 = "0238hgdwbvriqxrj22zwh0rbxnhh9c6hh75i39ll631vq62h65il"; 21 + sha256 = "510682001517bcca1def9f6252df6ce730fcb9831c62d9fff7c7d55b6fdabdf3"; 22 22 }; 23 23 24 24 buildInputs = [
+2 -2
pkgs/development/python-modules/discordpy/default.nix
··· 11 11 12 12 let 13 13 pname = "discord.py"; 14 - version = "0.16.8"; 14 + version = "0.16.10"; 15 15 in buildPythonPackage rec { 16 16 name = "${pname}-${version}"; 17 17 18 18 src = fetchurl { 19 19 url = "mirror://pypi/${builtins.substring 0 1 pname}/${pname}/${name}.tar.gz"; 20 - sha256 = "d775b701383e3a5762accf3816b819f357f299476701615ac30c7715a5ea79aa"; 20 + sha256 = "cb0b9ad5f5edf2d5afd5f5ce07381a0a089eb036004938126a5582fc8fa0cc88"; 21 21 }; 22 22 23 23 propagatedBuildInputs = [ asyncio aiohttp websockets pynacl ];
+2 -2
pkgs/development/python-modules/django-polymorphic/default.nix
··· 2 2 3 3 buildPythonPackage rec { 4 4 pname = "django-polymorphic"; 5 - version = "1.2"; 5 + version = "1.3"; 6 6 name = "${pname}-${version}"; 7 7 8 8 src = fetchPypi { 9 9 inherit pname version; 10 - sha256 = "1bz86711sx2b66rl2xz141xppsfmlxilkgjgq0jsavpw37vg7r3r"; 10 + sha256 = "8737b465ebf5fad772b4c52272189c352f5904f468d298584a3469187e3207ad"; 11 11 }; 12 12 13 13 checkInputs = [ django ];
+2 -2
pkgs/development/python-modules/django_compressor/default.nix
··· 2 2 rcssmin, rjsmin, django_appconf }: 3 3 buildPythonPackage rec { 4 4 pname = "django_compressor"; 5 - version = "2.1.1"; 5 + version = "2.2"; 6 6 name = "${pname}-${version}"; 7 7 8 8 src = fetchPypi { 9 9 inherit pname version; 10 - sha256 = "1s42dkq3qp1niaf69markd7m3ljgf2bspyz2nk0sa07f8q04004j"; 10 + sha256 = "9616570e5b08e92fa9eadc7a1b1b49639cce07ef392fc27c74230ab08075b30f"; 11 11 }; 12 12 13 13 # Need to setup django testing
+2 -2
pkgs/development/python-modules/djangorestframework/default.nix
··· 1 1 { stdenv, buildPythonPackage, fetchurl, django }: 2 2 buildPythonPackage rec { 3 - version = "3.6.3"; 3 + version = "3.6.4"; 4 4 pname = "djangorestframework"; 5 5 name = "${pname}-${version}"; 6 6 7 7 src = fetchurl { 8 8 url = "mirror://pypi/d/djangorestframework/${name}.tar.gz"; 9 - sha256 = "6aa6aafdfb7f6152a401873ecae93aff9eb54d7a74266065347cf4de68278ae4"; 9 + sha256 = "de8ac68b3cf6dd41b98e01dcc92dc0022a5958f096eafc181a17fa975d18ca42"; 10 10 }; 11 11 12 12 # Test settings are missing
+2 -2
pkgs/development/python-modules/docker.nix
··· 3 3 , ipaddress, backports_ssl_match_hostname, docker_pycreds 4 4 }: 5 5 buildPythonPackage rec { 6 - version = "2.4.2"; 6 + version = "2.5.1"; 7 7 pname = "docker"; 8 8 name = "${pname}-${version}"; 9 9 10 10 src = fetchurl { 11 11 url = "mirror://pypi/d/docker/${name}.tar.gz"; 12 - sha256 = "11kl6kl82056bzcycvc2jpz59ra89vwbyzi0yaamixgcm9nzlvr1"; 12 + sha256 = "b876e6909d8d2360e0540364c3a952a62847137f4674f2439320ede16d6db880"; 13 13 }; 14 14 15 15 propagatedBuildInputs = [
+2 -2
pkgs/development/python-modules/dulwich.nix
··· 3 3 , git, glibcLocales }: 4 4 5 5 buildPythonPackage rec { 6 - version = "0.17.3"; 6 + version = "0.18.2"; 7 7 pname = "dulwich"; 8 8 name = "${pname}-${version}"; 9 9 10 10 src = fetchurl { 11 11 url = "mirror://pypi/d/dulwich/${name}.tar.gz"; 12 - sha256 = "0c3eccac93823e172b05d57aaeab3d6f03c6c0f1867613606d1909a3ab4100ca"; 12 + sha256 = "284d0000b21ac12f94bcd5eb3d7dcc42da51e5506b9a53a11c615b46da906d9b"; 13 13 }; 14 14 15 15 LC_ALL = "en_US.UTF-8";
+2 -2
pkgs/development/python-modules/emcee/default.nix
··· 3 3 4 4 buildPythonPackage rec { 5 5 pname = "emcee"; 6 - version = "2.1.0"; 6 + version = "2.2.1"; 7 7 name = "${pname}-${version}"; 8 8 9 9 src = fetchPypi { 10 10 inherit pname version; 11 - sha256 = "0qyafp9jfya0mkxgqfvljf0rkic5fm8nimzwadyrxyvq7nd07qaw"; 11 + sha256 = "b83551e342b37311897906b3b8acf32979f4c5542e0a25786ada862d26241172"; 12 12 }; 13 13 14 14 propagatedBuildInputs = [ numpy ];
+2 -2
pkgs/development/python-modules/flake8/default.nix
··· 6 6 buildPythonPackage rec { 7 7 name = "${pname}-${version}"; 8 8 pname = "flake8"; 9 - version = "3.3.0"; 9 + version = "3.4.1"; 10 10 11 11 src = fetchPypi { 12 12 inherit pname version; 13 - sha256 = "04izn1q1lgbr408l9b3vkxqmpi6mq47bxwc0iwypb02mrxns41xr"; 13 + sha256 = "c20044779ff848f67f89c56a0e4624c04298cd476e25253ac0c36f910a1a11d8"; 14 14 }; 15 15 16 16 buildInputs = [ pytest mock pytestrunner ];
+2 -2
pkgs/development/python-modules/flask-migrate/default.nix
··· 5 5 6 6 buildPythonPackage rec { 7 7 pname = "Flask-Migrate"; 8 - version = "2.0.4"; 8 + version = "2.1.0"; 9 9 name = "${pname}-${version}"; 10 10 11 11 src = fetchPypi { 12 12 inherit pname version; 13 - sha256 = "1e6dc83bed93aef9a4791d5daaa03b186c8ef5d96c99c7d88166da683c86e42d"; 13 + sha256 = "716d5b68eec53821f80b3fbcb0fd60baed0cb0e320abb30289e83217668cef7f"; 14 14 }; 15 15 16 16 checkInputs = optional isPy3k glibcLocales;
+7 -5
pkgs/development/python-modules/flask-testing.nix
··· 1 - { stdenv, fetchurl, buildPythonPackage, pythonOlder 1 + { stdenv, fetchPypi, buildPythonPackage, pythonOlder 2 2 , flask, blinker, twill }: 3 3 4 4 with stdenv.lib; 5 5 6 6 buildPythonPackage rec { 7 - name = "Flask-Testing-0.6.1"; 7 + pname = "Flask-Testing"; 8 + version = "0.6.2"; 9 + name = "${pname}-${version}"; 8 10 9 - src = fetchurl { 10 - url = "mirror://pypi/F/Flask-Testing/${name}.tar.gz"; 11 - sha256 = "1ckmy7kz2qkggdlm9y5wx6gvd2x7qv921dyb059ywfh15hrkkxdb"; 11 + src = fetchPypi { 12 + inherit pname version; 13 + sha256 = "f25effd266fce9b16482f4ce3423d5a7d25534aab77bc83caace5d9637bf0df0"; 12 14 }; 13 15 14 16 buildInputs = optionals (pythonOlder "3.0") [ twill ];
+2 -2
pkgs/development/python-modules/fonttools/default.nix
··· 7 7 8 8 buildPythonPackage rec { 9 9 pname = "fonttools"; 10 - version = "3.13.1"; 10 + version = "3.15.1"; 11 11 name = "${pname}-${version}"; 12 12 13 13 src = fetchPypi { 14 14 inherit pname version; 15 - sha256 = "ded1f9a6cdd6ed19a3df05ae40066d579ffded17369b976f9e701cf31b7b1f2d"; 15 + sha256 = "8df4b605a28e313f0f9e0a79502caba4150a521347fdbafc063e52fee34912c2"; 16 16 extension = "zip"; 17 17 }; 18 18
+2 -2
pkgs/development/python-modules/ftfy/default.nix
··· 9 9 buildPythonPackage rec { 10 10 name = "${pname}-${version}"; 11 11 pname = "ftfy"; 12 - version = "4.4.3"; 12 + version = "5.1.1"; 13 13 14 14 src = fetchPypi { 15 15 inherit pname version; 16 - sha256 = "152xdb56rhs1q4r0ck1n557sbphw7zq18r75a7kkd159ckdnc01w"; 16 + sha256 = "67a29a2fad5f72aec2d8a0a7084e4f499ed040455133ee96b1c458609fc29e78"; 17 17 }; 18 18 19 19 propagatedBuildInputs = [ html5lib wcwidth];
+2 -2
pkgs/development/python-modules/gensim/default.nix
··· 13 13 buildPythonPackage rec { 14 14 pname = "gensim"; 15 15 name = "${pname}-${version}"; 16 - version = "2.1.0"; 16 + version = "2.3.0"; 17 17 src = fetchPypi { 18 18 inherit pname version; 19 - sha256 = "1wn7bji9b80wn1yggmh7a0dlwzdjr6cp24x4p33j2rf29lxnm2kc"; 19 + sha256 = "7d0dccc7d2c576e270037949874800b7cfbc86ef081ff981483f612cd18e223f"; 20 20 }; 21 21 22 22 propagatedBuildInputs = [ smart_open numpy six scipy
+2 -2
pkgs/development/python-modules/html5-parser/default.nix
··· 2 2 3 3 buildPythonPackage rec { 4 4 pname = "html5-parser"; 5 - version = "0.4.3"; 5 + version = "0.4.4"; 6 6 name = "${pname}-${version}"; 7 7 8 8 src = fetchPypi { 9 9 inherit pname version; 10 - sha256 = "173vzg214x7qfq201m4b09wg5nszdgwjw5q02v23k54iqm3kcpnx"; 10 + sha256 = "b9f3a1d4cdb8742e8e4ecafab04bff541bde4ff09af233293ed0b94028ec1ab5"; 11 11 }; 12 12 13 13 buildInputs = [ pkgconfig ];
+2 -2
pkgs/development/python-modules/ipywidgets/default.nix
··· 14 14 15 15 buildPythonPackage rec { 16 16 pname = "ipywidgets"; 17 - version = "6.0.0"; 17 + version = "7.0.0"; 18 18 name = "${pname}-${version}"; 19 19 20 20 src = fetchPypi { 21 21 inherit pname version; 22 - sha256 = "afa6248850cff14ef86117db87aeab0b12237e4eaf740e73716460ed593a43a7"; 22 + sha256 = "63e454202f72796044e99846881c33767c47fa050735dc1f927657b9cd2b7fcd"; 23 23 }; 24 24 25 25 # Tests are not distributed
+26
pkgs/development/python-modules/jsonpatch/default.nix
··· 1 + { lib 2 + , buildPythonPackage 3 + , fetchPypi 4 + , jsonpointer 5 + }: 6 + 7 + buildPythonPackage rec { 8 + pname = "jsonpatch"; 9 + version = "1.16"; 10 + name = "${pname}-${version}"; 11 + 12 + src = fetchPypi { 13 + inherit pname version; 14 + sha256 = "f025c28a08ce747429ee746bb21796c3b6417ec82288f8fe6514db7398f2af8a"; 15 + }; 16 + 17 + # test files are missing 18 + doCheck = false; 19 + propagatedBuildInputs = [ jsonpointer ]; 20 + 21 + meta = { 22 + description = "Library to apply JSON Patches according to RFC 6902"; 23 + homepage = "https://github.com/stefankoegl/python-json-patch"; 24 + license = lib.licenses.bsd2; # "Modified BSD license, says pypi" 25 + }; 26 + }
+2 -2
pkgs/development/python-modules/keras/default.nix
··· 12 12 13 13 buildPythonPackage rec { 14 14 pname = "Keras"; 15 - version = "2.0.6"; 15 + version = "2.0.7"; 16 16 name = "${pname}-${version}"; 17 17 18 18 src = fetchPypi { 19 19 inherit pname version; 20 - sha256 = "0519480abe4ad18b2c2d1bc580eab75edd82c95083d341a1157952f4b00019bb"; 20 + sha256 = "a6c72ee2b94be1ffefe7e77b69582b9827211f0c356b2189459711844d3634c0"; 21 21 }; 22 22 23 23 checkInputs = [
+2 -2
pkgs/development/python-modules/keystoneauth1/default.nix
··· 6 6 7 7 buildPythonPackage rec { 8 8 pname = "keystoneauth1"; 9 - version = "1.1.0"; 9 + version = "3.1.0"; 10 10 name = "${pname}-${version}"; 11 11 disabled = isPyPy; # a test fails 12 12 13 13 src = fetchPypi { 14 14 inherit pname version; 15 - sha256 = "05fc6xsp5mal52ijvj84sf7mrw706ihadfdf5mnq9zxn7pfl4118"; 15 + sha256 = "e5abfa8bbe866d52ca56afbe528d15214a60033cc1dc9804478cae7424f0f8fb"; 16 16 }; 17 17 18 18 buildInputs = [ pbr testtools testresources testrepository mock
+2 -2
pkgs/development/python-modules/kitchen/default.nix
··· 1 1 { stdenv, buildPythonPackage, fetchPypi }: 2 2 buildPythonPackage rec { 3 3 pname = "kitchen"; 4 - version = "1.2.4"; 4 + version = "1.2.5"; 5 5 name = "${pname}-${version}"; 6 6 7 7 src = fetchPypi { 8 8 inherit pname version; 9 - sha256 = "0ggv3p4x8jvmmzhp0xm00h6pvh1g0gmycw71rjwagnrj8n23vxrq"; 9 + sha256 = "af9fbb60f68cbdb2ead402beb8fa7c7edadbe2aa7b5a70138b7c4b0fa88153fd"; 10 10 }; 11 11 12 12 meta = with stdenv.lib; {
+2 -2
pkgs/development/python-modules/ledgerblue/default.nix
··· 5 5 buildPythonPackage rec { 6 6 name = "${pname}-${version}"; 7 7 pname = "ledgerblue"; 8 - version = "0.1.13"; 8 + version = "0.1.15"; 9 9 10 10 src = fetchPypi { 11 11 inherit pname version; 12 - sha256 = "09bsiylvgax6m47w8r0myaf61xj9j0h1spvadx6fx31qy0iqicw0"; 12 + sha256 = "42cbcd74615576294142d56eb9eaa7e1b67f9dd87eeb24d713336b56e8c01c5c"; 13 13 }; 14 14 15 15 buildInputs = [ hidapi pycrypto pillow protobuf future ecpy ];
+2 -2
pkgs/development/python-modules/libtmux/default.nix
··· 3 3 buildPythonPackage rec { 4 4 name = "${pname}-${version}"; 5 5 pname = "libtmux"; 6 - version = "0.7.3"; 6 + version = "0.7.4"; 7 7 8 8 src = fetchPypi { 9 9 inherit pname version; 10 - sha256 = "111qbgq28za12la5b0aa9rr7hg8235zy0kyzzryn7fa6z3i5k5z8"; 10 + sha256 = "c7407aa4103d40f50f99432bf4dffe0b4591f976956b2dd7ee7bbf53ad138bd9"; 11 11 }; 12 12 13 13 buildInputs = [ pytest_29 ];
+2 -2
pkgs/development/python-modules/llvmlite/default.nix
··· 11 11 buildPythonPackage rec { 12 12 pname = "llvmlite"; 13 13 name = "${pname}-${version}"; 14 - version = "0.18.0"; 14 + version = "0.19.0"; 15 15 16 16 disabled = isPyPy; 17 17 18 18 src = fetchurl { 19 19 url = "mirror://pypi/${builtins.substring 0 1 pname}/${pname}/${name}.tar.gz"; 20 - sha256 = "25a38af925f0523b834b92216d7f7cc997624942d5958287350c254f5e730404"; 20 + sha256 = "fbaeb3d584e0f6bac82a33776e9b5f0b5b4a3415a03edeff5d66f6176f0edbe2"; 21 21 }; 22 22 23 23 propagatedBuildInputs = [ llvm ] ++ stdenv.lib.optional (pythonOlder "3.4") enum34;
+2 -2
pkgs/development/python-modules/m2r/default.nix
··· 3 3 buildPythonPackage rec { 4 4 pname = "m2r"; 5 5 name = "${pname}-${version}"; 6 - version = "0.1.7"; 6 + version = "0.1.10"; 7 7 8 8 src = fetchPypi { 9 9 inherit pname version; 10 - sha256 = "771631d051a52764fe5b660f97ad028df3aff90c9859d345ccfd17a4c7c2ab39"; 10 + sha256 = "cfb5b8a37defdd594eb46a794b87d9b4ca1902b0e8e309c9f2623f7275c261d6"; 11 11 }; 12 12 13 13 propagatedBuildInputs = [ mistune docutils ];
+2 -2
pkgs/development/python-modules/magic-wormhole/default.nix
··· 21 21 22 22 buildPythonPackage rec { 23 23 pname = "magic-wormhole"; 24 - version = "0.9.2"; 24 + version = "0.10.2"; 25 25 name = "${pname}-${version}"; 26 26 27 27 src = fetchPypi { 28 28 inherit pname version; 29 - sha256 = "14aed4b453278651d92c3fd8955a105e2d33dcde279fa25d1d759e0e769f16b3"; 29 + sha256 = "55a423247faee7a0644d25f37760495978cd494ba0274fefd8cd1fad493954ee"; 30 30 }; 31 31 32 32 checkInputs = [ mock ];
+2 -2
pkgs/development/python-modules/marionette-harness/default.nix
··· 13 13 14 14 buildPythonPackage rec { 15 15 pname = "marionette-harness"; 16 - version = "4.0.0"; 16 + version = "4.1.0"; 17 17 name = "${pname}-${version}"; 18 18 19 19 src = fetchPypi { 20 20 inherit pname version; 21 - sha256 = "0726zm09nwh4kkd4xirva4596svlifkkpbaywlmq2yb6ayk7d4vl"; 21 + sha256 = "20c188791e28d586c58acf86ff28cb704c4195a4da6eb10db7b8c6771e3f2983"; 22 22 }; 23 23 24 24 propagatedBuildInputs = [ mozprofile mozversion browsermob-proxy moztest
+2 -2
pkgs/development/python-modules/multidict/default.nix
··· 7 7 8 8 let 9 9 pname = "multidict"; 10 - version = "2.1.6"; 10 + version = "3.1.3"; 11 11 in buildPythonPackage rec { 12 12 name = "${pname}-${version}"; 13 13 14 14 src = fetchurl { 15 15 url = "mirror://pypi/${builtins.substring 0 1 pname}/${pname}/${name}.tar.gz"; 16 - sha256 = "9ec33a1da4d2096949e29ddd66a352aae57fad6b5483087d54566a2f6345ae10"; 16 + sha256 = "875f80a046e7799b40df4b015b8fc5dae91697936872a8d7362c909a02ec6d12"; 17 17 }; 18 18 19 19 buildInputs = [ pytest ];
+2 -2
pkgs/development/python-modules/natsort/default.nix
··· 16 16 buildPythonPackage rec { 17 17 name = "${pname}-${version}"; 18 18 pname = "natsort"; 19 - version = "5.0.3"; 19 + version = "5.1.0"; 20 20 21 21 buildInputs = [ 22 22 hypothesis ··· 34 34 35 35 src = fetchPypi { 36 36 inherit pname version; 37 - sha256 = "1h87n0jcsi6mgjx1pws6g1lmcn8jwabwxj8hq334jvziaq0plyym"; 37 + sha256 = "5db0fd17c9f8ef3d54962a6e46159ce4807c630f0931169cd15ce54f2ac395b9"; 38 38 }; 39 39 40 40 # do not run checks on nix_run_setup.py
+2 -2
pkgs/development/python-modules/nbformat/default.nix
··· 12 12 13 13 buildPythonPackage rec { 14 14 pname = "nbformat"; 15 - version = "4.3.0"; 15 + version = "4.4.0"; 16 16 name = "${pname}-${version}"; 17 17 18 18 src = fetchPypi { 19 19 inherit pname version; 20 - sha256 = "5febcce872672f1c97569e89323992bdcb8573fdad703f835e6521253191478b"; 20 + sha256 = "f7494ef0df60766b7cabe0a3651556345a963b74dbc16bc7c18479041170d402"; 21 21 }; 22 22 LC_ALL="en_US.UTF-8"; 23 23
+2 -2
pkgs/development/python-modules/numba/default.nix
··· 14 14 }: 15 15 16 16 buildPythonPackage rec { 17 - version = "0.33.0"; 17 + version = "0.34.0"; 18 18 pname = "numba"; 19 19 name = "${pname}-${version}"; 20 20 21 21 src = fetchurl { 22 22 url = "mirror://pypi/n/numba/${name}.tar.gz"; 23 - sha256 = "56c5fcf3175f72b67ba8998d02870e3ea598e10c41d93289cecb9d89be7669fd"; 23 + sha256 = "4f86df9212cb2678598e6583973ef1df978f3e3ba497b4dc6f91848887710577"; 24 24 }; 25 25 26 26 NIX_CFLAGS_COMPILE = stdenv.lib.optionalString stdenv.isDarwin "-I${libcxx}/include/c++/v1";
+29
pkgs/development/python-modules/odfpy/default.nix
··· 1 + { lib 2 + , buildPythonPackage 3 + , fetchPypi 4 + }: 5 + 6 + buildPythonPackage rec { 7 + pname = "odfpy"; 8 + version = "1.3.5"; 9 + name = "${pname}-${version}"; 10 + 11 + src = fetchPypi { 12 + inherit pname version; 13 + sha256 = "6f8163f8464868cff9421a058f25566e41d73c8f7e849c021b86630941b44366"; 14 + }; 15 + 16 + checkPhase = '' 17 + pushd tests 18 + rm runtests 19 + for file in test*.py; do 20 + python $file 21 + done 22 + ''; 23 + 24 + meta = { 25 + description = "Python API and tools to manipulate OpenDocument files"; 26 + homepage = "https://joinup.ec.europa.eu/software/odfpy/home"; 27 + license = lib.licenses.asl20; 28 + }; 29 + }
+2 -2
pkgs/development/python-modules/oslo-config/default.nix
··· 2 2 3 3 buildPythonPackage rec { 4 4 pname = "oslo.config"; 5 - version = "2.5.0"; 5 + version = "4.11.0"; 6 6 name = "${pname}-${version}"; 7 7 8 8 src = fetchPypi { 9 9 inherit pname version; 10 - sha256 = "043mavrzj7vjn7kh1dddci4sf67qwqnnn6cm0k1d19alks9hismz"; 10 + sha256 = "1be8aaba466a3449fdb21ee8f7025b0d3d252c8c7568b8d5d05ceff58617cd05"; 11 11 }; 12 12 13 13 propagatedBuildInputs = [ pbr six netaddr stevedore ];
+2 -2
pkgs/development/python-modules/pbr/default.nix
··· 2 2 3 3 buildPythonPackage rec { 4 4 pname = "pbr"; 5 - version = "3.0.1"; 5 + version = "3.1.1"; 6 6 name = "${pname}-${version}"; 7 7 8 8 src = fetchPypi { 9 9 inherit pname version; 10 - sha256 = "d7e8917458094002b9a2e0030ba60ba4c834c456071f2d0c1ccb5265992ada91"; 10 + sha256 = "05f61c71aaefc02d8e37c0a3eeb9815ff526ea28b3b76324769e6158d7f95be1"; 11 11 }; 12 12 13 13 # circular dependencies with fixtures
+2 -2
pkgs/development/python-modules/phonenumbers/default.nix
··· 2 2 3 3 buildPythonPackage rec { 4 4 pname = "phonenumbers"; 5 - version = "8.7.1"; 5 + version = "8.8.0"; 6 6 name = "${pname}-${version}"; 7 7 8 8 meta = { ··· 14 14 15 15 src = fetchurl { 16 16 url = "mirror://pypi/p/phonenumbers/${name}.tar.gz"; 17 - sha256 = "1zmi2xvh6v4iyfxmrqhj2byfac9xk733w663a7phib7y6wkvqlgr"; 17 + sha256 = "f8d5eda55e2acdfeb9db9742e1207a5cfb615ad060cabccf1e06a9ed8efd1e49"; 18 18 }; 19 19 }
+2 -2
pkgs/development/python-modules/plotly/default.nix
··· 10 10 11 11 buildPythonPackage rec { 12 12 pname = "plotly"; 13 - version = "2.0.12"; 13 + version = "2.0.15"; 14 14 name = "${pname}-${version}"; 15 15 16 16 src = fetchPypi { 17 17 inherit pname version; 18 - sha256 = "0050da900e4420c15766f8dfb8d252510896511361bf485b9308bc0287f7add0"; 18 + sha256 = "0ecd16a11778674c63615a590e22f79307801eaf009b399bf7e46c486dec8f99"; 19 19 }; 20 20 21 21 propagatedBuildInputs = [
+20
pkgs/development/python-modules/py/default.nix
··· 1 + { stdenv, buildPythonPackage, fetchPypi }: 2 + buildPythonPackage rec { 3 + pname = "py"; 4 + version = "1.4.34"; 5 + name = "${pname}-${version}"; 6 + 7 + src = fetchPypi { 8 + inherit pname version; 9 + sha256 = "1qyd5z0hv8ymxy84v5vig3vps2fvhcf4bdlksb3r03h549fmhb8g"; 10 + }; 11 + 12 + # Circular dependency on pytest 13 + doCheck = false; 14 + 15 + meta = with stdenv.lib; { 16 + description = "Library with cross-python path, ini-parsing, io, code, log facilities"; 17 + homepage = http://pylib.readthedocs.org/; 18 + license = licenses.mit; 19 + }; 20 + }
+2 -2
pkgs/development/python-modules/pycuda/default.nix
··· 22 22 in 23 23 buildPythonPackage rec { 24 24 pname = "pycuda"; 25 - version = "2017.1"; 25 + version = "2017.1.1"; 26 26 name = "${pname}-${version}"; 27 27 28 28 src = fetchurl { 29 29 url = "mirror://pypi/${builtins.substring 0 1 pname}/${pname}/${name}.tar.gz"; 30 - sha256 = "a92725ccd8515b4d7284b9127184b6fdb61f224daa086e7fc6b926e2094b055f"; 30 + sha256 = "6b5a9384e38c603ee429f8a6bee424532db7b3505027ce22f7e18ad19564b563"; 31 31 }; 32 32 33 33 preConfigure = ''
+2 -2
pkgs/development/python-modules/pygraphviz/default.nix
··· 4 4 buildPythonPackage rec { 5 5 name = "${pname}-${version}"; 6 6 pname = "pygraphviz"; 7 - version = "1.4rc1"; 7 + version = "1.3.1"; 8 8 9 9 src = fetchPypi { 10 10 inherit pname version; 11 - sha256 = "00ck696rddjnrwfnh1zw87b9xzqfm6sqjy6kqf6kmn1xwsi6f19a"; 11 + sha256 = "7c294cbc9d88946be671cc0d8602aac176d8c56695c0a7d871eadea75a958408"; 12 12 }; 13 13 14 14 buildInputs = [ doctest-ignore-unicode mock nose ];
+2 -2
pkgs/development/python-modules/pylast/default.nix
··· 2 2 3 3 buildPythonPackage rec { 4 4 pname = "pylast"; 5 - version = "1.8.0"; 5 + version = "1.9.0"; 6 6 name = "${pname}-${version}"; 7 7 8 8 src = fetchPypi { 9 9 inherit pname version; 10 - sha256 = "85f8dd96aef0ccba5f80379c3d7bc1fabd72f59aebab040daf40a8b72268f9bd"; 10 + sha256 = "ae1c4105cbe704d9ac10ba57ac4c26bc576cc33978f1b578101b20c6a2360ca4"; 11 11 }; 12 12 13 13 propagatedBuildInputs = [ certifi six ];
+2 -2
pkgs/development/python-modules/pyopencl/default.nix
··· 15 15 16 16 buildPythonPackage rec { 17 17 pname = "pyopencl"; 18 - version = "2017.1.1"; 18 + version = "2017.2"; 19 19 name = "${pname}-${version}"; 20 20 21 21 buildInputs = [ pytest opencl-headers ocl-icd ]; ··· 24 24 25 25 src = fetchPypi { 26 26 inherit pname version; 27 - sha256 = "928c458a463321c6c91e7fa54bf325bf71d7a8aa5ff750ec8fed2472f6aeb323"; 27 + sha256 = "039b689a58eb98e27a577ac086210deae959f40d657487f3199d2d217c270ff9"; 28 28 }; 29 29 30 30 # gcc: error: pygpu_language_opencl.cpp: No such file or directory
+2 -2
pkgs/development/python-modules/pypandoc/default.nix
··· 3 3 4 4 buildPythonPackage rec { 5 5 pname = "pypandoc"; 6 - version = "1.3.3"; 6 + version = "1.4"; 7 7 name = "${pname}-${version}"; 8 8 9 9 src = fetchPypi { 10 10 inherit pname version; 11 - sha256 = "0628f2kn4gqimnhpf251fgzl723hwgyl3idy69dkzyjvi45s5zm6"; 11 + sha256 = "e914e6d5f84a76764887e4d909b09d63308725f0cbb5293872c2c92f07c11a5b"; 12 12 }; 13 13 14 14 # Fix tests: first requires network access, second is a bug (reported upstream)
+2 -2
pkgs/development/python-modules/pyroute2/default.nix
··· 2 2 3 3 buildPythonPackage rec { 4 4 pname = "pyroute2"; 5 - version = "0.4.18"; 5 + version = "0.4.19"; 6 6 name = "${pname}-${version}"; 7 7 8 8 src = fetchurl { 9 9 url = "mirror://pypi/p/pyroute2/${name}.tar.gz"; 10 - sha256 = "bdcff9f598ff4dda7420675ee387426cd9cc79d795ea73eb684a4314d4b00b9e"; 10 + sha256 = "122a1e34702287b805742a6edd8fe8483608238bd1602df2d5e3274bd8e8030a"; 11 11 }; 12 12 13 13 # requires root priviledges
+31
pkgs/development/python-modules/pyrtlsdr/default.nix
··· 1 + { lib 2 + , buildPythonPackage 3 + , fetchPypi 4 + , rtl-sdr 5 + }: 6 + 7 + buildPythonPackage rec { 8 + pname = "pyrtlsdr"; 9 + version = "0.2.5"; 10 + name = "${pname}-${version}"; 11 + 12 + src = fetchPypi { 13 + inherit pname version; 14 + sha256 = "dd041143b68628c713c2227c78c40b0b4a0cb5d08df116f7bdc5f83c529be0e4"; 15 + }; 16 + 17 + postPatch = '' 18 + sed "s|driver_files =.*|driver_files = ['${rtl-sdr}/lib/librtlsdr.so']|" -i rtlsdr/librtlsdr.py 19 + ''; 20 + 21 + # No tests that can be used. 22 + doCheck = false; 23 + 24 + meta = with lib; { 25 + description = "Python wrapper for librtlsdr (a driver for Realtek RTL2832U based SDR's)"; 26 + homepage = https://github.com/roger-/pyrtlsdr; 27 + license = licenses.gpl3; 28 + platforms = platforms.linux; 29 + maintainers = with maintainers; [ bjornfor ]; 30 + }; 31 + }
+2 -2
pkgs/development/python-modules/pyscard/default.nix
··· 1 1 { stdenv, fetchurl, buildPythonPackage, swig, pcsclite }: 2 2 3 3 buildPythonPackage rec { 4 - version = "1.9.5"; 4 + version = "1.9.6"; 5 5 pname = "pyscard"; 6 6 name = "${pname}-${version}"; 7 7 8 8 src = fetchurl { 9 9 url = "mirror://pypi/p/pyscard/${name}.tar.gz"; 10 - sha256 = "7eef027e1939b7595fc13c03616f262f90d118594fdb6f7620af46b54fa06835"; 10 + sha256 = "6e28143c623e2b34200d2fa9178dbc80a39b9c068b693b2e6527cdae784c6c12"; 11 11 }; 12 12 13 13 patchPhase = ''
+2 -2
pkgs/development/python-modules/pytest-asyncio/default.nix
··· 2 2 buildPythonPackage rec { 3 3 name = "${pname}-${version}"; 4 4 pname = "pytest-asyncio"; 5 - version = "0.5.0"; 5 + version = "0.6.0"; 6 6 7 7 disabled = !isPy3k; 8 8 9 9 src = fetchurl { 10 10 url = "mirror://pypi/p/${pname}/${name}.tar.gz"; 11 - sha256 = "03sxq8fglr4lw4y6wqlbli9ypr65fxzx6hlpn5wpccx8v5472iff"; 11 + sha256 = "e5c6786ece4b3bbb0cca1bf68bf089756a62760e3764dc84eaee39bfab70289b"; 12 12 }; 13 13 14 14 buildInputs = [ pytest ];
+1 -1
pkgs/development/python-modules/pytest-django/default.nix
··· 19 19 # Unpin setuptools-scm 20 20 (fetchpatch { 21 21 url = "https://github.com/pytest-dev/pytest-django/commit/25cbc3b395dcdeb92bdc9414e296680c2b9d602e.patch"; 22 - sha256 = "0mz3rcsv44pfzlxy3pv8mx87glmv34gy0d5aknvbzgb2a9niryws"; 22 + sha256 = "1mx06y4kz2zs41mb2h9bh5p4jc6s6hfsq6fghhsks5b7qak05xjp"; 23 23 }) 24 24 ]; 25 25
+33
pkgs/development/python-modules/pytest-forked/default.nix
··· 1 + { lib 2 + , buildPythonPackage 3 + , fetchPypi 4 + , setuptools_scm 5 + , pytest 6 + }: 7 + 8 + buildPythonPackage rec { 9 + pname = "pytest-forked"; 10 + version = "0.2"; 11 + name = "${pname}-${version}"; 12 + 13 + src = fetchPypi { 14 + inherit pname version; 15 + sha256 = "e4500cd0509ec4a26535f7d4112a8cc0f17d3a41c29ffd4eab479d2a55b30805"; 16 + }; 17 + 18 + buildInputs = [ pytest setuptools_scm ]; 19 + 20 + # Do not function 21 + doCheck = false; 22 + 23 + checkPhase = '' 24 + py.test testing 25 + ''; 26 + 27 + meta = { 28 + description = "Run tests in isolated forked subprocesses"; 29 + homepage = https://github.com/pytest-dev/pytest-forked; 30 + license = lib.licenses.mit; 31 + }; 32 + 33 + }
+4 -4
pkgs/development/python-modules/pytest-xdist/default.nix
··· 1 - { stdenv, fetchPypi, buildPythonPackage, isPy3k, execnet, pytest, setuptools_scm }: 1 + { stdenv, fetchPypi, buildPythonPackage, isPy3k, execnet, pytest, setuptools_scm, pytest-forked }: 2 2 3 3 buildPythonPackage rec { 4 4 name = "${pname}-${version}"; 5 5 pname = "pytest-xdist"; 6 - version = "1.18.2"; 6 + version = "1.20.0"; 7 7 8 8 src = fetchPypi { 9 9 inherit pname version; 10 - sha256 = "10468377901b80255cf192c4603a94ffe8b1f071f5c912868da5f5cb91170dae"; 10 + sha256 = "7924d45c2430191fe3679a58116c74ceea13307d7822c169d65fd59a24b3a4fe"; 11 11 }; 12 12 13 - buildInputs = [ pytest setuptools_scm ]; 13 + buildInputs = [ pytest setuptools_scm pytest-forked]; 14 14 propagatedBuildInputs = [ execnet ]; 15 15 16 16 postPatch = ''
+27
pkgs/development/python-modules/pytest/3_0.nix
··· 1 + { stdenv, buildPythonPackage, fetchPypi, isPy26, argparse, hypothesis, py 2 + , setuptools_scm 3 + }: 4 + buildPythonPackage rec { 5 + version = "3.0.7"; 6 + pname = "pytest"; 7 + name = "${pname}-${version}"; 8 + 9 + preCheck = '' 10 + # don't test bash builtins 11 + rm testing/test_argcomplete.py 12 + ''; 13 + 14 + src = fetchPypi { 15 + inherit pname version; 16 + sha256 = "b70696ebd1a5e6b627e7e3ac1365a4bc60aaf3495e843c1e70448966c5224cab"; 17 + }; 18 + 19 + buildInputs = [ hypothesis setuptools_scm ]; 20 + propagatedBuildInputs = [ py ] 21 + ++ (stdenv.lib.optional isPy26 argparse); 22 + 23 + meta = with stdenv.lib; { 24 + maintainers = with maintainers; [ domenkozar lovek323 madjar lsix ]; 25 + platforms = platforms.unix; 26 + }; 27 + }
+8 -6
pkgs/development/python-modules/pytest/default.nix
··· 1 - { stdenv, buildPythonPackage, fetchurl, isPy26, argparse, hypothesis, py }: 1 + { stdenv, buildPythonPackage, fetchPypi, isPy26, argparse, hypothesis, py 2 + , setuptools_scm 3 + }: 2 4 buildPythonPackage rec { 3 - version = "3.0.7"; 5 + version = "3.2.1"; 4 6 pname = "pytest"; 5 7 name = "${pname}-${version}"; 6 8 ··· 9 11 rm testing/test_argcomplete.py 10 12 ''; 11 13 12 - src = fetchurl { 13 - url = "mirror://pypi/p/pytest/${name}.tar.gz"; 14 - sha256 = "b70696ebd1a5e6b627e7e3ac1365a4bc60aaf3495e843c1e70448966c5224cab"; 14 + src = fetchPypi { 15 + inherit pname version; 16 + sha256 = "4c2159d2be2b4e13fa293e7a72bdf2f06848a017150d5c6d35112ce51cfd74ce"; 15 17 }; 16 18 17 - buildInputs = [ hypothesis ]; 19 + buildInputs = [ hypothesis setuptools_scm ]; 18 20 propagatedBuildInputs = [ py ] 19 21 ++ (stdenv.lib.optional isPy26 argparse); 20 22
+6 -2
pkgs/development/python-modules/python-editor/default.nix
··· 1 1 { stdenv, buildPythonPackage, fetchPypi }: 2 2 3 3 buildPythonPackage rec { 4 - version = "0.4"; 4 + version = "1.0.3"; 5 5 pname = "python-editor"; 6 6 name = "${pname}-${version}"; 7 7 8 8 src = fetchPypi { 9 9 inherit pname version; 10 - sha256 = "1gykxn16anmsbcrwhx3rrhwjif95mmwvq9gjcrr9bbzkdc8sf8a4"; 10 + sha256 = "a3c066acee22a1c94f63938341d4fb374e3fdd69366ed6603d7b24bed1efc565"; 11 11 }; 12 12 13 + # No proper tests 14 + doCheck = false; 15 + 13 16 meta = with stdenv.lib; { 14 17 description = "A library that provides the `editor` module for programmatically"; 15 18 homepage = https://github.com/fmoo/python-editor; 19 + license = licenses.asl20; 16 20 }; 17 21 }
+2 -2
pkgs/development/python-modules/qtconsole/default.nix
··· 14 14 15 15 buildPythonPackage rec { 16 16 pname = "qtconsole"; 17 - version = "4.3.0"; 17 + version = "4.3.1"; 18 18 name = "${pname}-${version}"; 19 19 20 20 src = fetchPypi { 21 21 inherit pname version; 22 - sha256 = "2821ccf85853b83e4958521f82e36325208787eaf79b19b83905a99cc41aa209"; 22 + sha256 = "eff8c2faeda567a0bef5781f419a64e9977988db101652b312b9d74ec0a5109c"; 23 23 }; 24 24 25 25 buildInputs = [ nose ] ++ lib.optionals isPy27 [mock];
+4 -3
pkgs/development/python-modules/relatorio/default.nix
··· 1 - { lib, fetchurl, buildPythonPackage, genshi, lxml }: 1 + { lib, fetchurl, buildPythonPackage, genshi, lxml, python_magic }: 2 2 3 3 buildPythonPackage rec { 4 4 pname = "relatorio"; 5 5 name = "${pname}-${version}"; 6 - version = "0.6.4"; 6 + version = "0.7.0"; 7 7 src = fetchurl { 8 8 url = "mirror://pypi/r/relatorio/${name}.tar.gz"; 9 - sha256 = "0lincq79mzgazwd9gh41dybjh9c3n87r83pl8nk3j79aihyfk84z"; 9 + sha256 = "efd68d96573b15c59c24a8f420ed14210ce51de535a8470d14381f2bed69d845"; 10 10 }; 11 11 propagatedBuildInputs = [ 12 12 genshi 13 13 lxml 14 + python_magic 14 15 ]; 15 16 meta = { 16 17 homepage = http://relatorio.tryton.org/;
+3 -3
pkgs/development/python-modules/requests-oauthlib.nix
··· 1 - { stdenv, buildPythonPackage, fetchurl 1 + { stdenv, buildPythonPackage, fetchPypi 2 2 , oauthlib, requests }: 3 3 4 4 buildPythonPackage rec { ··· 6 6 pname = "requests-oauthlib"; 7 7 name = "${pname}-${version}"; 8 8 9 - src = fetchurl { 10 - url = "http://github.com/requests/requests-oauthlib/archive/v${version}.tar.gz"; 9 + src = fetchPypi { 10 + inherit pname version; 11 11 sha256 = "883ac416757eada6d3d07054ec7092ac21c7f35cb1d2cf82faf205637081f468"; 12 12 }; 13 13
+2 -2
pkgs/development/python-modules/rfc3986/default.nix
··· 3 3 4 4 buildPythonPackage rec { 5 5 pname = "rfc3986"; 6 - version = "1.0.0"; 6 + version = "1.1.0"; 7 7 name = "${pname}-${version}"; 8 8 9 9 src = fetchPypi { 10 10 inherit pname version; 11 - sha256 = "2faacfabcc13ed89b061b5f21cbbf330f82400654b317b5907d311c3478ec4c4"; 11 + sha256 = "8458571c4c57e1cf23593ad860bb601b6a604df6217f829c2bc70dc4b5af941b"; 12 12 }; 13 13 14 14 buildInputs = [ pytest ];
+5 -2
pkgs/development/python-modules/semver/default.nix
··· 3 3 buildPythonPackage rec { 4 4 name = "${pname}-${version}"; 5 5 pname = "semver"; 6 - version = "2.2.1"; 6 + version = "2.7.7"; 7 7 8 8 src = fetchPypi { 9 9 inherit pname version; 10 - sha256 = "161gvsfpw0l8lnf1v19rvqc8b9f8n70cc8ppya4l0n6rwc1c1n4m"; 10 + sha256 = "20ffbb50248a6141bb9eba907db0e47ee4a239ddb55fe0ada8696fc241495a9d"; 11 11 }; 12 + 13 + # No tests in archive 14 + doCheck = false; 12 15 13 16 meta = with stdenv.lib; { 14 17 description = "Python package to work with Semantic Versioning (http://semver.org/)";
+2 -2
pkgs/development/python-modules/setuptools/default.nix
··· 8 8 # Should use buildPythonPackage here somehow 9 9 stdenv.mkDerivation rec { 10 10 pname = "setuptools"; 11 - version = "36.0.1"; 11 + version = "36.2.7"; 12 12 name = "${python.libPrefix}-${pname}-${version}"; 13 13 14 14 src = fetchPypi { 15 15 inherit pname version; 16 16 extension = "zip"; 17 - sha256 = "e17c4687fddd6d70a6604ac0ad25e33324cec71b5137267dd5c45e103c4b288a"; 17 + sha256 = "b0fe5d432d922df595e918577c51458d63f245115d141b309ac32ecfca329df5"; 18 18 }; 19 19 20 20 buildInputs = [ python wrapPython unzip ];
+24
pkgs/development/python-modules/setuptools_scm/default.nix
··· 1 + { stdenv, buildPythonPackage, fetchPypi, pip }: 2 + buildPythonPackage rec { 3 + pname = "setuptools_scm"; 4 + name = "${pname}-${version}"; 5 + version = "1.15.6"; 6 + 7 + src = fetchPypi { 8 + inherit pname version; 9 + sha256 = "0pzvfmx8s20yrgkgwfbxaspz2x1g38qv61jpm0ns91lrb22ldas9"; 10 + }; 11 + 12 + buildInputs = [ pip ]; 13 + 14 + # Seems to fail due to chroot and would cause circular dependency 15 + # with pytest 16 + doCheck = false; 17 + 18 + meta = with stdenv.lib; { 19 + homepage = https://bitbucket.org/pypa/setuptools_scm/; 20 + description = "Handles managing your python package versions in scm metadata"; 21 + license = licenses.mit; 22 + maintainers = with maintainers; [ jgeerds ]; 23 + }; 24 + }
+2 -2
pkgs/development/python-modules/simplejson/default.nix
··· 6 6 7 7 buildPythonPackage rec { 8 8 pname = "simplejson"; 9 - version = "3.10.0"; 9 + version = "3.11.1"; 10 10 name = "${pname}-${version}"; 11 11 doCheck = !stdenv.isDarwin; 12 12 13 13 src = fetchPypi { 14 14 inherit pname version; 15 - sha256 = "953be622e88323c6f43fad61ffd05bebe73b9fd9863a46d68b052d2aa7d71ce2"; 15 + sha256 = "01a22d49ddd9a168b136f26cac87d9a335660ce07aa5c630b8e3607d6f4325e7"; 16 16 }; 17 17 18 18 meta = {
+10 -3
pkgs/development/python-modules/sphinx/default.nix
··· 20 20 , whoosh 21 21 , imagesize 22 22 , requests 23 + , sphinxcontrib-websupport 23 24 }: 24 25 25 26 buildPythonPackage rec { 26 27 name = "${pname}-${version}"; 27 28 pname = "Sphinx"; 28 - version = "1.5.2"; 29 + version = "1.6.3"; 29 30 src = fetchPypi { 30 31 inherit pname version; 31 - sha256 = "049c48393909e4704a6ed4de76fd39c8622e165414660bfb767e981e7931c722"; 32 + sha256 = "af8bdb8c714552b77d01d4536e3d6d2879d6cb9d25423d29163d5788e27046e6"; 32 33 }; 33 34 LC_ALL = "en_US.UTF-8"; 34 - buildInputs = [ pytest simplejson mock glibcLocales html5lib ] ++ lib.optional (pythonOlder "3.4") enum34; 35 + 36 + checkInputs = [ pytest ]; 37 + buildInputs = [ simplejson mock glibcLocales html5lib ] ++ lib.optional (pythonOlder "3.4") enum34; 35 38 # Disable two tests that require network access. 36 39 checkPhase = '' 37 40 cd tests; ${python.interpreter} run.py --ignore py35 -k 'not test_defaults and not test_anchors_ignored' ··· 48 51 whoosh 49 52 imagesize 50 53 requests 54 + sphinxcontrib-websupport 51 55 ]; 56 + 57 + # Lots of tests. Needs network as well at some point. 58 + doCheck = false; 52 59 53 60 # https://github.com/NixOS/nixpkgs/issues/22501 54 61 # Do not run `python sphinx-build arguments` but `sphinx-build arguments`.
+26
pkgs/development/python-modules/sphinxcontrib-websupport/default.nix
··· 1 + { lib 2 + , buildPythonPackage 3 + , fetchPypi 4 + , six 5 + }: 6 + 7 + buildPythonPackage rec { 8 + pname = "sphinxcontrib-websupport"; 9 + version = "1.0.1"; 10 + name = "${pname}-${version}"; 11 + 12 + src = fetchPypi { 13 + inherit pname version; 14 + sha256 = "7a85961326aa3a400cd4ad3c816d70ed6f7c740acd7ce5d78cd0a67825072eb9"; 15 + }; 16 + 17 + propagatedBuildInputs = [ six ]; 18 + 19 + doCheck = false; 20 + 21 + meta = { 22 + description = "Sphinx API for Web Apps"; 23 + homepage = http://sphinx-doc.org/; 24 + license = lib.licenses.bsd2; 25 + }; 26 + }
+9 -9
pkgs/development/python-modules/sqlalchemy/default.nix
··· 1 1 { lib 2 2 , fetchPypi 3 3 , buildPythonPackage 4 - , pytest 4 + , pytest_30 5 5 , mock 6 6 , pytest_xdist 7 7 , isPy3k ··· 11 11 buildPythonPackage rec { 12 12 pname = "SQLAlchemy"; 13 13 name = "${pname}-${version}"; 14 - version = "1.1.12"; 14 + version = "1.1.13"; 15 15 16 16 src = fetchPypi { 17 17 inherit pname version; 18 - sha256 = "d501527319f51a3d9eb639b654222c6f67287228a98ba102b1d0b598eb3266c9"; 18 + sha256 = "2a98ac87b30eaa2bee1f1044848b9590e476e7f93d033c6542e60b993a5cf898"; 19 19 }; 20 20 21 - checkInputs = [ pytest mock pytest_xdist ] 22 - ++ lib.optional (!isPy3k) pysqlite; 23 - 24 - # Test-only dependency pysqlite doesn't build on Python 3. This isn't an 25 - # acceptable reason to make all dependents unavailable on Python 3 as well 26 - #doCheck = !(isPyPy || isPy3k); 21 + checkInputs = [ 22 + pytest_30 23 + mock 24 + # Disable pytest_xdist tests for now, because our version seems to be too new. 25 + # pytest_xdist 26 + ] ++ lib.optional (!isPy3k) pysqlite; 27 27 28 28 checkPhase = '' 29 29 py.test
+25
pkgs/development/python-modules/sqlmap/default.nix
··· 1 + { lib 2 + , buildPythonPackage 3 + , fetchPypi 4 + }: 5 + 6 + buildPythonPackage rec { 7 + pname = "sqlmap"; 8 + version = "1.1.8"; 9 + name = "${pname}-${version}"; 10 + 11 + src = fetchPypi { 12 + inherit pname version; 13 + sha256 = "f8f88fc7fe0ba81a7558902f87df31c052e27404caa26a160174747afcaebe49"; 14 + }; 15 + 16 + # No tests in archive 17 + doCheck = false; 18 + 19 + meta = with lib; { 20 + homepage = "http://sqlmap.org"; 21 + license = licenses.gpl2; 22 + description = "Automatic SQL injection and database takeover tool"; 23 + maintainers = with maintainers; [ bennofs ]; 24 + }; 25 + }
+2 -2
pkgs/development/python-modules/stevedore/default.nix
··· 2 2 3 3 buildPythonPackage rec { 4 4 pname = "stevedore"; 5 - version = "1.21.0"; 5 + version = "1.25.0"; 6 6 name = "${pname}-${version}"; 7 7 8 8 src = fetchPypi { 9 9 inherit pname version; 10 - sha256 = "12sg88ax0lv2sxr685rqdaxm9gryjrpj4fvax459zvwy1r4n83ma"; 10 + sha256 = "c8a373b90487b7a1b52ebaa3ca5059315bf68d9ebe15b2203c2fa675bd7e1e7e"; 11 11 }; 12 12 13 13 doCheck = false;
+2 -2
pkgs/development/python-modules/stripe/default.nix
··· 3 3 4 4 buildPythonPackage rec { 5 5 pname = "stripe"; 6 - version = "1.41.1"; 6 + version = "1.62.1"; 7 7 name = "${pname}-${version}"; 8 8 9 9 # Tests require network connectivity and there's no easy way to disable ··· 12 12 13 13 src = fetchPypi { 14 14 inherit pname version; 15 - sha256 = "0zvffvq933ia5w5ll6xhx2zgvppgc6zc2mxhc6f0kypw5g2fxvz5"; 15 + sha256 = "7cc83b8d405a48d8a792640761519c64e373ad3514ea8bb4a9a5128f98b0b679"; 16 16 }; 17 17 18 18 buildInputs = [ unittest2 mock ];
+2 -2
pkgs/development/python-modules/tqdm/default.nix
··· 11 11 12 12 buildPythonPackage rec { 13 13 pname = "tqdm"; 14 - version = "4.11.2"; 14 + version = "4.15.0"; 15 15 name = "${pname}-${version}"; 16 16 17 17 src = fetchPypi { 18 18 inherit pname version; 19 - sha256 = "14baa7a9ea7723d46f60de5f8c6f20e840baa7e3e193bf0d9ec5fe9103a15254"; 19 + sha256 = "6ec1dc74efacf2cda936b4a6cf4082ce224c76763bdec9f17e437c8cfcaa9953"; 20 20 }; 21 21 22 22 buildInputs = [ nose coverage glibcLocales flake8 ];
+2 -2
pkgs/development/python-modules/treq/default.nix
··· 4 4 buildPythonPackage rec { 5 5 name = "${pname}-${version}"; 6 6 pname = "treq"; 7 - version = "17.3.1"; 7 + version = "17.8.0"; 8 8 9 9 src = fetchPypi { 10 10 inherit pname version; 11 - sha256 = "1xhcpvsl3xqw0dq9sixk80iwyiv17djigp3815sy5pfgvvggcfii"; 11 + sha256 = "ef72d2d5e0b24bdf29267b608fa33df0ac401743af8524438b073e1fb2b66f16"; 12 12 }; 13 13 14 14 propagatedBuildInputs = [ twisted requests six incremental service-identity ];
+4 -4
pkgs/development/python-modules/twisted/default.nix
··· 1 1 { stdenv, buildPythonPackage, fetchurl, python, 2 - zope_interface, incremental, automat, constantly 2 + zope_interface, incremental, automat, constantly, hyperlink 3 3 }: 4 4 buildPythonPackage rec { 5 5 pname = "Twisted"; 6 6 name = "${pname}-${version}"; 7 - version = "17.1.0"; 7 + version = "17.5.0"; 8 8 9 9 src = fetchurl { 10 10 url = "mirror://pypi/T/Twisted/${name}.tar.bz2"; 11 - sha256 = "1p245mg15hkxp7hy5cyq2fgvlgjkb4cg0gwkwd148nzy1bbi3wnv"; 11 + sha256 = "1sh2h23nnizcdyrl2rn7zxijglikxwz7z7grqpvq496zy2aa967i"; 12 12 }; 13 13 14 - propagatedBuildInputs = [ zope_interface incremental automat constantly ]; 14 + propagatedBuildInputs = [ zope_interface incremental automat constantly hyperlink ]; 15 15 16 16 # Patch t.p._inotify to point to libc. Without this, 17 17 # twisted.python.runtime.platform.supportsINotify() == False
+2 -2
pkgs/development/python-modules/txaio/default.nix
··· 3 3 buildPythonPackage rec { 4 4 name = "${pname}-${version}"; 5 5 pname = "txaio"; 6 - version = "2.7.1"; 6 + version = "2.8.1"; 7 7 8 8 src = fetchPypi { 9 9 inherit pname version; 10 - sha256 = "1lmllmjjsqzl3w4faq2qhlgkaqn1yn1m7d99k822ib7qgz18bsly"; 10 + sha256 = "fe2e0e4d3a06705f86bbd351fdd1f39dae61755e44162375e024acbf32eafddb"; 11 11 }; 12 12 13 13 buildInputs = [ pytest mock ];
+2 -2
pkgs/development/python-modules/vega/default.nix
··· 3 3 4 4 buildPythonPackage rec { 5 5 pname = "vega"; 6 - version = "0.4.4"; 6 + version = "0.5.0"; 7 7 name = "${pname}-${version}"; 8 8 9 9 src = fetchPypi { 10 10 inherit pname version; 11 - sha256 = "08k92afnk0bivm07h1l5nh26xl2rfp7qn03aq17q1hr3fs5r6cdm"; 11 + sha256 = "9871bce3a00bb775d9f7f8212aa237f99f11ca7cfe6ecf246773f5559f20c38c"; 12 12 }; 13 13 14 14 buildInputs = [ pytest ];
+2 -2
pkgs/development/python-modules/virtualenv/default.nix
··· 6 6 7 7 buildPythonPackage rec { 8 8 pname = "virtualenv"; 9 - version = "15.0.3"; 9 + version = "15.1.0"; 10 10 name = "${pname}-${version}"; 11 11 12 12 src = fetchPypi { 13 13 inherit pname version; 14 - sha256 = "6d9c760d3fc5fa0894b0f99b9de82a4647e1164f0b700a7f99055034bf548b1d"; 14 + sha256 = "02f8102c2436bb03b3ee6dede1919d1dac8a427541652e5ec95171ec8adbc93a"; 15 15 }; 16 16 17 17 # Doubt this is needed - FRidh 2017-07-07
+2 -2
pkgs/development/python-modules/websockets/default.nix
··· 6 6 7 7 let 8 8 pname = "websockets"; 9 - version = "3.3"; 9 + version = "3.4"; 10 10 in buildPythonPackage rec { 11 11 name = "${pname}-${version}"; 12 12 13 13 src = fetchurl { 14 14 url = "mirror://pypi/${builtins.substring 0 1 pname}/${pname}/${name}.tar.gz"; 15 - sha256 = "305ab7fdd86afd08c2723461c949e153f7b01233f95a108619a15e41b7a74c93"; 15 + sha256 = "43e5b9f51dd0000a4c6f646e2ade0c886bd14a784ffac08b9e079bd17a63bcc5"; 16 16 }; 17 17 18 18 disabled = pythonOlder "3.3";
+2 -2
pkgs/development/python-modules/widgetsnbextension/default.nix
··· 8 8 buildPythonPackage rec { 9 9 pname = "widgetsnbextension"; 10 10 name = "${pname}-${version}"; 11 - version = "2.0.0"; 11 + version = "3.0.2"; 12 12 13 13 src = fetchPypi { 14 14 inherit pname version; 15 - sha256 = "566582a84642d0c0f78b756a954450a38a8743eeb8dad04b7cab3ca66f455e6f"; 15 + sha256 = "e8890d87c80782ee4ea3ed9afffc89a0af8b4ff475d1608d900f728ea55f041c"; 16 16 }; 17 17 18 18 propagatedBuildInputs = [ notebook ];
+2 -2
pkgs/development/python-modules/xlwt/default.nix
··· 8 8 buildPythonPackage rec { 9 9 pname = "xlwt"; 10 10 name = "${pname}-${version}"; 11 - version = "1.2.0"; 11 + version = "1.3.0"; 12 12 13 13 src = fetchurl { 14 14 url = "mirror://pypi/${builtins.substring 0 1 pname}/${pname}/${name}.tar.gz"; 15 - sha256 = "505669c1eb6a60823fd3e2e723b60eea95f2c56254113bf163091ed2bedb4ac9"; 15 + sha256 = "c59912717a9b28f1a3c2a98fd60741014b06b043936dcecbc113eaaada156c88"; 16 16 }; 17 17 18 18 buildInputs = [ nose ];
+2 -2
pkgs/development/python-modules/yamllint/default.nix
··· 3 3 4 4 buildPythonPackage rec { 5 5 pname = "yamllint"; 6 - version = "0.5.2"; 6 + version = "1.8.1"; 7 7 name = "${pname}-${version}"; 8 8 9 9 src = fetchPypi { 10 10 inherit pname version; 11 - sha256 = "0brdy1crhfng10hlw0420bv10c2xnjk8ndnhssybkzym47yrzg84"; 11 + sha256 = "048743567ca9511e19222233ebb53795586a2cede07b79e801577e0a9b4f173c"; 12 12 }; 13 13 14 14 buildInputs = [ nose ];
+2 -2
pkgs/development/python-modules/yapf/default.nix
··· 2 2 3 3 buildPythonPackage rec { 4 4 pname = "yapf"; 5 - version = "0.16.3"; 5 + version = "0.17.0"; 6 6 name = "${pname}-${version}"; 7 7 8 8 src = fetchPypi { 9 9 inherit pname version; 10 - sha256 = "1qxq41y65saljw0jk5fzinvynr9fhwzqcjsxxs8bn78in073x7a2"; 10 + sha256 = "5472f4c95ab9b9fe9f5bf74ece3c986bfafa1f98ad9e1e296d4c35d291c97856"; 11 11 }; 12 12 13 13 meta = with stdenv.lib; {
+2 -2
pkgs/development/python-modules/yarl/default.nix
··· 8 8 9 9 let 10 10 pname = "yarl"; 11 - version = "0.10.3"; 11 + version = "0.12.0"; 12 12 in buildPythonPackage rec { 13 13 name = "${pname}-${version}"; 14 14 src = fetchurl { 15 15 url = "mirror://pypi/${builtins.substring 0 1 pname}/${pname}/${name}.tar.gz"; 16 - sha256 = "27b24ba3ef3cb8475aea1a655a1750bb11918ba139278af21db5846ee9643138"; 16 + sha256 = "fc0f71ffdce882b4d4b287b0b3a68d9f2557ab14cc2c10ce4df714c42512cbde"; 17 17 }; 18 18 19 19 buildInputs = [ pytest pytestrunner ];
+2 -2
pkgs/development/python-modules/zeep/default.nix
··· 24 24 25 25 let 26 26 pname = "zeep"; 27 - version = "2.0.0"; 27 + version = "2.3.0"; 28 28 in buildPythonPackage { 29 29 name = "${pname}-${version}"; 30 30 31 31 src = fetchPypi { 32 32 inherit pname version; 33 - sha256 = "5b9bd6b8772d6b505118c11d6924eb7df0decf12bbbeb43b1c27d781817361ad"; 33 + sha256 = "b01d81c61d7b7858b7be001615d3c995a371815f5e6902c914fea9beba30b716"; 34 34 }; 35 35 36 36 propagatedBuildInputs = [
+2 -2
pkgs/development/tools/mypy/default.nix
··· 3 3 buildPythonApplication rec { 4 4 name = "${pname}-${version}"; 5 5 pname = "mypy"; 6 - version = "0.511"; 6 + version = "0.521"; 7 7 8 8 # Tests not included in pip package. 9 9 doCheck = false; 10 10 11 11 src = fetchPypi { 12 12 inherit pname version; 13 - sha256 = "1vmfyi6zh49mi7rmns5hjgpqshq7islxwsgp80j1izf82r8xgx1z"; 13 + sha256 = "9d30df20cd937b80cfc6007d75426f27a232789cfa288c63bf9370f2542c9658"; 14 14 }; 15 15 16 16 propagatedBuildInputs = [ lxml typed-ast ];
+12 -5
pkgs/misc/vscode-extensions/default.nix
··· 3 3 let 4 4 inherit (vscode-utils) buildVscodeExtension buildVscodeMarketplaceExtension; 5 5 in 6 - 6 + # 7 + # Unless there is a good reason not to, we attemp to use the same name as the 8 + # extension's unique identifier (the name the extension gets when installed 9 + # from vscode under `~/.vscode`) and found on the marketplace extension page. 10 + # So an extension's attribute name should be of the form: 11 + # "${mktplcRef.publisher}.${mktplcRef.name}". 12 + # 7 13 rec { 8 - nix = buildVscodeMarketplaceExtension { 14 + bbenoist.Nix = buildVscodeMarketplaceExtension { 9 15 mktplcRef = { 10 - name = "nix"; 16 + name = "Nix"; 11 17 publisher = "bbenoist"; 12 18 version = "1.0.1"; 13 19 sha256 = "0zd0n9f5z1f0ckzfjr38xw2zzmcxg1gjrava7yahg5cvdcw6l35b"; 14 20 }; 15 - 16 - # TODO: Fill meta with appropriate information. 21 + meta = with stdenv.lib; { 22 + license = licenses.mit; 23 + }; 17 24 }; 18 25 }
+14 -25
pkgs/misc/vscode-extensions/vscode-utils.nix
··· 1 - { stdenv, lib, fetchurl, runCommand, vscode, which }: 1 + { stdenv, lib, fetchurl, runCommand, vscode, unzip }: 2 2 3 3 let 4 4 extendedPkgVersion = lib.getVersion vscode; ··· 7 7 mktplcExtRefToFetchArgs = ext: { 8 8 url = "https://${ext.publisher}.gallery.vsassets.io/_apis/public/gallery/publisher/${ext.publisher}/extension/${ext.name}/${ext.version}/assetbyname/Microsoft.VisualStudio.Services.VSIXPackage"; 9 9 sha256 = ext.sha256; 10 - name = "${ext.name}.vsix"; 10 + # The `*.vsix` file is in the end a simple zip file. Change the extension 11 + # so that existing `unzip` hooks takes care of the unpacking. 12 + name = "${ext.publisher}-${ext.name}.zip"; 11 13 }; 12 14 13 15 buildVscodeExtension = a@{ 14 16 name, 15 17 namePrefix ? "${extendedPkgName}-extension-", 16 18 src, 19 + # Same as "Unique Identifier" on the extension's web page. 20 + # For the moment, only serve as unique extension dir. 21 + vscodeExtUniqueId, 17 22 configurePhase ? ":", 18 23 buildPhase ? ":", 19 24 dontPatchELF ? true, ··· 21 26 buildInputs ? [], 22 27 ... 23 28 }: 24 - stdenv.mkDerivation (a // { 29 + stdenv.mkDerivation ((removeAttrs a [ "vscodeExtUniqueId" ]) // { 25 30 26 31 name = namePrefix + name; 27 32 33 + inherit vscodeExtUniqueId; 28 34 inherit configurePhase buildPhase dontPatchELF dontStrip; 29 35 30 - # TODO: `which` is an encapsulation leak. It should have been hardwired 31 - # as part of the `code` wrapper. 32 - buildInputs = [ vscode which ] ++ buildInputs; 33 - 34 - unpackPhase = '' 35 - # TODO: Unfortunately, 'code' systematically creates its '.vscode' directory 36 - # even tough it has nothing to write in it. We need to redirect this 37 - # to a writeable location as the nix environment already has (but 38 - # to a non writeable one) otherwise the write will fail. 39 - # It would be preferrable if we could intercept / fix this at the source. 40 - HOME="$PWD/code_null_home" code \ 41 - --extensions-dir "$PWD" \ 42 - --install-extension "${toString src}" 43 - 44 - rm -Rf "$PWD/code_null_home" 45 - cd "$(find . -mindepth 1 -type d -print -quit)" 46 - ls -la 47 - ''; 48 - 36 + buildInputs = [ unzip ] ++ buildInputs; 49 37 50 38 installPhase = '' 51 - mkdir -p "$out/share/${extendedPkgName}/extensions/${name}" 52 - find . -mindepth 1 -maxdepth 1 | xargs mv -t "$out/share/${extendedPkgName}/extensions/${name}/" 39 + mkdir -p "$out/share/${extendedPkgName}/extensions/${vscodeExtUniqueId}" 40 + find . -mindepth 1 -maxdepth 1 | xargs mv -t "$out/share/${extendedPkgName}/extensions/${vscodeExtUniqueId}/" 53 41 ''; 54 42 55 43 }); ··· 65 53 ... 66 54 }: assert "" == name; assert null == src; 67 55 buildVscodeExtension ((removeAttrs a [ "mktplcRef" ]) // { 68 - name = "${mktplcRef.name}-${mktplcRef.version}"; 56 + name = "${mktplcRef.publisher}-${mktplcRef.name}-${mktplcRef.version}"; 69 57 src = fetchVsixFromVscodeMarketplace mktplcRef; 58 + vscodeExtUniqueId = "${mktplcRef.publisher}.${mktplcRef.name}"; 70 59 }); 71 60 72 61 mktplcRefAttrList = [
+48
pkgs/servers/dgraph/default.nix
··· 1 + { stdenv, buildGoPackage, fetchFromGitHub }: 2 + 3 + buildGoPackage rec { 4 + name = "dgraph-${version}"; 5 + version = "0.8.1"; 6 + 7 + goPackagePath = "github.com/dgraph-io/dgraph"; 8 + 9 + src = fetchFromGitHub { 10 + owner = "dgraph-io"; 11 + repo = "dgraph"; 12 + rev = "v${version}"; 13 + sha256 = "1gls2pvgcmd364x84gz5fafs7pwkll4k352rg1lmv70wvzyydsdr"; 14 + }; 15 + 16 + extraOutputsToInstall = [ "dashboard" ]; 17 + 18 + goDeps = ./deps.nix; 19 + subPackages = [ "cmd/dgraph" "cmd/dgraphloader" ]; 20 + 21 + # let's move the dashboard to a different output, to prevent $bin from 22 + # depending on $out 23 + # TODO: provide a proper npm application for the dashboard. 24 + postPatch = '' 25 + mv dashboard/* $dashboard 26 + ''; 27 + 28 + preBuild = '' 29 + export buildFlagsArray="-ldflags=\ 30 + -X github.com/dgraph-io/dgraph/x.dgraphVersion=${version} \ 31 + -X github.com/dgraph-io/dgraph/cmd/dgraph/main.uiDir=$dashboard/src/assets/" 32 + ''; 33 + 34 + preFixup = stdenv.lib.optionalString stdenv.isDarwin '' 35 + # Somehow on Darwin, $out/lib (which doesn't exist) ends up in RPATH. 36 + # Removing it fixes cycle between $out and $bin 37 + install_name_tool -delete_rpath $out/lib $bin/bin/dgraph 38 + install_name_tool -delete_rpath $out/lib $bin/bin/dgraphloader 39 + ''; 40 + 41 + meta = { 42 + homepage = "https://dgraph.io/"; 43 + description = "Fast, Distributed Graph DB"; 44 + maintainers = with stdenv.lib.maintainers; [ sigma ]; 45 + license = stdenv.lib.licenses.agpl3; 46 + platforms = stdenv.lib.platforms.unix; 47 + }; 48 + }
+326
pkgs/servers/dgraph/deps.nix
··· 1 + [ 2 + { 3 + goPackagePath = "github.com/AndreasBriese/bbloom"; 4 + fetch = { 5 + type = "git"; 6 + url = "https://github.com/AndreasBriese/bbloom"; 7 + rev = "28f7e881ca57bc00e028f9ede9f0d9104cfeef5e"; 8 + sha256 = "03cqhqvdz8c9by5w5ls4kwnnwlm6b2kkslc6m120fanw1lgamfzp"; 9 + }; 10 + } 11 + { 12 + goPackagePath = "github.com/MakeNowJust/heredoc"; 13 + fetch = { 14 + type = "git"; 15 + url = "https://github.com/MakeNowJust/heredoc"; 16 + rev = "1d91351acdc1cb2f2c995864674b754134b86ca7"; 17 + sha256 = "0ia1r8ibqmx6zv3wmsvgkpqlhwk79z9l38nzp4gd4f1kcb46856x"; 18 + }; 19 + } 20 + { 21 + goPackagePath = "github.com/beorn7/perks"; 22 + fetch = { 23 + type = "git"; 24 + url = "https://github.com/beorn7/perks"; 25 + rev = "4c0e84591b9aa9e6dcfdf3e020114cd81f89d5f9"; 26 + sha256 = "1hrybsql68xw57brzj805xx2mghydpdiysv3gbhr7f5wlxj2514y"; 27 + }; 28 + } 29 + { 30 + goPackagePath = "github.com/bkaradzic/go-lz4"; 31 + fetch = { 32 + type = "git"; 33 + url = "https://github.com/bkaradzic/go-lz4"; 34 + rev = "7224d8d8f27ef618c0a95f1ae69dbb0488abc33a"; 35 + sha256 = "10lmya17vdqg2pvqni0p73iahni48s1v11ya9a0hcz4jh5vw4dkb"; 36 + }; 37 + } 38 + { 39 + goPackagePath = "github.com/blevesearch/bleve"; 40 + fetch = { 41 + type = "git"; 42 + url = "https://github.com/blevesearch/bleve"; 43 + rev = "a7ebb8480579777c6cd1c4750d2e6b5ff2b49bdd"; 44 + sha256 = "121jhd158slf4050kmghz25jrvv7gbsan31wr0nxyw9z32lyf6yx"; 45 + }; 46 + } 47 + { 48 + goPackagePath = "github.com/blevesearch/blevex"; 49 + fetch = { 50 + type = "git"; 51 + url = "https://github.com/blevesearch/blevex"; 52 + rev = "507dcd576550f9f3260f11495ba2de4e96773a3e"; 53 + sha256 = "0i9azysvia99fjpx525qnc5rcgv45hfvl3zcs58gvgqyxpzpc78z"; 54 + }; 55 + } 56 + { 57 + goPackagePath = "github.com/blevesearch/go-porterstemmer"; 58 + fetch = { 59 + type = "git"; 60 + url = "https://github.com/blevesearch/go-porterstemmer"; 61 + rev = "23a2c8e5cf1f380f27722c6d2ae8896431dc7d0e"; 62 + sha256 = "0rcfbrad79xd114h3dhy5d3zs3b5bcgqwm3h5ih1lk69zr9wi91d"; 63 + }; 64 + } 65 + { 66 + goPackagePath = "github.com/blevesearch/segment"; 67 + fetch = { 68 + type = "git"; 69 + url = "https://github.com/blevesearch/segment"; 70 + rev = "762005e7a34fd909a84586299f1dd457371d36ee"; 71 + sha256 = "1nrm145sm0xlhqy3d12yipnb16ikjz9ykjcskmkgm7vjm47xkmfl"; 72 + }; 73 + } 74 + { 75 + goPackagePath = "github.com/cockroachdb/cmux"; 76 + fetch = { 77 + type = "git"; 78 + url = "https://github.com/cockroachdb/cmux"; 79 + rev = "30d10be492927e2dcae0089c374c455d42414fcb"; 80 + sha256 = "0ixif6hwcm2dpi1si5ah49dmdyy5chillz1048jpvjzwzxyfv1nx"; 81 + }; 82 + } 83 + { 84 + goPackagePath = "github.com/codahale/hdrhistogram"; 85 + fetch = { 86 + type = "git"; 87 + url = "https://github.com/codahale/hdrhistogram"; 88 + rev = "3a0bb77429bd3a61596f5e8a3172445844342120"; 89 + sha256 = "1zampgfjbxy192cbwdi7g86l1idxaam96d834wncnpfdwgh5kl57"; 90 + }; 91 + } 92 + { 93 + goPackagePath = "github.com/coreos/etcd"; 94 + fetch = { 95 + type = "git"; 96 + url = "https://github.com/coreos/etcd"; 97 + rev = "1ebeef5cbfe69c0dab2bc701ee5307eed7a7d8d2"; 98 + sha256 = "12lidn1a8nwsk6nlwyfirrxkxhs4lhj53f4cd19xm8w070q0mg19"; 99 + }; 100 + } 101 + { 102 + goPackagePath = "github.com/davecgh/go-spew"; 103 + fetch = { 104 + type = "git"; 105 + url = "https://github.com/davecgh/go-spew"; 106 + rev = "6d212800a42e8ab5c146b8ace3490ee17e5225f9"; 107 + sha256 = "01i0n1s4j7khb7n6mz2wymniz37q0vbzkgfv7rbi6p9hpg227q93"; 108 + }; 109 + } 110 + { 111 + goPackagePath = "github.com/dgraph-io/badger"; 112 + fetch = { 113 + type = "git"; 114 + url = "https://github.com/dgraph-io/badger"; 115 + rev = "ad23a425b3c87b8223780cb882bed568ca14b9f0"; 116 + sha256 = "1xjd05vska1kanmgdhp5cvkn2i6236rqphrc9i4kfjndgwkmas57"; 117 + }; 118 + } 119 + { 120 + goPackagePath = "github.com/dgryski/go-farm"; 121 + fetch = { 122 + type = "git"; 123 + url = "https://github.com/dgryski/go-farm"; 124 + rev = "d1e51a4af19092715f4ce7d8257fe5bc8f8be727"; 125 + sha256 = "00iijjzdg8g6jbzhdbfw8s2rf0k25gxw4x7h7r6mkxcq18n69182"; 126 + }; 127 + } 128 + { 129 + goPackagePath = "github.com/gogo/protobuf"; 130 + fetch = { 131 + type = "git"; 132 + url = "https://github.com/gogo/protobuf"; 133 + rev = "e57a569e1882958f6b188cb42231d6db87701f2a"; 134 + sha256 = "0r3jpmp6wp4xyrh1ikr8iqld3rg4r1yhv99zxw5zd7d2zprw9yfc"; 135 + }; 136 + } 137 + { 138 + goPackagePath = "github.com/golang/geo"; 139 + fetch = { 140 + type = "git"; 141 + url = "https://github.com/golang/geo"; 142 + rev = "3a42ea109208469f16baf9e090135dd0e82ece5c"; 143 + sha256 = "1fzlakjj94gv516q7gd9qycn91lij7wmjbdv0vsrh6qnxvgqr8hw"; 144 + }; 145 + } 146 + { 147 + goPackagePath = "github.com/golang/protobuf"; 148 + fetch = { 149 + type = "git"; 150 + url = "https://github.com/golang/protobuf"; 151 + rev = "2bba0603135d7d7f5cb73b2125beeda19c09f4ef"; 152 + sha256 = "1xy0bj66qks2xlzxzlfma16w7m8g6rrwawmlhlv68bcw2k5hvvib"; 153 + }; 154 + } 155 + { 156 + goPackagePath = "github.com/google/codesearch"; 157 + fetch = { 158 + type = "git"; 159 + url = "https://github.com/google/codesearch"; 160 + rev = "a45d81b686e85d01f2838439deaf72126ccd5a96"; 161 + sha256 = "12bv3yz0l3bmsxbasfgv7scm9j719ch6pmlspv4bd4ix7wjpyhny"; 162 + }; 163 + } 164 + { 165 + goPackagePath = "github.com/matttproud/golang_protobuf_extensions"; 166 + fetch = { 167 + type = "git"; 168 + url = "https://github.com/matttproud/golang_protobuf_extensions"; 169 + rev = "c12348ce28de40eed0136aa2b644d0ee0650e56c"; 170 + sha256 = "1d0c1isd2lk9pnfq2nk0aih356j30k3h1gi2w0ixsivi5csl7jya"; 171 + }; 172 + } 173 + { 174 + goPackagePath = "github.com/pkg/errors"; 175 + fetch = { 176 + type = "git"; 177 + url = "https://github.com/pkg/errors"; 178 + rev = "17b591df37844cde689f4d5813e5cea0927d8dd2"; 179 + sha256 = "1f400f1682h1wdjknlh1ad95rbss09g0ia36a8w102bf2f1qfq8l"; 180 + }; 181 + } 182 + { 183 + goPackagePath = "github.com/pkg/profile"; 184 + fetch = { 185 + type = "git"; 186 + url = "https://github.com/pkg/profile"; 187 + rev = "5b67d428864e92711fcbd2f8629456121a56d91f"; 188 + sha256 = "0blqmvgqvdbqmh3fp9pfdxc9w1qfshrr0zy9whj0sn372bw64qnr"; 189 + }; 190 + } 191 + { 192 + goPackagePath = "github.com/pmezard/go-difflib"; 193 + fetch = { 194 + type = "git"; 195 + url = "https://github.com/pmezard/go-difflib"; 196 + rev = "792786c7400a136282c1664665ae0a8db921c6c2"; 197 + sha256 = "0c1cn55m4rypmscgf0rrb88pn58j3ysvc2d0432dp3c6fqg6cnzw"; 198 + }; 199 + } 200 + { 201 + goPackagePath = "github.com/prometheus/client_golang"; 202 + fetch = { 203 + type = "git"; 204 + url = "https://github.com/prometheus/client_golang"; 205 + rev = "310ce84375bb84c5cbbf0d05069c92daa5673740"; 206 + sha256 = "11awb5bjkwqj7va3v7fgniwqkjqhmhjkp01rdvnv4xfp1laxwn7v"; 207 + }; 208 + } 209 + { 210 + goPackagePath = "github.com/prometheus/client_model"; 211 + fetch = { 212 + type = "git"; 213 + url = "https://github.com/prometheus/client_model"; 214 + rev = "6f3806018612930941127f2a7c6c453ba2c527d2"; 215 + sha256 = "1413ibprinxhni51p0755dp57r9wvbw7xgj9nmdaxmhzlqhc86j4"; 216 + }; 217 + } 218 + { 219 + goPackagePath = "github.com/prometheus/common"; 220 + fetch = { 221 + type = "git"; 222 + url = "https://github.com/prometheus/common"; 223 + rev = "0866df4b85a18d652b6965be022d007cdf076822"; 224 + sha256 = "0zw4rxs6zh9vgxz5wwhjnwa6mgac8jh7mb63viircgh08r889chp"; 225 + }; 226 + } 227 + { 228 + goPackagePath = "github.com/prometheus/procfs"; 229 + fetch = { 230 + type = "git"; 231 + url = "https://github.com/prometheus/procfs"; 232 + rev = "e645f4e5aaa8506fc71d6edbc5c4ff02c04c46f2"; 233 + sha256 = "18hwygbawbqilz7h8fl25xpbciwalkslb4igqn4cr9d8sqp7d3np"; 234 + }; 235 + } 236 + { 237 + goPackagePath = "github.com/stretchr/testify"; 238 + fetch = { 239 + type = "git"; 240 + url = "https://github.com/stretchr/testify"; 241 + rev = "976c720a22c8eb4eb6a0b4348ad85ad12491a506"; 242 + sha256 = "0a2gxvqzacrj9k8h022zhr8fchhn9afc6a511m07j71dzw9g4y3m"; 243 + }; 244 + } 245 + { 246 + goPackagePath = "github.com/tebeka/snowball"; 247 + fetch = { 248 + type = "git"; 249 + url = "https://github.com/tebeka/snowball"; 250 + rev = "6b06bd306c4e4442a63e546752278920ae487934"; 251 + sha256 = "110akijkb55k5h7m6mra8fircvi4sxd5xq7lcjgyiqj96srq8v2k"; 252 + }; 253 + } 254 + { 255 + goPackagePath = "github.com/twpayne/go-geom"; 256 + fetch = { 257 + type = "git"; 258 + url = "https://github.com/twpayne/go-geom"; 259 + rev = "6753ad11e46b04e21b3f286b342e73a8c4be8216"; 260 + sha256 = "0qyrdnp7j7lmj0qb0p7k45m757zvbwn78s1apiy46zfnb5415df1"; 261 + }; 262 + } 263 + { 264 + goPackagePath = "golang.org/x/crypto"; 265 + fetch = { 266 + type = "git"; 267 + url = "https://go.googlesource.com/crypto"; 268 + rev = "22ddb68eccda408bbf17759ac18d3120ce0d4f3f"; 269 + sha256 = "07ks6qal02iz24vv54qyb90wmsg9vwqc14abf68rakprpy26qwsg"; 270 + }; 271 + } 272 + { 273 + goPackagePath = "golang.org/x/net"; 274 + fetch = { 275 + type = "git"; 276 + url = "https://go.googlesource.com/net"; 277 + rev = "d1e1b351919c6738fdeb9893d5c998b161464f0c"; 278 + sha256 = "0qzbfah03z992zyygfp7imjjas5np2gcar5aanx5y3av5g68ggjp"; 279 + }; 280 + } 281 + { 282 + goPackagePath = "golang.org/x/sys"; 283 + fetch = { 284 + type = "git"; 285 + url = "https://go.googlesource.com/sys"; 286 + rev = "abf9c25f54453410d0c6668e519582a9e1115027"; 287 + sha256 = "0dmpqjfif2zg6776d366js60k21g81jvsr3jm9dc7fv7w3282al4"; 288 + }; 289 + } 290 + { 291 + goPackagePath = "golang.org/x/text"; 292 + fetch = { 293 + type = "git"; 294 + url = "https://go.googlesource.com/text"; 295 + rev = "836efe42bb4aa16aaa17b9c155d8813d336ed720"; 296 + sha256 = "11s7bjk0karl1lx8v4n6dvdnsh702x4f2qlmnqac2qdz8hdswmi1"; 297 + }; 298 + } 299 + { 300 + goPackagePath = "google.golang.org/genproto"; 301 + fetch = { 302 + type = "git"; 303 + url = "https://github.com/google/go-genproto"; 304 + rev = "b0a3dcfcd1a9bd48e63634bd8802960804cf8315"; 305 + sha256 = "0lkj73lyr4dzj2pxgmild0i1bl6kdgrxa3c8m44j5ms537pyxcpr"; 306 + }; 307 + } 308 + { 309 + goPackagePath = "google.golang.org/grpc"; 310 + fetch = { 311 + type = "git"; 312 + url = "https://github.com/grpc/grpc-go"; 313 + rev = "2bb318258959db281674bc6fd67b5167b7ff0d65"; 314 + sha256 = "1g8ir87ksr8549801vdgb0n6rmxws05ky50bkgjv86370h146cqm"; 315 + }; 316 + } 317 + { 318 + goPackagePath = "gopkg.in/yaml.v2"; 319 + fetch = { 320 + type = "git"; 321 + url = "https://gopkg.in/yaml.v2"; 322 + rev = "a5b47d31c556af34a302ce5d659e6fea44d90de0"; 323 + sha256 = "0v6l48fshdjrqzyq1kwn22gy7vy434xdr1i0lm3prsf6jbln9fam"; 324 + }; 325 + } 326 + ]
+3 -3
pkgs/tools/inputmethods/zinnia/default.nix
··· 2 2 3 3 stdenv.mkDerivation rec { 4 4 name = "zinnia-${version}"; 5 - version = "2015-03-15"; 5 + version = "2016-08-28"; 6 6 7 7 src = fetchFromGitHub { 8 8 owner = "taku910"; 9 9 repo = "zinnia"; 10 - rev = "d8de1180d5175d7579e6c41b000f1ab4dd9cd697"; 11 - sha256 = "ac09a16c04c5ef9b46626984e627250dc717d85711d14f1bbfa7f1ca0ca713dc"; 10 + rev = "fd74d8c8680bb3df8692279151ea6339ab68e32b"; 11 + sha256 = "1izjy5qw6swg0rs2ym2i72zndb90mwrfbd1iv8xbpwckbm4899lg"; 12 12 }; 13 13 14 14 setSourceRoot = "export sourceRoot=$(echo zinnia-*/zinnia/)";
+34
pkgs/tools/misc/bepasty/default.nix
··· 1 + { python 2 + , lib 3 + }: 4 + 5 + with python.pkgs; 6 + 7 + buildPythonApplication rec { 8 + pname = "bepasty"; 9 + version = "0.4.0"; 10 + name = "${pname}-${version}"; 11 + 12 + propagatedBuildInputs = [ 13 + flask 14 + pygments 15 + xstatic 16 + xstatic-bootbox 17 + xstatic-bootstrap 18 + xstatic-jquery 19 + xstatic-jquery-file-upload 20 + xstatic-jquery-ui 21 + xstatic-pygments 22 + ]; 23 + src = fetchPypi { 24 + inherit pname version; 25 + sha256 = "0bs79pgrjlnkmjfyj2hllbx3rw757va5w2g2aghi9cydmsl7gyi4"; 26 + }; 27 + 28 + meta = { 29 + homepage = http://github.com/bepasty/bepasty-server; 30 + description = "Binary pastebin server"; 31 + license = lib.licenses.mit; 32 + maintainers = [ lib.maintainers.makefu ]; 33 + }; 34 + }
+17 -3
pkgs/tools/networking/mitmproxy/default.nix
··· 1 - { stdenv, fetchpatch, fetchFromGitHub, python3Packages }: 1 + { stdenv, fetchpatch, fetchFromGitHub, python3 }: 2 2 3 - python3Packages.buildPythonPackage rec { 3 + let 4 + # mitmproxy needs an older tornado version 5 + python = python3.override { 6 + packageOverrides = self: super: { 7 + tornado = super.tornado.overridePythonAttrs (oldAttrs: rec { 8 + version = "4.4.3"; 9 + name = "${oldAttrs.pname}-${version}"; 10 + src = oldAttrs.src.override { 11 + inherit version; 12 + sha256 = "f267acc96d5cf3df0fd8a7bfb5a91c2eb4ec81d5962d1a7386ceb34c655634a8"; 13 + }; 14 + }); 15 + }; 16 + }; 17 + in python.pkgs.buildPythonPackage rec { 4 18 baseName = "mitmproxy"; 5 19 name = "${baseName}-${version}"; 6 20 version = "2.0.2"; ··· 21 35 }) 22 36 ]; 23 37 24 - propagatedBuildInputs = with python3Packages; [ 38 + propagatedBuildInputs = with python.pkgs; [ 25 39 blinker click certifi construct cryptography 26 40 cssutils editorconfig h2 html2text hyperframe 27 41 jsbeautifier kaitaistruct passlib pyasn1 pyopenssl
+1 -1
pkgs/tools/security/metasploit/Gemfile
··· 1 1 # frozen_string_literal: true 2 2 source "https://rubygems.org" 3 3 4 - gem "metasploit-framework", git: "https://github.com/rapid7/metasploit-framework", ref: "refs/tags/4.14.25" 4 + gem "metasploit-framework", git: "https://github.com/rapid7/metasploit-framework", ref: "refs/tags/4.16.1"
+67 -39
pkgs/tools/security/metasploit/Gemfile.lock
··· 1 1 GIT 2 2 remote: https://github.com/rapid7/metasploit-framework 3 - revision: 8a194207f07c2b8c91c1a72e57c25683d4e9f744 4 - ref: refs/tags/4.14.25 3 + revision: dbec1c2d2ae4bd77276cbfb3c6ee2902048b9453 4 + ref: refs/tags/4.16.1 5 5 specs: 6 - metasploit-framework (4.14.25) 6 + metasploit-framework (4.16.1) 7 7 actionpack (~> 4.2.6) 8 8 activerecord (~> 4.2.6) 9 9 activesupport (~> 4.2.6) 10 10 backports 11 11 bcrypt 12 + bcrypt_pbkdf 12 13 bit-struct 14 + dnsruby 13 15 filesize 14 16 jsobfu 15 17 json ··· 17 19 metasploit-concern 18 20 metasploit-credential 19 21 metasploit-model 20 - metasploit-payloads (= 1.2.32) 22 + metasploit-payloads (= 1.3.1) 21 23 metasploit_data_models 22 - metasploit_payloads-mettle (= 0.1.9) 24 + metasploit_payloads-mettle (= 0.2.0) 23 25 msgpack 24 26 nessus_rest 25 27 net-ssh ··· 32 34 packetfu 33 35 patch_finder 34 36 pcaprub 35 - pg 37 + pdf-reader 38 + pg (= 0.20.0) 36 39 railties 37 40 rb-readline 41 + rbnacl (< 5.0.0) 42 + rbnacl-libsodium 38 43 recog 39 44 redcarpet 40 45 rex-arch ··· 46 51 rex-mime 47 52 rex-nop 48 53 rex-ole 49 - rex-powershell 54 + rex-powershell (< 0.1.73) 50 55 rex-random_identifier 51 56 rex-registry 52 57 rex-rop_builder ··· 64 69 tzinfo 65 70 tzinfo-data 66 71 windows_error 72 + xdr 67 73 xmlrpc 68 74 69 75 GEM 70 76 remote: https://rubygems.org/ 71 77 specs: 72 - actionpack (4.2.8) 73 - actionview (= 4.2.8) 74 - activesupport (= 4.2.8) 78 + Ascii85 (1.0.2) 79 + actionpack (4.2.9) 80 + actionview (= 4.2.9) 81 + activesupport (= 4.2.9) 75 82 rack (~> 1.6) 76 83 rack-test (~> 0.6.2) 77 84 rails-dom-testing (~> 1.0, >= 1.0.5) 78 85 rails-html-sanitizer (~> 1.0, >= 1.0.2) 79 - actionview (4.2.8) 80 - activesupport (= 4.2.8) 86 + actionview (4.2.9) 87 + activesupport (= 4.2.9) 81 88 builder (~> 3.1) 82 89 erubis (~> 2.7.0) 83 90 rails-dom-testing (~> 1.0, >= 1.0.5) 84 91 rails-html-sanitizer (~> 1.0, >= 1.0.3) 85 - activemodel (4.2.8) 86 - activesupport (= 4.2.8) 92 + activemodel (4.2.9) 93 + activesupport (= 4.2.9) 87 94 builder (~> 3.1) 88 - activerecord (4.2.8) 89 - activemodel (= 4.2.8) 90 - activesupport (= 4.2.8) 95 + activerecord (4.2.9) 96 + activemodel (= 4.2.9) 97 + activesupport (= 4.2.9) 91 98 arel (~> 6.0) 92 - activesupport (4.2.8) 99 + activesupport (4.2.9) 93 100 i18n (~> 0.7) 94 101 minitest (~> 5.1) 95 102 thread_safe (~> 0.3, >= 0.3.4) 96 103 tzinfo (~> 1.1) 97 104 addressable (2.5.1) 98 105 public_suffix (~> 2.0, >= 2.0.2) 106 + afm (0.2.2) 99 107 arel (6.0.4) 100 108 arel-helpers (2.4.0) 101 109 activerecord (>= 3.1.0, < 6) 102 110 backports (3.8.0) 103 111 bcrypt (3.1.11) 112 + bcrypt_pbkdf (1.0.0) 104 113 bindata (2.4.0) 105 114 bit-struct (0.16) 106 115 builder (3.2.3) 116 + dnsruby (1.60.2) 107 117 erubis (2.7.0) 108 - faraday (0.12.1) 118 + faraday (0.13.1) 109 119 multipart-post (>= 1.2, < 3) 120 + ffi (1.9.18) 110 121 filesize (0.1.1) 111 - i18n (0.8.4) 122 + hashery (2.1.2) 123 + i18n (0.8.6) 112 124 jsobfu (0.4.2) 113 125 rkelly-remix 114 126 json (2.1.0) 115 127 loofah (2.0.3) 116 128 nokogiri (>= 1.5.9) 117 129 metasm (1.0.3) 118 - metasploit-concern (2.0.4) 130 + metasploit-concern (2.0.5) 119 131 activemodel (~> 4.2.6) 120 132 activesupport (~> 4.2.6) 121 133 railties (~> 4.2.6) 122 - metasploit-credential (2.0.10) 134 + metasploit-credential (2.0.12) 123 135 metasploit-concern 124 136 metasploit-model 125 137 metasploit_data_models ··· 132 144 activemodel (~> 4.2.6) 133 145 activesupport (~> 4.2.6) 134 146 railties (~> 4.2.6) 135 - metasploit-payloads (1.2.32) 136 - metasploit_data_models (2.0.14) 147 + metasploit-payloads (1.3.1) 148 + metasploit_data_models (2.0.15) 137 149 activerecord (~> 4.2.6) 138 150 activesupport (~> 4.2.6) 139 151 arel-helpers ··· 143 155 postgres_ext 144 156 railties (~> 4.2.6) 145 157 recog (~> 2.0) 146 - metasploit_payloads-mettle (0.1.9) 158 + metasploit_payloads-mettle (0.2.0) 147 159 mini_portile2 (2.2.0) 148 - minitest (5.10.2) 160 + minitest (5.10.3) 149 161 msgpack (1.1.0) 150 162 multipart-post (2.0.0) 151 163 nessus_rest (0.1.6) 152 164 net-ssh (4.1.0) 153 165 network_interface (0.0.1) 154 - nexpose (6.0.0) 166 + nexpose (6.1.1) 155 167 nokogiri (1.8.0) 156 168 mini_portile2 (~> 2.2.0) 157 169 octokit (4.7.0) ··· 162 174 pcaprub 163 175 patch_finder (1.0.2) 164 176 pcaprub (0.12.4) 177 + pdf-reader (2.0.0) 178 + Ascii85 (~> 1.0.0) 179 + afm (~> 0.2.1) 180 + hashery (~> 2.0) 181 + ruby-rc4 182 + ttfunk 165 183 pg (0.20.0) 166 184 pg_array_parser (0.0.9) 167 185 postgres_ext (3.0.0) ··· 180 198 rails-deprecated_sanitizer (>= 1.0.1) 181 199 rails-html-sanitizer (1.0.3) 182 200 loofah (~> 2.0) 183 - railties (4.2.8) 184 - actionpack (= 4.2.8) 185 - activesupport (= 4.2.8) 201 + railties (4.2.9) 202 + actionpack (= 4.2.9) 203 + activesupport (= 4.2.9) 186 204 rake (>= 0.8.7) 187 205 thor (>= 0.18.1, < 2.0) 188 206 rake (12.0.0) 189 - rb-readline (0.5.4) 190 - recog (2.1.8) 207 + rb-readline (0.5.5) 208 + rbnacl (4.0.2) 209 + ffi 210 + rbnacl-libsodium (1.0.13) 211 + rbnacl (>= 3.0.1) 212 + recog (2.1.12) 191 213 nokogiri 192 214 redcarpet (3.4.0) 193 - rex-arch (0.1.8) 215 + rex-arch (0.1.11) 194 216 rex-text 195 - rex-bin_tools (0.1.3) 217 + rex-bin_tools (0.1.4) 196 218 metasm 197 219 rex-arch 198 220 rex-core 199 221 rex-struct2 200 222 rex-text 201 - rex-core (0.1.10) 223 + rex-core (0.1.12) 202 224 rex-encoder (0.1.4) 203 225 metasm 204 226 rex-arch ··· 226 248 metasm 227 249 rex-core 228 250 rex-text 229 - rex-socket (0.1.6) 251 + rex-socket (0.1.8) 230 252 rex-core 231 - rex-sslscan (0.1.4) 253 + rex-sslscan (0.1.5) 254 + rex-core 232 255 rex-socket 233 256 rex-text 234 257 rex-struct2 (0.1.2) ··· 237 260 rex-text 238 261 rkelly-remix (0.0.7) 239 262 robots (0.10.1) 263 + ruby-rc4 (0.1.5) 240 264 ruby_smb (0.0.18) 241 265 bindata 242 266 rubyntlm ··· 248 272 faraday (~> 0.8, < 1.0) 249 273 sqlite3 (1.3.13) 250 274 sshkey (1.9.0) 251 - thor (0.19.4) 275 + thor (0.20.0) 252 276 thread_safe (0.3.6) 277 + ttfunk (1.5.1) 253 278 tzinfo (1.2.3) 254 279 thread_safe (~> 0.1) 255 280 tzinfo-data (1.2017.2) 256 281 tzinfo (>= 1.0.0) 257 282 windows_error (0.1.2) 283 + xdr (2.0.0) 284 + activemodel (>= 4.2.7) 285 + activesupport (>= 4.2.7) 258 286 xmlrpc (0.3.0) 259 287 260 288 PLATFORMS ··· 264 292 metasploit-framework! 265 293 266 294 BUNDLED WITH 267 - 1.14.6 295 + 1.15.0
+6 -2
pkgs/tools/security/metasploit/default.nix
··· 4 4 # 1. increment version number in expression and in Gemfile 5 5 # 2. run $ nix-shell --command "bundler install && bundix" 6 6 # in metasploit in nixpkgs 7 + # 3. run $ sed -i '/[ ]*dependencies =/d' gemset.nix 8 + # 4. run $ nix-build -A metasploit ../../../../ 9 + # 5. update sha256sum in expression 10 + # 6. run step 3 again 7 11 8 12 let 9 13 env = bundlerEnv { ··· 13 17 }; 14 18 in stdenv.mkDerivation rec { 15 19 name = "metasploit-framework-${version}"; 16 - version = "4.14.25"; 20 + version = "4.16.1"; 17 21 18 22 src = fetchFromGitHub { 19 23 owner = "rapid7"; 20 24 repo = "metasploit-framework"; 21 25 rev = version; 22 - sha256 = "0cp1ybq29a0r7kabg4p2yj0qm90hjvr4xxp0pynb2g406sbyycjm"; 26 + sha256 = "1vilyy0dqzp8kbbpvs2zrv2ac7s39w2vv7mrbzgcjgh2bj7c6bg1"; 23 27 }; 24 28 25 29 buildInputs = [ makeWrapper ];
+146 -50
pkgs/tools/security/metasploit/gemset.nix
··· 2 2 actionpack = { 3 3 source = { 4 4 remotes = ["https://rubygems.org"]; 5 - sha256 = "09fbazl0ja80na2wadfp3fzmdmdy1lsb4wd2yg7anbj0zk0ap7a9"; 5 + sha256 = "1kgrq74gp2czzxr0f2sqrc98llz03lgq498300z2z5n4khgznwc4"; 6 6 type = "gem"; 7 7 }; 8 - version = "4.2.8"; 8 + version = "4.2.9"; 9 9 }; 10 10 actionview = { 11 11 source = { 12 12 remotes = ["https://rubygems.org"]; 13 - sha256 = "1mg4a8143q2wjhjq4mngl69jkv249z5jvg0jkdribdv4zkg586rp"; 13 + sha256 = "04kgp4gmahw31miz8xdq1pns14qmvvzd14fgfv7fg9klkw3bxyyp"; 14 14 type = "gem"; 15 15 }; 16 - version = "4.2.8"; 16 + version = "4.2.9"; 17 17 }; 18 18 activemodel = { 19 19 source = { 20 20 remotes = ["https://rubygems.org"]; 21 - sha256 = "11vhh7zmp92880s5sx8r32v2p0b7xg039mfr92pjynpkz4q901ld"; 21 + sha256 = "1qxmivny0ka5s3iyap08sn9bp2bd9wrhqp2njfw26hr9wsjk5kfv"; 22 22 type = "gem"; 23 23 }; 24 - version = "4.2.8"; 24 + version = "4.2.9"; 25 25 }; 26 26 activerecord = { 27 27 source = { 28 28 remotes = ["https://rubygems.org"]; 29 - sha256 = "1kk4dhn8jfhqfsf1dmb3a183gix6k46xr6cjkxj0rp51w2za1ns0"; 29 + sha256 = "18i790dfhi4ndypd1pj9pv08knpxr2sayvvwfq7axj5jfwgpmrqb"; 30 30 type = "gem"; 31 31 }; 32 - version = "4.2.8"; 32 + version = "4.2.9"; 33 33 }; 34 34 activesupport = { 35 35 source = { 36 36 remotes = ["https://rubygems.org"]; 37 - sha256 = "0wibdzd2f5l5rlsw1a1y3j3fhw2imrrbkxggdraa6q9qbdnc66hi"; 37 + sha256 = "1d0a362p3m2m2kljichar2pwq0qm4vblc3njy1rdzm09ckzd45sp"; 38 38 type = "gem"; 39 39 }; 40 - version = "4.2.8"; 40 + version = "4.2.9"; 41 41 }; 42 42 addressable = { 43 43 source = { ··· 47 47 }; 48 48 version = "2.5.1"; 49 49 }; 50 + afm = { 51 + source = { 52 + remotes = ["https://rubygems.org"]; 53 + sha256 = "06kj9hgd0z8pj27bxp2diwqh6fv7qhwwm17z64rhdc4sfn76jgn8"; 54 + type = "gem"; 55 + }; 56 + version = "0.2.2"; 57 + }; 50 58 arel = { 51 59 source = { 52 60 remotes = ["https://rubygems.org"]; ··· 63 71 }; 64 72 version = "2.4.0"; 65 73 }; 74 + Ascii85 = { 75 + source = { 76 + remotes = ["https://rubygems.org"]; 77 + sha256 = "0j95sbxd18kc8rhcnvl1w37kflqpax1r12h1x47gh4xxn3mz4m7q"; 78 + type = "gem"; 79 + }; 80 + version = "1.0.2"; 81 + }; 66 82 backports = { 67 83 source = { 68 84 remotes = ["https://rubygems.org"]; ··· 79 95 }; 80 96 version = "3.1.11"; 81 97 }; 98 + bcrypt_pbkdf = { 99 + source = { 100 + remotes = ["https://rubygems.org"]; 101 + sha256 = "0cj4k13c7qvvck7y25i3xarvyqq8d27vl61jddifkc7llnnap1hv"; 102 + type = "gem"; 103 + }; 104 + version = "1.0.0"; 105 + }; 82 106 bindata = { 83 107 source = { 84 108 remotes = ["https://rubygems.org"]; ··· 103 127 }; 104 128 version = "3.2.3"; 105 129 }; 130 + dnsruby = { 131 + source = { 132 + remotes = ["https://rubygems.org"]; 133 + sha256 = "0qfvpkka69f8vnmda3zhkr54fjpf7pwgmbx0gcsxg3jd6c7sjs1d"; 134 + type = "gem"; 135 + }; 136 + version = "1.60.2"; 137 + }; 106 138 erubis = { 107 139 source = { 108 140 remotes = ["https://rubygems.org"]; ··· 114 146 faraday = { 115 147 source = { 116 148 remotes = ["https://rubygems.org"]; 117 - sha256 = "1wkx9844vacsk2229xbc27djf6zw15kqd60ifr78whf9mp9v6l03"; 149 + sha256 = "1gyqsj7vlqynwvivf9485zwmcj04v1z7gq362z0b8zw2zf4ag0hw"; 150 + type = "gem"; 151 + }; 152 + version = "0.13.1"; 153 + }; 154 + ffi = { 155 + source = { 156 + remotes = ["https://rubygems.org"]; 157 + sha256 = "034f52xf7zcqgbvwbl20jwdyjwznvqnwpbaps9nk18v9lgb1dpx0"; 118 158 type = "gem"; 119 159 }; 120 - version = "0.12.1"; 160 + version = "1.9.18"; 121 161 }; 122 162 filesize = { 123 163 source = { ··· 127 167 }; 128 168 version = "0.1.1"; 129 169 }; 170 + hashery = { 171 + source = { 172 + remotes = ["https://rubygems.org"]; 173 + sha256 = "0qj8815bf7q6q7llm5rzdz279gzmpqmqqicxnzv066a020iwqffj"; 174 + type = "gem"; 175 + }; 176 + version = "2.1.2"; 177 + }; 130 178 i18n = { 131 179 source = { 132 180 remotes = ["https://rubygems.org"]; 133 - sha256 = "1j491wrfzham4nk8q4bifah3lx7nr8wp9ahfb7vd3hxn71v7kic7"; 181 + sha256 = "1i3aqvzfsj786kwjj70jsjpxm6ffw5pwhalzr2abjfv2bdc7k9kw"; 134 182 type = "gem"; 135 183 }; 136 - version = "0.8.4"; 184 + version = "0.8.6"; 137 185 }; 138 186 jsobfu = { 139 187 source = { ··· 170 218 metasploit-concern = { 171 219 source = { 172 220 remotes = ["https://rubygems.org"]; 173 - sha256 = "0kqby5ycxhr0jfzvjqkdgjbqqjrg8jlmcxw8myrm0875hybyl1mq"; 221 + sha256 = "0v9lm225fhzhnbjcc0vwb38ybikxwzlv8116rrrkndzs8qy79297"; 174 222 type = "gem"; 175 223 }; 176 - version = "2.0.4"; 224 + version = "2.0.5"; 177 225 }; 178 226 metasploit-credential = { 179 227 source = { 180 228 remotes = ["https://rubygems.org"]; 181 - sha256 = "1zblyy2yv31zap6dzf3lpkhvnafkwbzdvr6nsqmyh95ci8yy1q6r"; 229 + sha256 = "1flahrcl5hf4bncqs40mry6pkffvmir85kqzkad22x3dh6crw50i"; 182 230 type = "gem"; 183 231 }; 184 - version = "2.0.10"; 232 + version = "2.0.12"; 185 233 }; 186 234 metasploit-framework = { 187 235 source = { 188 236 fetchSubmodules = false; 189 - rev = "8a194207f07c2b8c91c1a72e57c25683d4e9f744"; 190 - sha256 = "0q7iv9wd65ji1cay6am4dskrlibvp3wyn66gvld8p1nfnnvn5vmq"; 237 + rev = "dbec1c2d2ae4bd77276cbfb3c6ee2902048b9453"; 238 + sha256 = "06a2dc64wl8w02zimf44hch4cap7ckw42kg1x01lmcwaa8d5q09w"; 191 239 type = "git"; 192 240 url = "https://github.com/rapid7/metasploit-framework"; 193 241 }; 194 - version = "4.14.25"; 242 + version = "4.16.1"; 195 243 }; 196 244 metasploit-model = { 197 245 source = { ··· 204 252 metasploit-payloads = { 205 253 source = { 206 254 remotes = ["https://rubygems.org"]; 207 - sha256 = "1dqnyzp60da6f8kgnbpjmv5xsg1hvyyd2jkkzbh69sgwp4nw3i9g"; 255 + sha256 = "0icha08z4c5rnyp66xcyn9c8lbv43gx7hgs9rsm3539gj8c40znx"; 208 256 type = "gem"; 209 257 }; 210 - version = "1.2.32"; 258 + version = "1.3.1"; 211 259 }; 212 260 metasploit_data_models = { 213 261 source = { 214 262 remotes = ["https://rubygems.org"]; 215 - sha256 = "0hb2wsz3d4xgjf6dlf7nzxlv6q7rcdgn1pj79xs3g8al38zi129g"; 263 + sha256 = "0j3ijxn6n3ack9572a74cwknijymy41c8rx34njyhg25lx4hbvah"; 216 264 type = "gem"; 217 265 }; 218 - version = "2.0.14"; 266 + version = "2.0.15"; 219 267 }; 220 268 metasploit_payloads-mettle = { 221 269 source = { 222 270 remotes = ["https://rubygems.org"]; 223 - sha256 = "058ijqznh4xqx3d6dph5gwdsmj96z4n46rl1mm85fyxpgpkifqd1"; 271 + sha256 = "1y2nfzgs17pq3xvlw14jgjcksr4h8p4miypxk9a87l1h7xv7dcgn"; 224 272 type = "gem"; 225 273 }; 226 - version = "0.1.9"; 274 + version = "0.2.0"; 227 275 }; 228 276 mini_portile2 = { 229 277 source = { ··· 236 284 minitest = { 237 285 source = { 238 286 remotes = ["https://rubygems.org"]; 239 - sha256 = "11my86fnihvpndyknn3c14hc82nhsgggnhlxh8h3bdjpmfsvl0my"; 287 + sha256 = "05521clw19lrksqgvg2kmm025pvdhdaniix52vmbychrn2jm7kz2"; 240 288 type = "gem"; 241 289 }; 242 - version = "5.10.2"; 290 + version = "5.10.3"; 243 291 }; 244 292 msgpack = { 245 293 source = { ··· 284 332 nexpose = { 285 333 source = { 286 334 remotes = ["https://rubygems.org"]; 287 - sha256 = "0jdhhzzs3b3rav6imx8jn9920cjj83yjvz35q169y0ppla2xzqbg"; 335 + sha256 = "0jnyvj09z8r3chhj930fdnashbfcfv0vw2drjvsrcnm7firdhdzb"; 288 336 type = "gem"; 289 337 }; 290 - version = "6.0.0"; 338 + version = "6.1.1"; 291 339 }; 292 340 nokogiri = { 293 341 source = { ··· 345 393 }; 346 394 version = "0.12.4"; 347 395 }; 396 + pdf-reader = { 397 + source = { 398 + remotes = ["https://rubygems.org"]; 399 + sha256 = "0nlammdpjy3padmzxhsql7mw31jyqp88n6bdffiarv5kzl4s3y7p"; 400 + type = "gem"; 401 + }; 402 + version = "2.0.0"; 403 + }; 348 404 pg = { 349 405 source = { 350 406 remotes = ["https://rubygems.org"]; ··· 420 476 railties = { 421 477 source = { 422 478 remotes = ["https://rubygems.org"]; 423 - sha256 = "0bavl4hj7bnl3ryqi9rvykm410kflplgingkcxasfv1gdilddh4g"; 479 + sha256 = "1g5jnk1zllm2fr06lixq7gv8l2cwqc99akv7886gz6lshijpfyxd"; 424 480 type = "gem"; 425 481 }; 426 - version = "4.2.8"; 482 + version = "4.2.9"; 427 483 }; 428 484 rake = { 429 485 source = { ··· 436 492 rb-readline = { 437 493 source = { 438 494 remotes = ["https://rubygems.org"]; 439 - sha256 = "170m6d2298s9kfbd4y3zzj4irsnd15qlbgi6kk93m88lkh9qzy3a"; 495 + sha256 = "14w79a121czmvk1s953qfzww30mqjb2zc0k9qhi0ivxxk3hxg6wy"; 440 496 type = "gem"; 441 497 }; 442 - version = "0.5.4"; 498 + version = "0.5.5"; 499 + }; 500 + rbnacl = { 501 + source = { 502 + remotes = ["https://rubygems.org"]; 503 + sha256 = "08dkigw8wdx53hviw1zqrs7rcrzqcwh9jd3dvwr72013z9fmyp48"; 504 + type = "gem"; 505 + }; 506 + version = "4.0.2"; 507 + }; 508 + rbnacl-libsodium = { 509 + source = { 510 + remotes = ["https://rubygems.org"]; 511 + sha256 = "1323fli41m01af13xz5xvabsjnz09si1b9l4qd2p802kq0dr61gd"; 512 + type = "gem"; 513 + }; 514 + version = "1.0.13"; 443 515 }; 444 516 recog = { 445 517 source = { 446 518 remotes = ["https://rubygems.org"]; 447 - sha256 = "0d12889rx9ylm0jybg9n5sqx0v413hy9zjqs9rd9qjd1kjva7y87"; 519 + sha256 = "0h023ykrrra74bpbibkyg083kafaswvraw4naw9p1ghcjzn9ggj3"; 448 520 type = "gem"; 449 521 }; 450 - version = "2.1.8"; 522 + version = "2.1.12"; 451 523 }; 452 524 redcarpet = { 453 525 source = { ··· 460 532 rex-arch = { 461 533 source = { 462 534 remotes = ["https://rubygems.org"]; 463 - sha256 = "13dyic499iblhddmy7w01ajr5l5rm6szagy6vz7sx138y21d1y6f"; 535 + sha256 = "1izzalmjwdyib8y0xlgys8qb60di6xyjk485ylgh14p47wkyc6yp"; 464 536 type = "gem"; 465 537 }; 466 - version = "0.1.8"; 538 + version = "0.1.11"; 467 539 }; 468 540 rex-bin_tools = { 469 541 source = { 470 542 remotes = ["https://rubygems.org"]; 471 - sha256 = "0skrbpyal6anh4g1nsaf9ypg5sd2ghxxmghasxw4p1s1i1xbmhwr"; 543 + sha256 = "01hi1cjr68adp47nxbjfprvn0r3b72r4ib82x9j33bf2pny6nvaw"; 472 544 type = "gem"; 473 545 }; 474 - version = "0.1.3"; 546 + version = "0.1.4"; 475 547 }; 476 548 rex-core = { 477 549 source = { 478 550 remotes = ["https://rubygems.org"]; 479 - sha256 = "09xbslrwbc9d0rp24y1pdgc6650ciwicq4q7skjz74rprr9wj16f"; 551 + sha256 = "16dwf4pw7bpx8xvlv241imxvwhvjfv0cw9kl7ipsv40yazy5lzpk"; 480 552 type = "gem"; 481 553 }; 482 - version = "0.1.10"; 554 + version = "0.1.12"; 483 555 }; 484 556 rex-encoder = { 485 557 source = { ··· 564 636 rex-socket = { 565 637 source = { 566 638 remotes = ["https://rubygems.org"]; 567 - sha256 = "0r39782f2qpq83wsi72213v344gq4rccch98i376fx8bayh0dygh"; 639 + sha256 = "0bkr64qrfy2mcv6cpp2z2rn9npgn9s0yyagzjh7kawbm80ldwf2h"; 568 640 type = "gem"; 569 641 }; 570 - version = "0.1.6"; 642 + version = "0.1.8"; 571 643 }; 572 644 rex-sslscan = { 573 645 source = { 574 646 remotes = ["https://rubygems.org"]; 575 - sha256 = "0r5cy1kng1ggjycn7a8vpval7clhr0yxhd7rgn2hasxl2p3c7i8v"; 647 + sha256 = "06gbx45q653ajcx099p0yxdqqxazfznbrqshd4nwiwg1p498lmyx"; 576 648 type = "gem"; 577 649 }; 578 - version = "0.1.4"; 650 + version = "0.1.5"; 579 651 }; 580 652 rex-struct2 = { 581 653 source = { ··· 617 689 }; 618 690 version = "0.10.1"; 619 691 }; 692 + ruby-rc4 = { 693 + source = { 694 + remotes = ["https://rubygems.org"]; 695 + sha256 = "00vci475258mmbvsdqkmqadlwn6gj9m01sp7b5a3zd90knil1k00"; 696 + type = "gem"; 697 + }; 698 + version = "0.1.5"; 699 + }; 620 700 ruby_smb = { 621 701 source = { 622 702 remotes = ["https://rubygems.org"]; ··· 668 748 thor = { 669 749 source = { 670 750 remotes = ["https://rubygems.org"]; 671 - sha256 = "01n5dv9kql60m6a00zc0r66jvaxx98qhdny3klyj0p3w34pad2ns"; 751 + sha256 = "0nmqpyj642sk4g16nkbq6pj856adpv91lp4krwhqkh2iw63aszdl"; 672 752 type = "gem"; 673 753 }; 674 - version = "0.19.4"; 754 + version = "0.20.0"; 675 755 }; 676 756 thread_safe = { 677 757 source = { ··· 681 761 }; 682 762 version = "0.3.6"; 683 763 }; 764 + ttfunk = { 765 + source = { 766 + remotes = ["https://rubygems.org"]; 767 + sha256 = "1mgrnqla5n51v4ivn844albsajkck7k6lviphfqa8470r46c58cd"; 768 + type = "gem"; 769 + }; 770 + version = "1.5.1"; 771 + }; 684 772 tzinfo = { 685 773 source = { 686 774 remotes = ["https://rubygems.org"]; ··· 705 793 }; 706 794 version = "0.1.2"; 707 795 }; 796 + xdr = { 797 + source = { 798 + remotes = ["https://rubygems.org"]; 799 + sha256 = "0c5cp1k4ij3xq1q6fb0f6xv5b65wy18y7bhwvsdx8wd0zyg3x96m"; 800 + type = "gem"; 801 + }; 802 + version = "2.0.0"; 803 + }; 708 804 xmlrpc = { 709 805 source = { 710 806 remotes = ["https://rubygems.org"]; ··· 713 809 }; 714 810 version = "0.3.0"; 715 811 }; 716 - } 812 + }
+7 -3
pkgs/top-level/all-packages.nix
··· 1228 1228 pythonPackages = python2Packages; 1229 1229 }; 1230 1230 1231 + bepasty = callPackage ../tools/misc/bepasty { }; 1232 + 1231 1233 bfg-repo-cleaner = gitAndTools.bfg-repo-cleaner; 1232 1234 1233 1235 bgs = callPackage ../tools/X11/bgs { }; ··· 1266 1268 1267 1269 burp = callPackage ../tools/backup/burp { }; 1268 1270 1269 - buku = callPackage ../applications/misc/buku { 1270 - pythonPackages = python3Packages; 1271 - }; 1271 + buku = callPackage ../applications/misc/buku { }; 1272 1272 1273 1273 byzanz = callPackage ../applications/video/byzanz {}; 1274 1274 ··· 9634 9634 9635 9635 nss_wrapper = callPackage ../development/libraries/nss_wrapper { }; 9636 9636 9637 + ntbtls = callPackage ../development/libraries/ntbtls { }; 9638 + 9637 9639 ntk = callPackage ../development/libraries/audio/ntk { }; 9638 9640 9639 9641 ntrack = callPackage ../development/libraries/ntrack { }; ··· 11093 11095 11094 11096 dex-oidc = callPackage ../servers/dex { }; 11095 11097 11098 + dgraph = callPackage ../servers/dgraph { }; 11099 + 11096 11100 dico = callPackage ../servers/dico { }; 11097 11101 11098 11102 dict = callPackage ../servers/dict {
+19 -11
pkgs/top-level/perl-packages.nix
··· 2374 2374 }; 2375 2375 2376 2376 Connector = buildPerlPackage rec { 2377 - name = "Connector-1.16"; 2377 + name = "Connector-1.22"; 2378 2378 src = fetchurl { 2379 2379 url = "mirror://cpan/authors/id/M/MR/MRSCOTTY/${name}.tar.gz"; 2380 - sha256 = "0rbx4n86y5sdkff37w8djw1ahxrg79bsfgbrph3kjhh4jzd20q09"; 2380 + sha256 = "aa178d1865817ad2dea5c79645c8e6420ca2cfb951f20c98b5154307de219016"; 2381 2381 }; 2382 - buildInputs = [ Moose ConfigStd YAML PathClass DateTime Log4Perl 2383 - ConfigVersioned TemplateToolkit]; 2382 + buildInputs = [ ConfigMerge ConfigStd ConfigVersioned CryptSSLeay DBDSQLite DBI IOSocketSSL LWPProtocolhttps LWPUserAgent TemplateToolkit YAML ]; 2383 + propagatedBuildInputs = [ LogLog4perl Moose ]; 2384 + prePatch = '' 2385 + # Attempts to use network. 2386 + rm t/01-proxy-http.t 2387 + ''; 2388 + meta = { 2389 + description = "A generic connection to a hierarchical-structured data set"; 2390 + license = with stdenv.lib.licenses; [ artistic1 gpl1Plus ]; 2391 + }; 2384 2392 }; 2385 2393 2386 2394 ConvertASN1 = buildPerlPackage rec { ··· 5947 5955 }; 5948 5956 }; 5949 5957 5950 - GitPurePerl = buildPerlPackage { 5951 - name = "Git-PurePerl-0.51"; 5958 + GitPurePerl = buildPerlPackage rec { 5959 + name = "Git-PurePerl-0.53"; 5952 5960 src = fetchurl { 5953 - url = mirror://cpan/authors/id/B/BR/BROQ/Git-PurePerl-0.51.tar.gz; 5954 - sha256 = "3775f385ae566ea392ece0913a06ffec46441a1273c19ba9a6d990574ec34d00"; 5961 + url = "mirror://cpan/authors/id/B/BR/BROQ/${name}.tar.gz"; 5962 + sha256 = "987c74366cc4c37ee084050f985fa254359c89c12507f5b8bfc6607de538d5a8"; 5955 5963 }; 5956 5964 buildInputs = [ Testutf8 ]; 5957 - propagatedBuildInputs = [ ConfigGitLike DataStreamBulk DateTime FileFindRule IODigest Moose MooseXStrictConstructor MooseXTypesPathClass namespaceautoclean ]; 5965 + propagatedBuildInputs = [ ArchiveExtract ConfigGitLike DataStreamBulk DateTime FileFindRule IODigest Moose MooseXStrictConstructor MooseXTypesPathClass namespaceautoclean ]; 5958 5966 doCheck = false; 5959 5967 meta = { 5960 5968 description = "A Pure Perl interface to Git repositories"; ··· 7075 7083 }; 7076 7084 7077 7085 IOSocketSSL = buildPerlPackage rec { 7078 - name = "IO-Socket-SSL-2.039"; 7086 + name = "IO-Socket-SSL-2.050"; 7079 7087 src = fetchurl { 7080 7088 url = "mirror://cpan/authors/id/S/SU/SULLR/${name}.tar.gz"; 7081 - sha256 = "c6379a76860c724a22b79ebe9e91d26bd8a04e3ce035bacfd15de3d9beaf83ac"; 7089 + sha256 = "54e6716e40df8b1c168d8f54a0b8f215313739bd99dda17adb7c00fe94656692"; 7082 7090 }; 7083 7091 propagatedBuildInputs = [ NetSSLeay URI ]; 7084 7092 # Fix path to default certificate store.
+51 -181
pkgs/top-level/python-packages.nix
··· 62 62 63 63 graphiteVersion = "0.9.15"; 64 64 65 - fetchPypi = {format ? "setuptools", ... } @attrs: 65 + fetchPypi = makeOverridable( {format ? "setuptools", ... } @attrs: 66 66 let 67 67 fetchWheel = {pname, version, sha256, python ? "py2.py3", abi ? "none", platform ? "any"}: 68 68 # Fetch a wheel. By default we fetch an universal wheel. ··· 78 78 fetcher = (if format == "wheel" then fetchWheel 79 79 else if format == "setuptools" then fetchSource 80 80 else throw "Unsupported kind ${kind}"); 81 - in fetcher (builtins.removeAttrs attrs ["format"]); 81 + in fetcher (builtins.removeAttrs attrs ["format"]) ); 82 82 83 83 # This should become part of stdenv! 84 84 sharedLibraryExtension = if stdenv.isDarwin then ".dylib" else ".so"; ··· 1671 1671 rev = "v${version}"; 1672 1672 sha256 = "1ck0aijzrg9xf6hjdxnynkapnyxw0y385jb0q7wyq4jf77ayfszc"; 1673 1673 }; 1674 + 1675 + postPatch = '' 1676 + substituteInPlace setup.py --replace "argparse" "" 1677 + ''; 1674 1678 1675 1679 meta = { 1676 1680 description = "Utility tools for control groups of Linux"; ··· 2910 2914 py.test tests 2911 2915 ''; 2912 2916 2913 - # Python 3.5 str/bytes-like errors with reading files 2914 - doCheck = !isPy3k; 2917 + # https://github.com/pallets/click/issues/823 2918 + doCheck = false; 2915 2919 2916 2920 meta = { 2917 2921 homepage = http://click.pocoo.org/; ··· 4129 4133 }; 4130 4134 }; 4131 4135 4132 - pytest = self.pytest_30; 4136 + pytest = self.pytest_32; 4133 4137 4134 4138 pytest_27 = callPackage ../development/python-modules/pytest/2_7.nix {}; 4135 4139 ··· 4137 4141 4138 4142 pytest_29 = callPackage ../development/python-modules/pytest/2_9.nix {}; 4139 4143 4140 - pytest_30 = callPackage ../development/python-modules/pytest{ 4144 + pytest_30 = callPackage ../development/python-modules/pytest/3_0.nix { 4145 + hypothesis = self.hypothesis.override { 4146 + # hypothesis requires pytest that causes dependency cycle 4147 + doCheck = false; 4148 + pytest = null; 4149 + }; 4150 + }; 4151 + pytest_32 = callPackage ../development/python-modules/pytest{ 4141 4152 hypothesis = self.hypothesis.override { 4142 4153 # hypothesis requires pytest that causes dependency cycle 4143 4154 doCheck = false; ··· 4184 4195 4185 4196 checkPhase = "make test"; 4186 4197 4198 + # Requires pytest < 3.1 4199 + doCheck = false; 4200 + 4187 4201 meta = { 4188 4202 license = licenses.mit; 4189 4203 homepage = https://pypi.python.org/pypi/pytest-catchlog/; ··· 4222 4236 platforms = platforms.all; 4223 4237 }; 4224 4238 }; 4239 + 4240 + pytest-forked = callPackage ../development/python-modules/pytest-forked { }; 4225 4241 4226 4242 pytest-rerunfailures = buildPythonPackage rec { 4227 4243 name = "${pname}-${version}"; ··· 5410 5426 5411 5427 dropbox = buildPythonPackage rec { 5412 5428 name = "dropbox-${version}"; 5413 - version = "3.37"; 5414 - #doCheck = false; # python 2.7.9 does verify ssl certificates 5429 + version = "8.0.0"; 5430 + doCheck = false; # Set DROPBOX_TOKEN environment variable to a valid token. 5415 5431 5416 5432 src = pkgs.fetchurl { 5417 5433 url = "mirror://pypi/d/dropbox/${name}.tar.gz"; 5418 - sha256 = "f65c12bd97f09e29a951bc7cb30a74e005fc4b2f8bb48778796be3f73866b173"; 5434 + sha256 = "0bixx80zjq0286dwm4zhg8bdhc8pqlrqy4n2jg7i6m6a4gv4gak5"; 5419 5435 }; 5420 5436 5421 5437 propagatedBuildInputs = with self; [ requests urllib3 mock setuptools ]; ··· 6783 6799 }; 6784 6800 }; 6785 6801 6786 - jsonpatch = buildPythonPackage rec { 6787 - name = "jsonpatch-1.11"; 6788 - 6789 - src = pkgs.fetchurl { 6790 - url = "mirror://pypi/j/jsonpatch/${name}.tar.gz"; 6791 - sha256 = "22d0bc0f5522a4a03dd9fb4c4cdf7c1f03256546c88be4c61e5ceabd22280e47"; 6792 - }; 6793 - 6794 - propagatedBuildInputs = with self; [ jsonpointer ]; 6795 - 6796 - meta = { 6797 - description = "Library to apply JSON Patches according to RFC 6902"; 6798 - homepage = "https://github.com/stefankoegl/python-json-patch"; 6799 - license = stdenv.lib.licenses.bsd2; # "Modified BSD license, says pypi" 6800 - }; 6801 - }; 6802 + jsonpatch = callPackage ../development/python-modules/jsonpatch { }; 6802 6803 6803 6804 jsonpointer = buildPythonPackage rec { 6804 6805 name = "jsonpointer-1.9"; ··· 7363 7364 }; 7364 7365 }; 7365 7366 7366 - odfpy = buildPythonPackage rec { 7367 - version = "0.9.6"; 7368 - name = "odfpy-${version}"; 7369 - 7370 - src = pkgs.fetchurl { 7371 - url = "mirror://pypi/o/odfpy/${name}.tar.gz"; 7372 - sha256 = "e458f969f1ccd7ed77d70a45fe69ad656ac61b39e36e4d32c42d4e3216030891"; 7373 - }; 7374 - 7375 - buildInputs = with self; with pkgs; [ ]; 7376 - 7377 - propagatedBuildInputs = with self; [ ]; 7378 - 7379 - meta = { 7380 - description = "Python API and tools to manipulate OpenDocument files"; 7381 - homepage = "https://joinup.ec.europa.eu/software/odfpy/home"; 7382 - license = licenses.asl20; 7383 - }; 7384 - }; 7367 + odfpy = callPackage ../development/python-modules/odfpy { }; 7385 7368 7386 7369 oger = buildPythonPackage rec { 7387 7370 name = "oger-${version}"; ··· 8208 8191 # see https://github.com/getsentry/raven-python/blob/master/setup.py 8209 8192 doCheck = false; 8210 8193 8194 + propagatedBuildInputs = optionals (!isPy3k) [ self.contextlib2 ]; 8195 + 8211 8196 meta = { 8212 8197 maintainers = with maintainers; [ primeos ]; 8213 8198 }; ··· 8481 8466 }; 8482 8467 8483 8468 8484 - pyrtlsdr = buildPythonPackage rec { 8485 - name = "pyrtlsdr-0.2.0"; 8486 - 8487 - src = pkgs.fetchurl { 8488 - url = "mirror://pypi/p/pyrtlsdr/${name}.zip"; 8489 - sha256 = "cbb9086efe4320858c48f4856d09f7face191c4156510b1459ef4e5588935b6a"; 8490 - }; 8491 - 8492 - postPatch = '' 8493 - sed "s|driver_files =.*|driver_files = ['${pkgs.rtl-sdr}/lib/librtlsdr.so']|" -i rtlsdr/librtlsdr.py 8494 - ''; 8495 - 8496 - meta = { 8497 - description = "Python wrapper for librtlsdr (a driver for Realtek RTL2832U based SDR's)"; 8498 - homepage = https://github.com/roger-/pyrtlsdr; 8499 - license = licenses.gpl3; 8500 - platforms = platforms.linux; 8501 - maintainers = with maintainers; [ bjornfor ]; 8502 - }; 8503 - }; 8469 + pyrtlsdr = callPackage ../development/python-modules/pyrtlsdr { }; 8504 8470 8505 8471 random2 = self.buildPythonPackage rec { 8506 8472 name = "random2-1.0.1"; ··· 9887 9853 }; 9888 9854 }; 9889 9855 9890 - flask-pymongo = buildPythonPackage rec { 9891 - name = "Flask-PyMongo-${version}"; 9892 - version = "0.3.1"; 9893 - 9894 - src = pkgs.fetchurl { 9895 - url = "mirror://pypi/F/Flask-PyMongo/${name}.tar.gz"; 9896 - sha256 = "0305qngvjrjyyabf8gxqgqvd9ffh00gr5yfrjf4nncr2my9svbyd"; 9897 - }; 9898 - 9899 - propagatedBuildInputs = with self; [ flask pymongo_2_9_1 ]; 9900 - 9901 - meta = { 9902 - homepage = "http://flask-pymongo.readthedocs.org/"; 9903 - description = "PyMongo support for Flask applications"; 9904 - license = licenses.bsd2; 9905 - }; 9906 - }; 9856 + flask-pymongo = callPackage ../development/python-modules/Flask-PyMongo { }; 9907 9857 9908 9858 flask-restful = buildPythonPackage rec { 9909 9859 name = "Flask-RESTful-${version}"; ··· 14587 14537 sha256 = "04ja1cl8xzqnwrd2gi6nlnxbmjri141bzwa5gybvr44d8h3k2nfa"; 14588 14538 }; 14589 14539 14590 - patchPhase = '' 14540 + postPatch = '' 14591 14541 substituteInPlace setup.py --replace "version=versioneer.get_version()" "version='${version}'" 14542 + substituteInPlace setup.py --replace "argparse" "" 14592 14543 ''; 14593 14544 14594 14545 propagatedBuildInputs = with self; 14595 14546 [ pyptlib argparse twisted pycrypto pyyaml ]; 14596 14547 14548 + # No tests in archive 14549 + doCheck = false; 14550 + 14597 14551 meta = { 14598 14552 description = "A pluggable transport proxy"; 14599 14553 homepage = https://www.torproject.org/projects/obfsproxy; ··· 17166 17120 }; 17167 17121 17168 17122 17169 - py = buildPythonPackage rec { 17170 - name = "py-${version}"; 17171 - version = "1.4.31"; 17172 - 17173 - src = pkgs.fetchurl { 17174 - url = "mirror://pypi/p/py/${name}.tar.gz"; 17175 - sha256 = "a6501963c725fc2554dabfece8ae9a8fb5e149c0ac0a42fd2b02c5c1c57fc114"; 17176 - }; 17177 - 17178 - # Circular dependency on pytest 17179 - doCheck = false; 17180 - 17181 - meta = { 17182 - description = "Library with cross-python path, ini-parsing, io, code, log facilities"; 17183 - homepage = http://pylib.readthedocs.org/; 17184 - license = licenses.mit; 17185 - }; 17186 - }; 17123 + py = callPackage ../development/python-modules/py { }; 17187 17124 17188 17125 17189 17126 pyacoustid = buildPythonPackage rec { ··· 18174 18111 }; 18175 18112 18176 18113 disabled = !isPy3k; 18114 + 18115 + # No tests in archive 18116 + doCheck = false; 18177 18117 18178 18118 meta = { 18179 18119 description = "Python package for the generation of PostScript, PDF, and SVG files"; ··· 20343 20283 rm "$out/bin/"*.bat 20344 20284 ''; 20345 20285 20286 + postPatch = '' 20287 + substituteInPlace setup.py --replace "argparse" "" 20288 + ''; 20289 + 20346 20290 meta = { 20347 20291 description = "Test data generator for Robot Framework"; 20348 20292 homepage = https://github.com/mkorpela/RoboMachine; ··· 21038 20982 ''; 21039 20983 }; 21040 20984 21041 - setuptools_scm = buildPythonPackage rec { 21042 - name = "setuptools_scm-${version}"; 21043 - version = "1.15.0"; 21044 - 21045 - src = pkgs.fetchurl { 21046 - url = "mirror://pypi/s/setuptools_scm/${name}.tar.gz"; 21047 - sha256 = "0bwyc5markib0i7i2qlyhdzxhiywzxbkfiapldma8m91m82jvwfs"; 21048 - }; 21049 - 21050 - buildInputs = with self; [ pip ]; 21051 - checkInputs = with self; [ pytest ]; 21052 - # Seems to fail due to chroot 21053 - doCheck = false; 21054 - 21055 - checkPhase = '' 21056 - py.test 21057 - ''; 21058 - 21059 - meta = with stdenv.lib; { 21060 - homepage = https://bitbucket.org/pypa/setuptools_scm/; 21061 - description = "Handles managing your python package versions in scm metadata"; 21062 - license = licenses.mit; 21063 - maintainers = with maintainers; [ jgeerds ]; 21064 - }; 21065 - }; 21066 - 21067 - setuptools_scm_18 = self.setuptools_scm.override rec { 21068 - name = "setuptools_scm-${version}"; 21069 - version = "1.8.0"; 21070 - 21071 - # tests fail: ImportError: cannot import name 'find_files' 21072 - disabled = isPy35; 21073 - 21074 - src = pkgs.fetchurl { 21075 - url = "https://pypi.python.org/packages/source/s/setuptools_scm/${name}.tar.bz2"; 21076 - sha256 = "00p60v2yfqy1r58pjcx9wy6dvqd7wkpfs5z1dzwf7y75c1g3dgyx"; 21077 - }; 21078 - }; 20985 + setuptools_scm = callPackage ../development/python-modules/setuptools_scm { }; 21079 20986 21080 20987 setuptoolsDarcs = buildPythonPackage rec { 21081 20988 name = "setuptools_darcs-${version}"; ··· 21419 21326 }; 21420 21327 }; 21421 21328 21422 - sqlmap = buildPythonPackage { 21423 - name = "sqlmap-1.0.11"; 21424 - 21425 - src = pkgs.fetchurl { 21426 - url = "mirror://pypi/s/sqlmap/sqlmap-1.0.11.tar.gz"; 21427 - sha256 = "1x4amyjqnd9j5g2kp9nvg8pr5sqzbhr8gd0m6d671bshvgj568vr"; 21428 - }; 21429 - 21430 - meta = with pkgs.stdenv.lib; { 21431 - homepage = "http://sqlmap.org"; 21432 - license = licenses.gpl2; 21433 - description = "Automatic SQL injection and database takeover tool"; 21434 - maintainers = with stdenv.lib.maintainers; [ bennofs ]; 21435 - }; 21436 - }; 21329 + sqlmap = callPackage ../development/python-modules/sqlmap { }; 21437 21330 21438 21331 pgpdump = self.buildPythonPackage rec { 21439 21332 name = "pgpdump-1.5"; ··· 22227 22120 # Tests requires Pygments >=2.0.2 which isn't worth keeping around for this: 22228 22121 doCheck = false; 22229 22122 }; 22123 + 22124 + sphinxcontrib-websupport = callPackage ../development/python-modules/sphinxcontrib-websupport { }; 22230 22125 22231 22126 hieroglyph = callPackage ../development/python-modules/hieroglyph { }; 22232 22127 ··· 25182 25077 # Disable broken test 25183 25078 # https://github.com/zeromq/pyzmq/issues/799 25184 25079 checkPhase = '' 25185 - py.test $out/${python.sitePackages}/zmq/ -k "not test_large_send" 25080 + py.test $out/${python.sitePackages}/zmq/ -k "not test_large_send and not test_recv_json_cancelled" 25186 25081 ''; 25187 25082 }; 25188 25083 ··· 26318 26213 paste six 26319 26214 ]; 26320 26215 26216 + disabled = isPy3k; # Judging from SyntaxError 26217 + 26321 26218 meta = with stdenv.lib; { 26322 26219 description = "WSGIProxy gives tools to proxy arbitrary(ish) WSGI requests to other"; 26323 26220 homepage = "http://pythonpaste.org/wsgiproxy/"; ··· 27482 27379 description = "Python Import Magic - automagically add, remove and manage imports"; 27483 27380 homepage = http://github.com/alecthomas/importmagic; 27484 27381 license = "bsd"; 27485 - }; 27486 - }; 27487 - 27488 - bepasty-server = buildPythonPackage rec { 27489 - name = "bepasty-server-${version}"; 27490 - version = "0.4.0"; 27491 - propagatedBuildInputs = with self;[ 27492 - flask 27493 - pygments 27494 - xstatic 27495 - xstatic-bootbox 27496 - xstatic-bootstrap 27497 - xstatic-jquery 27498 - xstatic-jquery-file-upload 27499 - xstatic-jquery-ui 27500 - xstatic-pygments 27501 - ]; 27502 - src = pkgs.fetchurl { 27503 - url = "mirror://pypi/b/bepasty/bepasty-${version}.tar.gz"; 27504 - sha256 = "0bs79pgrjlnkmjfyj2hllbx3rw757va5w2g2aghi9cydmsl7gyi4"; 27505 - }; 27506 - 27507 - meta = { 27508 - homepage = http://github.com/bepasty/bepasty-server; 27509 - description = "Binary pastebin server"; 27510 - license = licenses.mit; 27511 - maintainers = [ maintainers.makefu ]; 27512 27382 }; 27513 27383 }; 27514 27384