jmol: remove redundant name attribute

version and pname are alrady present
This commit is contained in:
Markus Kowalewski 2019-02-06 12:25:25 +01:00
parent a1360faba7
commit 64e9f2ad65
No known key found for this signature in database
GPG Key ID: 502A248E3FB4FF48

View File

@ -19,9 +19,8 @@ in
stdenv.mkDerivation rec {
version = "14.29.31";
pname = "jmol";
name = "${pname}-${version}";
src = let
src = let
baseVersion = "${lib.versions.major version}.${lib.versions.minor version}";
in fetchurl {
url = "mirror://sourceforge/jmol/Jmol/Version%20${baseVersion}/Jmol%20${version}/Jmol-${version}-binary.tar.gz";