tclPackages.zesty: init at 0.1

+41
+41
pkgs/development/tcl-modules/by-name/ze/zesty/package.nix
··· 1 + { 2 + lib, 3 + mkTclDerivation, 4 + fetchFromGitHub, 5 + tcllib, 6 + nix-update-script, 7 + }: 8 + 9 + mkTclDerivation rec { 10 + pname = "zesty"; 11 + version = "0.1"; 12 + 13 + src = fetchFromGitHub { 14 + owner = "nico-robert"; 15 + repo = "zesty"; 16 + tag = "v${version}"; 17 + hash = "sha256-XJdgS1Lf5B5VjGq2gztc5p3E7TLiibaYfU9f8r1wKOc="; 18 + }; 19 + 20 + propagatedBuildInputs = [ 21 + tcllib 22 + ]; 23 + 24 + installPhase = '' 25 + runHook preInstall 26 + 27 + install -Dm644 -t $out/lib/zesty/ *.tcl 28 + 29 + runHook postInstall 30 + ''; 31 + 32 + passthru.updateScript = nix-update-script { }; 33 + 34 + meta = { 35 + description = "Tcl library for rich terminal output"; 36 + homepage = "https://github.com/nico-robert/zesty"; 37 + license = lib.licenses.mit; 38 + maintainers = with lib.maintainers; [ fgaz ]; 39 + platforms = lib.platforms.all; 40 + }; 41 + }