diff options
author | figsoda <figsoda@pm.me> | 2022-11-24 00:32:22 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-11-24 00:32:22 -0500 |
commit | a48a6a8253cae8c700d050b24ae316f96fcdf1cc (patch) | |
tree | d1871dd9686c305406d626850e89b818a3b8ffd7 /pkgs/tools | |
parent | 8e8b5f3b1e899bf5d250279578c0283705b8cdb4 (diff) | |
parent | 9e279b7bd3d89850d21b2cbfc876f9cac1157241 (diff) |
Merge pull request #202610 from figsoda/ouch
ouch: 0.3.1 -> 0.4.0
Diffstat (limited to 'pkgs/tools')
-rw-r--r-- | pkgs/tools/compression/ouch/default.nix | 18 |
1 files changed, 8 insertions, 10 deletions
diff --git a/pkgs/tools/compression/ouch/default.nix b/pkgs/tools/compression/ouch/default.nix index 3051c705c5fe6..18066e30fdfac 100644 --- a/pkgs/tools/compression/ouch/default.nix +++ b/pkgs/tools/compression/ouch/default.nix @@ -12,36 +12,34 @@ rustPlatform.buildRustPackage rec { pname = "ouch"; - version = "0.3.1"; + version = "0.4.0"; src = fetchFromGitHub { owner = "ouch-org"; repo = pname; rev = version; - sha256 = "sha256-I9CgkYxcK+Ih9UlcYBa8QAZZsPvzPUK5ZUYKPxzgs38="; + sha256 = "sha256-XB0J7Qeru+FX5YprepglfTndS8b3zsAw1b9mc4n6EdA="; }; - cargoSha256 = "sha256-jEprWtIl5LihD9fOMYHGGlk0+h4woUlwUWNfSkd2t10="; + cargoSha256 = "sha256-aW1aDXxs64ScocrnlsGy2+NAs6aC8F0/S1f32f9BDJU="; - nativeBuildInputs = [ help2man installShellFiles pkg-config ]; + nativeBuildInputs = [ installShellFiles pkg-config ]; buildInputs = [ bzip2 xz zlib zstd ]; buildFeatures = [ "zstd/pkg-config" ]; postInstall = '' - help2man $out/bin/ouch > ouch.1 - installManPage ouch.1 - - completions=($releaseDir/build/ouch-*/out/completions) - installShellCompletion $completions/ouch.{bash,fish} --zsh $completions/_ouch + installManPage artifacts/*.1 + installShellCompletion artifacts/ouch.{bash,fish} --zsh artifacts/_ouch ''; - GEN_COMPLETIONS = 1; + OUCH_ARTIFACTS_FOLDER = "artifacts"; meta = with lib; { description = "A command-line utility for easily compressing and decompressing files and directories"; homepage = "https://github.com/ouch-org/ouch"; + changelog = "https://github.com/ouch-org/ouch/blob/${version}/CHANGELOG.md"; license = licenses.mit; maintainers = with maintainers; [ figsoda psibi ]; }; |