Unverified Commit 92e1950e authored by Domen Kožar's avatar Domen Kožar Committed by GitHub
Browse files

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

parents 20eb58b2 4e238e4a
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -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
+79 −0
Original line number Diff line number Diff line
{
  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;
}