1
- { stdenv , fetchFromGitHub , rustPlatform , openssl , cmake , perl , pkgconfig , zlib } :
1
+ { stdenv , fetchFromGitHub , rustPlatform , cmake , perl , pkgconfig , zlib } :
2
2
3
3
with rustPlatform ;
4
4
12
12
} ;
13
13
cargoPatch = ''
14
14
# use non-git dependencies
15
- patch -p1 <<EOF
16
- --- exa-v0.4.1-src.org/Cargo.toml 1970-01-01 01:00:01.000000000 +0100
17
- +++ exa-v0.4.1-src/Cargo.toml 2017-04-04 10:33:31.554377034 +0200
18
- @@ -42,4 +42,4 @@
19
- optional = true
20
-
21
- [dependencies.zoneinfo_compiled]
22
- -git = "https://github.com/rust-datetime/zoneinfo-compiled.git"
23
- +path = "${ zoneinfo_compiled } "
24
- EOF
15
+ patch Cargo.toml <<EOF
16
+ 46c46
17
+ < git = "https://github.com/rust-datetime/zoneinfo-compiled.git"
18
+ ---
19
+ > path = "${ zoneinfo_compiled } "
20
+ EOF
25
21
'' ;
26
22
in buildRustPackage rec {
27
- name = "exa-unstable-2017-04-02" ;
23
+ name = "exa-${ version } " ;
24
+ version = "0.6.0" ;
28
25
29
- depsSha256 = "0szjba03q4iwzjzb2dp39hhz554ys4z11qdhcdq1mgxqk94scjf4 " ;
26
+ depsSha256 = "0c1vyl1c67xq18ss0xs5cjdfn892jpwj6ml51dfppzfyns3namm4 " ;
30
27
31
28
src = fetchFromGitHub {
32
29
owner = "ogham" ;
33
30
repo = "exa" ;
34
- rev = "1a6066327d2643881996946942aba530e8a1c67c " ;
35
- sha256 = "1xrsg3zw5d3sw2bwx8g0lrs6zpk8rdrvvnknf7c9drp7rplmd8zq " ;
31
+ rev = "v ${ version } " ;
32
+ sha256 = "0065gj4pbbppbnwp23s6bb7zlz428nrir00d0kz7axydxk6swhyv " ;
36
33
} ;
37
34
38
35
nativeBuildInputs = [ cmake pkgconfig perl ] ;
39
- buildInputs = [ openssl zlib ] ;
36
+ buildInputs = [ zlib ] ;
40
37
41
38
# Some tests fail, but Travis ensures a proper build
42
39
doCheck = false ;
@@ -60,7 +57,7 @@ in buildRustPackage rec {
60
57
for a directory, or recursing into directories with a tree view. exa is
61
58
written in Rust, so it’s small, fast, and portable.
62
59
'' ;
63
- homepage = http://bsago.me/ exa ;
60
+ homepage = http://the. exa.website ;
64
61
license = licenses . mit ;
65
62
maintainer = [ maintainers . ehegnes ] ;
66
63
} ;
0 commit comments