mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-10-13 16:07:30 +03:00
just: 1.13.0 -> 1.14.0
This commit is contained in:
parent
bc89858012
commit
29a57bc337
@ -7,21 +7,22 @@
|
|||||||
, installShellFiles
|
, installShellFiles
|
||||||
, libiconv
|
, libiconv
|
||||||
, mdbook
|
, mdbook
|
||||||
|
, nix-update-script
|
||||||
}:
|
}:
|
||||||
|
|
||||||
rustPlatform.buildRustPackage rec {
|
rustPlatform.buildRustPackage rec {
|
||||||
pname = "just";
|
pname = "just";
|
||||||
version = "1.13.0";
|
version = "1.14.0";
|
||||||
outputs = [ "out" "man" "doc" ];
|
outputs = [ "out" "man" "doc" ];
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "casey";
|
owner = "casey";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = "refs/tags/${version}";
|
rev = "refs/tags/${version}";
|
||||||
hash = "sha256-5JI3QaUuWvwI3pClZXMPU8v1lcPZ5YioMPGKl/lIjQ0=";
|
hash = "sha256-gItTmei+nxa56CoVv9xBmsOUH5AP48XNxdlHmXRqo2Y=";
|
||||||
};
|
};
|
||||||
|
|
||||||
cargoHash = "sha256-91C/5m2avsW7GKQDg/Ez9fzzFhe8ih1De1RbV/MBJbM=";
|
cargoHash = "sha256-iZh9M3QgTH0brh6DkKeQyJiCDmYFUggMiZWTkAGjggE=";
|
||||||
|
|
||||||
nativeBuildInputs = [ installShellFiles mdbook ];
|
nativeBuildInputs = [ installShellFiles mdbook ];
|
||||||
buildInputs = lib.optionals stdenv.isDarwin [ libiconv ];
|
buildInputs = lib.optionals stdenv.isDarwin [ libiconv ];
|
||||||
@ -57,6 +58,7 @@ rustPlatform.buildRustPackage rec {
|
|||||||
"--skip=edit" # trying to run "vim" fails as there's no /usr/bin/env or which in the sandbox to find vim and the dependency is not easily patched
|
"--skip=edit" # trying to run "vim" fails as there's no /usr/bin/env or which in the sandbox to find vim and the dependency is not easily patched
|
||||||
"--skip=run_shebang" # test case very rarely fails with "Text file busy"
|
"--skip=run_shebang" # test case very rarely fails with "Text file busy"
|
||||||
"--skip=invoke_error_function" # wants JUST_CHOOSER to be fzf
|
"--skip=invoke_error_function" # wants JUST_CHOOSER to be fzf
|
||||||
|
"--skip=choose::default" # symlinks cat->fzf which fails as coreutils doesn't understand name
|
||||||
];
|
];
|
||||||
|
|
||||||
postInstall = ''
|
postInstall = ''
|
||||||
@ -70,6 +72,8 @@ rustPlatform.buildRustPackage rec {
|
|||||||
--zsh completions/just.zsh
|
--zsh completions/just.zsh
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
passthru.updateScript = nix-update-script { };
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
homepage = "https://github.com/casey/just";
|
homepage = "https://github.com/casey/just";
|
||||||
changelog = "https://github.com/casey/just/blob/${version}/CHANGELOG.md";
|
changelog = "https://github.com/casey/just/blob/${version}/CHANGELOG.md";
|
||||||
|
Loading…
Reference in New Issue
Block a user