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/tmpwatch | |
parent | 30cf79fa629dbe1e7ae6b0c0901ff437d1e96446 (diff) |
tools/misc: replace name with pname&version
Diffstat (limited to 'pkgs/tools/misc/tmpwatch')
-rw-r--r-- | pkgs/tools/misc/tmpwatch/default.nix | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/pkgs/tools/misc/tmpwatch/default.nix b/pkgs/tools/misc/tmpwatch/default.nix index 1ef486fa8556f..7389e0c4c5935 100644 --- a/pkgs/tools/misc/tmpwatch/default.nix +++ b/pkgs/tools/misc/tmpwatch/default.nix @@ -1,10 +1,11 @@ { lib, stdenv, fetchurl, psmisc }: -stdenv.mkDerivation { - name = "tmpwatch-2.11"; +stdenv.mkDerivation rec { + pname = "tmpwatch"; + version = "2.11"; src = fetchurl { - url = "https://fedorahosted.org/releases/t/m/tmpwatch/tmpwatch-2.11.tar.bz2"; + url = "https://fedorahosted.org/releases/t/m/tmpwatch/tmpwatch-${version}.tar.bz2"; sha256 = "1m5859ngwx61l1i4s6fja2avf1hyv6w170by273w8nsin89825lk"; }; |