~toastal/purescript-web-network-information

802cab7d05a83867c612ed72e4aea047c8c648d3 — toastal 3 years ago 21dd46e
upgrade dependencies
4 files changed, 21 insertions(+), 120 deletions(-)

M flake.lock
M flake.nix
M packages.dhall
M spago-packages.nix
M flake.lock => flake.lock +9 -9
@@ 3,11 3,11 @@
    "easy-purescript-nix": {
      "flake": false,
      "locked": {
        "lastModified": 1631961521,
        "narHash": "sha256-1yPjUdOYzw1+UGFzBXbyZqEbsM6XZu/6+v8W35qFdLo=",
        "lastModified": 1634991731,
        "narHash": "sha256-uAS889Rpl//h0Ne2M7NyNk6tDFOkr9O3R8yny3qHKVk=",
        "owner": "justinwoo",
        "repo": "easy-purescript-nix",
        "rev": "d9a37c75ed361372e1545f6efbc08d819b3c28c8",
        "rev": "7802db65618c2ead3a55121355816b4c41d276d9",
        "type": "github"
      },
      "original": {


@@ 18,11 18,11 @@
    },
    "flake-utils": {
      "locked": {
        "lastModified": 1631561581,
        "narHash": "sha256-3VQMV5zvxaVLvqqUrNz3iJelLw30mIVSfZmAaauM3dA=",
        "lastModified": 1637014545,
        "narHash": "sha256-26IZAc5yzlD9FlDT54io1oqG/bBoyka+FJk5guaX4x4=",
        "owner": "numtide",
        "repo": "flake-utils",
        "rev": "7e5bf3925f6fbdfaf50a2a7ca0be2879c4261d19",
        "rev": "bba5dcc8e0b20ab664967ad83d24d64cb64ec4f4",
        "type": "github"
      },
      "original": {


@@ 33,11 33,11 @@
    },
    "nixpkgs": {
      "locked": {
        "lastModified": 1634172192,
        "narHash": "sha256-FBF4U/T+bMg4sEyT/zkgasvVquGzgdAf4y8uCosKMmo=",
        "lastModified": 1636800699,
        "narHash": "sha256-SwbyVxXffu3G2ulJIbTf0iQfqhbGbdml4Dyv5j9BiAI=",
        "owner": "NixOS",
        "repo": "nixpkgs",
        "rev": "2cf9db0e3d45b9d00f16f2836cb1297bcadc475e",
        "rev": "2fa862644fc15ecb525eb8cd0a60276f1c340c7c",
        "type": "github"
      },
      "original": {

M flake.nix => flake.nix +1 -1
@@ 28,7 28,7 @@
          purs-tidy = import "${easy-purescript-nix}/purs-tidy" { inherit pkgs nodejs; };
        };

        purs = easy-ps.purs-0_14_4;
        purs = easy-ps.purs-0_14_5;

        spagoPkgs = import ./spago-packages.nix { inherit pkgs; };
      in

M packages.dhall => packages.dhall +2 -101
@@ 1,104 1,5 @@
{-
Welcome to your new Dhall package-set!

Below are instructions for how to edit this file for most use
cases, so that you don't need to know Dhall to use it.

## Use Cases

Most will want to do one or both of these options:
1. Override/Patch a package's dependency
2. Add a package not already in the default package set

This file will continue to work whether you use one or both options.
Instructions for each option are explained below.

### Overriding/Patching a package

Purpose:
- Change a package's dependency to a newer/older release than the
    default package set's release
- Use your own modified version of some dependency that may
    include new API, changed API, removed API by
    using your custom git repo of the library rather than
    the package set's repo

Syntax:
where `entityName` is one of the following:
- dependencies
- repo
- version
-------------------------------
let upstream = --
in  upstream
  with packageName.entityName = "new value"
-------------------------------

Example:
-------------------------------
let upstream = --
in  upstream
  with halogen.version = "master"
  with halogen.repo = "https://example.com/path/to/git/repo.git"

  with halogen-vdom.version = "v4.0.0"
  with halogen-vdom.dependencies = [ "extra-dependency" ] # halogen-vdom.dependencies
-------------------------------

### Additions

Purpose:
- Add packages that aren't already included in the default package set

Syntax:
where `<version>` is:
- a tag (i.e. "v4.0.0")
- a branch (i.e. "master")
- commit hash (i.e. "701f3e44aafb1a6459281714858fadf2c4c2a977")
-------------------------------
let upstream = --
in  upstream
  with new-package-name =
    { dependencies =
       [ "dependency1"
       , "dependency2"
       ]
    , repo =
       "https://example.com/path/to/git/repo.git"
    , version =
        "<version>"
    }
-------------------------------

Example:
-------------------------------
let upstream = --
in  upstream
  with benchotron =
      { dependencies =
          [ "arrays"
          , "exists"
          , "profunctor"
          , "strings"
          , "quickcheck"
          , "lcg"
          , "transformers"
          , "foldable-traversable"
          , "exceptions"
          , "node-fs"
          , "node-buffer"
          , "node-readline"
          , "datetime"
          , "now"
          ]
      , repo =
          "https://github.com/hdgarrood/purescript-benchotron.git"
      , version =
          "v7.0.0"
      }
-------------------------------
-}
let upstream =
      https://github.com/purescript/package-sets/releases/download/psc-0.14.4-20211005/packages.dhall sha256:2ec351f17be14b3f6421fbba36f4f01d1681e5c7f46e0c981465c4cf222de5be
      https://github.com/purescript/package-sets/releases/download/psc-0.14.5-20211111/packages.dhall
        sha256:7ed6350fe897a93926d16298e37d2324aabbe5eca99810204719dc3632fb555f

in  upstream

M spago-packages.nix => spago-packages.nix +9 -9
@@ 331,11 331,11 @@ let

    "nonempty" = pkgs.stdenv.mkDerivation {
        name = "nonempty";
        version = "v6.0.0";
        version = "v6.1.0";
        src = pkgs.fetchgit {
          url = "https://github.com/purescript/purescript-nonempty.git";
          rev = "d3e91e3d6e06e5bdcc5b2c21c8e5d0f9b946bb9e";
          sha256 = "0azk1jrpqnjf2i97lcp63wcm31c4hddklp1mfmdan27zap3zqyjm";
          rev = "7696eaf915da5333173bca7d779a51f91a525b83";
          sha256 = "0hhhw5x5xvs2bd9373gklja1545glnzi1xc2sj16kkznnayrmvsn";
        };
        phases = "installPhase";
        installPhase = "ln -s $src $out";


@@ 379,11 379,11 @@ let

    "ordered-collections" = pkgs.stdenv.mkDerivation {
        name = "ordered-collections";
        version = "v2.0.1";
        version = "v2.0.2";
        src = pkgs.fetchgit {
          url = "https://github.com/purescript/purescript-ordered-collections.git";
          rev = "f226bdf904a153746bda6b928fb32fb25bb2a319";
          sha256 = "1p592g0s07c56639y71782af0zz5cndpjxd5w9n41hdszsz1b86h";
          rev = "1929b706b07e251995b6be51baa7995c61eb4d83";
          sha256 = "0g57043ylj3kldkm5vn233yd6hiamryhdfh72cxx9h3mn0ra8ghd";
        };
        phases = "installPhase";
        installPhase = "ln -s $src $out";


@@ 619,11 619,11 @@ let

    "web-html" = pkgs.stdenv.mkDerivation {
        name = "web-html";
        version = "v3.1.0";
        version = "v3.2.0";
        src = pkgs.fetchgit {
          url = "https://github.com/purescript-web/purescript-web-html.git";
          rev = "9e657a0632f7f6514c3d5d2eb4b7dbbfe0d97185";
          sha256 = "007anmqqifrjnpfa4xf7qa8xnpbhvcxqdraj9lnhizwq65vx53sn";
          rev = "3a249b966ee72c19874b4a2ec6db4059087500e4";
          sha256 = "1ds26vwyba0chhpa09m938brw9q8pxjk6z1n3d4nc30hvdkrjnbh";
        };
        phases = "installPhase";
        installPhase = "ln -s $src $out";