lnav: 0.12.3 -> 0.12.4 (#394943)

authored by Guillaume Girol and committed by GitHub f8c4e5e7 fd5897d3

+17 -12
+17 -12
pkgs/by-name/ln/lnav/package.nix
··· 19 19 cargo, 20 20 rustPlatform, 21 21 rustc, 22 + libunistring, 22 23 }: 23 24 24 - stdenv.mkDerivation rec { 25 + stdenv.mkDerivation (finalAttrs: { 25 26 pname = "lnav"; 26 - version = "0.12.3"; 27 + version = "0.12.4"; 27 28 28 29 src = fetchFromGitHub { 29 30 owner = "tstack"; 30 31 repo = "lnav"; 31 - rev = "v${version}"; 32 - sha256 = "sha256-m0r7LAo9pYFpS+oimVCNCipojxPzMMsLLjhjkitEwow="; 32 + tag = "v${finalAttrs.version}"; 33 + hash = "sha256-XS3/km2sJwRnWloLKu9X9z07+qBFRfUsaRpZVYjoclI="; 33 34 }; 34 35 35 36 enableParallelBuilding = true; 37 + 36 38 separateDebugInfo = true; 37 39 38 40 strictDeps = true; 41 + 39 42 depsBuildBuild = [ buildPackages.stdenv.cc ]; 43 + 40 44 nativeBuildInputs = [ 41 45 autoconf 42 46 automake ··· 47 51 rustPlatform.cargoSetupHook 48 52 rustc 49 53 ]; 54 + 50 55 buildInputs = 51 56 [ 52 57 bzip2 ··· 56 61 sqlite 57 62 curl 58 63 libarchive 64 + libunistring 59 65 ] 60 66 ++ lib.optionals (!stdenv.hostPlatform.isDarwin) [ 61 67 gpm 62 68 ]; 63 69 64 70 cargoDeps = rustPlatform.fetchCargoVendor { 65 - src = "${src}/src/third-party/prqlc-c"; 66 - hash = "sha256-jfmr6EuNW2mEHTEVHn6YnBDMzKxKI097vEFHXC4NT2Y="; 71 + src = "${finalAttrs.src}/src/third-party/prqlc-c"; 72 + hash = "sha256-svi+C3ELw6Ly0mtji8xOv+DDqR0z5shFNazHa3kDQVg="; 67 73 }; 68 74 69 75 cargoRoot = "src/third-party/prqlc-c"; ··· 74 80 75 81 passthru.updateScript = nix-update-script { }; 76 82 77 - meta = with lib; { 83 + meta = { 78 84 homepage = "https://github.com/tstack/lnav"; 79 85 description = "Logfile Navigator"; 80 86 longDescription = '' ··· 87 93 will allow the user to quickly and efficiently zero in on problems. 88 94 ''; 89 95 downloadPage = "https://github.com/tstack/lnav/releases"; 90 - license = licenses.bsd2; 91 - maintainers = with maintainers; [ 96 + license = lib.licenses.bsd2; 97 + maintainers = with lib.maintainers; [ 92 98 dochang 93 99 symphorien 94 100 pcasaretto 95 101 ]; 96 - platforms = platforms.unix; 102 + platforms = lib.platforms.unix; 97 103 mainProgram = "lnav"; 98 104 }; 99 - 100 - } 105 + })