Commit Graph
95 Commits
Author SHA1 Message Date
Artturin e0464e4788 treewide: replace stdenv.is with stdenv.hostPlatform.is
In preparation for the deprecation of `stdenv.isX`.

These shorthands are not conducive to cross-compilation because they
hide the platforms.

Darwin might get cross-compilation for which the continued usage of `stdenv.isDarwin` will get in the way

One example of why this is bad and especially affects compiler packages
https://www.github.com/NixOS/nixpkgs/pull/343059

There are too many files to go through manually but a treewide should
get users thinking when they see a `hostPlatform.isX` in a place where it
doesn't make sense.

```
fd --type f "\.nix" | xargs sd --fixed-strings "stdenv.is" "stdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "stdenv'.is" "stdenv'.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "clangStdenv.is" "clangStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "gccStdenv.is" "gccStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "stdenvNoCC.is" "stdenvNoCC.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "inherit (stdenv) is" "inherit (stdenv.hostPlatform) is"
fd --type f "\.nix" | xargs sd --fixed-strings "buildStdenv.is" "buildStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "effectiveStdenv.is" "effectiveStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "originalStdenv.is" "originalStdenv.hostPlatform.is"
```
2024-09-25 00:04:37 +03:00
Martin Weinelt 3a6026ad23 python312Packages.cryptography: 42.0.8 -> 43.0.0
https://cryptography.io/en/latest/changelog/#v43-0-0
2024-07-21 16:15:57 +02:00
Arthur Gautier 5ab032428a python312Packages.cryptography: 42.0.5 -> 42.0.8 2024-07-17 15:11:00 -07:00
Alexis Hildebrandt 755b915a15 treewide: Remove indefinite article from meta.description
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"[Aa]n?' pkgs \
  | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Aa]n? (.)/\1\U\2/'
2024-06-09 23:07:45 +02:00
Martin Weinelt 59b1aef590 python3Packages: format with nixfmt 2024-05-22 17:32:03 +02:00
Martin Weinelt d6b47c36fe python311Packages.cryptography: 42.0.2 -> 42.0.5
https://cryptography.io/en/latest/changelog/#v42-0-5

Fixes: CVE-2024-26130
2024-03-07 02:46:00 +01:00
Martin Weinelt ba83271df0 python311Packages.cryptography: skip overflowing tests on 32-bit 2024-02-08 16:21:21 +01:00
Martin Weinelt 457e32ecef python311Packages.cryptography: 41.0.7 -> 42.0.2
https://cryptography.io/en/latest/changelog/#v42-0-2
2024-02-02 18:37:39 +01:00
Niklas Hambüchen 506b21518d ceph: Fix tests by adding back old required python libs. See #281858.
Fixes #241482.

Also fix test putting cluster in unhealthy `POOL_APP_NOT_ENABLED` state;
this seems to be the default state with Ceph 18.2.1 at least,
and it does not hurt to fix it now already in the way the Ceph docs say.

Also revert "nixosTests.ceph-single-node: remove dashboard check"

This reverts commit 41b27d7f4b.
2024-01-24 14:29:24 +00:00
Fabian Affolter e0f242aefe python311Packages.cryptography: 41.0.5 -> 41.0.7
Changelog: https://cryptography.io/en/latest/changelog/#v41-0-7

Fixes CVE-2023-49083
2023-11-30 08:44:44 +01:00
Fabian Affolter 308b0c8ce6 python311Packages.cryptography: 41.0.3 -> 41.0.5
Changelog: https://github.com/pyca/cryptography/blob/41.0.5/CHANGELOG.rst
2023-11-27 18:19:29 +01:00
Fabian Affolter 65fb82bad1 python311Packages.cryptography: 41.0.2 -> 41.0.3
Changelog: https://cryptography.io/en/latest/changelog/#v41-0-3
2023-08-22 10:46:53 +02:00
Sandro JäckelandMartin Weinelt ed1a0dce0c python310Packages.cryptography: 41.0.1 -> 41.0.2 2023-07-28 12:15:35 +02:00
Sandro JäckelandMartin Weinelt d74195bc77 python310Packages.cryptography: 40.0.1 -> 41.0.1 2023-07-28 12:13:11 +02:00
Karel Kočí f5f80fa89c python-modules/cryptography: fix cross-build
The rustPlatform.rustc has both host and target set to build platform.
The rustc has build and host platform same but target is correctly set
for cross compilation.
2023-06-30 14:52:25 +02:00
Sophie Tauchert afecc9a625 pypy3Packages.cryptography: fix build under pypy 2023-06-27 00:10:05 +02:00
SandroandGitHub 1f49db7743 Merge pull request #233447 from SuperSandro2000/hypothesis-doc-pasthru
python310Packages.hypothesis: move documentation to passthru to reduce dependencies
2023-06-07 21:45:55 +02:00
Sandro Jäckel 00000000b0 treewide: remove removed hypothesis enableDocumentation option 2023-05-23 00:52:26 +02:00
Sandro Jäckel 42042047d2 python310Packages.cryptography: remove unused inputs 2023-05-22 18:23:03 +02:00
Alyssa Ross 5e06b3cb19 treewide: don't use rustPlatform.rust
This will be deprecated in the next commit.
2023-05-12 15:31:21 +00:00
SandroandGitHub 6f72e87e60 Merge pull request #228439 from dotlambda/pytest-benchmark-test 2023-04-28 11:08:43 +02:00
Robert Schütz ea547c8973 python310Packages.cryptography: don't depend on pytest-benchmark 2023-04-27 10:54:47 -07:00
Ivan Kozik ede084fa15 python38Packages.cryptography: fix build with libxcrypt 2023-04-27 10:04:02 +00:00
Martin Weinelt 5a5994d2ad python310Packages.cryptography: 39.0.1 -> 40.0.1
https://cryptography.io/en/latest/changelog/#v40-0-1
2023-04-06 00:16:22 +02:00
Martin WeineltandGitHub 8e69a97f51 Merge pull request #215361 from dotlambda/cryptography-39.0.1
python310Packages.cryptography: 39.0.0 -> 39.0.1
2023-02-09 01:18:36 +00:00
Robert Schütz 1f6d0b6016 python310Packages.cryptography: 39.0.0 -> 39.0.1
fixes CVE-2023-23931

