summary refs log tree commit diff
diff options
context:
space:
mode:
authorIzorkin <izorkin@elven.pw>2020-07-04 17:43:44 +0300
committerIzorkin <izorkin@elven.pw>2020-07-05 17:56:03 +0300
commit3fef7f3e54cbfa9f1c95db053858d474f91615c1 (patch)
tree09d9be6ced5bab55bbe69aedffbae75eaff69957
parent50da2471c21b317cafc64de2753afeb6ee4bb2fe (diff)
downloadnixpkgs-3fef7f3e54cbfa9f1c95db053858d474f91615c1.tar
nixpkgs-3fef7f3e54cbfa9f1c95db053858d474f91615c1.tar.gz
nixpkgs-3fef7f3e54cbfa9f1c95db053858d474f91615c1.tar.bz2
nixpkgs-3fef7f3e54cbfa9f1c95db053858d474f91615c1.tar.lz
nixpkgs-3fef7f3e54cbfa9f1c95db053858d474f91615c1.tar.xz
nixpkgs-3fef7f3e54cbfa9f1c95db053858d474f91615c1.tar.zst
nixpkgs-3fef7f3e54cbfa9f1c95db053858d474f91615c1.zip
perlPackages.PerconaToolkit: 3.0.12 -> 3.2.0
-rw-r--r--pkgs/development/perl-modules/Percona-Toolkit/default.nix26
1 files changed, 17 insertions, 9 deletions
diff --git a/pkgs/development/perl-modules/Percona-Toolkit/default.nix b/pkgs/development/perl-modules/Percona-Toolkit/default.nix
index 85feee36b50..b2c5437e380 100644
--- a/pkgs/development/perl-modules/Percona-Toolkit/default.nix
+++ b/pkgs/development/perl-modules/Percona-Toolkit/default.nix
@@ -1,24 +1,32 @@
-{ lib, fetchFromGitHub, buildPerlPackage, DBDmysql, DBI, IOSocketSSL, TermReadKey, shortenPerlShebang }:
+{ stdenv, fetchFromGitHub, buildPerlPackage, shortenPerlShebang
+, DBDmysql, DBI, IOSocketSSL, TermReadKey
+}:
 
-buildPerlPackage {
+buildPerlPackage rec {
   pname = "Percona-Toolkit";
-  version = "3.0.12";
+  version = "3.2.0";
+
   src = fetchFromGitHub {
     owner = "percona";
     repo = "percona-toolkit";
-    rev = "3.0.12";
-    sha256 = "0xk4h4dzl80kf97lbx0nznx9ajrb6kkg7k3iwca3rj6f3rqggv9y";
+    rev = "v${version}";
+    sha256 = "084ldpskvlfm32lfss5qqzm5y9b8hf029aa4i5pcnzgb53xaxkqx";
   };
+
   outputs = [ "out" ];
+
   nativeBuildInputs = [ shortenPerlShebang ];
+
   buildInputs = [ DBDmysql DBI IOSocketSSL TermReadKey ];
+
   postInstall = ''
     shortenPerlShebang $(grep -l "/bin/env perl" $out/bin/*)
   '';
-  meta = {
+
+  meta = with stdenv.lib; {
     description = ''Collection of advanced command-line tools to perform a variety of MySQL and system tasks.'';
-    homepage = "http://www.percona.com/software/percona-toolkit";
-    license = with lib.licenses; [ gpl2 ];
-    maintainers = with lib.maintainers; [ izorkin ];
+    homepage = "https://www.percona.com/software/database-tools/percona-toolkit";
+    license = with licenses; [ gpl2 ];
+    maintainers = with maintainers; [ izorkin ];
   };
 }