diff options
author | Samuel Ainsworth <skainsworth@gmail.com> | 2021-05-23 08:07:31 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-05-23 17:07:31 +0200 |
commit | 02c595ebdb4f9767c8efc1718a1e886aba728822 (patch) | |
tree | 8fb7a133e2cf553868285cbb9c2650271cfb3575 /pkgs/servers/http/apache-modules/tomcat-connectors | |
parent | ebd50426066421e6527fde0c39596f4e9261d353 (diff) | |
download | nixpkgs-02c595ebdb4f9767c8efc1718a1e886aba728822.tar nixpkgs-02c595ebdb4f9767c8efc1718a1e886aba728822.tar.gz nixpkgs-02c595ebdb4f9767c8efc1718a1e886aba728822.tar.bz2 nixpkgs-02c595ebdb4f9767c8efc1718a1e886aba728822.tar.lz nixpkgs-02c595ebdb4f9767c8efc1718a1e886aba728822.tar.xz nixpkgs-02c595ebdb4f9767c8efc1718a1e886aba728822.tar.zst nixpkgs-02c595ebdb4f9767c8efc1718a1e886aba728822.zip |
Prefer `pname` and `version` in `mkDerivation`s instead of `name` (#123438)
Co-authored-by: Sandro <sandro.jaeckel@gmail.com> Co-authored-by: nixpkgs-review <nixpkgs-review@example.com>
Diffstat (limited to 'pkgs/servers/http/apache-modules/tomcat-connectors')
-rw-r--r-- | pkgs/servers/http/apache-modules/tomcat-connectors/default.nix | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/pkgs/servers/http/apache-modules/tomcat-connectors/default.nix b/pkgs/servers/http/apache-modules/tomcat-connectors/default.nix index bea94a88859..20879d4aaf2 100644 --- a/pkgs/servers/http/apache-modules/tomcat-connectors/default.nix +++ b/pkgs/servers/http/apache-modules/tomcat-connectors/default.nix @@ -1,10 +1,11 @@ { lib, stdenv, fetchurl, apacheHttpd, jdk }: stdenv.mkDerivation rec { - name = "tomcat-connectors-1.2.48"; + pname = "tomcat-connectors"; + version = "1.2.48"; src = fetchurl { - url = "mirror://apache/tomcat/tomcat-connectors/jk/${name}-src.tar.gz"; + url = "mirror://apache/tomcat/tomcat-connectors/jk/${pname}-${version}-src.tar.gz"; sha256 = "15wfj1mvad15j1fqw67qbpbpwrcz3rb0zdhrq6z2sax1l05kc6yb"; }; |