bwidget: replace verbose let/in expression with rec

Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
This commit is contained in:
Andrew Brooks 2021-05-11 10:17:28 -05:00 committed by Andrew Brooks
parent 5d3ee3a49a
commit f9595e4ffc

View file

@ -1,11 +1,8 @@
{ lib, fetchurl, tcl, tk }: { lib, fetchurl, tcl, tk }:
let tcl.mkTclDerivation rec {
version = "1.9.14";
libPrefix = "bwidget${version}";
in tcl.mkTclDerivation {
pname = "bwidget"; pname = "bwidget";
inherit version; version = "1.9.14";
src = fetchurl { src = fetchurl {
url = "mirror://sourceforge/tcllib/bwidget-${version}.tar.gz"; url = "mirror://sourceforge/tcllib/bwidget-${version}.tar.gz";