diff options
author | Felix Buehler <account@buehler.rocks> | 2021-08-02 11:38:45 +0200 |
---|---|---|
committer | Felix Buehler <account@buehler.rocks> | 2021-08-03 16:47:38 +0200 |
commit | 1450bc80fbd243e130ba52cea41a9c153a487744 (patch) | |
tree | a8a26d53c44ce1a1d42f0a6a93d4fe9e4d430f40 /pkgs/tools/misc/pg_top | |
parent | 30cf79fa629dbe1e7ae6b0c0901ff437d1e96446 (diff) |
tools/misc: replace name with pname&version
Diffstat (limited to 'pkgs/tools/misc/pg_top')
-rw-r--r-- | pkgs/tools/misc/pg_top/default.nix | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/pkgs/tools/misc/pg_top/default.nix b/pkgs/tools/misc/pg_top/default.nix index f5d42431e4f23..9521136977f31 100644 --- a/pkgs/tools/misc/pg_top/default.nix +++ b/pkgs/tools/misc/pg_top/default.nix @@ -1,10 +1,11 @@ { lib, stdenv, fetchurl, ncurses, postgresql }: stdenv.mkDerivation rec { - name = "pg_top-3.7.0"; + pname = "pg_top"; + version = "3.7.0"; src = fetchurl { - url = "http://pgfoundry.org/frs/download.php/1781/${name}.tar.gz"; + url = "https://pgfoundry.org/frs/download.php/1781/pg_top-${version}.tar.gz"; sha256 = "17xrv0l58rv3an06gkajzw0gg6v810xx6vl137an1iykmhvfh7h2"; }; |