diff options
author | dywedir <dywedir@protonmail.ch> | 2017-10-03 13:17:40 +0300 |
---|---|---|
committer | dywedir <dywedir@protonmail.ch> | 2017-10-03 13:17:40 +0300 |
commit | 61c4ff5c31a4b583924d86be380efef7ef1d132f (patch) | |
tree | 01ec4dd3fd985e4c30d38bd88509b09321fdf9c8 /pkgs/tools/misc/exa | |
parent | 3a86e15461f46a4cf8bdfa02bfc3e16fa6a9d17a (diff) | |
download | nixlib-61c4ff5c31a4b583924d86be380efef7ef1d132f.tar nixlib-61c4ff5c31a4b583924d86be380efef7ef1d132f.tar.gz nixlib-61c4ff5c31a4b583924d86be380efef7ef1d132f.tar.bz2 nixlib-61c4ff5c31a4b583924d86be380efef7ef1d132f.tar.lz nixlib-61c4ff5c31a4b583924d86be380efef7ef1d132f.tar.xz nixlib-61c4ff5c31a4b583924d86be380efef7ef1d132f.tar.zst nixlib-61c4ff5c31a4b583924d86be380efef7ef1d132f.zip |
exa: 0.7.0 -> 0.8.0
Diffstat (limited to 'pkgs/tools/misc/exa')
-rw-r--r-- | pkgs/tools/misc/exa/default.nix | 36 |
1 files changed, 5 insertions, 31 deletions
diff --git a/pkgs/tools/misc/exa/default.nix b/pkgs/tools/misc/exa/default.nix index 110125727bf0..488f7482b154 100644 --- a/pkgs/tools/misc/exa/default.nix +++ b/pkgs/tools/misc/exa/default.nix @@ -2,34 +2,17 @@ with rustPlatform; -let - # check for updates - zoneinfo_compiled = fetchFromGitHub { - owner = "rust-datetime"; - repo = "zoneinfo-compiled"; - rev = "f56921ea5e9f7cf065b1480ff270a1757c1f742f"; - sha256 = "1xmw7c5f5n45lkxnyxp4llfv1bnqhc876w98165ccdbbiylfkw26"; - }; - cargoPatch = '' - # use non-git dependencies - patch Cargo.toml <<EOF - 46c46 - < git = "https://github.com/rust-datetime/zoneinfo-compiled.git" - --- - > path = "${zoneinfo_compiled}" - EOF - ''; -in buildRustPackage rec { +buildRustPackage rec { name = "exa-${version}"; - version = "0.7.0"; + version = "0.8.0"; - depsSha256 = "0j320hhf2vqaha137pjj4pyiw6d3p5h3nhy3pl9vna1g5mnl1sn7"; + depsSha256 = "0yz41prkjs5rmvdhr9k58a52l7hvwy5mfg8rcpsq4ybgf601lja2"; src = fetchFromGitHub { owner = "ogham"; repo = "exa"; rev = "v${version}"; - sha256 = "0i9psgna2wwv9qyw9cif4qznqiyi16vl763hpm2yr195aj700339"; + sha256 = "0jy11a3xfnfnmyw1kjmv4ffavhijs8c940kw24vafklnacx5n88m"; }; nativeBuildInputs = [ cmake pkgconfig perl ]; @@ -38,15 +21,6 @@ in buildRustPackage rec { # Some tests fail, but Travis ensures a proper build doCheck = false; - cargoUpdateHook = '' - ${cargoPatch} - ''; - cargoDepsHook = '' - pushd $sourceRoot - ${cargoPatch} - popd - ''; - meta = with stdenv.lib; { description = "Replacement for 'ls' written in Rust"; longDescription = '' @@ -57,7 +31,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://the.exa.website; + homepage = https://the.exa.website; license = licenses.mit; maintainer = [ maintainers.ehegnes ]; }; |