tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
elmPackages.elm-json: 0.2.7 -> 0.2.10
Robert Hensing
4 years ago
377f9ca7
d8ac07dd
+28
-33
3 changed files
expand all
collapse all
unified
split
pkgs
development
compilers
elm
default.nix
packages
elm-json.nix
elm-json.patch
+2
-2
pkgs/development/compilers/elm/default.nix
···
2
2
, haskell, haskellPackages, nodejs
3
3
, fetchurl, fetchpatch, makeWrapper, writeScriptBin
4
4
# Rust dependecies
5
5
-
, rustPlatform, openssl, pkg-config, Security
5
5
+
, curl, rustPlatform, openssl, pkg-config, Security
6
6
}:
7
7
let
8
8
fetchElmDeps = import ./fetchElmDeps.nix { inherit stdenv lib fetchurl; };
···
102
102
103
103
elmRustPackages = {
104
104
elm-json = import ./packages/elm-json.nix {
105
105
-
inherit lib rustPlatform fetchurl openssl stdenv pkg-config Security;
105
105
+
inherit curl lib rustPlatform fetchurl openssl stdenv pkg-config Security;
106
106
} // {
107
107
meta = with lib; {
108
108
description = "Install, upgrade and uninstall Elm dependencies";
+5
-5
pkgs/development/compilers/elm/packages/elm-json.nix
···
1
1
-
{ lib, rustPlatform, fetchurl, openssl, stdenv, pkg-config, Security }:
1
1
+
{ lib, curl, rustPlatform, fetchurl, openssl, stdenv, pkg-config, Security }:
2
2
rustPlatform.buildRustPackage rec {
3
3
pname = "elm-json";
4
4
-
version = "0.2.7";
4
4
+
version = "0.2.10";
5
5
6
6
src = fetchurl {
7
7
url = "https://github.com/zwilias/elm-json/archive/v${version}.tar.gz";
8
8
-
sha256 = "sha256:1b9bhl7rb01ylqjbfd1ccm26lhk4hzwd383rbg89aj2jwjv0w4hs";
8
8
+
sha256 = "sha256:03azh7wvl60h6w7ffpvl49s7jr7bxpladcm4fzcasakg26i5a71x";
9
9
};
10
10
11
11
cargoPatches = [ ./elm-json.patch ];
12
12
13
13
nativeBuildInputs = [ pkg-config ];
14
14
15
15
-
buildInputs = [ openssl ] ++ lib.optionals stdenv.isDarwin [ Security ];
15
15
+
buildInputs = [ curl openssl ] ++ lib.optionals stdenv.isDarwin [ Security ];
16
16
17
17
-
cargoSha256 = "0ylniriq073kpiykamkn9mxdaa6kyiza4pvf7gnfq2h1dvbqa6z7";
17
17
+
cargoSha256 = "sha256:01zasrqf1va58i52s3kwdkj1rnwy80gv00xi6npfshjirj3ix07f";
18
18
19
19
# Tests perform networking and therefore can't work in sandbox
20
20
doCheck = false;
+21
-26
pkgs/development/compilers/elm/packages/elm-json.patch
···
1
1
diff --git a/Cargo.lock b/Cargo.lock
2
2
-
index f4d95f5..6830b3d 100644
2
2
+
index 5440d72..6e173fa 100644
3
3
--- a/Cargo.lock
4
4
+++ b/Cargo.lock
5
5
-
@@ -625,14 +625,6 @@ name = "openssl-probe"
6
6
-
version = "0.1.2"
5
5
+
@@ -774,15 +774,6 @@ version = "0.1.2"
7
6
source = "registry+https://github.com/rust-lang/crates.io-index"
7
7
+
checksum = "77af24da69f9d9341038eba93a073b1fdaaa1b788221b00a69bce9e762cb32de"
8
8
9
9
-[[package]]
10
10
-name = "openssl-src"
11
11
-
-version = "111.9.0+1.1.1g"
11
11
+
-version = "111.11.0+1.1.1h"
12
12
-source = "registry+https://github.com/rust-lang/crates.io-index"
13
13
+
-checksum = "380fe324132bea01f45239fadfec9343adb044615f29930d039bec1ae7b9fa5b"
13
14
-dependencies = [
14
14
-
- "cc 1.0.54 (registry+https://github.com/rust-lang/crates.io-index)",
15
15
+
- "cc",
15
16
-]
16
17
-
17
18
[[package]]
18
19
name = "openssl-sys"
19
19
-
version = "0.9.56"
20
20
-
@@ -641,7 +633,6 @@ dependencies = [
21
21
-
"autocfg 1.0.0 (registry+https://github.com/rust-lang/crates.io-index)",
22
22
-
"cc 1.0.54 (registry+https://github.com/rust-lang/crates.io-index)",
23
23
-
"libc 0.2.70 (registry+https://github.com/rust-lang/crates.io-index)",
24
24
-
- "openssl-src 111.9.0+1.1.1g (registry+https://github.com/rust-lang/crates.io-index)",
25
25
-
"pkg-config 0.3.17 (registry+https://github.com/rust-lang/crates.io-index)",
26
26
-
"vcpkg 0.2.8 (registry+https://github.com/rust-lang/crates.io-index)",
20
20
+
version = "0.9.58"
21
21
+
@@ -792,7 +783,6 @@ dependencies = [
22
22
+
"autocfg",
23
23
+
"cc",
24
24
+
"libc",
25
25
+
- "openssl-src",
26
26
+
"pkg-config",
27
27
+
"vcpkg",
27
28
]
28
28
-
@@ -1162,7 +1153,6 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
29
29
-
"checksum object 0.19.0 (registry+https://github.com/rust-lang/crates.io-index)" = "9cbca9424c482ee628fa549d9c812e2cd22f1180b9222c9200fdfa6eb31aecb2"
30
30
-
"checksum once_cell 1.4.0 (registry+https://github.com/rust-lang/crates.io-index)" = "0b631f7e854af39a1739f401cf34a8a013dfe09eac4fa4dba91e9768bd28168d"
31
31
-
"checksum openssl-probe 0.1.2 (registry+https://github.com/rust-lang/crates.io-index)" = "77af24da69f9d9341038eba93a073b1fdaaa1b788221b00a69bce9e762cb32de"
32
32
-
-"checksum openssl-src 111.9.0+1.1.1g (registry+https://github.com/rust-lang/crates.io-index)" = "a2dbe10ddd1eb335aba3780eb2eaa13e1b7b441d2562fd962398740927f39ec4"
33
33
-
"checksum openssl-sys 0.9.56 (registry+https://github.com/rust-lang/crates.io-index)" = "f02309a7f127000ed50594f0b50ecc69e7c654e16d41b4e8156d1b3df8e0b52e"
34
34
-
"checksum petgraph 0.5.0 (registry+https://github.com/rust-lang/crates.io-index)" = "29c127eea4a29ec6c85d153c59dc1213f33ec74cead30fe4730aecc88cc1fd92"
35
35
-
"checksum pin-project 0.4.17 (registry+https://github.com/rust-lang/crates.io-index)" = "edc93aeee735e60ecb40cf740eb319ff23eab1c5748abfdb5c180e4ce49f7791"
36
29
diff --git a/Cargo.toml b/Cargo.toml
37
37
-
index adfab25..37ae0c2 100644
30
30
+
index 4d319f2..6f4d0e5 100644
38
31
--- a/Cargo.toml
39
32
+++ b/Cargo.toml
40
40
-
@@ -21,7 +21,7 @@ colored = "1.9"
33
33
+
@@ -21,8 +21,8 @@ colored = "2.0"
41
34
dialoguer = "0.6"
42
42
-
dirs = "2.0"
35
35
+
dirs = "3.0"
43
36
fs2 = "0.4"
44
37
-isahc = { version = "0.9", features = ["static-ssl"] }
38
38
+
-curl = {version = "0.4", features = ["static-curl", "static-ssl", "force-system-lib-on-osx", "http2"]}
45
39
+isahc = "0.9"
40
40
+
+curl = {version = "0.4", features = ["force-system-lib-on-osx", "http2"]}
41
41
+
ctrlc = "3.1"
42
42
+
console = "0.12"
46
43
47
47
-
[dev-dependencies]
48
48
-
assert_cmd = "0.11"