Skip to content

Commit 9079f94

Browse files
dermetfanfpletz
authored andcommittedJun 13, 2017
exa: 2017-04-02 -> 0.6.0
1 parent b83609a commit 9079f94

File tree

1 file changed

+14
-17
lines changed

1 file changed

+14
-17
lines changed
 

Diff for: ‎pkgs/tools/misc/exa/default.nix

+14-17
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
{ stdenv, fetchFromGitHub, rustPlatform, openssl, cmake, perl, pkgconfig, zlib }:
1+
{ stdenv, fetchFromGitHub, rustPlatform, cmake, perl, pkgconfig, zlib }:
22

33
with rustPlatform;
44

@@ -12,31 +12,28 @@ let
1212
};
1313
cargoPatch = ''
1414
# 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
2521
'';
2622
in buildRustPackage rec {
27-
name = "exa-unstable-2017-04-02";
23+
name = "exa-${version}";
24+
version = "0.6.0";
2825

29-
depsSha256 = "0szjba03q4iwzjzb2dp39hhz554ys4z11qdhcdq1mgxqk94scjf4";
26+
depsSha256 = "0c1vyl1c67xq18ss0xs5cjdfn892jpwj6ml51dfppzfyns3namm4";
3027

3128
src = fetchFromGitHub {
3229
owner = "ogham";
3330
repo = "exa";
34-
rev = "1a6066327d2643881996946942aba530e8a1c67c";
35-
sha256 = "1xrsg3zw5d3sw2bwx8g0lrs6zpk8rdrvvnknf7c9drp7rplmd8zq";
31+
rev = "v${version}";
32+
sha256 = "0065gj4pbbppbnwp23s6bb7zlz428nrir00d0kz7axydxk6swhyv";
3633
};
3734

3835
nativeBuildInputs = [ cmake pkgconfig perl ];
39-
buildInputs = [ openssl zlib ];
36+
buildInputs = [ zlib ];
4037

4138
# Some tests fail, but Travis ensures a proper build
4239
doCheck = false;
@@ -60,7 +57,7 @@ in buildRustPackage rec {
6057
for a directory, or recursing into directories with a tree view. exa is
6158
written in Rust, so it’s small, fast, and portable.
6259
'';
63-
homepage = http://bsago.me/exa;
60+
homepage = http://the.exa.website;
6461
license = licenses.mit;
6562
maintainer = [ maintainers.ehegnes ];
6663
};

0 commit comments

Comments
 (0)
Please sign in to comment.