diff options
author | Felix Buehler <account@buehler.rocks> | 2021-08-01 22:48:53 +0200 |
---|---|---|
committer | Felix Buehler <account@buehler.rocks> | 2021-08-01 22:48:53 +0200 |
commit | f95d9678a9d5444fa7c95665b9cad5eac654e2f2 (patch) | |
tree | 6d5a91d656d9a292c279115e1e1a227fcef02c42 /pkgs/tools/networking/mpack | |
parent | 151c2f5a20c8d03a168242af18225f46786ef7c1 (diff) |
tools/networking: replace name with pname&version
Diffstat (limited to 'pkgs/tools/networking/mpack')
-rw-r--r-- | pkgs/tools/networking/mpack/default.nix | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/pkgs/tools/networking/mpack/default.nix b/pkgs/tools/networking/mpack/default.nix index 3aca81596e08c..2c9bf4ff2d308 100644 --- a/pkgs/tools/networking/mpack/default.nix +++ b/pkgs/tools/networking/mpack/default.nix @@ -1,10 +1,11 @@ { lib, stdenv, fetchurl }: stdenv.mkDerivation rec { - name = "mpack-1.6"; + pname = "mpack"; + version = "1.6"; src = fetchurl { - url = "http://ftp.andrew.cmu.edu/pub/mpack/${name}.tar.gz"; + url = "http://ftp.andrew.cmu.edu/pub/mpack/mpack-${version}.tar.gz"; sha256 = "0k590z96509k96zxmhv72gkwhrlf55jkmyqlzi72m61r7axhhh97"; }; |