broot: 1.3.1 -> 1.4.0
This commit is contained in:
parent
6d7bff791b
commit
38f289db33
|
@ -4,33 +4,39 @@
|
||||||
, fetchCrate
|
, fetchCrate
|
||||||
, installShellFiles
|
, installShellFiles
|
||||||
, makeWrapper
|
, makeWrapper
|
||||||
|
, pkg-config
|
||||||
|
, libgit2
|
||||||
|
, oniguruma
|
||||||
, libiconv
|
, libiconv
|
||||||
, zlib
|
|
||||||
, Security
|
, Security
|
||||||
|
, zlib
|
||||||
}:
|
}:
|
||||||
|
|
||||||
rustPlatform.buildRustPackage rec {
|
rustPlatform.buildRustPackage rec {
|
||||||
pname = "broot";
|
pname = "broot";
|
||||||
version = "1.3.1";
|
version = "1.4.0";
|
||||||
|
|
||||||
src = fetchCrate {
|
src = fetchCrate {
|
||||||
inherit pname version;
|
inherit pname version;
|
||||||
sha256 = "sha256-Iz9pXvgPIGUnfbnvk5kYAqlrMlz3I2kLszPe8GwwHVk=";
|
sha256 = "sha256-6UveXa0rMWt5FbmhB0CsYRMGMXxL8FB/XivB4Ec93PY=";
|
||||||
};
|
};
|
||||||
|
|
||||||
cargoHash = "sha256-eECAaTUgqasuDhLSk8p/CWSQmV8yV30UoMy3GZCRbGE=";
|
cargoHash = "sha256-c6U1ZOaXZ7RnKD7q0WTkam9gL8SL/naSeHGbB5I82lk=";
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
makeWrapper
|
|
||||||
installShellFiles
|
installShellFiles
|
||||||
|
makeWrapper
|
||||||
|
pkg-config
|
||||||
];
|
];
|
||||||
|
|
||||||
buildInputs = lib.optionals stdenv.isDarwin [
|
buildInputs = [ libgit2 oniguruma ] ++ lib.optionals stdenv.isDarwin [
|
||||||
libiconv
|
libiconv
|
||||||
Security
|
Security
|
||||||
zlib
|
zlib
|
||||||
];
|
];
|
||||||
|
|
||||||
|
RUSTONIG_SYSTEM_LIBONIG = true;
|
||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
# Fill the version stub in the man page. We can't fill the date
|
# Fill the version stub in the man page. We can't fill the date
|
||||||
# stub reproducibly.
|
# stub reproducibly.
|
||||||
|
|
Loading…
Reference in a new issue