Merge pull request #151239 from qowoz/just

just: 0.10.3 -> 0.10.5
This commit is contained in:
Mario Rodas 2021-12-18 22:51:00 -05:00 committed by GitHub
commit e3ccfc27e0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -2,25 +2,19 @@
rustPlatform.buildRustPackage rec {
pname = "just";
version = "0.10.3";
version = "0.10.5";
src = fetchFromGitHub {
owner = "casey";
repo = pname;
rev = version;
sha256 = "sha256-r6kP1LbT8ZQoxSuy7jpnHD2/RgcPvmTNfjKzj5ceXRc=";
sha256 = "sha256-PbWV8It/ubDbZooJdt/KWihnp221Pexs0U6zMa8KSMw=";
};
cargoSha256 = "sha256-y6RcFH2qDoM3wWnZ6ewC9QyRD3mFsoakToRmon4bAnE=";
cargoSha256 = "sha256-VRfk6566SNmvCxtD9EdDxDdBvQuEfjPVggXzt4VoYRg=";
nativeBuildInputs = [ installShellFiles ];
buildInputs = lib.optionals stdenv.isDarwin [ libiconv ];
postPatch = ''
# this hard codes the compiler, which breaks the aarch64 in particular
# we rather want to set the compiler ourself
rm .cargo/config
'';
postInstall = ''
installManPage man/just.1