summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMario Rodas <marsam@users.noreply.github.com>2021-11-16 07:38:30 -0500
committerGitHub <noreply@github.com>2021-11-16 07:38:30 -0500
commit259090f25d2de1461ad1f6230501cf5fcfa7741d (patch)
tree3e3f6596e89a16ab295519224b99a529b228b9e4
parente3828a5459b95113a8cadfb008f06789476206f9 (diff)
parent54523e57b4a20f6fc814469eb29d7dd8343cb043 (diff)
Merge pull request #146154 from r-ryantm/auto-update/you-get
you-get: 0.4.1545 -> 0.4.1555
-rw-r--r--pkgs/tools/misc/you-get/default.nix17
1 files changed, 13 insertions, 4 deletions
diff --git a/pkgs/tools/misc/you-get/default.nix b/pkgs/tools/misc/you-get/default.nix
index dd2115f99bff..a08fdcb1dd2c 100644
--- a/pkgs/tools/misc/you-get/default.nix
+++ b/pkgs/tools/misc/you-get/default.nix
@@ -1,8 +1,8 @@
-{ lib, buildPythonApplication, fetchPypi }:
+{ lib, buildPythonApplication, fetchPypi, installShellFiles }:
buildPythonApplication rec {
pname = "you-get";
- version = "0.4.1545";
+ version = "0.4.1555";
# Tests aren't packaged, but they all hit the real network so
# probably aren't suitable for a build environment anyway.
@@ -10,14 +10,23 @@ buildPythonApplication rec {
src = fetchPypi {
inherit pname version;
- sha256 = "63e9b0527424c565303fe3d8ede1cd35d48a4ecf4afe72e1c12b0e90b9fdcd39";
+ sha256 = "99282aca720c7ee1d9ef4b63bbbd226e906ea170b789a459fafd5b0627b0b15f";
};
+ nativeBuildInputs = [ installShellFiles ];
+
+ postInstall = ''
+ installShellCompletion --cmd you-get \
+ --zsh contrib/completion/_you-get \
+ --fish contrib/completion/you-get.fish \
+ --bash contrib/completion/you-get-completion.bash
+ '';
+
meta = with lib; {
description = "A tiny command line utility to download media contents from the web";
homepage = "https://you-get.org";
+ changelog = "https://github.com/soimort/you-get/raw/v${version}/CHANGELOG.rst";
license = licenses.mit;
maintainers = with maintainers; [ ryneeverett ];
- platforms = platforms.all;
};
}