git.iko.soy/typeable/nixpkgs
on master help sign in
Merge pull request #30054 from dywedir/exa

exa: 0.7.0 -> 0.8.0, rustRegistry: 2017-09-10 -> 2017-10-03

commitd43b06a7c4096aaaa60a4c10a486460136b6fdd1 authorTim Steinbach <NeQuissimus@users.noreply.github.com> dateTue 3 Oct 2017, 08:41 (9 years ago) parent88f197f61c4ff5
2 files changed+8−34
pkgs/tools/misc/exa/default.nix+5−31 pkgs/top-level/rust-packages.nix+3−3
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 };
pkgs/top-level/rust-packages.nix+3−3
@@ -7,13 +7,13 @@
77{ stdenv, fetchFromGitHub, git }:
88
99stdenv.mkDerivation {
10− name = "rustRegistry-2017-09-10";
10+ name = "rustRegistry-2017-10-03";
1111
1212 src = fetchFromGitHub {
1313 owner = "rust-lang";
1414 repo = "crates.io-index";
15− rev = "2e573cbbb2db591ff9d46339910f21e35b21339f";
16− sha256 = "0sgpc2aygmvyjb3kinzh83bj4j92ny18159alqb1x8w26wqmisfq";
15+ rev = "f9e21955350caf67db45c4a4a38dbab2f2250bfc";
16+ sha256 = "1yk0l0r9idn7crnnw44sig69kvvyq3ycv417s88hd16m1fpl5y77";
1717 };
1818 phases = [ "unpackPhase" "installPhase" ];
1919 installPhase = ''