Changelog: https://cryptography.io/en/latest/changelog/#v39-0-1
2023-02-08 11:22:31 -08:00
SandroandGitHub 1faf1ea8eb Merge pull request #212312 from SuperSandro2000/python310Packages.cryptography 2023-02-07 00:01:15 +01:00
Sandro Jäckel 9b0ba273bf python310Packages.cryptography: 38.0.4 -> 39.0.0 2023-01-23 22:15:38 +01:00
Guillaume Girol 33afbf39f6 treewide: switch to nativeCheckInputs
checkInputs used to be added to nativeBuildInputs. Now we have
nativeCheckInputs to do that instead. Doing this treewide change allows
to keep hashes identical to before the introduction of
nativeCheckInputs.
2023-01-21 12:00:00 +00:00
Guillaume Girol 90c78aee6c Merge branch 'nativeCheckInputs' into staging-nativeCheckInputs 2023-01-21 12:00:00 +00:00
Dmitry BogatovandYt 35a4ca4bde python3.pkgs.hypothesis: build offline documentation 2023-01-15 16:16:55 -05:00
Martin Weinelt cc00c2949b python3Packages.cryptography: Pass py into checkInputs
and set format.
2023-01-05 01:08:49 +01:00
Sandro Jäckel a77f49d19b python310Packages.cryptography: 38.0.3 -> 38.0.4 2022-12-04 11:34:24 +01:00
Louis Bettens 304d0412a8 python3Packages.cryptography: 38.0.1 -> 38.0.3 2022-11-21 21:37:37 +01:00
Martin Weinelt eed7179cd7 python3Packages.cryptography: 37.0.4 -> 38.0.1
https://cryptography.io/en/latest/changelog/#v38-0-1
2022-09-18 23:57:30 +02:00
Sandro Jäckel dc3e75802b python310Packages.cryptography: remove empty dev output 2022-08-22 00:07:01 +02:00
Martin Weinelt 96a1286ea8 python3Packages.cryptography: 37.0.2 -> 37.0.4
https://github.com/pyca/cryptography/blob/main/CHANGELOG.rst\#3704---2022-07-05
2022-07-21 22:33:36 +02:00
Sandro JäckelandJonathan Ringer 4561bf0464 python310Packages.cryptography: 36.0.2 -> 37.0.2 2022-06-06 11:46:08 -07:00
Martin Weinelt 0e83e67ae1 python3Packages.cryptography: fix disabledTestPaths value
Expects a path, not a pytest argument.
2022-04-15 16:02:21 +02:00
Sandro Jäckel 8df7949791 pythonPackages.cryptography-vectors: make internal to cryptography 2022-03-27 16:08:55 +02:00
SandroandGitHub 6ef7b6baf7 Merge pull request #165381 from SuperSandro2000/cryptography 2022-03-26 15:31:33 +01:00
SandroandGitHub 95d7a7bbf1 pythonPackages.cryptography*: remove primeos from maintainers
Based on his request
2022-03-26 14:55:58 +01:00
Sandro Jäckel 4cc71fa97d python39Packages.cryptography: 36.0.0 -> 36.0.2 2022-03-23 11:38:29 +01:00
Sandro Jäckel 37a6c262f3 python39Packages.cryptography: format 2022-03-23 06:45:36 +01:00
Sandro Jäckel 2c7290a189 python39Packages.cryptography: remove depedencies which have no mentions in code 2022-03-23 06:44:54 +01:00
Sandro Jäckel de6171a441 python39Packages.cryptography: switch to pytestCheckHook 2022-03-23 06:44:15 +01:00
Sandro Jäckel ece9e8200f python39Packages.cryptography: remove darwin from inputs 2022-03-23 06:44:13 +01:00
Sandro Jäckel 85b84125e1 python39Packages.cryptography: add SuperSandro2000 as maintainer 2022-03-23 06:43:19 +01:00
Martin WeineltandGitHub d23d17d703 python3Packages.cryptography: 3.4.2 -> 36.0.0 (#150320)
* python3Packages.cryptography: 3.4.8 -> 36.0.0

* python3Packages.python-miio: 0.5.8 -> 0.5.9.1
2021-12-25 16:57:43 -05:00
toonnandJonathan Ringer 1f8566980d cryptography: Drop impure host deps
Nix 1.11 has long come and gone. It seems this is no longer necessary.
2021-11-24 15:17:13 -08:00