Merge pull request #140379 from SuperSandro2000/lscolors

lscolors: 0.7.1 -> 0.8.0

authored by figsoda and committed by GitHub 502d950f 0b672c78

+6 -171
-159
pkgs/applications/misc/lscolors/cargo.lock.patch
··· 1 - diff --git a/Cargo.lock b/Cargo.lock 2 - new file mode 100644 3 - index 0000000..3528c6c 4 - --- /dev/null 5 - +++ b/Cargo.lock 6 - @@ -0,0 +1,153 @@ 7 - +# This file is automatically @generated by Cargo. 8 - +# It is not intended for manual editing. 9 - +[[package]] 10 - +name = "ansi_term" 11 - +version = "0.12.1" 12 - +source = "registry+https://github.com/rust-lang/crates.io-index" 13 - +checksum = "d52a9bb7ec0cf484c551830a7ce27bd20d67eac647e1befb56b0be4ee39a55d2" 14 - +dependencies = [ 15 - + "winapi", 16 - +] 17 - + 18 - +[[package]] 19 - +name = "bitflags" 20 - +version = "1.2.1" 21 - +source = "registry+https://github.com/rust-lang/crates.io-index" 22 - +checksum = "cf1de2fe8c75bc145a2f577add951f8134889b4795d47466a54a5c846d691693" 23 - + 24 - +[[package]] 25 - +name = "cfg-if" 26 - +version = "1.0.0" 27 - +source = "registry+https://github.com/rust-lang/crates.io-index" 28 - +checksum = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd" 29 - + 30 - +[[package]] 31 - +name = "getrandom" 32 - +version = "0.2.2" 33 - +source = "registry+https://github.com/rust-lang/crates.io-index" 34 - +checksum = "c9495705279e7140bf035dde1f6e750c162df8b625267cd52cc44e0b156732c8" 35 - +dependencies = [ 36 - + "cfg-if", 37 - + "libc", 38 - + "wasi", 39 - +] 40 - + 41 - +[[package]] 42 - +name = "libc" 43 - +version = "0.2.86" 44 - +source = "registry+https://github.com/rust-lang/crates.io-index" 45 - +checksum = "b7282d924be3275cec7f6756ff4121987bc6481325397dde6ba3e7802b1a8b1c" 46 - + 47 - +[[package]] 48 - +name = "lscolors" 49 - +version = "0.7.1" 50 - +dependencies = [ 51 - + "ansi_term", 52 - + "tempfile", 53 - +] 54 - + 55 - +[[package]] 56 - +name = "ppv-lite86" 57 - +version = "0.2.10" 58 - +source = "registry+https://github.com/rust-lang/crates.io-index" 59 - +checksum = "ac74c624d6b2d21f425f752262f42188365d7b8ff1aff74c82e45136510a4857" 60 - + 61 - +[[package]] 62 - +name = "rand" 63 - +version = "0.8.3" 64 - +source = "registry+https://github.com/rust-lang/crates.io-index" 65 - +checksum = "0ef9e7e66b4468674bfcb0c81af8b7fa0bb154fa9f28eb840da5c447baeb8d7e" 66 - +dependencies = [ 67 - + "libc", 68 - + "rand_chacha", 69 - + "rand_core", 70 - + "rand_hc", 71 - +] 72 - + 73 - +[[package]] 74 - +name = "rand_chacha" 75 - +version = "0.3.0" 76 - +source = "registry+https://github.com/rust-lang/crates.io-index" 77 - +checksum = "e12735cf05c9e10bf21534da50a147b924d555dc7a547c42e6bb2d5b6017ae0d" 78 - +dependencies = [ 79 - + "ppv-lite86", 80 - + "rand_core", 81 - +] 82 - + 83 - +[[package]] 84 - +name = "rand_core" 85 - +version = "0.6.2" 86 - +source = "registry+https://github.com/rust-lang/crates.io-index" 87 - +checksum = "34cf66eb183df1c5876e2dcf6b13d57340741e8dc255b48e40a26de954d06ae7" 88 - +dependencies = [ 89 - + "getrandom", 90 - +] 91 - + 92 - +[[package]] 93 - +name = "rand_hc" 94 - +version = "0.3.0" 95 - +source = "registry+https://github.com/rust-lang/crates.io-index" 96 - +checksum = "3190ef7066a446f2e7f42e239d161e905420ccab01eb967c9eb27d21b2322a73" 97 - +dependencies = [ 98 - + "rand_core", 99 - +] 100 - + 101 - +[[package]] 102 - +name = "redox_syscall" 103 - +version = "0.2.5" 104 - +source = "registry+https://github.com/rust-lang/crates.io-index" 105 - +checksum = "94341e4e44e24f6b591b59e47a8a027df12e008d73fd5672dbea9cc22f4507d9" 106 - +dependencies = [ 107 - + "bitflags", 108 - +] 109 - + 110 - +[[package]] 111 - +name = "remove_dir_all" 112 - +version = "0.5.3" 113 - +source = "registry+https://github.com/rust-lang/crates.io-index" 114 - +checksum = "3acd125665422973a33ac9d3dd2df85edad0f4ae9b00dafb1a05e43a9f5ef8e7" 115 - +dependencies = [ 116 - + "winapi", 117 - +] 118 - + 119 - +[[package]] 120 - +name = "tempfile" 121 - +version = "3.2.0" 122 - +source = "registry+https://github.com/rust-lang/crates.io-index" 123 - +checksum = "dac1c663cfc93810f88aed9b8941d48cabf856a1b111c29a40439018d870eb22" 124 - +dependencies = [ 125 - + "cfg-if", 126 - + "libc", 127 - + "rand", 128 - + "redox_syscall", 129 - + "remove_dir_all", 130 - + "winapi", 131 - +] 132 - + 133 - +[[package]] 134 - +name = "wasi" 135 - +version = "0.10.2+wasi-snapshot-preview1" 136 - +source = "registry+https://github.com/rust-lang/crates.io-index" 137 - +checksum = "fd6fbd9a79829dd1ad0cc20627bf1ed606756a7f77edff7b66b7064f9cb327c6" 138 - + 139 - +[[package]] 140 - +name = "winapi" 141 - +version = "0.3.9" 142 - +source = "registry+https://github.com/rust-lang/crates.io-index" 143 - +checksum = "5c839a674fcd7a98952e593242ea400abe93992746761e38641405d28b00f419" 144 - +dependencies = [ 145 - + "winapi-i686-pc-windows-gnu", 146 - + "winapi-x86_64-pc-windows-gnu", 147 - +] 148 - + 149 - +[[package]] 150 - +name = "winapi-i686-pc-windows-gnu" 151 - +version = "0.4.0" 152 - +source = "registry+https://github.com/rust-lang/crates.io-index" 153 - +checksum = "ac3b87c63620426dd9b991e5ce0329eff545bccbbb34f3be09ff6fb6ab51b7b6" 154 - + 155 - +[[package]] 156 - +name = "winapi-x86_64-pc-windows-gnu" 157 - +version = "0.4.0" 158 - +source = "registry+https://github.com/rust-lang/crates.io-index" 159 - +checksum = "712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f"
+6 -12
pkgs/applications/misc/lscolors/default.nix
··· 1 - { lib, rustPlatform, fetchFromGitHub }: 1 + { lib, rustPlatform, fetchCrate }: 2 2 3 3 rustPlatform.buildRustPackage rec { 4 4 pname = "lscolors"; 5 - version = "0.7.1"; 5 + version = "0.8.0"; 6 6 7 - src = fetchFromGitHub { 8 - owner = "sharkdp"; 9 - repo = pname; 10 - rev = "v${version}"; 11 - sha256 = "0av3v31fvanvn59bdm9d0v9zh5lzrq0f4vqhg6xlvabkgsa8jk04"; 7 + src = fetchCrate { 8 + inherit version pname; 9 + sha256 = "sha256-dwtrs9NlhJ+km2/146HMnDirWRB5Ur5LTmWdKAK03v0="; 12 10 }; 13 11 14 - cargoPatches = [ 15 - ./cargo.lock.patch 16 - ]; 17 - 18 - cargoSha256 = "0kfm1pq22dhiw138bf7jvf7amlkal90n1hc9fq44wr4chr9b2fmx"; 12 + cargoSha256 = "sha256-vQnrLt+VSDPr61VMkYFtjSDnEt+NmWBZUd4qLzPzQBU="; 19 13 20 14 meta = with lib; { 21 15 description = "Rust library and tool to colorize paths using LS_COLORS";