git.iko.soy/typeable/nixpkgs
on master help sign in
ouch: 0.1.5 -> 0.2.0
commit713e08cdc5e0cd7317aff73d3227b5856248b65c authorVladyslav M <dywedir@gra.red> dateThu 7 Oct 2021, 10:08 (5 years ago) parent1bcafed
2 files changed+6−446
pkgs/tools/compression/ouch/add-Cargo.lock.patch−434 pkgs/tools/compression/ouch/default.nix+6−12
pkgs/tools/compression/ouch/add-Cargo.lock.patchdeleted−434
@@ -1,434 +0,0 @@
1−diff --git a/Cargo.lock b/Cargo.lock
2−new file mode 100644
3−index 0000000..4bea8c1
4−--- /dev/null
5−+++ b/Cargo.lock
6−@@ -0,0 +1,428 @@
7−+# This file is automatically @generated by Cargo.
8−+# It is not intended for manual editing.
9−+[[package]]
10−+name = "adler"
11−+version = "1.0.2"
12−+source = "registry+https://github.com/rust-lang/crates.io-index"
13−+checksum = "f26201604c87b1e01bd3d98f8d5d9a8fcbb815e8cedb41ffccbeb4bf593a35fe"
14−+
15−+[[package]]
16−+name = "autocfg"
17−+version = "1.0.1"
18−+source = "registry+https://github.com/rust-lang/crates.io-index"
19−+checksum = "cdb031dd78e28731d87d56cc8ffef4a8f36ca26c38fe2de700543e627f8a464a"
20−+
21−+[[package]]
22−+name = "bitflags"
23−+version = "1.2.1"
24−+source = "registry+https://github.com/rust-lang/crates.io-index"
25−+checksum = "cf1de2fe8c75bc145a2f577add951f8134889b4795d47466a54a5c846d691693"
26−+
27−+[[package]]
28−+name = "byteorder"
29−+version = "1.4.3"
30−+source = "registry+https://github.com/rust-lang/crates.io-index"
31−+checksum = "14c189c53d098945499cdfa7ecc63567cf3886b3332b312a5b4585d8d3a6a610"
32−+
33−+[[package]]
34−+name = "bzip2"
35−+version = "0.4.3"
36−+source = "registry+https://github.com/rust-lang/crates.io-index"
37−+checksum = "6afcd980b5f3a45017c57e57a2fcccbb351cc43a356ce117ef760ef8052b89b0"
38−+dependencies = [
39−+ "bzip2-sys",
40−+ "libc",
41−+]
42−+
43−+[[package]]
44−+name = "bzip2-sys"
45−+version = "0.1.11+1.0.8"
46−+source = "registry+https://github.com/rust-lang/crates.io-index"
47−+checksum = "736a955f3fa7875102d57c82b8cac37ec45224a07fd32d58f9f7a186b6cd4cdc"
48−+dependencies = [
49−+ "cc",
50−+ "libc",
51−+ "pkg-config",
52−+]
53−+
54−+[[package]]
55−+name = "cc"
56−+version = "1.0.69"
57−+source = "registry+https://github.com/rust-lang/crates.io-index"
58−+checksum = "e70cc2f62c6ce1868963827bd677764c62d07c3d9a3e1fb1177ee1a9ab199eb2"
59−+
60−+[[package]]
61−+name = "cfg-if"
62−+version = "1.0.0"
63−+source = "registry+https://github.com/rust-lang/crates.io-index"
64−+checksum = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd"
65−+
66−+[[package]]
67−+name = "crc32fast"
68−+version = "1.2.1"
69−+source = "registry+https://github.com/rust-lang/crates.io-index"
70−+checksum = "81156fece84ab6a9f2afdb109ce3ae577e42b1228441eded99bd77f627953b1a"
71−+dependencies = [
72−+ "cfg-if",
73−+]
74−+
75−+[[package]]
76−+name = "filetime"
77−+version = "0.2.14"
78−+source = "registry+https://github.com/rust-lang/crates.io-index"
79−+checksum = "1d34cfa13a63ae058bfa601fe9e313bbdb3746427c1459185464ce0fcf62e1e8"
80−+dependencies = [
81−+ "cfg-if",
82−+ "libc",
83−+ "redox_syscall",
84−+ "winapi",
85−+]
86−+
87−+[[package]]
88−+name = "flate2"
89−+version = "1.0.20"
90−+source = "registry+https://github.com/rust-lang/crates.io-index"
91−+checksum = "cd3aec53de10fe96d7d8c565eb17f2c687bb5518a2ec453b5b1252964526abe0"
92−+dependencies = [
93−+ "cfg-if",
94−+ "crc32fast",
95−+ "libc",
96−+ "miniz_oxide",
97−+]
98−+
99−+[[package]]
100−+name = "fuchsia-cprng"
101−+version = "0.1.1"
102−+source = "registry+https://github.com/rust-lang/crates.io-index"
103−+checksum = "a06f77d526c1a601b7c4cdd98f54b5eaabffc14d5f2f0296febdc7f357c6d3ba"
104−+
105−+[[package]]
106−+name = "getrandom"
107−+version = "0.2.3"
108−+source = "registry+https://github.com/rust-lang/crates.io-index"
109−+checksum = "7fcd999463524c52659517fe2cea98493cfe485d10565e7b0fb07dbba7ad2753"
110−+dependencies = [
111−+ "cfg-if",
112−+ "libc",
113−+ "wasi",
114−+]
115−+
116−+[[package]]
117−+name = "libc"
118−+version = "0.2.98"
119−+source = "registry+https://github.com/rust-lang/crates.io-index"
120−+checksum = "320cfe77175da3a483efed4bc0adc1968ca050b098ce4f2f1c13a56626128790"
121−+
122−+[[package]]
123−+name = "lzma-sys"
124−+version = "0.1.17"
125−+source = "registry+https://github.com/rust-lang/crates.io-index"
126−+checksum = "bdb4b7c3eddad11d3af9e86c487607d2d2442d185d848575365c4856ba96d619"
127−+dependencies = [
128−+ "cc",
129−+ "libc",
130−+ "pkg-config",
131−+]
132−+
133−+[[package]]
134−+name = "miniz_oxide"
135−+version = "0.4.4"
136−+source = "registry+https://github.com/rust-lang/crates.io-index"
137−+checksum = "a92518e98c078586bc6c934028adcca4c92a53d6a958196de835170a01d84e4b"
138−+dependencies = [
139−+ "adler",
140−+ "autocfg",
141−+]
142−+
143−+[[package]]
144−+name = "ouch"
145−+version = "0.1.5"
146−+dependencies = [
147−+ "bzip2",
148−+ "flate2",
149−+ "rand 0.8.4",
150−+ "strsim",
151−+ "tar",
152−+ "tempdir",
153−+ "walkdir",
154−+ "xz2",
155−+ "zip",
156−+]
157−+
158−+[[package]]
159−+name = "pkg-config"
160−+version = "0.3.19"
161−+source = "registry+https://github.com/rust-lang/crates.io-index"
162−+checksum = "3831453b3449ceb48b6d9c7ad7c96d5ea673e9b470a1dc578c2ce6521230884c"
163−+
164−+[[package]]
165−+name = "ppv-lite86"
166−+version = "0.2.10"
167−+source = "registry+https://github.com/rust-lang/crates.io-index"
168−+checksum = "ac74c624d6b2d21f425f752262f42188365d7b8ff1aff74c82e45136510a4857"
169−+
170−+[[package]]
171−+name = "proc-macro2"
172−+version = "1.0.28"
173−+source = "registry+https://github.com/rust-lang/crates.io-index"
174−+checksum = "5c7ed8b8c7b886ea3ed7dde405212185f423ab44682667c8c6dd14aa1d9f6612"
175−+dependencies = [
176−+ "unicode-xid",
177−+]
178−+
179−+[[package]]
180−+name = "quote"
181−+version = "1.0.9"
182−+source = "registry+https://github.com/rust-lang/crates.io-index"
183−+checksum = "c3d0b9745dc2debf507c8422de05d7226cc1f0644216dfdfead988f9b1ab32a7"
184−+dependencies = [
185−+ "proc-macro2",
186−+]
187−+
188−+[[package]]
189−+name = "rand"
190−+version = "0.4.6"
191−+source = "registry+https://github.com/rust-lang/crates.io-index"
192−+checksum = "552840b97013b1a26992c11eac34bdd778e464601a4c2054b5f0bff7c6761293"
193−+dependencies = [
194−+ "fuchsia-cprng",
195−+ "libc",
196−+ "rand_core 0.3.1",
197−+ "rdrand",
198−+ "winapi",
199−+]
200−+
201−+[[package]]
202−+name = "rand"
203−+version = "0.8.4"
204−+source = "registry+https://github.com/rust-lang/crates.io-index"
205−+checksum = "2e7573632e6454cf6b99d7aac4ccca54be06da05aca2ef7423d22d27d4d4bcd8"
206−+dependencies = [
207−+ "libc",
208−+ "rand_chacha",
209−+ "rand_core 0.6.3",
210−+]
211−+
212−+[[package]]
213−+name = "rand_chacha"
214−+version = "0.3.1"
215−+source = "registry+https://github.com/rust-lang/crates.io-index"
216−+checksum = "e6c10a63a0fa32252be49d21e7709d4d4baf8d231c2dbce1eaa8141b9b127d88"
217−+dependencies = [
218−+ "ppv-lite86",
219−+ "rand_core 0.6.3",
220−+]
221−+
222−+[[package]]
223−+name = "rand_core"
224−+version = "0.3.1"
225−+source = "registry+https://github.com/rust-lang/crates.io-index"
226−+checksum = "7a6fdeb83b075e8266dcc8762c22776f6877a63111121f5f8c7411e5be7eed4b"
227−+dependencies = [
228−+ "rand_core 0.4.2",
229−+]
230−+
231−+[[package]]
232−+name = "rand_core"
233−+version = "0.4.2"
234−+source = "registry+https://github.com/rust-lang/crates.io-index"
235−+checksum = "9c33a3c44ca05fa6f1807d8e6743f3824e8509beca625669633be0acbdf509dc"
236−+
237−+[[package]]
238−+name = "rand_core"
239−+version = "0.6.3"
240−+source = "registry+https://github.com/rust-lang/crates.io-index"
241−+checksum = "d34f1408f55294453790c48b2f1ebbb1c5b4b7563eb1f418bcfcfdbb06ebb4e7"
242−+dependencies = [
243−+ "getrandom",
244−+]
245−+
246−+[[package]]
247−+name = "rdrand"
248−+version = "0.4.0"
249−+source = "registry+https://github.com/rust-lang/crates.io-index"
250−+checksum = "678054eb77286b51581ba43620cc911abf02758c91f93f479767aed0f90458b2"
251−+dependencies = [
252−+ "rand_core 0.3.1",
253−+]
254−+
255−+[[package]]
256−+name = "redox_syscall"
257−+version = "0.2.9"
258−+source = "registry+https://github.com/rust-lang/crates.io-index"
259−+checksum = "5ab49abadf3f9e1c4bc499e8845e152ad87d2ad2d30371841171169e9d75feee"
260−+dependencies = [
261−+ "bitflags",
262−+]
263−+
264−+[[package]]
265−+name = "remove_dir_all"
266−+version = "0.5.3"
267−+source = "registry+https://github.com/rust-lang/crates.io-index"
268−+checksum = "3acd125665422973a33ac9d3dd2df85edad0f4ae9b00dafb1a05e43a9f5ef8e7"
269−+dependencies = [
270−+ "winapi",
271−+]
272−+
273−+[[package]]
274−+name = "same-file"
275−+version = "1.0.6"
276−+source = "registry+https://github.com/rust-lang/crates.io-index"
277−+checksum = "93fc1dc3aaa9bfed95e02e6eadabb4baf7e3078b0bd1b4d7b6b0b68378900502"
278−+dependencies = [
279−+ "winapi-util",
280−+]
281−+
282−+[[package]]
283−+name = "strsim"
284−+version = "0.10.0"
285−+source = "registry+https://github.com/rust-lang/crates.io-index"
286−+checksum = "73473c0e59e6d5812c5dfe2a064a6444949f089e20eec9a2e5506596494e4623"
287−+
288−+[[package]]
289−+name = "syn"
290−+version = "1.0.74"
291−+source = "registry+https://github.com/rust-lang/crates.io-index"
292−+checksum = "1873d832550d4588c3dbc20f01361ab00bfe741048f71e3fecf145a7cc18b29c"
293−+dependencies = [
294−+ "proc-macro2",
295−+ "quote",
296−+ "unicode-xid",
297−+]
298−+
299−+[[package]]
300−+name = "tar"
301−+version = "0.4.35"
302−+source = "registry+https://github.com/rust-lang/crates.io-index"
303−+checksum = "7d779dc6aeff029314570f666ec83f19df7280bb36ef338442cfa8c604021b80"
304−+dependencies = [
305−+ "filetime",
306−+ "libc",
307−+ "xattr",
308−+]
309−+
310−+[[package]]
311−+name = "tempdir"
312−+version = "0.3.7"
313−+source = "registry+https://github.com/rust-lang/crates.io-index"
314−+checksum = "15f2b5fb00ccdf689e0149d1b1b3c03fead81c2b37735d812fa8bddbbf41b6d8"
315−+dependencies = [
316−+ "rand 0.4.6",
317−+ "remove_dir_all",
318−+]
319−+
320−+[[package]]
321−+name = "thiserror"
322−+version = "1.0.26"
323−+source = "registry+https://github.com/rust-lang/crates.io-index"
324−+checksum = "93119e4feac1cbe6c798c34d3a53ea0026b0b1de6a120deef895137c0529bfe2"
325−+dependencies = [
326−+ "thiserror-impl",
327−+]
328−+
329−+[[package]]
330−+name = "thiserror-impl"
331−+version = "1.0.26"
332−+source = "registry+https://github.com/rust-lang/crates.io-index"
333−+checksum = "060d69a0afe7796bf42e9e2ff91f5ee691fb15c53d38b4b62a9a53eb23164745"
334−+dependencies = [
335−+ "proc-macro2",
336−+ "quote",
337−+ "syn",
338−+]
339−+
340−+[[package]]
341−+name = "time"
342−+version = "0.1.43"
343−+source = "registry+https://github.com/rust-lang/crates.io-index"
344−+checksum = "ca8a50ef2360fbd1eeb0ecd46795a87a19024eb4b53c5dc916ca1fd95fe62438"
345−+dependencies = [
346−+ "libc",
347−+ "winapi",
348−+]
349−+
350−+[[package]]
351−+name = "unicode-xid"
352−+version = "0.2.2"
353−+source = "registry+https://github.com/rust-lang/crates.io-index"
354−+checksum = "8ccb82d61f80a663efe1f787a51b16b5a51e3314d6ac365b08639f52387b33f3"
355−+
356−+[[package]]
357−+name = "walkdir"
358−+version = "2.3.2"
359−+source = "registry+https://github.com/rust-lang/crates.io-index"
360−+checksum = "808cf2735cd4b6866113f648b791c6adc5714537bc222d9347bb203386ffda56"
361−+dependencies = [
362−+ "same-file",
363−+ "winapi",
364−+ "winapi-util",
365−+]
366−+
367−+[[package]]
368−+name = "wasi"
369−+version = "0.10.2+wasi-snapshot-preview1"
370−+source = "registry+https://github.com/rust-lang/crates.io-index"
371−+checksum = "fd6fbd9a79829dd1ad0cc20627bf1ed606756a7f77edff7b66b7064f9cb327c6"
372−+
373−+[[package]]
374−+name = "winapi"
375−+version = "0.3.9"
376−+source = "registry+https://github.com/rust-lang/crates.io-index"
377−+checksum = "5c839a674fcd7a98952e593242ea400abe93992746761e38641405d28b00f419"
378−+dependencies = [
379−+ "winapi-i686-pc-windows-gnu",
380−+ "winapi-x86_64-pc-windows-gnu",
381−+]
382−+
383−+[[package]]
384−+name = "winapi-i686-pc-windows-gnu"
385−+version = "0.4.0"
386−+source = "registry+https://github.com/rust-lang/crates.io-index"
387−+checksum = "ac3b87c63620426dd9b991e5ce0329eff545bccbbb34f3be09ff6fb6ab51b7b6"
388−+
389−+[[package]]
390−+name = "winapi-util"
391−+version = "0.1.5"
392−+source = "registry+https://github.com/rust-lang/crates.io-index"
393−+checksum = "70ec6ce85bb158151cae5e5c87f95a8e97d2c0c4b001223f33a334e3ce5de178"
394−+dependencies = [
395−+ "winapi",
396−+]
397−+
398−+[[package]]
399−+name = "winapi-x86_64-pc-windows-gnu"
400−+version = "0.4.0"
401−+source = "registry+https://github.com/rust-lang/crates.io-index"
402−+checksum = "712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f"
403−+
404−+[[package]]
405−+name = "xattr"
406−+version = "0.2.2"
407−+source = "registry+https://github.com/rust-lang/crates.io-index"
408−+checksum = "244c3741f4240ef46274860397c7c74e50eb23624996930e484c16679633a54c"
409−+dependencies = [
410−+ "libc",
411−+]
412−+
413−+[[package]]
414−+name = "xz2"
415−+version = "0.1.6"
416−+source = "registry+https://github.com/rust-lang/crates.io-index"
417−+checksum = "c179869f34fc7c01830d3ce7ea2086bc3a07e0d35289b667d0a8bf910258926c"
418−+dependencies = [
419−+ "lzma-sys",
420−+]
421−+
422−+[[package]]
423−+name = "zip"
424−+version = "0.5.13"
425−+source = "registry+https://github.com/rust-lang/crates.io-index"
426−+checksum = "93ab48844d61251bb3835145c521d88aa4031d7139e8485990f60ca911fa0815"
427−+dependencies = [
428−+ "byteorder",
429−+ "bzip2",
430−+ "crc32fast",
431−+ "flate2",
432−+ "thiserror",
433−+ "time",
434−+]
pkgs/tools/compression/ouch/default.nix+6−12
@@ -2,26 +2,20 @@
22
33rustPlatform.buildRustPackage rec {
44 pname = "ouch";
5− version = "0.1.5";
5+ version = "0.2.0";
66
77 src = fetchFromGitHub {
8− owner = "vrmiguel";
8+ owner = "ouch-org";
99 repo = pname;
1010 rev = version;
11− sha256 = "00ah8hgrppa61jhwb74zl5b509q0yp2pp27w9frm814iqx70qn38";
11+ sha256 = "sha256-OhEr/HvwgDkB8h3cpayOlnrs6OXiwAsQUH9XGqi5rpc=";
1212 };
1313
14− cargoPatches = [
15− # a patch file to add Cargo.lock in the source code
16− # https://github.com/vrmiguel/ouch/pull/46
17− ./add-Cargo.lock.patch
18− ];
19−
20− cargoSha256 = "181aq8r78g4bl1ndlwl54ws5ccrwph0mmk9506djxvfdy3hndxkg";
14+ cargoSha256 = "sha256-lKsB75Lb9IYS80qu4jaIpnbEOr4Ow9M5S45Kk03An2o=";
2115
2216 meta = with lib; {
23− description = "Taking the pain away from file (de)compression";
24− homepage = "https://github.com/vrmiguel/ouch";
17+ description = "A command-line utility for easily compressing and decompressing files and directories";
18+ homepage = "https://github.com/ouch-org/ouch";
2519 license = licenses.mit;
2620 maintainers = [ maintainers.psibi ];
2721 };