about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/libraries/tcllib/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'nixpkgs/pkgs/development/libraries/tcllib/default.nix')
-rw-r--r--nixpkgs/pkgs/development/libraries/tcllib/default.nix24
1 files changed, 24 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/development/libraries/tcllib/default.nix b/nixpkgs/pkgs/development/libraries/tcllib/default.nix
new file mode 100644
index 000000000000..2cb65b9c6981
--- /dev/null
+++ b/nixpkgs/pkgs/development/libraries/tcllib/default.nix
@@ -0,0 +1,24 @@
+{ stdenv, fetchurl, tcl }:
+
+stdenv.mkDerivation rec {
+  pname = "tcllib";
+  version = "1.20";
+
+  src = fetchurl {
+    url = "mirror://sourceforge/tcllib/tcllib-${version}.tar.gz";
+    sha256 = "0wax281h6ksz974a5qpfgf9y34lmlpd8i87lkm1w94ybbd3rgc73";
+  };
+
+  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;
+  };
+}