elmPackages.elm: Fix runtime TLS connection to package.elm-lang.org (#414495)

This commit is contained in:
Domen Kožar
2025-06-06 14:19:10 +02:00
committed by GitHub
2 changed files with 83 additions and 0 deletions
@@ -38,6 +38,10 @@ pkgs.haskell.packages.ghc96.override {
inherit fetchElmDeps;
elmVersion = elmPkgs.elm.version;
# Fix TLS issues
# see https://github.com/elm/compiler/pull/2325
tls = self.callPackage ./tls-1.9.0.nix { };
};
in
elmPkgs
@@ -0,0 +1,79 @@
{
mkDerivation,
asn1-encoding,
asn1-types,
async,
base,
bytestring,
cereal,
crypton,
crypton-x509,
crypton-x509-store,
crypton-x509-validation,
data-default-class,
gauge,
hourglass,
lib,
memory,
mtl,
network,
QuickCheck,
tasty,
tasty-quickcheck,
transformers,
unix-time,
}:
mkDerivation {
pname = "tls";
version = "1.9.0";
sha256 = "5605b9cbe0903b100e9de72800641453f74bf5dade6176dbe10b34ac9353433e";
libraryHaskellDepends = [
asn1-encoding
asn1-types
async
base
bytestring
cereal
crypton
crypton-x509
crypton-x509-store
crypton-x509-validation
data-default-class
memory
mtl
network
transformers
unix-time
];
testHaskellDepends = [
asn1-types
async
base
bytestring
crypton
crypton-x509
crypton-x509-validation
data-default-class
hourglass
QuickCheck
tasty
tasty-quickcheck
];
benchmarkHaskellDepends = [
asn1-types
async
base
bytestring
crypton
crypton-x509
crypton-x509-validation
data-default-class
gauge
hourglass
QuickCheck
tasty-quickcheck
];
homepage = "https://github.com/haskell-tls/hs-tls";
description = "TLS/SSL protocol native implementation (Server and Client)";
license = lib.licenses.bsd3;
}