diff --git a/pkgs/tools/misc/exa/default.nix b/pkgs/tools/misc/exa/default.nix index c49f11a72a9..4dd49e02e0e 100644 --- a/pkgs/tools/misc/exa/default.nix +++ b/pkgs/tools/misc/exa/default.nix @@ -1,4 +1,4 @@ -{ stdenv, fetchFromGitHub, rustPlatform, openssl, cmake, perl, pkgconfig, zlib }: +{ stdenv, fetchFromGitHub, rustPlatform, cmake, perl, pkgconfig, zlib }: with rustPlatform; @@ -12,31 +12,28 @@ let }; cargoPatch = '' # use non-git dependencies - patch -p1 < path = "${zoneinfo_compiled}" + EOF ''; in buildRustPackage rec { - name = "exa-unstable-2017-04-02"; + name = "exa-${version}"; + version = "0.6.0"; - depsSha256 = "0szjba03q4iwzjzb2dp39hhz554ys4z11qdhcdq1mgxqk94scjf4"; + depsSha256 = "0c1vyl1c67xq18ss0xs5cjdfn892jpwj6ml51dfppzfyns3namm4"; src = fetchFromGitHub { owner = "ogham"; repo = "exa"; - rev = "1a6066327d2643881996946942aba530e8a1c67c"; - sha256 = "1xrsg3zw5d3sw2bwx8g0lrs6zpk8rdrvvnknf7c9drp7rplmd8zq"; + rev = "v${version}"; + sha256 = "0065gj4pbbppbnwp23s6bb7zlz428nrir00d0kz7axydxk6swhyv"; }; nativeBuildInputs = [ cmake pkgconfig perl ]; - buildInputs = [ openssl zlib ]; + buildInputs = [ zlib ]; # Some tests fail, but Travis ensures a proper build doCheck = false; @@ -60,7 +57,7 @@ in buildRustPackage rec { for a directory, or recursing into directories with a tree view. exa is written in Rust, so it’s small, fast, and portable. ''; - homepage = http://bsago.me/exa; + homepage = http://the.exa.website; license = licenses.mit; maintainer = [ maintainers.ehegnes ]; };