haskellPackages.crypton-x509: get building

This commit is contained in:
Dennis Gosnell 2023-07-02 16:02:32 +09:00
parent f5b28a0744
commit c15e0b6bdc
No known key found for this signature in database
GPG key ID: 462E0C03D11422F4
3 changed files with 22 additions and 3 deletions

View file

@ -1788,6 +1788,28 @@ self: super: {
# https://github.com/jgm/pandoc/issues/7163
pandoc = dontCheck super.pandoc;
crypton-x509 =
lib.pipe
super.crypton-x509
[
# Mistype in a dependency in a test.
# https://github.com/kazu-yamamoto/crypton-certificate/pull/3
(appendPatch
(fetchpatch {
name = "crypton-x509-rename-dep.patch";
url = "https://github.com/kazu-yamamoto/crypton-certificate/commit/5281ff115a18621407b41f9560fd6cd65c602fcc.patch";
hash = "sha256-pLzuq+baSDn+MWhtYIIBOrE1Js+tp3UsaEZy5MhWAjY=";
relative = "x509";
})
)
# There is a revision in crypton-x509, so the above patch won't
# apply because of line endings in revised .cabal files.
(overrideCabal {
editedCabalFile = null;
revision = null;
})
];
# * doctests don't work without cabal
# https://github.com/noinia/hgeometry/issues/132
# * Too strict version bound on vector-builder

View file

@ -956,7 +956,6 @@ broken-packages:
- crypto-keys-ssh
- crypto-multihash
- crypto-numbers
- crypton-x509 # failure building test suite 'test-x509' in job https://hydra.nixos.org/build/225569131 at 2023-06-28
- crypto-pubkey-openssh
- crypto-random-effect
- crypto-simple

View file

@ -72586,8 +72586,6 @@ self: {
];
description = "X509 reader and writer";
license = lib.licenses.bsd3;
hydraPlatforms = lib.platforms.none;
broken = true;
}) {};
"crypton-x509-store" = callPackage