git.iko.soy/typeable/nixpkgs
on master help sign in
exa: 0.7.0 -> 0.8.0
commit61c4ff5c31a4b583924d86be380efef7ef1d132f authordywedir <dywedir@protonmail.ch> dateTue 3 Oct 2017, 13:17 (9 years ago) parent3a86e15
1 file changed+5−31
pkgs/tools/misc/exa/default.nix+5−31
pkgs/tools/misc/exa/default.nix+5−31
@@ -2,34 +2,17 @@
22
33with rustPlatform;
44
5−let
6− # check for updates
7− zoneinfo_compiled = fetchFromGitHub {
8− owner = "rust-datetime";
9− repo = "zoneinfo-compiled";
10− rev = "f56921ea5e9f7cf065b1480ff270a1757c1f742f";
11− sha256 = "1xmw7c5f5n45lkxnyxp4llfv1bnqhc876w98165ccdbbiylfkw26";
12− };
13− cargoPatch = ''
14− # use non-git dependencies
15− patch Cargo.toml <<EOF
16− 46c46
17− < git = "https://github.com/rust-datetime/zoneinfo-compiled.git"
18− ---
19− > path = "${zoneinfo_compiled}"
20− EOF
21− '';
22−in buildRustPackage rec {
5+buildRustPackage rec {
236 name = "exa-${version}";
24− version = "0.7.0";
7+ version = "0.8.0";
258
26− depsSha256 = "0j320hhf2vqaha137pjj4pyiw6d3p5h3nhy3pl9vna1g5mnl1sn7";
9+ depsSha256 = "0yz41prkjs5rmvdhr9k58a52l7hvwy5mfg8rcpsq4ybgf601lja2";
2710
2811 src = fetchFromGitHub {
2912 owner = "ogham";
3013 repo = "exa";
3114 rev = "v${version}";
32− sha256 = "0i9psgna2wwv9qyw9cif4qznqiyi16vl763hpm2yr195aj700339";
15+ sha256 = "0jy11a3xfnfnmyw1kjmv4ffavhijs8c940kw24vafklnacx5n88m";
3316 };
3417
3518 nativeBuildInputs = [ cmake pkgconfig perl ];
@@ -38,15 +21,6 @@ in buildRustPackage rec {
3821 # Some tests fail, but Travis ensures a proper build
3922 doCheck = false;
4023
41− cargoUpdateHook = ''
42− ${cargoPatch}
43− '';
44− cargoDepsHook = ''
45− pushd $sourceRoot
46− ${cargoPatch}
47− popd
48− '';
49−
5024 meta = with stdenv.lib; {
5125 description = "Replacement for 'ls' written in Rust";
5226 longDescription = ''
@@ -57,7 +31,7 @@ in buildRustPackage rec {
5731 for a directory, or recursing into directories with a tree view. exa is
5832 written in Rust, so it’s small, fast, and portable.
5933 '';
60− homepage = http://the.exa.website;
34+ homepage = https://the.exa.website;
6135 license = licenses.mit;
6236 maintainer = [ maintainers.ehegnes ];
6337 };