nixpkgs/pkgs/development/libraries/tcllib/default.nix
volth 46420bbaa3 treewide: name -> pname (easy cases) (#66585)
treewide replacement of

stdenv.mkDerivation rec {
  name = "*-${version}";
  version = "*";

to pname
2019-08-15 13:41:18 +01:00

25 lines
564 B
Nix

{ stdenv, fetchurl, tcl }:
stdenv.mkDerivation rec {
pname = "tcllib";
version = "1.19";
src = fetchurl {
url = "mirror://sourceforge/tcllib/tcllib-${version}.tar.gz";
sha256 = "173abxaazdmf210v651708ab6h7xhskvd52krxk6ifam337qgzh1";
};
passthru = {
libPrefix = "tcllib${version}";
};
buildInputs = [ tcl ];
meta = {
homepage = https://sourceforge.net/projects/tcllib/;
description = "Tcl-only library of standard routines for Tcl";
license = stdenv.lib.licenses.tcltk;
platforms = stdenv.lib.platforms.unix;
};
}