Merge master into staging-next
This commit is contained in:
@@ -2,11 +2,11 @@
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "bdf2psf";
|
||||
version = "1.197";
|
||||
version = "1.198";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://debian/pool/main/c/console-setup/bdf2psf_${version}_all.deb";
|
||||
sha256 = "023zj08rk8pmvpr8zybxn2ibrl5qsarkn8rb908mxhhlwpp12f7n";
|
||||
sha256 = "1b57pk10wf667aag3mhh397sfra44gilnyyg7fm532qaw3xapv2i";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ dpkg ];
|
||||
|
||||
@@ -16,16 +16,16 @@ with rustPlatform;
|
||||
|
||||
buildRustPackage rec {
|
||||
pname = "ffsend";
|
||||
version = "0.2.65";
|
||||
version = "0.2.68";
|
||||
|
||||
src = fetchFromGitLab {
|
||||
owner = "timvisee";
|
||||
repo = "ffsend";
|
||||
rev = "v${version}";
|
||||
sha256 = "02yw129rw072jlf36k60jbhfdv9ayx2wb5il61fc0v07h1nd7i0d";
|
||||
sha256 = "0ga1v4s8ks2v632mim8ljya0gi2j8bbwj98yfm3g00p0z1i526qk";
|
||||
};
|
||||
|
||||
cargoSha256 = "04waki61b5pjlgznbhbrjpi9rxgdwg9mjbx2apfh9swvfip602r6";
|
||||
cargoSha256 = "1n9pf29xid6jcas5yx94k4cpmqgx0kpqq7gwf83jisjywxzygh6w";
|
||||
|
||||
nativeBuildInputs = [ cmake pkgconfig installShellFiles ];
|
||||
buildInputs =
|
||||
|
||||
@@ -1,11 +1,20 @@
|
||||
{ lib
|
||||
, stdenv
|
||||
, fetchFromGitHub
|
||||
, rustPlatform
|
||||
, withFzf ? true
|
||||
, fzf
|
||||
|
||||
# checkInputs
|
||||
, fish
|
||||
, powershell
|
||||
, shellcheck
|
||||
, shfmt
|
||||
, xonsh
|
||||
, zsh
|
||||
}:
|
||||
let
|
||||
version = "0.4.3";
|
||||
version = "0.5.0";
|
||||
in
|
||||
rustPlatform.buildRustPackage {
|
||||
pname = "zoxide";
|
||||
@@ -15,15 +24,32 @@ rustPlatform.buildRustPackage {
|
||||
owner = "ajeetdsouza";
|
||||
repo = "zoxide";
|
||||
rev = "v${version}";
|
||||
sha256 = "1ghdal6pqkp56rqawhj26ch1x4cvnjj032xz3626aiddqgn134zj";
|
||||
sha256 = "143lh94mw31pm9q7ib63h2k842g3h222mdabhf25hpb19lka2w5y";
|
||||
};
|
||||
|
||||
# tests are broken on darwin
|
||||
doCheck = !stdenv.isDarwin;
|
||||
|
||||
# fish needs a writable HOME for whatever reason
|
||||
preCheck = ''
|
||||
export HOME=$(mktemp -d)
|
||||
'';
|
||||
|
||||
checkInputs = [
|
||||
fish
|
||||
powershell
|
||||
shellcheck
|
||||
shfmt
|
||||
xonsh
|
||||
zsh
|
||||
];
|
||||
|
||||
postPatch = lib.optionalString withFzf ''
|
||||
substituteInPlace src/fzf.rs \
|
||||
--replace '"fzf"' '"${fzf}/bin/fzf"'
|
||||
'';
|
||||
|
||||
cargoSha256 = "0klnjmda77bq9i9f0rz48jzaw4rcf7hafcjjpb0i570d7hlxnwsr";
|
||||
cargoSha256 = "05mp101yk1zkjj1gwbkldizq6f9f8089gqgvq42c4ngq88pc7v9a";
|
||||
|
||||
meta = with lib; {
|
||||
description = "A fast cd command that learns your habits";
|
||||
|
||||
Reference in New Issue
Block a user