various: cleanup of "inherit version;"

This commit is contained in:
Felix Buehler
2021-07-17 22:39:35 +02:00
parent 6d1494bc66
commit e023025ee0
62 changed files with 52 additions and 158 deletions
@@ -1,17 +1,14 @@
{ fetchurl, lib, stdenv, unzip, ant, javac, jvm }:
let
version = "1.7R2";
xbeans = fetchurl {
url = "http://archive.apache.org/dist/xmlbeans/binaries/xmlbeans-2.2.0.zip";
sha256 = "1pb08d9j81d0wz5wj31idz198iwhqb7mch872n08jh1354rjlqwk";
};
in
stdenv.mkDerivation {
stdenv.mkDerivation rec {
pname = "rhino";
inherit version;
version = "1.7R2";
src = fetchurl {
url = "mirror://mozilla/js/rhino1_7R2.zip";